[Bug]: oci_python_image example does not copy correct prebuilt binaries

What happened?
See https://github.com/aspect-build/bazel-examples/compare/main...chulkilee:bazel-examples:oci-py-target?expand=1
This is to show how the current oci_python_image example does not work when building on macos.
cd oci_python_image
bazel run //hello_world:tarball

docker run --rm gcr.io/oci_python_hello_world:latest

Traceback (most recent call last):
  File "/hello_world/hello_world.runfiles/_main/hello_world/__main__.py", line 1, in <module>
    from hello_world.app import Cow
  File "/hello_world/hello_world.runfiles/_main/hello_world/app.py", line 2, in <module>
    from pydantic import BaseModel
  File "/hello_world/hello_world.runfiles/.hello_world.venv/lib/python3.9/site-packages/pydantic/__init__.py", line 404, in __getattr__
    module = import_module(module_name, package=package)
  File "/hello_world/hello_world.runfiles/rules_python~~python~python_3_9_aarch64-unknown-linux-gnu/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/hello_world/hello_world.runfiles/.hello_world.venv/lib/python3.9/site-packages/pydantic/main.py", line 27, in <module>
    import pydantic_core
  File "/hello_world/hello_world.runfiles/.hello_world.venv/lib/python3.9/site-packages/pydantic_core/__init__.py", line 6, in <module>
    from ._pydantic_core import (
ModuleNotFoundError: No module named 'pydantic_core._pydantic_core'

This is because pydantic_core's prebuilt is copied from host (macos), not for target. See the following output having darwin, not linux.
docker run --rm gcr.io/oci_python_hello_world:latest ls /hello_world/hello_world.runfiles/rules_python~~pip~pip_39_pydantic_core/site-packages/pydantic_core/

Output:
__init__.py
_pydantic_core.cpython-39-darwin.so
_pydantic_core.pyi
core_schema.py
py.typed

Interestingly, it actually did use the right python
docker run --rm gcr.io/oci_python_hello_world:latest ls /hello_world/hello_world.runfiles

Output:
_main
aspect_rules_py~~py_tools~rules_py_tools.linux_arm64
bazel_tools
rules_python~~pip~pip_39_annotated_types
rules_python~~pip~pip_39_cowsay
rules_python~~pip~pip_39_pydantic
rules_python~~pip~pip_39_pydantic_core
rules_python~~pip~pip_39_typing_extensions
rules_python~~python~python_3_9_aarch64-unknown-linux-gnu

See aarch64-unknown-linux-gnu there.
Version
Development (host) and target OS/architectures:
Output of bazel --version: 7.3.0
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file: did not change from oci_python_image
Language(s) and/or frameworks involved: python
How to reproduce
See https://github.com/aspect-build/bazel-examples/compare/main...chulkilee:bazel-examples:oci-py-target?expand=1

Any other information?
It doesn't fail the test since apparently tests are running on linux machine.

+1 This is exactly what I found as well! :)

+1 I am having the same issue


Destroy latest instance on init

Related to issue https://github.com/ezekielaquino/Marquee3000/issues/3

Hey @arnasziedavicius ! so the use case (hence the bug), just to understand it clearly, is when re-initialising after destroying an instance?

Hi @ezekielaquino, yes, there seems to be no way to destroy the instance at the moment and it keeps initialising on top itself resulting in increase of speed (i.e. on hot module replacement).

Merged! (super late) many many thanks for the contribution @arnasziedavicius!


Update the Inference documentation

I've added a longer description of how Inference in MXFusion is structured and go through short examples for a basic inference workflow, creating a posterior, and serialization.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #95 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #95   +/-   ##
========================================
  Coverage    83.39%   83.39%
========================================
  Files           72       72
  Lines         3884     3884
  Branches       709      709
========================================
  Hits          3239     3239
  Misses         425      425
  Partials       220      220

Impacted Files
Coverage Δ

mxfusion/inference/inference.py
83.5% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Make the address object handle some optional fields in a neater way

E.g., all of the fields that vary depending on the country.
Also, immediate need to handle a County that may be defined by geocoding but might not. It could be useful to have something that safely handles this field not being defined.
See also #213

With the new normalized_address() method, it's a bit simpler:
users[0].normalized_address().county if hasattr(users[0].normalized_address(), "county") else ""

A special safe_county() method to replace this one-liner feels clunky.


(maint) Add puppetfile install to CONTRIBUTING

This adds the step to install bundled content to the setup instructions
in our CONTRIBUTING doc.

Closing in favor of #1121


[@azure-tools/azure-http-specs] - Changes related to Moving spec-core package to spector package

Yesterday, the spec-core package has been renamed to spector package in the typespec repository in the PR https://github.com/microsoft/typespec/pull/4683.
Now, in this PR, I have made the references for spec-core to change to spector. I have tested the changes using test:e2e script and it is working fine.
Also, the core references a older commit which does not have the spector change. So, I have updated the commit reference for the submodule.
Please review and approve. Thanks

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs

there isa ctually quite a few change to take from core submodule see pr https://github.com/Azure/typespec-azure/pull/1667

there isa ctually quite a few change to take from core submodule see pr #1667

Great. My change is already part of that PR. Will close this PR. and wait.


TypeError: data.map is not a function (it is undefined)

Describe the bug
A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):

react: v0.0.0
react-native: v0.0.0
react-native-reanimated: v0.0.0
react-native-reanimated-carousel: v0.0.0
react-native-gesture-handler: v0.0.0

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

u should parse to string and convert into array manually before passing data into component
{images.toString().split(",")}


Allow more than one Custom Background choice

Allow the user to have more than one custom background choice.
I'n not saying display both at the same time (at least not yet!),
I'm just saying he would like
O Custom Background 1
O Custom Background 2

radio buttons to choose from.
That way he wouldn't need to "rip up" his Custom Background just to try another for a few minutes.
Also allow more than two.
Also allow custom titles, not just Custom Background 1, 2...

Yes I agree - adding and managing more custom backgrounds is #2095


Add logout modal to query interface

This PR adds a modal to the query interface if the user gets logged out without noticing.

The guest status is determined on the server here: https://github.com/django-daiquiri/daiquiri/blob/master/daiquiri/query/viewsets.py#L69, this should work.

So let us go for it!


ACDC-NN output?

In the README file mention that "Positive DDG values are stabilizing.", I'm a bit confuse about this since the training data seems were ddG(dg(MUT) - dg(WT)). Is the output of "acdc-nn" means dg(MUT) - dg(WT) (if so, negative DDG values are stabilizing), or it is just a score?
PS. I download it through pip.

Same question here


set Margin

How to customize the width of each item, I did not show complete on this side, the blank place is not used.

Can you post an example screen. It follows the Material GuideLines. If you want to customise it you can change the dimens file always.

Then do I need to write it myself or do you provide an entrance?


Unpin click dependency

What changes were proposed in this pull request?
Our recent test failures seem to be due to a conflicting pin of click (we pin <8 whereas the latest black release pins click at >= 8). This PR removes the pin on click (imposed in #2010) as further research revealed that the KFP click dependency is only for use in the KFP CLI.
How was this pull request tested?
Tests are passing. Also ran some pipelines and all are passing.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

I'm okay only addressing the click issue right now.  I would like to see the floor restored since we have to assume there was some reason for it being there in the first place.
The lack of consistency with caps (or not) is what really bugs me.  It seems completely arbitrary for those cases that use a cap.

I'm okay only addressing the click issue right now. I would like to see the floor restored since we have to assume there was some reason for it being there in the first place.

I agree. The purpose of this PR should only be to resolve the failing tests. This unblocks other PRs that used to pass validation just fine.

I'm going ahead with this merge so that tests will start passing (or not be side-affected by this).


Use pnpm

Using pnpm leads to too many issues for now, as react-native does not entirely support symlinks


Added basic automated installer

@amd64fox , Please review.
closes #70
This installer and ps command will be used on BlockTheSpot repo as to make have a clean installation of the BlockTheSpot only.

There are no parameters for the functions of blocking updates, blocking podcasts and clearing the cache, in which case questions will pop up confirming these parameters, it turns out that the installer is not quite automatic, do you really want it?

ok. I thought the commands are more based on the truthy values.
will make the required changes.

@amd64fox made the required changes. please review

@amd64fox , I've passed the param cache_off. This is the default right?
The main purpose of this change is that, we need to have just the basic auto installation of BlockTheSpot where only the MS store app will be uninstalled and recommended Spotify version will be installed. Any other changes should not happen.
Please make the required change and let me know if the other commands are not the default and failing the requirement I mentioned.

@Nuzair46

I've passed the param cache_off. This is the default right?

no you typed -cache_on - this includes automatic cache installation.
Yes, I'll fix it now.
Also, if you do not need experimental features, I can add a key to disable them, do you need ?

@amd64fox yea add it. that'd be great

@Nuzair46
I did it, the only thing now with the complete disabling of experimental functions, this and this problem may appear, I will finalize a smarter disabling of experimental functions a little later.


Going to and from json

Is there a way to extract json from .model_dump_json() and reconstruct / validate with .model_validate_json() ?
I am getting errors:
def array_validator(array: npt.NDArray) -> npt.NDArray:
>       if dimensions and (array_dimensions := len(array.shape)) != dimensions:
E       AttributeError: 'dict' object has no attribute 'shape'

Because the jsonified dict is not understood when validating.
        from pydantic_numpy.model import NumpyModel
        import pydantic_numpy as pnd
        from pydantic import Field
        import numpy as np

        class A(NumpyModel):
            numpy_arr: pnd.NpNDArrayFp16 = Field(frozen=True, strict=True, kw_only=False)

        a = A(numpy_arr=np.zeros(10))
        json_str = a.model_dump_json()
        a.model_validate_json(json_str)

Replication of what I would expect to be able to do

Fixed with #23

Thank you!


WIP: Enable debug features and logging in production version for bug hunting

Do not merge. This branch is only for debug purpose

Not meant to be merged


Flow is outputting unreadable message

Every time there is a type error Flow output unreadable stuff, after I run the command
yarn flow
 "C:\Users\user\Google Drive\Web Development\Prototyping\CodeSamples\googlephotoclone.js\client\node_
modules\.bin\flow"
Launching Flow server for C:\Users\user\Google Drive\Web Development\Prototyping\CodeSamples\googlepho
toclone.js\client
Spawned flow server (pid=8292)
Logs will go to C:\Users\user\AppData\Local\Temp\flow\CzCzBUserszBuserzBGoogle DrivezBWeb Developmentz
BPrototypingzBCodeSampleszBgooglephotoclone.jszBclient.log
Monitor logs will go to C:\Users\user\AppData\Local\Temp\flow\CzCzBUserszBuserzBGoogle DrivezBWeb Deve
lopmentzBPrototypingzBCodeSampleszBgooglephotoclone.jszBclient.monitor_log
←[0K←[31mError ---------------------------------------------------------------------------------------
---------- src/App.js:11:18←[0m←[0m
←[0m←[0m
←[0m←[0mCannot←[0m←[0m ←[0m←[0mcreate←[0m←[0m ←[0m←[0m←[0m←[0m←[0m←[0;1mDashboard←[0m←[0m←[0m←[0m←[0m←
[0m ←[0m←[0melement←[0m←[0m←[0m←[0m ←[0m←[0mbecause←[0m←[0m←[0m←[0m ←[0m←[0m←[0m←[0;4mnumber←[0m←[0m ←
[0m←[0;2m[←[0m←[31m1←[0m←[0;2m]←[0m←[0m←[0m←[0m ←[0m←[0mis←[0m←[0m ←[0m←[0mincompatible←[0m←[0m ←[0m←[
0mwith←[0m←[0m ←[0m←[0m←[0m←[0;4mstring←[0m←[0m ←[0m←[0;2m[←[0m←[36m2←[0m←[0;2m]←[0m←[0m←[0m←[0m ←[0m←
[0min←[0m←[0m ←[0m←[0m←[0m←[0mproperty←[0m←[0m ←[0m←[0m←[0m←[0;1mmessage←[0m←[0m.←[0m←[0m
←[0m←[0m
←[0m←[0m     ←[0m←[0msrc/App.js
←[0m←[0m     ←[0m←[0m ←[0m←[0;2m7←[0m←[0;2m|←[0m←[0m ←[0m←[0;2mclass App extends React.Component<Props
> {←[0m←[0m
←[0m←[0m     ←[0m←[0m ←[0m←[0;2m8←[0m←[0;2m|←[0m←[0m ←[0m←[0;2m  render() {←[0m←[0m
←[0m←[0m     ←[0m←[0m ←[0m←[0;2m9←[0m←[0;2m|←[0m←[0m ←[0m←[0;2m    return (←[0m←[0m
←[0m←[0m     ←[0m←[0m←[0m←[0;2m10←[0m←[0;2m|←[0m←[0m ←[0m←[0;2m      ←[0m←[0m<Dashboard ←[0m←[0m
←[0m←[0m ←[0m←[0;2m[←[0m←[31m1←[0m←[0;2m]←[0m←[0m ←[0m←[0m←[0m←[0;2m11←[0m←[0;2m|←[0m←[0m ←[0m←[0m
    message={←[0m←[31m23←[0m←[0m}←[0m←[0m
←[0m←[0m     ←[0m←[0m←[0m←[0;2m12←[0m←[0;2m|←[0m←[0m ←[0m←[0m      />←[0m←[0;2m←[0m←[0m
←[0m←[0m     ←[0m←[0m←[0m←[0;2m13←[0m←[0;2m|←[0m←[0m ←[0m←[0;2m    );←[0m←[0m
←[0m←[0m     ←[0m←[0m←[0m←[0;2m14←[0m←[0;2m|←[0m←[0m ←[0m←[0;2m  }←[0m←[0m
←[0m←[0m     ←[0m←[0m←[0m←[0;2m15←[0m←[0;2m|←[0m←[0m ←[0m←[0;2m}←[0m←[0m
←[0m←[0m
←[0m←[0m     ←[0m←[0msrc/Component/Dashboard/index.js
←[0m←[0m ←[0m←[0;2m[←[0m←[36m2←[0m←[0;2m]←[0m←[0m ←[0m←[0m ←[0m←[0;2m5←[0m←[0;2m|←[0m←[0m ←[0m←[0;2m
←[0m←[0m ←[0m←[36mstring←[0m←[0;2m
←[0m←[0m
←[0m←[0m
←[0m
Found 1 error
error Command failed with exit code 2.

I am using flow with create-react-app and I have followed this instructions: https://flow.org/en/docs/tools/create-react-app/

Duplicate of #4568?
These are ANSI escape codes. Running yarn flow --color=never will
prevent these codes from appearing.
It looks like you’re running on Windows, so it’s probable that your
terminal emulator doesn’t have good color support. One way to solve this
problem would be to acquire a better terminal emulator:
https://superuser.com/questions/413073/windows-console-with-ansi-colors-handling

@wchargin thanks for the link.
This issue should probably be marked as closed.


Error: Cannot find module '@vue/compiler-dom'

To Reproduce
Steps to reproduce the behavior:

My codegen.yml config file:

schema: ${SCHEMA_PATH}
generates:
  src/models/dto/gql.ts:
    plugins:
      - typescript
config:
  # maybeValue: T
  skipTypename: true
  # avoidOptionals: true
  # avoidOptionals:
  #   inputValue: true
  #   object: false
  scalars:
    Long: number
    Instant: string

Expected behavior

Environment:

OS: win10
"@graphql-codegen/cli": "1.19.0",
"@graphql-codegen/typescript": "1.17.11",
"graphql": "15.4.0",
NodeJS: v12.14.1

Additional context

duplicate #5486
sorry, my bad, didn't notice this issue


Fixes for Issue #115 & updated packages

PR contains:

Fixes for Issue Issue 115
gitignore file
compatible with React Native 0.59

Still it is not working...

Still it is not working...

@skptricks  Are you still getting the same error or any different.
Let me know the error message

Still it is not working...

@skptricks Are you still getting the same error or any different.
Let me know the error message

I am getting below error message, while launching code in android device :
Error:while updating property 'src' of a view managed by: RCTVideo

Still it is not working...

@skptricks Are you still getting the same error or any different.
Let me know the error message

I am getting below error message, while launching code in android device :
Error:while updating property 'src' of a view managed by: RCTVideo

This PR is not merged yet, so install this using
npm install JijoBose/react-native-af-video-player#master
Few dependent packages are updated to a newer version
First reset node_modules
rm -rf node_modules && npm install
and then link the dependency (as per readme)
react-native link react-native-video
react-native link react-native-keep-awake
react-native link react-native-vector-icons
react-native link react-native-orientation
react-native link react-native-linear-gradient

我再次遇到这个问题
"react": "16.8.6",
"react-native": "0.60.4",
"react-native-af-video-player": "github:JijoBose/react-native-af-video-player#master",
"react-native-fs": "^2.14.1",
"react-native-gesture-handler": "^1.3.0",
"react-native-keep-awake": "^4.0.0",
"react-native-linear-gradient": "^2.5.6",
"react-native-orientation": "^3.1.3",
"react-native-splash-screen": "^3.2.0",
"react-native-vector-icons": "^6.6.0",
"react-native-video": "^5.0.0",
"react-navigation": "^3.11.1"
设备  android
这是我的代码
index1.txt
错误信息：

我再次遇到这个问题
"react": "16.8.6",
"react-native": "0.60.4",
"react-native-af-video-player": "github:JijoBose/react-native-af-video-player#master",
"react-native-fs": "^2.14.1",
"react-native-gesture-handler": "^1.3.0",
"react-native-keep-awake": "^4.0.0",
"react-native-linear-gradient": "^2.5.6",
"react-native-orientation": "^3.1.3",
"react-native-splash-screen": "^3.2.0",
"react-native-vector-icons": "^6.6.0",
"react-native-video": "^5.0.0",
"react-navigation": "^3.11.1"
设备 android
这是我的代码
index1.txt
错误信息：
...
The possible solution by randy-miller is available at Issue #68

@ericchan3721  after modifying the suggested files it's worked for android especially android (9 pie).
Thanks & appreciated.

@ericchan3721 after modifying the suggested files it's worked for android especially android (9 pie).
Thanks & appreciated.

I have tested on Android 10 (Emulator & real devices) and it should be works as well

Hi
Having the same issue. @ericchan3721 , not working.
Can you explain the workaround?
Thanks


TPM provisioning fails for devices previously provisioned

Describe the Problem
After using DpsTpm as provisioning type a first time, I wasn't able to re-provision the same device.
Use cases: change the hub device name or change the hub device type
To Reproduce
Steps to reproduce the behavior:

Running the command: Provision-EflowVM -provisioningType "DpsTpm" -scopeId "scopId"
Get the output:  Provisioning successful. iotedge service running.
No device was created on IotHub Portal.

Expected behavior
New IotEdge/IoT device created on the targeted hub
Windows Host OS (please complete the following information):

Edition: Enterprise
Version: build 19043.1110
Virtual Machine: No. I am using physical devices

Additional context
It is happening in 2 different devices

silly question here.. but how did you create teh enrollment.. there is a dropdown in the creation of the enrollment that allows you to specify "allow reprovisioning" or "never allow re-provisioning"

Thanks for the tip @hooligan495.
But I figured out what my problem was. I was using a wrong registration ID in the Individual Enrolment registration


How to set the charset with dsn?

Does dsn support charset in dsn?
for example “sqlserver://sa:tencent_123@<IP_ADDRESS>:1433?database=Test_DB&connection+timeout=30&chartset=utf8”

Hi @Karel-Xiang, what are you hoping to do? Go is UTF-8 encoded by default.

And gbk or big5？

The driver doesn't currently have a charset parameter to set gbk or big5.

Thanks..


fix: Switch all requires from fs to graceful-fs

Took the liberty to provide a fix here. I'm still hitting EMFILE in certain situations. Could it be due to launchers? I can definitely run my tests with a much lower ulimit -n now though.
Closes #544

I signed it!

Thanks a lot :octocat:


feat(origin-ui-irec-core): device import ui

As far as I understand this still could not be fully implemented?
Because there is a mock on Device Import UI and navigating to page leads to 403 error for missing connection.


Resource to add: https://www.npmjs.com/package/jiosavan

URL: https://www.npmjs.com/package/jiosavan
Message: Jio Savan Api Npm package for interacting with Jio Savan easily.You can search for Songs, Albums, Playlists, Lyrics, and Artists using this package.The package is built with typescript.
This issue was automatically generated from the website.

We currently don't support any section for NPM packages.


Add callback to .write()

Current node versions (0.10+?) have an optional callback argument which should be called when the data is flushed.
Function Callback for when this chunk of data is flushed

http://nodejs.org/api/stream.html#stream_writable_write_chunk_encoding_callback

Thanks @jmhobbs - merged and released in v2.1.0


Split OBO imports into individual modules

This PR removes OBO_imports and instead splits that file into each individual module.

I checked this pretty thoroughly, and it seems to be working perfectly. Thanks!


Update dependency release-it to v17

This PR contains the following updates:

Package
Type
Update
Change

release-it
devDependencies
major
15.10.5 -> 17.4.1

Release Notes

release-it/release-it (release-it)
v17.4.1
Compare Source

Update more dependencies (dd81abe)
Update lockfile (b4ed4ce)
Format readme (ce47cee)
chore: drop dependency on promise.allsettled (#1120) (9ac3518)
fix: ship & export types (#1121) (320b88f)
Update docs (5672a8d)

v17.4.0
Compare Source

Add eslint-plugin-ava to ignoreDependencies (cf41b1b)
Update some dependencies (8641afe)
Fix up JSON schema (13e399a)
Update projects using release-it (0ad9b1e)
feat: add Typescript type for config (closes #1052) (#1055) (3feb112)
feat: Add json schema (#1114) (5dcb72d)
chore: Upgrade ESLint (#1111) (3056a18)

v17.3.0
Compare Source

Support Node.js v22 (resolves #1105) (b26fe12)
Update dependencies (1d9a6f0)
Skip test (1fd2259)
Change git config example in docs (closes #1091) (6df6656)

v17.2.1
Compare Source

Update some dependencies (bb23771)
Exit without error message when requireCommits is true but requireCommitsFail is false and no commits are available  (#1101) (cce35f3)

v17.2.0
Compare Source

Fix formatting (ed30e08)
Update dependencies (9ce6d19)
Add installed-check (24b3ba6)
docs: add plugin release-it-pnpm (#1094) (bb9dac8)
Add tea.yaml (c223071)
Catch and log errors thrown in rollbackTagPush() in Git plugin (#1087) (88bbaa9)
Remove, experiment, add link to https://github.com/juancarlosjr97/release-it-containerized (91b5d2f)

v17.1.1
Compare Source

Potential fix (resolves #1082) (b46d5bd)

v17.1.0
Compare Source

Add comment on PRs in CI environments (#1081) (a1961d0)

v17.0.5
Compare Source

Fix dependencies for Windows (d5a4c55)

v17.0.4
Compare Source

Update dependencies (closes #1079) (e37ecd3)

v17.0.3
Compare Source

Fix dependencies for Windows (c7d5ff0)

v17.0.2
Compare Source

Update dependencies (9577bd2)
Auto-format (cb7aac7)
Ignore twitter profile link (294538d)
Parse issues from commit log instead of changelog (#1071) (836f78d)
Format markdown (179b734)

v17.0.1
Compare Source

Fix broken gitlab links (1a33dac)
Add sponsor/fund options (c625363)
Update changelog (e178adf)
Format README.md (61993f2)

v17.0.0
Compare Source

Toggle choices in prelease cont. (resolves #1061) (351c95b)
Update dependencies (ebc2754)
Remove support for Node.js v16 (0aed410)
Fix/rollback tag (#1059) (da0e93a)
chore: add plugins to readme (#1054) (e9fa310)
Bump actions/setup-node from 3 to 4 (#1050) (9e99e2b)
fix: name of param to enable comment functionality (#1046) (fdcf005)
Add NPM_TOKEN env variable (github secret) to example in docs (#1042) (38193c3)
Remove obsolete @public tags (415c1a3)

v16.3.0
Compare Source

Fix/rollback tag (#1059) (da0e93a)
chore: add plugins to readme (#1054) (e9fa310)
Bump actions/setup-node from 3 to 4 (#1050) (9e99e2b)
fix: name of param to enable comment functionality (#1046) (fdcf005)
Add NPM_TOKEN env variable (github secret) to example in docs (#1042) (38193c3)
Remove obsolete @public tags (415c1a3)

v16.2.1
Compare Source

Format Markdown (ebe4fbd)
Add production mode config for Knip (c1c0f99)
Update dependencies (a3d32ae)
Fix initial --snapshot latestVersion (f283230)

v16.2.0
Compare Source

Update dependencies (f5576f1)
Add support for snapshots (--snapshot=feat → v0.0.0-feat.0), alpha/undocumented (6d027fd)
Add releaseUrl to message context (resolves #1038) (07f373e)
Bump actions/checkout from 3 to 4 (#1039) (d931f36)
Update version in the readme (#1036) (e2e0c34)

v16.1.5
Compare Source

Only show url message on Windows (68b91c4)
fix: unable to open the browser automatically on Windows system (#1019) (5069c30)

v16.1.4
Compare Source

Replace mock-fs with memfs + fs-monkey (723db6c)
Update dependencies (a3da2bf)

v16.1.3
Compare Source

Update dependencies (closes #1024) (79430b4)

v16.1.2
Compare Source

Revert some updates for Node.js 16 compat (a106c83)

v16.1.1
Compare Source

Update dependencies (closes #1023) (9d6f183)

v16.1.0
Compare Source

Edit and move new section about getLatestTagFromAllRefs up in docs (a166ab4)
Extend test for getLatestTagFromAllRefs to assert default behavior too (930e80a)
test: add a test scenario for git.getLatestTagFromAllRefs (fef97c6)
feat: add git.getLatestTagFromAllRefs config item to use all refs to determine latest version, not just reachable commits. (8611ef0)
docs: update legacy Node comment on readme page (#1021) (5beacf2)

v16.0.0
Compare Source

Add v16 to changelog (2e09260)
Add knip to deps/scripts (00220ce)
Update dependencies + add lockfile (breaking support for Node.js v14/npm v6) (97c233e)

v15.11.0
Compare Source

Fix regression caused by 46fc8fa (1ea14aa)
Remove + ignore .DS_Store (0198b89)
Fix lint issue (6158d7e)
feat: Adding publicPath option for npm publishConfig (#1010) (fef8566)

Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Self-Hosted Renovate Bot. Find all logs here.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package.json
Command failed: make _bootstrap-renovate clean compile
/bin/bash: pipenv: command not found
make[1]: *** [Makefile:38: _bootstrap-python-requirements] Error 1
make: *** [Makefile:71: _bootstrap-renovate] Error 2

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package.json
Command failed: make _bootstrap-renovate clean compile
/bin/bash: pipenv: command not found
make[1]: *** [Makefile:38: _bootstrap-python-requirements] Error 1
make: *** [Makefile:71: _bootstrap-renovate] Error 2


fix: emitting input click events for datepicker

What:

This PR enables emitting the click event on input fields inside the Datepicker component, for both (single and range) variants.
Why:

This is to keep in line with expected behavior, as datepicker components consist of an input field or two, depending on the variant, and so must detect the click.
How:

Remove the event.stopPropagation() method call from the Input component onClick attribute
Media:

https://www.loom.com/share/29d22680ca7e4db0a9d16036996a7f71
Checklist:

[x] Ready to be merged

@lloydaf we won't merge until you mark the checkbox of "ready to merge", it is there something missing here?

my bad, wasn't really sure who was supposed to mark that lmao. It's ready to merge 😬


Upgrade @guardian/prebid.js to v7.54.4

What does this change?
WIP
Why?
WIP

Closing in favour of https://github.com/guardian/commercial/pull/1015 as this has PR has a regenerated lockfile which looks unintentional.


Other Alex mods

i don't want you to feel pressured, and this can come when it comes, but at some point Ice and Fire and possibly Rats having support would be neat.

i'm currently on vacation/holidays.  i'll look into them when i get home

No problem! Have a good vacation!


Let cron-parser check syntax itself

Re #201

Coverage remained the same at 69.307% when pulling c404eaba9e951935c49187a116e5434c41fc3d23 on cron-parser-l into 11696d351cd3a4641e51495625daf5130b17bfd1 on main.

published in v1.3.3


VespaDocker downloads many vespa images when one is not already available

To reproduce clean all local vespa images and try to deploy. It will run for a long time and docker image ls -a will show many vespa images.

Seems like this is no longer an issue.


The image type can not be saved when saving cluster as a template

Describe the Bug
The image type can not be saved when saving cluster as a template
Versions Used
Kubernetes: v1.23.6
Kubeclipper: master
Environment
How many nodes and their hardware configuration:
CentOS 7.7.1908
masters: 4cpu/8g
How To Reproduce
Steps to reproduce the behavior:

Go to '.Cluster Manager - Cluster'
Click on 'Save as template'
Jump to 'Cluster Manager - Template Manager'
'Edit' the templete just saved  and the image type can not be saved

** Screenshot**

/assign @lysign

/kind need-verify
/milestone v1.1.0

/remove-kind need-verify

/reopen

/milestone v1.1.1


Enable form level validation

react-admin wouldn't build locally, therefore I deleted the node_modules folder, resulting in changes to yarn.lock

@nsams omitting render and onSubmit doesn't work as they are used inside the component itself.


[Feature Request]: Support Azure Firewalls that are connected to Virtual Hubs

Description
Virtual Hubs connected to Azure Firewalls have a different set of properties (eg: the requirement of a virtual network parameter means we cannot use the current Azure Firewall module)

Would love this also, now we made our own module


warmup_linear- issue

Hi,
I am not able to train the model . I am getting an error (warmup_linear - lib not available ) while taring the model.
Please help me overcome the issue.
Regards,
niranjan
line no-497
lr_this_step = args.learning_rate * warmup_linear(global_step / num_train_optimization_steps,
args.warmup_proportion)

Hi there,
warmup_linear comes from pytorch-pretrained-BERT. Make sure you have installed the library first.

Thank YOU for your prompt response. Yes, I installed  pytorch-pretrained-BERT but getting warmup_linear error while importing .

**C:\ProgramData\Anaconda3\python.exe C:/Users/a760239/PycharmProjects/untitled/test1.py
Traceback (most recent call last):
File "C:/Users/a760239/PycharmProjects/untitled/test1.py", line 16, in
from pytorch_pretrained_bert.optimization import BertAdam, warmup_linear
ImportError: cannot import name 'warmup_linear' from 'pytorch_pretrained_bert.optimization' (C:\ProgramData\Anaconda3\lib\site-packages\pytorch_pretrained_bert\optimization.py)
Process finished with exit code 1**

They just released new version of the library.
If you see this line you are able to see how it imports.


Osiris02/10/2019 DOESN'T INJECT

I was using osiris fine yesterday but after a csgo update at 5 in the morning 1 fricking megabyte update !!!! now makes osiris not inject it doesn't even crash just doesn't inject :(  and probably yall haven't used it today that's why you don't know yet the issue.

I can use it normally, but you injected it in the wrong way

@Bywnb Giangero#3167 add me on discord if u can :/

Use APC injection

@Bywnb injects with extreme injector tested it on -insecure , so rando no work which injecto should i use now ? any good source that easily can junk code and use ?

@Bywnb injects with extreme injector tested it on -insecure , so rando no work which injecto should i use now ? any good source that easily can junk code and use ?

I'm sorry, I'm Chinese and I don't know how to get in touch with you effectively. But use APC injection is effective, this is one of our China BBS post: https://blog.csdn.net/earbao/article/details/52469811

il close this issue cause for some fricking reason rando works again

lol


feat: add a script and ci workflow to build all examples

Added a script that builds all packages. tsc is now working for every example; eslint hasn't been wired for examples that had them but were never exercised and were failing. We can double click on this later but npm run build was my min requirement. The CI workflow wasn't as straight forward as I thought it'd be for this so they have been left untouched and will be fast followed. I needed this for now as I was changing signature of client construction across almost all the examples.
The script prints all the directories that were built..
Directories Built:
/Users/pratik/sandbox/client-sdk-javascript/examples/cloudflare-workers/http-api
/Users/pratik/sandbox/client-sdk-javascript/examples/cloudflare-workers/web-sdk
/Users/pratik/sandbox/client-sdk-javascript/examples/fastly-compute
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/access-control
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/aws
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/cache
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/lambda-examples/simple-get/lambda/simple-get
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/lambda-examples/topics-microservice
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/load-gen
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/mongodb-examples/simple-read-aside
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/observability
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/token-vending-machine/lambda/authorizer
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/token-vending-machine/lambda/token-vending-machine
/Users/pratik/sandbox/client-sdk-javascript/examples/nodejs/topics
/Users/pratik/sandbox/client-sdk-javascript/examples/web/cache
/Users/pratik/sandbox/client-sdk-javascript/examples/web/nextjs-chat
/Users/pratik/sandbox/client-sdk-javascript/examples/web/vite-chat-app

@anitarua oh no worries at all! almost half of those examples do not have eslint and honestly i am not too worried about them as long as build/tsc works as otherwise the examples are useless. Thankfully tsc was pretty much wired and working for all of them :)
I'll add it to CI; just want to go step by step to make progress as CI was borking with multiple things :)


🔄 synced file(s) with worgarside/github-config-files

synced local file(s) with worgarside/github-config-files.

This PR was created automatically by the repo-file-sync-action workflow run #6139370580

This PR is empty, closing it. :no_good:


Support for incremental updates

Just figured out that i need incremental updates for http repos.
Example: if http repo contains multiple update archives like

myproject_v1.0.1.zip
myproject_v1.0.2.zip
myproject_v1.0.3.zip
...

all zip files beginning from SELF_UPDATER_VERSION_INSTALLED should be installed one after another.
`    if($updater->source()->isNewVersionAvailable()) {
    // Get all the newest versions available
    $updater->source()->getVersionsAvailable();

    // Run the update process for all zip files
    $updater->source()->updateIncrementing();

`
Would this be s.th. for you?

And what if you just pull them one by one? Starting with 1.0.1, then 1.0.2 and after that 1.0.3. I currently do not see the benefit of pulling them all at once.


TF engine memory not fully released

Description
The model fails to fully unload the memory after being loaded and closed when using DJL 0.27 with the TF engine. This issue seems to have started from version 0.11.
Expected Behavior
The model should fully unload the memory after being closed.
Error Message
No specific error message, but memory usage remains high after closing the model.
How to Reproduce?
Steps to reproduce
        while (true) {
            for (int i = 0; i < 10; i++) {
                Model localModel = Engine.getEngine("TensorFlow").newModel("TensorFlow", Device.cpu());
                localModel.load(Paths.get(path));
                Predictor<Float[][], Object> predictor = localModel.newPredictor(new SimpleTranslator());
                Object result = predictor.predict(null);
                localModel.close();
                predictor.close();
            }
        }

This code runs normally in DJL 0.10, but in subsequent versions, there is a significant increase in memory usage that does not release. Preliminary judgment is that the local memory continues to increase.

I did a quick test with this unit-test code: https://github.com/deepjavalibrary/djl/blob/master/engines/tensorflow/tensorflow-model-zoo/src/test/java/ai/djl/tensorflow/integration/modality/cv/MobileNetTest.java#L36
I made a simple change to this test case and let it run 1000 times, and I didn't observe memory leak. I tested on macos M3 machine:
cd djl/engines/tensorflow/tensorflow-model-zoo
./gradlew test --tests MobileNetTest

If there is memory leak it should eventually OOM.
Can you create a minimal reproduce case?

@frankfliu
import ai.djl.MalformedModelException;
import ai.djl.Model;
import ai.djl.engine.Engine;
import ai.djl.inference.Predictor;
import ai.djl.ndarray.NDList;
import ai.djl.ndarray.NDManager;
import ai.djl.translate.Batchifier;
import ai.djl.translate.TranslateException;
import ai.djl.translate.Translator;
import ai.djl.translate.TranslatorContext;

import java.io.IOException;
import java.nio.file.Paths;
import java.util.*;

public class ModelTest {
    public static void main(String[] args) throws MalformedModelException, IOException, TranslateException {
        Engine pyTorch = Engine.getEngine("TensorFlow");
        float[][] floats = new float[10][10];
        for (int i = 0; i < floats.length; i++) {
            for (int j = 0; j < floats[0].length; j++) {
                floats[i][j] = j;
            }
        }

        while(true) {
            Model model = pyTorch.newModel("model", null);

            model.load(Paths.get("/root/projects/velen-offline-inference/spark-djl-tf/src/test/resources/model/tf10_10"));

            SimpleTranslator simpleTranslator = new SimpleTranslator();
            Predictor<float[][], float[][]> predictor = model.newPredictor(simpleTranslator);
            float[][] predict = predictor.predict(floats);
            predictor.close();
            model.close();
        }
    }

    public static class SimpleTranslator implements Translator<float[][], float[][]>{

        @Override
        public float[][] processOutput(TranslatorContext ctx, NDList list) throws Exception {
            return new float[0][];
        }

        @Override
        public NDList processInput(TranslatorContext ctx, float[][] input) throws Exception {
            NDManager manager = ctx.getNDManager();
            NDList ndList = new NDList();
            ndList.add(manager.create(input));
            return ndList;
        }

        @Override
        public Batchifier getBatchifier() {
            return null;
        }
    }
}
[model.zip](https://github.com/user-attachments/files/16279904/model.zip)

       <dependency>
            <groupId>com.google.protobuf</groupId>
            <artifactId>protobuf-java</artifactId>
            <version>3.11.0</version>
        </dependency>

        <dependency>
            <groupId>ai.djl</groupId>
            <artifactId>api</artifactId>
            <version>${djl.version}</version>
        </dependency>
        <dependency>
            <groupId>ai.djl.tensorflow</groupId>
            <artifactId>tensorflow-engine</artifactId>
            <version>${djl.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>ai.djl.tensorflow</groupId>
                    <artifactId>tensorflow-api</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>ai.djl.tensorflow</groupId>
            <artifactId>tensorflow-api</artifactId>
            <version>${djl.version}</version>
        </dependency>
<!--        <dependency>-->
<!--            <groupId>ai.djl.tensorflow</groupId>-->
<!--            <artifactId>tensorflow-native-cpu</artifactId>-->
<!--            <version>2.10.1</version>-->
<!--        </dependency>-->

        <dependency>
            <groupId>ai.djl.tensorflow</groupId>
            <artifactId>tensorflow-native-cpu</artifactId>
            <version>2.7.0</version>
        </dependency>

You can view the PID of running programs through jps, and check the memory usage of the corresponding process through top -p. Version 0.10 can maintain stable memory usage, but version 0.27 cannot.

@ewan0x79
It turned out the SaveModelBundle was not closed properly. In normal use case, you only load model once, and keep using Predictor to run inference, it won't cause problem.


Mucng

This integrates a first cut of multi user chat. Features supported are join and leave, also the affilitation, role, presence of participants is visible.
Features not yet supported:

private messages (neither send nor receive)
give+take voice/op/...
room creation (just be lucky that there is some around)
room configuration / displaying of features
rejoin after reconnect

reports welcome

(addresses #20, though it does not yet fix it completely -- also likely there is regression)

Awesome!


Create Component Protocol

Add Component Protocol to ease type checking.
Closes #28

I cannot comment on untouched lines, so here we go:
    @property
    def input(self):
        """
        TODO: Documentation
        """
        return _input

    @property
    def output(self):
        """
        TODO: Documentation
        """
        return _output

_input and _output are reeeally similar to each other. Can we make a private method in Component with the shared logic and just return a partial in these two properties?
Works the same, but what irks me a bit is that the logic lives very far from where it's used.


Include alloca.h in Hacl_Bignum_Base.h for mozilla dist

I didn't test it, but something like this should fix the issue.
Fixes #868

What is the issue? On which build platforms?
We have this: https://github.com/FStarLang/karamel/blob/master/include/krml/internal/builtin.h which is perhaps what needs to be replicated?

What is the issue? On which build platforms?

See the linked issue #868.

let me try to upstream the fix it should take just as long as this PR -- see fstarlang/karamel#386

(The reason I want to do it this way is that alloca.h is not available on windows, so this would likely break your windows build.

👍🏻 sure, fixing it properly right away is better.

Fixed via #870


bug/ Resource punkt_tab not found

Describe the bug
Traceback (most recent call last):
  File "/Users/enrei/Desktop/camel_debug/camel/camel/loaders/tt.py", line 7, in <module>
    elements = partition_html(url="https://www.cnn.com/2023/01/30/sport/empire-state-building-green-philadelphia-eagles-spt-intl/index.html")
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/documents/elements.py", line 371, in wrapper
    elements = func(*args, **kwargs)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/file_utils/filetype.py", line 591, in wrapper
    elements = func(*args, **kwargs)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/file_utils/filetype.py", line 546, in wrapper
    elements = func(*args, **kwargs)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/chunking/title.py", line 297, in wrapper
    elements = func(*args, **kwargs)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/partition/html.py", line 141, in partition_html
    document_to_element_list(
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/partition/common.py", line 561, in document_to_element_list
    num_pages = len(document.pages)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/documents/xml.py", line 53, in pages
    self._pages = self._read()
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/documents/html.py", line 146, in _read
    element = _parse_tag(tag_elem)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/documents/html.py", line 321, in _parse_tag
    return _text_to_element(
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/documents/html.py", line 370, in _text_to_element
    elif is_narrative_tag(text, tag):
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/documents/html.py", line 417, in is_narrative_tag
    return tag not in HEADING_TAGS and is_possible_narrative_text(text)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/partition/text_type.py", line 77, in is_possible_narrative_text
    if exceeds_cap_ratio(text, threshold=cap_threshold):
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/partition/text_type.py", line 273, in exceeds_cap_ratio
    if sentence_count(text, 3) > 1:
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/partition/text_type.py", line 222, in sentence_count
    sentences = sent_tokenize(text)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/unstructured/nlp/tokenize.py", line 30, in sent_tokenize
    return _sent_tokenize(text)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/nltk/tokenize/__init__.py", line 106, in sent_tokenize
    tokenizer = PunktTokenizer(language)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/nltk/tokenize/punkt.py", line 1744, in __init__
    self.load_lang(lang)
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/nltk/tokenize/punkt.py", line 1749, in load_lang
    lang_dir = find(f"tokenizers/punkt_tab/{lang}/")
  File "/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/python3.10/site-packages/nltk/data.py", line 582, in find
    raise LookupError(resource_not_found)
LookupError:
**********************************************************************
  Resource punkt_tab not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('punkt_tab')

  For more information see: https://www.nltk.org/data.html

  Attempted to load tokenizers/punkt_tab/english/

  Searched in:
    - '/Users/enrei/nltk_data'
    - '/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/nltk_data'
    - '/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/share/nltk_data'
    - '/Users/enrei/Library/Caches/pypoetry/virtualenvs/camel-ai-QAH_KI_X-py3.10/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************

To Reproduce
from unstructured.partition.html import partition_html

elements = partition_html(url="https://www.cnn.com/2023/01/30/sport/empire-state-building-green-philadelphia-eagles-spt-intl/index.html")

for element in elements:
    print(element)

Expected behavior
should be able to partition the url
Screenshots

Environment Info
Python 3.10.9 (main, Mar  1 2023, 12:33:47) [Clang 14.0.6 ]
name = "unstructured"
version = "0.10.30"
Additional context
Add any other context about the problem here.

I think this happens again. NLTK build a new version that has the same problem.

take a look here & try upgrading to 0.15.5: https://github.com/Unstructured-IO/unstructured/issues/3511

Thanks @will-mako-ai !


Add a remote execution smart cell

It receives the node name, the cookie, and the code to eval. :)

I think that’s pretty much it, yes!


Sync code from blackbeam/rust-mysql-simple

Main purpose is upgrade dependency mysql_common because funty(1.2.0) was yanked.
All relative repo will build fail:

rust-mysql-simple-wasi
wasmedge-db-examples
runwasi

Verified in https://github.com/CaptainVincent/runwasi/actions/runs/3493505009/jobs/5848406999

I only signed-off my merge commit. (I think the other DCO check fails is fine.)


Fix struct record/union serialization for code generated picklers

cc @varon @dsyme

Looks good but there's a CI failure?

@dsyme seems to be failing in mono

Yes. "  ----> System.ArgumentException : method arguments are incompatible"
I think the Mono 5.0.x has all the right F# bits, so this feels like either a Mono bug or an FsPickler bug.  But I might be wrong - perhaps there is an F# fix missing from Mono 5.0.x
1) Test Error : MBrace.FsPickler.Tests.Generic Tests.1. Correctly resolve finite types
   MBrace.FsPickler.PicklerGenerationException : Error generating pickler for type 'MBrace.FsPickler.Tests.TestTypes+StructDU'.
  ----> System.ArgumentException : method arguments are incompatible
  at MBrace.FsPickler.PicklerResolution.resolvePickler (MBrace.FsPickler.IPicklerResolver resolver, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] mkEarlyBinding, Microsoft.FSharp.Core.FSharpFunc`2[T,TResult] isPicklerReferenced, System.Type t) [0x00194] in <5945b0535ec56bbba745038353b04559>:0

@eiriktsarpalis What was the cause of the Mono bug?

@dsyme apparently the reflection-based pickler for unions didn't work with structs in mono


[iOS] - camera already started

Hi,
I'm trying to open the camera in my iPhone but i'm receiving the following error "camera already started", but its the first time the camera is starting...
Not sure what is causing this issue...
iPhone x Max
iOS  13.1
by the way, the plugin is working fine in the browser :)
thanks for the great plugin !

And the project is runing in Vue with Typescript

Hi Bruno
Can you provide full code of opening the camera?

import { Component, Prop, Vue } from 'vue-property-decorator';
import { MediaCameraValidation } from './media-camera-validation.interface';
import 'capacitor-camera-preview'
import { Plugins } from '@capacitor/core'

const { CameraPreview } = Plugins

@Component({})
export class MediaCameraComponent extends Vue {

    @Prop({ default: 'enviroment', type: String })
    public facingMode: string;

    @Prop({ default: 20, type: Number })
    public preferredMaskPaddingTop: number;

    @Prop({ default: 300, type: Number })
    public preferredMaskWidth: number;

    @Prop({ default: 345, type: Number })
    public preferredMaskHeight: number;

    @Prop({ default: [], type: Array })
    public validations: MediaCameraValidation[];

    @Prop({ default: false, type: Boolean })
    public faceValidation: boolean;

    public containerHeight: number = window.screen.height;
    public containerWidth: number = window.screen.width;
    public containerZoom: number = 100;
    public maskWidth: number = 0;
    public maskHeight: number = 0;
    public maskPaddingTop: number = 0;

    public loading: boolean = false;
    public captured: boolean = false;
    public rejectedCamera: boolean = false;
    public container: HTMLDivElement = undefined;
    public canvas: HTMLCanvasElement = undefined;
    public mediaStreamTrack: MediaStreamTrack;

    public constraints: MediaStreamConstraints = null;

    public async mounted() {
        this.container = this.$refs['media-camera-container'] as HTMLDivElement;
        this.canvas = this.$refs['media-camera-canvas'] as HTMLCanvasElement;
        CameraPreview.start({position: 'rear', parent: 'cameraPreview', className: 'cameraPreview'});
    }

    public async capturePicture() {
    }

    private async drawPictureOnCanvas(picture: string): Promise<void> {
        return new Promise((resolve,reject) => {
            try {
                let image = new Image();

                image.onload = async () => {
                    this.canvas.width = document.getElementsByClassName('camera-cordova')[0].clientWidth >= 480 ?  document.getElementsByClassName('camera-cordova')[0].clientWidth : 480;
                    this.canvas.height = document.getElementsByClassName('camera-cordova')[0].clientHeight >= 640 ? document.getElementsByClassName('camera-cordova')[0].clientHeight : 640;
                    var context = this.canvas.getContext('2d');
                    context.drawImage(image, 0, 0, this.canvas.width, this.canvas.height);
                    resolve();
                };
                image.src = `data:image/png;base64,${picture}`;
            } catch (error) {
                reject(error);
            }
        })
    }

    private async validatePicture() {
        setImmediate(async () => {
            const validations = [...this.validations];
            const errors: string[] = [];
            while (validations.length) {
                const validation = validations.shift();
                await validation(this.canvas, this.maskWidth, this.maskHeight).catch(error => errors.push(error));
            }

            this.unsetCameraMode();
            if (errors.length) {
                this.cancelPicture();
                this.$emit('on-capture-fail', errors);
            } else {
                this.captured = true;
            }

            this.loading = false;
        });
    }

    public cancelPicture() {
        // this.cameraPreview.stopCamera();
        // this.initializeCamera();
        // this.clearCanvasImage();
    }

    public confirmPicture() {
        // this.cameraPreview.stopCamera();
        // this.$emit('on-capture-confirm', this.canvas.toDataURL());
    }

    public onCloseModal() {
        this.rejectedCamera = false;
        // this.initializeCamera();
    }

    private getCameraPreviewOpts() {
        let cameraPreviewOpts = {
            x: 0,
            y: 0,
            width: this.containerWidth,
            height: this.containerHeight,
            camera: this.facingMode == ('user') ? 'front' : 'back',
            toBack: true,
        };
        return cameraPreviewOpts;
    }

    private setCameraMode() {
        if (this.facingMode == 'user') {
            // FIX ME CORDOVA
            // if (device.platform === 'Android') {
            //     this.cameraPreview.setZoom(this.containerZoom);
            // }
        }
        let html = document.getElementsByTagName('html')[0];
        html.className += 'camera-cordova';
    }

    private unsetCameraMode() {
        let html = document.getElementsByTagName('html')[0];
        html.className = '';
    }

    private clearCanvasImage() {
        setTimeout(() => { //Workaround para não mostrar o cinza de fundo
            let context = this.canvas.getContext('2d');
            context.scale(-1, 1);
            context.clearRect(0, 0, this.canvas.width, this.canvas.height);
            context.clearRect(this.canvas.width * -1, 0, this.canvas.width, this.canvas.height);
        }, 1000);
    }
}

There is lots of unused code, we are migrating from cordova to capacitor
But the error ocurs in the mounted section

I'm not an expert on Vue, but is mounted called only once?

Yes

can you skip parent and class in the start command ?

CameraPreview.start({position:rear})

I think you should not import Capacitor-Camera-Preview line 3

import {
Plugins,
Capacitor
} from "@capacitor/core";
const { CameraPreview} = Plugins;

Im going test skiping the parent and the class.
if i don't import Capacitor-Camera-Preview in line 3 the camera doesn't open in the browser as well

What about import with Plugins and Capacitor, like
import {
Plugins,
Capacitor,
Camera-preview
} from "@capacitor/core";

not expert in vue but seems like your import already starts the camera preview, and when you call mounted it makes twice

I’m on holidays, will try to help you next week

Ok ! I'm already testing this options
Any update i will write here !
Thanks!

Without importing i get the following error:
Browser:
uncaught exception: CameraPreview does not have web implementation.
iOS:
{message: "camera already started", errorMessage: ""}

Just printed the condition that rejects in swift and self.cameraController.captureSession?.isRunning is nil so it should not enter in the if clause right ?
if(self.cameraController.captureSession?.isRunning ?? false) {
    call.reject("camera already started")
}

yes

Looks like the error "camera already started" was my fault... For getting the error log i was refreshing the webview in safari...
Now the camera is starting correctly but not displaying in the screen

you should consider your css

In ios, where is expected the code put the "video"element ?

in your page’s scss
ion-content { --background: transparent !important; }

your preview is in the back

As @elepetit says, the preview on android and ios is on a view back of root view, so to view the camera preview you have to make the  background transparent !!!

Fixed ! As I migrated the project from cordova to Ionic I forgot to add the <ion-app/>and <ion-content/> tags. After this everything started working!
Thanks !! :)

you’re welcome!

not expert in vue but seems like your import already starts the camera preview, and when you call mounted it makes twice

@elepetit My app also has 'camera already started' error happening intermittently. Some users experience this error periodically and this is logged into our system however I can not reproduce this problem on my iOS devices.
I have the below import in app.module.ts and wondering if it might cause any problems? (note that i use capacitor 5 and the latest version of this plugin 5.0.0)
import '@capacitor-community/camera-preview';
Specifically, why do you think that it can make the camera to start twice?
I noticed that this was required to support the plugin on the web platform for the capacitor 3 (see https://github.com/capacitor-community/camera-preview/tree/capacitor-3-support#web-quirks) however this seems no longer required for the capacitor 5 (see https://github.com/capacitor-community/camera-preview#extra-web-installation-steps)


How to uninstall Dribbblish?

Hey guys, I was using Dribbblish for awhile and then I switched to Lovelace. But now my playlist icons are the background for my playlists?

Try spicetify restore and then apply again the theme

Yeah I'm sorry I forgot to say I tried that and it still looks like that

run:
spicetify config extensions dribbblish.js-

to remove Dribbblish script

Yep that worked, thanks so much.

Maybe this should be specified in the README, too


fix: wait for unsub before deleting local channel

Description
Local channels map is updated before awaiting actual sub/unsub. It becomes a problem with unsubscriptions. The channel is deleted from local map before actually unsubscribing. If a new message is received between unsub is triggered and unsub finishes, it throws an error. Because this.channels.get('channel') is undefined during that period.
This is solving the same issue mentioned in #87
CHANGELOG

[CHANGED] Reordered removing channel from local channels map and waiting for native side to do unsubscribing.

Any ETA how long this will take?


'esp_lcd_i80_bus_config_t' has no non-static data member named 'psram_trans_align'

.pio/libdeps/usb/bb_spi_lcd/src/bb_parallel.cpp:60:1: error: 'esp_lcd_i80_bus_config_t' has no non-static data member named 'psram_trans_align'
Probably same with .sram_trans_align

I'm using Arduino IDE 1.8.19 with ESP32 2.0.4 and I'm not seeing that error on any target MCUs. What versions of everything are you using?

I'm using ESP32 2.0.3, because with 2.0.4 currently LittleFS/SPIFFS is broken.

It compiles under 2.0.4, looks like the API was changed.
Since values psram_trans_align and sram_trans_align are not used by this lib, they could be commented out in the struct, this would safe backward compatibility.

ok, thanks for checking. I'll make the change.


[Bug]low_cardinality_optimize core dump in dev-1.0.1

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
dev-1.0.1
What's Wrong?
using low_cardinality_optimize run regression case in dev-1.0.1，BE will coredump.
regression case
regression-test/suites/data_model/duplicate/storage/test_dup_tab_char_nullable.groovy
core stack
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007f63c4a07864 in __GI_abort () at abort.c:79
#2  0x0000562a85496fd2 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] ()
#3  0x0000562a910f6466 in __cxxabiv1::__terminate(void (*)()) ()
#4  0x0000562a910f64d1 in std::terminate() ()
#5  0x0000562a910f6625 in __cxa_throw ()
#6  0x0000562a88d729cc in doris::vectorized::throwFromErrno (s=..., code=56, e=12) at /home/zcp/selectdb/be/src/vec/common/exception.cpp:115
#7  0x0000562a86002573 in Allocator<false, false>::realloc (this=0x562b97a5cda0, buf=0xffffffffffffffff, old_size=8192, new_size=9223372036854775808, alignment=0)
at /home/zcp/selectdb/be/src/vec/common/allocator.h:145
#8  0x0000562a85fedf87 in doris::vectorized::PODArrayBase<1ul, 4096ul, Allocator<false, false>, 15ul, 16ul>::realloc<>(unsigned long) (this=0x562b97a5cda0, bytes=9223372036854775808)
at /home/zcp/selectdb/be/src/vec/common/pod_array.h:147
#9  0x0000562a85fd8a1d in doris::vectorized::PODArrayBase<1ul, 4096ul, Allocator<false, false>, 15ul, 16ul>::reserve<>(unsigned long) (this=0x562b97a5cda0, n=7957695015409771385)
at /home/zcp/selectdb/be/src/vec/common/pod_array.h:213
#10 0x0000562a85fc9123 in doris::vectorized::PODArrayBase<1ul, 4096ul, Allocator<false, false>, 15ul, 16ul>::resize<>(unsigned long) (this=0x562b97a5cda0, n=7957695015409771385)
at /home/zcp/selectdb/be/src/vec/common/pod_array.h:219
#11 0x0000562a85fa4ed0 in doris::vectorized::ColumnString::insert_data (this=0x562b97a5cd70, pos=0x653a3a74736f6f62 <error: Cannot access memory at address 0x653a3a74736f6f62>,
length=7957695015409771384) at /home/zcp/selectdb/be/src/vec/columns/column_string.h:154
#12 0x0000562a85fc0697 in doris::vectorized::ColumnDictionary::filter_by_selector (this=0x562b4992d860, sel=0x7f6364cb2d50, sel_size=1, col_ptr=0x562b97a5cd70)
at /home/zcp/selectdb/be/src/vec/columns/column_dictionary.h:205
#13 0x0000562a88c0e0c9 in doris::vectorized::ColumnNullable::filter_by_selector (this=0x562ad7a60c80, sel=0x7f6364cb2d50, sel_size=1, col_ptr=0x562bc9d898e0)
at /home/zcp/selectdb/be/src/vec/columns/column_nullable.cpp:195
#14 0x0000562a8cb84157 in doris::vectorized::Block::copy_column_data_to_block (this=0x562b97a5c190, input_col_ptr=0x562ad7a60c80, sel_rowid_idx=0x7f6364cb2d50, select_size=1, block_cid=0,
batch_size=4096) at /home/zcp/selectdb/be/src/vec/core/block.h:128
#15 0x0000562a8cb9239e in doris::segment_v2::SegmentIterator::_output_column_by_sel_idx<std::set<unsigned int, std::less, std::allocator > > (this=0x562aed4fa500,
block=0x562b97a5c190, column_ids=..., sel_rowid_idx=0x7f6364cb2d50, select_size=1) at /home/zcp/selectdb/be/src/olap/rowset/segment_v2/segment_iterator.h:115
#16 0x0000562a8cb7d811 in doris::segment_v2::SegmentIterator::next_batch (this=0x562aed4fa500, block=0x562b97a5c190) at /home/zcp/selectdb/be/src/olap/rowset/segment_v2/segment_iterator.cpp:983
#17 0x0000562a867f4265 in doris::BetaRowsetReader::next_block (this=0x562bdabd7380, block=0x562b97a5c190) at /home/zcp/selectdb/be/src/olap/rowset/beta_rowset_reader.cpp:193
#18 0x0000562a8e3796af in doris::vectorized::VCollectIterator::Level0Iterator::next (this=0x562b26d9fc20, block=0x562b97a5c190) at /home/zcp/selectdb/be/src/vec/olap/vcollect_iterator.cpp:215
#19 0x0000562a8e383887 in doris::vectorized::VCollectIterator::Level1Iterator::_normal_next (this=0x562b81f937a0, block=0x562b97a5c190)
at /home/zcp/selectdb/be/src/vec/olap/vcollect_iterator.cpp:366
#20 0x0000562a8e383f09 in doris::vectorized::VCollectIterator::Level1Iterator::_normal_next (this=0x562b81f937a0, block=0x562b97a5c190)
at /home/zcp/selectdb/be/src/vec/olap/vcollect_iterator.cpp:375
#21 0x0000562a8e37ac95 in doris::vectorized::VCollectIterator::Level1Iterator::next (this=0x562b81f937a0, block=0x562b97a5c190) at /home/zcp/selectdb/be/src/vec/olap/vcollect_iterator.cpp:264
#22 0x0000562a8e3771e3 in doris::vectorized::VCollectIterator::next (this=0x562bec964408, block=0x562b97a5c190) at /home/zcp/selectdb/be/src/vec/olap/vcollect_iterator.cpp:165
#23 0x0000562a8e3945eb in doris::vectorized::BlockReader::_direct_next_block (this=0x562bec964000, block=0x562b97a5c190, mem_pool=0x0, agg_pool=0x0, eof=0x7f6364cb3648)
at /home/zcp/selectdb/be/src/vec/olap/block_reader.cpp:175
#24 0x0000562a8e3a0af5 in doris::vectorized::BlockReader::next_block_with_aggregation (this=0x562bec964000, block=0x562b97a5c190, mem_pool=0x0, agg_pool=0x0, eof=0x7f6364cb3648)
at /home/zcp/selectdb/be/src/vec/olap/block_reader.h:49
#25 0x0000562a8d1ebf86 in doris::vectorized::VOlapScanner::get_block (this=0x562bb7a62dc0, state=0x562c9dc99000, block=0x562b97a5c190, eof=0x7f6364cb3648)
at /home/zcp/selectdb/be/src/vec/exec/volap_scanner.cpp:55
What You Expected?
dev-1.0.1 will not coredump when using vectorization storage layer run regression case.
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I will fix this bug


SelectElement default value

closes #287

wondering - default value probably should be available for all field types?

@FDiskas you set the default value by providing defaultValues to React Hook Form. Have a look at https://github.com/dohomi/react-hook-form-mui/blob/master/apps/storybook/stories/TextFieldElement.stories.tsx#L27


covers without images

Source information
Bakai 1.4.3
Source language
Portuguese
Steps to reproduce
the manga covers are not showing
Expected behavior

Actual behavior

Mihon/Tachiyomi version
0.15.2
Android version
Android 11
Other details
This problem isn't stopping me from reading the manga, it's just a bit annoying not knowing what I'm reading based on the manga cover
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

I just updated to version 0.15.3 but the covers still aren't showing up,
but honestly, even if you can't help me, it's still possible to read the
manga and I've been wanting to update my app for a while now, so anyway
thanks.
Em seg., 22 de abr. de 2024 11:16, Chopper @.***>
escreveu:

I can't reproduce this error. Please update the version to V0.15.3 or use
the latest version of supported apps. You reported from @.***
—
Reply to this email directly, view it on GitHub
https://github.com/keiyoushi/extensions-source/issues/2522#issuecomment-2069845900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAHKS5MRG4KMC7OPFNB74E3Y6USWPAVCNFSM6AAAAABGSW2BYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZHA2DKOJQGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add a sample / example of a VM backup and restore that works with default openshift-virtualization

No image upload required
Fedora expands to a 30G block mode volume by default, expect a 15 minute backup, 15 minute restore
The todolist-mariadb is installed via cloud-init, a user must wait for that to complete

This should just work w/ RHEL, CentOS or Fedora VM's
How to test: see README.MD

@mateusoliveira43 sorry VM b/r is a priority for 1.3.x, this takes precedence :)

/retest

Can this be closed? It should all be wrapped up into the E2E tests under #1381 already.


Copy Files to Docker

This PR implements the functionality of copying files to a docker container. Changes required to the current implementation include to create, copy the attached files and then start rather than simply running the container.
One caveat here was that the destination path should be the folder name where the files must go rather than the path to the files themselves (CC: @sebastienros). For example:
crank --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/containers.benchmarks.yml --scenario json_aspnet_current --profile local --profile noload --application.options.outputFiles "./docs/development.md;app/development.md"
doesn't work as it leads to the filename as: app\development.md\development.md

Also, quotations around the source;[destination] are necessary unlike the typical case of simply uploading a file.
NOTE: The following uploads the file to the / folder:
crank --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/containers.benchmarks.yml --scenario json_aspnet_current --profile local --profile noload --application.options.outputFiles ./docs/development.md.
Testing
Run from the crank folder:
crank --config https://raw.githubusercontent.com/aspnet/Benchmarks/main/scenarios/containers.benchmarks.yml --scenario json_aspnet_current --profile local --profile noload  --application.options.outputFiles "./docs/*;app/"
Copied all the md files in doc folder to the container:

We'll need a comment in the docs to explain that in docker the destination path is the final destination in the container.

@mrsharm do you want to merge this PR or are you waiting to add some more things?

Thanks - sorry for the delay. Merged now.


Initial attempt at code coverage

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@642c64b). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage        ?   87.63%
=======================================
  Files           ?        8
  Lines           ?     1520
  Branches        ?        0
=======================================
  Hits            ?     1332
  Misses          ?      188
  Partials        ?        0

Continue to review full report at Codecov.

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


Rename to CONTRIBUTING.rst

File's formatting indicated rst markup language, but extension indicated in md. This makes github to display CONTRIBUTING file incorrectly.

CI failure is unrelated, and this does look better.

Thanks @laszukdawid, will merge in a day or so unless there are further comments.


Not saving on Homebrewery

My Homebrewery file won't save.
Additional Details
Share Link : http://homebrewery.naturalcrit.com/share/SyWNjV8pZ
or
Brew code to reproduce : Click to expand
PASTE BREW CODE HERE

For now, you can at least copy the text and save it onto your computer.
Whenever there is some issue with saving, it is almost always invalid HTML. The code you typed might not even be bad, but the way the website interprets the code might get confused. For instance, I see you have a header (##) literally on the same line as a (\page). This seems like something that would cause issues.

@calculuschild it still won't save after i finished after i fixed the error

I am unable to see the brew. i go to http://homebrewery.naturalcrit.com/share/SyWNjV8pZ and get "Can't get that"

I fixed the issues, thanks for the help everyone.


Fix panic when client and server share no supported elliptic curves

Description

Checks the length of supported ellipticCurves during handshake and returns an error if there are no overlapping supported elliptic curves.

Reference issue
Fixes #82

Fantastic, thank you so much?
Would you mind making that a const (and put in errors.go) and adding yourself to the README
Right after that I can get this merged, thank you!

Codecov Report

Merging #83 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
- Coverage   71.07%   71.02%   -0.05%
==========================================
  Files          51       51
  Lines        2911     2913       +2
==========================================
  Hits         2069     2069
- Misses        601      602       +1
- Partials      241      242       +1

Impacted Files
Coverage Δ

server_handlers.go
83.73% <0%> (-0.45%)
:arrow_down:

Continue to review full report at Codecov.

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


File uploading

It should work. At least in modern browsers.
Note that there is something wrong with saving of figures. It's not saving and not broadcasting, but without errors.
Hubclient will emit uploading progress percents.

Note that there is something wrong with saving of figures. It's not saving and not broadcasting, but without errors.

Don't understand. First you say it works, then it doesn't work ;) What means broadcasting? Sorry, perfect confusion ;)

Uploading is works and you will see the image. But other collaborators will not see it as well as you after refreshing the page.

Ah ok. But that's on my end then.

Tested and works. For progress I will do a separate iteration, but does not have priority yet.


Change the scope of questionnaire fragment's view model from activity to fragment

This seems like the right way to use ViewModel

Caution: A ViewModel must never reference a view, Lifecycle, or any class that may hold a reference to the activity context.

Reference

upon closer inspection i think this is not linked with #132. (but i've no idea now to disassociate that issue on github...)


Native Universal Render Pipeline Support

Describe the problem
To ensure the MRTK/Standard shader works with the Universal Render Pipeline, or URP (previously Lightweight Render Pipeline or LWRP), one must perform a manual upgrade which mutates the shader via the Mixed Reality Toolkit -> Utilities -> Upgrade MRTK Standard Shader for Lightweight Render Pipeline menu item.
Unity introduced (hard to tell when since documentation is light) the ability to write sub shaders which target different render pipelines. For instance:
// Lightweight Render Pipeline subshader. If LWRP is installed this will be used.
SubShader
{
    Tags { "RenderType" = "Opaque" "RenderPipeline" = "LightweightPipeline" }
    Pass
     {
        // HLSLPROGRAM
     }
}

// Universal Render Pipeline subshader. If URP is installed this will be used.
SubShader
{
    Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalRenderPipeline" }
    Pass
     {
        // HLSLPROGRAM
     }
}

// Built-in pipeline subshader. This is fallback subshader if a scriptable render pipeline is not being used.
SubShader
{
    Tags { "RenderType" = "Opaque" }
    Pass
     {
        // CGPROGRAM
     }
}

Adding these sub shaders to the MRTK/Standard shader would eliminate the need for a manual upgrade path and could address a few outstanding feature requests (more info below).
Describe the solution you'd like
I propose we add two new sub shaders, one for the LWRP (for Unity 2018) and one for the URP (for Unity 2019+), that are written in HLSL rather than CG. Using HLSL for the new sub shaders will enforce that we utilize the "new" shader includes intended for the scriptable render pipelines.
Note, moving to HLSL will require that some common shader code be refactored and/or ported so that we can avoid duplicating code across the various sub shaders (this is a non-trivial task).
One outstanding feature request that would benefit from this change would be support for the SRP Batcher. The batcher requires that shader variables be organized into constant buffers with specific names and layouts. This is currently impossible to achieve with a CG sub shader because the built in UnityCG.cginc include defines a handful of variables in a way that's incompatible with the batcher (unity_SpecCube0_HDR is one example). Unity recommends  not using CG includes with scriptable render pipelines.
Describe alternatives you've considered
Continue with the manual upgrade path and not support new scriptable render pipeline features such as the SRP Batcher.
Additional context
This was the only example I could find of this sub shader fallback system for render pipelines: example code
I likely won't have time to address this until I can wrap up a few MRTK-Unreal related tasks. But, I would welcome anyone who could work on this sooner!

Moving this change out of MRTK 2.6.0 and marking as DO NOT MERGE.
This PR provides a discussion point and an opportunity to validate the approach for a future MRTK release. Per @Cameron-Micka, this is a non-trivial change and one we should likely invest in for the future.

I wanted to check back on the issue. Were you able to make any progress yet? It's been 6 months now and there seems to be consensus that the item is important.

Thank you @rwetzold for bringing this up. I've been focused on MRTK-Unreal for the last few months. So, haven't had a chance to touch this.
But, something I think should be considered/prioritized for MRTK v3. @davidkline-ms what are your thoughts?

I spent some time last week looking at how we might better support the Universal Render Pipeline (URP) and remove the somewhat-hacky upgrade tooling we have right now.
After experimenting with the above suggestions I found we can do this rather easily in Unity 2020+; 2019 support is on & off due to various bugs; and 2018 support is non-existent. Here are the changes that make switching between render pipelines transparent to the developer: https://github.com/microsoft/MixedRealityToolkit-Unity/compare/main...Cameron-Micka:user/thmicka/improvedURPSupport
I would create a PR for this, but it only works in 2020+. 😞 So we might have to wait to introduce them.


[DDW-574] Bump Cardano-sl version to the tip of develop branch

This PR bumps the cardano-sl version to the tip of develop branch which prevents the automatic-update notification as currently used cardano-sl revision has older applicationVersion than the one proposed to Staging and Testnet networks.

Review Checklist:
Basics

[ ] PR is updated to the most recent version of target branch (and there are no conflicts)
[ ] PR has good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance tests are passing (yarn run test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn run dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn run package / CI builds)
[ ] There are no flow errors or warnings (yarn run flow:test)
[ ] There are no lint errors or warnings (yarn run lint)
[ ] Text changes are proofread and approved (Jane Wild)
[ ] There are no missing translations (running yarn run manage:translations produces no changes)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn run storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly documented and commented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-rendering
[ ] Any code that only works in Electron is neatly separated from components

Testing

[ ] New feature / change is covered by acceptance tests
[ ] All existing acceptance tests are still up-to-date
[ ] New feature / change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review:

[ ] Merge PR
[ ] Delete source branch
[ ] Move ticket to done on the Youtrack board

All tests are passing:


Build Error

The app have been running smoothly in the development mode but when i build  a release version , it only works on my computer but doesn't run on other windows  machines...
i tried couple of methods , but all would suggest the missing files which was already added...
i decided to remove bitsdojo package and now it's working ....
Have build release for before and after removal of the  package. i can email or attach it for more details
beside Kuddos for such an awesome package  , it brings a lot of impossibilities to life.

Please try updating to the latest bitsdojo_window version.


Best way to get leaves of element based on their level

Describe what did you try to do with TM1py
Hey Marius,
Is it possible to get the leaves under a specific member by filtering by a level? I know theres a function called
get_leaves_under_consolidation or get_members_under_consolidation.
But I think I don't get the results I was looking for.
Describe what's not working the way you expect
Didn't get the expected result? Describe:

Get the leave element names of a consolidated element based of a level filtering

Version

TM1py (2.0.4)
TM1 Server Version: [12.4.4]

Have you considered using MDX like this?

In:

with TM1Service(**tm1_params) as tm1:
    mdx = "{[Region].[Level000].Members}"
    result = tm1.elements.execute_set_mdx(
        mdx=mdx,
        element_properties=None,
        member_properties=["Name"],
        parent_properties=None)

    df = pd.DataFrame(record[0] for record in result)

    print(df.to_markdown())

Out:

Name

0
All Regions

In:

with TM1Service(**tm1_params) as tm1:
    mdx = "{[Region].[Level001].Members}"
    result = tm1.elements.execute_set_mdx(
        mdx=mdx,
        element_properties=None,
        member_properties=["Name"],
        parent_properties=None)

    df = pd.DataFrame(record[0] for record in result)

    print(df.to_markdown())

Out:

Name

0
United States

1
Canada

2
Mexico

3
Brazil

4
United Kingdom

5
Germany

6
France

7
Italy

8
Spain

9
Netherlands

Thanks for your fast answer,
I think that worked, but I don't know if theres a better option. Because I want to get the leaves of a member based of specific parameters which I can get off a view.

So you want all leaf elements that roll into a specific consolidation (e.g. Europe). And that specific consolidation comes from a cell in a cube view.
Is that correct?

Yes thats correct. I now have a solution to get the children.
This is what I'm using now in my for loop:
    mdx = "{[" + dimension_name + "].[" + row[0] + "].Children}"
    result = tm1.elements.execute_set_mdx(
        mdx=mdx,
        element_properties=None,
        member_properties=["Name"],
        parent_properties=None,
    )

I don't know if theres a better way but it works.

OK.
The Children function only returns the immediate children. You might want to use DESCENDANTS instead.
Also check out mdxpy. It helps build the MDX query dynamically and handles certain edge cases, such as characters that need to be escaped in a member name.


Can we discover TF files in the current working directory by default?

Terraform users are used to the idea of running TF commands in the current working directory for their files. It's inconvenient and unintuitive that we require the paths to be configured first. Can we discover files in the current working directory by default?
The obvious snag is operation when in service mode - we'd need to think about that a bit more carefully as part of this.

@e-gineer I like this approach, and we could use it similar plugins like CSV, Code (for INI, YML, etc.). We actually had started a similar change in https://github.com/turbot/steampipe-plugin-csv/pull/12, though it was incomplete and did not lean into setting the default of paths to the current working directory, which I think is a reasonable approach.
If we do set the default to something like:
connection "terraform" {
  plugin = "terraform"

  # Paths is a list of locations to search for Terraform configuration files.
  # Wildcards are supported per https://golang.org/pkg/path/filepath/#Match
  # Exact file paths can have any name. Wildcard based matches must have an
  # extension of .tf (case insensitive).
  paths = [ "." ]
}

Then I think the plugin should warn if paths is not set (since that would be a deliberate change from the default) and fail to initialize. This would give users proper warning so they can adjust their config file afterward.
If running in service mode, would you expect errors, or just no files loaded?


Team permission read is ignored if all permission fields are none

Description
When I try to change a team permission to read, the request is completely ignored if all fields of the permission map are set to none. I understand the idea behind this mechanism, but since the description of the read status is Members permissions will be decided by below permission table I'm questioning if its not a bug?
Would it be possible to explicit the read permission even if all fields are set to none ?
Gitea Version
1.21.1, 1.21.2
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Linux Mint, EndeavourOS
How are you running Gitea?
Official binaries, and running from systemd and command-line
Database
SQLite

What do you mean if all fields of the permission map are set to none, normally they should not be none. 🤔


Undeclared dependency on prop-types

The package depends on prop-types at runtime, but this dependency is not declared.
This happens to work with npm's hoisting since this package is usually used alongside other packages that do declare a dependency on prop-types, but will fail in pnpm with hoisting disabled and in yarn with p'n'p.
Here is a fairly minimal project that can be used for testing: test.zip

This package is added as a dependency in version 4.3.0


spotify-player: Fix darwin support

Description of changes
By requiring alsa-lib as a dependency when using the Rodio audio backend, this package won't build under MacOS, since the alsa-lib dependency does not support MacOS.
The alsa-lib dependency is only necessary for Linux compilation, so add a check for Linux.
(this is my first contribution to nix!)

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 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

[x] Fits CONTRIBUTING.md.

Thanks @wegank!


!tldr Private View

It may be nice to have the option to privately get the tldr of a conversation without interrupting the convo.
This should be a simple change of adding the kwarg ephemeral=True when the user wants it to be private
Ephemeral Link

Note that the private field only work with slash commands
so if someone uses it without slash commands it will not be private. but neither would the request so i think thats fine

Agree with this suggestion.


autoplay.stop() method working strange

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/agitated-dream-e37pmx?file=/index.html
Bug description
Let's imagine a case, we need a slider with autoplay, that pauses on hover, but if the user clicks navigation button autoplay is turns off.
const swiper = new Swiper(".mySwiper", {
  loop: true,
  navigation: {
    nextEl: ".swiper-button-next",
    prevEl: ".swiper-button-prev"
  },
  autoplay: {
    delay: 1000,
    pauseOnMouseEnter: true,
    disableOnInteraction: false
  },
  on: {
    navigationNext: swiper => swiper.autoplay.stop(),
    navigationPrev: swiper => swiper.autoplay.stop()
  }
});

And it seems logical, but in practice it isn't obvious. If you run this code, the slider will work as it should. Every second slide changes. After hovering it pauses. But if you click navigation button the most interesting thing begins, formally autoplay will stop, but every time if you hover the slider, slide will change.
Sorry for my bad English
Expected Behavior
I think, swiper autoplay needs disable, enable and/or destroy methods. Or maybe divide autoplay.disableOnInteraction into autoplay.disableOnHover and autoplay.disableOnIteraction.
Actual Behavior
No response
Swiper version
8.4.5
Platform/Target and Browser Versions
Windows Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Swiper v9 comes with fully reworked autoplay module. If you have similar issues in Swiper 9, open a new issue with a CodeSandbox showing the issue.


[New feature suggestion] Search Minimum Bin, Futbin Integration and Send Transfer List.

You all know. There is a script made by @Mardaneus86. Thanks to that script, we can see the players' Futbin prices in the transfer market and we can learn the minimum bin price of the player we want in the market with a single click. Mardaneus86 is not very interested in its script due to its work. If we add these features to our script, wouldn't it become a legend?
This is just a suggestion. If we add these features to our script, it can become super. Or, work on that script can be done and republished in a more advanced form. Really useful features. But unfortunately, it cannot be updated due to the indifference of its publisher.
@chithakumar13 Thank you very much for this script. You are such a great developer.

@cnbrkc , i have almost completed the integration with futbin  to get the minimum bin price , then i lost access to webapp since i dint purchase the game, waiting to getting a account with access to webapp. Once i have it , in the next release this will be available.

Just to be absolutely clear on this. It is not indifference from my side, I just do not want to support cheating or abuse in the FIFA community. I'd be very disappointed if my hard work would be copied for those reasons.

Regarding the "getting banned concerns" I support what @Mardaneus86 said. I used this script for 3 or 4 days until I realized it can't properly show the Captcha message and you still send API request to the server, even after "the fix" regarding the Captcha. I think you should put a BIG Warning on the main page of the project regarding being banned.
The people should know and realize that this script will probably get them banned, right now they only see the good part.

And even if you would get to the captcha screen, that's probably marking you in the EA backends already. Especially if you are not solving in time. Be prepared for a permanent ban soon in that case.
Their algorithms to detect abuse will be better than the straightforward implementation to look like a real user in this project. Remember that EA has plenty of money to spend on AI-detection algorithms. Users will get busted either way.

With the right settings, it can show like a real human being, and thus, it can be used for a long time without falling on the captcha screen, that is, without the EA noticing the situation. Of course the ea can grab it without coming to the capthca screen. But among so many grocery operations, it can be used without drawing attention :)
I'm sure all those who use this script are aware of the risk of a ban. In order not to be overlooked, it will be indicated by @chithakumar13  on the homepage. Everyone should use it at their own risk.
Thanks for making such an addition @chithakumar13 . You will bring this project to very good places and thanks to you we will not monetize this blood-sucking company with fifa points.


add tooltip for Downloads and fix center

[x] implement a WithTooltip component that shows a tooltip for desktop
[x] use it for the Downloads folder buttons
[x] fix "center" positions in relative-popup-hoc.desktop.js

w=1 is your friend!

@chrisnojima ready for another look; thanks!

🏓Ready for another look!

I tried it, LGTM

Thanks folks!


support subcluster name "default_subcluster" in replicated upgrade

This PR changes underscore to hyphen for the subcluster name in the operator.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: jizhuoyu:white_check_mark: roypaulin:white_check_mark: cchen-vertica:white_check_mark: chinhtranvan:white_check_mark: fenic-fawkes:x: spilchenspilchen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.