How can I add hash to the route?

Is it possible to add hash-fragment to breadcrumb route? Ex. /product/{id}#photos

Right now, it's not possible.
It'll be easy to implement this feature but do you really need it?

Yes, I was. I hardcoded breadcrumbs for this certain page.

It would be nice if the breadcrumb could define the path parameters.
{{ path('some_path', {param1: 'foo', param2: 'bar'}) }}

If these parameters could be sent via the Breadcrumb annotation, that would really be powerfull:
@Breadcrumb('translation_key', route='some_path', arguments={param1: book.name, param2.book})

@rvanlaak this ? https://github.com/Abhoryo/APYBreadcrumbTrailBundle/blob/master/Resources/doc/annotation_configuration.md#routes-with-parameters

Ah awesome, the merge of #26 passed me before placing that comment :+1:


Consumer resource labels

https://confluentinc.atlassian.net/browse/CLIENTS-1854

@kirktrue - Thanks for the reviews! Back at you!


Update faq.mdx fix typo

🚀 Deployed on https://666b96f5273aa9e2ea03b4f8--cozy-fox-0defec.netlify.app


<IP_ADDRESS>/10 not recognized as private ip space

When using sonyflake on a host with an IP address in the <IP_ADDRESS>/10 space, a nil is returned.
The isPrivateIPv4 function does not recognize IP in <IP_ADDRESS>/10 as private IP addresses.
Found this bug when using sonyflake in an app running on Kubernetes with Calico as an overlay network. Calico uses IP addresses from the <IP_ADDRESS>/10 space for its pods.

isPrivateIPv4 does not handle <IP_ADDRESS>/10 because it is not private address space but shared address space.
You can give custom MachineID to handle <IP_ADDRESS>/10.
https://github.com/sony/sonyflake#usage
Sonyflake's machine ID is 16-bit wide. So please care about duplicate machine ID.


minority and majority stats return non-serializable types

minority and majority both return <type 'numpy.float32'> and give an error when trying to run json.dumps():
TypeError: 14.148893 is not JSON serializable

You probably already know this, but in case it helps:
json library doesn't like numpy types.  Just cast those to python float before calling json.dumps()

Thanks @brendan-ward That was definitely the issue. Strange that numpy scalars don't automatically cast to their respective python types when serialized... but explicit casting to float works for this particular case.


Add RHODS documentation tiles

This adds 2 tiles to the documentation section: "Learn how to Launch Red Hat OpenShift Data Science" and "Learn about Red Hat OpenShift Data Science Resources"
https://issues.redhat.com/browse/RHODS-3176

This probably requires product approval/ specific timing to be merged.

FYI @tiffanynolan

FYI @tiffanynolan

Thanks for sharing this. I'll check with the BU on the timing of the release of these and post here once I hear back.


Set project_update_interval to 0 causes Sublime Text to Hang

If you set it to 0, and try to open some Sublime Text context/menu, Sublime Text will hang for ever. But if you open your settings file \User\Javatar.sublime-settings with another program and reset that setting to something else as 1000, it stops Sublime Text from hanging.
I also noticed a increased disk usage, about 2 MB/s from reading.
    // Time interval to update project data for restoration (in milliseconds)
    "project_update_interval": 0,

That's expectable. I'd mark this as minor since it's not practical and make no sense to set this that extreme. Also, there's another option just for enable/disable the feature separately.

Well, when I set it to 0 I was expecting it to disabled it self, as 0 does not make any sense as a valid setting.


Implement Bot API 3.3

Hi @atipugin,
I have made Bot API 3.3 updates.
This one is tricky. Now we have a circular dependency between Chat and Message.
I found Virtus documentation about that.
However Virtus complains about namespaced types,

Virtus needs inflecto gem to constantize namespaced constant names (NotImplementedError)

so we should use inflecto 😐
I have tested it in console, it seems to work fine.

Thanks very much @ivanovaleksey for your work !


OpenAI usage

Hi, I would like to know how to get information about the OpenAI usage from Agents. I mean, how could I know the tokens used by each Agents.
I need to know that for being able to estimate the cost of the solution.
Thanks!

You can use langchain for that.

I added at the end of the crew run
result = {{crew_name}}.kickoff()
metrics={{crew_name}}.usage_metrics
return (result, metrics)
And captured on the calling side like
(result, metrics) = custom_crew.run()


Debug drawing cylinder

Add functionality to display cylinders to the debug drawing manager. Also render physics cylinders in editor.
Fixes #727

SonarQube analysis reported 13 issues

 13 minor

Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 RenderManager.cpp#L488: The function 'GetAnimations' is never used.
 RenderManager.cpp#L506: The function 'GetDirectionalLights' is never used.
 RenderManager.cpp#L525: The function 'GetLenses' is never used.
 RenderManager.cpp#L545: The function 'GetMaterials' is never used.
 RenderManager.cpp#L563: The function 'GetMeshes' is never used.
 RenderManager.cpp#L582: The function 'GetPointLights' is never used.
 RenderManager.cpp#L604: The function 'GetSpotLights' is never used.
 ScriptManager.cpp#L552: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L755: Variable 'json' is assigned a value that is never used.

SonarQube analysis reported 13 issues

 13 minor

Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 RenderManager.cpp#L493: The function 'GetAnimations' is never used.
 RenderManager.cpp#L511: The function 'GetDirectionalLights' is never used.
 RenderManager.cpp#L530: The function 'GetLenses' is never used.
 RenderManager.cpp#L550: The function 'GetMaterials' is never used.
 RenderManager.cpp#L568: The function 'GetMeshes' is never used.
 RenderManager.cpp#L587: The function 'GetPointLights' is never used.
 RenderManager.cpp#L609: The function 'GetSpotLights' is never used.
 ScriptManager.cpp#L553: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L756: Variable 'json' is assigned a value that is never used.

SonarQube analysis reported 12 issues

 12 minor

Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 RenderManager.cpp#L493: The function 'GetAnimations' is never used.
 RenderManager.cpp#L511: The function 'GetDirectionalLights' is never used.
 RenderManager.cpp#L530: The function 'GetLenses' is never used.
 RenderManager.cpp#L550: The function 'GetMaterials' is never used.
 RenderManager.cpp#L568: The function 'GetMeshes' is never used.
 RenderManager.cpp#L587: The function 'GetPointLights' is never used.
 RenderManager.cpp#L609: The function 'GetSpotLights' is never used.
 ScriptManager.cpp#L553: The function 'ClearBreakpoints' is never used.
 ScriptManager.cpp#L816: The function 'GetStringDeclarationID' is never used.


Basicnat dispatch

This is a PR just for discussing things.

Cc @lukego if he has any thoughts on whether this is a good, mediocre, or terrible idea

New diff drops fragmented ip packets and ip packets that aren't going to be natted.  It also handles packet data and length better.  I think it shows how a comprehensive dispatch can make for a clearer filter application, for a firewall or for a munging app, and makes the transition between the two more continuous.

New diff updates for pfmatch language changes


fix 2 typos

I'm going to have to leave this un-merged for a little bit while we sort some copyright/legal stuff related to the project, but thanks for the fixes, we'll get them in as soon as we can.

roger

What is the status on this?

Thanks @tombuckley! This pull request relates to the simulation framework bits of the documentation, which have been moved over to the orca repository.  I'll re-open these typo edits as a pull request over there.


Display all crawled dev container features

Features are crawled based on the collection indexed added in https://github.com/devcontainers/devcontainers.github.io/pull/24
Those references are then injected into the website at build time with the new GitHub build action.
NOTE: When this is merged, the "source" found in the Pages settings  on this repo will need to be changed from 'Deploy from a Branch' to 'GitHub Actions'

Looks good!
One quick question: The static/.keep file -- is that file deployed as part of the generated site or is it somehow ignored? Do we need to check in that file or can we just generate the static directory on-the-fly during the build?

The test deploy I have (http://joshspicer.com/containers-website/static/.keep) just 404s


Is properties here a tuple or a dict

In this line properties is being used as a dict as its deleting the value from the dict
https://github.com/quantumjot/BayesianTracker/blob/45edd65672db60ac32eba918bc3c31564685dd2e/btrack/_localization.py#L210-L212
but at the top of segmentation_to_objects it is typed as a tuple
https://github.com/quantumjot/BayesianTracker/blob/45edd65672db60ac32eba918bc3c31564685dd2e/btrack/_localization.py#L146

Related #57


ENG-1639 Switch to Newest workflow on Run

Describe your changes and why you are making these changes
This PR loads the most recent workflow in the workflow details page after the user triggers a workflow from the UI.
This PR contains work that I did while trying to resolve ENG-1639.
It's adjacent, yet still doesn't solve the bug in 1639.
Loom Demo:
https://www.loom.com/share/92c68f4c437d48b7bed39d13d037d8e5
Related issue number (if any)
ENG-1639
Checklist before requesting a review

[x] I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
[x] I have performed a self-review of my code.
[x] I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
[x] If this is a new feature, I have added unit tests and integration tests.
[x] I have run the integration tests locally and they are passing.
[x] I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
[x] All features on the UI continue to work correctly.
[x] Added one of the following CI labels:

run_integration_test: Runs integration tests
skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

Looks good beside some clarifications!
I'm curious why some artifacts looks succeeded while upstream operators are still in-progress? I guess there's some race condition on how we fetch artifact and operator states

@likawind yes, that was part of the bug i originally set out to figure out. The issue here is most likely because the artifact and operator results that we are caching locally are keyed by their artifact and operator id, not the artifact result and operator result id.

@likawind updated to add try/catch and an error message if fails:
  const handleSuccessToastClose = async () => {
    setShowSuccessToast(false);

    try {
      await dispatch(handleGetWorkflow({ apiKey: user.apiKey, workflowId }));
      await dispatch(handleLoadIntegrations({ apiKey: user.apiKey }));
      dispatch(selectResultIdx(0));
      navigate(`/workflow/${workflowId}`, { replace: true });
    } catch (error) {
      setErrorMessage(`We're having trouble getting the latest workflow. Please try refreshing the page.`);
      setShowErrorToast(true);
    }
  };


Scene selection highlighting doesn't appear to be working in screengrab app

I have a number of post launch scripts that attempt to do things like:
script.context()["ui:scene:selectedPaths"] = IECore.StringVectorData( [ "/geoGro
up/sphereA" ] )

in the hope that the specified items will appear highlighted in the resulting screengrabs.
Currently there is no selection highlighting going on, yet no sign of any error messages.
Executing that same command in a normal gaffer gui session works fine.
Changing the order in which the commands are executed after launch doesn't appear to have any effect.

Closing this, since the screengrab app now has a scene.selectedPaths parameter that provides this functionality.


AMBARI-23150 Configurations attributes reset after running Add Service wizard

How was this patch tested?
21523 passing (31s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1013/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1021/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1062/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1101/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1135/
Test FAILed.
Test FAILured.

Ambari Web passed, build fails due to fails in Ambari Server.


Use ChangeDetectionStrategy.OnPush in BodyCell component

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Need to rebase :(.
Does it work with the previous issue I reverted it to?

Yeah, it should work with the previous issue.

Although right now you made bodycell dependent on state, so we'd need to refactor the whole thing a bit to accomplish that ( https://github.com/swimlane/angular2-data-table/pull/144/commits/d16833172189d4fec4a18f959b9bbb5407775f96#diff-6c5fe72c2cab8659bc1ddbfa686ed2f9R29 ).

I think we could set that property via the parent or pass it down and it would be fine.

Closing this given comments above.


fix: Make profile use GroupRepository for listing group memberships

I've searched through the repository for more usages of 'groupmanager' now and couldn't find any, so this should be fine now :)


[1.10.2] Cannot use Configurator to remove anything when shield is equipped.

I couldn't figure out why I couldn't remove the universal cables using the configurator until I tried removing my shield from its slot and then the configurator started working.

Pretty sure that the shield overrides the right-click functionality of the main hand.  I'm afraid there's not much I can do :/


Control cancel URL before callAPI

Why not make a check for Cancel URL from this method :
public function setCancelUrl in file paypal/express_checkout/process.php
with this function : $url = Tools::secureReferrer($url);
Because for now it's possible to change Cancel URL without any checks.
Best regards
F

Hello !
Thank you for your message.
The fix will be available in the version 3.14.3. It will be published soon on addons prestashop.
Have a nice day !
Best regards,


MOKIT load issue

Hi I compiled MOKIT(gnu + openblas/mkl) and PySCF on the cluster using exactly the same env (python, gnu, blas...)
I can run the bas_fch2py name.fch without any error. And no issue when running PySCF as well.
However, I always encounter error when I try to load the module in python script for example:
from mokit.lib.gaussian import load_mol_from_fch, mo_fch2py

I always get the following error message:
  File "/********/SCF/qchem/qchem1.py", line 1, in <module>
    from mokit.lib.gaussian import load_mol_from_fch, mo_fch2py
  File "/********/MOKIT/mokit/lib/__init__.py", line 13, in <module>
    from mokit.lib.qchem import *
ImportError: /********/MOKIT/mokit/lib/qchem.cpython-311-x86_64-linux-gnu.so: undefined symbol: GOMP_loop_nonmonotonic_dynamic_start

I wonder if it is a compatibility issue so that I tried to compile MOKIT on the login and computing nodes, unfortunately it does not work. Could anyone give me some solutions for it? Thanks!

Which python are you using ( from anaconda, or from system, or ...)? If you are using anaconda's python, could you show the output of conda info and conda list?

Python was installed via conda
conda info:
     active environment : my_env
    active env location : /***/miniconda3/envs/my_env
            shell level : 2
       user config file : /***/.condarc
 populated config files : /***/.condarc
          conda version : 23.10.0
    conda-build version : not installed
         python version : 3.9.18.final.0
       virtual packages : __archspec=1=skylake_avx512
                          __glibc=2.28=0
                          __linux=4.18.0=0
                          __unix=0=0
       base environment : /***/miniconda3  (writable)
      conda av data dir : /***/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/omnia/linux-64
                          https://conda.anaconda.org/omnia/noarch
          package cache : /***/miniconda3/pkgs
                          /***/.conda/pkgs
       envs directories : /***/miniconda3/envs
                          /***/.conda/envs
               platform : linux-64
             user-agent : conda/23.10.0 requests/2.31.0 CPython/3.9.18 Linux/4.18.0-553.5.1.el8_10.x86_64 rocky/8.10 glibc/2.28 solver/libmamba conda-libmamba-solver/23.11.0 libmambapy/1.5.3
                UID:GID : 2510508:2510508
             netrc file : None
           offline mode : False

conda list (for my_env):
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
blas                      1.0                    openblas
bzip2                     1.0.8                h5eee18b_6
c-ares                    1.19.1               h5eee18b_0
ca-certificates           2024.7.2             h06a4308_0
cmake                     3.26.4               h96355d8_0
denspart                  0.0.post124              pypi_0    pypi
expat                     2.6.2                h6a678d5_0
h5py                      3.11.0          py311h865a13c_0
hdf5                      1.12.1               h2b7332f_3
importlib-resources       6.4.0                    pypi_0    pypi
iniconfig                 2.0.0                    pypi_0    pypi
krb5                      1.20.1               h143b758_1
ld_impl_linux-64          2.38                 h1181459_1
libcurl                   8.7.1                h251f7ec_0
libedit                   3.1.20230828         h5eee18b_0
libev                     4.33                 h7f8727e_1
libffi                    3.4.4                h6a678d5_1
libgcc-ng                 14.1.0               h77fa898_0    conda-forge
libgfortran-ng            11.2.0               h00389a5_1
libgfortran5              11.2.0               h1234567_1
libgomp                   14.1.0               h77fa898_0    conda-forge
libllvm14                 14.0.6               hdb19cb5_3
libnghttp2                1.57.0               h2d74bed_0
libopenblas               0.3.21               h043d6bf_0
libssh2                   1.11.0               h251f7ec_0
libstdcxx-ng              14.1.0               hc0a3c3a_0    conda-forge
libuuid                   1.41.5               h5eee18b_0
libuv                     1.48.0               h5eee18b_0
libxc-c                   6.2.2            cpu_h1b64f48_4    conda-forge
llvmlite                  0.43.0          py311h6a678d5_0
lz4-c                     1.9.4                h6a678d5_1
mpmath                    1.3.0                    pypi_0    pypi
ncurses                   6.4                  h6a678d5_0
numba                     0.60.0          py311h4bc866e_0    conda-forge
numpy                     1.26.4          py311h24aa872_0
numpy-base                1.26.4          py311hbfb1bba_0
openssl                   3.0.14               h5eee18b_0
packaging                 24.1                     pypi_0    pypi
pip                       24.0            py311h06a4308_0
pluggy                    1.5.0                    pypi_0    pypi
pybind11-abi              4                    hd3eb1b0_1
pylibxc                   6.2.2           cpu_py311h4b67847_4    conda-forge
pytest                    8.3.2                    pypi_0    pypi
python                    3.11.9               h955ad1f_0
python_abi                3.11                    2_cp311    conda-forge
qc-grid                   0.0.5a6.post654          pypi_0    pypi
readline                  8.2                  h5eee18b_0
rhash                     1.4.3                hdbd6064_0
scipy                     1.13.1          py311h24aa872_0
setuptools                72.1.0          py311h06a4308_0
sqlite                    3.45.3               h5eee18b_0
sympy                     1.13.1                   pypi_0    pypi
tbb                       2021.8.0             hdb19cb5_0
tk                        8.6.14               h39e8969_0
tzdata                    2024a                h04d1e81_0
wheel                     0.43.0          py311h06a4308_0
xz                        5.4.6                h5eee18b_1
zlib                      1.2.13               h5eee18b_1
zstd                      1.5.5                hc292b87_2

Things may be problematic when mixing the dependency from default channel and conda-forge channel. For example, you have libgomp from conda-forge and libgfortran, numpy from default. Compiling MOKIT should be fine in pure conda-forge or pure default environments. Since you have enabled conda-forge channel, you can try to conda create -n xxx -c conda-forge python=3.9 numpy to create an env with pure conda-forge libraries.

still I have the same error, but I will ask the technician of the cluster to fix this. Thanks again for your help. I will follow the solution once I figure it out.

A few suggestions:

have you checked conda list in the new environment to make sure everything come from conda-forge?
the old compiled objects should be cleaned when you switch to a new environment.

Since it looks like your conda have access to network, you can install mokit from conda, which is much more easier than compiling manually. See our documentation


Hello World app in tutorial fails to open

Hi, I am trying to figure out why I get stopped part way through the tutorial and my hello world app doesn't load. The window comes up but it says not responding and I have to force it closed. I have downloaded the dependencies and followed the tutorial to the letter. Any suggestions?

I have the same problem

The BeeWare tutorial includes instructions for macOS, Linux, Windows and iOS; and there are multiple versions of Python that are supported too. Unless you tell us about your specific circumstances, it's almost impossible to identify the source of problems. Even the statement "partway through" isn't helpful - how far is "partway"?
The only thing I can advise at present is that if you're running Windows and Python 3.8, what you're described is known behaviour. The tutorial explicitly advises against using Python 3.8 on Windows, but this still seems to catch a lot of people.
If this doesn't describe your situation, then provide more details and we can see if we can help.

Closing as an almost certain duplicate of #64.


New version: cmlanche.lightningvine version 2.7.0+270

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -2147012867
2024-11-25 05:54:22.675 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\DODownloader.cpp(267)\WindowsPackageManager.dll!00007FFFA5EFA384: (caller: 00007FFFA5EFAD01) Exception(1) tid(1768) 80D02002
2024-11-25 05:54:44.485 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(122)\WindowsPackageManager.dll!00007FFFA5EF395E: (caller: 00007FFFA5EF5C49) Exception(2) tid(1768) 80072EFD     Msg:[InternetOpenUrl() failed.]
2024-11-25 05:54:44.487 [CLI ] Failed to download, waiting a bit and retry. Url: https://sdtpub.s3.bitiful.net/publish/2.7.0/sdt-2.7.0-windows-installer.exe
2024-11-25 05:55:45.106 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\DODownloader.cpp(267)\WindowsPackageManager.dll!00007FFFA5EFA384: (caller: 00007FFFA5EFAD01) Exception(3) tid(1768) 80D02002
2024-11-25 05:56:06.296 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(122)\WindowsPackageManager.dll!00007FFFA5EF395E: (caller: 00007FFFA5EF5C49) Exception(4) tid(1768) 80072EFD     Msg:[InternetOpenUrl() failed.]

Automated error analysis suggests -2147012867 may mean Network or Firewall Error.
Automated error analysis suggests 80072EFD may mean The operation timed out.
Automated error analysis suggests 80D02002 may mean The operation timed out.
(Automated response - build 899.)

Hi @SpecterShell,
The PackageUrl leads to another domain. Is there a page with this InstallerUrl?

Hi @SpecterShell,
The PackageUrl leads to another domain. Is there a page with this InstallerUrl?

https://sdt.zishu.life/appcast.xml

Thanks for helping me to satisfy the requirement.


Asset registry pallet

what I saw from many parachain teams is that every parachain team build/is building an asset registry pallet for foreign assets, this is not good for polkadot because we are re-inventing the wheel multiple times, altough there maybe gaps to build an asset registry for all but still want to throw my thoughts here

The one used by Acala includes a lot of Acala specific features so not suitable as a generic reusable pallet. However it should be possible to extract some of the features into a new pallet to put here.
However I would like to gather more inputs from various teams first.

@GopherJ thank you so much for raising this. Coincidently I asked this very same question on the builder's call yesterday
Totally agree!
More and more chains will want to implement each other's assets and we need a best practice defined to avoid rework
I suggest we define a clear goal for a pallet that can be imported to your runtime and give you an easy way to import assets from other chains
In addition, we need a guide to ensure future teams implement it in the same way
Essentially something like https://github.com/substrate-developer-hub/substrate-node-template/  but for importing assets. I see a guide has already started which includes a pallet example of an exchange
That helps but as a new chain, my first question would be "how do I allow users on my chain to use $aUSD/$IMBU/$BNC"
Ideally, I would want a clear guide on how to do that
The teams using ORML can each contribute to it meaning anyone implementing it can easily import all the assets of chains using this pallet
In an ideal world you can just import the pallet, add/comment out a few lines of code and you now have that asset usable on your chain
I am more than happy contributing to this guide too

Refs:

https://github.com/PureStake/moonbeam/tree/master/pallets/asset-manager
https://github.com/AcalaNetwork/Acala/tree/master/modules/auction-manager
https://github.com/parallel-finance/parallel/tree/master/pallets/asset-manager

Hi,
We in HydraDX / Basilisk also use our own asset-registry pallet.
https://github.com/galacticcouncil/warehouse/tree/main/asset-registry
Our Asset registry pallet requirements would be as follows. This is basically what our asset-registy does.

adding new assets dynamically
auto assign ids to new newly added asset - we use sequential ids ( this might be challenging to do as general approach as other projects might need to explicitly specify asset id )
different type of assets
existential deposit / min balance.
location of an asset - used for foreign assets where it is required to specify MultiLocation and it is used to resolve location to asset in xcm.
custom metadata

Hi,
We in HydraDX / Basilisk also use our own asset-registry pallet.
https://github.com/galacticcouncil/warehouse/tree/main/asset-registry
Our Asset registry pallet requirements would be as follows. This is basically what our asset-registy does.
* adding new assets dynamically

* auto assign ids to new newly added asset - we use sequential ids ( this might be challenging to do as general approach as other projects might need to explicitly specify asset id )

* different type of assets

* existential deposit / min balance.

* location of an asset - used for foreign assets where it is required to specify MultiLocation and it is used to resolve location to asset in xcm.

* custom metadata

I guess the tricky bit will be to determine what part to make customizable, and what part to provide by default. One valid approach is to go the extreme, and make all data customizable, i.e. to have some associated type AssetMetadata, and have the pallet only be responsible for providing getters/setters for this AssetMetadata, and for associating AssetMetadata with some ID.
Another approach is to provide some data by the default, and have only the non-standard part be customizable. So to have this by default:

existential deposit
multilocation
number of digits
name
symbol

And have a CustomMetadata associated type, where chains could put e.g.

fee per second (some chains might not use a static value for this)
type of asset (some chains may only have one type of foreign asset)

Hi,
We in HydraDX / Basilisk also use our own asset-registry pallet.
https://github.com/galacticcouncil/warehouse/tree/main/asset-registry
Our Asset registry pallet requirements would be as follows. This is basically what our asset-registy does.
* adding new assets dynamically

* auto assign ids to new newly added asset - we use sequential ids ( this might be challenging to do as general approach as other projects might need to explicitly specify asset id )

* different type of assets

* existential deposit / min balance.

* location of an asset - used for foreign assets where it is required to specify MultiLocation and it is used to resolve location to asset in xcm.

* custom metadata

I guess the tricky bit will be to determine what part to make customizable, and what part to provide by default. One valid approach is to go the extreme, and make all data customizable, i.e. to have some associated type AssetMetadata, and have the pallet only be responsible for providing getters/setters for this AssetMetadata, and for associating AssetMetadata with some ID.
Another approach is to provide some data by the default, and have only the non-standard part be customizable. So to have this by default:

existential deposit
multilocation
number of digits
name
symbol

And have a CustomMetadata associated type, where chains could put e.g.

fee per second (some chains might not use a static value for this)
type of asset (some chains may only have one type of foreign asset)

I think your second approach makes more sense to me to be honest. IMHO the whole point of the registry is to add consistency and guide people on where to start, you want a few things defined.
Teams that want a completely customisable experience can just do what virtually everyone is doing now, i.e. writing their own
But I think most teams would be happy to reuse the existing definitions.
Happy to be corrected here though, but the engineer in me thinks we keep it as simple as possible and adding default values achieves that

I made a PoC in https://github.com/open-web3-stack/open-runtime-module-library/pull/728 - please comment there with feedback

Implemented in #728


CMD+A (Mac) does not select all text in the key column of headers, assertions or vars

When amending the headers, assertions or vars of a request, the user cannot use CMD+A to select all text in the key column (left-most column).
This is inconsistent with the value column where CMD+A can be used to select all text.
https://user-images.githubusercontent.com/47242934/226096387-9f4443f1-3838-4c9d-9026-acaccbfa7dd8.mov

Workaround:  The user can use the the mouse or CMD+SHIFT+ARROW to select the key text.

At the risk of overloading this issue, I've noted that CMD+A is also ignored on dialogs for creating / renaming requests.

Need to hunt down this issue which is only affecting mac users.
Also, we need to make the select dropdowns blend well with the dark mode.
Both of these are good first issues for anyone in the community to pick up.

I want to work on this!!

Hey @vishnuroshan
That'd be great!
He are instructions to getting it run on local
https://github.com/usebruno/bruno/blob/main/docs/development.md
If you need help, please ping in the dev channel on our Discord

Finally, this issue has been fixed. The solution was to update the menu template to include selectall.
Looking forward to get this out in the upcoming v0.15.0 release

At long last Bruno Version 0.15.0 happily bids adieu to this issue 🎉 🎉


Terminal font rendering in vscode is blurry  | vs code 1.62.1 with Intel HD Graphics 630 driver <IP_ADDRESS>55

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.62.1
OS Version: Windows 11 21H2 22000.318

Terminal font rendering in vscode is blurry  | vs code 1.62.1 with Intel HD Graphics 630 driver <IP_ADDRESS>55
vs code

windows terminal

the rendering is only blurry in the terminal in vs code

does changing terminal.integrated.gpuAcceleration help?


Render Error in android emulator

Problem
Coming from here
One way to get this warning is - in the development emulator:
Not a steps that a regular user could follow:

Open App
Go to the settings page
Overwrite the hasCompletedGuidedSetupFlowSelector(onboarding function to return false

this is mainly developer experience improvement as it is misleading and slowing down the developers if they run into issues like this
Solution
Make sure we cannot run into this warning

SWM will work on this

Hi, I will take care of that 👋

thanks!

Checking this again, I'm not exactly sure how I reproduced the bug but either way making the function platform specific should do

$125 to @s77rt as it was just an emulator DX improvement

Looks like the PR went to staging so once it's on prod I'll set a start timer on the payment hold.

The PR that introduced the bug has been identified: https://github.com/Expensify/App/pull/45327
The offending PR has been commented on: https://github.com/Expensify/App/pull/45327#discussion_r1794093817
A discussion in #expensify-bugs has been started: Not needed
Determine if we should create a regression test for this bug: No

It's $125 ^

@s77rt - Okay, I've updated the price in the payment summary above and I see your checklist responses. Feel free to request in New Expensify.

$125 approved for @s77rt

This is all paid, closing now.


remove scam label from address

Hello XLM explorer team!
My name is Janna and I represent the Scalable team which is a tech solutions provider for HitBTC. We are taking care of all development and maintenance for HitBTC.
We have a problem - our address is marked as SCAM connected account for some reason according to your explorer:
https://stellar.expert/explorer/public/account/GD5NP74FP22VVRVPUFWONJVXTMK64R4Y6EEJZYW6JNKDTPK4TR6HR6OT
Can you please help us and remove it asap? It confusing our users.

Hello Janna,
@orbitlens can correct my mistake. It is a wallet that many scammers had funneled stolen XLM through, and since there were not any memos and it was not tagged as a HitBTC wallet I mistakenly Tagged it as a "Serial SCAM Minter's connected account".
@orbitlens can you change the tag to HitBTC exchange  (HitBTC.com). Or @ScalableIntegration if you have a different tag to use please let us know.

Hello Janna,
@orbitlens can correct my mistake. It is a wallet that many scammers had funneled stolen XLM through, and since there were not any memos and it was not tagged as a HitBTC wallet I mistakenly Tagged it as a "Serial SCAM Minter's connected account".
@orbitlens can you change the tag to HitBTC exchange (HitBTC.com). Or @ScalableIntegration if you have a different tag to use please let us know.

Done

@orbitlens @CryptoHobbyist  We will appreciate if you mark this address as Union Chain.
Thank you for your support!


Publisher: Nice checkbox visible in Python 2

Brief description
NiceCheckbox widget should work in Python 2 environment.
Description
NiceCheckbox is expecting auto-conversions to float which does not happen in Python 2 so it's width is 0 and the checker does not move. By converting numbers to float at all places where it's expected should be the issue resolved.
Additional information
I don't have any Python 2 application available so let me know if something does not work.
Testing notes:

Open Publisher in DCC with Python 2 (e.g. Houdini 18.5)
Checkboxes should be visible and should behave right way on changing check state

Resolves https://github.com/pypeclub/OpenPype/issues/3782

Would this also have been resolved if at the top of nice_checkpox.py we would have done this from __future__ import division?
It'll make the Py2 division behavior similar to Py3.

Might be a nicer way to fix this particular one since it will keep things clean for Py3-only in the future?

To be honest I don't like futures module. Once it's imported it does "some magic" and everyone is from that moment scared to remove it. Even if it's not Python 2 related. Convert to right types is maybe less nice for Python 3 but more explicit.


Add notification on streamer joins channel

What should be added?
A notification (toast, sound, etc) when the streamer joins their own channel.
Why should it be added?
Often I want to be one of the first people in the channel, even prior to the stream going live.

This is one of the dumbest stuff I've seen suggested, not going to lie.

There are already notifications on when a stream goes live, I don't see where this is ever useful.

This is usefull if streamer joins for a pre-stream chat. Some do.
+1 this echancement.

There are already notifications on when a stream goes live, I don't see where this is ever useful.

Please don't comment on old threads. If you are requesting a new feature, open a new issue.


Refactor cmdline.do_convert

Active code for file writing needs to be refactored to a subfunction.

Fixed in a9325d3


OS X C++11 support detection fails

ERRORThe compiler /usr/bin/c++ has no C++11 support. Please use a different C++ compiler.

In my case  /usr/bin/c++ is:
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix

Later in the compilation run I get a ton of issues but i guess those are not the underlying issue.

You could look into the cmake error log in catkin_ws/build/CMakeFiles/CMakeError.log to find out what went wrong.
The CMakeLists.txt files are using a macro to check for c++11 support:
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)

Funny, the check for c++11 works once I comment out
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wuninitialized -Winit-self -Wunused-function -Wunused-label -Wunused-variable -Wunused-but-set-variable -Wunused-but-set-parameter")
# Additional warnings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Warray-bounds -Wtype-limits -Wreturn-type -Wsequence-point -Wparentheses -Wmissing-braces -Wchar-subscripts -Wswitch -Wwrite-strings -Wenum-compare -Wempty-body -Wlogical-op")```

Apparently clang now treats the warnings that some flags are not supported  as errors?

```warning: unknown warning option '-Wunused-but-set-variable'; did you mean '-Wunused-const-variable'? [-Wunknown-warning-option]
warning: unknown warning option '-Wunused-but-set-parameter'; did you mean '-Wunused-parameter'? [-Wunknown-warning-option]
warning: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option]```

However I still have trouble with this error:

/Users/tatsch/ros_catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:372:58: error: too many arguments to function call, expected single argument
'frame', have 2 arguments
bool newFrames = listener->waitForNewFrame(frames, 1000);
~~~~~~~~~~~~~~~~~~~~~~~~~         ^~~~
/usr/local/include/libfreenect2/frame_listener_impl.h:54:3: note: 'waitForNewFrame' declared here
void waitForNewFrame(FrameMap &frame);
^
3 warnings and 1 error generated.

That is the same error as in issue #39. Should be fixed in devel branch.
libfreenect2 is build without C++11, so it uses tinythread. But with tinythread there is no non blocking implementation of waitForNewFrame. So you could either use devel or compile libfreenect2 with C++11.

Using devel worked, thank you.


Comma should be escapes when constructing table in csv format in asciidoc

e.g.
@ApiModelProperty("My description with comma: a, b, c")
private String someField;
causes a broken table when rendering it to e.g. html.

Fixed in Version 0.2.3


Semantic versioned releases

Would it be possible to use github's release feature and semantic versioning? It would make dependencies much easier/safer in composer.

Can we add the release number somewhere in a file of the project (in README, Emogrifier.php or elsewhere) so it can be parsed and used by a tool using the lilbrary ?

Hi Gabriel,
thanks for the suggestion (which I :+1:). :-) Do you have a good example of a format which would be best both for parses and humans?

Hi Oliver
I'm not a specialist of that, but I can suggest a few tips:

attach it to the most important file, the one that will be present in every usage of the lib (ie Emogrifier.php might be a better choice than README.md)
insert it as a comment at the beginning of the file
Precede it with a constant string on the same line (for more robust regexp parsing): eg: Version: 1.0.0
stick to the chosen format and location (file and line number) later, obviously to avoid breaking third party lib code.

Here is a few examples I can think of:

Flexslider
Colorbox
Sharrre


Currently it is Impossible to get Refresh Token to revoke it

Currently it is Impossible to get current Refresh Token to revoke it

I need to revoke Refresh Token on log out (see https://auth0.com/docs/secure/tokens/refresh-tokens/revoke-refresh-tokens), but this is not possible, because I can't get it anyhow via current api. For some reasons refresh_token is omitted from getAccessTokenSilently method (see https://github.com/auth0/auth0-spa-js/blob/master/src/global.ts#L641).

Possible solutions

Implement dedicated method revokeRefreshToken which will revoke current refresh token according to doc in  https://auth0.com/docs/secure/tokens/refresh-tokens/revoke-refresh-tokens

This SDK is a wrapper for auth0-spa-js so closing in favour of https://github.com/auth0/auth0-spa-js/issues/1013


What's the difference between CogVideoX1.5 and CogVideoX1.0 t2v version?

rt

You can check the readme on the GitHub homepage. The main differences are changes in resolution and frame rate, with the resolution being improved and the effect also being better, supporting 16 frames per second instead of 8 frames per second at version 1.0.


updated document

@morbitton you have created this PR before I have merged another one which added the README.md file. You should base your changes on top of the file which is already in the repo.
Close this PR. pull the latest changes from upstream and start over.


Add optional pid to regex expression for java log files for 2024.2

Fix for #178 .
In 2024.2 java logs, a new id is added directly following ts_offset. Regex is adjusted to optionally pull in id (assumed to be PID) and successfully parse 2024.2+ logs.

I have had both @jroodNHA and @joshisrood sign the license agreement. Let me know if there is anything that needs to be done from the contributor side.


Build paths can't render root page consistently

Describe the bug
For a template docs, using the build paths strategy, we can't render the page /docs reliably. If the page name index is used, initial loads will work, but there doesn't seem to be a way to get subsequent loads to work properly yet.
To Reproduce
As above.
Expected behavior
Using the special name index, the page should render.
Environment (please complete the following information):

Perseus Version: v0.3.0-beta.1
Sycamore Version: v0.6.1

Additional context
Add any other context about the problem here.

Okay, this works now for perseus serve by using an empty string rather than index, I'll work with exporting now.

Never mind, exporting seems to work perfectly! I do like when one thing fixes another, it's so rare...


[#120831785] Redact passwords in debug logs.

What
@combor noticed this will working on the above story.
The bosh-release defaults to DEBUG level logging, which means that both
the master password, and user passwords are currently being exposed in
the logs.
This adds some sanitization to the API call details before logging them
so that these passwords aren't exposed.
How to review
Code review. Verify that tests pass.
Manually upload a binary compiled from this branch (as described in #5), and verify that the custom acceptance tests still pass, and that no passwords are logged.
Who can review
Anyone but myself.

Tested successfully


I really don't like this, but I'm practicing my duct tape and bailing wire skills.  The fundamental problem is that the low level code has no way to know whether any given off-chain call will work properly without a valid sender (address 0 sender) or not.  The open UI works entirely without a valid sender, while some function calls made by the close UI don't.  The liquid-long-client-library knows, but it has no way to convey that information down the stack.  So, what we do is try to see if an address is available and use it as the sender if so, and if not fallback to the 0 address.
In the current interface, this will probably work because the close UI doesn't currently support listing positions to close until you are logged in.  However, I would like to add the ability to view the website without logging in by supplying an address in the query string, at which point there are a number of calls that will fail (like checking expected payout, which unfortunately requires a valid sender to execute).

I dunno, this doesn't seem THAT hacky... I think you need to level-up your duct-tape 😉


Issue with RecursiveCraft - recipes dissapear

When using RecursiveCraft upon first opening of the crafting terminal all recipes show up, but after a certain number of crafts (the number seems random, but for me normally occurred after 2-3 crafts) all recipes disappear. This issue is solved by closing the terminal and opening it again or sometimes (very unreliably) by removing a random crafting station from it's slot and placing it back in.
At first the recursion threshold for RecursiveCraft was at -1 (so, infinite as I understand), yet after setting it to 0 (the same as vanilla I presume) the issue was still there and only by uninstalling RecursiveCraft was the issue fixed.
The MagicStorage author redirected me here, I am not extremely fluent in how mods exactly work in tModloader, yet it would be nice for the issue to be fixed, especially when it comes to playing with mods like Fargo's Soul Mod.
Thank you for your attention.

i am also having this same issue


Master staging

Raymond Shayler Out.

TBD:
Refactor/code cleanup (surface level)
Production branch/patch, making sure that it works.
get shayler.sage.cards.


[release-1.0] Backport kubevirtci bump for CDI 1.57

What this PR does / why we need it:
This will be easier to maintain - consider backporting CDI & KubeVirt integration fixes into this release.
Plus this has test fixes that ensure we can run outside of kubevirtci against a newer CDI.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Manual backport of https://github.com/kubevirt/kubevirt/pull/10093
Release note:

NONE

/lgtm
/approve

/test pull-kubevirt-e2e-k8s-1.26-sig-compute

/test pull-kubevirt-e2e-k8s-1.26-sig-compute-1.0


check why mlflow is failing

our mlflow example is failing: https://github.com/ploomber/projects/actions/runs/3790775714/jobs/6445671521

I replicated the error by running mlflow in a local environment. The error drops when running the following command:
$ mlflow experiments list

Returning the following:
Usage: mlflow experiments [OPTIONS] COMMAND [ARGS]...
Try 'mlflow experiments --help' for help.

Error: No such command 'list'.

I found that the error is caused by the following:

I checked the docs and the previous versions before 2.0.1 (e.g. 1.13) use the command list(as seen here in the docs)
Newer versions (2.0.1 and above) use the command search (as specified here)

What'd be better? @edublancas I can work from here once I get a suggestion about this.

Option 1: Search and replace commands to the new version
Option 2: Specify the version to a previous one

I think let's make it work with the newest mlflow version but add a note that if running mlflow 1.x, the command to use is different


feat: Support for Redshift Serverless, Data API access, and JDBC based Data Catalog

Issue #, if available:
Description of changes:

Added construct to create Redshift Serverless Namespace and Workgroups
Added construct to run SQL via Redshift's Data API
Updated DataCatalogDatabase to add support for JDBC based targets
Updated to use DsfProvider for RedshiftData

Checklist

[X] Update tests
[X] Update docs
[x] PR title follows conventional commit semantics (fix: , feat: , docs: , ...)

I noticed during e2e tests for Redshift Serverless Workgroup that the RedshiftWorkgroupRSServerlessCataloge41a31f1CrawlerLogKey is not deleted even if the RemovalPolicy is DESTROY

I noticed during e2e tests for Redshift Serverless Workgroup that the RedshiftWorkgroupRSServerlessCataloge41a31f1CrawlerLogKey is not deleted even if the RemovalPolicy is DESTROY

Should be fixed. I wasn't passing the removalPolicy when creating the DataCatalogDatabase in the catalogTables


Adding HVAC related Cluster Support (TZ-210)

The Cluster Library Specification Document 07-5123 Revision 8 lists 5 HVAC clusters with ID 0x0200 - 0x0204. I think at least below needs to be implement in ESP32-H2:

0x0201 Thermostat
0x0202 Fan Control and
0x0204 Thermostat User Interface Configuration

OR
A method for user-self implement any ZCL may provided.

Hi @forthchina
These clusters provided by you will be added as soon as possiable.

Hello @forthchina
The Thermostat Device has been supported in esp-zigbee-lib v1.0.0, Could you please try using and testing it?


Add space after Kotlin keywords so that you can chain in keyword commands

can someone help me with merging this? I don't have write access so I'm unable to merge it on my own.


Adapters: Support JSON serialization of all pydantic types (e.g. datetimes, enums, etc.)

Fixes #1826
In addition to the unit tests introduced in this PR, I verified that generated integration tests for a program with enum inputs and enum outputs pass as well with ChatAdapter and JSONAdapter
test_generated.py ..ssssssssssssssssssssssss                                        [100%]

…
=============== 2 passed, 24 skipped, 117 deselected, 4 warnings in 20.02s ================

test_generated.py ..ssssssssssssssssssssssss                                        [100%]

…
=============== 2 passed, 24 skipped, 117 deselected, 4 warnings in 41.69s ================

Looks great, thank you @dbczumar ! I will do some testing then merge

Seems OK in my initial testing except for:
from enum import Enum

Color = Enum('Color', ['RED', 'GREEN', 'Blue'])

class Colorful(dspy.Signature):
    text: str = dspy.InputField()
    color: Color = dspy.OutputField()

dspy.ChainOfThought(Colorful)(text="The sky is blue.")

though a reminder to self that I haven't ran end-to-end notebooks yet.

Seems OK in my initial testing except for:
from enum import Enum

Color = Enum('Color', ['RED', 'GREEN', 'BLUE'])

class Colorful(dspy.Signature):
    text: str = dspy.InputField()
    color: Color = dspy.OutputField()

dspy.ChainOfThought(Colorful)(text="The sky is blue.")

That throws; it's unable to parse the "BLUE" that the model generates, with 4o-mini.
though a reminder to self that I haven't ran end-to-end notebooks yet.

Great catch! Pushed a fix that handles auto-valued and explicitly-valued enums, as well as test coverage


Install Rancher on EKS

Need to include Bastian's steps for how to set up an ingress.

https://github.com/rancher/docs/issues/2758

Bastian's steps are:
That’s what I did a couple of days ago, when a prospect wanted to see Rancher on EKS:Install nginx-ingress-controller with a LoadBalancer Service to automatically get a ELB in front of it:
helm upgrade --install \
ingress-nginx ingress-nginx/ingress-nginx \
--namespace ingress-nginx \
--set controller.service.type=LoadBalancer \
--version 3.12.0 --create-namespace
Then you can either create a DNS entry pointing to the LB, or take the AWS ELB DNS name.The rest follows the standard Rancher installation instructionsInstall cert-manager
helm upgrade --install \
cert-manager jetstack/cert-manager \
--namespace cert-manager \
--set installCRDs=true \
--version v1.0.4 --create-namespace
Install Rancher
helm upgrade --install rancher rancher-latest/rancher \
--namespace cattle-system \
--version 2.5.5 \
--set hostname=a72e2f493f402478aa4aa33379a30760-24445120.eu-central-1.elb.amazonaws.com --create-namespace

@izaac Can you please test the instructions here https://staging.rancher.com/docs/rancher/v2.5/en/installation/install-rancher-on-k8s/amazon-eks/#creating-an-eks-cluster-for-the-rancher-server and leave feedback on this issue?

I reviewed this following the steps in staging and installing Rancher v2.5.7 on EKS k8s 1.18.

In the PREREQUISITES we can link to the eksctl official IAM requirements https://eksctl.io/usage/minimum-iam-policies/ In case anyone is interested in getting more details about AdministratorAccess.
One of the eksctl parameters  instance-type didn't work for us when we use it in one region in our AWS QA project, we can either leave it as-is now or remove it.
The get cluster info output is missing some formatting.

This is the output I get
eksctl get cluster
2021-03-18 15:09:35 [ℹ]  eksctl version 0.40.0
2021-03-18 15:09:35 [ℹ]  using region us-west-2
NAME		REGION		EKSCTL CREATED
iztest2		us-west-2	True

And this is in the Document:
2021-03-14 21:23:30 [ℹ]  eksctl version 0.40.0
2021-03-14 21:23:30 [ℹ]  using region us-west-2
NAMEREGIONEKSCTL CREATED
rancher-server-clusterus-west-2True

Everything else looks correct to me.

I've addressed Izaac's feedback in this PR https://github.com/rancher/docs/pull/3155


Projection layer

Hi @fhieber, in Model.py,
self.output_layer = layers.OutputLayer(hidden_size=self.decoder.get_num_hidden(),
vocab_size=self.config.vocab_target_size,
weight=self.output_weight, dtype=config.dtype)
Is there a way to add another projection layer to the output layer to make it more adaptable to different vocab size?
What is the command for building a output layer when it consists of multiple internal layers?
Really appreciate your input, thank you so much!

As far as I can see, the code currently does not support multi-layer OutputLayer objects.
What do you mean by making this layer more adaptable to different vocab sizes?
The code already instantiates an output layer that projects correctly to any output vocabulary size.

@bricksdont, thank you for your reply!
To elaborate on making the output layer more adaptable to different vocab size, I am thinking of a hypothetical case to finetune an existing model on a new dataset (which has a different vocab size than the existing one). The one on the Sockeye documentation specifies the existing vocab in finetuning the new one. I wonder whether there is a way to extend its application to cover the cases when the two vocab size differs.
Please let me know which part of the code to start changing to make it happen, if it is not already done before. Thanks!

Making the output layer a multilayer network does not make it easier to finetune a model that was pretrained with a different vocabulary, in my opinion. You would need to elaborate on this a bit more and it would be helpful if you could mention why those models cannot have the same vocabulary.
Additional thoughts:
If the vocabularies for pretraining and finetuning are different, then it is less clear how to benefit from pretraining. For instance, regarding embeddings:

during pretraining you might have learned reliable embeddings, but if the vocabulary items associated with those embedding vectors are not in the finetuning vocabulary, then they will never be used or updated at all.
if finetuning introduces a new vocabulary item, then the initial embeddings for it will be random instead of pretrained.

Also, the output layer can be tied with one or both embedding matrices - and weight tying is used very often. If it were a multilayer network, then which part would share weights with the embedding layers?

Hi @bricksdont , thank you for your reply, I do think the points you raised are true and very important, but I am curious to see the results of building a multilayer output layer. I would appreciate some pointers on how to change the code for the output layer.
For weight tying, sharing the weights with the first layer of the output layer interfacing with the decoder would be good enough.
Thank you!


Remove Workaround: run partprobe on ceph OSD nodes

Remove workaround for issue described in https://github.com/ceph/ceph-ansible/issues/1403 introduced in commit 7c69a3d of pull request #71.

This should be removed before final testing, because it taints our testing environment.

Fixed.


Allow file pattern to specify binary

What do you think about allowing the files pattern to override whether or not the file should be considered binary?  The current implementation isn't configurable if using custom file extensions.

:+1: My vote as well.
Also adding to the extensions list: .pbf, for protobufs.
I really don't like naming things .pbf.png...

We should switch to using isbinaryfile for now.

I just opened #1816 to address this issue.  It's my first karma pull request, so hopefully I followed all of the rules.  If anyone is interested in trying it out, I'm happy to have feedback.


Fix ordering of testcase declarations in src/app/tests/

Previously, the order in which testcase functions were defined, was different than the order in which they are supposed to execute.
This inconsistency matters, if we want to move away from the deprecated nlunit-test framework.
This PR does not add or remove any code, it only changes the order in which those functions are defined.

@mbknust are these tests order-dependent? If yes that sounds concerning. If no, would a change of order in the list of tests to run result in a smaller to review PR? Actually checking if these 2.5 k lines were just moved or any errors happened would be very hard and we also lose a lot of git blame history when moving lines (so we do not know when something was actually changed or not)

@mbknust are these tests order-dependent? If yes that sounds concerning. If no, would a change of order in the list of tests to run result in a smaller to review PR?

Yes, unfortunately they are order dependent. If the tests are run in the wrong order, some assertions will fail.

Actually checking if these 2.5 k lines were just moved or any errors happened would be very hard

That's true, though at least I was able to do a quick sanity check: sorting the lines of both files (before and after the commit) gives the same result

@andy31415 @mbknust Fixing tests order dependency would be preferable, but I'm not sure how easy that would be. There are other Test* files where order is important. I do not remember which test file that was, but I was trying to fix some issues, and in order to narrow the scope and speedup development I commented out all tests form the beginning to the affected tests case, and the result was test failure on my branch and master (to my surprise). Tracking test order dependency is easy with gtest which have an option to randomize tests execution... so after moving to pigweed test it would be easier (if pigweed test supports such feature).
Here, we can minimize the number of lines moved around by checking which exactly tests need to be in order and move only these, and for the rest of them change test order in the test list.

@mbknust Please check whether reorder in the TestCommandInteraction.cpp is indeed required. I've checked running all these tests cases one by one and none failed ...but maybe the dependency between these tests is more tricky, or something has changed in master since your initial work on pigweed test adaptation.

@tehampson you were in that code recently... any idea offhand why those tests might be stateful?


[Feature Request] Get chat template from GGUF's tokenizer.chat_template key

I think it will be better than manually adding chat templates of newly released models. Also it will be awesome it it auto set's the correct chat template when an object of the llama class is created.
It just need to parse the value which is generally in the format (for example: this is gemma's chat_template saved in tokenizer.chat_template)
{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '
' + message['content'] | trim + '<end_of_turn>
' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model
'}}{% endif %}

llama.cpp server already supports this.

@akarshanbiswas this is actually a feature here as well (may need better documentation) but if you don't specify a chat_format it will attempt to autodetect (frist from presets then from the gguf).

@abetlen Interesting. I was not aware. The API docs says this :

chat_format (Optional, default: None )  String specifying the chat format to use when calling create_chat_completion.

chat_handler (Optional [LlamaChatCompletionHandler], default: None )

Optional chat handler to use when calling create_chat_completion.
I think it should be better to add this information to the docs.


Artifact Download - Multiple artifacts all defaulting to primary artifact Build Id

Defect uncovered while attempting to configure multiple artifacts in release pipeline.
Using the artifact download section of the agent job/deployment job fails when attempting to download an artifact outside of the primary artifact. It uses to the build id of the primary to search for the artifact and fails because it is incorrect.
Example:
A1 (primary) - latest build id 1890
A2 - latest build id 1892
In any stage that attempts to download A2, it will fail with the following message:
"A2 was not found for build 1890."
The workaround right now if to use the Download Pipeline Artifact task, but I think we should be able to make use of the Artifact Download functionality of the Agent Job as it seems that this scenario is intended to work.
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml

Any updates?

Hello?

@andyjlewis Looking for any input on this

@eal61 I'm sorry for the delayed response. Assigning to @elbatk to review this issue.

Hi @eal61 , sorry you ran into this issue. I think from a docs point of view, the solution would just be to update that DownloadBuildArtifact task with the DownloadPipelineArtifact task: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/download-pipeline-artifact?view=azure-devops, however if this is about the product issue itself, you would gain better traction posting it to the Azure DevOps Developer Community. However, because there is already a workaround with DownloadPipelineArtifacts, I doubt we would prioritize a fix here. In fact, Pipeline Artifacts are the "new" Build Artifacts so we'd prefer you use the pipeline task.

Thanks for your question. It looks like your question isn't an issue with the documentation, but an issue or question specific to your implementation or a bug in the product itself.
For help with a specific task, here are a couple of options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot

If you've encountered an issue with the product itself, to make sure it gets in front of the right people, please submit your bug here.
If you have an idea for improving the product, please submit your idea here.


Pressed style doesn't get "unpressed" if mouse leaves the component before mouse up.

Here is an animation of me selecting many things on the basic map by releasing my click outside of the bounds of the element: https://cl.ly/1l3w373X0U1c
Reproduction instructions:

Click an element, do not release.
Move mouse out of map parent element.
Release.
Element stays in "pressed" state, even though we expected it to be unpressed.

Fixed in v0.6.0. See https://github.com/zcreativelabs/react-simple-maps/commit/33aecff83730528cd506f9cb6727a83262871272


Implement Version-Control-Kit (again)

Summary
Re-implement version control kit.
Main source: https://github.com/AuroraEditor/AuroraEditor/commit/eb46902b49ce773d04c020a998cd541f55154989
Depended on a fix for https://github.com/AuroraEditor/Version-Control-Kit/issues/22
which is implemented now
Changes Made
See: https://github.com/AuroraEditor/AuroraEditor/commit/eb46902b49ce773d04c020a998cd541f55154989
TODO
None
Motivation
https://github.com/AuroraEditor/AuroraEditor/commit/eb46902b49ce773d04c020a998cd541f55154989
Testing

Screenshots/GIFs

Checklist
Please ensure all of the following are completed before submitting the PR:

[x] Code has been tested and verified.
[x] Documentation has been updated to reflect the changes.
[x] All tests pass successfully.
[x] Code follows the project's coding guidelines and style.
[x] The branch is up-to-date with the latest changes from the main branch.
[x] Reviewed by at least one other contributor.

Related Issues
This PR addresses the following issue(s): N/A
Additional Notes
N/A

Thanks for submitting a pull request!
We will review it as soon as possible.

iCloud enabled dir error
working directory doesn't exist.
(
	0   CoreFoundation                      0x000000018dd18540 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x000000018d809eb4 objc_exception_throw + 60
	2   Foundation                          0x000000018ee1b258 -[NSConcreteTask launchWithDictionary:error:] + 4208
	3   Aurora Editor                       0x0000000100a73490 $s15Version_Control8GitShellV3git4args4path4name7optionsAA10IGitResultVSaySSG_10Foundation3URLVSSAA0J16ExecutionOptionsVSgtKF + 1828
	4   Aurora Editor                       0x0000000100a57b94 $s15Version_Control8RevParseV17getRepositoryType12directoryURLAA0fG0O10Foundation0I0V_tKF + 1020
	5   Aurora Editor                       0x0000000100a19c18 $s15Version_Control5CheckV20checkIfProjectIsRepo12workspaceURLSb10Foundation0J0V_tF + 80
	6   Aurora Editor                       0x00000001006f8788 $s12AuroraEditor18SourceControlModelC12workspaceURLAC10Foundation0G0V_tcfc + 1008
	7   Aurora Editor                       0x00000001006f8388 $s12AuroraEditor18SourceControlModelC12workspaceURLAC10Foundation0G0V_tcfC + 56
	8   Aurora Editor                       0x00000001009dc76c $s12AuroraEditor17WorkspaceDocumentC04initC5State33_065D1843F6EB21E67F597C06B178642ELLyy10Foundation3URLVKF + 376
	9   Aurora Editor                       0x00000001009ddf50 $s12AuroraEditor17WorkspaceDocumentC4read4from6ofTypey10Foundation3URLV_SStKF + 380
	10  Aurora Editor                       0x00000001009dee88 $s12AuroraEditor17WorkspaceDocumentC4read4from6ofTypey10Foundation3URLV_SStKFTo + 192
	11  AppKit                              0x00000001916e0bc8 -[NSDocument initWithContentsOfURL:ofType:error:] + 352
	12  AppKit                              0x00000001917324c0 -[NSDocumentController makeDocumentWithContentsOfURL:ofType:error:] + 204
	13  AppKit                              0x0000000191a090ec __97-[NSDocumentController makeDocumentWithContentsOfURL:alternateContents:ofType:completionHandler:]_block_invoke + 96
	14  AppKit                              0x0000000191a08fd4 -[NSDocumentController makeDocumentWithContentsOfURL:alternateContents:ofType:completionHandler:] + 300
	15  AppKit                              0x0000000191a084c4 __102-[NSDocumentController _openDocumentWithContentsOfURL:requestedBySourceApp:display:completionHandler:]_block_invoke + 1140
	16  AppKit                              0x0000000191a07188 __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke_4 + 164
	17  AppKit                              0x0000000191a075d0 __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke.371 + 304
	18  AppKit                              0x0000000191a073e8 __144-[NSDocumentController _coordinateReadingAndGetAlternateContentsForOpeningDocumentAtURL:resolvingSymlinks:thenContinueOnMainThreadWithAccessor:]_block_invoke.367 + 368
	19  AppKit                              0x0000000191a167b0 ___NSMainRunLoopPerformBlockInModes_block_invoke + 44
	20  CoreFoundation                      0x000000018dca3574 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
	21  CoreFoundation                      0x000000018dca3488 __CFRunLoopDoBlocks + 356
	22  CoreFoundation                      0x000000018dca291c __CFRunLoopRun + 2440
	23  CoreFoundation                      0x000000018dca193c CFRunLoopRunSpecific + 608
	24  HIToolbox                           0x000000019826a448 RunCurrentEventLoopInMode + 292
	25  HIToolbox                           0x000000019826a284 ReceiveNextEventCommon + 648
	26  HIToolbox                           0x0000000198269fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
	27  AppKit                              0x0000000191480ed0 _DPSNextEvent + 660
	28  AppKit                              0x0000000191c6beec -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
	29  AppKit                              0x000000019147437c -[NSApplication run] + 476
	30  AppKit                              0x000000019144b640 NSApplicationMain + 880
	31  Aurora Editor                       0x00000001000a0b80 main + 12
	32  dyld                                0x000000018d8450e0 start + 2360
)

FOUND THE ERROR, now the fix remains.
It is caused by
https://github.com/AuroraEditor/Version-Control-Kit/blob/main/Sources/Version-Control/Base/Core/GitShell.swift#L34-L161
    public func git( // swiftlint:disable:this function_body_length cyclomatic_complexity
        args: [String],
        path: URL,
        name: String,
        options: IGitExecutionOptions? = nil
    ) throws -> IGitResult {

Temporary fix is/was
add
        throw NSError(domain: "disabled", code: 0)

to prevent execution

FOUND THE ERROR, now the fix remains.
It is caused by
https://github.com/AuroraEditor/Version-Control-Kit/blob/main/Sources/Version-Control/Base/Core/GitShell.swift#L34-L161

    public func git( // swiftlint:disable:this function_body_length cyclomatic_complexity

        args: [String],

        path: URL,

        name: String,

        options: IGitExecutionOptions? = nil

    ) throws -> IGitResult {

Temporary fix is/was
add

        throw NSError(domain: "disabled", code: 0)

to prevent execution

Getting the project repository type is causing the issues.

Hey @0xWDG,
Thanks for your contribution.
Your PR has been merged!
Your name will appear on https://auroraeditor.com/#contributors in a few moments, if you have contributed to the editor.
Thanks again for your contribution!
Kind Regards,
Aurora Editor Team.


why jsx

I try not to use .jsx in development. In the last update I see the .jsx and the assembly breaks.
How to use now?
while I will use version 3.2.2

The new build command is below and it works correctly.
~/.g/g/p/vue-fixed-header(master)> yarn tsc --build ./tsconfig.build.json
yarn run v1.15.2
$ /Users/potato4d/.ghq/github.com/potato4d/vue-fixed-header/node_modules/.bin/tsc --build ./tsconfig.build.json
✨  Done in 3.10s.


ORDS 503 error

Hi,
Got this ORDS error after install on Centos 7.6  minimum install with build-utilities added:
The connection pool named: |apex|| is not correctly configured, due to the following error(s): IO Error: The Network Adapter could not establish the connection
Tried initially with latest ORDS but script rejected it.  Configured with listed version, script ran okay.  With firewall off I can make basic connection to DB via SQL Developer, with firewall on SSH Hosts connection works fine.
I had changed the hostname to one with hyphens, some forums suggest not using this,s o I changed it to one without.  I changed ords_params.properties, tnsnames.ora and listener.ora to the actual new hostname  but it made no difference (rather than localhost).  I will try and enable the debug messages in ORDS too. I notice that the  APEX_INSTANCE_ADMIN_USER is password expired and the ORDS_METADATA user is expired and locked.  I ran the install under screen and did not watch it the second time through.  I'll look and run the script for the APEX admin user when I find it,
Thanks,
Steve
PS ran sudo find / -name apex_config.sql and the only instance was in the /tmp/oxar/apex/apex_config.sql
Also the APEX_040000 is still in the DB - perhaps APEX didn't install properly (hence the ORDS error)
Also note I left the AOP printing to install
These are the files:
oracle-xe-11.2.0-1.0.x86_64.rpm.zip
sqlcl-<IP_ADDRESS>.1818.zip
ords-<IP_ADDRESS>0.1456.zip
apex_18.2_en.zip
This is one error on install (seems to be due to a too big an integer for bash?):

Installing Oracle XE *

######################################################################## 100.0%
/var/tmp/rpm-tmp.kY321c: line 257: [:<PHONE_NUMBER>3692774399: integer expression expected
/var/tmp/rpm-tmp.kY321c: line 271: [:<PHONE_NUMBER>3692774399: integer expression expected

Oracle Config *

FWIW:
I upgraded the kernel to 4.20.. from repel (epel?) - might not have been necessary as error persisted.  USed the example sysctl.conf from here:
https://community.oracle.com/thread/4154293
and reinstalled oracle-xe from the rpm package - note the rpm -e oracle-xe didn't remove everything.
This removed the errors but - not even sure if this was'the' problem yet...

In line 18 of /scripts/ords.sh there is:
#move the parameters file from ords to tmp/ords/ (where ords files are)
mv -f ${OOS_SOURCE_DIR}/ords/ords_params.properties ${ORDS_PARAMS}
However, if you unzip  ords-<IP_ADDRESS>0.1456.zip, the ords_param.properties file is in the sub directory params. I think this leads to:

Installing ORDS *

######################################################################## 100.0%
mv: cannot stat ‘/tmp/oxar/ords/ords_params.properties’: No such file or directory
Mar 05, 2019 9:26:29 PM
INFO: Set config.dir to /etc in: /tmp/oxar/tmp/ords/ords.war
Actually the error is there, but I don't really know what 'cannot stat' means!

Just a final comment.  It is quite possible that if I started with the last supported ords version, this may have worked fine.  However the recovery or uninstall of failed updates or trying to re-run the build.sh leads to the problems I came across.
I would just like to add that I had used oxar in the past with no install issues whatsoever, so I am grateful for the hard work that you put into it.
Perhaps I should try Docker? :-)

@suttontools I've noticed that if the Network MAC changes for whatever reason (e.g moving the VM, cloning the VM, etc) then the listener gets cranky and the consequence is that ORDS give the error you mentioned.
The way I fix it is:
In the file: /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
comment out this line:
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
And that cures the problem all the time.
Good luck!


Feature Request: reverse functionality within an incognito window

Feature Request

When activating the extension from within Incognito Mode, open the selected link in a normal (non-incognito) window.
Default Window Management Behavior
Create this normal window if none exists, else reuse an open window (add tabs to end).
Alternate Window Management Behavior(s)
Allow user to choose between:

reuse an open window — add tab(s) to end
reuse an open window — add tab(s) "where you were" (i.e. after last normal tab that had focus)
always open in new window

To keep things relatively clean while allowing for maximum flexibility + functionality, the base behavior and/or some or all of the alternates could be integrated as opt-in "Actions" somewhat like those used by the Linkclump extension.
That way, the user can choose whether to enable the reverse-behavior, whether to overload the open-in-incognito key combination or define separate key combinations for each action, etc.

This is an interesting idea. However, I couldn't quite figure out a use-case for this.
Could you please describe a situation where you would want this behavior? That may dictate the shape this feature takes.

There are a variety of miscellaneous use-cases that would largely depend on why the user is in incognito mode and why they need to leave it.
The general notion, though, is that the method and level of effort required to pop out of incognito mode for a sec and then continue browsing incognito should be symmetrical with the opposite case.
So some examples fitting the base action off the top of my head would be:

User wants to use google search incognito for whatever reason (unbiased results, to avoid adding search history, so they don't have to log out of their google account, etc.) but sees a hit on a site they want or need to give saved credentials to — subscription-based research, paywalled news, social media.

User is browsing through various related pages incognito, but wants to make sure a particular link they come across stays in their history so they don't lose track of it or can find it later.
Online shopping would be a good example where many tabs — often with very similar URLs and page names that make backtracking annoying — might be opened, but almost all of the browsing session will end up being history-clutter except for a handful of pages.

User wants one of their extensions to interact with a link or set of links somehow, but without breaking pace / interrupting their browsing to copy URLs over manually to a non-private window.
Ad blockers, download managers, and companion extensions to particular websites (y'know, "pin it" button for pinterest and so on — data push/pull type stuff) all come to mind there.

As for the alternate actions:
reuse an open window — add tab(s) "where you were"
User only popped into incognito as a brief aside from regular browsing, i.e. probably because they had to for some reason or wanted to do something quick like compare logged in/logged out views of a page or kill extensions to get content to load.
So, thematically-speaking, if they see stuff while they're there that they wanna click on and know they won't need to load said stuff incognito, the best place to put it is probably right after the last regular tab they were in.
always open in new window
This user hates organization, themselves, or both, and probably puts their two thousand or so desktop icons into piles like leaves for their animated malware mascot Virtual Dog assistant to play in.
Just kidding, but most of the cases of opening several new windows in succession imply that you're keeping them apart to separate the branches of an impending tab-opening-spree, e.g.:

loading media albums or playlists
following related links, aka "wiki-walking"
pre-loading several forums / subreddits / blogs / site-internal categories etc. to browse at length later

There probably aren't so many use-cases specific to incognito browsing there, but I'm sure it'd be the preferred behavior for some users some of the time.

Admittedly, many of the most obvious use-cases would be covered by an update re: Issue #4: Open current web page in Incognito mode similar to Incognito This Tab's implementation of a bidirectional incognito ⇔regular toggle for the current tab.
But plenty wouldn't, and loading several incognito tabs just to manually reload each of them as a regular tab is a seriously tedious workflow and waste of bandwidth.
Plus that still wouldn't cover common issues like login redirects, obfuscated google search URLs, pages that want to resubmit data on refresh, and so on.

Thanks for the detailed write up. :+1:
The use-cases are interesting and make a lot of sense; I had never used Incognito mode with these scenarios in mind but I am convinced that added functionality will be worth it.
I am swamped with work this week, but I am definitely going to work on this, as well as #4 , as soon as I get some free time. I'll keep this issue open and will probably create sub-issues to handle the addition of these features in pieces when I start working on it.
Thanks again!


[Bug]: Upgrade 4.0.0-beta-364 completely broke setup - rollback not working

Error Message and Logs
I just pressed the upgrade button and suddenly received a 500 from the3 system. If I interpret the logs correctly there seems to be an issue with redis. Though I don't find a way to directly interact with coolifies stack.
When trying to rollback I receive an error because coolify tries to write the  /data/coolify-directory. I don't want to delete this directory, because it looks like this is, where all my data is stored.
What's the best way to move forward here?
Steps to Reproduce

Just started the new upgrade
System was no longer reachable
Downgrade didn't work due to existing /data/coolify directory

Example Repository URL
No response
Coolify Version
v4.0.0-beta-364
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information
No response

Some mor} logs I found when checking coolifies container logs:

In PhpRedisConnector.php line 159:

  php_network_getaddresses: getaddrinfo for coolify-redis failed: Temporary f
  ailure in name resolution

In PhpRedisConnector.php line 159:

  Redis::connect(): php_network_getaddresses: getaddrinfo for coolify-redis f
  ailed: Temporary failure in name resolution

s6-rc: warning: unable to start service db-migration: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
prog: fatal: stopping the container.
[09-Nov-2024 15:05:48] NOTICE: Terminating ...
[09-Nov-2024 15:05:48] NOTICE: exiting, bye-bye!

I found the docker-compose setup of coolify in /data/coolify/source and was able to up -d the whole stack. At first glance it seems to be working again and the missing services are up again

Was able to re-run the upgrade script in /data/coolify/source/upgrade.sh and got everything working again.

Running the script worked for me as well. Thanks!

Didn't break anything for me but upgrade got stuck with this in the logs:
 Container coolify-redis  Recreate
 Container coolify-db  Recreate
Error response from daemon: Conflict. The container name "/81247cc4cdea_coolify-db" is already in use by container "1cac127...". You have to remove (or rename) that container to be able to reuse that name.

Didn't break anything for me but upgrade got stuck with this in the logs:
 Container coolify-redis  Recreate
 Container coolify-db  Recreate
Error response from daemon: Conflict. The container name "/81247cc4cdea_coolify-db" is already in use by container "1cac127...". You have to remove (or rename) that container to be able to reuse that name.

Make sure to create a backup for coolify-db before proceeding.
Maybe you could try running a command like docker rm 81247cc4cdea_coolify-db, though I'm not sure if the attached volume would also be removed.

Had the same problem.
Upgrading from v4.0.0-beta.360 to v4.0.0-beta.364 and I got an timeout.
After I refreshed the page, I always got an gateway timeout and a reboot also didn't helped.
Running the mentioned script /data/coolify/source/upgrade.sh worked for me too.
Webinterface is reachable again.
Running under Ubuntu 22.04.5 LTS

Same problem, going from 362 to 364, clicked Upgrade, now it's a permanent 500 Internal Error trying to access Coolify.


Inconsistent zoom during layout update

Hi,
I want to implement doubletap zoom functionality. But I run to weird behavior during layout update.
I extend presentation layout with method setting zoom and scrolling based on tap position, but zoom and prevZoom values are changing during update.
Here is my plugin and layout:
https://gist.github.com/zajca/f10668cce4ebc5979dbb
This will happen:

I get tap position and setZoom to 3 and pass position
inside method: updateScrollPositionAfterClickZoom is prevZoom nad zoom right like this:
prevZoom: 0.9110320284697508
zoom: 3
but in event zoom I get:
prevZoom: 1.121953868019762
zoom: 3.6945590263307007

so zoom value changed and view is not scrolled to place where was clicked.
Can I somehow avoid this and scroll to right place?

I am not 100% on this, but I think the discrepancy between the zoom values in your method vs. the external event is caused by the adjustment to compensate for page scale (this is done automatically by the viewer so that the zoom values reported are accurate when the document has been artificially scaled up or down to fit properly). See https://github.com/box/viewer.js/blob/master/src/js/components/viewer-base.js#L240


RTP Enhancement: add warpper for RTP and update tutorials

Main feature: rtp/rotated_tensor_parallel.py an new warpper which support one-line code change for RTP.
Bug fix: fix bug for missing rotation when world_size > 2.


Fully port Optimize1qGatesDecomposition to Rust

Summary
This commit builds off of #12550 and the other data model in Rust
infrastructure and migrates the Optimize1qGatesDecomposition pass to
operate fully in Rust. The full path of the transpiler pass now never
leaves rust until it has finished modifying the DAGCircuit. There is
still some python interaction necessary to handle parts of the data
model that are still in Python, mainly calibrations and parameter
expressions (for global phase). But otherwise the entirety of the pass
operates in rust now.
This is just a first pass at the migration here, it moves the pass to be
a single for loop in rust. The next steps here are to look at operating
the pass in parallel. There is no data dependency between the
optimizations being done by the pass so we should be able to the
throughput of the pass by leveraging multithreading to handle each run
in parallel. This commit does not attempt this though, because of the
Python dependency and also the data structures around gates and the
dag aren't really setup for multithreading yet and there likely will
need to be some work to support that (this pass is a good candidate to
work through the bugs on that).
Details and comments
Part of #12208
This PR is based on top of #12550 and as such github shows the entire contents of #12550 in addition to the contents of this PR. To see the contents of this PR you can look at HEAD on this branch, or just look at:
https://github.com/Qiskit/qiskit/pull/12959/commits/0c8b668f1d16783ed864b6dcbf3366692fce82b3
TODO:

[x] Rebase after #12550 merges
[x] Benchmark and tune the implementation
[x] Investigate if there is any dead code in the euler_one_qubit_decomposer module

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

5183 of 6257 (82.84%)  changed or added relevant lines in 41 files are covered.
61 unchanged lines in 10 files lost coverage.
Overall coverage decreased (-0.6%) to 89.079%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

crates/circuit/src/interner.rs
10
11
90.91%

crates/circuit/src/circuit_data.rs
21
23
91.3%

crates/accelerate/src/nlayout.rs
3
6
50.0%

crates/circuit/src/circuit_instruction.rs
3
9
33.33%

crates/circuit/src/operations.rs
10
17
58.82%

crates/circuit/src/packed_instruction.rs
65
72
90.28%

qiskit/visualization/dag_visualization.py
5
20
25.0%

crates/accelerate/src/euler_one_qubit_decomposer.rs
136
156
87.18%

crates/circuit/src/dag_node.rs
167
193
86.53%

crates/circuit/src/dot_utils.rs
0
68
0.0%

Files with Coverage Reduction
New Missed Lines
%

crates/circuit/src/interner.rs
1
74.07%

qiskit/circuit/instruction.py
1
95.64%

qiskit/dagcircuit/dagnode.py
1
85.37%

qiskit/transpiler/passes/optimization/optimize_1q_decomposition.py
2
94.23%

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

crates/circuit/src/circuit_instruction.rs
4
88.73%

qiskit/dagcircuit/dagdependency_v2.py
5
67.62%

crates/circuit/src/dag_node.rs
7
83.61%

crates/circuit/src/operations.rs
7
88.62%

crates/accelerate/src/euler_one_qubit_decomposer.rs
30
88.84%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.6%

Covered Lines:
71395

Relevant Lines:
80148

💛  - Coveralls

Now that #12550 has merged I've rebased this and it's ready for review.

Now that this is ready for merging I ran two benchmark runs for this pass against main:
Benchmarks that have improved:

| Change   | Before [d3040a0b] <main>            | After [2c0aad55] <use-dag-1q-decompose>   |   Ratio | Benchmark (Parameter)                                                                                |
|----------|-------------------------------------|-------------------------------------------|---------|---------------------------------------------------------------------------------------------------------------|
| -        | 5.50±0.03ms                         | 1.24±0ms                                  |    0.23 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(5, 1024, ['rx', 'ry', 'rz', 'r', 'rxx', 'id'])  |
| -        | 14.0±0.08ms                         | 2.95±0.02ms                               |    0.21 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(14, 1024, ['rx', 'ry', 'rz', 'r', 'rxx', 'id']) |
| -        | 24.3±0.2ms                          | 4.11±0.02ms                               |    0.17 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(20, 1024, ['rx', 'ry', 'rz', 'r', 'rxx', 'id']) |
| -        | 4.12±0.03ms                         | 572±1μs                                   |    0.14 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(5, 1024, ['u', 'cx', 'id'])                     |
| -        | 15.9±0.06ms                         | 2.01±0.01ms                               |    0.13 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(20, 1024, ['u', 'cx', 'id'])                    |
| -        | 5.99±0.02ms                         | 768±4μs                                   |    0.13 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(5, 1024, ['rz', 'x', 'sx', 'cx', 'id'])         |
| -        | 15.7±0.2ms                          | 1.92±0.03ms                               |    0.12 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(14, 1024, ['rz', 'x', 'sx', 'cx', 'id'])        |
| -        | 11.8±0.05ms                         | 1.44±0.01ms                               |    0.12 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(14, 1024, ['u', 'cx', 'id'])                    |
| -        | 28.1±0.2ms                          | 2.63±0.01ms                               |    0.09 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(20, 1024, ['rz', 'x', 'sx', 'cx', 'id'])        |

SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.

and against 1.2.0 (to discount any potential performance change from https://github.com/Qiskit/qiskit/pull/12550:
Benchmarks that have improved:

| Change   | Before [7e2e835e] <1.2.0^0>   | After [2c0aad55] <use-dag-1q-decompose>   |   Ratio | Benchmark (Parameter)                                                                                |
|----------|-------------------------------|-------------------------------------------|---------|---------------------------------------------------------------------------------------------------------------|
| -        | 5.53±0.02ms                   | 1.23±0.01ms                               |    0.22 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(5, 1024, ['rx', 'ry', 'rz', 'r', 'rxx', 'id'])  |
| -        | 14.0±0.1ms                    | 2.98±0.03ms                               |    0.21 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(14, 1024, ['rx', 'ry', 'rz', 'r', 'rxx', 'id']) |
| -        | 25.7±0.1ms                    | 4.08±0.03ms                               |    0.16 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(20, 1024, ['rx', 'ry', 'rz', 'r', 'rxx', 'id']) |
| -        | 4.14±0.02ms                   | 584±10μs                                  |    0.14 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(5, 1024, ['u', 'cx', 'id'])                     |
| -        | 5.93±0.02ms                   | 778±10μs                                  |    0.13 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(5, 1024, ['rz', 'x', 'sx', 'cx', 'id'])         |
| -        | 15.8±0.09ms                   | 1.95±0.03ms                               |    0.12 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(14, 1024, ['rz', 'x', 'sx', 'cx', 'id'])        |
| -        | 12.1±0.09ms                   | 1.49±0.02ms                               |    0.12 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(14, 1024, ['u', 'cx', 'id'])                    |
| -        | 16.5±0.1ms                    | 2.06±0.04ms                               |    0.12 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(20, 1024, ['u', 'cx', 'id'])                    |
| -        | 30.5±0.2ms                    | 2.61±0.05ms                               |    0.09 | passes.MultipleBasisPassBenchmarks.time_optimize_1q_decompose(20, 1024, ['rz', 'x', 'sx', 'cx', 'id'])        |

SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.

I think that euler_one_qubit_decomposer.rs should be moved to crates/accelerate/src/synthesis/one_qubit to match with the structure of the current synthesis library.
Similarly, it would be good if two_qubit_decompose.rs would be moved to crates/accelerate/src/synthesis/two_qubits

We can reorganize these modules in a follow up PR. When I created these modules there wasn't any other synthesis in rust so there wasn't anywhere else to put them. I think it'll probably be best to do this at the same time we create a transpiler crate so the Optimize1qGatesDecomposition function that I modify here is separate from the base synthesis code.