Post and Get functionality is given to the adding products details

Post and Get functionality is given to the adding products details
@CodiumAI-Agent /review

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 4 🔵🔵🔵🔵⚪
🧪 No relevant tests
🔒 Security concerns
Sensitive information exposure: The authenticate middleware attaches the gstin to the request object. Ensure that this does not expose sensitive user information in unintended ways. Additionally, verify that JWT tokens are securely managed and not vulnerable to tampering or replay attacks.
⚡ Recommended focus areas for review
Possible BugThe addProduct function uses a loop to process and save multiple products. If one product fails (e.g., user not found for GSTIN), the entire operation is aborted, which may not be the desired behavior. Consider handling errors for individual products and continuing with the rest.
Performance IssueThe getProducts function retrieves all products and populates the gstin field. This could lead to performance issues if the database contains a large number of products. Consider adding pagination or filtering options.
Security ConcernThe authenticate middleware directly attaches the gstin to the request object. Ensure that this does not expose sensitive user information or lead to unintended side effects.
Error HandlingThe onSubmit function in the signup page does not handle non-200 response codes properly. It assumes success for status 200 but does not account for other success codes like 201 or unexpected responses.
Schema DesignThe ProductSchema does not include validation for the price, stock, and tax fields to ensure they are non-negative. Consider adding validation to prevent invalid data entry.


boa 0.11 WORKS vs boa 0.14 DOES NOT given the following recipe

# root
requirements:
  host:
    - python =>3.10
   run:
    - python =>3.10
    - other_pkg ==3.0.0

#other_pkg
requirements:
    - python =>3.10
   run:
    - python =>3.10
    - pexpect
    - tabulate
    - pandas

boa 0.11 completes the build successfully by installing python 3.10
boa 0.14 fails with error
Mamba failed to solve:
 - python >=3.10
 - other_pkg ==3.0.0
 - python_api 3.11.* *_cp311

with channels:

The reported errors are:
- enchountered problems while solving:
-     - package python_abi-3.11-2_cp311 requires python 3.11.* but none of the providers can be installed

Hi @alexshagiev thanks for filing this issue.
I think I have an idea on what happens.
We've more properly integrated "run_exports" support into boa in later releases.
So what happens is that there are "run-exports" applied from your host requirements to the run requirements. For example, python has a run_exports.json that specifies that whenever you have python 3.X in host, python_abi 3.X.* will be added to your run dependencies.
Now since you have only python in your host dependencies, the solver chooses the highest permissible version (3.11). This implicitly exports / adds the python_abi-3.11-2_cp311 to the run dependencies.
However, during solving maybe one of the additional dependencies (like pexpect or pandas) is not actually available for python 3.11 and then the resolution fails.
OK, I just realized that python actually does need special handling and they have a special run_exports (noarch) here: https://github.com/conda-forge/python-feedstock/blob/21038d707640da7b5da152a5239e199c720f0574/recipe/meta.yaml#L130-L134 that apparently removes the version specifier which might be missing in boa. I'll fix that!

OK, I checked in the source code of boa and it does seem like it should be correctly handled: https://github.com/mamba-org/boa/blob/c0fdcc3a2da467eaa56d6a9ff80b0f2dd0512ddd/boa/core/recipe_output.py#L483-L507
So either you are trying to build a noarch package without the
build:
  noarch: python
# ...

in your recipe or there is some other bug in mamba. Can you share a more complete recipe?
If you want to be explicit about your Python version (when it is not a noarch package), then you should create a conda_build_config.yml file that has keys such as these: https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/ea0b69c0276fbed957ddca1f521e9e92d9dd4582/recipe/conda_build_config.yaml#L655-L659
python:
  # part of a zip_keys: python, python_impl, numpy
  - 3.8.* *_cpython
  - 3.9.* *_cpython
  - 3.10.* *_cpython

In that case, you should have no version specifier for python in your recipe at all and pass in the pins with -m conda_build_config.yml. That will then create a matrix of builds (three in this case) for each python version. But this is only relevant when noarch does not work (e.g. when you have compiled Python extensions.../


NoMethodError in Devise::SessionsController#create

Environment
=> Rails <IP_ADDRESS>
=> ruby 3.1.3 (2022-11-24) [x86_64-darwin22]
=> devise 4.9.0
Current behavior
Log in does not work with the environment described above.
NoMethodError in Devise::SessionsController#create
NoMethodError (undefined method `empty?' for #<User id: 1, platform_id: 1, key: "XXXX", key_code: "XXXX",
key_id: 1, email<EMAIL_ADDRESS>first_name: "XXX", last_name: "XXXXX", crypted_password: [FILTERED], salt: [FILTERED], state: "active", remember_token_expires_at: nil, password_reset_code: nil, language: "de", activation_code: nil, activated_at: "2009-05-26 00:00:00.000000000 +0000", deleted_at: nil, last_login_at: nil, force_user_to_change_password: nil, created_at: "2009-05-26 00:00:00.000000000 +0000", updated_at: "2023-02-18 08:10:13.000000000 +0000", wrong_logins_count: 0, force_new_password: [FILTERED], ip: nil, note: nil, image_thumb_size: "10.33">):

activemodel (<IP_ADDRESS>) lib/active_model/attribute_methods.rb:458:in `method_missing'
rack (<IP_ADDRESS>) lib/rack/etag.rb:71:in `block in digest_body'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/response.rb:145:in `each'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/response.rb:145:in `each_chunk'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/response.rb:127:in `each'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/response.rb:75:in `each'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/response.rb:480:in `each'
rack (<IP_ADDRESS>) lib/rack/body_proxy.rb:41:in `method_missing'
rack (<IP_ADDRESS>) lib/rack/etag.rb:69:in `digest_body'
rack (<IP_ADDRESS>) lib/rack/etag.rb:33:in `call'
rack (<IP_ADDRESS>) lib/rack/conditional_get.rb:40:in `call'
rack (<IP_ADDRESS>) lib/rack/head.rb:12:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/permissions_policy.rb:38:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/content_security_policy.rb:36:in `call'
rack (<IP_ADDRESS>) lib/rack/session/abstract/id.rb:266:in `context'
rack (<IP_ADDRESS>) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/cookies.rb:704:in `call'
activerecord (<IP_ADDRESS>) lib/active_record/migration.rb:603:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:99:in `run_callbacks'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/show_exceptions.rb:26:in `call'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:40:in `call_app'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:25:in `block in call'
activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:99:in `block in tagged'
activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:37:in `tagged'
activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:99:in `tagged'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:25:in `call'
sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/remote_ip.rb:93:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/request_id.rb:26:in `call'
rack (<IP_ADDRESS>) lib/rack/method_override.rb:24:in `call'
rack (<IP_ADDRESS>) lib/rack/runtime.rb:22:in `call'
activesupport (<IP_ADDRESS>) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/server_timing.rb:61:in `block in call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/server_timing.rb:26:in `collect_events'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/server_timing.rb:60:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/static.rb:23:in `call'
rack (<IP_ADDRESS>) lib/rack/sendfile.rb:110:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/host_authorization.rb:137:in `call'
railties (<IP_ADDRESS>) lib/rails/engine.rb:530:in `call'
rack (<IP_ADDRESS>) lib/rack/handler/webrick.rb:95:in `service'
webrick (1.8.1) lib/webrick/httpserver.rb:140:in `service'
webrick (1.8.1) lib/webrick/httpserver.rb:96:in `run'
webrick (1.8.1) lib/webrick/server.rb:310:in `block in start_thread'
<IP_ADDRESS> - - [18/Feb/2023:09:10:12 CET] "POST /auth/login HTTP/1.1" 500 74865
http://www.localhost.id2:3000/auth/login -> /auth/login

Code examples: I am using the default devise controllers and views.
Expected behavior
Log in works as expected ....

@ck2000 this error looks a lot like https://github.com/heartcombo/devise/issues/5558. Have you upgraded your app and had custom code (failure app, parent controller) configured by any chance? Those would have to be removed. See this upgrade example: https://github.com/vincemilo/odin-facebook/pull/1
If not that, have you made any other change to your app, like adding custom respond_to, etc? Are you running with responders 3.1.0? This information will be helpful to troubleshot. Thanks.

@ck2000 this error looks a lot like #5558. Have you upgraded your app and had custom code (failure app, parent controller) configured by any chance? Those would have to be removed. See this upgrade example: vincemilo/odin-facebook#1
If not that, have you made any other change to your app, like adding custom respond_to, etc? Are you running with responders 3.1.0? This information will be helpful to troubleshot. Thanks.

Thank you for your quick response. Yes, I have upgraded my app as described in the change log. I am using responders gem v3.1.0. / no changes to respond_to ...
I have some code in my application_controller / nothing special. I am using gem 'exception_notification' If you meant this with failure app.

@ck2000 and you've removed all custom code like these pieces, right?
https://github.com/vincemilo/odin-facebook/pull/1/files#diff-f3640dd386a7be68e1654ef2770e29c5594e786a7039f2ed79269cc7bf53bdda
https://github.com/vincemilo/odin-facebook/pull/1/files#diff-cb6e8126296dbc007e7625eee863de5c3213ed949b9999ea3418775f65826531
I will try to repro again, but from my previous testing on that other app the only way I could really repro it was keeping those overrides. After removing them, the error went away.

Thank you for pointing this out. I have changed the config an go ride of config.parent_controller
Works perfect now. Thank you!

Awesome, glad to hear it!

@ck2000 and you've removed all custom code like these pieces, right?
https://github.com/vincemilo/odin-facebook/pull/1/files#diff-f3640dd386a7be68e1654ef2770e29c5594e786a7039f2ed79269cc7bf53bdda
https://github.com/vincemilo/odin-facebook/pull/1/files#diff-cb6e8126296dbc007e7625eee863de5c3213ed949b9999ea3418775f65826531
I will try to repro again, but from my previous testing on that other app the only way I could really repro it was keeping those overrides. After removing them, the error went away.

Hey this worked great; thank you @carlosantoniodasilva . Do you know if there is a way to regenerate a clean config/initializers/devise.rb file from the 4.9 package? I would like to make sure I'm running a clean copy. I couldn't find the source file in the repo, so is this automagically generated during Devise install?

@ck2000 and you've removed all custom code like these pieces, right?

https://github.com/vincemilo/odin-facebook/pull/1/files#diff-f3640dd386a7be68e1654ef2770e29c5594e786a7039f2ed79269cc7bf53bdda

https://github.com/vincemilo/odin-facebook/pull/1/files#diff-cb6e8126296dbc007e7625eee863de5c3213ed949b9999ea3418775f65826531

I will try to repro again, but from my previous testing on that other app the only way I could really repro it was keeping those overrides. After removing them, the error went away.

Hey this worked great; thank you @carlosantoniodasilva . Do you know if there is a way to regenerate a clean config/initializers/devise.rb file from the 4.9 package? I would like to make sure I'm running a clean copy. I couldn't find the source file in the repo, so is this automagically generated during Devise install?

Yes, I have removed all custom code.


Create Navigation Bar

We need to add the nav bar

We have a basic navbar now

We have a basic navbar now


Stop leaking Redis secrets on connection

We provide the host as context instead.

@all-contributors please add @erbridge for bugs and code.


Logger fails to authenticate using config file, but works with envars

I am having a weird behavior where the setup works using AWS envars, but doesn't with a ~/.aws/credentials file.
While using the credentials file I am able to create a log group and push a message via awscli. When launching the ros project getting the following output:
SUMMARY                                                                                [50/303]
========

PARAMETERS
 * /cloudwatch_logger/aws_client_configuration/connect_timeout_ms: 10000
 * /cloudwatch_logger/aws_client_configuration/max_retries: 100
 * /cloudwatch_logger/aws_client_configuration/region: us-east-1
 * /cloudwatch_logger/aws_client_configuration/request_timeout_ms: 60000
 * /cloudwatch_logger/log_group_name: mbbssim
 * /cloudwatch_logger/log_stream_name: 81e63cbe-d7d2-4ba...
 * /cloudwatch_logger/min_log_verbosity: INFO
 * /cloudwatch_logger/publish_frequency: 120
 * /cloudwatch_logger/sub_to_rosout: True
 * /cloudwatch_logger/topics: []
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /
    base (basestation/base)
    cloudwatch_logger (cloudwatch_logger/cloudwatch_logger)

auto-starting new master
process[master]: started with pid [10158]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to fac359f2-a65e-11e9-83c0-cc3d822d9092
process[rosout-1]: started with pid [10171]
started core service [/rosout]
process[base-2]: started with pid [10178]
process[cloudwatch_logger-3]: started with pid [10189]
[ INFO] [1563126248.197236689]: [main] Starting cloudwatch_logger...
[ INFO] [1563126248.204495265]: [ReadPublishFrequency] Publish frequency is set to: 120
[ INFO] [1563126248.205949694]: [ReadLogGroup] Log group name is set to: mbbssim
[ INFO] [1563126248.207294833]: [ReadLogStream] Log stream name is set to: 81e63cbe-d7d2-4bab-4073-aed39f7359bf
[ INFO] [1563126248.209071818]: [ReadSubscribeToRosout] Whether to subscribe to rosout_agg topic is set to: 1
[ INFO] [1563126248.210649525]: [ReadMinLogVerbosity] Log verbosity is set to INFO.
[ INFO] [1563126248.211587951]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /home/mr337//.aws/config and using profilePrefix = 1
[ INFO] [1563126248.211638603]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /home/mr337//.aws/credentials and using profilePrefix = 0
[ INFO] [1563126248.211679273]: [ProfileConfigFileAWSCredentialsProvider] Setting provider to read credentials from /home/mr337//.aws/credentials for credentials file and /home/mr337//.aws/config for the config file , for use with profile
 default
[ INFO] [1563126248.211713663]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /home/mr337//.aws/config and using profilePrefix = 1
[ INFO] [1563126248.211762464]: [Aws::Config::AWSConfigFileProfileConfigLoader] Unable to open config file /home/mr337//.aws/config for reading.
[ INFO] [1563126248.211789842]: [Aws::Config::AWSProfileConfigLoader] Failed to reload configuration.
[ INFO] [1563126248.211818241]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /home/mr337//.aws/credentials and using profilePrefix = 0
[ INFO] [1563126248.211961798]: [Aws::Config::AWSProfileConfigLoader] Successfully reloaded configuration.
[ INFO] [1563126248.258529704]: [CurlHttpClient] Initializing Curl library
[ INFO] [1563126248.262861790]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /home/mr337//.aws/config and using profilePrefix = 1
[ INFO] [1563126248.262960796]: [Aws::Config::AWSConfigFileProfileConfigLoader] Unable to open config file /home/mr337//.aws/config for reading.
[ INFO] [1563126248.262997453]: [Aws::Config::AWSProfileConfigLoader] Failed to reload configuration.
[ INFO] [1563126248.263073625]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /home/mr337//.aws/config and using profilePrefix = 1
[ INFO] [1563126248.263115513]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /home/mr337//.aws/credentials and using profilePrefix = 0
[ INFO] [1563126248.263165278]: [ProfileConfigFileAWSCredentialsProvider] Setting provider to read credentials from /home/mr337//.aws/credentials for credentials file and /home/mr337//.aws/config for the config file , for use with profile
 default
[ INFO] [1563126248.263226385]: [EC2MetadataClient] Creating AWSHttpResourceClient with max connections2 and scheme http
[ INFO] [1563126248.263260030]: [CurlHandleContainer] Initializing CurlHandleContainer with size 2
[ INFO] [1563126248.263296261]: [InstanceProfileCredentialsProvider] Creating Instance with default EC2MetadataClient and refresh rate 300000
[ INFO] [1563126248.263327261]: [DefaultAWSCredentialsProviderChain] Added EC2 metadata service credentials provider to the provider chain.
[ INFO] [1563126248.263477389]: [Aws::Config::AWSProfileConfigLoader] Successfully reloaded configuration.
[ INFO] [1563126248.263518831]: [InstanceProfileCredentialsProvider] Credentials have expired attempting to repull from EC2 Metadata Service.
[ INFO] [1563126248.263706538]: [CurlHandleContainer] Pool grown by 2
[ INFO] [1563126248.263819304]: [CurlHandleContainer] Connection has been released. Continuing.
.
.
.
.
[ERROR] [1563126249.264218528]: [CurlHttpClient] Curl returned error code 28 - Timeout was reached
[ERROR] [1563126249.264374689]: [EC2MetadataClient] Http request to retrieve credentials failed
[ WARN] [1563126249.264417702]: [EC2MetadataClient] Request failed, now waiting 0 ms before attempting again.
2019-07-14 17:44:09,393 - app:129 - INFO - Starting telem loop...
[ERROR] [1563126250.264838784]: [CurlHttpClient] Curl returned error code 28 - Timeout was reached
[ERROR] [1563126250.264909642]: [EC2MetadataClient] Http request to retrieve credentials failed
[ WARN] [1563126250.264959605]: [EC2MetadataClient] Request failed, now waiting 2000 ms before attempting again.
[ INFO] [1563126252.265243072]: [CurlHandleContainer] Connection has been released. Continuing.
[ERROR] [1563126253.265100463]: [CurlHttpClient] Curl returned error code 28 - Timeout was reached
[ERROR] [1563126253.265193679]: [EC2MetadataClient] Http request to retrieve credentials failed
[ WARN] [1563126253.265244195]: [EC2MetadataClient] Request failed, now waiting 4000 ms before attempting again.
[ INFO] [1563126257.265451658]: [CurlHandleContainer] Connection has been released. Continuing.
[ERROR] [1563126258.265866716]: [CurlHttpClient] Curl returned error code 28 - Timeout was reached
[ERROR] [1563126258.265939342]: [EC2MetadataClient] Http request to retrieve credentials failed
[ WARN] [1563126258.265967638]: [EC2MetadataClient] Request failed, now waiting 8000 ms before attempting again.
[ INFO] [1563126266.266241045]: [CurlHandleContainer] Connection has been released. Continuing.
[ERROR] [1563126267.266728018]: [CurlHttpClient] Curl returned error code 28 - Timeout was reached
[ERROR] [1563126267.266791009]: [EC2MetadataClient] Http request to retrieve credentials failed
[ERROR] [1563126267.266830843]: [EC2MetadataClient] Can not retrive resource /latest/meta-data/iam/security-credentials
[ INFO] [1563126267.266901035]: [Aws::Config::AWSProfileConfigLoader] Failed to reload configuration.
[ INFO] [1563126267.267074366]: [CurlHandleContainer] Initializing CurlHandleContainer with size 25
[ INFO] [1563126267.267318236]: [StartPublisherThread] Started publisher thread
[ INFO] [1563126267.267908661]: [CurlHandleContainer] Pool grown by 2
[ INFO] [1563126267.267987055]: [CurlHandleContainer] Connection has been released. Continuing.
[ INFO] [1563126267.278248063]: [ReadSubscriberList] Subscribing to rosout_agg
[ INFO] [1563126267.278314980]: [main] Initialized cloudwatch_logger.
[ WARN] [1563126267.586875648]: [AWSErrorMarshaller] Encountered AWSError 'MissingAuthenticationTokenException': Missing Authentication Token
[ERROR] [1563126267.586963778]: [AWSClient] HTTP response code: 400
Exception name: MissingAuthenticationTokenException
Error message: Missing Authentication Token
5 response headers:
connection : close
content-length : 89
content-type : application/x-amz-json-1.1
date : Sun, 14 Jul 2019 17:44:27 GMT
x-amzn-requestid : 06a855e0-a65f-11e9-8dca-8506383ed1a4
[ WARN] [1563126267.587026461]: [AWSClient] If the signature check failed. This could be because of a time skew. Attempting to adjust the signer.
[ WARN] [1563126267.587122962]: [CheckLogGroupExists] Request to check if log group named mbbssim exists failed. Error message: Missing Authentication Token, with error code: 8
[ INFO] [1563126267.587242780]: [CurlHandleContainer] Connection has been released. Continuing.
[ WARN] [1563126267.776558040]: [AWSErrorMarshaller] Encountered AWSError 'MissingAuthenticationTokenException': Missing Authentication Token
.
.
.

Export AWS key and secret via envars and everything works fine. I don't mind injecting envars but don't know how to securely do that in the robomaker environment. Setting AWS envars on deployment doesn't sound that attractive.
Test Environment
AWS credential file (chmod 777):
$ cat ~/.aws/credentials
[default]
aws_access_key_id =  XXXX
aws_secret_access_key = XXX
region=us-east-1

No AWS configuration file to interfere.
Roslaunch params:
 * /cloudwatch_logger/aws_client_configuration/connect_timeout_ms: 10000
 * /cloudwatch_logger/aws_client_configuration/max_retries: 100
 * /cloudwatch_logger/aws_client_configuration/region: us-east-1
 * /cloudwatch_logger/aws_client_configuration/request_timeout_ms: 60000
 * /cloudwatch_logger/log_group_name: mbbssim
 * /cloudwatch_logger/log_stream_name: 81e63cbe-d7d2-4ba...
 * /cloudwatch_logger/min_log_verbosity: INFO
 * /cloudwatch_logger/publish_frequency: 120
 * /cloudwatch_logger/sub_to_rosout: True
 * /cloudwatch_logger/topics: []
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

Installed packages:
$ aptitude show ros-kinetic-cloudwatch-logger ros-kinetic-cloudwatch-logs-common
Package: ros-kinetic-cloudwatch-logger
New: yes
State: installed
Automatically installed: no
Version: 2.1.0-2xenial-20190624-162117-0800
Priority: extra
Section: misc
Maintainer: AWS RoboMaker<EMAIL_ADDRESS>Architecture: amd64
Uncompressed Size: 151 k
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), ros-kinetic-aws-common, ros-kinetic-aws-ros1-common, ros-kinetic-cloudwatch-logs-common, ros-kinetic-roscpp
Conflicts: ros-kinetic-cloudwatch-logger:i386
Description: CloudWatch Logger node for publishing logs to AWS CloudWatch Logs

Homepage: http://wiki.ros.org/cloudwatch_logger

Package: ros-kinetic-cloudwatch-logs-common
New: yes
State: installed
Automatically installed: yes
Version: 1.0.2-1xenial-20190624-161838-0800
Priority: extra
Section: misc
Maintainer: AWS RoboMaker<EMAIL_ADDRESS>Architecture: amd64
Uncompressed Size: 151 k
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), ros-kinetic-aws-common
Conflicts: ros-kinetic-cloudwatch-logs-common:i386
Description: AWS CloudWatch management library used by ROS1/2 node to publish logs to CloudWatch service

Hi, I was unable to reproduce the issue. The log messages should look something like this:
[ INFO] [1563313471.408779211]: [main] Starting cloudwatch_logger...
[ INFO] [1563313471.418044513]: [ReadPublishFrequency] Publish frequency is set to: 120
[ INFO] [1563313471.419423468]: [ReadLogGroup] Log group name is set to: mbbssim
[ INFO] [1563313471.422408472]: [ReadLogStream] Log stream name is set to: 81e63cbed7d24ba
[ INFO] [1563313471.423534615]: [ReadSubscribeToRosout] Whether to subscribe to rosout_agg topic is set to: 1
[ INFO] [1563313471.424670847]: [ReadMinLogVerbosity] Log verbosity is set to INFO.
[ INFO] [1563313471.425372636]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /root//.aws/config and using profilePrefix = 1
[ INFO] [1563313471.425404660]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /root//.aws/credentials and using profilePrefix = 0
[ INFO] [1563313471.425459207]: [ProfileConfigFileAWSCredentialsProvider] Setting provider to read credentials from /root//.aws/credentials for credentials file and /root//.aws/config for the config file , for use with profile default
[ INFO] [1563313471.425502565]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /root//.aws/config and using profilePrefix = 1
[ INFO] [1563313471.425614579]: [Aws::Config::AWSProfileConfigLoader] Failed to reload configuration.
[ INFO] [1563313471.425645437]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /root//.aws/credentials and using profilePrefix = 0
[ INFO] [1563313471.425735447]: [Aws::Config::AWSProfileConfigLoader] Successfully reloaded configuration.
[ INFO] [1563313471.448819200]: [CurlHttpClient] Initializing Curl library
[ INFO] [1563313471.451404211]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /root//.aws/config and using profilePrefix = 1
[ INFO] [1563313471.451498662]: [Aws::Config::AWSProfileConfigLoader] Failed to reload configuration.
[ INFO] [1563313471.451575321]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /root//.aws/config and using profilePrefix = 1
[ INFO] [1563313471.451609004]: [Aws::Config::AWSConfigFileProfileConfigLoader] Initializing config loader against fileName /root//.aws/credentials and using profilePrefix = 0
[ INFO] [1563313471.451640813]: [ProfileConfigFileAWSCredentialsProvider] Setting provider to read credentials from /root//.aws/credentials for credentials file and /root//.aws/config for the config file , for use with profile default
[ INFO] [1563313471.451689481]: [EC2MetadataClient] Creating AWSHttpResourceClient with max connections2 and scheme http
[ INFO] [1563313471.451711205]: [CurlHandleContainer] Initializing CurlHandleContainer with size 2
[ INFO] [1563313471.451742187]: [InstanceProfileCredentialsProvider] Creating Instance with default EC2MetadataClient and refresh rate 300000
[ INFO] [1563313471.451764249]: [DefaultAWSCredentialsProviderChain] Added EC2 metadata service credentials provider to the provider chain.
[ INFO] [1563313471.451869221]: [Aws::Config::AWSProfileConfigLoader] Successfully reloaded configuration.
[ INFO] [1563313471.452005709]: [CurlHandleContainer] Initializing CurlHandleContainer with size 25
[ INFO] [1563313471.452204342]: [StartPublisherThread] Started publisher thread
[ INFO] [1563313471.452721575]: [CurlHandleContainer] Pool grown by 2
[ INFO] [1563313471.452771576]: [CurlHandleContainer] Connection has been released. Continuing.
[ INFO] [1563313471.457970542]: [ReadSubscriberList] Subscribing to rosout_agg
[ INFO] [1563313471.458004084]: [main] Initialized cloudwatch_logger.
[ INFO] [1563313471.852470669]: [CurlHandleContainer] Connection has been released. Continuing.
[ INFO] [1563313471.996361923]: [CurlHandleContainer] Connection has been released. Continuing

and it was able to publish logs to Cloudwatch.
I noticed that your logs indicated [Aws::Config::AWSConfigFileProfileConfigLoader] Unable to open config file /home/mr337//.aws/config for reading.
Would you be able to describe your environment in more detail? For example, are you using a Docker container? Using a Cloud9 terminal? Etc.

@mm318 I was testing this on one of our dev machines. This was ran directly in our workspace, no docker, virtual environments or cloud9.
For the error about ~/.aws/config we had that file present but removed it to ensure it wouldn't affect the auth. The only file present is the ~/.aws/credentials file.
Does the ~/.aws/config file need to be present but empty? IIRC I tried that with no success.

What version of awscli are you using? Were your ~/.aws/config and ~/.aws/credentials setup by aws configure of that version of awscli?

Version of awscli
 $ aws --version
aws-cli/1.11.45 Python/2.7.12 Linux/4.15.0-45-generic botocore/1.5.8

IIRC, been a while, it was. I am happy to delete the entire ~/.aws and renter the credits so awscli can build the dir and files as it sees fit.

The version that I tried with was:
# aws --version
aws-cli/1.16.198 Python/3.5.2 Linux/4.15.0-54-generic botocore/1.12.188

Yes, can you please remove the entire ~/.aws directory and retry with a more recent version of awscli? Thanks.

Hi @mm318  sorry for late reply. Updating the awscli did the trick!

Glad to hear! Thanks


Table Scrolling Issue with navigation bar

"JBParallaxCell"  is working fine with smooth scrolling if UIViewController does not have Navigation Bar, while if navigation bar is there on  UIViewController. In that case scrolling doesn't working fine and stuck a lot. Which does not looks good. I tried your sample code as well and when I embedded ViewController with Navigation Controller with Navigation Bar displayed, sample code also start stuck behavior while scrolling.
Do you have an idea, why it happened, and how can we resolve this ?

Try to set your navigation bar on the navigation controller opaque. I think the bad effect is caused by the blur transparent effect of the navigation bar, when I wrote this code this effect does not exists :(

Thanks mate, it's working :+1:


How to set left side width fixed, and view the content by horizontal scrolling?

Hey @Rick-Lewis , have you been able to find a solution? I would appreciate it if you could share what worked for you.

<ngx-gantt-root #gantt [sideWidth]="sideContainerWidth">
    <gantt-loader *ngIf="loading"></gantt-loader>

    <ng-template #sideTemplate>
        <ng-container [ngTemplateOutlet]="tableTemplate"></ng-container>

    </ng-template>
</ngx-gantt-root>

custom table, maybe


Refactor to use an instantiatable class

Depends on #79
Supersedes #30

Approved, but leaving to you to merge because of depends on.

@justinlittman thanks.  I rebased this on the new master (which has #79 merged in).


The implement of attention loss

Thanks for this great implement. I go through your codes, and find that this repo has implemented the classification loss and attention mining loss in the paper. Do you have the plan to add the attention loss (directly compare the l2 distance of the attention map and pixel-wise mask) in the paper? Meanwhile, I notice that you add the segmentation loss in this repo. This segmentation loss is helpful for generating an accurate attention map?

Hello. Thanks for going through the repo. Originally, I didn't have the need for the extra supervision part, so I thought better to not implement it. Right now, although I have no plans as such to add the GAIN_ext part of the paper as I haven't been able to make out time to work on this project, I might take out some time to work on adding the remaining section. Although, you are free to send a PR for that section as well.
Yes, that was my experience. Pure GAIN loss lead to bad results in my implementation.

Thanks for your quick reply. Another question is that I am not very clear with the "Quantitative Results" part in the ReadMe. Could you help to explain that the mean of  "Accuracy | Accuracy Class | Mean IU | FWAVACC | Model File"?
I think the original paper is designed to improve the performance of the attention map, and this repo is used to improve the segmentation performance. So I am wondering that it can help for the segmentation or not. But I do not totally understand the table in the "Quantitative Results" part in the ReadMe.

My takeaway was that the paper tries to explicitly improve the attention map generated in order to improve semantic segmentation performance. This could be apparent from the fact that in the paper, they have compared semantic segmentation performances with other methods.
Those are the metrics to evaluate segmentation. I was trying to see if there are any changes in the metrics from the original fcn model after doing GAIN training,

Okay! Hope it can work! Thanks a lot for your reply.


Discrete maths

beginnings for doing a bit of discrete mathematics

This patch looks interesting.
Would you mind discussing about it on the Commons Developers list? This is where all technical discussions about Apache Commons Math occur. You can find instructions here: http://commons.apache.org/proper/commons-math/mail-lists.html
Do not forget to put the [math] marker on the subject line as the list is shared among all Commons components, this helps people filtering messages.
best regards,
Luc


NetworkPolicy and CiliumNetworkPolicy allow IPv6 egress if <IP_ADDRESS>/0 is allowed

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When applying a NetworkPolicy or a CiliumNetworkPolicy which only allows cluster-external traffic to <IP_ADDRESS>/0, Cilium will continue to allow traffic to cluster-external IPv6 targets.
This behaviour is not present for subnets of <IP_ADDRESS>/0, like <IP_ADDRESS>/1 or in case an except rule is present.
Cilium seems to treat <IP_ADDRESS>/0 differently from other prefixes.
NetworkPolicy allowing IPv6 traffic:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: ipv4-only
spec:
  podSelector: {}
  policyTypes:
    - Egress
  egress:
    - to:
        - ipBlock:
            cidr: <IP_ADDRESS>/0
    - to:
        - podSelector: {}
    - to:
        - namespaceSelector: {}

Same NetworkPolicy with except rule, blocking IPv6 traffic:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: ipv4-except
spec:
  podSelector: {}
  policyTypes:
    - Egress
  egress:
    - to:
        - ipBlock:
            cidr: <IP_ADDRESS>/0
            except:
              - <IP_ADDRESS>/8
    - to:
        - podSelector: {}
    - to:
        - namespaceSelector: {}

Another NetworkPolicy not using <IP_ADDRESS>/0, blocking IPv6 traffic
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: ipv4-only-subnet
spec:
  podSelector: {}
  policyTypes:
    - Egress
  egress:
    - to:
        - ipBlock:
            cidr: <IP_ADDRESS>/1
    - to:
        - podSelector: {}
    - to:
        - namespaceSelector: {}

CiliumNetworkPolicy allowing IPv6 traffic:
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
  name: ipv4-only
spec:
  endpointSelector: {}
  egress:
    - toCIDRSet:
        - cidr: <IP_ADDRESS>/0
    - toEndpoints:
        - {}
    - toEntities:
        - cluster

Same CiliumNetworkPolicy with except rule, blocking IPv6 traffic:
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
  name: ipv4-except
spec:
  endpointSelector: {}
  egress:
    - toCIDRSet:
        - cidr: <IP_ADDRESS>/0
          except:
            - <IP_ADDRESS>/8
    - toEndpoints:
        - {}
    - toEntities:
        - cluster

Expected bahaviour
I would expect Cilium to treat all IPv4 prefixes the same and not to treat <IP_ADDRESS>/0 differently to allow IPv6 communication as well.
Cilium Version
Client: 1.12.4 6eaecaf 2022-11-16T05:45:01+00:00 go version go1.18.8 linux/amd64
Daemon: 1.12.4 6eaecaf 2022-11-16T05:45:01+00:00 go version go1.18.8 linux/amd64
Kernel Version
Linux k8s0-controleplane0 5.19.0-2-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.19.11-1 (2022-09-24) x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.4", GitCommit:"872a965c6c6526caa949f0c6ac028ef7aff3fb78", GitTreeState:"clean", BuildDate:"2022-11-09T13:28:30Z", GoVersion:"go1.19.3", Compiler:"gc", Platform:"darwin/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.3", GitCommit:"434bfd82814af038ad94d62ebe59b133fcb50506", GitTreeState:"clean", BuildDate:"2022-10-12T10:49:09Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}
Sysdump
No response
Relevant log output
No response
Anything else?
cilium status:
KVStore:                 Ok   Disabled
Kubernetes:              Ok   1.25 (v1.25.3) [linux/amd64]
Kubernetes APIs:         ["cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "core/v1::Namespace", "core/v1::Node", "core/v1::Pods", "core/v1::Service", "discovery/v1::EndpointSlice", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:    Strict    [internet <IP_ADDRESS> 2001:db8::1 (Direct Routing)]
Host firewall:           Enabled   [internet]
CNI Chaining:            none
Cilium:                  Ok   1.12.4 (v1.12.4-6eaecaf)
NodeMonitor:             Listening for events on 4 CPUs with 64x4096 of shared memory
Cilium health daemon:    Ok
IPAM:                    IPv4: 4/254 allocated from <IP_ADDRESS>/24, IPv6: 4/65534 allocated from 2001:db8:1f::2:0/112
BandwidthManager:        EDT with BPF [BBR] [internet]
Host Routing:            BPF
Masquerading:            BPF   [internet]   <IP_ADDRESS>/8 [IPv4: Enabled, IPv6: Disabled]
Controller Status:       30/30 healthy
Proxy Status:            OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000
Global Identity Range:   min 256, max 65535
Hubble:                  Ok   Current/Max Flows: 4095/4095 (100.00%), Flows/s: 45.90   Metrics: Ok
Encryption:              Disabled
Cluster health:          3/3 reachable   (2022-12-08T00:45:43Z)

Code of Conduct

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

Thanks for the report! There's a PR out that looks like it should fix the issue. You're welcome to try out the PR by following the Image Digests Output for the image pull step on the PR: https://github.com/cilium/cilium/actions/runs/3691119265/jobs/6249127882

I tried it and it works. Thank you very much, @nathanjsweet!
Didn't update without the digest for some reason. Was stuck on 1.12.4.
Additions to Helm values if someone else wants to try:
image:
  repository: quay.io/cilium/cilium-ci
  tag: eca53f768761730b6c7106428e9349f7573c00cf
  digest: sha256:8306cf4572eecd58fa7d2929513fad18249c40299326b549d68a3f46d8f4568f
operator:
  replicas: 1
  image:
    repository: quay.io/cilium/operator
    suffix: -ci
    tag: eca53f768761730b6c7106428e9349f7573c00cf
    genericDigest: sha256:c0560e8dc8e734537e0ccabb686a2c56d8ea88031e2266bee8e10f75b43109e1
    useDigest: true

In the DaemonSet Pod:
# cilium version
Client: 1.13.90 eca53f76 2022-12-08T10:17:49-08:00 go version go1.19.3 linux/amd64
Daemon: 1.13.90 eca53f76 2022-12-08T10:17:49-08:00 go version go1.19.3 linux/amd64

I just realised that my testing has been too preliminary.
To me, it seems like there is something wrong with policy handling in the PR (49db46744e981f73cc690b3768c2915373b2a930).
It's working fine with 1.12.4, 1.13.0-rc3, and the master (49db46744e981f73cc690b3768c2915373b2a930).
Regardless whether I am applying a NetworkPolicy or a CiliumNetworkPolicy, the ipv4-only policies from my initial report, no traffic is allowed to leave the cluster.
cilium policy get
NetworkPolicy

[
  {
    "endpointSelector": {
      "matchLabels": {
        "k8s:io.kubernetes.pod.namespace": "cert-manager"
      }
    },
    "egress": [
      {
        "toCIDRSet": [
          {
            "cidr": "<IP_ADDRESS>/0"
          }
        ]
      },
      {
        "toEndpoints": [
          {
            "matchLabels": {
              "k8s:io.kubernetes.pod.namespace": "cert-manager"
            }
          }
        ]
      },
      {
        "toEndpoints": [
          {
            "matchExpressions": [
              {
                "key": "k8s:io.kubernetes.pod.namespace",
                "operator": "Exists"
              }
            ]
          }
        ]
      }
    ],
    "labels": [
      {
        "key": "io.cilium.k8s.policy.derived-from",
        "value": "NetworkPolicy",
        "source": "k8s"
      },
      {
        "key": "io.cilium.k8s.policy.name",
        "value": "ipv4-only",
        "source": "k8s"
      },
      {
        "key": "io.cilium.k8s.policy.namespace",
        "value": "cert-manager",
        "source": "k8s"
      },
      {
        "key": "io.cilium.k8s.policy.uid",
        "value": "5d5de8ca-b3b0-458c-8962-2f9ecc9bb3df",
        "source": "k8s"
      }
    ]
  }
]

CiliumNetworkPolicy

[
  {
    "endpointSelector": {
      "matchLabels": {
        "k8s:io.kubernetes.pod.namespace": "cert-manager"
      }
    },
    "egress": [
      {
        "toCIDRSet": [
          {
            "cidr": "<IP_ADDRESS>/0"
          }
        ]
      },
      {
        "toEndpoints": [
          {
            "matchLabels": {
              "k8s:io.kubernetes.pod.namespace": "cert-manager"
            }
          }
        ]
      },
      {
        "toEntities": [
          "cluster"
        ]
      }
    ],
    "labels": [
      {
        "key": "io.cilium.k8s.policy.derived-from",
        "value": "CiliumNetworkPolicy",
        "source": "k8s"
      },
      {
        "key": "io.cilium.k8s.policy.name",
        "value": "ipv4-only-still-allowing-ipv6",
        "source": "k8s"
      },
      {
        "key": "io.cilium.k8s.policy.namespace",
        "value": "cert-manager",
        "source": "k8s"
      },
      {
        "key": "io.cilium.k8s.policy.uid",
        "value": "123ca6ec-d25c-49df-9ca1-cbf8ff17290f",
        "source": "k8s"
      }
    ]
  }
]

Connectivity testing
Cilium versions & images

1.13.0-rc3
Client: 1.13.0-rc3 d37596cf 2022-12-01T14:37:11+01:00 go version go1.19.3 linux/amd64
Daemon: 1.13.0-rc3 d37596cf 2022-12-01T14:37:11+01:00 go version go1.19.3 linux/amd64

master
Client: 1.13.90 49db4674 2022-12-12T09:46:52+02:00 go version go1.19.3 linux/amd64
Daemon: 1.13.90 49db4674 2022-12-12T09:46:52+02:00 go version go1.19.3 linux/amd64

image:
  repository: quay.io/cilium/cilium-ci
  tag: latest
  digest: sha256:2d6382bc65f4d57da43f255c58c66042182b1003b2ede147e562341ee9790e05
operator:
  image:
    repository: quay.io/cilium/operator
    suffix: -ci
    tag: latest
    genericDigest: sha256:5ba41b7c7ada348c14054c3db129e2fecad312df5719a83398d9d977569e81fc
    useDigest: true

PR
Client: 1.13.90 eca53f76 2022-12-08T10:17:49-08:00 go version go1.19.3 linux/amd64
Daemon: 1.13.90 eca53f76 2022-12-08T10:17:49-08:00 go version go1.19.3 linux/amd64

image:
  repository: quay.io/cilium/cilium-ci
  tag: eca53f768761730b6c7106428e9349f7573c00cf
  digest: sha256:8306cf4572eecd58fa7d2929513fad18249c40299326b549d68a3f46d8f4568f
operator:
  image:
    repository: quay.io/cilium/operator
    suffix: -ci
    tag: eca53f768761730b6c7106428e9349f7573c00cf
    genericDigest: sha256:c0560e8dc8e734537e0ccabb686a2c56d8ea88031e2266bee8e10f75b43109e1
    useDigest: true

Results

Target
1.13.0-rc3 (NP)
1.13.0-rc3 (CNP)
master (NP)
master (CNP)
PR (NP)
PR (CNP)

Same namespace
✅
✅
✅
✅
✅
✅

Other namespace
✅
✅
✅
✅
✅
✅

Cluster API v4*
❌
✅
❌
✅
❌
✅

World v4
✅
✅
✅
✅
❌
❌

World v6
✅
✅
✅
✅
❌
❌

* The Cluster API is shown with its IP address in the hubble observe logs, not as a Cilium entity. I will open an issue on the matter.


MINOR Remove unreachable if-else block in ReplicaManager.scala

After this #13107 PR,  an if-else block became unreachable. We need remove it and make the code clean.

@drawxy can you please fix the failing compilation. Otherwise looks good.

I can see there are thousands of lines changes. Is that expected?

I can see there are thousands of lines changes. Is that expected?

Hi @showuon , sorry for involving tens of commits by rebasing the wrong branch.

@drawxy can you please fix the failing compilation. Otherwise looks good.

Already fixed by rebasing the trunk branch. @divijvaidya, can you please help to merge this PR, thanks!

Hi @divijvaidya and @showuon, I have resolved the compilation issue, but there are still some failed unit test cases, which are not involved by this PR. Should I mitigate them all? I am new here and need your helps, thanks again :)

Failed tests are unrelated.

Thanks for the contribution, @drawxy !


Implement find tests

Implement additional tests for find

Coverage increased (+1.6%) to 83.254% when pulling 6a5b92b70c9425d6554c17a68dae5ce8180b1520 on features/find_test into 3a1440d36cd57c53d5470a3033f510d03231edb2 on master_V0.5rc.


Websocket support by the ESP32

I had websocket on ESP8266 and it was working fin but I can not use ESP32. Could you please provide example for websocket server and client?

hi
you can test this example:
https://esp32.com/viewtopic.php?f=17&t=97
and the blog is here
http://www.barth-dev.de/websockets-on-the-esp32/
best wishes
rudi ;-)

libesphttpd provides websocket support and is compatible with ESP-IDF (make sure you get 'esp-idf' branch instead of master):
https://github.com/Spritetm/libesphttpd/tree/esp-idf


Performance of deep speech is bad

Environment info
Operating System: ubuntu 14.04
GPU: GTX 1080
Package used (Python/R/Scala/Julia): python
MXNet version: 0.9.5
Or if installed from source: git clone https://github.com/dmlc/mxnet.git ~/mxnet --recursive
Error Message:
I just follow the default configure script in the example of speech recognition with the corpus of librispeech (clean-360 subset).

After two epochs, the CER seems to be bad with CER 70%+

It works so slow(it takes a whole week for two epochs of clean-360 subset)

Minimum reproducible example
use the default.cfg to train the deep speech model.
Steps to reproduce

python main.py --python main.py --configfile default.cfg

What have you tried to solve it?

Is there any result/performance you have tested in librispeech?

@Soonhwan-Kwon

train only on clean-360 can be bad. I'm training on the whole(teain+teain_360+train_5000) dataset and got results cer 0.362836,0.207333,0.173531,0.156486 on epoch 0,1,2,3 for the test-clean and for the train (sample every 100 batch)0.5152, 0.2408,0.1883,0.1622.And it is slow for now because it doesn't use rnn fused cell or variable length approach, but we are working on for the improvement.

And there is deepspeech.cfg for real use and default.cfg is for just for the example.

@Soonhwan-Kwon , @piiswrong
Many thanks. I will try it again.

@Soonhwan-Kwon ， after the sorted epoch, the random epochs get no much improvement in my training as shown in the figure. Can you give me some advice, please?

I found baidu's flac to wav script has bug when it has short duration, it generates repeated sound file as  many 6 times or more. So I changed flac to wav converter from avconv to sox, and I found it generates identical outputs but fixes bug. I put fix of fiac_to_wav.sh on https://github.com/samsungsds-rnd/deepspeech.mxnet/commit/ee99375ed5082ec38d03fe0cf30c1c5284edea0c for now. But I am middle of testing because found the bug yesterday with my team member, it may takes time to confirm it doesn't makes any unintended effect on model.

@xinq2016 I pulled request but it is not permitted yet. Please see https://github.com/samsungsds-rnd/deepspeech.mxnet for now. And there is a bi-graphemes option to deal with label in bi-graphemes, and the last result of 15% accuracy was using that option.

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!
Also, do please check out our forum (and Chinese version) for general "how-to" questions.

@Soonhwan-Kwon Could you do me a favor to give me guidance of drawing performance curve like you did?

@megaSpoon have a look at mxboard https://github.com/awslabs/mxboard


Docker-Py 4.3.1 needs requests<2.2.29

Hi, the new versions of requests use the distributed version of urllib3, breaking the compatibility with docker-py.
Setting the requests version in requirements.txt to requests==2.28.1 fixes the problem.
For more information, see this issue:
urllib3 v2 incompatibility #3113

I face the same problem as in the linked thread when I start the container, no problem with the build though.


Error loading custom_components.hacs. Make sure all dependencies are installed

Hello my community is disappeared
Sun Sep 15 2019 13:21:43 GMT+0200 (Ora legale dell’Europa centrale)
Error loading custom_components.hacs. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/loader.py", line 355, in _load_file
    module = importlib.import_module(path)
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/hacs/__init__.py", line 32, in <module>
    from .api import HacsAPI, HacsRunningTask
  File "/home/homeassistant/.homeassistant/custom_components/hacs/api.py", line 7, in <module>
    from .http import HacsWebResponse
ImportError: cannot import name 'HacsWebResponse' from 'custom_components.hacs.http' (/home/homeassistant/.homeassistant/custom_components/hacs/http.py)

You are missing one (or more files)
Redownload from the latest release, then restart.
https://github.com/custom-components/hacs/releases/latest


Right-hand side of 'instanceof' is not an object

Note: Using Meteor 1.3.x
s3fs version: 2.4.8
Code:
import S3FS from 's3fs';
let s3Options = {
region: 'us-west-2'
};
let fsImpl = new S3FS('securx-testing', s3Options);
Error:
Right-hand side of 'instanceof' is not an object
This occurs at line 43 on lib/s3fs.js:
this.s3 = options instanceof AWS.S3 ? options : new AWS.S3(options);
I'm not seeing AWS.S3 defined or declared anywhere or referenced in the examples given in the README.
Note: I also installed aws-sdk, but this did not resolve the issue.

I haven't been able to reproduce this in a standard Node environment. Could you try the following as suggested here instead?
const S3FS = require('s3fs');

const s3Options = {
  region: 'us-west-2'
};

const fsImpl = new S3FS('securx-testing', s3Options);

And see if you get the same result.
Also, what Node version are you running?

David -
Thanks for your prompt reply.
First, the node version is 0.10.42 (yes, I know).
Second, I tried your suggestion above with the same resulting error.
I will be updating to node 4.4.7 in the near future. So if this is a node version issue, I understand and I can wait.

I'm running into this same problem... but I don't think that has anything to do with it.  The error is being thrown in the S3fs constructor @ line 43
this.s3 = options instanceof AWS.S3 ? options : new AWS.S3(options);
It's AWS.S3 that is undefined, which is probably due to a AWS version conflict... the s3 client has been moved in the sdk, see the docs:
https://www.npmjs.com/package/aws-sdk
It says that importing aws-sdk should come with services, but I changed S3fs to use the single s3 module in require('aws-sdk/clients/s3') and it fixed the issue.  I can submit a pull request If you would like.
node --version
v6.9.5
<EMAIL_ADDRESS>


Fails to correctly detect when a new version of TD is available

Seems to think that version 10.9.x is newer than 10.10.x

Doing a string compare doesn't work when we go from 9 to 10...
Use the "Version" type provided by C# to resolve.

Issue resolved and merged to development


Multiple elements with "banner" role do not have unique labels

Bug🐛: Running accessibility checker across a handful of pages reveals the following violation -  Multiple elements with "banner" role do not have unique labels
Page: https://next.carbondesignsystem.com/
Browser: Chrome - a11y plugin
Suggestion: To recreate, run scan using accessibility plugin.  It's pointing to the code

Originally posted by @ljcarot in https://github.com/carbon-design-system/carbon-platform/discussions/1268#discussioncomment-3684324

Hey team! Please add your planning poker estimate with Zenhub @alisonjoseph @francinelucca @jdharvey-ibm

Looks like this has to do with the cookie preferences banner that is added with the ibm-common js that we have no control over.


Add Python 3.* compatibility

I've modified a few lines of code to make the script run on Python >= 3.0. Please do let me know if anything else is to be changed, or if I'm missing out something.
Fixes #8

Ping @rohithasrk. Please review this one.

@jayvdb Completed. Please review this one.

Thanks for working on this! Had to merge another PR because of ease of conflict resolution. Apologies!


Can't visualize the planar region type message in rviz

Hi , I am not sure if there is a separate plugin in rviz to show the convex_plane_decomposition_msgs/PlanarRegion[] planarRegions type message. I can't visualize the message for some reason inside rviz.

This message does not have an RViz visualization plugin and is there to send the full terrain representation to other nodes. The boundaries of the regions can be visualized via the "boundaries" topic.
As you see here, they are extracted from the full representation just for visualization:
https://github.com/leggedrobotics/elevation_mapping_cupy/blob/da20a703ba892ed9a2411956bf7f9116fb98b034/plane_segmentation/convex_plane_decomposition_ros/src/ConvexPlaneDecompositionRos.cpp#L156


how to ensure if the user is logged in with twitter only

what if there are multiple options like facebook, twitter, google and local; for the user to login to our app and on a specific route we want to check if the user is logged in with twitter. how can i ensure if the user is authenticated and logged in with twitter. if the user is not logged in with twitter then i want the user to first login with twitter and then redirect to the same page again

it sounds like you should just use passport.authenticate('twitter') as a middleware on the route.

Not an issue with this project, closing.  Please ask questions on a suitable discussion forum.


If I want to train a model that can detect more traffic signs, do I need to modify the code or just follow the instructions. Please help!

Have you got the dataset? I can't open the link  LISA Traffic Sign Dataset(http://cvrr.ucsd.edu/LISA/lisa-traffic-sign-dataset.html). If you got the dataset, could you please send it to me?


Implement isolation inference

Description:
See https://ballerina.io/spec/lang/draft/v2020-09-22/#section_8.3.3

https://ballerina.io/ballerina-spec/spec.html#section_8.3.3


Refactoring/Bugfix - Rename autocompletion provider directory and fix minor issues.

Hello
This pull request does the following:

Autocompletion providers are now in the autocompletion directory instead of the providers directory, consistent with the other provider directories.
Autocompletion providers now go through a manager, also consistent with the other provider directories.
Fixed a minor issue in getVariableType where it didn't check if a regular expression match was undefined, which could cause problems when checking closures for types.
Remove the previous popover when a new popover is shown. This is more of a safety measure as no two popovers can (or should) ever be displayed at the same time anyway.
I reactivated the configuration testing by default. I noticed that your fix for Windows broke it for me on Linux, so now both ways (the fix for Windows and the old way) are tested before throwing an error, which allows us to safely enable it again ;-).
The automatic adding of use statements and renaming of the completed full class name to just the class name is now grouped inside a transaction. This way you don't have to undo twice (but just once) to get the full class name if you don't want the use statement automatically added. Or, in other words, if you're undoing the rename and using the full class name, you also don't need the use statement anymore. This increases usability a bit.

Hello,
Sorry, I thank that I had answered your message in the ticket #93
I don't want to disable the plugin if the config is bad, because we can't reactive it when the user changed his configuration.

Ah I see, I've seen Atom popups or notifications that have buttons. Would it perhaps somehow be possible to show a permanent popup that the user can dismiss or click a Try Again button on?

Ok, I've disabled the configuration testing and resolved the conflicts.

Thanks !


set external temperature from HA to luxtronic?

enhancement request
Our temperature sensor for the external temperature is at an unfourtunate position: during may-occtober it gets direct sunlight and thus way too high temperatures.
I want to use other outside temperature sensors (e.g. from the ventilation intake) in the luxtronic instead. Is there a way i could write the external temperature to the luxtronic?

To my knowledge, this is not possible. An accurate external temperature sensor is critical for proper and efficiency use of the heat pump.
That said, you can set a lot of values which are related to the external temperature. You could adjust your heat curve values based on the observed delta between the external sensor and actual outside temperature. This is a dangerous rabbit hole to go down in though so recommend not to do it.
You can increase luxtronik_heating_room_temperature_impact_factor to compensate a little bit but it only goes so far. Still not a proper solution, but it should help a bit.
Best thing is to move the sensor to a good spot.


Missing job "CONSILIER VANZARI" from site peviitor.ro

URL: https://peviitor.ro/
browser: Microsoft Edge
device: Computer
OS: windows
Steps to reproduce
1.Open the company recruitee page: https://www.splendor.ro/cariera.html
2.Pay attention that are two jobs displayed
3.Open peviitor URL
4.Put the name "splendor" in the search field
5.Press the button "Caută"
6.Pay attention that job "CONSILIER VANZARI" is not displayed
Expected results
"CONSILIER VANZARI" to be displayed on peviitor.ro after searching all the jobs from "splendor"
Actual results
There are no job with titles "CONSILIER VANZARI" displayed on peviitor.ro after applying filter for searching the company "splendor"

Fixed can you retest?

Yes. Retest


Branch protection rule

Current problems

Contributors can merge their PR by themselves even if it does not pass the tests on CI.

Proposal

Use branch protection rule

Target: master
Rules

Require pull request reviews before merging

Dismiss stale pull request approvals when new commits are pushed

Require status checks to pass before merging

@tani @kn1cht
If it's not a problem, please react with 👍. I'll set it up.

@tani @kn1cht
If it's not a problem, please react with 👍. I'll set it up.

Also, enable the "Automatically delete head branches" option.

Also, enable the "Automatically delete head branches" option.

done

done

Thanks!

Thanks!


ENH - add warning in PN_logreg for unhandled case

fixes #240

Codecov Report

Merging #241 (81f2493) into main (83c4628) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #241   +/-   ##
=======================================
  Coverage   86.97%   86.97%
=======================================
  Files          14       14
  Lines         998      998
  Branches      131      131
=======================================
  Hits          868      868
  Misses        100      100
  Partials       30       30

Flag
Coverage Δ

unittests
∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 83c4628...81f2493. Read the comment docs.


Pad rki data to yesterday

Pad time series from RKI with repeat entries if no new data is provided. Didn't realise before that RKI would not post data unless the values change.

Codecov Report

Merging #50 into master will decrease coverage by 0.24%.
The diff coverage is 85.00%.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
- Coverage   91.44%   91.20%   -0.25%
==========================================
  Files           3        3
  Lines         608      625      +17
==========================================
+ Hits          556      570      +14
- Misses         52       55       +3

Impacted Files
Coverage Δ

coronavirus/coronavirus.py
90.54% <85.00%> (-0.27%)
:arrow_down:

Continue to review full report at Codecov.

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


Add-DbaRegServer adds dupes

Verified issue does not already exist?
Yes
What error did you receive?
Connect-DbaInstance -SqlInstance localhost:14333 | Add-DbaRegServer -Description Docker

Name            ServerName      Group Description Source
----            ----------      ----- ----------- ------
localhost,14333 localhost,14333       Docker      Local Server Groups
localhost,14333 localhost,14333       Docker      Central Management Servers

i didnt specify a sqlinstance so this shouldn't attempt to add to localhost. This will only happen with pipes, probably.
Steps to Reproduce
Add-DbaRegServer

Are you running the latest release?
Yes
Other details or mentions
No response
What PowerShell host was used when producing this error
Windows PowerShell (powershell.exe)
PowerShell Host Version
Name                           Value

PSVersion                      5.1.22000.65
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22000.65
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
SQL Server Edition and Build number
Microsoft SQL Server 2019 (RTM-GDR) (KB4583458) - 15.0.2080.9 (X64)   Nov  6 2020 16:50:01   Copyright (C) 2019 Microsoft Corporation  Developer Edition (64-bit) on Windows 10 Pro 10.0  (Build 22000: ) (Hypervisor)
.NET Framework Version
.NET Framework 4.8.4420.0

jk! my $psdefaultparaemetervalues were filled


Uncaught TypeError: undefined is not a function

It seems to happen whenever I stop dragging.
Atom Version: 1.0.7
System: Mac OS X 10.10.5
Thrown From: markdown-mindmap package, v0.2.2
Stack Trace
Uncaught TypeError: undefined is not a function
At /Users/mechko/.atom/packages/markdown-mindmap/lib/markdown-mindmap-view.coffee:279

TypeError: undefined is not a function
  at MarkdownMindmapView.module.exports.MarkdownMindmapView.copyToClipboard (/Users/mechko/.atom/packages/markdown-mindmap/lib/markdown-mindmap-view.coffee:279:6)
  at space-pen-div.atom.commands.add.core:copy (/Users/mechko/.atom/packages/markdown-mindmap/lib/markdown-mindmap-view.coffee:97:37)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:156:19)
  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:166:7)

Commands
     -2:21.5.0 core:select-all (atom-text-editor.editor.is-focused)
     -2:21 core:paste (atom-text-editor.editor.is-focused)
     -2:17.1.0 core:save (atom-text-editor.editor.is-focused)
     -2:14.6.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -2:14.6.0 core:cancel (atom-text-editor.editor.is-focused)
     -2:14.1.0 settings-view:open (atom-text-editor.editor.is-focused)
     -2:07.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:29.3.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:26.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:26.9.0 markdown-mindmap:toggle (atom-text-editor.editor)
     -0:01.2.0 core:copy (div.markdown-mindmap.native-key-bindings)

Config
{
  "core": {
    "themes": [
      "atom-material-ui",
      "one-dark-syntax"
    ],
    "projectHome": "/Users/mechko/Projects"
  }
}

Installed Packages
# User
atom-material-ui, v0.6.0
language-lisp, v0.1.2
language-scala, v1.1.3
markdown-mindmap, v0.2.2
markdown-preview-plus, v1.7.0

# Dev
No dev packages

Thanks for reporting, fixed in v0.2.3. There was extra code for handling commands. I disabled it until the commands are properly implemented.

Trying to copy the mindmap html produced this error.


Solution for Assignment01

Merging branch to commit changes for solution to Assignment01 (Challenge 1 & challenge 2)

Merging branch to commit changes for solution to Assignment01 (Challenge 1 & challenge 2)

hello


[Event Request] Page 490 "Acc. Schedule Overview" OnBeforeUpdateDimFilterControles

Hi Team,
In page 490, please provide the OnBeforeUpdateDimFilterControles event in UpdateDimFilterControles procedure

Event:
LOCAL [IntegrationEvent] OnBeforeUpdateDimFilterControles(VAR Rec : Record "Acc. Schedule Line";AnalysisView : Record "Analysis View";VAR IsHandled : Boolean)
Reason: Client needs to limit the  empty values should not be assigned to (global variables) Dimension Filters 1 to 4.
Note:
Also provide GlobalVarAccess to the same event

If possible, please back port to BC14 aslo.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Hi Team,
If you published a fix for this, it does not fulfill my requirement. We asked the above publisher with 'GlobalVarAccess' to True but we can see 'OnAfterUpdateDimFilterControls()' publisher with 'IncludeSender' to True in BC17.

OnBeforeUpdateDimFilterControls

OnAfterUpdateDimFilterControls

Please provide any one of the publisher with 'GlobalVarAccess' to True (or) Can you help me to access the global variables with given two publishers.
Thank You.


Getting started, but MVM_E_INVALID_BYTECODE

Starting with what I believe to be the goal of Getting Started, I get no output, and an error code of 18 (MVM_E_INVALID_BYTECODE).
Code attached, running:
$ make && ./main; echo "Exit code: $?"
gcc -c main.c -o main.o
gcc -c microvium.c -o microvium.o
gcc main.o microvium.o -lm -o main
microvium script.mvm.js
Output generated: script.mvm-bc
142 bytes
Exit code: 18

microvium-issue-sample.zip

microvium.c, microvium.h, and microvium_port.h are pulled from the latest commit off main as of this writing

main.c and script.mvm.js are copied verbatim from the Getting Started doc.

Makefile's my own.

The same test works with the current release code (v0.0.19)

Just a version mismatch; v0.0.20 doesn't like mvm-bc files created with v0.0.19.  Makes sense.


”Ciudanovița”, ”Jitin” are listed in the drop-down menu

Description:
When user writes ”Ciudanovița”, ”Jitin” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Ciudanovița"

Expected results
The location appears in the drop-down menu as "Ciudanovița, Caraș-Severin(Ciudanovița)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Jitin"

Expected results
The location appears in the drop-down menu as "Jitin, Caraș-Severin(Ciudanovița)".


is possible to create etsy onlyfans nude by undress ai tool

I've recently noticed that some Etsy stores are selling digital prints labeled as OnlyFans nudes or leaks.  you can check here https://www.etsy.com/market/onlyfans_nude_leaks
This made me wonder: is this even legal? Would selling such content require a special license?
Also, these images seem to depict real people, but could they be using AI tools like undresswith.ai to create realistic deepnude images at scale?
It feels like an efficiency boost, but what are the implications of this? I'd love to hear your thoughts.

thanks so much for the tip I can't figure out how they are doing it while i
am offline
On Thu, Nov 28, 2024 at 5:07 AM WillaSpencer807 @.***>
wrote:

I've recently noticed that some Etsy stores are selling digital prints
labeled as OnlyFans nudes or leaks. you can check here
https://www.etsy.com/market/onlyfans_nude_leaks
This made me wonder: is this even legal? Would selling such content
require a special license?
Also, these images seem to depict real people, but could they be using AI
tools like undresswith.ai to create realistic deepnude images at scale?
It feels like an efficiency boost, but what are the implications of this?
I'd love to hear your thoughts.
—
Reply to this email directly, view it on GitHub
https://github.com/aimacode/aima-java/issues/497, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWXCHBU4FILI5OWZF2L5GHD2C3TOLAVCNFSM6AAAAABSUX7AQOVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4YDCNJZGQYDQMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

DeepNude AI offers advanced tools for generating high-quality AI-powered imagery. With features like precision, ease of use, and seamless integration, it caters to beginners and professionals alike. Users can enjoy: https://deepnudefree.online/
Or: https://securecd-smrtnd.com/S9tOCSI3RS
3- Best undress ai for free without sing up : https://7070.lol/
4- surprise For an iPhone at a surprising price : https://cd-sec.com/?a=256440&c=383557&co=316585&mt=21
No cost: Completely free with no hidden charges.
Accessibility: Available on various platforms.
Advanced results: Crisp and accurate outputs.
Why Choose DeepNude AI? https://7070.us/
Trusted worldwide for its efficiency, DeepNude AI combines simplicity with reliability, making it an ideal choice for users seeking fast, effective AI solutions


How to get hand landmarks in hand tracking?

Plugin Version or Commit ID
v0.10.1
Unity Version
2021.3.5f1
Your Host OS
Windows 11
Target Platform
Android
Description
I am quite new to all this. I cannot find any possible way to get the landmark values. If anyone can help it would be very nice.
Thanks.
Code to Reproduce the issue
No response
Additional Context
No response

Have you read the tutorial or searched related issues (e.g. #619)?

Yes, I went through the tutorial and I also tried getting the List<NormalizedLandmarkList> handLandmarks = null; in IEnumerator WaitForNextValue() function using Debug.Log() in synchronous mode. But the screen turned black maybe because of the webcam not working.

Have you succeeded in running the Hand Tracking sample scene at least?
If not yet, check your Editor.log or Player.log and resolve that issue.

Yes, I was able to run the hand tracking sample on my phone but it didn't run on my editor it showed DllNotFoundException:mediapipe_c. I thought this might be because I build the project just for Android through bazel.

I got the solution thanks for helping.


Dynamically changing content removes 'ui-sortable-handle' class from children

So if I have a computed property that changes the content that is passed to {{ivy-sortable}}, the ui breaks because the .ui-sortable-handle class is removed from the li elements.

This is actually a bit of a tricky problem. I'll need to watch the content array and call this.$().sortable('refresh') whenever the content is replaced or mutated. Unfortunately I can't just hook into Ember.CollectionView's arrayDidChange hook either, since I only want to call this after the element has been inserted into the DOM.

I tested this out locally and everything seemed to still work okay, all that happens is you lose the ui-sortable-handle class. That being said, there's a fair amount of code inside that jQuery UI refresh method, so not calling it at all seems like it may cause problems in the long run.
I'll try to get a fix for this in soon. Until then, you can work around the issue by adding itemClassNames="ui-sortable-handle" wherever you call ivy-sortable in your templates.

Thanks for the issue. This is resolved in the 1.0.0-beta.1 release.


error when using chain()

Python 3.5.2+ (default, Sep 22 2016, 12:18:14)
[GCC 6.2.0 20160927] on linux

import delegator
c = delegator.chain('fortune | cowsay')
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.5/dist-packages/delegator.py", line 197, in chain
commands = _expand_args(command)
File "/usr/local/lib/python3.5/dist-packages/delegator.py", line 178, in _expand_args
if isinstance(command, (str, unicode)):
NameError: name 'unicode' is not defined

This is resolved in #13.


Add .editorconfig

It's a common config understood by most editors and ensures that some basic editor configuration is aligned between all contributors.

Closed via #353

``TOP


[#1101]: Add version history to articles

Preview environment images deployed!
The preview environment has been updated:
client image tag: preview-1966-ca98c8b5e1985aff986395e62dd803d405be5cb7-20240606.0603
Client URL: https://pr-1966--epp.elifesciences.org
Note: Updated images can take a few minutes to roll out.

Preview environment created!
The preview environment has been deployed to the cluster.
Client URL: https://pr-1966--epp.elifesciences.org
Note: If this is a new environment, it can take a few minutes for DNS to update.


[Feature Suggestion] SVG Icons

First of all, I love this notification library, great job!
An improvement to this library would be to allow the use of SVG icons, this change would lessen dependencies on font icon kits and expand the number of icons that can be used with this library.

Just pass the svg icon as a string
new Notyf({
 icon : '<svg> . . . </svg>'
})


[omnisci] Exception when trying to access datetime column via .dt accessor and add new column

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Ubuntu 20.04.1 LTS

Modin version (modin.__version__):

0.10.2+26.gda2ad792

Python version:

Python 3.9.7

Code we can use to reproduce:

import modin.pandas as pd
import pandas

MULTIPLIER = 100000

df = pd.DataFrame({
    "a": [1] * MULTIPLIER,
    "t": [pandas.to_datetime("2014-01-09 20:45:25")] * MULTIPLIER})

print(df.dtypes)
df['year'] = df['t'].dt.day
df['month'] = df['t'].dt.month
df['day'] = df['t'].dt.day
df['hour'] = df['t'].dt.day
print(df)

Describe the problem

When running Modin with latest omnisci engine from conda-forge 5.7.0 I get an exception from the above code with large values of MULTIPLIER. With small (1000) values it works with no exception. Old version of omnisci 5.4.1 also works correctly.
Traceback (most recent call last):
  File "/nfs/site/proj/scripting_tools/gashiman/tests/omnisci_datetime2.py", line 13, in <module>
    df['day'] = df['t'].dt.day
  File "/localdisk/gashiman/modin/modin/pandas/series_utils.py", line 484, in day
    return Series(query_compiler=self._query_compiler.dt_day())
  File "/localdisk/gashiman/modin/modin/backends/base/query_compiler.py", line 2830, in dt_day
    return DateTimeDefault.register(pandas.Series.dt.day)(self)
  File "/localdisk/gashiman/modin/modin/data_management/functions/default_methods/default.py", line 159, in args_cast
    return wrapper(self, *args, **kwargs)
  File "/localdisk/gashiman/modin/modin/data_management/functions/default_methods/default.py", line 206, in wrapper
    return self.default_to_pandas(fn, *args, **kwargs)
  File "/localdisk/gashiman/modin/modin/backends/pandas/query_compiler.py", line 241, in default_to_pandas
    result = pandas_op(self.to_pandas(), *args, **kwargs)
  File "/localdisk/gashiman/modin/modin/experimental/backends/omnisci/query_compiler.py", line 184, in to_pandas
    return self._modin_frame.to_pandas()
  File "/localdisk/gashiman/modin/modin/experimental/engines/omnisci_on_native/frame/data.py", line 2202, in to_pandas
    self._execute()
  File "/localdisk/gashiman/modin/modin/experimental/engines/omnisci_on_native/frame/data.py", line 1708, in _execute
    new_partitions = self._partition_mgr_cls.run_exec_plan(
  File "/localdisk/gashiman/modin/modin/experimental/engines/omnisci_on_native/frame/partition_manager.py", line 252, in run_exec_plan
    curs = omniSession.executeRA(cmd_prefix + calcite_json)
  File "/localdisk/gashiman/modin/modin/experimental/engines/omnisci_on_native/frame/omnisci_worker.py", line 110, in executeRA
    r = cls._server.executeRA(query)
  File "dbe.pyx", line 196, in omniscidbe.PyDbEngine.executeRA
RuntimeError: TException - service has thrown: TOmniSciException(error_msg=Hash join failed, reason(s): Could not build a 1-to-1 correspondence for columns involved in equijoin | Cannot join on rowid | Cannot fall back to loop join for non-trivial inner table size)

Source code / logs

Is this fixed?

Is this fixed?

It was kind of fixed in https://github.com/modin-project/modin/pull/3460 for Series.dt.day because the actual problem was because code went into "default to pandas" mode. After Series.dt.day is implemented, it doesn't fail for day but it may fail for hour and it may fail for other "default to pandas" calls because omnisci does not implement join on rowid.


SourceTV completely unusable in Revision 8-9

Attempting to connect to a server through SourceTV will disconnect the user with the message "Invalid auth protocol."

Fixed in develop


Fixed broken link at 04-certificate-authority.md

Ok I just realized this pull request already fixes that broken link.


Add plain-text version of email; to prevent spam-detection

This issue is imported from pivotal
Migration emails from the guest-idp are currently being tagged as spam. One of the reasons is the emails are HTML only. (MIME_HTML_ONLY in spamassasin). Add a text-only part to prevent this.

@phavekes will do, but the other mail - those that are not marked SPAM - are also HTML only. Strange..

(Okke Harsta - Jan 17, 2020)

No spam (Okke Harsta - Jan 17, 2020)

@okkeh In the headers you\'ll see the message gets spam-points for html only:

X-Spam-Score: 0.61 () [Tag at 5.00] HTML_MESSAGE:0.001,MIME_HTML_ONLY:1.105,CC(NL:-0.5)
Above a total score of 5 it will be tagged in the subject (Peter Havekes - Jan 17, 2020)

De mails zijn multipart/alternative (good) maar het text/plain-deel is: Placeholder plain text (Arnout Terpstra - Jan 20, 2020)

The SPAM-tag is also being cased by"

            SURFconext
                helpdesk

This is the 'heldesk'-link in the footer. Please remove this link, as it shouldn't be there anyway. This helpdesk is not for end-users. (Peter Havekes - Jan 20, 2020)


How to change label for Select All option?

I want to change "Select All" option for multi language function.
How I can change that label?

@trangtv04110 Please refer to below instructions
https://github.com/hc-oss/react-multi-select-component/blob/master/stories/recipes/localization.stories.mdx


allow runtime flag to avoid running skydns

Allow using external (or pre-built dns) from libnetwork/k8s
netmaster -dns-service=false . . .
Desired behavior could be:

if dns-service is specified, either true or false it is used as a hint to mandate or bypass dns service by netplugin.
Otherwise, apply the behavior as exists now i.e. when dockplugin is use dns-service, otherwise (e.g. for k8s) skip

Closing.
fixed by #268


Setting verbosity (log level) can enable logging in other projects

Since the logging mechanism being used changes the log level of the root python logger, changing the level can enable/disable logging of libraries.
I recommend adding a Facedancer logger under the root logger so that this issue does not occur.
Let me know if you would like me to submit a PR with this change.

Fixed in: https://github.com/greatscottgadgets/Facedancer/commit/131d96bd2b952eae912843655deb6a3db5a2e563


Run Python tests with ctest

Maybe want them to still be runnable with python -m unittest for users that don’t want to build any of the c++ code

Fixed by f17d8b2055efd8d97209e8af1e82ae5f669e7299


Board Review: Azure Communication Services (SPOOL) - SIP routing, second API review.

Contacts and Timeline

Service team responsible for the client library: ACS PSTN
Main contacts<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
About the Service

Link to documentation introducing/describing the service: [create communication service] (https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp)
Link to the service REST APIs: [json] (https://github.com/Azure/azure-rest-api-specs/blob/main/specification/communication/data-plane/SipRouting/preview/2021-05-01-preview/communicationservicessiprouting.json)
Link to SIP service description:
https://docs.microsoft.com/en-us/azure/communication-services/concepts/telephony-sms/sip-interface-infrastructure

About the review
This is second board review. We have implemented suggestions from the first review and we want to present updated proposal of our SDK.
Artifacts required (per language)
.NET
APIview Link: https://apiview.dev/Assemblies/Review/54c975fb0a80468cbf6437c4cbb05e32/4cfe5b8ab0144417a809b5ed57ab7c3c?doc=False
Python
APIview Link: https://apiview.dev/Assemblies/Review/ac82228b44a145048324d3ae9b99153c/11996d9b95fe4a84bab70ad7ef8cb60c?doc=False
Link to samples for champion scenarios: https://github.com/Azure/azure-sdk-for-python/tree/81c6f3f9252222c75175cf15197a3a1d2f55e813/sdk/communication/azure-communication-siprouting/samples
JavaScript
APIView link: https://apiview.dev/Assemblies/Review/e32974db629b4aa28a38e44ad3dafc78
Link to champion scenario samples: https://github.com/Azure/azure-sdk-for-js/tree/tomasmachala/communication-sip-routing-2/sdk/communication/communication-sip-routing/samples/v1/javascript
About the client library

Name of client library: Azure Communication SIP routing
Link to library reference documentation:  N/A

The goal is to provide a client that is able to retrieve SIP routing configuration of the service and modify the configuration with new SIP trunks settings and new SIP routes settings.
There are four public methods in the client, serving 4 scenarios.
There is option to:

Retrieve SIP configuration
Update SIP configuration with trunks and routes
Update just SIP trunks
Update just SIP routes

Step 1: Champion Scenarios
Champion scenario 1: Use SIP routing client to get SIP routing configuration
Python:
client = SIPRoutingClient.from_connection_string(<communication_connection_string>)
try:
  configuration = client.get_sip_configuration()

  for trunk in configuration.trunks:
    print(f"Sip trunk - name: {trunk}: {trunks[trunk].sip_signaling_port}")
  for route in configuration.routes:
    print(f"Sip route - name: {route.name}: {route.description}")
except HttpResponseError, e:
  print(e)

C#:
var clientOptions = new SipRoutingClientOptions();
var client = new SipRoutingClient(<communication_connection_string>, clientOptions);

var configuration = client.GetSipConfiguration();

foreach (var trunk in configuration.trunks)
{
    Console.WriteLine($"Sip trunk is set with {trunk.Key} and port {trunk.Value.SipSignalingPort}");
}

foreach (var route in configuration.routes)
{
    Console.WriteLine($"{route.Name}: {route.Description}");
}

JavaScript:
const { SipRoutingClient } = require('@azure/communication-sip-routing');

// Load the .env file if it exists
const dotenv = require("dotenv");
dotenv.config();

async function main() {
  console.log("== Get SIP Routing Configuration ==");

  // You will need to set this environment variable or edit the following values
  const connectionString =
    process.env.COMMUNICATION_SAMPLES_CONNECTION_STRING ||
    "endpoint=https://<resource-name>.communication.azure.com/;<access-key>";

  // Create a new client
  const client = new SipRoutingClient(connectionString);

  // Get the current configuration
  const config = await client.getSipConfiguration();

  // Print the configururation formatted as JSON into console
  const json = JSON.stringify(config, null, 4);
  console.log(json);

  console.log("== Done: Get SIP Routing Configuration ==");
}

main().catch((error) => {
  console.error("Encountered an error while getting configuration: ", error);
  process.exit(1);
});

Champion scenario 2: Use SIP routing client to update SIP routing configuration
Python:
client = SIPRoutingClient.from_connection_string(<communication_connection_string>)
try:
  returned_configuration = client.update_sip_configuration(<updated_configuration>)

  for trunk in returned_configuration .trunks:
    print(f"Sip trunk - name: {trunk}: {trunks[trunk].sip_signaling_port}")
  for route in returned_configuration .routes:
    print(f"Sip route - name: {route.name}: {route.description}")
except HttpResponseError, e:
  print(e)

C#:
var clientOptions = new SipRoutingClientOptions();
var client = new SipRoutingClient(<communication_connection_string>, clientOptions);

var configuration = client.UpdateSipConfiguration(<updated_configuration>);

foreach (var trunk in configuration.trunks)
{
    Console.WriteLine($"Sip trunk is set with {trunk.Key} and port {trunk.Value.SipSignalingPort}");
}

foreach (var route in configuration.routes)
{
    Console.WriteLine($"{route.Name}: {route.Description}");
}

JavaScript:
const { SipRoutingClient } = require('@azure/communication-sip-routing');

// Load the .env file if it exists
const dotenv = require("dotenv");
dotenv.config();

async function main() {
  // You will need to set this environment variable or edit the following values
  const connectionString =
    process.env.COMMUNICATION_SAMPLES_CONNECTION_STRING ||
    "endpoint=https://<resource-name>.communication.azure.com/;<access-key>";

  // Create a new client
  const client = new SipRoutingClient(connectionString);

  console.log("== Create an initial configuration ==");

  // Create a new configuration so that we have a record to update in the next step
  const newConfig = {
    trunks: {
      "my-new-trunk.contoso.com": {
        sipSignalingPort: 9999
      }
    }
  };

  // Insert the new config
  await client.updateSipConfiguration(newConfig);

  console.log("== Modify the configuration ==");

  // Modify the config by changing the port number
  const updatedConfig = {
    trunks: {
      "my-new-trunk.contoso.com": {
        sipSignalingPort: 10000
      }
    }
  };

  // Save the modified config
  await client.updateSipConfiguration(updatedConfig);

  console.log("== Delete the configuration ==");

  // Finally, create an entry that deletes the trunk created previously as a clean-up
  const trunkToDelete = {
    trunks: {
      "my-new-trunk.contoso.com": null
    }
  };

  // Delete the trunk by saving the config back.
  await client.updateSipConfiguration(trunkToDelete);

  console.log("== Done ==");
}

main().catch((error) => {
  console.error("Encountered an error while updating configuration: ", error);
  process.exit(1);
});

Champion scenario 3: Use SIP routing client to update only SIP trunks configuration
Python:
client = SIPRoutingClient.from_connection_string(<communication_connection_string>)
try:
  new_configuration = client.update_sip_trunks(<new_trunks>)

  for trunk in new_configuration.trunks:
    print(f"Sip trunk - name: {trunk}: {trunks[trunk].sip_signaling_port}")
except HttpResponseError, e:
  print(e)

C#:
var clientOptions = new SipRoutingClientOptions();
var client = new SipRoutingClient(<communication_connection_string>, clientOptions);

var newConfiguration = client.UpdateSipTrunks(<new_sip_trunks>)

foreach (var trunk in newConfiguration.trunks)
{
    Console.WriteLine($"Sip trunk is set with {trunk.Key} and port {trunk.Value.SipSignalingPort}");
}

Champion scenario 4: Use SIP routing client to update only SIP routes configuration
Python:
client = SIPRoutingClient.from_connection_string(<communication_connection_string>)
try:
  new_configuration = client.update_sip_routes(<new_routes>)

  for route in new_configuration.routes:
    print(f"Sip route - name: {route.name}: {route.description}")
except HttpResponseError, e:
  print(e)

C#:
var clientOptions = new SipRoutingClientOptions();
var client = new SipRoutingClient(<communication_connection_string>, clientOptions);

var newConfiguration = client.UpdateSipRoutes(<new_sip_routes>)

foreach (var route in newConfiguration.routes)
{
    Console.WriteLine($"Sip route- name: {route.Name}: {route.Description}");
}

Scheduled for 10/5

Recording[MS INTERNAL ONLY]


Source Code url in documentation

Can we have a similar source pointing anchor tag in our https://engineerjoe440.github.io/ElectricPy/api/ documentation page
I have written a python script to generate URL for each function
function_url =  dict()
REMOTE_URL = "https://github.com/engineerjoe440/ElectricPy/blob/master/electricpy/"

#get only files electricpy directory
SOURCES = [file for file in os.listdir('./electricpy') if os.path.isfile(file)]

for source in SOURCES:
    with open(os.path.join(sys.path[0], f"electricpy\{source}"), "r") as code:
        # buid a regular expression for "def ()"
        RE = re.compile('def ()')

        # iterate over the lines in the file
        for line_number, line in enumerate(code):
            # find all the functions
            match = RE.findall(line)
            # if there are any matches
            if match:
                #get text between def and (

                function_name = line[line.find("def")+4:line.find("(")]

                function_url[function_name] = f"{REMOTE_URL}{source}#L{line_number+1}"

        with open("urls.json", 'w') as url_data:
            json.dump(function_url, url_data)

urls.json would look similar to this
 "phasorz": "https://github.com/engineerjoe440/ElectricPy/blob/master/electricpy/__init__.py#L844",

https://github.com/engineerjoe440/ElectricPy/blob/master/electricpy/__init__.py#L844 will directly point to the actual function
Can we include this feature

I'm afraid I don't fully understand what you're proposing. I think I like the idea of anchored links, but I'm not sure I see how your proposed implementation fits in.
Where is the urls.json file placed, and what does it provide? What references it?
I'll note, there's a subtle improvement that you could add to the RegEx find in your code to find everything up to the first bracket:
RE = re.compile(r'def (.*)\(') # Find all text (function name) up to the open-parenthesis

If you'd like to make the modifications in a fork of the repo and open a PR so I can see the results, I'd be very happy to explore more closely! :)

urls.json provide hyperlinks for the source code
"phasorz": "https://github.com/engineerjoe440/ElectricPy/blob/master/electricpy/init.py#L844",
Phasor function source code can be viewed just by clicking this link

Additional Information     <https://electrical-engineering-portal.com/download-center/books-and-guides/power-substations/insulator-pollution>

In  suspension insulator we are having Additional Information hyperlink
Similarly, we can add a source which redirects to source code in GitHub

Sir any update regarding this ???

Please forgive the delay on this issue, I believe you'll see updated documentation in the web documentation now!


pypi publishing action

Add action to publish to pypi
Tested on testpypi

@Ariana-B  the lint is failing


Support dynamic import

And thanks for the lib :)

You're welcome! Thank you for your contribution 😊

@all-contributors please add @Chocobozzz for code and test


SPIP: Spark on Kubernetes

We sent an SPIP up to the spark community here.
http://apache-spark-developers-list.1001551.n3.nabble.com/SPIP-Spark-on-Kubernetes-td22147.html
I was made aware that it would help the community understand the importance of this change if some of us could explain our use of it,
and the reason(s) why we want Spark to support this change.
cc/ @sandflee @duyanghao @weiting-chen @luck02 @matyix @dansanduleac @apache-spark-on-k8s/contributors

I can document our requirements and what we're moving to.  Send to user/dev spark?

Yes, the dev mailing list, as a response to the spip post that I linked to
above.
On Aug 15, 2017 11:57 AM, "Gary Lucas"<EMAIL_ADDRESS>wrote:

I can document our requirements and what we're moving to. Send to user/dev
spark?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache-spark-on-k8s/spark/issues/435#issuecomment-322556917,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3U5yJjPKStfpI2YFxzVz3WHKSC7tuKks5sYeofgaJpZM4O33PB
.

This has passed.


Snowplow.createTracker takes 10 seconds?

Describe the bug
When initiating Snowplow it takes 10 seconds to complete that call.....
To Reproduce
val network = NetworkConfiguration(endpoint = "url", HttpMethod.POST)
val config = TrackerConfiguration(context.packageName).screenViewAutotracking(true)
Snowplow.createTracker(
context = context,
namespace = "namespace",
network = network,
config,
)
Expected behavior
200ms setup time or something reasonable.
Device information (please complete the following information):

Device: Pixel 6a
OS: Android 14
Version com.snowplowanalytics:snowplow-android-tracker:5.2.0

Additional context
Not useable this way

Also on Android 9, Samsung Note

Hi @peterdk, that is very unexpected, could you please help me replicate this?
I have created a blank new Android app and pasted in the code that you provided above, see here.
However, when I try to test, the createTracker call is instant:
D/Snowplow: Fri Jun 23 12:58:45 GMT+02:00 2023 Snowplow tracker starting
I/TetheringManager: registerTetheringEventCallback:com.example.testlagapp
D/Snowplow: Fri Jun 23 12:58:45 GMT+02:00 2023 Snowplow tracker created

Could you please tell me what is different about your setup or help me extend the app to replicate the problem?

Yeah, I just moved the code to onCreate, like in the docs, and there it runs indeed very fast.
We use Koin with a lot of dependencies, so I'll look into this next week to see if I can find out what is causing this hang. Can it be that we call createTracker on a background thread and that gives issues?

I don't think running on a background thread should be the problem - I have just tried it and the call was instant as well.

I debugged, and we indeed load our analytics module and thus also Snowplow, on a background coroutine dispatcher/thread.
I can reproduce the slow start if I make the main thread during that process busy:
CoroutineScope(Dispatchers.Default (  + SupervisorJob()).launch{ createTracker()}
Thread.sleep(5000)

What I see is that with this sleep of the main thread, the createTracker only returns after the main thread is done. Without it it returns indeed in a few 100ms. So I guess SnowPlow needs the main thread somewhere in its initialisation code and has to wait until that thread is available, before being able to return the tracker.

Probably can be reproduced without coroutines, since we don't use anything here that is coroutine related.

Interesting! I can't think of anything in the tracker that would require running on the main thread, but will look into this!

Yes, with:
 Thread {
            SnowPlowTracker.setup(this)
        }.start()
Thread.sleep(5000)

I think I am still missing something here, because when I tried to do this in the example app, see here, the createTracker call is still instant based on the log:
D/Snowplow: Fri Jun 23 13:45:04 GMT+02:00 2023 Snowplow tracker starting
I/TetheringManager: registerTetheringEventCallback:com.example.testlagapp
D/Snowplow: Fri Jun 23 13:45:04 GMT+02:00 2023 Snowplow tracker created

I'll try to look in a working example there.

I can't reproduce it indeed in the test project. Also not when I move it tot an Application class. I'll look into it next week to see if I can reproduce it, otherwise we'll work around it.

So I profiled the boot of our app, and the Snowplow thread I use to setup the tracker waits due to the Google Advertising ID:

We're experiencing the same issue here. Hard to say why yet, but can you point us to where is the offloading from the main thread done in order to retrieve the getAndroidIdfa
@peterdk do you have any pointer on how did you solve this ?

Hi @matus-tomlein thanks for your reply.
I could reproduce the issue in your setup by adding gms ads dependency, see here

The 10-second duration is actually caused by :
java.io.IOException: java.util.concurrent.TimeoutException: Timed out waiting for the service connection in the catch of getAndroidIdfa()

I did not yet find a proper solution for this as well. I can initialize in onCreate(), but that makes my co-devs not very happy, since we just want to do this in Koin.
I tried the 6.0.1 version, and then fetch the Idfa myself earlier in the init method, but that also caused the same blocking.
Hopefully the repro from gbero can lead to a working fix. For now we temporarily disable idfa by returning null from PlatformContextReceiver androidIdfa method.


fix: update readme and stage names

Cleaned up stage names to deploy to prod environment only.
Cleaned up README to reflect all recent naming changes.

This looks great! Thanks, Kwang!