Fixes hacks from progressreader refactor

related to #10959
Signed-off-by: bobby abbott<EMAIL_ADDRESS>

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "10959-refactor-progressreader-hack" git@github.com:robertabbott/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

This will update the existing PR, so you do not need to open a new one.

@robertabbott Something wrong with your sing. Did you sign with git commit -s?

@LK4D4 Apparently not. I will fix the commit message this evening. Sorry about that.

Thanks for handling the cleanup! For reviewers that didn't see the prior PR (noted above), this resolves a hack that had to go in after only moving related content (the progressreader portion) from docker/util to pkg.
LGTM

fixed some merge conflicts. Can you guys check this out again @estesp @crosbymichael

@robertabbott Thank you! Very impressive work.

LGTM


Refactor in-object-literal to array-includes

Previously, if we wanted to test if A was either 'B' or 'C', we would use
the pattern:
A in {B:1, C:1}

I actually don't know how common this pattern is; I just started using
it because I was tired of typing A === 'B' || A === 'C' all the time.
I never really liked it, though; the :1 part made it kind of
blatantly a hack.
I did some testing and ['B', 'C'].includes(A) is overall faster.
(A switch statement is around 20x faster still, but who wants to type
that much code?)
Anyway, the new standard is
['B', 'C'].includes(A)

Something something progress!

This is a pull request just so everyone knows to use the array-includes syntax from now on.

The reverse order kind of sucks (it reads like a Yoda-expression) but overall I think this is more readable.


Bluetooth: split: 'e' assert during disconnect

Describe the bug
When using the Split LL with Zephyr we occasionally observe crashes during different operations on master or slave side. Upon closer observation it looks like these asserts happen after a disconnect packet was sent. Reducing the maximum number of supported connecations does not fix this. Switching back to the legacy LL resolves this.
To Reproduce
Our ZTests connect to a peripheral and typically perform a couple of actions (e.g. GATT ops, pairing, L2CAP etc.). Then we disconnect and run the next test. I haven't found one specific test that always fails as the asserts appear to be happen randomly.
Expected behavior
The stack should not crash.
 Zephyr SDK 0.10.3
Commit SHA or Version used: 2051ad1

Additional context

@paulgavrikov please verify using #19469.

@cvinayak yes, that works. I see a bunch of "D: " logs now but not asserts. Thanks!


Trying to install it on windows I get the error: "No module named 'aqt.version'"

Hi,
First of all I apologise, I think my problem is simply because I don't know how to use aqtinstall properly. I am trying to install it on windows. I just download aqt.exe and when I try to execute aqt in windows a get a error, any call to aqt gives the same error  (aqt help or aqt list-qt windows desktop).
Thanks in advance
C:\Users\Daniel\Downloads>aqt help
Traceback (most recent call last):
  File "daa144671dcb11ed_aqt.py", line 33, in <module>
  File "daa144671dcb11ed_aqt.py", line 25, in importlib_load_entry_point
  File "importlib\metadata.py", line 86, in load
  File "importlib\__init__.py", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "aqt\__init__.py", line 31, in <module>
ModuleNotFoundError: No module named 'aqt.version'
[11040] Failed to execute script 'daa144671dcb11ed_aqt' due to unhandled exception!

@dgonzalezt could you try older version of aqt.exe?
A build system for aqt.exe is broken in v2.2.2. It may fixed in v2.2.3, but may have defeat.
v2.2.1 seems working.

Yes!!! V2.2.1 seems to works,
thank you!.

When building aqt.exe
pyproject.toml is disabled in https://github.com/miurahr/aqtinstall/commit/f06707b37f45532f20353f7930bd6d5f8dc8658d
It is also disabled that generate version.py which carry version information, that is described only in pyproject.toml
@nikitalita is it a correct investigation?

A previous version of setup.py contains:
setup(
    use_scm_version={
        "write_to": "aqt/version.py",
        "write_to_template": '__version__ = "{version}"\n',
        "tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
        "local_scheme": "no-local-version",
    }
)

@nikitalita could you update build script of aqt.exe to change setup.py containing a block?

ref https://github.com/miurahr/aqtinstall/pull/557

A previous version of setup.py contains:
setup(
    use_scm_version={
        "write_to": "aqt/version.py",
        "write_to_template": '__version__ = "{version}"\n',
        "tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
        "local_scheme": "no-local-version",
    }
)

@nikitalita could you update build_standalone.bat to change setup.py containing a block?

can't, slammed right now.

A CI test passed so there may be a work around for it.
Is it possible to be two phase build?

After investigation of gravitygee and pyppyn code and understanding its legacy behaviors,  propose #565 that cheat gravitygee and pyppyn with pseudo launcher script.
The root cause is modern PIP with pyproject.toml does not generate launcher script any more. It produce only an app.exe file.
This is true reason why standalone build on v2.2.2 failed.
@nikitalita could you review or confirm #565 ?


The Tourist Trap

Freeing Ana
The final step does not properly highlight Irena and instead points to a cactus.
It may also be helpful to highlight the mine cart once you have talked to the Mine Cart Driver successfully.

I can't see why it would point to a cactus, nor replicate it myself. If anyone happens to have an image of this or further details I can look into this more.

I will prioritize this on my next account; it should be expected to be in about a month or two.


engine -> framework rolls blocked on failing web tests

See https://github.com/flutter/flutter/pull/76169
From web_e2e_test: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8855091937959594400/+/steps/prepare_environment/0/steps/Web_e2e_tests/0/steps/web_e2e_test/0/stdout?format=raw
Running "flutter pub get" in web_e2e_tests...                    1,363ms
Launching test_driver/text_editing_integration.dart on Web Server in debug mode...
Waiting for connection from debug service on Web Server...         28.6s
test_driver/text_editing_integration.dart is being served at http://localhost:38357
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved development workflow.
Application finished.
Failure Details:
Failure in method: Focused text field creates a native input element
â•â•â•¡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK â•žâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
The following message was thrown:
Multiple exceptions (23) were detected during the running of the
current test, and at least one was unexpected.

But see also:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8855091906176725072/+/steps/run_test.dart_for_web_long_running_tests_shard_and_subshard_1_3/0/stdout?format=raw
I suspect the buildroot roll in that roll is unrelated, which indicates https://github.com/flutter/engine/pull/24249 might have introduced the issue.
/cc @hterkelsen @yjbanov

This is still waiting on a successful engine -> framework roll to confirm that it is fixed.

@zanderso FYI the web integration tests already passed in the new roll (https://github.com/flutter/flutter/pull/76314).


Error compiling with GnatStudio

Hi All,
I wanted to use this package to port my Vex Robotics Cortex-M3 controller but I am having a build issue with it as shown below

the issues are with the [ ]  in Step  => [(L_1 => 0, L_2 => 0, L_3 => 0, L_4 => 0, L_5 => 0, L_6 => 0)] being seen as illegal characters
Please help
God blesses!!!
Regards

Hello,
'[' is new syntax for array initialization in Ada 2022. You need to have recent enough compiler (I've developed code with FSF GCC 13.2 from Alire) and define -gnat2022 compiler switch or add pragma Ada_2022; line at the beginning of the file.
Also, phoenyx.gpr is not intended to be used to build projects, it allows to open all sources of the project and edit/navigate in the source code. You need to use individual project files from gnat subdirectory to build particular component (binary file for Arduino Due is build by gnat/arduino.gpr, native examples and tests by gnat/examples.gpr).

Hi,
Many thanks for the feedback and pointers.
I will follow your direction to things done.
Once again, many thanks!
God blesses!!!
Regards


XML Tags - I/O - AlignmentExtensions.CreateAlignmentByPolyline

v1.1.15
The "name" input port has some spelling errors.
Current: "The Alignment name. If the names is alredy used it returns the existing Alignment."
Proposed: "...name is already..."

Fixed in 1.1.17


update readme for subcommands

Cleanup-request
Description
The new sub-commands are missing in the readme-file, because I was too fast and had forgot it.

not relevant anymore because of issue #17


ocelot + consul load balancing recovery service api problem

I use ocelot + consul service discovery, when the same service api configuration two consul server node, the load balancing can work normally, when a service exits, ocelot can no longer request the correct exit service api, but when this service is back to normal, how can we allow the load balance to access this service API again？

Hi @axzxs2001, thank you for your interest in the project.
I do not fully understand the issue. Would it be possible to write a failing test showing the problem? Ocelot already has the infrastructure in place to write tests around the consul load balancing.
If not please provide more detail and I will try and work it out!

thank you, in configuration.json ,I change "LoadBalancer" to  "RoundRobin" is ok.

Re-opening because I would like to look into this more


Promote use of Inheritance Inversion High Order Components

This wraps the CustomComponent in the BaseComponent.
HigherOrderComponentFactory = (BaseComponent, CustomComponent) => {
  const WrappedComponent = ({ children, …props }) => <BaseComponent {…props}><CustomComponent {…props}>{children}</CustomComponent></BaseComponent>;
  WrappedComponent.propTypes = Object.assign({}, BaseComponent.propTypes, CustomComponent.propTypes);
  WrappedComponent.displayName = BaseComponent.displayName;
  return WrappedComponent;
};

const DataTableCellHigherOrderComponent = (CustomComponent) => HigherOrderComponentFactory(DataTableCell, CustomComponent);};

HigherOrderComponentFactory would be a utility that could be imported to sync displaynames as needed without folks needing to use the correct displayName when creating custom components (a custom data cell in this example).
You are pretty much doing this except you don't have to fool with the displayName:
const CustomDataTableCell = ({ children, ...props }) => (
  <DataTableCell {...props} >
    {children}
  </DataTableCell>
  );
CustomDataTableCell.displayName = DataTableCell.displayName;

This could also be used to provide controlled components wrapped in uncontrolled components, too.
More in-depth explanation:
<EMAIL_ADDRESS>

Removing from issues and making note in internal architecture/refactor issues list.


Add base layer validation scenario

Capturing the discussion for adding a base layer signature validation scenario:
https://github.com/notaryproject/requirements/pull/1#discussion_r366002239

Assigning to the backlog as I don't see us getting to this for a while.


Installation issue on Mac

Describe the bug
I come across the error below, when I try to install compas_fab with compas 2 with Rhino 8 on Mac. We solved this issue on Windows by installing Microsoft Build Tools for Visual Studio, however not sure how to proceed in Mac.
To Reproduce
Steps to reproduce the behavior:

I set up a conda environment with:

(base)  conda create -n conda_env -c conda-forge compas_fab
(base)  conda activate conda_env

I successfully installed compas_fab with:

(conda_env) python -m compas_fab
Yay! COMPAS FAB is installed correctly!

Then I try to install compas_fab on Rhino by running this line on terminal:

(conda_env) /Users/username/.rhinocode/py39-rh8/python3.9 -m pip install compas_fab

See error:

Collecting compas_fab
  Using cached compas_fab-1.0.2-py2.py3-none-any.whl.metadata (5.3 kB)
Requirement already satisfied: compas<3,>=2.0.4 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas_fab) (2.0.4)
Collecting compas-robots<1,>=0.3 (from compas_fab)
  Using cached compas_robots-0.3.0-py2.py3-none-any.whl.metadata (2.7 kB)
Requirement already satisfied: roslibpy>=1.1.0 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas_fab) (1.6.0)
Collecting pybullet (from compas_fab)
  Using cached pybullet-3.2.6.tar.gz (80.5 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pyserial in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas_fab) (3.5)
Requirement already satisfied: jsonschema in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas<3,>=2.0.4->compas_fab) (4.21.1)
Requirement already satisfied: networkx>=3.0 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas<3,>=2.0.4->compas_fab) (3.2.1)
Requirement already satisfied: numpy>=1.15.4 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas<3,>=2.0.4->compas_fab) (1.26.4)
Requirement already satisfied: scipy>=1.1 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas<3,>=2.0.4->compas_fab) (1.12.0)
Requirement already satisfied: typing-extensions in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas<3,>=2.0.4->compas_fab) (4.10.0)
Requirement already satisfied: watchdog in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from compas<3,>=2.0.4->compas_fab) (4.0.0)
Requirement already satisfied: autobahn>=17.10 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from roslibpy>=1.1.0->compas_fab) (23.6.2)
Requirement already satisfied: twisted>=17.9 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (23.10.0)
Requirement already satisfied: txaio>=21.2.1 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from autobahn>=17.10->roslibpy>=1.1.0->compas_fab) (23.1.1)
Requirement already satisfied: cryptography>=3.4.6 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from autobahn>=17.10->roslibpy>=1.1.0->compas_fab) (42.0.5)
Requirement already satisfied: hyperlink>=21.0.0 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from autobahn>=17.10->roslibpy>=1.1.0->compas_fab) (21.0.0)
Requirement already satisfied: setuptools in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from autobahn>=17.10->roslibpy>=1.1.0->compas_fab) (58.1.0)
Requirement already satisfied: attrs>=21.3.0 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted>=17.9->twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (23.2.0)
Requirement already satisfied: automat>=0.8.0 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted>=17.9->twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (22.10.0)
Requirement already satisfied: constantly>=15.1 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted>=17.9->twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (23.10.4)
Requirement already satisfied: incremental>=22.10.0 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted>=17.9->twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (22.10.0)
Requirement already satisfied: zope-interface>=5 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted>=17.9->twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (6.2)
Requirement already satisfied: idna>=2.4 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (3.6)
Requirement already satisfied: pyopenssl>=21.0.0 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (24.0.0)
Requirement already satisfied: service-identity>=18.1.0 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (24.1.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from jsonschema->compas<3,>=2.0.4->compas_fab) (2023.12.1)
Requirement already satisfied: referencing>=0.28.4 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from jsonschema->compas<3,>=2.0.4->compas_fab) (0.33.0)
Requirement already satisfied: rpds-py>=0.7.1 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from jsonschema->compas<3,>=2.0.4->compas_fab) (0.18.0)
Requirement already satisfied: six in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from automat>=0.8.0->twisted>=17.9->twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (1.16.0)
Requirement already satisfied: cffi>=1.12 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from cryptography>=3.4.6->autobahn>=17.10->roslibpy>=1.1.0->compas_fab) (1.16.0)
Requirement already satisfied: pyasn1 in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from service-identity>=18.1.0->twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (0.5.1)
Requirement already satisfied: pyasn1-modules in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from service-identity>=18.1.0->twisted[tls]>=17.9->roslibpy>=1.1.0->compas_fab) (0.3.0)
Requirement already satisfied: pycparser in ./.rhinocode/py39-rh8/lib/python3.9/site-packages (from cffi>=1.12->cryptography>=3.4.6->autobahn>=17.10->roslibpy>=1.1.0->compas_fab) (2.21)
Using cached compas_fab-1.0.2-py2.py3-none-any.whl (5.0 MB)
Using cached compas_robots-0.3.0-py2.py3-none-any.whl (2.7 MB)
Building wheels for collected packages: pybullet
  Building wheel for pybullet (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pybullet (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [3622 lines of output]
      macosx-10.9-universal2
      numpy is disabled. getCameraImage maybe slower.
      darwin!
      found resource files: 3568
      ....
      packages
      ['pybullet_examples', 'pybullet_envs', 'pybullet_data', 'pybullet_robots', 'pybullet_utils', 'pybullet_envs.stable_baselines', 'pybullet_envs.minitaur', 'pybullet_envs.prediction', 'pybullet_envs.agents', 'pybullet_envs.deep_mimic', 'pybullet_envs.examples', 'pybullet_envs.bullet', 'pybullet_envs.baselines', 'pybullet_envs.minitaur.envs_v2', 'pybullet_envs.minitaur.agents', 'pybullet_envs.minitaur.vision', 'pybullet_envs.minitaur.actuatornet', 'pybullet_envs.minitaur.robots', 'pybullet_envs.minitaur.envs', 'pybullet_envs.minitaur.envs_v2.sensors', 'pybullet_envs.minitaur.envs_v2.scenes', 'pybullet_envs.minitaur.envs_v2.tasks', 'pybullet_envs.minitaur.envs_v2.utilities', 'pybullet_envs.minitaur.envs_v2.examples', 'pybullet_envs.minitaur.envs_v2.evaluation', 'pybullet_envs.minitaur.envs_v2.env_wrappers', 'pybullet_envs.minitaur.agents.baseline_controller', 'pybullet_envs.minitaur.agents.tools', 'pybullet_envs.minitaur.agents.scripts', 'pybullet_envs.minitaur.agents.ppo', 'pybullet_envs.minitaur.agents.trajectory_generator', 'pybullet_envs.minitaur.robots.safety', 'pybullet_envs.minitaur.robots.utilities', 'pybullet_envs.minitaur.robots.safety.python', 'pybullet_envs.minitaur.envs.env_randomizers', 'pybullet_envs.agents.tools', 'pybullet_envs.agents.ppo', 'pybullet_envs.deep_mimic.learning', 'pybullet_envs.deep_mimic.gym_env', 'pybullet_envs.deep_mimic.env', 'pybullet_envs.deep_mimic.learning.solvers', 'pybullet_envs.deep_mimic.learning.nets', 'pybullet_data.configs_v2', 'pybullet_data.testdata', 'pybullet_data.policies', 'pybullet_data.configs', 'pybullet_data.configs_v2.wrappers', 'pybullet_data.configs_v2.scenes', 'pybullet_data.configs_v2.tasks', 'pybullet_data.configs_v2.robots', 'pybullet_data.configs_v2.base', 'pybullet_data.testdata.test_imu_state_estimator', 'pybullet_data.policies.ppo', 'pybullet_data.policies.ppo.minitaur_reactive_env', 'pybullet_data.policies.ppo.minitaur_trotting_env', 'pybullet_robots.panda', 'pybullet_robots.xarm', 'pybullet_robots.laikago', 'pybullet_utils.examples']
      -----
      error: command '/usr/bin/gcc' failed with exit code 1
      xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
       ....
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pybullet
Failed to build pybullet
ERROR: Could not build wheels for pybullet, which is required to install pyproject.toml-based projects

Desktop (please complete the following information):

OS: Mac iOS
compas 2 with Rhino 8
Python package manager: pip, conda

@begums what kind of processor are you running? sometimes packages are available for macOs x86_64 but not arm64
perhaps using python 3.10 and using this conda package helps solve your issue.
using the latest version of python sometime conflicts with the availability of dependencies
https://anaconda.org/conda-forge/pybullet/files

The problem is that the cpython version is the one inside rhino, so it cannot be changed. Also, pip has no wheel for arm64 unfortunately, regardless of cpython version:

So, the only real option (besides trying fix the building step locally), would be to somehow install the wheel from conda, but this is not a conda environment. I need to look into this more in detail before I can provide a solution.

Ok, we can try something. It's a bit (a lot) hacky, but maybe will work for now:
/Users/username/.rhinocode/py39-rh8/python3.9 compas compas_robots roslibpy pyserial
/Users/username/.rhinocode/py39-rh8/python3.9 --no-deps compas_fab

If you run this, it will install first all the deps that compas_fab really needs except pybullet, and then install compas_fab without dependencies. Since pybullet is (should at least) be lazy loaded, I believe this will work if you're planning to use only ROS backend.
I did a quick test on my windows machine, and it seems to be able to import the ros client, which -i think- indicates that pybullet won't be imported unless explicitly used:

Let me know if this works!

Ok, we can try something. It's a bit (a lot) hacky, but maybe will work for now:
/Users/username/.rhinocode/py39-rh8/python3.9 -m pip install compas compas_robots roslibpy pyserial
/Users/username/.rhinocode/py39-rh8/python3.9 -m pip install --no-deps compas_fab

Yes, this method worked! I tested with a couple of our example files and seems like it works without a problem :) Thanks a lot!


getBlock & getBlockNumber produce odd results

I've got a loom test chain running on AWS (single node).
I can see it and make http calls to it at: http://<IP_ADDRESS>:46658/rpc.
Contracts are deployed on it, and I can change their state, but, I can't see it in the loom block explorer (separate issue, maybe). I can put the block explorer address into a browser and read the json, though.
What’s most odd is that the block height doesn’t seem to match reality. I see web3.eth.getBlockNumber() returning 2.2million, and both the block explorer json and the web3.eth.getBlock(‘latest’) giving 210k (210k is correct; it’s been running over the w/e
Also, getBlock doesn’t seem to return a proper “Block” obect - it has blockNumber, but no number
Further, the returned data from web3.eth.getBlock() is wrong; I get the following, not a proper Block object: {"blockNumber":"0x34fa2","transactionHash":"0xdee07e7f845caf52c76c0a30e762a03214455ee2","parentHash":"0x625965193b355527ed51550023694249768d091e","logsBloom":"0x","timestamp":1534198065,"transactions":[]}
The data does appear to be correct, just formatted incorrectly.

Thanks @paulbarclay we'll going to check

More oddness with getBlock: If you try a numerical getBlock in a block with a transaction, the getBlock fails with a BigNumber error (Something's undefined).
On that same server, the following calls might work or not:
loomWeb3.eth.getBlock(217777) > success
loomWeb3.eth.getBlock(217778) > fails
loomWeb3.eth.getBlock(217779) > success
Error log (we've added logging into loom_provider, so line numbers might not match):
Error: Error: [number-to-bn] while converting number undefined to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported. Given value: "undefined"
server_1  | [worker]     at Object.toBN (/srv/server/node_modules/web3-utils/src/utils.js:64:15)
server_1  | [worker]     at outputBigNumberFormatter (/srv/server/node_modules/web3-core-helpers/src/formatters.js:39:18)
server_1  | [worker]     at outputTransactionFormatter (/srv/server/node_modules/web3-core-helpers/src/formatters.js:176:19)
server_1  | [worker]     at /srv/server/node_modules/web3-core-helpers/src/formatters.js:251:24
server_1  | [worker]     at Array.forEach (<anonymous>)
server_1  | [worker]     at Method.outputBlockFormatter [as outputFormatter] (/srv/server/node_modules/web3-core-helpers/src/formatters.js:249:28)
server_1  | [worker]     at Method.formatOutput (/srv/server/node_modules/web3-core-method/src/index.js:163:54)
server_1  | [worker]     at sendTxCallback (/srv/server/node_modules/web3-core-method/src/index.js:476:33)
server_1  | [worker]     at /srv/server/node_modules/web3-core-requestmanager/src/index.js:147:9
server_1  | [worker]     at LoomProvider.<anonymous> (/srv/server/node_modules/loom-js/dist/loom-provider.js:250:25)
server_1  | [worker]     at step (/srv/server/node_modules/loom-js/dist/loom-provider.js:32:23)
server_1  | [worker]     at Object.f [as next] (/srv/server/node_modules/loom-js/dist/loom-provider.js:13:53)
server_1  | [worker]     at fulfilled (/srv/server/node_modules/loom-js/dist/loom-provider.js:4:58)
server_1  | [worker]     at <anonymous>
server_1  | [worker]     at process._tickCallback (internal/process/next_tick.js:188:7)

More info: getBlock(blockHash) can be called, but times out after 15s. It does show up in logs as calling eth_getBlockByHash, and there's an error http: proxy error: context canceled in the server logs. (note: you have to edit @types/web3 to allow hash strings).

This is happening to me too, and it appears to be kinda random. But I can't get the information of some certain blocks (on ext-dev & local networks).


Video capture

We'd like to capture video from ulubis.
How do we do this?
I've done some preliminary playing around with ffmpeg which appears to have the capabilities to record from KMS. I get a suggestion of adding capabilities (setcap?).

Though I'm not sure if it's exactly what you're looking for, a new technology called PipeWire is currently being developed which is meant to replace PulseAudio and provide the same functionality for video as well (i.e. piping of video from one program to another). It's still very early in its development but maybe it's something you'd want to look into.


high level apis

Lib consumers (we have some feedback in old ibridge repo) value that we provide high level apis that abstract
iframe creation / hidding etc. Make sure we also include that high level functionality on this new ibridge,
it should be pretty simple to implement on top of the core that we have been designing, i.e.
import ibridge from 'ibridge'

const remoteOrigin = SOME_URL
// resolves when the iframe triggers onLoad
const remoteWindow = await ibridge.spawnIframe(remoteOrigin)

const iparent = new ibrdige.Parent(WindowMessenger(window, remoteWindow, remoteOrigin), model)

we could even allow for more abstraction
const remoteOrigin = SOME_URL
const windowMessenger = await ibridge.Messenger.spawnIframe(window, remoteOrigin)

const iparent = new ibridge.Parent(windowMessenger, model)

Sounds good to me, it can make the user's life slightly easier.
I like the first approach slightly better, if I had to pick.
And maybe name the method crateIframe()?


Program 'vulkan_samples.exe' failed to run:

Found the problem. After git clone, re-built the Debug stack and forgot to re-build the Release stack.

async_compute Release Mode access denied error
D:\MyProg\Vulkan-Samples>build\windows\app\bin\release\AMD64\vulkan_samples.exe sample async_compute
Access is denied.
D:\MyProg\Vulkan-Samples>

async_compute Release Mode executable is not a valid app error
PS D:\MyProg\Vulkan-Samples> build\windows\app\bin\release\AMD64\vulkan_samples.exe sample async_compute
Program 'vulkan_samples.exe' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1
+ build\windows\app\bin\release\AMD64\vulkan_samples.exe sample async_c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
At line:1 char:1
+ build\windows\app\bin\release\AMD64\vulkan_samples.exe sample async_c ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed
PS D:\MyProg\Vulkan-Samples>

async_compute Release Mode This app can't run on your PC error

async_compute Debug Mode success
D:\MyProg\Vulkan-Samples>build\windows\app\bin\debug\AMD64\vulkan_samples.exe sample async_compute

D:\MyProg\Vulkan-Samples>[info] Logger initialized
[info] Initializing Vulkan sample
[info] Vulkan debug utils enabled (VK_EXT_debug_utils)
[info] Extension VK_EXT_debug_utils found, enabling it
[info] Extension VK_KHR_get_physical_device_properties2 found, enabling it
[info] Extension VK_KHR_win32_surface found, enabling it
[info] Enabled Validation Layers:
[info]          VK_LAYER_KHRONOS_validation
[info] Found GPU: NVIDIA T1000
[debug] Device supports the following extensions:
[debug]         VK_KHR_16bit_storage

... much more log info not shown ...

async_compute Debug Mode success, very low frame rate ( 6 fps )

async_compute Debug Mode success, Task Manager Vulkan Samples very high power use

async_compute Debug Mode, internal error

Why does async_compute exhibit this odd change in behavior from one day to another?
Is Windows 10 interfering with async_compute's proper use of the GPU?
Does Windows 10 impose known or unknown restrictions on Vulkan Samples, because Vulkan Samples are not MS Store apps, even when the host machine is in Developer Mode?
If so, how can anybody further develop and test Vulkan Samples on a Windows 10 machine?
An interactive 3D graphics app that runs at 6 fps is unusable for testing or production.

Fixed.

Fixed.


undefined reference to symbol 'pthread_create@@GLIBC_

Hi.
I'm having severe problems running this lib on a CodeBlocks project.
I'm trying to use it as a static library in a C ++ project with CodeBlocks.
However, in the compilation / linking project, the following error occurs:
/ usr / bin / ld: undefined reference to symbol 'pthread_create @@ GLIBC_
I edited the included CmakeLists.txt ...
IF (NOT APPLE AND NOT MSVC)
SET (PLATFORM_SPECIFIC_LIBS "-lpthread")
set (CMAKE_THREAD_LIBS_INIT "-lpthread")
SET (CMAKE_C_FLAGS_RELEASE "$ {CMAKE_C_FLAGS_RELEASE} -pthread")
SET (CMAKE_CXX_FLAGS "$ {CMAKE_CXX_FLAGS} -pthread")
set (CMAKE_HAVE_THREADS_LIBRARY 1)
set (CMAKE_USE_PTHREADS_INIT 1)
set (THREADS_PREFER_PTHREAD_FLAG ON)
ENDIF ()
Distributes “#include <pthread.h>” to all source files that included thread or memory include…
It also includes "-pthread" and "lpthread" and #include <pthread.h> "in my project files that consume the library.
My environment is CodeBlocks running on Raspibian.
I don't know what else to try.
Any tips?
Thanks.

Hi @AndreFCosta608
I'd suggest you to try out the CMake example: https://github.com/luxonis/depthai-core-example
And use CMake to generate the CodeBlocks project: https://stackoverflow.com/a/37618167
Note that above wasn't done before and might now work as expected. Below steps are more general and should probably apply to CodeBlocks custom build system as well.
Adding depthai as shared library to CodeBlocks project could be done, but pay attention to add necessary include paths: https://github.com/luxonis/depthai-core/issues/116 and follow the steps for building a shared library: https://github.com/luxonis/depthai-core#building (After building install to have all the needed files in [build]/install directory:  cmake --build . --target install --parallel 8)

(Just wanted to say that I’m really excited to see this in CodeBlocks.)

Hi…
I managed to solve it.
It was enough to include a reference to lib libpthread.so.0 as soon as being the first in the link list.
Also include reference to lib libgthread-2.0.a
There was no need to edit in CmakeLists.txt or include “#include <pthread.h>” in the sources.
Thanks.

Thanks for circling back @AndreFCosta608 !  And we'd love to share what you make if that's of interest.  I've long wanted to see DepthAI used in CodeBlocks.  :-)


feat: Update default branch to 'main'

Updates the default branch of this project, referenced in documents and scripts.
Do not merge until the default branch of this project has been changed to main in GitHub.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Default branch set to main, merging


WIP Compile fixes

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)


FR: V4 tree view: Show tree up and down to provide more context of current note

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
I like the tree view to show the trail UP and DOWN from the current note so that I can have a broader context.
In the old version I could select to show UP and DOWN in the side view.
Describe alternatives you've considered
Alternative would be to manually switch between UP and DOWN in the tree view.
Additional context
Given the following note
note A
- up: note X
- down: note Y

I would like the tree view to show
direction: context (new option, or UpDown)

- note X       <-- tree shown reversed (the higher, the less indented)
  - note A     <-- highlight e.g. bold
    - note Y   <-- standard tree view (the deeper, the more indented)

Hey, thanks for the issue!
Although it's not exactly what you're requesting here, for now I'm gonna to suggest that you just open the Tree View twice, one for up, one for down. You can do this by right-clicking the Tree View icon, and clicking "Split down"


ValueError: zero-size array to reduction operation minimum which has no identity

When I enter segmentation prompt ,For example“girl” It will report an error.，

To create a public link, set share=True in launch().
[AgentScheduler] Task queue is empty
[AgentScheduler] Registering APIs
Startup time: 27.9s (import torch: 1.4s, import gradio: 1.3s, import ldm: 0.7s, other imports: 0.7s, load scripts: 6.8s, create ui: 13.7s, gradio launch: 2.5s, add APIs: 0.1s, app_started_callback: 0.5s).
Traceback (most recent call last):
File "/root/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 422, in run_predict
output = await app.get_blocks().process_api(
File "/root/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1323, in process_api
result = await self.call_function(
File "/root/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1051, in call_function
prediction = await anyio.to_thread.run_sync(
File "/root/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/root/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/root/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/root/stable-diffusion-webui/extensions/PBRemTools/scripts/tools.py", line 32, in processing
processed = process_image(single_image, *rem_args)
File "/root/stable-diffusion-webui/extensions/PBRemTools/scripts/tools.py", line 80, in process_image
mask, image = get_foreground(image, *rem_args)
File "/root/stable-diffusion-webui/extensions/PBRemTools/scripts/td_abg.py", line 108, in get_foreground
mask = get_sa_mask(img, query, model_name, predicted_iou_threshold, stability_score_threshold, clip_threshold)
File "/root/stable-diffusion-webui/extensions/PBRemTools/scripts/sa_mask.py", line 168, in get_sa_mask
combined_mask = np.minimum.reduce(mask_list)
ValueError: zero-size array to reduction operation minimum which has no identity

i got the same error ,don't know what's wrong.I filled in the keywords in the segmentation prompt column and reported an error

@zhangwenhao666 The reason this error occurs is the model cannot find what you are trying to keep in the image. Try reducing "predicted_iou_threshold" and or "stability_score_threshold" and see if it helps.

Also clip_threshold.


new app updates from blog

For Feedback Hub and Snip & Sketch

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


Project fails to build on macOS

When I try to run tox -e python (Python 3.7) on macOS, I get this error:
$ tox -e python
GLOB sdist-make: /Users/jaraco/Dropbox/code/yg/public/jsom/setup.py
python create: /Users/jaraco/Dropbox/code/yg/public/jsom/.tox/python
python installdeps: -rrequirements.txt
ERROR: invocation failed (exit code 1), logfile: /Users/jaraco/Dropbox/code/yg/public/jsom/.tox/python/log/python-1.log
ERROR: actionid: python
msg: getenv
cmdargs: ['/Users/jaraco/Dropbox/code/yg/public/jsom/.tox/python/bin/pip', 'install', '-rrequirements.txt']

Collecting attrs==17.4.0 (from -r requirements.txt (line 7))
  Using cached attrs-17.4.0-py2.py3-none-any.whl
Collecting click==6.7 (from -r requirements.txt (line 11))
  Using cached click-6.7-py2.py3-none-any.whl
Collecting coverage==4.3.4 (from -r requirements.txt (line 15))
  Downloading coverage-4.3.4.tar.gz (361kB)
Collecting decorator==4.2.1 (from -r requirements.txt (line 50))
  Downloading decorator-4.2.1-py2.py3-none-any.whl
Collecting first==2.0.1 (from -r requirements.txt (line 54))
  Downloading first-2.0.1-py2.py3-none-any.whl
Collecting flake8==3.5.0 (from -r requirements.txt (line 58))
  Using cached flake8-3.5.0-py2.py3-none-any.whl
Collecting ipdb==0.11 (from -r requirements.txt (line 61))
  Downloading ipdb-0.11.tar.gz
Collecting ipython-genutils==0.2.0 (from -r requirements.txt (line 63))
  Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting ipython==6.2.1 (from -r requirements.txt (line 67))
  Downloading ipython-6.2.1-py3-none-any.whl (745kB)
Collecting jedi==0.11.1 (from -r requirements.txt (line 71))
  Downloading jedi-0.11.1-py2.py3-none-any.whl (250kB)
Collecting jsonschema==2.6.0 (from -r requirements.txt (line 75))
  Downloading jsonschema-2.6.0-py2.py3-none-any.whl
Collecting mccabe==0.6.1 (from -r requirements.txt (line 78))
  Using cached mccabe-0.6.1-py2.py3-none-any.whl
Collecting parso==0.1.1 (from -r requirements.txt (line 82))
  Downloading parso-0.1.1-py2.py3-none-any.whl (91kB)
Collecting paver==1.3.4 (from -r requirements.txt (line 86))
  Using cached Paver-1.3.4-py2.py3-none-any.whl
Collecting pexpect==4.4.0 (from -r requirements.txt (line 89))
  Using cached pexpect-4.4.0-py2.py3-none-any.whl
Collecting pickleshare==0.7.4 (from -r requirements.txt (line 93))
  Downloading pickleshare-0.7.4-py2.py3-none-any.whl
Collecting pip-tools==1.11.0 (from -r requirements.txt (line 97))
  Downloading pip_tools-1.11.0-py2.py3-none-any.whl (44kB)
Collecting pluggy==0.6.0 (from -r requirements.txt (line 100))
  Using cached pluggy-0.6.0.tar.gz
Collecting prompt-toolkit==1.0.15 (from -r requirements.txt (line 103))
  Downloading prompt_toolkit-1.0.15-py3-none-any.whl (247kB)
Collecting ptyprocess==0.5.2 (from -r requirements.txt (line 108))
  Using cached ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting py==1.5.2 (from -r requirements.txt (line 112))
  Using cached py-1.5.2-py2.py3-none-any.whl
Collecting pycodestyle==2.3.1 (from -r requirements.txt (line 116))
  Using cached pycodestyle-2.3.1-py2.py3-none-any.whl
Collecting pyflakes==1.6.0 (from -r requirements.txt (line 120))
  Using cached pyflakes-1.6.0-py2.py3-none-any.whl
Collecting pygments==2.2.0 (from -r requirements.txt (line 124))
  Using cached Pygments-2.2.0-py2.py3-none-any.whl
Collecting pytest-cov==2.5.1 (from -r requirements.txt (line 128))
  Using cached pytest_cov-2.5.1-py2.py3-none-any.whl
Collecting pytest==3.4.1 (from -r requirements.txt (line 131))
  Using cached pytest-3.4.1-py2.py3-none-any.whl
Collecting setuptools-scm==1.15.7 (from -r requirements.txt (line 134))
  Using cached setuptools_scm-1.15.7-py2.py3-none-any.whl
Collecting simplegeneric==0.8.1 (from -r requirements.txt (line 137))
  Downloading simplegeneric-0.8.1.zip
Collecting six==1.11.0 (from -r requirements.txt (line 140))
  Using cached six-1.11.0-py2.py3-none-any.whl
Collecting tox-travis==0.10 (from -r requirements.txt (line 144))
  Downloading tox_travis-0.10-py2.py3-none-any.whl
Collecting tox==2.9.1 (from -r requirements.txt (line 146))
  Using cached tox-2.9.1-py2.py3-none-any.whl
Collecting traitlets==4.3.2 (from -r requirements.txt (line 149))
  Downloading traitlets-4.3.2-py2.py3-none-any.whl (74kB)
Collecting virtualenv==15.1.0 (from -r requirements.txt (line 153))
  Using cached virtualenv-15.1.0-py2.py3-none-any.whl
Collecting wcwidth==0.1.7 (from -r requirements.txt (line 157))
  Using cached wcwidth-0.1.7-py2.py3-none-any.whl
Requirement already satisfied: setuptools in ./.tox/python/lib/python3.7/site-packages (from ipdb==0.11->-r requirements.txt (line 61))
Collecting appnope; sys_platform == "darwin" (from ipython==6.2.1->-r requirements.txt (line 67))
In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
    appnope; sys_platform == "darwin" from https://pypi.python.org/packages/87/a9/7985e6a53402f294c8f0e8eff3151a83f1fb901fa92909bb3ff29b4d22af/appnope-0.1.0-py2.py3-none-any.whl#md5=a73064be99839b9534b4da47a16c9c46 (from ipython==6.2.1->-r requirements.txt (line 67))

ERROR: could not install deps [-rrequirements.txt]; v = InvocationError('/Users/jaraco/Dropbox/code/yg/public/jsom/.tox/python/bin/pip install -rrequirements.txt (see /Users/jaraco/Dropbox/code/yg/public/jsom/.tox/python/log/python-1.log)', 1)
__________________________________________________ summary __________________________________________________
ERROR:   python: could not install deps [-rrequirements.txt]; v = InvocationError('/Users/jaraco/Dropbox/code/yg/public/jsom/.tox/python/bin/pip install -rrequirements.txt (see /Users/jaraco/Dropbox/code/yg/public/jsom/.tox/python/log/python-1.log)', 1)

Hello @jaraco, did you manage to solve this issue?

I did in the referenced commit. However, the use of pip-compile means the issue might come back if the deps are compiled on a different environment than where they’re run.

Hello @jaraco I had same issue.. Could you tell me how to solve this problem?

You'll need to learn how pip-compile works and dig into the details, but the issue fundamentally lies with a weakness in the design of pip-compile in that it compiles to one target, so you can't run on a different target than where it was compiled.


add progress UI to aid the long startup time for cli

aider startup time is long for my tried on 2 real repo, user might think it is freezing.
consider add progress bar or sth. to let user know it is working on sth not freezing

Thanks for trying aider and reporting this issue.
This is a great idea! I just added it in 3ef16827fc9794888123494268dc55f6782d6d34.
It is available in the main branch. You can get it by installing the latest version from github:
python -m pip install git+https://github.com/paul-gauthier/aider.git

If you have a chance to try it, let me know if it works better for you.


[SDK BUG] MASSIVE MOUSE BUG PLEASE FIX ASAP

We have had over 100!!! customer support tickets in the past week which is unusually high and getting us very worried as 23H2 / 24H2 gets rolled out even more
Describe the bug
While in-game, the mouse cursor escapes the game context onto the second monitor which is really problematic. It basically makes the game unplayable.

https://www.reddit.com/r/pcmasterrace/comments/1fy031m/game_bar_makes_my_cursor_not_lock_into_games/
https://www.reddit.com/r/WindowsHelp/comments/1f7eit0/mouse_movement_glitching_with_gamebar_widgets/

To Reproduce
Steps to reproduce the behavior:

Make sure Xbox Game Bar and Windows are up to date
Plug in a second monitor
Play game in Fullscreen mode
Move your mouse around and watch it leave the game context onto the 2nd monitor's desktop
Press on the second monitor to watch it essentially 'Alt tab' the player out of the game

Expected behaviorA clear and concise description of what you expected to happen.
It should never leave the game context otherwise it essentially 'Alt tabs' the player out of the game.
Screenshots
Video showcasing the bug

Desktop (please complete the following information):

OS version: Windows 11 Pro, Version 23H2 (OS Build 22631.4317)
Game Bar version 7.224.9242.0
SDK version: N/A, happens without any widgets running

It's happening on 24H2 as well and this is from the reddit thread;
"it's been working fine up until windows update installed KB5043178."

Thank you for reporting jurkog.
We got early reports of this through feedback hub and reddit posts as well. We forwarded the issue onto the Windows Input team and they have a fix checked in. The discussion happening now is which servicing release the fix can be rolled out in. I know they're trying to get it out ASAP.
Thanks again,
Ben

Hi Ben,
Thank you for getting back to me so quickly. It's honestly a huge relief for the team and myself.
Do you have an ETA on when we could expect to see it live / start directing users to update their windows again?
Thank you,
Jurko

This bug is causing so much stress as we're about to go into a really busy season (Fortnite OG Season & Christmas sales)

Is there any way this could be an out-of-band release? Something that doesn't require the normal 2-4 week release cycle for updates? This genuinely makes the game bar unusable for everyone playing games on multiple monitors.

Any update? @vidager


TypeError: Cannot read property 'style' of null

TypeError: Cannot read property 'style' of null
/vs/base/browser/ui/sash/sash.ts#353:11 (layout)
/vs/editor/contrib/zoneWidget/zoneWidget.ts#281:19 (_onViewZoneHeight)
/vs/editor/contrib/zoneWidget/zoneWidget.ts#403:29 (_onComputedHeight)
/vs/editor/contrib/zoneWidget/zoneWidget.ts#79:7 (onComputedHeight)
/vs/editor/browser/viewParts/viewZones/viewZones.ts#290:9 (_safeCallOnComputedHeight)
/vs/editor/browser/viewParts/viewZones/viewZones.ts#78:9 (_recomputeWhitespacesProps)
/vs/editor/browser/viewParts/viewZones/viewZones.ts#102:26 (onLineMappingChanged)
/vs/editor/common/viewModel/viewEventHandler.ts#133:14 (handleEvents)
/vs/editor/common/view/viewEventDispatcher.ts#88:21 (_doConsumeQueue)
/vs/editor/common/view/viewEventDispatcher.ts#71:9 (func)
/vs/editor/browser/view/viewImpl.ts#580:9 (safeInvokeNoArg)
/vs/editor/browser/view/viewImpl.ts#357:12
at i.eventDispatcher.O.ViewEventDispatcher.e [as _eventHandlerGateKeeper] (out/vs/workbench/workbench.ma

https://ticino-errors.azurewebsites.net/Errors?bucketIdHash=6bd2c005-6bb5-6695-ea28-90153d25a6ba

It looks like _onViewZoneHeight is actually being called even though the view zone is already disposed (and thus the sash).
There is a ViewZoneDelegate which does not seem to be disposable but still has a event like interface. Looks fishy.

ZoneWidget first disposes the sash via some newly introduced DisposableStore which is shared with child classes... and only later removes the view zone from the editor.
It is possible that one of the disposables in the DisposableStore uses editor API which results in the line mapping being changed which will invoke the view zone callback if the view zone is not removed.


Update VMS configurations

The x86_64 port has been moving forward, there is now a C compiler
available (released in mid-February this year).
Furthermore, OpenSSL has had support for using the OpenVMS port of
Intel's ias for years, but not had any actual information about it.
It's about time that it's mentioned.

This pull request is ready to merge

and merged.

This is a bug fix.  The cross compiling config target should never have been named vms-x86_64, as that suggests native build environment...  and as a matter of fact, the guesser mechanism in OpenSSL::config is already setup to answer vms-x86_64 for a VMS instance on x86_64:
https://github.com/openssl/openssl/blob/d500f04400d0acc83fe5270da860764a7d19deee/util/perl/OpenSSL/config.pm#L168-L172
https://github.com/openssl/openssl/blob/d500f04400d0acc83fe5270da860764a7d19deee/util/perl/OpenSSL/config.pm#L950-L953
This means that for 3.0 and 3.1, someone doing the documented minimum configuration and build:
$ perl Configure
$ mms

...  will get a very early build failure looking approximately like this:
%DCL-E-OPENIN, error opening SYS$SYSROOT:[SYSMGR]X86_XTOOLS$SYLOGIN.COM; as input
-RMS-E-FNF, file not found

Having the cross compiling config target (misnamed) was always meant to be a temporary measure for the state of affairs a few years, and was meant to be updated to a more correctly defined config target as soon as a native compiler for x86_64 appeared.
So, if this isn't backported fully to 3.0 and 3.1, at least the config target rename in Configurations/50-vms-x86_64.conf should!

I am OK treating it as a bug fix.

I reopened this and am currently seeking approval to backport, hoping that my explanation helped.  If agreement is impossible, this will require an OTC discussion

OK with this being a bug fix.

I'll take that as two approvals to backport.  Thanks

Merged to 3.1:
b93c2d360812c4e1ecc1d93f3f1e8d58e9e4e7f4 Update VMS configurations
945834914ffad3548052bbb1c785ec36263af268 Add information on the 'ias' port for OpenVMS

Merged to 3.0:
5645d5ff47aa304d2be6c07a5102f47e1193243f Update VMS configurations
3dc175c2d2ef6b9358fca9015010f45b4fb03d3b Add information on the 'ias' port for OpenVMS


Python 3.9 in the default Linux container

It would be cool to have Python 3.9 or higher available in the default Linux container (currently it's 3.8).
Relates to: Codespaces

//cc @joshspicer

@samruddhikhandale @edgonmsft @bratsche - would one of you want to give this a go?  Might be a nice exercise for familiarizing for new-kitchensink

RIght now we pass none to the python-debian script, so looks like we just utilize what oryx is giving us.  We can strategically use the installation from our scripts, if we want.

https://github.com/microsoft/vscode-dev-containers/blob/main/containers/codespaces-linux/.devcontainer/base.Dockerfile#L75
https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/python-debian.sh#L288

Looks like Python 3.10 is shipped now.


docker pull --help  is potentially confusing by forgetting to mention other registries

Hi guys,
jonas@cyberman#24: docker pull --help

Usage: docker pull [OPTIONS] NAME[:TAG]

Pull an image or a repository from the registry

  -a, --all-tags=false    Download all tagged images in the repository
  --help=false            Print usage
jonas@cyberman#24

As is well-known, there isn't just "the registry". Therefore, the help text should be updated to explain how to specify the registry as well. Maybe something like:
Usage: docker pull [OPTIONS] [REGISTRY_HOST[:REGISTRY_PORT]/]NAME[:TAG]

Pull an image or a repository from the given registry (or the default docker registry if none specified).

  -a, --all-tags=false    Download all tagged images in the repository
  --help=false            Print usage

#dibs

Hi @botchagalupe
Please add a closes or fixes keyword to your PR to help track the fixes. Thanks!


Fix Imap.php: Delete-Flag work's, but can't remove mail from server/mailbox

You need to send "CLOSE" before "LOGOUT" to remove delete-flagged messages from active message box - or: provide (at least) a function to do so manually
Fix (partly) issue #1

Your research just saved my life there! Thanks a lot and thanks for the provided code!


plutus-contract: Reduce our use of row-types, delete BlockchainActions

Replace the BlockchainActions part of the schema with a pair of types PABReq and PABResp for the requests/responses that Contracts can make
Apart from reducing our row-types usage this also makes it much easier to see what actually gets passed to contract instances
The schema is now only used for user-defined endpoints

Unfortunately the mkSchema TH function cannot handle EmptySchema so I had to put a dummy endpoint in a couple of places in the playground

We already had something like this in the PAB, in form of the ContractPABRequest and ContractPABResponse types. I deleted those.

Pre-submit checklist:

Branch

[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

LGTM. Curiously, modules such as Plutus.Contract.Effects.AwaitSlot and Plutus.Contract.Effects.AwaitTxConfirmed were almost completely stripped of it's content, but they still exist. Why's that?

but they still exist. Why's that?

I meant to delete them when I was done but I forgot. Thanks for pointing it out!


HDDS-6535. Ozone TokenRenewer not found

What changes were proposed in this pull request?
Ozone Token Renewer's are implemented in BasicOzoneClientAdapterImpl.java#L401 and BasicRootedOzoneClientAdapterImpl.java#L830 , which are not present in the ozone-filesystem-hadoop3-*.jar fat jar.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6535
How was this patch tested?
Existing tests and build.

Ozone Token Renewer's are implemented in BasicOzoneClientAdapterImpl.java#L401 and BasicRootedOzoneClientAdapterImpl.java#L830 , which are not present in the ozone-filesystem-hadoop3-*.jar fat jar.

Can you please explain why you think these are not present?  I see them in both 1.2.0 release:
unzip -t ozone-1.2.0/share/ozone/lib/ozone-filesystem-hadoop3-1.2.0.jar | grep Renewer
    testing: org/apache/hadoop/hdds/security/token/OzoneBlockTokenIdentifier$Renewer.class   OK
    testing: org/apache/hadoop/fs/ozone/BasicRootedOzoneClientAdapterImpl$Renewer.class   OK
    testing: org/apache/hadoop/fs/ozone/BasicOzoneClientAdapterImpl$Renewer.class   OK

and in current master:
unzip -t hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT/share/ozone/lib/ozone-filesystem-hadoop3-1.3.0-SNAPSHOT.jar | grep Renewer
    testing: org/apache/hadoop/hdds/security/token/OzoneBlockTokenIdentifier$Renewer.class   OK
    testing: org/apache/hadoop/fs/ozone/BasicRootedOzoneClientAdapterImpl$Renewer.class   OK
    testing: org/apache/hadoop/fs/ozone/BasicOzoneClientAdapterImpl$Renewer.class   OK

Instead of adding ozone-filesystem as a dependency for ozonefs-shaded, I think the security-related descriptors should be copied to hadoop-ozone/ozonefs-hadoop3/src/main/resources/META-INF/services.

Thanks @adoroszlai for the review comments. Agreed with you and I've updated the patch. Kindly review it again.


RHUA use single enrollment cert

The entitlement cert and enrollment cert are actually the same; so simplify to use one value.
Don't unregister at the end, merely disable repos. This enables automated cert refresh for the entitlement cert within the RHUA software.

/lgtm


The DoctrineOrmLoadDataFixturesCommand is not extendable

Hello,
It is currently impossible to override the hautelook_alice.console.command.doctrine.doctrine_orm_load_data_fixtures_command service (command) as the DoctrineOrmLoadDataFixturesCommand is currently declared as a final class.
In fact it's possible to override the service but we have to copy past the most of this class code which is quite frustrating.
Did I missed something ? Is it a special choice or an oversight (in which case I can do the PR) ?
Thank you for the bundle and the support you are providing.

It was probably more out of fear of exposing bad extensions points than anything I think. It's probably fine to make it non-final by now. If I may ask however, what do you need to expand the command for?

Thank you for your fast answer (and sorry for my late one).
I understand your point of vue and the impact on the modelization (class and properties visibility, services exposition, etc.). You're right, my use case may help you to understand if this request need to be paid attention.
Since the version 2 it's possible to use environments to contextualize generated data : this was one of the great improvements of this version (with performance enhancements). But you know it, more is never enough. We (me and our teams) now need to use this system with contextualized data. For example I need to generate production-like data (environment feature support it) but in the IT domain (which is a context) with this kind of records : computers, motherboard, memory, etc. But tomorrow, I would like to generate production-like data in the food domain with this kind of records : Wine, Beer, Cider, etc.
So, I am overriding the DoctrineOrmLoadDataFixturesCommand command to support a new optional argument contexts (comma separated list) to provide a custom fixtures categorization and I also will use a CustomFixtureFilesLocator (as described in the documentation to change loading order) to load fixtures files depending on the provided contexts.
I am thinking about this directory structure :
└── fixtures/ or app/Resources/fixtures/
    ├── environmentless-fixture1.yml
    ├── ...
    ├── inte
    |   ├── prod-fixture1.yml
    |   └── ...
    ├── dev
    |   ├── dev-fixture1.yml
    |   └── ...
    └── custom
        ├── food
        |   └── food-fixture1.yml
        ├── it
        |   └── it-fixture1.yml
        └── ...

As you can imagine, in my Command class overriding the DoctrineOrmLoadDataFixturesCommand service I just need to add an option in the configure method which I can't do without copying/pasting the original final class.
If I am not clear enough, please let me know : I will do my best to reformulate.
I dont know if this use case can interest anyone, but if so, may be this could be a new feature to consider with a better implementation than this (tricky) one.
Thank you again.

Not it makes sense to me, I think it's ok to remove the final for the commands


Workspace package name clash with builtins - when uv is enabled

Steps to Reproduce

clone repository https://github.com/mihalikv/improved-umbrella
run rye sync

Expected Result
With uv: successful installation
Actual Result
When uv is disabled: it just works.
When uv is enabled:
vilo@Vilo:~/test_project$ rye sync
Reusing already existing virtualenv
Generating production lockfile: /home/vilo/test_project/requirements.lock
error: Failed to build editables
  Caused by: Failed to build editable: file:///home/vilo/test_project/nested_lib
  Caused by: Build backend failed to build wheel through `build_editable()`:
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/hatchling/build.py", line 82, in build_editable
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable'])))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/hatchling/metadata/core.py", line 244, in validate_fields
    self.core.validate_fields()
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/hatchling/metadata/core.py", line 1334, in validate_fields
    getattr(self, attribute)
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/hatchling/metadata/core.py", line 1207, in dependencies
    self._dependencies = list(self.dependencies_complex)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/hatchling/metadata/core.py", line 1158, in dependencies_complex
    from packaging.requirements import InvalidRequirement, Requirement
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/packaging/requirements.py", line 7, in <module>
    from ._parser import parse_requirement as _parse_requirement
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/packaging/_parser.py", line 10, in <module>
    from ._tokenizer import DEFAULT_RULES, Tokenizer
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/packaging/_tokenizer.py", line 6, in <module>    from .specifiers import Specifier
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/packaging/specifiers.py", line 26, in <module>
    from .utils import canonicalize_version
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/packaging/utils.py", line 8, in <module>
    from .tags import Tag, parse_tag
  File "/home/vilo/.cache/uv/.tmp30t7GI/.venv/lib/python3.11/site-packages/packaging/tags.py", line 27, in <module>
    logger = logging.getLogger(__name__)
             ^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute 'getLogger'
---
error: could not write production lockfile for workspace

Caused by:
    failed to generate lockfile

Version Info
rye 0.26.0
commit: 0.26.0 (d245f625e 2024-02-23)
platform: linux (x86_64)
self-python<EMAIL_ADDRESS>symlink support: true
uv enabled: false

Stacktrace
No response

This would be a bug in uv. Can be reproduced from that repo:
$ uv pip compile requirements.lock
error: Failed to build editables
  Caused by: Failed to build editable: file:///private/tmp/improved-umbrella/nested_lib
  Caused by: Build backend failed to build wheel through `build_editable()`:
--- stdout:

--- stderr:
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/hatchling/build.py", line 82, in build_editable
    return os.path.basename(next(builder.build(directory=wheel_directory, versions=['editable'])))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/hatchling/builders/plugin/interface.py", line 90, in build
    self.metadata.validate_fields()
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/hatchling/metadata/core.py", line 244, in validate_fields
    self.core.validate_fields()
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/hatchling/metadata/core.py", line 1334, in validate_fields
    getattr(self, attribute)
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/hatchling/metadata/core.py", line 1207, in dependencies
    self._dependencies = list(self.dependencies_complex)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/hatchling/metadata/core.py", line 1158, in dependencies_complex
    from packaging.requirements import InvalidRequirement, Requirement
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/packaging/requirements.py", line 7, in <module>
    from ._parser import parse_requirement as _parse_requirement
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/packaging/_parser.py", line 10, in <module>
    from ._tokenizer import DEFAULT_RULES, Tokenizer
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/packaging/_tokenizer.py", line 6, in <module>
    from .specifiers import Specifier
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/packaging/specifiers.py", line 26, in <module>
    from .utils import canonicalize_version
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/packaging/utils.py", line 8, in <module>
    from .tags import Tag, parse_tag
  File "/Users/mitsuhiko/Library/Caches/uv/.tmpAQYEa4/.venv/lib/python3.11/site-packages/packaging/tags.py", line 27, in <module>
    logger = logging.getLogger(__name__)
             ^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute 'getLogger'
---

Contents of requirements.txt:
# generated by rye
# use `rye lock` or `rye sync` to update this lockfile
#
# last locked with the following flags:
#   pre: false
#   features: []
#   all-features: false
#   with-sources: false

-e file:nested_lib
-e file:.
asgiref==3.7.2
    # via django
django==5.0.2
    # via nested-lib
sqlparse==0.4.4
    # via django


The WebSocket handshake Connection field is missing the upgrade token

I get this error every time I try to connect remotely to the camera:
Error: The WebSocket handshake Connection field is missing the upgrade token
The camera is connected and available, as I can see using:
v4l2-ctl --list-devices
And I am connected to my Raspberry Pi using SSH; do you have any advice for me? thank you very much.

can you provide more details about your client? Are you using one of the client examples to connect?

I'm using pylon Viewer from Basler:

I also tried to connect using pylon from python; thanks.

Please see here: https://github.com/doleron/raspberry-as-gige-camera/blob/main/docs/python3_client_tutorial.md


Add incremental number at the end of file name if file with same name exists

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.04.03. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2017.04.03

Before submitting an issue make sure you have:

[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Feature request (request for a new functionality)

Description of your issue, suggested solution and other information
As described here
https://github.com/rg3/youtube-dl/issues/12626
feature request for this.

You must provide complete description of your feature request. Which files should be affected, how it should work with output template, what should be the option name and so on.

It could work like Windows Explorer's "file exists" dialog where when a file exists it offers the option to add (2), (3), etc on the end of the file. So when a file already exists regardless of name output settings, do not skip as "already downloaded" but re-download with a number at the end, eg "example.mp4", "example-2.mp4", the third time "example-3.mp4", etc. That covers mostly the output template as default option has the video ID so it's not really useful for that

You did not get it. I'm well aware how naming schema works in such case. The point is that it won't be accepted as default since current skip "already downloaded" behavior should be preserved. It may only be activated with an explicit option. You did not answer questions from previous post.

I was thinking it as an option thar requires the output template option (so affect files that are downloaded with this option) like "--incremental", "--do-not-overwrite/skip" or something similar, or can be added as a sequence type to output template option that is activated if the file already exists.


Upgrade to ng2 beta 1

demo page has an issues seems to be related with https://github.com/angular/angular/issues/6303
tabs component at least, need to update https://github.com/valor-software/ng2-bootstrap/tree/master/components/tabs first and try again

in progress https://github.com/valor-software/ng2-bootstrap/pull/85

@el-besto hey, we actually blocked by tabs component at demo,
because of https://github.com/angular/angular/issues/6382
and what is your twitter name to mention? :)

published to npm anyway, so waiting for your response


Report "Data starting from" and pipeline "Start Date" show one day before configured start date (depending on user time zone)

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1910
Originally created by @DouweM on 2020-03-26 22:51:38

View 3 previous comments from the original issue on GitLab


Push notifiation badge count

setApplicationIconBadgeNumber only clear the badge count on icon i need to  mange it i.e increment and decrement .Is this issue or this is not functionality on appgyrver plug in ?

I believe you are referring to the Pushwoosh plugin? See https://rawgit.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin/master/Documentation/files/PushNotification-js.html

Which push plugin are you using?

Issue resolved,
Thanks


Project Changes revert (and other missing features)

[x] The Project Changes (Console project list popup menu item Changes), does not have revert on the popup menu.  I like this since I tend to add bug reproduction methods that I want to find and remove.  Moderately high importance.

[x]  The JforD Changes Browser includes a Jadeite menu toggle item, Include Methods With Identical Source. Medium Importance.

[x]  It also doesn't have the Browse, Browse Implementors and Browse Senders menu items.  Low Importance (to me at least)

https://github.com/GemTalk/JadeiteForPharo/commit/580e9f4a02dea3623d7b7b3eb0720245532f60c4
@LisaAlmarode Please review and reopen if features added aren't up to snuff.


Unable to change font awesomes icons

I wanted to edit (change) the font awesome icons that are on the Services page...but nothing seems to work... even using the newest icon params..
What am I missing?

What did you try?
Note that the version of FontAwesome of the theme is 4.3.0. You should use the classes for FontAwesome 4 only.


Allow VTPM container to access TPM devices via tpms group

Allows the VTPM container to access the TPM devices via the tpms group set in the additionalGids in the build.yml file.

Smoke tests can be fixed by rebase on the latest master.

Re-running Virtualization test suite because the success is surprising - want to know if it is reproducible or if it was just a lucky accident.

Seems like the smoketests are failing on re-runs
https://github.com/lf-edge/eve/actions/runs/9691051715/job/26750839250?pr=4010

Seems like the smoketests are failing on re-runs https://github.com/lf-edge/eve/actions/runs/9691051715/job/26750839250?pr=4010

Smoke tests can be fixed by rebase on the latest master.


deployment: Deploy to Digital Ocean

Write a script to deploy to Digital Ocean and set up the environment variables for Production.
Also we need to set up CNAME files and point the bits-atmos.org domain to our Digital Ocean instance.
Task list:

[ ] Deployment Script
[x] Redirection Rules
[ ] Https Configuration

Proceeded with deploying a droplet on digital ocean. Name servers were assigned to the domain bits-atmos.org. DNS propagation will take around 24hrs.
Node, mongodb and the repository were set up and deployed successfully. The concerned people have credentials to the account and can login.

CNAMEs are done.

SSL Status?

Once you approve PR we can test


Allow opening several dojos in dojo list - http://zen.coderdojo.com/

Context
I am on http://zen.coderdojo.com/, clicked the list tab and want to view several dojos (e.g. to read about all of them and decide where to go/which one is next/...).
Problem
I want to open several dojos at once. To do this I need to open so many new tabs with http://zen.coderdojo.com/, for each tab, click on the list, scroll down and click on the dojo.
Solution
Allow opening several dojos from one list.
Implementation Hint
Make the dojo entries links with an href attribute. Example:
Turnhout

Instead of
Turnhout

Thank you for the feature suggestion - this will be covered in https://github.com/CoderDojo/community-platform/issues/194 so I'll close this issue.


🧑💻: Add hiver effect on social media icons

Adding hover effect will enhance the website overall functionality

Hi, I would like to work on this issue. Please assign it to me. Thank you!


Changing background 4 times freezes simulation on IOS

Describe the bug

Simulation freezes when changing the background 4 times independent of the browser.

To Reproduce
Steps to reproduce the behavior:

Open Simulation
Cycle Background 4 times
Observe frozen simulation

Expected behavior

Simulation does not freeze.

Device information

Type: iPad Pro (9.7 inch)
OS: IOS 13.1.3
Browser: Safari/Chrome/Firefox

output "TypeError: null is not an object (evaluating 'context.createOscillator')"
IOS only allows 1 or 2 instances of AudioContext objects

Even after many background changes the simulation does not freeze.


Tests?

Hey @jaredpalmer, I made a simple testing suite and would be interested in continuing if it looks alright. Testing the hooks seems pretty straightforward and we could wait on Enzyme support for React.Suspense to test the components, or use an alternate approach.

Hey @jaredpalmer, I made a simple testing suite and would be interested in continuing if it looks alright. Testing the hooks seems pretty straightforward and we could wait on Enzyme support for React.Suspense to test the components, or use an alternate approach.

This would be great. Is there an open PR?

@DanielRuf Yup, I opened one here #28.

@jaredpalmer Opened a new PR with a simple react-testing-library setup #43. I could add more tests, starting with the hooks if you're interested. Maybe look into Travis CI for automation as well re: @DanielRuf


ci: custom check for package module,main,types,etc.

Right now there is no automated check to verify that the main, types and module properties in the package.json files of packages of the monorepo are set up as they should be and this can lead to situations where maintainers miss these mistakes and then approve packages that are not actually working in terms of the build of the whole repo.
There should be a check that makes this a non-issue by enforcing it within the CI.

Hey @petermetz, I'd love to create a automated check for this issue and I was wondering if you could tell me more about it. I know that the monorepo is where code for multiple projects are stored in the same repository. Sorry if this is an obvious question but which parts of cactus is the monorepo?

situations where maintainers miss these mistakes and then approve packages

When you mention packages here, do you mean a package such as cactus-plugin-ledger-connector-besu?

maintainers miss these mistakes and then approve packages that are not actually working in terms of the build of the whole repo.

I feel as though that this is already being checked by the CI build themselves? If we are adding packages doesn't the CI build for node-14 and node-16 already see if the approved packages are compatible for the while repo?


fixed treatment of default parameters

I just read trough your solution to setting the default parameters in C rather than in SQL.  I'm curious why you prefer the C version to the SQL version?  (I don't know much about writing C extensions for postgres, but I'd love to learn more.)  My initial impression is that the C version results in a bit more code duplication, but I'm wondering if it's maybe a bit faster than the SQL version?  I don't really know how postgres handles dynamic dispatch, but I could see default parameters in the SQL potentially having a bit more overhead.

No particular reason. I am not sure about performance implications. I don't mind merging your PR as well if you change the default to 1.

Thanks.  I'll defer to your implementation and close the previous PR.

Not sure what safety concern you are talking about. Maybe you are right in a general case, but this seems to work fine.


Is there a way to get raw data from request

Hi,
I am trying to get the list of available pids by requesting pid 0x00. However, there is no property of Mode01Descriptor or Response that provides the raw data. Is it possible to access raw data from a request using this library? If not, how can I access the list of available pids?
Thanks
let command = Command.Mode01.pid(number: 00)
obd.request(command: command) { [weak self] (descriptor) in
OperationQueue.main.addOperation {
if let response = descriptor?.response {
// Parse response
}
}
}

Hi, i have the same trouble. Did you find any solution ?

Hi there, not yet… :’(

Em 17 de jul de 2018, à(s) 12:12, Skriponj<EMAIL_ADDRESS>escreveu:
Hi, i have the same trouble. Did you find any solution ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/lemberg/obd2-swift-lib/issues/19#issuecomment-405618347, or mute the thread https://github.com/notifications/unsubscribe-auth/AhXMrb7-u3qa_FTDXuqf-e-NlJi6HXcwks5uHf7wgaJpZM4UyVpR.

Hi again, if this trouble is still actual for you, then maybe it can help. I found some solution - you can use buildSupportedSensorList(data : Data, pidGroup : Int) -> Bool method. But for that it have to be marked as public or copied to another place from InitScanerOperation.swift file

I’ll try that! Thanks a lot, pal!!
Best regards,
Cleverson
Em qua, 18 de jul de 2018 às 13:02, Skriponj<EMAIL_ADDRESS>escreveu:

Hi again, if this trouble is still actual for you, then maybe it can help.
I found some solution - you can use buildSupportedSensorList(data : Data,
pidGroup : Int) -> Bool method. But for that it have to be marked as public
or copied to another place from InitScanerOperation.swift file
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/lemberg/obd2-swift-lib/issues/19#issuecomment-405984591,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhXMrc-nIGSBn-krMVupzo3paaQ9hvvxks5uH1wmgaJpZM4UyVpR
.


ImportError when trying to start flask app, but no stack trace printed

I am trying to set up a flask application on my new machine. First I checked out the sources from our server - I am pretty sure the application directory structure is correct, as we are using it exactly like this on other machines.
However, when I try to run the app on my new computer I get the following error:
$ FLASK_ENV="development" FLASK_APP="run.py" flask run
 * Serving Flask app 'run.py' (lazy loading)
 * Environment: development
 * Debug mode: on
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.

Error: While importing 'run', an ImportError was raised.

Problem is: No more output is printed, in particular no stack trace. So I don't know what exactly the problem is. How can I tell flask to print the stack trace?
Environment:

Python version: 3.8.10
Flask version: 2.0.2

#4307


I am unable to expose docker container to external using ec2 instance public ip address

I had run the below docker command in linux machine after installing docker in that ubuntu machine
docker run -d -p 8080:8080 tomcat:8

I had got the below error

hi saikrishna,
Error 404 doesn't mean that your tomcat is not working it only shows that it is unable to find index files.

Hi saikrishna,
The error is related to port mapping
Reason: if  u don't open 8080 Port in AWS cloud machine
Reason 2 : did u write expose 8080 in docker file
Please check these 2 possibilities
Please share your docker file


Add to Stackage

Does it make sense to add this to Stackage?

Hi, I think you can bump version to 0.3.0 for example and publish it on Hackage, we can then add it to Stackage.

Hello,
I released and published it, please find it here

Thank you. Can you add it to Stackage? It's very simple. You go to https://github.com/fpco/stackage and clone the repo. Then you edit the build-constraints.yaml file and add yourself just like other people in the list. You can find me in the list and see how my packages are added for reference. Then you open a PR with title like “Add the servant-auth-cookie package”, and that's it. They will merge it.

I submited the PR and will check tomorrow the result. Thank you for guidance!

Looks like the dependencies is out of sync a little bit. I've pushed the change to nightly branch, and here is a travis log. Can we adjust versions of the packages, or is there a different kind of problem?

You can you please reopen the PR? These messages has nothing to do with servant-auth-cookie.

Sure, reopened.

I think we can close this now.


Extend makefile

When the creation of benchmarks is interrupted e.g. because of an error, the directories that are cleaned up at the end of the process (workflows/workspaces and workflows/nf-results) are still present. This causes errors in the next run of the script.
This PR adds a target that cleans said dirs before each run of make benchmarks.

I messed up the git history a bit in the last week. Mea culpa. :confused:

I messed up the git history a bit in the last week. Mea culpa. 😕

Why? Because of the merges? You can always do git log --no-merges if these trouble you. They don't trouble me.


pm2-less integration tests

pm2 has very confusing license. Let's try to get rid of it.

pm2 has very confusing license

What license is it using? Has anyone from legal contacted you about a licensing issue or how did it come about?


Webpacker & Rails 5.1 are officially released

Update README to remove that language
Fixes # .
Changes:
Please ensure that:

[ ] Changelog is updated if not a minor patch
[ ] Ruby linting is ok: rubocop is all green
[ ] Javascript linting is ok: cd javascript/webpacker_react-npm-module/ && yarn lint is all green
[ ] Tests are all green

Thanks @swrobel, I included your change into a bigger README revamp :)


How to use it in Leiningen?

At the moment we're only supporting deps.edn use for git dependencies. However, with the latest Clojure 1.12 alpha you should be able to bootstrap Morse and Replicant using the information in the guide at https://github.com/nubank/morse/blob/main/docs/guide.adoc#out-of-process-bootstrap


Add ability to add another job when there is a break

Context
Currently, we can see when a break has occurred in a candidate's work history - https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/1167, https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/1295. What's missing now is allowing the candidate to enter a reason and being able to add another job in place of the break.
Changes proposed in this pull request
This PR adds the Add another job link to a break. When a candidate clicks on the link they are taken to the add job with the start and end date filled in already.
Screenshots

Guidance to review
Is using get params to way to go? Can't think of another way of doing it.
Link to Trello card
https://trello.com/c/jIWipybM/732-calculate-work-gaps
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

All looked good 👍


feat: clean 3 timeout configuration if not set by CPS lb

proxy-read-timeout
proxy-send-timeout
upstream-keepalive-timeout

What this PR does / why we need it:
Add your description
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @hicaistar

Release note:

NONE

/lgtm


[raven-l7] Endpoints manager implementation

As proposal https://github.com/openyurtio/openyurt/blob/master/docs/proposals/20220930-unifying-cloud-edge-comms.md mentioned: we need to implement the endpoints manager in raven-controller-manager to handle the l7 proxy server selection.
Generally, raven l7 server is exposed as a service on cloud side, when users access edge side through kubectl logs/exec or prometheus/metrics server, the access request needs to be intercepted by the l7 proxy server firstly. Since l7 proxy server will be launched only on cloud gateway nodes, and the l7 proxy server is implemented as part of raven-agent instead of a standalone pod, we can not leverage k8s service mechanism to handle raven l7 server endpoints selection directly.  So we need to implement the endpoints manager to take the responsibility of raven proxy server endpoints selection for the corresponding service.
It mainly includes the tasks below:

Dynamically update the raven l7 proxy server service endpoints according to the l7 servers state.
When user request arrives, select the proper l7 server endpoints to handle the user request.

/assign @River_sh


fixed incorrect frame interval after iOS 10.4 for some frame interval…

…

value such as  18/22/34/37

#256 covered this


Forbidden Reach Races: Wrong records

At least the Morqut Ascent and the Forbidden Reach Rush show the times from the Thaldraszus race The Flowing Forest Flight. So far I couldn't find the reason within the code.

A fix will be available for release 0.2.2

fixed


Inconsistent Key Behavior on Android Keyboards with Password Protected TextField

Description:
When using the Material TextField component with the IsPassword="True" attribute in version UraniumUI 2.8, keys not functioning correctly on Gboard and other Android keyboards.
Steps to Reproduce:
Open the application on an Android device running UraniumUI version 2.8.
Navigate to a screen or form where a Material TextField with IsPassword="True" is present.
Attempt to input text using Gboard or another Android keyboards.
Observe that certain keys, such as backspace and some number keys, do not work as expected.
(Some Number Keys are working)

(and others are not working)

Expected Behavior:
When using Gboard or other Android keyboards, all keys should function properly, including backspace and number keys, when entering text into a Material TextField with IsPassword="True".
Actual Behavior:
Certain keys, including backspace and some number keys, do not work as expected when entering text into a Material TextField with IsPassword="True" using Gboard or other Android keyboards.

It could be that this is a .Net MAUI bug.
https://github.com/dotnet/maui/issues/21109
because it is the same in normal entry controls.

I apologize for the confusion caused by my recent bug report regarding the "Inconsistent Key Behavior on Android Keyboards with Password Protected TextField." Upon further investigation, I have realized that the issue stemmed from an error in my code. Specifically, I had overridden the DispatchKeyEvent method in my MainActivity, inadvertently blocking the Volume Keys functionality.
The root cause was that in the default case, I returned false instead of calling base.DispatchKeyEvent(keyEvent). This oversight resulted in the incorrect behavior observed in the app.
I sincerely apologize for any inconvenience or confusion this may have caused. I have rectified the code to ensure proper functionality going forward.
Thank you for your understanding.


Example code to plot the shap values

Could you please point to an example code/notebook to plot the shap values in Python?
I found R codes for the plots in the repository but wondering if python sample code are available.
Thanks

In the Python package readme, there is a minimal code example that shows also how to create plots - you can check it here.


python312Packages.goodwe: 0.3.4 -> 0.4.1

Diff: https://github.com/marcelblijleven/goodwe/compare/refs/tags/v0.3.4...v0.4.1
Changelog: https://github.com/marcelblijleven/goodwe/releases/tag/v0.4.1
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

5 packages built:

home-assistant-component-tests.goodwe
python311Packages.goodwe
python311Packages.goodwe.dist
python312Packages.goodwe
python312Packages.goodwe.dist


Some count indices

PGSync version: 1.1.1
Postgres version: 9.6
Elasticsearch version: 7.7.1
Redis version: latest
Python version: 3.8
Problem Description:
What to do with some count indices?
For example, I want to load indices with the scheme:
[
{
"database": "main",
"index": "brand",
"nodes": [
{
"table": "brand",
"schema": "public",
"columns": [
"id",
"name",
"approved",
"popularity"
]
}
]
},
{
"database": "main",
"index": "company",
"nodes": [
{
"table": "company",
"schema": "public",
"columns": [
"id",
"user_id",
"organizational_form",
"disabled"
]
}
]
}
]

I see it supports it, but load only first index

actually reopening this as this is already in progresss

Thanks for reporting this.
This is resolved in version 1.1.2

Thanks!

It loads only first index in the scheme

Exception in thread Thread-53:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "pgsync/sync.py", line 641, in pgsync.sync.Sync.poll_redis
File "pgsync/redisqueue.py", line 73, in pgsync.redisqueue.RedisQueue.bulk_pop
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/json/init.py", line 341, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType

can you re-bootstrap the database which should re-create the trigger
bootstrap -t -c path/to/schema.json
also, delete the hidden file .main

I did it, but after creating the first index it makes file .main and skips the creation next indices.
Now I have trouble with updating big rows. https://github.com/toluaina/pg-sync/issues/19
I have load indices separately.

OK that fine. 1.1.3 allows you to load in the same schema as well

Good, but now I see changes the same changes in different slots
for example
select * from PG_LOGICAL_SLOT_PEEK_CHANGES('main_company', NULL, NULL)
select * from PG_LOGICAL_SLOT_PEEK_CHANGES('main_brand', NULL, NULL)
select * from PG_LOGICAL_SLOT_PEEK_CHANGES('main_category', NULL, NULL)
make me the same result, and save all data before reload

and can you change the condition of adding a trigger, now the trigger is added to absolutely all tables in the database (I have> 200). For example a table should trigger if it is in the schema.
Now  > 200 tables have a trigger

the latest version 1.1.4 only creates triggers for tables in the schema
we still need to have a database/index pair for each replication slot as this is a requirement.

Now triggers have tables in the last index in the schema, because after creating the first index, the next creating will drop last triggers.

But I don't know why I see changes from any tables in each slot

I get what you mean. This is now fixed in 1.1.5. Can you give it a try and let me know

Good, but how to connect it to New relic, I wrote settings in env, but it doesnt work

Does it work with standart replication master-slave together?

Good, but how to connect it to New relic, I wrote settings in env, but it doesnt work

Did you start with newrelic-admin run-program pgsync ...

Does it work with standart replication master-slave together?

Yes I see no reason why this would not work


Problem with FiveM (print)

Hello i have a problem with this encrypt system, all is print in console when we do an action in game.
Please fix it remove print or give me an solution
Thank's

Hey, first try to re-encrypt the script because sometimes strings get broken (15% possibilities) and if that doesn’t fix the problem, fix your script because it may be probably an error of it. This system has been tested and works correctly. Can you send a screenshot of the “print” you are referring to?

I have already re-encrypted and it still does it for me, it is printed in the txadmin console (server side). It prints all my encrypted server file

That is because your script has an error, try using it decrypted and find the error.

There is no error though

It might be one, check all the code and try again…

ok ok, i tell you later

So, I try decrypt and there is no errors, is possible to disable it please. Delete print and when there is errors it print just line or nothing


TLS Support

Hi @bitsofinfo,
When I look at the docker-java project's github pages, I can see that it's able to get DOCKER_HOST and DOCKER_CERT_PATH from the environment. I'm installing Docker Engine's using Docker Machine so it configures TLS certificates for all machines. When I pass these env vars to the service, it cannot connect to the master:
docker service create -d --name myapp --network foo \
  --constraint 'node.hostname == test2' \
  -e DOCKER_HOST="tcp://<IP_ADDRESS>:2376" \
  -e DOCKER_CERT_PATH="some_path" \
  -e JAVA_OPTS="-DdockerNetworkNames=foo -DdockerServiceNames=engage" \
  tunix/myapp

Have you tested this with TLS and get it to work?

Sorry it's my bad. I forgot to mount host directory (certificates) to the container so it wasn't able to find the certificates. Thank you for this plugin btw!


Camera video preview layer should not rotate with orientation change

When you have a landscape cordova app and start scanning the camera is not rotated correctly. The AVCaptureVideoOrientation should change with rotating the device.

Hey @gitmh, thanks for the report! That's something I've not considered. Does the rotation matter when scanning QR codes? (Does it scan differently?) How do you think the plugin should handle device orientation?

I have a cordova app which is fixed to landscape only. The scanning also works without rotation but it is very annoying to "find" the code if you move left and the preview moves right and vice versa because the video preview is rotated 180° on your screen (up is down and down is up).
I'm not very familiar with Swift so I tried to fix this by adding something like this:
        let app = UIApplication.sharedApplication()
        switch app.statusBarOrientation {
        case .Portrait:
            captureVideoPreviewLayer?.connection.videoOrientation = AVCaptureVideoOrientation.PortraitUpsideDown;
        case .PortraitUpsideDown:
            captureVideoPreviewLayer?.connection.videoOrientation = AVCaptureVideoOrientation.Portrait;
        case .LandscapeLeft:
            captureVideoPreviewLayer?.connection.videoOrientation = AVCaptureVideoOrientation.LandscapeRight;
        case .LandscapeRight:
            captureVideoPreviewLayer?.connection.videoOrientation = AVCaptureVideoOrientation.LandscapeLeft;
        default:
            captureVideoPreviewLayer?.connection.videoOrientation = AVCaptureVideoOrientation.LandscapeRight;
        }

I was unable to figure out where to place this, so it will be applied whenever the orientation changes. It may look strange, but if the device is LandscapeRight, the videoOrientation must be set to the opposite direction LandscapeLeft.
I don't know if connection.videoOrientation is the correct spot to change - maybe it is the captureVideoPreviewLayer itself that needs to rotate with the rest of the app?

Hey @gitmh, thanks again for the report. Just wanted to let you know that I'm currently finishing up with the browser implementation (https://github.com/bitpay/cordova-plugin-qrscanner/pull/6), but this is on my radar. I plan to take a swing at this issue once the initial browser implementation is merged.

Still looking at this – I added some device orientation controls to the manual tests to help with testing for this issue: https://github.com/bitpay/cordova-plugin-qrscanner/commit/d9a11cdabbeb004cd9e1d877680ffac6108c592f#diff-2a8a5fef3397df87ab538f028a5c6b50R96
I'm not very familiar with iOS's layout system – I think the best solution is to disable orientation changes on just the video preview layer (such that the camera always stays oriented with the screen as the device is rotated). I've not been able to get a working solution yet – pull requests welcome!

Hi, This is dmitri from upwork.

Hi, This is dmitri from upwork.

Hi, This is dmitri from upwork.

Hi, This is dmitri from upwork.

Hi, This is dmitri from upwork.

Hi, This is dmitri from upwork.

@bitjson I also very unfamiliar with this orientation stuff. The solution I mentioned in the dropbox link with a timer works very well in my app. The problem is that I was unable to register a proper event handler for the orientation change.


Change Statistics (Indicators) menu name to simply Statistics

Description
Follow on from #6464
Resourcing
We intend to contribute this feature