CBLAuthDelegate preventing the sampleApplication from terminating

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

SampleApplication can't quit without finishing the authorization process.
What is the expected behavior?

when 'q' is enter, the sampleApplication should terminate.
What behavior are you observing?

AUTHORIZATION_PENDING message keeps showing up, even after 'q' is enter
debug log
              #    #     #  #####      #####  ######  #    #
             # #   #     # #     #    #     # #     # #   #
            #   #  #     # #          #       #     # #  #
           #     # #     #  #####      #####  #     # ###
           #######  #   #        #          # #     # #  #
           #     #   # #   #     #    #     # #     # #   #
           #     #    #     #####      #####  ######  #    #

   #####                                           #
  #     #   ##   #    # #####  #      ######      # #   #####  #####
  #        #  #  ##  ## #    # #      #          #   #  #    # #    #
   #####  #    # # ## # #    # #      #####     #     # #    # #    #
        # ###### #    # #####  #      #         ####### #####  #####
  #     # #    # #    # #      #      #         #     # #      #
   #####  #    # #    # #      ###### ######    #     # #      #

   SDK Version 1.8.1

+----------------------------------------------------------------------------+
|                                  Options:                                  |
| Wake word:                                                                 |
|       Simply say Alexa and begin your query.                               |
| Tap to talk:                                                               |
|       Press 't' and Enter followed by your query (no need for the 'Alexa').|
| Hold to talk:                                                              |
|       Press 'h' followed by Enter to simulate holding a button.            |
|       Then say your query (no need for the 'Alexa').                       |
|       Press 'h' followed by Enter to simulate releasing a button.          |
| Stop an interaction:                                                       |
|       Press 's' and Enter to stop an ongoing interaction.                  |
| Privacy mode (microphone off):                                             |
|       Press 'm' and Enter to turn on and off the microphone.               |
| Echo Spatial Perception (ESP): This is for testing purpose only!           |
|       Press 'e' followed by Enter at any time to adjust ESP settings.      |
| Playback Controls:                                                         |
|       Press '1' for a 'PLAY' button press.                                 |
|       Press '2' for a 'PAUSE' button press.                                |
|       Press '3' for a 'NEXT' button press.                                 |
|       Press '4' for a 'PREVIOUS' button press.                             |
| Settings:                                                                  |
|       Press 'c' followed by Enter at any time to see the settings screen.  |
| Speaker Control:                                                           |
|       Press 'p' followed by Enter at any time to adjust speaker settings.  |
| Firmware Version:                                                          |
|       Press 'f' followed by Enter at any time to report a different        |
|       firmware version.                                                    |
| Info:                                                                      |
|       Press 'i' followed by Enter at any time to see the help screen.      |
| Reset device:                                                              |
|       Press 'k' followed by Enter at any time to reset your device. This   |
|       will erase any data stored in the device and you will have to        |
|       re-register your device.                                             |
|       This option will also exit the application.                          |
| Quit:                                                                      |
|       Press 'q' followed by Enter at any time to quit the application.     |
+----------------------------------------------------------------------------+
2018-08-22 19:15:54.886 [  2] 5 HttpPost:doPostSucceeded:code=200
2018-08-22 19:15:54.886 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=200
2018-08-22 19:15:54.886 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=200,error=SUCCESS
2018-08-22 19:15:54.886 [  2] 5 CBLAuthDelegate:setAuthError:authError=SUCCESS
##################################
NOT YET AUTHORIZED
##################################
################################################################################################
To authorize, browse to: 'https://amazon.com/us/code' and enter the code: E4AKAB
################################################################################################
2018-08-22 19:15:54.886 [  2] 5 CBLAuthDelegate:handleRequestingToken
#################################################
Checking for authorization (1)...
#################################################
2018-08-22 19:15:54.886 [  2] 5 CBLAuthDelegate:requestToken
2018-08-22 19:15:54.928 [  2] 5 HttpPost:doPostSucceeded:code=400
2018-08-22 19:15:54.928 [  2] 5 CBLAuthDelegate:receiveTokenResponse:code=400
2018-08-22 19:15:54.928 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=400,error=INVALID_REQUEST
2018-08-22 19:15:54.928 [  2] 5 CBLAuthDelegate:errorInLwaResponseBody:error=authorization_pending,errorCode=AUTHORIZATION_PENDING
2018-08-22 19:15:54.928 [  2] 5 CBLAuthDelegate:setAuthError:authError=AUTHORIZATION_PENDING
2018-08-22 19:15:54.928 [  2] 0 CBLAuthDelegate:receiveTokenResponseFailed:result=AUTHORIZATION_PENDING
2018-08-22 19:15:59.928 [  2] 5 CBLAuthDelegate:requestToken
#################################################
Checking for authorization (2)...
#################################################
2018-08-22 19:15:59.964 [  2] 5 HttpPost:doPostSucceeded:code=400
2018-08-22 19:15:59.964 [  2] 5 CBLAuthDelegate:receiveTokenResponse:code=400
2018-08-22 19:15:59.964 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=400,error=INVALID_REQUEST
2018-08-22 19:15:59.964 [  2] 5 CBLAuthDelegate:errorInLwaResponseBody:error=authorization_pending,errorCode=AUTHORIZATION_PENDING
2018-08-22 19:15:59.964 [  2] 5 CBLAuthDelegate:setAuthError:authError=AUTHORIZATION_PENDING
2018-08-22 19:15:59.964 [  2] 0 CBLAuthDelegate:receiveTokenResponseFailed:result=AUTHORIZATION_PENDING
q
2018-08-22 19:16:06.280 [  2] 5 CBLAuthDelegate:requestToken
#################################################
Checking for authorization (3)...
#################################################
2018-08-22 19:16:06.280 [  f] I AbstractKeywordDetector:readFromStreamFailed:reason=readerTimeOut
2018-08-22 19:16:06.318 [  2] 5 HttpPost:doPostSucceeded:code=400
2018-08-22 19:16:06.318 [  2] 5 CBLAuthDelegate:receiveTokenResponse:code=400
2018-08-22 19:16:06.318 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=400,error=INVALID_REQUEST
2018-08-22 19:16:06.318 [  2] 5 CBLAuthDelegate:errorInLwaResponseBody:error=authorization_pending,errorCode=AUTHORIZATION_PENDING
2018-08-22 19:16:06.318 [  2] 5 CBLAuthDelegate:setAuthError:authError=AUTHORIZATION_PENDING
2018-08-22 19:16:06.318 [  2] 0 CBLAuthDelegate:receiveTokenResponseFailed:result=AUTHORIZATION_PENDING
2018-08-22 19:16:11.318 [  2] 5 CBLAuthDelegate:requestToken
#################################################
Checking for authorization (4)...
#################################################
2018-08-22 19:16:11.399 [  2] 5 HttpPost:doPostSucceeded:code=400
2018-08-22 19:16:11.400 [  2] 5 CBLAuthDelegate:receiveTokenResponse:code=400
2018-08-22 19:16:11.400 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=400,error=INVALID_REQUEST
2018-08-22 19:16:11.400 [  2] 5 CBLAuthDelegate:errorInLwaResponseBody:error=authorization_pending,errorCode=AUTHORIZATION_PENDING
2018-08-22 19:16:11.400 [  2] 5 CBLAuthDelegate:setAuthError:authError=AUTHORIZATION_PENDING
2018-08-22 19:16:11.400 [  2] 0 CBLAuthDelegate:receiveTokenResponseFailed:result=AUTHORIZATION_PENDING
Provide the steps to reproduce the issue, if applicable:

run sampleApplication without registering the user code and try to quit the application.
Tell us about your environment:

What version of the AVS Device SDK are you using?
  <1.8.1>

Tell us what hardware you're using:

[x] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[x] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hi @kennykc , I was able to reproduce the issue. I have filed an internal investigation to our team to investigate further and provide resolution

This has been fixed in v1.11

@visayamv I am in v1.14.0 met same problem on Android,response code is 400.


Export CSV to CSV Aggregate column empty

Is your feature request related to a problem? Please describe.
When exporting a query result from a CSV to a CSV, the aggregate (SUM) column is empty
Describe the solution you'd like
The result of SUM to appear in the YTD column of the CSV
Describe alternatives you've considered
none
Additional context
This problem has been duplicated in version <IP_ADDRESS>012062025 on Xubuntu Linux, version <IP_ADDRESS>012201616 on Mac and Windows.
Running a report of YTD totals by customer. Using the CSV plugin to read a report from our bank, I am exporting the summarized results via the CSV plugin with this query:
SELECT
	"Customer Number" ,
	name,
	sum(amount) AS YTD
FROM
	Customer_YTD_Sales
WHERE (
	fail_name IS NULL
	OR ltrim(rtrim(fail_name)) = ''
)
GROUP BY
	"Customer Number",
	name
;

I worked around this issue by loading the CSV to my local MySQL instance, export works correctly from MySQL -> CSV

Thank you for the report.

Thank you for the report.

Hello @markr-metra-autosound-com,
It's a bug of CSV driver.
Workaround: set Binaries to Inline and their encoding to Binary:


[Maestro version, v1.36.0]web driver

we should make the device more like chrome, more width, more heigh,and the same the 1028*768

Hi, could you clarify what's the problem here?

the web view is too small.
we should make the device more like chrome, more width, more heigh,and the same the 1028*768

Thanks for creating this issue - unfortunately, it's not reproducible to us.
Please provide a minimal, reproducible example that clearly explains how to reproduce the problem with the detailed, step-by-step instructions (that can be easily run by me or other maintainers).
This issue does not contain such an example, therefore I'm going to reluctantly close it.
If you don't have time right now, that's totally OK. Feel free to open a new issue in the future with all the required information provided.


Release version to 0.14.4

Lets see if the CI works!
We will probably want to merge this instead of squashing it (to preserve git history)
Close #276

Thank you for publishing it!

Looks like it works as expected: https://crates.io/crates/x86_64/0.14.4 and https://github.com/rust-osdev/x86_64/releases/tag/v0.14.4


[automation] Update go release version 1.18.10

What
Bump go release version with the latest release.
Further details
See changelog for 1.18.10
Automatically generated from https://apm-ci.elastic.co/job/apm-shared/job/bump-go-release-version-pipeline/

:green_heart: Build Succeeded

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

Expand to view the summary

Build stats

Start Time: 2023-01-16T04:02:47.048+0000

Duration: 11 min 4 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
181

Skipped
7

Total
188

:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.


Rewrite CRDs for new networking rules

Currently the CRDs for new networking rules under package networking/v1alpha3 still defined in
apiGroup config.istio.io with version v1alpha2. We need to move them into networking.istio.io and v1alpha3 according to style guide.
This work is currently blocked by #3830

cc @GregHanson @frankbu @rshriram @kyessenov @andraxylia


Milestone / Future Work

Hello,
Can we have list of pending/future work(wiki like) ? So one can see and try to contribute for this great module.

@tryexceptpass Please provide the list of items for contribution

I'm working on something more detailed. However, the plan is to track it through issues marked as tasks or features.

What do you guys think of having an option to generate an electron app? I would love this feature

@jigarmistry I've added a bunch of issues tagged as tasks to track the immediate list of items that need to be added to finish supporting Bootstrap stuff.
@LordZane I haven't made anything with electron yet, but I've been aware of it for a little while. Some googling around and quick look at docs makes me think that it would be possible to generate the HTML and JS needed to use the electron packaging system, but you would still need a python backend. However, this may not be a big deal given websockets don't require your app to be on the client. Let's continue the discussion at #67.


it's not possible to tell the optimize.least_squares solver to never terminate on xtol

Other trf solvers I've used support this by allowing the user to set xtol=0

xtol=None would be more idiomatic, but other than that sounds reasonable. @nmayorov ?

Our lower bound is machine epsilon for each of the tolerance. For xtol it means that we should distinguish between nearby points using double precision numbers.  It seems to me is that x didn't change (in floating point numbers) after an iteration then it makes sense to terminate the algorithm.
@greysAcademicCode does it have any benefits to disable it?

@nmayorov, say x is a five element vector, and I have xtol = np.finfo(float).eps. Does the algorithm terminate when any element of x stops changing or when all elements stop?
If one of the fit parameters can trigger premature termination, I'd say that's a bad thing.
In general though, when I'm working on getting a good fit for a new problem, I like to probe how the fit goes when I change the termination conditions. I learn a lot about the system experimenting that way. That's really why I'd like the option of switching on and off each of the termination conditions here (xtol, gtol, ftol, max_nfev).

The exact condition is norm(dx) < xtol * (xtol + norm(x)) and norm is Euclidean norm. The ideas behind these limits were a) to ensure that the algorithm always terminates b) guide users to realistic tolerances.
I believe disabling some of the checks is not a bad thing, but I don't know what is "the best" approach here. I think the current approach is fine, but we can consider changing it.

So @greyltc do you really demand this change?

Demand is certainly not the word I'd use.
I would find it very helpful (and I believe others would too) if there was a way to disable the xtol, gtol and ftol termination conditions individually, for example by setting them to zero. Maybe a warning could be issued in that case.

OK, I understand you. Would you send a pull request for that? I think a warning for each tolerance that "setting < tol > below eps effectively disables the check" (something along those lines) would be sufficient.

Hello, I'm interested in disabling xtol too. Is there a way to do it yet? Thanks!

Was wondering if there has been a decision on making xtol=None (along with maybe the other termination conditions) available?

I would also like to bring up this topic again, and ask if there are any plans to either allow no termination based on xtol, or at least implement the scaled x version. I would also be happy to help with the implementation if that's possible, as this is a vital functionality for large scale optimization.


optimization of StringHelpers.randomString

Optimize randomString by calling _random.nextBytes for only the bytes we need.
We use 6 bits per byte and store the 2 leftover bits in a byte (Int actually).
After 3 iterations we have (3*2) enough bits for a new random char so we use
these instead of consuming a new random-byte. So for every 4-th iteration we
use these accumulated random-bits.

Some non-scientific testing shows 30-35% improvement in running-time.

@Shadowfiend Ping! the last responses look to be from @andreak so I think the ball is in your court here.


Fix version constraint and bump to 4.0.0

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

LGTM


Fix gschemas on binary version, update screenshots

The binary that's currently building for 2.1.0 wont work until I add handling for the gschema
Also need up update screenshots again now I've moved to a burger menu

done, moved 2.1.0 to later commit


Create a Model using a Custom Convolutional Neural Network using PyTorch

Type
Advancement
Description
Create a Model using a Custom Convolutional Neural Network using PyTorch. This Issue is open to three people who wish to try out their hands in bringing out the best architecture.
Tools

Python
PyTorch
Jupyter Notebook
Jupyter Markdown

@HarshCasper Can you assign to me?

Assigned to you @Bijay555


Can't access chroot: 'No chroots with target 'xfce' found in /mnt/stateful_partition/crouton/chroots'

I've been using Elementary OS for about a year with no real problems.  But as of yesterday, when I do sudo startelementary I get:
sudo startelementary
No chroots with target 'xfce' found in /mnt/stateful_partition/crouton/chroots
I updated my chroot and rebooted, to no avail.  I have the latest version of crouton, and there hasn't been a recent ChromeOS update either.
I am able to get into Elementary by sudo enter-chroot and startelementary -- but since I've always entered it through the shell, most programs and apps don't run.
Here's my chroot info:
sudo edit-chroot -all
name: freya
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/freya...
crouton: version 1-20180718130616~master:5d4c3014
release: trusty
architecture: amd64
xmethod: xorg
targets: x11,extension
host: version 10575.58.0 (Official Build) stable-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Fri Jun 22 18:18:57 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/freya...
Here's my /mnt/stateful_partition info:
chronos@localhost /mnt/stateful_partition $ ls -la
total 293844
drwxr-xr-x 8 root root       4096 Jul 18 19:42 .
drwxr-xr-x 3 root root       4096 Jun 22 23:20 ..
drwxr-xr-x 3 root root       4096 Dec 25  2015 crouton
-rw-r--r-- 1 root root          0 Dec 25  2015 .developer_mode
drwxr-xr-x 3 root root       4096 Dec 25  2015 dev_image
drwxr-xr-x 5 root root       4096 Dec 25  2015 encrypted
-rw------- 1 root root<PHONE_NUMBER> Jul 19 13:05 encrypted.block
-rw------- 1 root root         48 Dec 25  2015 encrypted.key
drwxr-xr-x 6 root root       4096 Dec 25  2015 home
drwx------ 2 root root      16384 Dec 25  2015 lost+found
-rw-r--r-- 1 root root      44815 Jul 18 19:42 shutdown_stateful_umount_failure
-rw-r--r-- 1 root root          0 Dec 25  2015 .tpm_owned
-rw------- 1 root root          2 May  6  2017 .tpm_status
-rw------- 1 root root          8 May  6  2017 .tpm_status.sum
-rw-r--r-- 1 root root       4007 Jul 18 19:42 umount-encrypted.log
drwxr-xr-x 4 root root       4096 Dec 25  2015 unencrypted
I'd appreciate any suggestions, as I've never seen this error before.

@secretrow,
In your croutonversion output I don't see any 'xfce' target, only 'x11' & 'extension'.
After looking at the MyDearFreya script it looks like it creates & uses a startelementary script, there is no mention of 'xfce' at all so I'm not sure why you're now getting that error.
I think if it were me I'd first try re-generating the startelemmentary script using the freya.sh script as follows: sudo sh freya.sh continue
That may be enough to get you going again, if not then you may have to run the elementary package installation again with: sudo sh freya.sh installelementary
If you're still stuck then you may need to just start from scratch with: sudo sh freya.sh
There's a subreddit r/crouton thread that discusses crouton/freya that I've linked below, they may be able to help:

Any guides to getting the new Elementary / Freya release going ?

Hope this helps,
-DennisLfromGA


Is this an active repo and worth using?

Hi,
I wanted create a dashboard with widget support. My question is that whether this is an active repo and worth using?

It's active :) but need more contributors as I can't do all the needs by myself. And to know if it worth using you should try it see if it fit your needs or not

Thank you for a prompt reply. I have run its demo and I'll try integrating it.
p.s. you can close this thread.


README: make each section independent

@xiang90
Continued from our last discussion and make each section in README independent.

Can we not add the destroy example for every section?

@xiang90
I feel it's weird too. What's your suggestion then? I think keeping the entire thing continuous will make user trying the examples easier and the experience better.

What's your suggestion then? I think keeping the entire thing continuous will make user trying the examples easier and the experience better.

Users will read sections create and destroy. After that they will learn how to remove the cluster anyway. I do not think it will bring any troubles. If people compliant, then we can think about how to solve it. I think we should just remove them for now.

Squash commits. LGTM


901 smtp connection

Description
The PR establishes SMTP connection outside of POST. The sending of email notification is split into parts - establishing SMTP connection, testing the connection, sending the email and finally closing the connection.
Fixes #901
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[x] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[x] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

The server connection is kept active throughout the BB. If at some point the connection needs to be cancelled quit_smtp_connection in line 99 can be called. At present, this method is not called anywhere.

@minump, I have left some comments. Please see. Please also fix the merge conflicts.
@ywkim312, Please share your feedback on this PR when you get a chance. Thanks.

Changing to draft as FlaskApp inside connexion not able to get app_context() correctly for passing SMTP connection.

Closing this as a cloud alternative for SMTP will be explored. Thanks.


Leaflet Draw Marker Click Issue

Not sure if this is an issue in Leaflet Draw or with Leaflet itself. When adding a marker to a layer with Leaflet Draw v0.3.2 and Leaflet v1.0 there is an error with the marker's click event not opening a popup. The popup opens if .openPopup() is called. I've also tested this with Leaflet Draw master.
See this jsfiddle for illustration of the issue: https://jsfiddle.net/DeanoFino/mvk00sz3/

This does look like leaflet draw. I tested adding a marker and binding a popup on dblclick with just Leaflet v1.0 and it works fine. See this jsfiddle for example: https://jsfiddle.net/DeanoFino/dkrkb6L6/

This same issue exists in Leaflet.draw master branch.

@DeanoFino - 0.4.0 was released for L1.0 support. Please check if this is still an issue?
Adding as a bug in case this is still a problem.

This is still an issue and not fixed.  Is there any work around?


Append txn author agreement to verkey rotatation request

Tested on buildernet.
Signed-off-by: Miroslav Kovar<EMAIL_ADDRESS>

Codecov Report

Merging #485 (d97996d) into main (50d1b93) will increase coverage by 1.42%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #485      +/-   ##
==========================================
+ Coverage   55.93%   57.35%   +1.42%
==========================================
  Files         157      151       -6
  Lines       14849    14099     -750
  Branches     4226     4074     -152
==========================================
- Hits         8306     8087     -219
+ Misses       2261     1798     -463
+ Partials     4282     4214      -68

Flag
Coverage Δ

integration-aries-vcx
42.70% <0.00%> (-0.01%)
:arrow_down:

unittests-agency-client
?

unittests-aries-vcx
49.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

aries_vcx/src/libindy/utils/signus.rs
35.61% <0.00%> (-0.50%)
:arrow_down:

agency_client/src/utils/update_profile.rs
0.00% <0.00%> (-45.84%)
:arrow_down:

agency_client/src/utils/create_key.rs
35.71% <0.00%> (-16.67%)
:arrow_down:

agency_client/src/update_connection.rs
0.00% <0.00%> (-9.53%)
:arrow_down:

aries_vcx/src/init.rs
27.11% <0.00%> (-8.48%)
:arrow_down:

agency_client/src/message_type.rs
60.00% <0.00%> (-2.03%)
:arrow_down:

agency_client/src/payload.rs
0.00% <0.00%> (ø)

agency_client/src/utils/wallet.rs

agency_client/src/utils/timeout.rs

agency_client/src/utils/test_utils.rs

... and 9 more

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 50d1b93...d97996d. Read the comment docs.


gmic: 2.9.5 -> 2.9.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gmic/versions.
meta.description for gmic is: "Open and full-featured framework for image processing"
meta.homepage for gmic is: "https://gmic.eu/"
meta.changelog for gmic is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.9.6 with grep in /nix/store/svn86d6rhkvcn0aspd3swp0ag5319368-gmic-2.9.6

directory tree listing: https://gist.github.com/58b942f09d12ffd9a77240c1ddcf848d

du listing: https://gist.github.com/3446a642df575d7fc3c859b4a2f2ac26

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gmic

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/svn86d6rhkvcn0aspd3swp0ag5319368-gmic-2.9.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gmic https://github.com/r-ryantm/nixpkgs/archive/0a3e74487e000243c1d496c72710323a43bee4bb.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/svn86d6rhkvcn0aspd3swp0ag5319368-gmic-2.9.6
ls -la /nix/store/svn86d6rhkvcn0aspd3swp0ag5319368-gmic-2.9.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gmic

Maintainer pings

Result of nixpkgs-review pr 112878 at 0a3e7448 run on aarch64-linux 1

1 package failed to build:

gmic

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/tools/graphics/gmic/default.nix:50:3:
   |
50 |   meta = with lib; {
   |   ^


Broken redirects with optional catch-all route at top-level in pages/

What's wrong
With version 2.4.0 yarn run build produces the following (correct) out_publish/_redirects file:
# Next-on-Netlify Redirects
/api  /.netlify/functions/next_api  200
*  /.netlify/functions/next_any  200

Using 2.5.0 the sorting has changed, and the catch all rules are before the specific ones:
# Next-on-Netlify Redirects
/*  /.netlify/functions/next_any  200
  /.netlify/functions/next_any  200
/api  /.netlify/functions/next_api  200

We can see the /* catch route is before the /api route. Additionally, there is a new (and possible invalid) redirect.
Now the requests to /api are routed to / and the specific handler is not called.
How to reproduce
I created a minimal example repo here: https://github.com/amuttsch/next-on-netlify-minimal
To reproduce just change the version of next-on-netlify in the package.json to 2.4.0 or 2.5.0 and run yarn install && yarn run build.
Thanks for your work on this package!

Hey @amuttsch, thanks for filing this issue and for your detailed report!
This one is totally my bad! :grimacing: :see_no_evil:  Looks like I missed this scenario when we did a major refactor last week. You have an optional catch-all route at project root, is that right? @lindsaylevine and I will fix this tonight and make sure to add a test, so it doesn't happen again in the future!
We'll keep you posted!

Hi Finn,
yes I do have a root level catch all route, it also happens if I have a separate index.jsx and a [any.jsx] file.
Thanks for your quick reply, I'm looking forward for the fix :-)

Turns out that I actually introduced not just one, but two bugs during the refactoring! :grimacing: But I think we got it figured out and #47 will fix that :raised_hands: :raised_hands:
If you're in a hurry, you can already try out the new code by running npm install netlify/next-on-netlify#fix-broken-redirects. Otherwise, I think we'll get this reviewed, merged, and deployed shortly :slightly_smiling_face:

Hi @amuttsch, this issue should be resolved now :blush: :fire: Let us know if you have any more trouble and thanks again for reporting!

The fix looks good, thanks for the quick response! :-)


All my otp tokens are corrupted. Tried uninstalling and resyncing but still showing as corrupted.

Description
Hi I opened up my authy raycast extension and found that all the tokens were corrupted.
I tried the following

changing the backup password after finding them corrupted.
Uninstalling and reinstalling with a new sync.

Steps To Reproduce
Not sure how to reproduce, it was just like this when i opened it.
Current Behaviour
OTP tokens are corrupted.
Expected Behaviour
The tokens should be available to paste into applications

Same issue here

+1

@trulytribal should be fixed now, for additional context check #13092
@raycastbot close this issue


fix(apple/macos): Install system extension on app launch

Installs the system extension on app launch instead of each time we start the tunnel, as recommended by Apple. This will typically happen when the app is installed for the first time, or upgraded / downgraded.
Changes the completion handler functionality for observing the system extension status to an observed property on the class. This allows us to update the MenuBar based on the status of the installation, preventing the user from attempting to sign in unless the system extension has been installed.

This PR exposes a new, subtle issue - since we don't reinstall the system extension on each startTunnel, the process stays running. This is expected. However, now the logging handle needs to be maintained across connlib sessions, similar to the Android tunnel lifetime.
Expect one or two more PRs to handle further edge cases with improved UX as more testing with the release build and upgrade/downgrade workflows are attempted.

I'd like to not break main so I want to get a fix for the logger in first.

I'll note a couple edge cases that could conceivably trip up non-technical users:

User installs system extension, then disables / removes it while Firezone is running. The menubar will allow initiating sign in but upon doing so, the extension is never started and the app remains signed out. This will only get reset when the user re-launches the Firezone app. NEVPNStatus does change here to invalid so the fix is to listen for a transition to this state and make sure both the VPN permission and system extension are enabled/activated before allowing the user to continue.
User dismisses the Welcome window, but isn't aware that Firezone still needs permissions. Upon opening the Menubar they'll see a prompt to enable the system extension and allow VPN permission but this could possibly be made more prominent.

I'll save these for a followup PR.


no-op: Some changes to Module#< case in updateKnowledge

Motivation

Just wanted to simplify this code a little bit. Check the commits for a play-by-play.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_QZvn2DLoK2x6at
→ https://go/builds/bui_QZvndIAJ5Hwa3s
→ https://go/builds/bui_QZvnwU5Uv1A4u6


DDNS Client Problems

Hello team,
I got my Open Fusion Client to connect to my server using the direct ip address but as it is not static I want to use a DDNS to connect clients to my home server. When I type in my DDNS domain name (just a standard duck DNS domain) the client freezes up when I submit my login information. The server side does not see any incoming connections so I think the client is not parsing the domain properly. Is this a bug or am I missing something?
Thanks for your help

The launcher doesn't currently resolve domain names in the IP field of the server entries. It needs an actual IP address, unfortunately.


Ability to have ignored parameter in prerendered path

https://github.com/sveltejs/kit/issues/1533 was requesting to have an ignored parameter in the path. The parameter is unused on the server-side so they'd like to be able to prerender the page without specifying the parameter, but they'd like to use the parameter on the client-side still in onMount

Lol, my 1000 words in 20. I think the confusion is when I said "parameterized route" I meant actually parameterized, i.e. /tshirt/[size] when size is s, m, l, xl isn't actually parameterized, in my view, that's just 4 routes. I'm going to look into possibly making a new adapter, "adapter-static-dynamic" but a better name of course.

I don't think you can really do this with the existing adapter API. You need support in prerendering which is in the core SvelteKit library

That is true, adapter-static seems to just a lightweight wrapper around util/prerender.

It seems the issue with having an ignored parameter though would be figuring out how it should show up in the URL. You'd want SvelteKit to be able to do that. I'm not quite sure what that'd look like, so I'm going to close this until there's a good proposal for it


Update sample project.

This is part 3 of a 3 part change to implement replication policies. Each of the 3 parts of the implementation of replication policies is in a separate branch.
The following text is common to all 3 PRs.
The 3 branches include:

replication-policies-1: The main code changes implementing replication policies on iOS.
replication-policies-2-doc: Documentation updates.
replication-policies-3-sample-project: Updates to the sample project to add periodic replication when on WiFi.

What?
Add mechanism to enable users to more easily specify the circumstances under which they want replication to occur. This allows relatively simple definition of policies within the constraints of iOS background execution - e.g.:

Do a pull replication every 2 hours;
Do a full sync every hour, but only when we have a Wifi connection;

Why?
Prior to this PR, it was more complicated to implement such policies and replication when the app was suspended was not supported. This aims to update the code to allow it to support the relatively simple configuration of policies by the user.
How?
We need the replication policy management to work within the strict constraints of iOS and to allow background transfers while the app is suspended. This requires that data transfers between the device and server are performed using background sessions.
The code has therefore been modified to configure the NSURLSession using a background session configuration. Background session configurations must use delegates to process responses rather than completion handlers and corresponding changes have therefore been made in the code, making CDTURLSession the delegate handling the responses.
CDTURLSession stores a mapping of the unique identifiers of NSURLSessionTask objects to their corresponding CDTURLSessionTask objects so that processing of the responses can be further delegated to the CDTURLSessionTask that sent the corresponding request.
The new NSURLSessionConfigurationDelegate allows a delegate to be set that enables the user to configure aspects of the NSURLSessionConfiguration - e.g. setting the allowsCellularAccess property to enable/disable use of the cellular data connection.
See the Replication Policies User Guide for further information on how replication policies are implemented.
reviewer @rhyshort
reviewer @tomblench

+1

+1


Upgrade Guava by way of google-cloud-bom

googleapis/google-cloud-java#3980 upgraded Guava (and gRPC/gax) and released version 0.71.
This should address the bulk of Snyk deserialization vulnerabilities.

Codecov Report

Merging #1233 into master will decrease coverage by 6.1%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1233      +/-   ##
============================================
- Coverage     73.54%   67.44%   -6.11%
- Complexity     1275     1311      +36
============================================
  Files           144      186      +42
  Lines          4835     5381     +546
  Branches        516      547      +31
============================================
+ Hits           3556     3629      +73
- Misses         1047     1520     +473
  Partials        232      232

Flag
Coverage Δ
Complexity Δ

#unittests
67.44% <ø> (-6.11%)
1311 <ø> (+36)

Impacted Files
Coverage Δ
Complexity Δ

...mple/src/main/java/com/example/SqlApplication.java
0% <0%> (ø)
0% <0%> (?)

...pubsub/provisioning/PubSubConsumerDestination.java
100% <0%> (ø)
2% <0%> (?)

...le/src/main/java/com/example/VisionController.java
0% <0%> (ø)
0% <0%> (?)

...r/src/main/java/com/example/SenderApplication.java
0% <0%> (ø)
0% <0%> (?)

...ream/binder/pubsub/PubSubMessageChannelBinder.java
81.25% <0%> (ø)
5% <0%> (?)

...-sample/src/main/java/com/example/SinkExample.java
0% <0%> (ø)
0% <0%> (?)

...n/java/com/example/DatastoreRepositoryExample.java
0% <0%> (ø)
0% <0%> (?)

...tastore-sample/src/main/java/com/example/Band.java
0% <0%> (ø)
0% <0%> (?)

...ple/src/main/java/com/example/HelloController.java
0% <0%> (ø)
0% <0%> (?)

...ub/properties/PubSubExtendedBindingProperties.java
100% <0%> (ø)
3% <0%> (?)

... and 32 more

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 c1a7a44...f1fdc4f. Read the comment docs.


Remove dot3d from xe2 skiplist

There is no dot3d failures on LNL, I think we can remove it from xe2 skiplist.

It was reported that they failed on Windows LNL. Is there CI testing for that? @pbchekin @gshimansky

It was reported that they failed on Windows LNL. Is there CI testing for that? @pbchekin @gshimansky

Not yet, but Gregory can test it manually on Windows BMG.

It was reported that they failed on Windows LNL. Is there CI testing for that? @pbchekin @gshimansky

Not yet, but Gregory can test it manually on Windows BMG.

If there are indeed failures, please let me know how to reproduce so I can fix it.

I just checked and all language\test_core.py::test_dot3d* tests passed for me.


[parity] NumberPrompt doesn't take culture into account while parsing value

Versions
v4.5
Describe the bug
See equivalent botbuilder-dotnet issue #2288 for details
Test
    it('should consider culture when parsing.', async function () {
        // Initialize Testawait adapter.
        const adapter = new TestAdapter(async (turnContext) => {
            const dc = await dialogs.createContext(turnContext);

            const results = await dc.continueDialog();
            if (results.status === DialogTurnStatus.empty) {
                await dc.prompt('prompt', 'Please send a number.');
            } else if (results.status === DialogTurnStatus.complete) {
                const reply = results.result.toString();
                await turnContext.sendActivity(reply);
            }
            await convoState.saveChanges(turnContext);
        });
        // Create new ConversationState with MemoryStorage and register the state as middleware.
        const convoState = new ConversationState(new MemoryStorage());

        // Create a DialogState property, DialogSet and NumberPrompt.
        const dialogState = convoState.createProperty('dialogState');
        const dialogs = new DialogSet(dialogState);
        dialogs.add(new NumberPrompt('prompt', null, 'nl-nl'));

        await adapter.send('Hello')
            .assertReply('Please send a number.')
            .send('3,14')
            .assertReply('3,14');
    });

[bug]

Note: it's possible that the issue might be with the js recognizers-text results, as it seems to be recognizing 2 numbers for 3,14 (3 and 14) instead of 1 number (3,14)

Update! After searching for solutions on how to parse strings to numbers in JS with internationalization in mind, settling on using globalize.
Because:

open source & matured to have at least 69 contributors
only 1 dependency (Unicode Consortium's Common Locale Data Repository - CLDR)
browser and Node.js compatible
uses MIT license

So with this, we'll be able to use the culture specified by the user to properly parse numbers from strings (e.g. '3,14' => 3.14 for es-es culture)


don't mutate globals from module prefix code

Fixes #31. If the rootVar exists as a global on window, the module prefix code should clone that object into the local version of the namespace, but not mutate the global.

Thanks a lot for your PR. I'll check it as soon as I can (hopefully tonight).

Looks good, merged it. Will create a new release now.


add myself to credits because pro

cat

“cat mrrp :3”
-you probably

“cat mrrp :3” -you probably

mrrp :3


Using local browser javascript runtime instead of webcontainers

Is your feature request related to a problem? Please describe:
Webcontainers seems pretty and slow when using oTToDev and it's quality is subpar to the one on Bolt.dev
Describe the solution you'd like:
Please replace the webcontainer runtime with a local one so the project doesn't rely on proprietary node.js browser runtime.
Describe alternatives you've considered:
Maybe upgrade from node.js to something like bun for performance?
Additional context:
I am not a frontend webdev nor have any experience regarding it, but I started experimenting with AI tools like these to see what is already possible with AI. After researching a bit about how Bolt works I cam across the underlying system actually running everything -> Webcontainers. On the bolt.new site everything works fine and fast, but when locally hosting this repo a lot of errors appear and webcontainer doesn't seem stable. I looked if there was anything similar open source and I came across: https://github.com/Sandpack/nodebox-runtime
Not sure if that's similar enough.

Example of how it doesn't even render anything. So far my experience with oTToDev has been pretty bad. I only got something to work with static html content although I instructed it to use Next.js with shadcn and typescript. I don't know if things are just generally buggy with me locally or it's a broader issue.

Additionally, it always fails to create a next.js with shadcn environmeny, without exception.
Then it just continues writing files into the directory without stopping because the command failed.


Workbench Integration

Preview the package without loading it inside a Laravel project by running composer run serve:

@crynobone this is awesome! thank you 🙏


Change from acacia to other wood type

Basically the title, since we got the new cherry wood type, I might want to try play with it, they have the chance of spawning a bee nest but that can be removed in the datapack to, make it an option.
I might be dumb for not knowing why exactly acacia is used for this, but I just think the wood is very ugly.

But you can change acacia tree to whatever tree you want by yourself...
Just create the world->log in to it in creative->change the tree->Change your gamemode and you're good to go
DIY moment


Add step_size to Window transformer

@dmitriy-serdyuk I don't fully understand the errors for python3.4 build. It seems it failed downloading some files, but I don't know how to fix it.  Could you give me a hint please?


refined liquids name?

trn_pass_road_LDV_4W,refined liquids transport,Car,,,1
trn_pass_road_LDV_4W,refined liquids transport,Large Car and Truck,,,1
trn_pass_road_LDV_4W,refined liquids transport,Mini Car,,,1
inst/extdata/mappings/transport_final_en_map.csv
I'm trying to understand what's going on here. If I understand this correctly, from GCAM 6 to GCAM 7, are you changing the "refined liquids" names into several different products? Is this supposed to be different from the standard GCAM 7 release?
More generally, I think the current structure could benefit from "other" category. If the left join can't find the exact fuel name, sector name, etc. then it should automatically stuff them in the "other category". Then the user would know where to fix it.
Otherwise, slightly different fuel names and sector names would simply disappear (e.g. refined liquids vs refined liquids transport), and unsuspecting user would report with missing data. We could also put in a checksum at the end to make sure the total final energy matches the sum of final energy. (These are good ideas, but @russellhz can tell you that I lack skills to implement it).
Thanks!
CC: @coreanjs @AhmedM27

Hi @d3y419 ,
Thank you for your post! The issue you are encountering is due to a special study mapping modification that has been merged (by mistake) to the core version of the pkg. We will try to fix it ASAP, as well as to implement your suggestions :)
Keep you posted,
Best,
Clàudia

Hi @d3y419 ,
Sorry for the delay. We have just fixed the transport_final_en_map.csv map. In line with the "other" category you suggested, we are working on a new pkg version that checks and warns the users of possible errors when joining datasets or performing other manipulations. Hope to have it soon!
Best,
Clàudia
CC: @coreanjs @AhmedM27

Awesome! You are the best!


Fi Hints

Adds Fi as a hint source

She holds gossip stone hints, and hints are placed on her first before filling any remaining stones
They may be accessed from her menu (Information -> Hints)

Since no complete alternative has been given for how to implement these, I'll mark this as ready for review rather than draft.

Has been tested in many seeds with different settings (blitz tourney settings, mine and Muzu's co-op settings, co-op + tadtones, co-op + tadtones - cubes) and seems to hold up well.
I've also genned a few logs with some more extreme settings to see how the edge cases are handled.
Seeds with no locations excluded seem to work. However, the always and sometimes hints take precedence over the path hints. Genning a seed with 3 or more dungeons required and no locations excluded only gives 2 path hints. Not sure if this is the intended compromise.
Seeds with no dungeons, no batreaux, beedle cheap, all the always and sometimes hinted locations excluded, all starting items works fine. You get 2 barren hints and the rest are filled with random hints.
Not sure what the concerns with the implementation details were so I can't comment on those.
tl;dr: always and sometimes(?) hints take priority over path hints which can lead to fewer path hints than required dungeons (in extreme settings). Otherwise, it works great :p


./start.sh: Permission denied

~/G/S/glasnost % docker ps -a | grep glasnost
1655650571a7        ontofractal/glasnost   "/bin/sh -c ./star..."    4 minutes ago       Exited (126) 4 minutes ago                                                    glasnost_glasnost_1
b3d489a1e2b0        postgres               "docker-entrypoint..."    4 minutes ago       Up 4 minutes                 <IP_ADDRESS>:5411->5432/tcp                           glasnost_pg_1
~/G/S/glasnost % docker logs<PHONE_NUMBER>a7
/bin/sh: 1: ./start.sh: Permission denied

This is both for docker image and build from Github.
Looks like the file permissions aren't set right, chmod +x start.sh fixes it.

Yep, that's a bug. Fixed.


New "--fix (-f)" mode to auto-correct violations

This PR add a new "--fix (-f)" mode who will launch phpcbf (PHP Code Beautifier and Fixer) instead of phpcs, who will automatically fix all violations.

:+1:


Merge pull request #1 from pmndrs/main

Merge from pmndrs:main

It says I'm one commit ahead after I merged changes via a pull request. Can you please just merge this so it doesn't say my branch is ahead?


Turtle code implementation when generating html multi page does not work

When generating html multi page, the generation of the turtle code implementation fails with the
error "Error: Pygmentize Failed".
I have had a look at the code and in the file core/viz_factory.py in line 235, the method "serialize"
is called for an object of type OntoProperty. Its superclass RDF_entity has a method "rdf_source" that
by default returns the turtle representation of the object. I have patched the code so this method
is called instead and this fixes the problem.

About #12: turns out I already have it
>pip install pygments
Requirement already satisfied: pygments in c:\users\vladimir.alexiev\appdata\local\programs\python\python35\lib\site-pac
kages (2.2.0)

@lambdamusic could you make a release with @bejar's fix?
Cheers!

Thanks for the feedback. I've updated a library ontodocs relies on and that caused the error (@bejar well spotted!)
Now fixed: https://github.com/lambdamusic/Ontodocs/pull/18
The new version is available on Pypi


Create tasks for Like

The question is: Like or Add to Favorites or both?

Does that mean, we "just" plan to have Like? Or do we want to implement "Dislike" as well?
--> Up/Down-Votes?

@atamankina  I am wondering the same as @stbrand  - are we just going to implement "like" or also upvote and downvote functionality?


What ListShares() should return?

By the Interface that manipulates shares on Reva side we know:
ListShares(): returns the shares created by the user.
It looks strange to me, that to pass the nextcloud tests while using server requests, we need to return the same info as we do for a single share, with GetShare() for example.

Oh, but read carefully!

GetShare returns {"id":{},"resource_id":{},"permissio...
ListShares returns ``[{"id":{},"resource_id":{},"per...`


word wrap and correct indentation for 'bullet points'

I'm looking for ways to create bullet points with natepad2mod using for example '-'
When having word wrap on, I want notepad2-mod  to indent wrapped lines under the 'bullet', so for example if I have a long line starting with a 'bullet'

this is a very long line that spills over

I want the first word that spills over to indent under the 't' of 'this' and not in the beginning
can this be done?

Check Settings -> Word wrap settings. Not sure if it's possible to do what you want.


Simplify the concept of a "Recipe": No inheritance. No assembling them from multiple pieces spread across many locations

Recipes are currently called "profiles" until #13 is complete
Remove any notion of recipes extending or inheriting from one another. This includes removing any mention of the "default" recipe, a concept which will no longer exist.
Remove any notion of recipes being defined in pieces across many places and merged together based on having the same name
No recipe should be executed unless the user has configured it as being among the active recipes via build tool plugin

Done in this commit


Artifactory HA upgrade issue, existing set up have docker-compose volume, Nginx and MySql db

Hi Jfrog Team,
I'm trying to upgrade Artifactory HA 6.15.1 to 7.7.3, current set up have docker-compose with bind mount volume, Nginx and MySql external database.
Please share, if you have any troubleshooting steps or any docker-compose module with Nginx and MySql.
Looking forward your help .

Hey @sumitsingh306 Did you check the procedure here. https://www.jfrog.com/confluence/display/JFROG/Upgrading+Artifactory#UpgradingArtifactory-DockerUpgradedockerupgr6
This has a section on docker volume.

Hi Prasanna,
Sorry for delay response.
Yes, I have gone through above procedure but still we are getting error - 'Masterkey is missing ...pinging artifactory'
As I gone through all the relevant document of Artifactory for migration from 6.x to 7.x, its seems that very poor instruction
7x have lots of changes in compare to 6x but upgrade documentation is very messy, no clear cut steps.
After reading both 6x and 7x document I feel 6x HA upgradation procedure is very nitty-gritty in comparison to 7x.


Check openssl version and add appropriate defines

I like these changes, but there are some minor points that should be addressed. How is boringssl versioned? Is it possible that finding boringssl could still end up with OPENSSL_IS_OPENSSL3 getting set?

borinssl defines OPENSSL_IS_BORINGSSL itself, so they will both be set.


No KMS traces

I'm not seeing KMS service calls in my traces, despite wrapping the KMS client with xray.AWS().
I noticed the SDK has a whitelist that does not include KMS. Is it up to me to add KMS, etc to a custom whitelist in my code? Would you consider adding it to the default whitelist?

Hi nzoschke,
The default whitelist defines the call parameters to capture from AWS API calls, as some parameters may contain sensitive data. The calls themselves (service, time, API) should always be recorded.
Can you tell me which version you're using and provide a small snippet so we can try and reproduce the issue on our end?
Thank you!
Sandra

I'm using 1.0.0-rc.1. Here's a snippet:

func KMS() *kms.KMS {
	cfg := &aws.Config{
		Region: aws.String("us-east-1"),
	}

	sess, err := session.NewSession(cfg)
	if err != nil {
		panic(err)
	}

	c := kms.New(sess)
	xray.AWS(c.Client)
	return c
}

func Handle() {
	out, err := KMS().EncryptWithContext(ctx, &kms.EncryptInput{
		Plaintext: b,
		KeyId:     aws.String(id),
	})
	if err != nil {
		return nil, errors.WithStack(err)
	}
}

Hi nzoschke,
I have been unable to reproduce the issue. Here's the KMS subsegment generated:
 "subsegments": [
  {
   "id": "a72a9316a2f76085",
   "name": "kms",
   "start_time":<PHONE_NUMBER>.3725019,
   "end_time":<PHONE_NUMBER>.7610471,
   ...
   },
   "namespace": "aws",
   "http": {
    "response": {
     "status": 400,
     "content_length": 56
    }
   },
   "aws": {
    "operation": "Encrypt",
    "region": "us-east-1",
    "request_id": "xxxxxxxxxxxx",
    "retries": 0
   },
   "subsegments": [ ... ]
  }

Here's the (modified) code I used:
func KMS() *kms.KMS {
  sess, err := session.NewSession(&aws.Config{ Region: aws.String("us-east-1") })
  if err != nil {
    panic(err)
  }

  c := kms.New(sess)
  xray.AWS(c.Client)
  return c
}

func Handle(ctx context.Context) string {
  out, err := KMS().EncryptWithContext(ctx, &kms.EncryptInput{
    Plaintext: []byte("secret"),
    KeyId:     aws.String(KEY_ID),
  })
  if err != nil {
    return errors.WithStack(err).Error()
  }

  return out.GoString()
}

func main() {
  namer := xray.NewFixedSegmentNamer("MyApp")

  http.Handle("/", xray.Handler(namer, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    out := Handle(r.Context())
    w.Write([]byte(out))
  })))

  http.ListenAndServe(":8000", nil)
}

In the original code, I did not see how you were accessing the ctx for the KMS().EncryptWithContext call. Here I'm just pulling it off the request object (r.Context()) and passing it in.
If you set LogLevel to "trace" and post the results here, I'd like to see what the X-Ray SDK logs in the background.

Closing this at the moment - comment and I can reopen if any further issues are seen.

Sorry for the delay, but I finally reviewed my code and do see KMS traces. Sorry for the false alarm and thanks for looking into it.


No way to clear credentials?

Unfortunately my time was off on my computer by one hour for some reason, and now it looks like I'll have to wait for 12 hours to clear the invalid credentials before I can use the command line again?

The MFA credentials are stored at ~/.aws/mfa_credentials. You can delete that file and run aws-mfa again fetch new credentials.

I'm going to close this issue for now. Please let us know if my previous suggestion doesn't solve the issue for you.


Rewind body stream before returning response

Before returning the response body stream needs to be rewind due to L98 loggin it.
Add Transit service from violuke/vault-php-sdk
Add version as const and apply it to url inside Client

Thanks! :)


ImportError: cannot import name 'AgentA2C' from 'elegantrl.agent'

I am referring to the notebook FinRL_PaperTrading_Demo.ipynb, running on Ubuntu installed on Windows 11.
When running the following:
from finrl.train import train
from finrl.test import test
from finrl.apps.config import DOW_30_TICKER
from finrl.apps.config import TECHNICAL_INDICATORS_LIST
from finrl.neo_finrl.env_stock_trading.env_stocktrading_np import StockTradingEnv
from finrl.neo_finrl.env_stock_trading.env_stock_papertrading import AlpacaPaperTrading
from finrl.neo_finrl.data_processor import DataProcessor
from finrl.plot import backtest_stats, backtest_plot, get_daily_return, get_baseline

import numpy as np
import pandas as pd

I get the following error:
ImportError                               Traceback (most recent call last)
<ipython-input-1-44bcb75bf543> in <module>
----> 1 from finrl.train import train
      2 from finrl.test import test
      3 from finrl.apps.config import DOW_30_TICKER
      4 from finrl.apps.config import TECHNICAL_INDICATORS_LIST
      5 from finrl.neo_finrl.env_stock_trading.env_stocktrading_np import StockTradingEnv

~/code/finrl/finrl/train.py in <module>
      1 import ray
----> 2 from finrl.drl_agents.elegantrl.models import DRLAgent as DRLAgent_erl
      3 from finrl.drl_agents.rllib.models import DRLAgent as DRLAgent_rllib
      4 from finrl.drl_agents.stablebaselines3.models import DRLAgent as DRLAgent_sb3
      5 from finrl.neo_finrl.data_processor import DataProcessor

~/code/finrl/finrl/drl_agents/elegantrl/models.py in <module>
      1 # RL models from elegantrl
      2 import torch
----> 3 from elegantrl.agent import AgentDDPG, AgentPPO, AgentSAC, AgentTD3, AgentA2C
      4 from elegantrl.run import Arguments, train_and_evaluate
      5

ImportError: cannot import name 'AgentA2C' from 'elegantrl.agent' (/root/programs/miniconda3/lib/python3.7/site-packages/elegantrl/agent.py)

Any help would be appreciated.

Have you installed the newest version of ElegantRL? I have tested FinRL_PaperTrading_Demo.ipynb on Colab and didn't reproduce the error. You may try to install the newest version of ElegantRL and see if this issue is fixed.

I am also having a problem with
from elegantrl.run import * not loading
How do I load the new version into colab?

I am also having a problem with from elegantrl.run import * not loading
How do I load the new version into colab?

Which notebook are you using? We have updated the codes to be compatible with the newest version of ElegantRL in FinRL. But some notebooks may not be updated yet.

FinRL_PaperTrading_Demo.ipynb
from rayrui312 Update notebook Latest commit 2ce2794 15 days ago
at https://github.com/AI4Finance-Foundation/FinRL/blob/master/FinRL_PaperTrading_Demo.ipynb

FinRL_PaperTrading_Demo.ipynb
from rayrui312 Update notebook Latest commit 2ce2794
https://github.com/AI4Finance-Foundation/FinRL/commit/2ce2794e48ffdd93ee3745789cb1a05f2e5f97fb
15
days ago
at
https://github.com/AI4Finance-Foundation/FinRL/blob/master/FinRL_PaperTrading_Demo.ipynb
Tom
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&
11/22/21,
09:56:36 AM
On Mon, Nov 22, 2021 at 9:27 AM rayrui312 @.***> wrote:

I am also having a problem with from elegantrl.run import * not loading
How do I load the new version into colab?
Which notebook are you using? We have updated the codes to be compatible
with the newest version of ElegantRL in FinRL. But some notebooks may not
be updated yet.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AI4Finance-Foundation/FinRL/issues/347#issuecomment-975755801,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3IYUHA3XALEWVAK57CTRDUNJ4RDANCNFSM5IHTODAQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Is easyrtc possible to combine Temasys WebRTC Plugin?

I'm not sure may I can ask these problems;
I have read that Temasys WebRTC Plugin bring support for webRTC to Desktop versions of Safari and IE.
I have tried it with easyrtc.
But I can't the good result.
So is it possible to combine with Temasys WebRTC Plugin?

I am sure there you are not the only one thinking about this!

We have successfully added support for the plugin to our easyrtc installation:
Take Teamsys' Adapter.js (https://github.com/Temasys/AdapterJS) and use this instead of the adapter.js code that is included at the top of the "api/easyrtc.js" file. It works great for us.

I have tested again but still it doesn't works.
I took Teamsys' Adapter.js(exactly publish/adapter.debug.js) and replaced with top of api/easyrtc.js(adapter.js of easyrtc).
When I test with "demo_audio_video_simple.html", it works in Chrome.
In IE, I get "Unspecified error." in
var rectObject = element.getBoundingClientRect(); of easyrtc.js.
I get same result in other demos of easyrtc.

I remember seeing the problem before when I tried using a plugin before.
The getBoundingClientRect isn't from the easyrtc.js, it's from the temasys adapter.js that you've inserted into it.
My fuzzy memory is that one of the things you have to do before you use the demos with the temasys plugin is move

rats, lost part of my comment: the rest was:
My fuzzy memory is that one of the things you have to do before you use the demos with the temasys plugin is move the script tag that pulls in easyrtc.js from the  section to just before . The temasys plugin rewrites the DOM body when it is run and if it is in the header, the body won't be defined yet.

I have checked again. Indeed, we had to adopt adapter.js slightly. As Eric writes, Teamsys rewrites the DOM body. Once you pass the new "object" element to "attachMediaSource" neither "element.className" nor "element.getBoundingClientRect()" are available. Here's the diff:
841a842,844
>     	if (!element || !element.parentNode) {
>     		return;
>     	}
848a852,854
>           if (classHTML == '') {
>         	  classHTML = (element.attributes && element.attributes['class']) ? 'class="' + element.attributes['class'].value + '" ': '';
>           }
855a862
>
859c866,877
<           var rectObject = element.getBoundingClientRect();
---
>           var height = "";
>           var width = "";
>           if (element.getBoundingClientRect) {
>         	  var rectObject = element.getBoundingClientRect();
>         	  width = rectObject.width + 'px';
>               height = rectObject.height + 'px';
>           }
>           else if (element.width) {
>         	  width = element.width;
>         	  height = element.height;
>           }
>
862,863c880,881
<           frag.width = rectObject.width + 'px';
<           frag.height = rectObject.height + 'px';
---
>           frag.width = width;
>           frag.height = height;


[Feature] Code Coverage Indicators

First of all, thank you for this awesome plugin!
It would probably be a lot of work, but it would be great to have code coverage indicators ala Wallaby.js:

When executing your tests and code, Wallaby calculates code coverage to identify which statements of your code have been executed and which statements have not.
Code coverage for your application code is displayed in the left margin of your editor and is updated in real-time. As soon as you start changing your code, the coverage will be automatically updated.

*https://wallabyjs.com/docs/intro/coverage.html#editor-code-coverage-indicators
What the coverage indicators mean:

Gray: if you see a gray square next to a line of code, it means that the line of code is not covered by any of your tests.
Yellow: if you see a yellow square next to a line of code, it means that the line of code is only partially covered by your tests.
Green: if you see a green square next to a line of code, it means that the line of code is covered by at least one of your tests.
Pink: if you see a pink square next to a line of code, it means that the line of code is on the execution path of a failing test.
Red: if you see a red square next to a line of code, it means that the line of code is the source of an error or failed expectation, or in the stack of an error.

I am achieving this by using https://github.com/andythigpen/nvim-coverage. You can setup custom arguments for your test runner to export coverage data and then just display it. E.g. for Go I am doing this:
local nt = require("neotest")
local cov = require("coverage")

cov.setup()
nt.setup({
  adapters = {
    require("neotest-go")({
      args = { "-coverprofile=coverage.out" },
    }),
  },
})

and then I run
nt.run.run(vim.fn.getcwd())
cov.load(true)


BioModel Discussion Issue for eos6hy3

Summary !!!

BioModel Name: Zeng2022 -  Prediction of molecular properties and drug targets using a self-supervised learning framework for HIV

BioModel Tag: fair AIML, Machine learning model, Ersilia

Metadata Comments:
This publication is the same as eos4cxk, and the same rules that applies to eos4e40 and eos9f6t can apply here, right?

Contributor:

roles
Names

Curator
@Zainab-ik

Code contributor
@DhanshreeA

Reviewer
@GemmaTuron

Curation status :  manually curated

Annotation file: here

I do not understand the sam rule? What do you mean by that?
The paper indeed uses the same architecture with several datasets and we have implemented each model independently, if that is what you are referring to

Hi @Zainab-ik Where do you see that the modle uses MACCS keys?

@GemmaTuron
To clarify, is MACCS Keys different from MACCS fingerprint?
There' a mention of a model using MACCS fingerprint that was compared with Image-Mol.
Oh, it was used in the model pretraining.

ah I see in the methods. MACCS keys are fingerprints


Feature/update events

You can now update info about events, query for user events by day, update user profiles, find an event by a user id and event title, and retrieve user info. Everything from a database integration pov should be working on the backend now.

Looks good


Delay in pausing/removing the animation

It seems there is a delay in stopping the animation when I am using anim.pause() or anime.remove(targets)

It's probably caused by the way you start your animation, see: https://codepen.io/juliangarnier/pen/RRKpgq
And I can't help you without a live example


support progress bars for iroh add command

initial phase where it scans directories, with scrollbar. (if adding a directory)
then per file, an individual scrollbar. This wants to use some kind of multi scrollbar approach
in the API we want to support getting progress information if we opt into it

We don't want to see the scrollbars if we're executing this in a script.
This looks like a good place to start:
https://docs.rs/indicatif/latest/indicatif/
I split off this issue from #270 as it's complicated enough to deserve its own.

Ah, #263 is already there, so will go there.


⚠ Roblox Site has degraded performance

In a8ddfdd, Roblox Site (roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 3579 ms

Resolved: Roblox Site performance has improved in 7375084 after 1 hour, 2 minutes.


Add detailed tutorial for Webhook Integration with DiceDB in the DiceDB doc

Develop a comprehensive tutorial for the DiceDB documentation that provides step-by-step instructions on integrating webhooks with DiceDB. This tutorial should guide users on how to set up webhooks from external services to DiceDB, demonstrate real-time reactivity with QWATCH, and illustrate how to build reactive applications based on incoming webhook data.

Depends : #553

@rahulbansal3005 thanks for contributing, assigned.

Hello @rahulbansal3005,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

Hello @rahulbansal3005,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

Hello @rahulbansal3005,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.


Support for images NOT on docker hub?

Trying to extract an image hosted somewhere other than docker hub, and getting:
root@frigate:~# ./docker-image-extract ghcr.io/blakeblackshear/frigate:stable
Getting multi-arch manifest list...
No image digest found. Verify that the image, ref, and platform are valid.

root@frigate:~# ./docker-image-extract ghcr.io/blakeblackshear/frigate:stable-amd64
Getting multi-arch manifest list...
No image digest found. Verify that the image, ref, and platform are valid.

I suspect this is our problem:
# https://docs.docker.com/docker-hub/api/latest/#tag/repositories
manifest_list_url="https://hub.docker.com/v2/repositories/${image}/tags/${ref}"

Would be great to be able to target an image somewhere other than docker hub.

Yeah, it would be helpful if that was configurable. We would like to use our Gitlab Dependency Proxy to cache images.

I can probably make some changes for GHCR support at least, but out of curiosity, what are you guys using this script for? I mainly wrote this script for use cases where installing Docker wasn't feasible, but if it is, the real tools are going to be more robust.

The "real" tools are mostly more bloated. :) We need it for vaultwarden, which recommends using docker-image-extract for when running docker isn't feasible. It's a ridiculous workflow and I'd prefer for vaultwarden to just provide binaries directly, but until that happens, docker-image-extract is faster and easier to implement than adding another containerization layer to our CI.

I wanted to unpack Frigate, so I could build it into an LXC container.  It moved to ghcr.io/blakeblackshear/frigate:stable


import  ControlNetModel_Union error

from diffusers.models import AutoencoderKL, ControlNetModel, ControlNetModel_Union, UNet2DConditionModel
ImportError: cannot import name 'ControlNetModel_Union' from 'diffusers.models' (/root/miniconda3/envs/controlplus/lib/python3.8/site-packages/diffusers/models/init.py)
All packages follow requirements, diffusers==0.27.2.
I can't find ControlNetModel_Union in google or diffusers doc.

You should git clone this repo, and use the above code to import ControlNetModel_Union, as the arichtecture is new, diffusers have not merge it.

My code clone from here in yesterday.
This error occurs in pipeline_controlnet_union_sd_xl.py.
Please check the code！
Traceback (most recent call last):
File "controlnet_union_test_openpose.py", line 11, in
from pipeline.pipeline_controlnet_union_sd_xl import StableDiffusionXLControlNetUnionPipeline
File "/mnt/WujieAITeam/private/xtj/ControlNetPlus/pipeline/pipeline_controlnet_union_sd_xl.py", line 30, in
from diffusers.models import AutoencoderKL, ControlNetModel, ControlNetModel_Union, UNet2DConditionModel
ImportError: cannot import name 'ControlNetModel_Union' from 'diffusers.models' (/root/miniconda3/envs/controlplus/lib/python3.8/site-packages/diffusers/models/init.py)

it 's a bug, you could fix the code of pipeline_controlnet_union_sd_xl.py, don't import ControlNetModel_Union from  diffusers.models, but import it from models.controlnet_union

OK, I understand it. I will fix it soon.

My code clone from here in yesterday. This error occurs in pipeline_controlnet_union_sd_xl.py. Please check the code！ Traceback (most recent call last): File "controlnet_union_test_openpose.py", line 11, in from pipeline.pipeline_controlnet_union_sd_xl import StableDiffusionXLControlNetUnionPipeline File "/mnt/WujieAITeam/private/xtj/ControlNetPlus/pipeline/pipeline_controlnet_union_sd_xl.py", line 30, in from diffusers.models import AutoencoderKL, ControlNetModel, ControlNetModel_Union, UNet2DConditionModel ImportError: cannot import name 'ControlNetModel_Union' from 'diffusers.models' (/root/miniconda3/envs/controlplus/lib/python3.8/site-packages/diffusers/models/init.py)

Thank you for you reporting, I update the code, now you can try it again. Any questions just ask me.

still i'm getting this error
`%cd ControlNetPlus
import os
import cv2
import torch
import random
import numpy as np
from PIL import Image
from diffusers import AutoencoderKL
from diffusers import EulerAncestralDiscreteScheduler
from models.controlnet_union import ControlNetModel_Union
from pipeline.pipeline_controlnet_union_sd_xl import StableDiffusionXLControlNetUnionPipeline
/kaggle/working/ControlNetPlus
ImportError                               Traceback (most recent call last)
Cell In[1], line 10
7 from PIL import Image
8 # from diffusers import AutoencoderKL
9 # from diffusers import EulerAncestralDiscreteScheduler
---> 10 from models.controlnet_union import ControlNetModel_Union
11 from pipeline.pipeline_controlnet_union_sd_xl import StableDiffusionXLControlNetUnionPipeline
File /kaggle/working/ControlNetPlus/models/controlnet_union.py:22
19 from torch.nn import functional as F
21 from diffusers.configuration_utils import ConfigMixin, register_to_config
---> 22 from diffusers.loaders import FromOriginalControlNetMixin
23 from diffusers.utils import BaseOutput, logging
24 from diffusers.models.attention_processor import (
25     ADDED_KV_ATTENTION_PROCESSORS,
26     CROSS_ATTENTION_PROCESSORS,
(...)
29     AttnProcessor,
30 )
ImportError: cannot import name 'FromOriginalControlNetMixin' from 'diffusers.loaders' (/opt/conda/lib/python3.10/site-packages/diffusers/loaders/init.py)`

It seems to be the version in your diffusers, please check it.

I just checked the 0.27.2 version

The FromOriginalControlNetMixin should be in the  /your anaconda path/anaconda3/envs/diffusers/lib/python3.8/site-packages/diffusers/loaders/init.py file.
please first check it!

OK, I understand it. I will fix it soon.

I try to use from ..models.controlnet_union import ControlNetModel_Union, but occurs ValueError: attempted relative import beyond top-level package error, so try to from models.controlnet_union import ControlNetModel_Union, import succeed.
However, continuing to run the code will cause it to get stuck and there will be no error messages, and it will also be impossible to use the debugger. After investigation, it was found that when the program reaches the line controlnet_model = ControlNetModel_Union.from_pretrained("xinsir/controlnet-union-sdxl-1.0", torch_dtype=torch.float16, use_safetensors=True), the aforementioned issue occurs.
This is running “python controlnet_union_test_anime_lineart.py” on linux terminal.

This is debugging on vscode.

OK, I understand it. I will fix it soon.

I try to use from ..models.controlnet_union import ControlNetModel_Union, but occurs ValueError: attempted relative import beyond top-level package error, so try to from models.controlnet_union import ControlNetModel_Union, import succeed. However, continuing to run the code will cause it to get stuck and there will be no error messages, and it will also be impossible to use the debugger. After investigation, it was found that when the program reaches the line controlnet_model = ControlNetModel_Union.from_pretrained("xinsir/controlnet-union-sdxl-1.0", torch_dtype=torch.float16, use_safetensors=True), the aforementioned issue occurs. This is running “python controlnet_union_test_anime_lineart.py” on linux terminal.  This is debugging on vscode.

It may be the network connecting problem, long time no output, you can download the https://huggingface.co/xinsir/controlnet-union-sdxl-1.0 models first, and change the "xinsir/controlnet-union-sdxl-1.0" in your scripts to the local path you put the model, such as /home/xinsir/models/controlnet-union-sdxl-1.0, hope it can help you!

Checking the network by using curl  to access Google and Hugging Face is not a problem, and downloading the VAE and Scheduler also goes smoothly. Could the issue be related to the from_pretrained method that is being inherited?

Have you fix it?

My own offline test scripts is also used in this way, I just download the models and change the path to local path, it works well.

Have you fix it?  My own offline test scripts is also used in this way, I just download the models and change the path to local path, it works well.

Thank you for your response. I have also successfully loaded controlnet-union-sdxl-1.0 using the local path, so the from_pretrained("xinsir/controlnet-union-sdxl-1.0") seems to have a clear bug. Currently, I don't know how to fix it. If it cannot be fixed temporarily, I hope the source code can be modified to load it locally or it can be mentioned in the readme.

JohnsonXi @.***> 于2024年7月11日周四 17:11写道：

Have you fix it? [image: image]
https://private-user-images.githubusercontent.com/128811208/347444193-09e899ee-3566-47f7-a4c5-8c4e4d3eecc1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2ODkyMTcsIm5iZiI6MTcyMDY4ODkxNywicGF0aCI6Ii8xMjg4MTEyMDgvMzQ3NDQ0MTkzLTA5ZTg5OWVlLTM1NjYtNDdmNy1hNGM1LThjNGU0ZDNlZWNjMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxMVQwOTA4MzdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iMGU1ODIyYWYxOGNlMzhhYjBhMTNkMDFiZjg2NjEwMzI5ZGNkZDkzN2ZmMTlkY2Y1NWJjMGIxNmIwOWE5MmE5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.9f1-UIbF6px7FgdiFrCfwMRaJK9GHLSTVfT6fkHJmvU
My own offline test scripts is also used in this way, I just download the
models and change the path to local path, it works well.
Thank you for your response. I have also successfully loaded
controlnet-union-sdxl-1.0 using the local path, so the
from_pretrained("xinsir/controlnet-union-sdxl-1.0") seems to have a clear
bug. Currently, I don't know how to fix it. If it cannot be fixed
temporarily, I hope the source code can be modified to load it locally or
it can be mentioned in the readme.
—
Reply to this email directly, view it on GitHub
https://github.com/xinsir6/ControlNetPlus/issues/7#issuecomment-2222420742,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6WYBSCFN77U52EJHLWDGLTZLZD25AVCNFSM6AAAAABKR5DZUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRSGQZDANZUGI
.
You are receiving this because you commented.Message ID:
@.***>

Have you fix it?  My own offline test scripts is also used in this way, I just download the models and change the path to local path, it works well.

Thank you for your response. I have also successfully loaded controlnet-union-sdxl-1.0 using the local path, so the from_pretrained("xinsir/controlnet-union-sdxl-1.0") seems to have a clear bug. Currently, I don't know how to fix it. If it cannot be fixed temporarily, I hope the source code can be modified to load it locally or it can be mentioned in the readme.

I just re-clone my project and run it from the start, it indeed exists the import error like that:

but when it run below, the xinsir/controlnet-union-sdxl-1.0 is downloaded correctly like that:

I fix the relative import Error and push it to the main branch, but I still don't know why your model get stacked in downloading, so I guess this may not be a certain issue and I can't reproduct it. Thank your for you reporting! Hope you can use it well-off。

It's possible that others may be facing the same problem as me with the download issue, and the problem may be related to the server being used. After successfully importing the model, there are no new bugs, and I'm currently testing different cases. I found that the control effect is quite good. I previously thought that too many independent controlnets would be a hassle, and I had considered the possibility of having a more unified controlnet. I didn't expect you to implement this so quickly, and the effect is also good. This is truly an impressive piece of work. In the future, you could consider integrating with other open-source communities. Thank you for your effort! Best wishes!

Thank you for your approva!! I will do my best to achieve good models for opensource community! Perhaps someday I will open a company, hope those of you can come and support,  it would be my pleasure to let you enjoy it.

I can't wait to see your products, and I hope to see your name on the AIGC elite ranking.

Thank you for your approval! I will do my best to achieve good models for opensource community! Perhaps someday I will open a company, hope those of you can come and support, it would be my pleasure to let you enjoy it.

if anyone faces the problem with FromOriginalControlNetMixin you can replace it with FromOriginalModelMixin everywhere in this code base, and then reaplce from diffusers.models.unet_2d_blocks import with from diffusers.models.unets.unet_2d_blocks import and everything would work on the latest diffusers version


Upgraded Linters configuration and updated missing dependencies

The purpose of this PR is to cleanup a bit the configuration setup of eslint, prettier and typechecking in general.
Previous config was setup based on Nuxt@2 using the old .eslintrc.json format which now is migrated over to eslint.config.mjs "Flat Config". So since we are now on Nuxt@3 the following changes were made:

@nuxt/eslint module was used as this is the proposed path in the newer versions of nuxt.

Updated eslint to version 8.57 (the breaking change is actually on version 9.x but was introduced as experimental from 8.45 so due to other peer dependencies we stick to 8.57 for now).

Updated nuxt.config.ts to include the @nuxt/eslint module (this produced a set of sensible defaults under ./nuxt/eslint.config.msj to extend from based on nuxt's community subjective conventions of best practices.

packageManager field on package.json was added in order to has as much less diffs when developing as possible. (previously even though we were using<EMAIL_ADDRESS>and we were already including yarn.lock this field was getting added everytime you run yarn build or yarn dev so its better to commit this change as well and also upgrade to<EMAIL_ADDRESS>and update .gitignore to exclude the install-state.gz file that yarn produces which is relevant for the local development and doesnt need to reside inside the repo.

yarnrc.yml was updated to include nodeLinker in order to support developer with node-modules (in case someone uses npm)

The intention of this PR is to cleanup the general development configuration, simplify it and make it more consistent across similar projects.
Everything should work the same in terms of functionality and only Development experience should be better

IDEs should use volar as their LSP not vetur which is for vue2
Red-line errors on auto-imports should be gone now
npx nuxi typecheck should be used for type checking across the project. Eventually should be added by default on the build time to achieve better type-safety (can be skipped for now until type errors are resolved).

P.S. yarn.lock is also committed since the PR specifically addresses dependencies resolutions and updates, hence the big change of lines

LGTM


Not all VM kinds support startup-config

From a testing/usability perspective, it would be awesome if all of the VM kinds would support a startup config.
Going through the code briefly, here's where it looks like is currently supported or not supported

Kind
startup-config Support

Nokia SROS
Yes

Arista vEOS
No

Juniper vMX
Partial

Juniper vQFX
Yes

Cisco XRv
No

Cisco XRv9k
No

Cisco CSR
No

Cisco Nexus
No

Cisco Nexus 9000v
No

Dell FTOS10v
No

Mikrotik RouterOS
Yes

Palo Alto PAN
No

IPInfusion OcNOS
No

Checkpoint Cloudguard
No

From looking at the code, it looks like vMX has support in Containerlab (doesn't look like it in hellt/vrnetlab).
Things Needed for Containerlab:

[ ] Code for all "No" nodes
[ ] Update Documentation

This won't fully allow all nodes to load a startup config as changes will need to be done on the hellt/vrnetlab and/or boxen end to actually do something with the config file

This is something I can take on/be assigned.
I see this as being 1 PR to add the code and then separate PRs to update the documentation once the vrnetlab/boxen portion gets updated.

Hi @nlgotz
currently most (like 90%) of non-sros vrnetlab images uses the following technique to deliver the stratup-config functionality:

containrelab refers a file which contains CLI based lines
vrnetlab code opens this file and pushes it line by line when the node applies it default config (like here)

are you planning on using this one?

Yep. I was planning on basically copy/pasting how it's done in the vmx/vqfx go files and then in vrnetlab loading it line by line.
I may redo the RouterOS one as well so that it uses the same method and doesn't require tftp or anything like that to load configs. But that'd be lower on my priority list as it's already working

ok, cool
on clab side that can be a single PR (with docs) after the relevant parts are merged into vrnetlab
you will be able to create a clab binary with those changes without releasing it, so you can test vrnetlab part

#977 fixes most of the nodes with the exception of a few:
vrnetlab:

Dell FTOS - I'm working on trying to get a workable image. Shouldn't be difficult as the CLI is very Cisco like
Palo Alto PAN - I don't have access to an image

I haven't done/am unable to do much with Boxen as the builds fail before any sort of modification, making it impossible to test/validate

Updated #977 to include Dell FTOS as I was able to get it working and tested

these changes has been merged into 0.31.1
thank you

Just tested with Cisco CSR and it doesn't seem to work, what am I missing? I do see the config directory created under the node's name and my custom config copied into it as startup-config.cfg however none of the config is applied to the node.
I do see in the debug DEBU[0000] node 'node2-2' generated config: with my custom config, but that's it. I don't see any errors either.

@achurak
have you re-generated the csr image using the latest hellt/vrnetlab master branch?

@achurak have you re-generated the csr image using the latest hellt/vrnetlab master branch?

Nope, but now that you say this it does make sense I need to regenerate the image, might make sense to add a small note in the release notes or the documentation. Thanks!

@achurak have you re-generated the csr image using the latest hellt/vrnetlab master branch?

Nope, but now that you say this it does make sense I need to regenerate the image, might make sense to add a small note in the release notes or the documentation. Thanks!

closing as delivered


[FEAT] Please add completion for zsh

Be sure to read FAQ before submitting a new issue.
Wanted features:
fastfetch has a vast number of options available, it would be much easier to traverse around these options with tab completion instead of opening the man page over and over.
Motivation:
currently fastfetch has completion support for fish shell with proper description beside each option, having the same completion with zsh would be awesome.

You can try carapace-bin https://github.com/carapace-sh/carapace-bin

@CarterLi i noticed that a python script being used to generate the completions for fish shell, can't the same be done for zsh. carapace-bin looks interesting, but i would prefer native shell completion.

i noticed that a python script being used to generate the completions for fish shell, can't the same be done for zsh

You still need to know the syntax of zsh script to generate the completions.
You can try it yourself if you have interest. fastfetch --help-raw prints a JSON document that contains all command line options. All you need to do is parse the JSON document and generate zsh completion command

Since fastfetch has a --help option, you can add this line to your .zshrc file and it will have completion:
compdef _gnu_generic fastfetch


rename org to stolostron

Signed-off-by: xuezhaojun<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/18746

/assign @skeeey

/lgtm


Always issue cannot find name did-you-mean error

This PR issues "cannot find ${name}, did you mean ${name}" errors for identifiers and propery access expressions in JS files without // @ts-check and without // @ts-nocheck. This brings some benefits of Typescript's binder to all Javascript users, even those who haven't opted into Typescript checking.
export var inModule = 1
inmodule.toFixed() // errors on exports

function f() {
    var locals = 2
    locale.toFixed() // errors on locals
}
var object = {
    spaaace: 3
}
object.spaaaace // error on read
object.spaace = 2 // error on write
object.fresh = 12 // OK, no spelling correction to offer

To disable the errors, add // @ts-nocheck to the file. To get the normal checkJs experience, add // @ts-check.
Why This Works
In a word: precision. This change has low recall — it misses lots of correct errors that would be nice to show — but it has high
precision: almost all the errors it shows are correct. And they come with a suggested correction.
Here are the ingredients:

For unchecked JS files, the compiler suppresses all errors except two did-you-mean name resolution errors.
Did-you-mean spelling correction is already tuned for high precision/low recall, and doesn't show many bogus errors even in JS.
For identifiers, the error is suppressed for suggestions from global files. These are often DOM feature detection, for example.
For property accesses, the error is suppressed for suggestions from other files, for the same reason.
For property accesses, the error is suppressed for this property accesses because the compiler doesn't understand JS constructor functions well enough. In particular, it doesn't understand any inheritance patterns.

Results
I tested on a random sampling of 1000 single files in a fully installed clone of Definitely Typed. I didn't get any interesting false positives.
I also tested on all the typescript user tests that are written in TS. There, the results informed the above rules. I got the following results
Good

minimatch: Found a 9-year-old bug in untested code that has never worked.

Bad

grunt: Didn't understand grunt's convenience require wrapper.
debug: Didn't produce an index signature for a loop in a setup function that copies properties from one object to another.
Uglify-JS: Didn't understand post-initialisation addition of properties to a very large object — because the object was large, the compiler suggested a similar name already in it.

Work Remaining

Code cleanup.
Fix a couple of failures in existing tests.
(maybe) Suppress errors on property access suggestions from large objects.
Combine (3) and (4) above to suppress errors on suggestions only from global files that are not the current file.
A little more testing on random files to make sure that precision is still good there.
Have people from the regular Code editor meeting test the code and suggest ideas.

Future Work
I think there are a lot of other errors that we can issue in JS with enough precision. My next step is to find them and test them.
Fixes #41582

@typescript-bot pack this

@typescript-bot pack this

@DanielRosenwasser you'll have to test this locally; I found that the playground always has checkJs: true for JS files,
(It's a great default since it shows off our JS checking, but makes it impossible to test this PR.)

After talking to @DanielRosenwasser, I'm going to merge this as-is, with the error messages as slight variants of the originals.
As I add errors to plain JS, better error display will become more important — for this PR, errors are hardly visible with Code's default suggestion UI — so we're going to investigate improved type display next. As part of that, I expect to learn how the error messages should change.


Set current week in the first week

I want to set the current week as the first row of the month view. It's is possible to done with this lib?

That's not possible at the moment. Alternatively, you can disable days in the past.


Delete JAVA.png image.

delete the JAVA.png image

Hi. Can I please get this assigned to me?

Can you assign me this


Java multiple files option, protoc-gen-sdk options

Codecov Report

Merging #795 (67ac958) into main (519126c) will decrease coverage by 78.39%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main     #795       +/-   ##
=============================================
- Coverage     93.98%   15.58%   -78.40%
- Complexity        0       73       +73
=============================================
  Files            28      133      +105
  Lines          1030    38578    +37548
  Branches          0     4499     +4499
=============================================
+ Hits            968     6011     +5043
- Misses           62    32024    +31962
- Partials          0      543      +543

Impacted Files
Coverage Δ

...dentials/templates/v1/CredentialTemplatesGrpc.java
16.19% <0.00%> (ø)

dart/lib/src/proto/sdk/options/v1/options.pb.dart
53.52% <0.00%> (ø)

...ib/src/proto/services/provider/v1/provider.pb.dart
6.84% <0.00%> (ø)

...ib/src/proto/services/common/v1/common.pbenum.dart
25.00% <0.00%> (ø)

...ifiablecredentials/templates/v1/TemplatesGrpcKt.kt
0.00% <0.00%> (ø)

python/trinsic/provider_service.py
78.12% <0.00%> (ø)

python/samples/ecosystem_demo.py
96.15% <0.00%> (ø)

...vices/universal-wallet/v1/universal-wallet.pb.dart
7.01% <0.00%> (ø)

...c/main/java/trinsic/services/common/v1/Common.java
9.30% <0.00%> (ø)

go/services/service_base.go
59.72% <0.00%> (ø)

... and 95 more

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 519126c...67ac958. Read the comment docs.

The proto changes should be submitted to the backend first, as the automation will overwrite the ones in this repo.

This looks fine to me, with the caveat that I haven't used options like this enough to have an understanding of any potential unintended consequences.
Also, there was some discussion about just always including an oberon header if auth data was present - the backend will handle appropriately.

This looks fine to me, with the caveat that I haven't used options like this enough to have an understanding of any potential unintended consequences.

Compilation is verified on my machine. That part isn't an issue.

Also, there was some discussion about just always including an oberon header if auth data was present - the backend will handle appropriately.

I'm not opposed to this solution to the "inject metadata" problem, but in the event that we don't want to go the shotgun approach, this would enable it.

Closed as duplicate of https://github.com/trinsic-id/sdk/pull/797