Proving with GPU on mobile

This issue is a stub and will be filled out with more details/links over time. It is also more of an umbrella issue than a specific task.
Problem
Modern mobile phones come with a powerful GPU. Modern proving systems rely on MSMs which are amendable to GPU optimization. We want to use the GPU on a mobile phone to get significant proving speedups.
There are quite a lot of steps involved to get from that to actually being able to use a GPU, with a GPU-friendly proving system, to prove on a mobile phone.
Rough roadmap
We can split this up in a few different steps. Some can be done in parallel.
1) Baseline and PoC working (done)
Before you can make something fast, you have to make it work at all in the right way. Make it work, make it right, make it fast.
As of this week, we are basically or very close to here. This means we can run a non-trivial proof on a real device and see how long it takes. This is useful as a baseline.
We also have the library setup so it is easier to make incremental improvements and optimizations. This means people can focus more on the specific task ("optimizing MSMs") as opposed to figuring out everything related to running stuff on mobile from scratch. It also allows us to run things in a realistic environment (actual mobile phones) and not just on paper.
2) Tooling to enable micro benchmarks for GPU/MSMs
This step can be done in parallel with 4.
With 1 done, we can start to add the minimal tooling necessary to begin to understand GPU performance improvements. Because the scaffolding is already in place, this is not a lot of work.
What we really want is to use a GPU to make proofs on mobile, but there are a few steps to get there (see steps below). This step is about enabling us to start experiment with different approaches to MSMs.
Why MSMs? It is a primitive operation that is (i) used in a lot of modern proof systems (ii) is amendable to GPU optimizations.
See Implement micro benchmarking tooling for doing MSMs/using GPU on Mobile  for details on this step.
This step is also useful for individuals who want to focus on specific micro optimizations, and want to understand impact on realistic scenarios on mobile. Related to this is this issue to run CI on iOS (or Android, once supported. That means a developer don't need to setup a mobile environment but can see benchmark results in CI. This will require additional work, especially to run on a real device.
3) Improve MSM performance using GPU
This step can be done in parallel with step 4.
This part is a stub, can be filled in with more details
Once we have tooling for micro benchmarks above, we can start to optimize it. This includes comparing with ark-msm on mobile phones and integrating other Zprize work. Suggested rough path:
a) Naively include ark-msm and compare benchmarks on real device with baseline
b) Reproduce using laptop/server GPU (similar to 4b below)
c) Experiment and understand how to use GPU on iOS at all (Metals tutorials)
d) Combine above and get GPU to fire on iOS and get benchmarks for it
e) Any other kind of optimization comes last (see 5 below)
4) Integrate a GPU-friendly proving system
This step can be done in parallel with steps 2 and 3.
Right now we have support for Circom via Arkworks. There are plans to support additional proving systems. There's a modular framework in place to make it easy to support additional proving systems. Relevant for our purposes are proving systems that are amendable to GPU-optimizations and use a lot of MSMs, such as Nova, various other folding schemes and Spartan (?). Assuming there's a Rust implementation, it is generally not too difficult to add new proving systems, but it obviously requires a bit of work and there are some details involved (such as specific mobile restrictions).
4a) As a first step here, we want to just integrate the proving system and get a baseline, similar to what is mentioned in 1 above.
4b) The next step after that is to get it to run on GPU at all (with visible improvements), including on laptop. Depending on the code base and its setup, this may or may not be straightforward. For example, even though Nova has support for CUDA and OpenCL, OP and others didn't manage to get the GPU to fire in a timeboxed manner both on M1 and powerful GPU server.
Why laptop/server first? While not strictly necessary, it is an easier easier problem that is on the right path. It is a lot easier to experiment, debug and get insight into what's going on in a laptop/server than on an iPhone. There has also historically been more attention to it, so prior work is more likely. If we can't get GPU to fire and see performance benefits on a desktop, it is unlikely we'll get it to work and see any on a mobile phone. It is also a useful baseline.
4c) Get iOS/mobile GPU to fire and show performance benefits of it on a real device. This includes understanding things like Apple GPU Metal framework. This might be easier to do as a part of step 2/3, as it is likely primitive operations like MSM (or similar) have been made to run on iPhone as part of the gaming/AI ecosystem.
5) Other stuff
There are a lot of other things that can be done in terms of theoretical improvements, optimizations, mobile specific work etc. Some of these can be researched in parallel. But I believe these things are not on the critical path until steps above have been done.

move further discussions to https://github.com/zkmopro/gpu-acceleration/issues/3


cog/async-api: log prediction id

Very simple change.
It would be slightly more work to also re-write Cog to include this when it logs to stdout; but it's certainly something I could do in a follow-up.
@nickstenning @evilstreak

Took the liberty of adding your DCO acknowledgement in the form of the Signed-off-by line in the commit. I'll assume that's fine with you unless I hear otherwise :)


Rollup warns of Unresolved dependencies

Hey there,
Eventhough I npm i -S and double-checked everything, rollup can't seem to import the library when using ESM import BiggerPicture from 'bigger-picture';.
It used to work pretty well so far with your BigPicture library.
I'm using V2.33 so might have missed something?

Hi, do you have a repo I can check out or a reproduction of the issue on stackblitz or codesandbox?
I tried a random rollup starter template and it works fine: https://stackblitz.com/edit/github-ba2mne?file=src/js/main.js
So I think it must be something specific to your project.


Set Owner in Engagement

Hi, Love the wrapper great work.
How ever I can't seem to set a owner ID on api.Engagement.Create
I'm settings the ownerID in associates section
//Owner ID long value = 31750148

Associations = new EngagementHubSpotAssociationsModel()
                        {
                            OwnerIds = new List<long>() { ownerid },
                            ContactIds = new List<long>() { contact.Id.Value },
                        },

In Hubspot it says "A user logged a call with ...."
Is it just me? any advice would be much appreciated.


Release version 0.2

This issue is to keep a record of the version 0.2 release process.
It might be useful to see the steps if someone else in the future wants to cut a v0.3.

[x] I've already set the version number in conf.py to "0.2" in #128
[x] git tag "v0.2"
[x] Update readthedocs so that the new stable version shows up there
[ ] archive on zenodo
[ ] some edits / updates, e.g. change version to "0.3.dev" in conf.py and mention zenodo somewhere, e.g. in the README.

https://github.com/open-gamma-ray-astro/gamma-astro-data-formats/releases/tag/v0.2

https://gamma-astro-data-formats.readthedocs.io/en/v0.2/
https://media.readthedocs.org/pdf/gamma-astro-data-formats/v0.2/gamma-astro-data-formats.pdf

I have set up this repo in Zenodo so that it's auto-linked and a new Zenodo archive will be made for each stable version (see https://guides.github.com/activities/citable-code/ and https://help.zenodo.org/).
I didn't find a way to get Zenodo to make a record for the https://github.com/open-gamma-ray-astro/gamma-astro-data-formats/releases/tag/v0.2 that I tagged and released just before, because I thought I could do Zenodo as the next step after. I'll try deleting that release (but not the git tag) now, and see if that gets Zenodo to do it's thing.

This kinda worked, there's something on Zenodo now.
It was very confusing to edit the metadata for this publication. I think there's one for all versions that will change over time ( https://zenodo.org/record/1403880 ) and one specifically for version 0.2 ( https://zenodo.org/record/1403881 )
I still don't see an option to upload extra files. I'd like to upload the PDF and also generated HTML to make it easily accessible. And I'd like to put a different description for v0.2 or the overall project.
!?

I have sent a support ticket to Zenodo, asking them to add the PDF and HTML files to https://zenodo.org/record/1403881 , or alternatively to delete that record and let me start over with a "normal" record where I can upload any files I like.
cc @TarekHC @cboisson @cosimonigro @Bultako

@cdeil
What I understand from Zenodo is that you may either create and edit the content of a Zenodo repository using Zenodo infrastructure or link to the content of a Github repo, but not both options a the same time. What I would do is to add PDF and HTML documentation into the Github repo just before labelling a stable released.
Alternatively, you could add a link to the RTD documentation, in the description of the Zenodo record.
Re: Tracking Github releases with Zenodo
I think this works as a Github webhook, only future releases are tracked as versions when one labels a new release in Github. The non-versioned general DOI identifier points to the latest one.

I don't know if linking to Github is a good option for a paper/documentation with no relevant code behind. What is really important in this case is the text itself, not the Sphinx config files neither the RST files in markdown format. Note that Zenodo links to specific labels/releases in GH, not to the living docs, but to a a very specific snapshot taken in the past.
Zenodo gives you the option to upload a document in any format i.e. PDF, and provides a versioned DOI for that document.  I would create a new Zenodo repo and upload v0.1 pdf file, create a new version with v0.2 pdf file, and do the same for next versions, maybe saying in the description that the living docs are in GH or RTD.

@Bultako - Thanks!
I agree, if it's not possible to add extra files and notes per release, it was a mistake to use the "DOI versioning" from Zenodo (see desription at https://help.zenodo.org/).
I'll wait for Zenodo help desk to reply, hopefully they can still remove the submission.
And then probably I'll make a "normal" entry and remove the auto-link to Github for this repo.

The records have been removed by Zenodo support, and I have set the auto-link for this repository to OFF in the Zenodo settings.
I will make a normal Zenodo upload for the spec in the next days.

I made a new upload on Zenodo: https://doi.org/10.5281/zenodo.1409830

I've set the master to version 0.3.dev in 022cbd3 and added some info for the stable versions and v0.2 specifically to the README in 9627815 . Closing this issue now.


'six' package dependency removed

Type of PR (feature, enhancement, bug fix, etc.)
enhancement
Description
Removed six package dependency and cleaned the codebase.
Fixes https://github.com/django-dbbackup/django-dbbackup/issues/370
Checklist

[x] Tests are passing
[ ] Documentation has been added or amended for this feature / update

Thanks a lot for making these changes!

Thanks for the suggestion and will make the changes asap.
BTW, I used the isort package to sort the imports. IMHO, we should add some kind of config file so that we can keep unified formatting rules across the repository/package. And later, the pipeline will take care of the checks

I hope everything is fine now, isn't it?

Thanks a lot @jerinpetergeorge


fix(icons): arcified lamp-* icons

What is the purpose of this pull request?

[x] Other: Icon update

Description
Arcified lamp icon.
Before Submitting

[x] I've read the Contribution Guidelines.
[ ] I've checked if there was an existing PR that solves the same issue.

I think we should adjust for the change in dimensions by making the corners pixel perfect, such as:

Open lucide studio

@karsa-mistmere But on the other hand, don't we make it too curvey?

@karsa-mistmere But on the other hand, don't we make it too curvey?

We can use smaller radii where necessary, it's just that we need to stick to the grid more.

I've had a go at nudging the arcs on all those icons so that they sit a little better on the grid.
Open lucide studio
Open lucide studio
Open lucide studio
Open lucide studio
Open lucide studio
Open lucide studio


🧰 SwiftLint: Global Parent Config for all Repositories

As discussed in our Discord we might use a global SwiftLint configuration across all our repos to have the styling guidelines applied everywhere.
This is already possible by SwiftLint itself: Reference
Proposed Solution
My suggestion is to add a new Repository in the organization called something similar to CodeStyle (open for suggestions though on the naming).
There we could host the .swiftlint.yml file which we can then include in each repo adding
parent_config: https://raw.githubusercontent.com/CodeEditApp/{REPO_NAME}/main/.swiftlint.yml

This would fetch the config automatically when running SwiftLint. It also caches the latest version for situations where no internet connection is available.
If there are special needs, for example excluding some file paths, on a per repo basis, this could be overridden in the project's .swiftlint.yml.
Attention Needed
When implementing this change it also is important to update the code on each repo to conform to this code style. The CodeEdit repo should be fine already since we already implemented the proper rules. The major task will be updating the relatively large codebase of CodeEditTextView.
Future Additions
In the future we could also investigate how to add other configurations to this repo which might be needed on all the different repos.

That's a great idea! Would the CI also need to be updated for some repos so it fails on a swiftlint fail? Will all repos need to conform to the rules before they are applied?

@Wouter01  I'll update them while implementing it. The CI should work out of the box once the changes are made. But of course I need to test it first and make adjustments as errors occur.

I have to put this on hold because for some reason when running SwiftLint through Xcode (either as build plugin or run phase) it cannot download the remote config. It does when running it from the terminal though. I need to investigate whether there is a flag I need to set in build settings to allow network access.


Remove larger text and bold on "Relationship" links

For example, on: https://test.orgbook.gov.bc.ca/entity/FM0239928b
The link for the owning entity "WESTCOAST HOBBIES 4 U LTD." is in (I think) a larger font and bold. I don't think that is needed.
I suggest also making it a bulleted (unordered) list vs. just a line of text.
When done locally, please add screenshots before PRing this change.
Thanks

Bullets on relationship credentials

Bullets on expired relationship credentials

The "owned" by does not have the bullet (see below).  It should be every relationship is displayed the same way.  While in there, I think we should ditch any explicit  between the "Credential Expired..." and the link to the relationship entity (see screenshot above).  If it is just a natural line wrapping that is OK, but if it is an explicit line break, I think it should be removed.


Fix scrape config secret indentation so that multiple configs work to…

…gether

[x] I have read Pelorus Contributing guidelines

Linked Issues

resolves #1142
Description
Our scrape config template had inconsistent indentations for different use cases, resulting in a malformed prometheus scrape config when a user tries to use multiple federation options together. This change fixes this.
Testing Instructions
Create a pelorus with the following config:
kind: Pelorus
apiVersion: charts.pelorus.dora-metrics.io/v1alpha1
metadata:
  name: pelorus-devspaces
spec:
  federate_openshift_monitoring:
    enabled: true
    metrics_filter:
      # pull devspaces metrics we're interested in
      - '{namespace=~".*-devspaces",pod=~"workspace.+"}'
  external_prometheus_hosts:
    - id: 'prometheus-ldap'
      hostname: 'custom-prometheus-service.pelorus-operator.svc.cluster.local:9091'
  exporters:
    instances: []
  prometheus_storage: true
  prometheus_storage_pvc_capacity: 3Gi
  prometheus_storage_pvc_storageclass: gp2
  prometheus_retention_size: 2GB

Open the Prometheus dashboard and go to Status -> Targets. There should be two showing. In the broken state, we only get one of the two.

Tested this build in a demo cluster, and I now see the two endpoints listed as targets:

@mateusoliveira43 @mpryc could one of you review please?

/retest


Documentation and/or enhancements for package developers.

It would be interesting to see a proposed implementation for developers to use logbook for their own modules.
In the past I have used a modulename/log.py file which instantiates a Logger instance (disabled by default), with the other python files doing from .log import logger.
For example, I'm trying to think how sqlalchemy would use Logbook rather than logging, since they make use of nested loggers quite well.
Would the logbook way be to have a Logger instance in sqlalchemy/engine and sqlalchemy/pool?

I think the real question is why nested loggers are used. It's usually not only to organize the names better - it's to reuse the handlers on the parent logger.
Logbook does not associate handlers for specific loggers, but rather chooses a centralized handler stack with multiple loggers writing to the same stack...


[WIP] Add Training for Data with Folds; Do full training on test and valid before final testing

This will

Add methods to train and test on folds. Leave One out cross-validation strategy ( at a fold level ) will be applied. Each fold will be considered for testing, while all other folds will be used for training. This will lead to n sets of data_splits. Result for testing of each fold will be provided along with the aggregated result.
Also, best grid point in the above case of folds setup, will only be found with the first data_splits. This will correspond to testing on the first fold(fold0), validation on second fold(fold1) and training on all other folds(fold2..). ( Sort the folds before deciding order(first or second) of the fold.
For data with explicit test, train and valid splits defined,  best grid point will be found using the whole data.
In both the above cases (data with folds or not with folds), the grid point will first be found followed by using this best grid point configuration to train on the train+valid set. Thereafter, the final testing scores will be computed.

"
In both the above cases (data with folds or not with folds), the grid point will first be found followed by using this best grid point configuration to train on the train+valid set. Thereafter, the final testing scores will be computed."
This should be optional, otherwise we are breaking the behavior that we used for the open tasks.

We might want an alternate mode where, for each train/val/test set, we do a full grid search. (Not one grid search and keep the grid point for the other folds.) This might be useful for small datasets.

Inherited by #315 . Closing this


[nrf noup] subsys: storage: Remove custom flash_map_default.c

Remove custom flash_map_defult.c for Partition Manager.
Ref: NCSDK-5469
Signed-off-by: Ole Sæther<EMAIL_ADDRESS>

Note that this commit removes one of the patches introduced in https://github.com/nrfconnect/sdk-zephyr/commit/399915c9530b7ec9d65583a657f40c02ea571c3b#diff-21c5ca53453de2a3442e257c979a64d3b33975d8427bfdc5d88ed13bbe97855aR13
so it should be squashed on next upmerge.
I'm not sure how to correctly communicate that.

^^ what commit should be squashed to which on? We have list we are using to menage things like that.

This is part of the treewide partition manager changes commit. It is linked above.

NVM, I missed the bot comment.


Support a must() builtin

This has come up various times on Slack, noting here for posterity (and so it can be referenced)
The name must() was also thrown into the 🚲 shed.
Is your feature request related to a problem? Please describe.
Sometimes it is necessary to declare arbitrary constraints on a field.
Taking one such example from Slack, where we try to define #Foo as a string that must contain a numeric value greater than 5:
#Foo: constrain(strconv.Atoi(#Foo) > 5)

Describe the solution you'd like
As above.
Describe alternatives you've considered
The current alternative is to declare additional (hidden) definitions that express the constraint:
#Foo: string
_#checkFoo: strconv.Atoi(#Foo) & >5

Contrast the proposed constrain() builtin which allows the constraint to be declared on the field itself, which is much clearer for the author, reader and user.
Additional context
n/a

I vote for must.

I like must, too.
Friedrich Nietzsche – "Freedom is the will to be responsible to ourselves."
On Fri, Nov 27 2020 at 7:30 AM, Marcel van Lohuizen <<EMAIL_ADDRESS>> wrote:

I vote for must.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (
https://github.com/cuelang/cue/issues/575#issuecomment-734861479 ) , or unsubscribe
(
https://github.com/notifications/unsubscribe-auth/AAAFMONJUPMZWFHQT7ESYSDSR6ZX7ANCNFSM4TCNLORA
).

#Foo: string
_#checkFoo: strconv.Atoi(#Foo) & >5

How would this work, precisely? I'm interpreting the conjuncts as independent clauses, so a _#checkFoo must be something that successfully decodes an integer out of a string, and separately, it must be a string that is greater than 5 (which is a type mismatch). In the general case this seems quite problematic unless we introduce some kind of chaining, such as strconv.Atoi(#Foo) -> (>5 & <10) to mean it's a string containing an int, and the resulting value is between 5 and 10, exclusive.
A more flexible and powerful syntax, though perhaps quite difficult to implement, may be:
_#checkFoo: "\(>5)"
_#checkFoo: "3"

That is, allow arbitrary constraints (not just concrete values) within string interpolation to make the string itself a pattern-matching constraint. Currently the above syntax is accepted and is evaluated for concrete value, but if no concrete value is available, it just outputs "unresolved disjunction" or "non-concrete value" and doesn't otherwise contribute towards a constraint (the above happily resolves to "3" right now); in the short term, ideally it would make any conjunction involving _#checkFoo fail until we can produce useful behavior of some kind from non-concrete interpolations.
P.S. any value constrained against #Foo would presumably only have an "it's a string" constraint, so a value that needs to be constrained against integers-in-strings that are semantically larger than 5 would need to refer to _#checkFoo explicitly.

#Foo: string
_#checkFoo: strconv.Atoi(#Foo) & >5

How would this work, precisely? I'm interpreting the conjuncts as independent clauses, so a _#checkFoo must be something that successfully decodes an integer out of a string, and separately, it must be a string that is greater than 5 (which is a type mismatch). In the general case this seems quite problematic unless we introduce some kind of chaining, such as strconv.Atoi(#Foo) -> (>5 & <10) to mean it's a string containing an int, and the resulting value is between 5 and 10, exclusive.
A more flexible and powerful syntax, though perhaps quite difficult to implement, may be:
_#checkFoo: "\(>5)"
_#checkFoo: "3"

That is, allow arbitrary constraints (not just concrete values) within string interpolation to make the string itself a pattern-matching constraint. Currently the above syntax is accepted and is evaluated for concrete value, but if no concrete value is available, it just outputs "unresolved disjunction" or "non-concrete value" and doesn't otherwise contribute towards a constraint (the above happily resolves to "3" right now); in the short term, ideally it would make any conjunction involving _#checkFoo fail until we can produce useful behavior of some kind from non-concrete interpolations.
P.S. any value constrained against #Foo would presumably only have an "it's a string" constraint, so a value that needs to be constrained against integers-in-strings that are semantically larger than 5 would need to refer to _#checkFoo explicitly.

I was surprised to learn that this is not what alias was used for:
d=#Date: {
	=~#"^\d{4}-\d{2}-\d{2}$"#
	#valid: time.Parse(d, time.RFC3339Date) & true
}

cue eval -e '(#Date & "2021-01-32")' -c
"2021-01-32"

@bttk you can't use an alias in the following example:
package x

import "list"

x: [...int] & list.MinItems(3)
x: [1, 2, 3]

The use of implicit parameters is missing from the spec, which I've raised as https://github.com/cuelang/cue/issues/863
The intention of must is to, in most cases, remove the repetition that comes with aliases, and verbosity of embedded scalars.

@bttk There is an excellent write up on several related constructs (alias, let, hidden fields) here: https://github.com/cuelang/cue/discussions/699#discussioncomment-334739

Good memory, @verdverm 😄

This issue has been migrated to https://github.com/cue-lang/cue/issues/575.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Why node-sass asks visuall C++ and python 27? I need node-sass use for only angular 2 projects.

Project "D:\Public\Program Files\Apache Software Foundation\Apache2.2\htdocs\an
gular\cemApp\node_modules\node-sass\build\binding.sln" on node 1 (default targe
ts).
ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere.  [D:\Public\Program Files\Apache Software Foundation\Ap
ache2.2\htdocs\angular\cemApp\node_modules\node-sass\build\binding.sln]
Done Building Project "D:\Public\Program Files\Apache Software Foundation\Apach
e2.2\htdocs\angular\cemApp\node_modules\node-sass\build\binding.sln" (default t
argets) -- FAILED.
Build FAILED.
"D:\Public\Program Files\Apache Software Foundation\Apache2.2\htdocs\angular\ce
mApp\node_modules\node-sass\build\binding.sln" (default target) (1) ->
(src\libsass target) ->
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe
". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Vis
ual Studio 2005 or 3) add the location of the component to the system path if i
t is installed elsewhere.   System Windows_NT 6.1.7601
gyp ERR! command "D:\Public\Program Files\nodejs\node.exe" "D:\Public\Prog
ram Files\Apache Software Foundation\Apache2.2\htdocs\angular\cemApp\node
modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--l
ibsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\Public\Program Files\Apache Software Foundation\Apache2.2\htdocs
\angular\cemApp\node_modules\node-sass
gyp ERR! node -v v6.10.3
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
Build failed with error code: 1
npm info lifecycle<EMAIL_ADDRESS>Failed to exec postinstall script

NPM version (3.10.10):
Node version (`6.10.3):
Node Process (
{ http_parser: '2.7.0
node: '6.10.3',
v8: '5.1.281.101',
uv: '1.9.1',
zlib: '1.2.11',
ares: '1.10.1-DEV',
icu: '58.2',
modules: '48',
openssl: '1.0.2k' }
):
Node Platform (win32):
Node architecture (x64):
node-sass version (Can't install):

When encountering a syntax, or compilation issue:

Open an issue on LibSass. You
may link it back here, but any change will be required there, not here

If you delete this text without following it, your issue will be closed.

The log has been chopped off but my guess is that there was a network error when downloading the binary. As a result node tried to build the binary which requires c++ and python 2.7. Check you log for the network error.


Missing XPath functionality

This library cannot setup/verify xPath expressions.
I extended the code to handle this.  See attachment. Feel free to use it.
mockserver-client-net.zip

XPath matching support was added as part of a major feature to support request body matchers (Commit 692f098896d0c361dc4e117b0cd868cd394dbab8).


Crash when hot-reloading

When hot-reloading on Android with a Samsung S8
From logcat
03-12 00:01:26.505  6712  6735 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10c in tid 6735 (ui_thread)
03-12 00:01:26.507   512   512 W         : debuggerd: handling request: pid=6712 uid=10232 gid=10232 tid=6735
03-12 00:01:26.617  6773  6773 E         : debuggerd: process stopped due to unexpected signal 27
03-12 00:01:26.621  1343  6774 W ActivityManager:   Force finishing activity com.hamilton.app/.activities.MainActivity

From flutter tool console output
Initializing hot reload...
Error -32601 received from application: Method not found
F/libc    ( 6884): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10c in tid 6907 (ui_thread)

My Problem is Here.How Can I solve
Launching lib\main.dart on Redmi 3 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build\app\outputs\apk\debug\app-debug.apk (25.4MB).
Installing build\app\outputs\apk\app.apk...
Error: ADB exited with exit code 1
[  0%] /data/local/tmp/app.apk
[  0%] /data/local/tmp/app.apk
[  0%] /data/local/tmp/app.apk
[  0%] /data/local/tmp/app.apk
[  1%] /data/local/tmp/app.apk
[  1%] /data/local/tmp/app.apk
[  1%] /data/local/tmp/app.apk
[  1%] /data/local/tmp/app.apk
[  2%] /data/local/tmp/app.apk
[  2%] /data/local/tmp/app.apk
[  2%] /data/local/tmp/app.apk
[  2%] /data/local/tmp/app.apk
[  3%] /data/local/tmp/app.apk
[  3%] /data/local/tmp/app.apk
[  3%] /data/local/tmp/app.apk
[  3%] /data/local/tmp/app.apk
[  4%] /data/local/tmp/app.apk
[  4%] /data/local/tmp/app.apk
[  4%] /data/local/tmp/app.apk
[  4%] /data/local/tmp/app.apk
[  5%] /data/local/tmp/app.apk
[  5%] /data/local/tmp/app.apk
[  5%] /data/local/tmp/app.apk
[  5%] /data/local/tmp/app.apk
[  6%] /data/local/tmp/app.apk
[  6%] /data/local/tmp/app.apk
[  6%] /data/local/tmp/app.apk
[  6%] /data/local/tmp/app.apk
[  7%] /data/local/tmp/app.apk
[  7%] /data/local/tmp/app.apk
[  7%] /data/local/tmp/app.apk
[  7%] /data/local/tmp/app.apk
[  8%] /data/local/tmp/app.apk
adb: error: failed to copy 'build\app\outputs\apk\app.apk' to '/data/local/tmp/app.apk': no response: Connection reset by peer
Error launching application on Redmi 3.

I feel safe to close the issue, as I couldn't find anything similar. Please correct me if I'm wrong.


Crash on text entry with 0.8.5

Current affecting all my JSX files. Typing or pasting gives the following error:
Uncaught TypeError: Cannot read property 'testSync' of undefined
/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:124
Hide Stack Trace
TypeError: Cannot read property 'testSync' of undefined
at LanguageMode.editor.languageMode.suggestedIndentForBufferRow (/Users/chris/.atom/packages/react/index.coffee:63:35)
at LanguageMode.module.exports.LanguageMode.autoIndentBufferRow (/Applications/Atom.app/Contents/Resources/app/src/language-mode.js:374:26)
at TextEditor._results.push._this.(anonymous function) [as autoIndentBufferRow] (/Applications/Atom.app/Contents/Resources/app/node_modules/delegato/lib/delegator.js:67:61)
at Selection.module.exports.Selection.insertText (/Applications/Atom.app/Contents/Resources/app/src/selection.js:472:21)
at /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:770:31
at /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:809:27
at History.module.exports.History.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:115:18)
at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:687:27)
at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1178:26)
at TextEditor.module.exports.TextEditor.mutateSelectedText (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:802:19)
at TextEditor.module.exports.TextEditor.insertText (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:767:21)
at TextEditor.object.(anonymous function) [as insertText] (/Applications/Atom.app/Contents/Resources/app/node_modules/underscore-plus/lib/underscore-plus.js:77:27)
at TextEditor.module.exports.TextEditor.insertNewline (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:786:19)
at TextEditor.object.(anonymous function) [as insertNewline] (/Applications/Atom.app/Contents/Resources/app/node_modules/underscore-plus/lib/underscore-plus.js:77:27)
at TextEditor.atom.commands.add.stopEventPropagationAndGroupUndo.editor:newline (/Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:582:19)
at /Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:297:34
at History.module.exports.History.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/history.js:115:18)
at TextBuffer.module.exports.TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:687:27)
at TextEditor.module.exports.TextEditor.transact (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1178:26)
at atom-text-editor.newCommandListeners.(anonymous function) (/Applications/Atom.app/Contents/Resources/app/src/text-editor-element.js:296:22)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:167:20)
Disabling the React package fixes the issue.

Same here with 0.8.4 and latest Atom 0.172.0.
Updating to 0.8.5 did not help.

Just did huge refactor on that part. Trying to fix asap!

Have you tried restarting you editor?

I've restarted my editor and also tried re-installing the package and updating atom to 0.172.0.

I was able to reproduce. Hold on! :)

Should be resolved now! 0.8.6 published.

Yep fixed for me with 0.8.6! Thanks for the quick response!

Fixed. :+1:

Thanks for informing! I apparently were too quick in fixing windows related issues and caused other problems :P Thanks for you patience.


The cpu value is different from the actual usage value

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ x ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
My java application consumes about 250% cpu. The server is a 4-core 8G.But the cpu in the UI is only about 3%.

Bug

Which version of SkyWalking, OS and JRE?
Skywalking 6.1.0 OS:centOS7.3 JRE 1.8_202

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.
the UI

the ES

the Server

Requirement or improvement

Please describe about your requirements or improvement suggestions.

Try the latest release.


Trailing comment of last argument is not stable

type T = {
 obj: (
   currentRequest: string,
   // TODO this is a very long comment that makes it go > 80 columns
 ) => boolean,
};

turns into
type T = {
  obj(
    currentRequest: string
  ): // TODO this is a very long comment that makes it go > 80 columns
  boolean
};

https://jlongster.github.io/prettier/#{"content"%3A"type T %3D {\n obj%3A (\n   currentRequest%3A string%2C\n   %2F%2F TODO this is a very long comment that makes it go > 80 columns\n ) %3D> boolean%2C\n}%3B\n"%2C"options"%3A{"printWidth"%3A80%2C"tabWidth"%3A2%2C"singleQuote"%3Afalse%2C"trailingComma"%3Afalse%2C"bracketSpacing"%3Atrue%2C"doc"%3Afalse}}
which then turns into
type T = {
  obj(currentRequest: string): boolean // TODO this is a very long comment that makes it go > 80 columns
};

https://jlongster.github.io/prettier/#{"content"%3A"type T %3D {\n  obj(\n    currentRequest%3A string\n  )%3A %2F%2F TODO this is a very long comment that makes it go > 80 columns\n  boolean\n}%3B\n"%2C"options"%3A{"printWidth"%3A80%2C"tabWidth"%3A2%2C"singleQuote"%3Afalse%2C"trailingComma"%3Afalse%2C"bracketSpacing"%3Atrue%2C"doc"%3Afalse}}

Going from 1 to 2, the ast looks like:
FunctionTypeAnnotation {
  params: [ FunctionTypeParam ],
  returnType: BooleanTypeAnnotation,
}

Therefore, the comment is attached as a leading comment of the return type and not a trailing comment of the params!
I'm not super sure how to fix though.


WIP: update gitlab ci config

Update gitlab ci config with caching java and node artifacts. Still need to check the maven part (how to tell gatling to execute every simulation and where the reports are generated).

Thanks @atomfrede !
I will test this as soon as I have time, Im working on 2 subjects: docker-hub and consul with Pierre


Hero formatting update

See (trello card)[https://trello.com/c/XBpDw9Il/201-lienzo-front-end-hero-formatting] for more details

Hi @theSKa!
Thanks for wanting to contribute to Bootstrap by sending this pull request!
Unfortunately, your pull request seems to have some problems:

Changes must be made to the original JS source code file(s), not just the generated concatenated JS file(s).

You'll need to fix these mistakes and revise your pull request before we can proceed further.
Once you've fixed these problems, you can either ask the maintainers to re-open this pull request, or you can create a new pull request.
Thanks!
(Please note that this is a fully automated comment.)

Can you please abstain from trying to push this to the core Bootstrap repo? Thanks.


Reverting Engine Changes

Signed-off-by: Satyajit Ganguly<EMAIL_ADDRESS>Description
Reverting the changes in Engine done as part of this CR
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Why?

@dblock @nknize Sorry for the confusion I think @satyajitg28 meant reverting Engine interface changes to maintain BWC for TranslogManager backport to 2.x


feat: fixed for the issue (#37)

1. Description

1.1. Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples.

1.2. Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

1.3. Related Issues

Codecov Report

Merging #92 (bd97a32) into main (a801ae8) will decrease coverage by 20.39%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main      #92       +/-   ##
===========================================
- Coverage   78.92%   58.53%   -20.39%
===========================================
  Files          44        6       -38
  Lines         223       41      -182
===========================================
- Hits          176       24      -152
+ Misses         47       17       -30

see 38 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Include Last Log Event and Parameters with Threshold Breached Event

I feel that this would make the notifications produced by a signal of threshold events a bit more useful.
Would we need to put the parsed text of the original event into a parameter of the threshold event to avoid changing the threshold event message text?
Will any of the planned features for Aggregate Queries in Seq make the Threshold app obsolete?  The part I'm most unsure of is if Aggregate Queries will be able to feed signals that could then become notifications.

Thanks for the suggestion, I'll give this some thought.
Having "online query" support driven by aggregate queries would be absolutely fantastic for notifications, but it won't be available in the first cut of the feature. Some very interesting possibilities here however!

I think this ticket is obsoleted by the new alerts system. Thanks again for the suggestion, hope all is well in your neck of the woods, Ben.
Nick


org.graalvm.polyglot.PolyglotException: ReferenceError: "baseUrl" is not defined

IMPORTANT: If you have a general question please use Stack Overflow instead where Karate has a dedicated "tag": https://stackoverflow.com/questions/tagged/karate
If you are sure you have found a bug, please make sure you follow the instructions here: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
I have a karateConfig.js file with the base url defined based on the environment. While running this test locally, I see the tests running. However, when I run the tests as part of the Jenkins job, I see the below error:
`org.graalvm.polyglot.PolyglotException: ReferenceError: "baseUrl" is not defined

.:program(Unnamed:1)

classpath:meta/meta.feature:4`

can you create a quickstart and follow this process exactly as described, thanks: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

Adding a little solution, to whomever experience the same. A colleagues karate folder was placed into his C:\Users{user}\karate . Seems like there are windows specific restrictions, related to the \Users{User} folder, so if you encounter this - make sure your karate folder is placed in a clear permissions place.


fix: update files block in package.json

Updates files block in package.json so that all versions of semantic-release will work (ref.
https://github.com/npm/cli/issues/7081). Also add override of @semantic-release/npm so we have more control over this dependency.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Install codesake-dawn gem

I rule and have completed some work on Case Manager that's ready for review!
(brief, plain english overview of your changes here)
This pull request makes the following changes:

Added codesnake gem to gem file
added command line code for it to run in circle.yml
(etc)

It relates to the following issue #s:

Fixes #390

Soo this code is supposed to fail circleci if there are vulnerabilities, and there are. So if it fails circleci it's good?

Where code for codesnake came from. https://github.com/thesp0nge/dawnscanner

Hi Elisheba! Had a couple comments, looking good.
It looks like there's some leftover cruft from the auditable PR, but I'll resolve that over here once we have the dawnscanner related stuff squared away.

@colinxfleming Ok. Let me work through removing the last commits. If I don't get it by Wednesday, then you can remove them from circleci. :) I want to try and do it myself from the command line.

[Current coverage][cc-pull] is 58.45%

Merging [#470][cc-pull] into [master][cc-base-branch] will decrease coverage by 40.98%

@@             master       #470   diff @@
==========================================
  Files            23         16     -7
  Lines           355        207   -148
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            353        121   -232
- Misses            2         86    +84
  Partials          0          0

Powered by Codecov. Last updated by [191e157...e3b2e08][cc-compare]
[cc-base-branch]: https://codecov.io/gh/colinxfleming/dcaf_case_management/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/colinxfleming/dcaf_case_management/compare/191e1573ff5e8ccd3c8ee3817c00229b406c1037...e3b2e08bd8e7e51e8000cda066e41ac9d7534e13
[cc-pull]: https://codecov.io/gh/colinxfleming/dcaf_case_management/pull/470?src=pr

Rebase didn't work -http://www-cs-students.stanford.edu/~blynn/gitmagic/ch05.html#_8230_and_then_some


Reorganizing controladdin ignores CRS.RemoveSuffixFromFilename option

Hello,
After the last release (1.1.15) and the new feature to reorganize controladdin, I have noticed the suffix is kept on the folder name automatically created.
For instance if I have:
controladdin "My Control Add In SFX" { }

where SFX is my suffix, the controladdin file is renamed ConAddin.MyControlAddIn.al but it is moved to /src/controladdin/My Control Add In SFX/
Is it done on purpose?
The folder name also keeps spaces and not filenames. It seems to create error at runtime when their is spaces in the script/css path.

Not on purpose ... I will take a look...
Sent from my iPhone
On 6 Jul 2019, at 09:11, nicolassaleron <notifications<EMAIL_ADDRESS>wrote:
Hello,
After the last release (1.1.15) and the new feature to reorganize controladdin, I have noticed the suffix is kept on the folder name automatically created.
For instance if I have:
controladdin "My Control Add In SFX" { }
where SFX is my suffix, the controladdin file is renamed ConAddin.MyControlAddIn.al but it is moved to /src/controladdin/My Control Add In SFX/
Is it done on purpose?
The folder name also keeps spaces and not filenames. It seems to create error at runtime when their is spaces in the script/css path.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/waldo1001/crs-al-language-extension/issues/131?email_source=notifications&email_token=AC4HGTVUGG3EGPT4GEMKDELP6BATBA5CNFSM4H6SYRX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5UWC6Q, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AC4HGTRSFXCB557I4RN6PJLP6BATBANCNFSM4H6SYRXQ.

I think I solved the issues - using the "short" names now ;-).  Update is online!  Thanks for taking the time to report this with extensive information :-) - big help!


Integration Test - Release - 2022/04/06 10:29:40

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign NonAllowedUser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#please-close

#unassign PRMergerTest1

#unassign NonAllowedUser


Clang-cl (on Windows) 5.0.1 64-bit bug

https://github.com/taocpp/PEGTL/blob/75eb3407b9cdd42936a498cc91d00402337a4a48/include/tao/pegtl/internal/peek_char.hpp#L25
https://github.com/taocpp/PEGTL/blob/75eb3407b9cdd42936a498cc91d00402337a4a48/include/tao/pegtl/contrib/parse_tree.hpp#L301
Clang-cl has an issue with these two lines. It gets confused and somehow thinks that the code is calling the constructor for the class it's in (peek_char and remove_content) and not the method of the variable in or n, respectively.
I don't know how you'd like to handle this (if at all). I'd appreciate it if the bug were fixed, but that is up to you of course. You could fix it in a few ways:

Don't try to mark these functions noexcept.
Rename the function or the class so that they're different (so clang-cl doesn't get confused).
#ifdefs to not try to use noexcept for this compiler.

FYI, I've created a minimal test case that reproduces the bug, which I will submit to LLVM once they've given me an account. If you're interested, it's attached.
main.cpp.txt

Or I can submit a PR if you have a preferred method for fixing it but can't test easily.

Clang-cl bug report: https://bugs.llvm.org/show_bug.cgi?id=37030

That is one weird "extension", but whatever... :)
I committed a fix which should be accepted by clang-cl (or regular clang with -fms-extensions, which is how I tested it). Please re-open if this does not solve the problem for you.

FWIW, I added a CI job to test with -fms-extensions, hopefully it'll catch similar problems in the future.

Very cool. I may not get to testing it for awhile but your method of fixing and testing is much better than mine. Thanks for addressing it!


Expecting ',' delimiter: line 1 column 257 (char 256)

Automate a video with stock assets：
Step 1 _generateTempAudio
Step 2 _speedUpAudio
Step 3 _timeCaptions
Detected language: English
100% 5117/5117 [00:01<00:00, 2592.00frames/s]
Step 4 _generateVideoSearchTerms
Expecting ',' delimiter: line 1 column 257 (char 256)
not the right format

Do you have a more detailed stacktrace?

Also receiving the same error but it does proceed past this step and begin rendering a video.


Detected blocking call to load_verify_locations

Version of the custom_component

Core: 2024.12.5
Supervisor: 2024.12.0
Operating System: 14.1
Frontend: 20241127.8
smarthashtag: 0.5.5
Configuration
nothing special so far
Describe the bug
Everything seems to work, but in the Logs are reoccurring errors … i suppose these errors come up, after a restart of home assistant. Please look into the log message that mentions a link with further details.
Debug log

Logger: homeassistant.util.loop
Quelle: util/loop.py:136
Erstmals aufgetreten: 18:15:43 (1 Vorkommnisse)
Zuletzt protokolliert: 18:15:43

Detected blocking call to load_verify_locations with args (<ssl.SSLContext object at 0x7f9069327d10>,) inside the event loop by custom integration 'smarthashtag' at custom_components/smarthashtag/coordinator.py, line 44: return await self.account.get_vehicles() (offender: /usr/local/lib/python3.13/site-packages/httpx/_config.py, line 149: context.load_verify_locations(cafile=cafile)), please create a bug report at https://github.com/DasBasti/SmartHashtag/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#load_verify_locations Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 227, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 213, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 708, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 679, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2027, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component await asyncio.gather( File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr> create_eager_task( File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 788, in async_setup_locked await self.async_setup(hass, integration=integration) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup await self.__async_setup_with_context(hass, integration) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context result = await component.async_setup_entry(hass, self) File "/config/custom_components/smarthashtag/__init__.py", line 41, in async_setup_entry await coordinator.async_config_entry_first_refresh() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 306, in async_config_entry_first_refresh await self._async_refresh( File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh self.data = await self._async_update_data() File "/config/custom_components/smarthashtag/coordinator.py", line 44, in _async_update_data return await self.account.get_vehicles()

Thanks for the report.
This needs to be fixed in combination with pysmarhashtag. the library needs to be able to get the httpx injected from
HomeAssistant and not load it's own. Also tracked in https://github.com/DasBasti/pySmartHashtag/issues/79


License missing

Can you add a License to this project?

Done. In fact, all source code files contain a license header. But you are right, it's better to have a separate LICENSE file. Thanks!


NuGet package build logic ignored under some obj customizations

If you're in a situation where you want to customize the obj directory (IntermediateOutputPath) path, you may run into a situation where the build ignores packages' .props and .targets files.
This happens if you assign a value to IntermediateOutputPath after importing Microsoft.Common.props, which is easy to do, especially with Sdk imports.
<Project Sdk="something">
  <PropertyGroup>
    <!-- This is bad! -->
    <IntermediateOutputPath>SomeCustomValue</IntermediateOutputPath>
  </PropertyGroup>
</Project>

The reason this causes silent errors is that NuGet restore happens at the solution level. Restore asks each project for some information, and gets the final value of the obj directory, after the top-to-bottom evaluation of the project, so it gets the customized value. NuGet then generates .props and .targets files in that location.
When the actual build begins, Microsoft.Common.props attempts to import the generated file from the default obj location, because at the time of the import, the property hasn't been set to its custom value. No file is present in that location and the build silently continues, with no NuGet-package-delivered customizations.
Workaround
Customize the obj directory using Directory.Build.props, or another mechanism that sets BaseIntermediateOutputPath before the MSBuildProjectExtensionsPath in Microsoft.Common.props.
📝 Note: doing this means that you do not have access to very many properties that are set to defaults in the imported props. Be careful to use only built-in properties or constants, and not rely on things like $(AssemblyName).

Reported offline by @MikhailArkhipov -- thanks!
fyi @jeffkl, @emgarten

//cc @rohit21agrawal

Just hit it myself, will this get fixed in the upcoming version of MSBuild? Thanks!

We're adding an error in common targets if you set BaseIntermediateOutputPath and a warning if you set MSBuildProjectExtensionsPath in the body of a project.
#3059

@jeffkl Why? We need a custom address for "obj" folder, so we need to change it. Also Please don't put something in that folder, if you need put something in it, just give us another property for put an address for another place.
What is "obj" folder for?   google tell us: The "obj" folder is used to store temporary object files and other files used in order to create the final binary during the compilation process. The "bin" folder is the output folder for complete binaries (assemblies).
So please don't cofuse about temporary files and permanent files. We need to separate it, I thought you guys gave us MSBuildProjectExtensionsPath for put some permanent files(at least will not change too frequently)
<PropertyGroup>
    <TargetFramework>netcoreapp2.1</TargetFramework>
    <OutputPath>Y:\Cache\$(MSBuildProjectName)\$(Configuration)</OutputPath>
    <MSBuildProjectExtensionsPath>$(MSBuildThisFileDirectory)\..\Extentions</MSBuildProjectExtensionsPath>
    <BaseIntermediateOutputPath>Y:\Cache\$(MSBuildProjectName)\obj\$(Configuration)</BaseIntermediateOutputPath>
  </PropertyGroup>

But after that it told me that's wrong again....Don't know what you guys want to do....

@jeffkl , After I remove MSBuildProjectExtensionsPath, it all going to right, obj still in the folder but not always create some temporary files, those temporary files only create in the address of BaseIntermediateOutputPath. But only problems is that: visual studio will keep annoying messages about Directory.Build.props, and the obj folder include in the project in visual studio 2017.


Add AWS Java SDK in classpath

Yes.
In the .sh and .bat files for DasDds, GenerateDatasetsXml and ArichiveADataset, the classpath was missing several .jar files.
I have already made the changes to my code so I won't be doing this pull.
But thank you for submitting it.


Custom HSTR keybinding configuration

Would it be possible to change the keybinding for 'set favorite'?
For me Ctrl+F is already 'Find' in my terminal emulator.
Of course remapping of keybindings would be great in general.
Thanks! Awesome stuff!

Ideas:

.hstr_configuration

keybinding.favories="^f"
keybinding.xyz="..."
...


swa deploy throwing error reason: getaddrinfo ENOTFOUND swalocaldeploy.azureedge.net

swa cli version 1.0.6
Describe the bug
I am trying to run the swa cli from my local machine and publish to a static webabb.
I have login to azure using Service principle and The command I use is,
swa deploy --verbose silly --app-location [appLocation] --deployment-token [deploymentToken] --env [envName] --api-location [apilocation] --swa-config-location [configFileLocation]
I get the below error,
Deployment Failed :(
✖ Deployment Failure Reason: request to https://swalocaldeploy.azureedge.net/downloads/versions.json failed, reason: getaddrinfo ENOTFOUND swalocaldeploy.azureedge.net
✖ For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/azure/static-web-apps/
✖ If you believe this behavior is unexpected, please raise a GitHub issue at:
https://github.com/Azure/static-web-apps-cli/issues/new/choose
I checked in internet and found this : https://azure.github.io/static-web-apps-cli/docs/contribute/Troubleshooting/#unable-to-download-staticsitesclient-binary-file-not-found-404---403
But the site "https://swalocaldeploy.azureedge.net/downloads/1.0.020761/linux/StaticSitesClient" is showing "BlobNotFound" when we try to access it.
Expected behavior
The deployment should happen without any issue.

I have downloaded the 1.0.021731 and did the steps mentioned in here. But still getting the below error,
WARNING: Failed to load staticwebapp.config.json schema. Continuing without validation!
Deploying project to Azure Static Web Apps...
Could not read StaticSitesClient metadata: SyntaxError: Unexpected token   in JSON at position 2
Fetching release metadata for version: stable. Please wait...
✖
✖ Deployment Failed :(
✖ Deployment Failure Reason: request to https://swalocaldeploy.azureedge.net/downloads/versions.json failed, reason: getaddrinfo ENOTFOUND swalocaldeploy.azureedge.net
✖ For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/azure/static-web-apps/
✖ If you believe this behavior is unexpected, please raise a GitHub issue at:
https://github.com/Azure/static-web-apps-cli/issues/new/choose

Hi, can you please share your any details of your SWA? Are you running into this issue even after multiple tries? if not, can you please retry the scenario and let me know if the issue persists because I tested the scenario and I didn't find any issue for latest and old SWACLI versions.

Yes, after multiple tries I am still facing the issue.
I am usig 1.0.6 version.

Hey @ABL6COB, based on the error you're facing this issue seems to be coming because the site "swalocaldeploy.azureedge.net" is not accessible. Did you try allowlisting these domains? If not, can you check if your firewall is blocking these domains.
Another workaround I can provide is the link you mentioned.
Here instead of the given JSON content, can you try creating JSON file with this content?
{     "version": "stable",     "buildId": "1.0.021731",     "publishDate": "2022-12-14T02:22:20.0230853Z",     "files": {       "linux-x64": {         "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.021731/linux/StaticSitesClient",         "sha": "d2f88cf8b855169534c7e330dd95385b993b1c0f83331306e685faa8468a82b5"       },       "win-x64": {         "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.021731/windows/StaticSitesClient.exe",         "sha": "525d13ebffd79ea9663a15a4bd2e6d49bca72d20aa44838aa4b83133943d450c"       },       "osx-x64": {         "url": "https://swalocaldeploy.azureedge.net/downloads/1.0.021731/macOS/StaticSitesClient",         "sha": "5de3ac4b205d3871e7a8ff3b5869f2a57002277ac7fa6317032239d114e25ab8"       }     }   }
or download the binary from the above urls instead of the one in the documentation?

The issue is due to firewall preventing the download of https://swalocaldeploy.azureedge.net/downloads/1.0.021731/linux/StaticSitesClient. I have changed the firewall settings to allow access to it and it worked.
Thank you @sgollapudi77 for your comments. I will close this bug.


In DIY mode your tool.exe doesn't find the devices

Here's what I do:

Connect to devices NOT in DIY mode (no jumper) to verify firmware version, all good:

Put the jumpers back on, enable hotspot, connect my laptop to the hotspot, both devices connect too:

Use your tool_01DIY85(v1.0.0).exe - nothing:

Very disappointing and frustrating.  I spent now many days trying to make this work.
Please do something.  May be can you send me 4 new devices with installed and tested firmware.

Currently, the device supports 2.4ghz, and I see that it is 5GHz in your screenshot. I think I can find it if I change it here.

No, it's sharing from another network called "MyRepublic 5GHz" (it's actually Ethernet connection, not WiFI) - but the hotspot if 2.4GHz.
So please do something, it's been too long

From: 滴凡<EMAIL_ADDRESS>Sent: Monday, 24 June 2019 11:20
To: itead/Sonoff_Devices_DIY_Tools
Cc: Alex Khassapov; Author
Subject: Re: [itead/Sonoff_Devices_DIY_Tools] In DIY mode your tool.exe doesn't find the devices (#8)
Currently, the device supports 2.4ghz, and I see that it is 5GHz in your screenshot. I think I can find it if I change it here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/itead/Sonoff_Devices_DIY_Tools/issues/8?email_source=notifications&email_token=AATKPQ2BVCGMENASPJQ7NK3P4AON3A5CNFSM4H2LQEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLL7GA#issuecomment-504807320, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AATKPQ5I3CPAG77YMTUOL7TP4AON3ANCNFSM4H2LQEEQ.

Can I understand that this is a 2.4GHz hotspot

Yes

From: 滴凡<EMAIL_ADDRESS>Sent: Monday, 24 June 2019 11:33
To: itead/Sonoff_Devices_DIY_Tools
Cc: Alex Khassapov; Author
Subject: Re: [itead/Sonoff_Devices_DIY_Tools] In DIY mode your tool.exe doesn't find the devices (#8)
Can I understand that this is a 2.4GHz hotspot
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/itead/Sonoff_Devices_DIY_Tools/issues/8?email_source=notifications&email_token=AATKPQ3H3ANUKXVBKI3Y3DLP4AP53A5CNFSM4H2LQEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLMK5Y#issuecomment-504808823, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AATKPQ7RXLGT7MUZCD4HX6DP4AP53ANCNFSM4H2LQEEQ.

You can see on the same screenshot that 3 devices are connected - and I said so in my email: "onnect my laptop to the hotspot, both devices connect too"
[cid:6ab3b770-9360-493e-bfc0-2f3edbe5a952]

From: 滴凡<EMAIL_ADDRESS>Sent: Monday, 24 June 2019 11:33
To: itead/Sonoff_Devices_DIY_Tools
Cc: Alex Khassapov; Author
Subject: Re: [itead/Sonoff_Devices_DIY_Tools] In DIY mode your tool.exe doesn't find the devices (#8)
Can I understand that this is a 2.4GHz hotspot
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/itead/Sonoff_Devices_DIY_Tools/issues/8?email_source=notifications&email_token=AATKPQ3H3ANUKXVBKI3Y3DLP4AP53A5CNFSM4H2LQEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLMK5Y#issuecomment-504808823, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AATKPQ7RXLGT7MUZCD4HX6DP4AP53ANCNFSM4H2LQEEQ.

I'll make a log version, you run it, I'll look at the log, ok?I think this is my software what is wrong.

Ok, thank you

From: 滴凡<EMAIL_ADDRESS>Sent: Monday, 24 June 2019 11:44
To: itead/Sonoff_Devices_DIY_Tools
Cc: Alex Khassapov; Author
Subject: Re: [itead/Sonoff_Devices_DIY_Tools] In DIY mode your tool.exe doesn't find the devices (#8)
I'll make a log version, you run it, I'll look at the log, ok?I think this is my software what is wrong.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/itead/Sonoff_Devices_DIY_Tools/issues/8?email_source=notifications&email_token=AATKPQ5BD5ZE45DDD7XLEFTP4ARGFA5CNFSM4H2LQEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLMUSA#issuecomment-504810056, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AATKPQ34XV4JA5D3ATDYVLDP4ARGFANCNFSM4H2LQEEQ.

hi,I have uploaded the log version to /tool

So what do I need to do now?

From: 滴凡<EMAIL_ADDRESS>Sent: Monday, June 24, 2019 12:14:21 PM
To: itead/Sonoff_Devices_DIY_Tools
Cc: Alex Khassapov; Author
Subject: Re: [itead/Sonoff_Devices_DIY_Tools] In DIY mode your tool.exe doesn't find the devices (#8)
hi,I have uploaded the log version to /tool
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/itead/Sonoff_Devices_DIY_Tools/issues/8?email_source=notifications&email_token=AATKPQ5L7HVMWKAGDJ5LXQTP4AUX3A5CNFSM4H2LQEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLNYHI#issuecomment-504814621, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AATKPQ2PI5YRQBE7ARCC54TP4AUX3ANCNFSM4H2LQEEQ.

You run it and see if you can find the device

Not much in the log :)

Is it possible to set your router to only 2.4GHz?I want to make sure that both the computer and the device are running at 2.4GHz.

But when devices and my computer connect to hotspot - router is not involved at all?

From: 滴凡<EMAIL_ADDRESS>Sent: Tuesday, 25 June 2019 11:23
To: itead/Sonoff_Devices_DIY_Tools
Cc: Alex Khassapov; Author
Subject: Re: [itead/Sonoff_Devices_DIY_Tools] In DIY mode your tool.exe doesn't find the devices (#8)
Is it possible to set your router to only 2.4GHz?I want to make sure that both the computer and the device are running at 2.4GHz.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/itead/Sonoff_Devices_DIY_Tools/issues/8?email_source=notifications&email_token=AATKPQ7AYF54FAPNISVRPR3P4FXRDA5CNFSM4H2LQEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYOVR5Y#issuecomment-505239799, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AATKPQ7SM7IEFAU4KVWBYCDP4FXRDANCNFSM4H2LQEEQ.

Sorry, by that I mean setting the hotspot to 2.4GHZ

Hotspot must be 2.4Ghz - the devices are connected to it!  It's definitely some issue in the firmware.
Adding logging in you "tool" app doesn't help - I know your devices do not respond to mDNS requests.

Any more ideas, except for WiFi frequency?

Same issue here. the app "tool" doesn't find any sonoff devices.

Same problem with three new Basic R3 controllers. Looks like a big in firmware. Please see tickets ##324553 and 323823 filed with Itead support.

The device does not connect to sonoffDiy hotspot (no matter where - phone or PC), and yes, I know it has to be 2.4Ghz.
Upgrading to the latest available firmware version (3.1.0, if I remember correctly) kills the DIY mode for good - with the jumper on it does not get into the configuration mode anymore. The eWelink continues to work fine though.

HI,If the device is not connected to WIFI and in DIY mode, it will be a single flash.If the route is connected it will be a double flash.

single flash（   _ - _ _ _ _ _ _   ）

double flash(  --_ _ _ _ _ _   )

Do you have two network CARDS?If so, you need to set the network card connected to "sonoffDiy" as the preferred one.

At present, DIY only supports these devices.
Basic R3, RFR3 and Mini

Do you have two network CARDS?If so, you need to set the network card connected to "sonoffDiy" as the preferred one.

Most laptops have two network cards - WiFi and Ethernet.  So, where exactly do I "set the network card connected to "sonoffDiy" as the preferred one."?

I created a HomeSeer plugin for Shelly devices, they are very simple to configure and add to WiFi network.
@ZZLinvec - you should probably have a look at their implementation and do something similar.
https://shop.homeseer.com/products/alexbk66-ak-shelly-software-plug-in-for-hs3

Finally I managed to discover my devices!  After flashing FW 3.3 and disabling Ethernet adaptor on my laptop.

Same for me.
Thanks

It's so f*cking not funny :disappointed:
Did itead research since june 2017 (wifi password for sonoffDiy) how to make this flashing the most complicated thing in the world that people will still use their cl0ud sh!t?

This plain and simple does not work. Ive tried windows 10, same settings, all correct. laptop connects, sonoff mini will not.

Same issue here. Using mini, de 3.3, jumper set,  two gaat led flash mode,  2.4GHz only router,  pc wifi metric set to 1, pc lan disabled, esp device found by angy ip scanner, ping result is ok, dit tool finds no device. Log window of diy tool only shows 4 strange characters (equal as reported above in screenshot). Any suggestions?

How did you connect pc and Sonoff ?
I've used the Tethering off my phone to connect both the sonoff and my pc on the same wifi.

Its working now after many trial and error. On PC, I switched my dual band wifi adapter to (4) 2.4GHz 802.11b/g. Then the adaper restarts and it cannot connect. Then I switch back to (8) dual band 802.11a/b/g and adapter restarts and it can connect to sonofDIY SSID. Also the tool shows the mini device and I can control it.
I hope it this can help someone.

Trying to Flash a new Sonoff Mini. Have got as far as all devices connected to a 2.4GHz hotspot. Can see that the Sonoff gets an IP address and I can ping that address but the DIY mode tool never discovers.  Have tried the various solutions listed here such as disabling the ethernet adapter and running the (log) version but the software fails to discover the device.
I don't understand the point of DIY mode if A) It is as cumbersome as it is and B) If it is not being supported. This problem was reported months ago and there seems to be no progress.  Why not add the ability to manually add the device by IP address.  Anyone that is taking on this process is more than capable to downloading an IP scanner and finding the Sonoff.

Fyiy, I had the same problem with Windows 7 and could fix it by allowing the exe at Windows firewall to connect to private and public networks (had a dialogue at application start)...

I have the same problems DIY to a Mini the device is visible on the phone hot spot so it is the correct network frequency it is possible to view the device IP address and Mac Address it is possible to log another device onto the hotspot and see the device.  I also ran ewelink over the hot spot and it found the device and I could turn it on and off from there but I cant find it in DIY mode Tool.   Looks like I have to live dangerously and go to a hardware flash which is a "bugger" on the mini because there is no provision for pin connectors.   Safe bet they don't want you using the DIY Tasmota solution or they would have allowed it as a simple software upgrade.    Time to look for an alternative.

Confirmed, resolved:

Confirmed, resolved:

Hi
FYI, I've got the same problem - helped restart of the network card (disable/enable) but after connecting to different network and going back to the AP, I had to apply restart again.


The google auth thing and more than one user with same email is a PITA!

Indeed, but there's a simple work-around: you only have to deactivate one of the user accounts in the Django admin (see the "active" flag under "Permissions" of the user record). Be sure to deactivate the account without the tickets :-)

The problem goes further: if you assign a ticket to user with two accounts,
the ticket gets assigned to both user accounts. This causes that assigner
and assignees can't access their ticket page.
On Wed, 1 Jul 2015 11:04 Marc-Andre Lemburg<EMAIL_ADDRESS>wrote:

Indeed, but there's a simple work-around: you only have to deactivate one
of the user accounts in the Django admin (see the "active" flag under
"Permissions" of the user record). Be sure to deactivate the account
without the tickets :-)
—
Reply to this email directly or view it on GitHub
https://github.com/EuroPython/epcon/issues/188#issuecomment-117552572.

Not only that. In order to generate the tickets. It can be not trivial to choose the user to pick the profile. I've seen users with social event ticket in one account and conference ticket in the other.

In the call today we decided to drop the support for social account logins to keep things simple.

See #215 and the discussion on the web-wg. Dropping support turned out to be a bad idea. In particualr, since it's not (easily) possible to turn a Google auth login account back into a password based one.
I've opened #218 to track the idea to prevent users from creating multiple accounts with the same email address.


Update readme.md

Thanks for adding your introduction @HIMANSHIKSHARMA! Make sure to join our Community by creating an issue in: https://github.com/The-Lively-Developers-Community/become-a-member


Cherry pick gporca commits Feb152022-Mar252022

Cherry-pick a couple of commits to gporca as suggested in https://github.com/orgs/cloudberrydb/discussions/675
Have some conflicts with https://github.com/cloudberrydb/cloudberrydb/pull/565 - fixed them manually

Change logs
Here I added commits:
Mar 15, 2022 Fix Printing Expression Properties https://github.com/open-gpdb/gpdb/commit/1902fbcddcef233a683f1771a24b94badca920ec
Mar 18, 2022 Add ORCA GUC to disable NLJ https://github.com/open-gpdb/gpdb/commit/4c05173937c927d5122e0fd26900677fa9289251
Mar 18, 2022 Fix flaky qp_misc test case (#13261) https://github.com/open-gpdb/gpdb/commit/cd84fb806f24cecc584040a6420545600b67ef9d
Mar 25, 2022 Fix FNullRejecting() error while trying to process zero-placed predicate. https://github.com/open-gpdb/gpdb/commit/3ae4d19575bdd34efe8ed56c10b26dd43780bb84 - conflict with https://github.com/cloudberrydb/cloudberrydb/pull/565
Why are the changes needed?
Describe why the changes are necessary.
Does this PR introduce any user-facing change?
If yes, please clarify the previous behavior and the change this PR proposes.
How was this patch tested?
make installcheck-world
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:

[ ] Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
[ ] Sign the Contributor License Agreement as prompted for your first-time contribution(One-time setup).
[ ] Learn the coding contribution guide, including our code conventions, workflow and more.
[ ] List your communication in the GitHub Issues or Discussions (if has or needed).
[ ] Document changes.
[ ] Add tests for the change
[ ] Pass make installcheck
[ ] Pass make -C src/test installcheck-cbdb-parallel
[ ] Feel free to request cloudberrydb/dev team for review and approval when your PR is ready🥳

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: dgkimura:x: leborchukYou have signed the CLA already but the status is still pending? Let us recheck it.

Please fix CI failures.

Could you re-launch tests? Only maintainer could do this.
I downloaded icw-test.zip artifacts and checked if only gporca test failed. Then fixed it and  run make installcheck on my env and checked if gporca test does not fail anymore (miss space last time).

hi @leborchuk hi, re-trigger the ci workflow.

See new failed checks, fixied it and checking tests

Ok, checked, everything works fine on my environment - qp_misc ... ok 63410 ms (diff 1617 ms). Could you please restart the tests again?

Hi @leborchuk, I have invited you to join the Cloudberry org. You can trigger the failed tests again by yourself. Once the tests fail, welcome to try again!

Ok, thanks! Now all looks fine^ tests is Ok, could be reviewed once again

[Add space to scripts regress output](https://github.com/cloudberrydb/cloudberrydb/pull/678/commits/208d3988283eb3a36bfcf58a6c31bfc609feda86)

[Fix Greenplum -> cloudberry in qp_misc.sql out](https://github.com/cloudberrydb/cloudberrydb/pull/678/commits/7cbdf0e4be782dc6750ad624a739652599fae6d1)

better to combine this two commits.

Yep, thanks! It's better to avoid doing meaningless commits, so I squashed test fixes in a single commit.

Thanks @leborchuk!
It's better to have a clearer and more descriptive title for the combined commit. Currently, it is called Fixed tests: , which may confuse other developers when reviewing the commit history y.
41ac6fdd59 (HEAD -> main, upstream/main, upstream/HEAD) Fixed tests:
6a95c6391f Fix FNullRejecting() error while trying to process zero-placed predicate.
a4a0a07c2c Fix flaky qp_misc test case (#13261)
9b3bf7a65f Add ORCA GUC to disable NLJ


Fix foreground color reset to default after each WriteInColor call

As per issue #26 this fragment of code was not usable:
Colorful.Console.ForegroundColor = color;
Colorful.Console.WriteLine($"Foregound Console Color : \"{Colorful.Console.ForegroundColor.ToString()}\"");
color = System.Drawing.Color.DeepSkyBlue;
Colorful.Console.WriteLine($"Console Color : \"{color.ToString()}\"", color);
Colorful.Console.WriteLine($"Foregound Console Color : \"{Colorful.Console.ForegroundColor.ToString()}\"");

The issue was in WriteInColor group of methods (ColorfulConsoleBack.cs), which called System.Console.ResetColor() after each method call.
I've added plain System.Console.ForegroundColor save to a local variable and reverting it back instead of calling ResetColor().

Thanks for the bug fix!  The changes in ColorfulConsoleBack.cs look great.  I've noticed that this PR also replaces project.json and .xproj with .csproj -- was this intentional?

Hi! It wasn't intentional, VS 2017 Community edition forces these changes with no other chance to load the solution other than migration from xproj to csproj. Sorry.

Understood, I figured it might be VS 2017.  Would it be possible to submit a PR with just the changes in ColorfulConsoleBack.cs?  I can simply make these changes in my branch and then merge to master, but I'd like for you to get credit for this fix if possible.  Sorry to make you jump through hoops to get this merged!

Never mind, code changes have no dependencies of VS2017 in particular. Surely you can merge just the class code without project files.

Unfortunately, Git doesn't give us that much granularity when merging -- we can only merge by commit.  BUT, I ended up figuring out how to do this via the command line: I manually made the changes in a local copy of the repo, and then was able to commit and push them in your name:
https://github.com/tomakita/Colorful.Console/commit/b00372e31ba754ce49423e23119c9cc89c77060b
You are officially listed as a contributor now.  (And the crowd goes wild!!)
Thanks again!


Consider moving to codecov.io

Among other things, it allows one to use it without secret tokens, so pull request tests will pass.

It's a good idea, I'll switch master branch to codecov.io after merge this PR https://github.com/kshvakov/clickhouse/pull/54


[bot] Fingerprints: add missing FW versions from CAN fingerprinting cars

✅ Updating FW version database with FW from 3 dongles (2 platforms) in last 90.0 days:
View table

Dongle, platform, VIN
Name from VIN 🆚 CarInfo
Segments
Bad seg tags
Good seg tags

1d123e7a239cca62HYUNDAI KONA ELECTRIC<PHONE_NUMBER>000........
None 🆚None
110 routes, 3020 segments

- all lat active: 543- no input all lat active: 282

0e13ee2b821302f4HYUNDAI IONIQ HYBRID 2017-2019KNDCE3LC1........
KIA Niro Hybrid 2018 🆚Hyundai Ioniq Hybrid 2017-19
119 routes, 3363 segments
- VIN model mismatch (info): 1- VIN make mismatch (info): 1
- all lat active: 911- no input all lat active: 611

c9508b688d2009f6HYUNDAI KONA ELECTRIC<PHONE_NUMBER>000........
None 🆚None
371 routes, 7557 segments

- all lat active: 673- no input all lat active: 610

Dongles to re-run category: 0e13ee2b821302f4 1d123e7a239cca62 c9508b688d2009f6

⏳ 2 dongles (2 platforms) do not yet have enough data to be added:
View table

Dongle, platform, VIN
Name from VIN 🆚 CarInfo
Segments
Bad seg tags
Good seg tags

1613602610c3e789HYUNDAI IONIQ ELECTRIC<PHONE_NUMBER>000........
None 🆚None
4 routes, 68 segments

- all lat active: 32- no input all lat active: 17

2eefb4d20c7c1f62GENESIS G80 2017KMTFN4JE4........
GENESIS G80 2019 🆚Genesis G80 2018-19
95 routes, 1222 segments

- all lat active: 0

Dongles to re-run category:<PHONE_NUMBER>c3e789 2eefb4d20c7c1f62

⚠ 6 dongles (5 platforms) have issues that need to be resolved before adding:
View table

Dongle, platform, VIN
Name from VIN 🆚 CarInfo
Segments
Bad seg tags
Good seg tags

b81ff53f2a9a2146HYUNDAI KONA ELECTRIC<PHONE_NUMBER>000........
None 🆚None
13 routes, 48 segments
- missing ECU FW: 48- spotty FW: 4- CAN invalid: 31- FW not exact match: 1

36abc44c4f296c7aKIA NIRO EV<PHONE_NUMBER>000........
None 🆚None
6 routes, 89 segments
- missing ECU FW: 89- FW not exact match: 1

6b111e8e45cc2d07KIA SORENTO GT LINE 2018KNAPH81BD........
KIA  1988 🆚Kia Sorento 2019🎉 New model year! 🎉
128 routes, 5728 segments
- missing ECU FW: 5728- VIN spotty (info): 1- FW not exact match: 1
- all lat active: 747- no input all lat active: 196

0af43ba62cc3ffc4HYUNDAI PALISADE 2020KM8R74HE5........
HYUNDAI Palisade 2022 🆚Hyundai Palisade 2020-22
1 routes, 1 segments
- missing ECU FW: 1- FW not exact match: 1

95040c267966a52cHYUNDAI IONIQ HYBRID 2017-2019KMHC85LC5........
HYUNDAI Ioniq Hybrid Hatchback 2019 🆚Hyundai Ioniq Hybrid 2017-19
180 routes, 5082 segments
- missing ECU FW: 39- spotty FW: 39- VIN spotty (info): 1- VIN model mismatch (info): 1
- all lat active: 2372- no input all lat active: 1668

d23a555519923793HYUNDAI PALISADE<PHONE_NUMBER>000........
None 🆚None
10 routes, 123 segments
- missing ECU FW: 123- FW not exact match: 1
- all lat active: 22- no input all lat active: 7

Dongles to re-run category: 36abc44c4f296c7a b81ff53f2a9a2146 0af43ba62cc3ffc4 6b111e8e45cc2d07 95040c267966a52c d23a555519923793

looks like we found a bug in CAN fingerprinting, a Niro is fingerprinting as an Ioniq!


Deleting etcd node in a 3 node rke cluster fails and comes back as a worker role

Rancher versions:
rancher/cattle:master (Jan20 10:30 pm build)
**Docker version: (docker version,docker info preferred)**1.17.12
**Operating system and kernel: (cat /etc/os-release, uname -r preferred)**Ubuntu
**Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)**DO
Steps to Reproduce:

Create a 3 node cluster as below:
N1: worker, management, etcd
N2. etcd
N3: etcd

Delete N3

Deletion of node N3 with etcd fails. The node gets removed from the UI for a few seconds and gets added back as a worker.

Server logs
time="2018-01-22T02:00:10Z" level=info msg="cluster [cluster-wz6hq] provisioning: [remove/etcd] Removing member [etcd-soumyaetcdtest3] from etcd cluster"
E0122 02:00:10.796894       1 generic_controller.go:191] MachineController cluster-wz6hq/machine-9cb4w [machine-controller] failed with : Operation cannot be fulfilled on machines.management.cattle.io "machine-9cb4w": StorageError: invalid object, Code: 4, Key: /registry/management.cattle.io/machines/cluster-wz6hq/machine-9cb4w, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 8ff5fc1c-ff16-11e7-90fe-0242ac110002, UID in object meta:
time="2018-01-22T02:00:10Z" level=info msg="cluster [cluster-wz6hq] provisioning: [remove/etcd] Successfully removed member [etcd-soumyaetcdtest3] from etcd cluster"
time="2018-01-22T02:00:10Z" level=info msg="cluster [cluster-wz6hq] provisioning: [dialer] Setup tunnel for host [<IP_ADDRESS>]"
time="2018-01-22T02:00:11Z" level=error msg="cluster [cluster-wz6hq] provisioning: [reconcile] Couldn't clean up etcd node [<IP_ADDRESS>]: Not able to reach the host: Can't establish dialer connection: machines.management.cattle.io \"machine-9cb4w\" not found"
time="2018-01-22T02:00:11Z" level=info msg="cluster [cluster-wz6hq] provisioning: [reconcile] Check etcd hosts to be added"
time="2018-01-22T02:00:11Z" level=info msg="cluster [cluster-wz6hq] provisioning: [reconcile] Rebuilding and updating local kube config"
time="2018-01-22T02:00:11Z" level=info msg="cluster [cluster-wz6hq] provisioning: Successfully Deployed local admin kubeconfig at [management-state/rke/rke-700123311/.kube_config_cluster.yml]"
time="2018-01-22T02:00:11Z" level=info msg="cluster [cluster-wz6hq] provisioning: [reconcile] host [<IP_ADDRESS>] is active master on the cluster"
time="2018-01-22T02:00:11Z" level=info msg="cluster [cluster-wz6hq] provisioning: [reconcile] Reconciled cluster state successfully"
time="2018-01-22T02:00:11Z" level=info msg="cluster [cluster-wz6hq] provisioning: [certificates] Deploying kubernetes certificates to Cluster nodes"
time="2018-01-22T02:00:18Z" level=info msg="Created machine for node [soumyaetcdtest3]"
time="2018-01-22T02:00:33Z" level=info msg="cluster [cluster-wz6hq] provisioning: Successfully Deployed local admin kubeconfig at [management-state/rke/rke-700123311/.kube_config_cluster.yml]"
time="2018-01-22T02:00:33Z" level=info msg="cluster [cluster-wz6hq] provisioning: [certificates] Successfully deployed kubernetes certificates to Cluster nodes"
time="2018-01-22T02:00:33Z" level=info msg="cluster [cluster-wz6hq] provisioning: [etcd] Building up Etcd Plane.."
time="2018-01-22T02:00:41Z" level=info msg="cluster [cluster-wz6hq] provisioning: [etcd] Successfully updated [etcd] container on host [<IP_ADDRESS>]"
time="2018-01-22T02:00:49Z" level=info msg="cluster [cluster-wz6hq] provisioning: [etcd] Successfully updated [etcd] container on host [<IP_ADDRESS>]"
time="2018-01-22T02:00:49Z" level=info msg="cluster [cluster-wz6hq] provisioning: [etcd] Successfully started Etcd Plane.."
time="2018-01-22T02:00:49Z" level=info msg="cluster [cluster-wz6hq] provisioning: [controlplane] Building up Controller Plane.."
time="2018-01-22T02:00:49Z" level=info msg="cluster [cluster-wz6hq] provisioning: [sidekick] Sidekick container already created on host [<IP_ADDRESS>]"
time="2018-01-22T02:00:49Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [kube-api] on host [<IP_ADDRESS>]"
time="2018-01-22T02:00:50Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [kube-api] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:00:51Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [kube-controller] on host [<IP_ADDRESS>]"
time="2018-01-22T02:00:51Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [kube-controller] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:00:51Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [scheduler] on host [<IP_ADDRESS>]"
time="2018-01-22T02:00:52Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [scheduler] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:00:52Z" level=info msg="cluster [cluster-wz6hq] provisioning: [controlplane] Successfully started Controller Plane.."
time="2018-01-22T02:00:52Z" level=info msg="cluster [cluster-wz6hq] provisioning: [authz] Creating rke-job-deployer ServiceAccount"
time="2018-01-22T02:00:54Z" level=info msg="cluster [cluster-wz6hq] provisioning: [authz] rke-job-deployer ServiceAccount created successfully"
time="2018-01-22T02:00:54Z" level=info msg="cluster [cluster-wz6hq] provisioning: [authz] Creating system:node ClusterRoleBinding"
time="2018-01-22T02:00:54Z" level=info msg="Failed to update cluster [cluster-wz6hq] Operation cannot be fulfilled on clusters.management.cattle.io \"cluster-wz6hq\": the object has been modified; please apply your changes to the latest version and try again"

time="2018-01-22T02:00:55Z" level=info msg="cluster [cluster-wz6hq] provisioning: [authz] system:node ClusterRoleBinding created successfully"
time="2018-01-22T02:00:55Z" level=info msg="cluster [cluster-wz6hq] provisioning: [certificates] Save kubernetes certificates as secrets"
2018-01-22 02:01:32.950482 I | mvcc: store.index: compact 1877
2018-01-22 02:01:32.951643 I | mvcc: finished scheduled compaction at 1877 (took 619.41µs)
time="2018-01-22T02:01:54Z" level=info msg="cluster [cluster-wz6hq] provisioning: [certificates] Successfully saved certificates as kubernetes secret [k8s-certs]"
time="2018-01-22T02:01:55Z" level=info msg="cluster [cluster-wz6hq] provisioning: [state] Saving cluster state to Kubernetes"
time="2018-01-22T02:01:55Z" level=info msg="cluster [cluster-wz6hq] provisioning: [state] Successfully Saved cluster state to Kubernetes ConfigMap: cluster-state"
time="2018-01-22T02:01:55Z" level=info msg="cluster [cluster-wz6hq] provisioning: [worker] Building up Worker Plane.."
time="2018-01-22T02:01:55Z" level=info msg="cluster [cluster-wz6hq] provisioning: [worker] Host [<IP_ADDRESS>] is already worker host, skipping deploying unschedulable kubelet"
time="2018-01-22T02:01:56Z" level=info msg="cluster [cluster-wz6hq] provisioning: [sidekick] Sidekick container already created on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:56Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [kubelet] on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:56Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [kubelet] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:01:56Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [kube-proxy] on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:57Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [kube-proxy] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:01:57Z" level=info msg="cluster [cluster-wz6hq] provisioning: [sidekick] Sidekick container already created on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:57Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [kubelet] on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:57Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [kubelet] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:01:57Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [kube-proxy] on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:58Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [kube-proxy] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:01:58Z" level=info msg="cluster [cluster-wz6hq] provisioning: [sidekick] Sidekick container already created on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:58Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [kubelet] on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:59Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [kubelet] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:01:59Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] Start Healthcheck on service [kube-proxy] on host [<IP_ADDRESS>]"
time="2018-01-22T02:01:59Z" level=info msg="cluster [cluster-wz6hq] provisioning: [healthcheck] service [kube-proxy] on host [<IP_ADDRESS>] is healthy"
time="2018-01-22T02:01:59Z" level=info msg="cluster [cluster-wz6hq] provisioning: [worker] Successfully started Worker Plane.."
time="2018-01-22T02:01:59Z" level=info msg="cluster [cluster-wz6hq] provisioning: [network] Setting up network plugin: flannel"
time="2018-01-22T02:01:59Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] Saving addon ConfigMap to Kubernetes"
time="2018-01-22T02:02:01Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] Successfully Saved addon to Kubernetes ConfigMap: rke-network-plugin"
time="2018-01-22T02:02:01Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] Executing deploy job.."
time="2018-01-22T02:02:01Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] Setting up KubeDNS"
time="2018-01-22T02:02:01Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] Saving addon ConfigMap to Kubernetes"
time="2018-01-22T02:02:02Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] Successfully Saved addon to Kubernetes ConfigMap: rke-kubedns-addon"
time="2018-01-22T02:02:02Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] Executing deploy job.."
time="2018-01-22T02:02:03Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] KubeDNS deployed successfully.."
time="2018-01-22T02:02:03Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] Setting up user addons.."
time="2018-01-22T02:02:03Z" level=info msg="cluster [cluster-wz6hq] provisioning: [addons] No user addons configured.."
time="2018-01-22T02:02:03Z" level=info msg="cluster [cluster-wz6hq] provisioning: Finished building Kubernetes cluster successfully"
time="2018-01-22T02:02:06Z" level=info msg="Provisioned cluster [cluster-wz6hq]"
E0122 02:02:06.289404       1 generic_controller.go:191] ClusterController cluster-wz6hq [cluster-stats] failed with : Operation cannot be fulfilled on clusters.management.cattle.io "cluster-wz6hq": the object has been modified; please apply your changes to the latest version and try again
2018-01-22 02:06:32.975541 I | mvcc: store.index: compact 2012
2018-01-22 02:06:32.976328 I | mvcc: finished scheduled compaction at 2012 (took 393.265µs)
E0122 02:08:29.061046       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.061365       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.061517       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.061661       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.061790       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.061917       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.062058       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.062185       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.062332       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.062465       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out
E0122 02:08:29.062602       1 streamwatcher.go:109] Unable to decode an event from the watch stream: read tcp <IP_ADDRESS>:54600-><IP_ADDRESS>:6443: read: connection timed out

The cluster eventually becomes active and we can add namespace to the cluster.

@soumyalj i can't reproduce with the latest master, i created 3 node pools with 1 pool with all roles and the other two with etcd only, and deleted the 2 etcd node pools, i can see them deleted successfully

Tested with master from March 2nd.

Create a 3 node cluster as below:
Node pool1: worker, management, etcd
Node pool2: etcd
Node pool3: etcd

Deploy workloads

Delete Node pool2 and 3

The nodes were deleted successfully. The pods remained  intact and new pods were deployed successfully