What is the difference between OpenAI Function and OpenAI Multi Functions Agent

Issue you'd like to raise.
I was looking up the documentation as well. However, from the documentation it seems as if both types of agents are doing the same thing. Even when I looked at the backend code, both agent codes seemed almost identical. I am not so sure what I am missing in terms of my understanding. Any leads would be appreciated.
Suggestion:
Documentation between the two types can be made more clear.

I was just looking at this myself a couple minutes ago so I can help you out, if you notice the code in the Multi Functions Agent:

It states:
# OpenAI functions returns a single tool invocation
            # Here we force the single tool invocation it returns to
            # itself be a list of tool invocations. We do this by constructing
            # a new tool that has one argument which is a list of tools
            # to use.

Meaning that in the case if Multi Function Agent you can actually execute 2 functions in just one iterations, the OpenAI Functions Agent can only execute one of those functions at the same time.
Cheers.

That makes sense, thank you. Will keep the issue open so that documentation gets improved. If you have time can you create a PR in which you improve the Docs file explaining the difference between the two?

Please improve the documentation concerning this issue


Bug: Menu incorrectly toggled on and off when re-size the window.

Go to page http://ironsummitmedia.github.io/startbootstrap-simple-sidebar/# on desktop with wide browser window.
Click the Toggle button and hide the side menu.
Resize the window to small window and the side menu suddenly show up.
Go to page http://ironsummitmedia.github.io/startbootstrap-simple-sidebar/# on desktop with narrow browser window.
Click the Toggle button and show the side menu.
Resize the window to large window and the side menu suddenly went hidden.

So I read the code. "toggled" means show on small screen but hide on big screen. So this is kind of by design.

I come across the same issue and I only work around this by adding code into $(window).resize(), a bit messy. I'd say it's a design limit, and I didn't figure how to do it without fiddling with "resize".

Yes. I don't think there is a css only option.

where do i need to place the  $(window).resize() ?

I'm curious too. I did not figure it out either.

Typically users aren't going to be dramatically resizing the window like this, but adding window resize into the JS might be a solution. I'll look into this and potentially add it into the next build if it doesn't make the page too slow.

I came across this issue as well, I don't think it's wise that toggle can mean two things in separate screen sizes - for example I want to you this sidebar for layers in my map application - I need the toggle to have the same meaning on any size of device - when toggled the layers are shown, otherwise they are not.
the following css solved my issue - which was included in my app.css after this library's css.
it basically changes the toggle meaning on large devices so that toggle means visible.
@media(min-width:768px) {
    #wrapper {
        padding-left: 0;
    }

    #wrapper.toggled {
        padding-left: 250px;
    }

    #sidebar-wrapper {
        width: 0;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 250px;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: -250px;
    }
}

The toggling on and off is intentional on resize because I want the sidebar to load visibly when the screen is large, but the sidebar to be collapsed when the screen is small.
If you don't want this behavior, use the code by @HarelM to change the behavior. Thanks @HarelM for the code!

No problem :-) Keep up the good work!

Thanks @HarelM for the code. It works but with a slight delay, i dont know why.
Is there a possibility that as soon as the page's html and css loads it never displays until the menu button is clicked? Thanking you.

No sure I fully understand, but the initial state is defined by the class the panel has (toggled or not).
You can check out how it looks on my site here left side layer or "i" button will open or close the panel.

yeah the same, how did you achieve this "Side Menu Closed when page is loaded" ?
I have an angular 2 application and whenever page loads the side menu is visible but after a while (let say after 3 secs) when css is loaded, then it gets closed. Thanks again.

I guess you need to add the css files to the head tag and make sure that the default class before angular loads is the one that is hidden - this way the site will start by not showing, after angular loads it will still have the same class and angular will add the missing class when you want to present the sidebar.

Thanks @HarelM. I was already loading that in the head tag right after bootstrap. The issue the toggled class which i forgot to remove after applying your custom css code chunk later to my custom stylesheet.
So the only change i did was from this

to this


[stable/mongodb-replicaset] Fix non TLS support

Since the new TLS support was added, upon deploying mongodb-replicaset with a simple helm install, the bootstrap container produces these logs (albeit not to stdout, but to /work-dir/log.txt).
[2017-10-18T14:50:16,318650298+0000] [on-start.sh] Bootstrapping MongoDB replica set member: mongodb-mongodb-replicaset-0
[2017-10-18T14:50:16,322173167+0000] [on-start.sh] Reading standard input...
[2017-10-18T14:50:16,324194462+0000] [on-start.sh] Peers:
[2017-10-18T14:50:16,324970138+0000] [on-start.sh] Starting a MongoDB instance...
[2017-10-18T14:50:16,326852188+0000] [on-start.sh] Waiting for MongoDB to be ready...
Unrecognized option: net.ssl
try 'mongod --help' for more information
[2017-10-18T14:50:16,416738108+0000] [on-start.sh] Retrying...
[2017-10-18T14:50:18,460786234+0000] [on-start.sh] Retrying...
[2017-10-18T14:50:20,504623572+0000] [on-start.sh] Retrying...
[2017-10-18T14:50:22,547639035+0000] [on-start.sh] Retrying...
[2017-10-18T14:50:24,590944773+0000] [on-start.sh] Retrying...

So the e2e test logs show that each node is coming up okay. It appears tests are failing due to the inability to port forward for helm test. I don't think this is related to this change however.

/retest

cc @saschagrunert

CI seems to have a problem here. I ran the tests successfully on my cluster.

/lgtm


Set up project/target dependencies and some minor cleanups

Changes to Project File

SampleBroadcaster project now depends on the products of Pods.xcodeproj
Added Pods (Pods), URIParser-cpp (Pods) and VideoCore (Pods) into SampleBroadcaster's "Target Dependencies" under Build Phases
SampleBroadcaster will wait for and link against the build products of Pods directly
Removed the Hard-Coded DevelopmentTeam ID from the Target's attributes
Removed the Hard-Coded Provisioning Profile UID

Other Changes

Commented out m_socketJob.thisThreadInQueue related assertions because this member is not available

This PR has a merge conflict, please fix and resubmit.

This PR has a merge conflict, will fix and resubmit.


v0.4.4 release

Preparing for the v0.4.4 release:

updated README
updated addon.xml
remove newline in German strings.po

Codecov Report

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

@@            Coverage Diff             @@
##           master     #257      +/-   ##
==========================================
+ Coverage   76.87%   77.51%   +0.63%
==========================================
  Files          18       18
  Lines        1769     1819      +50
==========================================
+ Hits         1360     1410      +50
  Misses        409      409

Impacted Files
Coverage Δ

test/xbmc.py
59.28% <0.00%> (+0.24%)
:arrow_up:

lib/inputstreamhelper/__init__.py
78.17% <0.00%> (+0.48%)
:arrow_up:

test/xbmcaddon.py
85.71% <0.00%> (+0.71%)
:arrow_up:

test/test_api.py
93.75% <0.00%> (+1.15%)
:arrow_up:

test/xbmcgui.py
77.51% <0.00%> (+3.90%)
:arrow_up:

Continue to review full report at Codecov.

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

if possible i would like to know a provisional release date for this release

@CastagnaIT Is there a particular reason you need this? Any specific functionality you need?

You remember the problem with the wrong return value of
check_inputstream()
which has now been fixed?
For the next release i implemented at startup of the addon an auto-configuration of the addon, but i used the check_inputstream() (it's better and it simplifies a lot of things)
so with the current version of inputstreamhelper, the addon auto-configuration will be ineffective, due to the wrong returned value, then i will have to wait this version

In the future, it might be a good idea, to use different branches for different releases, so e.g. backup and rollback support could have been merged into an v0.5 branch, while bugfixes would of course be in both v0.4 and v0.5. That would have made it easier to release v0.4.4 with bugfixes only, which wouldn't need that much testing and no new translations.

We can still do that by cherry-picking it to a temporary v0.4.5 branch, but I don't think this is the reason for the current delays. I guess we did not see any resolved issues as being critical in the proper working of the add-on wrt. impact and scope. Or at least nobody reported this as being a reason for doing another release with some urgency.

I can release what we have this weekend.

thank you very much

Codecov Report

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

@@            Coverage Diff             @@
##           master     #257      +/-   ##
==========================================
- Coverage   78.12%   77.31%   -0.82%
==========================================
  Files          18       18
  Lines        1838     1838
==========================================
- Hits         1436     1421      -15
- Misses        402      417      +15

Impacted Files
Coverage Δ

lib/inputstreamhelper/utils.py
90.90% <0.00%> (-9.10%)
:arrow_down:

lib/inputstreamhelper/__init__.py
76.39% <0.00%> (-1.74%)
:arrow_down:

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 72830e8...8d080d8. Read the comment docs.

I only have 4G network this weekend, so testing ARM will not be possible. I will fix codecov and call out to translators later this evening, if it hasn't been done already.
Will the next release be v0.4.4 or v0.5.0 ?

@dagwieers Translations are complete (https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/256), except Japanese and Korean, but I won't wait for that.
I will release v0.4.4 in one hour because we are blocking a new release of the Netflix add-on, I tested today and I don't expect problems with x86.


Makefile: add run-e2e-smoke

Issue #, if available:
Description of changes:
"make run-e2e-smoke" will do everything "make run-e2e" does but skips all e2e tests on remote servers.

generate cluster templates
create kind cluster
generate manifests
build docker image
push to local docker registry
apply kubectl config
setup bootstrap cluster
initialize bootstrap cluster, including the deployments of capc-system/capc-controller-manager, capi-kubeadm-bootstrap-system/capi-kubeadm-bootstrap-controller-manager, capi-system/capi-controller-manager
(SKIPPED) run e2e tests
delete kind cluster

Testing performed:
$ make run-e2e-smoke
...
secret/secret1 created
Will skip:
  ./kubeconfig_helper
Running Suite: capi-e2e
=======================
Random Seed:<PHONE_NUMBER>
Will run 0 of 29 specs

STEP: Initializing a runtime.Scheme with all the GVK relevant for this test
STEP: Loading the e2e test configuration from "/data/git/cluster-api-provider-cloudstack/test/e2e/config/cloudstack.yaml"
STEP: Launching Toxiproxy Server
STEP: Creating a clusterctl local repository into "/data/git/cluster-api-provider-cloudstack/_artifacts"
STEP: Reading the ClusterResourceSet manifest ./data/cni/kindnet.yaml
STEP: Setting up the bootstrap cluster
STEP: Initializing the bootstrap cluster
INFO: clusterctl init --core cluster-api --bootstrap kubeadm --control-plane kubeadm --infrastructure cloudstack
INFO: Waiting for provider controllers to be running
STEP: Waiting for deployment capc-system/capc-controller-manager to be available
INFO: Creating log watcher for controller capc-system/capc-controller-manager, pod capc-controller-manager-7bf5c5d95c-ht2hq, container manager
STEP: Waiting for deployment capi-kubeadm-bootstrap-system/capi-kubeadm-bootstrap-controller-manager to be available
INFO: Creating log watcher for controller capi-kubeadm-bootstrap-system/capi-kubeadm-bootstrap-controller-manager, pod capi-kubeadm-bootstrap-controller-manager-65f7b5f55c-2knlh, container manager
STEP: Waiting for deployment capi-kubeadm-control-plane-system/capi-kubeadm-control-plane-controller-manager to be available
INFO: Creating log watcher for controller capi-kubeadm-control-plane-system/capi-kubeadm-control-plane-controller-manager, pod capi-kubeadm-control-plane-controller-manager-6f68d65bc8-2c2bv, container manager
STEP: Waiting for deployment capi-system/capi-controller-manager to be available
INFO: Creating log watcher for controller capi-system/capi-controller-manager, pod capi-controller-manager-594c44c5f7-b87kn, container manager
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSTEP: Dumping logs from the bootstrap cluster
Failed to get logs for the bootstrap cluster node capi-test-control-plane: exit status 2
STEP: Tearing down the management cluster
STEP: Killing Toxiproxy Server

JUnit report was created: /data/git/cluster-api-provider-cloudstack/_artifacts/junit.e2e_suite.1.xml

Ran 0 of 29 Specs in 59.860 seconds
SUCCESS! -- 0 Passed | 0 Failed | 0 Pending | 29 Skipped
PASS

Ginkgo ran 1 suite in 1m3.008089424s
Test Suite Passed
Deleted nodes: ["capi-test-control-plane"]
Deleted clusters: ["capi-test"]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/assign rohityadavcloud

Codecov Report
Patch and project coverage have no change.

Comparison is base (7196931) 34.17% compared to head (68707ed) 34.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #259   +/-   ##
=======================================
  Coverage   34.17%   34.17%
=======================================
  Files          43       43
  Lines        3915     3915
=======================================
  Hits         1338     1338
  Misses       2394     2394
  Partials      183      183

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/approve
/lgtm

Tests were aborted.

Tests were aborted.

Tests were aborted.

Test Results : (tid-7)
Environment: kvm Rocky8(x3), Advanced Networking with Management Server Rocky8
Kubernetes Version:  v1.27.2
Kubernetes Version upgrade from:  v1.26.5
Kubernetes Version upgrade to:  v1.27.2
Template:  rockylinux-8-kube
E2E Test Run Logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/capc-e2e-artifacts-ll-7.zip
[PASS] When testing MachineDeployment rolling upgrades Should successfully upgrade Machines upon changes in relevant MachineDeployment fields
[PASS] When testing K8S conformance [Conformance] Should create a workload cluster and run kubetest
[PASS] When testing app deployment to the workload cluster with network interruption [ToxiProxy] Should be able to create a cluster despite a network interruption during that process
[PASS] When testing Kubernetes version upgrades Should successfully upgrade kubernetes versions when there is a change in relevant fields
[PASS] When testing horizontal scale out/in [TC17][TC18][TC20][TC21] Should successfully scale machine replicas up and down horizontally
[PASS] When testing app deployment to the workload cluster [TC1][PR-Blocking] Should be able to download an HTML from the app deployed to the workload cluster
[PASS] When testing with disk offering Should successfully create a cluster with disk offering
[PASS] When testing machine remediation Should replace a machine when it is destroyed
[PASS] When testing affinity group Should have host affinity group when affinity is pro
[PASS] When testing affinity group Should have host affinity group when affinity is anti
[PASS] When testing with custom disk offering Should successfully create a cluster with a custom disk offering
[PASS] When testing node drain timeout A node should be forcefully removed if it cannot be drained in time
[PASS] When testing resource cleanup Should create a new network when the specified network does not exist

Summarizing 16 Failures:

[Fail] When testing subdomain [It] Should create a cluster in a subdomain
/root/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.12/framework/cluster_helpers.go:143

[Fail] with two clusters [It] should successfully add and remove a second cluster without breaking the first cluster
/root/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.12/framework/clusterctl/clusterctl_helpers.go:330

[Fail] When the specified resource does not exist [It] Should fail due to the specified account is not found [TC4a]
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the specified domain is not found [TC4b]
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the specified control plane offering is not found [TC7]
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the specified template is not found [TC6]
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the specified zone is not found [TC3]
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the specified disk offering is not found
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the compute resources are not sufficient for the specified offering [TC8]
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the specified disk offer is not customized but the disk size is specified
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the specified disk offer is customized but the disk size is not specified
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist [It] Should fail due to the public IP can not be found
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist When starting with a healthy cluster [It] Should fail to upgrade worker machine due to insufficient compute resources
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When the specified resource does not exist When starting with a healthy cluster [It] Should fail to upgrade control plane machine due to insufficient compute resources
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/invalid_resource.go:253

[Fail] When testing app deployment to the workload cluster with slow network [ToxiProxy] [BeforeEach] Should be able to download an HTML from the app deployed to the workload cluster
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/toxiproxy/toxiProxy.go:170

[Fail] When testing multiple CPs in a shared network with kubevip [It] Should successfully create a cluster with multiple CPs in a shared network
/root/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.12/framework/cluster_helpers.go:143

Ran 28 of 29 Specs in 14657.765 seconds
FAIL! -- 12 Passed | 16 Failed | 0 Pending | 1 Skipped
--- FAIL: TestE2E (14657.80s)
FAIL

/retest-required

Test Results : (tid-8)
Environment: kvm Rocky8(x3), Advanced Networking with Management Server Rocky8
Kubernetes Version:  v1.27.2
Kubernetes Version upgrade from:  v1.26.5
Kubernetes Version upgrade to:  v1.27.2
Template:  rockylinux-8-kube
E2E Test Run Logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/capc-e2e-artifacts-ll-8.zip
[PASS] When testing with custom disk offering Should successfully create a cluster with a custom disk offering
[PASS] When the specified resource does not exist Should fail due to the specified account is not found [TC4a]
[PASS] When the specified resource does not exist Should fail due to the specified domain is not found [TC4b]
[PASS] When the specified resource does not exist Should fail due to the specified control plane offering is not found [TC7]
[PASS] When the specified resource does not exist Should fail due to the specified template is not found [TC6]
[PASS] When the specified resource does not exist Should fail due to the specified zone is not found [TC3]
[PASS] When the specified resource does not exist Should fail due to the specified disk offering is not found
[PASS] When the specified resource does not exist Should fail due to the compute resources are not sufficient for the specified offering [TC8]
[PASS] When the specified resource does not exist Should fail due to the specified disk offer is not customized but the disk size is specified
[PASS] When the specified resource does not exist Should fail due to the specified disk offer is customized but the disk size is not specified
[PASS] When the specified resource does not exist Should fail due to the public IP can not be found
[PASS] When the specified resource does not exist When starting with a healthy cluster Should fail to upgrade worker machine due to insufficient compute resources
[PASS] When the specified resource does not exist When starting with a healthy cluster Should fail to upgrade control plane machine due to insufficient compute resources
[PASS] When testing node drain timeout A node should be forcefully removed if it cannot be drained in time
[PASS] When testing MachineDeployment rolling upgrades Should successfully upgrade Machines upon changes in relevant MachineDeployment fields
[PASS] When testing horizontal scale out/in [TC17][TC18][TC20][TC21] Should successfully scale machine replicas up and down horizontally
[PASS] When testing app deployment to the workload cluster with network interruption [ToxiProxy] Should be able to create a cluster despite a network interruption during that process
[PASS] When testing app deployment to the workload cluster [TC1][PR-Blocking] Should be able to download an HTML from the app deployed to the workload cluster
[PASS] When testing with disk offering Should successfully create a cluster with disk offering
[PASS] When testing K8S conformance [Conformance] Should create a workload cluster and run kubetest
[PASS] with two clusters should successfully add and remove a second cluster without breaking the first cluster
[PASS] When testing multiple CPs in a shared network with kubevip Should successfully create a cluster with multiple CPs in a shared network
[PASS] When testing Kubernetes version upgrades Should successfully upgrade kubernetes versions when there is a change in relevant fields
[PASS] When testing resource cleanup Should create a new network when the specified network does not exist
[PASS] When testing machine remediation Should replace a machine when it is destroyed
[PASS] When testing affinity group Should have host affinity group when affinity is pro
[PASS] When testing affinity group Should have host affinity group when affinity is anti

Summarizing 2 Failures:

[Fail] When testing subdomain [It] Should create a cluster in a subdomain
/root/go/pkg/mod/sigs.k8s.io/cluster-api/test@v1.2.12/framework/cluster_helpers.go:143

[Fail] When testing app deployment to the workload cluster with slow network [ToxiProxy] [BeforeEach] Should be able to download an HTML from the app deployed to the workload cluster
/jenkins/workspace/capc-e2e-new-by-wei/test/e2e/toxiproxy/toxiProxy.go:170

Ran 28 of 29 Specs in 11174.398 seconds
FAIL! -- 26 Passed | 2 Failed | 0 Pending | 1 Skipped
--- FAIL: TestE2E (11174.42s)
FAIL


Error showing content - non-standard json content-type.

Running into an error:
› http http://aa/directory/
HTTP/1.1 200 OK
Cache-Control: max-age=300, public
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/vnd.comverge.grid+hal+json; charset=utf-8
Date: Mon, 27 Apr 2015 18:05:43 GMT
Server: nginx/1.6.2 + Phusion Passenger 4.0.59
Status: 200 OK
Transfer-Encoding: chunked
Vary: Authorization,Accept,Prefer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Powered-By: Phusion Passenger 4.0.59
X-Request-Id: 4d321725-bb49-4347-bba4-9b55a781c0bd
X-Runtime: 0.541456
X-XSS-Protection: 1; mode=block

http: error: ValueError: too many values to unpack

The actual value is json, just with an application specific content type:
Example (heavily minimized).
{"_links":{"self":{"href":"http://aa/directory/directory"}}}

@cschneid would you please invoke the same command but with --debug --traceback?

› http --debug --traceback http://aa/directory/
HTTPie 0.9.2
HTTPie data: /Users/cschneid/.httpie
Requests 2.6.0
Pygments 2.0.2
Python 2.7.6 (default, Sep  9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] darwin

>>> requests.request({'allow_redirects': False,
 'auth': None,
 'cert': None,
 'data': OrderedDict(),
 'files': DataDict(),
 'headers': {'User-Agent': 'HTTPie/0.9.2'},
 'method': 'get',
 'params': ParamsDict(),
 'proxies': {},
 'stream': True,
 'timeout': 30,
 'url': u'http://aa/directory/',
 'verify': True})

HTTP/1.1 200 OK
Cache-Control: max-age=300, public
Connection: keep-alive
Content-Encoding: gzip
Content-Type: application/vnd.comverge.grid+hal+json; charset=utf-8
Date: Mon, 27 Apr 2015 18:17:44 GMT
Server: nginx/1.6.2 + Phusion Passenger 4.0.59
Status: 200 OK
Transfer-Encoding: chunked
Vary: Authorization,Accept,Prefer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Powered-By: Phusion Passenger 4.0.59
X-Request-Id: 2b2bbe80-e0ca-4a63-8e1c-59d6e57b07f7
X-Runtime: 0.041420
X-XSS-Protection: 1; mode=block

Traceback (most recent call last):
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/bin/http", line 9, in <module>
    load_entry_point('httpie==0.9.2', 'console_scripts', 'http')()
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/core.py", line 142, in main
    write(**write_kwargs)
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/output/streams.py", line 35, in write
    for chunk in stream:
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/output/streams.py", line 157, in __iter__
    for chunk in self.iter_body():
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/output/streams.py", line 293, in iter_body
    yield self.process_body(body)
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/output/streams.py", line 263, in process_body
    chunk = self.formatting.format_body(content=chunk, mime=self.mime)
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/output/processing.py", line 49, in format_body
    content = p.format_body(content, mime)
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/output/formatters/colors.py", line 54, in format_body
    lexer = self.get_lexer(mime)
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/output/formatters/colors.py", line 62, in get_lexer
    self.lexer_cache[mime] = get_lexer(mime)
  File "/usr/local/Cellar/httpie/0.9.2_1/libexec/lib/python2.7/site-packages/httpie/output/formatters/colors.py", line 72, in get_lexer
    subtype_name, subtype_suffix = subtype.split('+')
ValueError: too many values to unpack

Thanks. HTTPie doesn't expect multiple +subtype occurrences. I don't think it's valid to have multiple subtypes, but HTTPie shouldn't throw an error nevertheless.
Content-Type: application/vnd.comverge.grid+hal+json; charset=utf-8

From my reading of https://tools.ietf.org/html/rfc2045#section-5 - it seems like + isn't a special character.  We have a single subtype that starts with vnd and happens to have plusses in it?  Not that I'm any good at reading RFCs...
     token := 1*<any (US-ASCII) CHAR except SPACE, CTLs,
                 or tspecials>

     tspecials :=  "(" / ")" / "<" / ">" / "@" /
                   "," / ";" / ":" / "\" / <">
                   "/" / "[" / "]" / "?" / "="
                   ; Must be in quoted-string,
                   ; to use within parameter values


Error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')

I am running Rails 7 with importmap to the cdn link.
Its being load in the application.js within the initial load in the view mode it errors and does NOT work and needs the page to refresh to work. When you click into edit mode it works but clicking back to view mode it errors also with the the error mentioned in the subject line. Any idea?
Thanks
Larry

hi @lpranger could you provide some more detail surrounding the issue and maybe a way i could try to recreate it? without context it's hard to say what's going wrong here. thanks!


Migrate the build to BinaryBuilder

Is there any effort to migrating the build to BinaryBuilder?

Should be straightforward.  The FFTW build system already supports cross-compiling (and we've used cross-compiling to generate Windows binaries for many years).

I looked into this the other day but ran into issues with the BinaryBuilder wizard. I'll try again soon.

For reference, this currently uses https://github.com/ararslan/fftw-builder, which predates BinaryBuilder's maturity and can now simply be repurposed to use BinaryBuilder.

I guess if you use the wizard, then it will want to do its own thing. But maybe the simplest thing is to let the wizard create its own thing, and then edit build_tarballs.jl with the relevant stuff from fftw-builder.

Maybe if there is a new package, it can be called FFTWBuilder to be consistent with the other builders, although that is not important in any way.

I gave up on using the wizard a while back and ended up just writing build_tarballs.jl myself.  (Actually, build_tarballs.jl is the easy part, given a couple of examples.  I eventually figured out that getting the OAuth token yourself is most easily done via travis setup releases, as explained here.)

@stevengj If you want to take on writing that file for FFTW, I'd happily accept it as a PR on fftw-builder. I can also rename the repo to FFTWBuilder. Alternatively we can make a new repo, I'm fine with whatever.

I think you may have to generate the OAuth token yourself since you own the repo?

Maybe make a new repo in JuliaMath?

I'll look into it.

I think you may have to generate the OAuth token yourself since you own the repo?

I already have an auth token that the repo uses now.

I just created https://github.com/JuliaMath/FFTWBuilder with a first draft of the build script.  It's building now, so let's see what happens.

Seems like it couldn't find configure.

Seems to be mostly working now except for FFTW/fftw3#146 ... a workaround would be to simply not build the fftwf-wisdom tool, since we don't need that anyway.

Okay, the build is now available at https://github.com/JuliaMath/FFTWBuilder/releases/tag/v3.3.8
Note that I compiled --with-combined-threads on every platform, so there is no separate libfftw3_threads library.   I didn't build with threads on FreeBSD because of https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/232.


Error when building/running default project

I created a project in VS Code with the ionide-fsharp plugin (as described here, but a console app). The project seems to have been created OK. I added the following packages:

FSharp.Data
ClosedXML

The issue I'm having is actually running the project. When running using "F#: Run default project" (I only have 1 project) I get the following error from msbuild:

[19:15:45 INFO ] invoking msbuild from C:\Program Files\dotnet\dotnet.exe on "c:_tlaka\oss\yearch\yearch\yearch.fsproj" for target Build
Microsoft (R) Build Engine version <IP_ADDRESS>579 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

c:_tlaka\oss\yearch\yearch\yearch.fs(68,13): error FS3033: The type provider 'ProviderImplementation.CsvProvider' reported an error in the context of provided type 'FSharp.Data.CsvProvider,Sample="c:\_tlaka\oss\yearch\yearch\..\..\invoice-sent_2017_on_2018-3-24.csv",Separators=";",PreferOptionals="True"', member 'Load'. The error: Failed to bind type 'System.IO.TextReader' in assembly 'System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'Parameter name: tcName [c:_tlaka\oss\yearch\yearch\yearch.fsproj]

If I open the same solution in VS 2017 and run (debug) it it runs executes just fine. I can also build (invoking msbuild directly) and run from the command line, no issues there. The only thing is a couple of reference conflicts (for which I also don't know how they're there since I'm really running vanilla here).
I'm running on windows 10, have VS 2017 Community installed. Ionide is latest, so is VS Code. .NET 4.7.1 is installed (as part of VS install) & the environment variables are set as described in the ionide install instructions.
What am I doing wrong here?
If I left out any crucial info please let me know.

Run F#: Pick MsBuild host (it can be found in the project explorer) and choose .Net. This is necessary because you're trying to use TypeProvider and building such projects is not possible directly with dotnet build (what Ionide tries to do by default). Using .Net host will make Ionide run msbuild.exe directly, which should solve the problem.

In general our docs are here - https://github.com/ionide/docs (http://ionide.io/docs/). It's pretty much works in progress, so any updates are appreciated. We could put this in "General Info" section.


[New Game]: Dragon World Game

🎮 Game Request
In this game there will be a dragon that will jump over the obstacle let's say another dragon. It will be interesting and full of fun.
Point down the features
Animation
Music
Full of Fun
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @LordVaibhav !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

assigned

/assign

Hey @VaibhavS0710 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Report error if server closes connection before sending hello response.

Pull Request Test Coverage Report for Build 43

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 94.362%

Totals

Change from base Build 42:
0.02%

Covered Lines:
887

Relevant Lines:
940

💛  - Coveralls


strange results under windows

Hello!
I'm using openh264 to decode a stream within a cross-platform application, built with Qt.
So, just the same code runs well in win/macos/android environments.
But as per windows, decoder shows too often zero status of SBufferInfo.iBufferStatus, which I use to determine successful decoding. In same conditions decoder under windows is almost unusable.
win version is compiled win mingw32.
Any clues?

Hi, the codec should has the same output under different platform. About the question, the description is  vague than I can not determine the root causes. Can you provide more information about it?

Hello! Looks like I've met some strange behaviour of QT lib in win32 environment... it doesn't deliver notification (signal in their glossary) about some new UDP packets arrived within the stream, so the stream became broken and codec just reveal it. I had to rewrite some QT-based code to fix it, so the issue is resolved.


Some CDN for the 0.6.2 version are broken (including npm)

Hello everyone,
Working with CARTO-VL is a great pleasure, just to let you know.
I am currently working on the latest version 0.6.2.
It seems that globalMax (and all global methods) in the carto.Viz are broken.
Issue :  They always return 0.
Viewports methods in the carto.Viz are working fine.
I tried it on different CDN (instead of npm) some are working some don't
Are you able to help please ?
Working version :
<script src="https://cartodb.github.io/carto-vl/dist/carto-vl.js"></script>
Broken version :
<script src="https://libs.cartocdn.com/carto-vl/v0.6.2/carto-vl.js"></script>
npm i @carto/carto-vl

Hi @Captain-Oski,
Thanks for the feedback. Could you attach a brief example to add context about the current bug?
NOTE: the bundle hosted in GitHub Pages contains unstable versions from master, equal or greater than the current stable version. In this case, this version has changes respect to v0.6.2. We have in mind to release v0.7.0 on Friday (that should be supposed to work for you). However, it would be nice to find exactly the bug and where it was solved.
Regards.

Thank your for answering that fast, looking forward to 0.7.0.
Snippet will follow
Context :
I need to attach to the current carto.Viz some data to power one or two widgets of my own that will show Maximum value of the layer (polygons) and Average value of the layer, then compare this Max and  Avg value against the viewport Max and Avg to let the user know if they are in a Strong or Weak area.
See attached picture.
When I deploy that process on the npm version carto.Viz global methods are always returning 0 when I make a one page html app with the GitHub Pages bundle the methods are returning good values.
Working example : https://gyazo.com/8bfa1c44a144fe62414565a1d65005e5
Non working example : https://gyazo.com/56320cf71b1409f925c7f3113ed26d7b
Below my carto.Viz config (Vue.js framework)
const viz = new carto.Viz(
@${data.id}: $${data.id}
@globalMAX: globalMax($${data.id})
@globalAVG: globalMAvg($${data.id})
@vpPopAVG: viewportAvg($${data.id})
@vpPopSUM: viewportSum($${data.id})
@da_PCT: ($${data.id}/$r1)*100
@da_TOT : $r1
@da_DIST: viewportHistogram($${data.id}, 1, 10)
color: ramp(linear($r1, 0, globalMax($${data.id})), PRISM)
strokeWidth: 0
 )

Hi. We have just released 0.7.0. Please check if it works for you.
Closing this ticket. (Feel free to re-open the issue if you find another bug)

Hi !
Thank you so much for your efforts ! Well appreciated !
I'm confirming that version 0.7.0 (and mapbox 0.48.0) are sovling my issue about the global methods.
I am specifying mapbox version because I was working with @carto/mapbox-gl.0.45.0 and the stack was broken.
With full updates it works like a charm !
Thank you again , the Anagraph team


Panic when adding music dir

❯ gonk add D:\Music
thread '<unnamed>' panicked at '"D:\\Music\\DRAGON_BALL_SUPER_OST\\DRAGON_BALL_SUPER_OST\\[180228] 住友紀人 - ドラゴンボール超 オリジナルサウンドトラック -Vol.2- (flac)\\Disc 1\\27 限界突破.flac"', gonk-core\src\lib.rs:687:23
stack backtrace:
   0:     0x7ff6485e73c2 - <unknown>
   1:     0x7ff6486002ab - <unknown>
   2:     0x7ff6485e344a - <unknown>
   3:     0x7ff6485e710b - <unknown>
   4:     0x7ff6485e9de9 - <unknown>
   5:     0x7ff6485e9a6a - <unknown>
   6:     0x7ff6484e6ff7 - <unknown>
   7:     0x7ff6485ea6a0 - <unknown>
   8:     0x7ff6485ea3fd - <unknown>
   9:     0x7ff6485e7def - <unknown>
  10:     0x7ff6485ea0c0 - <unknown>
  11:     0x7ff648615b15 - <unknown>
  12:     0x7ff6485304a8 - <unknown>
  13:     0x7ff648546658 - <unknown>
  14:     0x7ff648546f91 - <unknown>
  15:     0x7ff64854c742 - <unknown>
  16:     0x7ff648544059 - <unknown>
  17:     0x7ff64854708e - <unknown>
  18:     0x7ff64854c742 - <unknown>
  19:     0x7ff648544059 - <unknown>
  20:     0x7ff64854708e - <unknown>
  21:     0x7ff64854c742 - <unknown>
  22:     0x7ff648544059 - <unknown>
  23:     0x7ff64854708e - <unknown>
  24:     0x7ff64854c742 - <unknown>
  25:     0x7ff648544059 - <unknown>
  26:     0x7ff64854708e - <unknown>
  27:     0x7ff64854c742 - <unknown>
  28:     0x7ff648544059 - <unknown>
  29:     0x7ff64854708e - <unknown>
  30:     0x7ff64854c742 - <unknown>
  31:     0x7ff648544059 - <unknown>
  32:     0x7ff64854708e - <unknown>
  33:     0x7ff64853367e - <unknown>
  34:     0x7ff648612808 - <unknown>
  35:     0x7ff6485ca6e1 - <unknown>
  36:     0x7ff6485cf383 - <unknown>
  37:     0x7ff6485cd246 - <unknown>
  38:     0x7ff6485ee97c - <unknown>
  39:     0x7ffa5c14117e - BaseThreadInitThunk
  40:     0x7ffa5dfe42db - RtlUserThreadStart

I'm guessing it has to do with it having unicode Japanese chars 🤷
Ver: gonk v0.2.0 (built with: cargo +nightly install --git https://github.com/zX3no/gonk.git)
Happens with the v0.12 bin as well

I had a quick look and it seems the Symphonia is unable to decode the song. I didn't log the error for some reason, so I've changed that.

Also if you could link the song, it might help me track down the issues.
Thanks!

Brian ~  16.334s
❯ cargo +nightly install --git https://github.com/zX3no/gonk.git
    Updating git repository `https://github.com/zX3no/gonk.git`
  Installing gonk v0.2.0 (https://github.com/zX3no/gonk.git#e1aed0ef)
    Updating crates.io index
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.1.0
   Compiling log v0.4.17
   Compiling bitflags v1.3.2
   Compiling encoding_rs v0.8.31
   Compiling scopeguard v1.1.0
   Compiling winapi v0.3.9
   Compiling arrayvec v0.7.2
   Compiling bytemuck v1.12.1
   Compiling lazy_static v1.4.0
   Compiling crossbeam-utils v0.8.12
   Compiling windows_x86_64_msvc v0.42.0
   Compiling rayon-core v1.9.3
   Compiling parking_lot_core v0.9.4
   Compiling smallvec v1.10.0
   Compiling num_cpus v1.13.1
   Compiling either v1.8.0
   Compiling memmap2 v0.5.7
   Compiling cassowary v0.3.0
   Compiling unicode-segmentation v1.10.0
   Compiling unicode-width v0.1.10
   Compiling memoffset v0.6.5
   Compiling crossbeam-epoch v0.9.11
   Compiling lock_api v0.4.9
   Compiling rayon v1.5.3
   Compiling windows-sys v0.42.0
   Compiling symphonia-core v0.5.1
   Compiling crossbeam-channel v0.5.6
   Compiling crossbeam-deque v0.8.2
   Compiling symphonia-metadata v0.5.1
   Compiling symphonia-utils-xiph v0.5.1
   Compiling symphonia-bundle-mp3 v0.5.1
   Compiling symphonia-format-ogg v0.5.1
   Compiling symphonia-bundle-flac v0.5.1
   Compiling symphonia-codec-vorbis v0.5.1
   Compiling parking_lot v0.12.1
   Compiling symphonia v0.5.1
   Compiling winapi-util v0.1.5
   Compiling crossterm_winapi v0.9.0
   Compiling same-file v1.0.6
   Compiling crossterm v0.25.0
   Compiling walkdir v2.3.2
   Compiling gonk-core v0.2.0 (~\scoop\persist\rustup-msvc\.cargo\git\checkouts\gonk-5679db22c8e816e7\e1aed0e\gonk-core)
   Compiling gonk-player v0.2.0 (~\scoop\persist\rustup-msvc\.cargo\git\checkouts\gonk-5679db22c8e816e7\e1aed0e\gonk-player)
   Compiling tui v0.19.0
   Compiling gonk v0.2.0 (~\scoop\persist\rustup-msvc\.cargo\git\checkouts\gonk-5679db22c8e816e7\e1aed0e\gonk)
    Finished release [optimized] target(s) in 13.51s
  Installing ~\scoop\persist\rustup-msvc\.cargo\bin\gonk.exe
   Installed package `gonk v0.2.0 (https://github.com/zX3no/gonk.git#e1aed0ef)` (executable `gonk.exe`)
Brian ~  3.059s
❯ gonk add D:\Music
thread '<unnamed>' panicked at 'Probe error: unsupported feature: core (probe): no suitable format reader found @ path: D:\Music\DRAGON_BALL_SUPER_OST\DRAGON_BALL_SUPER_OST\[180228] 住友紀人 - ドラゴンボール超 オリジナルサウンドトラック -Vol.2- (flac)\Disc 1\27 限界突破.flac', gonk-core\src\lib.rs:687:25
stack backtrace:
   0:     0x7ff607417272 - <unknown>
   1:     0x7ff60743015b - <unknown>
   2:     0x7ff60741330a - <unknown>
   3:     0x7ff607416fbb - <unknown>
   4:     0x7ff607419c99 - <unknown>
   5:     0x7ff60741991a - <unknown>
   6:     0x7ff607316ff7 - <unknown>
   7:     0x7ff60741a550 - <unknown>
   8:     0x7ff60741a2ad - <unknown>
   9:     0x7ff607417c9f - <unknown>
  10:     0x7ff607419f70 - <unknown>
  11:     0x7ff6074459c5 - <unknown>
  12:     0x7ff607360411 - <unknown>
  13:     0x7ff607376518 - <unknown>
  14:     0x7ff607376e6b - <unknown>
  15:     0x7ff60737c622 - <unknown>
  16:     0x7ff60737390d - <unknown>
  17:     0x7ff607376f64 - <unknown>
  18:     0x7ff60737c622 - <unknown>
  19:     0x7ff60737390d - <unknown>
  20:     0x7ff607376f64 - <unknown>
  21:     0x7ff60737c622 - <unknown>
  22:     0x7ff60737390d - <unknown>
  23:     0x7ff607376f64 - <unknown>
  24:     0x7ff60737c622 - <unknown>
  25:     0x7ff60737390d - <unknown>
  26:     0x7ff607376f64 - <unknown>
  27:     0x7ff60737c622 - <unknown>
  28:     0x7ff60737390d - <unknown>
  29:     0x7ff607376f64 - <unknown>
  30:     0x7ff60737c622 - <unknown>
  31:     0x7ff60737390d - <unknown>
  32:     0x7ff607376f64 - <unknown>
  33:     0x7ff6073636fe - <unknown>
  34:     0x7ff6074426b8 - <unknown>
  35:     0x7ff6073fa5a1 - <unknown>
  36:     0x7ff6073ff243 - <unknown>
  37:     0x7ff6073fd106 - <unknown>
  38:     0x7ff60741e82c - <unknown>
  39:     0x7ffa5c14117e - BaseThreadInitThunk
  40:     0x7ffa5dfe42db - RtlUserThreadStart

@zX3no

I'm fairly sure that the file is either not being loaded correctly or is corrupted.
Music formats usually have a byte sequence idenetifying the format ("fLaC" for FLAC), but Symphonia isn't able to find it. I didn't write the decoder so I'm not really sure if that's the issue.
I even download what I think is the same file (could be different I got it off nyaa) and I still don't get any issue.
I do have a FLAC decoder in the works. #24 has some of the basics but it's not finished yet.
I'll change the way files are scanned and log how many couldn't be processed, then at least some of your files will work.
Have you tried addding music without that album or song? Do you get the same error for all files or just a few?

Sure I can try that

I just added some logging in the latest commit, so gonk shouldn't crash when you scan for files.

(I haven't moved the file yet, but I did get a new panic after updating)

panic
Brian ~
❯ cargo +nightly install --git https://github.com/zX3no/gonk.git
    Updating git repository `https://github.com/zX3no/gonk.git`
  Installing gonk v0.2.0 (https://github.com/zX3no/gonk.git#cc885ad7)
    Updating crates.io index
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.1.0
   Compiling bitflags v1.3.2
   Compiling log v0.4.17
   Compiling encoding_rs v0.8.31
   Compiling arrayvec v0.7.2
   Compiling lazy_static v1.4.0
   Compiling bytemuck v1.12.1
   Compiling winapi v0.3.9
   Compiling scopeguard v1.1.0
   Compiling crossbeam-utils v0.8.12
   Compiling windows_x86_64_msvc v0.42.0
   Compiling rayon-core v1.9.3
   Compiling parking_lot_core v0.9.4
   Compiling smallvec v1.10.0
   Compiling num_cpus v1.13.1
   Compiling either v1.8.0
   Compiling memmap2 v0.5.7
   Compiling unicode-width v0.1.10
   Compiling cassowary v0.3.0
   Compiling unicode-segmentation v1.10.0
   Compiling memoffset v0.6.5
   Compiling crossbeam-epoch v0.9.11
   Compiling lock_api v0.4.9
   Compiling rayon v1.5.3
   Compiling windows-sys v0.42.0
   Compiling symphonia-core v0.5.1
   Compiling crossbeam-channel v0.5.6
   Compiling crossbeam-deque v0.8.2
   Compiling symphonia-metadata v0.5.1
   Compiling symphonia-utils-xiph v0.5.1
   Compiling symphonia-bundle-mp3 v0.5.1
   Compiling symphonia-format-ogg v0.5.1
   Compiling symphonia-bundle-flac v0.5.1
   Compiling symphonia-codec-vorbis v0.5.1
   Compiling symphonia v0.5.1
   Compiling parking_lot v0.12.1
   Compiling winapi-util v0.1.5
   Compiling crossterm_winapi v0.9.0
   Compiling same-file v1.0.6
   Compiling crossterm v0.25.0
   Compiling walkdir v2.3.2
   Compiling gonk-core v0.2.0 (~\scoop\persist\rustup-msvc\.cargo\git\checkouts\gonk-5679db22c8e816e7\cc885ad\gonk-core)
   Compiling gonk-player v0.2.0 (~\scoop\persist\rustup-msvc\.cargo\git\checkouts\gonk-5679db22c8e816e7\cc885ad\gonk-player)
   Compiling tui v0.19.0
   Compiling gonk v0.2.0 (~\scoop\persist\rustup-msvc\.cargo\git\checkouts\gonk-5679db22c8e816e7\cc885ad\gonk)
    Finished release [optimized] target(s) in 13.99s
   Replacing ~\scoop\persist\rustup-msvc\.cargo\bin\gonk.exe
    Replaced package `gonk v0.2.0 (https://github.com/zX3no/gonk.git#e1aed0ef)` with `gonk v0.2.0 (https://github.com/zX3no/gonk.git#cc885ad7)` (executable `gonk.exe`)
Brian ~  14.435s
❯ gonk add D:\Music
thread '<unnamed>' panicked at 'Could not open file.: Os { code: 5, kind: PermissionDenied, message: "Access is denied." }', gonk-core\src\lib.rs:659:46
stack backtrace:
   0:     0x7ff7161499f2 - <unknown>
   1:     0x7ff7161628db - <unknown>
   2:     0x7ff716145a8a - <unknown>
   3:     0x7ff71614973b - <unknown>
   4:     0x7ff71614c419 - <unknown>
   5:     0x7ff71614c09a - <unknown>
   6:     0x7ff71603bf07 - <unknown>
   7:     0x7ff71614ccd0 - <unknown>
   8:     0x7ff71614ca2d - <unknown>
   9:     0x7ff71614a41f - <unknown>
  10:     0x7ff71614c6f0 - <unknown>
  11:     0x7ff716178985 - <unknown>
  12:     0x7ff716178c23 - <unknown>
  13:     0x7ff716090d5e - <unknown>
  14:     0x7ff716094766 - <unknown>
  15:     0x7ff7160a9e2b - <unknown>
  16:     0x7ff7160a3242 - <unknown>
  17:     0x7ff71609c551 - <unknown>
  18:     0x7ff7160a9f1b - <unknown>
  19:     0x7ff7160a21e2 - <unknown>
  20:     0x7ff71609c437 - <unknown>
  21:     0x7ff7160a9f1b - <unknown>
  22:     0x7ff7160a3242 - <unknown>
  23:     0x7ff71609c551 - <unknown>
  24:     0x7ff7160a9f1b - <unknown>
  25:     0x7ff7160a21e2 - <unknown>
  26:     0x7ff71609c437 - <unknown>
  27:     0x7ff7160a9f1b - <unknown>
  28:     0x7ff7160a21e2 - <unknown>
  29:     0x7ff71609c437 - <unknown>
  30:     0x7ff7160a9f1b - <unknown>
  31:     0x7ff7160a21e2 - <unknown>
  32:     0x7ff71609c437 - <unknown>
  33:     0x7ff7160a9f1b - <unknown>
  34:     0x7ff716092065 - <unknown>
  35:     0x7ff7160a2902 - <unknown>
  36:     0x7ff7160a52d7 - <unknown>
  37:     0x7ff716175678 - <unknown>
  38:     0x7ff71612ce41 - <unknown>
  39:     0x7ff716131753 - <unknown>
  40:     0x7ff71612f616 - <unknown>
  41:     0x7ff716150fac - <unknown>
  42:     0x7ffc8272117e - BaseThreadInitThunk
  43:     0x7ffc833642db - RtlUserThreadStart

I'll try moving it out now

If you could link the file that would help a lot!

https://i.alienpls.org/Kzr

I somehow missed an unwrap when opening files. It's fixed now so it hopefully won't crash.

Nice after updating the panic is gone

Are your files missing though?

@zX3no this is the log file: https://i.alienpls.org/FXm.log

Small question, how do you exit out of search? using / again or esc doesn't seem to be able to do it

You can use tab to exit out of search. Escape is used for clearing the serach bar. Now that I think about it though there is already shift+backspace & backspace so it doesn't make much sense.

yea I deleted it it cause I figured it out 😄

I'll get around to it I've just been busy lately.
Looking over your logs. I understand some of the errors (limitations of the decoding library I'm using), but some don't make sense.
The file you gave me worked fine, which shouldn't be the case. ¯_(ツ)_/¯
Thanks for your help anyway.


[Dialog] opening lazy loaded content not currently possible

Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Hey guys, would it be possible to develop some kind of mechanism that allows for loading routes as dialog content?
Right now, if I want to open a dialog using md-dialog, I have to pass an instance of the content component. This means that the content component needs to be in the same module (or in the global app module).
There are many use cases for this, for example:
2 lazy loaded modules:
A: show list of items, navigate, filter etc
B: show detail view of an item
If I want to show details from the list in module A inside an md-dialog, I cannot do this because the details view component will be unknown to the calling component inside another module.
As it is now, I have to put all components into the same module, so the entire idea of lazy loading my applications goes out the window. The details component could be using all kinds of heavy dependencies that I don't want to load unless the user really requests a details view.
To summarize:

can material dialog open an url as content of a dialog?

Cheers

That seems like a great feature request to me. My thinking is that the the dialog or portal should just also support ComponentFactory instances as those then can be lazily loaded through dynamic imports (like with routing; I think string module URLs are not the best long-term approach).
I'd love to see this working:
// Lazily load the dialog component. Note: For VE compatibility,
// import from `.ngfactory` and append `NgFactory` to the export name.
const contentFactory = (await import('./lazy/dialog-content')).MyDialogContent;

// Open the dialog using the given factory.
this.dialog.open(contentFactory)

Appendix: Apparently just loading a component dynamically is not sufficient. At the current time where View Engine is still supported, and NgModule's are still a thing, one would need to load the component through the module like this:
const [moduleFactoryExports, componentExports] = await Promise.all([
  // Note: Uses still factory for backwards compat w/ View Engine.
  import(moduleFactoryFile),
  import(componentFactoryFile),
]);

const moduleFactory: NgModuleFactory<any> = moduleFactoryExports[`${module.name}NgFactory`];
const componentType: Type<any> = componentExports[componentName];
const lazyComponent = moduleFactory.create(injector)
  .componentFactoryResolver.resolveComponentFactory(componentType);

this.dialog.open(lazyComponent);

It's actually not as simple as just having an URL for the router because we'd need to find a specific component, while lazy routing modules provide the components through the injector. We could have something similar for the dialog, but ideally with Ivy and no remote scoping, it should be possible to just import the actual component as each component is self-contained (with used directives, pipes etc.; no need for modules)

It looks like the first snippet actually works in Ivy as metadata is encapsulated in the component and it is a self-contained factory. Closing! Please let us know if this does not work.


doesn't work with 1.18 exp snapshots

You are absolutely right, as it checks with the official releases and doesn't allow versions that don't fall into that scheme (Compare.vue, L. 160). And the experimental snapshots are not part of the official versions.
It might be an idea for a feature to disable version check and allow you to compare anything you put into the versions folder, but atm this is not supported.

fixed in release 0.0.3


On a new machine, can't get it to recognize my searches

I have a new laptop and I#ve chosen to set everything up from scratch. Unfortunately, WSS gives me problems as it doesn't list any of my searches.
The list of my searches (admittedly I have remove a few intranet-only searches):
{
  "Google": {
    "Url": ["https://www.google.com/search?q=%s","https://www.bing.com/search?q=%s"],
    "Domain": "https://www.google.com"
  },
  "Bing": {
    "Url": "https://www.bing.com/search?q=%s",
    "Domain": "https://www.bing.com"
  },
  "GitHub": {
    "Url": "https://www.github.com/search?q=%s",
    "Domain": "https://www.github.com"
  },
  "APLCart": {
    "Url": "https://aplcart.info?q=%s",
    "Comain": "https://aplcart.info"
  },
  "dict.cc": {
    "Url": "https://www.dict.cc/?s=%s",
    "Domain": "https://www.dict.cc"
  },
  "FontAwesome": {
    "Url": "https://fontawesome.com/search?0=r&q=%s",
    "Domain": "https://fontawesome.com"
  },
  "Unicode": {
    "Url": "https://unicode-table.com/de/search/?q=%s",
    "Domain": "https://unicode-table.com"
  },
  "MimeKit": {
    "Url": "https://mimekit.net/docs/search.html?SearchText=%s",
    "Domain": "https://mimekit.net"
  }
}

And now, heree's a bing search;

The standard websearch is disabled.
Also, when entering "??!config", the choice "Open Config File" only pops up after entering the last letter. Are the "system commands" not included in autocomplete suggestions?

Sorry I can't use my computer in the weekends. I can only give you my guess. Can you try to remove the "Domain" field?

That doesn't help, sorry. Enjoy your weekend! (no hurry)

Hi @mbaas2 , I would like to know if the default configuration shortcuts can be correctly displayed when you newly install WSS (without any configuration yet).

I removed the old config file and the the plugin folder, installed again: all is fine! Then I pasted in my previous searches and reloaded the config: now it only shows the initial list of searches when I start typing (and my searches are not shown). Could there be a cache that I failed to delete? (I did !reload several times)
That sounds as if it had a problem loading my searches - but the json itself is fine (it validates). Also I'm using just the regular  letters for names, no national chars and only "_" as a separator, so I don't think they could cause problems.

After I removed it, everything returned to normal.

Duh...I'm so blind! I lef that experiment in there🥵
Sorry for the trouble - and thanks for your patience!  (Maybe some error handling during !reload would help, though)

Indeed. I should show some hint when parsing fails.

By the way, I noticed that you haven't set up search suggestions in your configuration. Have you tried it? I'm concerned that early users might not be aware of this new feature.

Thanks! I had seen it mentioned and tried it, but somehow didn't get suggestions.:

Ok, it's rather embarrassing (but probably not surprising😉) - but I had another fault in my config, so that setting had no effect!
(Is there any way you could allow JSON5 in config files?  That would not bark on extraneous "," and also doesn't need quoted fieldnames etc.

I am not a skilled C#developer, I am not sure whether it has built -in support for JSON5. However, I will show some errors at the Search results if there are errors, hoping that this can provide some help.

Thanks - that will surely help a lot!👍


Error in path: Not a regular file: /home/dzintars/code/github.com/dzintars/prime/.yarnrc.yaml

After upgrading Bazel, everything is F**** up. Starting over.

Seems that root cause was that i had Yarn 1.22.18 installed system-wide, but in this repository i was trying to enable Yarn 3.22.0, but in Bazel was using 1.22.18.
Seems that developer Yarn version should match the Bazel repo Yarn version, which is kind of idiotic.

List of supported Yarn versions https://github.com/bazelbuild/rules_nodejs/blob/stable/nodejs/private/yarn_versions.bzl

List of supported Node versions https://github.com/bazelbuild/rules_nodejs/blob/stable/nodejs/private/node_versions.bzl


Support encoding to a file

Copying over from https://github.com/duckdb/duckdb/discussions/11438
DuckDB has become an amazing in memory ETL/data pipeline tool. It can read and write to almost anything. Would it be possible to add an option to copy to any DuckDB source to a binary postgres dump file? The equivalent of copying a parquet file (for example) to a postgres table then doing \copy mytable TO 'data.bin' WITH (FORMAT BINARY) via psql.
One option for an API would be something like COPY mytable TO STDOUT WITH (FORMAT POSTGRES_BINARY) / COPY 'file.parquet' TO 'data.bin' WITH (FORMAT POSTGRES_BINARY). I'm hoping this is not a difficult request since it's in some ways a subset of the functionality alraedy implemented.
As an example use case I made a library for this that DuckDB could then replace and it has 200+ stars, which is more than this repo currently has (not that it's a fair comparison, just pointing out that it's a real use case): https://github.com/adriangb/pgpq

Thanks - that's an interesting idea. I've opened a PR that implements this in https://github.com/duckdb/postgres_scanner/pull/205. Indeed it can utilize existing logic. Perhaps give it a spin and see if it works as you expect it to?

Just to complete the loop, once the next release is made this will be possible:
import duckdb
from fsspec import filesystem

fs = filesystem('memory')
duckdb.register_filesystem(fs)
duckdb.sql("LOAD postgres;'")
duckdb.sql("COPY (SELECT 1 AS a, 2 AS b) TO 'memory://test.bin' (FORMAT postgres_binary)")
print(fs.open('test.bin').read())  # b'PGCOPY\n\xff\r\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x04\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\x02\xff\xff'


Feat 915 add midop organization

closes #915
Adds the organization Midwest Optical Organization to organizations.py
Abbr: MidOpt
RORID: none
Adds org to list FILTER_MANUFACTURERS

We need to add this to the aind-data-schema-models repo instead


Sebastian Ramirez - Serving ML Easily With FastAPI | PyData Fest Amsterdam 2020

Contents
0:00 Introduction
1:45 About FastAPI
2:24 FastAPI Basics
3:22 Support for type annotations
4:17 Concise backend code
6:00 Challenge: serving a machine learning model
7:33 How API routes and documentation work
11:30 Parsing HTTP body and query
18:05 Making ML calls from the API app
23:20 Data validation of the HTTP body
28:52 IDE auto-completion and type checks
30:49 Documenting fields with metadata
32:57 Declaring mandatory fields and validating requests
36:56 Performance
38:27 Additional features
39:50 About typer and thing libraries
41:30 Q&A
Original video at https://www.youtube.com/watch?v=IdlT8l7kHT8

Thanks!


portindex: support creating PortIndex for libc++

I'm submitting @ryandesign's patch from https://trac.macports.org/ticket/55471 for easier review and testing.
It would be great to see it deployed soon. For that to happen another minor patch is needed, see the ticket.

Looks like there's been no comment after several weeks.
The patch now has a conflict.

There was a lot of subsequent discussion going on in the ticket linked above. This is what happens when you mix tickets and PRs (and this is why we have issues disabled).
The conflict seems trivial to resolve and I can do that, but after I submitted this PR and did some more testing I figured out there were further changes needed as it didn't work as intended. The changes needed are not that hard to make either.

@ryandesign: can you please check the changes I made?
I would prefer adding a few tests for this to the base, but I'm not sure how.

@ryandesign Thoughts? Do you think we can integrate this?

@ryandesign Just another ping, I know you've been having trouble keeping up with your email.

I supplied my comments in the ticket earlier.

Since #83 has been merged, I'm closing this. We should probably finish the discussion in the ticket and then simply commit the remaining changes.


Fixed the issue "Footer doesn't stay at bottom on Idle Members page"

Hi @musabansari-1
Seems like you're not part of our Discord server yet. We discuss all the features related to our projects there itself. We have got a lot of projects in web development with various technologies like HTML, CSS, JS, React, Vue, Ember, Node/Express.
Here's the Discord server invite link if you're interested: https://discord.gg/8PdDUQkM
Join us and upskill yourself 😉


iMX8 support needed - Please help

Hello Team and fellow guys !
We are using kivy for long time and have developed many applications based on kivy and all were running without any issues these days. Recently one of our requirements come with Ubuntu porting on ARM like iMX8M based SBC. We successfully installed kivy with the following command "sudo apt-get install python3-kivy". Yet while running kivy we encounter the following error:
[INFO   ] [OSC         ] using  for socket
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider at all!
egl_rpi - ImportError: cannot import name 'bcm'
File "/usr/lib/python3/dist-packages/kivy/core/init.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "/usr/lib/python3/dist-packages/kivy/core/window/window_egl_rpi.py", line 12, in
from kivy.lib.vidcore_lite import bcm, egl
sdl2 - TypeError: expected bytes, str found
File "/usr/lib/python3/dist-packages/kivy/core/init.py", line 67, in core_select_lib
cls = cls()
File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 138, in init
super(WindowSDL, self).init()
File "/usr/lib/python3/dist-packages/kivy/core/window/init.py", line 722, in init
self.create_window()
File "/usr/lib/python3/dist-packages/kivy/core/window/window_sdl2.py", line 237, in create_window
self.fullscreen, resizable, state)
File "kivy/core/window/_window_sdl2.pyx", line 94, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window (kivy/core/window/_window_sdl2.c:2204)
x11 - ImportError: No module named 'kivy.core.window.window_x11'
File "/usr/lib/python3/dist-packages/kivy/core/init.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
[CRITICAL] [App         ] Unable to get a Window, abort.
While I searched around the forums, I came a fact that the Kivy runs only on RPI and not on other arm based platforms with ubuntu. So is there any way to run the kivy in iMX platforms?
Kindly help me out. Thanks in advance

I'm only aware of one person on discord who mentioned they are using Kivy on that platform. So I'd suggest you ask them if they have any insights: https://discord.com/channels/423249981340778496/490493814281338890/771097327380463616.
But as a thought, I wouldn't use python3-kivy package as that is old by now and probably won't work on that platform. Instead, I'd install kivy from scratch (I'd use the RPi install instructions as a guide).

Thank you for the reply. I will contact him on discord.
And I tried compiling it using source also but it fails due to platform not supported

Even though this thread is a bit old by now I haven't found a solution anywhere on the net, so I'll post what I got to work in the hopes that it will help someone else.
After a couple of days of compiling and testing I've finally gotten kivy to run om i.IMX8. I'm using the VAR-SOM-MX8M-MINI from Variscite, with Yocto Hardknott.
As far as I can tell there are two issues with the default options:
A) Downloading kivy through pip on the target installs a version that is compiled to use X11 through SDL2. As we know i.mx8 doesn't run X11. The solution is build a custom version from scratch. This requires that dependencies are installs, which leads to the second issue.
B) SDL2 libraries as installed through yocto are built to use X11. Again, the the solution is to build them too from source.
The steps that worked for me are;

Add a complete build environment to the target: In the yocto local.conf add the following:

IMAGE_INSTALL_append += "  packagegroup-core-buildessential"
EXTRA_IMAGE_FEATURES += "dev-pkgs"

Build and deploy the image. Login to the target
Download, build and install SDL2 packages from source, change versions to newer ones if needed
This comes from https://kivy.org/doc/stable/installation/installation-rpi.html?highlight=mtdev

wget https://libsdl.org/release/SDL2-2.24.0.tar.gz
tar -zxvf SDL2-2.24.0.tar.gz
pushd SDL2-2.24.0
./configure --prefix=/usr --enable-video-kmsdrm --disable-video-opengl --disable-video-x11 --disable-video-rpi
make -j$(nproc)
make install
popd

wget https://libsdl.org/projects/SDL_image/release/SDL2_image-2.6.2.tar.gz
tar -zxvf SDL2_image-2.6.2.tar.gz
pushd SDL2_image-2.6.2
./configure --prefix=/usr
make -j$(nproc)
make install
popd

wget https://libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.6.2.tar.gz
tar -zxvf SDL2_mixer-2.6.2.tar.gz
pushd SDL2_mixer-2.6.2
./configure --prefix=/usr
make -j$(nproc)
make install
popd

wget https://libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.20.1.tar.gz
tar -zxvf SDL2_ttf-2.20.1.tar.gz
pushd SDL2_ttf-2.20.1
./configure --prefix=/usr
make -j$(nproc)
make install
popd

Set environment variables for kivy build: (Might not need al of these, but it worked)

export USE_SDL2=1
export USE_X11=0

export USE_EGL=1
export USE_OPENGL_ES2=1
export USE_WAYLAND=1

Build kivy from source through pip:
I got this line from https://matham-kivy.readthedocs.io/en/latest/installation/installation-linux-venvs.html, thanks Matham!

pip install --no-binary kivy kivy

Test installation:
The export is only needed if called from a remote terminal.

export DISPLAY=:0
python3 -m kivy.core.window

gives the following output on my system
[INFO   ] [Logger      ] Record log in /home/root/.kivy/logs/kivy_22-09-28_55.txt
[INFO   ] [Kivy        ] v2.1.0
[INFO   ] [Kivy        ] Installed at "/usr/lib/python3.9/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.9.9 (main, Nov 15 2021, 18:05:17)
[GCC 10.3.0]
[INFO   ] [Python      ] Interpreter at "/usr/bin/python3"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 189 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'OpenGL ES 2.0 V6.4.3.p2.336687'>
[INFO   ] [GL          ] OpenGL vendor <b'Vivante Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'Vivante GC7000NanoUltra'>
[INFO   ] [GL          ] OpenGL parsed version: 2, 0
[INFO   ] [GL          ] Shading version <b'OpenGL ES GLSL ES 1.0.0'>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <8>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
 /usr/bin/python3: No module named kivy.core.window.__main__; 'kivy.core.window' is a package and cannot be directly executed

In a production environment these steps should preferably be written as bitbake recipes, but I'm posting this here as a pointer for now.

Hi @wileur
I try to build by Yocto but failed, do you have any suggestions?
I think my SDL2 is already based on wayland due to :
PACKAGECONFIG="     opengl     alsa pulseaudio     wayland gles2      "

And my Kivy build log show it is on wayland too.
 * use_rpi = 0
 * use_egl = 0
 * use_opengl_es2 = 1
 * use_opengl_mock = 0
 * use_sdl2 = 1
 * use_pangoft2 = 1
 * use_ios = 0
 * use_android = 0
 * use_mesagl = 0
 * use_x11 = 0
 * use_wayland = 1
 * use_gstreamer = 1
 * use_avfoundation = 0
 * use_osx_frameworks = 0
 * debug_gl = 0
 * kivy_sdl_gl_alpha_size = 8
 * debug = False

I put full log at discord
https://discord.com/channels/423249981340778496/1072002050092711946/1072067298325696563

Hi @WolsYang,
I'll give it a try in yocto myself as I also need it automated. The solution above was more of a proof that it could be done, but not so practical. I'll report back when I get it working.

Hi @wileur ,
Thank you.
There is already has a Kivy recipe in Yocto, I just no idea why it doesn't work.
Add this line to imx-image-full.bb.
IMAGE_INSTALL += " python3-kivy"
This recipe is in /meta-openembedded/meta-python/
And SDL2 is also in imx-image-full.bb too.
The flag you add, some is already in the recipe.
export USE_SDL2=1 << This add by patch in Kivy recipe
export USE_X11=0   << In the recipe,, auto-detect

export USE_EGL=1 << This add by patch in Kivy recipe
export USE_OPENGL_ES2=1  << << In the recipe, turn on by KIVY_GRAPHICS = "gles"
export USE_WAYLAND=1 << In the recipe, auto-detect

Then when you try to build, may get X11error, you need to remove this feature in python3-kivy_%.bbappend.
REQUIRED_DISTRO_FEATURES:remove = "x11"

Since I follow wileur step ' Build SDL2 from source '.
My app can be run now, now I am sure it's SDL2 problem.
But no window show on the screen, and also no error message.
root@myC:~/kivyT# python3 main.py
[INFO   ] [Logger      ] Record log in /home/root/.kivy/logs/kivy_23-02-09_1.txt
[INFO   ] [Kivy        ] v2.1.0.dev0
[INFO   ] [Kivy        ] Installed at "/usr/lib/python3.10/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.10.4 (main, Mar 23 2022, 20:25:24) [GCC 11.3.0]
[INFO   ] [Python      ] Interpreter at "/usr/bin/python3"
[INFO   ] [Logger      ] Purge log fired. Processing...
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 189 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.1 V6.4.3.p4.398061'>
[INFO   ] [GL          ] OpenGL vendor <b'Vivante Corporation'>
[INFO   ] [GL          ] OpenGL renderer <b'Vivante GC7000L'>
[INFO   ] [GL          ] OpenGL parsed version: 3, 1
[INFO   ] [GL          ] Shading version <b'OpenGL ES GLSL ES 3.10'>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [Text        ] Provider: sdl2(['text_pango'] ignored)
[INFO   ] [Base        ] Start application main loop
[INFO   ] [GL          ] NPOT texture support is available

But no window show on the screen, and also no error message.

It seems like you got Kivy itself to work now!
I wonder if you would get a better answer to this problem in another Kivy forum dedicated to the use of it, instead of the kivy issues reporting here.

It seems like you got Kivy itself to work now! I wonder if you would get a better answer to this problem in another Kivy forum dedicated to the use of it, instead of the kivy issues reporting here.

I try to ask this question on Kivy Discord but seems like no one knows what's going on. :'(
Anyway, I try another build config, and it's working now if someone knows the reason please tell me.

Just an update on kivy on yocto, it was reported in this discord thread that kivy has a hard time playing video, even with the basic example from https://stackoverflow.com/a/54119556, but gst works fine.
It was reported that blitting itself takes 179 ms, way to slow for any kind of video playing. I suspect it has something to do with OpenGL ES 2.0 since Wols was working on an embedded system.


C3 charts are not getting loaded

Hi,
I am working on the examples from your website. I am able to load the basic pivot. But I am not able to load the C3 charts examples. I have added the C3 plug ins as you mentioned. But still I could not able to load. Can you please help me in this?
I am attaching the source code and the html file head structure for your reference.

In your second screenshot there are 2 issues:

c3 and d3 are commented out so they are not loaded
the load order matters, it has to be: d3, then c3, then the renderers.


Get Bloometa card crashes if a crypto account reqiuested does not exist

Test : try to get the card without any polygon address in the wallet

In that case, the wallet wallet should display an error message to says that the credentila is requested.


Enable serve_server_wellknown

Overview
Delegation is a Matrix feature that:

Allows your Synapse server to be configured as example.com so, for example, users will be like user1:example.com
But the URL can be different, for example, https://synapse.example.com

You need delegation for two scenarios:

The one mentioned above so you can route traffic to the expected URL
You want federation traffic to use a different port than 8448 (the default)

This PR addresses the scenario 2 by enabling the configuration serve_server_wellknown making Synapse serve a ".well-known/matrix/server" file with the content:
{
    "m.server": "<server_name>:443"
}

Where <server_name> is the one configured in the Synapse instance.
Rationale
Make federation traffic use a different port than 8448. In this case, the port will be 443. This assumes that an Ingress with TLS will be configured in front of the Synapse charm.
Juju Events Changes

Module Changes

Library Changes

Checklist

[x] The charm style guide was applied
[x] The contributing guide was applied
[x] The changes are compliant with ISD054 - Manging Charm Complexity
[x] The documentation is generated using src-docs
[x] The documentation for charmhub is updated.
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

Thanks for submitting this - it seems there aren't any tests? Tests are important to ensure that the feature works as expected and protect from regression. Would it be possible to add tests in this case?


Remove: purocean.YankNote version 2.5.4

## .\Tools\YamlCreate.ps1 -SkipPRCheck -Mode 5 -PackageIdentifier purocean.YankNote -PackageVersion 2.5.4

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


Update refined-scalacheck to 0.10.1

Updates eu.timepit:refined-scalacheck from 0.9.29 to 0.10.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "eu.timepit", artifactId = "refined-scalacheck" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "eu.timepit", artifactId = "refined-scalacheck" }
}]

labels: test-library-update, early-semver-major, semver-spec-minor, commit-count:1

Codecov Report

Merging #649 (5ee9ed6) into master (9a9a066) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #649   +/-   ##
=======================================
  Coverage   62.54%   62.54%
=======================================
  Files          39       39
  Lines        1303     1303
  Branches        7        7
=======================================
  Hits          815      815
  Misses        488      488

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 9a9a066...5ee9ed6. Read the comment docs.


PC: Letterboxing for aspect ratio

Nice! I was considering the same thing for the web build, since the aspect ratio of the browser window is so unpredictable, but then thought "eh, it's probably fine" :)
I'm collecting a lot of ideas in the process for a new sokol_framebuffer.h header that's been rolling around in my head (main features would be 'built in support' for 3 pixel formats - 8-bit with color palette, RGB565 and RGBA8, anchoring/letterboxing, and rendering with an inject shader+pipeline).


Update Rule Elements UI setting to manage access by user role

Closes #14203
Allows setting a minimum role for Rule Elements UI access. Choices are Game Master/Assistant GM, Trusted Player, and Player.

It mostly looks fine to me, though I don't know if we should assume assistant gm as well. It might also be wise to make the value a number analogous to the values of CONST.USER_ROLES (and see if foundry has localization for those roles) and see if that makes the check any easier.

I'd grouped the GM and Assistant GM together as it's more consistent with the current behavior, though I see what you mean. I suppose I could split it up and still maintain the state of affairs for existing worlds by setting Assistant GM as the minimum in the migration.
I'll take another look sometime this week.

Thanks for the suggestions @CarlosFdez. All in.


R-T5.4-9: The data pipeline module of the   Orchestrator should support deploying data pipelines expressed using TOSCA models into a private OpenStack cloud.

ID:
R-T5.4-9

Type:
PORTABILITY

User   story:
As an Operations Engineer, I want to   deploy data pipelines to Private clouds

Requirement:
The data pipeline module of the   Orchestrator should support deploying data pipelines expressed using TOSCA   models into a private OpenStack cloud.

Extended   Description:
The goal is to support deploying data   pipelines in open source cloud platforms designed for setting up private   clouds. OpenStack is chosen as the reference case. Open Source data pipeline   platofrm (e.g. Apache NiFi) will be used as the runtime for the dat

Priority:
Must have

Affected   Tools:
ORCHESTRATOR

Means   of Verification:
Tests to verify that deployment to   private cloud platform is successful

Take a look at for my first comment here: #17.

As the available TOSCA node types and the related Ansible implementation are ready in radon-particles repo, this issue can be closed now. @gcasale .

OK

Thanks @gcasale .
Can we please close this issue now, @cankarm ?

Thanks for the contribution!


Cow: Watch eexperts.in

Cow requests the watch of the watch_keyword eexperts\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

eexperts\.in has been seen in 3 true positives, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ

Approved by VLAZ in Charcoal HQ


Bug: Visual search does not pick up the last value when using a button to trigger search

Hey,
First of all awesome plugin. Really is a complete pleasure to use. I think there is a bug though. For my use case I am using a button to trigger the search. This works fine for most cases except for one. If the user types values in and then clicks on the search button without clicking anywhere else or without hitting the tab key then a subsequent call to visualSearch.searchQuery.facets() does not pick up the last value you entered.
I have created a gist (https://gist.github.com/theshadow7/10186153) that demonstrates this issue. It is basically the demo on the official page with a couple of lines added to add a search button and a click event handler that prints visualSearch.searchQuery.facets() to the console.
Steps to reproduce:

Use the attached html file
Enter a few values in the search box, make sure you type the last one (eg address: myaddress)
3.Click the search button.
In your console you will see that the last value of address is empty

If you click search again now you will have the right value for address.
For example if I enter
country: United States account: 5-samuel U.S. State:California address: aaa
and click the search button directly the output is
[Object { country="United States"}, Object { account="5-samuel"}, Object { U.S. State="California"}, Object { address=""}]
If you change the click hander to this:

$('#searchButton').click(function(event) {
window.setTimeout(function() {
console.log(visualSearch.searchQuery.facets());
}, 200);
})

Then visualSearch.searchQuery.facets() gives the right output.

So after a lot of poking around, I found a workaround; you can override the click even on the button and add the following to trigger visualsearch to detect the facets:
visualSearch.searchBox.disableFacets();

hope this helps any other soul trapped with this legacy!

@cousine thank you so much! that was a great solution to this problem.


Installation issue.

Hey
I have first cloned the the repo. Then I went in the local directory 'node-dota2' in the terminal and ran npm install steam and npm install.  Then changed the contents on the .example file and saved it as config.js and deleted the .example file.  I then went into test directory in terminal and ran npm test.js and I get a issue.

Please help me out. I am not really good at coding but I want to work on this project

Ignore or delete test.js you want to be running example.js

This is the error I get now. What should I do sir ?

https://github.com/RJacksonm1/node-dota2/issues/220

Well what should be the extension of the file ? Well I am complete noob.

No extension. Read through the script you are trying to run.
https://github.com/RJacksonm1/node-dota2/blob/master/test/example.js#L179

@jimmydorry I am getting this error Connection closed by server just like in the issue #220 . I check is anything is down but evrything is fine. What should I do ?

@leovarmak check out the error message. It says: cannot load sentry file. This means it searches for a file with filename sentry (no extension). This file is not included when you clone the repo. It is a file which is used when you want to use an account which is protected with more than just a username + password. As issue #220 points out, all you need to do to get it running, is creating an empty file with filename "sentry" (no extension) in that directory.

@Crazy-Duck I have created that. I am talking about the issue that I am facing now after creating the file.

Can you post a screen cap from what ur getting now? And your directory structure, node js version and the file you're trying to run
On 7 May 2016 8:52 p.m., Karthik Varma<EMAIL_ADDRESS>wrote:
@Crazy-Duck I have created that. I am talking about the issue that I am facing now after creating the file.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

This is the screenshot

This is the path - /Karthik/Websites/github/node-dota2/test/example.js
Node.js version- 4.4.4
I am try to run the example.js file which is present inside the folder test

Is the sentry file empty? Do you have the correct user credentials? Double check them by logging into the steam site. Did you sign in with no auth code, and after getting the email, then fill in the auth code?

@jimmydorry The sentry file is empty. My user credentials are correct. I have double checked them. When I run the config.js with no auth code I get a code on my Mobile. Then I fill in the code and saved the file. Then when I ran the example.js file I again I get a new auth code. This repeats. What should I do now ?

You should just create a new account, and make sure it does not have steamguard. It's far easier if you can't figure out how to make the normal account work.

@jimmydorry I have created a new account and updated the config.js file. I didn't receive any steam auth code on my email but in terminal its shows logged in. Here is the screenshot.

Now I guess its stuck there. Nothing is happening. What should I do now ?

It's working. Everything else is up to you.
Look at what is in the example, and read the readme about the different functions you can use.

Heard nothing more about this. Open another issue when you have a specific question.


BUG: Fix broken copy-paste

The assignment of the this.blankNames property was being done
asynchronously on a per-cell basis. This worked fine if the user inputed
a value by hand, as it gave enough time for the request to return.
However, when someone copy-pasted text into the grid, the request
wouldn't return in time and the this.blankNames property wouldn't be
correctly assigned leading to a ReferenceError.
This is now fixed by getting the contents of this.blankNames before
initializing the whole grid. This way every cell has access to the data
before instantiation.

Fixes #243

I'm :+1: pending travis. @AmandaBirmingham, would you like a second review or good if green w/ travis?

@wasade I looked over the changes and the discussion, and I don't have any useful comments.  If travis green-lights this, so do I :)

Thanks!
On (Jul-25-18|17:31), Daniel McDonald wrote:

Merged #258.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/jdereus/labman/pull/258#event-1753885254


BUGFIX many many through not sorting by join table

Resolves #7981
Todo:

[ ] Write new tests to cover default sort on main dataobject as well as join table
[x] Add docs on sorting many many lists

many_many joins work by doing a join with two separate queries.
eg.
SELECT ...
 FROM "Fluent_Locale" INNER JOIN (
     SELECT ...
     FROM "Fluent_FallbackLocale"
     WHERE ("Fluent_FallbackLocale"."ParentID" = ?)
     ORDER BY "Fluent_FallbackLocale"."Sort" ASC
 ) AS "Fluent_FallbackLocale" ON "Fluent_FallbackLocale"."LocaleID" = "Fluent_Locale"."ID"
 ORDER BY "Fluent_Locale"."Locale" ASC

As you can see, the inner query is sorting correctly on the join table (by Sort ASC). However, the main query has its own sort which overrides that when you get the final set of results.
This inner query is built by SilverStripe using the standard ORM functions and assumes the default sort of the join DataObject (FluentFallbackLocale in this case). Likewise for the main query.
With @robbieaverill's fix it will sort correctly in cases where no default sort is set on the main DataObject and default is set on the join table data object. However, if the default sort is set on the main Dataobject, the fix will essentially be bypassed since sort is already set which is what we're seeing with Fluent.
The fix i've added applies the sort order much earlier, when it first starts building the ORM query objects. It will check to see if there is config which defines a default sort on the join table (this should also work for standard many-many sort too) and applies that if so. If that has no value, it will fallback to whatever sort SilverStripe gives it (default sort on dataobject or natural database sort).
This happens early enough that ->sort() will function as normal if the user decides to sort by something else and early enough that updateManymanyComponents can be hooked into.

I had an idea once where you could declare the sort directly on the many_many array config, so you could override the model-specific sorts, but just for that relation.
e.g.
private static $many_many = [
    'Items' => [
        'through' => Relation::class,
        'from' => 'Parent',
        'to' => 'Child',
        'sort' => '"App_Relation"."Sort" ASC',
    ],
];

+1 for Damian's idea. However, at this point, we will be happy with whatever solution that works.


Zero bytes slow down scanning workaround

Hi,
Is there a way to specify that certain number of zero bytes is present at given offset without may slow down warning?
This can be useful to warn about certain anomaly in file structure.
Right now in condition you can say uint32(0) == 0x00000000 but what if I wanted to say 20 bytes at offset 20 is all zeroes?
Thanks.

Interesting question. The solution that comes to my mind is using the hash module, for example you can write something like
hash.md5(20,20) == "<whichever is the md5 for 20 zeroes>"

That should be a lot faster than looking for a string full of zeroes.

Interesting solution but I couldn't do it. I think there is some mismatch with md5 calculation.
I tried both
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
and
0000000000000000000000000000000000000000
when calculating md5 but couldn't match it with yara rule.

The md5 for 20 consecutive zeroes is<PHONE_NUMBER>08457705bf09a8ee3c1093, that should work.

If you are in Linux, this did the trick for me...
$ dd if=/dev/zero bs=1 count=20 | md5

Thanks, I did the calculation with Python in the end and was able to detect a sample with Yara.
import hashlib

with open(file, 'rb') as f:
    f.seek(20)
    data = hashlib.md5(f.read(20)).hexdigest()
    print(data)


[BUG] AttributeError: 'LazySchema' object has no attribute 'given'

I am trying to write my first test using the examples provided in the schemathesis documention.
I am using schemathesis.from_pytest_fixture() to create my schema, because my WSGI app itself is defined as a pytest fixture.
Now I'm trying to use @schema.given to tweak some of the test data using the hypothesis data() strategy, as shown in the docs here: https://schemathesis.readthedocs.io/en/stable/python.html#using-additional-hypothesis-strategies
When I do this, I get an error: AttributeError: 'LazySchema' object has no attribute 'given'
But I've not encountered anything in the docs saying that this shouldn't work.
To Reproduce
from hypothesis import strategies
import pytest
import schemathesis

@pytest.fixture()
def wsgi_app_schema(app):
    return schemathesis.from_wsgi("/", app)

schema = schemathesis.from_pytest_fixture("wsgi_app_schema")

@schema.parametrize()
@schema.given(data=strategies.data())
def test(case):
    response = case.call_wsgi()
    case.validate_response(response)

Expected behavior
@schema.given works regardless of which loader was used to produce the schema.
Environment:

OS: Linux
Python version: 3.7.7
Schemathesis version: 3.5.3
Spec version: Open API 3.0.2

Thank you very much for a great report!
I forgot to implement it for LazySchema. Will fix in the next release

Thanks so much for the super quick fix! I've pulled down master branch and verified that @schema.given is working for me now.

Awesome! I am glad to hear that :)

Just wanted to check on when you're planning to put out the next release of schemathesis which will include this fix?
Thanks

During this week :) Likely tomorrow

Released in 3.6.0


Update scala-compiler, scala-library to 2.13.10

Updates

org.scala-lang:scala-compiler
org.scala-lang:scala-library

from 2.13.6 to 2.13.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-lang" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #174.


influx_inspect export without -database arg runs forever, fills all available disk space

Bug report
System info:
CentOS-7.2
observed in both Influx 1.1.0 and 1.2.4-1
both versions installed from rpm's d/l from influxdata
Steps to reproduce:
extensive comments posted at https://community.influxdata.com/t/influx-inspect-export-runs-forever-consumes-all-disk-space/1371/5
cmdline used:
influx_inspect export -datadir /var/lib/influxdb/data -waldir /var/lib/influxdb/wal -out /dump/influx.dump
writing out tsm file data for _internal/monitor...^C

Expected behavior:
Would dump 2 small test databases.  /var/lib/influxdb only consumes 145M of disk space in my testing environment.  When I restrict the exports by use of the -database <dbname> argument, my resulting dumps are both less than 2MB.
Actual behavior:
export runs forever, will consume all disk space where the dumpfile is being written.  I even mounted an additional 100GB partition under /dump, and it had written a 92GB file before I killed it.
last few lines of the 50GB dump look like:
tsm1_wal,database=metered_licensing,engine=tsm1,hostname=vm-centos-72-mls,id=3815,path=/var/lib/influxdb/data/metered_licensing/rp_72w/3815,retentionPolicy=rp_72w,walPath=/var/lib/influxdb/wal/metered_licensing/rp_72w/3815 currentSegmentDiskBytes=0i<PHONE_NUMBER>000000000
tsm1_wal,database=metered_licensing,engine=tsm1,hostname=vm-centos-72-mls,id=3815,path=/var/lib/influxdb/data/metered_licensing/rp_72w/3815,retentionPolicy=rp_72w,walPath=/var/lib/influxdb/wal/metered_licensing/rp_72w/3815 currentSegmentDiskBytes=0i<PHONE_NUMBER>000000000
tsm1_wal,database=metered_licensing,engine=tsm1,hostname=vm-centos-72-mls,id=3815,path=/var/lib/influxdb/data/metered_licensing/rp_72w/3815,retentionPolicy=rp_72w,walPath=/var/lib/influxdb/wal/metered_licensing/rp_72w/3815 currentSegmentDiskBytes=0i<PHONE_NUMBER>000000000

After:

uninstalling influxdb
deleting /var/lib/influxdb
re-installing 1.2.4.-1
re-running my db creation scripts
adding a few series

I'm unable to reproduce this issue.  Export completes in under a second, and writes out a 3M uncompressed export
The database had originally been 1.0, then 1.1.0, then eventually 1.2.4-1, must have been an artifact from 1.0 or upgrading from 1.0 -> 1.1.0.


Updated termux requirements

Also maybe move this to the root of the Termux folder

Also maybe move this to the root of the Termux folder
No, that'd break the code.

oh really? then dont it.
What would it break? I thought the Readme was the only file referencing it.

What would it break? I thought the Readme was the only file referencing it.

I have not worked on it for a while but I used to reference it to check and install dependencies if not installed automatically.

I am getting confused with so many pulls, hard for me to keep track.

Now good?

Just let me check both and I'm merging them.

Just let me check both and I'm merging them.

of course, thanks!

Yes and next time please don't make more than one pull for similar issues, they get very hard to track.

ok


[SQL] [DO NOT MERGE] Use local[*] to launch TestSQLContext and TestHive.

This is just for test. Do not merge it.

Merged build triggered.

Merged build started.

Test build #35343 has started for   PR 6915 at commit 334117e.

Test build #35343 has finished for   PR 6915 at commit 334117e.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

I am closing it.


Replaced static image with gif on Home page.

Description
Fix #167
Replaced static image with gif on Home page.

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New feature
[ ] Other

@ydcjeff @trsvchn low-res gif does not look nice with the current size. Should we create a high-res gif or reduce the size ?

@ydcjeff @trsvchn low-res gif does not look nice with the current size. Should we create a high-res gif or reduce the size ?

I can generate more high res gif, because this particular one was oriented for the blogpost.

@trsvchn thanks a lot !