edgetpu.swig.edgetpu_cpp_wrapper

Description
Hi,
I am running the MLMark benchmarking scripts on my system on Windows 10.
More details about the system are in the header of the script below. The parrot example runs fine on the machine.
But when I run the MLMark scripts,  I am getting the following error
ModuleNotFoundError: No module named 'edgetpu.swig.edgetpu_cpp_wrapper'
$ harness/mlmark.py -c config/tflite-tpu-mobilenet-int8-*
-INFO- -------------------------------------------------------------------------
-------
-INFO- Welcome to the EEMBC MLMark(tm) Benchmark!
-INFO- -------------------------------------------------------------------------
-------
-INFO- MLMark Version       : 1.0.3
-INFO- Python Version       : 3.8
-INFO- CPU Name             : Intel(R) Core(TM) i5-6442EQ CPU @ 1.90GHz
-INFO- Total Memory (MiB)   : 48.828125
-INFO- # of Logical CPUs    : 4
-INFO- Instruction Set      : AMD64
-INFO- OS Platform          : Windows-10-10.0.17763-SP0
-INFO- -------------------------------------------------------------------------
-------
-INFO- Models in this release:
-INFO-     resnet50       : ResNet-50 v1.0 [ILSVRC2012]
-INFO-     mobilenet      : MobileNet v1.0 [ILSVRC2012]
-INFO-     ssdmobilenet   : SSD-MobileNet v1.0 [COCO2017]
-INFO- -------------------------------------------------------------------------
-------
-INFO- Parsing config file config/tflite-tpu-mobilenet-int8-accuracy.json
Traceback (most recent call last):
  File "harness/mlmark.py", line 154, in <module>
    begin(args)
  File "harness/mlmark.py", line 129, in begin
    parseConfig(config)
  File "harness/mlmark.py", line 104, in parseConfig
    finalParams, results = runTask(task)
  File "harness/mlmark.py", line 62, in runTask
    pkg = __import__(task['workload'])
  File "D:\mlmark\targets\google_tpu\workloads\mobilenet\__init__.py", line 18,
in <module>
    from .Net import MobileNet
  File "D:\mlmark\targets\google_tpu\workloads\mobilenet\Net.py", line 13, in <m
odule>
    from edgetpu.basic.basic_engine import BasicEngine
  File "C:\Users\chris\AppData\Roaming\Python\Python38\site-packages\edgetpu\__i
nit__.py", line 15, in <module>
    import edgetpu.basic.edgetpu_utils as utils
  File "C:\Users\chris\AppData\Roaming\Python\Python38\site-packages\edgetpu\bas
ic\edgetpu_utils.py", line 15, in <module>
    import edgetpu.swig.edgetpu_cpp_wrapper as wrapper
ModuleNotFoundError: No module named 'edgetpu.swig.edgetpu_cpp_wrapper'

Could you help me in debugging this issue.
Kind Regards
Arun
Click to expand!
Issue Type
Support
Operating System
Windows 10
Coral Device
M.2 Accelerator B+M
Other Devices
No response
Programming Language
Python 3.8
Relevant Log Output
No response

HI @arun-kumark edgetpu api is deprecated. It has been modified to libcoral api for c++ and pycoral api for python.
However, you can try installing edgetpu api form with this whl from software page. After installing please check if you have edgetpu_cpp_warraper.py in Lib/site-packages/edgetpu/swig

Hi,
I did the installation of whl from the link.
The error somewhat changed as below:
chris@DESKTOP-N4KQOP6 MINGW64 /d/mlmark (main)
$ harness/mlmark.py -c config/tflite-tpu-mobilenet-int8-*
    pkg = __import__(task['workload'])
  File "D:\mlmark\targets\google_tpu\workloads\mobilenet\__init__.py", line 18, in <module>
    from .Net import MobileNet
  File "D:\mlmark\targets\google_tpu\workloads\mobilenet\Net.py", line 13, in <module>
    from edgetpu.basic.basic_engine import BasicEngine
  File "C:\Users\chris\AppData\Roaming\Python\Python38\site-packages\edgetpu\basic\basic_engine.py", line 17, in <module>
    from edgetpu.swig.edgetpu_cpp_wrapper import BasicEnginePythonWrapper
  File "C:\Users\chris\AppData\Roaming\Python\Python38\site-packages\edgetpu\swig\edgetpu_cpp_wrapper.py", line 28, in <module>
    _edgetpu_cpp_wrapper = swig_import_helper()
  File "C:\Users\chris\AppData\Roaming\Python\Python38\site-packages\edgetpu\swig\edgetpu_cpp_wrapper.py", line 20, in swig_import_helper
    import _edgetpu_cpp_wrapper
ModuleNotFoundError: No module named '_edgetpu_cpp_wrapper'

But there is no swig inside site-packages still.
Kind Regards
Arun

It seems edgetpu api does not work with windows. You can try with linux or MacOS with python 3.5, 3,6 or 3.7.
As edgetpu api deprecated you can use libcoral api for c++ and/or pycoral api for python.
If you are trying to run benchmarks you can try inference_benchmarks.py. You might have to change this line with these architectures.
ex:machine = 'aarch64' or machine='x86_64'.
Pleas note that, here you are comparing benchmarks  with different CPU architectures.
Thanks

Closing this issue as edgeptu is deprecated and not supported for windows.


Swap Python trade package with Rust implementation

Description

This introduces the Rust implementation for the trade package. It is dependent on #279.
Specifics

[ ] rebuild positionmanager platform resource in Rust
[ ] update Dockerfile with Rust base image
[ ] reimplement all code resources and pubsub setup
[ ] ensure "baseline buy" is configured
[ ] deprecate all methods in Python trade except "get available tickers"
[ ] locally build and run for manual testing
[ ] update Mise commands as needed

Closing to consolidate into separate issues.


WebComment: introduce separate Comments (N1) and Reviews (N2) tabs

Originally on 2011-08-31
Invenio offers optional commenting and reviewing facilities that every
installation can separately enable or disable.  (This is governed by
CFG_WEBCOMMENT_ALLOW_COMMENTS and CFG_WEBCOMMENT_ALLOW_REVIEWS.)
However, on the HTML detailed format on the Detailed record pages,
there is only one common tab called "Discussion (3)" where comments
and reviews are presented as sub-tabs, so to speak.  This does not
work coherently with the HTML brief format where we display comment
and review information apart:
1. Development of photon beam diagnostics for VUV radiation from a
   SASE FEL / Treusch, R ; Lokajczyk, T ; Xu, W ; Jastrow, U ; et al
   [TESLA-FEL-99-07]

   Detailed record - Similar records - 2 comments - 1 review

The goal of this ticket is to introduce two separate "Comments (2)"
and "Reviews (1)" tabs on the detailed record pages, which will both
harmonise the situation and make the UI clearer should a site enable
one or both of these facilities.

Solved in a9dd2a8a for Invenio 2.x.


[SPARK-14774][SQL] Write unscaled values in ColumnVector.putDecimal

What changes were proposed in this pull request?
We recently made ColumnarBatch.row mutable and added a new ColumnVector.putDecimal method to support putting Decimal values in the ColumnarBatch. This unfortunately introduced a bug wherein we were not updating the vector with the proper unscaled values.
How was this patch tested?
This codepath is hit only when the vectorized aggregate hashmap is enabled. https://github.com/apache/spark/pull/12440 makes sure that a number of regression tests/benchmarks test this bugfix.

cc @davies

Test build #56425 has started for PR 12541 at commit 85fdb84.

We should add a unit test in ColumnVector's own suite.

Test build #56425 has finished for PR 12541 at commit 85fdb84.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56425/
Test PASSed.

Updated the unit test (we already had one but weren't testing all branches for DecimalType). The updated test found another unrelated bug which I also fixed as part of this PR.

Test build #56594 has started for PR 12541 at commit d2434f5.

LGTM

Test build #56594 has finished for PR 12541 at commit d2434f5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56594/
Test PASSed.

Merging in master.


Fix followers getting sent to nullspace when target is polymorphed

About the PR

Followers (ghosts, anomaly cores) orbiting targets will now continue orbiting the polymorph's result rather than getting tucked away in nullspace.
Why / Balance

Fixes #28778
Technical details

PolymorphSystem now raises a PolymorphedEvent on the targeted entity immediately after making the swap. FollowerSystem subscribes to this event and reacts by setting the new entity as follow target.
Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

fix: Ghosts are no longer sent to the void if the player they are following is polymorphed.

I found two bugs while testing:

The camera rotation is weird when following the polymorphed entity.

When unpolymorphing the following ghost gets parented to the target, but does have the rotating animation.


Release new version on snap store

Is your feature request related to a problem? Please describe.
Current snaps are pretty old:
channels:
  stable:    –
  candidate: 2.0.25 2018-01-19   (7) 16MB -
  beta:      2.0.30 2018-03-30  (35) 23MB classic
  edge:      2.0.38 2018-07-06 (399) 25MB classic

Describe the solution you'd like
Integration with https://snapcraft.io/build to auto-build new versions.
Describe alternatives you've considered
A process in CI to publish packages.
Additional context
If there is a problem with ownership, please ask on https://forum.snapcraft.io/c/store

Hi @guilhem thanks for the report. We are working with the relevant folks to get this release channel properly maintained.

I'm going to unassign myself and @achandmsft from this, because the time line for this work is unclear.

add to S164.

Is there any reason that there isn't a stable version published via snap? Are the current published versions safe to use for production code?

Hello Azure team! I would much prefer to use the snap package for the Azure CLI and I have time to maintain this package if you would like a hand?

I see that the newest snap in the edge channel is 2.0.38 from July 2018.  Any progress on making snap releases part of your process?
The install docs tell me not to use the version in Ubuntu because 2.0.81 is too old, making the snap ancient.  And I don't care for the instruction to run curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash as it seems just piping a script from the internet to bash as root is an abhorrent security anti-pattern.  Alternatively I can add your key and trust your entire deb repo, which is also more than I'd like; a user should be directed to add an apt preferences file to pin the repo so only azure-cli is installed from that repo.

Any update on this?

Snap is not supported anymore and we don't have a plan to release on snap again. Thanks for your understanding.

Hi @rcj4747,

And I don't care for the instruction to run curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash as it seems just piping a script from the internet to bash as root is an abhorrent security anti-pattern.

I fully understand your concern. We will discuss internally for how to deal with it.

a user should be directed to add an apt preferences file to pin the repo so only azure-cli is installed from that repo.

Could you share the detailed steps or the preferences file you want us to use? We can definitely consider including that in our doc.

Snap is not supported anymore and we don't have a plan to release on snap again. Thanks for your understanding.

Then why not close this ticket?


Updating hieradata hostnames/ips to work in default profile and worker manager profiles

Although this is an optional change to the data layer(hiera), this will be helpful in VM scenario to,

Avoid UnknownHostException if default profile is used without altering hiera default.yaml
Have multiple workers, local_member_host should be a variable.

@lasinducharith Can you please explain the reason for replacing hostname values with "%{::hostname}"?

@imesh default.yaml should represent the default wso2 product profile. IMO if somebody requests the default profile, it would be better if we can configure it using wso2/puppet-modules OOTB without a user having to change hieradata. As mentioned above, if user does not update the wso2::hostname in current default.yaml, it will throw a UnknownHostException at the server startup, due to hostname mismatch with what is in the /etc/hosts vs carbon.xml. So above change will make sure you always have the instance hostname in the carbon.xml(of course user can change it later)
I know what ever changes to hieradata is optional, since it's the data layer for puppet, but for the sake of simplicity in VM scenario, the above change can be useful for the end user who is trying out wso2.puppet modules for the first time.

This can be tackled by adding a host_mapping entry AFAIK.
We've refactored wso2/puppet-modules to separate Kubernetes and VM (default) platform specific configuration data. May be @lasinducharith can refactor this, so the requirement becomes clear?

Closing as proposed solution is obsolete.


UUID package improvements

To avoid errant log messages, we've disabled logging by default when uuid is having trouble accessing /dev/urandom. This also takes the work from #786 and incorporates the feedback.
This carries #784 and #786.
cc @jfrazelle @tiborvass @ibuildthecloud

Do we need a check on whether Loggerf is nil in Generate, before it is used?

@aaronlehmann +1

@aaronlehmann No, because it is initialized.

LGTM

Ah, missed the fact that Loggerf is initialized. LGTM.

@tiborvass Are you going to update in docker/docker?


Asynchronous postcondition check now synchronous. Fix for #178

@all folks, I would glad to hear some feedback:)
/cc: @sharwell

@SergeyTeplyakov Looks good :+1:
But I still don't get the NegativeExpectedCondition and behave variable used in tests.
It seems that when behave is false expected result is dictated by NegativeExpectedKind  and NegativeExpectedCondition. But what this variable is for? Where is it changed?


Add option to always update to latest prerelease version

I have a project that I want to always have the latest prerelease versions.  I know this is not the norm, but I would like a dependabot option that allows me to specify that I always want the latest version even prerelease regardless of what version is in csproj file.
Here's an example:
This line: https://github.com/jongio/azidext/pull/19/files#diff-62758d857fe8e73c3416a9341ff6127aL15
Has this:
<PackageReference Include="Azure.Identity" Version="1.1.0" />
I would like it to be update to the latest preview version, which is this:
<PackageReference Include="Azure.Identity" Version="1.2.0-preview.4" />
But dependabot is only bumping it to 1.1.1.
According to issue #1842 dependabot will only bump to preview if the version is the same minor version.
As mentioned in #1842, it is common to push "preview" moniker before the production version is ready.
I was expecting this "always get the latest preview version option" in the config.yml file, under "allowed_updates", maybe have a "always_prerelease" option.
Based on comments in #1842, I thought a good workaround would be to manually set the version to "1.2.0-preview.1", so that it picks up all new preview versions of 1.2, but that is not working.  I have filed #1928 to track that issue.
Even if that worked as a stopgap, it would not be sustainable, as I will have to also manually update to 1.3.0-preview.1, when that preview is available.
Thanks!
Jon
azsdke2e

Is there any movement on this issue? I too would like the ability to always update to a pre-release, as I want to use it as a canary to let me know when there is a major update coming for an external nuget package, so that I can update my code.
Updates for the external lib follow:
1.0, followed by 1.1-preview.1 and then 1.1. Right now, I'm only getting a Dependabot PR when 1.1 arrives, which means there is a lag in updating my code to work in the latest version.
Tagging @jurre

Hey hey, yeah I think it makes sense as an optional feature.
Unfortunately our team is spread pretty thin currently and we won't be able to look into this in the foreseeable future.

Will you accept a pull request? Sorry, I haven't looked at the contributor guidelines yet.

We would, but unfortunately this change also requires work on our internal services that run dependabot in order to allow for the option to be configured etc. So with just such a contribution users could still not use the feature.

Disappointing. Let me know if the above changes, I'd be happy to contribute.

+1
Is this a duplicate of https://github.com/dependabot/dependabot-core/issues/2250?

Hi, I think that I am running into the same issue. My application is currently using version 4.0.4-prerelease-20211013.2 of the OSIsoft.OCSClients NugetPackage. I would have expected dependabot to update to the latest prerelease version (5.0.1-prerelease-20220705.1), but it did not. When I look at the update logs it shows that it did not find a newer version:
updater | INFO <job_430568916> Checking if OSIsoft.OCSClients 4.0.4-prerelease-20211013.2 needs updating   proxy | 2022/07/29 18:38:38 [026] GET https://azuresearch-usnc.nuget.org:443/query?q=osisoft.ocsclients&prerelease=true&semVerLevel=2.0.0   proxy | 2022/07/29 18:38:38 [026] 200 https://azuresearch-usnc.nuget.org:443/query?q=osisoft.ocsclients&prerelease=true&semVerLevel=2.0.0 updater | INFO <job_430568916> Latest version is 4.0.4-prerelease-20211013.2 updater | INFO <job_430568916> No update needed for OSIsoft.OCSClients 4.0.4-prerelease-20211013.2
Has there been any movement on this issue?

Closing as a dupe of #2250 .
I realize this ticket came first, but that one seems to have more traction and a more complete description from a product/feature perspective, so let's use that one.


Compatibility with Rails 4

All I had to do was bump the gem versions... you might not want this PR as-is but if you cherry-pick the 1st and 3rd commits you should get your prior gem with JUST the versions bumps, which might be a good thing.

@yyyc514 Thanks for this pull request! Just curious why did you think hiredis should be optional? Is there any compatibility issue or something?

Just my personal trend towards minimalism.  It's easy enough for someone to wire in hiredis with a single line in their Gemfile... so I don't see the value in forcing it on people.  I also prefer that type of thing to be visible in the Gemfile instead of being hidden.
The big value I find in this gem is the instrumentation, so that's all I care about.   Hence my suggesting you might just want 1 & 3.

@yyyc514 Hey Josh, I've pushed a new version to Rubygems. Please give it a try and let me know if there's any problem with it. Thank you!


Adding more tests to build system

flyby: making tests pass again
Adding generated CMakeLists.txt to test verification
Building generated projects as part of testing
use auto instead of std::function<> for function definitions
change main(int, char**) to main(int, char*[]) because of a known issue in recent versions of HPX

Thanks!


Allow for webc:nokeep in the component itself

I've got a component where I never want it to show up in the HTML. To do this, I have to add code to the calling template, like so:
<myawesomecomponent webc:nokeep></myawesomecomponent>

That works, but it would be nice if the component could set this itself, perhaps in front matter. Imagine a webc component I'm sharing with others. I want it to be as simple to use as possible. Being able to set this myself means less typing for the user.

https://www.11ty.dev/docs/languages/webc/#override-the-host-component-tag does most of this, I think!

This is not quite what I mean. So my component is named lightbox. When I leave it in the DOM, I end up with:
<html>
<body>
<!--StartFragment-->

<lightbox images="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"><div class="lightbox_images">
stuff here
</div></lightbox>
</body>
</html>
``

Using webc:nokeep on the calling doc completely removes it. If I use override, I can *replace* it with my top level div, but I still have images=object etc.

I'm only bugged about this as I need to use a :attribute as my data is complex, not a string. (FYI, this is not a blocker for me. I'm using scoped css so I'll need a top level tag anyway, but still curious.)

Ehh - forgot about :@ to make it private. Disregard again, 0 for 2 today, but learned stuff. :)


stake2

Our contract is V1, when i run this UI local i don't find our pool, so i'm trying to test it as "stake2" and later change to "stake" if it works.

okay not sure what you mean exactly -- all this does is set hostname mapping so you can redirect a hostname to this deployment - it doesnt change the pool address

also you probably want to remove your quicknode URLs

but ya this looks like its working https://stake.cardinal.so/BKEAfh7ta4SDx7LHiuUK96uBUJMLWcsPPNwLhZthzZd7


Timespans. Languages scrape fix. Stars object.

Allow for timespans (daily, weekly, monthly). Fixed languages scrape. Turned repo.star into repo.stars to include raw text and parsed start count as number.

Awesome. Thanks for the PR 👍 and sorry for the huuuuuge delay :(

👍🏻


Defender System Guard

It seems that wpbt does not work when "Defender System Guard" of windows 11 is enabled.
(NativeApp newly signed with our certificate)
Can anyone please help me on this?

It seems to be a signature problem. It looks like you need to get a cross-signature from MS.


SHIELD not handled correct in CMake when using custom board

In CMakeList.txt set BOARD_ROOT and SHIELD e.g
set(BOARD_ROOT ${MY_CUSTOM_BOARD_ROOT})
set(SHIELD myShield)
.
pull in the Zephyr boilerplate
CMake will then look for the myShield DTS overlay in ${MY_CUSTOM_BOARD_ROOT}/boards/shields/myShield
but it will look for the Kconfig.shield in .../zephyr/boards/shields/myShield
Furthermore is the SHIELD_AS_LIST only set to myShield, when CMake scans ${MY_CUSTOM_BOARD_ROOT}, it is empty when it scans zephyr/boards
Expected behaviour would be both DTS overlay and Kconfig.shield was found in same location.
First look for ${MY_CUSTOM_BOARD_ROOT}/boards/shields/myShield
and if not found look for .../zephyr/boards/shields/myShield

@tejlmand would you have time to check this ?

Any update on this issue ?

@lund-prevas Fixed here: #29571


[BUG] did:web resolution incorrect service type validation

When resolving a did:web with the /resolver/resolve/ endpoint the validation checks if the service.type is a string. According to the did core spec, this value can be a string or an array.

The value of the type property MUST be a string or a set of strings. In order to maximize interoperability, the service type and its associated properties SHOULD be registered in the DID Specification Registries [DID-SPEC-REGISTRIES].

Having an array for the service.type raises this error:
500: Response was incorrectly formatted. Failed to deserialize DIDDocumentRoot:. 1 validation error for ParsingModel[DIDDocumentRoot]. __root__ -> service -> 0 -> type. str type expected (type=type_error.str). [ErrorWrapper(exc=ValidationError(model='DIDDocumentRoot', errors=[{'loc': ('service', 0, 'type'), 'msg': 'str type expected', 'type': 'type_error.str'}]), loc=('__root__',))].
Changing the service.type to a string instead of an array resolves this error however both should be valid.

Shoot. This is a PyDID issue. This has the potential to be a painful change though; several routines scan through services expecting to find a string.
Out of curiosity, do you have an example of this in use?

The traceability interoperability spec uses a list for the service.type. Aca-py isnt't able to process the document any further if the value is not a string, therefore can't fetch a verificationKey to verify a VC:
https://w3c-ccg.github.io/traceability-interop/draft/#service

Tagging this link to keep breadcrumbs of the work:
https://github.com/Indicio-tech/pydid/issues/81

@dbluhm we fixed this in the pydid library and a new version was released. Is there anything we need to do on aca-py side to pull this new version or is it auto-magical?

I believe we may need to do a poetry.lock update so the images will include the newer version. If pulled via PyPI or github as a dependency of another project, I think the current version constraint will correctly resolve to the new pydid version but the dependent projects would also need to do something like a poetry update themselves to get the new version.

closing as #2737 was merged and addresses this issue


[kibana] Setting own IngressClassName does not work.

Chart version:
7.15.0
Kubernetes version:
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.13", GitCommit:"53c7b65d4531a749cd3a7004c5212d23daa044a9", GitTreeState:"clean", BuildDate:"2021-07-15T20:58:11Z", GoVersion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.13", GitCommit:"53c7b65d4531a749cd3a7004c5212d23daa044a9", GitTreeState:"clean", BuildDate:"2021-07-15T20:53:19Z", GoVersion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"}
Kubernetes provider: E.g. GKE (Google Kubernetes Engine)
Openstack Magnum
Helm Version:
version.BuildInfo{Version:"v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"clean", GoVersion:"go1.16.5"}
helm get release output
e.g. helm get elasticsearch (replace elasticsearch with the name of your helm release)
Be careful to obfuscate every secrets (credentials, token, public IP, ...) that could be visible in the output before copy-pasting.
If you find some secrets in plain text in helm get release output you should use Kubernetes Secrets to managed them is a secure way (see Security Example).

Output of helm get release
NAME: kibana
LAST DEPLOYED: Tue Oct 26 10:50:49 2021
NAMESPACE: monitoring-logs
STATUS: deployed
REVISION: 1
TEST SUITE: None
USER-SUPPLIED VALUES:
ingress:
  annotations: {}
  enabled: true
  hosts:
  - host: kibana.<IP>.nip.io
    paths:
    - path: /
  ingressClassName: monitoring
  pathtype: ImplementationSpecific

COMPUTED VALUES:
affinity: {}
elasticsearchHosts: http://elasticsearch-master:9200
elasticsearchURL: ""
envFrom: []
extraContainers: ""
extraEnvs:
- name: NODE_OPTIONS
  value: --max-old-space-size=1800
extraInitContainers: ""
extraVolumeMounts: []
extraVolumes: []
fullnameOverride: ""
healthCheckPath: /app/kibana
hostAliases: []
httpPort: 5601
image: docker.elastic.co/kibana/kibana
imagePullPolicy: IfNotPresent
imagePullSecrets: []
imageTag: 7.15.0
ingress:
  annotations: {}
  enabled: true
  hosts:
  - host: kibana.<IP>.nip.io
    paths:
    - path: /
  ingressClassName: monitoring
  pathtype: ImplementationSpecific
  tls: []
kibanaConfig: {}
labels: {}
lifecycle: {}
nameOverride: ""
nodeSelector: {}
podAnnotations: {}
podSecurityContext:
  fsGroup: 1000
priorityClassName: ""
protocol: http
readinessProbe:
  failureThreshold: 3
  initialDelaySeconds: 10
  periodSeconds: 10
  successThreshold: 3
  timeoutSeconds: 5
replicas: 1
resources:
  limits:
    cpu: 1000m
    memory: 2Gi
  requests:
    cpu: 1000m
    memory: 2Gi
secretMounts: []
securityContext:
  capabilities:
    drop:
    - ALL
  runAsNonRoot: true
  runAsUser: 1000
serverHost: <IP_ADDRESS>
service:
  annotations: {}
  httpPortName: http
  labels: {}
  loadBalancerIP: ""
  loadBalancerSourceRanges: []
  nodePort: ""
  port: 5601
  type: ClusterIP
serviceAccount: ""
tolerations: []
updateStrategy:
  type: Recreate

HOOKS:
MANIFEST:
---
# Source: kibana/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
  name: kibana-kibana
  labels:
    app: kibana
    release: "kibana"
    heritage: Helm
spec:
  type: ClusterIP
  ports:
    - port: 5601
      protocol: TCP
      name: http
      targetPort: 5601
  selector:
    app: kibana
    release: "kibana"
---
# Source: kibana/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: kibana-kibana
  labels:
    app: kibana
    release: "kibana"
    heritage: Helm
spec:
  replicas: 1
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app: kibana
      release: "kibana"
  template:
    metadata:
      labels:
        app: kibana
        release: "kibana"
      annotations:

    spec:
      securityContext:
        fsGroup: 1000
      volumes:
      containers:
      - name: kibana
        securityContext:
          capabilities:
            drop:
            - ALL
          runAsNonRoot: true
          runAsUser: 1000
        image: "docker.elastic.co/kibana/kibana:7.15.0"
        imagePullPolicy: "IfNotPresent"
        env:
          - name: ELASTICSEARCH_HOSTS
            value: "http://elasticsearch-master:9200"
          - name: SERVER_HOST
            value: "<IP_ADDRESS>"
          - name: NODE_OPTIONS
            value: --max-old-space-size=1800
        readinessProbe:
          failureThreshold: 3
          initialDelaySeconds: 10
          periodSeconds: 10
          successThreshold: 3
          timeoutSeconds: 5
          exec:
            command:
              - sh
              - -c
              - |
                #!/usr/bin/env bash -e

                # Disable nss cache to avoid filling dentry cache when calling curl
                # This is required with Kibana Docker using nss < 3.52
                export NSS_SDB_USE_CACHE=no

                http () {
                    local path="${1}"
                    set -- -XGET -s --fail -L

                    if [ -n "${ELASTICSEARCH_USERNAME}" ] && [ -n "${ELASTICSEARCH_PASSWORD}" ]; then
                      set -- "$@" -u "${ELASTICSEARCH_USERNAME}:${ELASTICSEARCH_PASSWORD}"
                    fi

                    STATUS=$(curl --output /dev/null --write-out "%{http_code}" -k "$@" "http://localhost:5601${path}")
                    if [[ "${STATUS}" -eq 200 ]]; then
                      exit 0
                    fi

                    echo "Error: Got HTTP code ${STATUS} but expected a 200"
                    exit 1
                }

                http "/app/kibana"
        ports:
        - containerPort: 5601
        resources:
          limits:
            cpu: 1000m
            memory: 2Gi
          requests:
            cpu: 1000m
            memory: 2Gi
        volumeMounts:
---
# Source: kibana/templates/ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: kibana-kibana
  labels:
    app: kibana
    release: "kibana"
    heritage: Helm
spec:
  rules:
    - host: kibana.<IP>.nip.io
      http:
        paths:
          - path: /
            backend:
              serviceName: kibana-kibana
              servicePort: 5601

Describe the bug:
Setting the IngressClassName does not work. It doesn't matter if I use className: "monitoring" or ingressClassName: "monitoring" in values file, the name is set to None. Only manual editing of the component using "kubectl edit" allows the IngressClassName to be set.
Steps to reproduce:

Create IngressClass named monitoring
Create values.yaml file:

ingress:
  enabled: true
  className: "monitoring"
  pathtype: ImplementationSpecific
  annotations: {}
  # kubernetes.io/ingress.class: nginx
  # kubernetes.io/tls-acme: "true"
  hosts:
    - host: kibana.<IP>.nip.io
      paths:
        - path: /

helm install kibana elastic/kibana -f values.yaml --version 7.15.0

Expected behavior:
[root@testing efk (⎈ |default:monitoring-logs)]$ kubectl get ingress
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
NAME            CLASS    HOSTS          ADDRESS   PORTS   AGE
kibana-kibana   monitoring   kibana.<IP>.nip.io   <IP>   80      12m

Provide logs and/or server output (if relevant):
[root@testing efk (⎈ |default:monitoring-logs)]$ kubectl get ingress
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
NAME            CLASS    HOSTS           ADDRESS   PORTS   AGE
kibana-kibana   <none>   kibana.<IP>.nip.io             80      12m

Be careful to obfuscate every secrets (credentials, token, public IP, ...) that could be visible in the output before copy-pasting
Any additional context:

@framsouza When can we expect a release containing the above feature?

Hi @Goglv, this feature has been released in 7.16.1


Source with working feed is not collecting (we're also not blocked)

https://sources.mediacloud.org/#/sources/300240

and another: https://sources.mediacloud.org/#/sources/329358/feeds


delete dummies.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ

storey/dataframe.py
92.72% <ø> (+8.60%)
:arrow_up:


[WIP] Automatic Updates via Dependabot

See #91 for prior discussion.

Closing this, using a different approach.


Support SM9

Is there any plan to support sm9? if not,  Can I contribute  Pull requests?

当前版本已经支持SM9


Update Mapping with Semaphore

#783  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dongreenberg and the rest of your teammates on  Graphite


⚠ St. Lawrence Global Observatory CKAN has degraded performance

In a04b808, St. Lawrence Global Observatory CKAN (https://catalogue.ogsl.ca/en/) experienced degraded performance:

HTTP code: 200
Response time: 6387 ms

Resolved: St. Lawrence Global Observatory CKAN performance has improved in 2a6e766 after 34 minutes.


Support NoMatchingListenerHostname reason in HTTPRoute status

Proposed changes
If an HTTPRoute references a listener with the hostname that does not match any hostnames of the HTTPRoute, NGINX Kubernetes Gateway will set the condition "Accepted" with the status "False" and the reason "NoMatchingListenerHostname" in the status of the HTTPRoute.
The commit introduces a new type RouteCondition. It is used to capture status-related conditions when building the graph. It will be used to capture other conditions too, including when building configuration.
Note: the implementation required implementing a few additional conditions. In one case, to wait until the corresponding reasons (v1beta1.RouteConditionReason) are added to the Gateway API and in the other case, to not increase the scope, those conditions are left to be implemented (FIXMEs).

@pleshakov does the compatibility doc need to be updated to reflect these changes?

not resolving the conflicts yet -- those conflicts are because of the recent line-length changes.  I will resolve them before merging so that the review-related changes to the PR are only about the PR comments.


rust-analyzer | coc-rust-analyzer broken since RA@2021-05-03

I'm used to working with rust-analyzer & coc-rust-analyzer, but after latest updates, this toolset is broken, I'm not sure if it's rust-analyzer's issue or coc-rust-analyzer or maybe I didn't configure it correctly.
Today I tried to upgrade to RA@2021-05-17 because I hope it fixes my issue, but it crashed again

the only thing that I've done is to call find references of Balance:

https://github.com/parallel-finance/parallel/blob/master/runtime/parallel/src/lib.rs#L606
Ref: #8809

I do think RA works on regular project, but I'm also sure it doesn't work well with substrate blockchain library, it always crashes and it's super slow on indexing.

Sorry to put @fannheyward here, maybe you have some ideas~

My environment is:

Tested with rust nightly-aarch64-apple-darwin + cargo 1.54.0-nightly (070e459c2 2021-05-11) + rust-analyzer b82458818 2021-05-17 stable, works. rust-analyzer needs a long time to do indexing and loading metadata.

@fannheyward thanks for your efforts to reproduce, where can I find the environments that you are using:

neovim
coc.nvim version
coc-settings.json

I would really like to fix my setup

vim version: NVIM v0.5.0-dev+e0a01bdf7
node version: v16.1.0
coc.nvim version: 0.0.80-304b34c2a3 --> feat/lsp-316 branch

❯ rust-analyzer --version
rust-analyzer b82458818 2021-05-17 stable

stable is https://github.com/rust-analyzer/rust-analyzer/releases/tag/2021-05-17

vim version: NVIM v0.5.0-dev+e0a01bdf7
node version: v16.1.0
coc.nvim version: 0.0.80-304b34c2a3 --> feat/lsp-316 branch

❯ rust-analyzer --version
rust-analyzer b82458818 2021-05-17 stable

stable is https://github.com/rust-analyzer/rust-analyzer/releases/tag/2021-05-17

strange it should be the same with;
cd rust-analyzer
git checkout 2021-05-17
cargo  xtask install --server

@fannheyward I just tested your feat/lsp-316 branch, it looks better, I succeed to have references after like 10 seconds (RA is slow)
but when I try to checkout output, it crashed again

@GopherJ  coc release also works, no crashes in output channel.

@GopherJ I don't have any rust-analyzer related configurations in coc-settings.json, you can try this.

@fannheyward yes I tried to remove the configuration but it still crashes easilly, I suspect it's my macbook m1's issue.

some other debug logs are:

@fannheyward it seems that I've found the issue:
if I comment this line and then uses the one from github release, it starts to work
 /* "rust-analyzer.server.path": "~/.cargo/bin/rust-analyzer", */

@fannheyward thanks for your big help, I'll continue to observe if there are other issues, but now the github release one is working from what I see


GitOps Run fails on macOS using local k3d cluster: can't mount /etc/machine-id

Describe the bug
When running gitops beta run on macOS using a k3d local cluster, setup fails at this step:
► creating HelmRelease flux-system/fluent-bit
► waiting for HelmRelease flux-system/fluent-bit to be ready
✗ HelmRelease flux-system/fluent-bit failed to become ready
✗ Fluent Bit installation failed: timed out waiting for the condition
Error: timed out waiting for the condition

On further investigation, this appears to be because the fluent-bit pod is trying to mount the HostPath /etc/machine-id - which does not exist inside the k3d server container image (docker.io/rancher/k3s:v1.27.4-k3s1, in my particular case).
Environment

GitOps version: 0.30.0
Flux version: v2.0.1
Kubernetes version: k3s:v1.27.4-k3s1
macOS version: Ventura 13.5
colima version (used as Docker dev environment): 0.5.5

To Reproduce
Steps to reproduce the behavior:

Create a k3d cluster: k3d cluster create flux-test
Run GitOps Run against chosen directory: gitops beta run . --context k3d-flux-test --no-session --no-bootstrap

Expected behavior
GitOps Run should create resources needed.
Actual Behavior
Error above is shown.
Additional Context (screenshots, logs, etc)

To workaround this, I have included the following section in my k3d config file:
volumes:
  - volume: /etc/machine-id:/etc/machine-id
    nodeFilters:
      - server:*
      - agent:*

Hello @MisterWS, thanks for sharing your workaround. We've included it in our user docs here with a link back to this issue so you get credit. Let us know if you have any other issues or if you'd like to contribute to the project.


Usage guide

Hi, I am trying to use this api for function calling?
I am encountering these issues:
When  I using the deploy to Zeabur, it gives internal server error
I also tried using local deployment, it gives Authorization header is missing when I try to open the api address?
Can you share some instructions how to use the api for function calling in python?

You need to use this deployed interface just like you use the OpenAI API.
You need to pass in your own key
On Fri, May 3, 2024 at 12:51 PM Rishabh Chanana @.***>
wrote:

Hi, I am trying to use this api for function calling?
I am encountering these issues:
When I using the deploy to Zeabur, it gives internal server error
I also tried using local deployment, it gives Authorization header is
missing when I try to open the api address?
Can you share some instructions how to use the api for function calling in
python?
—
Reply to this email directly, view it on GitHub
https://github.com/fatwang2/search2ai/issues/23, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A77NZSTGZCUQRKO2KSLAXBTZAMJVJAVCNFSM6AAAAABHE323J6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TMOBZGQYDENQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Do you think you can share some example for such a function call? I have not worked with JS or APIs much, if you can do it will be highly appreciated.
Context: I am trying to implement it in Llama index function calling in python

I think you misunderstood this project. If you have used OpenAI's API before, after deploying this project, your way of calling will be the same, just change the API base. But if it does not support function calling itself, it will not be effective

It doesn't matter what language you use, just replace apibase with the address you deployed to use it

Yes, I tried using it, but couldn't get it working, hence the studying the code a bit and API usage before implementing.
Closing this issue for now, will reach out incase I have any further questions. Regardless, thanks a lot and great on this API

which LLMs do you use and how do you deploy?

I usually use either OpenAI through api calls or local llms using ollama or llama.cpp.

do you have telegtam or WhatsApp, I will show you how to deploy it
Rishabh Chanana @.***>于2024年5月3日 周五18:31写道：

I usually use either OpenAI through api calls or local llms using ollama
or llama.cpp.
—
Reply to this email directly, view it on GitHub
https://github.com/fatwang2/search2ai/issues/23#issuecomment-2092734952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A77NZSTZ74ZHYHDI7MRLGW3ZANRPZAVCNFSM6AAAAABHE323J6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSG4ZTIOJVGI
.
You are receiving this because you commented.Message ID:
@.***>

yes, I have telegram. I joined your channel too! I will message you there, thanks a lot!


Fix argument parsing with --validate-policy-file (fixes #14)

Fixes issue where validating a policy file required other, unused arguments.
All changes are backwards-compatible with previous version. Basic integration tests for the CLI and a test case for issue #14 specifically have also been added.
Signed-off-by: Kelvin Zhang<EMAIL_ADDRESS>

Not sure what happened to Travis


Issues with multiple forms

I have a page with several forms. Recently, I updated this bundle and now, it looks like the second form overwrites the options of the transformer of the first one. It could very well be the case, because a change has been introduced in 473c49f1f07215e11c02dc524f571f37e16b70fa to create this transformer, which means if you have two forms, the transformer is the same : payment.form.choose_payment_method_transformer. Before that, since there were 2 instances of the forms, the options were kept separate.
So to sum up the issue, services should be stateless, but ChoosePaymentMethodTransformer isn't since it has an $options. A possible solution would be to clone it (in the setter).

Thanks for reporting this. The commit you mention indeed introduces a change in behaviour. I need to think further about this to figure out the best way to fix the issue.
Just so that I understand the use case, you have multiple instances of ChoosePaymentMethodType? May I ask why? It never occurred to me that this could happen out there.

It's a checkout page, and there are a main payment form, and an alternative payment form. The code is very ugly, and might be stupid, because once you pick one of the payment forms, you get on a page where you only see one of them. I guess there must still be two forms in the action behind that although there is only one displayed. The same action has both forms, not 100% sure why the previous developers decided to do that.

Erratum : there is only one data transformer instanciated, but it seems that the form type is also only used once. This means cloning won't work.

I understand, the page where there is the payment choice and the page where you fill the form are actually the same. It's a JS illusion.

I found a workaround, and I think the bundle is very misused in the codebase I'm touching at. Closing.


CRI: remove disable_cgroup

disable_cgroup was implemenetd in containerd/cri#970 (Nov 2018) for supporting very early version of Usernetes on cgroup v1 hosts, when most distros were still not ready to support cgroup v2.
This configuration is no longer needed, as cgroup v2 delegation is now supported on almost all distros.

/ok-to-test

/retest


WindowsError: exception: access violation reading 0x16854000

For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System: Windows 10
Compiler: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.
Package used (python/R/jvm/C++): python
xgboost version used: 0.6
If installing from source, please provide

The commit hash (git rev-parse HEAD)
ac41845d4bff1d57533334029463171131debfc0
Logs will be helpful (If logs are large, please upload as attachment).

If you are using python package, please provide

The python version and distribution
Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] on win32
The command to install xgboost if you are not installing from source
python setup.py install

Steps to reproduce
model_xgb = xgb.XGBRegressor(n_estimators=360, max_depth=2, learning_rate=0.1) #the params were tuned using xgb.cv
model_xgb.fit(X_train, y)
File "C:\Python27\lib\site-packages\xgboost-0.6-py2.7.egg\xgboost\sklearn.py", line 222, in fit
trainDmatrix = DMatrix(X, label=y, missing=self.missing)
File "C:\Python27\lib\site-packages\xgboost-0.6-py2.7.egg\xgboost\core.py", line 268, in init
self._init_from_npy2d(data, missing)
File "C:\Python27\lib\site-packages\xgboost-0.6-py2.7.egg\xgboost\core.py", line 334, in _init_from_npy2d
ctypes.byref(self.handle)))
WindowsError: exception: access violation reading 0x16854000

I also tried running binary classification demo at https://github.com/dmlc/xgboost/tree/master/demo/binary_classification and get an unhandled exception at
....\lib\xgboost.exe mushroom.conf task=pred model_in=0003.model

It looks similar to https://github.com/paudan/xgboost-win/issues/1

For those running into this issue I recommend uninstalling 32 bit python and installing 64 bit python (e.g., anaconda 64 bit). Once I installed 64 bit python and installed 64 bit dll of XGBoost for windows from http://www.picnet.com.au/blogs/guido/post/2016/09/22/xgboost-windows-x64-binaries-for-download/ the error went away


Update to gostatsd v35.0.0

Is your feature request related to a problem? Please describe.
Yes, we need the new statsdSource tag for monitoring HCP Consul clusters
Feature Description
Update to gostatsd v35.0.0
Describe Alternatives
There are no alternatives
Additional context
Required for HCP Consul monitoring
Priority
Blocker

Duplicate of #29


server example is broken against 0.4.0

Recent changes in example endpoint register_begin require two values returning from server.register_begin
but just one is coming in 0.4.0, leading to:
File "/server/server.py", line 73, in register_begin
}, credentials)
ValueError: not enough values to unpack (expected 2, got 1)

If you're running the example from master, then you have to use the library for master as well.

That makes sense. Thanks :-)


Upgrade mini-racer to 0.2.9 and libv8 to 7.3.492.27.1

This version of libv8 has binary gems for macOS Catalina.

@dsander As for the prebuilt binary gems, the difference between the current (6.7.288.46.1) and new version is Darwin 14 & 15 (way too old!) having been dropped and that should be no problem.  x86/arm/aarch64-linux and FreeBSD platforms were dropped when we updated to the current version.
Minor platforms have always suffered from difficulties in building and installing libv8, and that's why I make JavaScript Agent optional (#2590). 😢
Anyway, AMD64 Linux and the latest macOS should be fully supported.

Thanks for the information. libv8 is really annoying, its not possible to build on ARM for years now :(


Decrease file size by storing colors in a table

I realize that this is not something the project needs currently, but I had the idea for it so I'm suggesting it.
Basic concept:
Instead of storing color separately for every stroke:

store all colors in a table
hold an index to the table in every stroke

Further improvements
Allocate a region of the indices (say, 0x00 - 0xFF) for predetermined, heavily used colors (Ideally, the ones being suggested by the color picker).
Implementation

null-terminated table
store a value containing the size of the indices (i.e. 8 for uint8, 16 for uint16) so we don't store unnecessary 0's while also allowing for infinitely many colors

Yes good idea, but i'd like to delay optimizations like that until i'm confident enough that the file format won't change much.


Update node-sass to >= 3.11 to support Node 7

See https://github.com/sass/node-sass/issues/1766

^3.4.2 includes 3.10.1. You can learn more about semver at https://github.com/npm/node-semver#caret-ranges-123-025-004.
In future please search to existing issues before opening new one. Duplicate of #491 #493 #489 #487 #494 #504 #547 #550 #557


Document how to use fractal tasks outside fractal

Over time, we should clarify how a fractal-tasks-core task can be used in another environment (i.e. without running it through fractal-server).
The first step in this direction is #276. After some examples are up-to-date, there are several options for how to expose this information:

Simply add instructions and details in comments or README
We can turn them into notebooks, and link those in the docs
We can move them to a specific fractal-demos folder
...

Note that the discussion in #177 may lead to important changes to the arguments structure, meaning that what we can document at the moment is only the very current state of task interface.

Closing in favor of #330.


Recent changes causing failed to prepare an EAGLView?

@diegosanchezr
Thank you and the team for all the active development and improvements.
I am trying to update my app with all the latest changes and fixes. However I got some problems related to EAGLView. I am able to re-produce the same issue in dev branch. The same issue does not exist on master branch.
(master-eaglview branch, no issues)
https://github.com/zwang/Chatto/commit/8e9f1fd010b0eeeecf9d59ca5e6e8f4e077d5922
(mev-eaglview branch, unable to create EAGLView, same code as in master-eaglview)
https://github.com/zwang/Chatto/commit/6c6c2ccca784856ba8c27cca93f442c96fed6959
I tried to go through the changes but could not figure out which could cause the change. Do you mind give me some hints which part might cause the issue?
Thanks.
Screenshot about the error attached below

We've recently introduced BaseChatViewControllerView to fix https://github.com/badoo/Chatto/issues/101. Defaults UIViewControllers's view size seems to be initialized to screen bounds while BaseChatViewControllerView default size is zero and so it's your eaglLayer, which seems to cause trouble in your OpenGL code. You shouldn't rely on size of views in viewDidLoad

I see. Thanks a lot for the quick tip. I will look into it. Time to revisit my code. :)

@diegosanchezr Thanks again for the help. Just want to update you that it is because the view size is zero during viewDidLoad calls.


chore(deps): update @primer/octicons-react to 19.14.0

Closes #

Changelog

New

Changed

Removed

Rollout strategy

[ ] Patch release
[ ] Minor release
[ ] Major release; if selected, include a written rollout or migration plan
[ ] None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

[ ] Added/updated tests
[ ] Added/updated documentation
[ ] Added/updated previews (Storybook)
[ ] Changes are SSR compatible
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge
[ ] (GitHub staff only) Integration tests pass at github/github (Learn more about how to run integration tests)

I think we should hold off on merging this until we can address the strange sx issue. I bumped PRC to 19.13.0 so we're a bit more up to date in the meantime.


onSnapToItem & onBeforeSnapToItem do not fire reliably on left / right edges on Android

Is this a bug report, a feature request, or a question?
Bug report
Have you followed the required steps before opening a bug report?
(Check the step you've followed - replace the space character between the square brackets ([]) by an x.)

[x] I have read the guidelines regarding bug report.
[x] I have reviewed the documentation in its entirety, including the dedicated documentations :books:.
[x] I have searched for existing issues and made sure that the problem hasn't already been reported.
[x] I am using the latest plugin version.
[x] I am following the issue template closely in order to produce a useful bug report.

Have you made sure that it wasn't a React Native bug?
Yes.
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Android only, I believe
Is the bug reproductible in a production environment (not a debug one)?
Yes.
Environment
Env:

React: 16.6.0-alpha.8af6728

react-native: 0.57.4

react-native-snap-carousel: 3.7.5

Target platform:

Android 7.1

Expected Behavior

Expected onSnapToItem to be fired reliably for every index.
Actual Behavior
onSnapToItem does not fire if scrolling all the way to the left or right edges.
gfycat video (look at the bottom for the Active index display)
Reproducible Demo
https://snack.expo.io/SJ6vPURhm
Steps to Reproduce
From the example, scroll to a middle slide on Android.
Scroll all the way to the left or right and release.
The state index is not updated.

Hey @jkdf2,
Have you tried to get rid of containerCustomStyle={{ paddingLeft: 36 }}? Because it can mess with the active slide calculations...

Hi @bd-arc,
Great suggestion. Unfortunately, removing the containerCustomStyle does not change the behavior.
Here is a Snack that shows the issue remains.

It would appear that the issue is rooted in _onScroll's itemReached being incorrectly set to false if the finger is dragged all the way to the left / right slides on Android.

@jkdf2 Thanks for the heads up! I'll look into it as soon as possible.

@bd-arc Is there a workaround for the meanwhile?

I am also facing the same problem.

Hi @jkdf2
I had the same problem. I set the enableMomentum property to true and it worked for me.

I also have the same issue? Did any one have workaround for this?

I ran into this issue as well. Spent a few minutes logging various things inside the package and here's what i found (in case someone finds it useful). The reason this is not an issue on iOS (or when enableMomentum prop is enabled on Android ) is because there is over-scroll (scrollview/flatlist scrolls beyond the content). This triggers a re-render of the View and the first/last items snap.
When enableMomentum is disabled on Android (default), there's no over-scroll. So when all the logic in the Carousel resolves and determines the nest snap-to item, the View does not re-render because there is nothing to trigger the re-render. If there was over-scroll (like on iOS), scrolling just one pixel past the edges would re-render and snap the items. You can reproduce this yourself by manually setting the ScrollView offset to 1 when you reach 0. This triggers and update and items snap and callbacks are fired.
I added a very quick and hacky fix to my project by manually calling snapTo depending on the ScrollViews scroll offset.

I am also attaching a patch-file for the latest library version in case this helps someone.
In both the screenshot and the patch file, the "fix" is for vertical carousels only and may cause performance issues; however, it's been working out so far.

@yulolimum Thanks a lot for the valuable information!
I'll see what I can do with it in order to implement a built-in fix ;-)

Any progress on this? I'm experiencing the same issue. Yuolimum's fix helps, but it's still not super reliable.

@bd-arc any progress on that fix?

@austinthetaco Unfortunately no. I haven't been able to work on the plugin recently due to work overload.
If someone wants to jump in, now's the chance!

I was also facing the similar issue with horizontal carousel. I needed the equal spacing from left , right of the first cards as well as tin between the cards. In between the card spacing was achieved as mentioned in the document, and for aligning the leftmost and right most card spacing from screen was done by setting the contentContainerCustomStyle and setting these values, which ultimately lead to changing the carousel logic , therefore snapToIndex was not triggering.
So i ended up adding onBeforeSnapToIndex along with it as well as enableMomentum true. This is how it worked for me.
<Carousel
                        data={this.state.bottomCarousel.dataValue}
                        renderItem={this._renderItemForBottomCarousel}
                        sliderWidth={screenWidth}
                        itemWidth={bottomCardItemWidth}
                        inactiveSlideScale={2}
                        inactiveSlideOpacity={1}
                        contentContainerCustomStyle={{
                            left:0, // Left spacing for the very first card
                            paddingRight:0 //right spacing for very last card
                        }}
                        onBeforeSnapToItem={(index) => this.setState({ bottomActiveSlide: index })}
                        onSnapToItem={(index) => this.setState({ bottomActiveSlide: index })}
                        enableMomentum={true}
                    />

Hope this will help someone.

Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


feat:support GPU node type

feat: support GPU function deployment

:tada: This PR is included in version 2.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


"Argetoaia" is listed in the drop-down menu

Description:
When user writes "Argetoaia" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Argetoaia"

Expected results
The location appears in the drop-down menu as "Comuna Argetoaia, DOLJ"


Change site-title in AppHeader to AppConfig-variable seo.siteName?

Description
Please! Can you make following changes in AppHeader-component?
line 6: const { header, seo } = useAppConfig() // add ", seo"
line 16: {{ seo?.siteName }} <UBadge // change "Nuxt UI Pro" with "{{ seo?.siteName }}"
Here is link to this changes in my own repo: lutherans-changes
Additional context
No response

Are you talking about the docs template?


Remove incorrect update date from readme

The readme says:

README last updated on: 02/19/2018

This date is incorrect in the literal sense of the word "update". It doesn't make sense to have this displayed in the readme. I recommend either removing it, or turning it into a hidden comment.
For example:
<!-- This is how to write a hidden comment. -->

Good point--it's rather unnecessary. Will do and thanks!


Closes #67: Bad configuration parameter name openapi instead of openai

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Thank you for your contribution @vmahe35.
Could you please run yarn prettier --write . in order fix the CI error ?


[UcsFPHub] MySQL message queue

Manually implement poor man's message in MySQL and copy functionality from MSSQL Service Broker endpoint.
https://medium.com/yoyo-labs/distributed-worker-queues-a-piece-of-cake-fe1a7356e156

Use 2 separate connections

async usp_umq_wait_request and listen for ExecuteComplete event and start fire-once timer
sync call m_oCallback.frHandleRequest and send results on conversation handle


Bedrock embedding support

It seems AWS bedrock embeddings are not supported completely, I had to do various hacks to even reach to below state, and now i get this error:
 response = bedrock_embedding.embeddings(
 File "/usr/local/lib/python3.10/site-packages/litellm/llms/bedrock/embed/embedding.py", line 422, in embeddings
   return self._single_func_embeddings(
 File "/usr/local/lib/python3.10/site-packages/litellm/llms/bedrock/embed/embedding.py", line 194, in _single_func_embeddings
   response = self._make_sync_call(
 File "/usr/local/lib/python3.10/site-packages/litellm/llms/bedrock/embed/embedding.py", line 109, in _make_sync_call
   response = client.post(url=api_base, headers=headers, data=json.dumps(data))  # type: ignore
 File "/usr/local/lib/python3.10/site-packages/litellm/llms/custom_httpx/http_handler.py", line 341, in post
   raise e
 File "/usr/local/lib/python3.10/site-packages/litellm/llms/custom_httpx/http_handler.py", line 324, in post
   response = self.client.send(req, stream=stream)
 File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 926, in send
   response = self._send_handling_auth(
 File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 954, in _send_handling_auth
   response = self._send_handling_redirects(
 File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 991, in _send_handling_redirects
   response = self._send_single_request(request)
 File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1027, in _send_single_request
   response = transport.handle_request(request)
 File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 236, in handle_request
   resp = self._pool.handle_request(req)
 File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
   raise exc from None
 File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
   response = connection.handle_request(
 File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
   raise exc
 File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
   stream = self._connect(request)
 File "/usr/local/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 122, in _connect
   stream = self._network_backend.connect_tcp(**kwargs)
 File "/usr/local/lib/python3.10/site-packages/httpcore/_backends/sync.py", line 206, in connect_tcp
   sock = socket.create_connection(
 File "/usr/local/lib/python3.10/socket.py", line 824, in create_connection
   for res in getaddrinfo(host, port, 0, SOCK_STREAM):
 File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo
   for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)

>>>

relevant config:
[embedding]
provider = "litellm"
base_model = "amazon.titan-embed-text-v1"
i tried various other embedding in above base_model, none of them worked for bedrock.

I see, thanks for sharing this.
We do not have the ability to readily test with bedrock. We are trusting on the LiteLLM integration to readily handle this change in settings. I referred to their documentation here [https://docs.litellm.ai/docs/embedding/supported_embedding#bedrock-embedding] and it seems that our docs are up to date here [https://r2r-docs.sciphi.ai/documentation/configuration/ingestion/embedding#supported-litellm-providers].
Can you let us know if you are able to get more details on this error? We are happy to help with the debugging and to promptly push a change to R2R.

foollowing changes allowed me to reach upto above:
litellms.drop_params=True
pip install boto3
Then what i found is that it is depending on AWS session token to work, would want to make it work without AWS session token.

changes : #1092

thanks, merged!


Avatar in ListItem

Is there a support for avatars in list items? I can see Icons in list items but not avatars. Thank you.

Yes. You may override the styles you pass to Icon.
const renderIcon = (style) => (
-  <Icon {...style} name='github' />
+  <Icon {...style} {...styles.icon} name='github' />
);

const MyListItem = () => (
  <ListItem icon={renderIcon} />
);

+ const styles = StyleSheet.create({
+  icon: { tintColor: 'transparent' } />
+});

I don't think that you answered his question. I have the same question also, can you use an avatar instead of an icon in a ListItem? I tried to do it and I couldn't.

@focux sorry, I just think it's obvious you can pass an Avatar instead of Icon
const renderIcon = (style) => (
-  <Icon {...style} name='github' />
+  <Avatar style={[style, styles.icon]} source={require('../some-image.png')} />
);

const MyListItem = () => (
  <ListItem icon={renderIcon} />
);

+ const styles = StyleSheet.create({
+  icon: { tintColor: 'transparent' } />
+});

@artyorsh solution is not working for me, does someone archived this?


mkfifo: cannot create fifo '/tmp/fontpreview-ueberzug-fifo': File exists

I closed the window by accident, now I get
fontpreview-ueberzug -s 14
mkfifo: cannot create fifo '/tmp/fontpreview-ueberzug-fifo': File exists

The referenced commit should have solved the issue.


Handle operations on keys of different type

Correctly handle operations issued for keys of different type.
This issue is apparent for any pair of object commands.
Below presented an example of current behavior and expected behavior.
Current behavior

Expected behavior

Rough prototype of a fix is here - https://github.com/microsoft/garnet/compare/obj-store-wrongtype?expand=1 but this needs to be refined and expanded to cover the surface.


Mobile Safari: elements set to 100vh can be hidden behind the button bar

I recently ran into an issue where a button anchored to the bottom of a Drawer was hidden behind mobile Safari's button bar. Looking for solutions to this problem, I found this comment, which linked to this article. The article describes how Safari and other mobile browsers have a unique interpretation of what 100vh means, which includes the area behind the button bar at the bottom.
Luckily, the workaround is easy: the browser interprets a height of 100% to be the full height of the visible space at any given moment, whereas 100vw is the full height of the viewport after a scroll event causes the button bar to disappear. It's counterintuitive, but it means that the more common value of 100% works for all platforms.
Material-ui has the Drawer component set to a default height of 100vh. This not only causes a problem in mobile browsers, but it could be argued that 100% is a more logical value. For example, a Drawer used to house navigation elements should be the same height as its container, not as the viewport. Think of a modal with fixed navigation on the left and you'll understand where I'm coming from.
My experience was in regards to the Drawer, but I believe any other components set to a height of 100vh run the risk of being covered by mobile browser navigation buttons.

[x] This is a v1.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
Elements at the bottom of a full-height component like Drawer should be visible on all browsers.
Current Behavior
Some mobile browsers (like Safari on iOS) hide the bottommost elements in a full-height component behind button bars at the bottom.
Steps to Reproduce
Take a look at this simple example: https://codesandbox.io/s/1qy5mrwjw3
To see the sandbox in your browser, open this URL: https://1qy5mrwjw3.codesandbox.io/
On mobile Safari, the button bar covers the red rectangle.
Create a fork of this sandbox and take note of the new url in the "browser" pane on the right. Uncomment height: '100%' and save. Open that url in mobile Safari. You should be able to see the red rectangle.

Tech
Version

Material-UI
v1.1.0

React
16.1.1

browser
Mobile Safari

device
confirmed on iPhone 6, 8 and X

iOS
11.4.1 and 10.?.?

@joemaffei This issue remembers me #11349 for a different component. I think that each component use cases are different and tradeoffs need to be made on their context. Safari feedback is very interesting:

This is completely intentional. It took quite a bit of work on our part to achieve this effect.:)

The base problem is this: the visible area changes dynamically as you scroll. If we update the CSS viewport height accordingly, we need to update the layout during the scroll. Not only that looks like shit, but doing that at 60 FPS is practically impossible in most pages (60 FPS is the baseline framerate on iOS).

It is hard to show you the “looks like shit” part, but imagine as you scroll, the contents moves and what you want on screen is continuously shifting.

Dynamically updating the height was not working, we had a few choices: drop viewport units on iOS, match the document size like before iOS 8, use the small view size, use the large view size.

From the data we had, using the larger view size was the best compromise. Most website using viewport units were looking great most of the time.

https://nicolas-hoizey.com/2015/02/viewport-height-is-taller-than-the-visible-part-of-the-document-in-some-mobile-browsers.html#february-23rd-update
We need to make sure we don't harm the scroll experience. For the variant="temporary" I'm 💯 with you. We need to change the approach! For the other variants, well the choice is harder to make. I don't see the use case of a non variant temporary on an iPhone, so it doesn't matter. For the iPad, well, 100vh provides a better UX but it's affecting a small part of the screen, so I think that for the sake of simplicty we can go with 100%. Do you want to work on it? :)

I just opened a pull request for this issue: https://github.com/mui-org/material-ui/pull/12528


Bug: WinUI-2.5: Accessibility: [MAS4.2.1]: The screen reader user is not aware about the availability of the spinner when user is navigating with the Tab key

User Impact
The screen reader user is not aware about the availability of the spinner when user is navigating with the Tab key. So the screen reader user might face difficulty to navigate/find it.
Steps to reproduce the bug
Steps to reproduce the behavior:
Launch the WinUI_2.5_TestApp

Go to 'Progress Spinner'
Run the Accessibility Insight for Windows for the Progress spinner.
Observe the "Is Keyboard Focusable" property for the spinner.

Expected behavior

The screen reader user should be able to know about the availability of the spinner using Tab key also.
"Is keyboard Focusable" should be set as "true" for the Progress Spinner element.

Actual behavior

The screen reader user is not aware about the availability of the spinner when user is navigating with the Tab key. Although using Caps + Left/Right Key user is able to traverse the spinner element.
"Is keyboard Focusable" is false instead of true for the Progress Spinner element.

Screenshots

Version Info
Win32
Windows OS Version: Windows 10
App: WinUI_2.5_TestApp

@SavoySchuler Any particular reason why NumberBox is not a tab stop by default ?

I think it should be focusable or if not focusable, should not expose itsself as spinner. @YuliKl FYI


what are all the rules for closing the vote

Since there is no command for manually closing the vote, I need a clarification
This is our config:
profiles:
  default:
    duration: 4w
    pass_threshold: 51
    periodic_status_check: "1 week"
    close_on_passing: false

I do not want to set close_on_passing: true because we have a rule that people should have at least 7 days to vote. Even if pass_threshold is met, their opinion still matters.
Can you explain me then how will it work. Does it mean, with the current config, that even if pass_threshold is met, the vote will be open 4w anyway.
How to set it properly, so:

max we wait for peope 4 weeks
min we wait for people 7 days
after 7 days, if pass_threshold is met, the vote is closed

Any way to have some command to close voting earlier, manually, if the threshold is met?
Thanks in advance!

Hi @derberg 👋
Yes, that's right. Using that configuration, the vote will be open 4w even in pass_threshold is met. periodic_status_check will check how the vote is going and post the status in a new comment, but it won't close the vote. At the moment there is no way to set up the minimum wait you describe.
Let us think a bit about this because maybe we could introduce something like close_on_passing_min_wait. We'd like to keep this tool as simple as possible, but it'd be indeed nice to keep a vote open for some time when auto closing is enabled (both as a sign of respect like you describe, or in case someone changes their mind).

@tegioz close_on_passing_min_wait sounds good, or /complete-vote or /close-vote command, that some selected group can invoke. Although seems like close_on_passing_min_wait is the easiest solution

This should be ready @derberg. It'd be great if you could give it a try when you have a chance.
Closed by #555


Sort function for /stats | Low importance

Sent from .̔̏𝗠𝗲𝗽𝗵𝗶𝘀𝘁𝗼#5558<PHONE_NUMBER>25055775) with bot<PHONE_NUMBER>02710047
Add a button to sort the Top10 by wins, loses, draws, games etc

moved to todo list


Unable to access othe fields of the formdata

Unable to see other field that have been appended to the formdata if there is no file uploaded

My code was incorrect


struct Rav1dPicture::data: Make private and access through fn data{,_mut,_mut_unchecked} to guarantee aliased XOR mutable

Before more heavily refactoring Rav1dPicture, the .data self-referential slices, the .allocator_data data owner, and .r#ref ref count (which is very complex and entangled), this ensures we access .data in a safe aliased XOR mutable way.
For immutable access (fn data), there are no limits.
For mutable access (fn data_mut), we check that the ref count is 1 (similar to {Arc,Mutex}::get_mut). This is used for accesses through out: &mut Rav1dPicture in mod fg_apply.
In mod recon in fn rav1d_recon_b_{intra,inter}, mutable accesses are through f.cur, but the ref count is not 1.  For these, we use fn data_mut_unchecked, which will eventually have to be dynamically protected, probably through a Mutex.
In mod decode in fn rav1d_decode_frame_init, mutable accesses are through f.cur and f.sr_cur.p. The accesses here are more complex since they are stored in Rav1dFrameContext_lf, and because the luma pixels are re-used for the chroma pixels when there is no chroma. This mutably aliases the luma pixels, which would be UB, but they are not actually accessed, as they are only there to avoid extra branches.  Thus, we use fn data_mut_unchecked for these and will make them safe later.

Looks like this needs rebasing, it's just the single commit, right?

Looks like this needs rebasing, it's just the single commit, right?

This is semi-abandoned.  I'm doing it in a different order, after Arcification.

@kkysen I'm going to close this PR under the assumption it's not going to be updated further. You can always re-open it if we end up having a use for it.

@kkysen I'm going to close this PR under the assumption it's not going to be updated further. You can always re-open it if we end up having a use for it.

Sure, that's fine.  Just don't delete the branch yet cause I'll reference it in future work probably.


update test/smoke typescript version

fixes #56009

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


Use OctoPrint temperature presets

Being able to use a temperature preset from OctoPrint instead of manually setting the print temperature on every print would be useful.

Currently the default temperatures are taken from selected slicing profile. Is this not the case for you?

I'd like to second this request, the slicing profiles are useful for fine tuning the specifics of a material, but being able to select the material from the octoprint presets in the basic tab would allow a little ease of use

Personally, I'd rather have the temps come from the slicing profile, and have the ability to override it (As we do now). We use this in a school setting. So far, 100% of the time we want the kids to use the temperature in the slicing profile. It can be overridden if necessary, but I'd rather have it default to the temperatures we have established in the profile that work with that filament.  I prefer that method for my personal printing as well.
Using the profiles for the default temperatures is also consistent with how it works when we are direct connected to the printer and not running OctoPrint. I like the consistency from one method to another.

So what you want is to have an easy way to pick one of the preset temperatures to overwrite the ones in slicing profile, so that you don't have to manually enter them. Is my understanding correct?
Usually I have different slicing profiles for different materials, to account for the differences not only in temperatures but also in a lot of other settings. Can you elaborate the situations when using different profiles for different materials is not a reasonable solution for you? @chronoglass  @ottojo

I think the individual profiles is a decent fix for the issue, going to my feature request for saving adjustments as a new profile. Could be nice to tie into the "default" material temps of octoprint, but could also become confusing.


Solved all the merge conflicts arising and Calendar  issue fixed  issue  #187

IT was a challenging task but fixed the issue and all the conflicts .
Have a look at this and  merge this plz
@SaurabhS55 @pulkitpathak99 @arushi2610
thanku

THX @SaurabhS55


python311Packages.google-cloud-storage: 2.13.0 -> 2.14.0

Changelog: https://github.com/googleapis/python-storage/blob/v2.14.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 289085 run on x86_64-linux 1

29 packages failed to build:

python311Packages.dalle-mini
python311Packages.dalle-mini.dist
python311Packages.dbt-bigquery
python311Packages.dbt-bigquery.dist
python311Packages.fastai
python311Packages.fastai.dist
python311Packages.ibis-framework
python311Packages.ibis-framework.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.spacy
python311Packages.spacy-loggers
python311Packages.spacy-loggers.dist
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist
python311Packages.wandb
python311Packages.wandb.dist
tandoor-recipes
tts
tts.dist

62 packages built:

barman
barman.dist
baserow
baserow.dist
browsr
browsr.dist
dvc-with-remotes
dvc-with-remotes.dist
mycli
mycli.dist
python311Packages.cloudpathlib
python311Packages.cloudpathlib.dist
python311Packages.django-storages
python311Packages.django-storages.dist
python311Packages.duckdb
python311Packages.duckdb-engine
python311Packages.duckdb-engine.dist
python311Packages.duckdb.dist
python311Packages.dvc-gs
python311Packages.dvc-gs.dist
python311Packages.filedepot
python311Packages.filedepot.dist
python311Packages.fuzzytm
python311Packages.fuzzytm.dist
python311Packages.gcsfs
python311Packages.gcsfs.dist
python311Packages.gensim
python311Packages.gensim.dist
python311Packages.google-cloud-automl
python311Packages.google-cloud-automl.dist
python311Packages.google-cloud-bigquery
python311Packages.google-cloud-bigquery.dist
python311Packages.google-cloud-storage
python311Packages.google-cloud-storage.dist
python311Packages.natasha
python311Packages.natasha.dist
python311Packages.navec
python311Packages.navec.dist
python311Packages.optuna
python311Packages.optuna.dist
python311Packages.papermill
python311Packages.papermill.dist
python311Packages.pathy
python311Packages.pathy.dist
python311Packages.pins
python311Packages.pins.dist
python311Packages.ray
python311Packages.ray.dist
python311Packages.slovnet
python311Packages.slovnet.dist
python311Packages.smart-open
python311Packages.smart-open.dist
python311Packages.sqlglot
python311Packages.sqlglot.dist
python311Packages.vector
python311Packages.vector.dist
python311Packages.weasel
python311Packages.weasel.dist
snakemake
snakemake.dist
wal_e
wal_e.dist


Add registry functionality to Symphony Electron

also make sure you run this through linter: npm run lint

@lneir , hi. I´ve applied the suggested changes. Can you please review it again? Thanks.

@lneir , latest comments were applied. Could you please check? Thanks.


Feature: adjust type setting

Adjust type setting of words and graph in company-info about page

fix: 删除了空白


cleanup: no need for disabling the apache-arrow-centor repository anymore

The apache-arrow-centor repository is not available in current Ceph container-images, there is no need to try to disable the repository anymore.
See-also: https://github.com/ceph/ceph-container/pull/1990

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

@mergifyio queue


compose: Add warning banner for search views.

Added a warning compose banner when composing a message in a search view that doesn't include all the messages in a conversation.
This is helpful in a situation where a user sends a message without the full context and forgets they are in a narrowed search view.
Fixes: #25893.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@evykassirer would you be up to review this?

@amanagr  I wrote most of the code in #26205, which was used to help open this PR, so I might not be the best candidate. But I can move it to integration review if that seems good enough!

@josiah-tesfu thanks for working on this! Left a comment.

@josiah-tesfu thanks for the update! Left a few comments, waiting for your reply.

@amanagr I resolved the issues you brought up. The banner now works for dm's in addition to streams, and I removed unnecessary passing of stream data into the banner parameters.

@josiah-tesfu thanks for the update! Let's also squash both the commits into one.

@evykassirer are you familiar with using the mock_template for compose banners? I noticed you did something similar in a previous issue. Right now I'm failing the following test. I don't have much experience with zulip's testing so want to make sure I'm going in the right direction. I'm not sure what data would mean in this case, the general way tests should be written, and whether html or a zjquery stub is relevant here.
test failed: /__w/zulip/zulip/web/tests/compose_actions.test.js > start

Error:
        Please use mock_template if your test needs to render compose_banner/compose_banner.hbs

        We use mock_template in our unit tests to verify that the
        JS code is calling the template with the proper data. And
        then we use the results of mock_template to supply the JS
        code with either the actual HTML from the template or some
        kind of zjquery stub.

        The basic pattern is this (grep for mock_template to see real
        world examples):

        run_test("test something calling template", ({mock_template}) => {
            // We encourage you to set the second argument to false
            // if you are not actually inspecting or using the results
            // of actually rendering the template.
            mock_template("compose_banner/compose_banner.hbs", false, (data) => {
                assert.deepEqual(data, {...};
                // or assert more specific things about the data
                return "stub-for-zjquery";
            });

            // If you need the actual HTML from the template, do
            // something like below instead. (We set the second argument
            // to true which tells mock_template that is should call
            // the actual template rendering function and pass in the
            // resulting html to us.
            mock_template("compose_banner/compose_banner.hbs", true, (data, html) => {
                assert.deepEqual(data, {...};
                assert.ok(html.startWith(...));
                return html;
            });
        });

You can essentially copy the structure of other places this banner is stubbed. You're replacing the code that tries to display the banner with code that just checks that you're rendering it with the right data.
    mock_template("compose_banner/compose_banner.hbs", false, (data) => {
        assert.equal(data.classname, compose_banner.CLASSNAMES.topic_missing);
        assert.equal(
            data.banner_text,
            $t({defaultMessage: "Topics are required in this organization."}),
        );
        missing_topic_error_rendered = true;
    });

In this example, it checks that the banner is being rendered with the right classname and banner text, and also sets missing_topic_error_rendered to true so that we can test that the banner was "rendered". Let me know if this makes sense and if you have more questions!

@zulipbot add "integration review"

@zulipbot remove "maintainer review"

Ready for integration review!

I pushed a commit to fix the banner being displayed in empty search narrow sometimes. LGTM now.

Thanks for working on this @josiah-tesfu! I note a few bugs when playing with this:

If you switch out of a search view in some way other than "go to conversation", the banner doesn't hide.
I think is_search is the wrong check; we probably want to check supports_collapsing_recipients instead, which is whether this is a type of view where having a message means the view will also have replies to that message.
If you open the compose box via say the x shortcut, and then switch to a stream recipient, it doesn't appear. I don't see a reason why stream messages would be any different from direct messages here -- the point is that you may not be seeing the latest messages in the place you're composing to even though you might think you are.

@josiah-tesfu were you able to resolve the bugs that I noted above? I see you have pushed to this PR since then, but not comment explaining how you addressed the feedback.

@josiah-tesfu were you able to resolve the bugs that I noted above? I see you have pushed to this PR since then, but not comment explaining how you addressed the feedback.

Thanks for the feedback! I just pushed a commit to resolve the comments you made. Now, if you switch out of a search view through the sidebar, the banner hides. Also, if you open the compose box via the x shortcut, the banner appears.
I'm not sure about using supports_collapsing_recipients over is_search though. From what I understood, the banner should appear when in a narrowed search view, which would be activated through entering a search term in the original narrow. This seems to match is_search. Let me know if there's something I'm not getting there, though.

I'm not sure about using supports_collapsing_recipients over is_search though. From what I understood, the banner should appear when in a narrowed search view activated through entering a search term in the original narrow. This seems to match is_search. Let me know if there's something I'm not getting.

The point is that any view with !supports_collapsing_recipients is a form of search view -- just operator search rather than keyword search. And those views will all have this same failure mode -- that you don't see the whole conversation that you might be replying to.

Closing in favor of https://github.com/zulip/zulip/pull/27864 for this issue.


Restart and File Watch for node instances

Looking at PM2 as a good solution for dev to prod

Inplemented PM2. Restart can be added when necessary (docker exec -it ram_microservice_whatever pm2 eosystem.json restart)


Safari View Controller Failed to dismiss automatically

Description:
After updated to OAuthSwift version 1.4.0 from 1.2.2, the Safari View Controller failed to dismiss automatically after successful login to Meetup.com.
Is there any methods to make the Safari View Controller dismiss automatically?
OAuth Provider? (Twitter, Github, ..):
Meetup.com
OAuth Version:

[ ] Version 1
[x] Version 2

OS (Please fill the version) :

[x] iOS : 11.2

Installation method:

[x] CocoaPods

Library version:

[x] v1.4.0

Xcode version:

[x] 10.2.1 (Swift 5.0)

Maybe its because of my fix #522
Could you try by keeping a hard reference on your object set to  authorizeURLHandler variable

I will make a new release 1.4.1 to revert the change
and propose a new solution when needed to create a weak instead

1.4.1 created
I expect you have no more issue


How to block the scrollbar for others except Leader, Admin?

As in the title. I would like the bar to be locked for everyone so that no one can scroll through the videos except the admin, the host. I would appreciate your help.

Although the videos can be rewound, they go back to their time, but I wish it was possible to block this at all

You mean seeking video timeline?

@RblSb

ye

@89891383 afaik, there's no option to hide/disable the seekbar in the HTML5/YouTube video element. It's possible to hide the entire video UI, but that hides the volume control and the video timer as well. And, in my opinion, that might be much more annoying to viewers than an unlocked seekbar.
Also there's an option to disable a video synchronization, so the user can rewind video and watch at 2x without distracting other participants.

Later I will try to make an instant rewind to the server time when trying to change the time if you are not the leader (and not after a few seconds when synchronizing, as is done now).
But this is not a high priority task, and will not block seekbar completely due to browser limitations. So I will leave this issue open, but for now I have other things to do and it is not so critical.


Allow variables on RHS of constraint

For easier constraint readability, allow variables to be formulated on the RHS of a constraint.

Closed by #96


chart_web.py

chart_web.py is web chart app of parameter search log ./output/*_rensponse.json. ./output/*_config.json file.
I was tired Mathplotlib xD
try it!
pip install -r requirements.txt
python chart_web.py

Plotly

MIT License

Dash

Dash is a Python framework for building analytical web applications. No JavaScript required.
develop by Plotly
using React
MIT License

Quantmod

Powerful financial charting library based on R's Quantmod
can't find resources when using pip to install
MIT License

Nice stuff
Would be good to plot information line graphics about evolution progress (x=EPOCH; ys=varios statistics)... My matplotlib is broken, also not pretty xD
This is needed to check evolution prowess across different methods, could you adapt var 'EvolutionStatistics' on evolution_generations to infographics?
thx ;d

nice. I try it!


Doesn't work if Node.js is installed with NVM

I installed Node v7.10.0 with NVM. I get the following error when debugging the workflow.
[2017-05-08 16:09:42][ERROR: input.scriptfilter] Code 127: /Users/dennisevert/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/B8870D2A-C0B8-481A-9DCB-F0BF859DA5C1: line 1: /usr/local/bin/node: No such file or directory

My workflow assumes by default you installed Node using Homebrew. In your case you can adjust the path to NodeJS by setting the nodePath environment variable in the workflow like so:

Thanks @mdeboer. That makes sense. Note for other users that might come across this. I was also able to do run the following in a terminal to address this.
n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local

This copies whatever version of node you have active via nvm into the /usr/local/ directory and sets the permissions so that all users can access it.
If you ever want to change the version of node that's installed system wide, just do another nvm use vXX.XX.XX to switch your user's node to the version you want, and then re-run the above command to copy it to the system directory.


Using .DOCX format in cloud - suggestion on the below error?

I am trying to use this in cloud and just trying to convert it to markdown without images. Assuming below error is coming when there are images in document. Any suggestions to fix this?
doc_converter = DocumentConverter(
allowed_formats=[InputFormat.DOCX],
format_options={
InputFormat.DOCX: WordFormatOption(pipeline_cls=SimplePipeline),
},
)
I am getting below error
---> 30 result = doc_converter.convert(temp_file.name)
18 frames
/usr/local/lib/python3.10/dist-packages/PIL/ImageFile.py in load(self)
375 if loader is None:
376 msg = f"cannot find loader for this {self.format} file"
--> 377 raise OSError(msg)
378 image = loader.load(self)
379 assert image is not None
OSError: cannot find loader for this WMF file

@acsankar I want to help you here, but I think we need a bit more context. Can you give us the full stacktrace?

I think the most likely problem here is that word file includes an image, blob of which can't be loaded by PIL library.
Error should trigger, even if file would be fully local.
@acsankar, any chance you could make an example file for this error?

@acsankar  Fresh release of Docling 2.7.1, includes fixes!

This error also occurs in PPTX, and I am currently using this version：
docling                   2.10.0
docling-core              2.9.0
docling-ibm-models        2.0.7
docling-parse             3.0.0

The error message is:
    conv_res = pptx_converter.convert(pptx_file_path)
  File "/opt/mfapi/lib/python3.10/site-packages/pydantic/validate_call_decorator.py", line 59, in wrapper_function
    return validate_call_wrapper(*args, **kwargs)
  File "/opt/mfapi/lib/python3.10/site-packages/pydantic/_internal/_validate_call.py", line 81, in __call__
    res = self.__pydantic_validator__.validate_python(pydantic_core.ArgsKwargs(args, kwargs))
  File "/opt/mfapi/lib/python3.10/site-packages/docling/document_converter.py", line 172, in convert
    return next(all_res)
  File "/opt/mfapi/lib/python3.10/site-packages/docling/document_converter.py", line 193, in convert_all
    for conv_res in conv_res_iter:
  File "/opt/mfapi/lib/python3.10/site-packages/docling/document_converter.py", line 228, in _convert
    for item in map(
  File "/opt/mfapi/lib/python3.10/site-packages/docling/document_converter.py", line 269, in _process_document
    conv_res = self._execute_pipeline(in_doc, raises_on_error=raises_on_error)
  File "/opt/mfapi/lib/python3.10/site-packages/docling/document_converter.py", line 292, in _execute_pipeline
    conv_res = pipeline.execute(in_doc, raises_on_error=raises_on_error)
  File "/opt/mfapi/lib/python3.10/site-packages/docling/pipeline/base_pipeline.py", line 52, in execute
    raise e
  File "/opt/mfapi/lib/python3.10/site-packages/docling/pipeline/base_pipeline.py", line 44, in execute
    conv_res = self._build_document(conv_res)
  File "/opt/mfapi/lib/python3.10/site-packages/docling/pipeline/simple_pipeline.py", line 41, in _build_document
    conv_res.document = conv_res.input._backend.convert()
  File "/opt/mfapi/lib/python3.10/site-packages/docling/backend/mspowerpoint_backend.py", line 97, in convert
    doc = self.walk_linear(self.pptx_obj, doc)
  File "/opt/mfapi/lib/python3.10/site-packages/docling/backend/mspowerpoint_backend.py", line 406, in walk_linear
    handle_shapes(shape, parent_slide, slide_ind, doc)
  File "/opt/mfapi/lib/python3.10/site-packages/docling/backend/mspowerpoint_backend.py", line 384, in handle_shapes
    self.handle_pictures(shape, parent_slide, slide_ind, doc)
  File "/opt/mfapi/lib/python3.10/site-packages/docling/backend/mspowerpoint_backend.py", line 285, in handle_pictures
    image=ImageRef.from_pil(image=pil_image, dpi=im_dpi),
  File "/opt/mfapi/lib/python3.10/site-packages/docling_core/types/doc/document.py", line 484, in from_pil
    image.save(buffered, format="PNG")
  File "/opt/mfapi/lib/python3.10/site-packages/PIL/Image.py", line 2528, in save
    self._ensure_mutable()
  File "/opt/mfapi/lib/python3.10/site-packages/PIL/Image.py", line 639, in _ensure_mutable
    self._copy()
  File "/opt/mfapi/lib/python3.10/site-packages/PIL/Image.py", line 632, in _copy
    self.load()
  File "/opt/mfapi/lib/python3.10/site-packages/PIL/WmfImagePlugin.py", line 163, in load
    return super().load()
  File "/opt/mfapi/lib/python3.10/site-packages/PIL/ImageFile.py", line 377, in load
    raise OSError(msg)
OSError: cannot find loader for this WMF file

@maxmnemonic