Fix pilot race errors (#26077)

(cherry picked from commit 54204592e9d3f3f90cfc9f8c18b503acc9d6d214)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.7
b4a1af25687556e79e6d350944b0d7c37e0e69e6
link
/test release-notes_istio_release-1.7

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


gLTF Model Material Transparency Issue with setValue

On a gLTF model, I can use getMaterial() to get a reference to the material, and then the set/getValue() methods to adjust certain attributes.
For the transparency attribute, however, I'm finding that I cannot adjust the transparency on a given material unless it had a transparency level set in the original model. And once it's set, I am unable to remove the transparency - even if I setValue() of the material's transparency back to 1 that material is still partly transparent
My use case here is that I want to start by showing the exterior of the model only, but when requested I will make sections of the outer skin transparent to reveal the internal components.

has their been any updates to Cesium to fix this problem?

No update, but perhaps the workaround above will be reasonable for you.

@lilleyse was this fixed with your recent model color changes?

It's close, but this is targeting individual materials whereas the color changes affect the whole model.

This issue will no longer be relevant as of the 1.97 release since ModelMaterial will have been removed.

@lilleyse 1.102.0 Can we consider adding a name attribute to ModelComponent.Material? This is convenient to do some custom material mapping

@XiaoHu1994 Sure, feel free to open a PR to add that.


[Feature Request] 10GB Download Test File Add

Hello, I created a Speed Test system to be a resource on my own website. I'm using Vultr files for now. However, it seems that this will not be enough in the near future. I want to use the Download files on your system, but for users with 1GBPS connection speed, 100 MB file is not enough :(
You can review:

https://github.com/ramazansancar/nicesi-speedtest
https://speedtest.ramazansancar.com.tr/

I agree providing a 100MB file for speed testing may not be sufficient for users with a 1 GBPS connection speed to accurately gauge their internet performance. However, at this time, there is no plan to support a 10GB download file directly. One of the primary reasons for this is that hosting and serving large files, can be quite costly in terms of storage and traffic.
As an alternative, you may want to consider setting up your own hosting. This would allow you to offer a 10 GB download file to your users.


Up version num

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@wolfv @lesteve this is ready to be merged
Once this is merged we can tackle the PRs in https://github.com/conda-forge/catkin_tools-feedstock/pulls
Any idea how to build this feedstock for Python 3.9?

@conda-forge-admin, please rerender

weird why this wasn't picked up by the autotick bot...

The meta.yaml was in a subdirectory .. might be why.

yes, that's exactly why :facepalm:


GitHub Workflows - Docker image steps results in invalid package URL's

What happened:
Syft generates an invalid package URL for a GitHub Workflow using a Docker image as a step.
pkg:github/docker:/#docker.mirror.hashicorp.services/rhysd/actionlint:latest
What you expected to happen:
Expect Syft to output a package URL for a Docker image.
Steps to reproduce the issue:
Scan the Hashicorp Vault Action repository.
https://github.com/hashicorp/vault-action/blob/86c7f837eb43794c7dc56f74d9cffac710679b28/.github/workflows/actionlint.yaml#L13
Anything else we need to know?:
This is problematic when using the GitHub Dependency Submission endpoint.

I think we can enhance this support detection of the uses: docker:// entry and instead use the OCI pURL type.
example: https://github.com/hashicorp/vault-action/blob/86c7f837eb43794c7dc56f74d9cffac710679b28/.github/workflows/actionlint.yaml#L13


Broken links for demo code on wiki

Sorry if this is the wrong place for this!
I am trying to run the DHCP Masquerade example but all of the bitbucket links belonging to @lantz are broken. For example, there is supposed to be a git repository for the demo code at https://bitbucket.org/lantz/cs144-dhcp but it gives a 404 error. Same for the video demo at the bottom of the page. This code is required to run the demo! Should be an easy fix so I hope this can be resolved soon.

Strange but should be fixed now I think. If not, feel free to reopen this issue.


Support number-pad and other keyboard types

Currently, this check is hardcoded for the numeric keyboard type:
      if (screenY === height || this.props.keyboardType !== 'numeric') {
        bottom = -81;
      } else {
        bottom = endCoordinates.height - 40;
      }

But this does not do the right thing for keyboard types such as number-pad:
https://facebook.github.io/react-native/docs/textinput.html#keyboardtype
(Admittedly, the difference between the two is slight. It seems the only difference is the lack of a decimal point in number-pad mode.)

Mm, ok thanks for bringing this up. I guess for now if you're using "number-pad", find a way to pass numeric as a prop to the DoneBar. Too busy with a lot of school-related stuff right now.

or make a pull request =)


[Discussion] Is it possible to use GPU with Spleeter Python API without conda?

Hello all,
I'm using Spleeter Python API to separate audio signals in many stems. Is it possible to use GPU for separations without conda or docker image?
Thanks

Hello @Tiago622,
yes it is possible (at least on linux, almost sure it won't work on MacOS, and not sure about Windows).
You need to be sure to have:

ffmpeg installed.
a Nvidia GPU with drivers installed.
CUDA 10.1 (a more recent version should do it too).
python (3.6, 3.7 or 3.8) and pip.

Then pip install spleeter and you should then be able to run spleeter on GPU.


NPE in 1.16.4

Industrial Foregoing Version:
industrial-foregoing-1.16.4-3.2.8-bb86c58
Titanium Version:
titanium-1.16.4-3.2.5
Crashlog If Applicable (Upload to pastebin/gist):
https://gist.github.com/Letoric/abea1154c55c0e66a2846c24308c3a06
It didn't create a true crash log even though it said it was preparing one, so the latest is what we have to work with. If you end up needing debug, lemme know.

Update to <IP_ADDRESS> and try again to get a crashlog

Update to <IP_ADDRESS> and try again to get a crashlog

Thanks, I didn't see that you had released a minor update and removed the
old, so close together.
On Sat, Jan 9, 2021 at 12:23 PM Buuz135<EMAIL_ADDRESS>wrote:

Update to <IP_ADDRESS> and try again to get a crashlog
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/InnovativeOnlineIndustries/Industrial-Foregoing/issues/947#issuecomment-757347079,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGN4BNTCXI5STYV6UDXVAYTSZCNIJANCNFSM4V3YUK7Q
.

Thanks, I didn't see that you had released a minor update and removed the
old, so close together.
On Sat, Jan 9, 2021 at 12:23 PM Buuz135<EMAIL_ADDRESS>wrote:

Update to <IP_ADDRESS> and try again to get a crashlog
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/InnovativeOnlineIndustries/Industrial-Foregoing/issues/947#issuecomment-757347079,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGN4BNTCXI5STYV6UDXVAYTSZCNIJANCNFSM4V3YUK7Q
.


How to pass the id of an MKAnnotation via a segue to the next ViewController

Hi,
I do have a question about how to find out which MKAnnotation is the current selected:
First of all: I do use CCHMapClusterController in a Swift Project. The Clustered Map does work perfect. My plan is to show some more details when the user does click on the rightCallout Button. Making the AnnotationView show up, clicking rightCalloutButton und do a segue to a DetailView does work fine. Except for a big problem: How do I find out which Annotation was clicked an which details shoud be shown?
My idea is to pass an id (or uuid) to the DetailViewController via the segue. But how do I find out the corret id (or uuid) to pass?
I've created this swift class:
class BoothAnnotationLocation: NSObject, MKAnnotation
{
    var coordinate: CLLocationCoordinate2D
    var title: String
    var subtitle: String
    var uuid: String

    init(coordinate: CLLocationCoordinate2D, title: String, subtitle: String, uuid: String) {
        self.coordinate = coordinate
        self.title = title
        self.subtitle = subtitle
        self.uuid = uuid
    }
}

I do put all annotations to a big array and add this to the cluster controller
var BoothAnnotationLocationList = [BoothAnnotationLocation]()
...
var a = BoothAnnotationLocation(coordinate: vendorLocationNew, title: supTitle!, subtitle: supSubtitle!, uuid: supUUID!)
self.BoothAnnotationLocationList.append(a)
...
self.mapClusterController.addAnnotations(self.BoothAnnotationLocationList,    withCompletionHandler: nil)

-> The Map does show up and is clustered
I've implemented
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject!) {
        if segue.identifier == "showBoothLocationDetail" {

            let annotation = sender.annotation as MKAnnotation
            NSLog(annotation.title!)

           ...

But in prepareForSegue I can only get access to an MKAnnotation Object which does not hold the needed id/uuid to pass it to the DetailViewController via a segue?
Is there any reliable path to receive the id/uuid to pass it to the next ViewController?

The map view has a selected annotation, which will be of the type CCHMapClusterAnnotation and you can get the annotations in the cluster from the annotations property.
You'll have to deal with the fact that there might one or more annotations clustered, e.g. by showing the detail screen in the first case and a list in the second.
Maybe this code helps? In this app, I'm calling performSegueWithIdentifier:sender: from within mapView:annotationView:calloutAccessoryControlTapped:.

Hi Claus,
thanks a lot for your answer! Unfortunately I'm still confused.
Referring to your "this code helps?" I tried this:
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject!) {
    if segue.identifier == "showBoothLocationDetail" {

        var selectedAnnotation: MKAnnotation = self.MapSearchBooth.selectedAnnotations[0] as MKAnnotation
        NSLog("selectedAnnotation.title!")
        NSLog(selectedAnnotation.subtitle!)

        let mapClusterAnnotation: CCHMapClusterAnnotation = selectedAnnotation as CCHMapClusterAnnotation
        NSLog(mapClusterAnnotation.title)
        NSLog(mapClusterAnnotation.subtitle)

In both NSLog sections I do recieve title and subtitle of the selected annotation.
But I still don't unterstand how use this information (or CCMapClusterAnnotion) to find out the uuid of my BoothAnnotationLocation?

When you select an annotation that's controlled by CCHMapClusterController on the map, it will be a CCHMapClusterAnnotation, not a BoothAnnotationLocation. A CCHMapClusterAnnotation contains an array of BoothAnnotationLocations in the property annotations.
Since you are selecting a cluster, I don't see why you need a UUID. You simply have to deal with the array of annotations in the cluster.

You simply have to deal with the array of annotations in the cluster.

Oh that's it! :-)
I failed to notice the array of BoothAnnotationLocations inside CCHMapClusterAnnotation - silly me.
Thanks for pointing this out to me and thanks again for your help!

Welcome – glad you fixed your problem


Add clone peers functionality

For more details, open the Copilot Workspace session.

✨✨ Here's an AI-assisted sketch of how you might approach this issue saved by @CasP0 using Copilot Workspace v0.25


Add an endpoint to calculate Price/Earning to ratio

Note
Price/Earning ratio is the ratio between share price and the earing per share (EPS) .

Create a function in ./helpers/functions.py file for the calculation.
Map it with an endpoint GET /per in the main.py file with properly.


Use static func instead of class func

The only change needed for Swift 1.2 support.

Thanks for the PR. I already had a branch open with the changes. Please refer to #44

@klaaspieter version 0.4.0 should take care of this now.


inquiry on program being killed

Hello i was currently working on the code with the customed dataset that i have and the dataset contains around 380000 samples. I did customize the csv dataset that i have to match the example dataset you used, such as SpokenArabicDigits and created ts files. And as i run the code for classification, the program stops running and says killed. Should i assume the dataset is too big for the code to handle?

the command is as follows:
python src/main.py --output_dir experiments --comment "classification from Scratch" --name orange_fromScratch --records_file Classification_records.xls --data_dir src/datasets/orange/ --data_class tsra --pattern TRAIN --val_pattern TEST --epochs 400 --lr 0.001 --optimizer RAdam  --pos_encoding learnable  --task classification  --key_metric accuracy
and this was run on WSL with 16gb ram and NVIDIA GeForce RTX 2050.
Are you suggesting that the code itself should not create such errors, but the specifications may be an issue? And I should try to change the parameters accordingly?


Chrome Auto-fill Gets in the Way of Contact Country Popup

Chrome seems eager to auto-fill my own address into the City, State, and Country fields in the "Contacted Station".  I can mostly ignore the city and state popups, but the one for country is kind of annoying, since the Chrome auto-fill popup is above Forester's own autocomplete list of countries.
Apparently it's difficult to tell Chrome not to auto-fill a field that looks like an address, but there are some hacks people have tried.  Accepting "USA" for "United States" might make this a little less annoying.

I usually have Chrome autofill disabled, but yeah, I see what you mean:

Made an attempt in dce083d42d730aa531a6b0fd100438067f64742f, only for the contacted station right now. See if that helps.

Setting autocomplete to an invalid value (I used dummy) seems to do the job, at least in Chrome.

Yeah, this looks like it's working on Chrome.

This trick does not appear to help in Safari, but it's a little less irritating there because Autofill does not kick in unless it matches a contact.


Create a Personal Finance Tracker

A command-line application that allows users to track their income, expenses, and savings goals. It could generate visualizations of spending patterns using libraries like Matplotlib or Seaborn.

@king04aman I can do this please assign this to me


Autoscaling

Autoscale worker droplets by adding / removing droplets based on metrics.

You could take advantage of this project: https://github.com/jsiebens/nomad-droplets-autoscaler


Reindex data from database

My es index was deleted by someone or something. I thought it was via api, because of open default port. I fixed it. Now i need to recover the data, which i had in my database. How can i reindex all models and create for them new rows in indice? Didn't find this methos in documentation.

Hi, you should try batch import from scout
Take a look at
https://laravel.com/docs/7.x/scout#batch-import


meson: generate sandstone_config.h

Transferred a lot of preprocessor logic checks into meson. Added setup options for a few macros.
When reviewing the meson files, you'll see the set10() method called. Easiest to read it as "set macro to 1 or 0".

Could you also have a look, @dawid-sabat ?

LGTM


Add more supported scummvm games (using stable and unstable releases)

Project Link
https://www.scummvm.org/
Project License
https://github.com/scummvm/scummvm/blob/master/COPYING
Steam App Ids
The list is too long, but it can fetched from here:
https://store.steampowered.com/curator/35667778-Powered-by-ScummVM/
Additionally, there are more games which are not listed here, such as Sanitarium or Crusader no remorse, which run in an recent nightly build.
Additional Context
There is a long list of supported games which are not yet integrated into luxtorpeda. The officially compatibility list from scummvm is here: https://www.scummvm.org/compatibility/
Additionally, there the unstable scummvm releases contains a good number of upcoming games which could use more testing (and hopefully bug requests).  However, if an engine to play some game was already included in some scummvm release, the stable version should be preferred.

@neuromancer Is there any need for special treatment for all of the supported games, when the default scummvm option can be used? If that works the majority of the time, it probably isn't needed to add support for each individual title and ones could be added for any title that has unique needs.
For unstable versions, it may make sense to have a untested version of scummvm available as another default, although that would turn into a moving target, which is why I normally try and wait until there's an official release. Along with "Sanitarium or Crusader no remorse", are there others that you're interested in that don't work in the last offocial reelease?

Is there any need for special treatment for all of the supported games, when the default scummvm option can be used? If that works the majority of the time, it probably isn't needed to add support for each individual title and ones could be added for any title that has unique needs.

I believe most of the games should work out of box, however, in some cases, games using dosbox are distributed with iso images that should be mounted in order to detect the game data. These are not going to work out of the box (all the needed files for each game are detailed in the scummvm wiki. For instance: https://wiki.scummvm.org/index.php?title=Bud_Tucker_in_Double_Trouble )

For unstable versions, it may make sense to have a untested version of scummvm available as another default, although that would turn into a moving target, which is why I normally try and wait until there's an official release. Along with "Sanitarium or Crusader no remorse", are there others that you're interested in that don't work in the last offocial reelease?

Yes, let me get back to you with a list of them. Very excited to see extended scummvm support!

@neuromancer  Interesting, I may be able to do another generic scummvm option for iso support, where it tries to mount or extract the files that are required. I've used xorriso with OpenLara in the past to extract an iso, so something similar could work here.
Do you have an example of a steam game with an iso like that?

Uhm, I cannot find a good example from the stable release (I know a few from GOG, but nothing that I own on Steam). However, I know that Wetlands requires to mount the ISO to detect it using scummvm (it's the hypno engine). This engine is not finished yet, but it will be in testing phase very soon (in a week or two), but I guess we are not in a rush to have the iso support for most of the games.
Btw "Crusader No Remorse" is not on Steam, but on GOG. Apologies for the confusion!

@neuromancer Could you update this ticket when Wetlands is ready for testing?

Sure, this should be out for testing in a week or two.

Wetlands is officially in testing. I can test the luxtorpeda package when it is available to see if it detects the game properly in steam.

@neuromancer
I've added the logic for iso support, so it'll extract it if it finds it, and then adds the path to scummvm. This is implemented for the "scummvm" option, which is the one that changes based on official scummvm releases. You can see that logic here: https://github.com/luxtorpeda-dev/packages/blob/master/engines/scummvm/assets/run-scummvm.sh
I've added a scummvm-latest, which uses the latest commit from git. That one will only be updated on request. You can pick on the default option either scummvm or scummvm-latest.
Wetlands has been added and tested, so if you have the game on Steam, it'll download scummvm-latest and launch automatically.
Let me know if you run into any issues.

A few comments:

Extracting the iso works fine, as the game is detected later, but there is no indication on screen, which can be confusing for users (it takes around 20 seconds here?)
Scummvm latest starts (well, sometimes), but always crashes when running the game. This was confirmed with Wetlands and Sanitarium. For instance:

User picked target 'asylum' (engine ID 'asylum', game ID 'asylum')...
   Looking for a plugin supporting this target... Sanitarium
munmap_chunk(): invalid pointer
./scum-latest/run-scummvm.sh: line 47: 12178 Aborted                 (core dumped) LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" ./bin/scummvm -c scummvm.ini --fullscreen --gfx-mode=opengl --themepath=./share/scummvm

Running the game directly outside steam, using the bin/scummvm works in ArchLinux, so it could be an issue with one linked library in the steam runtime.

Forcing the game to run with the sdl output fixes this crash. I think this mode is recommended, since the opengl one has known issues with dpi (fonts can be very small and the mouse pointers are not scaled properly)

@neuromancer
I've made a change, just for scummvm-latest for now, that sets sdlsurface as the default, if the scummvm.ini file does not exist: https://github.com/luxtorpeda-dev/packages/commit/6ab6df6815fe644632566884758246146cc3ff21
That should be live in about half an hour from this message. I wasn't able to replicate a crash with the normal default, but that may be due to different resolutions and scaling.
For the initial setup, that only happens once (launches after uses the already extracted data). There's certain things like the downloads that show a progress bar. I may be able to do something similar for setup items like this, where it shows a spinner until complete, but would need to do some more research into how that could be done.

Can you please update the unstable release to use the latest commit in master or at least the 2.6.0 RC branch? There are some number of Wetlands fixes there (as well as other games, of course). Also, what is the most effective way to ask for rebuilding this code?

@neuromancer
I've updated scummvm-latest to use the latest from branch-2-6 on github. It's done in this: https://github.com/luxtorpeda-dev/packages/pull/689
For future updates, the best option would be to comment in this issue if it's related to scummvm, or if there's some other engine that could use updates, feel free to create an issue about it.

I didn't know where else to put this but Sam and Max's hit the road uses ScummVM but doesn't work as is.
https://steamdb.info/app/355170/depots/
I think they have their ini file named samandmax.ini

@atomic1fire Thanks for the request, I got it working with this: scummvm - Add support for Sam & Max Hit the Road
It should be live in about half an hour, let me know if you have any issues.


Support attributes

Support attributes that can be used to tag types, fields, or other elements present in the DDL
Example (with placeholder syntax):
struct Foo @(zorg_npc) {
    bar: int @(item_id)
}

In this example the struct Foo is tagged with a zorg_npc attribute, and the field bar is tagged with item_id attribute, that can be used by the codegen tools, or other tools in the game's pipeline, to execute custom code based on this attribute.

I've been thinking more about this topic lately, and there is a detail I'm unsure about, and that is if attributes should be typed before usage, even if they're just primitive types.
Of course this is only an issue if #5 is also implemented.
Usually simple attribute systems will support either a tag, or a key=value, where the value is a primitive type.
If feature #5 goes ahead, it will probably work something like:
def attr TypedAttrib
{
    prop1: float,
    prop2: bool,
}

def struct SomeStruct
[
    TypedAttrib
    {
        prop1 = 1.0,
        prop2 = false
    }
]
{
  [...]
}

where typeless attributes would be used like:
def struct SomeOtherStruct
[
    prop3 = 10,
    prop4 = true
]
{
  [...]
}

This mix of key=value and, let's call it C#-like attributes for lack of better wording atm, doesn't look productive to me. Nor will it make the work easy when implementing the parser libraries that will have to expose both functionalities.
An alternative would be:
def struct SomeStruct
[
    main_prop = TypedAttrib
    {
        prop1 = 1.0,
        prop2 = false
    }
]
{
  [...]
}

but having a key for the typed attribute seems redundant to me, the intention of the attribute usually is encoded already in the type.
At the moment I'm unsure how to solve this, but seemed relevant enough to put it out there for consideration.

Any previously defined structure could be an attribute:
struct serialization::id {
    string id;
};

struct serialization::maxSize {
    unsigned maxSize;
};

struct Object [[serialization::id("object")]] {
    string type [[serialization::maxSize(32)]];
};

Just using any structure as attribute would probably be the simplest, but I'm wary of the impact on tooling.
Say you have a structure database, and some part of a workflow lets you create and edit any structure. The database would feed it all types, even if they were just created to be used as attributes.
Might not be an actual issue, but worth to consider.

Re. the syntax you've used, thats similar to tuple syntax. Think its worth implementing?
Or is it more in the way of C++ aggregate initialization, where it will initialize the fields per order?

The database would feed it all types, even if they were just created to be used as attributes.

I'd rather have attributes as structures and use them to drive the tooling, i.e.:
struct db::table {};
struct db::pk {};

struct Table [[db::table]] {};

struct Person : Table {
    long fiscalNumber [[db::pk]];
};

the syntax you've used, thats similar to tuple syntax

It's initialization by order of declaration. It's easy to allow key = value initialization in addition to that.

The database would feed it all types, even if they were just created to be used as attributes.

I'd rather have attributes as structures and use them to drive the tooling, i.e.:
struct db::table {};
struct db::pk {};

struct Table [[db::table]] {};

struct Person : Table {
    long fiscalNumber [[db::pk]];
};

Not arguing about the way we define the attributes. I agree we should just declare it the same way as structs.
My question is if we should somehow mark them as only usable as attributes? Or is that in the scope of the project using this?

Why limit them that way? I like to think people know what they're doing.

Because it’s more powerful to have tools that guide you into using things the right way, than having the burden of using it the right way just on the user. That’s why you have a myriad of linters and similar tools for all sorts of frameworks.
It can be configurable, but it’s in our scope to provide a common way to achieve this scenario, before everyone implements it their own way.


Remove the spinner thread after spinning has finished

Spinners may leave behind their spinner-threads making Kontena::Cli::Common#puts eat all the messages.
Normally this does not matter because usually the command exits and nobody notices. But when running through Kontena.run! or the way KOSH does it, the threads are left behind and prevent any further putsing.
As a sidenote, the selfmade spinner implementation is far from excellent and should probably be replaced with something like tty-spinner

Do we have an issue for kontena shell freezes without any output if a command fails? How to best to repro this for testing?

Looks like https://github.com/kontena/kontena-plugin-shell/issues/31, fixed in https://github.com/kontena/kontena-plugin-shell/pull/33 for each separate kontena ... command in the shell, but also broken for internal Kontena.run! commands that error out?


[Question] add localization data at runtime

Is there a way to add/update localization data at run time?
Let's say I have an api that periodically gets new content that needs to be localized. How can I update the data in app accordingly?
Will it work if I just overwrite the json files in the folders?

No, that's not possible, at least not with this plugin as it uses iOS and Android native API. The JSON files are actually useless at runtime, they're just used at compile time by the before-checkForChanges hook to build the localization files for Android and iOS.


Update tearsheet.py

Add save bool to start_trading function and include filename in call of plot_results such that png of tearsheet is saved.

Coverage remained the same at 57.143% when pulling f5b88753fe906a4d778e2d40cd444f2028de3660 on frankier234:patch-1 into dfa66932a882f38c5d172ee3d5e28871806f3ad1 on mhallsmoore:master.

Thanks for getting in touch.
We have added this functionality to QSTrader 0.2.6.
An optional filename string can be passed to the plot_results method in the TearsheetStatistics class. If passed, the tearsheet output will be saved to the filename.


vscode.openFolder command does not reuse window even using forceReuseWindow or forceNewWindow options

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

VS Code Version: 1.94.2
OS Version: macOS (but not OS specific I think)

It is not possible to open a folder with the built-in command vscode.openFolder and reuse the window. Even if there isn't anything open in the window (just one, totally empty, no folders/workspaces/editors/welcome), it closes the current window and creates a new one.
The vscode.openFolder built-in command documentation states that an options object could be supplied with the following options:

forceNewWindow: Whether to open the folder/workspace in a new window or the same. Defaults to opening in the same window.
forceReuseWindow: Whether to force opening the folder/workspace in the same window. Defaults to false.

Developing an simple extension and using any of the below statements ends up closing the window and opening a new one:
vscode.commands.executeCommand('vscode.openFolder', undefined);  // undefined to show folder picker, no options = Defaults to opening in the same window
vscode.commands.executeCommand('vscode.openFolder', undefined, { forceNewWindow: false } );
vscode.commands.executeCommand('vscode.openFolder', undefined, { forceReuseWindow: true } );
vscode.commands.executeCommand('vscode.openFolder', undefined, { forceNewWindow: false, forceReuseWindow: true } );

The implication of this window re-creation is that all extensions are reloaded.
Here is a short demo:
https://github.com/user-attachments/assets/030aa5fa-2b21-4c35-901a-0c38da561ec2
This happens even with for example the Git integration internal extension as shown in the below "Step to Reproduce".
Steps to Reproduce:

Open VS Code (only one window, totally empty, no folders, workspaces, editors, welcome).
In Explorer, hit button "Clone Repository".
Provide a local or remote GIT repository.
Select a destination folder for the cloned repository.
By default it will ask to Open (in the same window), Open in New Window or Cancel ... Select Open
Current window is closed, extensions deactivated, new window is created and extensions are re-started.

This is the code that handles this behavior on the Git extension:
https://github.com/microsoft/vscode/blob/759c92ba74b1d536bd1e023d6581812845334fc2/extensions/git/src/commands.ts#L899-L905
By the way, as part of the analysis I found out some undocumented options for vscode.openFolder:
https://github.com/microsoft/vscode/blob/759c92ba74b1d536bd1e023d6581812845334fc2/src/vs/workbench/browser/actions/workspaceCommands.ts#L156-L221

@chrmarti apologies to bother you, but I want to confirm if this seems to be a bug or expected behavior. Thanks in advance

It is not possible to open a folder without restarting extensions. The setting is about reusing the current window or opening a second one.
See https://github.com/microsoft/vscode/issues/69335


Support for checkpointing (shelve/unshelve)

Checkpointing was recently introduced in SVN 1.11: http://subversion.apache.org/docs/release-notes/1.11.html
TortoiseSVN has made it available through the context menu: https://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-shelving.html
It would be nice to have it in Visual Studio 😄

Shelve:
/command:shelve /pathfile:"C:\Users\SAMIR~1.BOU\AppData\Local\Temp\svn2221.tmp" /deletepathfile /hwnd:0000000000040468
Unshelve:
/command:unshelve /pathfile:"C:\Users\SAMIR~1.BOU\AppData\Local\Temp\svn2C7E.tmp" /deletepathfile /hwnd:0000000000040468

Thanks for the request!
Grab the new release!


Nowvideo problem with some streams

Some streams works fine like this:http://www.nowvideo.sx/video/c0fdbd803f1fe but others like this :http://www.nowvideo.sx/video/36b65b8c28de1 [ytdl_hook] ERROR: Unable to extract filekey; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update,Idont know why

Duplicate of #10414


Upgrade spanner-orm to work with google-cloud-spanner v2

CC @dgorelik
google-cloud-spanner v2 has some fairly significant breaking changes caused by moving some files around. It has a nice guide for upgrading from 1.x to 2.x which I followed to make this PR.
One thing that is ever so slightly bothering me is how we've been running this in prod with google-cloud-spanner 3.x. That really shouldn't work and I suspect we've somehow partially imported 1.x and 3.x I'm just not sure how. I'll feel a lot better about the whole situation when spanner-orm is designed to work with modern google-cloud-spanner instead.

Note: I couldn't get pytype to work for me locally. It looks like CI has the same problem. I'll probably need some help with that :)

Just realized you already reported this over in https://github.com/google/pytype/issues/1081 :) I guess my local setup is working then.


WIP plugins/indent-o-matic: init

Adds indent-o-matic will resolve: https://github.com/nix-community/nixvim/issues/1143

require('indent-o-matic').setup {
    -- Global settings (optional, used as fallback)
    max_lines = 2048,
    standard_widths = { 2, 4, 8 },

    -- Disable indent-o-matic for LISP files
    filetype_lisp = {
        max_lines = 0,
    },

    -- Only detect 4 spaces and tabs for Rust files
    filetype_rust = {
        standard_widths = { 4 },
    },

    -- Don't detect 8 spaces indentations inside files without a filetype
    filetype_ = {
        standard_widths = { 2, 4 },
    },
}

Anyone got any tips on how to handle the per filetype configs they have in this plugin?

You are not forced to create nix options for every upstream plugin option. You can simply add it to the example to show that it can be done. settings is a freeformType, this means that users can add arbitrary keys even if they are not defined in nix.

Right I think this is good to go now if you are happy with it.

@GaetanLepage @traxys any further tweaks required or is this good to go?


Map of states coloured according to number of cases is not much of a use.

Is your feature request related to a problem? Please describe.
The map on front page which show states in shades of red is not much informative. Delhi, Gujarat, Tamil Nadu etc are in lighter colour than Maharashtra. This gives perception of Nashik, Nagpur, Jalgaon etc to be more corona effected than cities like Delhi, Ahmedabad, Chennai etc.
Describe the solution you'd like

Colour it per District/City, or
Colour it per state on the basis of corona-cases/population-size

Describe alternatives you've considered
NA
Additional context

We do have a 'Per million' button which normalizes the map based on population. Also, do check out the 'Hotspots' button which shows the distribution based on districts

Wow. Figured out those button just now. Clearly this is a no-issue. Both the things are already there. Maybe we can improve discoverability by some other placement if needed.


Extend expression fuzzer to use PQR

Summary: This is a draft. Do not review now.
Differential Revision: D58683623

@kagamiori @kgpai : Could you give us an update about the status of the ExpressionFuzzer and this PR. We are keenly following it.

@kagamiori @kgpai : Could you give us an update about the status of the ExpressionFuzzer and this PR ? We are keenly following it.
@pramodsatya

Hi @aditi-pandit, sorry for the late reply. The support of PQR in expression fuzzer has already been merged. Here is the instructions about how to run it on Mac: https://github.com/facebookincubator/velox/issues/11354. Also, there are a few limitations with it (https://github.com/facebookincubator/velox/issues/10308#issuecomment-2394487561) that we're going to address.


[feature request] exp url, option to get public URL

Currently, exp url get's the local url, it would be great if there was an option to get the public one (e.g. exp url --public). I did a presentation using expo recently, and if I had had this feature, I could have published it and gave everyone in attendance a permanently accessible link. Same goes for group testing.

I agree this would be nice to have. In the meantime, you should see the URL you get when you run exp publish.

Yep, but no QR code.

feel free to send a PR for this! closing this issue as we're moving issues over to expo/expo


Line plot nicely handle empty data

Lots of variables in the microbiome are sparse, so it's easy to make plots with no data :)
Here's one:

Some plots have a nice banner that says "no plottable data for the selection". Probably appropriate here as well?

Still an issue for line plot. To reproduce, pick any two Species-level variables. Likely they will have no overlap.
The scatterplot looks nice in this case. Can we do the same for the line plot?

scatter example


Port of BTCPay server

BTCPay server allows merchants to accept cryptocurrencies without any intermediaries and is self hosted with plugins for popular CMS.
This should be ported for Zcoin as well for easier integration and less reliance on 3rd party services.
https://github.com/btcpayserver/btcpayserver
Looking for devs who are interested in assisting with this. Bounty available.

This is in progress now with @sproxet working on it.

Is this still available to work on?i dont see zcoin on btcpayserver when i checked on prs recently

Hi @akshaynexus I'll check with @sproxet!

any update?

Hi @akshaynexus We'll be happy to have you work on it. Contact me at my e-mail<EMAIL_ADDRESS>and we can discuss! Thank you!

Any update? There is any spec on that?

https://twitter.com/BtcpayServer/status/1160216400046297088?s=19

@thebevrishot is currently take a look to see how much works need to be done.

@thebevrishot to complete initial analysis during W42. So we can plan accordingly.

After take a look we can follow the document (https://github.com/btcpayserver/btcpayserver-doc/blob/master/Altcoins.md#how-can-i-add-an-altcoin-to-btcpayserver) all task we need to do can  be splited to.

Add Zcoin to NBitcoin lib. The document quite not clear much but from example we can take 1 - 2 weeks to implement and create a PR without support mint/spend functionality support.

https://github.com/dgarage/NBXplorer#how-to-add-support-to-my-altcoin
2. Add Zcoin to NBXplorer, this one is tool for track UTXOs. from the example this one is quite simple. but this one require NBitcoin to update version first. Following this https://www.nuget.org/packages/NBitcoin.Altcoins/1.0.5 the maintainer will release ever month. I think we can finish the implementable in a week then at the worst case we need 5 weeks for this.

Add Zcoin to btcpayserve I can't find a clear document for this but from example all we need to do is just add some configuration file. This should not take no more than one week to finish it. But we also need to wait NBXplorer too then we need at most 5 weeks for this too.

other tasks following docker image, docker compose and cryto definition. This step should be simple and can finish within a week.

The implement is quite simple if we don't need to support mint/spend functionality.  But we need to wait the dependency update, then I think we need at most 3 months to finish it.

This will probably has to wait until ZTM is complete or a new resource is available.

Opened a pr to add zcoin to nbitcoin.altcoins.
https://github.com/MetacoSA/NBitcoin/pull/754

There's an open proposal for this here: https://github.com/zcoinofficial/ccs-proposals/pull/2

@reubenyap do we still need to work on this?

@ultimaweapon Nope it's low priority there's a current ZCS item on this that is awaiting feedback.


Add env var for AICLK get_clock

Add env var to set value which is going to be retreived from get_clock function for Blackhole.
Lot of Blackhole chips used for testing at the moment are underclocked to 800MHz and ARC messages don't work at the moment so this is a problem when we want to actually read AICLK value. It is needed for testing Blackhole on Buda at the moment for Perf infrastructure

@joelsmithTT we need this for Buda, specifically Marko Bezulj needs it for Perf infra on Buda. He is waiting for permissions on UMD, he can comment here when this change is ok for him, and you can approve if you think this is ok. We are not aware of other use cases at the moment when this function is called but since it uses ARC probably we don't want to use it for Blackhole  anywhere at the moment

Add env var to set value which is going to be retreived from get_clock function for Blackhole.
Lot of Blackhole chips used for testing at the moment are underclocked to 800MHz and ARC messages don't work at the moment so this is a problem when we want to actually read AICLK value. It is needed for testing Blackhole on Buda at the moment for Perf infrastructure

Thanks for making this change @pjanevskiTT !


🐞 - Editing links in the Editor component doesn't work for Safari 17.1 (186<IP_ADDRESS>.9, 18616)

Playground Link
https://taiga-family.github.io/tui-editor/starter-kit
Description
Description
Preconditions:
Insert two links into Editor
Problem 1
Click on first link - menu with edit/remove buttons appears
Click "Edit"
Set cursor into the link field
Move cursor to the end of link
Result:
I cannot see the end of link
Problem 2 and 3
Click on first link - menu with edit/remove buttons appears
Click "Edit"
Change the link
Click "Apply"
Click "Edit"
Result:
The link didn't changed
Then
Click on the second link
Click "Edit"
Result:
menu with edit/remove buttons doesn't appear
WA: If make some changes into the Editor - add the line, then menu buttons appear if click on the link
Also editing and removing links in the Editor doesn't work for Safari 16.6 (186<IP_ADDRESS>.2)
https://github.com/taiga-family/tui-editor/assets/152492774/65244e17-7ec8-4ab9-851a-505c6e327377
In Chrome it's OK
Discussion: https://time.tinkoff.ru/tinkoff/pl/kn9j41nqptfgzy5bj3inr94tkh
Angular version
15.2.0
Taiga UI version
3.38.0
Which browsers have you used?

[X] Chrome
[ ] Firefox
[X] Safari
[ ] Edge

Which operating systems have you used?

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

Hi. I've checked this fix here https://taiga-ui.tcsbank.ru/components/editor
The problem is still being reproduced.
Safari Версия 17.1 (186<IP_ADDRESS>.9, 18616)
https://github.com/taiga-family/tui-editor/assets/152492774/37d737f3-b6f1-4f7b-9b1b-2abe7aec7b32

https://github.com/taiga-family/tui-editor/assets/12021443/8ada4436-bfed-46ae-8130-090c39ccd709

Yes. It's OK for version 17.0. But this is reproducible in version 17.1

fixed


run the package on Noetic

Hi @a-taniguchi sensei.
i am interested in your research, is it possible to run this package in ROS Noetic?

I haven't verified it, but I think it would work.
ROS is used to get the cost map.


fix: pre-commit in workflows need to compare against origin/HEAD

Currently the pre-commit checks are not picking up problems, because it is skipping all checks in CI

As @Techassi found in the docs: https://pre-commit.com/#usage-in-continuous-integration, it needs to be run with extra options:
pre-commit run --from-ref origin/HEAD --to-ref HEAD

Similar changes would need to be made in other repositories such as:

docker-images
stackable-cockpit
...


Fix false positive errors in gdshaderinc files

Fixes #89479
These language features are wrongly detected as not supported when used in gdshaderinc files:

instance uniforms
hint_normal_roughness_texture
hint_depth_texture

These types of error should only occur when the shader type is not spatial and not a gdshaderinc file.
Here is the project I used to test this PR: test_project.zip
There is one scene per feature in their own folder + 1 canvas item shader for non regression tests.
As expected:

When a spatial shader use one of these language feature, no error is raised in the spatial shader nor the gdshaderinc file it includes.
An error is raised in the canvas item shader with or without including a gdshaderinc file.

Tested with the MRP, this seems to work well, including when using those gdshaderinc files in canvas_item shaders.

Thanks! And congrats for your first merged Godot contribution :tada:


error in extract-css example

Steps:

git clone this repo
npm i && npm run build inside root folder
npm i && npm run build inside examples/extract-css folder
cd public && http-server -a localhost -p 3001
go to localhost:3001
open console

PR: https://github.com/iansinnott/react-static-webpack-plugin/pull/41

Thanks for the PR!


Fix Travis CI builds to run both JDK8 and 11 correctly

Travis builds were previously failing for JDK8 because oraclejdk8 installation is not supported on Travis' default Xenial distribution; this switches them to openjdk which works correctly.

Switched the PR to openjdk now, thanks @Apoorva-GA


Add one more assignee to the security issue template

Is your support request related to a problem? Please describe.
Request from @BANANAS1337
We want to have two assignees in the security issue template
Additional context
Link: https://github.com/eclipse-tractusx/sig-infra/issues/new?assignees=the-tatanka&labels=security&template=security-support-request.md&title=

Hi @BANANAS1337,
should be possible, could you tell me the assignee UserID?

Please take myself

#17 @BANANAS1337  will removed form issue templates


Update GFF file with UniProt identifiers

<!--
# ebi-metagenomics/mettannotator pull request

Script to run blast on two protein files, and match UniProt identifiers to new annotation. The script will|:

Run blast with specific settings
Extract results (which creates a link between Uniprot and new IDs)
Insert new IDs into GFF file

Added to wrong branch.


fix links that end with a dash

This fixes URLs that end with dashes, but it doesn't render an embed for YouTube clips like the one posted here https://snort.social/e/note1qftjaj66tyu2ppsq62tscld96pll5agjczzjw4qy8l4enrjn968s4wjwgx. Does YouTube have embeds for YouTube clips?

Some links for testing:
URL that ends with dash - https://fix-links-that-end-in-dash.snort-social.pages.dev/e/note1qftjaj66tyu2ppsq62tscld96pll5agjczzjw4qy8l4enrjn968s4wjwgx
URLs in parenthesis - https://fix-links-that-end-in-dash.snort-social.pages.dev/e/note1phqc0hu77psunm49fdwjfdnwmmm9pzu9tq52wrkue7gceht9cfpqmajhs3
URLs at the end of a sentence - https://fix-links-in-parentheses.snort-social.pages.dev/e/note1as9axphvvkhzagx62p5qgdh6jqq93d5f3pdueqpdwkf77y7ylqts8tuue2

Converting this to draft. There seems to be a problem with the regex on some browsers.

Actually, going to close this and make a new PR because the links that end with a dash are not broken anymore. We're back to the problem of fixing the URLs in parens or are at the end of a sentence.


✨Highlight new integrations directory

I'd recommend using Spirit classes whenever it's possible even if you have to mix it with custom classes - this helps us in the process of moving completely to Spirit. For example .item-id contains a lot of definitions that already exist in Spirit:
<a class="id-item"...
...could be
 flex
justify-content: center;    => justify-center
align-items: center;        => items-center
margin-top: 4px;            => mt1

@peterzimon I started with that - but quickly removed it because it feels like a really terrible idea to mix both spirit and non-spirit styles on a single element - it needs to be one or the other to be reasonably maintainable. I think that needs to be part of a larger discussion for future

I think both approaches have pros and cons. Let's leave it like this for now and discuss how we handle this in the future separately.

👍 I’ll merge as-is for now then


[BLAS] Wrong namespace usage in BLAS Documentation

Summary
Hi All,
As I get started with oneMKL, I am trying to get a minimal GEMM example up and running, following the [Dense Linear Algebra] link under Developer Reference section in the README.
However, I suppose there is an non-existent namespace being mentioned in the GEMM Docs.
In the above page, the transpose enum seems to be mentioned under the onemkl namespace, but I suppose it is actually under the oneapi::mkl namespace ?
Even the GEMM tests seem to use the same.
I can see the usage of the onemkl namespace throughout the BLAS documentation, Level 1,2 and 3.
Am I correct in my understanding that it is a non-updated documentation or am I possibly missing some include which essentially declares the onemkl namespace ?
Thanks

It looks to me like you're right in that the specification has errors.
The transpose should be in the omeapi::mkl namespace as documented here:

oneMKL BLAS and LAPACK for Data Parallel C++ (DPC++) introduces several new enumeration data types, which are type-safe versions of the traditional Fortran characters in BLAS and LAPACK. They are declared in types.hpp, which is included automatically when you include mkl.hpp. Like all oneMKL DPC++ functionality, they belong to the namespace oneapi::mkl.

However, I think this is a specification issue, not a oneMKL interface library issue. It might be better to open an issue here.

Thanks for the quick response !
So from what I understand, it's both a spec as well as a documentation issue correct, and a similar Issue must be raised on the oneapi-spec Repo as well ?

It looks like this already has an issue for the oneAPI spec https://github.com/uxlfoundation/oneAPI-spec/issues/534 and a PR https://github.com/uxlfoundation/oneAPI-spec/pull/535.

@mmeterel, @andrewtbarker we think it makes more sense to direct users to the oneAPI/oneMKL specification instead of duplicating the documentation here. I think the solution to this is to:

delete the BLAS domain documentation in this repo.
Replace with a link the the oneAPI/oneMKL specification.

What do you think?

@hjabird I tend to agree with you. The only concern I have is that the implementation here might not be perfectly in line with the oneAPI specification at all times, and ideally we would have a way to document discrepancies, but I agree that maintaining two sets of docs does not really make sense.


🐛 [Paperless] Leftover add-on Images

Which addon?

Addon name : Paperless
Addon version : All?

Describe the bug
When paperless updates, the previous images seem to stick around. With the addon image being 1.3 GB, this takes up quite a bit of space rather quickly.
To Reproduce
Just update Paperless, then check portainer.

Hi, that's due to a bug in supervisor that's I've reported since January... Once this bug is solved I'll be able to migrate my addons to image based and avoid this... https://github.com/home-assistant/supervisor/issues/3414

To be clearer, the way to avoid this docker bug is to avoid building locally the addons. However, the supervisor in HA bugs when an addon is updated from a locally build to a remote build image. This would lead to a loss of all data in /data, and the need for each individual user to remove and readd the addon and remake all its configuration. I prefer to wait for the debs to solve their big but they don't seem interested. If you know any python you are welcome to have a look at the bug report that I've linked!

My first thought it to have two different versions, one that is remote built, and another that is locally built. But I understand that becomes a problem farther down the road.
My main issue with the way things currently are, is that it requires users to pay enough attention to notice the loss of storage space, portainer installed, and enough knowledge of docker to understand how to handle it themselves.
I suppose there isn't a good solution for the current situation.

The only sensible way would be for the devs to solve the supervisor bug, we need to find a way to reach them and that they understand the impact


Unable to start without AWS definitons

What we're trying to do, is spin up Tapir in an Azure Kubernetes Service, with local configurations for the backend. We're using the Helm chart deployment, with the full config value is below.
What we've tried:

Under the backend: configuration, we've set type: equal to "". It is my understanding that we should be able to deploy tapir, using local storage only.

However, if we cannot use local storage for the backend, and we do indeed need a database backend, we'd like to use CosmosDB. Whats not clear is what type of CosmosDB account is needed? MongoDB, SQL?

We set the storage: configuration to local. However, the odd AWS region error still presents itself.

Note: Ignore the IdP error for now. We'll be adding that in later. Trying to sort out the AWS related issue right now.
Full config.yml
## Tapir configuration
## Ref: https://github.com/PacoVK/tapir
##

# -- Provide a name in place of `tapir`
nameOverride: ""
# -- String to fully override `"tapir.fullname`
fullnameOverride: ""
# -- Create roles for cluster-wide installation
createClusterRoles: true

## Deployment
deployment:
  # -- Default image used by `tapir` deployment
  image:
    # -- Repository to use for tapir
    repository: "pacovk/tapir"
    # -- Tag to use for tapir
    tag: ""
    # -- Image pull policy for tapi
    imagePullPolicy: Always

  # -- Annotations to be added to `tapir` deployment
  annotations: {}

  # -- Labels to be added to `tapir` deployment
  labels: {}

  # -- Deployment strategy for the deployment
  strategy: {}
    # type: RollingUpdate
    # rollingUpdate:
    #   maxSurge: 25%
    #   maxUnavailable: 25%

  # -- The number of application pods to run
  ## Doesn't apply if autoscaling.enabled is set to true
  replicas: 1

  # -- Number of old deployment ReplicaSets to retain. The rest will be garbage collected.
  revisionHistoryLimit: 3

  # -- Secrets with credentials to pull images from a private registry
  imagePullSecrets: []

  # -- Annotations to be added to all deployed pods
  podAnnotations: {}

  # -- Labels  to be added to all deployed pods
  podLabels: {}

  # -- Additional entries that will be injected in the pod's /etc/hosts file
  hostAliases: []

  # -- Pod level security context
  securityContext: {}
    # runAsNonRoot: true
    # runAsUser: 185

  # -- Priority class for the tapir pods
  priorityClassName: ""

  # -- terminationGracePeriodSeconds for container lifecycle hook
  terminationGracePeriodSeconds: 30

  # -- Environment variables to pass to the `tapir` pods, other than ones defined in deployment.configuration object
  extraEnv: {}

  # -- envFrom to pass to the `tapir` pods
  envFrom: {}

  # -- Tapir container port
  containerPort: 8080

  # -- Readiness and liveness probes for `tapir`
  ## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
  livenessProbe: {}
  readinessProbe: {}

  # -- Resource limits and requests for the `tapir`` pods
  resources: {}
  #  limits:
  #    cpu: 500m
  #    memory: 1Gi
  #  requests:
  #    cpu: 500m
  #    memory: 1Gi

  # -- Container level security context
  containerSecurityContext: {}
    # runAsNonRoot: true
    # readOnlyRootFilesystem: true
    # allowPrivilegeEscalation: false
    # capabilities:
    #   drop:
    #   - ALL

  # -- Specify postStart and preStop lifecycle hooks for your `tapir` container
  lifecycle: {}

  # -- Assign custom affinity rules to the deployment
  ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
  affinity: {}

  # -- [Node selector]
  nodeSelector: {}

  # -- [Tolerations]
  tolerations: []

  # -- Assign custom topologySpreadConstraints rules to the `tapir` pods
  ## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
  topologySpreadConstraints: []

  # -- Host network for `tapir` pods
  hostNetwork: false

  # -- [DNS configuration]
  dnsConfig: {}
  # -- Alternative DNS policy
  dnsPolicy: "ClusterFirst"

  # -- Deployment's configuration, populates all the required environmental variables
  ## Ref: https://github.com/PacoVK/tapir/blob/main/docs/configuration.md
  configuration:
    # -- Database backend configuration
    backend:
      # -- One of: elasticsearch,dynamodb,cosmosdb
      type: ""

      # -- Elasticsearch backend configuration
      ## Applies if backend.type is equal to "elasticsearch"
      elasticsearch:
        # -- Elasticsearch host
        host: ""

      # -- CosmosDB backend configuration
      ## Applies if backend.type is equal to "cosmosdb"
      cosmosDB:
        # -- CosmosDB endpoint
        endpoint: ""
        # -- CosmosDB master key
        masterKey: ""

    # -- Storage configuration
    storage:
      # -- One of: "s3,azureBlob,local"
      type: "s3"
      # -- Amount of minutes the signed download url is valid
      storageAccessDuration: 5

      # -- S3 storage configuration
      ## Applies if storage.type is equal to "s3"
      s3:
        # -- S3 bucket name
        bucketName: "tf-registry"
        # -- S3 bucket region
        bucketRegion: "eu-central-1"

      # -- Azure Blob storage configuration
      ## Applies if storage.type is equal to "azureBlob"
      azureBlob:
        # -- Azure Blob bucket name
        bucketName: "tf-registry"
        # -- Azure Blob connection string
        connectionString: ""

      # -- Tapir's local storage configuration
      ## Applies if storage.type is equal to "local"
      localRegistry:
        # -- Tapir's DNS record
        hostname: localhost
        # -- Tapir's external port
        port: 443

    # -- The maximum payload size for module/providers to be uploaded
    apiMaxBodySize: 100M

    # -- GPG configuration
    gpg:
      # -- GPG key ID of the key to be used (eg. D17C807B4156558133A1FB843C7461473EB779BD)
      keyID: ""
      # -- Ascii armored and bas64 encoded GPG public key (only RSA/DSA supported)
      keyArmor: ""

    # -- OpenID Connect (OIDC) configuration
    auth:
      # -- The base URL of the OIDC server
      endpoint: ""
      # -- Client ID
      clientID: ""
      # -- Client secret if required by client
      clientSecret: ""
      # -- Relative path or absolute URL of the OIDC token endpoint which issues access and refresh tokens
      tokenPath: ""
      # -- Relative path or absolute URL of the OIDC authorization endpoint
      path: ""
      # -- The source of the role claim in the access token
      roleSource: "accesstoken"
      # -- OIDC attribute names
      attribute:
        # -- The attribute name in the token where the email is placed in
        email: "email"
        # -- The attribute name in the token where the given name is placed in
        givenName: "given_name"
        # -- The attribute name in the token where the family name is placed in
        familyName: "family_name"
        # -- The attribute name in the token where the preferred username is placed in
        prefUsername: "preferred_username"
      # -- IDP end session path, which will be used to logout
      endSessionPath: "/protocol/openid-connect/logout"

## Persistence configuration for `local` storage
## If `local` storage is configured and persistence is not enabled
## then emptyDir is used as a volume to enable readOnlyFilesystem security context
persistence:
  # -- Create a persistent volume claim for `tapir` deployment
  enabled: true
  # -- Use existing persistent volume claim instead of creating a new one
  existingClaim: ""
  # -- Resource policy annotation, if set to keep it adds annotation `helm.sh/resource-policy: keep`
  resourcePolicy: ""
  # -- Set access mode for the persistent volume claim
  ## Ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
  accessMode: "ReadWriteOnce"
  # -- Set requests.storage value
  size: "10Gi"
  # Specify the `storageClass` used to provision the volume.
  # If not specified the default StorageClass will be used.
  # Set to "-" to disable dynamic provisioning
  storageClass: "managed-premium"
  # -- Annotations applied to created persistent volume claim
  annotations: {}
  # -- Labels applied to created persistent volume claim
  labels: {}

## Service Account
serviceAccount:
  # -- Create a service account for `tapir` deployment
  create: true
  # -- Service account name
  name: "tapir"
  # -- Annotations applied to created service account
  annotations: {}
  # -- Labels applied to created service account
  labels: {}
  # -- Automount API credentials for the service account
  automountServiceAccountToken: false

## Horizontal Pod Autoscaler
autoscaling:
  # -- Enable Horizontal Pod Autoscaler ([HPA]) for the `tapir` deployment
  enabled: false
  # -- Minimum number of replicas for the `tapir` deployment [HPA]
  minReplicas: 1
  # -- Maximum number of replicas for the `tapir` deployment [HPA]
  maxReplicas: 1
  # -- Average CPU utilization percentage for the `tapir` deployment [HPA]
  targetCPUUtilizationPercentage: ""
  # -- Average memory utilization percentage for the `tapir` deployment [HPA]
  targetMemoryUtilizationPercentage: ""
  # -- Configures scaling behavior of the target in both Up and Down directions
  behavior: {}
    # scaleDown:
    #  stabilizationWindowSeconds: 300
    #  policies:
    #   - type: Pods
    #     value: 1
    #     periodSeconds: 180
    # scaleUp:
    #   stabilizationWindowSeconds: 300
    #   policies:
    #   - type: Pods
    #     value: 2
    #     periodSeconds: 60
  # -- Configures custom HPA metrics for the `tapir` deployment
  # Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
  metrics: {}

## Service configuration
service:
  # -- Service annotations
  annotations: {}
  # -- Service labels
  labels: {}
  # -- Service type
  type: ClusterIP
  # -- Service https port
  portHttps: 443
  # -- Service https port for NodePort service type (only if `service.type` is set to "NodePort")
  nodePortHttps: 30443
  # -- LoadBalancer will be created with the IP specified in this field
  loadBalancerIP: ""
  # -- Source IP ranges to allow access to service from
  loadBalancerSourceRanges: []
  # -- Service external IPs
  externalIPs: []
  # -- Denotes if the service desires to route external traffic to node-local or cluster-wide endpoints
  externalTrafficPolicy: ""
  # -- Used to maintain session affinity. Supports `ClientIP` and `None`
  sessionAffinity: ""

## Ingress configuration
ingress:
  # -- Enable an ingress resource for the `tapir` registry
  enabled: false
  # -- Additional ingress annotations
  annotations: {}
  # -- Additional ingress labels
  labels: {}
  # -- Defines which ingress controller will implement the resource
  ingressClassName: "kong"

  # -- List of ingress hosts
  ## Hostnames must be enabled if Ingress is enabled
  ## TLS secrets must be manually created in the namespace or created using Certificate resource
  hosts:
    - tapir.dev.eap.ihc.com

  # -- List of ingress paths
  paths:
    - /
  # -- Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific`
  pathType: ImplementationSpecific
  # -- Additional ingress paths
  extraPaths: []
    #- path: /test
    #    pathType: Prefix
    #    backend:
    #      service:
    #        name: tapir
    #        port:
    #          name: https

  # -- Ingress TLS configuration
  tls: []
    # - secretName: tapir-tls
    #   hosts:
    #     - tapir.example.com

## TLS certificate configuration via cert-manager
## Ref: https://cert-manager.io/docs/usage/certificate/
certificate:
  # -- Deploy a Certificate resource (requires cert-manager)
  enabled: false
  # -- The name of the Secret that will be created and managed by this Certificate resource
  secretName: "tapir-tls"
  # -- Certificate primary domain (CommonName)
  domain: "tapir.example.com"
  # -- Certificate Subject Alternate Names (SANs)
  additionalHosts: []
  # -- The requested 'duration' (i.e. lifetime) of the certificate.
  # @default -- `""` (defaults to 2160h = 90d if not specified)
  ## Ref: https://cert-manager.io/docs/usage/certificate/#renewal
  duration: ""
  # -- How long before the expiry a certificate should be renewed.
  # @default -- `""` (defaults to 360h = 15d if not specified)
  ## Ref: https://cert-manager.io/docs/usage/certificate/#renewal
  renewBefore: ""
  ## Ref: https://cert-manager.io/docs/concepts/issuer
  issuer:
    # -- Certificate issuer group. Set if using an external issuer.
    group: ""
    # -- Certificate issuer kind. Either `Issuer` or `ClusterIssuer`
    kind: ""
    # -- Certificate issuer name. Eg. `letsencrypt`
    name: ""
  # -- Private key of the certificate
  privateKey:
    # -- Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always`
    rotationPolicy: Never
    # -- The private key cryptography standards (PKCS) encoding for private key. Either: `PCKS1` or `PKCS8`
    encoding: PKCS1
    # -- Algorithm used to generate certificate private key. One of: `RSA`, `Ed25519` or `ECDSA`
    algorithm: RSA
    # -- Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored.
    size: 2048
  # -- Annotations to be applied to the `tapir` Certificate
  annotations: {}
  # -- Usages for the certificate
  ### Ref: https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.KeyUsage
  usages: []

## Pod Distruption Budget
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
pdb:
  # -- Deploy a [PodDistruptionBudget] for the `tapir` deployment
  enabled: false
  # - Labels to be added to `tapir` pdb
  labels: {}
  # -- Annotations to be added to `tapir` pdb
  annotations: {}
  # -- Number of pods that are available after eviction as number or percentage (eg.: 50%)
  # @default -- `""` (defaults to 0 if not specified)
  minAvailable: ""
  # -- Number of pods that are unavailable after eviction as number or percentage (eg.: 50%).
  ## Has higher precedence over `repoServer.pdb.minAvailable`
  maxUnavailable: ""

Error encountered:
2024-04-22 20:16:41,748 WARN  [io.qua.oid.run.OidcRecorder] (vert.x-eventloop-thread-1) OIDC server is not available at the '
[http://localhost:8089/realms/tapir'](http://localhost:8089/realms/tapir%27)
URL. Please make sure it is correct. Note it has to end with a realm value if you work with Keycloak, for example: '
[https://localhost:8180/auth/realms/quarkus'](https://localhost:8180/auth/realms/quarkus%27)
2024-04-22 20:16:41,748 WARN  [io.qua.oid.run.OidcRecorder] (vert.x-eventloop-thread-1) Tenant 'Default': 'OIDC Server is not available'. OIDC server is not available yet, an attempt to connect will be made during the first request. Access to resources protected by this tenant may fail if OIDC server will not become available
2024-04-22 20:16:41,926 INFO  [io.quarkus] (main) tapir 0.6.3 on JVM (powered by Quarkus 3.6.4) started in 1.554s. Listening on:
http://<IP_ADDRESS>:8080/
2024-04-22 20:16:41,927 INFO  [io.quarkus] (main) Profile prod activated.
2024-04-22 20:16:41,927 INFO  [io.quarkus] (main) Installed features: [amazon-dynamodb, amazon-s3, amazon-sts, cdi, config-yaml, elasticsearch-rest-client, hibernate-validator, oidc, quinoa, resteasy-reactive, resteasy-reactive-jackson, security, smallrye-context-propagation, smallrye-openapi, vertx]
2024-04-22 20:16:41,931 INFO  [cor.Bootstrap] (main) Validate GPG key configuration provided
2024-04-22 20:16:41,933 INFO  [cor.Bootstrap] (main) Start to bootstrap registry database [dynamodb]
2024-04-22 20:16:42,059 WARN  [sof.ama.aws.reg.int.uti.EC2MetadataUtils] (main) Unable to retrieve the requested metadata.
2024-04-22 20:16:42,060 ERROR [io.qua.run.Application] (main) Failed to start application (with profile [prod]): software.amazon.awssdk.core.exception.SdkClientException: Unable to load region from any of the providers in the chain software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain@6f930e0: [software.amazon.awssdk.regions.providers.SystemSettingsRegionProvider@4b41587d: Unable to load region from system settings. Region must be specified either via environment variable (AWS_REGION) or  system property (aws.region)., software.amazon.awssdk.regions.providers.AwsProfileRegionProvider@697a0948: No region provided in profile: default, software.amazon.awssdk.regions.providers.InstanceProfileRegionProvider@c412556: Unable to retrieve region information from EC2 Metadata service. Please make sure the application is running on EC2.]
	at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:111)
	at software.amazon.awssdk.regions.providers.AwsRegionProviderChain.getRegion(AwsRegionProviderChain.java:70)

@tim-chaffin thanks for raising this issue.
I think there is one thing to explain here:

backend === used for configuration and metadata persistence (this is used to provide all search-capabilities, data persistence,...)
storage === actual storage kind to use for artifact storage

It is not possible to use local storage for backend. Valid options are one of elasticsearch,dynamodb,cosmosdb.
CosmosDB uses SQL-dialect.
Thanks for the hint, i think this should be part of the docs.
In your case set configuration.backend.type = cosmosdb and also bear in mind to set configuration.backend.cosmosDB.endpoint and configuration.backend.cosmosDB.masterKey

Thank you for helping, and clarifying these points. This helps significantly.
I'd be happy to help write this up? If you have a branch you'd like me to contribute to? Or I can fork and PR?
Additionally where would you like all of this documented specifically?

You are welcome :) Help would be really appreciated. For now the docs are still in the main repo
If you would contribute best way to achieve that is to fork and create a PR against the upstream.

PR for review: https://github.com/PacoVK/tapir/pull/396


pocketBook, a personal online library

List books:
Make a list of books I wish I had reviewed
Domains:
CoCoSci: Tennenbaum, Kanwisher, Jung, Piaget, Minsky,
AI: Winston,
Econ
Fin
Math: Devlin (YouTube Lectures), Strang, Ramsey, VonNeuman/Morgenstern, P. Young.

Invest time

Think about texts that I use often.
I have great android App, where I can find quotes.


🐛 : sh: 1: react-scripts: not found while running npm start in client directory.

npm start :
(base) hemang@hemang-HP-Pavilion-g6-Notebook-PC:~/Documents/GitHub/toofake/client$ npm start

><EMAIL_ADDRESS>start
> react-scripts start

sh: 1: react-scripts: not found

python ./api.py :
(base) hemang@hemang-HP-Pavilion-g6-Notebook-PC:~/Documents/GitHub/toofake/server$ python ./api.py
 * Serving Flask app 'api'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://<IP_ADDRESS>:5100
Press CTRL+C to quit
 * Restarting with watchdog (inotify)
 * Debugger is active!
 * Debugger PIN: 299-909-318

did you run npm install in the client directory?

did you run npm install in the client directory?

Thank you. I didnt run it. Now it is working fine.


[Question]: SbbExpansionPanel remove animation when expanded is set to true

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

It affects the following packages
Components
Your Question
Is there a way to remove the animation when expanded is set to true
Give us a summary about your question
1.Description of the problem
When we set the SbbExpansionPanel with expanded to true, there is this ugly animation.
2.When did it happen?
Developing with Lyne Components in our Web Application (Business-Context)
3.Which system/cluster is affected?
Lyne Components (elements / sbb-accordion / sbb-expansion-panel - Docs ⋅ Storybook)
Provide as much useful information as you can
We could of course remove the animation with: --sbb-expansion-panel-animation-duration: 0ms !important; But then the closure of the panel was wrong

Hi @lukashofer2 Thank you for the question. Are you using changing the "expanded" property during run time programmatically or only initially? Because initially it shouldn't present any animation.

Thank you. Could you provide a stackblitz example? At least in our storybook it's not reproducible: https://lyne-storybook.app.sbb.ch/?path=/story/elements-sbb-accordion-sbb-expansion-panel--expanded-icon


scaled to big

Hi i tried your new version v3.0.0-pre2.
now every thing is scaled way to big, like 4 time as big as normal.
the older version had the right scaling
but it sure looks good, keep up the good work :)

What is your screen resolution ?

3840 x 2160

It's very strange, people with this resolution complained on the old version because it was too small, so i made it bigger on >2000px screens. ( #18 )
Lightdm may have fixed it by themself, or my fix is working "too much", i'll try to figure it out

Hi,
i haven't had the time yet to test your workaround, it also not that big a problem, everything works (but bigger) :)
But it does seem to be that thats excactly the case, with these lines its scaled up again :)
now thats not an easy fix i think, because not all people are running latest versions like on arch linux.
so you might want to set it as an option in the settings screen?
just an idea

Good Idea, i'll try


Set database config '@MinDuration' to 1 millisecond

Fixes #2130, more info in #2167.
This actually makes it to be >= 1 of any TimeUnit (the unit specified in the annotation is irrelevant when the value is 0), I just set them to milliseconds to be clearer that it can be a low value.

Coverage remained the same at 87.174% when pulling 302b40aa33e956cecff7e14ef57d9cbe84da71cc on FredDeschenes:issue-2130 into d674b0c00f6f56226ad7ec47e41823f6d6c7320f on dropwizard:master.

Coverage remained the same at 87.174% when pulling 635ab2d1e635b6a9416ff930c199bac7482a222a on FredDeschenes:issue-2130 into d674b0c00f6f56226ad7ec47e41823f6d6c7320f on dropwizard:master.

Coverage remained the same at 87.174% when pulling 635ab2d1e635b6a9416ff930c199bac7482a222a on FredDeschenes:issue-2130 into d674b0c00f6f56226ad7ec47e41823f6d6c7320f on dropwizard:master.


Expose Fluo MetricsReporter in Exporter

It would be nice to be able to report metrics from Exporters.  The MetricsReporter should also be exposed to AccumuloExporter.

Closing this after talking to @keith-turner offline.  For implemenations of Exporter,  the observer context can be retrieved from the init() method.  For implementations of AccumuloExporter, the init() method can also be overridden to get observer context if super.init(context) is called.


v2.0.0.rc1 Doesn't support specifying baud-rate?

Previously this was possible, espflash --monitor blinky --speed 920000 but now, it only allows a single command?
Please clarify, thanks!

The option changed to
-b, --baud <BAUD>

Trying -h does not show any of the options though. Only the Command listing?

Flashing is now under a subcommand, and as mentioned --speed is now --baud (to be more in line with esptool.
Running espflash --help will display the subcommands, running espflash flash --help will show the options for the flash subcommand. This is how clap works.

Thanks @jessebraham

not being able to see all the options is very confusing at first and very inconvenient then. in this particular "feature" the new version to me is a regression, clap or not.


CrystalClear not working BT 1.3.1, RT 996 P1

Ohai gnivler, your lovely cristal clear is no longer working with the new BT patch :(

Thanks for reporting the issue.  It's apparently working for me with 1.3.1 and CCC.  Have you tried it with a reduced mod configuration?  I'd be interested to know if it's specific to RT somehow.  Are you getting any exceptions in output_log.txt?


[BUG] CIS Benchmark App - TLS Issue

Rancher Server Setup

Rancher version: 2.7.1
Installation option (Docker install/Helm Chart): Docker

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details: N/A

Information about the Cluster

Kubernetes version: v1.24.9+rke2r2 and v1.24.9-rancher1-1
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Custom

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) Admin

If custom, define the set of permissions:

Describe the bug

After applying some hardening to the RKE1 or RKE2 cluster, the cluster is working fine; however, the CIS Benchmark App is failing us with this error:
Calculated Rancher Kubernetes Version: v1.24.9+rke2r2
Wed, Feb 15 2023 4:52:18 pm | + [[ -f /etc/kbs/notapplicable/config.json ]]
Wed, Feb 15 2023 4:52:18 pm | + [[ -f /etc/kbs/defaultskip/config.json ]]
Wed, Feb 15 2023 4:52:18 pm | + [[ -f /etc/kbs/userskip/config.json ]]
Wed, Feb 15 2023 4:52:18 pm | + [[ rke2-cis-1.23-permissive != '' ]]
Wed, Feb 15 2023 4:52:18 pm | + echo 'using OVERRIDE_BENCHMARK_VERSION: rke2-cis-1.23-permissive'
Wed, Feb 15 2023 4:52:18 pm | + kb-summarizer --benchmark-version rke2-cis-1.23-permissive --controls-dir /etc/kube-bench/cfg --input-dir /tmp/kb-summarizer/input/plugins/rancher-kube-bench/results --output-dir /tmp/kb-summarizer/output --output-filename output.json
Wed, Feb 15 2023 4:52:18 pm | using OVERRIDE_BENCHMARK_VERSION: rke2-cis-1.23-permissive
Wed, Feb 15 2023 4:52:18 pm | + kubectl -n cis-operator-system create cm cisscan-output-for-scan-s42n8 --from-file /tmp/kb-summarizer/output/output.json
Wed, Feb 15 2023 4:52:18 pm | + echo 'error creating configmap for storing the report'
Wed, Feb 15 2023 4:52:18 pm | + tee -a /tmp/kbs.error.log
Wed, Feb 15 2023 4:52:18 pm | error creating configmap for storing the report
Wed, Feb 15 2023 4:52:18 pm | + exit 1

Running the command manually throws us this error:
$kubectl -n cis-operator-system create cm cisscan-output-for-scan-s42n8
Unable to connect to the server: remote error: tls: protocol version not supported

Here is the RKE cluster.yaml override causing the issue.
tls-min-version: 'VersionTLS13'
services:
  etcd:
    extra_args:
      experimental-initial-corrupt-check: true
  kube-api:
    extra_args:
      anonymous-auth: false
      enable-admission-plugins: 'AlwaysPullImages,NodeRestriction'
      tls-cipher-suites: 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'
      tls-min-version: 'VersionTLS13'

The problem might be the kubect version shipped in the pod is VERY old
https://github.com/rancher/security-scan/blob/master/package/Dockerfile#L25
Using a kubectl version compatible with the Kubernetes version do not throw this error.
To Reproduce

Build a RKE1 hardened cluster with following extra args for kube-api service for services

 services:
  etcd:
    extra_args:
      experimental-initial-corrupt-check: true
  kube-api:
    extra_args:
      anonymous-auth: false
      enable-admission-plugins: 'AlwaysPullImages,NodeRestriction'
      tls-cipher-suites: 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'
      tls-min-version: 'VersionTLS13'

Install the CIS Benchmak app and run it.
the scan will stuck in running state and the security scan runner pod will be deleted after an error.

Calculated Rancher Kubernetes Version: v1.24.9+rke2r2
Wed, Feb 15 2023 4:52:18 pm | + [[ -f /etc/kbs/notapplicable/config.json ]]
Wed, Feb 15 2023 4:52:18 pm | + [[ -f /etc/kbs/defaultskip/config.json ]]
Wed, Feb 15 2023 4:52:18 pm | + [[ -f /etc/kbs/userskip/config.json ]]
Wed, Feb 15 2023 4:52:18 pm | + [[ rke2-cis-1.23-permissive != '' ]]
Wed, Feb 15 2023 4:52:18 pm | + echo 'using OVERRIDE_BENCHMARK_VERSION: rke2-cis-1.23-permissive'
Wed, Feb 15 2023 4:52:18 pm | + kb-summarizer --benchmark-version rke2-cis-1.23-permissive --controls-dir /etc/kube-bench/cfg --input-dir /tmp/kb-summarizer/input/plugins/rancher-kube-bench/results --output-dir /tmp/kb-summarizer/output --output-filename output.json
Wed, Feb 15 2023 4:52:18 pm | using OVERRIDE_BENCHMARK_VERSION: rke2-cis-1.23-permissive
Wed, Feb 15 2023 4:52:18 pm | + kubectl -n cis-operator-system create cm cisscan-output-for-scan-s42n8 --from-file /tmp/kb-summarizer/output/output.json
Wed, Feb 15 2023 4:52:18 pm | + echo 'error creating configmap for storing the report'
Wed, Feb 15 2023 4:52:18 pm | + tee -a /tmp/kbs.error.log
Wed, Feb 15 2023 4:52:18 pm | error creating configmap for storing the report
Wed, Feb 15 2023 4:52:18 pm | + exit 1

Result
Expected Result

It should not fail and gives a report.
Screenshots

Additional context

the old kubectl version which was causing this issue has now been updated in rancher/security-scan. And this issue is not present and can be tested on latest cis benchmark chart (4.1.0-rc3).

Tested the issue on rancher v2.7.5-rc1.
Followed the test steps mentioned in the issue.
CIS Scans are running successfully. Although some tests are failing, those failures are expected.
However, the issue raised in this ticket is resolved, hence closing this issue.


Team member maximum of 2500

I think this is outdated. I think max members count is 5000, isn't it?

Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

ID: 41ddf8ce-fda9-ee9d-d96a-801f9a2f66b7
Version Independent ID: 9aa5a49f-c440-95a8-83a1-9d38bdaeda39
Content: Bekannte Probleme für Microsoft Teams
Content Source: Teams/Known-issues.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@officedocsbot assign @scanum

Hi @PhilFancy
Thanks for reaching out.
Yes, each Microsoft Team can have a maximum of 5000 members per team. And it is documented in the content source.
Kindly share with us the link which you are referring to now (Max team member limit is 2500). It would help us to understand it better.
Thank you.

@sowjanya365 Here is an article showing up that there is a limit of 2500 members per Team:
https://docs.microsoft.com/en-us/microsoftteams/create-an-org-wide-team

Hi @YuriySamorodov
Thanks for your comments. You are right.
Maximum number of members in a team is 5,000 and Maximum number in an org-wide team is 2,500.
Hope this information is helpful. Kindly confirm.
Thank you.

@PhilFancy @YuriySamorodov  We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close


Check authentication failed while using SAML Authentication.

Is there a way to programmatically check whether there was an error while logging in using SAML authentication? I tried to subscribe through the event bus to AUTH_FAIL but did not receive any events when the SAML authentication failed.

Not that I have encountered, the best I can do is examine:
connect.agent.initialized
it's no guarantee that there wasn't some other init problem, but if that is false then you know something is up

You could try the following
 connect.core.getEventBus().subscribe(connect.EventType.ACK_TIMEOUT, function() {
   // Triggered when ACK fails (needs re-login)
   // Use this to handler hide the CCP or show some custom message or popup the login window to
   // re login
 });

Connect team is  also working on the solution to have a more intuitive/dedicated login failure handler like below
 connect.core.onAuthFail(() =>{
   // requires login
 })

It seems that 7f104fc added two handlers:

connect.core.onAuthFail
connect.core.onAccessDenied

They seem to be hooked up on worker.js.
Are these methods supported?

#243 officially documented the handlers, so this can be closed.

It is great that we now have these handlers been wanting for a while.
Since this ticket is similar to an issue I was just about to raise I thought it should go here as it directly refers to those two handlers. It seems that neither of these two handlers cater for the first issue in this error Error Message: Access Denied. Your account has been authenticated, but has not been onboarded to this application. specifically around the point the user not existing in amazon connect..
Currently in my system if a user is successfully authenticated but does not exist in the system neither of the two handlers fire at all.

Hey its been more than a year,
Is there any ETA for this issue?
Thanks


Remove border from Search Bar

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

CLI: 6.5.0
Cross-platform modules:
Android Runtime:
iOS Runtime: 13.4.1
Plugin(s):
NativeScript-Angular: 8.21.0
Angular: 8.2.14

Describe the bug
Cannot remove border from search bar
To Reproduce
border-color: "red"; and has no effect
Expected behavior
expected the border of the search bar to be red and therefore not having the black thin border above the search bar disrupting the ui.
Sample project
https://play.nativescript.org/?template=play-ng&id=qJqG8y

Hi.
You can try this code,it will give you something with a red border,you can
then just change to whatever colour you want. Cant see where your problem
is from the playground code. Hope this helps you. Regards, Meyer

On Thu, 7 May 2020 at 13:37, Manuel Maestrini<EMAIL_ADDRESS>wrote:

Environment
Provide version numbers for the following components (information can be
retrieved by running tns info in your project folder or by inspecting the
package.json of the project):

CLI: 6.5.0
Cross-platform modules:
Android Runtime:
iOS Runtime: 13.4.1
Plugin(s):
NativeScript-Angular: 8.21.0
Angular: 8.2.14

Describe the bug
Cannot remove border from search bar
To Reproduce
border-color: "red"; and has no effect
Expected behavior
expected the border of the search bar to be red and therefore not having
the black thin border above the search bar disrupting the ui.
Sample project
https://play.nativescript.org/?template=play-ng&id=qJqG8y
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NativeScript/nativescript-angular/issues/2161, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNDDIF72AHEJVR63QWRAM3RQKMP3ANCNFSM4M3H3ZUA
.

This is the issue, see that thin border in the picture

@mm-spiio I just had the same problem and have been able to resolve it with this solution.

Thanks that worked!


feasibility question: hearing as direction instead of point

How feasible would it be to implement hearing as a directed sense instead of a 2d pinpointing sense? Being able to pinpoint in a fog cloud doesn't feel that logical. Having a directional indicator on the other hand would feel awesome. Otherwise, it's just a free echolocation blindsight feature, which feels somewhat unbalanced. I know I could just set hearing range to 0, to drop it, but having a directional sense would be soo cool :D

+1 on that, it basically reduces invisibility to nothing (yeah I know it's disadvantage on to hits but it just doesn't feel right when you have thing pinpointed on the map), it would be cool if it was direction based or have some global settings to disable it (and other modes). It does not fit the way I run my sessions.

@Dddsasul you can effectively disable it by setting global hearing range to 0 in the settings.

Closing this. It's very unlikely that'll every take the time to implement this.


Add Content-Range header support to platformatic-db

I would like to have Content-Range header support in platformatic db:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range
There is already the X-Total-Count header support (recently added) that could be refactor to alternatively support: Content-Range or X-Total-Count header.
See also:

https://github.com/marmelab/react-admin/tree/master/packages/ra-data-simple-rest
https://github.com/marmelab/react-admin/tree/master/packages/ra-data-json-server

A very easy solution could be to add both headers (Content-Range and X-Total-Count) when now is added only one header (X-Total-Count).
What do you think about?

The content-range header is usually used for partial downloads of files. I don't think there is a good way to support it here.

You have right.
In fact, here is explained that to use Content-Range for this purpose is an hack, so I think it's no a good idea support it:
https://github.com/marmelab/react-admin/tree/master/packages/ra-data-simple-rest#note-about-content-range
Furthermore, using X-Total-Count we can already have the necessary information.


Project Website can't be reached

The link to the project site in README.md appears to be broken.

@renejahn Yes, I'm working on the website, should be fixed very soon.


SemaphoreとEventの例を追加

Codecov Report

Merging #153 (9c5f352) into master (abb5d6d) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #153      +/-   ##
==========================================
+ Coverage   97.50%   97.54%   +0.04%
==========================================
  Files          37       37
  Lines        1642     1671      +29
==========================================
+ Hits         1601     1630      +29
  Misses         41       41

Impacted Files
Coverage Δ

source/sync_example.d
100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


build: remove webpack sourcemap

Codecov Report

Merging #84 into master will decrease coverage by 0.4%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
- Coverage   50.59%   50.19%   -0.41%
==========================================
  Files         124      124
  Lines        1753     1767      +14
==========================================
  Hits          887      887
- Misses        866      880      +14

Impacted Files
Coverage Δ

packages/griffith-mp4/src/mse/controller.js
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM


Deployment fails.

After setting up stripe, I try to deploy and it fails.
The error is as follows
Unhandled error during request: FetchError: invalid json response body at https://---.supabase.co/rest/v1/products?

It seems that there is a problem with the supabase setting, please let me know how to solve it.

Same problem:
FetchError: invalid json response body at https://....supabase.co/rest/v1/products?select=*%2Cprices%28*%29&active=eq.true&prices.active=eq.true&order=metadata-%3Eindex.asc.nullslast&%22prices%22.order=unit_amount.asc.nullslast reason: Unexpected token < in JSON at position 0     at /Users/chrismendes/Documents/Projects/Stripe/node_modules/node-fetch/lib/index.js:272:32     at processTicksAndRejections (node:internal/process/task_queues:96:5) {   type: 'invalid-json' }
Have followed the readme file to the letter. Stripe products/prices in. Webhooks ready. Keys and environment variables done. Even cleared all test data inside Stripe account. Same error when developing locally or deploying on Vercel.

This error is more likely to occur when variables are incorrect.
However, I don't think all the variables I set in Stripe are incorrect.
It is possible that the webhook URL is different, I guess.

Same. Anyone have any ideas to solve it ?
Many thanks

I had the same issue, but when I followed the old instructions and configured supabase manually, it worked for me.
Here is a link to the old instructions:
https://github.com/vercel/nextjs-subscription-payments/blob/745fef89ff5b1c01115dd7161ddafd13ce330afd/README.md

https

I adopted that method and it worked!
Thank you!

I had the same issue, but when I followed the old instructions and configured supabase manually, it worked for me. Here is a link to the old instructions: https://github.com/vercel/nextjs-subscription-payments/blob/745fef89ff5b1c01115dd7161ddafd13ce330afd/README.md#setup

Superstar! Worked for me too. Many thanks @JannaGilleland for taking the time to help. Very much appreciated, thank you.


[kitchen] Pin to working 1.24.0

What does this PR do?
test-kitchen 2.0.0 was recently released, but our pipeline fails with it. To unblock the pipeline let's pin it.
Additional Notes
Follow-up work we should plan to do:

pin all the deps, ideally in a Gemfile.lock instead of using gem install directly
upgrade to kitchen 2.0.0

I've confirmed the kitchen tests pass with this change, merging this!
(and creating follow-up cards for the follow-up that we should do)


JSON.parse throwing error

Trying to read a file and JSON.parse is throwing an electron error (only on some computers):
data = JSON.parse(fs.readFileSync(dataFilePath, 'utf-8'));
No error without JSON.parse. Also no error on other computer.
Uncaught Exception:
SyntaxError: Unexpected token ,
    at Object.parse (native)

Apparently the content of dataFilePath is not a valid JSON string, you can debug it by printing the file out.

@zcbenz You're right. It looked like everything was kosher, but apparently there are different kinds of quotation marks. Not sure how that happened. Sorry for the timesuck.


Misleading error messages when passing an incorrect schema in serialize().

My Env

better-sqlite3: 9.0.0
Linux 6.5.7-arch1-1 x86_64 unknown
sqlite3: 3.43.2 2023-10-10 12:14:04 4310099cce5a487035fa535dd3002c59ac7f1d1bec68d7cf317fd3e76948alt1 (64-bit)

Repro
import Database from "better-sqlite3";

const db = new Database(":memory:");
// Out of memory
db.serialize({ attached: "foobar" });
// work as expected
// db.serialize({ attached: "main" });

What I see
/home/********/node_modules/better-sqlite3/lib/methods/serialize.js:15
        return this[cppdb].serialize(attachedName);
                           ^

Error: Out of memory

Expected behavior
some error like schema not found.

Yep, seems like this does not account for this case:
https://github.com/WiseLibs/better-sqlite3/blob/007d43e229190618884a9f976909c0b14a17d82c/src/objects/database.lzz#L287-L290
So maybe the error message could be updated to be more generic.

some error like schema not found.

sqlite3_serialize does not provide this information and it does not seem to be trivial to get it (ChatGTP suggests parsing the result of PRAGMA database_list;)


when will the library support sharing files to youtube

I want to share videos from app to youtube, but currently the library is not supported, if possible, can admin add sharing to youtube?

It's not possible for me now. But if you an idea about how to implement lets discussed.


Update ATC.groovy

See https://github.com/SAP/jenkins-library/pull/3833

As discussed:
build result FAILURE for error and warning findings
error = TOTAL_ERROR
warning = TOTAL_NORMAL
build result UNSTABLE in case of any priority (error, warning, info) --> TOTAL
Stop pipeline execution with error in case of error or warning findings


Icon request: .cshtml

Please add a Razor view (.cshtml) icon, thanks.
On a side note, I really appreciate your extension, it makes development so much easier :+1:

Done! Added vbhtml support too! 😉


Active Permissions/Active Subscriptions

You should be able to see an SDK's Active Permissions and Active Subscriptions.
These are only printed in DEBUG mode but many production apps will not have DEBUG mode turned on.
Permission could be changed at will by the authentication service and change the application's behavior.
An end-user must be able to check what they have permissions to access.

Duplicate of https://github.com/getditto/DittoAndroidTools/issues/23


fix code errors in Lambda class section

Fixed a few errors in the "Protip: Lighter deterministic variables with Lambda class" section:

Added a value for tau when calling pm.Normal
Removed the extra parentheses when calling np.random.randn (this might be a Python 3 issue)
Added a value for the name argument when calling pm.Lambda

I also adjusted the Markdown code to use Python syntax coloring. And, perhaps annoyingly, the notebook version updated to v4 (hence the large number of additions/deletions).

Hey @HipHoff, thanks for the contribution. I'd like to upgrade to v4 soon, so instead of merging  this, can you either
A) wait for me to merge my changes, or
b) show me the changes you made, and I can change them manually later.

Sure thing!  Option b) sounds good.  I just changed the code in the "Protip: Lighter deterministic variables with Lambda class" section from:
beta = pm.Normal("coefficients", 0, size=(N, 1))
x = np.random.randn((N, 1))
linear_combination = pm.Lambda(lambda x=x, beta=beta: np.dot(x.T, beta))
to:
beta = pm.Normal("coefficients", 0, 1, size=(N, 1))
x = np.random.randn(N, 1)
linear_combination = pm.Lambda('linear_combination', lambda x=x, beta=beta: np.dot(x.T, beta))