service_2/breakpoint_in_package_parts_class_file_uri_test went flaky -> RuntimeError

The tests
service_2/breakpoint_in_package_parts_class_file_uri_test/dds RuntimeError (expected Pass)
service_2/breakpoint_in_package_parts_class_file_uri_test/service RuntimeError (expected Pass)

are failing on configurations
app_jitk-linux-release-x64

The tests were flaky until recently.
From log:
>testee>out> Instance of 'Foo10'

Running out.jitsnapshot [4/4]

00:00 +0 -1: out.jitsnapshot (DDS) [E]

  Expected: <true>
    Actual: <false>
  Expects at least 2 breaks, got 0.

  package:test_api/src/frontend/expect.dart 155:31                       fail
  package:test_api/src/frontend/expect.dart 150:3                        _expect
  package:test_api/src/frontend/expect.dart 59:3                         expect
  runtime/observatory_2/tests/service_2/service_test_common.dart 603:5   checkRecordedStops.<fn>
  runtime/observatory_2/tests/service_2/service_test_common.dart 552:10  checkRecordedStops.<fn>
  runtime/observatory_2/tests/service_2/test_helper.dart 455:27          _ServiceTesterRunner.run.runTest.<fn>.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1294:19                                           _CustomZone.registerBinaryCallback
  dart:async-patch/async_patch.dart 61:8                                 _asyncErrorWrapperHelper
  package:test_api/src/backend/invoker.dart                              Invoker.waitForOutstandingCallbacks.<fn>
  dart:async/zone.dart 1354:13                                           _rootRun
  dart:async/zone.dart 1258:19                                           _CustomZone.run
  dart:async/zone.dart 1789:10                                           _runZoned
  dart:async/zone.dart 1711:10                                           runZoned
  package:test_api/src/backend/invoker.dart 228:5                        Invoker.waitForOutstandingCallbacks
  package:test_api/src/backend/invoker.dart 383:17                       Invoker._onRun.<fn>.<fn>.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1286:19                                           _CustomZone.registerUnaryCallback
  dart:async-patch/async_patch.dart 45:22                                _asyncThenWrapperHelper
  package:test_api/src/backend/invoker.dart                              Invoker._onRun.<fn>.<fn>.<fn>
  dart:async/zone.dart 1354:13                                           _rootRun
  dart:async/zone.dart 1258:19                                           _CustomZone.run
  dart:async/zone.dart 1789:10                                           _runZoned
  dart:async/zone.dart 1711:10                                           runZoned
  package:test_api/src/backend/invoker.dart 370:9                        Invoker._onRun.<fn>.<fn>
  package:test_api/src/backend/invoker.dart 415:15                       Invoker._guardIfGuarded
  package:test_api/src/backend/invoker.dart 369:7                        Invoker._onRun.<fn>
  package:stack_trace/src/chain.dart 94:24                               Chain.capture.<fn>
  dart:async/zone.dart 1354:13                                           _rootRun
  dart:async/zone.dart 1258:19                                           _CustomZone.run
  dart:async/zone.dart 1789:10                                           _runZoned
  dart:async/zone.dart 1711:10                                           runZoned
  package:stack_trace/src/chain.dart 92:12                               Chain.capture
  package:test_api/src/backend/invoker.dart 368:11                       Invoker._onRun
  package:test_api/src/backend/live_test_controller.dart 153:11          LiveTestController.run
  dart:async/future.dart 198:37                                          new Future.microtask.<fn>
  dart:async/zone.dart 1346:47                                           _rootRun
  dart:async/zone.dart 1258:19                                           _CustomZone.run
  dart:async/zone.dart 1162:7                                            _CustomZone.runGuarded
  dart:async/zone.dart 1202:23                                           _CustomZone.bindCallbackGuarded.<fn>
  dart:async/zone.dart 1354:13                                           _rootRun
  dart:async/zone.dart 1258:19                                           _CustomZone.run
  dart:async/zone.dart 1162:7                                            _CustomZone.runGuarded
  dart:async/zone.dart 1202:23                                           _CustomZone.bindCallbackGuarded.<fn>
  dart:async/schedule_microtask.dart 40:21                               _microtaskLoop
  dart:async/schedule_microtask.dart 49:5                                _startMicrotaskLoop
  dart:isolate-patch/isolate_patch.dart 120:13                           _runPendingImmediateCallback
  dart:isolate-patch/timer_impl.dart 402:11                              _Timer._runTimers
  dart:isolate-patch/timer_impl.dart 426:5                               _Timer._handleMessage
  dart:isolate-patch/isolate_patch.dart 184:12                           _RawReceivePortImpl._handleMessage

Logs:
https://dart-ci.appspot.com/log/app-kernel-linux-release-x64/app_jitk-linux-release-x64/10713/service_2/breakpoint_in_package_parts_class_file_uri_test/dds
https://dart-ci.appspot.com/log/app-kernel-linux-release-x64/app_jitk-linux-release-x64/10713/service_2/breakpoint_in_package_parts_class_file_uri_test/service
@bkonyi

Turned from flaky to RuntimeError again.
Recent logs:
--- Command "app_jit" (took 37.000326s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --snapshot=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/app_jitk-linux-release-x64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/out.jitsnapshot --snapshot-kind=app-jit --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/runtime/observatory_2/tests/service_2/breakpoint_in_package_parts_class_file_uri_test.dart

exit code:
0

stdout:
Info: Compiling without sound null safety
00:00 +0: breakpoint_in_package_parts_class_file_uri_test.dart (VM Service)

** Launching SERVICE_TEST_TESTEE=true out/ReleaseX64/dart --disable-dart-dev --pause-isolates-on-start --pause-isolates-on-exit --write-service-info=file:///b/s/w/ir/x/t/dart_serviceEJXIAG/service_info.json --profiler --snapshot=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/app_jitk-linux-release-x64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/out.jitsnapshot --snapshot-kind=app-jit --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --enable-vm-service:0 /b/s/w/ir/cache/builder/sdk/runtime/observatory_2/tests/service_2/breakpoint_in_package_parts_class_file_uri_test.dart

>testee>out> Observatory listening on http://<IP_ADDRESS>:37371/OSgKRL83Pow=/

** Signaled to run test queries on http://<IP_ADDRESS>:37371/OSgKRL83Pow= (VM Service)

Loading VM...

Done loading VM

Running breakpoint_in_package_parts_class_file_uri_test.dart [1/4]

Paused with PauseStart

Running breakpoint_in_package_parts_class_file_uri_test.dart [2/4]

Setting breakpoint for line 87 in file:///b/s/w/ir/cache/builder/sdk/runtime/observatory_2/tests/service_2/observatory_test_package_2/the_part.dart

Breakpoint is Breakpoint 1 at the_part.dart:87[unresolved]

Running breakpoint_in_package_parts_class_file_uri_test.dart [3/4]

>testee>out> hello from foo!

>testee>out> Instance of 'Foo10'

Running breakpoint_in_package_parts_class_file_uri_test.dart [4/4]

All service tests completed successfully.

** Killing script

00:17 +1: All tests passed!

** Process exited

--- Command "vm" (took 01.000556s):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/app_jitk-linux-release-x64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/out.jitsnapshot

exit code:
255

stdout:
00:00 +0: out.jitsnapshot (VM Service)

** Launching SERVICE_TEST_TESTEE=true out/ReleaseX64/dart --disable-dart-dev --pause-isolates-on-start --pause-isolates-on-exit --write-service-info=file:///b/s/w/ir/x/t/dart_serviceQBJAJS/service_info.json --profiler --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages --enable-vm-service:0 /b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/app_jitk-linux-release-x64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/out.jitsnapshot

>testee>out> Observatory listening on http://<IP_ADDRESS>:37249/G60R1B4_rOk=/

** Signaled to run test queries on http://<IP_ADDRESS>:37249/G60R1B4_rOk= (VM Service)

Loading VM...

Done loading VM

Running out.jitsnapshot [1/4]

Paused with PauseStart

Running out.jitsnapshot [2/4]

Setting breakpoint for line 87 in file:///b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/app_jitk-linux-release-x64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/observatory_test_package_2/the_part.dart

Breakpoint is Breakpoint 1 at file:///b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/app_jitk-linux-release-x64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/observatory_test_package_2/the_part.dart:87[unresolved]

Running out.jitsnapshot [3/4]

>testee>out> hello from foo!

>testee>out> Instance of 'Foo10'

Running out.jitsnapshot [4/4]

00:00 +0 -1: out.jitsnapshot (VM Service) [E]

  Expected: <true>
    Actual: <false>
  Expects at least 2 breaks, got 0.

  package:test_api/src/expect/expect.dart 137:31                         fail
  package:test_api/src/expect/expect.dart 132:3                          _expect
  package:test_api/src/expect/expect.dart 46:3                           expect
  runtime/observatory_2/tests/service_2/service_test_common.dart 605:5   checkRecordedStops.<fn>
  runtime/observatory_2/tests/service_2/service_test_common.dart 554:10  checkRecordedStops.<fn>
  runtime/observatory_2/tests/service_2/test_helper.dart 457:27          _ServiceTesterRunner.run.runTest.<fn>.<fn>
  ===== asynchronous gap ===========================
  runtime/observatory_2/tests/service_2/test_helper.dart 356:9           _ServiceTesterRunner.run.ignoreLateException
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 199:9                       Declarer.test.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 197:7                       Declarer.test.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/invoker.dart 257:7                        Invoker._waitForOutstandingCallbacks.<fn>

Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.
** Killing script

00:00 +0 -1: Some tests failed.

stderr:
Unhandled exception:
Dummy exception to set exit code.

--- Re-run this test:
python3 tools/test.py -n app_jitk-linux-release-x64 service_2/breakpoint_in_package_parts_class_file_uri_test/service

https://dart-ci.appspot.com/log/app-kernel-linux-release-x64/app_jitk-linux-release-x64/11924/service_2/breakpoint_in_package_parts_class_file_uri_test/service
https://dart-ci.appspot.com/log/app-kernel-linux-release-x64/app_jitk-linux-release-x64/11924/service_2/breakpoint_in_package_parts_class_file_uri_test/dds

Happened again, same error. Marking test as RuntimeError again.

This test also turned from flaky to RuntimeError on dartk-linux-release-simarm64 configuration.
Log:
--- Command "vm_compile_to_kernel" (took 08.000414s):
DART_CONFIGURATION=ReleaseSIMARM64 /b/s/w/ir/pkg/vm/tool/gen_kernel --no-aot --platform=out/ReleaseSIMARM64/vm_platform_strong.dill -o /b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk-linux-release-simarm64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/out.dill /b/s/w/ir/runtime/observatory_2/tests/service_2/breakpoint_in_package_parts_class_file_uri_test.dart -Dtest_runner.configuration=dartk-linux-release-simarm64 --packages=/b/s/w/ir/.dart_tool/package_config.json -Ddart.vm.product=false

exit code:
0

--- Command "vm" (took 09.000608s):
DART_CONFIGURATION=ReleaseSIMARM64 out/ReleaseSIMARM64/dart -Dtest_runner.configuration=dartk-linux-release-simarm64 --ignore-unrecognized-flags --packages=/b/s/w/ir/.dart_tool/package_config.json /b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk-linux-release-simarm64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/out.dill

exit code:
255

stdout:
00:00 +0: out.dill (VM Service)

** Launching SERVICE_TEST_TESTEE=true out/ReleaseSIMARM64/dart --disable-dart-dev --pause-isolates-on-start --pause-isolates-on-exit --write-service-info=file:///b/s/w/itedz43yuy/dart_serviceQVZXTV/service_info.json --profiler -Dtest_runner.configuration=dartk-linux-release-simarm64 --ignore-unrecognized-flags --packages=/b/s/w/ir/.dart_tool/package_config.json --enable-vm-service:0 /b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk-linux-release-simarm64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/out.dill

>testee>out> The Dart VM service is listening on http://<IP_ADDRESS>:45401/3PKJOEn7ZTg=/

** Signaled to run test queries on http://<IP_ADDRESS>:45401/3PKJOEn7ZTg= (VM Service)

Loading VM...

Done loading VM

Running out.dill [1/4]

Paused with PauseStart

Running out.dill [2/4]

Setting breakpoint for line 87 in file:///b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk-linux-release-simarm64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/observatory_test_package_2/the_part.dart

Breakpoint is Breakpoint 1 at file:///b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk-linux-release-simarm64/runtime_observatory_2_tests_service_2_breakpoint_in_package_parts_class_file_uri_test/observatory_test_package_2/the_part.dart:87[unresolved]

Running out.dill [3/4]

>testee>out> hello from foo!

>testee>out> Instance of 'Foo10'

Running out.dill [4/4]

00:07 +0 -1: out.dill (VM Service) [E]

  Expected: <true>
    Actual: <false>
  Expects at least 2 breaks, got 0.

  package:test_api/src/expect/expect.dart 134:31                        fail
  package:test_api/src/expect/expect.dart 129:3                         _expect
  package:test_api/src/expect/expect.dart 46:3                          expect
  runtime/observatory_2/tests/service_2/service_test_common.dart 598:5  checkRecordedStops.<fn>
  runtime/observatory_2/tests/service_2/test_helper.dart 495:27         _ServiceTesterRunner.run.runTest.<fn>.<fn>
  ===== asynchronous gap ===========================
  runtime/observatory_2/tests/service_2/test_helper.dart 374:9          _ServiceTesterRunner.run.ignoreLateException
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 215:9                      Declarer.test.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 213:7                      Declarer.test.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/invoker.dart 257:7                       Invoker._waitForOutstandingCallbacks.<fn>

** Killing script

00:07 +0 -1: Some tests failed.

Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.

stderr:
Unhandled exception:
Dummy exception to set exit code.

--- Re-run this test:
python3 tools/test.py -n dartk-linux-release-simarm64 service_2/breakpoint_in_package_parts_class_file_uri_test/service

https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8806648128650934225/+/u/test_results/stdout
https://dart-ci.appspot.com/log/vm-kernel-linux-release-simarm64/dartk-linux-release-simarm64/14417/service_2/breakpoint_in_package_parts_class_file_uri_test/dds

This happened again on vm-kernel-nnbd-linux-release-simarm and vm-kernel-nnbd-linux-release-simarm64
https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-kernel-nnbd-linux-release-simarm/766/overview
https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-kernel-nnbd-linux-release-simarm64/766/overview

Reapproved:
https://dart-ci.appspot.com/log/vm-appjit-linux-release-x64/vm-appjit-linux-release-x64/1035/service/breakpoint_in_package_parts_class_file_uri_test/dds

This is an invalid test to run in appjit mode, breakpoints are being set in a function which has already been compiled in the training run, as a result the breakpoint does not get set when run from the appjit snapshot. Should add an entry in the status file to skip this test in appjit mode.

Status file adjustment is here https://dart-review.googlesource.com/c/sdk/+/312888


Compile error for at_onboarding_flutter

Which at_widget package you find issue with?
at_onboarding_flutter
On what platforms did you experience the issue?
Android
What version are you using?
at_onboarding_flutter: 6.1.3
What happened?
After at_onboarding_flutter has been updated to version 6.1.3 I'm getting a compile error:
: Error: The argument type 'void Function()' can't be assigned to the parameter type 'bool Function()?'.
at_onboarding_home_screen.dart:142
      onSkip: _endTutorial,
              ^
: Error: The argument type 'void Function()' can't be assigned to the parameter type 'bool Function()?'.
at_onboarding_generate_screen.dart:109
      onSkip: _endTutorial,
              ^

Before the update I ran on version 6.0.3 and had to issue
Steps to reproduce
1. Install at_onboarding_flutter 6.1.3
2. Add `import 'package:at_onboarding_flutter/at_onboarding_flutter.dart';`
3. Build app

Additional info
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
No response

Version 6.1.5 has it fixed


[DOCS][Minor] Update for the Hadoop versions table with hadoop-2.6

Updated the doc for the hadoop-2.6 profile, which is new to Spark 1.4

Can one of the admins verify this patch?

That's fine, but can you call it "2.6.x+"? I think it's certainly intended to work with 2.7, for example, and this seems to generate a load of questions. I don't know that we can say anything about Hadoop 3.x, so maybe say "2.6.x and later 2.x"?

I just checked the dependencies' versions in the hadoop-2.6 profile against those of Hadoop 2.7.0. The hadoop-2.6 profile should work for Hadoop 2.7 like this.
$ build/mvn -Phadoop-2.6 -Dhadoop.version=2.7.0 -DskipTests clean package
But I can't say anything about hadoop-2.6 profile's compatibilities with Hadoop's later versions (2.8, 2.9. 3.x). So how about "2.6.x and 2.7.x" for now?

Given that it should be suitable to the best of our knowledge for later 2.x, and the number of questions about it otherwise (e.g. here's a PR to "add 2.8 support"), I'd make the reasonable claim that this is intended for all future 2.x Hadoop releases at the moment.

Changed to "2.6.x and later 2.x" from "2.6.x"


Empty array on ManyToMany relations

I have an app with models: User, Application, Role. And I have a users_apps_roles bridge table, so one user can have one role in each application.
my relation mapping of the User model:
rolesInApps: {
        relation: Model.ManyToManyRelation,
        modelClass: Role,
        join: {
          from: `users.id`,
          through: {
            from: `users_apps_roles.user_id`,
            to: `users_apps_roles.role_id`
          },
          to: `roles.id`
        }

Now I'd like to get a list of roles for a user.
I'm trying to User.query().where('id', userID).first().eager('rolesInApps'); but all the time I'm getting an empty array. With casual joins I can get the roles list, so it is not about the invalid data.
Is it a bug or I'm doing something wrong?

No it's not a bug for sure. This kind of code is used by basically everyone that uses objection. Also objection has over 2000 tests that cover a wide variety of eager queries. There is something else going on. Could you create a reproduction I can debug?


added pyqt5.qsci and sysv-ipc packages as ubuntu xenial rule

For our JdeRobot/VisualStates project we require these two python dependencies to be included.

thanks @okanasik for the contribution.
However I encourage you to refer to the contribution guidelines.
Provide links to the packages:
"For convenience in reviewing please link to the web listings of packages such as on http://packages.ubuntu.com, http://packages.debian.org, and https://admin.fedoraproject.org/pkgdb/packages/ or if a pip package pypi.python.org."
Package description:
"Please also briefly describe the package being added and what use case you want to use it for. It's valuable to have a record of the packages as submitted and their intended purpose for clarity in the future so that if there's a conflict there's information to fall back on instead of speculation about the original use cases."
Platforms that should be covered:
"Rules can be contributed for any platform. However to be released they must be at least cover the supported platforms in REP 3: http://www.ros.org/reps/rep-0003.html" so please provide at least Ubuntu and Debian rules for all active distributions

I thought that this was a subpart of the generic qt5 package on fedora, but it's actually an editor so there might be a gentoo rule specific for it but I don't think the generic one will necessarily cover it without more research so I'd suggest not blocking on it being added.

Thanks @okanasik for iterating and providing the descriptions :+1:


I can't find the docs for the 1.3.3 version

Hey! I have an old version of your library and unfortunately I can't find the docs for the 1.3.3 version anywhere. It would be great if you put them on github. Thanks!

Commit f8c98c025b06ec5cd6688f0375d68c0c24cc15c5 of csv-docs was the last commit before merging to Gatsby and will reveal the old documentation. Another way to look at it is to look at the date of 1.3.3 which was release 20 oct 2017. This match the commit de80103904026c53970fa4c46815dcc2518edac0 of csv-docs.


New service type: API

Is your feature request related to a problem? Please describe.
In my organization, large part of data is accessible through REST or GRAPHQL API. I would like to list such APIs in Data Catalog, to provide users knowledge about these data sources.
Describe the solution you'd like
I would like to have a new service type: API. Under it, I'm able to ingest REST or GraphQL endpoint, with automatic description ingested from i.e. Swagger. API of curse can be versioned.

@Iture we already have a ticket tracking this feature request https://github.com/open-metadata/OpenMetadata/issues/10933 . Please add your requirements there if its not already captured.


Question - recently-updated-shows behavior

Hello,
I am wondering when a show is included in this endpoint ? https://trakt.docs.apiary.io/#reference/shows/watched/get-recently-updated-shows
When any of it's info change ? Also when any of it's episode info is changed ?
Regards

This might be what you’re after: https://github.com/trakt/api-help/issues/37#issuecomment-472105218
Sent with GitHawk

This is it, thanks! This should definitively be in the documentation !
I tried with today dates and I got 20 pages of results... Is it a normal behavior @rectifyer ? It looks like a lot of request to get the full list of updated shows (I am trying to save the ApI some calls 😁).

up :)

Do you have any idea of the answer @tysonkerridge  who seems to know a lot of things related to the Api too 😁?

Hmm, nah I’m not too sure about what’s expected there. But I imagine it’s normal if you’re using a rather small page size? That end point is returning info about all possible shows in Trakt so it’s not surprising if there’s a lot, especially when the data from TVDB and TMBD is likely changing a lot each day too.
Sent with GitHawk

It was using the biggest available page size. If I have 100 shows to sync, it would be an Optimization (less load on the API) only if I have less call to make to the changes endpoint I guess.

@jonathanantoine yes, there is usually going to be a high number of updates each day since it includes anything changed on TVDB and TMDB in the last 24 hours. What is your suggestion about optimizing the updates endpoint?

@rectifyer I have 3 ideas :

An endpoint providing the show changed for a provided users.
An endpoint where I would be able to provide you a list of show id and you would returns me only the ids of the changed one.
Let us use biggest pagination page size : 1000 or 5000 ?

In all case I would love to send UTC date and time and not only date as the current behavior.


Pip installing from source throws an error

I created a fresh miniconda environment and followed the steps in How to Contribute documentation (https://flax.readthedocs.io/en/latest/contributing.html).
Installing from my fork (Step 4) returns the below error :
(flax) ➜  flax git:(master) pip install -e . .[testing]
zsh: no matches found: .[testing]

Ah for zsh, the square brackets must be escaped(:
pip install -e  .\[testing]\ (removes the extra dot)
Also FYI,  python. version must be <=3.7 for the. requirement tensorflow-cpu>=2.4.0 to. be satisfied.
Let me know if this info should be included in the documentation

I created a PR that should fix the instructions for zsh.

Also FYI, python. version must be <=3.7 for the. requirement tensorflow-cpu>=2.4.0 to. be satisfied.
Let me know if this info should be included in the documentation

This I'm not sure about? From what I can see tensorflow-cpu should be supported for 3.6 to 3.8?

This I'm not sure about? From what I can see tensorflow-cpu should be supported for 3.6 to 3.8?

Yeah you're right about that, I was using 3.9. My bad!


[multistage] don't prune project after agg

this should fix #12013

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f79b618) 61.62% compared to head (3f260da) 46.74%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12058       +/-   ##
=============================================
- Coverage     61.62%   46.74%   -14.89%
+ Complexity     1151      945      -206
=============================================
  Files          2386     1788      -598
  Lines        129567    93954    -35613
  Branches      20053    15192     -4861
=============================================
- Hits          79847    43918    -35929
- Misses        43913    46906     +2993
+ Partials       5807     3130     -2677

Flag
Coverage Δ

custom-integration1
?

integration
?

integration1
?

integration2
?

java-11
?

java-21
46.74% <100.00%> (-14.77%)
:arrow_down:

skip-bytebuffers-false
46.74% <100.00%> (-14.87%)
:arrow_down:

skip-bytebuffers-true
?

temurin
46.74% <100.00%> (-14.89%)
:arrow_down:

unittests
46.74% <100.00%> (-14.88%)
:arrow_down:

unittests1
46.74% <100.00%> (-0.20%)
:arrow_down:

unittests2
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Proposal: Allow deprecated on attributes that use $refs

The title sums it up: permit the use of deprecated on an object attribute that uses $refs. Sometimes I need to deprecate an object attribute that is defined by a schema, but not not the schema itself, and that's not currently possible directly.
I think a workaround would be using switching to an anonymous/in-line object definition and deprecating that, but that would also change the code generation for some of my clients so is not preferable.

This is already supported in OpenAPI 3.1 - you can have any sibling properties alongside a $ref in a schema.
type: object
properties:
  foo:
    $ref: '#/components/schemas/Foo'
    deprecated: true

Oh that is GREAT..thanks for pointing it out!


slash attack movement is weird

Looks fine for me in the merged branch, so idk. Still worth checking do you think?


Minor typo fix-up.

Fixed a couple of minor typos and style issues during reading the CESR draft.
Signed-off-by: Dmitry Kuzmenko<EMAIL_ADDRESS>

After reviewing I discovered other typos so did a more comprehensive pull request


Does the server take it?

Technical details regarding my environment

YOURLS version: v 1.7.2

Plugins enabled: noone

PHP version: 5
Any other useful information depending on context (server OS & version, MySQL version, browser version, …) Server with 8 CPUS 8Gb Ram Memory 3TB Disk

Question description
We are trying to bring into our advertising agency a URL shortener and we need to make sure our server could handle doing this.
Our question is, how many simultaneous redirects can be performed without compromising the server's functioning because as an agency we have shortened urls that can be clicked simultaneously by tens, hundreds and sometimes thousands of people at the same time.
Anyone have any idea if the server settings listed above can account for such a situation?
Thanks
Junior

This should help: https://github.com/YOURLS/YOURLS/wiki/Public-Shortening#performance


Misc. Frontend improvements

Minor UI enhancements to existing work

Individual Story Points:
Ben: 1
Daniel: 3


fix: enabled input for NLB resource

Add a conditional check for module enabling in the aws_lb resource count

what
https://github.com/cloudposse/terraform-aws-nlb/issues/52
enabled input not set on nlb resource. Adding it.
~it will be a breaking change. Resource aws_lb.default will become aws_lb.default[0] in state.~
Terraform will rename the resource in state;
Terraform will perform the following actions:

  # aws_lb.default has moved to aws_lb.default[0]
    resource "aws_lb" "default" {
        id                               = "arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:loadbalancer/net/nlb/1234567890123456"
        name                             = "nlb"
        tags                             = {
            "Name" = "nlb"
        }
        # (14 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

Plan: 0 to add, 0 to change, 0 to destroy.

why
Usefull feature.
references
https://github.com/cloudposse/terraform-aws-nlb/issues/52

/terratest


[Question] Adding a MySQL data source to the application page reports an error

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
在应用页面添加MySQL数据源报错，使用默认的docker-compose.yml文件，并在文件添加了MySQL驱动到work和API的libs里面

配置如下

What you expected to happen
我不知道是哪里配置出错了
How to reproduce
直接按我的配置项即可出现
Anything else
No response
Version
3.0.0-beta-1
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Could you provide the error logs?

你能提供错误日志吗？

This is not an error in MySQL.

这不是 MySQL 中的错误。

In order to make everyone understand. Please use English to describe it.

Could you provide the api-server's docker-compose.yaml?

@EricGao888 @liqingwang Do you guys have time to take a look at this?

Hi @beepupa , do you add Mysql lib in the dolphinscheduler-master image?

yes

Ok, I'll build a 3.0.0-beta1 env and test try to add a MySQL data source

Thank you very much

I'm using the default docker-compose.YML file, just adding the MySQL JAR in the Work API Master Alert

HI @beepupa , I have a test locally. And I think you have altered the wrong file. It would be right if you changed the docker-compose.yml.
The image URL like ${HUB}/dolphinscheduler-xxx:${TAG} in docker-compose.yml is right.
The image URL like apache/dolphinscheduler-xxx in docker-stack.yml is a mistake.
I saw your screenshot and your changes to Worker are correct and your changes to Api are wrong. You only need to change these two places and master don't need to change anymore.
Can you try them in currect file locally again?

HI @beepupa , I have a test locally. And I think you have altered the wrong file. It would be right if you changed the docker-compose.yml.
The image URL like ${HUB}/dolphinscheduler-xxx:${TAG} in docker-compose.yml is right. The image URL like apache/dolphinscheduler-xxx in docker-stack.yml is wrong.
I saw your screenshot and your changes to Worker are correct and your changes to Api are wrong. You only need to change these two places and the master doesn't need to change anymore.
Can you try them in the correct file locally again?
Thank you, I tried your suggestion, re-downloaded the new YML file, only added MySQL JAR, but it still reported errors ,This error is reported by the ZooKeeper node, I don't know why, I see some people say that you can try to expand the memory, but when I run, I don't limit the memory. My server configuration is 16C32GB ,

你的笔记本电脑是 Macbook M1 吗？zookeeper 有错误日志的原因是默认的 zookeeper，而 bitnami 的 PostgreSQL 只有 amd64 架构。
我也有这个错误日志，但它有效。
您可以通过单击http://localhost:12345/dolphinscheduler/ui访问 DolphinScheduler Web UI，并在登录页面中使用 admin 和 dolphinscheduler123 作为默认用户名和密码。

Thank you, the application is accessible, but there is always an error when adding MySQL data source

Can you share the docker inspect info like below?

Can you share the docker inspect info like below?

work

api

Can you enter the docker image and see if exist the MySQL jar in libs or not.
Yes, the file is here.
work

api

That's weird. Can you post the content about docker-compose.yml? No picture, in words. And I'll try locally. By the way, do you download the source code at https://dolphinscheduler.apache.org/zh-cn/download/download.html or run it with IDE on 3.0.0-beta-1-release branch?

That's weird. Can you post the content about docker-compose.yml? No picture, in words. And I'll try locally. By the way, do you download the source code at https://dolphinscheduler.apache.org/zh-cn/download/download.html or run it with IDE on 3.0.0-beta-1-release branch?

Thank you very much, is it not ok if DB is Mariadb?


Log-Analytics workspace creation not part of "Configure flow"

In the section "Logging with Azure Monitor" it is shown that a log-analytics workspace can be created while configuring Diagnostic logs for a CDN endpoint. This is not the case in the current portal. A log analytics-workspace must be created before the Diagnostic logs configuration can be completed.
Also, in the instructions, "Core Analytics" are mentioned as the way to view logs. This does not appear to be a build in feature now. Instead it needs to be installed from the marketplace. Also, after installing, it reports errors so it appears to be broken.

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

ID: fcb610fc-6d66-a9a1-703a-ea027359d56f
Version Independent ID: ed99a3e6-0635-0024-2044-921fdc8eeef0
Content: Azure diagnostic logs
Content Source: articles/cdn/cdn-azure-diagnostic-logs.md
Service: cdn
GitHub Login: @mdgattuso
Microsoft Alias: magattus

@pelithne , Thank you for providing your feedback. Regarding Core Analytics can you provide more info on the error that you are getting?
@mdgattuso , The portal experience is changed now. We can no longer see the Configure Log Analytics option and only be able to select already created work-space.  Screenshot needs to be updated.

Assigning to PM for review
#reassign:@sohamnchatterjee

Updated screenshots and reworked article.
#please-close


Android build - Array.from is not a function

Ionic 2
Error in android build

Array.from polyfill (in index.html) did not help
Steps to reproduce:

ionic start example -v
cd example && ionic run android -lc

Polyfill in app.js (import 'es6-shim';) did work

same problem here

same as in es6, just import polyfill in app.ts
import 'es6-shim';

es6-shim is already downloaded (because is listed in package.json)

Thanks @rascada , that worked

All templates are working now :+1:


ollama integration !

If i want to use ollama llama3 model !
what should i put in LLM = ???
give me an example please :)

First, make sure that:

you're running the latest version of litellm (update it via pip install -U litellm)
you're running the latest version of ollama
llama3 is downloaded via ollama pull llama3

Then set LLM to ollama/llama3 and you should be good to go. Let me know if it works!

how many GB does llama3 requires ? and ram requirements ?

I'd recommend at least 16GB of RAM. The llama3 download is about 4.7GB.

but what about 70b that size's is 40gb ?

Yes it's 40GB, and would require significantly more RAM.


Local pull request success status testing

Docs Build status updates of commit a4ba99d:
:clock10: Pending: waiting for processors (14 builds ahead of you)
:warning: Docs Build is busy, currently there are 14 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit a4ba99d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Ensure board's are setup by overriding new

This PR overrides the __new__ method of Board to ensure that all instances have .setup() called on them.
I have also added a test to ensure that a Board can be correctly instantiated using all methods of variable declaration (positional, keyword arg and default). Happy for this to be removed if this is felt to be excessive.
There is also now the question of should .setup() be made "private" to discourage consumers from calling it?
All feedback welcome.
Closes #28

Any thoughts on making .setup() private (prefixing with an underscore)? My gut feeling is that it's a good idea, though not sure if you have any other plans for it.
If we do leave it "public", and probably even if we don't, it would be a good idea to guard against it being called multiple times, though I'm not sure what the correct behaviour here would be? Should it raise an exception, silently just do nothing, or maybe something else?

I currently don't have any other plans for it, so would be in favour of making it private.
Preventing it being called multiple times would definitely be nice, although I don't think it would break the make_safe code if it was.

👍  My thoughts on preventing it from being run more than once:
Right now _setup just adds to the BOARDS list, though it feels like there could potentially be extra setup steps added in the future. As we're making it private my gut says to make it raise an exception if called more than once, to aid in debugging while developing the package, the alternative being silently doing nothing which could be confusing.
I can see two approaches to how we implement this, make it check whether the board is in the BOARDS list and throw if it already is, or store the board's setup state in a private attribute and check that before throwing if necessary.
Personally I prefer the second option as it decouples 'setting up' the board from adding it to the BOARDS list and also allows for code to check whether the board is setup with clear intnet (if _board_setup vs if self in Board.BOARDS). Though I'm happy to implement the first option if others feel differently.
Any opinions?

Right now _setup just adds to the BOARDS list, though it feels like there could potentially be extra setup steps added in the future. As we're making it private my gut says to make it raise an exception if called more than once as this would aid in debugging during package development, the alternative being silently doing nothing which could be confusing.

I agree.

I can see two approaches to how we implement this, make it check whether the board is in the BOARDS list and throw if it already is, or store the board's setup state in a private attribute and check that before throwing if necessary.
Personally I prefer the second option as it decouples 'setting up' the board from adding it to the BOARDS list and also allows for code to check whether the board is setup with clear intnet (if _board_setup vs if self in Board.BOARDS). Though I'm happy to implement the first option if others feel differently.

Any opinions?

Second option looks good. Let's decouple them so that it doesn't break things in the future.

What is the purpose of the setup method? What does it do that cannot or
should not be done by the constructor?
On Wed, 6 Feb 2019, 20:42 James Seden Smith<EMAIL_ADDRESS>wrote:

@sedders123 commented on this pull request.
In j5/boards/base.py
https://github.com/j5api/j5/pull/56#discussion_r254442852:

@@ -27,6 +27,7 @@ def str(self) -> str:
def new(cls, *args, **kwargs):
"""Ensure any instantiated board is correctly setup."""
instance = super().new(cls)

   instance._board_setup = False

Not a huge fan of this monkey patching, but as this needs to be an
instance attribute I can't see a way around it. As it is an internal
attribute not meant to be used by consumers it makes me feel slightly
better about this. Happy to discuss alternative options.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/j5api/j5/pull/56#pullrequestreview-200794219, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAznVFeVVnq0QcmuWZN1nfnODsoYGOWrks5vKz41gaJpZM4alzNX
.

The setup method is called from the new method, and currently adds the board to a global list of boards for purposes of making them safe at a later time.
The current approach was taken with the assumption that we may want to do more setup in the future. If there is little to no chance that we will do any more board 'setup'  then it definitely makes sense to ditch the setup method and just add to the list from directly within new.
In my mind it seems likely that specific implementations of Board could have things that need to be 'setup', but I'm struggling to think of something that all boards will need setup in our base class.
Also one of the reasons it's called from new is that we don't wan't consumers to opt-out of our board list registration, but currently they can do this by overriding the _setup method.
I reckon we should just add boards directly in the new method and remove the setup method, though happy to discuss if I've missed a benefit of keeping the method.

It is preferable to have the board instance added to the BOARDS list not in the board constructor, as it would be easier for somebody to forget to add it to the list. The BOARDS list is require to ensure that the make_safe method is called on the board when the code dies.

I agree with __new__ being the best place to add the board to BOARDS, since it is difficult to override __new__ without calling the superclass's implementation (unlike when overriding __init__ or setup).
My point was about whether we're expecting setup to do other things too e.g. initialising data structures or opening device drivers. It seems to me that these tasks are part of initialisation of the Board and hence should be done in the Board's __init__. Of course, if these tasks are significant in length it would make sense to move them to another method which is called from __init__ in order to reduce the complexity of __init__ - however this should be done on a per-Board basis, and the method should be given a more descriptive name than setup.

Based on this discussion I'll remove the _setup() method and the associated _board_setup attribute, moving the 'board registration' directly into the __new__ method.
If I've misunderstood anything let me know, if not I'll implement these changes this evening

If there is nothing else for me to do are you OK to merge this @trickeydan?

Who is an authorised user? I thought I was (since I've been able to merge PRs into master before, e.g. #26), but I don't have the permissions to merge this one it seems.

I have been able to merge in the past, I guess the permissions have been changed

Erm. You all should be authorised users... I'll go check the settings. I thought I'd put @kierdavis as an org admin


Normalize data

This is probably the limitation that remains for good WaNet noise performance.
TODO:

[x] Depends on #35 (so diff is not correct as is)
[x] Check that it actually does improve training (not significantly)
[x] Discuss transform order

Some backdoors like corner it makes a big difference if they are normalized or not. I can see two different arguments for ordering:

In scenarios we mostly care about the problem starts with a poisoned model and in those cases we simply want to train in robust backdoors.
For some backdoor detection tasks you're given a poisoned dataset and in those cases image augmentation and other transforms used for training would be applied after the backdoor has been added (though, this might not always be the case in the literature)

This wasn't enough. Training is perhaps a bit faster in the beginning but no big difference at convergence.
Besides the clipping differences, there is a possible issue with the normalization of the warping field (on the order of image width in number of pixels). I'll:

[ ] visualize the backdoors again to see that they still look reasonable
[ ] see if performance improves

I'll make another PR if that turns out to be the issue.

Might want to set normalization to False by default as to not complicate matters. Running some experiments to see that performance isn't hurt too bad without normalization.

Regarding the transform order: at a very high level, I think a Task should provide the inputs the model expects, and where those come from is up to the task. If we're doing normalization, then the task should already include that as part of the dataset it returns. Detectors can do additional augmentations etc. if they want, but that's a separate question from which augmentations were used during training (or which augmentations the Task might build into the data it gives to the detector).
The more practical question of what to do for backdoors is a bit less clear. I agree that applying backdoors first and then augmentations/normalization is probably more realistic from a backdoor threat model. But I'd guess that applying the backdoor last makes things easier in practice? If so, I think that'd be fine too. Though if e.g. learning a WaNet backdoor turns out to be much harder for the model if we just do some augmentations after inserting the trigger, that's also kind of interesting from an image backdoor defense perspective---easiest defense of all time, already built into any realistic training process :P I think it's much less important for our purposes but might still be worth pointing out somewhere if true

This should now mostly have no actual changes for default value right now. Can either be:

merged or
closed until if we decide we want normalization for something

Regarding the transform order: at a very high level, I think a Task should provide the inputs the model expects, and where those come from is up to the task. If we're doing normalization, then the task should already include that as part of the dataset it returns. Detectors can do additional augmentations etc. if they want, but that's a separate question from which augmentations were used during training (or which augmentations the Task might build into the data it gives to the detector).
The more practical question of what to do for backdoors is a bit less clear. I agree that applying backdoors first and then augmentations/normalization is probably more realistic from a backdoor threat model. But I'd guess that applying the backdoor last makes things easier in practice? If so, I think that'd be fine too. Though if e.g. learning a WaNet backdoor turns out to be much harder for the model if we just do some augmentations after inserting the trigger, that's also kind of interesting from an image backdoor defense perspective---easiest defense of all time, already built into any realistic training process :P I think it's much less important for our purposes but might still be worth pointing out somewhere if true

I agree that it could be interesting to investigate, but I don't consider it a priority. My guess is that for the most part adding augmentations after poisoning and then train would probably lead to both harder to learn and harder to detect backdoors (similar to adding noisy warping for WaNet).

Looks good at a glance, planning to go over it in more detail tomorrow


Batch Import Soliders?

Given a roster from the unit(s), be able to batch add a list of soldiers to pick from/track.

Meh, not enough payoff.


OP940 Witherspoon Secureboot manual regression Test Plan,

Develop regression test plan with Vijay
Run regression TERS by Nov 10th end of OP regression Test
Create and track defects as needed.

Continued this sprint..

can we close this ? @mstrbill

@mstrbill We should not reference internal IBM releases out here.


[R3] Create a Kubernetes (k8s) cluster on IBM Cloud, with 2 namespaces

* Namespace:
    * dev: for deploying the dev version Shopcarts Service
    * prod: for deploying the prod version Shopcarts Service

As a [role]
I need [function]
So that [benefit]
Details and Assumptions

[document what you know]

Acceptance Criteria
Given [some context]
When [action taken]
Then [outcome observed]

Hey team! Please add your planning poker estimate with Zenhub @emhao @LillisLuo @nijya @wl2484


add more toolbar buttons for mobile platforms

the toolbar buttons:

hide keyboard
heading (it should open a menu to select headings 1-4)
bold
italic
inline code
strikethrough
number list
bullet list
check list
indent
de-indent

Fixed by #2552
Showing and hiding the keyboard will come at a later date.


Visual Script Graph Unification

This is part of my GSOC project.
This is still heavily WIP and needs probably a lot of refactoring work.
Here's a quick showcase,

cc: @fire @KidRigger
Bugs

[x] Get Copy & Paste of Nodes working.
[x] Ensure minimum collision of bounding boxes of functions on import of scripts from old versions.
[x] Undo not working properly with the connection rescans.
[x] Quick Create Functions shortcut (Ctrl + G)
[x] Proper Mapping of Returns from functions.
[x] Update function calls on function argument change or function rename.
[x] Add simple warnings for all unintended use cases.
[x] Test Undo edge cases().

Old bugs

[x] NodePath edit with empty scene crashes the editor.
[x] Make nodes Duplication work for connections as well.

Additional Changes (UI)

https://github.com/godotengine/godot/pull/29996 Better Type Detection
https://github.com/godotengine/godot/pull/29995 Improve search for Available Nodes
Add Port Swapping

Not placing it directly on top of another node is important, especially since we know the exact positions. I'll review more.

@fire Yep, I haven't added any UI changes at the moment just finishing the functionality at the moment.

It's in a proper working state now, just needs more testing to improve some more UI aspects if needed.
And also needs a clean up before it becomes ready for review.

cc: @fire @KidRigger if any of you want certain specific changes do let me know.

A couple more gifs to show additions,

There are some clang format problems.
--- a/modules/visual_script/visual_script_editor.h	2019-06-21 20:29:57.059454622 +0000
+++ b/modules/visual_script/visual_script_editor.h	2019-06-21 20:30:04.981732182 +0000
@@ -193,7 +193,7 @@
 	void _end_node_move();
 	void _move_node(StringName func, int p_id, const Vector2 &p_to);

-	void _get_ends(int node, const List<VisualScript::SequenceConnection> &seqs, const Set<int> &selected, Set<int>& end_nodes);
+	void _get_ends(int node, const List<VisualScript::SequenceConnection> &seqs, const Set<int> &selected, Set<int> &end_nodes);

 	void _node_moved(Vector2 p_from, Vector2 p_to, int p_id);
 	void _remove_node(int p_id);
*** Aborting, please fix your commit(s) with 'git commit --amend' or 'git rebase -i <hash>'```

Yep somehow I managed to get my clang format settings messed up.. Fixed next PR should fix it all.

Other relevant PRs: https://github.com/godotengine/godot/pull/29995 https://github.com/godotengine/godot/pull/29996

Travis is still failing.

Shadowing is a problem... :sigh:

Demo of the UI changes:

I’m curious if it is possible to implement a very useful feature from Bolt Unity into Godot Visual node system? I would really love to see the Flow Graph arrows like in Bolt, so to have a real visual feedback of what is happening at any time between the nodes.

@zohozer Not sure if it's possible at the moment as it would need Live Sync and also Live Editing support but will give it a look if it's easy enough no problems in adding more expressiveness :)

There are some formatting errors.

New Demo for Compose Array Node:

Starting to move the Side Bar to the Top.(Can also be seen in the Gif)

Right Click for Nodes,

Did you try?
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp
index 37adb7575..4694078a4 100644
--- a/modules/visual_script/visual_script_editor.cpp
+++ b/modules/visual_script/visual_script_editor.cpp
@@ -1144,7 +1144,7 @@ void VisualScriptEditor::_create_function() {
 void VisualScriptEditor::_add_node_dialog() {
 	// available_nodes_dialog->popup();
 	// available_nodes_dialog->set_position(graph->get_global_position() + Vector2(55, 80));
-	_generic_search("", graph->get_global_position() + Vector2(55, 80));
+	_generic_search(script->get_instance_base_type(), graph->get_global_position() + Vector2(55, 80));
 }

 void VisualScriptEditor::_node_item_selected() {
@@ -1597,7 +1597,7 @@ void VisualScriptEditor::_graph_gui_input(const Ref<InputEvent> &p_event) {
 		Point2 gpos = Input::get_singleton()->get_mouse_position();
 		// available_nodes_dialog->popup();
 		// available_nodes_dialog->set_position(gpos);
-		_generic_search("", gpos);
+		_generic_search(script->get_instance_base_type(), gpos);
 	}
 }

This enables the show current node feature.

Regarding the conversation in Discord I agree we should improve the "generic search" dialog.

Tree refers to Godot Tree GUI where each Node is in it's own drop down.

As long as the search still works, it should be desired.

This is a picture of property search, but generic search should be able to get the script variables too. The "ball_dir" variable.

We still can't construct objects in VS. https://github.com/godotengine/godot/issues/9067

I think we should prepare this pull request to be merged and make a separate pull request for vs group node.

Summary of meeting:

We should try to get this PR https://github.com/godotengine/godot/pull/29681 merged. (Generic search, functionality in blog post and others.)
Focus on fixing issues that are bugs and not feature requests on Github https://github.com/godotengine/godot/issues?q=is%3Aopen+is%3Aissue+label%3Atopic%3Avisualscript+label%3Abug
Work on Group Nodes

This PR is ready for review.
I just need to remove a few more of the TODOs I have left in it.
Things I am not sure about,

What should be the correct name for the base class for In-Graph Editable Nodes Class...(It's called VisualScriptLists atm)?
If a dialog would be better for creating functions? (IMO without the dialog it feels better)

cc: @fire @KidRigger @akien-mga @Chaosus

Can you show a video of both with a dialog and without a dialog for creating functions?
What should be the correct name for the base class for In-Graph Editable Nodes Class...(It's called VisualScriptLists atm)?
Can you describe more?

The dialog default size seems to be very small compared to the amount content it provides - also the size is resetted every time the user call it

I was confused about that, will make it longer, probably also give it some more width and I thought resizing was better...
I guess it feels troublesome because it's too small...

IMO when user clicks on the function in the list - the graph should set the focus on that function

@Chaosus you can do that with Ctrl + Click I didn't make it the default as functions need to be editable from the view...

Yeah, of course - i mean you can add a button to do it (its not obvious to use CTRL)

Makes sense..

@fire The function dialog would basically allow for a way to setup function on creation.
It would look similar to

PS: I stole the image from Chaosus' PR

The sidebar for adding arguments is quite difficult to use, so this is an improvement.

Some warnings:
 2347 |   GraphNode *gn = Object::cast_to<GraphNode>(graph->get_child(i));
      |              ^~
modules/visual_script/visual_script_editor.cpp:2343:13: note: shadowed declaration is here
 2343 |  GraphNode *gn = Object::cast_to<GraphNode>(n);
      |             ^~```

Adding arguments and then deleting the arguments leaves empty space.

Is there a reason why there's ".." after add nodes?

Also the "Change Base Type:" is selectable, it shouldn't be.

Is there a reason why there's ".." after add nodes?

I guess for compatibility with visual shaders :) But to be honest there should be 3 dots after Add node (and better push this button at first place on the top bar like visual shader)

Adding arguments and then deleting the arguments leaves empty space.

Yeah, to fix it simply add control->set_size(Size2(-1, -1))  on deletion

I missed some dots and just noticed the resizing problem.. :P

No string input bug

Typing a character will make the search appear.

Screenshots of latest changes,

How do you use the Fix FunctionCall Node bugfix?

@fire It should just work. Somehow magically, I swear I don't know why the FunctionCall Node was broken when you selected Instance mode.
I believe it's due to some commit in the upstream but I haven't checked the upstream on its own to know for sure.

Improved the Members Selection pane to be more intuitive.

Double Click to center, right click or button to edit.

@swarnimarun Branch conflict

Sorry guys for the delay, I have been a little too busy with my mid-sem exams. I might be a little late on fixing up everything, should end in a few more days.
Sorry. :disappointed:

Hope this gets merged soon. Visual scripting needs these changes.

Needs a rebase (probably due to the merge of the tool mode), otherwise I guess it should be good to merge :)

Thanks a lot!

Please don't abandon this visual scripting part of godot

I think this is a sign they are continuing to evolve it. I takes people passionate about the feature to help with filing bugs, and working on features for it to develop.


Build fails on mojom_bindings_generator.py generate: error: unrecognized arguments: --java_output_directory

I've been cloning/building this repo from scratch multiple times over the past few months, and it has always worked fine -- but on a clean build today on the same machine without any changes to the machine that I know of, I'm now getting this error message:
c:\lcc2\libchromiumcontent>call python script\build -t ia32
ninja: Entering directory `vendor\chromium\src\out_32\Release'
[505/13931] ACTION Generating Mojo bindings from ../../mojo/public/interfaces/bindings/interface_control_messages.mojom ../../mojo/public/interfaces/bindings/pipe_control_messages.mojom
FAILED: c:\Program Files\Python27\python.exe gyp-win-tool action-wrapper environment.x86 mojo_interface_bindings_mojom_target_mojo_interface_bindings_mojom_mojom_bindings_generator_8d468ed6a961c24181d31e8b1555b2b8..rsp ....\third_party\mojo
usage: mojom_bindings_generator.py generate [-h] [-d DEPTH] [-o OUTPUT_DIR]
[--debug_print_intermediate]
[-g GENERATORS] [-I directory]
[--typemap TYPEMAP]
[--variant VARIANT]
--bytecode_path BYTECODE_PATH
filename [filename ...]
mojom_bindings_generator.py generate: error: unrecognized arguments: --java_output_directory=....\out_32\Release/java_mojo/mojo_interface_bindings_mojom/src
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "script\build", line 48, in
sys.exit(main())
File "script\build", line 36, in main
subprocess.check_call([NINJA, '-C', config_dir, target])
File "c:\Program Files\Python27\lib\subprocess.py", line 504, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['c:\lcc2\libchromiumcontent\vendor\depot_tools\ninja.exe', '-C', 'vendor\chromium\src\out_32\Release', 'chromiumcontent_all']' returned non-zero exit status 1
Was there a recent change that would have required changes in the build process?

upstairs + 1 ，please tell how to slove it，thanks～

I had this problem too, downgrading from python 2.7.12 to 2.7.7 solved it

Not all Python 2.7's are created equal. Use the Python included with google's depot_tools, and this solves it. Closing issue.


Updates SVProgressHUD

Updates SVProgressHUD to the latest version (2.2.5).
This allows CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF to be enabled, which is recommended by Xcode, without generating any warnings.

@philium is there an issue filed for this PR? If not, would you please do so and then link to this PR? This is so we can prioritize PR reviews in this sprint.

@esreli There was not an issue. I have created one.


Add .idea to .npmignore for webstorm developers

Currently the .npmignore file in TypeScript contains .vscode. That works for vscode users but not for webstorm users.

Current workaround:
const project = new TypeScriptProject({
    npmignore: [
        "/.idea"
    ],

Sounds good. Contributions are welcome


Doc refers to undocumented/obsolete type Microsoft.Devices/Iothubs/Iothubkeys

This articles says to acquire a key to the hub using resource type Microsoft.Devices/IotHubs/IotHubKeys.
But I don't see it existing anywhere:

Schema reference
Schema repo
Spec repo

Please update.

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

ID: c743a85c-a1c6-55df-88f1-a99198c6ce85
Version Independent ID: 1e50c628-075f-d360-fd0a-0fe0286f04b5
Content: Set up Azure IoT Hub Device Provisioning using Azure Resource Manager template
Content Source: articles/iot-dps/quick-setup-auto-provision-rm.md
Service: iot-dps
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

@abatishchev Thanks for the feedback! We are currently investigating and will update you shortly.

I have assigned the issue to the content author @wesmc7777  for further review and update the doc as appropriate.

@abatishchev The document is correct. You can retrieve the iothubowner connectionstring key for an IoT Hub that has already been created with the following CLI command:
az iot hub show-connection-string --name MyIotHub

However, this quickstart is doing that for you. The template instructions creating a mapping to the key so that after the IoT Hub and DPS resources are created, the IoT Hub is linked to the DPS resource using the key mapping defined in the template. Otherwise, you would have to link manually as mentioned here -> Link the IoT hub and your Device Provisioning Service.

Hi,
The document mentions type Microsoft.Devices/IotHubs/IotHubKeys which doesn't exist. So I don't see the document is correct.

You'll find Microsoft.Devices/iotHubs/iotHubKeys in the Operations List for DPS...
 ...
    {
      "name": "Microsoft.Devices/iotHubs/iotHubKeys/listkeys/Action",
      "display": {
        "provider": "Microsoft Devices",
        "resource": "IotHubs",
        "operation": "Get IotHub Key for the given name"
      }
    },
 ...

I see, I for confused between IoT Hub and Provisioning Service. Thanks!


How to group list inside another group list.

@usernamekk Please describe what you want to do, what you have tried so far an what is not working.

I have a custom object and also json decoder in my code. In my object, I have fields like name,lga,townOfOrigin etc. I have grouped these people into lga(Local Government Area of origin) group but inside the lga group, want to group their townOfOrigin also, then names of people.
class People  {   final String id;   final String title;   final String name;   final String location;   final String lga;   final String Office;   final String townOfOrigin;   final String phone;   final String email;    final String imageUrl;   bool isExpanded; )
StickyGroupedListView<People, String>(             elements: Users,             groupBy: (element) => element.lga,             groupSeparatorBuilder: (filteredUsers) => Text(filteredUsers.lga),             itemBuilder: (ctx, filteredUsers) => Text(filteredUsers.townOfOrigin)..........expanded....  Text(filteredUsers.name)
lga => townOfOrigin => names
I hope you will understand. Thanks

Waiting for your reply.

@usernamekk The way you are trying to archive that will not work because itemBuilder has only individual people.
A solution which might work will need to look like the following:

Group your people accoring thier lga before hand.
Users will then be a List<List<People>> instead of List<People>
Change StickyGroupedListView<People, String> to StickyGroupedListView<List<People>, String>
groupBy can be grouped by the lga of any of the People inside each List because they all should have the same lga.
itemBuilderwill then get a List<People> which can be again used for another StickyGroupedListView which is grouped by townOfOrigin.

One remark: I did not test this and do not know if this will work. I'm closing the issue because this is not an issue of this package but more an implementation question.


Missing commit

The lib directory doesn't seem to be committed but its required for the program to work

Whoops! Should be sorted now
https://github.com/robbie-wasabi/xspacecadet/commit/5268a0abb7c781c2894ab89178061d22d02db073


Add missing IDT entry #HV (vector 28)

Currently the InterruptDescriptorTable is missing entry with vector number 28, #HV. See AMD's APM Vol 2 here, subsection 8.2.21.

By the way, probably a good time to review issue #313 since I don't see mention of the #VC entry on the online documentation

We'd be happy to accept a patch to add in the documentation. https://github.com/rust-osdev/x86_64/pull/313 is a good example of how to add one of these SEV-specific exceptions.

Pull request created.

Pull request merged.


Create, Read, Update, and Delete to/from a google spreadsheet.

Uses binaris functions to modify a google spreadsheet.

@rylandg and @jake-binaris is this waiting for another review or for addressing review comments? Let's get this merged :-)


Add 'apt' to Command Library

This change adds the 'apt' command to the snippets.yml allowing TERN
to correctly process layers added using 'apt' command.
resolves: #512
Signed-off-by: oc37ejuc<EMAIL_ADDRESS>

@oc37ejuc Thanks! The change is perfect. Could you make the following changes to your commit message?

Change TERN to Tern or tern. It's not an acronym :)
Can you add a real email message instead of the default github email message? If you plan on continuing to contribute to this project, I would highly recommend setting up your name and email in your gitconfig. An example of how to do that can be found here: https://github.com/nishakm/puns#how-to-configure-your-git.

We really appreciate you taking the time to contribute <3

@nishakm I am happy to fix the spelling of tern; although I need a little guidance on the how :)
As for the name and email, I'd like to postpone any changes to somewhere down the road, if thats alright for you

@nishakm I am happy to fix the spelling of tern; although I need a little guidance on the how :)
Sure! You can run:

$ git commit --amend (update your commit message here)
$ git push -f origin master

I also think you can update the commit message via the github UI, although I've never done this myself.

As for the name and email, I'd like to postpone any changes to somewhere down the road, if thats alright for you
All commits to the project require a Developer Certificate of Origin (DCO). Although the github default email is an email, it's not a valid DCO. These are our contribution guidelines. If you'd prefer to contribute somewhere down the road, that's totally fine too! You're always welcome :)

@oc37ejuc I am closing this PR for now. When you are ready to change your email address to something that doesn't contain the word github in it, we'd be happy to take any future PRs. Thanks for contributing and we hope to hear from you again :)


Implement _check

Implemented _check according to specifications and allowed the relevant tests to run.

Much obliged! Thanks for putting in the time to create this!


Return DLL Handle

Is it possible to get the handle of the injected dll?

I think it should be easy to get. May I ask on what operating system, and for what do you want use use the handle? Maybe it's something that could be added to the API.

Windows

Do you need it to unload the library or something else? Because I might add an API for unloading.

@LabGuy94 Try pyinjector==1.1.1


Add start time column to live replay tab

We also sort games from most to least recent.  This really helps gauge
if a given replay is worth watching.
Signed-off-by: Igor Kotrasinski<EMAIL_ADDRESS>

I'm getting some exceptions the way it is now, I'll have to debug it for a bit.

Issue was with game start time sometimes being null, it should be safeguarded against now.

Please resolve conflict

Please always write fixes #[issue number] into commit message

And call the branch feature/#[issuenumber]-[name]

It didn't have an issue to begin with, though :/ I cba. Do you require all features to be preceded by github issues?

YES!!!! ALSO for changelog...

ALWAYS HAVE AN ISSUE


Improvements

Changes

Upgrade dependencies

Gradle
AGP
Kotlin
Annotations
Lint
JDK (uses 1.8)

Update workflow

Improvements
Preventing artifact name collisions

Fix LICENSE
Add year and author

@vvb2060 Hmm, why are you accepting other contributions but rejecting this one?


Fix ambiguous lifetimes

This type of ambiguous lifetime may shortly be forbidden by https://github.com/rust-lang/rust/pull/117967

Working on the process within my employer to get permission to sign the CLA.


[Feature Request] Stream of custom events

:wave: Hi!
I believe this would be a feature request, and I'm unclear whether issue tracker is the correct place to raise this?
Context
Let's say we've 2-3 heavy DB queries and I want to create a report that's available as app. Ideally, automatically refetch the data at some interval or when user clicks a button.
In edit mode, I can select most of the cells as "evaluate automatically" and it's works nicely, but it doesn't work for apps.
Actual solution as workaround
At this moment, I get around this by creating "UI" module that's appending data info in a single frame, but this mode of writing a notebook that also works as an app leaves a lot to be desired. This is also very difficult to explain to people that are just starting with Elixir and want to publish their notebook as an app.
Example:
# one cell, it might also be a more complex form, other type of user input

load_btn = Kino.Control.button("Load data") |> Kino.render()

# another cell
frame = Kino.Frame.new() |> Kino.render()

defmodule UI do
  def show(frame) do
    # very heavy db query
    results = [1, 2, 3]
    Kino.Frame.render(
      frame, Kino.Markdown.new("#{Enum.join(results, ", ")} #{DateTime.utc_now()}")
    )
  end
end

load_btn
|> Kino.listen(fn _event ->
  UI.show(frame)
end)
UI.show(frame)
Kino.nothing()

## another cell !

# another cell, wants to access "results" too!
# another cell, it must be reloaded "load_btn" is clicked!

defmodule AnotherUI do
  def show(frame, results) do
    Kino.Frame.render(
      frame, Kino.Markdown.new("Different view #{Enum.join(results, ", ")} #{DateTime.utc_now()}")
    )
  end
end

another_frame = Kino.Frame.new() |> Kino.render()

load_btn
|> Kino.listen(fn _event ->
  # no way to get "results"?
  AnotherUI.show(another_frame, [4, 5, 6])
end)
AnotherUI.show(another_frame, [4, 5, 6])
Kino.nothing()

Expected solution
Kino already has API for streams via Kino.Control.stream/1. I would love to simplify the code above to something like:
load_btn = Kino.Control.button("Load data") |> Kino.render()
event = Kino.Control.event(:results)

load_btn
|> Kino.listen(fn _event ->
  # very heavy db query
  results = [1, 2, 3]
  Kino.send(event, data: [results: results])
end)

# another cell

event
# or  [event, ...other events] |> Kino.Control.stream()
|> Kino.animate(fn event ->
  Kino.Markdown.new("Some view #{Enum.join(event.data.results, ", ")} #{DateTime.utc_now()}")
end)

## another cell !

event
|> Kino.animate(fn event ->
  Kino.Markdown.new("Different view #{Enum.join(event.data.results, ", ")} #{DateTime.utc_now()}")
end)

It's also very likely that I'm doing something wrong and this is already possible but given the validation here I don't think it's easy to do nor obvious from the documentation.

I think #426 would give a bit more of structure to what you want to do. But you can also achieve it today by starting a process and having the process subscribe to the events and then update the frames as appropriate.
My concern with the pubsub style approach you mention is the possibility of races (if events are emitted before the animate subscribes?).

@arathunku you could invoke all handles from the same listener, no? What am I missing? :)

You're both, of course, right. I'm aware of that too and you're not missing anything!
Unfortunetly, this isn't the reality of how I see people write notebooks at place where I work.
People start with creating and documenting cells. Usually markdown -> Elixir cell -> markdown -> elixir/smart cell -> markdown, this all works fine. They typically mark cells to be evaluated automatically, this is still fine... great UX, very beginner-friendly. Then, "let me just share this as app" with option to reload data initial data/some form at the beginning... This is a moment where I typically get asked for support on how to do that because it's like drawing the rest of the owl meme and they're lost. :smile:
My idea with events was that it would be easy to explain, "feel" like rest of the events(input, interval, form) Kino may handle. Maybe in reality, I'm looking for a solution in apps to reevaluate cells and have other cells in apps reevaluate automatically too.
@josevalim, regarding possibility of races -> I think that's expected and this is already a case with current events from forms/inputs if Kino.listen is in other cells.

@arathunku actually, if you mark cells as reevaluating automatically, they get reevaluate in the app also. Which Livebook version are you using?

:thinking: @jonatanklosko I'm using main branch from about 4 weeks ago so almost v0.14 before it was released. I don't think it's a problem with the updates but structure and flow of creating notebooks that may at some point get shared as app. Example notebook:
<!-- livebook:{"app_settings":{"access_type":"public","auto_shutdown_ms":5000,"output_type":"rich","slug":"issue-469"}} -->

# Prototype idea

```elixir
Mix.install([{:gat_toolbox, path: "/data/gat_toolbox"}])
```

## Section

<!-- livebook:{"reevaluate_automatically":true} -->

```elixir
Kino.Markdown.new(
  "Testing automatic eval in app model: #{DateTime.utc_now()}. Only rich outputs"
)
```

<!-- livebook:{"reevaluate_automatically":true} -->

```elixir
# heavy db query
# how to reload this cell in app with rich outputs only that would trigger notification in other apps?
{:ok, results} = {:ok, [1, 2, 3, 4, 5]}
```

<!-- livebook:{"reevaluate_automatically":true} -->

```elixir
Kino.Markdown.new("#{Enum.join(results, ", ")} #{DateTime.utc_now()}")
```

Right now, when editing, it's very intuitve for users that when they reevaluate the cell with DB query, any cell below it with a reference to variable will get reevaluated, smart cells included. How can app trigger this behaviour? :thinking:
Right now my approach and recommendation was what's in the initial post - reactive frames listening to interval/button click.

@arathunku ok, I see what you mean. You have that baseline notebook and then want to convert to an app, and currently there is no app equivalent of reevaluating the query cell, so you need to rework it into a form.
I think we can solve this with an input button. It would be similar to the button control, but it would have a value, which is the number of clicks (bump-only counter). With that we can implement reload functionality by showing the button and doing Kino.Input.read(button) in every cell that should be recomputed on click.
So your notebook would become:
<!-- livebook:{"app_settings":{"access_type":"public","auto_shutdown_ms":5000,"output_type":"rich","slug":"issue-469"}} -->

# Prototype idea

```elixir
Mix.install([{:kino, "~> 0.14.0"}])
```

## Section

<!-- livebook:{"reevaluate_automatically":true} -->

```elixir
Kino.Markdown.new(
  "Testing automatic eval in app model: #{DateTime.utc_now()}. Only rich outputs"
)
```

<!-- livebook:{"reevaluate_automatically":true} -->

```elixir
reload_button = Kino.Input.button("Reload data")
```

```elixir
_ = Kino.Input.read(reload_button)

# heavy db query
# how to reload this cell in app with rich outputs only that would trigger notification in other apps?
{:ok, results} = {:ok, [1, 2, 3, 4, 5]}
```

<!-- livebook:{"reevaluate_automatically":true} -->

```elixir
Kino.Markdown.new("#{Enum.join(results, ", ")} #{DateTime.utc_now()}")
```

You can even read the button in multiple cells, so that clicking it would evaluate all of them.
This is a little bit indirect, but should do the job. What do you think?

@jonatanklosko this would 100% solve the problem but adding "button" in input module just for this use case sounds... wrong? I'm unsure what other use cases are there.
One alternative that maybe feels more intiutive is empty form with just "submit"? I believe <form><button type="submit">Reload</button></form> is valid syntax, but then it would be a matter of reading it.

<!-- livebook:{"reevaluate_automatically":true} -->

```elixir
# may be expanded later with additional inputs!
# this currently doesn't work, form wants at least 1 input
form = Kino.Control.form([], submit: "Reload data")
```

<!-- livebook:{"reevaluate_automatically":true} -->

```elixir
# new functionality
_form = Kino.Control.read(form)
```

There is a conceptual difference though. Controls are not read, only inputs are. But maybe that's something we can change as part of this work and maybe we can have a single unified module?

Forms are fundamentally different, because each user has their own values of the inputs, so "reading a form" is not a thing. The use case for forms is processing submissions asynchronously, and possibly rendering results to the individual user (though that depends on what you are doing).
On the other hand, Kino.Input elements rendered directly are shared across all users, so at each time they have a particular value, hence we can "read" those. And when the read value changes we can invalidate a cell and reevaluate it.
I think this use case is a good enough justification for input button, because it effectively is a bridge for the app user to reevaluate cells.

FWIW I would love to unify inputs and forms, but it's two fundamentally different use cases (shared vs not shared computation), so that's why we have both.

There is a conceptual difference though. Controls are not read, only inputs are.

Oh, #TIL! Given examples in Kino.Control.stream/1` I assumed it would be similar.
button/1 in Kino.Input still feels wrong to me, particularly if we already have Kino.Control.button/1, this would be confusing.

Technically we could deprecate Kino.Control.button/1, because subscribing works for inputs also. Or we could use a different naming like Kino.Input.counter/1, except in this case we don't really need to show the value, so it's literally a button.
Just to be clear on the distinction, Kino.Control is about events, which are handled asynchronously, not related to the notebook evaluation. On the other hand, Kino.Input is about inputs shared across users, so it's almost like notebook parameters, which you can read as part of regular evaluation.
I agree that Kino.Input.button/1 feels a bit weird, but I can't think of a better way of forcing evaluation from the app UI (technically we could have a reevaluate element, but I wouldn't go this route). In other words, I think it's a good functionality to add, it's more of a question if we can make the API more clear.

It probably makes sense to deprecate Control.button given we could use an empty form? And we delegate it to the input one during the deprecation?

@josevalim not even because of form, you can already do that, but rather because we support subscribing to inputs, so it would be like this:
button = Kino.Control.button("Button")
Kino.listen(button, &IO.inspect/1)
#=> %{type: :click, origin: "4mb6p7xbajyendmo"}

button = Kino.Input.button("Button")
Kino.listen(button, &IO.inspect/1)
#=> %{type: :change, value: 1, origin: "4mb6p7xbajyendmo"}

The event is different, so we want to be graceful with the deprecation, but you should be able to replace the control with input in all places.

The button input is essentially a stateful button control.

Let's say we've 2-3 heavy DB queries and I want to create a report that's available as app. Ideally, automatically refetch the data at some interval or when user clicks a button.

Just to add to the discussion, note that an alternative option overall is to use multi-session app. Whenever someone wants to get the report, they go to the app and open "New session", which executes the notebook and generates everything with the latest data.
To clarify the problem. There are two main ways to build apps:

"Workflow apps" where the notebook executes to perform some task or generate a report based on inputs. This is has a more direct correspondence with just writing a notebook.

"Event-driven apps" which are implemented with forms/controls and frames, in more complex cases you may want an entire GenServer managing the UI. These allow for more arbitrary interactions, but it also steers away from a sequential notebook flow.

The use case of "click a button and update UI" points towards 2., however you are more inclined towards 1., because it is more natural to write as a notebook.


Quick issue to change the blank.png link to your repo's raw link.

blank.png reference should be https://raw.github.com/ctrezevant/eliteshell/blob/master/blank.png
Happy New Year!

Unfortunately, Reddit only allows you to use images that you've uploaded in the CSS editor (see here), so I don't think this would work. Unless I've misunderstood?

Unfortunately, Reddit only allows you to use images that you've uploaded in the CSS editor (see here), so I don't think this would work. Unless I've misunderstood?

You have. I meant the github project's page. The blank.png currently
directs to my repo's blank png.
On Fri, Jan 1, 2016 at 1:21 PM Charlton Trezevant<EMAIL_ADDRESS>wrote:

Unfortunately, Reddit only allows you to use images that you've uploaded
in the CSS editor (see here
https://www.reddit.com/r/csshelp/comments/nia9f/external_image_url_in_subreddit_css_stylesheet/),
so I don't think this would work. Unless I've misunderstood?
—
Reply to this email directly or view it on GitHub
https://github.com/ctrezevant/eliteshell/issues/6#issuecomment-168326594
.

Ah, I see. All fixed!


remove dotted outline around button in firefox

That's nice. O completely forgot about this rule. Thank you!


Electron builder fix node issue

Related Issue:
#26
Hey @Jtfinlay thanks for your work on this. I hope it's OK that I'm commandeering this as you're busy with wedding planning. Hope everything is going well with your planning.
It would be also great if you could have a look - just if you're not too busy.
Summary:

This branch is based on buildermin from jtfinlay's fork.
Added shell: true to spawn for launchDevServer & taskRun. I'll add it to createNewProject in a minute. I think that's open.
Verified that eject is still working. No issue detected on Windows.
Checked electron auto updater setup & it is working. UX is OK but could be improved later. At the moment it will download the new version in the background and displays a dialog message so the user can decide restart now or update later. Requirements so updating is working:

Pre-releases are not detected by updater - so we need to do official releases.
latest.yml required in release but we're having this automatically if yarn run publish is used. (Attention: Don't use yarn publish, omitted run, as this is trying to publish to npmjs. Maybe we could rename the publish command to avoid the confusion.)
*.exe.blockmap used for differential download - so keep it in the release. If it's not present it will fallback to full download.
Updater is using semver isGreaterThan method. So it's important to have the semversion right and I would avoid alpha releases as this is a bit confusing. So if we'd like to deploy a version than it should be a release like 0.3.x.

@joshwcomeau & @superhawk610  can you please test on Mac and Ubuntu?

Hey @AWolf81,
Afraid I don't have time to give this a thorough review right now, but I gave it a quick test run. It runs great in development, but I'm seeing this issue again, after installing the application:

I believe I've seen this issue on an unrelated branch, as well, so I'm not convinced it's a problem with this change. I'll dig some more this evening, if I have the time.

@joshwcomeau I've seen this issue before but I'm not sure how I fixed it - maybe refresh state helped. I couldn't re-create the issue that's why I haven't reported it. So as you mentioned this is unrelated but it would be great to find the cause - looks a bit like the package.json wasn't created on disk or maybe a permission issue.
One issue that's in the branch is that the app icon is not correctly displayed on Linux. It displays the following icon on Ubuntu 16.04:

Not sure how to fix it. Seems like others also have that problem - see issue.
Just the icon is not correctly displayed - other functionality is working (tested devServer, build, test & eject) on Ubuntu.

@joshwcomeau I've seen this issue before but I'm not sure how I fixed it - maybe refresh state helped

Yeah, so this is reproducible for me, and it happens with a fresh state (I didn't actually try resetting, but there was no state to refresh).
I'll spend some time soon checking to see if it happens on master. Because yeah, I'm not convinced this change is to blame, but if it's broken on master, this is release-blocking, so we should fix it ASAP anyway.
But yeah I can take the lead on that since it's a MacOS-exclusive issue.

One issue that's in the branch is that the app icon is not correctly displayed on Linux. It displays the following icon on Ubuntu 16.04

Ah, hm. That's a bit of a shame. The linked issue has a solution about adding an icon prop to BrowserWindow, but we are doing that already, so maybe there are new restrictions to the filesize or file format or something... although that shouldn't change from the builder, that's a core Electron API.
I think that should become its own issue, after this lands, but I don't think it should be blocking.
We should update our analytics to track platform. If only 1% of our users wind up being linux users (which wouldn't surprise me), I'm not so concerned about cosmetic defects that don't affect functionality. I'll create an issue for that.

Appreciate you commandeering! Changes look great :)

You're welcome @Jtfinlay.
OK, I've prepared everything but I think we need to check one final point before merging to master.
I'm getting again that react-scripts were not found error like mentioned here during development & in the binary. But this time I can not get it to work with-out a change.
I think I can fix it for Windows like following:
export const getBaseProjectEnvironment = (
  projectPath: string,
  currentEnvironment: Object = window.process.env
) => {
  return {
    ...currentEnvironment,
    // NOTE: `FORCE_COLOR` adds control characters to the output.
    // If at some point we need "raw" output with no control characters, we
    // should move this out into a "wrapping" function, and update current
    // callsites to use it.
    FORCE_COLOR: true,
    ...(!isWin && {
      PATH:
        currentEnvironment.PATH +
        path.join(projectPath, 'node_modules', '.bin', path.delimiter),
    }),
  };
};

Not sure if that's the way to go but with-out it. It wasn't working for me. After adding it it's working during development run of app and in the binary. Or is it just a problem with my setup?
Ubuntu not tested yet.
There was a flow error inside node_modules for graphql. Not sure why that happend but I added it to flow ignore as this is unrelated to Guppy.

Yay🎉! I've found how to fix the issue on Windows.
It was because the path key on Windows started with an upper-case P and so adding to PATH caused two path keys. Then exec/spawn probably took the PATH value and was missing the defaults from Path.
I think this is ready for merging - I just haven't re-tested it on Ubuntu.


Outfactor source extraction functions

Amongst other things, I-analyzer contains the functionality to convert XML, HTML or CSV files to a flat collection of key/value pairs. To extract these, you essentially pass on a few parameters and a list of Extractor objects. This functionality could be outfactored into an independent python package.
The package would essentially contain:

XMLReader / HTMLReader / CSVReader classes, which implement the source2dicts function we now have in CorpusDefinition
The Extractor classes

Individual corpus definitions in the I-analyzer backend would look pretty much the same, but the CorpusDefinition  child classes would be more lightweight.

Yes, that's a good plan! The new application might also be combined with harvesting steps. Then the process of harvesting new data & ingesting the data can be combined. That would be very nice for periodical updates, so we can do all from one application, and don't have to switch to I-Analyzer to actually ingest the data. Only potential disadvantage is that then we have informations of corpora spread over two places. But then, it's also not unusual that we get the same corpus in two different formats, which would be very difficult to accommodate in the current setup, whereas the CorpusDefinition could just be completely agnostic as to where the data comes from and which format the source data is in.

Hm, this idea of a separate harvesting + extraction application is something we've discussed, and I think you summarise the pros and cons well here. It's not quite what I meant, though. The package I envision would only define, for instance, the XML extractor  class, but the corpus definition would still create the instances of XML used for a specific corpus. Think of it more like an data-extraction-utils package.
That is not exclusive with making a separate "source extraction" application - you can do both.  But I think there is still something to be said for a lightweight module for parsing source files. An issue that I would like to address is the following:
When other researchers or projects work with the same source data (or very similarly structured data), it would be nice if I could point to relatively lightweight python package and say "here is the Extractor we used to get the chapter titles from the XML files in this dataset". That would be a lot easier if there was a standalone python package for reading source files, that isn't integrated in a web application.
Another reason is that we ourselves may work on projects that also involve reading XML/HTML/CSV data but otherwise have nothing to do with I-analyzer.

Do you think we could factor this out as in: release a PyPi package that we could import in I-Analyzer?

I think so! You wouldn't necessarily need to upload to PyPI if it's very niche, but that would be nice the interest of FAIRness.

I've put a preliminary implementation in https://github.com/UUDigitalHumanitieslab/ianalyzer-readers - it needs some more polishing to be properly reusable.

Nice! I think it misses requirements, for one thing?

Can you make that an issue in the repository?


Install Cilium with kubernestes 1.25

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Could you please give instructions to install Cilium with the latest version of Kubernetes? The quick installation of Cilium has been removed since version 1.10-rc0.
Cilium Version
Latest
Kernel Version
1.10.0-rc0
Kubernetes Version
1.25.0 and 1.24.12
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

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

What do you think is missing from the documentation? Do you have a link to a previous version of the docs that you think is missing now?

@squeed I have a similar question.
What would be an appropriate replacement for:
kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.9/install/kubernetes/quick-install.yaml

Cilium supports two installation methods, both well documented:

installation with cilium-cli -> https://docs.cilium.io/en/v1.13/gettingstarted/k8s-install-default/#k8s-install-quick
installation with helm -> https://docs.cilium.io/en/v1.13/installation/k8s-install-helm/

We no longer provide a static manifest, since we want to do pre-installation customization. When the new install operator is finished, we may transition back to a single installation manifest.


Crash at startup in 19w13b

Mappings : 19w13b.3
Fabric API : <IP_ADDRESS>
The game won't start with Couplings installed.

Fixed in 1.0.0 [ GitHub | CurseForge ]


Make the Rust API more lazy

Right now algorithms are run eagerly:
coupe::Rcb { iter_count: 2, ..Default::default() }
    .partition(ids, (points, weights))
    .unwrap();
coupe::KMeans::default()
    .partition(ids, (points, weights))
    .unwrap();
coupe::FiducciaMattheyses { max_imbalance: Some(0.05), ..Default::default() }
    .partition(ids, (adjacency, weights))
    .unwrap();

Could coupe make do with less computations?  It would mean we'd need to have a global view of the algorithm chain, something used like iterators?
trait IntoPartitioner {
    fn into_partitioner(&mut self) -> Partitioner<'_>;
}

ids
    .partition()
    .with_vertex_coords(points)
    .with_vertex_weights(weights)
    .with_adjacency(adjacency)
    .rcb(coupe::Rcb { iter_count: 2, ..Default::default() })
    .k_means(Default::default())
    .fidducia_mattheyses(coupe::FiducciaMattheyses {
        max_imbalance: Some(0.05),
        ..Default::default()
    })
    .collect() // ?
    .unwrap()?;

Some difficulties I'm encountering with coupe's current API with the [num-part port]:

it's difficult to access a specific metadata from an algorithm run when you accept any algorithm. For example the number of iterations,
algorithms can't run in parallel because the Partition trait requires &mut self because some algorithms like Random have internal state that is updated during a run. Although this ended up not really needed since spawning the rayon threadpool on all threads ends up really time consuming compared to the algorithm iterations, so I set RAYON_NUM_THREADS=1 instead.


Upgrade Wait on from 7.2.0 to 8.0.0

@Rach1507

This is a duplicate of https://github.com/bahmutov/start-server-and-test/pull/386


Section titles in exercise detail view should not say "in # days" since they were done in the past

The section titles in ExerciseDetailView should either say "# days ago" or the date the exercise reps were performed. They currently say "in # days" which implies they are in the future, and this is incorrect.

Here is thie figma doc showing what the ExerciseDetailView() is supposed to look like but with the default trailing padding.

i'll work on this.

I can have a look at this bug if it is available

@Drag0ndust since your PRs have gone through, do you want to try this one still?

I would leave it for someone else. If it is not taken by mid-October, I can have a look.

Sounds like a nice one to start with. Can I take it then?

Sure can @SpacyRicochet!

Okay, I thought that this would be an easy fix, but apparently iOS is very, very drunk. Look at the Saturday's a bit further in 😅


getprojectmembers returns empty list

Hi,
I am trying to get a list of members of a project.
When calling getprojectmembers(id) I keep getting an empty list. Do I need some kind of special permissions to do that? I can see the members in the webinterface.
Also adding and deleting members works just fine.
Can anyone reproduce this behaviour?
FYI: GitLab 7.14.3 d321305

Just stumbled over this again. In case someone might have this problem, this was the solution:
I was querying a project that was located inside a Groups' namespace, therefor all group members had access to it, but didn't show up explicitly as project members. This is not pyapi-gitlabs fault, but the default behaviour of the Gitlab API.


Add support for thermostatMode

Hi there,
I'd like to request adding support for the thermostatMode capability to control thermostat modes (heat, cool, auto, off).
I think this change make your service increase compatibility with various old-type devices, like traditional air conditioning units.
Thank you for considering my request.

There is already support for this in the response to temperature requests as described in the docs.


Re-generate JS/CSS and fix font paths

Re-generates on-demand JS/CSS header/footer from cfgov-refresh.
Changes font paths to /static/fonts from ../fonts

Approved by @sebworks in chat


fix paying extrinsic with custom asset

My testing for #401 was unfortunately not good enough; it only worked when the assetId was null when sending extrinsics. This PR fixes now the non-null case.

Released under polkadart: 0.3.2


Add Toast Ext Feature

We don't have any specific Android deps since the library is intended to be quite common. Please use extension methods in your code.

I see another way: to create additional module in this project with android support features.

Thank you.


[Bug] Db service does not restart properly

After a deployment it seems the services do not start in the correct order and the database does not initialize itself from time to time.
Check and fix.

I checked the docker-compose dependencies in they look ok.
Could you add an error log here pls

This has been resolved some time back.


feat: Implement Tautrust assertion modules

Implemented assertion modules in t3modules.
The assertion modules are empty, but those work only during program verification.

see #61 .


About passing this pointer to notifyCallback in BLERemoteCharacteristic

Currently, notifyCallback is a plain function pointer and there is no direct way to pass the this pointer to the callback function. It is better to change to C++ std::function.

Does notifyCallback work correctly?

@anhvu100  ... is your question similar to this discussion?
https://github.com/nkolban/esp32-snippets/issues/311
If yes, maybe we can consolidate our discussions there?

Right. It is the same with that discussion.