Some delta index queries running even if suspended

In my spec support I have
  config.around(:each, no_sphinx: true) do |example|
    ThinkingSphinx::Deltas.suspend(:answers) do
      example.run
    end
  end

But in my test log, I'm still getting this:
Sphinx  Retrying query "UPDATE answer_core
SET sphinx_deleted = 1
WHERE id IN (3)
" after error: Error connecting to Sphinx via the MySQL protocol. Error connecting to Sphinx via the MySQL protocol. Can't connect to MySQL server on '<IP_ADDRESS>' (61) - UPDATE answer_core
SET sphinx_deleted = 1
WHERE id IN (3)

I know I could spin up Sphinx to avoid this error, but the test doesn't need Sphinx so I don't want to spin it up for performance reasons.
Thoughts?

Given it's been almost a week (sorry), perhaps you've figured this out - but I think the issue here is that the argument for suspend should be singular, like in the index definition. Thus: ThinkingSphinx::Deltas.suspend(:answer).
If that doesn't make things work, let me know.

Oh wow! I'll try that. Thanks.


Fix eps value for test_batchnorm_fallback to get rid of flakiness

Description
As title. Ran 5000 times on CPU and passed, in the middle of 5000 verifications on GPU.
Checklist
Essentials

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Shrink the eps value used

Comments
Running 5000 verifications due to the large time cost (on average ~2s on CPU and ~8s on GPU)

@anirudh2290 Just verified that this can pass 5000 times on both CPU & GPU, should be good for merge.


GS: show "local docker deploy" in the end of Serve section

We can showcase/give a hint about Local docker deploy in https://mlem.ai/doc/get-started/serving
Originally from https://github.com/iterative/mlem/issues/375#issuecomment-1233962553

Isn't that part of https://mlem.ai/doc/get-started/deploying ? In fact it's already mentioned there.

Not quite. This about a local serving. Effectively it's something like mlem deploy docker mymodel, that builds docker image and runs it (locally if not specified otherwise). Compare this to deploying to Heroku or Sagemaker - that happens on remote SaaS/machines. So while it's "deploy", it's very close to "serve".
Now the thing is, this local docker deploy is something that users may want to use as an alternative to running mlem serve. So it makes sense to mention and describe it there.

while it's "deploy", it's very close to "serve"

May I ask why not put it in the build or serve commands? (product Q)

Compare this to deploying to Heroku or Sagemaker

BTW, should Sagemaker be at least mentioned in https://mlem.ai/doc/get-started/deploying now? (separate issue)

It's definitely not build, because build doesn't run the models. Only bundles models into something.
Not so sure about serve. Let's ask @mike0sv why was the rationale behind this.
Sagemaker is not yet released. It's in a special branch https://github.com/iterative/mlem/tree/release/0.3.0, and we're going to release it on Pypi in a month or so.

it's not serve because serve is a continuous command and deploy is not.
IMO serve docs are for serve, deployment docs are for deployments. Docker deployment is a deployment. So it's docs should go into deployment docs.
I don't agree that docker deployment is something more than serving and less than deployment. You can deploy to remote docker daemons as well. Yes, local docker can be referenced in serve docs as a next step, but to use it user should understand the basics of MLEM deployments

it's not serve because serve is a continuous command and deploy is not.

That's just because you detach from the docker container you're running. If you won't detach, it would be continuous. So if you won't detach by default (like docker CLI does), it would be in serve.

I also think it would be better to cover it in https://mlem.ai/doc/get-started/deploying or in other deploy-specific page. But you could add a tip admonition in https://mlem.ai/doc/get-started/serving mentioning that local deploys are similar to serving, or something like that.

@aguschin I talked about mlem serve and mlem deploy, not docker. The difference is that mlem serve IS the process that servers, while mlem deploy runs that serving process somewhere else (docker or no docker, cloud or local). And for this to work we have state and other deployment-related stuff that we need to teach users

mlem serve IS the process that serves, while mlem deploy runs that serving process somewhere else

I think that these are implementation details though. For docs we should care more about the end function/ value features give the user (UX). So I second @aguschin's observation that if it didn't detach by default, it would be an equivalent function as serving. Probably to consider in the future: I don't expect the CLI design to change over this now.

It's not about "default" behavior, mlem deploy cannot "not detach"

Ok, that was a good discussion above, thank you guys. Since we're simplying GS as much as possible, there is no place to local Docker deploy in the end of Serve section, except for a simple mention. I'll see if that fits. Closing this issue.


Add a comma after "in your app"

Summary
I believe there has to be a comma in the specified place to introduce a pause in the sentence.

@nshutijean, we merged your change. Thanks for your contribution to PlayTorch!


[e2e]: container tag branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v27.0.559
Run: https://github.com/slsa-framework/example-package/actions/runs/10694327910
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.branch1.default.slsa3.yml
Trigger: push
Branch: v27.0.559
Date: Wed Sep  4 03:07:24 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v27.0.562
Run: https://github.com/slsa-framework/example-package/actions/runs/10748096685
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.tag.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.tag.branch1.default.slsa3.yml
Trigger: push
Branch: v27.0.562
Date: Sat Sep  7 03:06:29 UTC 2024
Tests are passing now. Closing this issue.


gw-cleanup

Resolves # . (This is applicable only if this pull request relates to a GitHub issue, delete the line otherwise)
Notes:
*
*
*

Codecov Report

Merging #13 into master will increase coverage by 0.1%.
The diff coverage is 92.18%.

@@            Coverage Diff            @@
##           master      #13     +/-   ##
=========================================
+ Coverage   84.79%   84.89%   +0.1%
=========================================
  Files          22       22
  Lines         296      298      +2
=========================================
+ Hits          251      253      +2
  Misses         45       45

Impacted Files
Coverage Δ

app/health/info-callback.js
100% <ø> (ø)

app/router/proxy.js
100% <ø> (ø)

app/router/error.js
100% <ø> (ø)

app/health/health-callback.js
100% <ø> (ø)

server.js
0% <0%> (ø)
:arrow_up:

app/logging/logger.js
100% <100%> (ø)

app/user/auth-checker-user-only-filter.js
94.44% <100%> (ø)
:arrow_up:

app/health/healthcheck.js
100% <100%> (ø)

app/service/service-filter.js
100% <100%> (ø)
:arrow_up:

app/service/service-token-generator.js
96.29% <100%> (ø)
:arrow_up:

... and 4 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 9469093...0151c3b. Read the comment docs.


implemented hard bot and script for testing

Implemented different hardbots:
4 metric types:
'aggregate', 'pool', 'green', 'yellow'

metric: number related to the type
Ex 1: HardBot(type='aggregate', metric=3)

this bot will switch to trying to Middle Bot's strategy as soon as
3 yellow or green squares are revealed

Ex 2: HardBot(type='green', metric=2)

this bot will switch to Middle bot's strategy as soon as 2 green
green squares are revealed
mode 'yellow' works in much the same way.

Ex 3: HardBot(type='pool', metric=10):

The bot will switch to Middle bot's strategy when, if applying
middle bot's strategy, there are 10 or less possible final guesses

Data collection
To test the data collection, you can remove the existing data files in the data folder, and run the script in the root directory using this command: python -m bot.main

To test, add the following to bot.main.py
if __name__ == "__main__":

    # generate data for 100 games per bot
    # record type and thresholds
    for i in range(6):
        print("Testing Yellow bot " + str(i) + " right now.")
        bot = HardBot("yreen", i)
        bot.play_games(100)
        with open("data/yellow_data.txt", "a") as f:
            f.write(
                f"Type: Yellow, Metric: {i}, Total number of games: {bot.num_games}, Win rate: {bot.games_won/bot.num_games}, Avg turns: {bot.total_turns / bot.num_games}\n"
            )

    # for i in range(6):
    #     print("Testing Aggregate bot " + str(i) + " right now.")
    #     bot = HardBot("aggregate", i)
    #     bot.play_games(100)
    #     with open("data/aggregate_data.txt", "a") as f:
    #         f.write(
    #             f"Type: Aggregate, Metric: {i}, Total number of games: {bot.num_games}, Win rate: {bot.win_rate/bot.num_games}, Avg turns: {bot.total_turns / bot.num_games}\n"
    #         )

    # for i in range(6):
    #     print("Testing Green bot " + str(i) + " right now.")
    #     bot = HardBot("green", i)
    #     bot.play_games(100)
    #     with open("data/green_data.txt", "a") as f:
    #         f.write(
    #             f"Type: Green, Metric: {i}, Total number of games: {bot.num_games}, Win rate: {bot.win_rate/bot.num_games}, Avg turns: {bot.total_turns / bot.num_games}\n"
    #         )

    # for i in range(0, 100, 10):
    #     print("Testing pool bot " + str(i) + " right now.")
    #     bot = HardBot("pool", i)
    #     bot.play_games(100)
    #     with open("data/pool_data.txt", "a") as f:
    #         f.write(
    #             f"Type: Pool, Metric: {i}, Total number of games: {bot.num_games}, Win rate: {bot.win_rate/bot.num_games}, Avg turns: {bot.total_turns / bot.num_games}\n"
    #         )


zlib require update

http://zlib.net/zlib-1.2.8.tar.gz` have been taken offline,
so do the zlib-1-win32-static.patch require update as zlib upgrade

Fixed.


 It changed the internal representation of the result of fmt.Errorf, making it so that !deep.ReflectEqual no longer compares favorably in github_test.go#L742-L744:
if !reflect.DeepEqual(tt.wantErr, err) {
	t.Errorf("%s: ForeachReview errs differ. got: %s, want: %s", tt.name, err, tt.wantErr)
}

This makes trybots in x/build repo fail, e.g., https://go-review.googlesource.com/c/build/+/163205/2#message-8c683121b60291567babee1aed8cd19a0f83bfc6.
/cc @bradfitz

We could switch to using https://github.com/google/go-cmp instead of reflect.

That sounds like a good fix for the issue in x/build/maintner.

Since it was just two error values being compared, and not a more deeply nested struct, I went with a simpler solution for now.


bug: Cannot accept diff

Describe the bug
I'm new to nvim, so please excuse my ignorance. After I try to apply the diff, I cannot accept it with the default key binding as it enters CHANGE mode instead.
":nmap ca"

press "c":

ct: -> accept their code
BUT:
ca: -> LSP Code Action
To reproduce

Apply diff
Press "c"

Expected behavior
how do I use default key binding that it doesn't collide with +Change mode?
Installation method
Use lazy.nvim:
return {
  {
    "yetone/avante.nvim",
    event = "VeryLazy",
    lazy = false,
    version = false, -- set this if you want to always pull the latest change
    opts = {
      provider = "copilot",
      auto_suggestions_provider = "copilot",
      mappings = {
        diff = {
          ours = "co",          -- Use our changes
          theirs = "ct",        -- Use their changes
          all_theirs = "ca",    -- Use all their changes
          both = "cab",         -- Use both changes
          cursor = "cc",        -- Use changes at cursor
          next = "]x",          -- Go to next change
          prev = "[x",          -- Go to previous change
        },
      },
    },
    -- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
    build = "make",
    -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
    dependencies = {
      "nvim-treesitter/nvim-treesitter",
      "stevearc/dressing.nvim",
      "nvim-lua/plenary.nvim",
      "MunifTanjim/nui.nvim",
      --- The below dependencies are optional,
      "nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
      "zbirenbaum/copilot.lua",      -- for providers='copilot'
      {
        -- support for image pasting
        "HakonHarnes/img-clip.nvim",
        event = "VeryLazy",
        opts = {
          -- recommended settings
          default = {
            embed_image_as_base64 = false,
            prompt_for_file_name = false,
            drag_and_drop = {
              insert_mode = true,
            },
            -- required for Windows users
            use_absolute_path = true,
          },
        },
      },
      {
        -- Make sure to set this up properly if you have lazy=true
        'MeanderingProgrammer/render-markdown.nvim',
        opts = {
          file_types = { "markdown", "Avante" },
        },
        ft = { "markdown", "Avante" },
      },
    },
  },
}

Environment
neovim
Repro
No response

I installed https://github.com/akinsho/git-conflict.nvim and still face the same issues with c - whatever starts with it, it turn on Change mode. What did I miss?

Is it possible to force replace key binding when diff is active?

Diff accept is very sensitive I must admit. I face weird behaviors too, but I guess it also has to do with the global autocmd integrity state of our own personal configs

Diff accept is very sensitive I must admit. I face weird behaviors too, but I guess it also has to do with the global autocmd integrity state of our own personal configs

I see there is already function to toggle key mapping when conflict is detected. But it doesn't work properly for me. Any suggestions?
https://github.com/yetone/avante.nvim/blob/f9520c4fdfed08e9cc609d6cd319b358e4ea33a5/lua/avante/diff.lua#L384

Sorry for the ping @b0o, but can you try whether you can replicate this? I can't seem to reproduce at all

Sorry for the ping @b0o, but can you try whether you can replicate this? I can't seem to reproduce at all

Thanks, @aarnphm! Did you disable default c - change,  behavior on your side?
I asked the same on Reddit and got similar suggestion, but I don't want to remove it. https://www.reddit.com/r/neovim/comments/1gbneis/comment/ltngnj2/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

BTW, when I try to do :nmap c without conflict, I see "no mapping".
But when I press c it will enter change mode.

No I use default mapping
Also the conflict mappings are registered only if "AvanteConflictDetected" autocmd is available
https://github.com/yetone/avante.nvim/blob/5c02a5d846a17b9f9db40cf64caa0bc75e7b13c1/lua/avante/diff.lua#L389
This means my default there is no c- mapping, which is intentional so that it won't conflict with users mapping

I can reproduce this if I wait for longer than timeoutlen between pressing c and o/t/c/a. If I set timeoutlen really low, like 50-100ms, it's very hard to trigger the avante mapping. If I set it higher, it's easier.

After pressing c and waiting timeoutlen ms, vim enters operator-pending mode. Perhaps a solution would be to also create operator-pending mode mappings for o/t/c/a, but this feels hacky and would conflict with other operators.
I think the best solutions are up to the user's preference: either to increase their timeoutlen, or to configure a prefix other than c.

Thanks for investigating this. I'm good with increasing timeoutlen from avante during diff mode (gated behind an option, we can provide a "reasonable" default)


Add -pedantic to EXTRA_COPTS

Our godbolt link is broken!  https://godbolt.org/z/KrvfhP4M3
To fix this robustly, we add the -pedantic option to our builds.  We
put it in EXTRA_COPTS instead of BASE_CLANG_COPTS because otherwise,
the warning doesn't show up when we run this repro command:
bazel clean && bazel build --config=gcc //au:constant_test

This PR fixes all of the other warnings that started showing up when I
added this compiler option, too.  Interestingly, the godbolt-breaking
problem (extra ;) seems like it shows up only for gcc's -pedantic
implementation, not clang's.

I intentionally delayed fixing the offending error just to double-check that CI would catch it.  It would!  Job link: https://github.com/aurora-opensource/au/actions/runs/7187543317/job/19575326547?pr=210


feature/py_3p11p2 - do not close, submodule ptr update for macOS changes

PLACEHOLDER
Summary
Describe the changes made in this PR and why they are needed.
Testing
Describe the testing done for this PR.
Applications affected
List all known applications (UFS WM, JEDI, SRW, etc.) intentionally or unintentionally affected by this PR.
Systems affected
List all systems intentionally or unintentionally affected by this PR.
Dependencies

[ ] waiting on https://github.com/JCSDA/spack/pull/384

Issue(s) addressed
Link the issues addressed or resolved by this PR (use Fixes #??? for fully resolved issues)
Checklist

[ ] This PR addresses one issue/problem/enhancement, or has a very good reason for not doing so.
[ ] These changes have been tested on the affected systems and applications.
[ ] All dependency PRs/issues have been resolved and this PR can be merged.

Closing this PR as not needed


Needed a working demo

Can you please provide a working demo to demonstrate how to use this module. Thanks

Sure: https://tonicdev.com/574bed5a2dea9513009a3ffd/574c278798265b1300bbf560


Python package built in "ament_python" manner not resolving when built with colcon

Using a sample pkg from ros2/examples repo, I am having the following trouble:

o I do see modules installed in the install space.
x I do NOT see rospack lists the designated sample pkg.
o I do see the designated sample pkg in PYTHON_PATH.

Experiment on a Docker container
$ export DIMG=ros:melodic-ros-base
$ docker run --network host -it $DIMG bash

# mkdir -p /cws2/src && git clone https://github.com/ros2/examples.git --depth 1
# cd /cws2
# mkdir .tmp && mv src/examples/ .tmp/ && cp -R .tmp/examples/rclpy/topics/minimal_publisher src/
# source /opt/ros/melodic/setup.bash
# colcon build
# source install/setup.bash
root@130s-p50:/cws2# rospack find minimal_publisher
[rospack] Error: package 'minimal_publisher' not found
root@130s-p50:/cws2# rospack find examples_rclpy_minimal_publisher
[rospack] Error: package 'examples_rclpy_minimal_publisher' not found
# # rospack list
actionlib /opt/ros/melodic/share/actionlib
actionlib_msgs /opt/ros/melodic/share/actionlib_msgs
bond /opt/ros/melodic/share/bond
bondcpp /opt/ros/melodic/share/bondcpp
bondpy /opt/ros/melodic/share/bondpy
catkin /opt/ros/melodic/share/catkin
class_loader /opt/ros/melodic/share/class_loader
cmake_modules /opt/ros/melodic/share/cmake_modules
cpp_common /opt/ros/melodic/share/cpp_common
diagnostic_msgs /opt/ros/melodic/share/diagnostic_msgs
dynamic_reconfigure /opt/ros/melodic/share/dynamic_reconfigure
gencpp /opt/ros/melodic/share/gencpp
geneus /opt/ros/melodic/share/geneus
genlisp /opt/ros/melodic/share/genlisp
genmsg /opt/ros/melodic/share/genmsg
gennodejs /opt/ros/melodic/share/gennodejs
genpy /opt/ros/melodic/share/genpy
geometry_msgs /opt/ros/melodic/share/geometry_msgs
message_filters /opt/ros/melodic/share/message_filters
message_generation /opt/ros/melodic/share/message_generation
message_runtime /opt/ros/melodic/share/message_runtime
mk /opt/ros/melodic/share/mk
nav_msgs /opt/ros/melodic/share/nav_msgs
nodelet /opt/ros/melodic/share/nodelet
nodelet_topic_tools /opt/ros/melodic/share/nodelet_topic_tools
pluginlib /opt/ros/melodic/share/pluginlib
ros_environment /opt/ros/melodic/share/ros_environment
rosbag /opt/ros/melodic/share/rosbag
rosbag_migration_rule /opt/ros/melodic/share/rosbag_migration_rule
rosbag_storage /opt/ros/melodic/share/rosbag_storage
rosbash /opt/ros/melodic/share/rosbash
rosboost_cfg /opt/ros/melodic/share/rosboost_cfg
rosbuild /opt/ros/melodic/share/rosbuild
rosclean /opt/ros/melodic/share/rosclean
rosconsole /opt/ros/melodic/share/rosconsole
rosconsole_bridge /opt/ros/melodic/share/rosconsole_bridge
roscpp /opt/ros/melodic/share/roscpp
roscpp_serialization /opt/ros/melodic/share/roscpp_serialization
roscpp_traits /opt/ros/melodic/share/roscpp_traits
roscreate /opt/ros/melodic/share/roscreate
rosgraph /opt/ros/melodic/share/rosgraph
rosgraph_msgs /opt/ros/melodic/share/rosgraph_msgs
roslang /opt/ros/melodic/share/roslang
roslaunch /opt/ros/melodic/share/roslaunch
roslib /opt/ros/melodic/share/roslib
roslisp /opt/ros/melodic/share/roslisp
roslz4 /opt/ros/melodic/share/roslz4
rosmake /opt/ros/melodic/share/rosmake
rosmaster /opt/ros/melodic/share/rosmaster
rosmsg /opt/ros/melodic/share/rosmsg
rosnode /opt/ros/melodic/share/rosnode
rosout /opt/ros/melodic/share/rosout
rospack /opt/ros/melodic/share/rospack
rosparam /opt/ros/melodic/share/rosparam
rospy /opt/ros/melodic/share/rospy
rosservice /opt/ros/melodic/share/rosservice
rostest /opt/ros/melodic/share/rostest
rostime /opt/ros/melodic/share/rostime
rostopic /opt/ros/melodic/share/rostopic
rosunit /opt/ros/melodic/share/rosunit
roswtf /opt/ros/melodic/share/roswtf
sensor_msgs /opt/ros/melodic/share/sensor_msgs
shape_msgs /opt/ros/melodic/share/shape_msgs
smclib /opt/ros/melodic/share/smclib
std_msgs /opt/ros/melodic/share/std_msgs
std_srvs /opt/ros/melodic/share/std_srvs
stereo_msgs /opt/ros/melodic/share/stereo_msgs
topic_tools /opt/ros/melodic/share/topic_tools
trajectory_msgs /opt/ros/melodic/share/trajectory_msgs
visualization_msgs /opt/ros/melodic/share/visualization_msgs
xmlrpcpp /opt/ros/melodic/share/xmlrpcpp
# # echo $PYTHONPATH
/cws2/install/examples_rclpy_minimal_publisher/lib/python3.6/site-packages:/opt/ros/melodic/lib/python2.7/dist-packages
root@130s-p50:/cws2#

I do have found in some places where people seemed to be confused about building their own Python packages either in ROS2, and/or with colcon. So this may be something the community is missing?

https://answers.ros.org/question/367328
https://github.com/ament/ament_index/issues/33
https://answers.ros.org/question/342118

Btw, for mixing ros1 and ros2 Python packages on a single repo, I found this page On the mixing of ament and catkin (catment) (docs.ros.org), which doesn't seem to provide an easy, established way of mixing catkin/ROS1 packages and ament/ROS2 packages. I may re-review the doc, but for now I'm getting desperate about the mix on a single repo.

For now for my monitoring_tools work, I'm switching the Python packaging to Catkin-based approach and see if that still works with colcon.
I think I do like ament_python approach better, as it requires less number of files (setup.py and package.xml. No CMakeLists.txt). But lack of central instruction is causing me a pain and I don't have time to experiment with it.

I'm getting this hypothesis:

Python packages defined in ament_python way built with colcon only works with ROS2, not ROS1
Python packages defined in catkin way built with colcon may work with ROS1.

To be proven.


Continuous integration

Adds a CI workflow to automate the process of building and releasing our project to the releases section of our repo
For testing please use my fork of the repo - https://github.com/ChaseBENNC9/Space-Rescue
Everyone has been added as a contributor and should have access to the required steps if not please let me know.
There is some information on the wiki about how this workflow works but I will add some info on how to test it on my fork
I will also add this to the wiki

Create a new branch and add some kind of change

NOTE: this could be a new text file or slight change to the readme does not matter

open a pull request and set it to main branch

NOTE: Please Make sure to change the base repo to CHASEBENNC9/Space-Rescue It is set to the main repo by default

Add something to the body of the Pull Request it might not work properly if left blank,

NOTE: In the main repo this would be the changelog of the current release

Merge the Pull Request
Under Actions a new workflow should have started you can select it to see how long it has been operating and current info

NOTE: The Build Job may take roughly 4.5 minutes You don't need the tab open for this to continue

Once the job is finished, Check the Releases, a new release should have been created with your provided body and a build of the game.

NOTE: Feel free to ask me and I will try my best to explain what is happening

Tested on the fork and it all seems to work. There were a couple of warnings about depriciated features.

which link to
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
and
https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Are these an issue?

Glad it worked!
I have noticed these. But I think when I changed it some other errors happened. I may have changed other stuff since then. I think it would only be an issue if they actually did delete it which the article says they have delayed because of how many people use them. I will still have a check


Mistake in dist/index.js

Hi. I'm using your package and i found a mistake. In file dist/index.js in line 37 and 61, after auth and key cannot be ?. Sorry for my bad english.

Hello. First, may I know what version of node you're using?

With you not being able to use ?., I can see that you use a node version below v14. I have changed my TypeScript compiler options to work with the older node versions.
I have pushed this fix to NPM as version 1.0.2 which you can now download. I hope this fixes the issue you are having. If you have any more issues, feel free to let me know.

Sorry, I didn't checked this in other node versions. Thanks for fixing this error.

It's ok. Thank you for reporting this to me. Before I close the issue, did the fix I pushed fixed the issue you was having?

Yes, you fixed.

Yes, you fixed.

That's great news. Have a great day/evening 😃


iOS: File and Capture plugins are not requiring permission to access media

Device information:

Hardware: iPhone 12 Pro, iPhone SE, Simulator (13 Pro, 8, X, Xr)
Operating System and Version: (12.4, 13, 14.6, 15)
Forge Platform version: 2.9.5

App information:

"file": {
      "version": "2.27",
      "config": {
        "usage_description": "Allow access to your camera, microphone, and gallery, to create and upload images or videos incl. sound, and store them on your device or upload them directly from the gallery, e.g. for in app posts, comments or profile picture."
      },
      "disabled": %disable_file_module%
    },
    "capture": {
      "version": "2.26",
      "config": {
        "usage_description": "Allow access to your camera, microphone, and gallery, to create and upload images or videos incl. sound, and store them on your device or upload them directly from the gallery, e.g. for in app posts, comments or profile picture."
      }
    }

To Reproduce

Capture plugin
a. Try to record a video or capture a picture

File plugin
a. Try to upload a video or a picture

Expected behaviour

The permission request pop up should be displayed to the user.
If permission not given, app should not be able to access media.
Actual behaviour

The photos library opens directly (file plugin)
The camera is loaded directly (capture plugin)

Related information:

Behaviour of app using file. getImages

The permissions are not even being displayed on the app config. I guess there is a problem on adding the keys on Info.plist

This bug also occurs for older iOS version. It was found for iOS 14.6 and iOS 14.8.

Hello @antoinevg ,
can you please have a look into it. 🙏🏼

Hi @antoinevg,
Sorry, that I'm pinging you again here, but we would highly appreciate your input.
We see this as a pressing topic that is currently blocking the release of our apps.
Thanks a lot!
Best,
Robert

Apple did a major overhaul to their image privacy with the last iOS 14 release. To conform we had to switch to their PHPicker image selector control.
Now here's the thing about PHPicker:

It runs out of process, so an app no longer interfaces with it in the same address space.
This means PHPicker no longer needs to ask for permission as it only returns access to the selected photo now, and not the entire use photo gallery.
There may still be instances where you will be prompted for permissions if you're saving to to the photo gallery.

re: Camera permissions - still works for me. Make sure to delete your app and reboot the phone before testing.


Fix problems

Update test to use normalize 4.1
Replace sync fs API to async
Fix sourcemaps #1

looks good to me!

Whoops sorry missed this earlier. Out atm, will have a look later today. After a quick glance looks good though!

👍 LGTM - removing cleanCSS is subjective, but I have no strong feelings either way and people can always run a minifier after postcss-normalize, so probably good to keep a separation of concerns.


Different Card for Thermostats

Current Behavior
I have 2 thermostats with different cards, why is that?
The first one is a ZWave Thermostat.
The second one is a Tuya Thermostat.
The third one is a Sensibo Thermostat.
The issue is apparently only affecting the Z-Wave thermostat.

Expected Behavior
Same Card for all Thermostats.
Steps To Reproduce
No response
Environment
- OS:
- Node:
- Version:
- Hassio:

Anything else?
No response

Looks like your first thermostat don't support temperature control

It does support temperature control. See pictures below.
First pictures shows when I turn the AC ON. The second one, when I select temperature control.

So what's the problem? Your screenshot looks good.

I just imagine that is a bug that this happen:
When all thermostats are off, why the Z-Wave is different from the others? Is more about having a uniform look. The functionality is OK.

I find that the Z-Wave look is better when off, because it hides the temperature control and shows it as soon as I turn it ON.

Can you provide the complete state of your entity when cool and when off ? 🙂 Looks like the supported features change when you turn on the climate.

Do you mean this?

Yes and when you turn on the entity?

Is pretty much the same.
Just the card changes as I show you above.

temperature is null when state is off for your zwave integration. That why the input number is not displayed for this thermostat when off.

Oh i get it, thanks man. Well, a recommendation would be to first show the HVAC modes, because thats where you turn on the AC.
Thanks again for the great communication.

There is already an issue about default control https://github.com/piitaya/lovelace-mushroom/issues/640 🙂 It should be good to allow user to choose it for light, media_player, climate, etc...

It does support temperature control. See pictures below.
First pictures shows when I turn the AC ON. The second one, when I select temperature control.

I have been looking for this for a long time (air conditioner options).
can you share your code for this?


Allow borrowed strings for YoutubeDl

This changes YoutubeDl to have a lifetime, to allow users to provide &str references for the url/query. This can't currently be used for Input, where users have to provide String or &'static str, but is useful for users fetching metadata/searching.
This also makes search return impl Iterator to avoid the unnecessary Vec buffering possibly performed, which relies on Either as a primitive form of enum_dispatch, but it's already in the dep tree so it doesn't matter.

I think providing a 'static argument to program and a local 'a to YoutubeDl will just shrink the lifetime to 'a,

Had a quick test on rust-playground, this is indeed the case. :)


Servname not supported for ai_socktype

Hello,
i did a fresh install of Snips v0.60.1 via sam and added the skill-respeaker also via sam.
I have a RPi3 with the 4-mic respeaker array. The https://github.com/respeaker/4mics_hat pixels_demo works well for me, so i guess my hardware setup should be fine.
When i start the snips skill server, i get the following error:

[14:13:05.930444] INFO :snips_skill_server_lib::runner: [app_respeaker][err] Failed to open socket (getaddrinfo): Servname not supported for ai_socktype
[14:13:05.930626] INFO :snips_skill_server_lib::runner: [app_respeaker][err] Failed to open socket: : Success
[14:13:05.931278] INFO :snips_skill_server_lib::runner: [app_respeaker][err] Segmentation fault
[14:13:05.931640] DEBUG:snips_skill_server_lib::runner: [app_respeaker][out] thread stopped
[14:13:05.932247] DEBUG:snips_skill_server_lib::runner: [app_respeaker][err] thread stopped
[14:13:05.945614] WARN :snips_skill_server_lib::handler::nosandbox: child app_respeaker has stopped with status `exit code: 139`
[14:13:05.945756] INFO :snips_skill_server_lib::runner: restarting action app_respeaker (restart_fails: 0)
[14:13:05.956138] DEBUG:snips_skill_server_lib::runner: [app_respeaker][err] thread started
[14:13:05.956583] DEBUG:snips_skill_server_lib::runner: [app_respeaker][out] thread started
[14:13:05.969715] INFO :snips_skill_server_lib::runner: [app_respeaker][err] Failed to open socket (getaddrinfo): Servname not supported for ai_socktype
[14:13:05.975127] INFO :snips_skill_server_lib::runner: [app_respeaker][err] Failed to open socket: : Success
[14:13:05.976768] INFO :snips_skill_server_lib::runner: [app_respeaker][err] Segmentation fault
[14:13:05.977049] DEBUG:snips_skill_server_lib::runner: [app_respeaker][err] thread stopped
[14:13:05.977754] DEBUG:snips_skill_server_lib::runner: [app_respeaker][out] thread stopped
[14:13:06.023995] WARN :snips_skill_server_lib::handler::nosandbox: child app_respeaker has stopped with status `exit code: 139`

Any Ideas on that?

Looks like i had an error in my config.ini

If i did a fresh save of config.ini.example as config.ini, the error disappears.
If i reinstall the assistant via sam install, the config.ini is somehow changed and the error appears again.

Hi @fighterii :
Could you please share the content of your config.ini file? The one that is changed.

I attached the broken config.ini within the zipfile:
config.zip
but here is the content:
model=rpi_*
spi_dev=0:1
led_num=12
on_idle=true
on_listen=true
on_speak=true
to_mute=true
to_unmute=true
idle_colour=green
listen_colour=blue
speak_colour=purple
mute_colour=yellow
unmute_colour=green
nightmode=true
go_sleep=22:15
go_weak=8:35

[secret]
mqtt_host=localhost
mqtt_port=1883
site_id=default
led_bri=64

before the sam install command it looked just like the config.ini.default (with changes made in the lines spidev and num_led)


Build time for FAST_Subs.f90

Compiling OpenFAST on Linux with GCC 7.4.0 takes a long time. Almost all the time is spent compiling one file FAST_Subs.f90 with timers indicating almost 25 minutes spent in compiling this file.
With RelWithDebInfo (compilation flags -O2 -g) also generates the following warnings
[ 96%] Building Fortran object modules/openfast-library/CMakeFiles/openfast_postlib.dir/src/FAST_Subs.f90.o
/ccs/proj/cfd142/exawind/exawind-2020-07/source/openfast/modules/openfast-library/src/FAST_Subs.f90:6574:0:

 SUBROUTINE FAST_RestoreFromCheckpoint_Tary(t_initial, n_t_global, Turbine, CheckpointRoot, ErrStat, ErrMsg  )

note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
/ccs/proj/cfd142/exawind/exawind-2020-07/source/openfast/modules/openfast-library/src/FAST_Subs.f90:6782:0:

 SUBROUTINE FAST_RestoreForVTKModeShape_Tary(t_initial, Turbine, InputFileName, ErrStat, ErrMsg  )

note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without

FAST_Subs.f90 does take a long time to compile.  I honestly don't know if it is something we will attempt to speed up or not given the amount of re-architecture required to address it.
I have noticed the variable tracking message as well on Ubuntu VM compiles, and on Mac compiles.

I have an old branch where I tried to improve the compile time by pulling things out of the huge FAST_Subs module. No such luck. In the end, using -O2 / RELWITHDEBINFO sped it up enough for me. This is also what motivated the use of the version module so that changing the git-commit didnt require recompiling FAST Subs.
I had forgotten that I split out a FAST_VTK module. @akey7 may be interested in that.

Given how FAST_Subs is structured, would we be able to set -01 for that module without incurring too much run-time penalty?

@rafmudaf the above timings were from RELWITHDEBINFO, and why I am seeing variable tracking assignment warnings.

I have noticed the compile times for FAST_Subs.f90 are significantly improved with gfortran 9.3 compared to gfortran 7.4.

This may be a long shot, but you might try changing
   TYPE(FAST_TurbineType),   INTENT(  OUT) :: Turbine(:)          !< all data for one instance of a turbine

to
   TYPE(FAST_TurbineType),   INTENT(INOUT) :: Turbine(:)          !< all data for one instance of a turbine

in FAST_RestoreFromCheckpoint_Tary.
I recall that change fixed a warning similar to the "note: variable tracking size limit exceeded" one in the FAST_RestoreFromCheckpoint_T routine. Not sure that will help the overall compile time, though.

I can confirm @andrew-platt 's observations regarding GCC 7.4.0 and GCC 9.1.0

File
GCC 7.4.0
GCC 9.1.0

FAST_Types.f90
5:27
4:33

FAST_Subs.f90
33:25
13:20

FAST_Library.f90
10:52
9:07

FAST_Prog.f90
7:39
7:19

Woah!  That's a dramatic difference in FAST_Subs.f90!

Whoa. I'll be upgrading asap.

Sorry for commenting on a closed issue, but I just wanted to mention that on my system
$ f95 --version
GNU Fortran (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

for the step
[ 96%] Building Fortran object modules/openfast-library/CMakeFiles/openfast_postlib.dir/src/FAST_Subs.f90.o

it took about 21.5 minutes and, perhaps more disconcertingly, 22.9% of RAM. Since my laptop has 32 GB of RAM, this corresponds to about 7.3 GB of RAM used by the compiler, which I imagine could start to be an issue for systems with only 8GB of RAM? Has anyone checked whether GCC 9.1.0 is any better on memory usage in addition to being faster?

@jwpeterson Please see this post https://github.com/OpenFAST/openfast/issues/503#issuecomment-663089975

Please see this post

@sayerhs yes, I saw your table. It's very helpful, but my question was mainly about whether memory usage on the newer compiler is any lower.

I have the same issue as @jwpeterson. It actually freezes my laptop with 16GB of ram after a while as it gobbles up all the memory.
$ gfortran --version
GNU Fortran (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

In addition to faster compile times with later versions of gfortran, the memory usage in gfortran 8, 9, 10 is lower during compile.  Can you upgrade your compiler to one of these versions?


The official website of ionicframework is auto redirect to http://wpkg.org/

please !

Greetings @yangheng!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

same problem

@yangheng @zheng1 Take a look at this thread: http://www.reddit.com/r/China/comments/33wpk3/anyone_else_almost_all_websites_in_both_chrome/cqp8kqu

@KLVN thanks for looking into this! Closing this as it's not an Ionic issue.

why and how, the issue still there! @_@


Replace C-includes with C++ includes

Because C++ is build on top of C it is perfectly legal to mix the two.
But as we want to move from a C codebase to something more object oriented, lets start with all simple things.
We have various places where c-library includes are used. These are files like <stdint.h>, and we want to replace that with the C++  versions, in this case <cstdint>
Similarly for files like cstring, cstdint, cstdlib, cstdio, casserts, cmath, climits, cerrno, cstdarg
etc.
BE CAREFUL to not modify any file in the 3rd party library directories src/leveldb, src/univalue and src/secp256k1

almost done with this

https://github.com/bitcoinclassic/bitcoinclassic/pull/292


Passing Values to Functions with Arguments

functionWithArgs should be a function
functionWithArgs(1,2) should output 3
functionWithArgs(7,9) should output 16
Call functionWithArgs after you define it.
1It is accepting all my functions except 1 + 2 = 3, https://www.freecodecamp.com/challenges/passing-values-to-functions-with-arguments#?
// Example
function ourFunctionWithArgs(a, b) {
console.log(a - b);
}
ourFunctionWithArgs(10, 5); // Outputs 5
// Only change code below this line.
function functionWithArgs(a, b) {
console.log(1 + 2);
}
functionWithArgs(1, 2); // outputs 3
function functionWithArgs(c, d) {
console.log(7 + 9);
}
functionWithArgs(7, 9); // outputs 16
I have asked for help but no one has offered to help me, I need to know how to fix this so I can move on
#### Screenshot
<!-- Add a screenshot of your issue -->

Hi @krcurry
Thanks for the report. The issue tracker is for reporting bugs only.
I understand your frustration and are sincerely sorry for the same, but chat rooms do get busy at times, please be patient, and someone will surely help out.
You can also post on the forum.
Please use the chat rooms:

HTML/CSS help chat room
JavaScript help chat room
Other Official Rooms

or try looking through our forum for help with a specific challenge.
Happy Coding!

@raisedadead
I am also having the same issue and i think it is a bug because the error message given was  "TypeError: nativeLog is not a function". I did not declare any function called nativeLog, please look into this so that i can move forward with the tasks.

@blackkingafrica please raise a separate issue, with the screenshots of the error that you are getting.

// Example
function ourFunctionWithArgs(a, b) {
console.log(a - b);
}
ourFunctionWithArgs(10, 5); // Outputs 5
// Only change code below this line.
function functionWithArgs (a, b) {
console.log(a + b);
}
functionWithArgs(1,2);
functionWithArgs(7,9);

// Example
function ourFunctionWithArgs(a, b) {
console.log(a - b);
}
ourFunctionWithArgs(10, 5); // Outputs 5
// Only change code below this line.
function functionWithArgs (c,d){
console.log(c+d);
}
functionWithArgs(7,9);

this is not work please help i am new student in java script help me

erroe is again and again

Hello, I urge @raisedadead to double check this as there's a clear issue. Check my attached screenshots, I tested the code on another website, and sure enough, it worked... I changed the calculations exactly, even tried copying and pasting back into Freecodecamp and nill. Can you please look into this ASAP and don't dismiss it as not a bug,`
`
// Example
// Example
function ourFunctionWithArgs(one, two) {
console.log(1 + 2 );
}
ourFunctionWithArgs(1, 2); // Outputs 3
// Only change code below this line.
function functionWithArgs(one, two) {
console.log(1 + 2);
}
function functionWithArgs(seven, nine) {
console.log(7 + 9);
}
functionWithArgs(1 + 2); // Outputs 3
`

`
I think we would all appreciate someone looking into this as I have already scoured the internet for a result and there's no result how to get past this. For one I was actually enjoying learning..
----- Again
// Example
function ourFunctionWithArgs(one, two) {
console.log(1 + 2 );
}
ourFunctionWithArgs(1, 2); // Outputs 3
// Only change code below this line.
function functionWithArgs(one, two) {
console.log(1 + 2 );
}
function functionWithArgs(seven, nine) {
console.log(7 + 9);
}
functionWithArgs(1,2); // Outputs 3
functionWithArgs(7,9); // Outputs 16

function functionWithArgs(a, b) {
console.log(a + b);
}
functionWithArgs(7, 9);
functionWithArgs(1, 2);


Data

Purpose

Fixed files outside of any folders (now they are in folders)
provided updated code for generating images and loading the data set
Closes #14
Closes #17

Type of change
New Feature
Code style update
Documentation update
Checklist
Put an x in the boxes that apply.

[x ] My code functions as intended
[ x] I have used camelCase in my variable and function names
[x ] I have commented my code properly
[x ] I have provided the necessary prompts for automatic documentation
[x ] I have provided a toy case under the examples folder
[x ] I have addressed all the issues entirely

fixed formatting


No repositories found based on path

The script is executing! Yay!  Unfortunately, I'm seeing some errors with the lcsm commands, and the changes aren't being put in my git repo:

I've tried running with and without useProvidedHistory, and I get the same errors either way. I've also tried running with the stream's name instead of UUID. Any ideas on how to fix?

Hmm it looks like the executed lscm command cant find your rtc repo uri/workspace. Can you verifiy if its correct by using lscm login -r in any console?

I am able to successfully login using
lscm login -r https://hub.jazz.net/ccm11 -u myusername -P mypassword.
The server is Jazz Team Server 5.0.2.

ok thats good. Strange error you get there.... Do you get the same error when you try to run the lscm accept command in the folder where your workspace is loaded?

My Eclispe workspace has all of the changes loaded, so when I run the accept command I'm getting:
Accepting changes:
Workspace unchanged.
I just did some searching, and the script is creating my repository workspace successfully, but there are no files in it.

So according to your description your workspace gets updated, but not the one in the folder.
You could try two things. Start on a not existing workspace.

After the first accept of "Sharing project". Can you make a reload of the workspace? (eg. lscm load -r https://hub.jazz.net/ccm11)
Specify a target on your accept by adding parameter --target to the accept commands. (eg. lscm accept -v --overwrite-uncommited --target "MYWORKSPACENAME" --changes CHANGES)

One of those should make a change...

Are you saying to do this while the script is loading?
Are you suggesting to modify the script code to have an extra param?
I did a little more testing.  I've been using a new repo workspace for each script run.  In the command line, I ran
lcsm accept -v --overwite-uncommitted --changes _mylonguuid --target "myGitTestWorkspace13" -r https://hub.jazz.net/ccm11 -u myusername -P mypassword
The command ran successfully, and when I view the repo workspace files in Eclipse, I can see the changeset in it.

Perhaps I need to modify my version of the script to use --target?

Either making a break in the script or doing the steps manually.
Yes (should be only one change here on this line: https://github.com/WtfJoke/rtc2git/blob/develop/rtcFunctions.py#L93)
Did I get this right. In the folder where your workspace gets loaded there are now changes? Therefore "git status" shows something?

So it really looks like it makes a different in your case. I need to test with my use case.... In my case it wasnt necessary to specify a target.

Thank you so much for your help!  I was able to get the script running by making modifications to the Accept command.  My changes are in https://github.com/ljhaywar/rtc2git/pull/1/commits.  The script is successfully running and saving RTC history to a git repo.
Can you explain how it handles multiple streams?  Does each stream translate to a new branch in the same git repository?

Good to hear that it works now. :smile: . I was having a look at your change. Looks good. :+1:  Nevertheless I think -r is not required and it should work without it as well (since we login at the beginning of the script).
About multiple streams:
Each stream creates a git branch named after the stream.
The idea is that you run a migration for each stream.
In detail how the script works is like that (just the branching stuff of course):

Creates empty git repo (default branch is master)
RTC Workspace (created) and loaded
Create new git branch (named after rtc stream)
Do all the update in rtc workspace and do the same in git

At the end of the migration you have a master branch (with the initial rtc workspace, which you could throw away) and another branch named after your rtc stream. The idea is that you can merge or rebase it afterwards on your own to your master branch.
I just figured out that I missed something to implement. My Idea was that you can run multiple migration on the same git-repo. Since the branches don't conflict (unless two different streams have the same name, but lets assume this isn't possible) it is possible without any problems
So on the same git-repo you could run multiple migrations,

Thanks for the info!  Your script is going to save us a ton of time!


got10k server http request error

Hi, I want to submit the got10k results to get the got-10k performance. But got this error "got-10k.aitestunion.com is currently unable to handle this request."

Hello, I can access the website normally. Perhaps you should check your network or VPN settings.
Thanks for your attention of GOT-10k.

Thanks for your reply! I can also access the website normally. But when I submit the result (upload the results.zip and click the upload button), the error occurs. I try the different networks, but it does not work. Could you check the submission server?

Hello, I submit the exemplar submission to GOT-10k server and all goes well.
You can email me at<EMAIL_ADDRESS>with your tracking results.
Thanks again.

Thanks, I will try again. If it does not work, I will send the results to your email.


What method are you intending to use for History alias management, notes

Hey,
I would really like to help this project progress and was wondering how you were intending to store the alias history.
If you were intending for a data base could I make an api that you could use to access it to allow for a separate chrome extension for creating aliases without all of DuckDuckGo’s junk as well as a iOS shortcut.
Thanks

Hi,
Thank you for your interest in the project and for wanting to help with it.
I plan to use the IndexedDB API to store the alias history locally.
The IndexedDB API can be manipulated using Dexie.js, which is A Minimalistic Wrapper for IndexedDB.
Do you have any better suggestions?


Some dependencies not getting installed

Trying to add Sphinx to my dependencies, but none of Sphinx's dependencies get installed.
Here's what my pyproject.toml looks like after running poetry add sphinx:
[tool.poetry]
name = "poetry-demo"
version = "0.1.0"
authors = [ "My Name <example@gmail.com>",]
description = "Here's a package supplied by Poetry."

[tool.poetry.dependencies]
python = "^2.7"
sphinx = "^1.7"

[tool.poetry.dev-dependencies]
pytest = "^3.4"

And my pyproject.lock:
[[package]]
name = "attrs"
version = "17.4.0"
description = "Classes Without Boilerplate"
category = "dev"
optional = false
python-versions = "*"
platform = "*"

[[package]]
name = "colorama"
version = "0.3.9"
description = "Cross-platform colored terminal text."
category = "dev"
optional = false
python-versions = "*"
platform = "*"

[package.requirements]
platform = "win32"
[[package]]
name = "funcsigs"
version = "1.0.2"
description = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+"
category = "dev"
optional = false
python-versions = "*"
platform = "*"

[package.requirements]
python = "<3.0"
[[package]]
name = "pluggy"
version = "0.6.0"
description = "plugin and hook calling mechanisms for python"
category = "dev"
optional = false
python-versions = "*"
platform = "*"

[[package]]
name = "py"
version = "1.5.2"
description = "library with cross-python path, ini-parsing, io, code, log facilities"
category = "dev"
optional = false
python-versions = "*"
platform = "*"

[[package]]
name = "pytest"
version = "3.4.2"
description = "pytest: simple powerful testing with Python"
category = "dev"
optional = false
python-versions = "*"
platform = "*"

[package.dependencies]
colorama = ""
funcsigs = ""
pluggy = "<0.7,>=0.5"
attrs = ">=17.2.0"
setuptools = ""
six = ">=1.10.0"
py = ">=1.5.0"
[[package]]
name = "six"
version = "1.11.0"
description = "Python 2 and 3 compatibility utilities"
category = "dev"
optional = false
python-versions = "*"
platform = "*"

[[package]]
name = "sphinx"
version = "1.7.1"
description = "Python documentation generator"
category = "main"
optional = false
python-versions = "*"
platform = "*"

[metadata]
python-versions = "^2.7"
platform = "*"
content-hash = "520283d56df5911cac74bab7cd560271a1470283fac751f551c44e5eb6c466b0"

[metadata.hashes]
attrs = [ "a17a9573a6f475c99b551c0e0a812707ddda1ec9653bed04c13841404ed6f450", "1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9",]
colorama = [ "463f8483208e921368c9f306094eb6f725c6ca42b0f97e313cb5d5512459feda", "48eb22f4f8461b1df5734a074b57042430fb06e1d61bd1e11b078c0fe6d7a1f1",]
funcsigs = [ "330cc27ccbf7f1e992e69fef78261dc7c6569012cf397db8d3de0234e6c937ca", "a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50",]
pluggy = [ "7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff",]
py = [ "8cca5c229d225f8c1e3085be4fcf306090b00850fefad892f9d96c7b6e2f310f", "ca18943e28235417756316bfada6cd96b23ce60dd532642690dcfdaba988a76d",]
pytest = [ "062027955bccbc04d2fcd5d79690947e018ba31abe4c90b2c6721abec734261b", "117bad36c1a787e1a8a659df35de53ba05f9f3398fb9e4ac17e80ad5903eb8c5",]
six = [ "832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb", "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",]
sphinx = [ "41ae26acc6130ccf6ed47e5cca73742b80d55a134f0ab897c479bba8d3640b8e", "da987de5fcca21a4acc7f67a86a363039e67ac3e8827161e61b91deb131c0ee8",]

This was also happening when I was trying to install pylint, its dependencies weren't installed.

The thing is Poetry uses the PyPI JSON API to avoid having to download packages to retrieve dependency information.
So, if you look at https://pypi.org/pypi/Sphinx/json you can see that the info.requires_dist field is empty. This is likely due to the fact that the metadata was not passed, or not properly passed, as POST data when Sphinx was uploaded. This is not a bug on Poetry's side. Sphinx should upload its packages using twine (or Poetry :-)) for the metadata to be properly set.
As for pylint, this is strange since the requires_dist is not empty and it works on my side:
$ poetry debug:resolve pylint
Resolving dependencies...............

Resolution results:

  - lazy-object-proxy (1.3.1)
  - wrapt (1.10.11)
  - enum34 (1.1.6)
  - astroid (1.6.2)
  - six (1.11.0)
  - isort (4.3.4)
  - mccabe (0.6.1)
  - singledispatch (<IP_ADDRESS>)
  - configparser (3.5.0)
  - backports.functools-lru-cache (1.5)
  - colorama (0.3.9)
  - pylint (1.8.3)

Ah ok, that makes sense regarding Sphinx. I guess the workaround would be to manually install Sphinx with pip then?
Actually my pylint issue seems to be something else. If I have this pyproject.toml:
[tool.poetry]
name = "example"
version = "0.1.0"
authors = [ "Name <example@gmail.com>",]
description = "Example package"

[tool.poetry.dependencies]
python = "^2.7"
pylint = "^1.8"

[tool.poetry.dev-dependencies]

Then run poetry install
$ poetry install
Updating dependencies
Resolving dependencies...............

Package operations: 11 installs, 0 updates, 0 removals

Writing lock file

  - Installing lazy-object-proxy (1.3.1)
  - Installing wrapt (1.10.11)
  - Installing enum34 (1.1.6)
  - Installing astroid (1.6.2)
  - Installing six (1.11.0)
  - Installing isort (4.3.4)
  - Installing mccabe (0.6.1)
  - Installing singledispatch (<IP_ADDRESS>)
  - Installing backports.functools-lru-cache (1.5)
  - Installing colorama (0.3.9)
  - Installing pylint (1.8.3)

It's missing configparser. However, if I run poetry debug:resolve pylint it is listed:
$ poetry debug:resolve pylint
Resolving dependencies...............

Resolution results:

  - lazy-object-proxy (1.3.1)
  - wrapt (1.10.11)
  - enum34 (1.1.6)
  - astroid (1.6.2)
  - six (1.11.0)
  - isort (4.3.4)
  - mccabe (0.6.1)
  - singledispatch (<IP_ADDRESS>)
  - configparser (3.5.0)
  - backports.functools-lru-cache (1.5)
  - colorama (0.3.9)
  - pylint (1.8.3)

The installation of configparser is likely skipped if you are currently using a Python version != 2.7.
You can actually see this when installing by passing the -v/--verbose option.
$ poetry install -v

The virtualenv I'm using is Python 2.7 though:
$ poetry install -v

Using virtualenv: C:\Users\mitch\.virtualenvs\example-env
Updating dependencies
Resolving dependencies.......

Package operations: 11 installs, 0 updates, 0 removals, 1 skipped

Writing lock file

  - Installing lazy-object-proxy (1.3.1)
  - Installing wrapt (1.10.11)
  - Installing enum34 (1.1.6)
  - Installing astroid (1.6.2)
  - Installing six (1.11.0)
  - Installing isort (4.3.4)
  - Installing mccabe (0.6.1)
  - Installing singledispatch (<IP_ADDRESS>)
  - Skipping configparser (3.5.0) Not needed for the current python version
  - Installing backports.functools-lru-cache (1.5)
  - Installing colorama (0.3.9)
  - Installing pylint (1.8.3)

$ python --version
Python 2.7.14

OK. I see where the problem is coming from.
I will fix this and make a new bugfix release.

The issue with pylint should be fixed in the latest release (0.6.2)

I just tried this out on my end and I can confirm this is now fixed. Thank you!

@sdispater  I think I had a similar issue with flake8
poetry debug:resolve  flake8
Resolving dependencies... (0.3s)

Resolution results:

  - configparser (4.0.2)
    - python: >=2.6
    - marker: python_version < "3.2"
  - enum34 (1.1.6)
    - marker: python_version < "3.4"
  - mccabe (0.6.1)
  - pycodestyle (2.3.1)
  - pyflakes (1.6.0)
  - flake8 (3.5.0)

while in the lock file, I have the entrypoints module resolved correctly, but not installed by poetry install. this causes an import thing for entrypoints.
[[package]]
category = "main"
description = "the modular source code checker: pep8, pyflakes and co"
marker = "python_version >= "3.5" and python_version < "4.0""
name = "flake8"
optional = true
python-versions = ">=2.7, !=3.0., !=3.1., !=3.2., !=3.3."
version = "3.7.9"
[package.dependencies]
entrypoints = ">=0.3.0,<0.4.0"
mccabe = ">=0.6.0,<0.7.0"
pycodestyle = ">=2.5.0,<2.6.0"
pyflakes = ">=2.1.0,<2.2.0"

@byronz Could you try with the 1.0.0b6 release?


构建失败

platform：macOS catalina 10.15.7 (19H2)
gcc version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

 (pytorch) quanhaoguo@QuanhaodeMacBook-Pro 3DDFA_V2 % sh ./build.sh
running build_ext
skipping 'nms/cpu_nms.c' Cython extension (up-to-date)
running build_ext
skipping 'lib/rasterize.cpp' Cython extension (up-to-date)
building 'Sim3DR_Cython' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/quanhaoguo/anaconda3/envs/pytorch/include -arch x86_64 -I/Users/quanhaoguo/anaconda3/envs/pytorch/include -arch x86_64 -I/Users/quanhaoguo/anaconda3/envs/pytorch/lib/python3.6/site-packages/numpy/core/include -I/Users/quanhaoguo/anaconda3/envs/pytorch/include/python3.6m -c lib/rasterize.cpp -o build/temp.macosx-10.7-x86_64-3.6/lib/rasterize.o -std=c++11
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from lib/rasterize.cpp:624:
In file included from /Users/quanhaoguo/anaconda3/envs/pytorch/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/quanhaoguo/anaconda3/envs/pytorch/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/quanhaoguo/anaconda3/envs/pytorch/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Users/quanhaoguo/anaconda3/envs/pytorch/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning:
      "Using deprecated NumPy API, disable it with "          "#define
      NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
 ^
In file included from lib/rasterize.cpp:629:
lib/rasterize.h:5:10: fatal error: 'cmath' file not found
#include "cmath"
         ^~~~~~~
1 warning and 1 error generated.
error: command 'gcc' failed with exit status 1

Try to refer to this warning?
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]```

Nice, Thanks for figureing my probelm. I just focus on changing the gcc version before. I solved my problems by using the command [export CFLAGS='-stdlib=libc++']. Many thanks.

This helps me:
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++


speedlimit lane highlight

fixes #682
highlight the affected lanes when user hovers speed limit sprite.

highlight  color is blue. when mouse button is pressed the highlight is emboldened and becomes orange.
If in per lane mode one lane is highlighted. holding shift highlights that lane on the entirety of the road.
if in directional mode all lanes in that direction are highlighted. they highlights are much thicker so that they would merge together as one. holding shift will highlight all affected lanes on that road.

It went a bit bonkers on LHT map (mouse was over the icon at top of pic, but lanes at bottom of pic were highlighted):

Interestingly, whern I hold down Ctrl key for lane-mode, it was highlighting correct lanes.
Seems the inversion issue is only affecting direction-mode.

In cases where two icons are hovered at same time in lane-mode, only one lane gets highligted:

I suspect this is due to direction inversion issue on LHT maps - it's one way roundabout, in direction mode:

I replaced m_direction with m_finalDirection. This is fixed now.
I need to develop a test check list because I keep forgetting to test in all possible circumstances.

@kvakvs  The amount of if (something) conditions is getting out of hand.

"cyclomatic complexity" ... interesting concept.
how should I do this though? move branches into sub methods?
Note that when the user holds shift, FPS drops because the code goes though a big ass slow for loop. as an optimization effort I created a separate code path for when shift is not pressed so that in most cases FPS is high. I haven't performed any benchmark though. I could do some caching too but the FPS seems fine on my slow computer so I didn't bother.

If you later revisit this code, yes, please split logic into functions and reduce the nesting.
You will notice that a lot of values are carried between calls and those represent state of this logic flow and maybe deserve their own storage class or struct. The resulting code will be simpler and that is good.

There's another performance hit with speed limits -- and maybe other tools, haven't checked -- in that to facilitate user being able to 'drag a speed' along a series of segments... this: #388 (not relevant to this PR but something to consider for future performance tuning)

Need to do some more testing on this; found some issues with parking lane higlight in other PR and need to see if issues also apply to speed limits.

Retested, only one minor issue found - if two signs hovered at same time, only one lane is highlighting (yet both lanes would be updated if I clicked):

improved highlighting of segment side:

@aubergine10 If two icons hovered at same time, please highlight all affected lanes not just lanes for one icon.

this is more like a bug (you view it as a trick). In any case I increased the distance of the sprites so they do not overlap any more.

I'd suggest Reset instead of Clear ("Clear" is a bit ambiguous; might give impression the speed limit is being removed rather than reset to whatever its default is).

Do not bake keys into translation strings on Crowdin, just do + "[Del]" for now and i can deal with it later.

@aubergine10 !  I renamed clear to to default. The screenshot are a commit too old.

@kvakvs Do not bake keys into translation

Of course . if you look at the code you will notice its not part of the translation.

Is there a way to constrain the highlight to where the lanes are - currently it goes over pavement and sometimes cuts in to other side of road too:

Sometimes it looks a bit weird, eg. when apply to whole road and there's a corner in the road:

2-lane 1-way road, only half road highligted (direction mode):

@kianzarrin Did you get chance to update the direction-mode lane highlights? Everything else in this PR is good to go.

I restored the old lane highlighting method.
On bend nodes I am either going to get this (currently this is what we get):

or this:

Unless if I do some super clever stuff which is a can of worms I do not want to open right now.

I tested this on LHT with invert flag on and off and both directions of start/end nodes.

For the corners, I prefer the gap rather than the weird overlap.

Wrong translation key on the reset button in speed palette?

Other than that, looks good.

Crowdin translations are in and i changed Checkbox:Default to Button:Default


DW-2-Wi-fi don't show the change of state on HA

I installed the add-on and all my sonoff devices worked well, except my DW-2-Wi-fi sensor.
Right after I synchronized it (with my Eyelink account) it worked well. However, when I stay some hours without open/close my door, HA can't see the change of state anymore.
But it still works on Ewelink app (it changes the state normally there). So, I think the problem is on the add-on.
Can you help me?

It is recommended that you upgrade to the latest version of addon.
If you have any more questions, please reopen this issues. Thank you for your reply.


NameError: name 'MPI' is not defined

my mpi is ok
when i input mpirun -n 4 python3 owntest.py
i get My rank is  0
My rank is  1
My rank is  2
My rank is  3
but when i run  :python demo_som.py
get:
File "/home/randywang/anaconda3/envs/som2/lib/python3.10/site-packages/seem/utils/distributed.py", line 61, in init_distributed
apply_distributed(opt)
File "/home/randywang/anaconda3/envs/som2/lib/python3.10/site-packages/seem/utils/distributed.py", line 20, in apply_distributed
master_address = MPI.COMM_WORLD.bcast(master_address, root=0)
NameError: name 'MPI' is not defined

Related: https://github.com/microsoft/SoM/issues/12#issuecomment-1930432657
Try:
pip install git+https://github.com/UX-Decoder/Segment-Everything-Everywhere-All-At-Once.git@33f2c898fdc8d7c95dda014a4b9ebe4e413dbb2b

pip install mpi4py


Fix compilation of Subprocess::communicate_utf8_async_trampoline() on…

… ARM or other architectures with unsigned C chars
error[E0277]: the trait bound std::string::String: glib::translate::ToGlibPtr<'_, *mut i8> is not satisfied
--> vendor/gio/src/subprocess.rs:40:35
|
40 |         let stdin_buf = stdin_buf.to_glib_full();
|                                   ^^^^^^^^^^^^ the trait glib::translate::ToGlibPtr<'_, *mut i8> is not implemented for std::string::String
|
= help: the following implementations were found:
<std::string::String as glib::translate::ToGlibPtr<'a, *mut u8>>
<std::string::String as glib::translate::ToGlibPtr<'a, *const u8>>
= note: required because of the requirements on the impl of glib::translate::ToGlibPtr<'_, *mut i8> for std::option::Option<std::string::String>
error[E0308]: mismatched types
--> vendor/gio/src/subprocess.rs:57:77
|
57 |             ffi::g_subprocess_communicate_utf8_async(self.to_glib_none().0, stdin_buf, cancellable.0, Some(callback), Box::into_raw(user_data) as *mut _);
|                                                                             ^^^^^^^^^ expected u8, found i8
|
= note: expected type *const u8
found type *mut i8

@sdroege Thanks, 👍
@GuillaumeGomez There again network failure in one job

Thanks! (no need to restart CI)


Update handling data types in Python

Before submitting
Please complete the following checklist when submitting a PR:

[x] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[x] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[x] Ensure that the test suite passes, by running make test.

[ ] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[x] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context: With recent change in PennyLane, default.qubit which is the parent class of lightning.qubit, now accepts datatypes for a statevector. This PR updates lightning.qubit device to utilize this new feature.

Codecov reports failure as some lines are removed (thus decreasing covered in covered/(covered+not covered)).


Fixing port related description

This tutorial has a step to use randomly generated port number but it was not mentioned that it can be different when the user tries this example. so to remove ambiguity, I have added a proper description. This pull request closes issue #16810

Closing due to invalid commit description. I will raise a new one with proper description


migrate to swift 3

Thanks for your great swiftydb framework, and, have your ever planned to migrate to swift3?

Version 2.0 is planned to be released with Swift 3.0.

@Oyvindkg When does the version 2.0 release? Thank you for your support!

As soon as possible! It needs at least better test coverage, and preferably support for Carthage and SPM. And TinySQLite needs to be converted to Swift 3.0

I'd love to see this working in Swift 3

Do u have a branch or another way use swiftydb in swift 3 ?

Sorry for the absence. The past few months have been crazy juggeling work at a startup (https://flowmotion.one) and finishing my masters degree. I really hope to be able to complete v2.0 for Swift 3 as soon as possible, but I at this point I cannot give you a date.

Hello. With new Xcode 8.3 there are errors with old Swift. Any news about updating?

I have revised the 2.0 implementation and interface. It has been on a diet, and the structure and interfaces have been simplified. If you are interested, have a look at the README and tell me what you think. As soon as the test coverage is improved, and the interfaces are done, I'll push a new release.
Feel free to play around with the ´dev´ branch. It is a major improvement to the original SwiftyDB in both implementation and usability.

@Oyvindkg can I start using from Dev Branch ?


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


It will not be restored after sliding.

Swipeout drag will affect the layout of the control on the swipeout, causing the subspaces on the swipeout to shift to the left.
"react": "16.3.1",
"react-native": "0.55.4",
"react-navigation": "^1.1.2",
"react-navigation-redux-helpers": "^1.0.6",
"react-redux": "^5.0.7",
"redux": "^4.0.0"

I got the same issue when I tried to use this lib. Here is my code:
`render() {
const swipeSetting = {
autoClose: true,
onClose: (secId, rowId, direction) => {
},
onOpen: (secId, rowId, direction) => {
},
right: [
{
onPress: () => {
                },
                text: 'Delete',type: 'delete'
            }
        ],
        rowId: this.props.item.index,
        sectionId:1
    };
    return (
        <Swipeout {...swipeSetting}>
            <View style={{}}>
                <View style={{
                    flex: 1,
                    backgroundColor: 'mediumseagreen',
                    flexDirection: 'row'
                    }}>
                    <Image style={{width:100, height:100, margin: 5}} source={{uri:this.props.item.imageURL}} />
                    <View style={{flex: 1, flexDirection:'column'}}>
                        <Text style={styles.flatListItem}>{this.props.item.name}</Text>
                        <Text style={styles.flatListItem}>{this.props.item.foodDescription}</Text>
                    </View>

                </View>
                <View style={{
                    height: 1,
                    backgroundColor: '#dadada'
                }}
                ></View>
            </View>
        </Swipeout>
    );
}`

And style is:
const styles = StyleSheet.create({     flatListItem: {         color: 'white',         padding: 10,         fontSize: 16     } });
Please show me what was wrong... Thanks so much!

I have the same problem, please tell me the answer

same here, cards wont go back to first position (some margin left on right)

Possible duplicate of #267

I have the same issue in iPhone

try instead of
<Swipeout {...swipeSetting}>
                <View style={{}}>
                   ...
                </View>
</Swipeout>

<Swipeout {...swipeSetting}>
                <TouchableWithoutFeedback style={{}}>
                   ...
                </TouchableWithoutFeedback>
</Swipeout>

update react-native v0.56.0-rc or returning to 0.54.4 fixes the problem.

npm install --save<EMAIL_ADDRESS>

Release 2.3.6 fixed this issue

It still appears on 2.3.6


increasing the time limit tolerance to running the test

as the suggestion of the author, i increased the time limit max to 10x (590), so when the test running it would accept wider range of test time in case of the test consuming longer time.

Looks good to me! Thanks for your contribution 😄

Thanks a lot for helping me do my first ever PR 😄


ESP32-C3-DevKitC-02 with DHT20

The ESP32-C3-DevKitC-02 doesn't have dedicated I2C.  I was hoping to use the DHT20 with it - using the example code DHT20_test_esp.ino.
I wired it all up and selected 2 GPIO pins, including updating that in the code. The only line I changed was:
Wire1.begin(20, 21);  //  select your pin numbers here
The output is not good!
07:56:28.615 -> Type,	Status,	Humidity (%),	Temperature (C)
07:56:28.615 -> DHT20, 	Read time out0.0,	0.0
07:56:31.606 -> DHT20,

Any advice?  I really want/need to get these sensors working on the ESP32-C3-DevKitC-02.  I am proficient in using ESP32 on the Arduino IDE, but I don't have the experience necessary to do a lot more than standard troubleshooting... More on the ESP32-C3-DevKitC-02 is here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/hw-reference/esp32c3/user-guide-devkitc-02.html

Thanks for the issue,
As I am rather busy I will look into this asap, it might even be next week.

thanks for the quick reply.  and big time thanks for all of your work on this library.  fingers crossed that this one is an easy issue to resolve  - e.g., perhaps just a small thing I am doing wrong.

After first making sure my DHT20 works with an Uno (With the DHT20.ino example file), I just tried what I ALWAYS tell my students not to try. I tried putting the SDA and SCL pins in every GPIO pair on the ESP32.  One nice thing about the DTH20.ino file is it keeps reading every second .... so I can keep trying different pairs. Seeing reading after reading of 0.0, I was about to give up.  But then I tried GPIO 8 and GPIO9 and they worked!
More specifically,
DHT20 SDA pin - connect to ESP32-C3-DevKitC-02 GPIO8
DHT20 SCL pin -connect to ESP32-C3-DevKitC-02 GPIO9
This is my breathing on the sensor to see if is working:
09:09:00.014 -> DHT20 	58.6		19.9		44894		OK
09:09:01.046 -> DHT20 	70.2		20.2		44889		OK
09:09:02.130 -> DHT20 	77.2		20.2		44887		OK
09:09:03.138 -> DHT20 	81.1		20.2		44893		OK
09:09:04.179 -> DHT20 	82.8		20.2		44888		OK
09:09:05.215 -> DHT20 	85.9		20.6		44893		OK
09:09:06.263 -> DHT20 	98.9		22.6		44888		OK
09:09:07.286 -> DHT20 	100.0		23.7		44893		OK

I'd be interested in knowing what you think is the reason why these two pins worked... if you have any such insights. It seems like it must be that these pins are the "strapping pins" for the board... but I'm not totally sure what that means/how it relates to I2C.

(Image from https://mischianti.org/esp32-c3-devkitc-02-high-resolution-pinout-and-specs/ )
Apparently if you search a bit you get mixed info about I2C on the ES32-C3.
Many state it has no I2C, but this site says it has and the good news is that they match your findings.
e.g. https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/hw-reference/esp32c3/user-guide-devkitc-02.html
States no I2C.
So it might be that in a first release they did not support I2C (properly) and that it was added in a next release.
These things happen also for my libraries, sort of organic growth, evolution (and some times revolution).
And documentation is often lagging behind .

BTW found these by googling: +ESP32-C3 +pinout

I had in fact seen both referenced pages - I just trusted the official espressif one more... so it goes!    And the mischianti page alslo has the following lines, which admittedly scared me away from thinking

issues closed!  Thanks!  I hope others find this information helpful!


Add on won't start after update to HA 2024.12.4

Checklist

[X] I have updated to the latest available Proxmox VE Custom Integration version, see the latest version here.

Describe the issue you are experiencing
After updating to HA 2024.12.4, this integration fails to set up.
In which version of Home Assistant Core do you have the problem?
2024.12.4
What version of Proxmox VE Custom Integration has the issue?
3.5.2
What version of Proxmox VE do you have the problem?
7.4
Logs file
Logger: homeassistant.config_entries
Source: config_entries.py:640
First occurred: 8:22:20 AM (8 occurrences)
Last logged: 8:49:22 AM
Error setting up entry <IP_ADDRESS>:8006 for proxmoxve
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/proxmoxve/init.py", line 349, in async_setup_entry
token_name = entry_data[CONF_TOKEN_NAME]
~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'token_name'
Diagnostics file
No Option for diagnostic file from dropdown.
Additional information
No response

Issue can be closed, found solution here:
https://github.com/dougiteixeira/proxmoxve/issues/363#issuecomment-2506657664


Add link to the wallet's official repo

Hey there, cool project you got here! I'll definitely put up some PRs.
Can we consider adding the column (on the UI) to show whether a wallet is opensource and the URL to its repo?
(edit: ok there is a label for "open source", I didn't see that lol)

Hey, great suggestion @kien-ngo - will add a link to each GitHub where the license type is. Looking forward to the PRs! :)

Hi @mozrt2 I think for this issue we can add the git(hub/lab) organization page. Because there might be multiple repo for each platform:

for mobile they might have 2 separate repo for android & ios
for browser they might have diff repos for chromium, firefox (I saw one has an extension for the upcoming Arc browser too!)

So inititally, we can just add the organization page, for example: https://github.com/zeriontech

Yes, that makes sense @kien-ngo - I like the approach :) Thanks for all the contributions, really appreciate it!

Ty ser I'll put up some PRs this weekend


zearn hack no work

it reloads but nothing happen i can send video footage and output commands for it

dosent work need updated script soon plz

i will try

.

is there a new one yet


tour: [REPLACE WITH SHORT DESCRIPTION]

Context: https://tour.golang.org/basics/9
Change the title above to describe your issue and add your feedback here, including code if necessary

@abbot input

@toothrot =

This is an empty issue, closing. Please fill the description if you have an issue to report.


Fix update-version command references

We should strip out the -build number out of builds in compose and elsewhere that we reference images
Discussed in #442

Closing for now


Custom resources seem broken (at least for Lambda)

I'm defining a lambda in this manner:
vpc_config = t.add_resource(awslambda.VPCConfig(
    "LambdaVpcConf",
    SecurityGroupIds=["sg-123456"],
    SubnetIds=["subnet-123456"]
))

code = t.add_resource(awslambda.Code(
    "Code",
    S3Bucket='my-config',
    S3Key='lambda-0.4.jar'
))

dataloader = t.add_resource(awslambda.Function(
    "TheLambda",
    Code=tr.Ref(code),
    FunctionName="MyLambda",
    Handler="example.Main::handleRequest",
    MemorySize="256",
    Role="arn:aws:iam::123456:role/kinesis-lambda-role",
    Runtime="java8",
    VpcConfig=tr.Ref(vpc_config)
))

However, I was getting validation errors straight from CloudFormations that first S3Bucket was invalid, and when I plain pasted the Code map into TheLambda.Code it worked. Then I had the same issue with SecurityGroupIds.
TL;DR
I basically had to manually paste the custom resource bits into their respective places in the AWS::Lambda::Function resource.

Actually, I think I solved this. Was just a misunderstanding of the intent of the code:
https://github.com/cloudtools/troposphere/blob/master/tests/test_awslambda.py#L12


Trev8939/read symbols mobile style file

Thanks for sorting out 90% of this sample. Can you review the changes I've made? Last 100.5 sample! Thanks @LDuncAndroid

Thanks for catching that @LDuncAndroid - There were many UI interactions I was not catching in case of READ permission not being accepted. Fixes in now.


d3js : Insert and append can take functions returning a DOM element

This is specified in the d3 documentation :

append : https://github.com/mbostock/d3/wiki/Selections#append
insert : https://github.com/mbostock/d3/wiki/Selections#insert

Also visible in the code : https://github.com/mbostock/d3/blob/master/d3.js#L802 and https://github.com/mbostock/d3/blob/master/d3.js#L818

@GMouron thanks mate!


Use \s for WHITESPACE_TOKEN

Current WHITESPACE_TOKEN does not cover all unicode whitespaces.

@ryo33
I found that this change introduced a subtle error, when turning %auto_newline_off.
In this case automatic white space matching is still active and consumes all newline characters the user would like to handle by himself.
What we actually need here is \s without newline characters.

This regex finally worked:
[\s--\r\n]+
Can you please confirm?

@jsinger67 seems nice!


Ad Playback does not continue after clicking 'Learn more'-Button

The ad playback is paused when clicking the 'Learn more'-Button, but the playback is not automatically continued when coming back to the app and the controls are hidden. The user can not react to anything and have to restart this or a new video.

Any update on this issue?

I did it myself. for now you have to put some of your own logics. GMF is just a ad request response platform. You have to implement your own logic of your needs.


Fix response object in GetMarketsCandles

The /api/markets/{0}/candles endpoint returns a Candle-response, not Market-response.
Ref https://docs.ftx.com/#get-historical-prices

Nice fix. Thank you!


fix/rp-json-issue

Codecov Report

Merging #141 (1cc241e) into main (1525421) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #141   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          1       1
  Lines        122     122
=====================================
  Misses       122     122

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Oops, sorry!


perf: possible mem leak in v8.serialize()

Issue raised by Pianity.
In some environments the rss memory usage grows to very large values (it does not happen on my M1 though).
This is probably related to https://github.com/nodejs/node/issues/40828
Removing the v8's serialization (https://github.com/redstone-finance/redstone-smartcontracts/pull/84/files#diff-5acab41990585fa68ae01ff7b2e2915628d19237840c3061b31fcadc1c0f09b8) fixed the memory leak issues, but at a cost of performance - therefore a better solution needs to be developed.

switch to https://developer.mozilla.org/en-US/docs/Web/API/structuredClone when it will be implemented by most of the browsers.

👍🏻 Subscribing

Performance comparison ("state evaluation" column) for "loot" contract:

@ungap/structured-clone

v8.deserialize(v8.serialize(input))

lodash/cloneDeep

Maybe I'm not reading the bench correctly, but isn't lodash more performant than ungap here?

Maybe I'm not reading the bench correctly, but isn't lodash more performant than ungap here?

You're reading the bench correctly ;-) lodash indeed is more performant than ungap and v8. Though I believe that for "bigger" states - v8 was the winner. Anyway, I'll stick with lodash for now...

Just a word of comment if anyone was interested - deepCopy-ing of the state is required for each interaction - before the state is passed to the contract's handler function. Contracts usually modify the state directly and without deepCopy - there would be risk of changing values somewhere in the host code (eg. values stored in cache).
v1 performed here simple stringify/parse https://github.com/ArweaveTeam/SmartWeave/blame/master/src/contract-step.ts#L56 - which obv. is least performant.
This won't be an issue in case of WASM contract - which store their state in the wasm module memory.

fixed in https://github.com/redstone-finance/redstone-smartcontracts/pull/108, released in 0.4.36

Ah ok, I was confused with the commits being referenced using ungap, but they were probably old
🎉 Will try this


[Event Hubs] Feedback from service team

Changes need to be done for the latest feedback from Service Team:

Consumer group and event position should not be optional when creating receiver
Naming changes
EventSender -> EventHubProducer
EventReceiver -> EventHubConsumer
EventSenderOptions -> EventHubProducerOptions
EventReceiverOptions -> EventHubConsumerOptions
createSender -> createProducer
createReceiver -> createConsumer
exclusiveReceiverPriority -> ownerLevel

The first point above is done with #3929
The naming changes are done with #3931


Add example with attachment for CareCommunication

Add an example concerning, how an attachment would be included in a CareCommunication message.

@MedComAnders - in the commit, the example is included. It is possible to build the example/IG (see fsh-generated -> resource folder), however the attachment is not included when viewing the example/IG online. Will you help fixing it?


Export not including page parameters

If I have already filtered my grid data using page parameters (as per below) then how can I have the getExportUrl use these settings and include them in the call to the AXD? It looks as though the export Url function needs to be updated with all of the current page parameters and their values.
         @Html.MVCGrid(ViewData["GridName"].ToString(), new {
               Region = Model.Name,
               Province = Model.City,
               City = Model.Zip
            }
        )

        $(function () {
            $('#exportButton').click(function () {
                location.href = MVCGrid.getExportUrl('GlobalExportGrid');
            });
        });

Hi. Is there any chance this could be corrected?

Hi smillerk2,
I see the problem now. I am going to need to think of the best way to handle this. There may be a workaround where you could use AdditionalQueryOptions instead. Can you tell me more about your situation?
Thanks,
Joe

Hi,
The issue is that if I filter the grid using a FORM POST and then try and export the grid's content, the pp_ parameters (as represented in pageParameters) are not passed to the handler. I believe the fix required would be something like:
// public
    this.getExportUrl = function (mvcGridName) {
        var gridDef = findGridDef(mvcGridName);

        var exportUrl = handlerPath + location.search;
        exportUrl = updateURLParameter(exportUrl, 'engine', 'export');
        exportUrl = updateURLParameter(exportUrl, 'Name', mvcGridName);

        //POSSIBLE CHANGE - added to ensure export includes filtered parameters
        $.each(gridDef.pageParameters, function (k, v) {
            var thisPP = "_pp_" + gridDef.qsPrefix + k;
            exportUrl = updateURLParameter(exportUrl, thisPP, v);
        });

        return exportUrl;
    };

Hi,
So this actually was the intent of page parameters.  Their purpose was to be able to pass static data one time on page load.  The use case for this is if you are displaying data for a parent ID and need to get the parent ID into the grid at page load.  That's not something that would change as the user interacts with the page.
I added some additional info about AdditionalQueryOptions. Can you read this and see if it would accomplish what you are trying to do?
http://mvcgrid.net/demo/AdditionalQueryOptions
Thanks,
Joe

Hi Joe,
I don't think that will work because then I am simply duplicating my page parameter names as part of AdditionalQueryOptions. Let me give you an example that hopefully describes the scenario:
First, the MVCGrid is initialized in the view with explicit page parameters. The values in Model.Criteria come from dropdowns within a FORM so are available to the MVCGrid upon postback:
@Html.MVCGrid(ViewData["GridName"].ToString(), new {
                                    Region = Model.Criteria.Region.Coalesce(""),
                                    Province = Model.Criteria.Province.Coalesce(""),
                                    City = Model.Criteria.City.Coalesce("")
})

My MVCGrid definition looks like this:
.WithPageParameterNames(new string[] { "Region", "Province", "City" })
.WithAdditionalQueryOptionNames("Search")

My WithRetrieveDataMethod is:
SearchCriteria crit = new SearchCriteria
            {
                Region = options.GetPageParameterString("Region"),
                Province = options.GetPageParameterString("Province"),
                City = options.GetPageParameterString("City")
            };

var options = ctx.QueryOptions;
string globalSearch = options.GetAdditionalQueryOptionString("Search");
var items = repo.GetData(crit);
items = items.Where(a => a.Name.StartsWith(globalSearch.Coalesce(a.Name), StringComparison.InvariantCultureIgnoreCase));

return new QueryResult<SearchRecord>()
            {
                Items = options.SortDirection== SortDirection.Dsc ? items.Skip(limit).Take(limitRow).Reverse() : items.Skip(limit).Take(limitRow)
            };

Using the export link causes all the pageParameters to be lost:
<script type="text/javascript">
        $(function () {
            $('#exportButton').click(function () {
                location.href = MVCGrid.getExportUrl('GlobalSearchGrid');
            });
        });
    </script>

I'm not sure how best to change the code to accommodate AdditionalQueryOptions without duplicating the PageParameterNames. All I'm trying to achieve is an export but preserving the values that were initially sent into the MVCGrid.
Thanks for your assistance.

smillerk2,
This has been fixed. Nuget package updated.
Thanks,
Joe

Confirmed in <IP_ADDRESS>. Thanks Joe.