[createInstance] modelService depends on ILanguageFeaturesService which is NOT registered

Running unit tests:
[25176:0212/094651.760927:INFO:CONSOLE(148)] "[createInstance] modelService depends on ILanguageFeaturesService which is NOT registered.", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/platform/instantiation/common/instantiationService.js (148)

@jrieken Is there a way to turn these console warnings into errors? I seem to be triggering these warnings lately whenever I add a service dependency to ModelService

The instantiation service can be created with the strict option and than it should fail. Tho, I need to check for this specific case, something looks fishy

@jrieken Nice! In editor tests, I use the TestInstantiationService and that one doesn't expose strict as a ctor option. I will push a change to expose it and adopt it in editor tests.

I will push a change to expose it and adopt it in editor tests.

🤞 this might unveil many shortcuts that we have been taking


Fix code not in $PATH in Codespaces

In Codespaces, the code binary is not in a standard location, so we need to find it.

Closed by f142813


I think it's a good idea, implement the jest command with coverage.
I added it because probably many people, like me, need it.
So, this is my first contribution and I hope so a good it.
ps.: sorry by my lua lint. ; )

LGTM! Thank you for the contribution


Batch is not related object but a new metadata field

We need a new metadata field on the GenericWork for allowing the old batch information to be preserved.  I am not sure of the actual metadata RDF property we would like to use, but we want something that means upload set (uploaded together), which is what a batch really was.
We need to add the field to the GenericWork and then change the Batch Translator to populate that field instead of the Related Object field.

Rdf predicate should be determined
RDF predicate need to be added to the work
Batch translator needs to fill in the field

@cam156 @olendorf have we determined which predicate we're using?

Assigning to @olendorf to choose the predicate.

I went looking for a predicate while I was waiting for data to clear.  I asked around on the hydra metdata channel and got a bit of help:

Carolyn [2:12 PM]
Could I use something like http://www.essepuntato.it/lode/http://purl.org/co is_element_of ?
Julie Hardesty [2:23 PM]
that's possible. it doesn't have a range limitation that it has to be a URI so a string value should work.
[2:24]
the only other thing I was coming across might be https://raw.githubusercontent.com/timrdf/csv2rdf4lod-automation/master/doc/ontology/vocab.ttl# conversion:dataset_identifier

We should use our own key upload_set to keep this information.  This could be an expansion of dublin core related resource.

This was run on QA and you can see in this image the upload_set was set by the translator:


Twice password mutation in ResetsPasswords.php

While resetting password, if User model has password mutator setPasswordAttribute, it will generate hash twice, because there is Hash::make() in resetPassword() for password and it will re-encrypt already encrypted password from password mutator in User model.

With this change, a developer who has a mutator for the password, would have to define it in a very specific way. I believe this is something that should be handled in your app. Just override resetPasssword and remove the hash.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


[Bug] Build failed when nesting classes.

[X] I have read the documentation.

Describe the bug
A clear and concise description of what the bug is.
When nesting classes, required init(from decoder: any Decoder) throws and func encode(to encoder: any Encoder) throws will generate incorrect codes.
To Reproduce
@Codable
class SomeClassA {
    var b: SomeClassB?
    var c: SomeClassC?
}

@Codable
class SomeClassB {
}

@Codable
class SomeClassC {

}

Expected behavior
Just build.
Screenshots

Environment (please complete the following information, remove ones not applicable):

OS: macOS 14/15
Version: all
Xcode 15/16
Swift 5.9

Additional context
Nothing.

Update: reproduct with less code:
class SomeClassA {
    var b: SomeClassB?
}

@Codable
class SomeClassB {
}

PS: I tried same code in tests, code runs as expect.

PPS:
class SomeClass: Codable {
    var b: SomeClassB?
}

@Codable
class SomeClassB: SomeClass {
}

while in tests:

@hstdt when I copy the snippet provided by you to a separate project I don't see this issue.
Your issue is most likely same as #56, workaround suggested there should work also.


feat: Add Bitsandbytes quantization for transformer backend enhancement #1775 and fix: Transformer backend error on CUDA #1774

Add BitsAndBytes Quantization and fixes embedding on CUDA devices
This PR fixes #1775 and #1774
Notes for Reviewers
LowVRAM toggles INT4 quantization
F16Memory toggles bfloat16 compute type instead of float32
This is my first PR so be kind :)
Signed commits

[x] Yes, I signed my commits.

Looks good here, however CI seems to fail: https://github.com/mudler/LocalAI/actions/runs/8282698873/job/22664377430?pr=1823

I was looking at the logs, the problem seems related to missing bitsandbytes package in non-cuda build.
I'll look for a way to handle it.


Expose method to customize the MetroLog.LogManager.DateTimeFormat

The DateTimeFormat  is defined as an internal const.
Developers should be able to change the format string.

I agree with this suggestion ... I will also add customization to the timezone that seems impossible.

I also would like to change the time from UTC.

I used this workaround to show local time using a custom layout.
http://stackoverflow.com/questions/43992460/logging-in-local-time-in-metrolog/43993585#43993585
We can use the default layouts as templates
https://github.com/onovotny/MetroLog/blob/dev/MetroLog.Shared/Layouts/SingleLineLayout.cs
https://github.com/onovotny/MetroLog/blob/dev/MetroLog.Shared/Layouts/FileSnapshotLayout.cs


Add new chains for 0xsplits

Just an addition to https://github.com/5afe/safe-apps-list/issues/127
0xSplits supports several more chains now. Our full list of chains that Safe also supports is:
Ethereum
Gnosis
Polygon
BNB
Arbitrum
Aurora
Base
Avalanche
Optimism
Goerli
The app url is now app.splits.org (though app.0xsplits.xyz still works), and to link to a specific chain you'd include the chainId in the url params. So for gnosis the url would be https://app.splits.org?chainId=100. You don't need to link to a specific chain though if that's not possible, easy to change the network in the app.
I didn't fill out the full form given the app is already live in Safe on mainnet and polygon. But if you need me to provide any more info just let me know!

Good morning! We would need for the app (without any ?chainId=XXX on the url) to automatically recognise and connect to the current selected chain on our interface. Could you give it a go? Thanks!

Using our SDK you need to autoconnect to the Safe Account where it's being rendered so you get this info by default. No need for parameters

Ok, just pushed an update so it works seamlessly across all chains, no need to use a different url for each chain. Please let me know if there's anything else we need to do! Thank you.

App is working nicely after the latest changes, thank you for the quick action 🚀 I will let the team know and should be ready to be listed on the desired chains. We will post a confirmation message here once the addition is performed 😄
Cheers!

App is available now in the new chains


Didn't this originally also remove the "feats?"

Didn't this originally also remove the "feats?"

Nope, didn't touch the originals at all besides one of Iomdae's which had a few formatting errors

Didn't this originally also remove the "feats?"

Nope, didn't touch the originals at all besides one of Iomdae's which had a few formatting errors

OK, we can nuke them after this is merged in.


iOS 8 compatible

Alamofire has been compatible with iOS 8 from version 4.1.0.
Is it possible to AmofireObjectMapper?

Thanks for the update, I just merged the above pull request.


httpPort in the service spec being ignored

httpPort field in the service spec [ref] seems to be getting ignored. It looks like the purpose of this field is to expose the REST API. I can confirm that the REST API is in fact accessible from within the pod. The port simply needs to be exposed by the operator.

Hi @guritinvda !
Thanks for reporting this, looks like this is missing in the frontend service.
@yujunz how are you using the http port without exposing it on the service ?

@alexandrevilain we are not using it. So, this is not a big deal for us. Just wanted to report that the field is exposed; implying that it will expose the port and hence the REST API will be accessible.

Thanks for the report!


Add support for Slow.pics Tagging, TMDB Title link, and Account

Add support for Slow.pics tagging and TMDB link for greater organization.
Add Account support so users can manage their comps

Relevant Image:

@Setsugennoao

forgot to mention, also add support for Remove after N days: in comper, since by default slow.pics sets it at 2 Years.
Relevant Image:

@Setsugennoao


how to add it to transformers‘s mdoel??

such as
trainer = Trainer(
    model=model, tokenizer=tokenizer, args=training_args, **data_module
)

how to add it?

model.base_model.model.model.embed_tokens.forward = noised_embed(model.base_model.model.model.embed_tokens, noise_alpha)
---->
model.base_model.embed_tokens.forward = noised_embed(model.base_model.embed_tokens, noise_alpha)
maybe better

Hi, did you still encounter the issue after modifying the code? If not, you might want to check out SFTTrainer. They've made NEFTune user-friendly.
Let us know if you have any further questions!


Get customers total count with a specific tag

Hi,
This is probably not an issue as much as is FAQ.
I have not figured how to get total customers number having a specific tag, something like: ShopifyAPI::Customer.find(:all, :from => :search, :params => { :q => "tag:test" }).count()? because it will always be limited to 250 items.
Is this even possible for the moment?
Best,
Razvan

try ShopifyAPI::Customer.count(....)

thanks @kevinhughes27


Updated Dropdown

Fixed #45
Description
The changes made are:

Updated dropdown to show the current page details.
Updated the Opportunity.module.css to delete duplicate code and fix the width.
Fixed #45

Type of change
Please check options that are relevant to your PR.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

Checklist:

[x] I have squashed my commits
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Please refer this video to know about the changes

Thanks for merging! Please add the gssoc and level tags to this!😇


[google_maps_flutter] - onCameraIdle behaves differently on Android and iOS

Steps to Reproduce
Create a simple GoogleMap widget
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

class MapTest extends StatelessWidget {
  MapTest({Key? key}) : super(key: key);

  late final GoogleMapController mapController;

  final CameraPosition cameraPosition = const CameraPosition(
      target: LatLng(37.816829, 144.967318), zoom: 15);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Stack(
        children: [
      GoogleMap(
      initialCameraPosition: cameraPosition,
    onMapCreated: (GoogleMapController controller) => mapController = controller,
    onCameraMoveStarted: () => print('onCameraMoveStarted'),
    onCameraIdle: () => print('onCamera idle'),
    myLocationEnabled: false,
    zoomControlsEnabled: false,
    mapToolbarEnabled: false,
    compassEnabled: false,
    myLocationButtonEnabled: false),
          ElevatedButton(onPressed: () {
            // move camera to the same camera position
            mapController.moveCamera(CameraUpdate.newCameraPosition(cameraPosition));
          },child: const Text('trigger move camera'),)
        ],
      ),
    );
  }
}

run widget with code above
tap on button 'trigger move camera' without moving the map to new camera position

Observation
On Android device, when tapping on 'trigger move camera', both onCameraMoveStarted and onCameraIdle will be triggered although camera has the same camera position.
On iOS device, only 1 line 'flutter: onCamera idle' is printed, tapping on 'trigger move camera' without actually move camera will not trigger moving camera or call onCameraIdle. When move map to different camera position, and tap on 'trigger move camera', then both onCameraMoveStarted and onCameraIdle are called respectively
Expectation
Behaviour to be the same on both Android and iOS.

Thanks for the report. Using code sample provided and running on iOS, observed that only onCameraIdle is printed first but not when tapping the button.
flutter: onCamera idle

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 3.3.9, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.3.9 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (12 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[!] 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.7.0-4.0.pre.48, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.7.0-4.0.pre.48 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 eefbe85c8b (19 minutes ago), 2022-12-08 22:32:07 -0600
    • Engine revision 8d83b98c55
    • Dart version 3.0.0 (build 3.0.0-0.0.dev)
    • DevTools version 2.20.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.

[!] 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.

Problem
The Google Maps Flutter library simply calls the onCameraIdle callback whenever the associated onCameraIdle callback is called within the platform specific SDK. In the Google Maps SDK for Android, the map doesn't have to move for onCameraIdle to be called. In the Google Maps SDK for iOS the map does have to move for onCameraIdle to be called.
Best fix
I believe this bug should be fixed in the Google Maps iOS SDK. Google built both SDKs so they should have a consistent definition of what "idle" means. If the map moves from its current position to its current position, did it idle? I don't see why this should be platform dependent.
Package fix
If it's determined that the SDKs should not be updated, then the Flutter plugin should check if the camera update being given to the iOS SDK is significant. If it's not a significant change, the Flutter plugin should call onCameraIdle itself since it knows that the iOS SDK won't.
Workaround
Extend or create a wrapper around your GoogleMapController. Any time, the moveCamera or animateCamera method is called, check if the camera change is significant by comparing it to the last camera position given by the onCameraMoved callback. If it is, then the onCameraIdle callback will be called properly so you can call the method on the actual controller as usual. Else, call the onCameraIdle callback yourself since you know that the package won't.
You can't just check if the change to the camera is zero. Instead, you must check if it's "significant". This is because the iOS maps plugin uses a float32 for latitude, longitude, and zoom (bearing and tilt are float64). Whereas, Dart uses a double. This means that if the change you request is small enough, but not zero, the iOS maps plugin may consider it as no change. For example, if the current zoom of the map is 13 and you request 13.0000001, the Flutter plugin will cast it to a float32, which gives: 13.000000. Since, this is equivalent to the last zoom, it will not move and not call onCameraIdle. Therefore, you can't just check:
if (previousZoom != newZoom || previousLatitude != newLatitude || previousLongitude != newLongitude)

You need to cast all values to Float32 first, then compare them:
Future<bool?> _isSignificantChange(LatLng target, double zoom) async {
   final currentRoundedLatitude = _getFloat32(
     currentCameraPosition.target.latitude,
   );
   final currentRoundedLongitude = _getFloat32(
     currentCameraPosition.target.longitude,
   );
   final currentRoundedZoom = _getFloat32(
     currentCameraPosition.zoom,
   );
   final currentRoundedZoom = _getFloat32(
     currentCameraPosition.zoom,
   );

   final targetRoundedLatitude = _getFloat32(target.latitude);
   final targetRoundedLongitude = _getFloat32(target.longitude);
   final targetRoundedZoom = _getFloat32(zoom);

   return currentRoundedLatitude != targetRoundedLatitude ||
       currentRoundedLongitude != targetRoundedLongitude ||
       currentRoundedZoom != targetRoundedZoom;
}

double _getFloat32(double value) {
   final bytes = ByteData(4);
   bytes.setFloat32(0, value);
   return bytes.getFloat32(0);
}


Add libvirt provider for vagrant

additional way to avoid virtualbox and speedup vm.

This is cool.  I will look to try this out tomorrow time permitting.  Does this allow for parallel boot of the boxes?  Can you clarify which version of vagrant-libvirt plugin you tested this on and on what host OS?

hello
yes, allow parallel, vagrant 1.7.2, vagrant-libvirt 0.0.26, os - fedora21

Can you squash the commits?
Are you able to assist with any libvirt specific issues in the future?

Can you update the document here to include information on the prerequisite versions of plugins, etc.?
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/vagrant.md

Hello.
Today will squashed and added information to docs.
Thanks
On 12 May 2015 16:36, "Derek Carr"<EMAIL_ADDRESS>wrote:

Can you update the document here to include information on the
prerequisite versions of plugins, etc.?
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/vagrant.md
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/7617#issuecomment-101302517
.

hello
squashed, added short description and link to docs.
And sure I will support with any question

LGTM, thanks a lot for your contribution.


Ability to turn on dark mode just for kiwi and not for websites

As it is right now after the recent Play Store update, there doesn't seem to be a way to turn off dark mode for websites while still having it enabled for Kiwi Browser. I would like to, if possible, be able to do this or alternatively be able to disable the built-in dark mode for certain sites.
Describe alternatives you've considered
I was able to find a temporary setting in kiwi://flags, but this may be removed in later chrome updates since I had to also enable legacy flags. This is also very limited.
Additional context
Previously I was using dark reader for websites, but after the recent update I found that certain elements on websites get broken with the now force-enabled chrome/kiwi dark mode theme, even with dark reader off. The only way to fix this was either turning dark mode off, which also makes kiwi very bright, or enabling a legacy flag to allow a partial disable of the forced dark mode on sites.

enable Dark mode from settings > Themes

For me this makes pages dark as well (Samsung S21 FE). I'd like the old behaviour back as well, dark top bar (the one with clock, wifi, battery, ...) with white tabs/web pages.

enable Dark mode from settings > Themes

For me this makes pages dark as well (Samsung S21 FE). I'd like the old behaviour back as well, dark top bar (the one with clock, wifi, battery, ...) with white tabs/web pages.

It's not an elegant fix, but these are the flags I had to enable to attempt getting the old behavior back:
chrome://flags/#temporary-unexpire-flags-m114
chrome://flags/#temporary-unexpire-flags-m115
chrome://flags/#darken-websites-checkbox-in-themes-setting
And I disabled this flag:
chrome://flags/#enable-force-dark
Unfortunately Incognito behavior is extremely temperamental with this even after the changes, where it force applies sometimes and not others. I don't know how long these flags will be available, but this is all I could find for now.

Just to be sure to understand correctly:
What you want is that when Dark theme is checked, that instead of following the Dark theme provided by the website, then we override the website style (that have a light and dark theme), so the light theme of the website is always selected in priority, before the dark theme.
To be in the same situation as with Light theme in terms of web pages appearance
Is this correct ?

This is the new look (completely bright):

And this is what it looked before the update (quickly faked with Paint): dark system status bar above Kiwi but bright browser.I have not found an option to restore it that way:

Just to be sure to understand correctly: What you want is that when Dark theme is checked, that instead of following the Dark theme provided by the website, then we override the website style (that have a light and dark theme), so the light theme of the website is always selected in priority, before the dark theme. To be in the same situation as with Light theme in terms of web pages appearance
Is this correct ?

Sorry, I'll try to specify better. I'll include pictures of a Nitter instance below to show what I mean, but it's not that I want the light theme to take priority on sites when the browser's dark theme is enabled, what I'm instead looking for is the option to not allow Kiwi to apply a theme to a site at all, while still having just the browser in dark mode.
Previously this was the case and was why I could use (prefer) Dark Reader for example. Though now what happens is that even if a website does not have a dark theme (or has its own, negating the need), simply by having Kiwi's dark mode (not night mode) turned on, elements on the page including images are darkened anyways and they break.
It's hard to tell because the website themes the search bar, but with the Kiwi light theme on, dark reader off, and night mode off, this is what a Nitter page looks like:

This is what happens when I just turn the Kiwi dark theme on now. And same as before, where I still have dark reader off and night mode off. In this case, you can see it kills the top blue banner which is usually a picture on a regular user's profile, along with the red text:


Escape quotes in template values

Is your feature request related to a problem? Please describe.
I want to insert a file into a JSON field:
chains:
  email-body:
    source: !file
      path: ./email-body.html

requests:
  send-email: !request
    method: POST
    url: '{{host}}/v1/outbox'
    headers:
      Content-Type: application/json
    body: |
      {
        "type": "HTML",
        "content": "{{chains.email-body}}"
      }

This doesn't work, because the email body contains line breaks and double quotes that need to be escaped in the resulting JSON.
Describe the solution you'd like
Add a template syntax for escaping strings:
{
  "type": "HTML",
  "content": {{chains.email-body | to-json}}
}

Alternative 1
Add an option to the chain:
chains:
  email-body:
    source: !file
      path: ./email-body.html
    format: json

Alternative 2
We know that the body is JSON because of the Content-Type header, so we can escape values in the body automatically, if they are in double quotes:
requests:
  foo: !request
    headers:
      Content-Type: application/json
    body: |
      {
        "lorem": "{{this-is-escaped}}",
        "ipsum": {{this-is-not-escaped}}
      }
  bar: !request
    # no Content-Type specified!
    body: |
      {
        "lorem": "{{not-escaped}}",
        "ipsum": {{not-escaped}}
      }

This is achieveable already using jq:
chains:
  email-body:
    source: !command
      command: [jq, -R, -s, ".", ./email-body.txt]

requests:
  send-email: !request
    method: POST
    url: "{{host}}/v1/outbox"
    headers:
      Content-Type: application/json
    body: |
      {
        "type": "HTML",
        "content": {{chains.email-body}}
      }

The contents of email-body.txt is:
"Hello!" That is what I say

This results in this request body:
{
  "type": "HTML",
  "content": "\"Hello!\" That is what I say\n"

}

From another request
If you want to escape JSON from another request rather than a file, you can use nested chains:
chains:
  email-body:
    source: !request
      recipe: get-email
    selector: $.headers
  email-body-escaped:
    source: !command
      command: [sh, -c, "echo '{{chains.email-body}}' | jq -R -s '.'"]

requests:
  get-email: !request
    method: GET
    url: "https://httpbin.org/anything/v1/outbox"

  send-email: !request
    method: POST
    url: "https://httpbin.org/anything/v1/outbox"
    headers:
      Content-Type: application/json
    body: |
      {
        "type": "HTML",
        "content": {{chains.email-body-escaped}}
      }

Conclusion
In general I'd like to lean on !command (and jq in particular) as much as possible for stuff like this. It's a bit less user friendly but it's way more flexible. There's no way we'll be able to implement everything users might need in terms of data processing, so I'd rather just outsource it all.
I'm going to close this, but if this doesn't cover your use case you can reopen it.


Fix length issue

Pull request information

Status: Ready 2 merge
Kind of changes: ? Bug fix

Description
Length didn't include the internal edges, so normalization wasn't happening correctly. Added non_internal_length to handle situations where we don't want to consider internal junctions (i.e. placing vehicles).

outdated, so closing


sap_install_media_detect: Allow disabling RAR handling

Fixes #855.

Note: This additional option should only be used when it is known that there are no RAR or self-extracting RAR/EXE files in the sap_install_media_detect_source_directory. This is the case for all SAP HANA and SAP S/4HANA installations, to my knowledge. In the ap4s, we are installing such systems and in this case only downloading the required files.

My tests with ap4s-scenarios sap_hana and sap_s4hana_standard finished successfully, using a RHEL 9.4 AMI.


CMake support

I used the following simple CMakeList.txt to build this project, please take it as you need.
cmake_minimum_required(VERSION 3.17)

project(focus-stack)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(OpenCV REQUIRED)

set(SRC_DIR ${CMAKE_SOURCE_DIR}/src)
include_directories(${SRC_INCLUDE_DIR})

file(GLOB_RECURSE PROJECT_SOURCES LIST_DIRECTORIES false CONFIGURE_DEPENDS
    ${SRC_DIR}/*.cc ${SRC_DIR}/*.hh ${SRC_DIR}/*cl
)
list(FILTER PROJECT_SOURCES EXCLUDE REGEX .*_tests.cc|.*test.*)

add_executable(${PROJECT_NAME} ${PROJECT_SOURCES})
target_link_libraries(${PROJECT_NAME}
    PRIVATE ${OpenCV_LIBS}
)
if(MSVC)
    target_compile_definitions(${PROJECT_NAME} PRIVATE _USE_MATH_DEFINES)
endif()

Thanks, I added this.
Looks like you noticed the same thing about OpenCL not being required as direct dependency when it is used through OpenCV.

Thanks for your interest in my proposal.
I've raised a PR with some additional revision, please have a look.
Thanks.


Add Release-Zip-Size-Check

When uploading Fly-Pie 4 to extensions.gnome.org, I received the warning that 4.4 MB is too large. I haven't found any documentation on the allowed maximum but I re-tried the upload without the README-Title-Gif. This resulted in around 3.6 MB which was accepted. So I guess that the limit is around 4 MB (maybe 4096 KB?).
It would be cool if out Check if Fly-Pie builds correctly would check this limit!

@daPhipz would you like to look into this?

Will do!


navi.vim

Added navi.vim, last revision.

hey THANKS for the PR it looks great can you also add steps to add vim plugin into README if possible


pod install 报错  target has frameworks with conflicting names: acpcore.xcframework, acpidentity.xcframework, acplifecycle.xcframework, and acpsignal.xcframework.

Expected Behaviour
Actual Behaviour
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
Sample Code that illustrates the problem
Logs taken while reproducing problem

@yangyansong-adbe I am also getting this error in a React Native project but using the following pod versions:
  pod 'ACPCore', '2.9.3'
  pod 'ACPCampaignClassic', '2.1.0'
  pod 'ACPMobileServices', '1.1.1'
  pod 'ACPAnalytics', '2.5.0'
  pod 'ACPUserProfile', '2.2.0'

Any help is much appreciated.

@liushijie686 any update on this issue?

Closing this for the low activity.  Please open a new ticket for any issue.


Upload PR

First cut of upload github actions.
(Seems you can only upload a dir so might need a packaging step also)

Takes a little while for the artifacts link to appear after the build. Maybe cutting down the size of the artifacts might help that one :-P
Ok will move things into a 'dist' dir and then things will be faster.

I think for artifacts we want a separate workflow file, which is only triggered on pushes to master branch (so, not on PRs), and which does a release build

Note: on linux we should also strip the binary off the std debuginfo. And, more generally, it might make sense to look into the size of the binary: 14M for a stripped binary seems bigger than I would expect?

Is it worth running the tests?

May as well run the tests - they won't take much extra time on top of the release build.
Ok - I'm reasonably happy - any more suggestions before I squash?

I tried strip with no args and it did great stuff on OSX but the server also failed to start. I tried strip --strip-debug but that only took off 100k or so - wasn't sure that was worth it. Seems like the .text section takes up half the binary size according to cargo bloat - so maybe there's something more I can try?

Speaking of shipped binaries, is jemalloc still a performance win? We could enable it here.

LGTM overall!
I'll do some final experiments and  tweaks myself!
Mering mantually, b/c I thin bors won't like this.

This is running on pull requests as well, that probably wasn't intentional


Channel number to be pruned must be a pow of 2 ?

Hi @liuzhuang13,
There is another issue I met in my experiments:   inference time  reduced  when channel number to be pruned was a pow of 2 , otherwise  it increased  and longer than baseline, which is  not mentioned.  Have you ever met same issue in your experiments? and any suggestions?
my hardware and system:
GPU:  GeForce  RTX  2080   12G
CPU:   58G,  12 cores
System: Ubuntu16.04
regards,
summer, Gao

Hi @liuzhuang13, There is another issue I met in my experiments: inference time reduced when channel number to be pruned was a pow of 2 , otherwise it increased and longer than baseline, which is not mentioned. Have you ever met same issue in your experiments? and any suggestions?
my hardware and system: GPU: GeForce RTX 2080 12G CPU: 58G, 12 cores System: Ubuntu16.04
regards, summer, Gao

@summer-wind-hi
It involves memory alignment. The inference time also depends on your processor(CPU, GPU or other chips) and for most processors, the data size that divisible by 8 is aligned to its  memory access size, which can make memory access and computation faster. Hope this 'https://stackoverflow.com/questions/381244/purpose-of-memory-alignment' can make you more clear. You can also find explanation in some papers (e.g.https://openaccess.thecvf.com/content_ICCV_2019/papers/Yu_Universally_Slimmable_Networks_and_Improved_Training_Techniques_ICCV_2019_paper.pdf,  It mentions  the width design divisible by 8,16,32... that matchs the warp of GPU, has better performance.


Add support for RTCM & NTRIP GNSS corrections forwarding to ELLIPSE-N & ELLIPSE-D

We should update the driver to accept incoming RTCM streams that is directly forwarded to the ELLIPSE-N & ELLIPSE-D.
We can use the already existing message: [http://docs.ros.org/en/noetic/api/mavros_msgs/html/msg/RTCM.html]
Also look at [https://github.com/dayjaby/ntrip_ros/blob/master/scripts/ntripclient.py]
A dedicated node should be created to:

connect to a NTRIP client and publish received data to the RTCM message
listen for NavSatFix messages to publish a GGA message to the NTRIP caster

Thanks to that, ELLIPSE-N/D can provide INS/RTK solutions using one single serial connection and minimal user conf/code.
Please let me know if this could be of interest for some customers / users.

Hi,
This feature could be interested indeed. We use for now Datalink from Septentrio for that purpose.

I think this is will be awesome and will allow most users to avoid using an RS232 split cable to inject RTCM correction to the Ellipse-N/D units (as we currently do).
The proposed solution based on the existing ublox implementations seems quite straightforward. You only need to specify the ROS topic with the RTCM and forward this to the serial port (that should already be opened).
Happy to help/test!

@rsiryani Yes, this is especially important for autonomous driving applications where RTK corrections are necessary and would not be possible without integration of this into a single driver due to issues regarding opening the same serial port multiple times. At present, if a user wants to send RTCM corrections from a NTRIP client via serial concurrently with a connection to the GPS via ROS, the use of another serial connection and a custom cable is necessary along with purchase of another cable (CA-ELI-SPLIT-CAN-DB-0.5M). If the ROS driver itself provides this functionallity, TX on the computer side can be used for sending RTCM corrections and RX on the computer side can be used for fetching the GPS data via a single USB cable directly.

It will be very useful. You can use this to receive messages https://github.com/dayjaby/ntrip_ros.
Similar solution is available for Xsens devices: https://xsenstechnologies.force.com/knowledgebase/s/article/Using-an-NTRIP-client-with-the-Xsens-ROS-driver?language=en_US

I might be able to add some insights.
I used RTK RCTM correction data with the ublox f9p last year and it worked really great after figuring out how.
For that I wrote a python3 ntrip ros client: https://github.com/bjajoh/ntrip_ros_python3
Using the ros rctm messages: https://github.com/tilk/rtcm_msgs
I would suggest to implement it the same way for the ellipse. Simply subscribing to the ntrip messages and forwarding the correction data when available to the ellipse.

Hello,
Thanks for the insights.
It is roughly the way we wanted to do it. A dedicated python based NTRIP client and update the ELLIPSE driver to accept RTCM messages. We have already seen your ntrip ros repo.
However, if I am not mistaken, the last time I have checked, your implementation was not able to read automatically a position from a ROS message to send it to the NTRIP server.
It could be a great improvement and much better than needing directly a GGA message (much more versatile to generate the GGA directly in the python NTRIP client).
Have you already though about this improvement?
Thanks for the feedback,

ntrip_client subscribes to topic nmea, and will forward an nmea_msgs/Sentence message which just contains a string, which needs to be a $GPGGA, to the ntrip caster it is connecting to, if it received one. It then publishes rtcm messages to topic rtcm.
I think it's useful for any ros GNSS drivers to be able to publish valid nmea sentences in ros, and not just the ros nav messages. At least $GxGGA.
Another use would be to extract rtcm from one receiver (base) and send into another (rover) without leaving ros (no ntrip server/caster or packet radios).
I wrote a node to translate a NavSatFix topic back to a $GPGGA and publish it in an nmea_msgs/Sentence, (spoofing some of the fields). To get ntrip_client to connect to virtual mountpoints that require the nmea msg.

Hello @rsiryani, are you already working on this topic? I would really appreciate such a feature!
Some remarks:

It would be fine if the rtcm msg is defined directly in this driver - I would even prefer that over an additional dependency to e.g. mavros_msgs.
 For me, the important part of this feature would be the extension of the driver (actually sbg_ros2_driver) about an rtcm input topic. That 'dedicated node' you describe sounds rather generic to me, so that could also be part of a different package/project.

Hello @grischi,
Thank you for the feedback.
Could you please confirm it is fine for you to have a Python3 dependency to implement the NTRIP client?
Do you also confirm your are working on ROS2?
Finally, we would like a dedicated node than handles the NTRIP client itself and an other node that handles the sbgECom protocol.
The NTRIP client might be written in Python, so we don't want to have one single package to avoid Python dependencies for sbgECom driver.

Hello @rsiryani, thank you for your response. I can confirm both your statements. That design with separate nodes for sbgECom and NTRIP client sounds good 👍.

@rsiryani Hello! Hope you're doing well. I'd like to ask if you're still working on this and whether there's been any sufficient progress or not. I'm in need of this feature in a short time and I'll start working on this as well if you haven't done any significant progress yet. Thanks!

I have tested the ublox_gps driver and Lord-microstrain ntrip client togegher on ROS2; it works as mentioned RTCM are being forwarded to the gps module using a ros topic. I think this feature is still not implemented.

Hello @djaniel, work has been done on devel branch for both sbg_ros_driver and sbg_ros2_driver to:

Subscribe to a topic containing RTCM message and forward it to the device.
Publish NMEA GGA on a specified topic

It should work well with Lord-microstrain ntrip client.
Regards,

Hello @cledant, thank you for your reply. You are correct, I checked  the 'devel' branch and there is support for RTCM forwarding. I setup the ntrip client ant the sbg driver on the devel branch. I had to add some lines at the end of the configuration file for ellipse D :
rtcm:
      # Should ros driver subscribe to RTCM topic
      subscribe: true
      # Topic on which RTCM is published
      topic_name: rtcm
      # Namespace where topic is published
      namespace: ntrip_client

Unfortunately the status does not show RTK precision :
header:
  stamp:
    sec:<PHONE_NUMBER>
    nanosec: 229342522
  frame_id: imu_link_ned
time_stamp: 445965000
status:
  status: 0
  type: 3
  gps_l1_used: true
  gps_l2_used: true
  gps_l5_used: false
  glo_l1_used: true

  glo_l2_used: true
gps_tow: 308628200
latitude: 45.861354166
longitude: 1.295996438
altitude:<PHONE_NUMBER>886719
undulation: 47.442901611328125
position_accuracy:
  x: 0.29649999737739563
  y: 0.29649999737739563
  z: 0.4781000018119812
num_sv_used: 21
base_station_id: 65535
diff_age: 65535

Status.type= 3 corresponds to 'Standard Pseudorange Differential Solution (DGPS).' It is weird to me that the 'base_station_id' is equal to 0xffff. Probably my configuration is not correct on the Ntrip client  (RTCM messages)?
Here is my configuration file for the driver.
ellipseD.csv
ellipseD.csv
ellipseD.csv
Do you have any suggestions?

Hello @djaniel, I think you also need to configure your Ellipse device for it to accept RTCM correction.
In the README.md, there is a paragraph named Configure for RTK/DGPS with every step needed for RTK.
You should follow this step:
For ELLIPSE, simply use the sbgCenter and in Assignment panel, RTCM should be set to Port A.

Thank you, it is working now.

Is the sbg gps node able to produce/publish rtcm messages as a reference station?
To be clear, the rtcm messages would be flowing in the reverse direciton - a ROS based stationary receiver, with known/surveyed location, producing rtcm messages, which could then be forwarded to an ntrip caster or shared thru other means of briding ROS machines.

Hello @arpaterson ,
The SBG GPS node is not able to act like a reference station.

The requested feature is available in the latest release.

For ELLIPSE, simply use the sbgCenter and in Assignment panel, RTCM should be set to Port A.

Is there any way to open RTCM port on sbg web GUI? Because sbgCenter does not scan COM port I can not connect my sbg device.


CVAT installation Issue

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
Clone and go to dir, docker compose up -d.
docker logs cvat_server
Error: positional arguments are not supported: ['init', 'run', 'server']
For help, use /usr/bin/supervisord -h
Error: positional arguments are not supported: ['init', 'run', 'server']
For help, use /usr/bin/supervisord -h
Expected Behavior
No response
Possible Solution
No response
Context
No response
Environment
No response

Seems you have old cvat images locally with dev tag, try to use latest release or run docker compose pull before run


Find doesn't work for certain species

I've been using the Johto map (great tool, really helpful!), and certain Pokemon with non-alphabetical characters in their names don't show up when using the Find button. Ho-oh seems to work fine, but Farfetch'd, Mr. Mime, and Nidoran M and F do not, despite all of these definitely having locations where they show up in the games.

Should be fixed now, thanks for reporting.


Gasp

I replaced the outdated fixation clustering policy with GASP and added a simple test

I haven't reviewed all the changes, but trust this makes sense ;).
Unfortunately there is some issues with the CI; for mac some vigra functionality is not compatible with the newer clang versions,
for linux I am not sure what went wrong.
I am rerunning it now and hope that fixes the issue or gives a clearer error message.
Anyway, I will see what I can do about the CI if I can't fix it now we can also merge without it passing as this is most likely not related to the changes here.

Ok, the build got canceled because of the build failured on mac.
Now it runs through. There is one (unrelated) test that fails, so I am merging this.


Update cloudwatch, dynamodb, kinesis, s3, sns, ... to 2.16.89

Updates

software.amazon.awssdk:cloudwatch
software.amazon.awssdk:dynamodb
software.amazon.awssdk:kinesis
software.amazon.awssdk:s3
software.amazon.awssdk:sns
software.amazon.awssdk:sqs
software.amazon.awssdk:sts

from 2.16.81 to 2.16.89.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #708.


Add Celery task for file cleanup after fetch job

Adds a small Celery task to delete the directory in which files related to a fetch job are stored.

There might be a better way to do this.


Huge image size

The Oracle 12c image is 5.7GB while the previous xe-11g was just 792MB.
Is there anything we can do to reduce the image size?

@coorasse 12c is huge itself...
Not sure that there is anything that I can do with it..

Is there a lighter express edition?


chore: fix fastlane key

The type of this PR is: chore
Description

Updates fastlane API Key to use base64 encoded value
Updates fastlane

This previously didn't work for some reason, going to self-merge and iterate if beta fails to deploy. 🙈
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Fix fastlane API Key

This PR contains the following changes:

Dev changes (Fix fastlane API Key)

  Generated by :no_entry_sign: dangerJS against eff584afb5b358102b51a53f7d2f4de16c753faf


Update PS! Pokedex for Gen 9

AFAICT this is superseded by #23; please correct me if that's wrong.

AFAICT this is superseded by #23; please correct me if that's wrong.

#23 doesn't actually add any new gen 9 content, it just removes the hardcodes. I would've preferred to rebase this.

Oh, I see!

Can you still rebase this?

Oh yeah I forgot, I'll do that in a second

@zarel done

Thanks!


Suggestion for making the map easier to orient

Just a suggestion, feel free to disregard. As the map tool is now, it's not easy to see or click small land masses. It's not really necessary, because we can search with text for places and select whatever we want regardless of being able to click it on the map. However, if you were looking to change this anyway, I've got three suggestions for areas to use instead of land masses, ordered by ease of implementation

just have a different background colour for the regions that are highlighted when you move the cursor over them

use modern exclusive economic zones water mappings, i.e. 370 km from land (see attachment

for a more informative pre-historic visualization, use Marck 1986's suggestion of an overnight voyage being crucial and that it's around 185 km. That's supposed to say something about degree of contact and mutual intelligibility, so it might be
marck.pdf

Just a thought I had, as I was having fun on the web app. Thanks for everything.

Sorry, just realised this was the wrong repos.


how do you use on windows

how do you use on windows

You mean API or TUI

TUI still work in progress, But Free API you can use (https://tidal.401658.xyz/track/?id=123456&quality=LOSSLESS). Get the track ID (also called song ID) from Tidal and replace it. Btw, I will add music search function asp. :)


Package Updates

Package Update 📦
This pull request does the following:

npm update to keep packages fresh
Replaces jimp with jimp-compact to resolve a dependabot alert

.deploy to development

.deploy


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 10:36:29 on 2023.07.17
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 4, errors out: 0
Original problem ID: 32676
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=32676

Problem has been resolved in 21m 0s at 10:57:29 on 2023.07.17
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 32676


Silence warning in prop-types

PropTypes.oneOf takes an array, not a string.

Good catch. Thanks Grant.


'collapse all' button on the call stack panes

Testing #226684
I wonder whether there should be a 'collapse all' button on the call stack pane list. I could see that, since the list can get long and the peek view/bottom pane can get short, I would want to collapse all of the panes first, then expand the ones I'm interested in.

Sorry, I tested the wrong place.


Webpack 1 / rc 8-1 "Uncaught SyntaxError: Unexpected token import"

[x] BUG (?)
What is the expected behavior?
Material2 should work with webpack1 like angular2 rc6 does.
What is the current behavior?
Error "Uncaught SyntaxError: Unexpected token import"
What are the steps to reproduce?
Any solution with angular2 rc6 / material alpha 8-1; bundles with webpack.
I'm just an amateur, but as far as I see angular2 exports umd modules by default and material should (does?!) aswell. The error comes from every material-component indicating that modules picked up by webpack are in es2015 format ... or am I missing something?
Which versions of Angular, Material, OS, browsers are affected?
angular2 rc6 / material 2 alpha 8-1 / win10 / typescript 2.0 beta

I had the same problem and my solution was this.
Instead of :
import {MdCoreModule} from "@angular2-material/core"
import {RtlModule} from "@angular2-material/core/rtl/dir";
import {OverlayModule} from "@angular2-material/core/overlay/overlay-directives";
...

and other stuff from @angular2-material/core/..
Do this:
import {MdCoreModule,RtlModule, OverlayModule, ...} from '@angular2-material/core';

And in tsconfig.json:
{
  "compilerOptions": {
    "module": "commonjs",
    "target": "es5",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true,
    "moduleResolution": "node",
    "noEmitHelpers": true
  },
  "compileOnSave": false,
  "buildOnSave": false
}

Actually your solution fixed it :)
And fixing some of  my wrong imports

import {MdButtonToggleModule} from '@angular2-material/button-toggle/button-toggle';

to

import {MdButtonToggleModule} from '@angular2-material/button-toggle';

.. obvious but I totally missed that .. . .. Sorry. It's  working now :+1:

Thanks   @mvukic  !  Your solution fixed my issue also.  I was using the example file from https://github.com/jelbourn/material2-app/blob/master/src/app/app.module.ts.  The readme example worked ok, but the actual code in the repo did not.


Traefik doesn't differentiate between IngressClasses

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I have still the same problem as described in issue https://github.com/traefik/traefik/issues/7896. The PR https://github.com/traefik/traefik/pull/7915 claimed to have solved it.
I have two traefik instances on the same kubernetes cluster in different namespaces, one for the external domain (*.example.com) and one for the internal domain (*.home).
THE PROBLEM is that any Ingress automatically goes to any Traefik instance, regardless of whether you specify an IngressClass on the Ingress object.
Both instances were installed via the Helm Chart as follows:
helm upgrade --install traefik-public traefik/traefik --values=traefik-values-public.yaml --namespace=traefik-public
helm upgrade --install traefik-internal traefik/traefik --values=traefik-values-internal.yaml --namespace=traefik-internal

Helm values for traefik-public
traefik-values-public.yaml
ports:
  web:
    port: 9080
    exposedPort: 9080
    protocol: TCP
    expose: true
  websecure:
    port: 9443
    exposedPort: 9443
    protocol: TCP
    expose: true
    tls:
      enabled: true
  traefik:
    port: 9000
    exposedPort: 9000
    protocol: TCP
    expose: true
    hostIP: <IP_ADDRESS>
  udp:
    port: 9999
    exposedPort: 9999
    protocol: UDP
    expose: true

ingressRoute:
  dashboard:
    enabled: true

ingressClass:
  enabled: true
  isDefaultClass: false

volumes:
  - name: cert-wildcard-example-com
    mountPath: "/certs"
    type: secret
  - name: config-traefik-public-dynamic
    mountPath: "/config"
    type: configMap

additionalArguments:
  - "--providers.file.filename=/config/dynamic.yaml"

Helm values for traefik-internal
traefik-values-internal.yaml
ports:
  web:
    port: 80
    exposedPort: 80
    protocol: TCP
    expose: true
  websecure:
    port: 443
    exposedPort: 443
    protocol: TCP
    expose: true
    tls:
      enabled: true
  traefik:
    port: 9001
    exposedPort: 9001
    protocol: TCP
    expose: true
    hostIP: <IP_ADDRESS>

ingressRoute:
  dashboard:
    enabled: true

ingressClass:
  enabled: true
  isDefaultClass: false

volumes:
  - name: cert-wildcard-home
    mountPath: "/certs"
    type: secret
  - name: config-traefik-internal-dynamic
    mountPath: "/config"
    type: configMap

additionalArguments:
  - "--providers.file.filename=/config/dynamic.yaml"

As defined in the helm chart, two IngressClasses get created with the traefik fullname:
root@kubernetes[~]# k get ingressclass
NAME               CONTROLLER                      PARAMETERS   AGE
traefik-public     traefik.io/ingress-controller   <none>       15h
traefik-internal   traefik.io/ingress-controller   <none>       3h52m

Now, I create two Ingresses as follows:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-test-public
  namespace: nginx-test-public
  annotations:
#    kubernetes.io/ingress.class: traefik-public #if i set this, this doesn't work at all
spec:
  ingressClassName: traefik-public
  rules:
  - host: nginx-test-public.example.com
  # ...

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-test-internal
  namespace: nginx-test-internal
  annotations:
#    kubernetes.io/ingress.class: traefik-internal #if i set this, this doesn't work at all
spec:
  ingressClassName: traefik-internal
  rules:
  - host: nginx-test-internal.home
  # ...

I expected these two ingresses to map to the respective IngressClass and thus to the respective Traefik instance.
What did you see instead?
However, both ingresses went to both Traefik instances. So the assignment of the IngressClass to the Ingress was completely ineffective.
On both traefik dashboards, both rules appear:

What version of Traefik are you using?
Traefik v2.6.1 via Helm on Kubernetes 1.21.0 k3s
What is your environment & configuration?
Described above.
If applicable, please paste the log output in DEBUG level
No response

For anyone who finds this issue after the fact:
I was able to fix the issue by adding the following entry to the helm value file for both Traefik instances (replace NAME_OF_INGRESSCLASS):
additionalArguments:
  - "--providers.kubernetesingress.ingressclass=NAME_OF_INGRESSCLASS"

Unfortunately this was not described in the documentation or I didn't find it.


Plugin can not be loaded

the plugin from plugin repo dont load (outdated 1.10) then i downloaded the github version from here now this:

This screenshot gives literally no useful information. In what context did this error occur?
The next time this error message appears, please press Ctrl+Shift+I, click on the Console tab at the top, find the message highlighted in red, and send me a screenshot of that.

@DS-GitHub This problem is unrelated (see #1). Please download the latest version from Github (View Raw, right click, Save as...) to fix this issue.

oh thanks! It enabled after I downloaded the latest version of the plugin.


Errors when running PR with bashdb built in

In addition to the details for issue, please provide us Executables information and Debug output unless you have confidence that they don't help us.
Executables
Version of bash-debug: 0.2.3 by @rogalmic on #83
Output of following commands (on windows, execute them in Command Prompt or PowerShell):
$ which bash
/bin/bash

# if `code` not found on macOS, follow the instructions in:
# https://code.visualstudio.com/docs/setup/mac
$ code --version
1.26.1
493869ee8e8a846b0855873886fc79d480d342de
x64

$ bash -c 'uname -a; for P in bash bashdb cat mkfifo pkill; do echo ---; which -a $P; command $P --version; done'
Linux hostname 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 19:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
---
/bin/bash
GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
---
bash: bashdb: command not found
---
/bin/cat
cat (GNU coreutils) 8.28
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund and Richard M. Stallman.
---
/usr/bin/mkfifo
mkfifo (GNU coreutils) 8.28
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.
---
/usr/bin/pkill
pkill from procps-ng 3.3.12

Debug output
Paste here outputs in DEBUG CONSOLE (ctrl+shift+D or command+shift+D) with "showDebugOutput": true and "trace": true in launch.json.
Your launch.json may looks like:
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "bashdb",
            "request": "launch",
            "name": "Bash Debug",
            "program": "${workspaceFolder}/src/foo.sh",
            "showDebugOutput": true,
            "trace": true
        }
    ]
}

Details
@rogalmic I installed the build you published in #83 and I ran into a couple of issues. I didn't want to add them to the PR in the event I'm doing something wrong.
Issue 1
I'm unable to see any local variables when debugging a script. Nearly any script will do:
#!/bin/bash
foo="BAR"
echo "${foo}"

Results in only 2 local variables:
$PWD: /home/some/path
$? #_Dbg_last_bash_command: 0 # foo="BAR"

I never see $foo in this list.
Debug Output:
19:02:44 PM, 9/4/2018
From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"bashdb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us"})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConditionalBreakpoints":false,"supportsConfigurationDoneRequest":false,"supportsEvaluateForHovers":true,"supportsStepBack":false,"supportsSetVariable":false}}
From client: launch({"type":"bashdb","request":"launch","name":"Bash-Debug (simplest configuration)","program":"/home/some/path/test.sh","showDebugOutput":true,"trace":true,"args":[],"cwd":"/home/some/path","pathBash":"bash","pathBashdb":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","pathBashdbLib":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir","pathCat":"cat","pathMkfifo":"mkfifo","pathPkill":"pkill","__sessionId":"495df958-5936-4d7f-a660-97fd46fc00aa"})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(/home/some/path/test.sh:2):\n2:\tfoo=\"BAR\"\n"}}
(/home/some/path/test.sh:2):
2:	foo="BAR"
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Debug environment: bash_ver=4.4.19(1)-release, bashdb_ver=4.4-0.94-mod, program=/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb, args=\n"}}
Debug environment: bash_ver=4.4.19(1)-release, bashdb_ver=4.4-0.94-mod, program=/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb, args=
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"7428\n"}}
7428
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":true}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending InitializedEvent"}}
To client: {"seq":0,"type":"event","event":"initialized"}
From client: setBreakpoints({"source":{"name":"test.sh","path":"/home/some/path/test.sh"},"lines":[2],"breakpoints":[{"line":2}],"sourceModified":false})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending StoppedEvent"}}
To client: {"seq":0,"type":"event","event":"stopped","body":{"reason":"break","threadId":42}}
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":4,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}}
From client: stackTrace({"threadId":42,"startFrame":0,"levels":20})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"File /home/some/path/test.sh loaded.\n"}}
File /home/some/path/test.sh loaded.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"break </home/some/path/test.sh:2> \n"}}
break </home/some/path/test.sh:2>
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Breakpoint 1 set in file /home/some/path/test.sh, line 2.\n"}}
Breakpoint 1 set in file /home/some/path/test.sh, line 2.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Source files which we have recorded info about:\n"}}
Source files which we have recorded info about:
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"  /home/some/path/test.sh: /home/some/path/test.sh, 3 lines\n"}}
  /home/some/path/test.sh: /home/some/path/test.sh, 3 lines
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"\u001b[1mNum Type       Disp Enb What\u001b[0m\n"}}
Num Type       Disp Enb What
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"1   breakpoint keep y   /home/some/path/test.sh:2"}}
1   breakpoint keep y   /home/some/path/test.sh:2
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"\n"}}

To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"response","request_seq":3,"command":"setBreakpoints","success":true,"body":{"breakpoints":[]}}
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":6,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"backtrace\n"}}
backtrace
From client: stackTrace({"threadId":42,"startFrame":0,"levels":20})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"->0 in file `/home/some/path/test.sh' at line 2\n"}}
->0 in file `/home/some/path/test.sh' at line 2
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"##1 source"}}
##1 source
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(\"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100\n"}}
("/home/some/path/test.sh") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"##2 main"}}
##2 main
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-12679\", \"--library\", \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\", \"--\", \"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-12679", "--library", "/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir", "--", "/home/some/path/test.sh") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file `/home/some/path/test.sh' at line 2'\n"}}
To client: {"seq":0,"type":"response","request_seq":5,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"test.sh","path":"/home/some/path/test.sh","sourceReference":0,"adapterData":"bash-adapter-data"},"line":2,"column":0,"name":"->0 in file `/home/some/path/test.sh' at line 2"},{"id":1,"source":{"name":"bashdb","path":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":100,"column":0,"name":"##1 source(\"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100"},{"id":2,"source":{"name":"bashdb","path":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-12679\", \"--library\", \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\", \"--\", \"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"backtrace\n"}}
backtrace
From client: scopes({"frameId":0})
To client: {"seq":0,"type":"response","request_seq":8,"command":"scopes","success":true,"body":{"scopes":[{"name":"Local","variablesReference":19,"expensive":false}]}}
From client: variables({"variablesReference":19})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"->0 in file `/home/some/path/test.sh' at line 2\n"}}
->0 in file `/home/some/path/test.sh' at line 2
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"##1 source"}}
##1 source
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(\"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100\n"}}
("/home/some/path/test.sh") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"##2 main"}}
##2 main
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-12679\", \"--library\", \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\", \"--\", \"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-12679", "--library", "/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir", "--", "/home/some/path/test.sh") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file `/home/some/path/test.sh' at line 2'\n"}}
To client: {"seq":0,"type":"response","request_seq":7,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"test.sh","path":"/home/some/path/test.sh","sourceReference":0,"adapterData":"bash-adapter-data"},"line":2,"column":0,"name":"->0 in file `/home/some/path/test.sh' at line 2"},{"id":1,"source":{"name":"bashdb","path":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":100,"column":0,"name":"##1 source(\"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100"},{"id":2,"source":{"name":"bashdb","path":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-12679\", \"--library\", \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\", \"--\", \"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Program stopped.\n"}}
Program stopped.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"It stopped after being stepped.\nNext statement to be run is:\n\tfoo=\"BAR\"\n"}}
It stopped after being stepped.
Next statement to be run is:
	foo="BAR"
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":" <$PWD> \n"}}
 <$PWD>
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"/home/some/path\n"}}
/home/some/path
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":" <$? # $_Dbg_last_bash_command> \n"}}
 <$? # $_Dbg_last_bash_command>
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"0 # . \"$_Dbg_script_file\"\n"}}
0 # . "$_Dbg_script_file"
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"response","request_seq":9,"command":"variables","success":true,"body":{"variables":[{"name":"$PWD","type":"string","value":"/home/some/path","variablesReference":0},{"name":"$? # $_Dbg_last_bash_command","type":"string","value":"0 # . \"$_Dbg_script_file\"","variablesReference":0}]}}
From client: stepIn({"threadId":42})
To client: {"seq":0,"type":"response","request_seq":10,"command":"stepIn","success":true}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"step\n"}}
step
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(/home/some/path/test.sh:3):\n3:\techo \"${foo}\"\n"}}
(/home/some/path/test.sh:3):
3:	echo "${foo}"
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Sending StoppedEvent"}}
To client: {"seq":0,"type":"event","event":"stopped","body":{"reason":"break","threadId":42}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":11,"command":"threads","success":true,"body":{"threads":[{"id":42,"name":"Bash thread"}]}}
From client: stackTrace({"threadId":42,"startFrame":0,"levels":20})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"backtrace\n"}}
backtrace
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"->0 in file `/home/some/path/test.sh' at line 3\n"}}
->0 in file `/home/some/path/test.sh' at line 3
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"##1 source"}}
##1 source
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(\"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100\n"}}
("/home/some/path/test.sh") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"##2 main"}}
##2 main
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-12679\", \"--library\", \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\", \"--\", \"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-12679", "--library", "/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir", "--", "/home/some/path/test.sh") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0
From client: stackTrace({"threadId":42,"startFrame":0,"levels":20})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file `/home/some/path/test.sh' at line 3'\n"}}
To client: {"seq":0,"type":"response","request_seq":12,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"test.sh","path":"/home/some/path/test.sh","sourceReference":0,"adapterData":"bash-adapter-data"},"line":3,"column":0,"name":"->0 in file `/home/some/path/test.sh' at line 3"},{"id":1,"source":{"name":"bashdb","path":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":100,"column":0,"name":"##1 source(\"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100"},{"id":2,"source":{"name":"bashdb","path":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-12679\", \"--library\", \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\", \"--\", \"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}}
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"backtrace\n"}}
backtrace
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"->0 in file `/home/some/path/test.sh' at line 3\n"}}
->0 in file `/home/some/path/test.sh' at line 3
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"##1 source"}}
##1 source
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(\"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100\n"}}
("/home/some/path/test.sh") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"##2 main"}}
##2 main
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-12679\", \"--library\", \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\", \"--\", \"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0\n"}}
("--quiet", "--tty", "/tmp/vscode-bash-debug-fifo-12679", "--library", "/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir", "--", "/home/some/path/test.sh") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"event","event":"output","body":{"category":"telemetry","output":"Execution breaks at '->0 in file `/home/some/path/test.sh' at line 3'\n"}}
To client: {"seq":0,"type":"response","request_seq":13,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":0,"source":{"name":"test.sh","path":"/home/some/path/test.sh","sourceReference":0,"adapterData":"bash-adapter-data"},"line":3,"column":0,"name":"->0 in file `/home/some/path/test.sh' at line 3"},{"id":1,"source":{"name":"bashdb","path":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":100,"column":0,"name":"##1 source(\"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 100"},{"id":2,"source":{"name":"bashdb","path":"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb","sourceReference":0,"adapterData":"bash-adapter-data"},"line":0,"column":0,"name":"##2 main(\"--quiet\", \"--tty\", \"/tmp/vscode-bash-debug-fifo-12679\", \"--library\", \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\", \"--\", \"/home/some/path/test.sh\") called from file `/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb' at line 0"}],"totalFrames":4}}
From client: scopes({"frameId":0})
To client: {"seq":0,"type":"response","request_seq":14,"command":"scopes","success":true,"body":{"scopes":[{"name":"Local","variablesReference":46,"expensive":false}]}}
From client: variables({"variablesReference":46})
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"Program stopped.\n"}}
Program stopped.
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"It stopped after being stepped.\nNext statement to be run is:\n\techo \"${foo}\"\n"}}
It stopped after being stepped.
Next statement to be run is:
	echo "${foo}"
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":" <$PWD> \n"}}
 <$PWD>
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"/home/some/path\n"}}
/home/some/path
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":" <$? # $_Dbg_last_bash_command> \n"}}
 <$? # $_Dbg_last_bash_command>
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"0 # foo=\"BAR\"\n"}}
0 # foo="BAR"
To client: {"seq":0,"type":"event","event":"output","body":{"category":"console","output":"############################################################\n"}}
############################################################
To client: {"seq":0,"type":"response","request_seq":15,"command":"variables","success":true,"body":{"variables":[{"name":"$PWD","type":"string","value":"/home/some/path","variablesReference":0},{"name":"$? # $_Dbg_last_bash_command","type":"string","value":"0 # foo=\"BAR\"","variablesReference":0}]}}

Issue 2
I also noticed that if I wrap my bash script in a main function the debugger will open the bashdb script and crash resulting in the following output:
/home/some/path/test.sh: line 9: syntax error near unexpected token `1'
/home/some/path/test.sh: line 9: `    sleep(1)'
bash: line 18:  5009 Killed                  "cat" "/tmp/vscode-bash-debug-fifo-19120" 1>&3  (wd: ~)
bash: line 18:  5010 Killed                  "cat"
      5011                       | "/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb" --quiet --tty "/tmp/vscode-bash-debug-fifo-19120" --library "/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir" -- "/home/some/path/test.sh"

Debug Output:
To client: {"seq":0,"type":"event","event":"output","body":{"category":"stderr","output":"bash: line 18:  6754 Killed                  \"cat\" \"/tmp/vscode-bash-debug-fifo-17148\" 1>&3  (wd: ~)\nbash: line 18:  6755 Killed                  \"cat\"\n      6756                       | \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb\" --quiet --tty \"/tmp/vscode-bash-debug-fifo-17148\" --library \"/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir\" -- \"/home/some/Documents/Fantag/conditional-mono-repo/test.sh\"\n"}}
bash: line 18:  6754 Killed                  "cat" "/tmp/vscode-bash-debug-fifo-17148" 1>&3  (wd: ~)
bash: line 18:  6755 Killed                  "cat"
      6756                       | "/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir/bashdb" --quiet --tty "/tmp/vscode-bash-debug-fifo-17148" --library "/home/some/.vscode/extensions/rogalmic.bash-debug-0.2.3/bashdb_dir" -- "/home/some/Documents/Fantag/conditional-mono-repo/test.sh"
To client: {"seq":0,"type":"response","request_seq":11,"command":"disconnect","success":true}

Hi,
Issue1:
This is known limitation for now. There are ways to do it, but for now it is not implemented yet:
https://stackoverflow.com/questions/1305237/how-to-list-variables-declared-in-script-in-bash
In this PR version, debugger is showing only current dir (PWD) and last status ($? + last command code line $_Dbg_last_bash_command), for performance reasons.
In other to check other values, choose one of following:

add watch for $foo
hover mouse over $foo in source file
type $foo in debug console

Issue 2:
Try removing the parenthesis:
sleep 1.0

in bash function can be defined with parenthesis, but it is called without (just like command):
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-8.html


Add metadata cell to notebooks

Closes #362
Overview
To make notebooks location independent, save the notebooks base-image and requirements at the top cell of every notebook, rather than in local data

Notebooks will now always have the top cell as the garden metadata cell.
Requirements files will now be read and their contents saved in the metadata rather than just saving the path.
All notebook templates were updated with the the correct base image in the garden metadata cell
notebook start will automatically add the garden metadata cell if its missing.

Discussion
Adds new helper functions _add_notebook_metadata_cell, _set_notebook_metadata and _get_notebook_metadata, in notebook.py to read / edit the garden metadata cell.
Adds new helper functions _read_requirements_data and _save_requirements_data in notebook.py for reading and writing new requirements data format.
Removed _put_notebook_base_image and _get_notebook_base_image from local_data.py
The notebook publish functionality was slightly changed. Previously, publishing a notebook with a new base-image or requirements updated the user's local notebook in addition to publishing. This is no longer the case. Now when a user publishes a notebook using a different base image or requirements file, the notebook that gets uploaded will have the new metadata saved in it, but publish will not modify the user's local notebook. This choice was made because a user should not be able to accidentally change their local notebook if they are trying to publish a variation of it using publish's requirements or base-image arguments. If a user wishes to make changes locally, 'notebook start' should be used.
Testing
Manually tested notebook start, notebook debug and notebook publish commands and ran remote execution of a newly published garden and endpoint.
Documentation
No docs changes.

📚 Documentation preview 📚: https://garden-ai--404.org.readthedocs.build/en/404/

Codecov Report
Attention: 174 lines in your changes are missing coverage. Please review.

Comparison is base (037216d) 75.25% compared to head (2a7db4f) 72.04%.

Files
Patch %
Lines

garden_ai/app/notebook.py
5.43%
174 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #404      +/-   ##
==========================================
- Coverage   75.25%   72.04%   -3.21%
==========================================
  Files          45       45
  Lines        2683     2812     +129
==========================================
+ Hits         2019     2026       +7
- Misses        664      786     +122

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

Codecov Report
Attention: 174 lines in your changes are missing coverage. Please review.

Comparison is base (037216d) 75.25% compared to head (2a7db4f) 72.04%.

Files	Patch %	Lines
garden_ai/app/notebook.py	5.43%	174 Missing ⚠
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
☔ View full report in Codecov by Sentry. 📢 Have feedback on the report? Share it here.

Need to add unit tests for notebook helper functions still.


Sources don't update if "winget source update" is run from an Admin CMD window in a "Standard" user account.

Brief description of your issue
Updating winget's sources from an Admin command prompt/PowerShell window while logged into a "Standard"/regular user account doesn't actually update the sources.

Steps to reproduce
Note: winget will need to be installed in both accounts. Installing it in the Admin account will ask you to re-install, but in reality it's not installed in that account yet. winget may also complain about sources being broken after re-installing and trying to run from the "Standard" account, but I haven't noticed this while verifying this issue.
Note 2: There will need to be a "Standard" account in addition to an account with Administrator permissions, which is being referred to here as "Admin" to make it shorter.

Open CMD/PowerShell as Admin in a "Standard" account.
Run winget source update
Show or install a package that's been recently updated but hasn't had the new version cached in your local copy of the sources list. I personally ran into this issue with guinget, where winget said the latest version was <IP_ADDRESS> even though 0.1.1 was available through winget.
Open CMD/PowerShell without Admin permissions.
Run winget source update
Show or install the same package from step 3 and compare the versions displayed.

Expected behavior
The sources should be updated just like they would be if you used a non-Admin command prompt/PowerShell window.

Actual behavior
Sources don't actually update even though winget says they were updated. If you update the sources in a non-Admin window then show/install a package in the Admin window, it should display the new version based on my testing.

Environment
[winget --info]
Windows Package Manager v0.1.41821 Preview
Windows: Windows.Desktop v10.0.18363.959
Package: Microsoft.DesktopAppInstaller v1.0.41821.0

Any other software? None relevant to this issue.

I'd verify this in winget v0.1.42101 but my regular install has winget version v0.1.41331 installed in my regular account with v0.1.42101 in my Admin account on my main computer (running Windows 10 Version 10.0.18362.959) and I'm scared to update it as I'm having an issue in a VM described at the bottom of #502 that'll be posted soon.

You don't actually need to update sources manually. That's being done behind the scenes after the cache has gone stale.
https://github.com/microsoft/winget-cli/blob/master/doc/Settings.md#autoupdateintervalinminutes

I'm aware of that, but unless it updates for the Admin account at the same time as the standard account, running winget show (package) as admin didn't update the cache for me even though the cache-updating progress bar showed up.

As for the account issue. If you're running winget with a user that is not member of the Administrators group then that behaviour is expected.
When a user account that is member of the Administrators group logs on, the Explorer and other processes will be started with a standard user access token. That user can then run a process elevated via UAC which grants that process an additional full administrative access token. Both belong to the same user and therefore same user profile.
What you have is a user that is not a member of the Administrators group. That means that user cannot elevate processes. In this case UAC allows you to use another user account that is member of the Administrators group to run that process. In this case you're actually executing a process in the context of a different user and therefore user profile. That means the paths where that foreign process writes to is different from your non-admin user and there is no way of solving this. That's by design

That makes sense, but the issue is that winget isn't updating the cache when I'm running it elevated from a regular account, while it does update when not running it elevated from the same regular account.

You really need to be more specific with your statements and re-read my comment that explains how UAC works.

What I'm trying to say is, the elevated prompt in a standard account isn't updating the cache in the account the elevated prompt is using, while the non-elevated prompt is updating the cache in both the elevated and non-elevated prompts. I re-read the earlier comment more thoroughly and understand that part.

Stop using the term "standard account" or "regular account". There is no such thing. Your user account is either member of the administrators group (default) or it isn't (either deliberate choice or corporate policy). The former can elevate its own processes whereas the latter needs another user account to do that.

That is correct. Sorry, I was just going off what Windows 10 calls accounts in the account settings section of the Settings app.
Decided to send winget show's out put to a text file from both the elevated and non-elevated prompts, and it includes the progress bar when it updates its cache, so I'll edit the first post with them if it helps this issue.

After clarifying your setup the problem is not with elevated permissions (CMD and its child processes having the administrative user token) but that you're simply using winget with two different user accounts.
That behaviour is expected. Here's a more detailed explanation why:

Say we have two Windows user accounts:

LimitedUser (not member of Administrators)
NormalUser

When I print LimitedUser path variables in PowerShell it gives:
PS> $env:UserProfile
C:\Users\LimitedUser\

PS> $env:LocalAppData
C:\Users\LimitedUser\AppData\Local

Now as LimitedUser I want to run PowerShell elevated. A UAC prompt shows up allowing me to run the process as NormalUser. When I run the same the output is different:
PS> $env:UserProfile
C:\Users\NormalUser\

PS> $env:LocalAppData
C:\Users\NormalUser\AppData\Local

Winget writes to %LocalAppData%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe. That means that depending on whether you ran winget in the first or second example its filesystem interaction was with different user profiles.
There's nothing to fix here - this is by design. Regardless of Windows version the user profile is considered an access boundary. This applies to all processes, e.g. an MSI setup will always write to %TEMP% and applied to your scenario you wouldn't find its files in C:\Users\LimitedUser\AppData\Local\Temp but under C:\Users\NormalUser\AppData\Local\Temp.

This makes sense regarding file access. Just strange that the progress bar behaves differently when run elevated from a user not in the Administrators group compared to running non-elevated from the same user.

@DrewNaylor, I will dig in a bit deeper to try and clarify exactly what is happening.

I believe @megamorf correctly described the account specific behavior. This looks like an edge case where there were multiple instances of installation for the client. The TTL value is stored based on the installed user(s). Each installed location has it's own reference timestamp for the TTL calculation. I expect the undesired behavior is being network inefficient primarily. We're looking at Delivery Optimization and being Metered Network aware in the backlog. I'm going to reference #151 as a signal to look back at this Issue. The fix for this would likely require some additional engineering to minimize the additional unnecessary downloads for the cache.


Update scrypt version to 3.0.6 to support mac os mojave

https://github.com/pbhogan/scrypt/releases/tag/3.0.6

Just released a new version. Thanks!


how to Replacing "#" Routes  Using Backbone.js

E.g:
in router.js
routes: {             "": "home",             "first": "first"         }, .....
in page:
home link first page
in brower URL:www.domain.com/#first;
but i want to get
URL:www.domain.com/first;
in brower  Address Bar.
how to replacing "#" in routes.
thanks!

You'll want to start Backbone.history with {pushState: true}.
In the future, please use StackOverflow for questions like this.


Error after Updating @google-cloud/tasks to ^4.1.0: Firestore Snapshot Decoding Issue

Thanks for stopping by to let us know something could be better!
Issue Description:
After updating @google-cloud/tasks from version ^3.1.2 to ^4.1.0, I encountered a runtime error in my Firebase function. The issue seems to be related to decoding Firestore snapshots. The error message is as follows:
Environment details

Product: @google-cloud/tasks
OS: macOS Sonoma 14.1.2 (Chip Apple M1 Pro, Memory 16GB, Startup Disk Macintosh HD)
Node.js version: v18.7.0
npm version: v10.2.4
google-cloud-node dependencies:

@google-cloud/firestore: ^7.1.0
@google-cloud/pubsub: ^4.0.7
@google-cloud/secret-manager: ^5.0.1
@google-cloud/storage: ^7.7.0
@google-cloud/tasks: ^4.1.0
@googlemaps/google-maps-services-js: ^3.3.41
firebase-admin: ^11.11.1
firebase-functions: ^4.5.0

Steps to reproduce

Update @google-cloud/tasks from ^3.1.2 to ^4.1.0.
Execute the Firebase function which interacts with Firestore.
Observe the error in the function logs.

I have already checked the open issues, StackOverflow, the troubleshooting guide, and the FAQ but didn't find a similar issue or solution. Any assistance or guidance would be greatly appreciated.
Thanks!

Not sure if it's related (because the error message seems to be missing here) but I ran with the new version 4.1.0 into #4858

Could I trouble you for the code that failed? Thank you in advance.