OLS-598: Data collection scripts in separate directory

Description

Data collection scripts in separate directory
Added documentation to existing scripts

Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #OLS-598
Closes #

/lgtm

/approve

/retest

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.15%. Comparing base (59dab1d) to head (49bdfb6).
Report is 12 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #897   +/-   ##
=======================================
  Coverage   95.15%   95.15%
=======================================
  Files          55       55
  Lines        2045     2045
=======================================
  Hits         1946     1946
  Misses         99       99


Fix crazy cpu column names

Step 1: New and better names that make sense (as aliases)
Step 2: Migration to change column names and change aliases
Step 3: Update callers and drop aliases

Based on conversation in https://github.com/ManageIQ/manageiq/pull/4035#issuecomment-144802822

@gmcculloug @lfu @jrafanie @Fryguy Please review

Can you open an issue with the top level things that we can hang PRs off of, and so we can discuss various approaches to getting where we want?
I personally think this PR is backwards and doesn't really gain anything (the aliased attributes can't be used in reports, for example).  I also think cpu_total_cores can just be cpu_cores, but again, we can discuss all that in the separate issue.

@miq-bot add_label wip

This PR is too big, breaking it into reviewable chunks:
https://github.com/ManageIQ/manageiq/pull/4731
https://github.com/ManageIQ/manageiq/pull/4738


Netty takes 5 mins 30 seconds to close the channel in case of timeout

Expected behavior
In our company, we use ODL Netconf library, which in turn uses IO Netty library, to connect to a NETCONF protocol based network element (NE).
Issue-1: NioSocketChannel.closeFuture() takes 5 mins 30 seconds to complete,
ODL Netconf library calls io.netty.bootstrap.Bootstrap.connect() to create a new NioSocketChannel to connect to the NE. After connecting to 400 NEs we lost connectivity to all of them. We periodically reattempted to connect to these NEs. New attempts timed out because these NEs were still not reachable.
If an attempt to connect to an NE times out, we await 60 seconds for its Channel.closeFuture() to complete indicating that all the resources were released and the Channel was closed. After that we reattempt to connect to the same NE. We expect Channel.closeFuture() to complete within 60 seconds.
Issue-2: With 400 NEs in comm-loss, channel for a new NE takes 2 mins 30 seconds to get created.
Further, while 400 NEs are in communication loss, we can discover a new NE into our software. Discovery process also calls io.netty.bootstrap.Bootstrap.connect() to create a new NioSocketChannel for the new NE. We expect NioSocketChannel to get created in 30 seconds for the new NE.
Actual behavior
Issue-1: NioSocketChannel.closeFuture() takes 5 mins 30 seconds to complete.
For 400 NEs in communication loss, we observed that the closeFuture took around 5 mins 30 seconds to complete. This delayed our next attempt to reconnect to the NE. Also when the network connectivity for comm-loss NE was restored, we had to wait for 5 mins 30 seconds to reconnect. This delayed our communication recovery process for the NE.
Issue-2: With 400 NEs in comm-loss, channel for a new NE takes 2 mins 30 seconds to get created.
While 400 NEs were in communication loss, when a new NE was discovered on our software, we observed that NioSocketChannel was created after 2 mins 30 seconds. Since we wait for 30 seconds, our code timed out and we were not able to connect to new NE.
We raised both these issue with ODL Netconf library team. They replied that their code is a wrapper around IO Netty code and it is the IO Netty library that is taking long time to close timed out NioSocketChannels or create new NioSocketChannels.
Since both these issues occur when 400 or more NEs are in communication loss, we believe they may both be related. So I've included both of them here. Can you please take a look into both these issues?
Steps to reproduce

Create NioSocketChannels towards 400 network elements (NEs) successfully.
Simulate loss of communication by blocking the IP addresses towards 400 NEs using iptables on the server.
Periodically reconnect to 400 NEs using io.netty.bootstrap.Bootstrap.connect().
While periodically reconnecting to 400 NEs, attempt to add a new NE by calling io.netty.bootstrap.Bootstrap.connect() for the new NE.

Minimal yet complete reproducer code (or URL to code)
Our company code calls ODL Netconf library which in turn calls IO Netty library. Currently, I don't have access to ODL Netconf library code that calls io.netty.bootstrap.Bootstrap.connect(). If it is a mandatory requirement, then please let me know. I can request ODL Netconf library team to share their code snippets.
Netty version
4.1.104.Final
JVM version (e.g. java -version)
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
OS version (e.g. uname -a)
CentOS Linux 7 (Core)
Linux rtxvdvlp405.net.local 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

If the closeFuture takes 5 minutes to complete it means that closure was not detected for 5 minutes. I suspect you will need to implement some sort of "keep alive" messages in your protocol to detect "dead" connections fast. There is nothing that we can do here.

Hi @normanmaurer,
Thanks for your inputs. The time taken by closeFuture to complete varies around 5mins 30 seconds. At times it takes 4 mins 30 seconds and at other times it takes 6 mins. So I suspect it is related to number of concurrent client channels that are being handled by Netty. Since we have multiple sessions for 400 NEs, channels for some sessions are waiting to be timed out while channels for other sessions have already timed out, for which we attempt to establish new channels once again.
Could it be related to the event thread pool and the number of concurrent channels it can simultaneously handle? If yes, is there any configuration parameter that I can modify so that event thread pool can take less time to handle these concurrent channels?
Also we do have "keep-alive" messages to detect dead connections in our protocol. In our scenario:

First we discover all 400 NEs. Netty established channels for all 400 NEs. So we have active sessions to all 400 NEs.
Network goes down and all 400 NEs are unreachable. Due to "keep-alive" messages we detect communication loss towards all these NEs. Netty channels are closed.
We periodically attempt to reconnect to these NEs every 60 seconds. So we request Netty to create channels for these NEs. Since the network is down, channel creation times out. This is where we are observing that Netty takes around 5 mins 30 seconds to report time out.

At this moment, if we try to discover a new NE, Netty takes around 2 mins 30 seconds to create a new session for the new NE.

Later, if the network comes back up and all 400 NEs become reachable, then since Netty takes around 5 mins 30 seconds to time out, we need to wait until this time to retry and establish connection to the NEs. This is a long time for our module to recover connectivity to the NEs.

Maybe check if you block the event loop.


Build Docker image before E2E tests

Currently, we build the image as a part of E2E test stage. Since E2E run in a type matrix, we build the image multiple times.

There are some mismatches that make this challenging: we build the library against different JDK versions, but package it in the same docker base image -- so effectively it runs with the same JDK version.
Then the JDK version matching between build and e2e doesn't matter much as the e2e is in a standalone classpath -- so there's no dependency between JDK versions to care here.
Another mismatch is that we need to build the image once, and pass it to a 2nd set of parallel jobs. To pass docker image between jobs we are constraint to upload/download: https://docs.docker.com/build/ci/github-actions/share-image-jobs/
which means ~1min operation with a ~1.2GB image size (mostly Confluent base image)
Leaving this for context if someone would like to tackle it.


啥时候更新适配一下新版本啊

Hi @cethink , the theme should properly work with the most current version of Joplin. What issue are you facing?

一些细节，强迫症表示受不了，总感觉joplin太朴素，这款主题是最好看的一款，希望能优化一下，谢谢
---- 回复的原邮件 ----
| 发件人 | Andre @.> |
| 日期 | 2023年12月29日 03:03 |
| 收件人 | @.> |
| 抄送至 |<EMAIL_ADDRESS>|
| 主题 | Re: [andrejilderda/joplin-macos-native-theme] 啥时候更新适配一下新版本啊 (Issue #107) |
Hi @cethink , the theme should properly work with the most current version of Joplin. What issue are you facing?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Split Bill - Page Freezes After Hitting the Split bill Button

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

Action Performed:

Open NewDot on mweb or web.
Go to any chat and click the "+" FAB.
Click on split bill and type amount.
Click on Next button and click on split button.

Expected Result:
Split bill amount and continue without freezing.
Actual Result:
Hitting the split bill button causes the page to freeze.
Workaround:
Unknown
Platforms:

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

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.40-4
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/61641581-93a5-4735-a97b-cc05dfa0ec99
https://github.com/Expensify/App/assets/93399543/34a26ee3-d385-4ad2-82e8-620fbbb78df0
Expensify/Expensify Issue URL:
Issue reported by: @jo-ui
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689354587381659
View all open jobs on GitHub

I'm not able to reproduce this one.

When splitting bill among many users this issue occurs, try it in large group with many users.

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

Still not able to reproduce this. Most recently tried on iOS / Safari.

@JmillsExpensify I saw a dupe issue with mine that has been posted on upwork #23470  after I issued this bug.

Testing again. Wasn't reproducible in Mac OS / Safari. Closing.

This is reproducible

Proposal
Please re-state the problem that we are trying to solve in this issue.
Split bill - App crashing when make a split bill in a group chat with a new users
What is the root cause of that problem?
In the method - createSplitsAndOnyxData in IOU.js we are using participant.login value at few places.
https://github.com/Expensify/App/blob/ed2c287daf6a1d59f4f43a9bfc84128597575730/src/libs/actions/IOU.js#L476
https://github.com/Expensify/App/blob/ed2c287daf6a1d59f4f43a9bfc84128597575730/src/libs/actions/IOU.js#L598
https://github.com/Expensify/App/blob/ed2c287daf6a1d59f4f43a9bfc84128597575730/src/libs/actions/IOU.js#L667
When we create a new user using email while creating group, the value for login property is undefined.

And the error is saying that we can't have undefined as a value for that.

What changes do you think we should make in order to solve the problem?
When we create a new user, the value for text in participants (in createSplitsAndOnyxData method) has same value as the email/phone that was used to create the account.

We can use that on the places mentioned above -
participant.login || participant.text

In this way we will always prefer the login value and in case new user (where login is undefined) we will take text as a value.
What alternative solutions did you explore? (Optional)

@JmillsExpensify This issue is still reproducible. Please consider it.


Fixed redundancies in styles and updated .gitignore

I moved the font face into the html tag to provide the font throughout so that it will only be overridden when necessary (form elements, etc.). That's all I saw as far as cleaning up the styles as of right now, unless I missed anything? I also updated the .gitignore file to ignore the css/main.css file produced when running gulp.

Good work 👍


[Feature]: Migrate validation and caliberation code to github

Contact Details
No response
Tell us the project / group you are associated with
Community (Default)
What would you like to see implemented?

The validation repo, which provides validation functionality at runtime should be migrated to github.
The caliberation repo, which provides perf toolkit, should be migrated to github.

Are you able to share screenshots or illustrations that explains the feature?
No response
How critical is this feature to you?
Major - important feature to be incorporated as there are no known alternatives in the solution
Any additional / relevant info
No response

New JIRA Created with ID: https://jira.eng.vmware.com/browse/NPT-915


Compilation warnings under clang

I wanted to raise that there are compilation warnings under clang. Thanks!
gcc  -g -O0 -fPIC -Wall -c acvp_transport.c -o acvp_transport.o
acvp_transport.c:371:12: warning: comparison of constant 200 with expression of type 'ACVP_RESULT'
      (aka 'enum acvp_result') is always true [-Wtautological-constant-out-of-range-compare]
    if (rv != 200) {
        ~~ ^  ~~~
acvp_transport.c:401:12: warning: comparison of constant 200 with expression of type 'ACVP_RESULT'
      (aka 'enum acvp_result') is always true [-Wtautological-constant-out-of-range-compare]
    if (rv != 200) {
        ~~ ^  ~~~
acvp_transport.c:434:12: warning: comparison of constant 200 with expression of type 'ACVP_RESULT'
      (aka 'enum acvp_result') is always true [-Wtautological-constant-out-of-range-compare]
    if (rv != 200) {
        ~~ ^  ~~~
3 warnings generated.

bos-mppbj:libacvp jbonci$ gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I don't have a Mac to recreate this with the Apple LLVM.  But I was able to recreate these warnings using clang on Linux.  This is resolved in the v0.3_dev branch by 3fcb034a0fa69e6d320e79a6cc4ae1f5d3052b57.


WIP: Grouping tests by their level

Type of change

Enhancement / new feature
Refactoring

Description

Added annotation for grouping tests by test level (it is necessary for CI)
Added rule for ignoring test cases on CI side

Checklist

[ ] Write tests
[ ] Make sure all tests pass
[ ] Update documentation

@tombentley I found one pitfall =(
In StrimziRunner we have method
        @Override
        public void evaluate() throws Throwable {
            try {
                Runtime.getRuntime().addShutdownHook(hook);
                before();
                statement.evaluate();
                ...

that executes method before() before evaluating test method. It means that pre-conditions will be executed in any case even test will be ignored. So I need also looks at this point.

@tombentley I found one pitfall =(

@serrss damn, yes, support for the annotation will have to be built into StrimziRunner for classes that run with it: The rule won't be enough.


Improve the error message when .bm fails to convert a message id

Description

I propose that we change the error message given to users when they run the bookmark command and it fails to find the message they specified.
Reasoning

Users sometimes assume that just giving a message ID to the bookmark command is enough to bookmark a message, even if it's in another channel.
However, if the message they are trying to bookmark is in another channel the command will fail since it cannot find the message they are referring to.
See here for an example
Proposed Implementation

Change this error message to include information about having to include the channel id, or give a full link, if the message they want to bookmark is in another channel.
https://github.com/python-discord/sir-lancebot/blob/8cac7f077b14265783ae558fff65cbcd2bef00d6/bot/exts/evergreen/bookmark.py#L99
Would you like to implement this yourself?

[ ] I'd like to implement this feature myself
[x] Anyone can implement this feature

My username : KIttyBorgX [ even in discord ]

Before i commit, does this sound good ? - You must provide a message id from this channel or copy the link of a message in a different channel for bookmarking

Copying the docstring from Discord.py could be good too.
    The lookup strategy for message ID is as follows (in order):

    1. Lookup by "{channel ID}-{message ID}" (retrieved by shift-clicking on "Copy ID")
    2. Lookup by message ID (the message **must** be in the context channel)
    3. Lookup by message URL
``` I suggested opening a PR and getting feedback during review :)

Sure!

@ChrisLovering is it possible to transfer this from my name to someone else? I've been a bit busy with school and exams 🥲

Sure! I'll PR something now.


PointerCapture set to Event Target

Hello!
I'm using use use-gesture in react, and I have the following issue:
I have a <Parent /> component using the useDrag hook, within it I have a <Child /> component.
As soon as the drag gesture starts, the <Parent /> component changes state, and amongst other things, the <Child /> component is unmounted. This appears to be causing bugs, and the drag gesture doesn't work as expected.
Here's what I suspect is happening:
After snooping around in the source code, it appears to me that react-use-gesture is using the setPointerCapture on the
target of the PointerDown event that is fired as soon as the gesture begins. This event target, in my case, happens to be the element that is subsequently unmounted from the DOM, which seems to break things. My intuitive expectation would be that setPointerCapture ought to be set to the ref of the component I'm using the useDrag hook on.
These are, of course, just assumptions on my part. If anyone has an idea what might be going on, I'd be thankful to learn more.

Hi. Can you please provide a sandbox?

@mtrifonov-design I think I understand what's going on, I'll push a fix later today and you'll let me know how it works for you.

Pushed 10.0.0-beta.20, let me know if this helps.

@dbismut I tested the new version, and it works now. Thank you very much!

Hey @mtrifonov-design I've reverted back to using target and not currentTarget as this used to break the behavior on iPhones (for some reason capturing from currentTarget doesn't work properly). If you need to unmount the target element try using the options: { pointer: { capture: false } }. This will stop using setPointerCapture and rely on attaching events to the window. Sorry about this.

@dbismut Alright, I will use the workaround then. Thank you for taking the time and informing me about this!


BUG w/ icon side bar in Shards pro Vue

This bug is apparent in the demo – No Scroll bar in icon sidebar if there are too many items within it.
https://designrevision.com/demo/shards-dashboard-vue/icon-sidebar-nav
to replicate increase zoom on your browser and try to select the items at the bottom of the sidebar

@design-revision  - what is the status of this?

@design-revision - Any update? (This is an issue in the pro version as well)


Broken documentation links

On https://spring.io/projects/spring-cloud-netflix#learn there are some broken links:

4.1.3 links to https://docs.spring.io/spring-cloud-netflix/docs/current/reference/html/, which shows the documentation for version 4.0.4.
4.1.4-SNAPSHOT links to https://docs.spring.io/spring-cloud-netflix/docs/4.1.4-SNAPSHOT/reference/html/, which returns 404 Not Found.
4.0.6-SNAPSHOT links to https://docs.spring.io/spring-cloud-netflix/docs/4.0.6-SNAPSHOT/reference/html/, which returns 404 Not Found.
4.0.5 links to https://docs.spring.io/spring-cloud-netflix/docs/4.0.5/reference/html/, which returns 404 Not Found.

The link format for 4.1.x seems to be https://docs.spring.io/spring-cloud-netflix/reference/${version}, because these work:

4.1.3: https://docs.spring.io/spring-cloud-netflix/reference/4.1.3
4.1.4-SNAPSHOT: https://docs.spring.io/spring-cloud-netflix/reference/4.1.4-SNAPSHOT

I don't know what the correct links are for the 4.0.x versions.

I've checked the documention. Not only links are broken, but the documentation is using outdated content:
There are not annotations anymore @EnableEurekaClient to enable service. See issue #4029
This URL is using wrong version: https://spring.io/projects/spring-cloud-netflix#overview
This URL has an updated version without annotations: https://cloud.spring.io/spring-cloud-netflix/reference/html/#netflix-eureka-client-starter
This is the current content version in this project: https://github.com/spring-cloud/spring-cloud-netflix/blob/main/docs/src/main/asciidoc/sagan-index.adoc

Thanks @breun, @fa11enangel. We've been changing the way our docs are generated and the site content is created and possibly things got mixed up. Will straighten it up.

Fixed.

@OlgaMaciaszek if you check this URL https://spring.io/projects/spring-cloud-netflix#overview you see, that the example uses annotation @EnableEurekaClient to inject eureka client functionality in the Application class.
But this annonation @EnableEurekaClient was removed and doesn't exist anymore. You did the change in https://github.com/spring-cloud/spring-cloud-netflix/issues/4029 .
Should I open a new bug for this?

There is another mention in the description above example:

As long as Spring Cloud Netflix and Eureka Core are on the classpath any Spring Boot application with @EnableEurekaClient will try to contact a Eureka server


Fix thread race

Fix issue #39

As you can see, the operation on state and blocks of a Promise should be atomic, for example:
if state == ... {
  // do something with blocks
}

protecting state and blocks independently will cause following problems:
Thread 1: ---- [if state == ... is true ]--------------------------[do something with blocks]----
Thread 2: ----------------------------------[update state]-----------------------------------

and that will lead to incorrect result.

Hi All
I'm submitting a lot of things here. Sorry for not able to provide more details now.
I really hope that this pull request does not violate your code styling and design, and I am looking forward to see your response. Thank you!

@cfanfs Frist of all please excuse the late reply, I've been pretty busy working on https://github.com/Yummypets/YPImagePicker lately 🤓
Thank you so much for taking the time to try to solve your own issue, this is very appreciated :)
I went through the code and it looks good to me. I'd love if you could sum up the approach taken here.
I guess it's about always accessing the state from the same queue but I'd love to hear your thoughts.
I'm going to test this in our App to make sure everything works as expected and will get back to you 👍

@cfanfs I've played around with it in our App and so far so good, seems like everything still works as expected. Plus all tests pass so 👌

@cfanfs This is a very clear explanation and very good work!
On a side note I just invited you as a freshOS Gold Contributor (I recognise great work when I see it !)
Like this you'll be able to have write access to the repo :)
Thank you so much for your time and efforts 🙏

@s4cha glad to join freshOS :) You're doing great job here.
I have to say that I really have little time on open source contribution. :/ Hope to get more time in the future.


⚠ Processors has degraded performance

In 1a01e75, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 75 ms

Resolved: Processors performance has improved in 115f4c2.


Problem after clean install - cannot open port

Hi
At the beginning I would like to say that the same configuration/device was working before.
I've maid clean install of homebridge-zigbee-nt 2.0.5 version.
I have CC2531 USB connected
Now when I reboot my raspberry I get this message in Homebridge logs:
[ZigBee] Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'     at Znp.<anonymous> (/usr/local/lib/node_modules/homebridge-zigbee-nt/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)     at Generator.next (<anonymous>)     at /usr/local/lib/node_modules/homebridge-zigbee-nt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71     at new Promise (<anonymous>)     at __awaiter (/usr/local/lib/node_modules/homebridge-zigbee-nt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)     at SerialPort.<anonymous> (/usr/local/lib/node_modules/homebridge-zigbee-nt/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:144:65)     at SerialPort._error (/usr/local/lib/node_modules/homebridge-zigbee-nt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)     at /usr/local/lib/node_modules/homebridge-zigbee-nt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
For me it seems that there is some problem with opening usb port where CC2531 dongle is connected.
I see that dongle is recognized by system:
Bus 001 Device 002: ID 0451:16a8 Texas Instruments, Inc.
Dongle is here:
/dev/ttyACM0
But when I list what process is using dongle I get nothing:
lsof | grep /dev/ttyACM0
Where to look for resolution?
Cheers
Jakub

Sorry to be late on this. This is something that the plugin does not control, since all the job of connecting to the dongle is done by the herdsman library (that is the same library zigbee2mqtt uses). When this happens, it usually means two things: there is another process using the dongle or there is a stuck process keeping the port open. When it happened to me, restarting the raspberry worked

Close as stale


Cow: Watch folklorecollections.com

Cow requests the watch of the watch_keyword folklorecollections\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

folklorecollections\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


Cleanup attribute bag usage in mixer/pkg/api.

Use snapshotting feature to fix bug where Check was not returning the correct set of
referenced attributes for quota results. It wasn't including attributes referenced from
the APA.

Get rid of the compatibility bag goo from the gRPC server code. This is no longer
needed.

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

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
c6b740d066c9288fd65fb4183c7350689aa25309
link
/test istio-unit-tests

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
c6b740d066c9288fd65fb4183c7350689aa25309
link
/test istio-unit-tests

prow/istio-pilot-e2e.sh
c6b740d066c9288fd65fb4183c7350689aa25309
link
/test istio-pilot-e2e

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
c6b740d066c9288fd65fb4183c7350689aa25309
link
/test istio-pilot-e2e

prow/istio-unit-tests.sh
5bcc95fabaea3629b4fcc1d9111086a9dfb05dbb
link
/test istio-unit-tests

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
5bcc95fabaea3629b4fcc1d9111086a9dfb05dbb
link
/test istio-unit-tests

prow/istio-pilot-e2e.sh
5bcc95fabaea3629b4fcc1d9111086a9dfb05dbb
link
/test istio-pilot-e2e

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.

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

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
bffe750655d467ea41498a8dbd7ea859e8b60427
link
/test istio-pilot-e2e

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
bffe750655d467ea41498a8dbd7ea859e8b60427
link
/test istio-pilot-e2e

prow/istio-unit-tests.sh
5e3ba23a6facb4406d437aeeb9a18d7b9591bea5
link
/test istio-unit-tests

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
5e3ba23a6facb4406d437aeeb9a18d7b9591bea5
link
/test istio-unit-tests

prow/istio-pilot-e2e.sh
5e3ba23a6facb4406d437aeeb9a18d7b9591bea5
link
/test istio-pilot-e2e

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
5e3ba23a6facb4406d437aeeb9a18d7b9591bea5
link
/test istio-pilot-e2e

prow/istio-unit-tests.sh
551d21d7919ca516c3a07e13274bce754d0abec9
link
/test istio-unit-tests

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
551d21d7919ca516c3a07e13274bce754d0abec9
link
/test istio-unit-tests

prow/istio-pilot-e2e.sh
551d21d7919ca516c3a07e13274bce754d0abec9
link
/test istio-pilot-e2e

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
551d21d7919ca516c3a07e13274bce754d0abec9
link
/test istio-pilot-e2e

prow/istio-unit-tests.sh
80d4a6a9dcf7f3198679ba798cc637794ead8b18
link
/test istio-unit-tests

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.

@geeknoid: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
80d4a6a9dcf7f3198679ba798cc637794ead8b18
link
/test istio-unit-tests

prow/istio-pilot-e2e.sh
80d4a6a9dcf7f3198679ba798cc637794ead8b18
link
/test istio-pilot-e2e

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.

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

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
fdf26f518512c1f5f61b30c9b9ee1c745a09a7d7
link
/test istio-pilot-e2e

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.

Thanks for the feedback. I'll address all the naming & comment suggestions in my upcoming PR that will clean up this code considerably and get coverage up to snuff.


Issue when spm is used in package.json

I'm loading Shepherd as a github dependency.
Their package.json does not use the main property, but instead uses spm.main.
How can I instruct webpack to look at both the main and spm.main property inside a package.json? I've tried using the ResolverPlugin but have not succeeded in getting this to work.
Also should this become default behaviour in the product? I'm not familiar with spm, but this could be an issue in the future again.

new webpack.ResolverPlugin([
    new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin("package.json", [["spm", "main"]])
], ["normal"])

Thanks! Mind if I ask, but why are you placing an array in an array?
We could change the DirectoryDescriptFilePlugin to accept ["spm", "main"] instead of [["spm", "main"]]`
What are your thoughts on that? Happy to give it a shot if you want me to.

it accepts multiple fields:
DirectoryDescriptionFilePlugin("package.json", ["main", "browser", ["spm", "main"]])

Alright, thanks for explaining!


[libcap] Failed to download from https://git.kernel.org/pub/scm/libs/libcap

Operating system
Linux
Compiler
No response
Steps to reproduce the behavior
Install SDL2 with x11 & wayland features

Failure logs
Full log at https://productionresultssa10.blob.core.windows.net/actions-results/199cd38c-ee3a-4a30-96ac-c327197c125d/workflow-job-run-2a6e03da-9c06-5941-6460-ce81c601de8a/logs/job/job-logs.txt?rsct=text%2Fplain&se=2024-05-06T10%3A16%3A56Z&sig=9caX%2BbxSZjEqbna368NXi6hT2FtPS1pzQzITgFD2Ix4%3D&sp=r&spr=https&sr=b&st=2024-05-06T10%3A06%3A51Z&sv=2021-12-02
Installing 11/19<EMAIL_ADDRESS>  Building<EMAIL_ADDRESS>  /home/runner/work/Descent3/Descent3/vcpkg/buildtrees/versioning_/versions/libcap/f81a07cf694095f60c759c9a18adc57e94296a5f: info: installing overlay port from here
  -- Downloading https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.69.tar.gz -> libcap-2.69.tar.gz...
  [DEBUG] To include the environment variables in debug output, pass --debug-env
  [DEBUG] Trying to load bundleconfig from /home/runner/work/Descent3/Descent3/vcpkg/vcpkg-bundle.json
  [DEBUG] Failed to open: /home/runner/work/Descent3/Descent3/vcpkg/vcpkg-bundle.json
  [DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
  [DEBUG] Metrics enabled.
  [DEBUG] Feature flag 'binarycaching' unset
  [DEBUG] Feature flag 'compilertracking' unset
  [DEBUG] Feature flag 'registries' unset
  [DEBUG] Feature flag 'versions' unset
  [DEBUG] Feature flag 'dependencygraph' unset
  [DEBUG] Detected CI environment: GitHub_Actions
  [DEBUG] 1000: execute_process(curl --fail -L https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.69.tar.gz --create-dirs --output /home/runner/work/Descent3/Descent3/vcpkg/downloads/libcap-2.69.tar.gz.51978.part)
  [DEBUG] 1000: cmd_execute_and_stream_data() returned 22 after   152829 us
  error: Failed to download from mirror set
  error: https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.69.tar.gz: curl failed to download with exit code 22
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed

  curl: (22) The requested URL returned error: 400

  [DEBUG] /source/src/vcpkg/base/downloads.cpp(997):
  [DEBUG] Time in subprocesses: 152829us
  [DEBUG] Time in parsing JSON: 5us
  [DEBUG] Time in JSON reader: 0us
  [DEBUG] Time in filesystem: [264](https://github.com/DescentDevelopers/Descent3/actions/runs/8966782203/job/24623758216?pr=242#step:6:265)us
  [DEBUG] Time in loading ports: 0us
  [DEBUG] Exiting after 154 ms (153334us)

Additional context
It seems libcap is failing to download because git.kernel.org doesn't support tar.gz as a package format? I get that error when trying to download the file myself (Unsupported snapshot format: libcap-2.69.tar.gz)

Hi @WangWeiLin-MV , thanks for your comment. Is there a specific procedure to apply that patch without having to add custom ports and all that jazz to my repo? We're not even depending on libcap ourselves, just want to install SDL2...

@Arcnor This patch can applied by saving it as a file then git apply _saved_filename_, then add option to vcpkg install with --overlay-ports=ports/libcap


Add codeql scanning

Copied from the TS repo. I hope that the config file supports globs!

So:

Overall working. There are two problems to investigate.
There is a problem finding the base branch. I don't know what this is.

The first check is not a problem.

The check is not smart enough to know that the division of the generated value exactly matches its range. It's only a problem when it doesn't -- modulus is the main offender here.
The random value is used in a shuffle to determine which files to test for performance. Even if the perf bot on DT weren't dead, there's no security problem in randomly choosing to test some files more often than others.

The second check is a real problem—we execute a string from the command line arguments—but it's in test code, so I'm not going to fix it.


Link to the gem's homepage from gems#show

@Shpigford This adds a link to the gems homepage_uri when you're on a gems show page.
Found myself looking for this every time I looked at a gem I didn't know :)

Looks great! Merged!


onbuild variant should provide a way not to install devDependencies

npm support a --production flag, but due to the limitation of ONBUILD, I'm not sure how we can give the user some control on that downstream.

This is solved by the slim versions.


I wish /docs/design/extending-api/ existed

I wish /docs/design/extending-api/ existed

Added 404.md forwarding for inbound .../design/... links which is the best we can do.


Search - add focus on search text field plus a couple more changes.

I was about to add the extra plugin to facilitate the search in the previous theme so I'm liking the built-in search function.
Can I suggest a few changes:

Add focus on search text field instead of having to click it first.
Change minimum number of characters from four to three to initiate the search.
Change the search tip text to state how many characters are needed to initiate the search.

https://github.com/blthemes/Blekathlon/releases/tag/3.8.1


Performance Testing: Verifying MPs being used cover all configs

This ticket is a follow-on to #6371 and is to identify the next 15 monitoring plan candidates to use for performance testing. Ensure that the revert to official, export, import, and evaluation process generates clean evaluation results in the perf environment.
Example 1: All CEMS including MATS Hg CEMS (CS configuration) -
Example 2: All CEMS including MATS Sorbent Trap (CS configuration) -
Example 3: Appendix D with NOXR CEMS (CP configuration) -
Example 4: Appendix D with NOXR Appendix E (CP configuration) -
Example 5: LME with LTFF ( CP configuration) -
Example 6: All CEMS including MATS Hg CEMS (MS configuration) -
Example 7: All CEMS including MATS Sorbent Trap (MS configuration)
Example 8: Complex configuration -
Example 9: MP (multiple pipes) configuration -
Example 10: NSPS4T configuration -
Example 11: Location with ADCALC methods -
Example 12: Location with LTFCALC methods -
Example 13: Ozone season only configuration -
Example 14: MATS only configuration -
Example 15: Configuration with HCL methods -
Also identify targeted QA tests for these locations, document location/test number and sequence of events that needs to happen to open QA test window as a perf test user, import from historical, evaluate, submit, etc.
Upload spreadsheet to: Upload spreadsheet to: Testing Documentation folder.

Moved to sprint 14 due to higher priority items.

Spreadsheet with locations to target uploaded to https://usepa.sharepoint.com/:f:/r/sites/CAMDCVPTeam/Shared Documents/ECMPS 2.0/8- Performance Testing/Performance Testing Locations?csf=1&web=1&e=eGvyHc

Spreadsheet with locations to target uploaded to:
https://usepa.sharepoint.com/:f:/r/sites/CAMDCVPTeam/Shared Documents/ECMPS 2.0/8- Performance Testing/Performance Testing Locations?csf=1&web=1&e=eGvyHc
https://github.com/US-EPA-CAMD/easey-ui/issues/6507 created to identify QA tests for targeted locations.


Add Test to verify src and destination mac for all patterns valid inputs: Ethernet Header

verify the src and destination mac addresses for fixed, list, counter, random with valid inputs
Pass criteria: configured inputs shall reflect in captures

Coded the testcases and raised PR


Process of onboarding a new customer

Background
Once somebody decides that they'd like to pay 2i2c to manage a hub for them, there are several repeatable things that we'll need to do. This process isn't documented clearly right now, and it will be helpful both for us and for customers to know what to expect and follow.
It is somewhat documented in the team compass but we need to put more work into streamlining and fleshing it out.
The thing that triggers this process is:  The customer signs a contract.
User stories

As a 2i2c engineer, I want to know when new hubs will soon be needed, and who on the team is responsible for setting it up
As a new customer for 2i2c, I want my hub infrastructure to begin as quickly as possible after signing a contract

Important links

Draft of onboarding process

Tasks

[ ] Run through the process of deploying one or two hubs, write down the steps we needed to take
[ ] Write down a prototype of this process for the pilot-hubs or pilot docs

[ ] For GCP
[ ] For Azure
[ ] For AWS

[ ] Run through this process and refine
[ ] After several iterations, re-assess the process to make sure all is going OK and no major changes are needed

I'm adding GCP instructions in this PR: https://github.com/2i2c-org/pilot-hubs/issues/306
We should also add Azure & AWS instructions.

In https://github.com/2i2c-org/pilot/pull/67, we asked new customers to give GCP billing account invites to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Once received, these two folks must grant access to all other 2i2c infrastructure engineers. We should document this as part of 'new hub setup' documentation.
Ideally, users can invite<EMAIL_ADDRESS>and that be a general account that gives access to all the 2i2c engineers. Unfortunately, I think only Google Accounts (not aliases) can be invited, so I think that's not quite possible yet.

Since a lot of this is hub admin facing documentation, we should add screenshots (per @GeorgianaElena at https://github.com/2i2c-org/pilot/pull/67#discussion_r602116212).

So after we get access to a new billing account, 2i2c staff should:

Invite other 2i2c staff members to it
Create a new GCP project for the hub
Setup billing export, ideally to a single BigQuery instance we control (in the two-eye-two-see project). However, if we can only put data in bigquery instances in a project under the same billing account, we should do that.

@2i2c-org/tech-team I think that we are getting close to being able to have contracts w/ ICSI (see https://github.com/2i2c-org/meta/issues/90). What do you say we use #291 to onboard @jhamman, and write down the process as we do it, then document it as a first pass for this issue.

@damianavila and I want to figure out a better way to get information about deadlines from clients. There's a deadline for first time admins need to start using it, first time for early users to start using it, and when they expect the flood of users. Having these be separate will help us plan.

I agree with that proposal. I guess we can modified the issue template to include that information. But I think the most difficult thing is actually getting the whole info. How we make sure we have all the info we need before starting the process. Should we follow some sort of “waterfall” model where one action starts only when the previous one (ones) have finished?

I believe that we have a process for onboarding communities in place now:

We have a sales and invoicing process here: https://team-compass.2i2c.org/en/latest/projects/managed-hubs/sales.html
We have new hub creation here: https://infrastructure.2i2c.org/en/latest/howto/hubs/new-hub/index.html
We have support process defined here: https://team-compass.2i2c.org/en/latest/projects/managed-hubs/support.html


Remove duplicated weyl_coordinates python function

Summary
This commit removes the weyl_coordinates() function from the private qiskit.synthesis.two_qubit.weyl module. This function's internal use was ported to rust as part of #11019 but it left the python implementation intact while we ensured the rust implementation was reliable longer term. Since then we've ported the majority of the two qubit synthesis to rust now and the only usage of this python implementation was the unit tests. This commit removes the python implementation and the entire internal weyl module as nothing uses it anymore. A python interface is added to the rust function and the tests are updated to call that instead.
Details and comments
Fixes: #8459

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
15 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 88.782%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
3
92.73%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>6:
-0.02%

Covered Lines:
73449

Relevant Lines:
82730

💛  - Coveralls


SummernoteAtMention does not append automatically when selected on onChangeContent

Hi author,
I implemented user mention on the text editor, but I'm facing an issue when suggesting the user selected does not update on the onChangeContent callback. So I want to get the output HTML String whenever the user finishes mention at the end. See my video below for getting more information.
https://user-images.githubusercontent.com/23470236/204009413-b33fd330-85dc-47d6-8c5d-9ca9a79b4610.mov
Thank in advance

@jajangjayus any updates on this?


HHH-18667 attempt to fix by making TypeConfiguration nonstatic

[Please describe here what your change is about]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

https://hibernate.atlassian.net/browse/HHH-18667

I'm going to merge this since, whether it actually fixes HHH-18667 or not, it's certainly an improvement to get rid of that static reference to the TypeConfiguration.


Remove context check for search

Removes the check for search.
To test:
odo catalog search component ruby

Closes https://github.com/openshift/odo/issues/2132

/approve

/hold

@mik-dass @girishramnani Test has been added here: https://github.com/openshift/odo/pull/2135 that will cover both the context and actual searching (it does the search without having a component created).
Let's merge this PR in first as it's needed for the other one :)

/hold cancel

/retest


Appstudio update test-annotations-fhle

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

/ok-to-test


Bootstrap 4 support

Are there plans to support bootstrap 4, it should hopefully be simple CSS edits?

Any news?

Would be interested too

+1, very nice plugin but missing bootstrap 4 support.


assert exists(clones_file)

Hi,
your recent paper was great!
I am failing to get output using run_conga.py.
I get an error:
assert exists(clones_file)
AssertionError
seems to run ok intially, then:
Session information updated at 2021-08-24 14:43
reading: /home/malone/Andrew/conga_data/Bx68/Bx68B1_filtered_feature_bc_matrix.h5 of type 10x_h5
Variable names are not unique. To make them unique, call .var_names_make_unique.
total barcodes: 27073 (27073, 33538)
Traceback (most recent call last):
File "conga/scripts/run_conga.py", line 367, in
adata = conga.preprocess.read_dataset(
File "/home/malone/python_code/conga/conga/conga/preprocess.py", line 296, in read_dataset
assert exists(clones_file)
AssertionError
command line is:
python conga/scripts/run_conga.py --graph_vs_graph --gex_data /home/malone/Andrew/conga_data/Bx68/Bx68B1_filtered_feature_bc_matrix.h5 --gex_data_type 10x_h5 --clones_file /home/malone/Andrew/mgi_vdj/Bx68_B1_vdj_t_outs/filtered_contig_annotations_tcrdist_clones.tsv --organism human --outfile_prefix tmp_hs_conga
Any ideas why this is occurring??
Thanks

Hi Andrew, thanks for trying CoNGA and thanks in advance for your patience as we get this figured out. It looks like it can't find the clones file. Can you double-check that it exists at the location you are passing in (/home/malone/Andrew/mgi_vdj/Bx68_B1_vdj_t_outs/filtered_contig_annotations_tcrdist_clones.tsv)? Note that there are two steps: running setup_10x_for_conga.py which makes the clones file and then running run_conga.py. Partly for historical reasons and partly so that you can check out the TCR clonotype parsing and confirm that they seem reasonable. The README has examples of this near the top.

This is working great for me now. really powerful tool! i am now trying to include ADT/CITEseq data into the pipeline by adding
--include_protein_features
my clone data files are from 10X VDJ T cell V2.
I ran:
../anaconda3/envs/conga_new_env/bin/python conga/scripts/run_conga.py --graph_vs_graph --gex_data ../Andrew/conga_data/hs1_mtx --gex_data_type 10x_mtx --clones_file ../Andrew/conga_data/citeseq_t_contigs_filtered_contig_annotations_tcrdist_clones.tsv --organism human --outfile_prefix ../Andrew/conga_data/tmp_hs_citeonly_conga_clone5  --min_cluster_size 5 --include_protein_features
however i am getting an error:
reading: ../conga_data/hs1_mtx of type 10x_mtx
../python_code/conga_conda/conga/conga/preprocess.py:221: DeprecationWarning: Use is_view instead of isview, isview will be removed in the future.
if adata.isview: # ran into trouble with AnnData views vs copies
total barcodes: 6978 (6978, 23215)
Traceback (most recent call last):
File "conga/scripts/run_conga.py", line 374, in
suffix_for_non_gene_features = args.suffix_for_non_gene_features,
File "../python_code/conga_conda/conga/conga/preprocess.py", line 296, in read_dataset
assert exists(clones_file)
AssertionError
Also,
I would like to run my 10X VDJ_B_cell (Ig) data using this pipeline.
You mention this functionality - 2020-09-04: (EXPERIMENTAL)
Not sure how much hacking in need to do to the code or whether i would be successful.
Thank you in advance,

Hi Andrew, I think we can get both of these to work; but, you are right-- they are experimental and haven't been tested very much.
First, though, it looks like it can't find the clones file (same error as before), maybe you can double-check the location for the clones file?
For the B cell stuff, you might look first at the example in the README and see if that can be tweaked to work for your case: https://github.com/phbradley/conga#human-melanoma-b-cell-dataset
Note that in that example, we are defining "clonotypes" for B cells using a bcrdist threshold of 50.

really sorry but i pasted the previous error (now resolved)
error with --include_protein_features :
Traceback (most recent call last):
File "/home/malone/anaconda3/envs/conga_new_env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2898, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: None
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/malone/python_code/conga_conda/conga/scripts/run_conga.py", line 518, in
adata, compare_distance_distributions=True)
File "/home/malone/python_code/conga_conda/conga/conga/preprocess.py", line 593, in calc_X_pca_gex_including_protein_features
prot_mask = np.array(adata.raw.var[ft_varname] == 'Antibody Capture')
File "/home/malone/anaconda3/envs/conga_new_env/lib/python3.6/site-packages/pandas/core/frame.py", line 2906, in getitem
indexer = self.columns.get_loc(key)
File "/home/malone/anaconda3/envs/conga_new_env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2900, in get_loc
raise KeyError(key) from err
KeyError: None
Maybe the problem is because I am reading in hs1_mtx files to the conga_run pipeline?
Thanks,

10X matrix files are supported input for the pipeline so this is not the issue. You are getting this error because there are nothing is assigned as 'Antibody Capture' in the features.tsv file. The typical cellranger output should include this information but I suspect here that you exported the raw count matrix from a Seurat object using the example in the README file. If this was the case, the current example was intended for GEX only and would cause this error. You would need to write out a matrix containing both the gene and antibody labeling counts, and also make sure these are properly labelled in the features.tsv file.  Here's an example of how you can do this with the write10xCounts function in DropletUtils:
## exporting gene expression and antibody labeling from Seurat to CoNGA
require(Seurat)
require(DropletUtils)
hs1 <- readRDS('./my_seurat_obj.rds')

## concatenate the GEX and antibody labeling count matrices into one matrix

# here, ADT is the antibody labeling assay slot
count_matrix <- rbind(hs1@assays$RNA@counts, hs1@assays$ADT@counts)

# create vector of feature type labels
features <- c(
  rep("Gene Expression", nrow(hs1@assays$RNA@counts)),
  rep("Antibody Capture", nrow(hs1@assays$ADT@counts))
  )

# write out
write10xCounts( count_matrix,
                path = './raw/seurat_export/',
                gene.id = rownames(count_matrix),
                gene.symbol = rownames(count_matrix),
                barcodes = colnames(count_matrix),
                gene.type = features,
                version = "3")

I would stick with the count matrix. It will be normalized and scaled in the pipeline.

Thanks for being a beta tester! And please do follow up if you run into trouble or have suggestions for improvements/new features.


Added whois server for .AZ domain zone

Q
A

Branch?
master

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

License
MIT

Added one tld config line for .az domains (Azerbaijan) based on https://www.iana.org/domains/root/db/az.html

Hello,
does the whois server work for you?
It appears to me that it is only accessible via the web at https://whois.az/
I also tried a telnet to whois.az port 53 and it is not responding.


Partial Support Percentage Not Always Shown

If there are no browsers that fully support a feature and at least one browser that partially supports the feature, that partial support percentage is not shown.
Compare the actual output:
# only full, no partial
$ caniuse --oneline hidden
hidden attribute ✔ 92.16% ◒ 0% [WHATWG Living Standard]

# full and partial
$ caniuse --oneline spellcheck
Spellcheck attribute ✔ 54.57% ◒ 39.3% [WHATWG Living Standard]

# no full, only partial
$ caniuse --oneline 'svg favicon'
SVG favicons  [WHATWG Living Standard]

# no support
$ caniuse --oneline placeholder-shown
:placeholder-shown CSS pseudo-class  [W3C Working Draft]

with the expected:
# only full, no partial
$ caniuse --oneline --current hidden
hidden attribute ✔ 92.16% [WHATWG Living Standard]

# full and partial
$ caniuse --oneline spellcheck
Spellcheck attribute ✔ 54.57% ◒ 39.3% [WHATWG Living Standard]

# no full, only partial
$ caniuse --oneline 'svg favicon'
SVG favicons ◒ 10.41% [WHATWG Living Standard]

# no support
$ caniuse --oneline placeholder-shown
:placeholder-shown CSS pseudo-class  [W3C Working Draft]

It looks like there's a typo in showFeature:
diff --git a/caniuse.coffee b/caniuse.coffee
index f5f5050..48f9dff 100644
--- a/caniuse.coffee
+++ b/caniuse.coffee
@@ -150 +150 @@ showFeature = (result, opts={}) ->
-  percentages.push "◒ #{result.usage_perc_a}%".yellow if result.usage_perc_y
+  percentages.push "◒ #{result.usage_perc_a}%".yellow if result.usage_perc_a

Or perhaps this is all intentional (only show the percentages if there's something that fully supports the feature), in which case close away :)

No, you're right, that's absolutely a typo. Nice catch!
If you like you can submit it as a pull request so I can credit you for the fix. Otherwise just let me know and I'll do it.


Command line option -u for pyvimrc fails assert in Python 2.7

When I pass a path via the -u option on the command line, the following code raises an AssertError:
    assert isinstance(rc_file, six.text_type)

https://github.com/jonathanslenders/pyvim/blob/master/pyvim/rc_file.py#L30
I believe it fails because it expects a unicode type, while docopt produces a Python 2 string. My workaround is to cast the rc file path to unicode in run_pyvim.py, but I don't know if this will work in Python 3.

Hi @jacob14916,
Thanks a lot for reporting this bug! I was not aware about the difference between Python 2 and Python 3 regarding docopt. I will decode the string in Python2.
Jonathan

This should be fixed in: https://github.com/jonathanslenders/pyvim/commit/07fbb2cd45810bfd2ce4676aa5029dfe3e26b405
Actually, I'm not entirely satisfied with the solution. I prefer all strings to be unicode strings, even for Python 2. However it seems that the combination of docopt, Python 2 and unicode strings doesn't work that well out of the box. (See also: https://github.com/docopt/docopt/issues/301 ). So, I consider switching to the "click" library if that fixes my problems.


Package yaml can be updated to security patched version >= 2.2.2

Description
Currently we are using<EMAIL_ADDRESS>version.
This security bug Uncaught Exception in yaml is fixed and released in V2.2.2
So we can include the updated package in our code as well.

After raising the issue, I got to know about the PR.


SWS-104 Fails travis build if a prettier needs to format a file

I noticed that there was a file that wasn't "pretty", but travis didn't complained about it.
It's because prettier doesn't complain by default, but formats the file.

@mtho11 please review


Geolocation is unable to show current location

I used this same line of code in one of my project and it worked, but for some reason, i am unable to get current location in my currenet project.
`import { View, Image, useWindowDimensions, PermissionsAndroid, Platform, } from 'react-native'
import React, {useState,useEffect} from 'react'
import MapView, { PROVIDER_GOOGLE, Marker } from 'react-native-maps';
import Geolocation from '@react-native-community/geolocation';
import TMediums from '../../assets/data/TMediums';
navigator.geolocation = require('@react-native-community/geolocation');
const HomeMap = () => {
const {width, height} = useWindowDimensions()
const [myPosition, setMyPosition] = useState(null)
// useEffect Hook for Location
useEffect(() => {
  const requestLocationPermission = async () => {
    if (Platform.OS === 'android') {
      const granted = await PermissionsAndroid.request(
        PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
        {
          title: 'Atua Location Request',
          message: 'Atua needs access to your location.',
          buttonNeutral: 'Ask Me Later',
          buttonNegative: 'Cancel',
          buttonPositive: 'OK',
        },
      );
      if (granted === PermissionsAndroid.RESULTS.DENIED) {
        console.log('Location permission denied');
        return;
      }
    }

    Geolocation.getCurrentPosition(
      (position) => {
        console.log(position)
        setMyPosition({
          latitude: position.coords.latitude,
          longitude: position.coords.longitude,
        });
      },
      (error) => {
        console.log(error);
      },
      { enableHighAccuracy: true, timeout: 20000, maximumAge: 1000 },
    );
  };

  requestLocationPermission();
}, []);

<MapView
style={{width, height:height - 150}}
provider={PROVIDER_GOOGLE}
showsUserLocation
followsUserLocation
initialRegion={{
latitude: myPosition.latitude,
longitude: myPosition.longitude,
latitudeDelta: 0.0222,
longitudeDelta: 0.0121,
}}
>`
The error message, I get is that it is unable to read myPosition.latitude.
Like I said, this line of code worked previously for my other project, but it's not working here. Hope to get a quick response from you. Thank you

for me it is different i am getting the location but it is the default like it is the location of the google headquarters of usa


Update version for new release

This is simply updating the version for the new release that will happen once this PR is merged.

@mkangia As far as I know releasing this involves the following steps:

Build and push new pypi package
Update pypi package on server by running pip install --upgrade hq_superset

Anything that I'm missing?

Hey @Charl1996
Is this on PyPI?
I did a manual upgrade through pip in the past
pip install git+https://github.com/dimagi/commcare-analytics@master --upgrade

Is this on PyPI?

Oh, wait, no. Doesn't seem like it is. I assumed it was, but now that I checked it's not a valid assumption.


Adding nixie: a watch face for both Bangle 1 and Bangle 2

This clock uses a layered drawing scheme to achieve a nixie tube look for the digits. Bangle 1 has better colors and images for the background, Bangle 2 makes best of use of the 8 color scheme. Bangle 1, being a slower graphic system, is quite fun to watch draw as the digits fade in and out.
This set also introduces m_vatch.js: I hope to make this its own directory, as it provides an engine for drawing digital clocks by implementing user provided functions for drawing the background, current time, and any data. It also can support a night mode, where the user can draw a darker themed clock to use at night. It can be set up to turn on night mode automatically if the watch is placed on its side, such as on a bedside table.
There 's also some code to manage the step counter, so that it's not lost during app restarts, and it automatically saves a day's data to a history file, and resets the counter to zero on a new day.

These look great - thanks! Really good to get some Bangle.js 2 apps as well!
However please could you modify the main apps.json file to include the JSON for the two watch faces? I think right now you've got g26/apps.json and nixie/nixie.info which aren't needed, and won't actually get the apps in the app loader.
Info at: https://www.espruino.com/Bangle.js+App+Loader#adding-your-app

Thanks! Just tried this and had to make some small changes to make it work in the app loader: https://github.com/espruino/BangleApps/commit/409444a85ce9c73ffe69f7cb166d63f4b21643cb
But it's in now and it looks awesome!


'Go to definition' not working

@windless0530 commented on Wed Apr 10 2019

Environment data

VS Code version: 1.31.1
Extension version (available under the Extensions sidebar): 2019.3.6558
OS and version: macOS Mojave 10.14.4
Python version (& distribution if applicable, e.g. Anaconda): 3.7.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): None
Relevant/affected Python packages and their versions: None

Expected behaviour
There is 'go to definition' in short cut menu, and press shortcut key defined in Visual Studio Code can lead to expected position.
Actual behaviour
No 'go to definition' in short cut menu, and press shortcut key defined in Visual Studio Code leads to nothing happens.

Steps to reproduce:
None
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Only startup logs:
Starting Microsoft Python language server.
[Info  - 下午1:47:15] GetCurrentSearchPaths /usr/local/bin/python3
[Info  - 下午1:47:15] Python search paths:
[Info  - 下午1:47:15]     /private/var/folders/2t/zb3hw5b57yb77y58sshrxgx00000gn/T/bhgynxvd.okh
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pycrypto-2.6.1-py3.7-macosx-10.14-x86_64.egg
[Info  - 下午1:47:15] Configuration search paths:
[Info  - 下午1:47:15]     /
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/setuptools-28.6.0/build/bdist.macosx-10.11-intel/egg
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/caffe/python
[Info  - 下午1:47:15]     /Users/zhangyi/work/opera-news-antispam
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python37.zip
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
[Info  - 下午1:47:15]     /usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pycrypto-2.6.1-py3.7-macosx-10.14-x86_64.egg
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/setuptools-28.6.0/build/bdist.macosx-10.11-intel/egg
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/caffe/python
[Info  - 下午1:47:15]     /Users/zhangyi/work/opera-news-antispam
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/setuptools-28.6.0/build/bdist.macosx-10.11-intel/egg
[Info  - 下午1:47:15]     /Users/zhangyi/Downloads/package/caffe/python
[Info  - 下午1:47:15]     /Users/zhangyi/work/opera-news-antispam
[Info  - 下午1:47:15]     /usr/local/bin

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
None, no output caused by operation.
The following are startup logs.
[Extension Host] debugger listening on port 24601
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3364 Extension Host
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3364 Debugger listening on ws://<IP_ADDRESS>:24601/df5d714d-809a-49c7-b935-e07a2432283e
For help, see: https://nodejs.org/en/docs/inspector

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4635 Overwriting grammar scope name to file mapping for scope source.go.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/go/syntaxes/go.tmLanguage.json.
New grammar file: file:///Users/zhangyi/.vscode/extensions/dunstontc.vscode-go-syntax-0.0.18/syntaxes/go.tmLanguage.json
e.register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4635
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] (node:19017) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Create file systemwatcher with pattern */python
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Create file systemwatcher with pattern */*/python
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Display locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Notify locators are locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detected refreshing of Interpreters, Class name = p, Arg 1: {}, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Register Intepreter Watcher, Class name = f, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python/common/kconf.py>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Build the workspace interpreter watcher, Class name = h, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python/common/kconf.py>, Return Value: <Return value cannot be serialized for logging>
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = settings, result = exit
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Arg 2: <argument cannot be serialized for logging>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = windowsRegistry, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from windowsRegistry
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = settings, result = exit
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = workspaceEnvs, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from workspaceEnvs
3/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Detection of Python Interpreter for Command python3.6 and args  failed
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Selected Interpreter from currentPath, {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Current value for rule system is {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.1 64-bit"}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Current value for rule currentPath is {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Current value for rule windowsRegistry is nothing
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Selected Interpreter from cachedInterpreters, {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.47"
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, extension-output-#3
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.47"
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /Users/zhangyi/work/ks/ks/krp/python/common/kconf.py
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by CondaEnvFileService are of count 0
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by PipEnvService are of count 0
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = currentPath, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from currentPath
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Selected Interpreter from system, {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.1 64-bit"}
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, <No Resource>
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Get language server folder name, Class name = g, , Return Value: "languageServer.0.2.47"
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true}, Arg 2: undefined, Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = cachedInterpreters, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from cachedInterpreters
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by CondaEnvService are of count 0
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by WorkspaceVirtualEnvService are of count 0
3/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by KnownPathsService are of count 10
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by VirtualEnvService are of count 0
3/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Interpreters returned by CurrentPathService are of count 5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Checking whether locactors have completed locating, Class name = p, , Return Value: true
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Hide locator refreshing progress, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: All locators have completed locating, Class name = p, , Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: setGlobalInterpreter, Class name = g, Arg 1: {"architecture":3,"path":"/usr/local/bin/python3","version":{"raw":"3.7.1-final","major":3,"minor":7,"patch":1,"prerelease":["final"],"build":[],"version":"3.7.1-final"},"sysPrefix":"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7","fileHash":"dedfceab382c35d62e0a67f228430f5cf7d32352a81cc7deb0b1940dffb5c6c53b3523d9737cd3979e5edddef69cbe864541b351e2c588982b159ae60f28a371","type":"Unknown","cachedEntry":true,"displayName":"Python 3.7.1 64-bit"}, Arg 2: undefined, Return Value: false
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Rule = system, result = runNextRule
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Executing next rule from system
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: autoSelectInterpreter, Class name = g, Arg 1: <Uri:/Users/zhangyi/work/ks/ks/krp/python>, Return Value: undefined
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:1535  INFO no standard startup: not just one text editor
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:287 [Extension Host] Python Extension: Cached data exists getEnvironmentVariables, /Users/zhangyi/work/ks/ks/krp/python/app/control_center.py

Extension bug, see https://github.com/Microsoft/vscode-python/issues/5132

I don't think this is that same bug. Going to the definition should work regardless of that issue, it's what happens after the file is opened in the editor that that upstream bug involves.

The issue is that there are no other Python related items in the context menu. Looks like the file was opened but LS didnt get the notification.

You're right, I didn't realize the screnshots were under the "actual behavior" section.


"X new" in red?

On the forums list, we display text such as "5 posts, 3 new". This is not highlighted in the bright red labeling CSS that we do for other things. Should it be? Maybe if favorited?

"3 new" as in the above example should now have red text.


Add controls to prBodyTemplate for Tekton updates

This should fix the issue with missing rebase checkbox on updates from CWFHEALTH-3224.
Essentially the issue that we were missing {{{controls}}} in prBodyTemplate which - from the Renovate source code - is just the checkbox: https://github.com/renovatebot/renovate/blob/main/lib/workers/repository/update/pr/body/controls.ts

@gnaponie PTAL

Nice catch!
/lgtm
/approve


Failed to set docker credentials

Hello, I've been bashing my face up against this all day, and I hate to say that I've not been able to work around this. I'm using the "Queue an ACR Quick Task" build step in a freestyle project. The credentials I've provided are MSI credentials defined on the VM in Azure. I know the credentials are fine, since I'm able to autocomplete the resource group and container registry. Here's the error log I'm getting.
`Started by user
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/workspace/Java-Builder-Image-Build
using credential

git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url  # timeout=10
Fetching upstream changes from
git --version # timeout=10
using GIT_ASKPASS to set credentials BitBucket Login credentials for temporary use.
git fetch --tags --progress  +refs/heads/:refs/remotes/origin/
git rev-parse refs/remotes/origin/master^{commit} # timeout=10
git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision  (refs/remotes/origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f
Commit message: "Added additional required libraries"
git rev-list --no-walk  # timeout=10
Getting source url.
The following files are compressed ****
***
***
/Dockerfile.
Upload local directory to Azure Storage Blob
Build image with source code from .
Queue a task to ACR /** - {"sourceType":"local","gitRepo":"","gitRefspec":"","gitPath":"","localDir":".","tarball":"","imageNames":["/java-builder-with-octopus-deps:latest"],"buildArguments":[],"noCache":false,"timeout":300,"platform":{"os":"Linux","architecture":"AMD64","variant":""},"dockerFilePath":"Dockerfile","canceled":false,"sourceUrl":""}
Finished queue an ACR Quick Task: cdg
Get log link:
2019/05/01 23:10:27 Downloading source code...
2019/05/01 23:10:28 Finished downloading source code
2019/05/01 23:10:29 Using  as the home volume
2019/05/01 23:10:29 Setting up Docker configuration...
2019/05/01 23:10:30 Successfully set up Docker configuration
2019/05/01 23:10:30 Logging in to registry:
failed to login, ran out of retries: failed to set docker credentials: Error response from daemon: login attempt to https:///v2/ failed with status: 403 Forbidden
: exit status 1
Run ID: cdg failed after 10s. Error: failed during run, err: exit status 1
ERROR: ACR Quick Task ended with HasError
Finished: FAILURE`

I am able to do az acr login from both my workstation, and ssh'd into the jenkins vm. I'm able to do docker pull/push in this manner. However, when I try to get jenkins to use this build step, it always fails with this error. I've tried creating a completely new service principle, and that has not worked as well.
What more do I need to do to make sure that I'm able to push docker images into my acr using this plugin?

Okay, it seems this was a problem with firewall and network preview. I'm able to now publish my builds.

@joshua-alday how were you able to determine the issue was with firewall and virtual network settings on the ACR?


SelectInput produces warning about UNSAFE_componentWillReceiveProps in strict mode

I'm seeing a warning in my console log,
Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. ...

when I'm using react's strict mode: <React.StrictMode>.
This appears to be caused by the react-select's <Select> component and was resolved in v4:
https://github.com/JedWatson/react-select/issues/4094
Best,
Ben

Actually, v4 of react-select also emits warnings for strict mode:
https://github.com/JedWatson/react-select/issues/4068
This one, at least, is fixed in v5.
It's occurring to me that we may not support React StrictMode. If that's the case, sorry for the noise.


notes directory

The notes contained within the notes directory don't feel like they should be files within the source code, if anything they should be parts of issues, or parts of documentation.

[ ] Duplicate notes content onto issues / documentation (if required)
[ ] Remove notes from the repository

PaulNotes.txt: Probably redundant.
message-iteration.txt: this is now redundant.
notes.txt: Most of this is now redundant, largely agrees with what I was saying before I refactored ModelDescription hierarchy.

Git claims you're the author, though I'm sceptical so, I vote to delete.

I'm probably marked as the author from restructuring the repo a while back in the move to cmake.
I'd agree we can delete this (worst case it exists in history anyway).


Passing Defines during generation

Hello,
First off, thanks so much for this! this is a fantastic project!
I'm running into an issue with some includes where generation fails becuase something is not defined.
for example. from list.h in FreeRTOS:
#ifndef INC_FREERTOS_H
	#error FreeRTOS.h must be included before list.h
#endif

Is there any way i can pass defines into the generator?

wow i'm blind
-D exists

FreeRTOS has a somewhat nasty include policy which forces us to include FreeRTOS.h before ever attempting to include any other FreeRTOS header file.
When compiling C files this is barely an issue (just put the #include <FreeRTOS.h> before #include <list.h>.
But I guess you're facing a different kind of issue:
The current autofff gcc-scanner works by looking at an individual header file and then trying to extract all function declarations. We essentially run the gcc preprocessor per header, which should work fine for the average API header but FreeRTOS' include policy may ruin this per-file approach.
Let's say autofff is tasked with parsing list.h, so in order to get all the function declarations we run the gcc preprocessor on list.h with all the necessary includes needed for that header to be happy (${FREERTOS_DIR}/portable/GCC/MemMang ${FREERTOS_DIR}/include and usually some ${APP_DIR}/config, which contains FreeRTOSConfig.h). Now mind that we are not preprocessing a C file which does required #include ` business beforehand. That's why the preprocessing fails for most FreeRTOS headers.
The underlying issue is the reliance on the header to be preprocessable without requiring any obscure include hierarchy. I encountered these issues with a few libs so far (FreeRTOS, CMSIS, ASFLib).
Now, don't think I'm trying to talk bad about any of these cases, it simply makes the job of automatically and reliably faking/mocking incredibly hard.
One workaround I included for cases like these is the ability to inject a list of header files before the target header is preprocessed. Check out the -i or --includefile flag, it might help with some of these cases. For FreeRTOS you could probably run autofff like this:
python3 -m autofff
    [...]/include/list.h
    -o [...]
    -i [...]/include/FreeRTOS.h <<< inject FreeRTOS.h before preprocessing list.h
    -F [...]

Alternatively, as you stated, you could just fake the include check by passing -D INC_FREERTOS_H to autofff.
I plan on adding an alternative parser which should be able to parse for function declarations using objdump, the map-file or other compiler generated metadata apart from just relying on source-code. I might also look into clang/llvm instead of pycparser (which can't handle __asm__ directives which is very annoying on embedded btw!).
We'll see when I get around to look into all these possibilities... :)
Your feedback is very much welcome!


Update berlin large/medium/small card size

Here is the size for AC itself

In the designer, 4px is added to outer container which includes 2px border and 2px padding.
For example, AC card is 300px, the actual width for the outer container is 300+2(left border + right border)+2(padding left+right)
Microsoft Reviewers: Open in CodeFlow

/azp run


how to remove data from a collection

how to remove data from a specific collection

Please see "Deleting data from a collection" (and "Updating data in a collection") in the README