Station pathways editor

 Issue by abyrd
Thursday Nov 30, 2017 at 18:39 GMT
Originally opened as https://github.com/catalogueglobal/datatools-ui/issues/56

The pathways.txt proposal has been around for about 8 years and seems to be taking off again. It would be great to have an editor to map out the inside of stations:

The background image is just icing, the important thing is drawing the nodes and entrance, elevator, stairs, and turnstile ways and assigning them IDs etc.

This proposal is merged and supported in Google Maps now: https://github.com/google/transit/pull/143
A good time to start efforts in this direction? :)

This is certainly on our roadmap. If you happen to know of any agencies, that are looking for this feature and would be able to sponsor some of this work, feel free to send them our way!


OCM-8283 | fix: kubelet-config edit prompt no longer shows up when kubelet-configs are not targeted

OCM-8283 - Fixing bug to stop kubelet-config warning showing up when kubelet configs are not specified.

/cherrypick release_1.2.40

/approve

/lgtm


[Event Request] Table 472 "Job Queue Entry".SetDefaultValues

Describe the request
Please add new parameter to existing event and new event.
   local procedure SetDefaultValues(SetupUserId: Boolean)
   var
       Language: Codeunit Language;
       //--------------------------------------------OnSetDefaultValuesOnBeforeSetUserID:BEGIN
       IsHandled: Boolean;
   //-----------------------------------------------OnSetDefaultValuesOnBeforeSetUserID:END
   begin
       "Last Ready State" := CurrentDateTime();
       "User Language ID" := Language.GetLanguageIdOrDefault(Language.GetUserLanguageCode());
       //---------------------------------------------OnSetDefaultValuesOnBeforeSetUserID:BEGIN
       OnSetDefaultValuesOnBeforeSetUserID(Rec, xRec, SetupUserId, IsHandled);
       //---------------------------------------------OnSetDefaultValuesOnBeforeSetUserID:END
       if not IsHandled then
           if SetupUserId then
               "User ID" := UserId();
       "No. of Attempts to Run" := 0;
       if "Job Timeout" = 0 then
           "Job Timeout" := DefaultJobTimeout();

       //----------------------------------------------------------OnAfterSetDefaultValues:BEGIN
       //OnAfterSetDefaultValues(Rec);
       OnAfterSetDefaultValues(Rec, xRec);
       //----------------------------------------------------------OnAfterSetDefaultValues:END
   end;

//----------------------------------------------------------OnAfterSetDefaultValues:BEGIN
   [IntegrationEvent(true, false)]
   //local procedure OnAfterSetDefaultValues(var JobQueueEntry: Record "Job Queue Entry")
   local procedure OnAfterSetDefaultValues(var JobQueueEntry: Record "Job Queue Entry"; xJobQueueEntry: Record "Job Queue Entry")
   begin
   end;
   //----------------------------------------------------------OnAfterSetDefaultValues:END

   //-----------------------------------------------OnSetDefaultValuesOnBeforeSetUserID:BEGIN
   [IntegrationEvent(true, false)]
   local procedure OnSetDefaultValuesOnBeforeSetUserID(var JobQueueEntry: Record "Job Queue Entry"; xJobQueueEntry: Record "Job Queue Entry"; var SetupUserId: Boolean; var IsHandled: Boolean)
   begin
   end;
   //------------------------------------------------OnSetDefaultValuesOnBeforeSetUserID:END

Additional context
We have different logic for filling userID to job queue entry.
Internal work item: AB#555033

Hi @fridrichovsky, what do you mean you have a different logic for filling userID?
Setting a different userID does not mean the Job Queue will be run under that other userID that is set on the record.
I do not see any value in this if what you want to do is change the userID to be someone else than the one actually running the Job Queue.

Hi @darjoo,
Job Queue Entry have one problem for us. If I change parameters or insert record it set current userid(). It is ok for postponded invoicing, but we have more jobs where current user do not have enough permission for that job. So we need keep there preset user that have enough permissions. We preset user id by setups.
Example:
ICT guy who works with Job Queues and who can change parameters do not have permission for value entry table that is required by adjustment job. So this quy can not change parameters because it change userid to him but job fail because permissions. So we need keep there userid that have permissions for value entry and we do not want add permissions to ICT guy.
What I see we can skip parameter IsHandled because it is duplication for "SetupUserId"

@fridrichovsky What kind of parameters is the ICT guy changing?
There are a few parameters that causes the UserId to be changed.

"User ID"
"Object Type to Run"
"Object ID to Run"
"Parameter String"

There is another event you could consider if what you want is to avoid the updating of the UserId.
OnModifyOnAfterRunParametersChangedCalculated that is run in the OnModify trigger, it has the RunParametersChanged var parameter.
I would highly suggest not to avoid changing the "User ID" field as it's purely a visibility field and does not affect who runs the underlying task running.

Hi @darjoo,
Are you sure that is for visibility what I know from older version this field was used when new session was started for job queue entry. So we had problem with permission during job running.
Your suggested event looks good and I can imagine that I can use it.

@fridrichovsky Which version are you talking about?
I do not remember this ever changing who ran the underlying task since I first started touching Job Queues back in ~v15.
I'll close the request as the event should suffice. But do @ me and let me know which version used to be different, as I'd like to know that.


ethernity(mainnet): remove placeholder custom gas token address

The gas token address stored in Ethernity's chain config was a placeholder and not being used. The chain is not actually configured to use a custom gas token. This pr removes that placeholder

To clarify, this value is not a placeholder but an magic value meaning "ETH", which our tool read from L1 and wrote into the chain config.
https://specs.optimism.io/experimental/custom-gas-token.html#selection-of-ether_token_address

I'd prefer to fix the add-chain tool first if we don't want to store this when there is no custom gas token. Then we can clean up all existing instances.


Activity start and end are printed out of order

Example:
activity-start:build_docs:starting activity build_docs
activity-end:source_tarball:activity source_tarball complete

Weird....


Evol metric with custom request

I’ve been confronted multiple time to this pb, and i think an evolution on your great plugin can resolve it.
my need is to have a table splitted by row on a fiels value of doc’s type A.
On the second column to have a formula base on a metric divide by a value computed by a mix of metric on doc’s type A and another metric targetting doc’s type B with no common field with doc type A.
My data are like this example.
{ type: A, num: 1, run: 56 }
{ type: A, num: 2, run: 25 }
{ type: A, num: 3, run: 46 }
...
{ type: A, num: 5, run: 88}
{ type: A, num: 6, run: 99}
{ type: B, fieldY: 1, state : ok}
{ type: B, fieldY: 4, state : ok}
{ type: B, fieldY: 17, state : ko}
{ type: B, fieldY: 1, state : ok}

num
Ratio

x
Max(run)/ count(query (type:B and state: ok)

1
56/3

2
25/3

...

so it would be powerful to compute metric with custom request without usage of the main bucket.
Or to have on the data configuration part the ability to add multiple couple of bucket/metric(s).
like Excel/sql  we can compute part of a formula by using separated request.

Hi,
Well, honnestly, this is very complex to implement, both solutions.

I think that you can achieve your need doing these steps:

in "Metrics", add "Max" aggregation, and choose field "run"
in "Metrics", add "Max Bucket" aggregation

choose "Filters" as sub "Bucket" aggregation
in "Filter 1" option, indicate your sub query (ex: type:B and state: ok)
choose "Count" as sub "Metric" aggregation

Finally create a computed column with this formula:
col['max_run'] / col['State B and state OK Count']


Decouple ImapSync from MessagingController and NotificationController

This is a first step towards being able to have protocol implementations as optional modules.

didn't test but code lgtm


[go_router] Creating an observer does not listen to .go() route changes

What package does this bug report belong to?
go_router
What target platforms are you seeing this bug on?
iOS
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
[Paste file content here]

Steps to reproduce
Hello!
I wanted to create an route path observer using extending the NavigatorObserver and I found that when I wanted to go to a specific location using context.go() does not call any of the overridable methods (like didPop, didPush, didReplace, etc.).
Expected results
To have a way to also use context.go() and use a observer.
Actual results
Nothing gets cached through the observer.
Code sample
Code sample
GoRouter(
  initialLocation: '/',
  navigatorKey: _rootNavigatorKey,
  observers: [
    GoRouterObserver(), 👈 Created observer
  ],
  routes: [
    GoRoute(
      ...
    )
    GoRoute(
      ...
    ),
  ],
);

class GoRouterObserver extends NavigatorObserver {
  @override
  void didPush(Route<dynamic> route, Route<dynamic>? previousRoute) {
    print('MyTest didPush: $route');
  }

  @override
  void didPop(Route<dynamic> route, Route<dynamic>? previousRoute) {
    print('MyTest didPop: $route');
  }

  @override
  void didRemove(Route<dynamic> route, Route<dynamic>? previousRoute) {
    print('MyTest didRemove: $route');
  }

  @override
  void didReplace({Route<dynamic>? newRoute, Route<dynamic>? oldRoute}) {
    print('MyTest didReplace: $newRoute');
  }
}

Screenshots or Videos

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.1.1 23B81 darwin-arm64, locale en-ES)
    • Flutter version 3.16.9 on channel stable at /Users/user/dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 41456452f2 (7 days ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/user/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.85.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 14.1.1 23B81 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 121.0.6167.85

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report. Seeing the same behavior as reported.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.16.8, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.16.8 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 67457e669f (2 days ago), 2024-01-16 16:22:29 -0800
    • Engine revision 6e2ea58a5c
    • Dart version 3.2.5
    • DevTools version 2.28.5
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.19.0-15.0.pre.36, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.19.0-15.0.pre.36 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 31116770ed (2 hours ago), 2024-01-31 19:23:05 -0800
    • Engine revision f4fbabf1eb
    • Dart version 3.4.0 (build 3.4.0-97.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Also I think it is the same related on this issue: https://github.com/flutter/flutter/issues/112196

I found this way to listen to route changes
_router.routeInformationProvider.addListener(() {
      final uri = _router.routeInformationProvider.value.uri;
      print('routeInformationProvider: $uri');
});

Other part codes
final _router = GoRouter(
  navigatorKey: shellNavigatorKey,
  initialLocation: const shell_route.HomeRoute().location,
  routes: shell_route.$appRoutes,
);

void initState() {
    super.initState();
    _router.routeInformationProvider.addListener(() {
      final uri = _router.routeInformationProvider.value.uri;
      print('routeInformationProvider: $uri');
    });
  }

  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerConfig: _router,
    );
  }

go_router: ^14.3.0
go_router_builder: ^2.7.1
build_runner: ^2.4.13
Flutter 3.24.1

In my testing the routeInformationProvider.addListener listener would get called in most cases, but not when returning from a child route to a parent route. For example, when going from a uri of /view1/view2 to /view1 the listener was not called.
However, when I used this:
_router.routerDelegate.addListener(() {
      final uri = _router.routerDelegate.currentConfiguration.uri;
      print('routeInformationProvider: $uri');
});

The listener seemed to be called for all uri changes, even when returning from a child route to a parent route.


Fix: Do not use realpath() on non-existent cache file

This PR

[x] asserts that actual directory of cache file is used even if cache file does not exist
[x] skips using realpath()

Follows #1888.
Somewhat related to #1998.

@keradus
Do you want to take a look again?

@localheinz , could you please first take a look on #2357 ?
it will affect how this PR should be handled i think...

Could you please rebase after merge of #2357 ?
or nothing left here?

All good!


when should we update writetime?

https://github.com/milk-org/ImageStreamIO/blob/d59b2719ddbd4156cd08da127d88a93eeaa83281/ImageStreamIO.c#L2147
This looks like the place to update md->writetime, as well as writetimearray.  Also, what about cntarray?  Whose job is it to update that?

just writetime added here: https://github.com/milk-org/ImageStreamIO/pull/57


let link to haddock documentation point to stackage

This points to a specific version, which means we'll have to keep updating it every time there's a release. I haven't found a stackage equivalent of "latest" - if there isn't one, I propose we keep it as is.
I know the link is now broken, but that's because the haddocks haven't been built. I'll try uploading the package again.

Docs uploaded.

Thanks a lot.


Update Jet version to 0.2.1

Context:
The next release of Jet is not reflected in the current version number (0.2.0) returned by the Jet libraries.
Description of the Change:

The patch version of Jet has been incremented across all Jet libraries, examples, benchmarks, and documentation.

Benefits:

The version number returned by the Jet libraries is more accurate.

Possible Drawbacks:
None.
Related GitHub Issues:
Inspired by #55.

Nice work here. I think the only other changes required are the SLURM scripts to ensure they work with the fixed CUDA implementation. I'll push something along here shortly.

Nice work here. I think the only other changes required are the SLURM scripts to ensure they work with the fixed CUDA implementation. I'll push something along here shortly.

 Great work!


How to compile for Windows 10?

Hi there. I'm trying to compile your code using Cygwin on Win10.
Apparently Cygwin doesn't include ComSpec like the makefile expects.
Do you have any suggestions for a Windows build? Thanks!

I'm not sure how I missed that.
Thanks again, and nice work!


Bundler cyclic dependency error on installation

Currently there is an issue with a cyclic dependency error going around that happens when installing using bundler.
The cause of that is that both fastlane and xcode-install depend on each other. This will be fixed once the following PRs are merged and a new version of fastlane is released:

#7571 #7554
https://github.com/KrauseFx/xcode-install/pull/191
(Version Bump #7572)

If you encounter this issue with bundler, please consider using an alternative installation method in the meantime (e.g. brew cask install fastlane)

Tried to install fastlane from homebrew as recommended, but that fails with:
Fastlane update available
Please run `brew cask reinstall fastlane`
/Users/david/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- aws-sdk (LoadError)
	from /Users/david/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/david/src/easyshiftios2/.fastlane/helper/quri_s3_helper.rb:1:in `<top (required)>'
	from /Users/david/src/easyshiftios2/fastlane/actions/quri_store_artifacts.rb:1:in `require_relative'
	from /Users/david/src/easyshiftios2/fastlane/actions/quri_store_artifacts.rb:1:in `<top (required)>'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.1.0/fastlane/lib/fastlane/actions/actions_helper.rb:109:in `block in load_external_actions'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.1.0/fastlane/lib/fastlane/actions/actions_helper.rb:108:in `each'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.1.0/fastlane/lib/fastlane/actions/actions_helper.rb:108:in `load_external_actions'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.1.0/fastlane/lib/fastlane.rb:37:in `load_actions'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.1.0/fastlane/lib/fastlane/commands_generator.rb:29:in `start'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.1.0/fastlane/lib/fastlane/cli_tools_distributor.rb:59:in `take_off'
	from /Users/david/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.1.0/bin/fastlane:5:in `<top (required)>'
	from /Users/david/.fastlane/bin/bundle/bin/fastlane:22:in `load'
	from /Users/david/.fastlane/bin/bundle/bin/fastlane:22:in `<main>'```


Validate project and space names

Current
Project and space creation commands currently accept any string as a valid project|space names.   But in reality not all strings are valid:,   orchestrator will rejects the creation if the space name contains whitespaces, etc.
Desired
Enforce on the cli interface that project and space names follow these rules:

Contains only alphanumeric characters  and the '-' , '_'  and '.'  separators
Separators must occur between alphanumeric characters. This implies that separators can't occur at the start or end of the name, nor they can occur in sequence.

You can consider this regexp
/^[a-zA-Z0-9]+([a-zA-Z0-9-_\.]?[a-zA-Z0-9])*$/

We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels -  https://github.com/build-trust/ockam/labels/good first issue or https://github.com/build-trust/ockam/labels/help wanted

Hi, I would like to take pick this up.

@windlessStorm awesome. All yours


Split out GitHub Actions workflow for building docs to a separate workflow

This PR splits out the GitHub Actions workflow for building sphinx docs to a separate CI workflow YAML to fix the CI startup failure that was caused by merging #80

@yuanqing-wang : It looks like we need to make sure that espaloma and its dependencies are installed to build the Sphinx docs, since we are using top-level package imports in espaloma Python source files:
Running Sphinx v2.4.4

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/sphinx/config.py", line 348, in eval_config_file
    execfile_(filename, namespace)
  File "/usr/local/lib/python3.8/site-packages/sphinx/util/pycompat.py", line 81, in execfile_
    exec(code, _globals)
  File "/github/workspace/docs/conf.py", line 22, in <module>
    from espaloma import mm, nn, data, graphs
ImportError: cannot import name 'mm' from 'espaloma' (unknown location)

make: *** [Makefile:20: html] Error 2

The alternative would be to move the imports into functions so it would be possible to import espaloma files to inspect them and build API docs without the need to install espaloma and all its dependencies.

Another alternative I can easily try: Integrate the docs build step into normal CI.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@dee9ab8). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 5825502 differs from pull request most recent head 5f56d05. Consider uploading reports for the commit 5f56d05 to get more accurate results

@yuanqing-wang : Looks like you also need to add your sphinx conf.py file to docs/?
Sphinx build html
  sphinx-build -b html /github/workspace/docs/. /github/workspace/gh-pages -E -d /github/workspace/.doctree

  Running Sphinx v4.1.2
  Configuration error:
  config directory doesn't contain a conf.py file (/github/workspace/docs)

Closing, since no longer relevant.


[feature] Add support for gtf in load_annotation()

GTF is so widely used. Should be easily addable with BCBio.GFF
import Bio

from BCBio.GFF import GFFExaminer
import BCBio.GFF as bgff

import pymisca.util as pyutil
import pymisca.vis_util as pyvis
plt = pyvis.plt

def read_gtf(in_file, cache=1):
    if isinstance(in_file,str):
        in_handle = open(in_file)
    else:
        in_handle = in_file
    it = bgff.parse(in_handle,)
    if cache:
        res = list( it )
        in_handle.close()
    else:
        res = it
    return res

def gene2transcript(g,force=0):
    '''Convert a SeqRecord from BCBio.GFF.parse() to a dictionary-like object
'''
    if isinstance(g,Bio.SeqRecord.SeqRecord):
        if not force:
            assert len(g.features)==1
        g = g.features[0]

    feats = g.sub_features
    d = {'parent':g}
    for i,f in enumerate(feats):
        if f.type in ['start_codon','stop_codon']:
            d[f.type]  = f
    return pyutil.util_obj(**d)

Sorry! This took a while, as I was very busy. GTF/GFF is indeed widely used, however, especially for GFF there are  many dialects that are subtly different. But I'll put it on the list of future enhancements.


Include tests and LICENSE in sdist

Also a GitHub tag hasnt been created yet for the last release.
Looking forward to packaging this for openSUSE.

I just updated the tags, so v0.0.3 is there now (I should really automate this bit).
I think I've got those files included in the sdist with #10. We'll get that released soon (and feel free to comment on the PR if you notice any issues).
Thank you!


feat(pacmod_interface): prevent gear chattering

Description

Gear commands sent from Autoware may occasionally chatter, causing Pacmod to perform improper gear transitions. To address this issue, I add a feature to prevent gear chattering to the pacmod_driver.
Related Links
https://github.com/autowarefoundation/autoware.universe/pull/4213
https://github.com/autowarefoundation/autoware.universe/pull/4155

Codecov Report
Patch and project coverage have no change.

Comparison is base (689f93c) 0.00% compared to head (38798c9) 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@          Coverage Diff          @@
##            main     #64   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files         11      11
  Lines        944     960   +16
=====================================
- Misses       944     960   +16

Flag
Coverage Δ

differential
0.00% <0.00%> (?)

total
?

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

Impacted Files
Coverage Δ

...nterface/src/pacmod_interface/pacmod_interface.cpp
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


disableScroll property in angular-shepherd service is not working.

Also Can't see any mapping of this property in shepherd tour instance

Just added to the types https://github.com/shipshapecode/shepherd/pull/522
Will look into why it's not working in angular-shepherd.


Update README.md

posting the link to get pentabarf account (for @moigagoo) also here (not sure how much comments in code notify): https://penta.fosdem.org/user/new_account


[Draft] Test self-hosted runner

@vmilosevic, is this still relevant? Can we close?

Closing, we can reopen if need be.


Using AWS Amplify as a Proxy

Describe the bug
The documentation for using AWS Amplify as a proxy don't work: https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#reverse-proxy-rewrite
For it to work for me, I had to modify the example such that:
/images/<*> -> https://images.otherdomain.com/<*>

To Reproduce
Steps to reproduce the behavior:

Setup proxying as mentioned in the doc - https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#reverse-proxy-rewrite

Expected behavior
Linking to /images will work, but linking to anything else in that path will not. I expected everything in that path prefix to get proxied.

Hi @inssein, I was able to reproduce this behavior as well.
I will work with the team to see if our docs should be updated, or if this is a bug on our end. Sorry you faced this, and thanks for reaching out!


Changed transpose to only work for valid matrices

Continued the work @AlparSzabados and @danieldietrich:
https://github.com/javaslang/javaslang/pull/1828#discussion_r96847626

Well done! ... and fast ;)

Current coverage is 97.09% (diff: 100%)

Merging #1829 into master will increase coverage by <.01%

@@             master      #1829   diff @@
==========================================
  Files            87         87
  Lines         11307      11308     +1
  Methods           0          0
  Messages          0          0
  Branches       1875       1875
==========================================
+ Hits          10978      10979     +1
  Misses          207        207
  Partials        122        122

Powered by Codecov. Last update a8cace8...4e28f99

... that was a long build :)

Now this is a clean solution. Thank you for your previous review!


"panic: bytes must be at least 1 byte" when running docker image timescaledb:1.2.2-pg11

I am trying to install TimescaleDB with Docker. It works perfectly on MacOS Mojave 10.14.4, but on Ubuntu 14.04.6 LTS, Trusty Tahr, an error was raised. I found out how it happened, but have no idea why it happened and how to fix it.
docker pull timescale/timescaledb:1.2.2-pg11
docker run -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password timescale/timescaledb:1.2.2-pg11

However, the container was exited immediately afterwards. It seems like that error from this line of timescaledb-tune was triggered in the initiation process. I used docker logs timescaledb and found error logs like this:
Using postgresql.conf at this path:
/var/lib/postgresql/data/postgresql.conf
Writing backup to:
/tmp/timescaledb_tune.backup201904180746
panic: bytes must be at least 1 byte
goroutine 1 [running]:
github.com/timescale/timescaledb-tune/internal/parse.parseIntToFloatUnits(...)
    /go/src/github.com/timescale/timescaledb-tune/internal/parse/parse.go:43
github.com/timescale/timescaledb-tune/internal/parse.BytesToDecimalFormat(0x0, 0x2a, 0xc00003fd40)
    /go/src/github.com/timescale/timescaledb-tune/internal/parse/parse.go:66 +0x1ff
github.com/timescale/timescaledb-tune/pkg/tstune.(*Tuner).processQuiet(0xc00000c860, 0xc000070ff0, 0x0, 0x0)
    /go/src/github.com/timescale/timescaledb-tune/pkg/tstune/tuner.go:601 +0x51
github.com/timescale/timescaledb-tune/pkg/tstune.(*Tuner).Run(0xc00000c860, 0x61a020, 0x550800, 0xc00000e010, 0x550820, 0xc00000e018, 0x550820, 0xc00000e020)
    /go/src/github.com/timescale/timescaledb-tune/pkg/tstune/tuner.go:261 +0x3b6
main.main()
    /go/src/github.com/timescale/timescaledb-tune/cmd/timescaledb-tune/main.go:55 +0x170

It seems to be reading a bad value from your memory settings. So the question would be, what are the values of the following things if you exec into the docker container:
cat /sys/fs/cgroup/memory/memory.limit_in_bytes

and
free -m | grep 'Mem' | awk '{print $2}'

@RobAtticus thanks, but like I mentioned earlier, the container was exited immediately after docker run, which makes me hardly possible to docker exec in to the container because it's not running.
Is this relevant to any docker settings that I can check?

You can pass an environment variable TS_TUNE_MEMORY to what the memory should be using the -e flag: docker run -e TS_TUNE_MEMORY="1 GB" ...
Then you should be able to get into it and get those values

@RobAtticus I did docker run -d --name timescaledb -p 5432:5432 -e TS_TUNE_MEMORY="1 GB" -e POSTGRES_PASSWORD=password timescale/timescaledb:1.2.2-pg11, and the container is still exited right away.
However this time the logs are different:
2019-04-19 03:00:57.740 UTC [46] CONTEXT:  PL/pgSQL function inline_code_block line 15 at RAISE
2019-04-19 03:00:57.745 UTC [48] ERROR:  TimescaleDB background worker connected to template database, exiting
CREATE EXTENSION

/usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/001_reenable_auth.sh
2019-04-19 03:00:57.746 UTC [32] LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 48) exited with exit code 1

/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/002_timescaledb_tune.sh
exit: incorrect PostgreSQL bytes format: '1'

Sorry that's my bad, it should have been -e TS_TUNE_MEMORY="1GB" (you can change 1GB to whatever is a suitable resource value too).

@RobAtticus thank you. I now get into the running container with -e TS_TUNE_MEMORY="1GB" when docker run. For the two mention values, I listed them below.
cat /sys/fs/cgroup/memory/memory.limit_in_bytes:<PHONE_NUMBER>3709551615
free -m | grep 'Mem' | awk '{print $2}': 7479

Thanks @corytu , I think I found the root cause of the problem and with our next release it should be fixed. For now, you can pass in -e TS_TUNE_MEMORY="7GB" or however much memory you want PG to have.

I'm still facing this problem in a raspberry pi 4. Maybe re-open it? The TS_TUNE_MEMORY definition solves the problem.
$ docker compose up
[+] Running 2/2
 ✔ Network timescale_default  Created                                                             0.2s
 ✔ Container timescale-pg16   Created                                                             0.1s
Attaching to timescale-pg16
timescale-pg16  | The files belonging to this database system will be owned by user "postgres".
timescale-pg16  | This user must also own the server process.
timescale-pg16  |
timescale-pg16  | The database cluster will be initialized with locale "en_US.utf8".
timescale-pg16  | The default database encoding has accordingly been set to "UTF8".
timescale-pg16  | The default text search configuration will be set to "english".
timescale-pg16  |
timescale-pg16  | Data page checksums are disabled.
timescale-pg16  |
timescale-pg16  | fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok
timescale-pg16  | creating subdirectories ... ok
timescale-pg16  | selecting dynamic shared memory implementation ... posix
timescale-pg16  | selecting default max_connections ... 100
timescale-pg16  | selecting default shared_buffers ... 128MB
timescale-pg16  | selecting default time zone ... America/Sao_Paulo
timescale-pg16  | creating configuration files ... ok
timescale-pg16  | running bootstrap script ... ok
timescale-pg16  | sh: locale: not found
timescale-pg16  | 2024-08-19 18:38:53.421 -03 [36] WARNING:  no usable system locales were found
timescale-pg16  | performing post-bootstrap initialization ... ok
timescale-pg16  | syncing data to disk ... ok
timescale-pg16  |
timescale-pg16  |
timescale-pg16  | Success. You can now start the database server using:
timescale-pg16  |
timescale-pg16  |     pg_ctl -D /var/lib/postgresql/data/pgdata -l logfile start
timescale-pg16  |
timescale-pg16  | initdb: warning: enabling "trust" authentication for local connections
timescale-pg16  | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
timescale-pg16  | waiting for server to start....2024-08-19 18:38:54.855 -03 [42] LOG:  starting PostgreSQL 16.3 on aarch64-unknown-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit
timescale-pg16  | 2024-08-19 18:38:54.857 -03 [42] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
timescale-pg16  | 2024-08-19 18:38:54.864 -03 [45] LOG:  database system was shut down at 2024-08-19 18:38:54 -03
timescale-pg16  | 2024-08-19 18:38:54.874 -03 [42] LOG:  database system is ready to accept connections
timescale-pg16  | 2024-08-19 18:38:54.877 -03 [48] LOG:  TimescaleDB background worker launcher connected to shared catalogs
timescale-pg16  |  done
timescale-pg16  | server started
timescale-pg16  | CREATE DATABASE
timescale-pg16  |
timescale-pg16  |
timescale-pg16  | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/000_install_timescaledb.sh
timescale-pg16  | CREATE EXTENSION
timescale-pg16  | 2024-08-19 18:38:56.356 -03 [66] ERROR:  TimescaleDB background worker connected to template database, exiting
timescale-pg16  | CREATE EXTENSION
timescale-pg16  | 2024-08-19 18:38:56.365 -03 [42] LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 66) exited with exit code 1
timescale-pg16  | CREATE EXTENSION
timescale-pg16  |
timescale-pg16  | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/001_timescaledb_tune.sh
timescale-pg16  | cat: can't open '/sys/fs/cgroup/memory.max': No such file or directory
timescale-pg16  | /docker-entrypoint-initdb.d/001_timescaledb_tune.sh: line 49: [: -gt: unary operator expected
timescale-pg16  | Using postgresql.conf at this path:
timescale-pg16  | /var/lib/postgresql/data/pgdata/postgresql.conf
timescale-pg16  |
timescale-pg16  | Writing backup to:
timescale-pg16  | /tmp/timescaledb_tune.backup202408191838
timescale-pg16  |
timescale-pg16  | panic: bytes must be at least 1 byte (got 0)
timescale-pg16  |
timescale-pg16  | goroutine 1 [running]:
timescale-pg16  | github.com/timescale/timescaledb-tune/internal/parse.parseIntToFloatUnits(0x40000cfc08?)
timescale-pg16  | 	/go/pkg/mod/github.com/timescale/timescaledb-tune@v0.16.0/internal/parse/parse.go:115 +0x114
timescale-pg16  | github.com/timescale/timescaledb-tune/internal/parse.BytesToDecimalFormat(0x0?)
timescale-pg16  | 	/go/pkg/mod/github.com/timescale/timescaledb-tune@v0.16.0/internal/parse/parse.go:138 +0x1c
timescale-pg16  | github.com/timescale/timescaledb-tune/pkg/tstune.(*Tuner).processQuiet(0x40000cfee0, 0x40000af1c0, 0x0)
timescale-pg16  | 	/go/pkg/mod/github.com/timescale/timescaledb-tune@v0.16.0/pkg/tstune/tuner.go:659 +0x44
timescale-pg16  | github.com/timescale/timescaledb-tune/pkg/tstune.(*Tuner).Run(0x40000cfee0, 0x0?, {0x15f198, 0x40000a0040}, {0x15f1b8, 0x40000a0048}, {0x15f1b8, 0x40000a0050})
timescale-pg16  | 	/go/pkg/mod/github.com/timescale/timescaledb-tune@v0.16.0/pkg/tstune/tuner.go:300 +0x42c
timescale-pg16  | main.main()
timescale-pg16  | 	/go/pkg/mod/github.com/timescale/timescaledb-tune@v0.16.0/cmd/timescaledb-tune/main.go:65 +0xf4
timescale-pg16 exited with code 0

$ cat docker-compose.yml
services:
  timescale-pg16:
#    image: timescale/timescaledb-ha:pg14-latest
#    image: timescale/timescaledb-ha:pg16
#    image: timescale/timescaledb:latest-pg14
    image: timescale/timescaledb:latest-pg16
    container_name: timescale-pg16
    restart: unless-stopped
    ports:
      - '5432:5432'
    volumes:
      - ./data:/var/lib/postgresql/data/pgdata
    environment:
      - POSTGRES_USER=admin
      - POSTGRES_PASSWORD=mysuperstrongdatabasepassword
      - PGDATA=/var/lib/postgresql/data/pgdata
      - TZ=America/Sao_Paulo
#      - TS_TUNE_MEMORY="8GB" # free -m | grep 'Mem' | awk '{print $2}'
    logging:
      options:
        max-size: "100m"
        max-file: "3"

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

$ uname -a
Linux simoi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux


Added code to detect UTF32 files for NSString contentsOfURL:usedEncoding

This pull request is in continuation to PR #893

Please can you squash the history of this, so that we don't get noisy messages like "Resolved merge conflicts"? and instead of having "Merge remote-tracking branch X" messages, you can do a git pull --rebase (which will replay your commits on top of the latest, instead of trying to do a merge commit). At the very least, please rebase this all on the top of master, and then squash all commits with 'Resolved' or 'Merge' in the title.
You can also configure the 'rebase' to be the default by doing git config --global pull.rebase true so that you don't have the same problems in future.

@alblue usually any merges we accept are squash merged anyhow as a default rule so that isn't too bad.

@swift-ci please test

This looks good to me - @phausler WDYT?

looks good to me
@swift-ci please test and merge


Create abuse_google_drive_new_sender_domain.yml

Description
Add ASR coverage for Google Drive share notifications from newly registered reply-to addresses
Associated hunts

Hunt 1

/update-test-rules


docs / comparison: mention GPG Signed Commits?

I noticed that https://docs.gitea.io/en-us/comparison/ under code management ( https://github.com/go-gitea/gitea/blob/main/docs/content/doc/features/comparison.en-us.md#code-management ) mentions GPG Signed Commits.
I don't think anything else than Gitea supports SSH Signed Commits yet (at least not GitHub or GitLab) being so recent feature, I think it could be nice to mention.

@Mikaela Would you like to send a PR to add that?

@Mikaela Would you like to send a PR to add that?

I did it. :)


channels last callback

What does this PR do?
This PR fixes issue #15175 by adding a new feature to the ChannelsLast callback. This callback changes the module memory format on setup. This is useful when the user wants to use a different memory format and can lead to a considerable speedup in some cases.
Fixes #15175

This PR does not introduce any breaking changes.

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Hello, all. I'm having trouble running make docs. I'd be glad if someone could help.

@Pedrexus This should get you started:
pip install -r requirements/pytorch/docs.txt
cd docs/source-pytorch
make html
open ../build/html/index.html

Also, I left a comment here: https://github.com/Lightning-AI/lightning/issues/15175#issuecomment-1566310366


Adding python3 specific version to touchstone installation

Description
In our test jenkins machines we have both python and python3 installed on our systems. Using python here results in an error like the below. Are we able to add in python3 specifically here, so that we are able to properly create a python3 virtualenv? Thanks
Fixes
01-10 15:23:41.990  Mon Jan 10 07:23:41 UTC 2022 Installing touchstone
01-10 15:23:41.990  /usr/bin/python: No module named venv

Can one of the admins verify this patch?

I've manually tested this. Please admins help to process this PR. Thanks!


brew doctor warns about using Homebrew/linuxbrew as an origin

brew doctor now gives the following message:
Warning: Suspicious git origin remote found.
With a non-standard origin, Homebrew won't pull updates from the main repository. The current git origin is:
  https://github.com/Homebrew/linuxbrew

Unless you have compelling reasons, consider setting the origin remote to point at the main repository, located at:
  https://github.com/Homebrew/homebrew.git

I know you don't want to Linux-ize everything unnecessarily, but IMO having a clean brew doctor output is worth specifically changing.

Yes. I agree. I'll fix this.

Fixed. Thanks for the bug report, Bob.


Kernel Picker Experiment: Persist selection on document open

Right now when documents are open the kernel picker experiment starts in a state where nothing is selected. You need to start by picking a source and a controller. We should persist selection here.

We could persist the selection in some type of storage OR
If we see a selected kernel (due to vs code core's storage of the selection) we can select the kernel source associated with that controller

2 sounds better if possible.

fixed in current kernel pucker via mru


Add KeyCredentialTrait interface

Add KeyCredentialTrait that is the new AzureKeyCredentialTrait.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-core


⚠ Spryr has degraded performance

In 729c0f1, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3781 ms

Resolved: Spryr performance has improved in 140bf17 after 10 minutes.


[question] Use art:build-info for consumer of conan packages

I'm not sure if this is even possible with the Artifactory extension. I have project that is acting just as a consumer of conan packages but does not create a conan package itself. I'm only using conan install . for getting the dependencies.
I tried to follow the steps in https://github.com/conan-io/conan-extensions/blob/main/extensions/commands/art/README.md, however I only got to step 2a in the description. After conan install I have a JSON file that looks fine but I cannot conan upload because my consumer is not a conan package itself. conan art:build-info create then doesn't generate anything useful, just an almost empty JSON struct:
{
    "version": "1.0.1",
    "name": "application-name",
    "number": "129",
    "agent": {},
    "started": "2024-01-04T10:24:14.908+0100",
    "buildAgent": {
        "name": "conan",
        "version": "2.0.16"
    },
    "modules": []
}

Nevertheless, I'd like to store the dependencies in the build info. My conan packages are stored on the same Artifactory (if that's a requirement) but just having the names for now would also be fine.
Is what I want even possible?

Hi @fschoenm,
Thanks for your report.
We can take a look if the install JSON output is suitable to generate a build info. However, I am not sure about the use case, as the build info is normally generated from packages that you are actually building. In your example, you are just installing the packages, so I am not sure how the build info would be useful in that case. Maybe I need some more context.
Also, regarding the conan upload, we are working on the build-info workflow to avoid this need in some cases. It will help to smooth the process and cover some other use cases.
Thanks a lot for the feedback, it helps us to improve the extension commands for Artifactory 😄

The context is this:

We have a C++ application that uses Conan packages as a consumer. It is not a Conan package itself but gets distributed to customers. I build it with conan build (or manually with CMake or an IDE if required).
All our dependencies are Conan packages though and we have a Conan remote on Artifactory.
The final artifacts (executable, documentation, ...) of the application are stored on a generic Artifactory repo, not a Conan remote. I'd like to add a build info though referencing the (Conan) dependencies.

Seems like a common use case to me but maybe you have other ideas how we could handle that?

Seems like a common use case to me but maybe you have other ideas how we could handle that?

To be clear, the only thing that I need, is the following:
When clicking on a package in artifactory, it should show the different artifacts for that package, when they were uploaded and by whome; for which platform they were built (os, arch, compiler, stdlib, cxx_standard).
Do I need artifactory tooling for that? Isn't that information available already?

I'm currently looking at the same thing. We have a C++ app that depends on conan packages in Artifactory and we want to be able to get an xray report for each build reporting any vulnerabilities in the dependencies.

Hi @danwalshnitro
Thanks a lot for the comment and for the tentative PR to solve the issue.
We have taken a look at the issue and found that we had the changes ongoing in a different PR. I have isolated the changes to fix this issue at https://github.com/conan-io/conan-extensions/pull/127, please try the command with the new --add-cached-nodes flag to include nodes installed in the build info.
I have tested it and can confirm that it produces the XRay report you asked for 😄
Please, let me know what you think!

Also @fschoenm, I think the PR proposed covers your use case as well 😃


Updated Ubuntu 22.04LTS

Added cloud-init info for Ubuntu 22.04LTS

Learn Build status updates of commit cf0c57c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/virtual-machines/linux/using-cloud-init.md
:white_check_mark:Succeeded

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 the learn.microsoft.com contributor guidesPost your question in the Learn support channel


fix:avoid data race on createDc

What problem are we solving?
Some volume nodes are lost after reselecting the master node

As shown above, not topo.idc1:rack2
Created multiple 'dc', some were replaced,So some nodes cannot be added to topo
How are we solving the problem?
add a lock

I don't confirm.
Since a cluster of master servers with race detect enabled has been running for several days, there were no reports of a race at this location. Maybe it's something else?

I don't confirm. Since a cluster of master servers with race detect enabled has been running for several days, there were no reports of a race at this location. Maybe it's something else or is it possible to check in the latest dev version?

When there is a log like idc1 adds child rack2 not topo.idc1 adds child rack2, there is a problem

My version includes all PRs from #3507
And race detect does not see such a problem, try updating.

The local code is the latest

For example, two nodes with the same `dc` come to heartbeat.

the `Children` is empty. Then, Both nodes will create a `dc`,But only one dc with the same id can set the parent to be topo。So, there is a node that will not be loaded into topo。Restart the leader's master several times, the probability of the problem recurring is quite high

Multiple requests to create the same dc concurrently, some dc will be replaced

I see but I still need a race condition.
As I understand it, it is reproduced locally for you, then build the code with the -race option
and show WARNING: DATA RACE

As I understand it, it is reproduced locally for you, then build the code with the -race option
and show WARNING: DATA RACE

It is not local, but after the master of the online leader is upgraded, the volume node is lost, and it is checked locally.

I have a feeling that we have different versions of weed.
I need a little more time to build the current version from the master with all my PRs and try to reproduce it.
Since on the current version, after 10 restarts of the master, the data race did not happen

I have a feeling that we have different versions of weed. I need a little more time to build the current version from the master with all my PRs and try to reproduce it.
Since on my current version, after 10 restarts of leader master, the data race did not happen

Try to start several volume servers with the same dc name

Try to start several volume servers with the same dc name

Updated to version from current master branch
https://github.com/seaweedfs/seaweedfs/issues/3629

@kmlebedev Has the problem reappeared? The master code is easy to reproduce.
The reason why the master has a higher probability of problems should be caused by 3616. Now the node that is not the leader will not build the topo. The previous version will build the topo as long as there is a heartbeat of the volume server. Although it is wrong, the dc will be created. So less chance of a problem.

@kmlebedev @chrislusf Do you think this issue doesn't need to be fixed? My test result is that there is a high probability of losing the volume server after re-selecting the leader master.


[FLINK-5625] [kinesis] Let Date format for timestamp-based start position in Kinesis consumer be configurable

The patch let user define their own pattern for parsing date string.
If ConsumerConfigConstants.STREAM_TIMESTAMP_DATE_FORMAT is specified then FlinkKinesisConsumer will only use this format to parse date string.

[v] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[v] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[v] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

@tzulitai  Have already updated. Thanks for your good suggestion.

@tzulitai Thanks for the careful review. I have addressed those comments.

LGTM, +1! I'll wait for a Travis run and then merge this.

Merging to master ..


Trouble authorizing a org

Type: Feature Request
I have already installed Salesforce CLI Package and it still says it's not installed
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.19045
Modes:

/causedByExtension

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!

Even after the extension bisect still facing the same issue.
Error: 13:54:27.811 sfdx force:auth:web:login --
Salesforce CLI is not installed. Install it from https://developer.salesforce.com/tools/sfdxcli

This is not a VS Code problem. Please raise it in a Salesforce support channel.


[v2.029] There's a new Heart Biscuit that CM doesn't yet recognize for Valentines

We will now use #317 to discuss any missing upgrades or items as a result of CookieMonster not being updated for CookeClicker 2.031.


Add MICountryPicker & MIBadgeButton

Can you please rebase?

MICountryPicker have a space between the square bracket and the parentheses. Could you also fix that?

Thank you for fixing the link syntax. Please rebase your changes so we can get this merged, OK?

Done. Thanks @victorgama


v-tooltip.right breaks after upgrading from 2.0.0-rc.25

Version: 2.0.0-rc.25:

From version: 2.0.0-rc.26:

I'm sorry I can not provide a reproduction because it's a company project and I can not reproduce it in your default jsfiddle, but I downgraded from 2.0.0-rc.30 version by version and found out it breaks from 2.0.0-rc.26.

OK, I find out we can use boundariesElement: 'viewport' to prevent this issue.

This was really helpful!
Thanks @JounQin


eclipse internal browser cannot open https sites (TLS/SSL support not available)

Describe the bug
Does not render the desired site

To Reproduce
Start the eclipse, eg. eclipse-java-4.17

Open menu Window..Show View..Other
Enter Internal and click on "Internal Web Browser"
Open an URL with https, eg. https://www.google.com/

Expected behavior
It should display the content of the web site
Screenshots
It shows TLS/SSL support not available; install glib-networking
Notify maintainers
<EMAIL_ADDRESS>Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked):
/nix/store/rlknkw60sngvky1rkrdws0qik3scjcln-bash-interactive-4.4-p23-dev
copying path '/nix/store/rlknkw60sngvky1rkrdws0qik3scjcln-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...

system: "x86_64-linux"
host os: Linux 5.9.12, NixOS, 20.09.2161.214e71a78a9 (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.9
channels(niklaus): "nixos-20.09.2152.e34208e1003"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

This could be related to Eclipse not using wrapGAppsHook? #72579


Improve tests infrastructure

This PR changes the tests infrastructure in the two following ways:

Tests are now running in parallel. This reduces the execution time on my machine from 30min to somewhat about 6min (the benefit on the CI is not that drastic though, as GitHub Action workers are not that powerful and do not have a lot of CPUs)
Fixes #183

Codecov Report

Merging #190 (528503f) into master (93f555e) will decrease coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
- Coverage   76.69%   76.59%   -0.11%
==========================================
  Files         196      196
  Lines        6618     6443     -175
==========================================
- Hits         5076     4935     -141
+ Misses       1542     1508      -34

Impacted Files
Coverage Δ

src/math.jl
76.00% <0.00%> (-4.77%)
:arrow_down:

src/nodes/gamma_mixture.jl
0.00% <0.00%> (-4.31%)
:arrow_down:

src/constraints/form/form_sample_list.jl
30.00% <0.00%> (-3.34%)
:arrow_down:

src/algebra/companion_matrix.jl
44.30% <0.00%> (-2.29%)
:arrow_down:

src/macrohelpers.jl
59.57% <0.00%> (-2.13%)
:arrow_down:

src/approximations.jl
40.38% <0.00%> (-1.44%)
:arrow_down:

src/variable.jl
60.00% <0.00%> (-1.43%)
:arrow_down:

src/nodes/poisson.jl
84.61% <0.00%> (-1.10%)
:arrow_down:

src/helpers.jl
64.34% <0.00%> (-1.05%)
:arrow_down:

src/nodes/mv_normal_mean_covariance.jl
87.50% <0.00%> (-0.97%)
:arrow_down:

... and 31 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[BUG] Scenes are disconnected from Acts

Scope
Scene <IP_ADDRESS>. won't link to <IP_ADDRESS>.
<IP_ADDRESS>. won't link to <IP_ADDRESS>.
<IP_ADDRESS>. won't show in the Act's outline.
To Reproduce
Steps to reproduce the behaviour:

I initially created the scenes using the Wizard, but deleted and created new Scenes manually (using "Create a new Scene").
Rename Scenes multiple times.
Delete and create more Scenes manually.
Manually [[Link]] to other notes, and change their relationship.

Symptoms and attempts to fix
Some scenes have extra data from the Wizard, and others don't - I can't tell if this affects it or not, as the other working Scenes are Wizard and manually created.
<IP_ADDRESS>. was created by the Wizard, <IP_ADDRESS>. was not.  I deleted <IP_ADDRESS>.'s RPG manager data (in the "20" codeblock) but that didn't have an effect.
Scene <IP_ADDRESS>. thought it was part of another Act, so I changed Scene's Act, but moving it to the correct Act had no effect on it appearing, and it thought it was still part of the other Act.  I disconnected it in the Relationship manager which removed it from the wrong Act, but it still only shows as "Unidir" in the correct Act.
Changing it to be "Bidir has no effect and it reverts back to "Unidir" when the Relationship manager is closed.
Manually linking them together with a [[NoteLink]] has no effect on listing or relationship.
Screenshots
Note in the image, <IP_ADDRESS>. won't navigate to the problem Scene <IP_ADDRESS>, and that <IP_ADDRESS>. also won't navigate to <IP_ADDRESS>..

Note in the image that Scene <IP_ADDRESS> is missing.

Desktop (please complete the following information)

OS: Linux Cinnamon
Obsidian: 1.1.16
RPG Manager 3.4.5

Additional context
Great plugin!  Would love to contribute at some point if time allows.
I hope that all made sense.  Can clarify if needed.

Yesterday I copied it all to my Samsung device, which it showed in the Act but the Scene was disconnected still.
Today I opened the vault on my PC, and it showed in the Act, and the Scenes were connected again but are in the wrong order (<IP_ADDRESS>. is #3 in the act, and rearranging them doesn't update it's index).  <IP_ADDRESS>. has lost it's "next" to <IP_ADDRESS>, and both <IP_ADDRESS>. and <IP_ADDRESS>. scenes say that <IP_ADDRESS>. is next.
After looking around, I found the "don't touch this" section, and changed the "position in parent" to show the correct position, and now everything works :)  looks like it was just getting confused between both <IP_ADDRESS>. and <IP_ADDRESS>. having the same position index.

Hello!
Version 4.0 of RPG Manager has just been released. This is a complete re-writing of the plugin, and will impact all opened issues.
I am therefore closing this issue as it was related to v3.4 (now unsupported), but please feel free to re-open the task if the issue persists in the new version.
Ciao
Carlo


Garage Door Device shows wrong Closed/Open Status

Expected Behavior

Current Behavior

The problem I see is that the Garage Door reports open when closed and closed when open regardless of whether I set the Invert Open/Closed status or not.  Shows the wrong Garage Door Open/Closed status regardless of the setting of Invert On/Off State. The previous versions did not have this problem and showed the correct Open/Closed status.
Steps to Reproduce (for bugs)

Versions

Plugin: 1.0.0-rc1

Configuration

Homebridge Log / Command Output

Device Simulation Report

When Closed
[code]
	##### DEVICE DATA DUMP #####

	address :
	batteryLevel : None
	buttonGroupCount : 0
	configured : True
	description : Status On when Garage Door Open, Status Off when Garage Door Closed
	deviceTypeId : pseudoRelay
	displayStateId : onOffState
	displayStateImageSel : PowerOff
	displayStateValRaw : False
	displayStateValUi : off
	enabled : True
	energyAccumBaseTime : None
	energyAccumTimeDelta : None
	energyAccumTotal : None
	energyCurLevel : None
	errorState :
	folderId :<PHONE_NUMBER>
	globalProps : MetaProps : (dict)
	     com.perceptiveautomation.indigoplugin.devicecollection : (dict)
	          doToggle : false (bool)
	          executionType : actionGroup (string)
	          offActionGroup : 544743683 (string)
	          onActionGroup : 544743683 (string)
	          statusRequestActionGroup : 544743683 (string)
	          statusVariable :<PHONE_NUMBER> (string)
	          supportsStatusRequest : true (bool)
	          toggleActionGroup :  (string)
	id :<PHONE_NUMBER>
	lastChanged : 2018-04-20 11:26:41
	lastSuccessfulComm : 2018-04-20 11:26:41
	ledStates : []
	model : Virtual On/Off Device
	name : Garage Door Status
	onState : False
	ownerProps : com.perceptiveautomation.indigoplugin.devicecollection : (dict)
	     doToggle : false (bool)
	     executionType : actionGroup (string)
	     offActionGroup : 544743683 (string)
	     onActionGroup : 544743683 (string)
	     statusRequestActionGroup : 544743683 (string)
	     statusVariable :<PHONE_NUMBER> (string)
	     supportsStatusRequest : true (bool)
	     toggleActionGroup :  (string)
	pluginId : com.perceptiveautomation.indigoplugin.devicecollection
	pluginProps : com.eps.indigoplugin.homekit-bridge : (dict)
	protocol : Plugin
	remoteDisplay : True
	states : States : (dict)
	     onOffState : off (on/off bool)
	subModel :
	supportsAllLightsOnOff : False
	supportsAllOff : False
	supportsStatusRequest : True
	version : None

	##### DEVICE SIMULATION DATA #####

	Service :
		alias : Garage Door Status
		model :
		subModel :
		indigoType : indigo.RelayDevice
		pluginType : indigo.RelayDevice.com.perceptiveautomation.indigoplugin.devicecollection.pseudoRelay
		type : GarageDoorOpener
		desc : Garage Door Opener
		objId :<PHONE_NUMBER>
		serverId :<PHONE_NUMBER>
		invertOnState : False
		convertFahrenheit : False
		required : (List)
			ObstructionDetected : False
			TargetDoorState : 0
			CurrentDoorState : 0
		optional : (List)
			LockTargetState
			Name
			LockCurrentState
		native : True
		requiresPlugin : (List)
		actions : (List)
			Action : (HomeKitAction)
				Characteristic : TargetDoorState
				When : equal
				Value : 0 (int)
				Value2 : 0 (int)
				Command : device.turnOff
				Arguments : [1447377519]
				monitors : {1447377519: 'attr_onState'}
			Action : (HomeKitAction)
				Characteristic : TargetDoorState
				When : equal
				Value : 1 (int)
				Value2 : 0 (int)
				Command : device.turnOn
				Arguments : [1447377519]
				monitors : {1447377519: 'attr_onState'}
			Action : (HomeKitAction)
				Characteristic : CurrentDoorState
				When : equal
				Value : 0 (int)
				Value2 : 0 (int)
				Command : device.turnOff
				Arguments : [1447377519]
				monitors : {1447377519: 'attr_onState'}
			Action : (HomeKitAction)
				Characteristic : CurrentDoorState
				When : between
				Value : 1 (int)
				Value2 : 4 (int)
				Command : device.turnOn
				Arguments : [1447377519]
				monitors : {1447377519: 'attr_onState'}
		loadOptional : False
		characterDict : (Dict)
			ObstructionDetected : False
			TargetDoorState : 0
			CurrentDoorState : 0

	[/code]

When Open
[code]
	##### DEVICE DATA DUMP #####

	address :
	batteryLevel : None
	buttonGroupCount : 0
	configured : True
	description : Status On when Garage Door Open, Status Off when Garage Door Closed
	deviceTypeId : pseudoRelay
	displayStateId : onOffState
	displayStateImageSel : PowerOn
	displayStateValRaw : True
	displayStateValUi : on
	enabled : True
	energyAccumBaseTime : None
	energyAccumTimeDelta : None
	energyAccumTotal : None
	energyCurLevel : None
	errorState :
	folderId :<PHONE_NUMBER>
	globalProps : MetaProps : (dict)
	     com.perceptiveautomation.indigoplugin.devicecollection : (dict)
	          doToggle : false (bool)
	          executionType : actionGroup (string)
	          offActionGroup : 544743683 (string)
	          onActionGroup : 544743683 (string)
	          statusRequestActionGroup : 544743683 (string)
	          statusVariable :<PHONE_NUMBER> (string)
	          supportsStatusRequest : true (bool)
	          toggleActionGroup :  (string)
	id :<PHONE_NUMBER>
	lastChanged : 2018-04-20 15:30:52
	lastSuccessfulComm : 2018-04-20 15:30:52
	ledStates : []
	model : Virtual On/Off Device
	name : Garage Door Status
	onState : True
	ownerProps : com.perceptiveautomation.indigoplugin.devicecollection : (dict)
	     doToggle : false (bool)
	     executionType : actionGroup (string)
	     offActionGroup : 544743683 (string)
	     onActionGroup : 544743683 (string)
	     statusRequestActionGroup : 544743683 (string)
	     statusVariable :<PHONE_NUMBER> (string)
	     supportsStatusRequest : true (bool)
	     toggleActionGroup :  (string)
	pluginId : com.perceptiveautomation.indigoplugin.devicecollection
	pluginProps : com.eps.indigoplugin.homekit-bridge : (dict)
	protocol : Plugin
	remoteDisplay : True
	states : States : (dict)
	     onOffState : on (on/off bool)
	subModel :
	supportsAllLightsOnOff : False
	supportsAllOff : False
	supportsStatusRequest : True
	version : None

	##### DEVICE SIMULATION DATA #####

	Service :
		alias : Garage Door Status
		model :
		subModel :
		indigoType : indigo.RelayDevice
		pluginType : indigo.RelayDevice.com.perceptiveautomation.indigoplugin.devicecollection.pseudoRelay
		type : GarageDoorOpener
		desc : Garage Door Opener
		objId :<PHONE_NUMBER>
		serverId :<PHONE_NUMBER>
		invertOnState : False
		convertFahrenheit : False
		required : (List)
			ObstructionDetected : False
			TargetDoorState : 1
			CurrentDoorState : 1
		optional : (List)
			LockTargetState
			Name
			LockCurrentState
		native : True
		requiresPlugin : (List)
		actions : (List)
			Action : (HomeKitAction)
				Characteristic : TargetDoorState
				When : equal
				Value : 0 (int)
				Value2 : 0 (int)
				Command : device.turnOff
				Arguments : [1447377519]
				monitors : {1447377519: 'attr_onState'}
			Action : (HomeKitAction)
				Characteristic : TargetDoorState
				When : equal
				Value : 1 (int)
				Value2 : 0 (int)
				Command : device.turnOn
				Arguments : [1447377519]
				monitors : {1447377519: 'attr_onState'}
			Action : (HomeKitAction)
				Characteristic : CurrentDoorState
				When : equal
				Value : 0 (int)
				Value2 : 0 (int)
				Command : device.turnOff
				Arguments : [1447377519]
				monitors : {1447377519: 'attr_onState'}
			Action : (HomeKitAction)
				Characteristic : CurrentDoorState
				When : between
				Value : 1 (int)
				Value2 : 4 (int)
				Command : device.turnOn
				Arguments : [1447377519]
				monitors : {1447377519: 'attr_onState'}
		loadOptional : False
		characterDict : (Dict)
			ObstructionDetected : False
			TargetDoorState : 1
			CurrentDoorState : 1

	[/code]

That's interesting considering absolutely nothing changed regarding devices or how they are referenced or how they are treated between versions.  When you created this ticket there should have been a whole large set of instructions on how you should report issues, did you delete all of that and decide not to post or did you post this ticket using a different method?  Those instructions included the information I would like to get when opening a ticket, such as a full simulation of any device that you are reporting as incorrect.  In your case I would want to see the simulation of the problematic device in both an open and closed state so I can see what is being sent to HomeKit.

I will reopen the issue again providing the simulation report. I do know that there had to be some changes because the Home App icon for the garage door changed from a door to a garage door between versions. The problem I see is that the Garage Door reports open when closed and closed when open regardless of whether I set the Invert Open/Closed status or not.

Don’t open a new issue, just add the simulation data to this one.

According to what you just posted, HomeKit is being properly told that your door is open or closed:
states : States : (dict)
     onOffState : off (on/off bool)

	characterDict : (Dict)
		ObstructionDetected : False
		TargetDoorState : 0
		CurrentDoorState : 0

states : States : (dict)
     onOffState : on (on/off bool)

	characterDict : (Dict)
		ObstructionDetected : False
		TargetDoorState : 1
		CurrentDoorState : 1

Please restart your HomeKit Bridge server, then open and close your garage door and post the Homebridge Log (in the same place as the simulation command) so I can see what Homebridge is seeing or doing.

By the way, you are using a virtual device for this, that's not really a supported garage door but you mentioned that the icon changed - the plugin cannot change your icon for you, you would have had to have changed the device type to go from a door to a garage door.  That being said, try configuring this as a contact sensor and see if that changes anything.  The invert may not work properly on your type of virtual device - something I will look into, but that may be why it appeared to work before: it was a contact sensor or something rather than a garage door.

My virtual device was using an Indigo trigger to sense an Insteon EZIO device to determine whether the Garage Door was open or closed. (The EZIO device could also control the Garage Door to open or close it). When the Garage Door was closed the virtual device was off and when the Garage Door was open the virtual device was on. This has worked very well for years, and when I added it to Homekit Bridge a while ago it also seemed to work with the Home App (at least up to the latest update when the Open/Closed states suddenly reversed). In any event I solved my problem very easily just by inverting the state of the Closed/Open trigger. The Home App now shows the proper Open/Closed status of the Garage Door even though my virtual device now shows ON when the door is closed and OFF when the door is open. The following are the logs you requested (this was before I made the above change). It looks like Homekit Bridge was changing the status from 0 to 1 when I opened the Garage Door an from 1 to 0 when I closed it. That would seem to be correct and I have no idea why the Home App interpreted it differently. In any event it now shows the correct state, and reacts almost instantly when being opened or closed.
[2018-4-20 19:32:32] [HomeKit Bridge Server] POST update request for device ID 5fc05d85d429f9301d8bb9545a937800a07d52a7ef54f946361318fb1054097f
[2018-4-20 19:32:32] [HomeKit Bridge Server] Garage Door Status: updateCharacteristicValue(TargetDoorState): 0 -> 1
[2018-4-20 19:32:32] [HomeKit Bridge Server] Garage Door Status: updateCharacteristicValue(CurrentDoorState): 0 -> 1
[2018-4-20 19:32:41] [HomeKit Bridge Server] POST update request for device ID 5fc05d85d429f9301d8bb9545a937800a07d52a7ef54f946361318fb1054097f
[2018-4-20 19:32:41] [HomeKit Bridge Server] Garage Door Status: updateCharacteristicValue(TargetDoorState): 1 -> 0
[2018-4-20 19:32:41] [HomeKit Bridge Server] Garage Door Status: updateCharacteristicValue(CurrentDoorState): 1 -> 0

Do you use the EZIO garage door kit?  That is what I use and the plugin supports that natively, without having to use the virtual device, just FYI.

Even if you didn't get the kit, I think your device will work natively.

I am using an Insteon EZIO2X4 I/O Controller that I purchased many years ago, long before the garage door kit existed. I am not sure if it is even sold anymore. A number of years ago I connected it to my Genie Garage Door opener, as well as my home security system and a water sensor. The garage door open/close sensor is a magnetic contact closure and the security system provides a voltage to the EZIO when set off. Basically I am using Indigo triggers to sense changes in these devices. The output of the controller sends a signal to the Genie to open or close the garage door. I am not sure if I could connect these devices natively, but the virtual devices using variables set by the triggers seem to work OK. The Home App indicates a change in the Open/Close status and sends a notification within a second or so, and is very responsive to changes. Perhaps there is a better way to do the same thing natively. Do you know if the plugin supports the Insteon EZIO2X4 I/O Controller?

On Apr 21, 2018, at 8:15 AM, Colorado Four Wheeler<EMAIL_ADDRESS>wrote:
Even if you didn't get the kit, I think your device will work natively.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/104#issuecomment-383304371, or mute the thread https://github.com/notifications/unsubscribe-auth/AHlJwshKNgpXPWxZUkj_N_xO_9T0NU8zks5tq00pgaJpZM4Tc4N0.

If it’s an IOLinc that supports binary input then I think what you have is the same as what I have, magnetic sensors and all.  Mine I have wired directly to my garage door opener so that I can just interface directly with it.

I did check and the EZIO 2X4 module is still sold by Smarthome.  But I did not see how your plugin can selectively use the four separate inputs and two separate outputs of this module. In any event this is not a big deal since my solution appears to work fine. I love your Homekit Bridge plugin and how it opens up a lot of new capabilities to Insteon users!

On Apr 21, 2018, at 2:53 PM, Colorado Four Wheeler<EMAIL_ADDRESS>wrote:
If it’s an IOLinc that supports binary input then I think what you have is the same as what I have, magnetic sensors and all. Mine I have wired directly to my garage door opener so that I can just interface directly with it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/104#issuecomment-383334468, or mute the thread https://github.com/notifications/unsubscribe-auth/AHlJwpo0t_SDTdQI0L4VBEgvViHu1pJJks5tq6pVgaJpZM4Tc4N0.

It doesn't, it only uses the first one.  I'm glad you got things worked out :).


review: registration of key on fid 0

The current KeyRegistry.add() function does not prevent regular users from adding a key for fid 0.
It is recommended to make add() to revert when fid == 0, especially if such a key for fid 0 could potentially be exploited in the offchain logic (or in the future).

Closing this as it's not possible to register the zero fid. See discussion in #279.


Fix templating example

For contributions please edit the .tex file (https://github.com/HaxeFoundation/HaxeManual/tree/master/HaxeManual). The .md files are generated from it.


An error on musicgen-web example

System Info
OS: Windows 10
node version 20.16.0
npm version10.8,1
Environment/Platform

[x] Website/web-app
[ ] Browser extension
[ ] Server-side (e.g., Node.js, Deno, Bun)
[ ] Desktop app (e.g., Electron)
[ ] Other (e.g., VSCode extension)

Description
I tired to run this example.
And I have got an error like this.
X [ERROR] Failed to resolve entry for package "@xenova/transformers". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan]
node_modules/esbuild/lib/main.js:1225:21:
  1225 │         let result = await callback({

Reproduction
clone full repository.
go to sub direcoty
npm install
npm run dev

@porry420, I was able to reproduce the bug.  I have a PR with a potential solution here, if you would like to try. I was able to get it working with those changes.

I am going to change this Musicgen-web so that it can run without the internet. I have followed the custom usage instructions, but it is not working correctly. Can you give me more details?

Here are the steps I used to get it working with it connected to the internet:
In the package.json change the "@xenova/transformers": "github:xenova/transformers.js#v3" to "@huggingface/transformers": "^3.1.2",.
In the examples/musicgen-web/src/App.jsx, change "@xenova/transformers to @huggingface/transformers
Just to be safe, remove the "@xenova/transformers from your node_modules. npm uninstall @xenova/transformers.
Run npm install in the root of the musicgen-web, to re-install all the packages.
This should get it working locally for you.


DLL initialization routine failed

I am using win 10 x64
I have followed your install destruction, but contiue get "a dynamic linked library (DLL) initialization routine failed" error when call "require('fii');", plz help me.

I have the same problem(w10 x64), when running node-ffi with electron 0.37.2. But i am able to use node-ffi without electron with no issue

electron-rebuild help me, thank you :+1:

hi @MiklerGM and  @xclw , i am facing the same issue now and it is killing me. in your comments 'rebuild native module', doest it mean, after install ffi, then we need to rebuild ffi by electron-rebuild? however, i tried it out by executing ~/node_modules/.bin/electron-rebuild, but i get the error below, any suggestion is appreciate.

E:\development\electron-app\electron-quick-start\node_modules.bin>electron-rebuild
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp http GET https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v1.4.10/iojs-v1.4.10.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: self signed certificate
gyp ERR! stack     at Error (native)
gyp ERR! stack     at TLSSocket. (_tls_wrap.js:1062:38)
gyp ERR! stack     at emitNone (events.js:86:13)
gyp ERR! stack     at TLSSocket.emit (events.js:185:7)
gyp ERR! stack     at TLSSocket._finishInit (_tls_wrap.js:586:8)
gyp ERR! stack     at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "E:\development\electron-app\electron-quick-start\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "install" "--target=1.4.10" "--arch=x64" "--dist-url=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist"
gyp ERR! cwd E:\development\electron-app\electron-quick-start\node_modules.bin
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

yes, finally ,electron-rebuild --force worked for me, but make sure you are never behind a proxy!!!
i always get ssl every while i am with a proxy.


[Bug]: Unlink show pagination property to server side pagination property

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When i turn off show pagination today, it also hides server side pagination property. This creates a problem because users are not able to understand how to make the table scroll yet
Steps To Reproduce

Add a table
Set show pagination to off
Observe it hides server side pagination setting
Turn show pagination on
Set server side pagination to true
Observe that the table scrolls if you have longer data

Public Sample App
No response
Version
Production

@aswathkk @dilippitchika  Should we disable the Total Records Count and other on page change properties if Show Pagination is OFF and Server Side Pagination is ON ?
Because if pagination is OFF ,the user has no use of Total Records Count and other Page Change action.
Does this make sense? Or am i missing some sort of use case here

@kamakshibhat-appsmith we will fix this in another epic - https://github.com/appsmithorg/appsmith/issues/13180


Unstable connecction with java-relp-server

When maven build, connect to the java-relp-server first time, most of the times unexpectedly close and reset the connection by peer.

This behaviour occurs due to the Jasmine async works. Fixed using Jasmine  beforeEach method


vectors.py does not ignore comments when searching through file

For maybe the wrong reasons, I decided to move ControlPort (and DEFAULT_PORT) to a different address.  Unfortunately, I kept the original lines as comments when  I made my changes. This resulted in a rather hard issue to track down. Eventually, I realized that the kernel/scripts/vectors.py script, which is used to extract the DEFAULT_PORT from firmware/common/include/interface/memory.h picked up the old commented out value, rather than my new address that I was defined on the next line.
It would be good if vectors.py skipped over comments.
/Ulf

Good idea :)


a problem with clip_domain

Hi, I have a problem with clip_domain. I ran the clip_domain function and an error occurred.I hope you can help me to resolve.
ValueError                                Traceback (most recent call last)
Cell In[11], line 54
52 # Convert reflectivity to rain rate
53 rainrate, metadata = conversion.to_rainrate(reflectivity, metadata)
---> 54 rainrate, metadata = dimension.clip_domain(rainrate, metadata, extent = [-74.25, -73.70, 40.50, 40.92])
File D:\ana\envs\learn\Lib\site-packages\pysteps\utils\dimension.py:438, in clip_domain(R, metadata, extent)
435 idx_x_ = np.where(np.logical_and(x_coord_ < right, x_coord_ > left))[0]
437 # compose the new array
--> 438 R_[:, :, idx_y_[0] : (idx_y_[-1] + 1), idx_x_[0] : (idx_x_[-1] + 1)] = R[
439     :, :, idx_y[0] : (idx_y[-1] + 1), idx_x[0] : (idx_x[-1] + 1)
440 ]
442 # update coordinates
443 metadata["y1"] = bottom_
ValueError: could not broadcast input array from shape (1,3,11,14) into shape (1,3,10,13)

hi，
This problem is solved by enlarging the extent to [-74, -72, 40, 41]. Now, I have another problem: I want to load the data at the original 1km resolution and then zoom in on it using a pixel size *2 (0.02) window. So, what should I do?
(Due to the large size of the dataset (3500 x 7000), the importer reduces the original 1kmx1km resolution to 4km x 4km.)

Hi @HY-10 ,
The NSSL importer has a window_size (window_size=4 by default). To load the data in the original km resolution, use window_size=1. If you want to load the data in 2 Km resolution directly, you can use window_size=2.
Take a look at the imported documentation for additional details: https://pysteps.readthedocs.io/en/v1.5.0/generated/pysteps.io.importers.import_mrms_grib.html#pysteps.io.importers.import_mrms_grib

Hi @HY-10 , if you need a time series, you can pass the window_size=2 to the pysteps.io.readers.read_timeseries function.
The function acepts optional keyword arguments that are passed to the importer selected.
See the function documentation for additional details.

嗨，如果你需要一个时间序列，你可以将 window_size=2 传递给函数。该函数接受传递给所选导入程序的可选关键字参数。pysteps.io.readers.read_timeseries
有关更多详细信息，请参阅函数文档。

Thank you for your help.


docker not found

I have a docker not found when I run: I assume the docker in on aws lambda, how do I install it?
 serverless deploy

Serverless: Installing required Python packages with python2.7...
Serverless: Docker Image: lambci/lambda:build-python2.7

  Error --------------------------------------------------

  docker not found! Please install it.

     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Forums:        forum.serverless.com
     Chat:          gitter.im/serverless/serverless

  Your Environment Information -----------------------------
     OS:                     linux
     Node Version:           6.11.4
     Serverless Version:     1.23.0

Did you find a solution?

You need docker on the machine running sererless deploy. See here for instructions on installation: https://docs.docker.com/install/


Feature/dev mode header

Description
Fixes #

What work was done?

Created a DevMode Header which when toggled on will be displayed on all pages, when toggled off will be blank

Why was this work done?
This work was done because we want to notify the user that they are in devMode and any relevant changes they make wont be updated into the real game's state.

What feature / user story is it for?
User is able to toggle DevMode to simulate gameplay.

Any relevant links or images / screenshots

Type of change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)

Change Status

[X] Complete, but not tested (may need new tests)

Has This Been Tested

[X] Yes but need peer reviews

Checklist

[ ] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] There are no merge conflicts

This looks good to me!


merge from arlac77/npm-package-template-esm-only

.travis.yml

chore(travis): (jobs.include)
chore(travis): add 13.1.0 remove 13.0.1 (jobs.include.node_js)
chore(travis): (script)

Coverage remained the same at 90.883% when pulling 90fe7f9495a7e09242bd8bcd40a369711e8e13a6 on npm-template-sync/1 into 38b6b4bc2dfc96a3dd3d14db3a5c47b41aba9d8e on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUG]: 1 Documents Failed to Add, fetch failed

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
hello, when i try to add documents, txt or pdf documents, i receve always same error,
documents failed to add, fetch failed
i'm using ollama, with llama 3.1
anythingllm v.1.6.7
Are there known steps to reproduce?
No response

Responded already, but please refer to https://docs.anythingllm.com/fetch-failed-on-upload#windows-visual-c-redistributable

Are you able to post the logs for the app? The error may be more prevalent in there:
https://docs.anythingllm.com/installation-desktop/debug

I have the following log:

[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[collector] info: Collector hot directory and tmp storage wiped!
[collector] info: [production] AnythingLLM Standalone Document processor listening on port 8888.
[backend] info: [TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM.
[backend] info: prisma:info Starting a sqlite pool with 41 connections.
[backend] info: [TELEMETRY SENT] {"event":"server_boot","distinctId":"88654d0c-d7af-453e-8ce9-27f77e7f4706","properties":{"runtime":"desktop"}}
[backend] info: Skipping preloading of AnythingLLMOllama - LLM_PROVIDER is lmstudio.
[backend] info: [CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services.
[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[backend] info: [production] AnythingLLM Standalone Backend listening on port 3001. Network discovery is disabled.
[backend] info: [BackgroundWorkerService] Feature is not enabled and will not be started.
[backend] info: Adding new vectorized document into namespace testworkspace
[backend] info: [NativeEmbedder] Initialized
[backend] info: [RecursiveSplitter] Will split with {"chunkSize":1000,"chunkOverlap":20}
[backend] info: Chunks created from document: 1
[backend] info: [NativeEmbedder] The native embedding model has never been run and will be downloaded right now. Subsequent runs will be faster. (~23MB)
[backend] info: [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://huggingface.co/
[backend] info: [NativeEmbedder] Failed to download model from primary URL. Using fallback https://s3.us-west-1.amazonaws.com/public.useanything.com/support/models/
[backend] info: [NativeEmbedder] Downloading Xenova/all-MiniLM-L6-v2 from https://s3.us-west-1.amazonaws.com/public.useanything.com/support/models/
[backend] error: addDocumentToNamespace fetch failed
[backend] error: Failed to vectorize Description.txt
[backend] info: [TELEMETRY SENT] {"event":"documents_embedded_in_workspace","distinctId":"88654d0c-d7af-453e-8ce9-27f77e7f4706","properties":{"LLMSelection":"lmstudio","Embedder":"native","VectorDbSelection":"lancedb","TTSSelection":"native","runtime":"desktop"}}
[backend] info: [Event Logged] - workspace_documents_added

Solved it, i downloaded the model manually.
Thank you for your help


Security concern: XSS vulnerability

Bug Report
Issue
Does the GET /api/auth return access and refresh tokens in the response? It seems so.
In that case, just like with the local storage, this solution is vulnerable to XSS.
Steps
Imagine a following scenario

User installs a browser extension with a malware
User visits a website that uses this solution
The malware knows about this vulnerability and calls GET /api/auth
Now it has access to the access and refresh tokens

Expected

User installs a browser extension with a malware
User visits a website that uses this solution
The malware can still call any APIs of the website, but it cannot steal the tokens

Hi @gornostal ,
Thank you for your question.
The cookies are stored as HTTP-only secure cookies. HTTP-only cookies are designed to be inaccessible to client-side scripts, including malware running within a web browser. They can only be transmitted over HTTP(S) requests to the server.
I will close this as it seems like a non-issue.


Init from config

Description
I was making enhancements to the root and realized it would be really nice to configure a config that could be used to initialize next roots based on params:

expiration for each target type
thresholds
delegations
targets (with custom meta)
signers (either locations of HSM key data or GCP KMS signers)

What are some alternatives to dropping a custom YAML?

cc @haydentherapper @bobcallaway @dlorenc @joshuagl do any of you have good ideas?

Would (mustache) templating be a good solution?
https://mustache.github.io/mustache.5.html

Do you have a sketch of what this might look like? I'm not sure I understand the idea enough to comment.

Do you have a sketch of what this might look like? I'm not sure I understand the idea enough to comment.

 I have started working out the implementation just to make sure it works, but my main goal is not to keep adding flags and commands to the scripts.

Adding here with more feedback: we could and should have config validators.

The design is currently a bit different:

there is no config at all: changes always start with the current signed metadata
tuf-on-ci-delegate has features to change signers/thresholds/delegations
artifacts are modified by just pushing a new branch with artifact changes: tuf-on-ci then updates the metadata accordingly

Closing as not relevant.


Add support for json error messages

Api will implement json error message in the future and we should add support of that to the lib.
json structure:
{
    "message" : "error message that is shown to the user"
}

Currently the error messages are predefined in the app and will be shown based on the response status code.


Creating a custom renderer

I'd like to try and create my own renderer for different platforms as to support more platforms. Could anyone guide me as to where to start? I imagine Flutter builds some kind of component tree, can I use that to render my own stuff?

I'm not really sure what you're asking. If you're asking how to port the Flutter engine to other platforms, please see https://github.com/flutter/engine/wiki/Custom-Flutter-Engine-Embedders.


Using deprecated sonar /api/resource

As of Sonar 6.2 the /api/resource sonar qube is removed. There's various limits on this (500 projects fetch etc.) in previous versions (could only test with 5.6.7).
Proper channel would be to fetch via /api/projects.
See my example PR. It's a simple fix, but didn't go to far in modifying existing logic.

@bbrower  update to latest code base, issue fixed.


update dashboard button could be better

Description
The 'update Dashboard' on the VDC is confusing to be always there in the user drop menu.
imagine a lot of users pressing the update button multiple times with no clue if there is an update or no, too unnecessary requests send to the server.
Implementation

it can be shown only when there is an update.

or/and at least should be a message like 'there is no available update at the moment' and 'the update succeeded'
Users don't have to check the dev console or guess what happened after they press the button.

It's much better now