Sig Eq Paper model units error

This is the print out when I run @mopg signomial equality paper solar hale scripts
eginning signomial solve.
Solving took 4 GP solves and 0.228 seconds.

Traceback (most recent call last):
  File "/Users/mayork/Library/Containers/com.apple.mail/Data/Library/Mail Downloads/AEA1A38B-88E1-44A7-A3E8-D05EC2CAAB89/solar_hale_wind_hi_B.py", line 182, in <module>
    sol = M.localsolve("mosek",x0={h:60000*units.ft},iteration_limit=500)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gpkit/constraints/prog_factories.py", line 83, in solvefn
    solution.to_united_array(unitless_keys=["sensitivities"], united=True)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gpkit/small_classes.py", line 94, in to_united_array
    _enray_and_unit_dict(self, self, unitless_keys, united)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gpkit/small_classes.py", line 140, in _enray_and_unit_dict
    unitless_keys, subunited)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gpkit/small_classes.py", line 140, in _enray_and_unit_dict
    unitless_keys, subunited)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gpkit/small_classes.py", line 145, in _enray_and_unit_dict
    v = [e.to(k.units).magnitude for e in v]*k.units
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pint/quantity.py", line 263, in to
    magnitude = self._convert_magnitude_not_inplace(other, *contexts, **ctx_kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pint/quantity.py", line 231, in _convert_magnitude_not_inplace
    return self._REGISTRY.convert(self._magnitude, self._units, other)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pint/unit.py", line 1026, in convert
    return self._convert(value, src, dst, inplace)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pint/unit.py", line 1063, in _convert
    raise DimensionalityError(src, dst, src_dim, dst_dim)
DimensionalityError: Cannot convert from 'dimensionless' (dimensionless) to 'pascal' ([mass] / [length] / [time] ** 2)

it looks like the model solves and then a unit error is thrown while creating the solution dict? I'm not sure how to proceed, but would really like to analyze this model to see if the atmosphere linearizes the same way as my atmosphere model. @bqpd thoughts?
the code is in PR #83

It's a gpkit bug, close in #876

forgot to mention I changed the SignomialEqualityLinTrust in the solar hale to be SignomialEquality and ran this on gpkit master

Yup, did that.

Will merge to master once tests pass.

@mayork, try now.

it works, thanks!


SCMOD-12742: Stop publishing job-service-contract

https://portal.digitalsafe.net/browse/SCMOD-12742

A developer build has not yet been created for this branch. Click here to go ahead and create the build...

CI Build Link:
http://sou-jenkins2.swinfra.net:8080/job/JobService/job/JobService~job-service-client~SCMOD-12742~CI


Support variable precision time, timestamp, time with time zone, timestamp with time zone types

Over couple of recent releases (up to including Presto 341), Presto gained support for variable precision time, timestamp, time with time zone, timestamp with time zone types.
For backward compatibility reasons, these are not rendered with actual precision to the client, unless the client sends proper X-Presto-Client-Capabilities header.
Add support for these, along with properly setting the header.
See more at https://github.com/prestosql/presto/issues/1284

Any chance we could get this feature added soon?

I just saw that this was merged and is in the latest release. Thanks so much!


[Telemetry] PowerToys Run Hide and Show events fired at startup

Microsoft PowerToys version
0.43.0
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Start PowerToys with PowerToys Run enabled.
The code for "LauncherHideEvent" and "LauncherShowEvent" will be called.
This can be observed through the Diagnostic Data Viewer on Windows, or verified using the debugger and breakpoints.
✔ Expected Behavior
The "LauncherHideEvent" and "LauncherShowEvent" should not be called without PowerToys Run dialog being shown/hidden.
❌ Actual Behavior
The "LauncherHideEvent" and "LauncherShowEvent" are always being called when PowerToys starts. even if PowerToys Run is not shown.
Other Software
No response

LauncherColdStateHotkeyEvent is also being triggered just from starting PowerToys.

LauncherColdStateHotkeyEvent is also being triggered just from starting PowerToys.

This is to be expected, it seems, a cold boot is purposefully triggered to preemptively load some assets.

Resolved with the release of v0.45.


String hash keys should be fstrings

a = {"ABC" => :t}
b = {"ABC" => :t}
assert_same a.keys[0], b.keys[0]
assert_same "ABC".freeze, a.keys[0]
var = +'ABC'
c = { var => :t }
assert_same "ABC".freeze, c.keys[0]

This should have been fixed by https://github.com/ruby/prism/issues/2290.


Support GOOGLE_OAUTH_ACCESS_TOKEN credential for GCP

Description
Hi everyone,
We use Oauth token credential to authentificate to GCP in order to impersonate service account.
However, when I try to run a command scan it returns this error

Please use a Service Account to authenticate on GCP

Example of podman command
podman run --interactive --tty --rm -v $(pwd):/app:ro -e<EMAIL_ADDRESS>-e GOOGLE_OAUTH_ACCESS_TOKEN=$(gcloud auth print-access-token) snyk/driftctl scan --to="gcp+tf"
Is the GOOGLE_OAUTH_ACCESS_TOKEN method is supported ?

Hey @Manouchka94 👋🏻
IIRC it is currently a limitation of GCP to use service accounts to use the assets API 🤔 But it has been a long time so not 100% sure. The GCP assets API is currently used to enumerate resources on GCP using a single API call.
driftctl will require a lot of work to change that to call every GCP service to List resources.
driftctl is currently not doing anything special about the authentication, we are using the default mechanism of the Go SDK.
The error you are seeing is triggered by the google SDK, but we do not display the original error message. You could try to build a custom version of driftctl by updating the code here to give you more details about the error, maybe it will help. Just log the error with logrus.Error(err) for example.

Hi @eliecharra,
Thanks for your message 😄
I follow your advice and I build a custom version of driftctl.
I add this line log.Error(err)
if err != nil {
	log.Error(err)
	return errors.New("Please use a Service Account to authenticate on GCP.\n" +
	"For more information: https://cloud.google.com/docs/authentication/production")
}

And it's add a log
ERRO[0000] google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
It's use the application-default-credentials to authentificate to GCP.
So I try to add my OAuth token with an environment var
export GOOGLE_OAUTH_ACCESS_TOKEN=$(gcloud auth print-access-token)

it's still fail.
And I try with the --header option :
driftctl scan --to="gcp+tf" --headers="Authorization=Bearer $(gcloud auth print-access-token)"

It's also failed with the previous message which ask me to use application-default-credentials.

The --header will not help here since it is only used to retrieve the terraform state.
Can you provide the process or the documentation you had followed to achieve your oauth2 setup so we could try to reproduce locally ?
Unfortunately we do not have a lot of bandwidth to allocate to driftctl those days so I can't share any time estimation about when we could get deeper on that.

To authentificate to GCP using OAuth token i just follow the Google Provide configuration for Terraform.
Specifically the part of access_token : https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#access_token
It's say that "You can alternatively use the GOOGLE_OAUTH_ACCESS_TOKEN environment variable"
To authentificate to GCP I execute theses commands :
# I authentificate to GCP using my personal account
gcloud auth login

# After login to GCP using a web browser, I can get an OAuth2 token using this command
gcloud auth print-access-token

# So I set the GOOGLE_OAUTH_ACCESS_TOKEN env var
export GOOGLE_OAUTH_ACCESS_TOKEN=$(gcloud auth print-access-token)

When I use this process of aithentification I can run my Terraform plan/apply.
But not driftctl.

Any information on this feature? Basically as 2024 is coming to an end, service account keys are becoming a legacy way to authenticate... We are using GOOGLE_OAUTH_ACCESS_TOKEN (or CLOUDSDK_AUTH_ACCESS_TOKEN if anyone prefers) for most GCP related tools, including terraform already.


check_and_set_rebuild: retry on conflict

Fixes #397.

LGTM

LGTM, however if we encounter this again with something else I'd suggest to move the retrying code into Openshift.adjust_attributes_on_object or some other place in OSBS.

Agreed.

Merging, thank you!


Install not possible / No connection to Database

Hello,
is there any knowing bug on the install ?
Because on the install steps it dont work to go forward after SQL Details has been placed.
Try to use the config file end with:
ERROR
ERROR CODE: 1045
SQLSTATE[HY000] [1045] Access denied for user<EMAIL_ADDRESS>(using password: YES)
Set BB_DEBUG to FALSE, to hide the message below
Class: "PDOException"
File: "/www/htdocs/xxxxx/boxbill.xxxx.xxx/bb-di.php"
Line: "58"

That is your database setup issue and not boxbilling.
Check the password authentication that you have configured for your database user

Database is correct....as written, the install script also stops WITHOUT any Warning on the SQL Steps (no action after click next step).

Hi,
@samapraku do you got any solution for this issue? I am also facing the same.

HI,
@Yakashimoto do you got any solution for this issue? I am also facing the same.

@Yakashimoto you say the setup doesn't continue after the SQL setup? Clean the database, ensure you're running at least PHP 7.2, but not PHP 8, and then try again

I'm going to close this as we haven't heard anything and I believe this was an issue with PHP8. BoxBilling should now correctly install and work on PHP8, although we haven't done thorough testing


Update machine_learning stack extensions

Necessary to support Postgres 17, though it cannot be used until postgresml is updated.

I'm almost certain pgml > 2.7.1 has new dependencies that are not in our ml image.

It doesn't look like you changed anything in tembo-io/trunk@acc2c75, @ChuckHend.

It doesn't look like you changed anything

I am referring to image that we use to run pgml on tembo-cloud. this PR will not run there.

I am referring to image that we use to run pgml on tembo-cloud. this PR will not run there.

Ah, I assumed that since you didn't need to update dependencies to build it, then none would need to be updated in the image. I'll make a PR for the image.

I think it would be better to build pgml into the image rather than installing it from trunk. You'll be able to build the image and test it in dev before PRing here for the new image. Then this PR can be closed.

How does /tembo-io/tembo-images#77 look?


DBZ-3841 upgrade Pravega to 0.9.1

https://issues.redhat.com/browse/DBZ-3841
Pravega 0.9.1 was released in June 2021.

Applied, thx!


Added jumbotron in upcoming page

Signed-off-by: Subaharish<EMAIL_ADDRESS>

The padding and margin of each card are too much for mobile screens. Check the screen responsiveness of the page.

The padding and margin of each card are too much for mobile screens. Check the screen responsiveness of the page.

@VinayakTekade  this is just for desktop as of now. We'll do that also


docs: fix p-retry explanation

If I'm reading this correctly:
https://github.com/sindresorhus/p-retry/blob/4f5ec690b52bb4e7c0732d76a97e6bfd1f4e6d03/index.js#L69
The code is exiting early if the error is not a networking issue. A test also covers it:
https://github.com/sindresorhus/p-retry/blob/main/test.js#L51

Ah yes. Good catch 👍


Feature/emlys/doc 654

dockstore/dockstore#2340

minor changes removing redundant parentheses etc.
updated quay.io locations to reflect expected 1.0.0 release
replaced return with sys.exit in check_md5sum.py so that exit codes are visible outside the file

To demo:
the docker images in checker/md5sum-checker.cwl and checker/md5sum-checker.wdl do not yet exist as they refer to an anticipated first release. to test, replace quay.io/dockstore-testing/md5sum-checker:1.0.0 with quay.io/dockstore-testing/md5sum-checker:feature_emlys_DOC-654 in both files.
run java -jar cromwell-42.jar run checker-workflow-wrapping-workflow.wdl -i md5sum-wdl.json and cwltool checker-workflow-wrapping-tool.cwl checker-input-cwl.json. both should succeed.
make an edit to the sample input file, md5sum.input.
rerun the commands and both should fail.

Would be nice to have some rudimentary CI testing.
Something like of https://github.com/briandoconnor/dockstore-tool-md5sum/blob/master/.travis.yml (without the Slack bits) but with the currently recommended version of cwltool

Added a test file and just got it to work in Travis

Others should probably chime in.  But I'd prefer the tests to fail if I modify checker/bin/check_md5sum to something completely nonsensical.  This may involve something fairly hacky like:
docker build -t potato -f checker/Dockerfile checker
sed 's/dockerPull:.*/dockerPull: potato:latest/g' checker/md5sum-checker.cwl
sed 's/docker:.*/docker: "potato:latest"/g' checker/md5sum-checker.wdl

before running the test

I'm ok with more than one PR in order to reach a particular destination.
This clearly looks like an improvement, so I would recommend reaching a good point, merging, tagging a release, then fixing the version numbers, giving Gary's idea a shot, etc.


[backup-cli] removing dirs crate due to RUSTSEC-2020-0053

Removing that dependency to satisfy cargo-audit and RUSTSEC-2020-0053.
I also simplified the code as we probably don't care if $HOME is not set (as in, we'll just panic).

@davidiw  we specify the dir explicitly in "production". It used to be under /tmp (and that's why the dependency was first introduced, because MacOs doesn't have $TMP etc), and moved to the home dir because it's more likely to be deleted under /tmp.

What this affects:

the backup-cli now only relies on the $HOME environment variable being set, instead of previously checking getpwuid_r if $HOME is not set. It also won't run on windows anymore.

Why this is critical:

the dirs crate triggered a RUSTSEC Advisory advising not to rely on this crate anymore due to the lack of maintenance. If we want a clean output from cargo-audit we need to get this in.

What is the workaround (even if it is unintuitive / horrible):

live with an unclean cargo-audit output.

so I suspect given the new guidelines, we can land this in master but we'll need to make /another/ PR that we would submit to be cherry-picked in 1.0
/land

but we'll need to make /another/ PR that we would submit to be cherry-picked in 1.0

is it for me to do?

@mimoo, if you want this included in 1.0.

like this? https://github.com/libra/libra/pull/6572


Stuck task - syncMembers

task appears to be locking often making the prompt appear ; cron is setup correctly, even tried with a web cron as well. manually running the task appears to go through successfully, but will then produce the imaged prompt again after a few days since it runs daily.

Can you please take a look in your system/error logs for more clues?

php is allowed to use cron, and cron is up to date ;
IPS\Http\Request\CurlException::28
Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
Backtrace:
#0 ..\system\Http\Request\Curl.php(402): IPS\Http\Request\_Curl->_execute() #1 ..\system\Http\Request\Curl.php(278): IPS\Http\Request\_Curl->_executeAndFollowRedirects('GET', NULL) #2 ..\applications\discord\sources\Api\Api.php(248): IPS\Http\Request\_Curl->get() #3 ..\applications\discord\sources\Api\AbstractResponse.php(55): IPS\discord\_Api->send() #4 ..\applications\discord\sources\Api\Member.php(27): IPS\discord\Api\_AbstractResponse->handleApi() #5 ..\applications\core\sources\ProfileSync\Discord.php(157): IPS\discord\Api\_Member->getDiscordUser('l5zbfgg0OruZB83...') #6 ..\applications\core\sources\ProfileSync\Discord.php(58): IPS\core\ProfileSync\_Discord->get() #7 ..\applications\core\sources\ProfileSync\Discord.php(106): IPS\core\ProfileSync\_Discord->user() #8 ..\applications\core\sources\ProfileSync\ProfileSyncAbstract.php(243): IPS\core\ProfileSync\_Discord->photo() #9 ..\applications\core\tasks\profilesync.php(48): IPS\core\ProfileSync\_ProfileSyncAbstract->sync() #10 ..\system\Task\Task.php(248): IPS\core\tasks\_profilesync->execute() #11 ..\system\Task\Task.php(217): IPS\_Task->run() #12 ..\applications\core\interface\task\task.php(60): IPS\_Task->runAndLog() #13 {main}


PLAT-143713: Updated screenshot tests for ProgressBar

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Added screenshot tests for RTL locale for ProgressBar
Resolution
Additional Considerations
Links
PLAT-143713
Comments
Enact-DCO-1.0-Signed-off-by: Daniel Stoian<EMAIL_ADDRESS>

LGTM


How I can debug external function

Hello. I would like to know How I can debug external function? I mean function that contains in external package. For example, I want to understand how a works function substr. I clicked go to definition and set a breakpoint and click source startup file but that has not happened.

I disabled Enable Just my code but it didn't help. How can I debug an external function?

Currently there is no support for stepping into external functions. The problem is with locating source code as R packages don't have equivalent of PDB/GDB information. We may implement some heuristics though.

This is basically the same as #802, so I am folding this one into the primary. Thanks.


Installation Issue

When I install the new version 1.0.3:
npm install @ngneat/elf-ng-router-store

node_modules/@ngneat/elf-ng-router-store  only contains package.json. Nothing is installed.

Done. @yackinn please check why it happend. I released it manually.

A minor suggestion. Angular 13 has rxjs dependency listed as:  "rxjs": "^6.5.3 || ^7.4.0" but the router store list rxjs dependency as "rxjs": "~7.4.0"
If there is no strong reason that store has to use 7.4.*, maybe update the dependency to ^7.4.0 to match angular will make it easier to install along side with angular.  For example, my rxjs is 7.5.5 in my angular 13 app, when I install the store I got dependency conflicts warning.
just a thought.

I don't think there is a valid reason to use RX v6, the upgrade should be seamless.


Update: Fix build and lint issues

What type of PR is this?
/kind bug

Any specific area of the project related to this PR?
/area frontend
What this PR does / why we need it:
There were build and lint errors when dark mode pr was merged. This PR solves those
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Rohith-Raju
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Rohith-Raju]

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

Will fix it!

This PR also removes the flakiness of a copy the correct URL to the clipboard when 'Share' is triggered and load 'Example 1' test by removing the code that runs asynchronously.

LGTM label has been added.  Git tree hash: fde69037c6173573dc1ff1bbb2ce9726f9dc479c

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, Rohith-Raju
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Rohith-Raju,jasondellaluce]

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


WIP; migrate tests to structure test framework

This is preliminary work toward moving the structure tests for the PHP runtime image over to the GCP runtimes structure test framework. This will require all runs of the tests outside of the top level build script to use the external run script for these tests (found here).
@tmatsuo

@nkubala
Sorry I haven't looked carefully, but are there any issues with the tests which are commented out?

Sorry I haven't looked carefully, but are there any issues with the tests which are commented out?

This is something that I was planning on asking about. These tests rely on the image actually being run first, since when the image is run the entrypoint.sh script carries out a number of tasks which affect the structure of the image. This technically makes them "integration tests", however I would argue that what's actually being tested is still within the realm of "structure test" since it still only examines the structure of the image.
As such, how do you feel about moving some of the things in the entrypoint script into the Dockerfile itself? Is there any specific reason for creating config files, etc in an entrypoint script rather than just doing that when the image is built?

@nkubala We're doing dynamic configuration based on the environment variable, which are not available at the build time. I'm open to other options, like moving those parts to the runtime builder etc.

Hmm ok. Why aren't the env vars available at build time? When do those get set? In general my vote would be to try and move this config generation out of the entrypoint, and have it done prior to the image actually being run (if it's at all possible)

@nkubala Unfortunately it's not possible now.

@nkubala
Did those test pass? If so can you enable them again?
Os should we add an integration test step in the cloudbuild.yaml?

@tmatsuo as per our discussion, I'm going to wait on this until the integration testing framework is finished. Since most of the php structure tests require the container to actually be started before they can pass, we may need to just special case them as "integration" tests in the sense that an application built on top of the image will be deployed before the tests are run.
Given that some of the other tests for this runtime are outside of the scope of "standard" integration tests (more information on what that means to come soon), I'm perfectly fine with adding another cloudbuild step that deploys a sample application built on top of a newly built php runtime image and runs tests against that application. This would be an alternative (or a compliment to) running these tests through external CI such as Travis.

I needed to make the change in the last commit for the build to succeed
(The build on CircleCI succeeded because it didn't use the cloudbuild at all)

The commits are merged with #164


Resolve Timeouts During Nightly Test Run

This PR works to verify and remove the nightly test run timeouts.

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests


💡 Feature Request - Make all modules compatible with WhatIf mode

Describe the solution you'd like
Picked up from https://github.com/Azure/ALZ-Bicep/issues/244#issuecomment-1137199634
I see that ability to be able to run pull requests with WhatIf mode against of production is very critical as other why it is not possible to have GIT repo with CI to production and multiple persons contributing to code without high risk to break things.
That why pull request validation here should contains following steps for all modules:

Deploy
Deploy again with WhatIf mode
Check output from WhatIf to make sure that it does not find differences between code and environment.

Tricky part is long list of known issues listed on https://aka.ms/WhatIfIssues which can be only fixed by Microsoft.
Status per module:

Ready
Order
Module
e2e WhatIf enabled on PR
Known issues preventing WhatIf

- [ ]
1
Management Groups
#250
-

- [ ]
2
Custom Policy Definitions

- [ ]
3
Custom Role Definitions

- [ ]
4
Logging & Sentinel

Azure/arm-template-whatif#176Azure/arm-template-whatif#251

- [ ]
5
Hub Networking

Azure/arm-template-whatif#233Azure/arm-template-whatif#179Azure/bicep#5581

- [ ]
6
Role Assignments

- [ ]
7
Subscription Placement

- [ ]
8
Built-In and Custom Policy Assignments

- [ ]
9
Corp Connected Spoke Network

Describe alternatives you've considered
I really don't see good alternatives for this.
Additional context
I did drop cleaned copy of my draft solution about how to use ALZ-Bicep with Azure DevOps CI to https://github.com/olljanat/alz-bicep-ci and it already contains WhatIf verification for pull requests on those parts which I have got working.

Thanks for raising this @olljanat we will triage properly once #227 is merged

FYI. I did figure out that if you run az deployment group what-if with flag --no-pretty-print then API will return JSON which can be easily parsed with PowerShell (included example to my  )

Ado sync

FYI. As result of my ticket<PHONE_NUMBER>001440 I ended up to creating this post https://feedback.azure.com/d365community/idea/2adb098a-4845-ed11-a81b-000d3a7b5d8c which was requested by Microsoft Support which they hoped to be able to use to raise this idea for wider awareness.

It should be noted that What-If is currently having issues with ARM/Bicep as stated here issue 157. This should be added to the overall list.


Add LEDGERBAL tag support, MS Money compatible output

This PR adds the ability to generate OFX files that are supported by MS Money.
For convenience, I broke the changes down into the following logically-distinct commits:

Ignore vim temp files
Add option for MS Money compatible output

Deal with MS Money idiosyncrasies RE: OFX formatting
MS Money specific OFX header
Provide dummy value for TRNUID
Don't include blank CHECKNUM
Limit payee length to 32 chars
Use noon for dates lacking a time (Recommended by MS Money troubleshooting OFX guide)

Include LEDGERBAL in non-split OFX output if possible

These are required fields per OFX spec & their absence breaks MS Money import.

Update Schwab Bank tests for MS Money + LEDGEBAL features
Add tests for ending balance analysis
Update example --help output

Replaces PR #93.
Confirmed code changes are equivalent to PR #93 and tests are passing (by manually running ./tests/test.py -- for some reason, manage lint hangs for me and manage test throws a AttributeError: module 'collections' has no attribute 'Callable' error for me now).
Let me know if you have any questions or there's anything else you'd like split into multiple PRs.
Thanks!

Some additional information that might help with understanding the changes made for MS Money:

MS Money OFX analysis tool: http://moneymvps.org/faq/article/366.aspx
MS Money OFX info: http://moneymvps.org/faq/article/8.aspx

MS Money troubleshooting OFX guide: http://moneymvps.org/downloads/ofx/TroubleshootingOFX.doc

MS Money itself is available here, if you'd like to verify compatibility for yourself: https://web.archive.org/web/20200415062254/http://www.microsoft.com/en-us/download/details.aspx?id=20738

Thanks for merging.  Have a good night!


CAN Assert Testing

Delays were for alumni demo to ensure that all statements print
select_mob() still has to be debugged (errors integrating with assert_can)
TO DO: need to add id_tag, id_mask, callback functions

Should this pull request be named something related to testing CAN?

@jackberezny Recently finished the first version of the test harness, see #28. Could you fork that branch and rewrite these tests using the new framework? Check out tests/arithmetic and tests/print for examples.

@siddMahen Let me know what you think, I think it's getting close to being ready to be merged.
Just a couple questions:

Should the file be named a variation of "main.c"?
Should ASSERT_TRUE be changed to ASSERT_EQ when either works?

@jackberezny This exactly the format I'm after, great job. The file should be named main1.c. If you're comparing two 8-bit integer quantities, then ASSERT_EQ is preferred; you can often reduce to this case by bit-shifting and masking. Be sure to test this on a board, and let me know when it is final.

In general, you want to avoid things like ASSERT_TRUE(A == B); in this situation it's much better to use ASSERT_EQ(A, B).

@jackberezny Has this been tested?

@jackberezny Has this been tested?

@siddMahen I tried to test last night but had some issues with the test harness. I’m going to the lab again on Thursday morning so hopefully I can get it working then.

@jackberezny Hmm, ok. Try testing this on a Mac; for technical reasons, Windows is giving us trouble. If there are any unknown bugs in the harness, please let me know.

@siddMahen  CAN Assert has been tested and works without error; should be ready to be merged after commit history is cleaned up.

@jackberezny Great work! I agree, this should be merged after commit cleanup and small fixes. I think the /examples/assert_can can be safely deleted. Looking into the future, it would be nice to have some "negative" tests. For example, make sure that something that should fail/create an error definitely fails and gives the right error.

@jackberezny @siddMahen Is this ready to be merged?

@brunofalmeida This needs to be tested on a board, and the commits need to be rebased, otherwise it should be good to go.

@jackberezny Looking good! A few minor things: commit messages should begin with a title, and each line should contain at most 80 characters; this makes commits looks pretty in (almost all) terminals. I'm ready to merge this as soon as you let me know it's been tested on a board.

@siddMahen I tested the code before qual and it worked as expected. Is there any reason to test again?

@jackberezny Great work! Glad to see you're becoming more familiar with git rebase! Combing through this one last time, should be ready to merge today.

@jackberezny Removed the print() statements, which were unnecessary, rebased on top of master and made some minor style changes.

@jackberezny Just as a precaution, I tested this on the old boards and ran into an error:
./bin/harness.py -p /dev/tty.usbmodem00187462 /dev/tty.usbmodem00208212 -d tests
WARNING: The UART TX pin(s) on SCK must be disconnected before upload.
Ensure the UART TX pin on each board is disconnected before proceeding.
Run test suite 'can'? (y/n) y
    Compiling...
    Linking...
    Uploading...
Connect the UART TX pin(s) to SCK. (ok) ok
--------------------------------------------------------------------------------
Test: init_can
Test complete - Passed
--------------------------------------------------------------------------------
Test: init_tx
Test complete - Passed
--------------------------------------------------------------------------------
Test: init_rx
Test complete - Passed
--------------------------------------------------------------------------------
Test: pause/resume
data_s:   0  1  2  3
TX sent
ERR: Bad DLC.
TX received!
data_s:   0  1  2  3
TX sent
In function 'pause_resume_test', line 129
    Error: ASSERT_EQ failed
Test complete - Failed
--------------------------------------------------------------------------------

Test: error handling
data_s:   0  1  2  3
TX sent
TX received!
Test complete - Passed
--------------------------------------------------------------------------------
Test suite 'can' complete
    Time elapsed: 1.797 s
    Passed: 4 / 5
    Failed: 1 / 5
--------------------------------------------------------------------------------

The offender is line 129 of main1.c1:
    ...
    // Verifying resumption and CANCDMOB register contents
    resume_mob(&tx_mob);
    ASSERT_EQ(CANCDMOB & 0xC0, 0x80);
    ...

@siddmahen thanks for testing it. I think that line might supposed to have 0x40 instead of 0x80. Hopefully that fixes the problem.

Ok, will try that and merge if possible.

@jackberezny Congratulations! Everything checks out; merging now.


Continuous integration has not been set up

We have no continuous integration, and i think it would be good to have that?

I do not understand anything of this yet, not planned (for this project)


DO NOT MERGE [DEVOPS-998] [CO-354] Update cardano-sl to PR branch

Bumps cardano-sl to branch of input-output-hk/cardano-sl#3685
When that's merged, update this to tip of release/1.3.1.
Installers

daedalus-0.11.1-cardano-sl-1.3.1-mainnet-windows-9137.exe
daedalus-0.11.1-cardano-sl-1.3.1-mainnet-macos-2837.pkg
daedalus-0.11.1-cardano-sl-1.3.1-mainnet-x86_64-linux-2837.bin
daedalus-0.11.1-cardano-sl-1.3.1-testnet-windows-9137.exe
daedalus-0.11.1-cardano-sl-1.3.1-testnet-macos-2837.pkg
daedalus-0.11.1-cardano-sl-1.3.1-testnet-x86_64-linux-2837.bin

@rvl I had to update your branch with the latest changes from release/0.11.1 (https://github.com/input-output-hk/daedalus/pull/1105). Can you please update the installers list in the PR description? Thanks!

Updated cardano-sl rev to latest release/1.3.1 and rebased on top of daedalus release/0.11.1.


userInteractionEnabled during animation

Hello,
It would be great to enable userInteraction while the view is animating.

It's a bit late, but I still using this amazing class, and I had the same issue.
I resolved with some changes in the CSAnimation.m file
Substitute all the recurrence of
options:0
with
options:UIViewAnimationOptionAllowUserInteraction
There should be 56 matches!
Hope this helps!


npm install, unmet dependencies problem

Hi,
First of all, thank you for the great work.
When I try to run npm install in the sage's root folder I get multiple warnings like these:
npm WARN unmet dependency /srv/www/tarasiewicz.local/current/web/app/themes/phpworker/node_modules/imagemin-pngcrush/node_modules/pngcrush-bin/node_modules/bin-wrapper/node_modules/download/node_modules/get-stdin,
npm WARN unmet dependency which is version 3.0.2
npm WARN unmet dependency /srv/www/tarasiewicz.local/current/web/app/themes/phpworker/node_modules/wiredep/node_modules/bower-config/node_modules/optimist requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /srv/www/tarasiewicz.local/current/web/app/themes/phpworker/node_modules/wiredep/node_modules/minimist,
npm WARN unmet dependency which is version 1.1.0

There are actually loads of these. Consequently, I cannot run any bowe command. They error out with:
Error: Cannot find module 'concat-map'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/srv/www/tarasiewicz.local/current/web/app/themes/phpworker/node_modules/gulp-load-plugins/node_modules/multimatch/node_modules/minimatch/node_modules/brace-expansion/index.js:1:79)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

What might be the issue here? Am I missing something?

I had this problem as well a while back, I'm trying to recall what the issue was but I think it was due to me running npm as sudo somewhere along the line, and it locked out some of my files when running as a user.
Try the following:
npm cache clean
rm -rf node_modules/
npm install
This will make NPM fetch all of the required dependencies again for Bower etc.
Also some people suggest it might be your version of NPM is outdated: running npm update npm -g may help.

Drawcard's solution solves the problem. Thank you, drawcard.

Thanks @drawcard. Also worked for me.

Worked aswell!


Interesting half-working babel-6 situation

@krainboltgreene interesting!

@krainboltgreene same behaviour in babel 5.

Okay, that totally makes sense. I assumed mancy from the terminal would use my babel setup.

@krainboltgreene I'll reopen this ticket to address the below transformation
Transform
import {x,y,z} from 'module'

to
import {x,y,z} from 'module';
context.x = _.module.x;
context.y = _.module.y;
context.z = _.module.z;

Nice!
On Jan 18, 2016 6:19 PM, "Prince John Wesley"<EMAIL_ADDRESS>wrote:

[image: image]
https://cloud.githubusercontent.com/assets/1622515/12407832/d6030f28-be80-11e5-97c7-3776898927be.png
—
Reply to this email directly or view it on GitHub
https://github.com/princejwesley/Mancy/issues/89#issuecomment-172710869.


rustup not setting defaults on new install of dotfiles

as part of setup, rust should set it's default install version
exa is not installing properly because rust isn't setting it's default version so exa can't compile

fixed


Add forum link to closing slides

While we're at it, please move the link to the forum to the top of the google group. :)

:+1:


GCP failing as of 2021-02-15

This is fixed now, the issue was in the last test the terraform lock file was hanging around and the deploy couldn't process, I just completed an end-to-end deploy and destroy via integration test (internal) and it worked perfectly.


执行package后崩溃

Traceback (most recent call last):
File "/usr/local/bin/surfGuide", line 11, in
load_entry_point('surfGuide==0.4', 'console_scripts', 'surfGuide')()
File "/usr/local/lib/python3.6/site-packages/surfGuide/surfGuide.py", line 84, in main
guide.loop()
File "/usr/local/lib/python3.6/site-packages/surfGuide/conBase.py", line 283, in loop
CconBase._loop.run()
File "/usr/local/lib64/python3.6/site-packages/urwid/main_loop.py", line 287, in run
self._run()
File "/usr/local/lib64/python3.6/site-packages/urwid/main_loop.py", line 385, in _run
self.event_loop.run()
File "/usr/local/lib64/python3.6/site-packages/urwid/main_loop.py", line 790, in run
self._loop()
File "/usr/local/lib64/python3.6/site-packages/urwid/main_loop.py", line 827, in _loop
self._watch_filesfd
File "/usr/local/lib64/python3.6/site-packages/urwid/raw_display.py", line 417, in
event_loop, callback, self.get_available_raw_input())
File "/usr/local/lib64/python3.6/site-packages/urwid/raw_display.py", line 515, in parse_input
callback(processed, processed_codes)
File "/usr/local/lib64/python3.6/site-packages/urwid/main_loop.py", line 412, in _update
self.process_input(keys)
File "/usr/local/lib64/python3.6/site-packages/urwid/main_loop.py", line 513, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/local/lib64/python3.6/site-packages/urwid/container.py", line 1135, in keypress
return self.body.keypress( (maxcol, remaining), key )
File "/usr/local/lib64/python3.6/site-packages/urwid/listbox.py", line 968, in keypress
key = focus_widget.keypress((maxcol,),key)
File "/usr/local/lib64/python3.6/site-packages/urwid/container.py", line 2316, in keypress
key = w.keypress((mc,) + size[1:], key)
File "/usr/local/lib64/python3.6/site-packages/urwid/wimp.py", line 543, in keypress
self._emit('click')
File "/usr/local/lib64/python3.6/site-packages/urwid/widget.py", line 461, in _emit
signals.emit_signal(self, name, self, *args)
File "/usr/local/lib64/python3.6/site-packages/urwid/signals.py", line 265, in emit
result |= self._call_callback(callback, user_arg, user_args, args)
File "/usr/local/lib64/python3.6/site-packages/urwid/signals.py", line 295, in _call_callback
return bool(callback(*args_to_pass))
File "/usr/local/lib/python3.6/site-packages/surfGuide/editExpression.py", line 62, in _cb_pack_clk
w = CpackProduct(self, self._lines, self._fName)
File "/usr/local/lib/python3.6/site-packages/surfGuide/packProduct.py", line 38, in init
super(CpackProduct, self).init()
File "/usr/local/lib/python3.6/site-packages/surfGuide/conBase.py", line 82, in init
self.view = self.setupView()
File "/usr/local/lib/python3.6/site-packages/surfGuide/packProduct.py", line 131, in setupView
self._archs[0].set_state(True)
File "/usr/local/lib64/python3.6/site-packages/urwid/wimp.py", line 243, in set_state
self._emit('change', state)
File "/usr/local/lib64/python3.6/site-packages/urwid/widget.py", line 461, in _emit
signals.emit_signal(self, name, self, *args)
File "/usr/local/lib64/python3.6/site-packages/urwid/signals.py", line 265, in emit
result |= self._call_callback(callback, user_arg, user_args, args)
File "/usr/local/lib64/python3.6/site-packages/urwid/signals.py", line 295, in _call_callback
return bool(callback(*args_to_pass))
File "/usr/local/lib/python3.6/site-packages/surfGuide/packProduct.py", line 122, in _cb_check_change
self._setupVers(w, stat)
File "/usr/local/lib/python3.6/site-packages/surfGuide/packProduct.py", line 115, in _setupVers
count += self.__setupVers(w, self._vers)
File "/usr/local/lib/python3.6/site-packages/surfGuide/packProduct.py", line 105, in __setupVers
verList = requests.get("%s%s.txt" % (verUrl, arch)).content.split("\n")[:-1]
TypeError: a bytes-like object is required, not 'str'

python2 和3 兼容问题导致， 已经做了兼容处理，修复 0.4.1版本修复

另外需要明确是否同时在pip2和pip3上同时已经安装了surfGuide的的问题，可能更新的是pip2新版本，但是执行的还是pip3旧版本。


SubscribeSingleInvoice returns no error and no invoice data on nonexistent hash

Background
I consider using SubscribeSingleInvoice instead of polling for hodl invoice states. There's a problem, almost a show-stopper: when I request subscription to nonexistent payment hash, there's no error and no initial stream message. I understand the logic here, as the invoice with this payment hash may appear later by AddHoldInvoice, but...
Canceled invoices are eventually deleted, so any service which analyzes invoice states and which might have some long downtime should be prepared to handle missing invoice as Canceled. That's what I cannot do here without unreliable tricks (like "if it doesn't respond with the initial state in 5 seconds, then it's canceled"  or "let's do lookupInvoice first and pray that it isn't deleted between lookupInvoice and SubscribeSingleInvoice").
I'd like some guidance on how I should monitor invoices reliably.
Your environment

version of lnd: current git master 0b20dcc4f52341a3aa3e9f245daecc8497feea32
which operating system (uname -a on *Nix) Linux murphy 5.13.0-30-generic #33~20.04.1-Ubuntu SMP Mon Feb 7 14:25:10 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
version of btcd, bitcoind, or other backend: bitcoind 22.0

Steps to reproduce
SubscribeSingleInvoice for nonexistent hash
Expected behaviour
Instant NotFound error
Actual behaviour
invoiceStream not returning any initial state, just hanging forever

Could you look up the invoice first before subscribing to its state updates?

I can and I'll probably have to. But if an old canceled invoice could be removed automatically between lookup and subscription, I get unexpecting hanging subscription again.
I've also noticed that subscription to unknown hash hangs forever, even if such a hash materialize later through AddHoldInvoice, there are no events. It suggests that the hanging behavior is unintentional (I had some doubts), and replacing it with error report would probably hurt no one.

Yeah if it never works that seems like there is no reason not to cancel the subscription, either it should work eventually or it should fail immediately

Looking at invoices/invoiceregistry.go:
        // It is possible that the invoice does not exist yet, but the client is
        // already watching it in anticipation.
        if err == channeldb.ErrInvoiceNotFound ||
                err == channeldb.ErrNoInvoicesCreated {

                return nil
        }

So the intent was to allow tracking not-yet-appeared hashes. I'll recheck to be sure it doesn't work this way (I may be wrong because my testing environment was messy), but anyway it is no good when canceled invoices may be removed.


[SR GeekCamp] Support fe grammar for GBK charset

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes : #4033
first:：status can support character_set_database variable
second:：show collation can show gbk character
third：jdbc connection can support characterEncoding=gbk
fourth：create table can support charset for table level
fifth: create table can support charset for column level

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

run all

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 39 / 58 (67.24%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
0
8
00.00%

:large_blue_circle:
com/starrocks/analysis/CreateTableStmt.java
20
27
74.07%

:large_blue_circle:
com/starrocks/analysis/ColumnDef.java
15
19
78.95%

:large_blue_circle:
com/starrocks/qe/GlobalVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/analysis/SetNamesVar.java
3
3
100.00%

[FE PR Coverage check]
:disappointed: fail : 39 / 58 (67.24%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
0
8
00.00%

:large_blue_circle:
com/starrocks/analysis/CreateTableStmt.java
20
27
74.07%

:large_blue_circle:
com/starrocks/analysis/ColumnDef.java
15
19
78.95%

:large_blue_circle:
com/starrocks/qe/GlobalVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/analysis/SetNamesVar.java
3
3
100.00%

[FE PR Coverage check]
:disappointed: fail : 43 / 63 (68.25%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/qe/ShowExecutor.java
0
8
00.00%

:large_blue_circle:
com/starrocks/analysis/CreateTableStmt.java
20
27
74.07%

:large_blue_circle:
com/starrocks/analysis/ColumnDef.java
19
24
79.17%

:large_blue_circle:
com/starrocks/qe/GlobalVariable.java
1
1
100.00%

:large_blue_circle:
com/starrocks/analysis/SetNamesVar.java
3
3
100.00%


Create regression testing infrastructure

We would like to create a regression testing framework to quantitatively assess BTE's performance.  As a gold standard, we can use the orphan drug indication dataset mentioned in https://github.com/NCATSTranslator/Relay/discussions/123 or the mechanistic paths from https://sulab.github.io/DrugMechDB/.  For each of those gold standards, we should create a TRAPI query (examples), send it to BTE using a small library of plausible metapaths focused on drug repurposing, and then assess whether BTE was able to retrieve the right drug among the results.  (Later we can also assess where that drug ranked among all potential drugs retrieved.) We would want to execute this test on a regular basis (weekly?), and then have a simple web page where results can be viewed/browsed.
tagging @ariutta and @AlexanderPico

Still plenty left to be done, but just remembered that @kevinxin90 did some initial analysis of the OOPD dataset in https://github.com/biothings/bte_regression_test, and we also created some issues there.  Would be good to build on that...

@andrewsu I'm copying this from Slack over to here too:

Brief summary: we now have a workflow bte_regression_test.yml that is configured to run every Saturday as well as on demand. (There's also an abbreviated version of this same workflow: bte_regression_test_quick_demo.yml).
It pulls the latest BTE TRAPI Docker image to create a local instance of the API and then runs every query template in src/query_templates against that API. It currently saves the resulting full_results.csv file as a GH Action artifact, but the future plan is to create a static page showing summary stats over time as well as a Jupyter notebook for interactively exploring the results, potentially hosted via colab or mybinder.
Another future improvement: use batch queries to speed up the tests. Right now, it takes 1 hour to run the six query templates for the first two lines of the OOPD file and the better part of a day to run the entire test.
If you want to see some completed workflow runs, you can take a look at my fork:
https://github.com/ariutta/bte_regression_test/actions
You'll notice the full test timed out, but the quick demo did finish, so you can see the result saved as an artifact.


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for koytak processing.

Name
Link

🔨 Latest commit
84807a9b9c22866061454e22437c1dfe36b89461

🔍 Latest deploy log
https://app.netlify.com/sites/koytak/deploys/651650736a6a5b000859ed77


Customized Image Download Path not saved

I could change the settings to store images from default to "Custom folder".
When i set the "Custom folder name" or "Osidian attachment folder", new media is stored under this folder.
But when i close Obsidian and start again the Setting "Folder to store images" is reset back to "Default".
Could you have a look again at this settings?
Obsidian: 1.4.16
Media Sync 0.0.11
OS: Tested with Ubuntu 22.04.3 and Windows 10

@flowtec
This problem has been resolved in 0.0.12, please try it.

It is solved. That was quick - thank you!


EF Core Doc's Omit System Exceptions

The EF Core documentation is inconsistent with the EF Framework 6.2 documentation in that it omits details about exceptions that can be thrown by a call to the method.
Specifically, it excludes errors that stem from serious programming faults, like NotSupportedException, InvalidOperationException, and ObjectDisposedException.  Can EF Core emit any of these events?  If so, I would propose the documentation be updated to reflect those additional exception cases since this particular call (as well as it's non-async partner) are likely to receive a lot of developer attention.
EF 6 Docs: https://docs.microsoft.com/en-us/dotnet/api/system.data.entity.dbcontext.savechangesasync?view=entity-framework-6.2.0

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

ID: aece550f-d934-0dae-c3ac-0d9b3660bd1a
Version Independent ID: aebedd48-a65c-c92e-ab4f-f7b4fe467e03
Content: DbContext.SaveChangesAsync Method (Microsoft.EntityFrameworkCore)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore/DbContext.xml
Product: ef-core-api
GitHub Login: @dotnet-bot
Microsoft Alias: divega

Duplicate of #17564


How to install node and npm on espressif/esp-idf docker when running using CI/CD (IDFGH-12411)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello. In our project we rely on some node modules. They are required in order for our project to be built sucesfully.
On our local development machines, we all have node and npm installed and we have all required node modules in package.json
So when new develper wants to work with our project, he does npm install to automatically install all required modules.
I am now trying to run build using CI/CD pipeline but I cannot figure out how can I install node and npm on the docker container that runs the CI/CD pipeline. See my pipeline job below:
esp_idf_generate_build_files:
  image: espressif/idf:v5.0.4
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  stage: build
  rules:
    - if: $CI_COMMIT_TAG # Run this job when a tag is created
  script:
    - apt-get install nodejs
    - apt-get install npm
    - node --version
    - npm --version
    - idf.py build

The logs from the job:
Running with gitlab-runner 16.6.1 (f5da3c5a)
  on Docker runner for SystemAir IAM 4JyMxyHH, system ID: s_1de69ef5[2](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L2)8ed
Preparing the "docker" executor
00:0[3](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L3)
Using Docker executor with image espressif/idf:v5.0.4 ...
Pulling docker image espressif/idf:v5.0.4 ...
Using docker image sha256:354276f81cc8b4555c5a49ce7e35ce0fa9f546fc711012c379350b61c7c3e93e for espressif/idf:v5.0.4 with digest espressif/idf@sha256:769698ea563bb0b218654e0a430c2e21e608a650dfbbebd32efcb1d7d8cd702b ...
Preparing environment
00:00
Running on runner-4jymxyhh-project-77-concurrent-0 via xxx-test...
Getting source from Git repository
00:02
Fetching changes with git depth set to 50...
Reinitialized existing Git repository in /builds/test_project/test_project/.git/
Checking out 1424a575 as detached HEAD (ref is 0.4.6)...
Removing JOB_ID.txt
Removing release_notes.md
Removing version.txt
Updating/initializing submodules with git depth set to 50...
Updated submodules
Downloading artifacts
00:01
Downloading artifacts for prepare_job (934)...
Downloading artifacts from coordinator... ok        host=xxx-test.test.lt id=934 responseStatus=200 OK token=glcbt-64
Executing "step_script" stage of the job script
00:03
Using docker image sha256:35[4](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L4)276f81cc8b4[5](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L5)55c5a49ce7e35ce0fa9f54[6](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L6)fc[7](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L7)11012c379350b61c7c3e93e for espressif/idf:v5.0.4 with digest espressif/idf@sha256:76969[8](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L8)ea563bb0b218654e0a430c2e21e608a650dfbbebd32efcb1d7d8cd702b ...
Detecting the Python interpreter
Checking "python3" ...
Python 3.8.10
"python3" has been detected
Checking Python compatibility
Checking other ESP-IDF version.
Adding ESP-IDF tools to PATH...
Checking if Python packages are up to date...
Python requirements are satisfied.
Requirement files:
 - /opt/esp/idf/tools/requirements/requirements.core.txt
Python being checked: /opt/esp/python_env/idf5.0_py3.8_env/bin/python
Added the following directories to PATH:
  /opt/esp/idf/components/espcoredump
  /opt/esp/idf/components/partition_table
  /opt/esp/idf/components/app_update
  /opt/esp/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin
  /opt/esp/tools/riscv32-esp-elf-gdb/11.2_20220823/riscv32-esp-elf-gdb/bin
  /opt/esp/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin
  /opt/esp/tools/xtensa-esp32s2-elf/esp-2022r1-11.2.0/xtensa-esp32s2-elf/bin
  /opt/esp/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin
  /opt/esp/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin
  /opt/esp/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin
  /opt/esp/tools/cmake/3.24.0/bin
  /opt/esp/tools/openocd-esp32/v0.12.0-esp32-2023041[9](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L9)/openocd-esp[32](https://xxx-test.test.lt/test_project/test_project/-/jobs/935#L32)/bin
  /opt/esp/python_env/idf5.0_py3.8_env/bin
  /opt/esp/idf/tools
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:
  idf.py build
$ apt-get install nodejs
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package nodejs

What could be the issue? How can I install node and npm ?

https://packages.ubuntu.com/jammy/nodejs - you can see it in the title [security] [universe].
So I would try:
add-apt-repository universe
apt-get update

The same goes for other packages. Repository must be added if apt cannot find the package.

I have found a workaround that seems to work:
esp_idf_generate_build_files:
  image: espressif/idf:v5.0.4
  variables:
    GIT_SUBMODULE_STRATEGY: normal
  stage: build
  rules:
    - if: $CI_COMMIT_TAG # Run this job when a tag is created
  script:
    - apt-get install curl
    - curl -sL https://deb.nodesource.com/setup_18.x  | bash -
    - apt-get install nodejs
    - node --version
    - npm --version
    - npm install
    - idf.py build

Ok, great. I think we can close this.


Devops: [FEATURE] Dockerize The Application and build a CI/CD pipeline

Dockerizing the application would provide us a Consistent Environment:

Docker containers ensure that an application runs the same way regardless of where it is deployed, whether it's on a developer’s local machine, a staging server, or in production. This eliminates the "it works on my machine" problem by packaging the application with its dependencies, configurations, and environment.

Faster Onboarding

New developers can quickly start working on a project by running a Docker container with the application’s development environment already set up. This reduces the friction involved in configuring local environments manually.

CI/CD Pipleine

Whenever a PR is mergerd to the main/master branch the application would run manual or automated tests and deploy the application

Proposed Solution

Dockerize the application by creating a Dockerfile that packages the app and its dependencies into a lightweight container. Include a docker-compose.yml file for easy multi-container management, such as linking services like databases. This will ensure consistent development, testing, and production environments, while simplifying deployment and scaling.
Use github workflows and dockerhub to create a CI/CD pipeline

I am interested to work on this issue!
Please assign it to me

On it!

Hey @BamaCharanChhandogi The issue has been fixed in the PR #51 !
Can you please add this issue under hactoberfest ?!


[question] How can we access slot props of scoped slots

In VTU 1 it was possible to access the variables passed into slots using the scopedSlots mounting option (https://vue-test-utils.vuejs.org/api/options.html#scopedslots)
In VTU 2 this is no longer an option and scoped slots are combined with the slots mounting option. However it does not seem to be possible to access the the slot props.
listItem is passed in to the template via slots like this (as described in the docs):
<template>

    <template v-for="(listItem, index) in items">
      <slot :listItem="listItem"></slot>
    </template>

</template>

It used to be possible to do something like this:
  it('renders a list of modified items', () => {
    expect(mount(AppList, {
      props: {
        items: ['a', 'b', 'c']
      },
      slots: {
        default: '
{{ props.listItem }}
'
      }
    }).html()).toMatchSnapshot()
  })

Hewever, i dont seem to be able to access the listItem and the documentation does not cover how it should be done. Is it still possible and, if so, what is the syntax?
Many thanks

@yakobe would you be able to make a PR adding some more info on this to the docs?

Sure! I'll take a look and try to knock something together. It's just the md files in this repo huh? Is there a detailed procedure or just make a PR.
Short question:Those tests are great because they show multiple scenarios that help. I don't want to bloat the docs with too many examples (maybe 1 or 2). What do you think about adding links to test cases in the docs? They show real code examples and are automatically expanded with new scenarios as they arise. It might also help with contributions as more people would be aware of the tests scenarios and what they relate to.

Just update the md files in this repo!
I think a few examples in the docs + some links to source code is fine.

How do we access it with a plain render function?


code action: Smart Try catch

When I select the first line of following code and run this code action:
const resp = await axios.get('https://xxxx'); // select this line
console.log(resp.data.length);

Turned to:
let resp: AxiosResponse<string[]>;
try {
    resp = await axios.get('https://xxxx');
} catch(error) {
    // cursor here
}
console.log(resp.data.length);

I think this can be done with p42: split declaration and initialization and than wrapping current line into try try-catch with either the same p42 action or Surround extension.
The idea seems interesting, but didn't have experience to make such code actions that infers variable type (I really wanted to make similar code action for extracting selection into React component with inferring param types).
Also in your example why data type isn't AxiosResponse type and doesn't have undefined

The idea seems interesting, but didn't have experience to make such code actions that infers variable type (I really wanted to make similar code action for extracting selection into React component with inferring param types).

Oh nevermind what I said there is already builtin codeaction Infer type of `data` from usage that is possible to reuse, so this codeaction is easy to build. I think codeaction activation range should be on variable name after const or let. PR welcome!

doesn't have undefined

Maybe provide a develop steps in README would be better:

Good idea, but there is contributing.md for this. In a short:
pnpm start + pnpm watch-plugin + F5 extension + server

Something like this: https://github.com/zardoy/vscode-better-snippets/blob/main/CONTRIBUTING.MD
But in this repo I don't recommend running integration tests, as they check only outline, but takes a lot of time to run.

https://github.com/elk-zone/elk/blob/57c820b701f34af377aaed083d9f8f8b105ba01d/components/account/AccountFollowButton.vue#L27
Their code:
try {
    const newRel = await client.v1.accounts[relationship!.following ? 'follow' : 'unfollow'](
        account.id,
    );
    Object.assign(relationship!, newRel);
} catch (error) {
    console.error(error);
    // TODO error handling
    relationship!.following = !relationship!.following;
}

If I warite code, I may write:
let newRel: XXXType;
try {
    newRel  = await client.v1.accounts[relationship!.following ? 'follow' : 'unfollow'](
        account.id,
    );

} catch (error) {
    console.error(error);
    // TODO error handling
    relationship!.following = !relationship!.following;
}
Object.assign(relationship!, newRel);

My thought is try/catch should only wrap the that will throw exception. But this will cause code bad to read as you can see.

My thought is:

check the range is valid statements array
find the variables define in the selection range
filter the variables in setp 2 which is used outside the selection
lift up the variables in step3 and try detect the type of variables
move the cursor to catch block

The 3, 4 is hard for me, I will try to implements this when I have enough skills.
Seems this extension can't debug ts plugin?

Seems this extension can't debug ts plugin?

Fully debuggable if you launch Extension + TS Plugin on F5 from vscode. I didn't set tasks withing vscode to also launch 2 npm scripts on F5 (build extension code in development, start because of historical reasons) + watch-plugin (typescript plugin code in dev) because of bad vscode running tasks detection.
But it can't it debug vue (when in Volar) files.

My implementation steps

I think I got the idea, this is quite complicated though. let's implement it as special command as we already have similar command removeFunctionArgumentsTypesInSelection which removes function arguments from code selection (can look at it as some kind of example).
Implementation (at glance):
Need to find node at position, then find closest node with Block kind, then recursevely look at all chldren within that block and find ones that are variables and satisfy selection range, then find references on each one (don't forget to filter out of the selection positions). Split declaration and initalization try to infer types. Let's skip moving cursor (as its not possible from ts plugin) in first implementation (we can add it a bit later)
Sorry, I don't think I'll have much time for now, but when I have I'll definitely provide more details steps with code.
But for now, can you please throw me an example with a few variables (and adding markers to show selection) and then what code should be produced as result of refactoring.

Before:

After:


Page jumps to the top on HMR changes in some cases

I think this might be caused by charts - when an HMR change is made to one chart, they all re-trigger and re-animate. I think when the first chart is close to the top of the page, somehow that triggers the page to jump up to the top to show the update.
Scenarios
1. Lots of text, chart 1 at bottom
Works

2. Now add DataTable to the top
Still works

3. Now replace that DataTable with a chart
Jumps to top

4. Now move the first chart down under the text
This works, but both charts re-animated

5. Move the first chart into the middle of the text content
Works

6. Move the first chart about 25% into the text content (closer to top)
Jumps to top of page

Expected Behavior
Page should stay where it is on any HMR change

When I encounter this Problem, the initial load DOM contains:

Some Section

but after HMR it's just:

Some Section

I.e. the idattribute is missing. Also, the right sidebar navigation (Sections on the Page) stops working (URL changes to include #4, but there's no such anchor position in the DOM any more).
I suppose this also causes the repositioning after HMR to fail.

I see... unfortunately, putting the MutationObserver on
 will trigger it very often (e.g just by moving the mouse over a graph, tooltips are added to/removed from the dom), and although after HMR then the
 tags regained their id, this did not fix the jump-to-top problem in my short experiment...


Failing AutoGitOps workflow

What:

Scheduled AutoGitOps workflow deploy fails because pushing updates to protected branch ngsa-asb (main) is not allowed

Why:

Ensure automated workflows do not fail

When:

On run of scheduled AutoGitOps workflow

Where:

Loderunner repository GitHub actions

Tasks

[x] Reenable write access in ngsa-asb
[x] Rerun job for successful completion

Acceptance Criteria

AutoGitOps workflow is completing successfully

Constraints
References:

This was caused by an attempted configuration to address #1039. Configuration was rolled back so this is no longer an issue.


[MinGW] Force separate debug symbols if executable size is larger than 1.9 GB.

Windows PE32+ executable format is limited to 2 GB size (in reality usually about 1.90 - 1.95 GB since limit applies to the memory map no size on disk), and full debug symbols are huge.
Godot editor size with symbols is already close to the limit and if a large module is added, it easily exceeds it, rendering executable unusable.
This change automatically enables separation of the debug symbols if the limit is exceeded.

This change automatically enables separation of the debug symbols if the limit is exceeded.

This reminds me that in the long term, we should investigate using separate_debug_symbols=yes for official builds and provide a separate download with just the debug symbols file.

What is the reasoning for a conditional toggle?
I'd like default on.

What is the reasoning for a conditional toggle?

It's slower to build and likely less compatible (I'm not sure if all IDEs will start the debugger in such a way that external symbols are picked up).

Thanks!


⚠ Bofrost.nl has degraded performance

In 218b8b3, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 3484 ms

Resolved: Bofrost.nl performance has improved in f7239ac.


Integreate StreamElements API

It appears that StreamElements is currently working on providing a nice API.
They have a WIP API reference which includes an endpoint to post tips, exactly what is needed to integrate this.
Would be great to have this!

StreamElements has not opened their API up yet.
Postponed indefinitely.


[5.10] Skip unknown XCBuild message types

We want this to be extensible, and so we shouldn't fail when encountering an unknown/future message type.
rdar://118856310
(cherry picked from commit 6bc77dc745d7075078c9bf073551f0f5671ecd6f)
Same as #7136 from main

@swift-ci test

@swift-ci test windows


Support for Debian Buster and Bullseye

Description
Add support for Debian Buster and Bullseye, molecule tests fail when using these versions.
Why is this needed?
The latest version supported is stretch and its EOL has already passed, and tests fail on newer versions of Debian.
Additional Information
Also might be nice to remove Jessie support since that is quite old.

Hi @caldito, thanks for opening the issue. We're aware of this, step by step we're upgrading most of our roles to support Debian Bullseye.
For Debian Buster we already offer support in this repository as it is shown on the travis.yml file.
As you are aware of, we're fully open to contributions, so if you have an urge for Debian Bullseye support feel free to open a Pull Request. Here you have an example of a migration we've made on other role.


Snippet unfold which contain tab auto trigger completion pane

When i use this snippet, I type n.cout to unfold. Then the completion pane auto appear which i don't want.
ls.add_snippets("cpp", {
  s({
    trig = "([A-Za-z->]*[A-Za-z\\.]*[A-Za-z]+\\d*)\\.(print|cout)",
    -- regTrig = true,
    trigEngine = "ecma",
    snippetType = "autosnippet",
  }, {
    f(function(_, parent)
      return "cout << " .. parent.captures[1] .. " << endl;"
    end),
    t({ " {", "\t"}), -- \t is the reason，aka two space
    i(0),
    t({ "", "}" }),
  }),
}

When I remove \t or replace it with one space, this issue does not occur.
nvim-cmp config is not important, even i comment all, the bug is also appear
        ["<Tab>"] = cmp.mapping(function()
          if cmp.visible() then
            cmp.select_next_item({ behavior = cmp.SelectBehavior.Insert })
          end
        end, { "i", "s" }),

Hi, I think this is due to the behaviour of nvim-cmps auto-completion(it doesn't pop up after words, maybe), if you disable it there will be no popup (but you'll have to trigger completion manually)

Hi, I think this is due to the behaviour of nvim-cmps auto-completion(it doesn't pop up after words, maybe), if you disable it there will be no popup (but you'll have to trigger completion manually)

ok


How to use this extension

I would like to use it for people to pay services on my website using Visa Card and MasterCard. I fix the price, all the system should do is to pay that money from the ATM Card(visa or mastercard) of the user). The example you are giving is not very clear to explain to me :
how can I do that?
Is there a form that I am suppose to prompt to user or link to the controller action will generate the form in which the user is going to put information?
So I am confused.
Providing a step by step guide will be of big help.

Hi, this module dev in progress
for now work only paypal
after configure module https://github.com/greeschenko/yii2-pay#usage
you can create links for payment
echo Html::a('test pay',[         '/pay/paypal',         'descr' => 'Test payment',         'items' => json_encode([             [                 'name' => 'Test item 1',                 'quantity' => 1,                 'sku' => '23456',                 'price' => 34,             ],             [                 'name' => 'Test item 2',                 'quantity' => 3,                 'sku' => '23456',                 'price' => 10,             ],         ]),         'shipping' => 10,         'shippingpers' => false,         'tax' => 15,         'taxpers' => true,     ]);
or send GET data directly to /pay/paypal action
and check payment status
    public function actionSomeAction($paymentId)     {         ...         $res = Yii::$app->getModule('pay')->ppmoney->getPaymentStatus($paymentId);         ...     }
$peymentId will be return by paypay in returnUrl request as GET data

For me it was the papal that I wanted, but when I tried your version it was not having it so i created my own, found it faster then trying to work around. you can take a look at it here: https://github.com/Matthuffy/yii2-matthuffy-paypal
It supports everything.
Not documents properly as for use with my projects, but when I get round to it I will document it for others properly, what is there is just my own notes for now for ease of remembrance.


Move plot methods to plotting package

I tried to organize the plotting package a bit - feel free to suggest an alternative. I think it would also be interesting to integrate it better with ComparerPlotter (and other plottable objects?), but maybe that's best done in another PR?

Thanks, looking at it right now. Great work! I agree that it would be best to finish this PR first before moving further :-)

@rywm-dhi have you noticed that some tests are failing - have a look please :-)
I guess it could be missing "from future import annotations"?


yolov5s--- tpu compiler

line 520, in _quantize
return _mlir_quantize(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/lite/python/convert_phase.py", line 218, in wrapper
raise error from None  # Re-throws the exception.
File "/usr/local/lib/python3.8/dist-packages/tensorflow/lite/python/convert_phase.py", line 208, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/lite/python/convert.py", line 236, in mlir_quantize
return wrap_toco.wrapped_experimental_mlir_quantize(
File "/usr/local/lib/python3.8/dist-packages/tensorflow/lite/python/wrap_toco.py", line 47, in wrapped_experimental_mlir_quantize
return _pywrap_toco_api.ExperimentalMlirQuantizeModel(
RuntimeError: Failed to quantize:
i can't pypass the error
becouse of i export the onnx with "--simplify" command.. if i didnt add simplify command it give layer error 5d at layer 407

There is too little information.


Updates

@homu r+

:pushpin: Commit 99cdebc has been approved by kbknapp

:zap: Test exempted - status


chore(#441, #442): fix check for wsl, add wsl support to nexrender-worker

Adds support for WSL (Windows Subsystem for Linux) to nexrender-worker.
Fixes an issue with detecting wsl.

Overview
Fixes #441 and adds #442
Testing
Needs others to test
Feedback
Feedback welcomed.

Looking great, thanks for the fixes and worker support! 😉

Hi Team ,
Please Give me the instruction for implement this on my window systems , because I have tried a lot of times near past but I did not have succeed
Please check my previous open ticket history : https://github.com/inlife/nexrender/issues/479#issuecomment-722314155


Implemented the LightScheduler and fixed some bug on FileDB and MemoryCache

Implemented the LightScheduler and fixed some bug on FileDB and MemoryCache.
Also it was adjusted the namespace on project Liquid.OnPre and last name of Leonardo.
Closes #10

This is stale given the latest improvements. Closing.


Ep/add inception v3 pytorch

Killed in OpenMind during test_look_at_neural_V1 , see #950

god merge per erik


issues after upgrading to python 3.12 on windows: interface fails to load

i'm experiencing multiple issues after upgrading to python version 3.12 on windows. the interface doesn't load when i run app.py, and there are compatibility problems with various packages.
steps to reproduce the behavior:

update to python 3.12
start the service
run app.py
wait for the interface to load
see that the interface doesn't load correctly

Expected behavior
i expected the interface to load properly and allow me to interact with it.
Screenshots
n/a
Environment Information :
OS: windows
Python Version: 3.12
LLM that you're using: gpt-4o (azure)
Additional context
i also tried cloning the repo from scratch, but the interface that loads isn’t the correct one, and i can't interact with it. has anyone else encountered a similar issue? thanks!

We haven't tested Taskweaver on Python 3.12. So, I suggest you first try it for your scenarios on 3.9-3.11 before upgrading to 3.12.

thanks for your response, I ended up making it work with 3.12 so I can share my experience in the near future.

What would be the changes to upgrade to 3.12? is that possible to submit a PR?

Hey, i'm back from some time off, yeah let me share my findings in a few days and then I can propose a PR, cheers!


fix(codemagic_app_preview): fix posting comment on GitLab

The Gitlab comment was getting cut off on the first & symbol in the query param of the qrCodeUrl.

This was happening since the Gitlab API takes in the body of the comment as a query param as well, so the api was parsing the & as another query param on the endpoint call.
The proposed fix encodes the comment body first before calling the API.

⬇ Builds generated by Codemagic for commit 252f5c9bcdd5fdc556496b03e2ef09326d2d65db ⬇
This is a custom message.

iOS

Android

macOS

  Download link

  Download link

  Download link

(expires Sun, 19 Jan 2025 19:39:33 GMT)Codemagic build: 6765c7064ede54c8c335badd; comment generated with Codemagic App Preview

@actranito I published a new version (0.2.3). Could you try again if it works? Unfortunately, I don't have a GitLab testing repository yet.

@nilsreichardt thanks, I will try it out. Will come back to you with some feedback

Great! Thanks for testing 👍


⚠ DDoS-Relay US-E-ash-2 has degraded performance

In 3a9958c, DDoS-Relay US-E-ash-2 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 4 ms

Resolved: DDoS-Relay US-E-ash-2 performance has improved in 7395c08 after 18 minutes.


Syntax checking for JSON and converting to Graph format

User story

As a dev team
I want to understand how to combine results that we expect from the LLM (semantic relations, json list) and the context proximity dataframe into the proper graph format
So that the data can later be saved properly into the graph DB.

Acceptance criteria

Input Formats:

Use dummy data provided by Nikolas from the prompt template POC and/or create dummy data similar to industry partner's linked article https://towardsdatascience.com/how-to-convert-any-text-into-a-graph-of-concepts-110844f22a1a
LLM JSON results (semantic relations)
Contextual proximity relation DataFrame

Process Requirements:

Combine the LLM JSON results with the contextual proximity DataFrame.
Convert the combined data into a NetworkX graph format.

Graph Format:

The output graph must be in GraphML format, suitable for importing into JanusGraph.

Comments

GraphML works with the query language gremlin

Definition of done (DoD)

Added only after week 5
The same for all features
Here goes the project specific part

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

After talking with @nikolas-rauscher we decided on the flow:
Syntax checking of string -> into Python Dataframe -> GraphML format


Argparse2galaxy select field

The last issue that blocks successful travis checks is the resolving of default values in select fields.
example.py
...
parser.add_argument('--mode', choices=['rock', 'paper', 'scissors'], default='scissors')
...

In the example the default value is placed on the first place in the list of choices
example.xml
    <param argument="--mode" label="Author did not provide help for this parameter... " name="mode" optional="true" type="select">
      <option selected="true" value="scissors">scissors</option>
      <option value="paper">paper</option>
      <option value="rock">rock</option>
    </param>

The current version of argparse2tool resolves the default value in the order it appeared in argparse choices:
    <param argument="--mode" label="Author did not provide help for this parameter... " name="mode" optional="true" type="select">
      <option value="paper">paper</option>
      <option value="rock">rock</option>
      <option selected="true" value="scissors">scissors</option>
    </param>

If the behavior of the current version is correct than we should simple update example.xml.

The latter is fine, yep!

Fixed by https://github.com/erasche/argparse2tool/commit/4740e40b6b7973266b6977c4e381ce0c3bf6d38e

looks like a bug that they aren't sorted identically to the input. I'll file that for myself.


Send thread name as ThreadNameKey not ProcessCommandKey

Summary
Noticed this while I was working on #253, change was recently introduced in d6fd2ec (original commit is here).

Oops, sorry -- must've accepted wrong suggested item!


Wrong value in metrics.

I added an metrics=["binary_accuracy"] in the compile process. However, when train the model, the value of binary_accuracy is always very small. Is there something wrong?

Which example, file and model?
I try metrics=["binary_accuracy"] in MNIST example in Example of image denoising model for 3 epoch and no Data Augmentation (First Autoencoder example). And result:
Train on 60000 samples, validate on 10000 samples
Epoch 1/3
60000/60000 [==============================] - 249s - loss: 0.2575 - binary_accuracy: 0.7962 - val_loss: 0.2148 - val_binary_accuracy: 0.7948

binary_accuracy: 1 mean it is ok and binary_accuracy: 0 means bad. So it sounds good for Basic Autoencoder with trained in 1 epoch and small dataset(no Data Augmentation).
But If you try the Unsupervised Classification with Autoencoder in MNIST or Dog-Cat example. Its normal because models tring finding similarity images in classes.
For example: Dog-Cat's Unsupervised Classification with Autoencoder model always trying to decode most similarity images. But all images and classes is different in this version of code it is so hard and even it is look like impossible for a problem similar to this. Because (in Dog-Cat example) cats or dogs not same size and same location in images.
But I have just started this project. Now I'm working on the my new algorithm. It makes the project more workable. The new algorithm will change the entire project from the root. The current publications are for open my idea to people and get open source help.


Add BlinkM I2C RGB LED

This PR adds support for the BlinkM I2C RGB LED.

Merged in 9d863fdf15222c8e4309b197a5b1f6c9754fe38a.


form-data overwriteRequestBody used with file upload doesn't inject "src" into collection.

for File Upload, i have the following overwrite:
"overwriteRequestBody": [         {             "key": "reqFile",             "value": "/mytestfile.txt",             "insert": true         }     ]
Postman expects this request to look like this:
"body": { 	"mode": "formdata", 	"formdata": [ 		{ 			"key": "reqFile", 			"type": "file", 			"src": "/mytestfile.txt" 		} 	] },
instead, generated collection has the following:
  "body": {           "mode": "formdata",           "formdata": [             {               "key": "reqFile",               "type": "file"             },                       ]         }
This presents a problem since Postman doesn't recognize the second object as valid and there is no source for file upload.
Attempts with the following config also fail to insert "src" into a collection:
"overwriteRequestBody": [       {           "key": "reqFile",           "value": "/mytestfile.txt",           "insert": true,           "overwrite": true       }   ]

hi @vampyar
Can you share this POST vehicles openapi request?
And how this should look like in Postman, and share the exported Postman collection (if possible)?
So we can see the generated current result and expected result, to figure out how we could implement this.


ConnectionRefusedError: [WinError 10061] when press F5 to start debugging

Environment data

VS Code version: 1.43.1
Extension version (available under the Extensions sidebar): 2020.3.69010
OS and version: Windows 10 1909
Python version (& distribution if applicable, e.g. Anaconda): 3.7.0 64-bit in Anaconda
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda 4.8.2

Expected behaviour
The debugger should start and enter a debug session
Actual behaviour
Fail to start the debugger when I press F5.
It first print the following sentence in the terminal:
 $ G:/Anaconda/Scripts/activate

Then pop up the warning:

Then print the following sentences:
$  env DEBUGPY_LAUNCHER_PORT=4625 G:\\Anaconda\\envs\\pytor\\python.exe c:\\Users\\lenovo
\\.vscode\\extensions\\ms-python.python-2020.3.69010\\pythonFiles\\lib\\python\\debugpy\\
wheels\\debugpy\\launcher g:\\VSCodeProject\\Self-Learning\\helloworld.py
Traceback (most recent call last):
  File "G:\Anaconda\envs\pytor\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "G:\Anaconda\envs\pytor\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "c:\Users\lenovo\.vscode\extensions\ms-python.python-2020.3.69010\pythonFiles\lib\python\debugpy\wheels\debugpy\launcher\__main__.py", line 80, in <module>
    main()
  File "c:\Users\lenovo\.vscode\extensions\ms-python.python-2020.3.69010\pythonFiles\lib\python\debugpy\wheels\debugpy\launcher\__main__.py", line 42, in main
    launcher.connect(launcher_port)
  File "c:\Users\lenovo\.vscode\extensions\ms-python.python-2020.3.69010\pythonFiles\lib\python\debugpy\wheels\debugpy\launcher/../..\debugpy\launcher\__init__.py", line 27, in connect
    sock.connect(("<IP_ADDRESS>", launcher_port))
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝，无法连接。

The chinese means Unable to connect because the target computer actively refuse
Steps to reproduce:

create a helloword.py with only one sentence print('helloworld')
press F5

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
User belongs to experiment group 'AlwaysDisplayTestExplorer - experiment'
User belongs to experiment group 'ShowPlayIcon - start'
User belongs to experiment group 'ShowExtensionSurveyPrompt - control'
User belongs to experiment group 'DebugAdapterFactory - experiment'
User belongs to experiment group 'PtvsdWheels37 - experiment'
User belongs to experiment group 'UseTerminalToGetActivatedEnvVars - control'
User belongs to experiment group 'WebHostNotebook - control'
User belongs to experiment group 'CollectLSRequestTiming - control'
User belongs to experiment group 'CollectNodeLSRequestTiming - experiment'
> conda --version
> pyenv root
> python3.7 -c "import sys;print(sys.executable)"
> python3.6 -c "import sys;print(sys.executable)"
> python3 -c "import sys;print(sys.executable)"
> python2 -c "import sys;print(sys.executable)"
> python -c "import sys;print(sys.executable)"
> py -3.7 -c "import sys;print(sys.executable)"
> py -3.6 -c "import sys;print(sys.executable)"
> py -3 -c "import sys;print(sys.executable)"
> py -2 -c "import sys;print(sys.executable)"
> G:\Anaconda\envs\pytor\python.exe -c "import sys;print(sys.executable)"
> G:\Anaconda\envs\pytor\python.exe -c "import jupyter"
> G:\Anaconda\envs\pytor\python.exe -c "import jupyter"
> G:\Anaconda\envs\pytor\python.exe -c "import notebook"
> G:\Anaconda\envs\pytor\python.exe -c "import notebook"
Starting Jedi Python language engine.
> conda info --json
> conda env list
> conda info --json
> G:\Anaconda\envs\pytor\python.exe -m flake8 "--ignore=F403, F405" --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s g:\VSCodeProject\Self-Learning\helloworld.py
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe -m flake8 "--ignore=F403, F405" --format=%(row)d,%(col)d,%(code).1s,%(code)s:%(text)s g:\VSCodeProject\Self-Learning\helloworld.py
cwd: g:\VSCodeProject\Self-Learning
##########Linting Output - flake8##########
> conda env list
> G:\Anaconda\envs\pytor\python.exe -c "import sys;print(sys.prefix)"
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe -c "import sys;print(sys.prefix)"
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe -c "import sys;print(sys.executable)"
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe -c "import sys;print(sys.executable)"
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe -m site --user-site
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe -m site --user-site
cwd: g:\VSCodeProject\Self-Learning
> G:\Anaconda\envs\pytor\python.exe completion.py
cwd: c:\Users\lenovo\.vscode\extensions\ms-python.python-2020.3.69010\pythonFiles
> G:\Anaconda\envs\pytor\python.exe completion.py
cwd: c:\Users\lenovo\.vscode\extensions\ms-python.python-2020.3.69010\pythonFiles
> conda info --json

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
Here I only paste what is printed after I press F5
[Extension Host] request undefined
{command: "initialize", arguments: {…}, type: "request", seq: 1}
console.ts:137 [Extension Host] request undefined
{command: "launch", arguments: {…}, type: "request", seq: 2}
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Shell path 'Python Debug Console'
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Shell path identified as shell 'other'
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Terminal name 'Python Debug Console' identified as shell 'other'
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: [object Object]. Shell identified as other (Terminal name is Python Debug Console)
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Shell path 'G:\Git\bin\bash.exe'
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Shell path identified as shell 'bash'
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Terminal shell path 'G:\Git\bin\bash.exe' identified as shell 'bash'
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: [object Object]. Shell identified as bash (Terminal name is Python Debug Console)
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Shell identified as 'bash'
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Cached data exists getEnvironmentVariables, g:\VSCodeProject\Self-Learning\helloworld.py
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Get Conda environments, Class name = b, completed in 0ms, has a truthy return value, Arg 1: false, Return Value: [{"name":"base","path":"G:\\Anaconda"},{"name":"pytor","path":"G:\\Anaconda\\envs\\pytor"}]
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Cached data exists KeyPrefix=Cache_Method_Output_b.getCondaVersion-Args=
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Cached data exists KeyPrefix=Cache_Method_Output_b.getCondaFileFromInterpreter-Args="G:\\Anaconda\\envs\\pytor\\python.exe"-Arg-Separator-"pytor"
console.ts:137 [Extension Host] Info Python Extension: 2020-03-24 19:44:08: Get Conda File from interpreter, Class name = b, completed in 0ms, has a truthy return value, Arg 1: "G:\\Anaconda\\envs\\pytor\\python.exe", Arg 2: "pytor", Return Value: "G:\\Anaconda\\Scripts\\conda.exe"
console.ts:137 [Extension Host] response undefined
{type: "response", seq: 3, command: "runInTerminal", request_seq: 4, success: true, …}
console.ts:137 [Extension Host] request undefined
{command: "disconnect", arguments: {…}, type: "request", seq: 4}
log.ts:197   ERR timeout after 500 ms: Error: timeout after 500 ms
    at t.RawDebugSession.handleErrorResponse (file:///G:/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2954:952)
    at file:///G:/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2954:250
    at async t.RawDebugSession.shutdown (file:///G:/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2952:336)

Other info I think may be helpful
My launch.json:
{
    "version": "0.2.0",
    "configurations": [

        {
            "name": "Python: 当前文件",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal"
        }
    ]
}

My settings.json
{
    "python.pythonPath": "G:\\Anaconda\\envs\\pytor\\python.exe",
    "python.linting.pylintEnabled": false,
    "python.linting.flake8Enabled": true,
    "python.linting.enabled": true,
    "python.formatting.provider": "yapf",
    "python.autoComplete.extraPaths": ["./pytorch"],
}

And, when I add "python.terminal.activateEnvironment": false to the settings.json, the warning no longer appear. But I still prefer to activate environment when starting debugger. Also it seems to ocasionally suceed after several minutes but I don't think it's a good way to face the problem.

You mention that with "python.terminal.activateEnvironment": false, you're not seeing the error message - does this mean that debugger is working fine for you in that case? Or is it failing in a different way?
Also, can you please try adding "logToFile": true to your launch.json, and share all files matching debugpy*.log that you should get in the folder where the extension was installed (something like C:\Users\...\.vscode\extensions\ms-python.python-2020.3.69010)?

@int19h
When I add "python.terminal.activateEnvironment": false to my settings.json, the debugger is working fine, which prints helloworld in my helloworld case, though it does not activate my conda.
Here is my debugpy*.log file when the debugger fails to start:
debugpy.launcher-2744.log
debugpy.adapter-9580.log
Hope these may help you.
PS: Is it possible that these problems are caused because I'm using git bash as my terminal? (But I didn't face these problems in previous versions)
Thanks.

I can't think of any reason why Bash would make a difference... but other repros that we're seeing are all on Linux, so perhaps it is related. Could you switch to cmd.exe temporarily, and try it with and without activation, to see if that matters?

@int19h
I have tried cmd and powershell, and they both work fine in my case, with or without activation. Later I will try to configure WSL to see if it works fine.

@int19h
Well, I have configured my WSL, and it works fine!

@int19h
I have tried WSL, and it works fine in ssh remote mode. It fails to start debugger when I just use wsl bash as the terminal (but I think it is due to other reasons not relevant to this issue)

Thank you very much - this is incredibly helpful!

I actually have that same issue when connecting to a remote device, both from my Mac and from my Windows machine.
env DEBUGPY_LAUNCHER_PORT=44257 /usr/bin/python3.6 /home/omartin/.vscode-server-insiders/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher /home/omartin/proj/inferencing/testing_code/mp.py
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/omartin/.vscode-server-insiders/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/__main__.py", line 80, in <module>
    main()
  File "/home/omartin/.vscode-server-insiders/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/__main__.py", line 42, in main
    launcher.connect(launcher_port)
  File "/home/omartin/.vscode-server-insiders/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/../../debugpy/launcher/__init__.py", line 27, in connect
    sock.connect(("<IP_ADDRESS>", launcher_port))
ConnectionRefusedError: [Errno 111] Connection refused

This didn't happen a few days ago.

I have the same issue using the remote development function in Vscode(using ssh connecting mode).  Here is my environment:

VSCode Version: 1.43.1
Local OS Version: windows 10
Remote OS Version: Ubuntu 14
Remote Extension/Connection Type: SSH

Steps to Reproduce:

connect to host
debug an arbitrary file(python)

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No
I can successfully connect to a remote host in Vscode using SSH connecting. And actually I have used the remote debug function for several days.  I can still successfully connect to the remote host in the VScode. However, when I try to debug a python file, vscode throw an error as:
  File "/home/lab-lin.ziyao/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/__main__.py", line 42, in main
    launcher.connect(launcher_port)
  File "/home/lab-lin.ziyao/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/../../debugpy/launcher/__init__.py", line 27, in connect
    sock.connect(("<IP_ADDRESS>", launcher_port))

and popup an error window like:

Update:
I finally solve this issue after downgrade the python extension version!
The version causes the issue:2020.3.69010
I downgrade to:2020.2.64397

https://github.com/microsoft/debugpy/issues/84 is the primary issue tracking this bug now, so I'll close this one as a dupe.


[#4984] Fix: Position the server map image in the middle

Set the canvas width and height with the image source when converting the image into data url

Codecov Report

Merging #4985 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4985      +/-   ##
==========================================
+ Coverage   40.86%   40.87%   +0.01%
==========================================
  Files        2646     2646
  Lines       79265    79265
  Branches    10716    10716
==========================================
+ Hits        32391    32399       +8
+ Misses      43943    43937       -6
+ Partials     2931     2929       -2

Impacted Files
Coverage Δ

...ofiler/sender/StandbySpanStreamDataSendWorker.java
80.59% <0%> (-2.99%)
:arrow_down:

...corp/pinpoint/rpc/stream/StreamChannelManager.java
69.54% <0%> (-1.15%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
72.61% <0%> (+1.27%)
:arrow_up:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
72.41% <0%> (+6.89%)
:arrow_up:

...pc/server/LoggingServerMessageListenerFactory.java
100% <0%> (+10%)
:arrow_up:

...r/response/DefaultResponseTimeMetricCollector.java
100% <0%> (+14.28%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08dbd3c...5226f52. Read the comment docs.