[bug] Throw rsa.is_ok error

After decrypting database I tdlib throwing error. libtdjson.so.1.4.0. Built with split source for amd64 Linux. OpenSSL 1.1.1  11 Sep 2018. Running with node 12.4.0. Error log
[ 3][t 4][1560870536.568617344][Td.cpp:4380][#1][!Td][&td_requests]  Sending update: updateOption {
  name = "version"
  value = optionValueString {
    value = "1.4.0"
  }
}
[ 3][t 4][1560870536.568700314][Td.cpp:4380][#1][!Td][&td_requests]  Sending update: updateAuthorizationState {
  authorization_state = authorizationStateWaitTdlibParameters {
  }
}
[ 3][t 0][1560870536.569825411][Client.cpp:267][&td_requests]        Begin to wait for updates with timeout 10.000000
[ 3][t 0][1560870536.569866657][Client.cpp:273][&td_requests]        End to wait for updates, returning object 0 0x7f36941015a0
[ 3][t 4][1560870536.578877211][Td.cpp:3285][#1][!Td][&td_requests]  Receive request 1: getAuthorizationState {
}
[ 3][t 4][1560870536.578926325][Td.cpp:4395][#1][!Td][&td_requests]  Sending result for request 1: authorizationStateWaitTdlibParameters {
}
[ 3][t 0][1560870536.581164360][Client.cpp:267][&td_requests]        Begin to wait for updates with timeout 10.000000
[ 3][t 0][1560870536.589283705][Client.cpp:273][&td_requests]        End to wait for updates, returning object 0 0x7f3694101b40
[ 3][t 4][1560870536.581279278][Td.cpp:3285][#1][!Td][&td_requests]  Receive request 2: getAuthorizationState {
}
[ 3][t 4][1560870536.589330673][Td.cpp:4395][#1][!Td][&td_requests]  Sending result for request 2: authorizationStateWaitTdlibParameters {
}
[ 3][t 4][1560870536.591422796][Td.cpp:3285][#1][!Td][&td_requests]  Receive request 3: setTdlibParameters {
  parameters = tdlibParameters {
    use_test_dc = false
    database_directory = "./db"
    files_directory = ""
    use_file_database = false
    use_chat_info_database = false
    use_message_database = false
    use_secret_chats = false
    api_id = 21724
    api_hash = "3e0cb5efcd52300aec5994fdfc5bdc16"
    system_language_code = "en"
    device_model = "UNKNOWN DEVICE"
    system_version = "UNKNOWN VERSION"
    application_version = "0.1.0"
    enable_storage_optimizer = false
    ignore_file_names = false
  }
}
[ 3][t 4][1560870536.591681957][Binlog.cpp:371][#1][!Td]     Load: init encryption
[ 3][t 4][1560870536.591820240][Td.cpp:4380][#1][!Td][&td_requests]  Sending update: updateAuthorizationState {
  authorization_state = authorizationStateWaitEncryptionKey {
    is_encrypted = true
  }
}
[ 3][t 4][1560870536.591925621][Td.cpp:4395][#1][!Td][&td_requests]  Sending result for request 3: ok {
}
[ 3][t 0][1560870536.592147827][Client.cpp:267][&td_requests]        Begin to wait for updates with timeout 10.000000
[ 3][t 0][1560870536.592189789][Client.cpp:273][&td_requests]        End to wait for updates, returning object 1 0x7f3694101c10
[ 3][t 0][1560870536.593481302][Client.cpp:267][&td_requests]        Begin to wait for updates with timeout 10.000000
[ 3][t 0][1560870536.593518019][Client.cpp:273][&td_requests]        End to wait for updates, returning object 2 0x7f3694101cd0
[ 3][t 0][1560870536.594120264][Client.cpp:267][&td_requests]        Begin to wait for updates with timeout 10.000000
[ 3][t 0][1560870536.594145536][Client.cpp:273][&td_requests]        End to wait for updates, returning object 0 0x7f36941070a0
[ 3][t 0][1560870536.594805956][Client.cpp:267][&td_requests]        Begin to wait for updates with timeout 10.000000
[ 3][t 0][1560870536.594840050][Client.cpp:273][&td_requests]        End to wait for updates, returning object 3 0x7f36941070c0
[ 3][t 4][1560870536.594857216][Td.cpp:3285][#1][!Td][&td_requests]  Receive request 4: checkDatabaseEncryptionKey {
  encryption_key = bytes [24] { 69 A6 9A 69 A6 9A 69 A6 9A 69 A6 9A 69 A6 9A 69 A6 9A 69 A6 9A 69 A6 9A }
}
[ 3][t 0][1560870536.595154762][Client.cpp:267][&td_requests]        Begin to wait for updates with timeout 10.000000
[ 3][t 4][1560870536.595218420][Binlog.cpp:371][#1][!Td]     Load: init encryption
[ 3][t 4][1560870536.596918344][Td.cpp:3995][#1][!Td]        Successfully inited database in [database_directory:/home/ubuntu/tgstore/db/] and [files_directory:/home/ubuntu/tgstore/db/]
[ 3][t 4][1560870536.597064257][NetQueryDispatcher.cpp:274][#1][!Td] [main_dc_id:1]
[ 0][t 4][1560870536.597251892][PublicRsaKeyShared.cpp:24][#1][!Td][&r_rsa.is_ok()]  [Error : 0 : Cannot dup BIGNUM] -----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAwVACPi9w23mF3tBkdZz+zwrzKOaaQdr01vAbU4E1pvkfj4sqDsm6
lyDONS789sVoD/xCS9Y0hkkC3gtL1tSfTlgCMOOul9lcixlEKzwKENj1Yz/s7daS
an9tqw3bfUV/nqgbhGX81v/+7RFAEd+RwFnK7a+XYl9sluzHRyVVaTTveB2GazTw
Efzk2DWgkBluml8OREmvfraX3bkHZJTKX4EQSjBbbdJ2ZXIsRrYOXfaA+xayEGB+
8hdlLmAjbCVfaigxX0CDqWeR1yFL9kwd9P0NsZRPsmoqVwMbMu7mStFai6aIhc3n
Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
-----END RSA PUBLIC KEY-----
Aborted (core dumped)

There is something wrong with the OpenSSL.
Node.JS uses OpenSSL itself, so on Linux you need to build TDLib with exactly the same OpenSSL version, which was used to build Node.JS. 12.4.0 is supposed to use 1.1.1, so there should be no problem, but you need to check that Node.JS was really built with OpenSSL 1.1.1 and not 1.1.0 or older version.

I built tdlib with newer openssl and it works. Thank you


Refactor/xacro launch generic elite description - generic elite arm robot description

Added use_gazebo and use_arm_type arguments,  changed urdf to give flexibility to use other elite arms by just adding meshes and config files, renamed filed

i have made the updates to the elite packages anna. kindly let me know if it is okay. I will then add the functionality for cs66 arm too

But there is still an issue with the MoveIt package right?

yes anna. But, the description files were updated.


Changes Link to Virtual Environment

Changes Link to Virtual Environment in In the course Chapter - 15 README.md

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


wtforms: Update to 2.1, make work on python3, disable tests for now.

Things done:

[ ] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
[ ] Built on platform(s): Linux
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

More
Fixes issue #
cc @

Please note, that points are not mandatory, but rather desired.

Updated and re-tested with nox-review wip. PTAL.


Allow TargetBytecode to be set in Groovyc Ant task to all supported versions

The parameter now supports 1.8, 1.7, 1.6, 1.5 or 1.4 as opposed to previously 1.4 and 1.5 only. This allows to compile to bytecodeversion 1.8 from ant and not just max 1.5 as before.

merged, thanks

Tracked in: https://issues.apache.org/jira/browse/GROOVY-7827


add scale support

fixed in https://github.com/bertt/i3dm.export/commit/f7716e097aea9e53f43de777c22540503d220de5


Build and publish images for Arm architectures

Describe the proposal
Currently docker images for the samples are built for amd64 architecture only. If using multi-arch build to target Arm architectures, then samples can be deployed to devices such as Raspberry Pi.

YoungBu. Has this now been resolved in the CLI for upcoming release? (v0.5.0 runtime)

YoungBu. Has this now been resolved in the CLI for upcoming release? (v0.5.0 runtime)

No he is asking about building sample docker image for arm. we don't support it.

Samples are expected to show how to do something and will not run on all platforms.


The second-to-last Release action failed with error code 400 (Bad Request)

The second-to-last Release action run has failed, in particular the Submit (chrome) job failed as follows:

Response code 400 (Bad Request)
"message": "Publish condition not met: To publish your item, you must certify that your data usage complies with our Developer Program Policies. You can certify this on the Privacy tab of the item edit page of the Developer Dashboard."

And, in the last Release action, the 'Submit (chrome)' job was skipped.
Kindly cc @fregante as he is the one who manually triggered the action.
For reference, the latest version published in CWS is 20.9.9, while the latest release is 20.12.27 .
P.S. Happy new year!

Thanks! I added the missing data and re-submitted it. Happy new year!

Thanks! I added the missing data and re-submitted it. Happy new year!

The new version is now in CWS. Thank you!

The new version is now in CWS. Thank you!

Hi @fregante
I see that in today's Release action run, the Submit (chrome) job failed:

"code": 400,
"message": "Publish condition not met: You must verify your contact email before you can publish any item. Begin the verification process on the Account tab.",

Check the open issue

Greetings @fregante
I noticed that it occurred again today, with the following error:

code: 400,
message: 'Publish condition not met: To publish your item, you must provide mandatory privacy information in the new Developer Dashboard: https://chrome.google.com/webstore/devconsole. Click on your item from the home page and enter this information on the Privacy practices tab.',

How do you know? 😂
But yes I had to explain the new permission:

https://github.com/hankxdev/one-click-extensions-manager/pull/140#discussion_r1695707227


Time Out Error

Hello @aqeelanwar
Thank you for your great project.
I run this project in move_around mode without any error but when  I want to run this project in infer mode. when I try to run it I got this error:
"""
Traceback (most recent call last):
File "main.py", line 104, in
eval(name)
File "", line 1, in
File "E:\Thesis\PEDRA\algorithms\DeepQLearning.py", line 28, in DeepQLearning
client, old_posit, initZ = connect_drone(ip_address=cfg.ip_address, phase=cfg.mode, num_agents=cfg.num_agents)
File "E:\Thesis\PEDRA\aux_functions.py", line 297, in connect_drone
client.confirmConnection()
File "C:\Users\hamed\anaconda3\envs\Thesis\lib\site-packages\airsim\client.py", line 54, in confirmConnection
if self.ping():
File "C:\Users\hamed\anaconda3\envs\Thesis\lib\site-packages\airsim\client.py", line 24, in ping
return self.client.call('ping')
File "C:\Users\hamed\anaconda3\envs\Thesis\lib\site-packages\msgpackrpc\session.py", line 41, in call
return self.send_request(method, args).get()
File "C:\Users\hamed\anaconda3\envs\Thesis\lib\site-packages\msgpackrpc\future.py", line 43, in get
raise self._error
msgpackrpc.error.TimeoutError: Request timed out
""""
can you help me please.
Thank you

Can you please share your settings.json file from your documents folder?

Thank you for your response.
This is my setting.json file

I can't what is problem. but it solved without any change.
Thank you for your support.

I can't what is problem. but it solved without any change.
but when I change mode in "train" or "infer" I can't see environment and quadcopter or environment not shown. what is problem ?
Thank you for your support.

By default the rendering is turned off to speed up the training procedure. You can hit the key '/' to render the environment and see the drone moving around.

Thank you very much . :)))

Did this solve your problem?


Exporting discretemeasure

This is a simple PR exporting the discretemeasure function. If this PR is merged, then I'll update the docs with examples.

Codecov Report

Merging #15 (72112ac) into main (1b1d3da) will increase coverage by 3.66%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   93.16%   96.83%   +3.66%
==========================================
  Files           4        4
  Lines         161      158       -3
==========================================
+ Hits          150      153       +3
+ Misses         11        5       -6

Impacted Files
Coverage Δ

src/utils.jl
100.00% <ø> (ø)

src/exact.jl
98.11% <0.00%> (+5.45%)
: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 1b1d3da...72112ac. Read the comment docs.

@devmotion , good to go?

Should we waint for the RowCols thing, or can we already export the function?


[WIP] Fix amalgamation

[x] Compile
[ ] Add support for MKLDNN
[ ] Add support for NNPACK
[ ] Test with pretrained model
[ ] Add test to jekins

we also need to test mkldnn for amalgamation
@arank

Updated task

MKLdnn Integration Patch to improve issue #2986(call for cpu performance)
https://github.com/dmlc/mxnet/pull/3438

NNPACK pc support is done, but not test on mobile yet

@antinucleon can we add a testcase to ensure amga always compile?

updates?


Get direct URL to user profile from getUserByUsername() response?

I couldn't find the direct url to the users page in the response of getUserByUsername(). Where can I access the instagram url from a user searched?
Cheers.

The link to a user’s profile will always be https://instagram.com/username.

Oh okay sweet, thank you.


Please fix https://reactnative.dev/blog/2018/05/07/using-typescript-with-react-native

Please fix the documentation
Description
Outdated information is provided:

react-native init MyAwesomeProject --template typescript

React Native version:
4.7.0 (react-native info didn't work. Had to use react-native --version)
Steps To Reproduce

Got to https://reactnative.dev/blog/2018/05/07/using-typescript-with-react-native
Follow the updated step to create react-native with TypeScript support.
No project is created. Complains that 'typescript' template is not found

Expected Results
Just to work and initialize the project
Snack, code example, screenshot, or link to a repository:

Hi @kotpal please create an issue in the docs repo here: https://github.com/facebook/react-native-website
In the meantime if you are having issues with the typescript template check out the community repo here: https://github.com/react-native-community/react-native-template-typescript


[20171104] Add badges

Add:

Add badges with [1. gitbook 2. Licence 3. Open Source (love)]

Thanks for contributing @KBJIYU !


Adding dependabot and automation

Adding dependabot to keep Quarkus version up-to-date as well as some automation to run tests against Quarkus version.
NOTE: I did not add any of the other branches into the dependabot config because I wasn't sure which branches actually had tests that could verify the dependency updates don't break anything.
The Quarkus version does.

@marcushellberg If you're interested, I can show you how to set up dependabot automerging, so on any branches you choose, if dependabot bumps a dependency version and the tests pass, then the PR that dependabot creates will automatically merge.
This is an awesome thing and I use it a lot in most of my repos. I know I write good tests, so if my tests pass I'm ok being completely hands off. Less button-clicking for me.


how to use command line

Hi , Can you please guide me how to use this by command line(I don't want gui )  ?

The command line feature was removed when the GUI version was published. I just made a fork to re-implement the ability to use command line parameters again.

Thankyou can you please share the link I also want to contribute.

@codingbeast I haven't commited anything yet, will share it as soon as I found some time to do so.


点击生成音频报错：Connection Error out？连接失败？

ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/type_adapter.py", line 210, in init
core_schema = _getattr_no_parents(type, 'pydantic_core_schema')
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/type_adapter.py", line 98, in _getattr_no_parents
raise AttributeError(attribute)
AttributeError: pydantic_core_schema
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in call
return await self.app(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/applications.py", line 113, in call
await self.middleware_stack(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/middleware/errors.py", line 187, in call
raise exc
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/middleware/errors.py", line 165, in call
await self.app(scope, receive, _send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/gradio/route_utils.py", line 720, in call
await self.simple_response(scope, receive, send, request_headers=headers)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/gradio/route_utils.py", line 736, in simple_response
await self.app(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/middleware/exceptions.py", line 62, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/_exception_handler.py", line 62, in wrapped_app
raise exc
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/routing.py", line 715, in call
await self.middleware_stack(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/routing.py", line 735, in app
await route.handle(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/_exception_handler.py", line 62, in wrapped_app
raise exc
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/starlette/routing.py", line 73, in app
response = await f(request)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/fastapi/routing.py", line 291, in app
solved_result = await solve_dependencies(
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/fastapi/dependencies/utils.py", line 639, in solve_dependencies
) = await request_body_to_args(  # body_params checked above
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/fastapi/dependencies/utils.py", line 813, in request_body_to_args
fields_to_extract = get_cached_model_fields(first_field.type)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/fastapi/_compat.py", line 657, in get_cached_model_fields
return get_model_fields(model)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/fastapi/_compat.py", line 284, in get_model_fields
return [
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/fastapi/_compat.py", line 285, in
ModelField(field_info=field_info, name=name)
File "", line 6, in init
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/fastapi/_compat.py", line 110, in post_init
self._type_adapter: TypeAdapter[Any] = TypeAdapter(
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/type_adapter.py", line 212, in init
core_schema = _get_schema(type, config_wrapper, parent_depth=_parent_depth + 1)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/type_adapter.py", line 81, in get_schema
schema = gen.generate_schema(type)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 499, in generate_schema
schema = self._generate_schema_inner(obj)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 734, in _generate_schema_inner
return self._annotated_schema(obj)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 1749, in _annotated_schema
schema = self._apply_annotations(source_type, annotations)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 1817, in _apply_annotations
schema = get_inner_schema(source_type)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_schema_generation_shared.py", line 82, in call
schema = self._handler(source_type)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 1899, in new_handler
schema = metadata_get_schema(source, get_inner_schema)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 1895, in
lambda source, handler: handler(source)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_schema_generation_shared.py", line 82, in call
schema = self._handler(source_type)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 1798, in inner_handler
schema = self._generate_schema_inner(obj)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 755, in _generate_schema_inner
return self.match_type(obj)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 837, in match_type
return self._match_generic_type(obj, origin)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 861, in _match_generic_type
return self._union_schema(obj)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 1149, in _union_schema
choices.append(self.generate_schema(arg))
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 499, in generate_schema
schema = self._generate_schema_inner(obj)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 755, in _generate_schema_inner
return self.match_type(obj)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 841, in match_type
return self._unknown_type_schema(obj)
File "/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_generate_schema.py", line 402, in _unknown_type_schema
raise PydanticSchemaGenerationError(
pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'starlette.requests.Request'>. Set arbitrary_types_allowed=True in the model_config to ignore this error or implement get_pydantic_core_schema on your type to fully support it.
If you got this error by calling handler() within get_pydantic_core_schema then you likely need to call handler.generate_schema() since we do not call get_pydantic_core_schema on  otherwise to avoid infinite recursion.
For further information visit https://errors.pydantic.dev/2.7/u/schema-for-unknown-type

解决了，前往/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_config.py中，将arbitrary_types_allowed=True即可

解决了，前往/opt/miniconda3/envs/cosyvoice/lib/python3.8/site-packages/pydantic/_internal/_config.py中，将arbitrary_types_allowed=True即可

厉害👍，我今天也折腾了一天，按你这个一改就成功了，太感谢了！


[Bug]: tsp-toolkit depends on private repos, building impossible.

Pre-check

[X] I have searched the existing issues and discussions to make sure my problem has not already been addressed.
[X] I have looked at the "Known Issues" Section of the marketplace page of all TSP Toolkit extensions.

This project's dependencies currently contains three private repos, @tektronix/keithley_instrument_libraries, @tektronix/kic-cli, and @tektronix/web-help-documents, making work on the extension impossible.

macOS Sonoma 14.4.1 (23E224)
Node v18.17.1
pnpm v9.0.6
tsp-toolkit commit e1f6d57

TSP Toolkit Version
0.15.0
TSP Toolkit Develop Version
0.15.0
Steps to Reproduce

Fork tsp-toolkit
Clone (git clone https://github.com/956MB/tsp-toolkit.git)
Run pnpm install:

 ERR_PNPM_FETCH_401  GET https://npm.pkg.github.com/@tektronix%2Fkeithley_instrument_libraries: Unauthorized - 401

Delete "@tektronix/web-help-documents": "0.15.0", from package.json
Run pnpm install again:

 ERR_PNPM_FETCH_401  GET https://npm.pkg.github.com/@tektronix%2Fweb-help-documents: Unauthorized - 401

Delete "@tektronix/kic-cli": "0.15.1", from package.json
Run pnpm install again:

 ERR_PNPM_FETCH_401  GET https://npm.pkg.github.com/@tektronix%2Fweb-help-documents: Unauthorized - 401

Delete last line "@tektronix/keithley_instrument_libraries": "0.15.0", from package.json
Running pnpm install this last time installs fine with no errors, but then obviously we don't have the packages needed for COMMAND_SETS and EXECUTABLE in src/extension.ts, and elsewhere:

import { COMMAND_SETS } from "@tektronix/keithley_instrument_libraries"
import { EXECUTABLE } from "@tektronix/kic-cli"

// ├╴E  Cannot find module '@tektronix/keithley_instrument_libraries' or its corresponding type declarations. typescript (2307) [5, 29]
// ├╴E  Cannot find module '@tektronix/kic-cli' or its corresponding type declarations. typescript (2307) [6, 27]

@956MB I just checked and all those repos and packages are set to public visibility. I am not familiar with pnpm, but we do define the @tektronix scope in the .npmrc file in the project root. I'm not sure if pnpm respects that file.

Just tried npm ci on my personal laptop and got the same issue. I think you need to set up authentication to use the GitHub npm registry (see https://stackoverflow.com/a/61666885 for more info). You'll just need to create a GitHub PAT to use for that authToken. We do plan to add a better Contributing document in the future.

In my work .npmrc file, I have something like
//npm.pkg.github.com/:_authToken=GITHUB_PAT

Where GITHUB_PAT is the literal PAT generated by GitHub.

Yeah I reached the same conclusion and was finally able to get through. I was just about to comment the same thing 👍 👍 A note about having the right env variable with the PAT set would probably be best.

unless it was on me not having an up to date token with permissions...

I think it is on us for not having better developer docs. It's in the works, but I'm glad that you submitted this issue so we would know to state it explicitly!

Internal reference: TSP-663


span styling is too generic

Currently many css rules are using span directive directly without any specification, for example:
td span {
  line-height: 28px; }

.dropdown-menu.msg_list span {
  white-space: normal; }

.widget_summary .w_right span {
  font-size: 20px; }

This is causing problem when using any span element for SEO marking purposes.
Please make these span based styling rules more specific, perhaps by using classes rather than directly the generic tags, such as:
td span.height28 {
  line-height: 28px; }

.dropdown-menu.msg_list span.ws {
  white-space: normal; }

.widget_summary .w_right span.fs20 {
  font-size: 20px; }

Making these style rules specific to the context (such as adding special classes for that purpose), will make it possible to reuse those tags in user code without having to worry about the baseline theme customization (that are currently creating unwanted side-effects).

Add classes to elements and then your selector will be stronger.
Less strong css selector is - more easy to customize.

Hi @KrishnaPG ,
Thank you for the suggestion, we will take that into consideration :)


Geting a teg from a URL passed to serv er project in Blazor WenApplication App

Hi, I sent a question in yesterday from the page on routing to an MVC Controller and Luke Latham answered me, saying I was going the wrong way about it and should be using Blazor routing and directing me to this page ("ASP.NET Core Blazor routing").  Thanks for that.  But I still do not have success.
What I am trying to do is to have a html element in the browser link to a URL like "somepage/tag" or "somepage/group/tag", intercept the request in my application (a Blazor WenApplication App), strip off the tag and pass it through to a method in the Server project, and then redirect the client to one of my pages (not "somepage" which probably does not exist, perhaps back to the page the client was on, perhaps to some other page).  With my first attempt, using routing to an MVC Controller, I could direct the URL to my Controller in the Blazor Server project and strip off the tag (and use it to influence my business logic in external classes) but could not see how to redirect the client to where I wanted to.   Using the "ASP.NET Core Blazor routing" approach I can intercept the request in the Blazor Client project, get the tag, and redirect the client to wherever I want, but I cannot see how to pass the tag through to a method in the Blazor Server project.  I have looked at the "Call a Web API from ASP.Net Core Blazor" but that seems to be dealing with an external server.  And the documentation I can get to for most of the classes is pretty basic with little explanation or help (it is preview material, after all).
Can you please aim me in the right direction.
Bryan Fitzpatrick
<EMAIL_ADDRESS>Can you

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 79da574a-570f-04eb-86bd-c8065a016f44
Version Independent ID: ac771374-6102-b838-57d2-e99bcf3f7d3e
Content: ASP.NET Core Blazor routing
Content Source: aspnetcore/blazor/routing.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @BryanFitzpatrick ...

I have looked at the "Call a Web API from ASP.Net Core Blazor" but that seems to be dealing with an external server.

As far as the client-side app is concerned, the Server project IS an external app. It interacts with it via HttpClient. For example, you can see how it's wired up if you create a Hosted WASM project and inspect how the WASM app interacts with the Server project for weather data.
WRT coverage for anything like this pattern, it's an edge case for us to cover, especially at the moment with so many high priority issues to resolve. We have several weeks of work to do here just to improve the docs in fundamental ways.
For general support, we refer developers to the usual support channels, such as ...

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Open an issue (or a chat) with devs on one or more of those channels, and they'll be able to further assist you with specific use cases.


Watch goes into a loop if --output dir is not the default

Hello.
Great package!
However, if I set the output folder to dist then the watch script goes into a never ending loop when the files in dist/build are updated.
This doesn't happen if I omit the --output folder.
I figure this value is not being passed to an ignore list somewhere.

Fixed as of 3.2.1


env variables not accessible in vite.config.js

Describe the bug
Variables from .env* files are accessible only during development/build but not already in vite.config.js.
Im not sure if this behaviour was omitted on purpose because it doesn't align with vite's design or it was simply forgotten, but when I was using vue-cli I got used to having the env variables available already in vue.config.js. I find it super convenient to be able to setup the vue/vite configuration parameters based on the values provided by the .env* files (instead of checking the mode and conditionally setting the parameters to the same values which are already in my .env* files.
My current workaround is to use dotenv-flow package to imitate the same behaviour as in vue cli and put this on top of my vite.config.js: require('dotenv-flow').config().
Reproduction

create .env with some variable: e.g. VITE_BASE_URL=/example/
put console.log(process.env.VITE_BASE_URL) or console.log(import.meta.env.VITE_BASE_URL) somewhere in your vite.config.js
its undefined

System Info

vite version: 2.0.0-beta.65
Operating System: Windows 10 64bit
Node version: v12.20.1
Package manager (npm/yarn/pnpm) and version: npm 6.14.10

There's a chicken-egg problem here: Vite expects to resolve .env files from project root, but project root can be made different by the config file.
So if we resolve .env before resolving the config file, we can only resolve it from CWD, which would then break the case where the user puts .env files in a nested root specified via config.

This also applies to postcss file, on v1.x I was able to use variables from .env files, but seems like from v2.x those are not being injected until a later point.
Let me know if you need a repository with reproduction 👍

we use a simple trick to do this in our project
export default ({ mode }) => {
    require('dotenv').config({ path: `./.env.${mode}` });
    // now you can access config with process.env.{configName}

    return defineConfig({
        /* ... */
    })
}

For my use case I wanted to set the base property conditionally. I thought I could do this via env variables in vite.config.ts and ran into the same problem.
@pionxzh I may be wrong but should that be simply:
export default defineConfig(({mode}) => {
  require('dotenv').config({ path: `./.env.${mode}` });
  return {
    /* ... */
  }
});

The type definitions for defineConfig show that it accepts either the config object or a function that returns the config object:
export declare function defineConfig(config: UserConfigExport): UserConfigExport;

export declare type UserConfigExport = UserConfig | UserConfigFn;

export declare type UserConfigFn = (env: ConfigEnv) => UserConfig;

export declare interface ConfigEnv {
    command: 'build' | 'serve';
    mode: string;
}

For my use case I wanted to set the base property conditionally. I thought I could do this via env variables in vite.config.ts and ran into the same problem.
@pionxzh I may be wrong but should that be simply:
export default defineConfig(({mode}) => {
  require('dotenv').config({ path: `./.env.${mode}` });
  return {
    /* ... */
  }
});

@jonjanisch
Ye, I think this way should be better, I didn't notice that defineConfig provide a function interface.
Thanks for the information 👍

found another trick in an older issue (https://github.com/vitejs/vite/issues/1096#issuecomment-729077386), which also covers .env.*.local files:
import { loadEnv } from 'vite'

export default ({ mode }) => {
  Object.assign(process.env, loadEnv(mode, process.cwd()))
  ...
}

Thanks for the code of @jmheretik. I'm using this in postcss.config.js.
I want to change the URL of the CSS background in postcss.config.js. However, the URL prefix is set in .env file. And postcss.config.js can't get variables from import.env(vite export)
module.export = ctx => {
  const {loadEnv} = require('vite')
  const {MY_VARIABLE} = loadEnv(ctx.env, process.cwd)
  return {
   ....
  }
}

I think this behavior could be documented on https://vitejs.dev/guide/env-and-mode.html, shall I craft a PR?

if the .env files are not in the root folder, the following workaround worked for me.
const envDir = path.resolve(__dirname, "environment");

// see: https://github.com/vitejs/vite/issues/1930#issuecomment-783747858
const loadEnvVariables = (mode: string): void => {
    Object.assign(process.env, loadEnv(mode, envDir, ""));
    console.debug("process.env contains: \n" + JSON.stringify(process.env, undefined, 2));
};

// https://vitejs.dev/config/
export default defineConfig((init) => {
    loadEnvVariables(init.mode);
    return {
    .....

Compared to the other answers, I had to provide an empty string to the 3rd parameter of loadEnv. I am not sure why,

This did not work for me:
Object.assign(process.env, loadEnv(mode, process.cwd()))
But this did:
Object.assign(process.env, loadEnv(mode, process.cwd(), ''))

This work for me:
export default defineConfig(({ mode }) => {
  const env = loadEnv(mode, process.cwd())

  const processEnvValues = {
    'process.env': Object.entries(env).reduce(
      (prev, [key, val]) => {
        return {
          ...prev,
          [key]: val,
        }
      },
      {},
    )
  }

  return {
    plugins: [react()],
    define: processEnvValues
  }
}

Another workaround: Just use dotenv and then put the following at the top of your vite config/sveltekit config:
import 'dotenv/config';


Rewrite OpenID Connect certification documentation

Let me know if you need any help with this issue. I periodically run OIDC conformance tests and can help with nuances.

Thanks! I managed to run the tests just now based on the "old" config on the current page.
Right now I'm just trying to simplify the docs, but we should definitely talk about next steps at some point. Would be nice to get at least the Basic OP certification.


Recent EarnApp API update

JSON: bonus => ref_bonus
JSON: bonuses_total => ref_bonuses_total

Thanks for the fix @Yariya

Hey, can u add my new dc acc? Yariya#5022
Having ideas :)


Sha3 bypass panic

cli --sha3-bypass --work-dir /bsc/0x9bd7cd81B1dDd0f5F0c77A22f541AF24653aD129  -c BSC --onchain --onchain-block-number 29625908 -f --target 0x9bd7cd81B1dDd0f5F0c77A22f541AF24653aD129
gives:
thread 'main' panicked at 'index out of bounds: the len is 4 but the index is<PHONE_NUMBER>3709551615', /ityfuzz/src/evm/middlewares/sha3_bypass.rs:216:39
I guess it has connection to heimdall decompilation.
When running this without sha3-bypass, execution ends with:
memory allocation of<PHONE_NUMBER>8446112 bytes failed

I'd also noticed that sha bypass makes almost any contract on BSC to hang on the step of infant testcases generation.
E.g:
 /ityfuzz/cli/target/release/cli -c BSC --sha3-bypass --onchain --onchain-block-number 29668766 -f -i --selfdestruct-oracle -p --target 0xa5d0c46a8b29a44f099f034d4068921c5bf899c8

Thanks for reporting. It seems there is some issues in revm leading to this DoS.


Spelling error in description of workbench.editor.wrapTabs

Issue Type: Bug
Second occurrence of the word 'whether' is incorrectly spelled 'wether'

VS Code version: Code - Insiders 1.53.0-insider (a48ef56fbf7767f55a193d7d5687addd1fc9239c, 2021-01-05T05:23:04.938Z)
OS version: Windows_NT x64 10.0.19042

via https://github.com/microsoft/vscode/commit/c4ea0b55906a3ebdedc39f4e921a109181e016d5

via https://github.com/microsoft/vscode/commit/c4ea0b55906a3ebdedc39f4e921a109181e016d5


Ensure all TIF rasters are COGs

I see the file https://github.com/giswqs/data/raw/main/raster/landsat7.tif used in a number of examples but this file results in a warning from rio-tiler:
NoOverviewWarning: The dataset has no Overviews. rio-tiler performances might be impacted.

Could we use rio-cogeo to convert/make sure all TIF rasters hosted here are valid Cloud Optimized GeoTiffs (COGs)?
I'd be happy to do this for all the rasters here if I get a free moment to clone the repo

Sure. I will replace them with COG.


Add ClickHouse external data support

This should fix #59
Here are benchmark results for old and new logic grouped by the number of metrics returned by the finder:
# request.sh:
# curl "http://localhost:8080/render?target=sum($(series "$1"))&from=-24h&until=now&format=json&maxDataPoints=30"

$ for test in 4 320 1432 2366 5876 10151 35957; do hyperfine -w 2 -r 10 "./request.sh $test"; done
Benchmark #1: ./request.sh 4
# old
  Time (mean ± σ):     233.9 ms ±  24.9 ms    [User: 28.6 ms, System: 18.7 ms]
  Range (min … max):   194.1 ms … 264.3 ms    10 runs
# new
  Time (mean ± σ):     215.8 ms ±  19.9 ms    [User: 23.8 ms, System: 15.2 ms]
  Range (min … max):   176.8 ms … 245.4 ms    10 runs

----

Benchmark #1: ./request.sh 320
# old
  Time (mean ± σ):      1.715 s ±  0.756 s    [User: 7.7 ms, System: 4.7 ms]
  Range (min … max):    0.756 s …  3.185 s    10 runs
# new
  Time (mean ± σ):     728.5 ms ±  71.9 ms    [User: 7.3 ms, System: 4.9 ms]
  Range (min … max):   655.3 ms … 871.9 ms    10 runs

----

Benchmark #1: ./request.sh 1432
# old
  Time (mean ± σ):      2.585 s ±  0.521 s    [User: 7.9 ms, System: 2.6 ms]
  Range (min … max):    2.259 s …  4.023 s    10 runs
# new
  Time (mean ± σ):      2.070 s ±  0.267 s    [User: 5.3 ms, System: 4.5 ms]
  Range (min … max):    1.796 s …  2.778 s    10 runs

  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.

----

Benchmark #1: ./request.sh 2366
# old
  Time (mean ± σ):      3.847 s ±  1.719 s    [User: 6.4 ms, System: 3.2 ms]
  Range (min … max):    2.699 s …  7.413 s    10 runs

  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
# new
  Time (mean ± σ):      2.745 s ±  0.793 s    [User: 5.6 ms, System: 3.8 ms]
  Range (min … max):    2.264 s …  4.952 s    10 runs

----

Benchmark #1: ./request.sh 5876
# old
  Time (mean ± σ):      6.365 s ±  2.375 s    [User: 5.3 ms, System: 5.0 ms]
  Range (min … max):    4.547 s … 11.924 s    10 runs
# new
  Time (mean ± σ):      4.984 s ±  2.903 s    [User: 7.3 ms, System: 2.7 ms]
  Range (min … max):    3.356 s … 12.362 s    10 runs

  Warning: The first benchmarking run for this command was significantly slower than the rest (12.362 s). This could be caused by (filesystem) caches that were not filled until after the first run. You should consider using the '--warmup' option to fill those caches before the actual benchmark. Alternatively, use the '--prepare' option to clear the caches before each timing run.

----

Benchmark #1: ./request.sh 10151
# old
  Time (mean ± σ):     19.780 s ±  4.474 s    [User: 8.7 ms, System: 5.8 ms]
  Range (min … max):   16.728 s … 31.647 s    10 runs
# new
  Time (mean ± σ):     11.199 s ±  3.898 s    [User: 5.7 ms, System: 5.7 ms]
  Range (min … max):    8.273 s … 19.967 s    10 runs

----

Benchmark #1: ./request.sh 35957 # is failed because of too long queries, more than 512k characters
# old
  Time (mean ± σ):     725.6 ms ± 142.7 ms    [User: 14.4 ms, System: 17.1 ms]
  Range (min … max):   548.4 ms … 1021.2 ms    10 runs
# new
  Time (mean ± σ):     13.846 s ±  5.729 s    [User: 6.7 ms, System: 5.0 ms]
  Range (min … max):   11.167 s … 30.026 s    10 runs

  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet PC without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.

If somebody interested in profiles I've done during the mentioned benchmarks, here they are
graphite-clickhouse.samples.cpu.pb.gz
graphite-clickhouse_in.samples.cpu.pb.gz

This works in our production already for a week, should be safe to use


Cho'Gal Unit Name shows as Player Names

So I have the Unit name display type enabled but the UI is still showing the Player names. Seems like this an engine bug and not something we can control?

Nice catch! I have not thought of Cho'Gall!
The label will most likely be overridden after the game started.
Potentially, it needs to use a different label.

Nice catch! I have not thought of Cho'Gall!
The label will most likely be overridden after the game started.
Potentially, it needs to use a different label.

I noticed it during my spectator, It caught a Cho'Gall player called Cov'id19 and I was laughing and then I was like "hey, wait a second!!".

I noticed it during my spectator, It caught a Cho'Gall player called Cov'id19 and I was laughing and then I was like "hey, wait a second!!".


donot limit action in opened & add column_name

@srggrs Please help make a new release, Thanks.

@SunRunAway I published the new action as a draft but I'm sure why my workflows fail. see https://github.com/srggrs/assign-one-project-github-action/actions/runs/52218347 and https://github.com/srggrs/assign-one-project-github-action/actions/runs/52205282
I get an error in parsing the workflow file....

@SunRunAway fixed. The description field of the action was not a valid yaml


discovery+lnwire: add support for DNS host names in NodeAnnouncement msg

Today it isn't possible to advertise a proper hostname in the NodeAnnouncement message. Historically, we've gotten around this by adding a CLI option that allows users to specify a hostname that should periodically be queried to resolve a new IP to advertise. There exist a spec proposal to add a new address type to the NodeAnnouncement message. With this implemented, we can actually remove our existing hack around this prior lack of protocol feature.
Related to this spec addition is another proposal to add a websockets type. Turns out that most web browsers (read: Chrome) doesn't allow raw websockets (so no TLS layer), which means in practice, one is required to connect via a hostname in either case. As a result, implementing this also gives us a way to expose LN p2p connection over websockets, with the caveat that the node requires a hostname, or uses some existing TPC<->WS proxy.
Steps to Completion

[ ] Add new host name address type to lnwire.NodeAnnouncement
[ ] Add a new config flag to allow users to set this new field.
[ ] Extend the existing peersrpc.UpdateNodeAnnoncement struct to allow dynamic config of this new field

Hi @Roasbeef can I be assigned to this?

Hi @Roasbeef , I would like to give this a go too.  I'm new to this repo and would like to help.  Maybe pairing with @gabbyprecious ?

We don't normally assign issues to external contributors. But if you want to "claim" something, you can always create a draft (!) pull request and link the issue in the description. That way anyone looking at the issue sees that someone is working on it.

There exist a spec proposal to add a new address type to the NodeAnnouncement message.

@Roasbeef can you link the spec you're talking about? All I could find was this thread, but this doesn't seem like quite what you're proposing.

Is this the PR to add support for the spec change: BOLT 7: add gossip address descriptor type DNS hostname #911 ?

@tvolk131 yep see the linked PR above ^

Hi @Roasbeef
https://github.com/lightning/bolts/pull/911 finally reached interop with Rust-Lightning and is being merged soon. I was thinking about removing the EXPERIMENTAL checks in CLN code for the next release. But there was chatter in our Discord that LND currently won't propagate node_annoucement's that contain (optional) DNS hostnames as address descriptors. About that:

Is this correct?
If yes, is there an issue on your GitHub for this? (I couldn't find it)
We likely can't remove CLN EXPERIMENTAL when LND, which is the biggest part of the network, won't propagate the  node_annoucement's


Unsubscribing from events not working

Calling unsubscribeFromEventWithID with the ID given by subscribeToEvents doesn't really unsubscribe. Messages are not transmitted to the handler anymore but the connection to the cloud is kept as I can still see messages like those in the console:
entering org.kaazing.net.sse.impl.AuthenticatedSseEventSourceImpl.messageReceived {"data":"mydata","ttl":"60","published_at":"2016-08-19T00:34:34.796Z","coreid":"xxxxx"}
Of course doing some subscribe / unsubscribe sequences make the number of connections grow and there's no way to kill them and it hurts the battery.

Gah, battery life bugs!   I'll take a look this weekend. Thanks for the clear report!

OK, I think I've tracked this down.  I'll test the fix and do a release sometime this week.

That's great. Thanks @jensck!

I also seen this issue and resolved it by calling sseEventSource.close() in EventsDelegate.stopListening()

Fixed in upcoming release


Sort album elements in descending order by Date or ascending by filename

Sort Album elements in descending order by date or ascending order by filename

@jerzykiler Is this still relevant? In 2.3.0 the order was changed to follow the same behavior in UIImagePickerController, on the other hand, in 2.5.0 we added support for Apple's Photos Picker (PHPickerViewController) that will be used instead of our our custom Photos Picker for users running iOS 14+ since it supports both single and multiple selection.

OK I've checked the newest version and it looks like the newest items are visible without scrolling.
This PR is not relevant anymore.

@jerzykiler Thanks! Closing this PR.


⚠ Bofrost.fr has degraded performance

In 903115a, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1948 ms

Resolved: Bofrost.fr performance has improved in f0a1ffb after 16 minutes.


glitch effect is not fully smooth

glitch2 effect is not completely smooth

I am gonna need some more time i am just on the frontier in lot of things so may be to the end of december


error_content not defined when HTTP 200

When HTTP 200 is returned, but the response content is not JSON, then the below error occurs. The issue is that the variable error_content is only defined when the response code is !=200 or when the response code is in status_code_map (see here). When the response code is 200, but the content is HTML, then the exception occurs but error_content is not populated thus a UnboundLocalError is caused.
  File "/whoisit-3.0.0/whoisit/query.py", line 268, in _process_response
    raise QueryError(f'Failed to parse RDAP Query response as JSON: {e}', response=error_content) from e
                                                                                ^^^^^^^^^^^^^
  UnboundLocalError: cannot access local variable 'error_content' where it is not associated with a value

I only see this condition occur when the RDAP provider performs a 302 redirect to another URL which then returns HTML.

Thanks for the issue. I've fixed the missing error_content variable in the above commit. Can you give me an example where this was triggered? Obviously an RDAP endpoint redirecting to a URL that returns HTML is pretty broken and might be worth reporting.


Zoom and Pan capability

@pfhein
Paul added zoom and pan functionality into ARTView.  Values were not being passed back.
I worked through this issue I believe and both functionalities seem to work.  In addition, they now report back to the new popup window to modify all limits.
I generalized the code a bit more.  Check out the new version I uploaded this morning and see what you think.  You should be able to 'fetch' and then merge with your fork if you like the changes.
I am thinking that I would like to try to make the Zoom/Pan function a selectable option from a dropdown menu.  What do you think?

Also, made it optional via a button menu (ComboBox).

Hmmm, just realized that when the the scroll is connected to zoom, it doesn't disconnect.

I am just looking over your version right now.  I am glad to see you
have figured out how to get all the limits in one box.  I was hitting
brick walls trying to do that.  I do see that zoom is not disconnecting
when you go back to no tools.  Right now there is way too much plotting
going on and that really is slowing things down. I like the idea of
turning zoom on and off and having it one of several future tools.
On 03/23/2015 04:41 PM, Nick wrote:

Hmmm, just realized that when the the scroll is connected to zoom, it
doesn't disconnect.
—
Reply to this email directly or view it on GitHub
https://github.com/nguy/artview/issues/6#issuecomment-85235580.

Okay, got a little obsessed with this and I think I have a solution.  I'll post the results soon.
I had to disconnect the events, which is simple enough in theory, but it took me a while to figure out that this had to be done within the ZoomPan class.  I reconfigured the ZoomPan class to now have a connect() and disconnnect() function.  I also renamed a few variables to something I thought was more indicative (that's open for debate).
By the way what is the format_coord supposed to do?

Great!  For me nothing is coming easy.  The format_coord is suppose to
display the coordinates (and the value at that point) but it has never
worked in artview.py.  It should be removed for now.
On 03/24/2015 12:57 PM, Nick wrote:

Okay, got a little obsessed with this and I think I have a solution.
I'll post the results soon.
I had to disconnect the events, which is simple enough in theory, but
it took me a while to figure out that this had to be done within the
ZoomPan class. I reconfigured the ZoomPan class to now have a
connect() and disconnnect() function. I also renamed a few variables
to something I thought was more indicative (that's open for debate).
By the way what is the format_coord supposed to do?
—
Reply to this email directly or view it on GitHub
https://github.com/nguy/artview/issues/6#issuecomment-85642768.

Gotcha.  Well it's not hurting anything for now, but we can start a new issue that could address this later.

Going to close this issue now.  The zoom/pan seems to be working.  The the format_coord is addressed in another Issue.


Fixed #32116 -- Fixed QuerySet.order_by() crash on EmptyQuerySet with union() on a single non-empty ordered queryset.

Ticket: https://code.djangoproject.com/ticket/32116

@hannseman Thanks :+1:

@felixxm thanks for the review! 👍


[TO-PR] Privacy Report Submission twitter

name: Twitter
ratings:
locationTracking: 1
dataRetention: 0
userControl: 0
darkPatterns: 0
crossSiteTracking: 0
summary: "/privacy-report-card/details/twitter"
reference: "https://google.com/privacy"
category: "privacy-report-detail"
Twitter's Privacy Policy - Summary

haha

This issue was automatically created from an API call.


signing a certificate using MBEDTLS_PK_RSA_ALT is broken

signing a certificate using MBEDTLS_PK_RSA_ALT fails because of the following:
when calling mbedtls_x509write_crt_der, the function within, mbedtls_oid_get_oid_by_sig_alg fails because MBEDTLS_PK_RSA_ALT is not found.
Raised by J.B. in the support forum

ARM Internal Ref: IOTSSL-1538

Fixed by #1089 which has been merged to development, and backports #1108 #1109


Display index.html within report

As a user I want to view index.html within testNG metrics report to view logs of test case

Added Logs Tab to display index.html as part of this commit - 4b42901404ef314bf88f66a1df6d75a6dde4b407


[Question] how do I disable the guide line

Like this.  The lines in black

I don't know what's this feature called, so it's bit hard to disable it.

Finally, I found here https://github.com/spf13/spf13-vim/issues/295
It called nathanaelkane/vim-indent-guides


BUG Fix crash on ID in default_sort

Not sure why this popped up recently.
Requesting a field from db('field') shouldn't return the entire list if it's not found.
ID fails because it's a fixed_fields, and is already indexed.

Related: https://github.com/silverstripe/silverstripe-framework/pull/8090

It's green ready to merge. :)


Bug

Describe the bug
When i want to creat a Pool, at the first window "1.Token Information", I`m not able to paist my copied Token Contract Adress. It is only able to wirte the letters in the box.
When one letter is in, that I`m alble to copy the adress in the box.
To Reproduce
Steps to reproduce the behavior:

Go to Creat a pool; 1. Token Information
Copy your contact adress and paist it into the box of "Token Contract Adress"
This is not possible.
Then try to fill in one letter and try to paist your adress again. Now it should go, but the first letter can not deleted.

I hope i could do a litte help for this awesome project!
Desktop (please complete the following information):
OS: [Windows 10]
Browser [brave]
Version [ 1.18.77 Chromium: 87.0.4280.101 ]
Wallet address
ERC20 wallet for POZ rewards:
0xAdc449969C9E487691E3d1646638A94cCa8df089

What address did you want to use as Token Contract Address?

What address did you want to use as Token Contract Address?

This adress:
0xAdc449969C9E487691E3d1646638A94cCa8df089

This adress:
0xAdc449969C9E487691E3d1646638A94cCa8df089

it is not working - it, not a token: https://rinkeby.etherscan.io/address/0xAdc449969C9E487691E3d1646638A94cCa8df089
need to input Token contract address
like:
POOLZ Token: 0x200944BB9427bBdcDB36d15A8e29CfF7083C03E7
Test Token: 0xe606c5CF639628Ae69F391aeA32eE3D347De86A8

it is not working - it, not a token: https://rinkeby.etherscan.io/address/0xAdc449969C9E487691E3d1646638A94cCa8df089
need to input Token contract address
like:
POOLZ Token: 0x200944BB9427bBdcDB36d15A8e29CfF7083C03E7
Test Token: 0xe606c5CF639628Ae69F391aeA32eE3D347De86A8

Ah ok, now it works! Thanks!
Regards Phil

Ah ok, now it works! Thanks!
Regards Phil


Restore split window upon start

I recently tested the split window feature and it is great. However, when Edge is set to restore tabs from previous session, and this session includes tabs that have split windows, the split window is not restored, but the two windows are restored as individual new tabs. Is this intended or a bug?

Before closing Edge:

After closing and re-starting Edge:

Thank you for reaching out, however this repository is specifically about the developer tools that are embedded inside of Edge. Not about Edge itself.
Could you please send your message again through the browser feedback channel? In Edge, press Alt+Shift+I to open the feedback dialog and enter your message!
Thanks a lot for your understanding.


Collapsing combined lists does not work

WTF?

Seems to be related to pressing REFRESH button

Changed behavior in Refresh (now redubbed Redraw). Hopefully fixed this.


CaseInsensitive autocomplete

Add feature for autocomplete that match without case check.

Will be in next version - 1.7.0


handle malformed urls

addresses inveniosoftware/react-invenio-app-ils#128
also exposes the class UrlParamValidator in case one needs to build a stricter validator on top of it (for instance, ensure the provided page size is indeed an option of the dropdown)

I see, I was not 100% sure about this part but it can be changed for sure (raise an exception instead of filtering the invalid parameters). Or even better, have it as a configurable behaviour. One argument in favour of filtering was to be able to gracefully handle old urls after one of the parameter name has changed; or for instance the allowed page sizes are updated.
In any case the existing validation was incomplete and would let invalid values pass through, which we don't want for sure.

Post-discussion: yes filter them, no need for config.


Move "cluster-info local" command to --extracmds [JIRA: RIAK-2530]

In a couple of situations where riak-debug has been run on nodes that are already very busy or overloaded, it has caused the node to either crash or pause. Gathering info is critical, but running riak-debug should not cause significant impact if it can be avoided.
Proposal is to remove riak-admin cluster-info local[0]  so it is not run by default and use it via --extracmds if required, so it can still be added to a debug.
[0] https://github.com/basho/riak/blob/develop/rel/files/riak-debug#L484-L488

@rooms, Does #857 close this issue?

Resolved in https://github.com/basho/riak/pull/857


Improved hover effect for the buttons on the navbar

Fixes Issue🛠 #404

Closes #404
Description👨💻

Type of change📄

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

How this has been tested✅

Checklist✅

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷

pls check this PR

Implement some good hover effect.
On hovering navbar should remain smooth and should not move up or down. @AftabMankapure

https://github.com/Rakesh9100/Beautiify/assets/125949765/94b6c1b7-8cff-4f43-b28b-28d55134874e
@Rakesh9100  i try many of navbar hover effect but when i apply to navbar then navbar link is not working
for new hover effect we need to complete rewrite navbar code  it take time i can do it just add  HARD label

Label will be added depending on the work you will do, you have to add some better hover effect @AftabMankapure

@Rakesh9100  i creating  new pull request pls check this
so i close this


mypy: Specify mypy_path and cache_dir relative to config path.

Previously, these were interpreted relative to the current directory. This was notably causing dozens of extra var/mypy-cache directories to be created in different places when mypy was run from Emacs Flycheck. Use the $MYPY_CONFIG_FILE_DIR variable added in mypy 0.800.
Testing plan: Verified that mypy still finds stubs (otherwise it would throw warnings about unused type: ignore) and mypy-cache (otherwise it wouldn’t create it).

Merged, thanks @andersk!


Rewrite require('proxyquire') calls

I wrote proxyquire-universal to allow you to use proxyquire in your tests and then turn it proxyquireify via a browserify plugin. From Thorsten via email:

BTW: this (https://github.com/bendrucker/proxyquire-universal/blob/master/src/transform.js#L12) is pretty brittle as it would match inside messages, etc. as well.
Also it’d miss require(“proxyquire”) (double quotes).

Seems like it’d be better integrated with proxyquireify to avoid overhead and order dependance of an extra transform, but lets keep discussing there.

Wrote it up quickly to solve @beckyconning's issue in https://github.com/Nikku/karma-bro/issues/40 so it's definitely a little brittle.
I haven't done a lot of work with syntax parsers — any recs on what to use there?

Wanted to loop back on this. I'm all for reusing code from exposify, but wouldn't it make more sense to extract that functionality into a separate module and have both depend on it?

:+1:

Yeah, I'm still not sure if this belongs anywhere in the packages you mentioned.

exposify definitely has nothing to do with either proxyquire and should not need to know anything about them
proxyquireify could know about proxyquire, but I think it's problematic

I think the best idea is actually to have a unifying package that knows about both and adapts the code to automatically use the right one depending on the situation.
proxyquire-universal could be that package.
We could add links to it on the readme of both proxyquire and proxyquireify to make it easily discoverable.

wouldn't it make more sense to extract that functionality into a separate module and have both depend on it?

if we go the route I suggested, only proxyquire-universal would have to depend on it

instead of having something additional for users to think about.

Not much for the user to think about since there are 3 simple cases:

a) your tests only run server side -> use proxyquire
b) your tests only run client side -> use proxyquireify
c) your tests run server side and client side -> use proxyquire-universal

I'm with you. In that case, the only remaining todos are documentation updates both here and on proxyquire, correct? I'll extract the require replacement transform into its own package when I have a chance but that's an internal implementation detail for now. Will send PRs for both proxyquire* repos if we're on the same page.

Thanks, sounds good.
Possibly you should also add the three cases I outlined to the proxyquire-universal page so users have it easy to decide when to use either proxyquire solution.

Cool. README commits on all three it is. Will send PRs this evening.

Sounds good, one thing I'd suggest is directly depend on proxyquire and proxyquireify.
The reason is that you'd expect the user to run tests on client and server and thus they need both modules anyways.
The only reason not to do so that I can think of is to allow users to pick the version for each proxyquire.

Yeah that makes sense. I don't see any reason to allow people to pick their versions versus just matching major versions on both and then keeping up to date in the rare cases of major bumps.

Added you as collab here as well, so just update the README and let me review the PR then push to master. I'll republish.
Adding you to proxyquire as well so we can successfully manage the proxyquire* repos together and make them easy to use.
One other thing that'd be nice is if proxyquire-universal would document some API differences that do exist. For example proxyquireify cannot do any global overrides like proxyquire.


Auto populate language tab in preferences

Automatically populate the language based on the language used in the most number of repositories specified in the author tab if the user wishes to do so

It would be nice if we have a autocomplete component for that.
However the one which I tried ngx-chips": "1.4.6" -  dropdown is not working for some reason (and we really don't have time for the scope of the Borathon to investigate) - for later check the  and the nested component
This can be seen in profile.component.html template.

@s-rusev I could complete the enhancement. However, what I meant was, once the user enters an author in the preferences menu, the language tab should automatically populated with the language most used in author's repositories if the user wishes to do so. (There would be a button or something in front the field for language or something)


Added data_format to flatten layer.

If you create an inference graph in NHWC but have trained in NCHW you will realise that your inference predictions are different from train time.
This is due to the fact that the flatten layer does not respect channel orderings, therefore I have added a data_format keyword arg such that it is always reshaped to NHWC - as for dense layers, it does not matter.

You are correct with the K.ndim, unsure if that will resolve the dynamic axis issue with CNTK.
If it doesn't, I will setup a CNTK docker image to debug that issue in.

The issue persists with CNTK. @souptc could you please advise on how to fix it?

my bad, it is a bug in cntk_backend. In cntk_backend.py method "def permute_dimensions", line 1115:
if num_dynamic_axis > 0 and pattern[:num_dynamic_axis] != current_layout[:num_dynamic_axis]:
here current_layout is a tuple but pattern could be a list, so compare may failed un-expected...
Do you mind to fix this in this pr?

Thanks @souptc! - that has fixed it.

@fchollet Any more to do?

I don't understand why we would always convert channels_first to channels_last? That seems suboptimal for channels_last models, for both training as well as inference.

In what way?
This is to make it easier to productise going from NCHW to NHWC.
The dimension ordering of your 4d matrix matters before your dense layers, if you don’t account for these 2 formats then you get lots of regression tests breaking when you do the conversion for inference time.
Why is it suboptimal if it’s a flatten layer? - ignoring the one extra transpose added when using NCHW.
I don’t fully understand your final point.

It's suboptimal as it creates ops in the graph when training channels_first (more optimal for GPUs) that effectively don't do anything. Although I think we agree on that, your original intent here was good, but another change by Francois changed that.
I think this happened: with good intent, you created this initializer:
+   def __init__(self, data_format='channels_last', **kwargs):

the data_format is odd, as Keras usually sets this to None. The behavior with the channels_last here is good, because it's backwards compatible, and won't add any extraneous ops.
However, then this change happened https://github.com/keras-team/keras/commit/243338dc36c554676f1e9a5f733b445341d9f4f5 :
-    def __init__(self, data_format='channels_last', **kwargs):
+    def __init__(self, data_format=None, **kwargs):

Which suddenly is not backwards compatible anymore, and changes the behaviour of both training and doing inference on channels_first models!

Ah, now I see the confusion! Yes I agree


issue

AttributeError: module 'nmap' has no attribute 'PortScanner'

I've seen that same issue. You have to make sure python-nmap is installed correctly.


Support matching untagged packet

Signed-off-by: gran<EMAIL_ADDRESS>

This PR is not necessary, since the VlanId field is public. If the only change is to update its value, we could let caller to deside the final values.


[RELEASE] Data Prepper 1.2.0 to Docker

Is your feature request related to a problem? Please describe
The Data Prepper team plans to release Data Prepper to Docker.
Planned release date: Dec 2, 2021.
Describe the solution you'd like
We discussed this with @peterzhuamazon. Based on this discussion we plan to create a single script which will build Data Prepper, build the Docker image, and push to Docker Hub. The docker-build Jenkins job will be able to run this script with the necessary permissions to perform this push.
Describe alternatives you've considered
No response
Additional context
The Data Prepper work to create this change is:
https://github.com/opensearch-project/data-prepper/issues/623

Data Prepper will require Java 14 to build. Is this the JDK which the docker-build script uses?

@dlvenable you guys can check whether this one runs
https://hub.docker.com/r/opensearchstaging/data-prepper/tags?page=1&name=1.2.0
One your code is ready we can push again.
https://github.com/opensearch-project/data-prepper/issues/623#issuecomment-983198370

@peterzhuamazon , We have confirmed that this works for log ingestion, but haven't gotten a trace analytics test case running yet. I don't see any reason why it won't work, but we can let you know if it does have an issue.
Regardless, we haven't yet tagged Data Prepper, so we will need to push another image.

@peterzhuamazon , We have confirmed that the OTel Trace source also works in that image. Our smoke testing is now complete.
We should be tagging the branch either today or Monday for a release on Tuesday, Dec 7.

This is now available.
https://hub.docker.com/r/opensearchproject/data-prepper/tags?page=1&ordering=last_updated&name=1.2.0


support for concurrency in llm models

Allows running llm generate operations in multithreaded application
Support in parallel execution for stateful LLM models is implemented using a cloned model object but with shared OV model and compiled model to avoid duplicating memory consumption. Each cloned model object is using a single OpenVINO inference_request object which keeps the execution context and state.
model = OVModelForCausalLM.from_pretrained(model_path,compile=True) # done once
model_exec = model.clone() # done in every new thread
outputs = model_exec.generate(**generate_kwargs)

For stable diffusion and seq2seq pipelines which are without stateful models, no changes are needed for multi threaded execution.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

This functionality is continued in https://github.com/huggingface/optimum-intel/pull/573


[FPGA Board Fundamentals] Implementing opentitan on other boards(not CW310)

Description
I cannot obtain the CW310 board, but I want to implement opentitan on the existing board and test it.I am currently loading bitstream into my FPGA and using UART_ The USB chip received a message from Opentitan.I found an error while running the command to load the program into opnetitan. I feel it's a hardware issue. After reviewing the schematic diagram of the CW310 board, I found that there are many interface connections between SAM3X and Opentitan. After browsing the relevant issues posted on the Github website, I feel that this SAM3X microcontroller is indispensable.
what is the function of the SAM3X microcontroller? I couldn't find any relevant introduction on Opentitan's website.
 I feel that for future testing, I need to add a PCB with SAM3X to my FPGA board. And connect the pins of this MCU with some necessary pins of the opentitan to achieve loading of the opentitan program and other things.
What else do I need to do in order to conduct opentitan experiments on my existing board?

Hi @houdonghui1
Adding complete repo support for another board is fairly involved. However, you have made good progress with getting a UART. As the message says, the test ROM is looking to boot into an image in the internal flash (emulated in the FPGA), but you don't have anything loaded in flash at this point, right?
That means you'll need to either use your JTAG interface to issue commands to the flash controller and load flash that way, or you'll need to add interfaces to complete bootstrapping, with the three SW_STRAP pins and SPI (to the spi_device IP). SPI, UART, reset, and strapping pins are the primary functions the SAM3X provides on the CW310.
Once you have that, you can load the *.bin file representing your software's flash image, then issue a reset to boot into it.

Hi @houdonghui1 Adding complete repo support for another board is fairly involved. However, you have made good progress with getting a UART. As the message says, the test ROM is looking to boot into an image in the internal flash (emulated in the FPGA), but you don't have anything loaded in flash at this point, right?
That means you'll need to either use your JTAG interface to issue commands to the flash controller and load flash that way, or you'll need to add interfaces to complete bootstrapping, with the three SW_STRAP pins and SPI (to the spi_device IP). SPI, UART, reset, and strapping pins are the primary functions the SAM3X provides on the CW310.
Once you have that, you can load the *.bin file representing your software's flash image, then issue a reset to boot into it.

Hi @houdonghui1 Adding complete repo support for another board is fairly involved. However, you have made good progress with getting a UART. As the message says, the test ROM is looking to boot into an image in the internal flash (emulated in the FPGA), but you don't have anything loaded in flash at this point, right?
That means you'll need to either use your JTAG interface to issue commands to the flash controller and load flash that way, or you'll need to add interfaces to complete bootstrapping, with the three SW_STRAP pins and SPI (to the spi_device IP). SPI, UART, reset, and strapping pins are the primary functions the SAM3X provides on the CW310.
Once you have that, you can load the *.bin file representing your software's flash image, then issue a reset to boot into it.

How do I use JTAG to load *. bin files into flash? I don't have SAM3X on my board. What approach should I take to provide the functions provided by SAM3X? Can we add a microcontroller to replace SAM3X? At present, I am only connecting the JTAG signal to the JTAG debugger. Do I need to set the level on the straps port of OpenTitan to use JTAG? If I design a circuit board with SAM3X to supplement my FPGA board and make this part of the structure consistent with the CW310 board, how do I find the code for SAM3X? Has opentitna opened the source code for SAM3X yet?

Hi @houdonghui1, since your board only has a UART connected, it seems like using JTAG is the simplest option to avoid changing the hardware. There are two important pins that control JTAG: TAP strap 0 and TAP strap . OpenTitan supports two different JTAG TAPs: the "normal" one where your interact with the RISC-V core (we call it the RISC-V tap), and another one to control only the lifecycle controller (the LC tap).
In order to load programs, you need access to the RISC-V tap. This means:

that you either need to be able to toggle those pins or hardwire them in the FPGA to force RISC-V TAP selection,
you can only access the RISC-V tap in the lifecycle states TEST_UNLOCKED*, RMA, DEV

Assuming you have JTAG access, you can in principle read/write any hardware register so in particular you can write to flash but doing this over JTAG might not be the easiest thing to do. Also we do not have any code to write to the flash over JTAG. For this reason, I think the simplest option is to create a small device program that you load directly to RAM using JTAG. This program would receives data over the UART and write the content to the flash. This way you can reuse all the C code that we have. Concretely:

example of code to load to SRAM over JTAG
corresponding bazel test
we have library to use the flash, see here for an example and the SPI bootstrap code that you could adapt.

Hello, Pamaury! I am an FPGA and hardware engineer in our team, and the method you mentioned earlier seems to require a lot of software code modifications. After considering many issues, and in order to maintain consistency with most Opentitan developers, we have decided to supplement the hardware of our board. It is to connect a PCB with SAM3X to the IO port required by opentitan through an interface, so that the hardware structure of this part of our board can be consistent with CW310. But now we don't have a program for the SAM3X microcontroller. Do you know where to get it? I found the original code for the CW310 board, but it seems that the official developer of opentitan has modified the firmware of SAM3X to adapt to "opentitan"?
Can I use this firmware on SAM3X?https://github.com/newaetech/cw310-bergen-board/tree/main

Hello, Pamaury! I am an FPGA and hardware engineer in our team, and the method you mentioned earlier seems to require a lot of software code modifications. After considering many issues, and in order to maintain consistency with most Opentitan developers, we have decided to supplement the hardware of our board. It is to connect a PCB with SAM3X to the IO port required by opentitan through an interface, so that the hardware structure of this part of our board can be consistent with CW310. But now we don't have a program for the SAM3X microcontroller. Do you know where to get it? I found the original code for the CW310 board, but it seems that the official developer of opentitan has modified the firmware of SAM3X to adapt to "opentitan"?
Can I use this firmware on SAM3X?https://github.com/newaetech/cw310-bergen-board/tree/main

We are using the stock SAM3x firmware by NewAE with no modification.


Save screenshot to specific folder or Desktop automatically.

Description of the new feature / enhancement
Take screenshot as normal.... either entire Desktop or select a region, and have the image saved to the Desktop or a specified folder as PNG automatically. This is a feature I miss from Mac OS X.
Scenario when this would be used?
So we don't have to open up GIMP or Photoshop to paste from clipboard and save every time.
Supporting information
No response

You can use Shipping tool Win+Shif+S ? It automatically saves screenshots to Pictures/Screenshots (not configurable at the moment unfortunately)  - if not, you can enable automatic save in settings. Does this help? /needinfo


Missing Chatbot on TrendTrove E-commerce Page

Introducing an AI chatbot could greatly improve customer engagement and streamline support processes. An AI chatbot would leverage natural language processing (NLP) to understand and respond to customer inquiries accurately, offering a conversational and personalized experience.
Chatbot Use Cases for TrendTrove:
*24/7 Automated Support: An AI chatbot can answer frequently asked questions, troubleshoot simple issues, and escalate complex queries to human agents if needed, ensuring continuous support around the clock.

@Tejashri-Taral can you please assign me this issue under gssoc'24 extended edition


[QUESTION] How to retrieve more than 30 videos

I have two needs now

Get all videos by username
Get all videos by tag

The code for the first case is as follows
        with TikTokAPI() as api:
            user = api.user("morifuntool", video_limit=2000)

            for video in user.videos:
                print(f"URL：https://www.tiktok.com/@morifuntool/video/{video.id},Time:{video.create_time}")

The video data can be obtained normally, but there are only 30 videos.
How can I get all videos?
The code for the second case is as follows
         with TikTokAPI() as api:
            challenge = api.challenge("OutfitIdeas")
            for video in challenge.videos:
<EMAIL_ADDRESS>                print(video.create_time)

The video data can be obtained normally, but there are only 40+ videos.
How can I get all videos?

There currently isn't a great way to get all 40+ videos. The way that is currently implemented is to increase the scroll_down_time parameter in the API constructor. Set that to something like 10, and you'll collect more videos. The exact amount isn't deterministic though, unfortunately.

@Russell-Newton Thank you for your reply,I will try this parameter

I think the changes I've been working on with v0.2 might fix this issue. It could be worth checking out:
pip install -U<EMAIL_ADDRESS>I removed the scrolling parameters, but it should (fingers crossed) work without any API constructor parameters. You should be able to get away with:
with TikTokAPI() as api:
    user = api.user("tiktok")
    for video in user.videos:
        # do something

This should iterate over all of a user's videos. You can limit this using the video_limit parameter in api.user or using the limit method attached to user.videos (for video in user.videos.limit(30)).
@RenHong-HC if you would be willing to try out the WIP changes to see if it works, it could be very helpful for solving this issue. The changes work for me, but it's worth checking if it works for you.

@Russell-Newton v0.2 resolved the issue. Thank you!!

This issue should be resolved in the official version 0.2.0 release. I'm closing this issue as resolved.


No flowchart window in Unity 2017

I can't activate flowchart window in unity 2017.03. Can you help me?

That looks like, non latest version of Fungus opened in newer Unity or perhaps not allowing Unity to run the auto upgrade when Fungus was imported. If you import Fungus again does it offer the auto upgrade?

no. there is offer to upgrade. i use the file on github to. but the result is same


pytest -m "not installation" fails: pytest-metadata not in line with new pytest==8.0.0 and reverts to older pytest-metadata=2.0.0

I have installed ESMValTool and ESMValCore from source (both v2.10.x; but this also happens for the main branches) as outlined, using an up to date mamba (Mambaforge-Linux-x86_64.sh).
The installation works fine, however both
pytest -m "not installation" and pytest -n 4 yield:
/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pytest_metadata/plugin.py:123: PytestUnknownMarkWarning: Unknown pytest.mark.optionalhook - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
  @pytest.mark.optionalhook
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pytest_html/basereport.py", line 73, in _generate_environment
INTERNALERROR>     from pytest_metadata.plugin import metadata_key
INTERNALERROR> ImportError: cannot import name 'metadata_key' from 'pytest_metadata.plugin' (/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pytest_metadata/plugin.py)
INTERNALERROR>
INTERNALERROR> During handling of the above exception, another exception occurred:
INTERNALERROR>
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/_pytest/main.py", line 269, in wrap_session
INTERNALERROR>     config.hook.pytest_sessionstart(session=session)
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pluggy/_hooks.py", line 501, in __call__
INTERNALERROR>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pluggy/_manager.py", line 119, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pluggy/_callers.py", line 181, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pluggy/_result.py", line 99, in get_result
INTERNALERROR>     raise exc.with_traceback(exc.__traceback__)
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pluggy/_callers.py", line 102, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>           ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pytest_html/basereport.py", line 167, in pytest_sessionstart
INTERNALERROR>     self._report.set_data("environment", self._generate_environment())
INTERNALERROR>                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nas/home/maj/mambaforge/envs/evt210/lib/python3.11/site-packages/pytest_html/basereport.py", line 78, in _generate_environment
INTERNALERROR>     metadata = self._config._metadata
INTERNALERROR>                ^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> AttributeError: 'Config' object has no attribute '_metadata'

Additionally,  and probably connected. Running any recipes gives:
ImportError: The ESMFMKFILE environment variable is not available.
python -c 'import esmvalcore; print(esmvalcore.__path__[0])' gives the correct path
Could anyone give me any leads on how to overcome this?

thanks for raising this @mwjury - I saw this behaviour yesterday, immediately after we started picking up the brand new pytest=8.0.0 which is a rather buggy major release of pytest, I'm onto it :+1:

Re:

Additionally, and probably connected. Running any recipes gives:
ImportError: The ESMFMKFILE environment variable is not available.

this is not connected to the pytest issue, this is due to xesmf now dealing with environment variables via an init file, ESMFMKFILE. This is normally picked up and placed in the runtime environment automatically via a conda activate ,environment> if the package is installed from conda-forge - so make sure xesmf is from conda forge, as it should be. If you are doing a module-based environment activation (ie not via conda activate) or any other path-based environment setup, you can set the env variable automatically eg with a setenv("ESMFMKFILE","/apps/jasmin/community/esmvaltool/miniconda3_py310_23.1.0_2/envs/esmvaltool/lib/esmf.mk") - this is from the central install on JASMIN where I set up the ESMFMKFILE variable to point to where that lives in the miniconda3 dir - you'll have to change the path to your file, but it always lives in envs/esmvaltool/lib/esmf.mk

here's the issue with pytest: https://github.com/conda-forge/pytest-feedstock/issues/170

Thanks for the fast reply @valeriupredoi !
pytest is 7.4.4 though.
pytest                    7.4.4                    pypi_0    pypi
pytest-cov                4.1.0              pyhd8ed1ab_0    conda-forge
pytest-env                1.1.3              pyhd8ed1ab_0    conda-forge
pytest-html               4.1.1              pyhd8ed1ab_0    conda-forge
pytest-metadata           2.0.0              pyhd8ed1ab_0    conda-forge
pytest-mock               3.12.0             pyhd8ed1ab_0    conda-forge
pytest-mypy               0.10.3                   pypi_0    pypi
pytest-xdist              3.5.0              pyhd8ed1ab_0    conda-forge

I am a bit puzzled by the xesmf thing.  When activating the environment conda prompts all the etc/conda/activate.d/*.sh scripts, but does not update any of the paths. When updating the paths in python with os.environ.update({"ESMFMKFILE": "/nas/home/maj/mambaforge/envs/evt210/lib/esmf.mk"})  esmpy import etc works. Did this ever happen to you by any chance?

yes but your pytest-metadata is ancient (2.0.0) - you need to upgrade that plugin to 3.0.0 (that is exactly the issue with pytest 8.0 - it downgrades the plugin to 2.0.0). Your deps are a little mixed though, too - you shouldn't have any installed from PyPI (all need be from conda-forge). At any rate, the xesmf issue is well known to us and people have hit all manners of troubles with it (eg @ehogan for the MetO central installation, myself for JASMIN, us collectively for readthedocs deployments etc) - ESMPy had this introduced in 8.4.0 (I believe) and ever since we have to look twice if that init file is there in the conda env - as for your current issue, I'd recommend completely recreating the environment, activating it, and reinstalling the Tool; I'd also strongly recommend updating both conda and mamba to be modern, that will 100% surely sort it out for you

I fixed the plugin so all should work well when the new plugin build gets on conda-forge (a few hours now) and gets pulled in our env: https://github.com/conda-forge/pytest-metadata-feedstock/pull/15 so closing this. @mwjury do please open another issue about xesmf/ESMPy if a new env and installation are still problematic for you :+1: :beer:

Thanks @valeriupredoi ; pytest works now. It currently shows two FAILURES connected to pytest.PytestRemovedIn8Warning: Passing None has been deprecated.
I still did not solve the conda issue (recreated it several times..). In the end all scripts in etc/conda/activate.d upon activation get called but are somehow not sourced. I haven't found a solution as of yet, other than sourcing them 'manually'.

Solved it, stupidity from my side.

@mwjury those two tests are the MLR tests that I opened an issue for yesterday - indeed we'll fix them, I'll plug a fix if @schlunma doesn't have time :beer:
About the ESMFMKFILE woes - great! It'd be worth posting a step by step of your operations see what needed be done at your end, and maybe highlighting that for users in the docs (if you remember the steps, and have time to post them, that is). Cheers!


Detailed Intl.DateTimeFormatOptions types

Fixes #35865: Missing specific types in DateTimeFormatOptions.
This narrows the type info for Intl.DateTimeFormatOptions to legal inputs.
Existing code passing options satisfying the former (overly-lax) types in shipping typescript (and which browsers would thus throw a run-time RangeError exception for), will now be flagged as typescript compile-time errors, instead.

FWIW: the failing tests here are present on master and probably every other branch too (covering whatever might be right or wrong about my implementation here). They look like this, if this is the first time you hear of them:
> ./node_modules/.bin/gulp runtests
[08:28:36] Using gulpfile ~/vc/TypeScript/gulpfile.js
[08:28:36] Starting 'runtests'...
[08:28:36] Starting 'generateLibs'...
[08:28:36] Starting 'buildScripts'...
[08:28:36] Finished 'generateLibs' after 194 ms
[08:28:37] Finished 'buildScripts' after 369 ms
[08:28:37] Starting 'generateDiagnostics'...
[08:28:37] Finished 'generateDiagnostics' after 579 μs
[08:28:37] Starting 'buildShims'...
[08:28:37] Starting 'buildDebugTools'...
[08:28:37] Finished 'buildShims' after 303 ms
[08:28:37] Finished 'buildDebugTools' after 303 ms
[08:28:37] Starting 'buildTsc'...
[08:28:37] Starting 'buildTests'...
[08:28:37] Starting 'buildTypescriptServicesOut'...
[08:28:37] Starting 'buildServerLibraryOut'...
src/harness/vfsUtil.ts:666:47 - error TS2345: Argument of type 'string' is not assignable to parameter of type '"ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined'.

666             return encoding ? buffer.toString(encoding) : buffer;
                                                  ~~~~~~~~

Found 1 error.

[08:28:40] 'buildTsc' errored after 3.1 s
[08:28:40] Error: Process exited with code: 1
    at ChildProcess.<anonymous> (/Users/jhs/vc/TypeScript/scripts/build/utils.js:54:28)
    at ChildProcess.emit (events.js:311:20)
    at ChildProcess.EventEmitter.emit (domain.js:505:15)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
[08:28:40] 'runtests' errored after 3.84 s
[08:28:40] The following tasks did not complete: buildTests, <series>, <series>, buildTypescriptServicesOut, buildServerLibraryOut
[08:28:40] Did you forget to signal async completion?

Ah, that was addressed by @Kingwl in #38525 – thank you! Rebased this PR on top of that fix.

@sandersn, are you taking the opportunity with the 4.0 major release to land PRs like this that stricten overly-loose types?

For this PR, I'm waiting for the originating issue #35865 to be discussed and accepted. That happens during regular backlog triage meetings, and is sometimes followed by a design meeting discussion with the whole team.
In general, Typescript doesn't follow semver for a couple of reasons. The first is historical -- we started with the old-school point-release version numbers on a regular release schedule. The second is that is our product is all interface -- every release breaks things, and it's not easy to predict which things will break in a large code base, so there's little value in major-vs-minor releases.

This PR has been blocked for quite a while, so I'm going to close it to keep the number of open PRs manageable. We can re-open it if #35865 gets accepted.


Dots "." property names lead to uncompileable code

Possible solution: replace dots with something valid for variable/method/class names

Moved to https://github.com/claasd/caffoa.net/issues/4


Improve UI - Button

Description
Hi @raj03kumar, I am a contributor in GSSOC'23.
In card UI, buttons are overflowing
I want to work on fixing this UI issue.
please assign me this task under label gssoc'23
Screenshots

Additional information
No response

👋 @Ayush9951 This issue is closed.

Hi @panwar8279, can we still contribute in this project ?


Software to mount images

Hello.
My question is not about the plugin, but I would like to know what software you use to create images with the data models. I know the Grads , but his images seem to be much better than it generates.
If you can help , I am grateful .

Hi @candidobugarin,
images in examples 1, 3 or 6 (among others) are created by ncWMS, a software which is integrated with the THREDDS Data Server.
Check out our THREDDS installation at SOCIB: http://thredds.socib.es/thredds/catalog.html

Thanks for the info. I will think of how to extract the png. As I have no
server needed something like the Grads , where I could insert the data
model and he returned me just the figures. With the figures I would
generate animations .
2016-04-20 16:13 GMT-03:00 Biel Frontera<EMAIL_ADDRESS>
Hi @candidobugarin https://github.com/candidobugarin,
images in examples 1, 3 or 6 (among others) are created by ncWMS, a
software which is integrated with the THREDDS Data Server.
Check out our THREDDS installation at SOCIB:
http://thredds.socib.es/thredds/catalog.html
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/socib/Leaflet.TimeDimension/issues/62#issuecomment-212563635


Move database migration to own repository

[x] Move away yoyo related code
[ ] Fix randomicu CI
[ ] Fix randomicu tests (do not create database, use only migration scripts)
[x] Fix fakedata CI

randomicu related points should be moved to randomicu project

randomicu/randomicu/issues/147


How to reload the parameter and fine-tune the best generated model in NAS?

In DARTS and ENAS, after the searching stage, only a list of json files are saved without model parameters. If we want to finetune the best child model, we have to train it from scratch.
To this end, how to save the parameters of the supernet and load the corresponding part of parameters to the child model and finetune it?

Hi @marsggbo. Thanks for raising this issue.
In DARTS and ENAS, you can add a ModelCheckpoint to the callbacks for trainers, which will export the supernet weight into a file. For details, refer to https://github.com/microsoft/nni/blob/30152b04c4739f5b4f95087dee5f1e66ee893078/src/sdk/pynni/nni/nas/pytorch/callbacks.py#L61
To load, all you need to do this use model.load_state_dict(torch.load(...)) before applying fixed architecture.
Feel free to ask if you have more questions.

Hi @marsggbo. Thanks for raising this issue.
In DARTS and ENAS, you can add a ModelCheckpoint to the callbacks for trainers, which will export the supernet weight into a file. For details, refer to
https://github.com/microsoft/nni/blob/30152b04c4739f5b4f95087dee5f1e66ee893078/src/sdk/pynni/nni/nas/pytorch/callbacks.py#L61
To load, all you need to do this use model.load_state_dict(torch.load(...)) before applying fixed architecture.
Feel free to ask if you have more questions.

@ultmaster, may we add this issue to the FAQ? this sounds very useful to new users.
closing the ticket as ultmaster has provided the answer.

Hi, in the retiarii version of NNI, the trainer is deprecated. I only see specifying export_onnx in the evaluator (ClassificationModule exactly). So how can we save the supernet parameters, and reload them when we start a new experiment or continue an old experiment?

See this example pls https://github.com/microsoft/nni/blob/master/examples/nas/oneshot/spos/search.py

See this example pls https://github.com/microsoft/nni/blob/master/examples/nas/oneshot/spos/search.py

Thank you for the reply!!! My further question is that in the example of SPOS, the supernet-training process still use the old API, i.e., SinglePathTrainer, but the new API should be RandomOneShot. For the former one, I see how to save the checkpoints cuz it is just a pytorch class, but for the latter one which is xxxSpace, I cannot figure out how to save.
So do you mean that currently using old API like SingPathTrainer is a better option?
I am quite confused and hope for your reply, thank you!!!


⚠ ClamAV has degraded performance

In 467faef, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 628 ms

Resolved: ClamAV performance has improved in bd53b42.


Un-deprecate SigningCerts.fromPemFiles.

The previous goal was to force loading of signing certs from a SigningKeyStore instance to enable use of KmsStorageClient. This may not be necessary in the case that the keys come from a K8s secret, as K8s secrets can be KMS-encrypted at rest.

This change is

This was a loose end from https://rally1.rallydev.com/#/?detail=/userstory/623704746179&fdp=true.