Pin ADO sync to v1.1.4

Overview/Summary
This PR reverts ADO sync to v1.1.4 on a pinned version as 'main' appears to be not working currently:
Run a[1](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/actions/runs/3376326929/jobs/5603916329#step:3:1)1smiles/GitSync@main
JSON configuration file loaded.
Setting logLevel to info...
TypeError: Cannot read properties of undefined (reading 'startsWith')
    at GitSync.run (/home/runner/work/_actions/a11smiles/GitSync/main/gitsync.js:28:3[7](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/actions/runs/3376326929/jobs/5603916329#step:3:8))
    at Object.<anonymous> (/home/runner/work/_actions/a11smiles/GitSync/main/index.js:4:6)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:9[8](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/actions/runs/3376326929/jobs/5603916329#step:3:9)1:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:[12](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/actions/runs/3376326929/jobs/5603916329#step:3:13))
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:[17](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/actions/runs/3376326929/jobs/5603916329#step:3:18):47

This PR fixes/adds/changes/removes

The error above

Breaking Changes
n/a
Testing Evidence
TBC post merge due to action limitations
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[x] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located in the Enterprise-Scale repo in the directory: /docs/wiki/whats-new.md)

/azp run unit


Refactor for embedding support

Some thoughts on the direction that this is going.

We need a trial application that we embed Semagrams in for me to figure out what the API should be, or how things would work at all.
Now that a Semagram is more directly just the display of the actual ACSet, I think it makes sense to eliminate the Entity/Part distinction, @sjbreiner should be happy about that. What used to be the UI viewport is now just going to be handled outside of the Semagram, in a way that doesn't have to conform to the Semagrams paradigm.
The way that I'm redesigning bindings by splitting up the "hook" and the "action", it should be easier to automatically generate a help message.

Most actions should only need the stuff in here: https://github.com/AlgebraicJulia/Semagrams.jl/blob/34b2e4c519b8306bbba19e08ddf902ab4c815bf2/scala/apps/graph/src/Main.scala#L61. Does it make sense to have this class?
We have a trait that we extend in order to make the display. Should we also have a trait that we extend in order to make the control process? How does the control process interact with the rest of the app?

replaced by dev


Mat-Sort bug with ngrx-store-freeze

The error happens when I try to use MatSort and ngrx-store-freeze, if I remove :
@ViewChild(MatSort) sort: MatSort;
then I dont see any error.
Attempting to configure '__source' with descriptor '{"value":"MatSortHeader","configurable":true}' on object 'function MatSort() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        /**
         * Collection of all registered sortables that this directive manages.
         */
        _this.sortables = new Map();
        /**
         * Used to notify any child components listening to state changes.
         */
        _this._stateChanges = new rxjs__WEBPACK_IMPORTED_MODULE_4__["Subject"]();
        /**
         * The direction to set when an MatSortable is initially sorted.
         * May be overriden by the MatSortable's sort start.
         */
        _this.start = 'asc';
        _this._direction = '';
        /**
         * Event emitted when the user changes either the active sort or sort direction.
         */
        _this.sortChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        return _this;
    }' and got error, giving up: TypeError: Cannot define property __source, object is not extensible
zone.js:2257 Attempting to configure '__source' with descriptor '{"value":"MatSortHeader","configurable":true}' on object 'function MatSort() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        /**
         * Collection of all registered sortables that this directive manages.
         */
        _this.sortables = new Map();
        /**
         * Used to notify any child components listening to state changes.
         */
        _this._stateChanges = new rxjs__WEBPACK_IMPORTED_MODULE_4__["Subject"]();
        /**
         * The direction to set when an MatSortable is initially sorted.
         * May be overriden by the MatSortable's sort start.
         */
        _this.start = 'asc';
        _this._direction = '';
        /**
         * Event emitted when the user changes either the active sort or sort direction.
         */
        _this.sortChange = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        return _this;
    }' and got error, giving up: TypeError: Cannot define property __source, object is not extensible

Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.
(this is a canned response)

+1

+1


Added RLM_GENERIC_ARRAY() macro

Unfortunately this generates warnings in our unit tests where we test incompatible models, but I've posted https://forums.developer.apple.com/message/16886 to see if there's a way to ignore that. /cc @tgoyne

Could just add casts to the array's type in the tests.

Could just add casts to the array's type in the tests.

So obvious, I didn't think of it. Thanks.

:+1:


Scenarios test failure and core dump from image_classifier test

FYI, this error log is from scenario_tests_linux_python36. This also happens to scenario_tests_linux_python27 but without this verbose error log.
toolkits/test_image_classifier.py::ImageClassifierSqueezeNetTest::test_classify double free or corruption (out)
Fatal Python error: Aborted

Thread 0x00007fd831ffb700 (most recent call first):
  File "/usr/lib/python3.6/threading.py", line 295 in wait
  File "/usr/lib/python3.6/queue.py", line 164 in get
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 463 in _handle_results
  File "/usr/lib/python3.6/threading.py", line 864 in run
  File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007fd8327fc700 (most recent call first):
  File "/usr/lib/python3.6/threading.py", line 295 in wait
  File "/usr/lib/python3.6/queue.py", line 164 in get
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 415 in _handle_tasks
  File "/usr/lib/python3.6/threading.py", line 864 in run
  File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007fd832ffd700 (most recent call first):
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 406 in _handle_workers
  File "/usr/lib/python3.6/threading.py", line 864 in run
  File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007fd8337fe700 (most recent call first):
  File "/usr/lib/python3.6/threading.py", line 295 in wait
  File "/usr/lib/python3.6/queue.py", line 164 in get
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 108 in worker
  File "/usr/lib/python3.6/threading.py", line 864 in run
  File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007fd833fff700 (most recent call first):
  File "/usr/lib/python3.6/threading.py", line 295 in wait
  File "/usr/lib/python3.6/queue.py", line 164 in get
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 108 in worker
  File "/usr/lib/python3.6/threading.py", line 864 in run
  File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007fd85cff9700 (most recent call first):
  File "/usr/lib/python3.6/threading.py", line 295 in wait
  File "/usr/lib/python3.6/queue.py", line 164 in get
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 108 in worker
  File "/usr/lib/python3.6/threading.py", line 864 in run
  File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007fd85d7fa700 (most recent call first):
  File "/usr/lib/python3.6/threading.py", line 295 in wait
  File "/usr/lib/python3.6/queue.py", line 164 in get
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 108 in worker
  File "/usr/lib/python3.6/threading.py", line 864 in run
  File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007fd9704c5740 (most recent call first):
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/turicreate/data_structures/sframe.py", line 2917 in random_split
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/turicreate/toolkits/_supervised_learning.py", line 324 in create
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/turicreate/toolkits/classifier/logistic_classifier.py", line 325 in create
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/turicreate/toolkits/image_classifier/image_classifier.py", line 296 in create
  File "/build/scenario-tests/tests/toolkits/test_image_classifier.py", line 100 in setUpClass
  File "/build/scenario-tests/tests/toolkits/test_image_classifier.py", line 264 in setUpClass
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/unittest.py", line 99 in fixture
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/fixtures.py", line 788 in call_fixture_func
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/fixtures.py", line 964 in pytest_fixture_setup
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/fixtures.py", line 914 in execute
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/fixtures.py", line 584 in _compute_fixture_value
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/fixtures.py", line 503 in _get_active_fixturedef
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/fixtures.py", line 487 in getfixturevalue
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/fixtures.py", line 477 in _fillfixtures
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/unittest.py", line 120 in setup
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/runner.py", line 373 in prepare
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/runner.py", line 123 in pytest_runtest_setup
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/runner.py", line 217 in <lambda>
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/runner.py", line 244 in from_call
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/runner.py", line 217 in call_runtest_hook
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/runner.py", line 186 in call_and_report
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/runner.py", line 94 in runtestprotocol
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/runner.py", line 85 in pytest_runtest_protocol
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/main.py", line 272 in pytest_runtestloop
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/main.py", line 247 in _main
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/main.py", line 191 in wrap_session
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/main.py", line 240 in pytest_cmdline_main
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/callers.py", line 187 in _multicall
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 87 in <lambda>
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/manager.py", line 93 in _hookexec
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/pluggy/hooks.py", line 286 in __call__
  File "/build/scenario-tests/venv/lib/python3.6/site-packages/_pytest/config/__init__.py", line 125 in main
  File "/build/scenario-tests/venv/bin/pytest", line 8 in <module>
Aborted (core dumped)

@guihao-liang - I can not replicate this on macOS 10.15.4 with Python 3.6. Is this a Linux only issue? Is the issue intermittent or does it happen consistently?

it's from Linux: scenario_tests_linux_python36. Yes, consistent. There's a segfault across almost of our Linux tests. I had a glance at it and it involved TensorFlow.

What version of TensorFlow is getting used?
We don't work with TensorFlow 2.1 (the current version) on Linux, see #3003.

What version of TensorFlow is getting used?
We don't work with TensorFlow 2.1 (the current version) on Linux, see #3003.

Yeah, whatever TF required by the current 6.1.

It's fixed by #3089


Discord bot is down

it's been down for quite a bit and i wonder if it will ever come back

Heyy, state of things right now is that I am busy with work and down have time to maintain it. If you want to host it yourself code is fully functional and platform independent, but I can’t tell you timeframe in which I will be able to get it back up 🥺 sorry for any inconvenience that this causes you, but as I said, I am very busy at work right now

On 19 Dec 2022, at 22:57, brisk ben @.***> wrote:
it's been down for quite a bit and i wonder if it will ever come back
—
Reply to this email directly, view it on GitHub https://github.com/karafra/ai-art/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLFA2FAWM4QXTQPHAWW2TTWODK5TANCNFSM6AAAAAATD2KL5U.
You are receiving this because you are subscribed to this thread.


Support caching with redis

If redis env vars are provided, store the result of the notebook execution for a configurable amount of time on redis.
Support no_cache query string param to disable caching.

solved


isort commit hook behaving differently in integrated terminal and source control panel

Steps to reproduce
Create a repo and install pre-commit
git init && pip install pre-commit
Create 3 files.
touch a.py b.py .pre-commit-config.yaml

containing
# .pre-commit-config.yaml
repos:
  - repo: https://github.com/timothycrosley/isort
    rev: 4.3.21
    hooks:
      - id: isort

# a.py
a = "a"

# b.py
import tensorflow as tf  # any 3rd party import

from a import a

Install isort commit hook via pre-commit install.
Attempt to commit b.py via VS Code's source control panel. isort will abort the commit and make changes to the file, removing the line between the local and 3rd party import. Committing from the integrated terminal via git add b.py && git commit -m foo works just fine.
Expected behaviour
Committing in source control panel should work just like from the command line.
Cause
I think this might be due to VS Code invoking isort without access to the environment of installed packages. isort therefore thinks import tensorflow as tf references another local module like a.py and imports of the same type shouldn't be separated by blank lines.

Hi @janosh 👋 Thank you for reporting this issue.
Sadly the extension doesn't control how commit hooks are executed within the source control panel, so your best bet would be to file this issue directly against VS Code.
Thank you!

Could you transfer this issue there?

No, we don't have these permissions for the microsoft/vscode repo.


lower limit for the upper bound

This seems reasonable given Zipkin is jvm (scala specifically). Actually, it sounds like this would be a major issue resulting in failures for standard installs of Zipkin.
That said the upper bounds are slightly off here. The max long value in Scala is<PHONE_NUMBER>854775807L (dec) or 0x7FFF FFFF FFFF FFFF (hex). So we shouldn't limit the lower word in this way, a value of 0x100000000 is fine. For the upper word, the max should be set at 0x80000000 since the Math.random() range is [0, 1) (1 exclusive, i.e. the maximal value would be 0x7FFFFFFF).
Line 29 should therefore read:
var random = new Int64(Math.random() * 0x80000000, Math.random() * 0x100000000);

Apologies, when I moved the repo I forgot I needed to reauthorize travis for this organization, which is why this PR did not build on travis.  I'm going to try to trigger a build by closing and reopening this PR.

Looks like the conversation on #34 approves this. So I'll go ahead and merge.

@cyli would you mind bumping the version and deploying a patch release?

@dustyburwell Done


Add reference in README for R-Pi requirements

@rjsteinert is there anything in particular you needed from that link?
Maybe it would be better to reference the noble prerequisites: https://github.com/sandeepmistry/noble#prerequisites

Close due to lack of activity.


Ember auto type acquisition doesn't work

VSCode Version: 1.34.0
OS Version: OS X 10.14.2

I've been trying to get the @ember/* types to work automatically without installing @types/ember. The automatic type acquisition doesn't seem to work out of the box. I've tried creating a jsconfig.json file with all sorts of combinations in the typeAcquistion.include field. I saw someone post last year that it was working out of the box for them, so wanted to confirm it is still supported.
Steps to Reproduce:
Load the attached default ember project, and npm install.
Go to test-component.js and see if the types work for the @ember/* imports.
ember-example.zip
tsserver.log

Does this issue occur when all extensions are disabled?: Yes

Moving upstream. Someone on the TS team should know more about what the expected behavior is here

@RyanCavanaugh @DanielRosenwasser I thought silent failure (except logging in ti log) was expected behaviour. What do you think should happen here? send some kind of event or something to the editor?

Wait, is there still a reason that we can't do ATA for scoped packages?

I don't think we ever supported it but there are two issues here?

probably we want to handle scoped packages and install @types/ember__component instead of @ember/component ?
What about the failure to install? #32084 says that it is silent. I think this is intended behavior ( that it only logs info in the ti log) but will let you decide.

I guess it depends on reasons for failure. If I'm working on a project with checkJs, I would want to know why IntelliSense isn't giving me expected results. Otherwise, it would be nice to be able to diagnose these things, in which case discoverability is really the issue. In some cases, users don't even know that their completions could be better, but how can you tell them in a non-invasive way that's still actionable.

hey @sheetalkamat did your change fix ATA for @ember/* modules? I'm trying the latest VS Code version (v1.38.1) which I think has the typescript v3.6.0+ and doesn't seem to work.


[e2e]: go workflow_dispatch main config-noldflags slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/4663068506
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.workflow_dispatch.main.config-noldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.workflow_dispatch.main.config-noldflags.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Tue Apr 11 02:07:07 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/4664681141
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.workflow_dispatch.main.config-noldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.workflow_dispatch.main.config-noldflags.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Tue Apr 11 06:56:42 UTC 2023
Tests are passing now. Closing this issue.


date_spine doesn't work when start_date and end_date are the same

Describe the bug

Using dbt_utils v1.0.0
date_spine fails when start_date and end_date are the same.
    {{ dbt_utils.date_spine(
            datepart="day",
            start_date="'2023-01-05'",
            end_date="'2023-01-05'"
        )
    }}

produces:
23:25:03  Finished running 1 table model in 0 hours 0 minutes and 3.46 seconds (3.46s).
23:25:03
23:25:03  Completed with 1 error and 0 warnings:
23:25:03
23:25:03  Compilation Error in model daily_spend (models/daily_spend.sql)
23:25:03    upper bound must be positive
23:25:03
23:25:03    > in macro default__get_powers_of_two (macros/sql/generate_series.sql)
23:25:03    > called by macro get_powers_of_two (macros/sql/generate_series.sql)
23:25:03    > called by macro default__generate_series (macros/sql/generate_series.sql)
23:25:03    > called by macro generate_series (macros/sql/generate_series.sql)
23:25:03    > called by macro default__date_spine (macros/sql/date_spine.sql)
23:25:03    > called by macro date_spine (macros/sql/date_spine.sql)
23:25:03    > called by model daily_spend (models/daily_spend.sql)
23:25:03    > called by model daily_spend (models/daily_spend.sql)

If you run:
    {{ dbt_utils.date_spine(
            datepart="day",
            start_date="'2023-01-05'",
            end_date="'2023-01-06'"
        )
    }}

It works fine
Steps to reproduce

Expected results

Generate a table/CTE with a single date
Actual results

Screenshots and log output

System information
The contents of your packages.yml file:
packages:
  - git: https://github.com/get-select/dbt-snowflake-monitoring.git
    revision: 1.3.1

Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[x] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
Core:
  - installed: 1.3.1
  - latest:    1.3.2 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - snowflake: 1.3.0 - Up to date!

Additional context

Are you interested in contributing the fix?

Hey @ian-whitestone, thanks for opening this! You've found a fun edge case.
Since there is a straightforward workaround and (IMO) there's nothing in the argument names that promises a > and <= pairing vs > and <, I'm inclined to close this as wontfix, especially since it would be a breaking change for people who already have it set up.
With dbt utils v1 out, we're committed to no breaking API changes until the next major version which I'm intending to not be until dbt Core v2 if I can manage.
Let me know if you strongly disagree!


Hexagon creation does not score a bonus.

Even though bridge bonus is working, hexagon bonus has not been.  For example, see the snippet from the board that shows a hexagon.  The hexagon created by tiles 51, 54, 55, 21, 18, 49 has both Player 'A and 'B' placing pieces, but the player that closed the hexagon did not get the 50 point bonus.
 Turn 7 by Player B ...
  Top choice: 0-3-5
------------------------------------------
          53   54   55   56
------------------------------------------
|    |+++++^ -- 51-- ^ -- 53--
|    |++++/3\\3 P 4//4\\4 P 4/
| 56 |+++/ A \\ B // A \\ B /
|    |++/3 P 5\\5//5 P 4\\4/
|    |+ -- 49-- v -- 54-- v
|    |= -- 18-- ^ -- 55-- =
|    |==\3 P 5//5\\5 P 4/===
| 57 |===\ B // B \\ A /=====
|    |====\0//0 P 5\\5/=======
|    |=====v -- 21-- v=========
   Played tile '0-3-5' at location (57,53).
  Tile added to empty faces pool: 0-3-5

In the above case, Player 'B' placed tile 18 '0-3-5' and should have been awarded 8 points for the tile, and 50 points for the bonus for completing a hexagon.
Bonuses should probably be tracked in each Player, and it might be a good idea to track which pieces were included in the hexagon.  Optimizations on scoring might be achieved by looking at the set of pieces that create a hexagon and only attempt to determine if a hexagon was created by placing one of those tiles.

Bridge, hexagons, and completions are now scored properly.


Get rid of the grid effect

Hello,
Great work!
Do you think it could be possible to implement a 2-d tree based on principal component analysis, like described here:
http://applidium.com/en/news/too_many_pins_on_your_map/
(and here: https://github.com/applidium/ADClusterMapView/blob/master/ADClusterMapView/ADMapCluster.m)
I'm not good enough in C to do it myself...
Any help would be appreciated!
Thanks

What's your dataset? I used kingpin for two different datasets representing real city places and both times clusters didn't look as grid.
Of course if you have a LOT of data points (like 50000) and they are distributed evenly you will see grid because that's the key weakness of grid clustering algorithm.
It would be good if you made a screenshot demonstrating your grid effect and share details of your dataset.
To answer your question: there are numerous options and this principal component analysis is only one of them (the other option is to use better tree like R-tree based with corresponding algorithms behind it). Unfortunately we do not develop kingpin actively as it works quite well as general purpose iOS library so it is unlikely that we'll start that implementation of principal component analysis.


[SekaiCTF-2023] - Added Task: Diffecientwo

Hi @harshitgupta412, thanks for opening this PR! I’ve re-run the CI check, and it looks like the caching is working based on the changes you made to .github/workflows/ci-tests.yml. Could you please open up a separate PR for that change only?


Pre-trained image segmentation model

Hi RESEPT authors,
Thank you for developing such a wonderful tool for spatial resolved transcriptomics! I'm so impressed by the high ARI in the spatial LIBD data. I would like to try this great tool on my own data and I have the following questions, and hope I can get some suggestions or help from you:

I was wondering how can I get the pre-trained image segmentation deep-learning model by myself?
And also does the example pre-trained model you provided in the Github page was trained by the 12 H&E staining images (sample<PHONE_NUMBER>76 from http://spatial.libd.org/spatialLIBD/) with their manual annotations?
Was the high ARI provided in your paper for the S6-S17 samples calculated based on the results using the pre-trained image segmentation model while the image-segmentation model is the one mentioned above?
After I ran the tutorial on the sample 151669, it seems that the "Demo_result_tissue_architecture" folder only contain the images with tissue structures and top5_MI_value.csv, I was wondering how can I extract the cluster/tissue structure number like BayesSpace output?

Thank you very much and I appreciate your time! This will help me a lot!

Hello,
Thanks for your interest in our work. Here are our responses to your inquiry:

Please refer to this for building your own segmentation model with your own labeled spatial data.
Yes, The example model was trained on the 11 samples (12 H&E samples except for sample 151669), where we utilized a leave-one-out strategy to validate our architecture.
The ARIs for S6-S17 were achieved by the models for their 'leave-one-out' validation, which can be found [here].
That is a good question. We updated this type of output to this function. You may find such results in a csv file named 'predicted_tissue_architecture.csv'.
Feel free to let us know if you have any further questions.


[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Follow-up to https://github.com/Homebrew/brew/pull/17934
This PR addresses a few additional VS Code configuration things.
First, the Ruby LSP configuration now runs brew install-bundler-gems --add-groups=style,typecheck,vscode before starting the LSP. This should automatically install everything and keep the LSP up to date for new users.
Additionally, editor.formatOnType is now turned on for ruby files. This handles a few things, but a big one is that it will automatically add end statements and handle indents. This removes the need for the kaiwood.endwise VS Code plugin, so I have removed it.
Finally, this PR adds the --lsp option to brew typecheck which allows us to actually enable the Sorbet plugin and view live type info (much of the code here comes from @Bo98).

Great work, thanks @Rylan12!


Trouble running vncdesk for the first time

I am trying to figure out how to use vncdesk but running into some problems. Here is my settings.ini file:
$ cat .vncdesk/2/settings.ini
[desktop]
width = 3840
height = 2160

[window]
scale_factor = 2
smoothing = false

I'm not entirely sure what the significance of the 2 is, and I tried 1 also but that didn't help. This is the message I get:
$ vncdesk 2 eog
usage: vncpasswd [file]
Xvnc command line: Xvnc :2 -geometry 3840x2160 -rfbauth .passwd -rfbport 5902 -depth 16 -pn -localhost &

Xvnc Free Edition 4.1.1 - built Jul 31 2015 19:10:31
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc

Thu Mar 16 10:30:14 2017
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5902
 vncext:      created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/fonts/X11/Speedo/, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
AUDIT: Thu Mar 16 10:30:14 2017: 16276 Xvnc: client 1 rejected from local host
vncconfig not available
Cannot find executable startup script

Not sure why it says vncconfig is not available because it exists:
$ vncconfig
No VNC extension on display :0.0

I'm on Ubuntu 14.04 x64 and I have realvnc and tightvnc servers installed.
Any idea what is going on?

See documentation. You need to have a startup script startup in ~/.vncdesk/2/. Does adding this file solve the problem? If not, please reopen this issue.

Thank you @feklee, not sure how to re-open the same issue, but unfortunately it is still not working:
$ ls -l .vncdesk/2/startup
-rwxrwxr-x 1 bp bp 32  3月 16 10:57 .vncdesk/2/startup
$ cat .vncdesk/2/startup
#!/bin/bash

exec xterm

$ vncdesk 2
usage: vncpasswd [file]
Xvnc command line: Xvnc :2 -geometry 3840x2160 -rfbauth .passwd -rfbport 5902 -depth 16 -pn -localhost &

Xvnc Free Edition 4.1.1 - built Jul 31 2015 19:10:31
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc

Thu Mar 16 10:57:58 2017
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5902
 vncext:      created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/fonts/X11/Speedo/, removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
AUDIT: Thu Mar 16 10:57:58 2017: 23946 Xvnc: client 1 rejected from local host
vncconfig not available
AUDIT: Thu Mar 16 10:57:58 2017: 23946 Xvnc: client 1 rejected from local host
No protocol specified
xterm: Xt error: Can't open display: :2

(vncdesk:23937): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2769:41: Expected a valid selector
Disconnected from server

I just checked in an Ubuntu 14.04 installation with TightVNC, and I cannot replicate the issue.
That vncconfig is not available is a bogus error message, which I changed now. Very likely, vncconfig simply doesn't run with the parameters provided internally by vncdesk.
Most likely your installation of RealVNC caused the issue. Where from did you get RealVNC?

I got it from the vnc4server package in universe.

@bparker06 I was able to replicate the issue. The problem is with password generation, and I am currently investigating an alternative way to generate the password. If you're interested, see my pyDes issue Create encrypted passwords for VNC?.

@bparker06 I'm happy to announce that version 1.7.0 supports RealVNC on Ubuntu 14.04.


[Ars Magica 5th] Roll20 image server gives outdated image

In #8094 , I updated some images used in the Ars Magica 5 sheet, to make the boundaries between background image repetitions look less rough. The changes were merged into master, but not reflected on the Roll20 website. It seems the roll20's image server is caching the old image and is not updating its cache.
Indeed:

the image on the master branch of this github has integrated the changes: https://github.com/Roll20/roll20-character-sheets/blob/master/Ars_Magica_5th/images/paintbar.jpg
the image served by the Roll20's image proxy server for this URL has not: https://imgsrv.roll20.net//?src=https%3A%2F%2Fraw.githubusercontent.com%2FRoll20%2Froll20-character-sheets%2Fmaster%2FArs_Magica_5th%2Fimages%2Fpaintbar.jpg

I though the cache would be invalidated after some time, or otherwise notified of the change, but this does not seems to be the case.
Do I need to do anything to notify the image server of the changes ?
Thank you for your help !

it's a weird issue that pops up now and then. A workaround is to rename the new files and their references, so roll20 is forced to use different images than the old cached ones.

Thank you for your help. I was wondering if there was a better way, I'll rename the image then.

submitting a help center ticket about it would be a good idea.
I added a mention of this issue to the wiki: https://wiki.roll20.net/Image_use_in_character_sheets


How to use v-model modifiers?

Docs: https://vuejs.org/v2/guide/forms.html#Modifiers
How can we use something like this:
<input v-model.number="age" type="number">

see https://github.com/vuejs/jsx#directives
FYI, camelCase style (vModel, vModel_number, etc) causes compilation error.
You can avoid error with using snake-case (v-model, v-model_number, etc)

Thanks, v-model_number works perfectly


Contributors needed for an "Introduction to Hyperledger fabric" overview doc

Description
Current fabric/docs doc lacks "big picture" overview of the solution. Proposing some adds for "Introduction to Hyperledger fabric" documentation here. Please feel free to add / change / edit / add new sections as you see fit:
Proposed text for a "Welcome" page (note words in bold will be linked to the glossary definitions):
Welcome to Hyperledger fabric
The Linux Foundation Hyperledger Project(1) is the result of collaboration between project members(2) who share the common goal of designing a business-ready, open-source standard for blockchain networks. Extensive research, planning and implementation by this community has led to the Linux Foundation adopting Hyperledger fabric as its open source standard for blockchain network architecture.
The Hyperledger fabric blockchain standard is a base architecture, with built-in functionality, security and platform independence for blockchain networks. The open standard facilitates adoption by any public or private organization or enterprise, and in turn by their constituent members.
References:
(1) Hyperledger Project: https://www.hyperledger.org/
(2) Hyperledger Project members: https://www.hyperledger.org/about/members
Audience
The audience for this Hyperledger fabric documentation includes members of any public or private group, organization or enterprise who are interested in joining the Linux Foundation Hyperledger Project and adopting its open standard for their business networks. The organizational roles that this audience fulfills are diverse, and include business executives and decision-makers, system  architects, network designers, application developers, security administrators, auditors and  regulators.
Any potential end user of a blockchain business network would also benefit from this documentation, including professionals at securities and commodities exchanges, manufacturing plants, distribution centers, leasing agencies, business service providers and government agencies.
Prerequisites
The only prerequisites to employ Hyperledger fabric for blockchain networks are an interest in, and the resources to support, a distributed business network that processes transactions with significant
decreases in cost, increases in speed and enhancements in security, compared to traditional networks. Though not required, most adopters of Hyperledger fabric will already be using one or more active business networks; integration of these existing networks with Hyperledger fabric is a fully-supported business service.
All sizes of business networks are supported by Hyperledger fabric, from a single node to networks
containing hundreds of nodes. Typical hardware and software networking components, and resources to develop applications and write chaincode, are basic requirements.
Describe How to Reproduce
The current fabric/docs are lacking "big picture" descriptions of the Hyperledger Project blockchain solution.

Taking this one ...

Josh,
If there's going to be an introductory section on "what is blockchain" I'd like to take it on. It seems like every explainer out there suffices itself to explain what blockchain is, not why it is.
It's a complicated subject to boil down without getting bogged down in historical quicksand but when I first started to learn about blockchain I was immensely frustrated by the lack of context in everything I read. So-called blockchain "explainers" always reduced themselves to a kind of tautology; you could only understand their explanation of what blockchain was once you already understood what blockchain was.
This might be too broad for the document you're envisioning. Let me know. I'm not sure the degree to which the group of people you're targeting with the document will already understand what a "ledger" is, much less what a peer-to-peer automatically distributed ledger is or does.

Yes Joe, I like the sound of it; especially the why blockchain. ... Broad / big picture documents are what folks say is missing, so go ahead and draft something please ... can be plain text, or .md. ... Use a new issue for this though. I'm adding the "Welcome" above and will close it. I also have other sections drafted (not complete / ready necessarily), which I will email you.

Josh,
No I'm not. How do I subscribe?

Try the "Slack" link here: https://www.hyperledger.org/community

Ok. Joined and subscribed to the "fabric" and "docs" channels.

I am joshhus - try to send me a msg.


Incorrect (I think?) MD5IntegrityError

Hi Will,
I used cloudvolume to upload a simple greyscale image volume in precomputed format to google cloud, as I've done a million times. The upload seemed to succeed without issue. But if I try to download the data from google cloud using cloudvolume, I get a scary error:
In [1]: from cloudvolume import CloudVolume
/home/phelps/.virtualenvs/cloudvolume/lib/python3.10/site-packages/python_jsonschema_objects/__init__.py:113: UserWarning: Schema id not specified. Defaulting to 'self'
  warnings.warn("Schema id not specified. Defaulting to 'self'")

In [2]: vol = CloudVolume('gs://lee-lab_brain-and-nerve-cord-fly-connectome/templates/JRC2018_FEMALE.ng')
Using default Google credentials. There is no ~/.cloudvolume/secrets/google-secret.json set.

In [3]: im = vol[:]
Downloading:   0%|                                                                                | 0/2496 [00:01<?, ?it/s]
---------------------------------------------------------------------------
MD5IntegrityError                         Traceback (most recent call last)
Cell In[3], line 1
----> 1 im = vol[:]

File ~/.virtualenvs/cloudvolume/lib/python3.10/site-packages/cloudvolume/frontends/precomputed.py:551, in CloudVolumePrecomputed.__getitem__(self, slices)
    548 channel_slice = slices.pop()
    549 requested_bbox = Bbox.from_slices(slices)
--> 551 img = self.download(requested_bbox, self.mip)
    552 return img[::steps.x, ::steps.y, ::steps.z, channel_slice]

......

File ~/.virtualenvs/cloudvolume/lib/python3.10/site-packages/cloudfiles/cloudfiles.py:423, in CloudFiles.get.<locals>.download(path)
    421 if start is None and end is None:
    422   if server_hash_type == "md5":
--> 423     check_md5(path, content, server_hash)
    424   elif server_hash_type == "crc32c":
    425     check_crc32c(path, content, server_hash)

File ~/.virtualenvs/cloudvolume/lib/python3.10/site-packages/cloudfiles/cloudfiles.py:393, in CloudFiles.get.<locals>.check_md5(path, content, server_hash)
    390 computed_md5 = md5(content)
    392 if computed_md5.rstrip("==") != server_hash.rstrip("=="):
--> 393   raise MD5IntegrityError("{} failed its md5 check. server md5: {} computed md5: {}".format(
    394     path, server_hash, computed_md5
    395   ))

MD5IntegrityError: 380_380_380/0-64_0-64_0-64 failed its md5 check. server md5: I2RXOQeR8uEbpP1FfLfFPA== computed md5: tMYajCH5Z0AfeDH2Y+Q+ig==

I've never seen this before. I tried re-uploading the dataset and got the same problem, so I don't think it was a failed upload / corrupted data. The dataset also loads into neuroglancer just fine. I can also download the files using a gcloud storage cp command just fine. So I suspect that the issue may not actually be with the files but with how cloudfiles is attempting to validate the checksum. Not sure if its relevant, but the specific cube that triggers the error is in fact all black (pixel values all 0) and is the top-left-most block in the dataset.
Do you have any idea what could be going on here? Can you reproduce the issue if you try to load this exact volume into memory via cloudvolume?
Thanks a lot!

Oh wow, I can reproduce this error on the download side. I'll have to investigate. This is pretty weird.

I ran into this issue when writing jpg/png images with CloudVolume and had gzip compression explicitly turned on (overriding CloudVolume default for jpg/png).
Maybe same here? Jasper's images are jpg, and the remote objects have a custom header X-Goog-Stored-Content-Encoding: gzip?

Yes, that's right, thanks Nico – I have a little library for format conversion npimage to which I just added support for saving as neuroglancer precomputed via cloudvolume, and if the user asks for npimage.save(array, 'gs://bucket/path', compress=True) (or compress='lossy') then I do give them both jpeg and gzip:
https://github.com/jasper-tms/npimage/blob/324a6d4ed2e98310e779001da86019a0d9f6b8c1/npimage/core.py#L268-L270
I thought this was the default behavior of cloudvolume but perhaps its not and so I've ended up in a rarely used corner case? Are jpeg encoded precomputed volumes not gzipped typically?

Correct, for compressed image file formats such as JPG and PNG, gzip should not be necessary, because it's already part of the format, anyway. (PNG uses the exact same compression algorithm as GZIP, which is called DEFLATE; and JPG uses Huffman coding, which again is part of DEFLATE)
Still, somewhere CloudFiles seems to compare gzipped with ungzipped checksums for these "double compressed" files?

Great, I skipped gzipping when in jpeg encoding and that got rid of the checksum issues from cloudfiles. Thanks for the input Nico.
If it really doesn't make sense to ever gzip when in jpeg encoding, you might think of enforcing that on the cloudvolume side Will. (There still remains the question of why cloudfiles is getting confused about the checksums for these double compressed files, but if you update cloudvolume to refused to make such files, the problem is probably 90% solved, in practice.)
Feel free to close this issue or not depending on whether you think you'll try to dive in and fix the checksum bug.

I wonder if this is a bug in Google's library? I played around with this and it seems like blob.download_as_bytes(start=start, end=end, raw_download=True, checksum=None) is not respecting raw_download=True? The string returned is not encoded as gzip, so it must have been decompressed already and so the md5 match will fail.


V4L2 at 1080p60

I have received the Hornettek HDMI to USB 3.0 adapter, but testing results in very poor video performance.  This is not dropped frames, but bursty/choppy video.  The system is under fairly low load, with htop reporting about 30-35% CPU usage.
The issue appears to be caused by V4L2, as when I instrument the code to report when it receives a frame (just print a "." and fflush()) I see the issue even when I entirely disable the call to process_image.
Are there any tweaks required to get good V4L2 input performance (eg: config.txt modifications or similar)?
P.S. Feel free to email me directly (see Signed-off-by: in my commit) if you'd prefer.

Update: I was working with a fully updated 64-bit bullseye-lite image with libcamera built from source (trying to get one of my CSI cameras to work as a video source).  Apparently this caused problems with V4L2.  I started with a clean image (2021-10-30-raspios-bullseye-arm64-lite) and V4L2 is working MUCH better!

I did a full apt update & dist-update and still get 59.99 fps from raw V4L2:
$ v4l2-ctl --stream-mmap --stream-count=-1 -d /dev/video0 --stream-to=/dev/null
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 59.99 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 59.99 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 59.99 fps

I'm only seeing about 30 fps via NDI, but that's how fast the application is pulling frames from V4L2.  The format conversion and NDI send needs to be migrated to a separate thread so it doesn't slow down pulling frames from V4L2 (I'm working on a proof of concept).


store connection data in ETS

use an ETS table to store listeners, this means we can use the supervisor to limit reconnects

Closing due to age


Allow property (dotted) access syntax for types

This works:
interface Test {
    A: 'a' | 'b' | 'c'
}

function test(a: Test['A']) {
}
test('a')

Would be nice if we could use it as that:
function test2(a: Test.A) {
}
test2('a')

You can do it by declaring a namespace:
interface Test {
    A: 'a' | 'b' | 'c'
}
namespace Test {
    export type A = Test['A'];
}

function test(a: Test.A) {
}
test('a')

You're effectively proposing that we do this automatically. But, because you can already do it today, it would be a breaking change to do it automatically because we'd potentially conflict with code such as the example.

Thank you @ahejlsberg
Yes - I was hoping that it would do this automatically but I understand the implication.

There's a pretty similar example here.


Installation Problems.

Can someone explain to me why i get this error the whole time?
i tried "pip install dalle-pytorch" 20 times now always this error :(
I installed "Visual Studio 2022"
i m a noob XD

**DEPRECATION: youtokentome is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for youtokentome ... error
error: subprocess-exited-with-error
× Running setup.py install for youtokentome did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
running install
C:\Users\Bastl\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-310
creating build\lib.win-amd64-cpython-310\youtokentome
copying youtokentome\youtokentome.py -> build\lib.win-amd64-cpython-310\youtokentome
copying youtokentome\yttm_cli.py -> build\lib.win-amd64-cpython-310\youtokentome
copying youtokentome_init_.py -> build\lib.win-amd64-cpython-310\youtokentome
running build_ext
building '_youtokentome_cython' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> youtokentome
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.**

I installed "Visual Studio 2022"

You need the C++ build tools, not just the editor (visual studio).
The link to it is even in the stack trace :|

error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/


Add missing injected variables to doc

According to https://github.com/drone/drone-exec/blob/master/main.go we have also $$COMMIT_SHORT and $$BUILD_NUMBER injected. Not sure about $$REPO though, couldn't find where it's explicitly injected.

hey there, COMMIT_SHORT is being deprecated in favor of `${COMMIT:8}. You are correct that REPO is not being injected either. Good catch

Fixed that.

thanks!


[move-explain] improve custom abort code.

This PR https://github.com/rooch-network/rooch/pull/538 resolves abort codes well for the in-bound errors at Rooch, for example:
rooch move explain -l<PHONE_NUMBER>000000000000000000000000000000000000000000000000000003::ecdsa_k1 -a 1

Output:
Category:
  Name: EInvalidSignature
  Description:  Error if the signature is invalid.
Success

This abort code is defined in ecdsa_k1.move:
const EInvalidSignature: u64 = 1;

This works well, but if we have another custom error 66538:
thread 'tests::ecdsa_k1_validator_tests::test_validate' panicked at 'called `Result::unwrap()` on an `Err` value: VMError with status ABORTED with sub status 66538 at location Module ModuleId { address:<PHONE_NUMBER>000000000000000000000000000000000000000000000000000003, name: Identifier("ecdsa_k1_validator") } and message 0x0000000000000000000000000000000000000000000000000000000000000003::ecdsa_k1_validator::validate at offset 17 at code offset 17 in function definition 10'

And if we call the location with the abort code:
rooch move explain -l<PHONE_NUMBER>000000000000000000000000000000000000000000000000000003::ecdsa_k1_validator -a 66538

Will result an unexpected result:
Unable to find a description for<PHONE_NUMBER>000000000000000000000000000000000000000000000000000003::ecdsa_k1_validator::66538
Success

I think custom errors should also be handled? @steelgeek091
The cause might be extending signature length that the payload doesn't support.
The payload defaults 64-byte signature, but in ECDSA we have 65-byte recoverable signature: https://github.com/rooch-network/rooch/pull/551/files#diff-a813ae75dd946c80da62e40d5cf6797d34629e913dbc1350bee6258788935067R113-R114. @jolestar

rooch move explain -a 524289 -l 0x3::account raise an error.

After #602
rooch move explain -a 524289 -l 0x3::account
Category Code: 8
Category Name: ALREADY_EXISTS
Reason Code: 1
Reason Name: EAccountAlreadyExists
Code Description:  Account already exists

rooch move explain -a 1 -l 0x3::account
Category Code: 0
Category Name: Unknown
Reason Code: 1
Reason Name: EAccountAlreadyExists
Code Description:  Account already exists


question: How was going through the official documentation of DFFML and found that it does not support any OS other than LINUX, i'm a mac user. So, is there anyway I can use the software for personal usage as well as development?

Hi @anushka17agarwal, you should be able to use the software on MacOS, it's just not guaranteed to work at the moment. Please let us know how it goes and what issues you run into so that we can tack them. That way we will know what issues we need to resolve to be able to officially support it.

I'm looking into enabling the CI for MacOS: https://github.com/pdxjohnny/dffml/runs/1365842990
We have two issues around the cached download tests, but everything else is looking okay unit test wise.
======================================================================
ERROR: test_cached_download (tests.util.test_net.TestNet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 1350, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 1277, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 1323, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 1272, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 1032, in _send_output
    self.send(msg)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 972, in send
    self.connect()
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 944, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/socket.py", line 707, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/socket.py", line 752, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/runner/work/dffml/dffml/dffml/util/asynctestcase.py", line 69, in run_it
    result = self.loop.run_until_complete(coro(*args, **kwargs))
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
    return future.result()
  File "/Users/runner/work/dffml/dffml/.eggs/httptest-0.0.15-py3.7.egg/httptest/httptest.py", line 304, in wrap
    res = await func(*args, ts=self, **kwargs)
  File "/Users/runner/work/dffml/dffml/tests/util/test_net.py", line 81, in test_cached_download
    shutil.unpack_archive(await func(), extracted)
  File "/Users/runner/work/dffml/dffml/dffml/util/net.py", line 130, in wrapper
    url, protocol_allowlist=protocol_allowlist
  File "/Users/runner/work/dffml/dffml/dffml/util/net.py", line 57, in sync_urlopen
    return urllib.request.urlopen(url)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 1378, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 1352, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>

======================================================================
ERROR: test_cached_download_unpack_archive (tests.util.test_net.TestNet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 1350, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 1277, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 1323, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 1272, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 1032, in _send_output
    self.send(msg)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 972, in send
    self.connect()
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/http/client.py", line 944, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/socket.py", line 707, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/socket.py", line 752, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/runner/work/dffml/dffml/dffml/util/asynctestcase.py", line 69, in run_it
    result = self.loop.run_until_complete(coro(*args, **kwargs))
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
    return future.result()
  File "/Users/runner/work/dffml/dffml/.eggs/httptest-0.0.15-py3.7.egg/httptest/httptest.py", line 304, in wrap
    res = await func(*args, ts=self, **kwargs)
  File "/Users/runner/work/dffml/dffml/tests/util/test_net.py", line 101, in test_cached_download_unpack_archive
    self.verify_extracted_contents(await func())
  File "/Users/runner/work/dffml/dffml/dffml/util/net.py", line 214, in wrapper
    await extract()
  File "/Users/runner/work/dffml/dffml/dffml/util/net.py", line 130, in wrapper
    url, protocol_allowlist=protocol_allowlist
  File "/Users/runner/work/dffml/dffml/dffml/util/net.py", line 57, in sync_urlopen
    return urllib.request.urlopen(url)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 1378, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/Users/runner/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/urllib/request.py", line 1352, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>

----------------------------------------------------------------------


[RTC-39] Add vadNotification Media Event

Handle VAD notification, add onVadNotification callback
Fix onVadNotification callback

As we finally formatted the code it would be nice to enforce formatting in the CI pipeline
Sounds like something that should appear in Jira.

Created RTC-51


How to customize the configuration file by docker-compose.yml?

I want to start the mongodb service in docker-compose.yml and specify the database directory and log file output through a custom configuration file. How do I do this?

docker-compose.yml
version: "3"
services:
  mongod:
    image: mongo:4.1.13
    restart: always
    environment:
      MONGO_INITDB_ROOT_USERNAME: test
      MONGO_INITDB_ROOT_PASSWORD: test
    deploy:
      replicas: 1
    volumes:
      - /root/data/mongod:/root/data
      - /root/logs/mongod:/root/logs
      - ./mongod.conf:/etc/mongod.conf
    ports:
      - 27017:27017
    command: --config /etc/mongod.conf

mongod.conf
systemLog:
  verbosity: 0
  destination: file
  path: /root/logs/mongod.log
  timeStampFormat: iso8601-utc
storage:
  directoryPerDB: true
  dbPath: /root/data
  engine: wiredTiger
  wiredTiger:
    engineConfig:
      cacheSizeGB: 1
  journal:
    enabled: true
processManagement:
  fork: true
net:
  port: 27017
  bindIp: <IP_ADDRESS>
security:
  authorization: enabled

I can't start this service.

Have you found a way? I have this problem, too.

sh version: "3" services:   mongod:     image: mongo:4.1.13     restart: always     environment:       MONGO_INITDB_ROOT_USERNAME: test       MONGO_INITDB_ROOT_PASSWORD: test     deploy:       replicas: 1     volumes:       - /root/data/mongod:/root/data       - /root/logs/mongod:/root/logs       - ./mongod.conf:/etc/mongod.conf     entrypoint: ["mongod","--config","/etc/mongod.conf"]     ports:       - 27017:27017     command: --config /etc/mongod.conf
add   entrypoint: ["mongod","--config","/etc/mongod.conf"]


Fix Zeek 3.1 Deprecations

Any interest in a PR with Zeek 3.1 changes?  Rename .bro scripts to .zeek to eliminate deprecation warnings, switch to the new smb2_write_response event (thanks for the great comments to help with that), and switch from bro-pkg to zkg.  It's incompatible with Bro, of course.

Yes, that would be great.

Renamed .bro scripts to .zeek... complete.


Add appropriate tags for language

https://raku.guide/#_functional_programming
https://raku.guide/#_classes_objects
https://github.com/rakudo/rakudo#configuring-rakudo-to-run-on-moarvm
https://github.com/rakudo/rakudo#configuring-rakudo-to-run-on-the-jvm

I wasn't sure if compiled should be added, there is some compilation going on with module:
https://rakudocs.github.io/language/faq#What_is_precompilation?

I wasn't sure if compiled should be added, there is some compilation going on with modules:

I would only add compiled if the default way in which the language runs is for it to be compiled first. I assume Raku mostly uses an interpreter? If so, I'd omit the compiled tag.


Fetch/quotes

Added the following features :

APIs that generate random quotes from api ninja
Linters fix
improve UI

Status: Invalid 🔴
Hi @enmanuelbayen 🙋♀,
While you made a great effort in this project, I can't review your code.
Invalid Code Review Request
You have submitted a project that has a README that is not professional. Here are key points to consider when documenting your README.
Kindly document the Project description section. Write a detailed description explaining the functionality and features of the project.

Kindly delete the live demo section if the application is not deployed. If project requirements say to deploy the project, the section should be restored and the link updated. ✖

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers 🥂  and Happy coding!!! 👯
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me @KDlamini  in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


[WIP] Test with various crypto engines

Enable these crypto engines always when available:

afalg
devcrypto
padlock
dasync

Where dasync will have lowest precedence.

Is this still relevant?
Marking as inactive to be closed at the end of 3.4 dev barring further input.

The point is that, the engines don't work, therefore are all those tests are failed.
While with the equivalent PR for 1.1.1 (see #16750) all tests were passed.


<EMAIL_ADDRESS>Use mz or fs-extra^3.0 with Promise Support

Just a fyi, fs-promise is deprecated and they suggest using https://github.com/normalize/mz or https://www.npmjs.com/package/fs-extra instead.

Fixed by #181


Add timeout for read data from connection

Problem
This issue happens when the fluentd server is configured with tls, but we try to connect to it without tls in Rancher.
In this case if you click Test button, the UI hangs.

Reason
Steps to check the connectivity is following:

Create the connection (tcp handshake, ssl handshake)
Read data from fluentd to get nonce from server
Use nonce to generate fluentd ping and send ping to fluentd server
Get pong from fluentd server

You can see that the tcp handshake is finished, but fluentd throw error about tls in the screenshots.
Now the step for getting nonce from fluentd get blocked.
connection status:

fluentd log:

Solution
Add a read function which supports timeout. Then we can use it when user click Test button in UI. The change is safe and it only impacts the Test feature.
Related Issue
https://github.com/rancher/rancher/issues/18575

rebase master to resolve conflict

LGMT


fix(layout): 修复无列头时行头对应的角头不显示 close #1929

👀 PR includes

✨ Feature

[ ] New feature

🎨 Enhance

[ ] Code style optimization
[ ] Refactoring
[ ] Change the UI
[ ] Improve the performance
[ ] Type optimization

🐛 Bugfix

[x] Solve the issue and close #1929

🔧 Chore

[x] Test case
[x] Docs / demos update
[ ] CI / workflow
[ ] Release version
[ ] Other ()

📝 Description

修复无列头的场景下, 行头对应的角头不展示
补充隐藏数值相应 demo

🖼 Screenshot

Before
After

🔗 Related issue link

🔍 Self-Check before the merge

[x] Add or update relevant docs.
[x] Add or update relevant demos.
[x] Add or update test case.
[x] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.41.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.36.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-v2.0.0-next.5 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v2.0.0-next.4 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Debian support

Adjust stackanetes to debian based images.

@PiotrProkop: you need to adjust readme to those changes ;)

Ok

All workarounds move to Backlog list in jira.

LGTM


[dev-Enhancement]: Indoors (dungeon/cave/etc) cleared checks and unknown checks should not overlap

I can provide a json if needed, but basically: when you have marked something and collected it, it should no longer show up in the overworld check map if there are more than one checks in that area. I have sword already in this.

additional context, sorry

You're right, the logic for that was too simple. Should be fixed now - it'll show an unchecked item if one exists, but checked items won't appear on the overworld node.
Overworld nodes with only a single check in them will still show the item they contained once checked. What do you think about that? I'm tempted to hide that once checked too, it's kind of hard to tell that it's checked for some items (like your heart piece screenshot)

I think if we reduced the size by maybe 3/4ths, or even just 7/8ths, it would allievate that difficulty to determine while not sacrificing legibility of the item: but single-checks would be something i would like to keep displayed, personally.

Yeah, makes sense. I just tweaked the size, how's that look to you?

that looks pretty good: theyre pretty unambiguiously checked or not checked now, and the items arent perfect to see, but theyre not bad. maybe a an eighth/16th up?

Ok, it's a little bigger now - I think I'll call it good


Optimize block wand for one and several TermScorer.

I made some changes to your initial commit @fulmicoton

first, based on the paper of Ding and Suel I made a small change on the block wand algorithm. The function block_max_was_too_low_advance_one_scorer now takes the min of all last doc id scorers until the pivot scorer. Before, we were taking the doc() of the pivot scorer.
secondly, I think there was a tiny bug in block_max_was_too_low_advance_one_scorer: we were doing doc_to_seek_after + 1 even on scorer after the pivot. This a very small probability to miss a document here, I think we should not add +1 in this case.
at last, I added the implementation for the case where we have one TermScorer because the code is simple and readable and the performance is far better (around x3 faster). With that, we are on par with Lucene.

I also created a branch with the benchmark results here: https://github.com/quickwit-inc/search-benchmark-game/tree/blockwand-for-termquery
I noticed that the performance is better on average:

Top 10 - ALL:  1,482 μs VS 1,660 μs
Top 10 - UNION: 1,288 μs VS 1,507 μs

But I noticed an issue for unions with a number of tokens > 3: 4,561 μs VS 4,418 μs
It seems that the optimization I made is useful for a low number of tokens but it is no more the case with a high number of them. Now I'm wondering if you did a small adjustment on the Ding and Suel algorithm on purpose.

Codecov Report

Merging #1190 (7f9627c) into main (5916ced) will increase coverage by 0.00%.
The diff coverage is 98.21%.

@@           Coverage Diff           @@
##             main    #1190   +/-   ##
=======================================
  Coverage   93.99%   93.99%
=======================================
  Files         204      204
  Lines       34606    34656   +50
=======================================
+ Hits        32528    32575   +47
- Misses       2078     2081    +3

Impacted Files
Coverage Δ

src/query/boolean_query/mod.rs
100.00% <ø> (ø)

src/query/boolean_query/block_wand.rs
96.81% <98.18%> (+0.37%)
:arrow_up:

src/query/term_query/term_weight.rs
95.06% <100.00%> (ø)

src/fastfield/reader.rs
94.06% <0.00%> (-0.85%)
:arrow_down:

src/directory/watch_event_router.rs
95.41% <0.00%> (-0.77%)
:arrow_down:

src/postings/stacker/expull.rs
93.44% <0.00%> (-0.44%)
:arrow_down:

Continue to review full report at Codecov.

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

Ok there is one more subtleties to take into account: we need to advance the scorer that have the greatest idf. I will update the algorithm and the benchmark.


'No suitable driver found' for MySQL Kotlin integration

Simple Kotlin FTL module intended to ping a locally running MySQL db
package ftl.mysql

import java.sql.Connection
import java.sql.DriverManager
import java.util.Properties
import xyz.block.ftl.Context
import xyz.block.ftl.Verb

data class MysqlRequest(val nothing: String)
data class MysqlResponse(val nothing: String)

class MySql {
  val connection: Connection

  init {
    // todo config these things
    val host = "localhost"
    val port = 3306
    val user = "root"
    val password = "tbd"
    val database = "db-name"
    val info = Properties()
    info["user"] = "root"
    info["password"] = "tbd"

    // Initialize MySQL connection using JDBC
    val url = "jdbc:mysql://${host}:${port}/${database}"
    this.connection = DriverManager.getConnection(url, info)
  }

  @Verb
  fun ping(context: Context, request: MysqlRequest): MysqlResponse {
    println("Connecting to MySQL..")

    val stmt = connection.createStatement()
    val rs = stmt.executeQuery("SELECT 1")

    if (rs.next()) {
      println("Successfully pinged MySQL!")
    } else {
      throw Exception("Failed to ping MySQL.")
    }

    return MysqlResponse("Hello world")
  }
}

Throws an error when calling ftl call mysql.ping
info:mysql: Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/<name>
info:mysql: 	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:706)
info:mysql: 	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:190)
info:mysql: 	at ftl.mysql.MySql.<init>(Module.kt:28)
info:mysql: 	... 24 more
error:controller0: Unary RPC failed: unknown: /xyz.block.ftl.v1.VerbService/Call
2023/11/06 18:39:28 ignoring invalid trailer "Content-Type"

I've confirmed the local MySQL instance is running (it's running within a Docker container but which is published to be addressable from the local network interface)
ftl/examples on  main via 🐹 v1.21.3 via ☕ v17.0.6 on 🐳 v24.0.6
➜ mysql -h <IP_ADDRESS> -P 3306 -u root -p

Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 17
Server version: 8.0.32 MySQL Community Server - GPL

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

@KendallWeihe can provide more context

I'm not sure how JDBC works exactly, but this indicates to me that there's no MySQL driver registered with JDBC? The docs indicate you might need to instantiate the driver explicitly, have you done that?

Uhh that may be the case... but that would strike me as odd. What's odd is I have this code running in a classic java command-line app which connects to the same db without issue. It's only when I deploy the code to the FTL cluster that this issue arises. I presumed it has something to do with the way the FTL Kotlin runner is setup 🤔
I can try to interface with an RDS instance and see if I run into the same issues (will have to do tomorrow tho)

This was due to a missing dependency in the module code.


[make] full implementation according specification

@jgarzik ready for review

@jgarzik took into account. is there anything?


Include link to Product Hunt (#13) and a link to the Github Repo (#14)

Issues with github corner on smaller devices


Update wrapper to 8.4-20230719142735+0000

To dogfood #25813.

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

@bot-gradle test and merge

I've triggered a build for you. Click here to see all failures if there's any.


Proxy Size

What is the ideal , suggested proxy size ?
No idea to put the value.
Thanks

i tried 10 with 1024 threads and successful with a random website (well, no real harm've been made).
you can lower or increase it as you wish.

What is the ideal , suggested proxy size ? No idea to put the value.
Thanks

Hi,
If your system is capable enough then go for 50+ threads and 1000+ proxies, eg: 65 Threads and 1200 Proxies
Regards,
Karthik Lal

can i use it on bgmi server as ddos


Any easy way to Rate Limit?

I am writing a REST Client for Webull API. On some testing I found that Instead of simultaneously sending all requests, sending a request at small interval(10ms) drastically improves execution time(1/3 of previous).
I am currently using tower for this rate limiting, since isahc already has good configurability, I was wondering may be you can add something like this?
https://gist.github.com/akashgurava/d20638686db13badccab5b1ec51a5ab5

On some testing I found that Instead of simultaneously sending all requests, sending a request at small interval(10ms) drastically improves execution time(1/3 of previous).

In Isahc, all requests go through an HTTP client. The free-standing functions create an implicit global client lazily. I suspect the times you are seeing is because when you send all requests at once, then all requests are waiting for the client to initialize. If you send the requests one after the other, then only the first request is waiting for the client to initialize.
If you want to initialize a client beforehand, I recommend creating your own HttpClient instance so that the client initialization isn't included in your benchmark.
As far as rate limiting, I think that would be out of scope for Isahc to include, though it would be a good use case for interceptors which are currently unstable (#247).

I am already using the client. I will check to see how I can leverage interceptors. Thank you.


Content formats guidance: main page

What
A page to help people decide what content formats to try in addition to written English.
Giving use cases and things to consider about using:

Video (including British Sign Language videos)
Audio
Photography, conditional images, self care images
Easy Read
Sequential images
Anatomical illustrations
Instructional illustrations or imagery
Character illustrations
Icons

Why
We want to give the same information to everybody. We also have an obligation to do so under the equality act, the accessible information standard and the BSL bill (currently going through parliament, Dec 2021).
Done When

[x] Sense check meeting with Rich, Sara and Pete
[ ] First draft written in google docs (by Pete)
[ ] Run a content crit

I'll take this one forward. Pete has written up a piece on Choosing content formats in Confluence.
Next steps:

I'll break it up across several pages in Confluence.
Rich to include images and/or links.
Rich/multimedia team to clarify use of illustration versus photos, esp with skin tone - see Pete's comments on the Confluence page.
We present it to next Style Council meeting and seek wider input/comment, and iterate.
We prototype it, test it with content designers and iterate it before taking it back to Style Council for approval, hopefully.

Related issues

#1680
#1679

This has been overtaken by other priorities for the March meeting. But I'll put it into the To Do column for April.


Mx build js failed on top of java jdk 10.0.1 and mac os x

Hi,
I tried to build graaljs regarding building-graal.js.md.
During build a high number of jdk 1.8 not available and distribution ... was removed errors
are thrown.
After build mx js fails with
Distribution named GRAALS_LAUNCHER was not foud:
distribution GRAALS_LAUNCHER was removed as all its dependencies were removed
As prerequisites JDK 9 or later is named, so build should be possible on top of JDK 10.
/dehade

@wirthi does GraalJS use any JDK internal API? If not, then this issue can be resolved by changing the javaCompliance attribute for all projects in suite.py to 1.8+.
For my background on this @dehade , see http://mail.openjdk.java.net/pipermail/graal-dev/2018-June/005410.html.

I wouldn't know where we did. @ansalond do you think this is reasonable to do? Why is it not happening in our builds?

Any news ?
As dougxc suggested after "mx sforceimports" i changed javaCompliance from 1.8 to 1.8+ in all found suite.py in mx, graal and graaljs. With this "mx build" seem to succeed. "mx js" could be executed.

Hello @dehade, thank you for your feedback.
You can build Graal.js without modifications either by:

setting the JAVA_HOME environment variable to point to a JDK8

or

setting the JAVA_HOME environment variable to point to a JDK9 (or later) and EXTRA_JAVA_HOMES to point to a JDK8 (@wirthi: this is what we do in our internal builds)

Would this be ok with you?
I am going to update our build instructions to reflect this.
@dougxc, we could change the javaCompliance of Graal.js' projects to 1.8+ but, as @dehade noticed, we should do the same for all the projects (in sdk, truffle, regex) that create a distribution on which Graal.js depends.

Hello @ansalond,
what you suggested worked for me too.  So this is currently ok.
If there are no reasons/ special dependencies to jdk 8, for a future planned release
of graal js, it would be good to depend only of one type of jdk.
Maybe a hint to the javaCompliance patch to 1.8+ would be helpful in the build instructions too.
Currently with the patches graal js seem to run on single jdk 10. So i‘ll start my migration test from
Nashorn with this build.
Thanks for you all support.

Thanks for your feedback, we'll improve our build instructions.

@dehade the JDK8 build requirement has recently been lifted, so it should be possible to build with a JDK11 JAVA_HOME only, too.
Let us know if you run into any problems still.

Issue can be closed.


Use requests built-in funcitonality to retry requests

While testing the home assistant integration I began to get several 429 responses from the homeconnect API and eventually was blocked for several hours. I noticed the API server included the Retry-After header so thought it would make sense to setup the retry logic built into the requests package.
429 with Retry-After in the header
send: b'GET /api/homeappliances/SIEMENS-HCS03WCH1-7BC6383CF794/status HTTP/1.1\r\nHost: simulator.home-connect.com\r\n...
reply: 'HTTP/1.1 429 Too Many Requests\r\n'
header: Date: Wed, 07 Feb 2024 19:15:08 GMT
header: Content-Type: application/vnd.bsh.sdk.v1+json
header: Content-Length: 181
header: Connection: keep-alive
header: Vary: Origin
header: Retry-After: 4

Retry after 4 seconds
send: b'GET /api/homeappliances/SIEMENS-HCS03WCH1-7BC6383CF794/status HTTP/1.1\r\nHost: simulator.home-connect.com\r\n...
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 07 Feb 2024 19:15:13 GMT
header: Content-Type: application/vnd.bsh.sdk.v1+json
header: Content-Length: 484
header: Connection: keep-alive
header: Vary: Origin

What's stopping the merge?

Apologies, will review & merge very soon.

How soon😅?

Sorry for the delay. Can you please do me a favour and confirm that you have tested this to work also with the new v2.0.0 release of requests_oauthlib? I can't test it right now unfortunately.

Sorry for the delay. Can you please do me a favour and confirm that you have tested this to work also with the new v2.0.0 release of requests_oauthlib? I can't test it right now unfortunately.

No worries. I added some unit tests in the last commit and did some integration testing with Home Assistant (which had v2.0.0 of requests_oauthlib:
>>> import requests_oauthlib
>>> requests_oauthlib.__version__
'2.0.0'

urllib3 debug logs:
2024-06-26 17:33:11.672 DEBUG (SyncWorker_4) [urllib3.connectionpool] https://simulator.home-connect.com:443 "GET /api/homeappliances/BOSCH-HCS01OVN1-43E0065FE245/programs/available/Cooking.Oven.Program.HeatingMode.TopBottomHeating HTTP/1.1" 429 182
2024-06-26 17:33:11.673 DEBUG (SyncWorker_4) [urllib3.util.retry] Incremented Retry for (url='/api/homeappliances/BOSCH-HCS01OVN1-43E0065FE245/programs/available/Cooking.Oven.Program.HeatingMode.TopBottomHeating'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
2024-06-26 17:33:44.674 DEBUG (SyncWorker_4) [urllib3.connectionpool] Retry: /api/homeappliances/BOSCH-HCS01OVN1-43E0065FE245/programs/available/Cooking.Oven.Program.HeatingMode.TopBottomHeating
2024-06-26 17:33:44.866 DEBUG (SyncWorker_4) [urllib3.connectionpool] https://simulator.home-connect.com:443 "GET /api/homeappliances/BOSCH-HCS01OVN1-43E0065FE245/programs/available/Cooking.Oven.Program.HeatingMode.TopBottomHeating HTTP/1.1" 200 518

2024-06-26 17:34:14.413 DEBUG (SyncWorker_3) [urllib3.connectionpool] https://simulator.home-connect.com:443 "GET /api/homeappliances/SIEMENS-HCS03WCH1-7BC6383CF794/status/BSH.Common.Status.DoorState HTTP/1.1" 429 182
2024-06-26 17:34:14.413 DEBUG (SyncWorker_3) [urllib3.util.retry] Incremented Retry for (url='/api/homeappliances/SIEMENS-HCS03WCH1-7BC6383CF794/status/BSH.Common.Status.DoorState'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
2024-06-26 17:34:45.414 DEBUG (SyncWorker_3) [urllib3.connectionpool] Retry: /api/homeappliances/SIEMENS-HCS03WCH1-7BC6383CF794/status/BSH.Common.Status.DoorState
2024-06-26 17:34:45.606 DEBUG (SyncWorker_3) [urllib3.connectionpool] https://simulator.home-connect.com:443 "GET /api/homeappliances/SIEMENS-HCS03WCH1-7BC6383CF794/status/BSH.Common.Status.DoorState HTTP/1.1" 200 113A

Also saw this exception so added a handler for it since I didn't know if I should leave:
2024-06-26 19:13:36.399 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [281472438265760] Unexpected exception
Traceback (most recent call last):
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 896, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 886, in urlopen
    retries = retries.increment(method, url, response=response, _pool=self)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='simulator.home-connect.com', port=443): Max retries exceeded with url: /api/homeappliances/SIEMENS-HCS03WCH1-7BC6383CF794/programs/active (Caused by ResponseError('too many 429 error responses'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/workspaces/core/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/core/homeassistant/core.py", line 2728, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/workspaces/core/homeassistant/core.py", line 2771, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/core/homeassistant/helpers/service.py", line 999, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/core/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/workspaces/core/homeassistant/components/home_connect/switch.py", line 67, in async_turn_on
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/homeconnect/api.py", line 368, in start_program
    return self.put("/programs/active", {"data": {"key": program_key}})
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/homeconnect/api.py", line 333, in put
    return self.hc.put(
           ^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/homeconnect/api.py", line 106, in put
    res = self.request(
          ^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/homeconnect/api.py", line 82, in request
    return getattr(self._oauth, method)(url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/requests/sessions.py", line 649, in put
    return self.request("PUT", url, data=data, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/requests_oauthlib/oauth2_session.py", line 566, in request
    return super(OAuth2Session, self).request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vscode/.local/ha-venv/lib/python3.12/site-packages/requests/adapters.py", line 691, in send
    raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='simulator.home-connect.com', port=443): Max retries exceeded with url: /api/homeappliances/SIEMENS-HCS03WCH1-7BC6383CF794/programs/active (Caused by ResponseError('too many 429 error responses'))


SyntaxError: Could not parse Task title

Hello, thanks for his project! I just installed in my Ubuntu 20.04 box and the gtasks-md auth command worked, I think, but when I run gtasks-md view, I got the following error:
Traceback (most recent call last):
  File "/home/pfsmorigo/.local/bin/gtasks-md", line 8, in <module>
    sys.exit(main())
  File "/home/pfsmorigo/.local/lib/python3.10/site-packages/app/cli.py", line 62, in main
    view(service)
  File "/home/pfsmorigo/.local/lib/python3.10/site-packages/app/cli.py", line 141, in view
    _, text = fetch_task_lists(service)
  File "/home/pfsmorigo/.local/lib/python3.10/site-packages/app/cli.py", line 174, in fetch_task_lists
    return task_lists, task_lists_to_markdown(task_lists)
  File "/home/pfsmorigo/.local/lib/python3.10/site-packages/app/pandoc.py", line 94, in task_lists_to_markdown
    OrderedList(ORDERED_FIRST_ELEM, tasks_to_pandoc(task_list.tasks))
  File "/home/pfsmorigo/.local/lib/python3.10/site-packages/app/pandoc.py", line 49, in tasks_to_pandoc
    pandoc_tasks.append(task_to_pandoc(task, has_notes))
  File "/home/pfsmorigo/.local/lib/python3.10/site-packages/app/pandoc.py", line 75, in task_to_pandoc
    raise SyntaxError(f"Could not parse Task title {task.title}")
SyntaxError: Could not parse Task title

I'm using pandoc version <IP_ADDRESS>-3ubuntu2. Maybe that's the reason?
Thanks in advance!

Oh cool. Those empty tasks are usually when you are using the app and press the enter after adding a task. I'm trying to use google tasks again after some years and there were lots of very old items there. I clean it up and remove the empty task and worked even using the current version. Thanks for this fix!


Add an estimated reading time to articles

We'd like to add a "read time" component to articles, telling readers how long we estimate it will take to read. This will be especially useful as the content team starts to experiment with longer-form pieces and long-reads.
This needs some design work to decide where this information will go on the page, and some dev work to decide how we estimate read time, and putting it on the page.

This might be a useful tool https://github.com/lbenie/reading-time-estimator#readme


fix build deb with seccomp feature in ubuntu-trusty

when I build deb for ubuntu-trusty with seccomp, " dpkg-shlibdeps: error: no dependency information found for /usr/lib/libseccomp.so.2” appears,that is the low version problem of libseccomp.in https://github.com/docker/docker/pull/18949, jfrazelle remove seccomp to fix libseccomp version problem.
I find another way to fix it,  add the following to hack/make/.build-deb/rules:
override_dh_shlibdeps:
       dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

WDYT? ping @jfrazelle
Signed-off-by: yangshukui<EMAIL_ADDRESS>

Ping @tianon this feels like it will definitely lead to linking issues

ya i am really not comfotable with this, the user will have to have the correct libs installed otherwise they will get errors

Yeah, I don't quite know what the implications of this would be -- this
seems like it's just taking the warnings/errors and hiding them under the
rug (telling the tools to ignore legitimate linking issues)

ok i think we can close thanks


⚠ Fortnite has degraded performance

In 37a9d8c, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1696 ms

Resolved: Fortnite performance has improved in aa7f964.


Aggregate ownership of entities

Parent group should aggregate ownership of entities on group page
Feature Suggestion

I have an idea, if a group has children, the values of entities in the ownership section should recursively aggregate across all of it children and at the current group level. Clicking on the entity type box should take the user to the filtered catalog page and show all of the entities that are included in the aggregated result.
For example: team-a has two children : team-a1 and team a2. Team-a has 2 GRPC API, and each of the children has 3 GRPC API entities, so when I open team-a group page in the Ownership Card, the number of services should show the total number of GRPC API (which is 8), and when I click the GRPC box it should show me all those 8 GRPC API in the filtered catalog page.
Is it possible to implement ? Thank You
Possible Implementation

Context

Hi!
The easiest way to achieve this, would be to contribute an addition to the group page. It could work as follows:

Add a dropdown or similar switcher, that lets users pick between "Direct ownership" and "Transitive ownership" view mode.
If "direct" is shown, everything works as it does today
If "transitive" is shown, the typescript code in the page actually goes to the catalog to look up what all child groups are of the current group, and show counts based on entities that have an ownedBy relation to ANY one of those groups.
In the "transitive" mode, the query used when clicking to go to the catalog page will be a bit more advanced (it'll select multiple owners instead of one), but will work similarly.

This is kind of a single-purpose local-only fix that makes it work on that particular page. There will be other parts of the interface that may not have the corresponding function. But I think that that's the best we can do for now.
Does that make sense? Is that something you might want to try to contribute?

@freben Hmm, if I ask "what does team-a own" in this context (or in Spotify context -- what does Tribe X, as an entire organization, own), I would expect the things owned by descendent groups to show up. That follows the principle of least surprise to me, not getting a truncated list and rationale of "oh, Tribe X doesn't own that specifically 🙄 , it's Squad Y (who is directly under Tribe X)". This would imply that the catalog stitching should resolve these transitive relationships and include them on the entity 🤔  then no change would be needed here.

@timbonicus Hmm what is catalog stitching anyway ? can u explain it to me.

@prasaria Docs are being written: https://github.com/backstage/backstage/pull/6992 :) It's an internal process when different pieces of information are assembled together to form the final entity shape.

Ok, so is this feature / concept already available in backstage or does it still in development process ? I see some code about Sticther btw, but not sure if it is already work like @timbonicus said.

The stitcher is in place and being used, yeah.
@timbonicus I think the ownedBy relation is really intended to be used for immediate ownership. I do not think we can readily assume that this kind of transitive actual ownership (which might be said to cover concepts such as perceived or real responsibility, chains of command, on-call etc) is what applies everywhere. This is one reason why the ownership RFC left it up to the org to decide how they want the ent claim to be populated - transitively or not.

Hello @freben , if I want to contribute which one should I choose here ? From my understanding here, that we are lean towards your first suggestion, am I correct ?

I'd vote for that short term yeah.

hello, I want to continue to develop this issue, please dont close it yet. Thank you


Update sql-server-linux-configure-mssql-conf.md

Keeping the configuration list consistent!

@rabryst : Thanks for your contribution! The author(s) have been notified to review your proposed change.

confirm correction