Error when running Infiniium.py driver file

Bug report template:
type object error when running driver file Infiniium.py
Steps to reproduce

Open Infiniium.py
Run the file in python i.e. python Infiniium.py
Error pops up as: 'type' object is not subscriptable

Expected behaviour
Running the file should yield no output.
Actual behaviour
Traceback (most recent call last):
  File "Infiniium.py", line 82, in <module>
    class DSOTraceParam(ParameterWithSetpoints):
  File "Infiniium.py", line 87, in DSOTraceParam
    UNIT_MAP: ClassVar[dict[int, str]] = {
TypeError: 'type' object is not subscriptable

System
operating system Arch Linux
qcodes version 0.43.0

@paniash Which version of python are you using. QCoDeS 0.43 (and newer only supports 3.9+) this looks like you are using an older version of python

You're right. Running with a later version of python fixes the issue! Thanks.

@jenshnielsen Just opened #5646. :)


Disjoint Union tags has to be located at top level of an object

The tags in a Disjoint Union has to be located at the top level of the object, and can not be nested in another object. Meaning that the following code will not work:
/* @flow */

type FooStyle = {
    style: {
        width: number,
    },
    data: {
        type: "foo"
    }
}

type BarStyle = {
    style: {
        height: number,
    },
    data: {
        type: "bar"
    }
}

type ElementStyle = FooStyle | BarStyle;

function process(ele: ElementStyle) {
    if (ele.data.type === "bar") {
        // This gives a flow error as height is not found in the object.
        console.log(ele.style.height);
    }
}

Is there any reason for this? I'm working with a library that limits arbitrary properties to a nested object, so I can't add the tag at top level, and I optimistically thought this would work.

this is still broken:
https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoALgTwA4FMwCyAhjPgLxgDeqAkNgE5xQCWpAXFamNzwOa4A7ACa56HAOQFxXHgF8ANDO7YiA9AH0ERZgGd0HAQFcAtgCNRqWagw58AMVzGS5TnUYt2nHt7D9hoiTtpbwUZLV19MCMzUUUrVChDAQBjdGY4AV9cdAB1bT0ACmYBbENI4lIwAB8wBydSAEoDE3N6LzB6bMN6TOLS9AA6BiZWXAG-ETayabBJYLAaAH4wPrKh1Q1wvSUwDlXBrfQAbksgA

This is expected behavior as a limitation of refinements on disjoint union.


【Java】remove guava jar reference

Is your feature request related to a problem? Please describe.

remove guava jar reference
Describe the solution you'd like

remove guava jar reference
Additional context

remove guava jar reference

We have an issue tracking this: #1113. We did some work before, but there some remaining work hasn't been taken currently


Process several subtitles files together in the editor

this feature is useful when processing several subtitle files, for example of a TV season, which have the same repeated OCR errors. There is no point to open each one separately and clean it.

Redundant


[SPARKC-524] Generate a CQL Create Table from DataFrame with options

Generate a CQL Create Table statement using a DataFrame and all the parameters required to
construct the CREATE Table statement, like, IF NOT EXISTS, WITH CLUSTERING ORDER BY,
etc.

This looks good to me, we had a discussion of a few things though to expand it on slack:

Maybe use the ClusteringOrdering class for ASC Desc? (not Boolean)
Possible to add TableOptions Map<String, String> for generic other options

Changes are made as discussed, plus added a function for generation of table from DataFrame - previous version was only for RDDs...

Thanks! I was going to just do it for you and merge but this makes my life
easier :P
On Tue, Mar 31, 2020 at 12:42 PM Alex Ott<EMAIL_ADDRESS>wrote:

@alexott commented on this pull request.
In
connector/src/main/scala/com/datastax/spark/connector/DatasetFunctions.scala
https://github.com/datastax/spark-cassandra-connector/pull/1239#discussion_r401096602
:

   ,

   regularColumns = regularColumnNames
       .map(regularColumnName =>
          columnMapping.getOrElse(regularColumnName,
               throw missingColumnException(regularColumnName, "Regular Column")))
       .map(_.copy(columnRole = RegularColumn))

 , ifNotExists = ifNotExists, tableOptions = tableOptions

let me push the change with CR between args...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/datastax/spark-cassandra-connector/pull/1239#discussion_r401096602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADE2YMEWYHA6NLE6NBXTPDRKITOXANCNFSM4LWTMGWA
.

Thanks @alexott


docs(api.md): add note for page.setCookie method

Knowing that name and value are required is nice, but this doesn't tell us everything we need to know.

Thanks for the PR!
By default, the current url of the page is set: See https://github.com/GoogleChrome/puppeteer/blob/master/lib/Page.js#L260

Oh, I didn't know that (and well, I'll document it too).
But do you know what happens when you use page.setCookie before page.goto?
...
😬

It fails because about:blank can't have cookies. We should have a better error message in Puppeteer when you try to use setCookies on about:blank with no url. Are you interested in sending in a PR for that?

I could do that, yeah. In another PR?
There should still be a note for that in the doc, right?

@JoelEinbinder shall we merge this?

Closing this for now. Feel free to send another PR for the about:blank note.


Arno pro font used in the project appears to need licensing from Adobe.

The Arno Pro font used in the project appears to require licensing from Adobe before I can use it. Looking through the .tex files, I see that at least the Arno pro regular, caption, semibold fonts are used.
Perhaps the team already has the licenses, but as a non-subscriber to Adobe CC I can't use these fonts.
Adobe font licensing FAQ: https://helpx.adobe.com/fonts/using/font-licensing.html
Adobe fonts service additional T&C (PDF warning): https://wwwimages2.adobe.com/content/dam/cc/en/legal/servicetou/Adobe_Fonts_Additional_Terms_en_US_20220715.pdf

Was there any update on this issue?

You are correct, the font does need to be licensed, and SC has purchased the license.
Note, however, that we use a bespoke version of the font that we had customized for this project to include the relevant Sanskrit diacriticals. So you can't use regular Arno.


Higher baud rates for macOS

Arbitrary baud rates—in particular 460800—are available on macOS using a special IOKit call. Kindly consider a special case ioctl call for them. Here is what pyserial does:
    IOSSIOSPEED = 0x80045402
    class PlatformSpecific(PlatformSpecificBase):
        osx_version = os.uname()[2].split('.')
        # Tiger or above can support arbitrary serial speeds
        if int(osx_version[0]) >= 8:
            def _set_special_baudrate(self, baudrate):
                # use IOKit-specific call to set up high speeds
                buf = array.array('i', [baudrate])
                fcntl.ioctl(self.fd, IOSSIOSPEED, buf, 1)

@tkornack Not just Mac, but Linux supports this too with a different ioctl.

Any further works? :)


Fix integration test cleanup.

Do not run swarm using a function since it forks a subshell and we end
up killing it instead of the binary.
Build a binary at each run instead of using go run. This is faster and
fixes the cleanup for the same reason as the subshell.

Signed-off-by: Andrea Luzzardi<EMAIL_ADDRESS>

Tested and indeed fixes the issue.
LGTM

LGTM


Github actions no longer work for me.

Workflow file: https://github.com/nextgenthemes/advanced-responsive-video-embedder/blob/master/.github/workflows/test-deploy.yml
It worked previously and I do not know what is going wrong now. The readme should refer to some basic project that actually uses it as reference IMO, that actually tests it. Not sure what is specific about my setup.
For php 5.6 it runs from the vendor directly in my plugin I find that strange ...
Run phpunit --testsuite arve,arve-pro,arve-random-video,arve-amp,arve-sticky-videos
PHP Warning:  Unsupported declare 'strict_types' in /home/runner/work/advanced-responsive-video-embedder/advanced-responsive-video-embedder/vendor/phpunit/phpunit/src/Framework/Assert/Functions.php on line 1
PHP Fatal error:  Default value for parameters with a class type hint can only be NULL in /home/runner/work/advanced-responsive-video-embedder/advanced-responsive-video-embedder/vendor/phpunit/phpunit/src/Framework/Assert/Functions.php on line [9](https://github.com/nextgenthemes/advanced-responsive-video-embedder/actions/runs/5004518879/jobs/8967195141#step:14:10)0
Error: Process completed with exit code 255.

strict_types implies it some code running that is expecting a php version that is 7.x no idea what that happens.
Because for php 7.2 I get another error and it runs in /home/runner/.composer/vendor
Run phpunit --testsuite arve,arve-pro,arve-random-video,arve-amp,arve-sticky-videos
Installing...
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
Not running ajax tests. To execute these, use --group ajax.
Not running ms-files tests. To execute these, use --group ms-files.
Not running external-http tests. To execute these, use --group external-http.
PHP Fatal error:  Uncaught Error: Call to undefined method PHPUnit\TextUI\TestRunner::doRun() in /home/runner/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:235

Stack trace:
#0 /home/runner/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(194): PHPUnit\TextUI\Command->run(Array, true)
#1 phpvfscomposer:///home/runner/.composer/vendor/phpunit/phpunit/phpunit(97): PHPUnit\TextUI\Command::main()
#2 /home/runner/.composer/vendor/bin/phpunit(11[8](https://github.com/nextgenthemes/advanced-responsive-video-embedder/actions/runs/5004518879/jobs/8967195349#step:14:9)): include('phpvfscomposer:...')
#3 {main}
  thrown in /home/runner/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php on line 235
Fatal error: Uncaught Error: Call to undefined method PHPUnit\TextUI\TestRunner::doRun() in /home/runner/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:235
Stack trace:
#0 /home/runner/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(1[9](https://github.com/nextgenthemes/advanced-responsive-video-embedder/actions/runs/5004518879/jobs/8967195349#step:14:10)4): PHPUnit\TextUI\Command->run(Array, true)
#1 phpvfscomposer:///home/runner/.composer/vendor/phpunit/phpunit/phpunit(97): PHPUnit\TextUI\Command::main()
#2 /home/runner/.composer/vendor/bin/phpunit([11](https://github.com/nextgenthemes/advanced-responsive-video-embedder/actions/runs/5004518879/jobs/8967195349#step:14:12)8): include('phpvfscomposer:...')
#3 {main}
  thrown in /home/runner/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php on line 235
Error: Process completed with exit code [25](https://github.com/nextgenthemes/advanced-responsive-video-embedder/actions/runs/5004518879/jobs/8967195349#step:14:26)5.

Any idea what is wrong? Again I think the readme should point to an actual maintained project that uses Githhub actions for this.
Not all the test code is part of that repo anymore and its in a private repo now but I had a monorepo strcture b4 and and the that did not change AFAIK. Here is the phpunit boot. https://github.com/nextgenthemes/advanced-responsive-video-embedder/blob/a9d19f49eb63d6d5df6c96c343db29ad77b7b859/phpunit-boot.php

@nextgenthemes Just for arguments sake, I've set up a minimal scenario to test that the setup-php tools setup with phpunit-polyfills works and I cannot reproduce the issues you are seeing. Everything works as expected.
All in all, I think your problem is something else altogether and unrelated to either setup-php or the PHPUnit Polyfills.
This is the code I've used to test everything:
https://github.com/jrfnl/bug-report-reproduction-scenarios/commit/7a2c211a72b7c618b5e107c218e7293eaaa2774b
This is the resulting workflow run confirming that everything works as it should: https://github.com/jrfnl/bug-report-reproduction-scenarios/actions/runs/5006929088

Thinking this over some more, I suspect (but haven't verified) that your problem is that you install PHPUnit twice - once via Setup PHP, once via Composer and then you load the vendor/autoload.php file from your test bootstrap.
Chances are high that that means PHPUnit will have a mismatch in versions between your local and your global composer installs and if that's the case, I'm not surprised you are seeing issues.

@jrfnl Thanks so much, the bug report test code you linked was basically exactly what I was looking for. I just wanted to make sure I am not going down a many hour long trail and error hell again for something that may be an issue others ran into. I expected that this may not be a issue with this at all, I was very desperate. Did way to many things at once as usual.
I am so glad I filed this and you responded and put in on the right track right away. You are totally right, I did "install" things twice.  Your assumption that I loaded this was right. It was actually supposed to NOT load.
if ( is_file( __DIR__ . '/vendor/autoload.php' ) ) {
	require_once __DIR__ . '/vendor/autoload.php';
}

Should probably use a better check for it. ! getenv( 'GITHUB_CI' ) or something like that. Again, thanks you very much.


3702074 - Balsam Creek

[x] comments mention "Culvert was in wrong location on map.".  Can mention that actual location waiss on road 95m east of modelled crossing location
[x] note here to close after follow up after modelling complete to tie crossings together with csv in bcfishpass

tie together in bcfishpass


crates.io links are outdated

"Homepage" and "Repository" link to the old archived repository.
"Documentation" is 404.

Hello @Seppel3210,
the crates are not published in crates.io yet (see #120 for updates). An unfortunate consequence of that is the documentation in docs.rs are not available (they are built from the published crates).
As for the Homepage and Repository they should point to the new repo but I am unable to find the old reference anywhere. Can you point me to the wrong reference?

We'll leave #120 open.


[EventHub/ServiceBus] update for mypy 1.0.0

Fixing errors for mypy 1.0.0 update.

/azp run python - eventhub - tests

/azp run python - servicebus - tests

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-eventhub

/azp run python - servicebus - tests

/azp run python - eventhub - tests

/azp run python - servicebus - tests

/azp run python - eventhub - tests

closing b/c duplicate pr


vcpkg error: Failed to provision vcpkg-artifacts

Type: Bug Report
Describe the bug

OS and Version: Ubuntu 20.04
VS Code Version: 1.76.2
Embedded Tools Extension Version: 1.0.0
Target embedded device: N/A

To Reproduce
Steps to reproduce the behavior:

Attempt to load any workspace with the STM32 VS Code Extension
Note that vcpkg has failed with output:

> Using vcpkg executable at "/home/redact/.vscode/extensions/ms-vscode.vscode-embedded-tools-0.7.230323001-linux-x64/assets/platform/linux-x64/vcpkg-glibc.app".
> Using VCPKG_ROOT at "/home/redact/.config/Code/User/globalStorage/ms-vscode.vscode-embedded-tools/vcpkg/root".
> Activating environment at "/home/redact/STM32CubeIDE/workspace_1.8.0/redactredact/vcpkg-configuration.json".
> Version of vcpkg used to create VCPKG_ROOT: "2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454".
> Running vcpkg with arguments ["version"].
vcpkg package management program version 2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454

See LICENSE.txt for license information.
> Bundled version of vcpkg: "2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454".
> Running vcpkg with arguments ["activate","--project","/home/redact/STM32CubeIDE/workspace_1.8.0/redactredact","--json","/tmp/0cbf6b4eb2531ea7c4a1e4a69595a744"].
warning: vcpkg-artifacts is experimental and may change at any time.
Downloading vcpkg-artifacts bundle 2023-03-14...
error: Failed to provision vcpkg-artifacts.
> Failed with exit code "1".

Expected behavior
I believe it is trying to find an artifacts bundle in ~/.cache/vcpkg but in fact that directory is empty. I'm not sure why it doesn't try to download and extract the bundle.
I have tried the same thing on an Ubuntu 22.04 machine and it works as expected without this error

@anderwm Thanks for posting this issue. Could you please provide the file vcpkg-bundle.json?
[DEBUG] Trying to load bundleconfig from /home/user_a/.vscode/extensions/ms-vscode.vscode-embedded-tools-0.7.0-linux-x64/assets/platform/linux-x64/vcpkg-bundle.json
[DEBUG] Failed to open: /home/user_a/.vscode/extensions/ms-vscode.vscode-embedded-tools-0.7.0-linux-x64/assets/platform/linux-x64/vcpkg-bundle.json

It isn't there...The only things in that directory are placeholder.txt and vcpkg-glibc.app
There is a vcpkg-bundle.json in /home/user_a/.config/Code/User/globalStorage/ms-vscode.vscode-embedded-tools/vcpkg/root/vcpkg-bundle.json

I have the same Issue:

Using vcpkg executable at "c:\Portable\VSCode-win32-x64-1.76.2\data\extensions\ms-vscode.vscode-embedded-tools-0.7.0-win32-x64\assets\platform\win32-x64\vcpkg.exe".
Using VCPKG_ROOT at "c:\Portable\VSCode-win32-x64-1.76.2\data\user-data\User\globalStorage\ms-vscode.vscode-embedded-tools\vcpkg\root".
Activating environment at "c:\UserData\firmware\bms\vcpkg-configuration.json".
Version of vcpkg used to create VCPKG_ROOT: "2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454".
Running vcpkg with arguments ["version","--debug"].
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from c:\Portable\VSCode-win32-x64-1.76.2\data\extensions\ms-vscode.vscode-embedded-tools-0.7.0-win32-x64\assets\platform\win32-x64\vcpkg-bundle.json
[DEBUG] Failed to open: c:\Portable\VSCode-win32-x64-1.76.2\data\extensions\ms-vscode.vscode-embedded-tools-0.7.0-win32-x64\assets\platform\win32-x64\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
vcpkg package management program version 2023-03-14-105f7f7e8a5ea10dfac9874ff9d1a6bacba5f454

@anderwm What's the content of /home/redact/STM32CubeIDE/workspace_1.8.0/redactredact/vcpkg-configuration.json?


feat(chat): Add proxy support  for the next-auth (Issue# 1539)

Description:
Added patch for the next-auth proxy support
Issues:

Issue #1539

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review


Django 1.8 compatibility

Hey there, thanks for this package, it's really helpful!
I've been testing with 1.8 and noticed a few things that got removed in this release, so I've updated some bits.

Hey @annikaC, sorry for the late reply and thanks for the pull request!
Unfortunately this breaks django 1.5 compatibility. I'll try to see if there's an easy way to get both versions working with the new __all__ requirement or if we're going to cut off django 1.5 support. Probably the latter one :smiley:


Add *.wast support for invoking components

This commit builds on bytecodealliance/wasm-tools#690 to add support to
testing of the component model to execute functions when running
*.wast files. This support is all built on #4442 as functions are
invoked through a "dynamic" API. Right now the testing and integration
is fairly crude but I'm hoping that we can try to improve it over time
as necessary. For now this should provide a hopefully more convenient
syntax for unit tests and the like.

also cc @dicej you might be interested in what's going on here as well


[Open Source Project] Create README

WIP.
Following this question http://stackoverflow.com/questions/2304863/how-to-write-a-good-readme

Ready to be read ;)


Sogou Input Method window cannot be located near the text box

When using Sogou Input Method in China, the input method window cannot be located near the text box and always appears at the bottom of the screen.
Sogou Input Method has 530 million users in China, and we hope to make it compatible with this input method.
The default setting for Sogou Input Method is for the input window position to follow the location of the input cursor. Maybe this input cursor is a concept in Windows, but I am not entirely sure.
Test in egui example: use chinese to in put ‘你好’
Testing environment: Windows 11. egui 0.23.0
Sogou Input Method download:

老哥，放个截图

https://github.com/emilk/egui/assets/108512675/1affded3-1eec-4742-a3d5-73a042090e08

Can not reproduced on my mac os 14.0.

The same porblem on xunfei input,but  Microsoft input method is normal!

解决了吗？


fix: usr: #300: Modify getStats() in NonLocalRequestChain to report correct Cache Stats

NonLocalRequestChain.getStats() was reporting all requests as remote reads which is wrong.

Marking those requests that go to the NonLocalReadRequestChain as nonlocal reads with this change.

The rest of the requests that go to the RemoteFetchRequestChain result in data getting downloaded asynchronously in the non-local node, while the requesting node falls back to direct reads, and direct reads stats are not collected.

fixes #300

Codecov Report

Merging #301 into master will increase coverage by 0.03%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #301      +/-   ##
==========================================
+ Coverage   50.31%   50.34%   +0.03%
==========================================
  Files          60       60
  Lines        3031     3031
  Branches      332      332
==========================================
+ Hits         1525     1526       +1
  Misses       1417     1417
+ Partials       89       88       -1

Impacted Files
Coverage Δ

...va/com/qubole/rubix/core/NonLocalRequestChain.java
0% <0%> (ø)
:arrow_up:

.../qubole/rubix/hadoop2/Hadoop2ClusterManagerV2.java
49.12% <0%> (+1.75%)
:arrow_up:


Default Middleware

There needs to be some kind of default Middleware that loads "off the shelf"... This needs to be easily disabled if the integrator has his/her own plans.
I'm thinking of a middlewareBootstrap function on SakuraApi that gets invoked when .listen get's called. That could be set to null/undefined by the integrator to disable it. Alternatively, perhaps a middleware option in the config?
Blocks #6

never mind... decided this is best done programmatically by the integrator using the sakuraApi.addMiddleware functionality that's already there... the CLI (when it gets built) can scaffold the project such that there's a bunch of default middleware setup before SakuraApi's .listen get's invoked... then it's up to the user to change that setup, etc.


1120: Access of undefined property AIRAndroidUtils

I'm getting this error with the following method:
AIRAndroidUtils.setCutoutMode(CutoutMode.DEFAULT);
I have both the ANE added in my descriptor file as well as
import com.marpies.ane.androidutils.data.CutoutMode

Did you also import the main class, i.e.
import com.marpies.ane.androidutils.AIRAndroidUtils

Did you also import the main class, i.e.
import com.marpies.ane.androidutils.AIRAndroidUtils

Thank you for your quick reply. Importing the main class solved the issue. The extension is working fine.


Fixed a lot of typos and made stuff more clear.

I have made sections a lot more clear for people to read and understand.

No problem!


Add support for read-only root filesystem and enable by default

resolves kiali/kiali#6888

Mount emptyDir to /tmp instead of /tmp/ansible-operator/runner
Define ANSIBLE_LOCAL_TEMP env variable to set path for Ansible temporary directory to /tmp/ansible/tmp instead of root filesystem.
Create localAnsibleTmpPath in Values so users can set their own path.
Set readOnlyRootFilesystem to true in operator deployment.yaml to enable this feature by default.

This will also require changes to the OLM metadata for those who install the operator via OLM (as opposed to helm). So this means a PR over in the kiali-operator repo. See the checklist here.
The files where you will want to make similar changes will be here:
* https://github.com/kiali/kiali-operator/blob/master/manifests/kiali-upstream/1.78.0/manifests/kiali.v1.78.0.clusterserviceversion.yaml

* https://github.com/kiali/kiali-operator/blob/master/manifests/kiali-community/1.78.0/manifests/kiali.v1.78.0.clusterserviceversion.yaml

* https://github.com/kiali/kiali-operator/blob/master/manifests/kiali-ossm/manifests/kiali.clusterserviceversion.yaml

Created PR in kiali-operator. Let me know if I'm missing anything. Thanks! kiali/kiali-operator#729

PR updated with requested changes. Thanks for finding that.


Move NPM_TOKEN to a service account

It's currently using my personal one. DevProd have a service account, (and I think there's a separate old Wrangler service account?). We either re-use one of those, or make a new one?

Updated with a new one


fix issuing of connection IDs when dialing a 0-RTT connections

Fixes #3057.
When dialing a 0-RTT connection, the client first restores the transport parameters from the original connection, and then applies the transport parameters provided by the server on the new connections.
@rip-create-your-account Do you think this fix is correct?

What happens if the (*TransportParameters).ActiveConnectionIDLimit for the new connection is less than that of the 0-RTT params?  (*TransportParameters).ValidFor0RTT doesn't check that field and I don't see server validating it elsewhere. So if the server were to reduce its ActiveConnectionIDLimit then same issue would occur as the client would issue CIDs according to the higher limit of the 0-RTT params. Should server reject 0-RTT in such case?

Good catch! That’s definitely an oversight, it’s even in the spec: https://www.ietf.org/archive/id/draft-ietf-quic-transport-34.html#name-values-of-transport-paramet
I’ll create a separate PR for that.

In that case this PR looks like good to me


Stop importing/exposing everything that can be used by end-users in Cosmos init

The current approach is very error-prone:
https://github.com/astronomer/astronomer-cosmos/blob/aa26fc35b7caf5e456e1d582ebab4056c5bfb34f/cosmos/__init__.py
People who add new execution modes have to change multiple places, and the tendency is for this module to grow indefinitely. We should stop doing this and clean up what we want to expose from within the root path of Cosmos.

Should we create a label saying breaking-change and attach to such issues?

I think this is a great suggestion, @pankajkoti , could you do this, please?

Thanks @tatiana for the agreement. I have created a label and attached to the ones that I felt are breaking changes(most of them already had Cosmos 2.0.0 milestone set). Rethinking, I feel this could be duplicacy to setting the Milestone 2.0.0, but let's see if it is of any help to also have that label. If we think it's not needed, we can delete that label.


[Framework] Create method to pass knowledge of child content to parent content

Issue Description
Parent navigation content has no knowledge of its children content. The list item does not know if its content is another menu or page content. This means we cannot show a difference between list items that expose another drill-in menu or actually paint a page. The UI needs to include a progressive disclosure indicator.
Issue Type

[ ] New Feature
[x] Enhancement
[x] Usability Concern
[ ] Bug
[ ] Other

Expected Behavior
Parent navigation content has no knowledge of its children content. The list item does not know if its content is another menu or page content. This means we cannot show a difference between list items that expose another drill-in menu or actually paint a page. The UI needs to include a progressive disclosure indicator.
Current Behavior
There is currently no method of passing this knowledge up to the parent and displaying a progressive disclosure indicator.

Based off of my understanding of how this was explained, the current implementation satisfies the need requested.


Check https://github.com/thmsmtylr/opal-pongbot/commit/e95fef536ad84dd4a4d46dcddec4d0e84c57770e

https://github.com/thmsmtylr/opal-pongbot/commit/e95fef536ad84dd4a4d46dcddec4d0e84c57770e
Was a bug, check whether it's fixed.

Fix confirmed.


Validation promo code

Hello, thank you for the package. What should be done when the user wants to apply the promo code? And the display of errors is intended?
I think validation should be added with Laravel
https://laravel.com/docs/9.x/validation#custom-validation-rules

@zgabievi Are you accepting PR as a feature request on this?

@zgabievi Are you accepting PR as a feature request on this?

Sure <3

Added in #95


ibmcloud: unit tests don't compile

While working on https://github.com/confidential-containers/cloud-api-adaptor/issues/47 I realized the tests pkg/adaptor/hypervisor/ibmcloud/server_test.go and pkg/adaptor/hypervisor/ibmcloud/shim_test.go don't compile.
The build errors:
[wmoschet@wainer-laptop ibmcloud]$ go test
# github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/hypervisor/ibmcloud [github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/hypervisor/ibmcloud.test]
./server_test.go:89:58: undefined: Server
./server_test.go:138:64: cannot use newAgentService() (type *agentService) as type grpc.AgentServiceService in argument to grpc.RegisterAgentServiceService:
	*agentService does not implement grpc.AgentServiceService (missing CreateSandbox method)
./server_test.go:159:58: undefined: Server
./server_test.go:163:19: too many arguments in call to NewServer
./server_test.go:163:47: undefined: ServiceConfig
./server_test.go:193:41: undefined: Server
./shim_test.go:444:63: undefined: grpc.StartTracingRequest
./shim_test.go:448:62: undefined: grpc.StopTracingRequest
./shim_test.go:456:59: undefined: grpc.CreateVMRequest
./shim_test.go:460:60: undefined: grpc.DestroyVMRequest
./server_test.go:163:19: too many errors
FAIL	github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/hypervisor/ibmcloud [build failed]

I did a couple of fixes as shown in the diff below:
diff --git a/pkg/adaptor/hypervisor/ibmcloud/server_test.go b/pkg/adaptor/hypervisor/ibmcloud/server_test.go
index c1ada6e..f98fd80 100644
--- a/pkg/adaptor/hypervisor/ibmcloud/server_test.go
+++ b/pkg/adaptor/hypervisor/ibmcloud/server_test.go
@@ -1,5 +1,6 @@
 // (C) Copyright IBM Corp. 2022.
 // SPDX-License-Identifier: Apache-2.0
+// +build ibmcloud

 package ibmcloud

@@ -21,6 +22,7 @@ import (
        "github.com/IBM/vpc-go-sdk/vpcv1"

        "github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/forwarder"
+       "github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/hypervisor"
        daemon "github.com/confidential-containers/cloud-api-adaptor/pkg/forwarder"
        "github.com/confidential-containers/cloud-api-adaptor/pkg/podnetwork/tunneler"
        "github.com/confidential-containers/cloud-api-adaptor/pkg/util/http/upgrader"
@@ -86,7 +88,7 @@ func TestCreateStartAndStop(t *testing.T) {
        }
 }

-func testServerStart(t *testing.T, ctx context.Context) (Server, string, string, pb.HypervisorService, chan error) {
+func testServerStart(t *testing.T, ctx context.Context) (hypervisor.Server, string, string, pb.HypervisorService, chan error) {
        dir, err := ioutil.TempDir("", "helper")
        if err != nil {
                t.Fatal(err)
@@ -156,26 +158,41 @@ func startAgentServer(t *testing.T) string {
        return port
 }

-func newServer(t *testing.T, socketPath, podsDir string) Server {
+func newServer(t *testing.T, socketPath, podsDir string) hypervisor.Server {
+       hypervisorConfig := hypervisor.Config{
+               PodsDir:     podsDir,
+               SocketPath:  socketPath,
+               HypProvider: "ibmcloud",
+       }
        switch strings.ToLower(os.Getenv("USE_IBM_CLOUD")) {
        case "", "no", "false", "0":
                port := startAgentServer(t)
-               return NewServer(socketPath, &mockVpcV1{}, &ServiceConfig{}, &mockWorkerNode{}, podsDir, port)
+               return NewServer(hypervisorConfig, Config{}, &mockWorkerNode{}, port)
        }
        log.Print("Using IBM Cloud...")
        apiKey := os.Getenv("API_KEY")
        if apiKey == "" {
                t.Fatal("Specify the API key as API_KEY")
        }
-       vpcv1, err := NewVpcV1(apiKey)
-       if err != nil {
-               t.Fatal(err)
+
+       iamServiceURL := os.Getenv("IAM_SERVICE_URL")
+       if iamServiceURL == "" {
+               t.Fatal("Specify the IAM Service URL as IAM_SERVICE_URL")
        }
+
+       vpcServiceURL := os.Getenv("VPC_SERVICE_URL")
+       if vpcServiceURL == "" {
+               t.Fatal("Specify the VPC Service URL as VPC_SERVICE_URL")
+       }
+
        keyId := os.Getenv("KEY_ID")
        if keyId == "" {
                t.Fatal("Specify the SSH key ID as KEY_ID")
        }
-       serviceConfig := &ServiceConfig{
+
+       // TODO: need to remove the hard-coded config and finish the
+       // implementation in order to use vpcv1.
+       serviceConfig := Config{
                ProfileName:              "bx2-2x8",
                ZoneName:                 "us-south-2",
                ImageID:                  "r134-d2090805-5652-4845-b287-46232e1098c3",
@@ -185,12 +202,15 @@ func newServer(t *testing.T, socketPath, podsDir string) Server {
                SecondarySecurityGroupID: "r134-2d59206c-ac4d-4488-b9a4-a086bef59ee5",
                KeyID:                    keyId,
                VpcID:                    "r134-c199bf26-ec6d-4c5d-a0a2-1e74d312891f",
+               ApiKey:                   apiKey,
+               IamServiceURL:            iamServiceURL,
+               VpcServiceURL:            vpcServiceURL,
        }

-       return NewServer(socketPath, vpcv1, serviceConfig, &mockWorkerNode{}, podsDir, daemon.DefaultListenPort)
+       return NewServer(hypervisorConfig, serviceConfig, &mockWorkerNode{}, daemon.DefaultListenPort)
 }

-func testServerShutdown(t *testing.T, s Server, socketPath, dir string, serverErrCh chan error) {
+func testServerShutdown(t *testing.T, s hypervisor.Server, socketPath, dir string, serverErrCh chan error) {

        if err := s.Shutdown(); err != nil {
                t.Error(err)
diff --git a/pkg/adaptor/hypervisor/ibmcloud/shim_test.go b/pkg/adaptor/hypervisor/ibmcloud/shim_test.go
index d04c9fe..6bae051 100644
--- a/pkg/adaptor/hypervisor/ibmcloud/shim_test.go
+++ b/pkg/adaptor/hypervisor/ibmcloud/shim_test.go
@@ -1,5 +1,6 @@
 // (C) Copyright IBM Corp. 2022.
 // SPDX-License-Identifier: Apache-2.0
+// +build ibmcloud

 package ibmcloud

@@ -17,6 +18,7 @@ import (
        "testing"
        "time"

+       "github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/hypervisor"
        daemon "github.com/confidential-containers/cloud-api-adaptor/pkg/forwarder"
        "github.com/confidential-containers/cloud-api-adaptor/pkg/podnetwork"
        "github.com/containerd/containerd/pkg/cri/annotations"
@@ -85,7 +87,13 @@ func TestShim(t *testing.T) {
                workerNode = podnetwork.NewWorkerNode(t, "")
        }

-       server := NewServer(helperSocketPath, &mockVpcV1{primaryIP: primaryIP, secondaryIP: secondaryIP}, &ServiceConfig{}, workerNode, podsDir, port)
+       hypervisorConfig := hypervisor.Config{
+               PodsDir:        podsDir,
+               SocketPath:     helperSocketPath,
+               HypProvider:    "ibmcloud",
+       }
+
+       server := NewServer(hypervisorConfig, &mockVpcV1{primaryIP: primaryIP, secondaryIP: secondaryIP}, &ServiceConfig{}, workerNode, port)

        serverDone := make(chan struct{})
        go func() {

... however after those changes there are still errors:
# github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/hypervisor/ibmcloud [github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/hypervisor/ibmcloud.test]
./server_test.go:140:64: cannot use newAgentService() (type *agentService) as type grpc.AgentServiceService in argument to grpc.RegisterAgentServiceService:
	*agentService does not implement grpc.AgentServiceService (missing CreateSandbox method)
./shim_test.go:96:21: too many arguments in call to NewServer
./shim_test.go:96:101: undefined: ServiceConfig
./shim_test.go:195:64: cannot use newAgentService() (type *agentService) as type grpc.AgentServiceService in argument to grpc.RegisterAgentServiceService:
	*agentService does not implement grpc.AgentServiceService (missing CreateSandbox method)
./shim_test.go:452:63: undefined: grpc.StartTracingRequest
./shim_test.go:456:62: undefined: grpc.StopTracingRequest
./shim_test.go:464:59: undefined: grpc.CreateVMRequest
./shim_test.go:468:60: undefined: grpc.DestroyVMRequest
FAIL	github.com/confidential-containers/cloud-api-adaptor/pkg/adaptor/hypervisor/ibmcloud [build failed]

Unfortunately I cannot spend more time on this, so I am opening this issue.

@bpradipt @stevenhorsman could you please re-open this issue as it was not fixed yet? I don't have permission to carry out such as operation in this repository...

I've

I've re-opened this. @bpradipt - I think you are a co-co owner, so can you invite Wainer to https://github.com/orgs/confidential-containers/teams/peer-pod-maintainers please?

Sorry, I'm getting confused about whether this issue is fully resolved yet or not. I think it is though after #55 was merged!


What are critical differences between STRAIGHT and WORLD vocoder

Both STRAIGHT and WORLD vocoders are used in Merlin. I just wonder what are critical differences between them.
I did read papers so far, here's what I found:
On analysis, WORLD uses DIO algorithm. It seems not superior to F0 extraction in STRAIGHT.
WORLD uses CheapTrick to extract spectra. It seems similar to STRAIGHT. Am I right?
Seem like the big difference is aperiodicity definition and extraction.
On synthesis, WORLD uses excitation signal and spectra to calculate vocal cord vibration. It's different from STRAIGHT and WORLD's result is better than STRAIGHT.
What do you think about their differences?
Thanks for spending your time on my issue.

This is good to figure out what the differences are. As a non-academic user, I don't have access to STRAIGHT. It would be good to improve the DIO algorithm for F0 extraction or be able to compute F0 with other algorithms. But is is encouraging to read that you think WORLD does a better job on the synthesis front.
What kind of data have you tried to base your conclusions on? How is the F0 extraction worse? Are the values wrong or are there more unvoiced frames? Have you compared with any other 3rd party algorithms (from snack or praat or using autocorrelation)? Have you played with some of the WORLD parameters to tailor it to the speaker? I wonder if F0 extraction would be better, if the actual F0 range of the speaker was used?

For F0 accuracy/precision, it would be great to plug STRAIGHT's f0 (and REAPER) in https://github.com/mmorise/tusk

Does anybody with access to both STRAIGHT and WORLD have some side-by-side comparison waveforms? We have been able to build some of our own voices using WORLD but we don't have STRAIGHT and a commercial license is very expensive, so I would like to hear a comparison of the same content to hear if it is better.
Any other ideas to get the buzziness out of the WORLD vocoded speech? It seems to mostly affect fricatives and /h/. Making tweaks to the BAP / VUV analysis or F0?

It would be great to compare the samples from both vocoders. I guess @ronanki must have some samples.  However, in my experience the differences you hear may not generalisable since it depends a lot on the voice. I heard a rumor that in AB tests WORLD performed better than STRAIGHT. There are other type of vocoders which use glottal inverse filtering to extract the parameters from speech signals https://users.aalto.fi/~bollepb1/papers/interspeech_2016.pdf, I modified the merlin to support the GlottHMM vocoder in this #87.

Don't have samples available but I briefly compared them for one or two voices and decided that the license is not worth it. They were remarkably similar.
I wonder how the https://research.google.com/pubs/pub43336.html would fare.

I don't have any specific samples but my experience is that the two are generally on par.
Some voices seem a bit better with STRAIGHT, some a bit better with WORLD.
In this paper: http://mirlab.org/conference_papers/International_Conference/ICASSP 2016/pdfs/0005535.pdf
Shinji and Junichi found world to be rated slightly higher than straight.

Thanks for the feedback. I can imagine that some voices are better in some methods than others. So far I have tried two in-house voices with the WORLD vocoder, one is a male voice and one is female. While the overall quality is similar, I hear more buzziness in the female voice. I didn't think it was worth it to purchase STRAIGHT but we would need to hear it side-by-side for a variety of voices to really be sure. I am glad to read that WORLD is considered better or equal to STRAIGHT.
I saw the earlier post about GlotHMM. I didn't realize it also contained the vocoder code, so I will take a look at it and see if I can build a merlin voice with it.
Is there a way to try out Vocaine?
Has anyone tried AHOcoder (http://aholab.ehu.es/ahocoder/info.html)? I have the binaries and can generate parameter files with it. I needed to set the ccorder to 59 to get the same dimensions as WORLD. I haven't implemented the synthesizer part yet, but can synthesize from the command line with the generated parameters files from Merlin.

When I try out the GlottHMM code I get an error. @bajibabu can you help me? I created analysis files using Analysis wavfn cfg/config_default but when merlin tries to process the acoustic files it says:
2017-03-01 15:03:58,844 INFO      acoustic_comp: processing file    1 of  110 : /home/esther/merlin/egs/sophie/experiments/sophie_glotthmm/acoustic_model/data/nn_LSF_LSFsource_Gain_HNR_F0_vuv_142/sn001_sent001.cmp Traceback (most recent call last):   File "/home/esther/merlin/src/run_merlin.py", line 1176, in <module>     main_function(cfg)   File "/home/esther/merlin/src/run_merlin.py", line 694, in main_function     acoustic_worker.prepare_nn_data(in_file_list_dict, nn_cmp_file_list, cfg.in_dimension_dict, cfg.out_dimension_dict)   File "/home/esther/merlin/src/frontend/acoustic_base.py", line 122, in prepare_nn_data     self.prepare_data(in_file_list_dict, out_file_list, in_dimension_dict, out_dimension_dict)   File "/home/esther/merlin/src/frontend/acoustic_composition.py", line 126, in prepare_data     features, frame_number = io_funcs.load_binary_file_frame(in_file_name, in_feature_dim)   File "/home/esther/merlin/src/io_funcs/binary_io.py", line 67, in load_binary_file_frame     assert features.size % float(dimension) == 0.0,'specified dimension %s not compatible with data'%(dimension) AssertionError: specified dimension 30 not compatible with data


Dataset Preparation

Hi,
I have a dataset of 16000 docs and I have some queries. For each query there can be more than one relevant document. Can you tell me how can I prepare my data and also the evaluation?

Hi,
Are your labels binary (relevant / non-relevant)?
If so, use a baseline ranker, e.g. BM25, to retrieve top 100 documents for
a query. Then a training instance is (query, a relevant doc, a non-relevant
doc in top100)
You may want to random sample the non-relevant documents in top100 instead
of using all of them.
On Mon, May 13, 2019 at 2:15 AM Alishiba Dsouza<EMAIL_ADDRESS>wrote:

Hi,
I have a dataset of 16000 docs and I have some queries for each query
there can be more than one relevant document. Can you tell me how can I
prepare my data and also the evaluation?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AdeDZY/K-NRM/issues/15, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHQHGBNPGEAEFG3YGTHTETPVEWRJANCNFSM4HMN3GKQ
.

Let's say for a query 'Apple' the relevant docs are 100,120,400 and rest all are non-relevant  then
'Apple' \t 100,200,400\t remaining docs \t score. Is it the correct representation of the training instance?

@alishiba14 I think its true, but how can we represent remaining docs? And score, I think we can get it from BM25, right?

Let's say a query is 'Apple', and its relevant documents:
Very relevant doc (score=2): 'iPhone X - apple.com',
Somehow relevant doc (score=1): 'apple inc - wikipedia',
and 10 other non-relevant doc retrieved from BM25:
Non-rel doc1 (score=0): 'apple juice is healthy'.
Non-rel doc2 (score=0): 'apple is red'
...
The training instance is:
Apple \t iPhone X apple com \t apple juice is healthy \t 2
Apple \t iPhone X apple com \t apple is red \t 2
Apple \t apple inc - wikipedia \t apple juice is healthy \t 1
Apple \t apple inc - wikipedia \t apple is red \t 1
Then we map the words to word ids.
On Mon, May 20, 2019 at 9:41 PM Giang Nguyen<EMAIL_ADDRESS>wrote:

@alishiba14 https://github.com/alishiba14 I think its true, but how can
we represent remaining docs? And score, I think we can get it from BM25,
right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AdeDZY/K-NRM/issues/15?email_source=notifications&email_token=ABHQHGHBN6P7WGICDCDKY3LPWNHLPA5CNFSM4HMN3GK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2QEAA#issuecomment-494207488,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHQHGCBH4GE5BX4R72X3HLPWNHLPANCNFSM4HMN3GKQ
.

--
Zhuyun Dai
Language Technologies Institute
School of Computer Science
5000 Forbes Avenue
Pittsburgh, PA 15213

Could you please tell me where can I get the training data. Should I pull from an available dataset or I need to pass over a traditional IR (BM25), them take the result of BM25 as my training data? Thank you.

Which dataset are you using? Is it your own dataset? I guess you need to
pass over a traditional IR and take the results.
On Mon, May 20, 2019 at 10:17 PM Giang Nguyen<EMAIL_ADDRESS>wrote:

Could you please tell me where can I get the training data. Should I pull
from an available dataset or I need to pass over a traditional IR (BM25),
them take the result of BM25 as my training data? Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AdeDZY/K-NRM/issues/15?email_source=notifications&email_token=ABHQHGCZUQ6KMSTSIIJF7WDPWNLSTA5CNFSM4HMN3GK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2RU6I#issuecomment-494213753,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHQHGH2GOFUFENUJGTEH6DPWNLSTANCNFSM4HMN3GKQ
.

--
Zhuyun Dai
Language Technologies Institute
School of Computer Science
5000 Forbes Avenue
Pittsburgh, PA 15213

I guess it is clear now. I will try and do it and get back to you. Thanks a lot for your reply. :)

: )
On Tue, May 21, 2019 at 2:58 AM Alishiba Dsouza<EMAIL_ADDRESS>wrote:

I guess it is clear now. I will try and do it and get back to you. Thanks
a lot for your reply. :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AdeDZY/K-NRM/issues/15?email_source=notifications&email_token=ABHQHGE5BO3YL52ZY26QMJTPWOMRDA5CNFSM4HMN3GK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV26EOI#issuecomment-494264889,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHQHGH4MRYOQROK6T7745LPWOMRDANCNFSM4HMN3GKQ
.

--
Zhuyun Dai
Language Technologies Institute
School of Computer Science
5000 Forbes Avenue
Pittsburgh, PA 15213

Which dataset are you using? Is it your own dataset? I guess you need to pass over a traditional IR and take the results.
…
On Mon, May 20, 2019 at 10:17 PM Giang Nguyen @.***> wrote: Could you please tell me where can I get the training data. Should I pull from an available dataset or I need to pass over a traditional IR (BM25), them take the result of BM25 as my training data? Thank you. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#15?email_source=notifications&email_token=ABHQHGCZUQ6KMSTSIIJF7WDPWNLSTA5CNFSM4HMN3GK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2RU6I#issuecomment-494213753>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHQHGH2GOFUFENUJGTEH6DPWNLSTANCNFSM4HMN3GKQ .
-- Zhuyun Dai Language Technologies Institute School of Computer Science 5000 Forbes Avenue Pittsburgh, PA 15213

Its also what I thought, thanks for reply.


Fix Jakttest on Apple Silicon

and support all but one string function in comptime
and fix an ide error

Now that this is using the arch, please swap the WIN32 and WIN64 branches to unbork the windows CI :upside_down_face:


Curriculum update needed on the-cascade.md

The Odin's file, the-cascade.md is updated. Please update the Kampus' file, checkout file here the-cascade.md
Latest commits:

Add blank lines between codeblocks (additions: 2, deletions: 0) on Jan 20 2024, 24:05 UTC
Change ordered list items to lazy numbering (additions: 3, deletions: 3) on Jan 19 2024, 24:13 UTC

New commits have been made to the Odin's file. Please update the Kampus' file.
Latest commits:

The Cascade: Remove additional resource (#27587) (additions: 3, deletions: 4) on Mar 13 2024, 22:07 UTC

New commits have been made to the Odin's file. Please update the Kampus' file.
Latest commits:

CSS: Update scrim link for The Cascade (Additional Resources) (#28135) (additions: 5, deletions: 2) on Jun 8 2024, 01:56 UTC

New commits have been made to the Odin's file. Please update the Kampus' file.
Latest commits:

Update link for Additional Resource section (#28191) (additions: 1, deletions: 1) on Jun 10 2024, 01:20 UTC


does this work on forge via sinytra connector

Reportedly yes, but you'll need to open the jar and change the java version to 17 in simple-water-gravity.mixins.json.
If you're on MC 1.20.1 specifically, I may republish a jar that doesn't require such edits.
Closing as duplicate of #2.


add a license

Currently, your project lacks a license, which means it defaults to "all rights reserved". This means that, for example, I can't legally redistribute your source code, including modified copies, or binaries built from said source code. Additionally, I'm not sure whether you can accept contributions right now - unless the contributors grant you the license to use their code (I don't know whether "implicit agreement" works here, I'm not a lawyer), you can't legally do it.
Note that any contributions will use that license as well, so you will be bound by the terms of that license as well with regards to code contributed by others.
https://writefreesoftware.org/learn/participate/choose-a-license/
In this particular case, I'm using NixOS, and I want to package your program (and contribute code, like update Gradle and iron out any potential rough edges on Linux), but it needs to be open-source (or at least allow redistribution) to allow binary caching, without which the program will be rebuilt each time someone installs it.

you are correct
added license


xCode Compiler errors when using IL2CPP and Universal Architecture for unity ios build

Using Unity 4.6.5 and xCode 6.3.1. I get compiler errors when building the xCode project generated by Unity with IL2CPP scripting backend and Universal architecture.
I get errors for the KSCrashReport.c file:

Libraries/KSCrashReport.c:55:13: Unknown type name 'ucontext64_t'; did you mean 'ucontext_t'?

Libraries/KSCrashReport.c:424:69: No member named 'uc_mcontext64' in 'struct __darwin_ucontext'; did you mean 'uc_mcontext'?

Hi @sambauwens,
This should be fixed with release 2.2.6, which includes the fix from KSCrash.
Conrad


install failed

Download: git clone 'https://github.com/SamKhoze/ComfyUI-DeepFuze'
[!]
100%|██████████| 647.0/647.0 [00:01<00:00, 616.14it/s]
100%|██████████| 647.0/647.0 [00:01<00:00, 615.83it/s]
100%|██████████| 602.0/602.0 [00:01<00:00, 452.64it/s]
100%|██████████| 602.0/602.0 [00:01<00:00, 452.64it/s]
28%|██▌       | 308.0/1108.0 [01:14<03:14,  4.12it/s]Cmd('git') failed due to: exit code(128)
28%|██▌       | 308.0/1108.0 [01:14<03:14,  4.12it/s]   cmdline: git clone -v --recursive --progress -- https://github.com/SamKhoze/ComfyUI-DeepFuze E:\Ai\ComfyPort\ComfyUI_Windows_portable\ComfyUI\custom_nodes\ComfyUI-DeepFuze

Did you use Comfyui manager to install it or you installed it manually?

I tried both ways through the manager it just hangs and I have to delete the node to start comfy again. Through git, it fails on 28%.

Now getting this error
Install: ['https://github.com/SamKhoze/CompfyUI-DeepFuze.git']
Download: git clone 'https://github.com/SamKhoze/CompfyUI-DeepFuze.git'
[!]
Cmd('git') failed due to: exit code(128)
0it [00:29, ?it/s]   cmdline: git clone -v --recursive --progress -- https://github.com/SamKhoze/CompfyUI-DeepFuze.git E:\Ai\pinokio\api\comfyui.git\app\custom_nodes\CompfyUI-DeepFuze

Through git clone got this error
$ git clone https://github.com/SamKhoze/CompfyUI-DeepFuze.git
Cloning into 'CompfyUI-DeepFuze'...
remote: Repository not found.
fatal: repository 'https://github.com/SamKhoze/CompfyUI-DeepFuze.git/' not found

@Steelman14aUA try to download the zip file and manually place it into your custom_nodes folder, restart your comfyui and see if it works.

It error in a link, use this - https://github.com/SamKhoze/ComfyUI-DeepFuze.git


SELinux boolean added for httpd -> ldap connections

Description of PR

Type of change

Feature Pull Request
Bugfix Pull Request
Docs Pull Request
Fixes an issue

Hi @Vinclame
Can you take a look at the CI error:
    /home/travis/build/dj-wasabi/ansible-zabbix-web/tasks/main.yml
      70:6      error    wrong indentation: expected 4 but found 5  (indentation)

Thanks! 👍


Simulator install - curl: (18) transfer closed

Hi,
I'm experiencing the same error for a long time now and it can happen a few times in a row as in the below log.
This is the command I'm running: xcversion simulators --install="tvOS 10.1"
And this is the log:
$ xcversion simulators --install="tvOS 10.1"
Installing tvOS 10.1 Simulator for Xcode 8.3.0...
####                                                                       5.9%
curl: (18) transfer closed with<PHONE_NUMBER> bytes remaining to read
Mounting DMG
hdiutil: mount failed - no mountable file systems
[!] Failed to invoke hdiutil.
$ xcversion cleanup; xcversion simulators --install="tvOS 10.1"
Installing tvOS 10.1 Simulator for Xcode 8.3.0...
###                                                                        4.5%
curl: (18) transfer closed with<PHONE_NUMBER> bytes remaining to read
Mounting DMG
hdiutil: mount failed - image not recognized
[!] Failed to invoke hdiutil.
$ xcversion cleanup; xcversion simulators --install="tvOS 10.1"
Installing tvOS 10.1 Simulator for Xcode 8.3.0...
##                                                                         3.0%
curl: (18) transfer closed with<PHONE_NUMBER> bytes remaining to read
Mounting DMG
hdiutil: mount failed - image not recognized
[!] Failed to invoke hdiutil.
$ xcversion cleanup; xcversion simulators --install="tvOS 10.1"
Installing tvOS 10.1 Simulator for Xcode 8.3.0...
####                                                                       5.8%
curl: (18) transfer closed with<PHONE_NUMBER> bytes remaining to read
Mounting DMG
hdiutil: mount failed - no mountable file systems
[!] Failed to invoke hdiutil.

Thanks

I'm not experiencing the "transfer closed" issue, but I do notice that if I Ctrl-C the process and run it again, it assumes an existing download is complete and attempts to mount the dmg.

When I restart it it's not continuing to download, just try to mount corrupted file and exit with error. I had to retry and it finally worked, but it's not stable for some reason.

I think the issue is with my network connection. Do you think it's possible to make the downloading script more resistant for connection drops and / or automatic retry?

XcodeInstall uses some curl flags to automatically finish any incomplete downloads for the Xcode dmgs, so potentially this could be done for the simulator downloads as well.

We are getting the same issue at CircleCI:
Installing iOS 10.0
Installing iOS 10.0 Simulator for Xcode 8.3.3...
<curl progressbar>
curl: (18) transfer closed with 140524867 bytes remaining to read
Mounting DMG
hdiutil: mount failed - image not recognized
[!] Failed to invoke hdiutil.

Same issue here. xcversion keeps mounting corrupt DMG. No recovery from network error whatsoever.

This is probably a fairly easy fix, to test copying in the same option curl uses for resuming a partial download, if anyone wants to try.

(and now that I look, I completely missed that @marcomorain has already done work towards that :)

#219 will help for network issues, but if there's an unfinished dmg downloaded we'll still blindly try and mount it. Doing this would at least help ensure we do a full check for a complete download every time:
diff --git a/lib/xcode/install.rb b/lib/xcode/install.rb
index 2a97256..65aec46 100644
--- a/lib/xcode/install.rb
+++ b/lib/xcode/install.rb
@@ -385,7 +385,7 @@ HELP
     end

     def install
-      download unless dmg_path.exist?
+      download
       prepare_package unless pkg_path.exist?
       puts "Please authenticate to install #{name}..."
       `sudo installer -pkg #{pkg_path} -target /`

Thanks @marcomorain 👍


Reverting c7c1eac and 9f53572

Hi!
After the introduction of commits c7c1eac070851068d7adc3a67ad2efd196145687 and 9f535729159baf467c3bd8dc7ec017a40289a12c with pull request #186 by @keszybz, I've refrained myself from updating the package in Debian, since I wasn't sure that the changes were correct.
A few weeks ago I took some time to have a small discussion with Debian's cross-builds folks about my concerns, and they said that no, the pkg-config and CMake files should not be installed in the arch-independent directories, because xbyak cannot be used on all architectures.
You can find further reasoning, and the pros and cons of each approach, in the following messages (it wasn't a long discussion):

<EMAIL_ADDRESS>172104623636.3075388.12476647907814437485@localhost
<EMAIL_ADDRESS>172111487285.3075388.7278994695474718693@localhost

Therefore I'm opening this issue to coordinate with @keszybz to revert the changes without causing breakage to Fedora. In short, you should have different arch-specific packages, one for x86 which installs .pc files in /usr/lib, and one for x86_64 which installs files in /usr/lib64.
If you think this isn't correct, please let me know! Bye :)

Thank you for your feedback.
@keszybz , what do you think about this?
I am not familiar with packaging so I will follow the outcome of your discussion.

Hi @keszybz, If there are no particular comments by the end of this month, I will revert the noted commits.

Hi @trixirt, pinging you too as you are the maintainer of the xbyak
package on Fedora. What are your opinions on this?
On Wed Aug 28, 2024 at 2:43 AM CEST, MITSUNARI Shigeo wrote:

Hi @keszybz, If there are no particular comments by the end of this
month, I will revert the noted commits.
Reply to this email directly or view it on GitHub:
https://github.com/herumi/xbyak/issues/189#issuecomment-2313867758

In the last update to 7.07 there were other issues with meson build that lead me to go back to cmake and we only build for x86_64 so I do not know if reverting this change is necessary.

Interesting, what issue have you incountered? Looking at the Git history
of Fedora packaging, you've skipped 7.06, which is where these
arch-independent changes got introduced in the first place. Hence the
pull request made by @keszybz never actually changed anything for
Fedora.
The file move might actually be the issue you've encountered, so it
makes sense to do the revert right now. @keszybz can always re-propose
the patch in the future (making sure that it actually lands in Fedora,
though!).
I'll submit a pull request shortly.

Also, to avoid the issue keszybz has encountered, you should not mark
xbyak as noarch, but should use rpm's equivalent of dpkg's "any".

Thanks.


Fix error handling in existing cluster setup

Fix error handling in existing cluster setup
Resolves #423

Codecov Report

Merging #435 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #435   +/-   ##
======================================
  Coverage    82.6%   82.6%
======================================
  Files          29      29
  Lines         776     776
  Branches       54      54
======================================
  Hits          641     641
  Misses         95      95
  Partials       40      40

Continue to review full report at Codecov.

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


"colcon build --merge-install" change the environment variable "LD_LIBRARY_PATH"

I also posed this question in answers.ros.org in case anybody has the same issue.
Here is the problem:
After I run the command
colcon build  --merge-install --install-base /opt/ros/$ROS_DISTRO

I found the environment variable "LD_LIBRARY_PATH" changed from
/opt/ros/galactic/lib/x86_64-linux-gnu:/opt/ros/galactic/lib to /opt/ros/galactic/lib. And then it caused it cannot find libraries under /opt/ros/galactic/lib/x86_64-linux-gnu.
Here are steps you can reproduce this error:

You can use docker image "public.ecr.aws/docker/library/ros:galactic"

put demo_nodes_cpp in your "src" folder. This demo needs libconsole_bridge.so.1.0 which is under /opt/ros/galactic/lib/x86_64-linux-gnu

run

colcon build --merge-install --install-base "/opt/ros/galactic"

check  the environment variable "LD_LIBRARY_PATH": echo $LD_LIBRARY_PATH.
You should get /opt/ros/galactic/opt/yaml_cpp_vendor/lib:/opt/ros/galactic/lib/x86_64-linux-gnu:/opt/ros/galactic/lib
save this container as a docker image. You can run

docker ps

to find this container ID. Then run
 docker commit "container ID" "image name"
6. start a container of the new docker image. Then check check  the environment variable "LD_LIBRARY_PATH": `echo $LD_LIBRARY_PATH`

You should get /opt/ros/galactic/lib
7. Run the demo ros2 run demo_nodes_cpp talker. You will get the error /opt/ros/galactic/lib/demo_nodes_cpp/talker: error while loading shared libraries: libconsole_bridge.so.1.0: cannot open shared object file: No such file or directory
There is no issue if only using colcon build. So I suspect the cause of this is from --merge-install.
Thank you for your help!

At first glance, this is probably due to the fact that the hooks installed by the debs in /opt/ros/<rosdistro> are generated by ament, and the hooks generated by colcon might be a little different. Clearly they aren't completely compatible if this sort of bug is popping up.
This isn't really a solution to this exact issue, but installing using colcon on top of the files installed by the debs probably isn't a good idea for reasons other than what you're experiencing here. This is the sort of scenario that overlay workspaces are designed for. You should install the packages to a different location and source that workspace's setup script, which should automatically chain to the /opt/ros/<distro> setup script as well as long as it had already been sourced when the new workspace was created.

Thanks for you answer! I will close the issue.


Laravel 8 login error

TypeError
Argument 1 passed to Illuminate\Auth\EloquentUserProvider::validateCredentials() must be an instance of Illuminate\Contracts\Auth\Authenticatable, instance of App\Models\User given, called in C:\xampp\htdocs\laravel_qrcode_test\vendor\laravel\framework\src\Illuminate\Auth\SessionGuard.php on line 422
http://localhost:8000/login

This package is no longer maintained but check out the forks. There are a lot of forks that update to support Laravel 6-9. The updates mostly involve updating package versions in the composer.json to match your project so you could try it yourself too.


🚧 Add image resize feature

![Alt text](/cecil-logo-1000.png?resize=300 'Title text')

?resize=300 resize image (width) to 300px (and respect ratio).

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  5

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  7

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  7

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

Complexity increasing per file
==============================
- src/Step/StaticCopy.php  1
- src/Converter/Parsedown.php  10

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity increasing per file
==============================
- src/Step/StaticCopy.php  1
- src/Converter/Parsedown.php  9

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  7
- src/Step/StaticCopy.php  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Step/StaticCopy.php  1
- src/Converter/Parsedown.php  7

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  7

Complexity decreasing per file
==============================
+ src/Step/StaticCopy.php  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  7

Complexity decreasing per file
==============================
+ src/Step/StaticCopy.php  -2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/Converter/Parsedown.php  7

Complexity decreasing per file
==============================
+ src/Step/StaticCopy.php  -2

See the complete overview on Codacy


Fixed flake8 ambiguous variable name error

This error caused Travis to fail:
https://travis-ci.org/github/vstinner/bytecode/jobs/689883347#L234

Codecov Report

Merging #61 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   98.18%   98.18%
=======================================
  Files           7        7
  Lines        1435     1435
=======================================
  Hits         1409     1409
  Misses         26       26

Continue to review full report at Codecov.

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

Thanks !


Fluent::ElasticsearchOutput::TimeParser.error

Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.

fluentd
Docker

fluent           | 2018-02-23 10:08:21 +0530 [warn]: #0 fluent/log.rb:342:warn: dump an error event: error_class=ArgumentError error="invalid date" location="/usr/lib/ruby/gems/2.3.0/gems/fluent-plugin-elasticsearch-2.6.0/lib/fluent/plugin/out_elasticsearch.rb:184:in `strptime'" tag="Fluent::ElasticsearchOutput::TimeParser.error" time=#<Fluent::EventTime:0x00007f1fb5c37d88 @sec=1519360701, @nsec=399161772> record={"tag"=>"sol.sol__apc-audit", "time"=>1519360715, "format"=>"%Y-%m-%d %H:%M:%S.%3N", "value"=>"2018-01-12 03:01:23.176"}

%L helped , so closing the issue

BTW, don't use fluentd repo for asking question and 3rd party plugin issue.
This is described in CONTRIBUTING guide.


Build instructions

What is the correct setting in build.sbt to use the local published version of Chisel 3? I tried to set it similar to Chisel 2:
libraryDependencies += "edu.berkeley.cs" %% "chisel" % "3.0-SNAPSHOT"
But got:
Note: Unresolved dependencies path:
[warn] 		edu.berkeley.cs:chisel_2.11:3.0-SNAPSHOT

On Feb 22, 2016, at 11:43 AM, Martin Schoeberl<EMAIL_ADDRESS>wrote:

What is the correct setting in build.sbt to use the local published version of Chisel 3? I tried to set it similar to Chisel 2:
libraryDependencies += "edu.berkeley.cs" %% "chisel" % "3.0-SNAPSHOT"
But got:
Note: Unresolved dependencies path:
[warn] edu.berkeley.cs:chisel_2.11:3.0-SNAPSHOT
�
Reply to this email directly or view it on GitHub.

Check the �version� line in chisel3/build.sbt.
It�s currently:
version := �3.0"

so your library dependencies should be:
libraryDependencies += "edu.berkeley.cs" %% "chisel" % �3.0�

Thanks! that fixed it. Maybe add this to the README.
BTW: You're having non-ASCII quotation marks (single and double) in your email, which end up as non-printable characters (in my view) in Mail and Firefox.

Closed by #133


Make BaseDensePauliString an Iterable class

Description of the issue
BaseDensePauliString already defines a __getitem__ method which works for ints, and hence is already implicitly an iterable. However, mypy doesn't recognize it as an Iterable unless an explicit __iter__ method is defined.
>>> import cirq
>>> from typing import Iterable
>>> m = cirq.DensePauliString("XYZ")
>>> print([p for p in m])
[cirq.X, cirq.Y, cirq.Z]
>>> isinstance(p, Iterable) # Should return true.
False

We can easily define the __iter__ method as:
    def __iter__(self) -> Iterator['cirq.Gate']:
        for i in range(len(self)):
            yield self[i]

However, this currently breaks a test due to an unfortunate combination of two bugs: #4835 and #4834
Cirq version
0.14.0.dev

From cirq sync: +1, should be done.


adjust parseFloat algorithm, perform rounding

A few items remain, but making this available for review by those who like to review such things. This PR addresses all outstanding issues as well as a few unreported bugs. It is also generally faster than the old code, and much faster in some cases.
Todo:

[ ] add more tests
[ ] fix overflow in extreme cases like 1.0e-300
[ ] tweak docs for @lucaswerkmeister

See the commit message for more.

Can one of the admins verify this patch? (see README)


Update toggle-able ctrl-v (systemctl cat)

Didn't mean to bother you. Just in case you like it.
Happy day!

I hope this gets merged in :)


chore: Release v0.12.0

Added change management using beachball<EMAIL_ADDRESS>
Description
Replace this with a description of the PR. Explain the problem it solves and the proposed solution.
List Github/JIRA issue(s) this PR fixes.
Type of change
Release.
How Has This Been Tested?

[x] Tested manually
[x] Added automated tests

Checklist:

[ ] Unit tests have been added/updated
[ ] Documentation has been updated
[ ] Change file has been generated (npm run change:new)

Codecov Report

Merging #233 (ef15259) into main (3f8bb38) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #233   +/-   ##
=======================================
  Coverage   55.90%   55.90%
=======================================
  Files          26       26
  Lines         449      449
  Branches       82       82
=======================================
  Hits          251      251
  Misses        198      198

Continue to review full report at Codecov.

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


Changed all ints used for karma levels

Fixed #100

Hi @RishiKumarRay, thanks for spinning this patch! Please address the compiler errors and then I can merge it.

@connorkuehl I resolved most of the errors but unable to resolve this one
karma.go:10:18: invalid operation: levels[s.Name] += s.Karma (mismatched types int64 and int)

@connorkuehl I resolved most of the errors but unable to resolve this one
karma.go:10:18: invalid operation: levels[s.Name] += s.Karma (mismatched types int64 and int) also i have push some more commits with changes

You'll have to update the Subject struct in internal/parse/parse.go.

@connorkuehl How can i update that, I didn't get it?

diff --git a/internal/parse/parse.go b/internal/parse/parse.go
index bd478e8..a6bb214 100644
--- a/internal/parse/parse.go
+++ b/internal/parse/parse.go
@@ -7,7 +7,7 @@ import (

 type Subject struct {
        Name  string
-       Karma int
+       Karma int64
 }

 func Subjects(s string) []Subject {

@connorkuehl Again its failing , am i getting these errors
internal/parse/parse.go:61:23: cannot use karma (type int) as type int64 in field value
internal/parse/parse.go:79:23: cannot use karma (type int) as type int64 in field value
internal/parse/parse.go:104:11: invalid operation: l.pos >= len(l.input) (mismatched types int64 and int)
internal/parse/parse.go:135:20: invalid operation: idx >= len(l.input) (mismatched types int64 and int)

@RishiKumarRay, the spirit of issue #100 is not to change every int  to int64. It's only to change an int to an int64 if it has to do with holding someone's karma level. This requires some careful reading of the source code and understanding of the problem domain that this software is operating in.
The only int in internal/parse/parse.go that needs to change are the ones held in the Subject struct or anything that's assigning an int to the int64 inside the Subject struct.

Superseded by commit 033633a8f9254f172e740e5d48dd733c5bfbcb6b


NameError: Cannot access action 'action_weather', as that name is not a registered action for this domain. Available actions are:

Python version - python3.7
Here is my domain file
slots:
location:
type: text
intents:

greet
goodbye
inform

entities:

location

templates:
utter_greet:
- 'Hello! How can I help?'
utter_goodbye:
- 'Talk to you later.'
- 'Bye bye :('
utter_ask_location:
- 'In what location?'
actions:

utter_greet
utter_goodbye
utter_ask_location
custom_action_weather

Here is my action python code
from future import absolute_import
from future import division
from future import unicode_literals
from rasa_core.actions.action import Action
from rasa_core.events import SlotSet
class ActionWeather(Action):
def name(self):
return 'action_weather'
def run(self, dispatcher, tracker, domain):
from apixu.client import ApixuClient
api_key = 'rt5677791294257191205' #your apixu key
client = ApixuClient(api_key)
loc = tracker.get_slot('location')
current = client.getcurrent(q=loc)

country = current['location']['country']
city = current['location']['name']
condition = current['current']['condition']['text']
temperature_c = current['current']['temp_c']
humidity = current['current']['humidity']
wind_mph = current['current']['wind_mph']
response = """It is currently {} in {} at the moment. The temperature is {} degrees, the humidity is {}% and the wind speed is {} mph.""".format(condition, city, temperature_c, humidity, wind_mph)
dispatcher.utter_message(response)
return [SlotSet('location',loc)]

Here is my training data
##story 001
*greet
-utter_greet
*inform
-utter_greet
-utter_ask_location
*goodbye
-utter_goodbye
-export
##story 002

greet

utter_greet

inform

utter_ask_location

inform{"location": "italy"}

slot{"location": "italy"}
action_weather
slot{"location": "italy"}

goodbye

utter_goodbye
export

Here is the error logNameError: Cannot access action 'action_weather', as that name is not a registered action for this domain. Available actions are:
- action_listen
- action_restart
- action_default_fallback
- action_deactivate_form
- action_revert_fallback_events
- action_default_ask_affirmation
- action_default_ask_rephrase
- action_back
- utter_greet
- utter_goodbye
- utter_ask_location
- custom_action_weather

Rather than Class name ActionWeather, new version needs action_weather , it works

Hi, I am testing my custom action too. For instance I tested with this:
from future import absolute_import
from future import division
from future import unicode_literals
from rasa_core_sdk import Tracker
from rasa_core.actions.action import Action
from rasa_core.events import SlotSet
import pandas as pd
class action_get_answer(Action):
def name(self):
return 'action_get_answer'
def run(self, dispatcher, Tracker, domain):
dispatcher.utter_message("test test")
I am still getting not regsitered action error!

can you please share the format @shammy45  for how to write in domain file

I have the same issue
"NameError: Cannot access action 'action_weather', as that name is not a registered action for this domain. Available actions are:
- action_listen
- action_restart
- action_default_fallback
- action_deactivate_form
- action_revert_fallback_events
- action_default_ask_affirmation
- action_default_ask_rephrase
- action_back
- utter_greet
- utter_goodbye
- utter_ask_location
- actions.ActionWeather
My stories.md file is:
story 01

greet

utter_greet

story 02

goodbye

utter_goodbye

story 03

inform

action_weather

and my domain file contains:-
slots:
location:
type: text
intents:

greet
goodbye
inform

entities:

location

templates:
utter_greet:
- 'Hello! How can I help?'
utter_goodbye:
- 'Talk to you later.'
- 'Bye bye :('
utter_ask_location:
- 'In what location?'
actions:

utter_greet
utter_goodbye
utter_ask_location
actions.ActionWeather

Can u please help how to use the custom actions. I am stuck for 2 days with this issue.


subclass-builtin (FURB189) - document exactly why UserDict, UserList etc are preferred over dict and list

the documentation for this rule says that subclassing the builtins is "error prone" but doesn't provide an example of such an error.
attempting to find information about these "User" classes and why they exist is difficult. the official docs don't explain why it exists, and as usual, stackoverflow is full of outdated information from python 2 that says not to use it

Maybe this is still up to date? (I didn't look closely): https://realpython.com/inherit-python-dict/


Python 3 compatability

Hi,
Are there any planes to make NeuroM python 3 compatible?
Would you consider a pull request for that?
Thanks,
Boaz

I believe we've made progress in that department already.  Which functionality isn't working with python3?

I pip installed version 1.1.1
I get this error while importing neurom:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/groups/svoboda/home/moharb/anaconda3/lib/python3.5/site-packages/neurom/__init__.py", line 62, in <module>
    from .core import iter_neurites, iter_sections
  File "/groups/svoboda/home/moharb/anaconda3/lib/python3.5/site-packages/neurom/core/__init__.py", line 31, in <module>
    from itertools import ifilter, imap, chain
ImportError: cannot import name 'ifilter'

@boazmohar It seems version 1.2 didn't get deployed to pypi.python.org. That is the version that has some modifications for python3 support. I will open a separate issue.

Opened #582.

Thanks! I will wait for the 1.2.1.

Ok, 1.2.1 should have been uploaded, so I'm hoping that fixes your problems.  Let me know if it works for you.
Py3 isn't currently the highest priority for support, so there may be gaps compared to the py2 support.  However, if you find problems, create issues or make pull requests.  All help is appreciated.

Any luck with the new version?

Yes just checked it, works great, Thanks!


missing primary key in audit_events

Implement primary key in audit_events table to ensure data integrity and optimize performance.

solve with #584


Find information from a document

What
Pattern for how to help users find information from a document. Uses a thumbnail image of printed material with an indication of where on the document the user can find the required piece of information they need to enter online, such as an access code.
Why
A missing pattern used in Census 2021 to help users enter their access code by showing them 'where to find your access code'
Supporting material

Contacts
Census integrations product owner

Prototype: https://census-website-respond.netlify.app/end-to-end/where-to-find-your-access-code/

We need to re-draw and put on the access code section of the SM

This issue is currently parked on the UCD Board.


Proposal for Linuxbrew support

Now that xmake already supports homebrew, how about further supporting Linuxbrew? It provides users the ability to install libraries to HOME without polluting the system. I know vcpkg can handle most of the package management task. But the binary distribution (bottles) provided by Linuxbrew is a huge time saving, and worth supporting.

Do you mean the remote package management provied by xmake? Or lib.detect.find_package? ...

Sorry for the confusion. I mean lib.detect.find_package. Probably I can send a PR for it.

@waruqi care to comment?

ok


pread's doc say "write".

https://docs.rs/nix/latest/nix/sys/uio/fn.pread.html

Low-level write [sic] to a file, with specified offset.
See also pread(2)

Duplicate of #1648.


users.recentlyPlayed doesn't support parameters, simplifies return data.

The users.recentlyPlayed() function doesn't support the limit, before, and after parameters that Spotify supports, and it returns only the tracks, losing the played_at and context values.
I'm planning to submit a PR soon to fix these issues.

Hi, about your PR, do you still want to follow up on it? Otherwise I can pull in the relevant changes myself, too.


Use existing port to boot server

Hello folks!
When running:
Watir::Rails.boot(port: 80)
...
Watir::Browser.new

We end up with 2 server threads running. The middleware object is also duplicated and we don't have access to the one that was created first (for #error method).
There are several ways to address the issue, but I believe the simplest way would be to change boot(port: nil) behavior to use already set @port so any subsequent call to #boot with default parameters (port: nil) would not start new server thread.
In addition I have fixed one test that was failign randomly (it was expecting a method call in thread but sometimes the thread didn't even start before rspec it block finished.

Coverage: 93.981% (+3.7%) from 90.278% when pulling 54d6e81c12b55c8f4968d9c734bce2b7b53831ce on barthez:use-existing-port-to-boot-server into ff7f27f5a0f880305e47dc49518f38f0e643a21c on watir:master.


Storage Explorer hangs when disk space is depleted by it's logs

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
latest
Regression From
N/A
Architecture
x64
Storage Explorer Build Number
No response
Platform
Windows
OS Version
Windows 10 2004
Bug Description
Hello !
Storage explorer hanged when my disk space was depleted as I was trying to move big files between az storage accounts
I couldn't retry the failed jobs as they are not guarded after exit
Storage explorer should be able to manage its log stack and propose to delete old logs when it hits storage capacity.
Best Regards !
Steps to Reproduce

produce logs to fill your disk space
the current operation will hang or fail

Actual Experience
Transfer hangs queued awaiting log code to allocate disk space probably
Expected Experience
Clear old logs prompt. and the session to be saved when explorer is restarted.
Additional Context
No response

@choukimasri do you know if the issue was being caused by the Storage Explorer logs or the AzCopy logs?

@MRayermannMSFT probably the azcopy as they are stored in %Users%/user/.azcopy/
Storage Explorer exits ignoring active transfers.

@choukimasri we've decided to not go through with any sort of auto log cleaning. We'd rather this be something you/users do on their own. Here's some things to help you going foward:

Docs on an azcopy command that helps you clean the log folder (assuming you don't want to just delete everything in there): https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-jobs-clean?toc=/azure/storage/blobs/toc.json
There is a setting in Storage Explorer for decreasing the AzCopy log verbosity. If you are getting ready to start a long running transfer and you are low on disk space, you can consider turning the verbosity down or completely off to decrease the chance of what you saw happening. You can find the setting under Settings > Transfers > AzCopy > Log Level.

Plain shameful, it's probably the easy way to solve issues nowadays, time to seek  alternatives to Azure Storage Explorer


Failed to start LSP-pylsp

It seems that the LSP-pylsp plugin doesn't support pylsp 1.7.3 yet.
version of the plugin:  2.11.1
Please add support for pylsp version 1.7.3
Failed to start LSP-pylsp - disabling for this window for the duration ofthe current session.
Re-enable by running "LSP: Enable Language Server In Project" from theCommand Palette.
--- ErOr ---
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simpleCollecting mypy==1.3.0
Using cached
https://pypituna.tsinghua.edu.cn/packages/cd/b9/6abe1cd8ac8e70f12f43eebe6427814f9d36142d331eae5cc5bba77585a2/mypy-1.3.0-cp311-cp311win amd64.whl (8.9 MB)
Collecting pyls-isort==0.2.2
Using cached
https://pypi.tunatsinghua.edu.cn/packages/be/61/775e74d8b5e34af59f8c607e7a1584d2a1774f1a1a4af8fc0a96ecc5e499/pyls-isort-0.2.2.tar.gz (2.7KB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'doneCollecting pylsp-mypy==0.6.6
Using cached
https://pypitunatsinghuaedu.cn/packages/6b/da/08322d708bfb4f92a2a468fef31b2c68202cdab795580a65a6969b6f904/pylsp mypy-0.6.6-py3-none-any.whl (10 kB)
Collecting python-lsp-black==1.2.1
Using cached
https://pypitunatsinghua.edu.cn/packages/0a/f4/dbadfbfbd1472569d8c8a8df7a89b8be0c15d3fa20fd635f0cc48467318e/python lsp black-1.2.1-py3-none-any.whl (6.2 kB)
Collecting python-lsp-ruff==1.4.0
Using cached
https://pypituna.tsinghua.edu.cn/packages/31/0c/a692c3fd6c084a1daafea0d922d97f532e1a61d168e482e022340adda35c/python lsp ruff-1.4.0-py3-none-any.whl (9.2 kB)
ERROR: Could not find a version that satisfies the requirementpython-lsp-serverlall]==1.7.3 (from versions: 1.0.0, 1.0.1, 1.1.0, 1.2.0, <IP_ADDRESS>.2, 1.2.3, 1.2.4, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.4.0, 1.4.1, 1.5.0, 1.6.0, 1.7.0, <IP_ADDRESS>.2)
ERROR: No matching distribution found for python-lsp-serverlall]==1.7.3

I’m guessing you should ask your university (pypituna.tsinghua.edu.cn) to upgrade its mirror packages.

Thanks. It worked after I changed the source of pip to pypi.org. BTW, I am not a student of Tsinghua University


fix: [#9364] Missing InputHint support for IgnoringSpeechInput and IgnoringNonSpeechInput

Fixes #9364
Description
When setting the speech for an activity, the menu was missing the options 'Ignoring Speech' and 'Ignoring Non Speech'. We added the new options and tested them with a Composer empty bot.
Screenshots

Coverage: 54.637% (-0.0%) from 54.637% when pulling c576d18d6fd80212a0008f1c6ffc066d05f3bbb4 on southworks/fix/missing-speech-options into e7d75ecff90332cd2df7d48f2fd910a23a1fbf97 on main.


不能识别ntfs的硬盘哇

不能识别ntfs的硬盘哇 软件包里也不能安装会报错

Collected errors:

pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.113-1-ee1ca4d0573515b4080af85b78fc8aaf) for kmod-nls-base
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.113-1-ee1ca4d0573515b4080af85b78fc8aaf) for kmod-fs-ntfs
pkg_hash_fetch_best_installation_candidate: Packages for kmod-fs-ntfs found, but incompatible with the architectures configured
opkg_install_cmd: Cannot install package kmod-fs-ntfs.

树莓派4

No description provided.


Update core.py

Refactor the code to improve mime type guessing by utilizing the destination file instead of relying on the source file. This change was prompted by the inconvenience of having uncompressed Minio objects when the source was a .tmp file that I would subsequently copy to .txt or .csv format.
Based on the observation, it seems there shouldn't be any drawbacks to this change, as the scenarios considered are:

Local files with unknown extensions being transferred to remote locations with known extensions like .txt, .csv, .json, or .zip.
Cases where both local and remote files have the same known extension.

The question arises: Does anyone currently utilize the scenario where local files have known extensions while remote files have unknown extensions?

Can we have a test for this please, now with an inferable path name for local, remote, and both.


Automated cherry pick of #368: Fix broken links in the documents

Cherry pick of #368 on release-0.2.
#368: Fix broken links in the documents
For details on the cherry pick process, see the cherry pick requests page.

/approve
/lgtm


Use serviceOptions option in azure.createBlobService

Allow to use serviceOptions option to set storage account connection strings or credentials.
You can find the documentation of the azure.createBlobService method at: http://dl.windowsazure.com/nodedocs/global.html#createBlobService

ping @jstott

Is this project dead ?

@SomaticIT check this: https://github.com/nodenica/grunt-azure-blob

I couldn't wait, I created a more robust complete grunt azure task : https://github.com/spatools/grunt-azure.
It was just to know.
Thanks.


Fabric support for iOS

Summary
Adding Fabric support for iOS.

Update podspec file to match new architecture's paved path.
Implementation of LottieAnimationViewComponentView objective-c++ class that uses existing ContainerView.swift.

@AlexanderEggers, here's what I have so far. The fabric example works, but I still have to figure out a frame issue that prevents ContainerView's animationView not visible (because the frame is (0.0, 0.0, 0.0, 0.0)) here

@AlexanderEggers I tested on Android and it seems like it's accepting the structs. The problem I see now is I get this error when the animation ends
java.lang.AssertionError: Method overloading is unsupported: com.facebook.react.uimanager.events.RCTModernEventEmitter#receiveEvent
This happens when the sendOnAnimationFinishEvent method runs and receiveEvent gets called. Can you reproduce this? It's happening to me on the fabric example in master as long as loop prop is set to false.

I believe that we are going to have to get the frame's size some other way. I had to do something similar in here https://github.com/react-native-datetimepicker/datetimepicker/blob/master/ios/fabric/cpp/react/renderer/components/RNDateTimePicker/RNDateTimePickerState.h#L19.

@emilioicai @AlexanderEggers @matinzd I think the PR is ready!

I am going to test it this weekend. Thanks for the PR!

Happy New Year! @matinzd, did you have a chance to test it?

Happy New Year! @matinzd, did you have a chance to test it?

I am going to test this tonight. 🚀

I ran into some issues while building and testing it last night. I will give more update on it later today.

Try playing with examples and adding the view to different hierarchies. It starts throwing an error and it renders nothing after that.

I think the Cannot read property '_nativeTag' of null appeared when fast reload was enabled. Because when an error appeared and then you force to refresh the app, the error will disappear.
This behavior happened on both iOS and Android.

I think the Cannot read property '_nativeTag' of null appeared when fast reload was enabled. Because when an error appeared and then you force to refresh the app, the error will disappear.
This behavior happened on both iOS and Android.

I think we might need to refactor javascript code as well. There are some deprecated methods used in our js files.

@matinzd, which deprecated methods are you referring to? I'd be happy to refactor those.

@matinzd, which deprecated methods are you referring to? I'd be happy to refactor those. Are you referring to AnimatedLottieView being a class based component with lifecycle events like componentDidUpdate?

Sorry, my bad. I thought we are still using dispatchViewManagerCommand and dispatchCommand.

I'm not sure why that's happening on Fabric when using fast refresh. It's related to the native component having a ref. I couldn't reproduce the issue when removing the ref from the native component in LottieView.tsx.

@matinzd, let me know when you can test my findings. I'll investigate further what's going on with the refs.

@matinzd, let me know when you can test my findings. I'll investigate further what's going on with the refs.

Ok, I found the issue. According to this note first callback of ref will be initiated as null during the first render of DOM (it is related to react internals). So if we wrap ref with null check it fixes the problem.
  _captureRef(ref: React.ElementRef<typeof NativeLottieAnimationView>) {
+   if (ref !== null) {
+      this._lottieAnimationViewRef = ref;
+    }
    if (this.props.autoPlay === true) {
      this.play();
    }
  }

I added color filters to the example. I see those working fine on iOS. Android is not getting them.

Android is getting the values and assigning a color filter. I think the problem is that the color filter keypath for Android is not the same than for iOS.

@matinzd have you tried using a lottie animation that includes a text before? I tried one that uses Roboto font and I couldn't get it to work on Android since the font is not there. I tried adding it to assets/font but that didn't work.

Hey @alfonsocj ,
Example upgrade is ready! Try rebasing/updating your branch.


Create Qt5 version

This PR creates a Qt5 version of qscintilla2 necessary for new versions of qgis etc.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

There are too few lines.  There should be one empty line at the end of the file.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I had the Qt5 build script working a while ago (https://github.com/conda-forge/qscintilla2-feedstock/tree/qt5), but I have had no instructions from the anaconda team on how to best integrate this on forge while keeping both Qt4 and 5 versions available. I assume the Qt4 pacakges should remain available too, so by merging this PR the build scripts for Qt4 will be lost. @conda-forge-admin, what is the best way to go at this? I raised this as an issue on this repo a while ago, but the discussion has died since then.

Apparently it is not possible to have both Qt4 and Qt5 installed at once (see https://github.com/conda-forge/qt-feedstock/issues/15#issuecomment-272603134). Since Qt4 is no longer supported it seems sensible to upgrade everything to Qt5 and just have the old builds for Qt4. @ccordoba12 and @ocefpaf may have more thoughts on this.

I had the Qt5 build script working a while ago

I hadn't seen that. Feel free to close this PR.

I might as well merge your PR since it also passes the tests and my version is quite stale (I haven't tested it in quite a while).

And thanks @gillins!

Since Qt4 is no longer supported it seems sensible to upgrade everything to Qt5 and just have the old builds for Qt4.

That is pretty much it. We should upgraded everything we can to qt5.

@ocepaf Is anaconda still stuck at PyQt 5.6(.2), or has the team found a way around the lack of support by Riverbank for the compilers used for the conda environment?


Add combined id support

Fixes #17 so that mapBy can be a string, array or function to determine under which new key to store the reference to the original object.

A new inspection was created.

The inspection completed: 2 new issues, 17 updated code elements

A new inspection was created.

The inspection completed: 17 updated code elements

A new inspection was created.

The inspection completed: 17 updated code elements


Add Filter Example For Tags

The stories collection can be filtered by query params, and I should provide at least an example of how that works in Next.js.

added example like https://essential-cu.herokuapp.com/impact-reports/onward?campus=boulder for campus filtering.


Scrolling: Autogrow Textarea and Scrollbars

I have 2 questions pertaining to scrolling:
A. Is there a 3rd party lib you recommend for auto growing a text area? Such that when I hit enter the scrollbar does not appear, rather the height of the textarea becomes larger.
B. Is there a 3rd party lib you recommend for better scrollbars that are consistent on different platforms and browsers? I'm looking for a really thin mobile style scrollbar that isn't intrusive or jarring on overflow.

I found a 3rd partly lib but I think the text area should come with a prop to set the resize style for the underlying textarea element.

Given that you can bring your own library to apply this sort of behavior I'm going to close out the issue. If there's significant demand or use-cases for us to bring it into Evergreen we'll consider it! cc @akleiner2 @colinlohner