Use CQ units instead of VP Units

Replacing?
Additional Classes? text-cq-base?

This is something im looking for now, fluid type based on container queries (im using the tailwind container queries plugin).
If you do get a build together that has this feature i can test and give feedback (i think additional classes makes sense btw)

Hey @mattpilott
I didn't find time until now and I think the next two weeks I'm also busy but it's on my list. I'll make sure to ping you when I've something ready. And yes, I go the additional classes way. Maybe just an option to enable them and have it in sync with the normal ones.

Perfect, sounds good to me!

Is there a use case for using viewport units instead of container query units since they fallback to viewport units in the absence of a container? I suggest that if you decide to support both they should be the default and the viewport units should be optin or something (great project btw!)

The problem is that the Viewport is a single source and a consistent way to handle fluid type. Switching to container queries sounds super intelligent, but I'm unsure if that works well. Should the type react to each @container? That can be really confusing and unpredictable. It also needs another plugin as a dependency. For now, I'll close that Issue and keep things simple. Maybe it will return to my plate when TailwindCSS 4 is launched early next year.


[Accessibility]No visible alternative text for close button

Steps to reproduce
The close button in adaptive card do not have visible alternative text conveying its purpose to the user

https://github.com/MicrosoftDocs/msteams-docs/assets/144102521/0da59e25-11d8-4291-81aa-1d457af87ed5
Expected behavior
Non text contents like Icon buttons should have visible alternative text conveying its purpose to the user.
Actual behavior
The close button in adaptive card do not have visible alternative text conveying its purpose to the user
Error details
No response

Hello @AmyLi0728 ,
We setup a sample and tested this using "Windows Narrator" and it was narrating as "button". Can you once please check again and also let us know if it should be narrating as "Close button"?

Hi Microsoft team,
Yes, it should be narrating as "Close button".
Thanks,
Amy

Hello @AmyLi0728 ,
Sorry for the delay in response. We will raise the bug for the same and inform you once we get any update.


Connect debugger context to fix errors

I would like to debug python code in vscode and automatically break at errors, so that this can be fed as context for the copilot. And copilot can spot me the actual fix by analysing the call stack and libraries used.

I see this here - https://www.youtube.com/watch?v=88M5VH_FJVg
Fingers crossed on releasing this.


Icon Alignment Within Input Fields

Describe the desired behavior
During the audit we identified issues with prefix and suffix icons in text fields not aligning correctly with input field and label positioning.
Describe the current behavior
This may have already been addressed; moved from JIRA.
Is this request related to a current issue?
No
Additional Context

@huayunh , can you provide screenshot of mentioned issue?

It looks like a screenshot is missing

@emclaug2 Please find the screenshot.


Add test case with a normal matrix and an include statement

This is how I thought the include statement would work, but it doesn't. Is this a bug or simply not wanted? Often you have a matrix and just want to extend it for some version and add a spare row to the matrix with only one cell filled.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

This is how I thought the include statement would work, but it doesn't. Is this a bug or simply not wanted?

the fact that drone does not implement a feature does not make it a bug. Nor does it mean the feature is not desired. In this case it just means the capability has never been discussed or requested.
I'm going to close the PR since we wouldn't merge a failing unit test

I'm going to close the PR since we wouldn't merge a failing unit test

Okay - Good to know. Thanks for the feedback


List of operations that produce NaN?

The documentation for dashu_float says that operations that produce NaN will panic. I'd like to be able to check for such conditions before performing those operations, so I can catch them and return Err instead. However, I don't know all possible operations that can panic, and the source code doesn't make it obvious. I'm checking for the obvious right now in my code, checking for any operations that work with infinity, etc.. But I think the documentation should specifically list every operation that can panic.
Additionally, it would be nice if the standard library actually had some kind of would_panic or results_in_nan function to explicitly check that for you, or stuff like try_div or try_mul, etc., but I'm just thinking out loud.

Thanks for raising this up. I will think about adding the NaN cases to the documentation (as I'm writing a guide to be published with the release v0.4). Currently as not many operations are implemented for the FBig type, the potential sources of NaNs are:

DIvision by zero
Logarithm on negative value.
Operations between infinities (such as inf - inf)

Common approach to make user aware of NaNs includes:

Provide fallible API, i.e. return Option or Result. I didn't do this because it will result in extra unwrap in the majority of the callsites.
Provide a global flag to notify the users. That is also not desired in Rust's convention.

I think providing a good documentation and let the user handle corner cases is the way to go.

Another source of panics are overflow/underflow. For example, the following, which underflows instead of rounding down:
FBig::<Down>::try_from(-6871947604880523000.)?.exp()

It's also not possible to anticipate settings where the calculation might overflow. Take for example, the following:
FBig::<Up>::try_from(f64::MAX)? + FBig::<Up>::try_from(f64::MIN_POSITIVE)?

This panics, but the naive check you might run beforehand doesn't anticipate the issue:
assert!((f64::MAX + f64::MIN_POSITIVE).is_finite())

Well the underflowing/overflowing cases are indeed hard to catch them all beforehand, I'm open to provide a fallible API for this case. My main concern is to add unwrap for every operations, even for the built-in ops.
I have several viable options in mind, although none of them is perfect:

Let every operation return a Result: this leads to adding unwrap everywhere
Let every operation return a special struct (e.g. FpResult), this struct should implement the same API as the normal floats, and it should carry all the error information including NaN/underflow/overflow/etc: this leads to a lot of redundant code and extra maintenance cost.
Only let the ops implemented by the Context object return a Result: the ops implemented by Context has some overhead compared to normal float ops, because it has to do the precision check before each operation. However this overhead is pretty small when base 2 (or a power of 2) is used.

Please let me know which approach looks best to you, or if you have better ideas! Thanks! @kameko @Shoeboxam

My favorite over the three is the last one, and when implemented as methods of FBig, the unusual output should be converted to  corresponding value or panic: overflow -> inf, underflow -> 0, nan -> panic

All of these options strike me as viable solutions.

I don't have any issue with handling results, because all my call sites already return results. Just sprinkle in the try operator ?.
I'm using dashu as a replacement for rug/GMP/MPFR, and they carry extra bits around to represent nan and infinities. I think this results in the best user API, although it sounds like it would be a greater burden on you.
Do you think this might result in more work for you, as a maintainer, because it would double the number of public APIs to document/maintain?

I think all three approaches are somewhat similar- instead of pushing infinity/nan into a panic, you are packing it into a struct- either within a Result or in an FpResult.
Which approach is better depends on what you want your library to support: Right now the library doesn't allow nan/inf inputs or outputs. If you want the library to support only nan/inf outputs, then I'd pack those states into a result. If you want the library to support nan/inf inputs and outputs, like MPFR, then those states should not be represented by a result.

Regarding nan/inf, I don't plan to support them as input. In my opinion, they are mostly useless when you want to do arbitrary precision operations. It's better to stick to f32/f64 when you find that you encounter nan/inf pretty often.

Do you think this might result in more work for you, as a maintainer, because it would double the number of public APIs to document/maintain?

Making the ops associated with Context returning different types is okay, because they already differ with operations between FBig instances. It won't require much additional effort.


Update journallink.js

Updated journallink.js to allow entries to be linked by name too.
Updated regex value to allow for spaces in the entry's name.

Thanks!


Added Chernivtsi Industrial Vocational College

added new domain into solution

@Maksxman First stage of verification passed, official domain is chic.cv.ua as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Maksxman Pull request merged. Thank you.


Problem with redirecting. - I'm trying use some localization on my project.

Laravel Version: New
Voyager Version: New
PHP Version: 7.1
Database Driver & Version: MySQL 5.7
Localization: mcamara/laravel-localization - new

Description:
Hello guys ^)
I have some problem with localization :(
I don't know how add my route in the foreach.
 {{ route('rusPageShow',['slug'=>$item->slug]) }}
I have menu - (Voyager my_menu.blade)
            @foreach($items as $item)

                url }}">{{ $item->title }}
                @if($item->children)

                    @foreach($item->children as $item_c)

url }}">{{ $item_c->title }}

                    @endforeach

                @endif

            @endforeach]

And when i try click on href , i back to the default lang.
Because i don't know how add route here. ( $item->url ) and here (item_c->url)
 {{ route('rusPageShow',['slug'=>$item->slug]) }}
How i may fix it?
Help me plz 🥇

Close ^) I fix it. Now i write domen.com/en/slug  - url - ( voyager menu )


Modify Add New Color Button

I Modify the add new color button to full width and add effect if button on click

Hey @dwikychandra21! Thank you for adding the little animation, I love it! 💖
Would you be interested in adding a border-radius (rounded edges) to the "Add Color" button to make it look more consistent with the other buttons? Also, feel free to apply the new effect to all the buttons on the page.
Let me know if you'd be interested in implementing any of the above. If not, we could go ahead and merge your current changes. 👍 😄

Ok, i will do that 😉
On 2 Oct 2017 07:27, "Charmaine Lee"<EMAIL_ADDRESS>wrote:
Hey @dwikychandra21 https://github.com/dwikychandra21! Thank you for
adding the little animation, I love it! 💖
Would you be interested in adding a border-radius (rounded edges) to the
"Add Color" button to make it look more consistent with the other buttons?
Also, feel free to apply the new effect to all the buttons on the page.
Let me know if you'd be interested in implementing any of the above. If
not, we could go ahead and merge your current changes. 👍 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/charmaine/InternetWishlist/pull/35#issuecomment-333414541,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVlu_H4lkP8BmBD_l7736XeYtL6MXz8Iks5soB_kgaJpZM4PnV5s
.

@dwikychandra21 Thanks for updating the PR! 👍
Feel free to work on anything else in the repo!


java.security.InvalidKeyException: Illegal key size

Exception in thread "Skype-Receiver-Thread" java.lang.RuntimeException: java.security.InvalidKeyException: Illegal key size
	at fr.delthas.skype.NotifConnector.processPacket(NotifConnector.java:278)
	at fr.delthas.skype.NotifConnector.lambda$2(NotifConnector.java:405)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.security.InvalidKeyException: Illegal key size
	at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
	at javax.crypto.Cipher.implInit(Cipher.java:805)
	at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
	at javax.crypto.Cipher.init(Cipher.java:1396)
	at javax.crypto.Cipher.init(Cipher.java:1327)
	at fr.delthas.skype.UicConnector.getUIC(UicConnector.java:221)
	at fr.delthas.skype.NotifConnector.processPacket(NotifConnector.java:276)
	... 2 more

This is due to a stupid restriction on key lengths on Oracle JRE. I uploaded a new version that should bypass this. Please download and use the 1.0.8 version and tell me if it works.

 I
uploaded a new version that should bypass this. Please download and use the
1.0.8 version and tell me if it works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Delthas/JavaSkype/issues/9#issuecomment-236918720,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJDnJwUqsHcrjHH-yMycztSAlac1h4Lyks5qb1HWgaJpZM4JZIv2
.

@Delthas no issues on the latest build :)


[Keyboard Navigation - Logic apps - Design]: Incorrect role is defined as image for controls under "Design" section.

Describe the issue
User Experience:
Visually impaired users who depend on screen reader will find difficulty in understanding the functionality of the control if correct role will not be defined for them, as a result they will be misguided and might get blocked from further actions.
Note: User credentials should NOT be included in the bug.
Pre-requisites:

Make sure dependencies such as Azure Logic Apps (Standard), Azure Functions, C# are installed.
Navigate to Azure control present on the right side and select it.
Navigate to LogicApp icon present under workspace section, click on tat and select 'Create New Project'.
Navigate select stateful workflow, then enter the name of the workflow.
Once the workflow has been created then enter the name of the created workflow in edit field present on the top and press Enter.
Navigate to 'Open in current window' and select it.
A dialog will appear, select 'Yes', now the workflow will open in new window.

Repro Steps:

Open Visual Studio app.
Navigate to any workflow and right click on it, then select 'open designer'.
Navigate all the controls of the designer screen.
Observe if Incorrect role is defined as image for controls under "Design" section.

Actual Result:
Incorrect role is defined as image for controls such as "Secure inputs or outputs enabled" and "Connection required" present under "Design" section. Screen reader announces as "Graphic" but on selecting with them enter key new dialog gets activated.
Expected result:
Correct role should be defined for controls such as "Secure inputs or outputs enabled" and "Connection required" present under "Design" section as "button".
Are you using new designer or old designer
New Designer (With action panels)
Screenshots or Videos
No response
Browser
Chrome, Edge
Additional context
No response

https://msazure.visualstudio.com/One/_workitems/edit/29367611


[bot] Update Python packages and pre-commit hooks

Automatic PR from repo-maintenance -> package_updates

poetry has since had a patch update: https://github.com/python-poetry/poetry/releases/tag/1.8.1


Storemanager.load is not a function (?)

When trying to use the plugin the game crashes on start saying storemanager.load is not a function. what does this mean?
the error message more specifically
rmmz_managers.js:2036 TypeError: StorageManager.load is not a function     at Function.CollisionMesh.getMesh (Tyruswoo_AltimitMovement0.7.js:3224)     at Game_Map.collisionMesh (Tyruswoo_AltimitMovement0.7.js:2902)     at VectorDebugLayer.update (altimitmovementDEBUG.js:128)     at Spriteset_Map.Sprite.update (rmmz_core.js:1987)     at Spriteset_Map.Spriteset_Base.update (rmmz_sprites.js:3158)     at Spriteset_Map.update (rmmz_sprites.js:3379)     at Scene_Map.createSpriteset (rmmz_scenes.js:1009)     at Scene_Map.createDisplayObjects (rmmz_scenes.js:1000)     at Scene_Map.onMapLoaded (Zoom.js:298)     at Scene_Map.isReady (rmmz_scenes.js:777)

Hi @WinterVein, thanks for bringing this to our attention!
It turns out that the crash you encountered only happens when caching is turned on, and that if I fix this particular crash, other caching problems show up that also cause crashes.
For now, the workaround I recommend is to turn caching off:

Open the Plugin Manager and go into Tyruswoo_AltimitMovement.
Find the plugin parameter "Use cached collision?" at the bottom of the plugin list, under the "Play-testing" heading.
Set "Use cached collision" to No (false).

Please let me know if you run into any further issues after turning off caching.

Hi @WinterVein, we hope game development is going well for you.
We reviewed our plugin's feature of caching to files and determined that it could not be made usable except by a complete overhaul of mesh calculation, and that even if it were fixed, it was unlikely to confer significant benefit. Accordingly, our newly released Version 0.8.0 removes caching from this plugin.
Thanks again for keeping us informed of issues!


Fix and extend italian support for time and durations

I'm here with my pull request as I announced in the Facebook thread ;-)
Italian now supports intervals, holidays, precision, seasons; clock is set to 24 hours and allows using “di pomeriggio”; many fixes.

The test fails on CircleCI, but locally they complete flawlessly... What do I have to look for?

Thanks a lot! it looks great


Avoid polygons: scratch layer not working

For avoid_polygons option scratch/memory layers are not working. For some reason the getFeature(0).geometry() returns an empty geometry on those layers.
Workaround: make the layer permanent.

Turns out that this is the same "bug" as #114 and it solved now with v1.2.2 which is available in the plugin store since yesterday.


Feature - Added a new component under header

Description
This pull request adds a new navbar component with integrated search functionality, as discussed in issue #462.
Screenshots

Related Issue
Fixes #462
Checklist

[x] Followed the contributing guidelines
[x] Added the new component and ensured it works as expected

Is this not just copied from another Tailwind CSS component library? There's stuff in there like data-state="closed" which makes no sense and even seen the word "Radix" in the code 🤦♀
Not confident this is your own code and therefore I'm not looking to have this merged.
You've even left dark: classes in the light component which is lazy.

I apologize for the mistake. I was working on my portfolio where I used code from the ShadCN library for functional buttons on the navbar, and I mistakenly copied that code directly into this project. I understand that this is not acceptable, and I appreciate you pointing out the issues.
This is my first time contributing to an open-source project. To correct this, I will recreate the navbar component from scratch. I will make sure that all class names are consistent and relevant to the project.
Regarding the comment about the dark classes in the light component: I thought that different files for dark and light themes were for different renderings, and therefore I kept the code the same. I now realize that I should have followed the project's examples more closely.


[CPU] Return std::nullopt when failing on creating host target.

We should not have an assertion because it crashes in debug build. Given that the return type is std::optional, the caller should handle the error themselves. Otherwise, we're not able to compile any MLIR programs targeting CPUs when there are troubles in host CPU setup.

Hi @bjacob I found the "bug" when I use iree-compile on my mac. I think we should not crash in debug build. Otherwise, it also crashes when we do cross-compilation. E.g., it crashes on my mac when I compile a matmul target x86. Example command: iree-compile --output-format=vm-bytecode --iree-hal-target-backends=llvm-cpu --iree-llvmcpu-target-cpu=znver4 --iree-llvmcpu-target-triple=x86_64-unknown-linux-gnu ~/matmul.mlir. Please take a look.

I was trying to exclude personal message from PR description, and the approval from @benvanik is faster than my comment. :p

As a general rule: never assert on user input. Assertions are for verifying program correctness with respect to itself and error messages/proper failure is for verifying user input.

Thanks for the fix! My best recollection of this is that the last time I looked at this, this code was lacking the error propagation necessary to continue after this failure, so adding an assert(false) felt like the best I could do, in the sense that things would crash anyway but at least in debug builds they would crash "cleaner".  Great if that's not the case (anymore?) and returning std::nullopt here actually recovers.


Testing wc

What this PR does / why we need it
Checklist

[ ] Update changelog in CHANGELOG.md.

Trigger e2e tests

/test create
/test upgrade

can this be closed @QuantumEnigmaa ?

Yes sorry totally forgot about this one.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Define abstract read_table helper function

We now have a first version of write_table, which will be part of the upcoming v0.14.0.
We should check whether also a read_table function may be useful. This could replace of lines like
    import anndata as ad

    # Load the ROI table and its metadata attributes
    ROI_table = ad.read_zarr(ROI_table_path)
    attrs = zarr.group(ROI_table_path).attrs
    MaskingROITableAttrs(**attrs.asdict())
    column_name = attrs["instance_key"]
    # Check that ROI_table.obs has the right column and extract label_value
    if column_name not in ROI_table.obs.columns:
        raise ValueError(
            'In _preprocess_input, "{column_name}" '
            f" missing in {ROI_table.obs.columns=}"
        )

with lines which could look like
    from fractal_tasks_core.tables import read_table
    # Load the ROI table and its metadata attributes
    table, attrs, column_names = read_table(path, options={"validate_attrs": True})
    column_name = attrs["instance_key"]
    # Check that ROI_table.obs has the right column and extract label_value
    if column_name not in column_names:
        raise ValueError(
            'In _preprocess_input, "{column_name}" '
            f" missing in {columns=}"
        )

This is partly relevant also for #629, since it would force us to think more about what attributes a table must have; e.g. do all V1 tables have an obs attribute with some specific contents? TBD

Big fan of the idea!
For read_table(path, options={"validate_attrs": True}), I'd rather go with something like:
read_table(path, validate_attrs=True)

(with a potential default for validate_attrs)
Also, couldn't this part be part of the validation block?
  column_name = attrs["instance_key"]
  # Check that ROI_table.obs has the right column and extract label_value
  if column_name not in column_names:
      raise ValueError(
          'In _preprocess_input, "{column_name}" '
          f" missing in {columns=}"
      )

For the future, something like:
table, attrs = read_table(path, validate_attrs=True)

This is now available in ngio: https://github.com/fractal-analytics-platform/ngio


Scalar formatting should be retained & exposed

Scalar values may be formatted in a number of different ways, even for a single tag. The source format should be retained and exposed at the object level of the API, and used (when appropriate) as the default when re-stringifying.

Resolved in d80bbc2 & ea7adb2


FlexScrollview cannot render true width surfaces correctly.

I am having trouble rendering surfaces with height and width set to [true,true] in the FlexScrollview.  Basically, the width is getting confined to some max-width, even when I explicitly set a max-width that is larger.  This is important because I am building a chat where the chat bubbles need to have a [true,true] size and a max-width that I specify.  The image attached shows the behavior that is exhibited.  The second image shows the same chatbubble code added to the DOM but not in the FlexScrollview.

Hi, could you share the surface/view code of your chat-bubbles so I can have a look at it?

Hi, could you share the surface/view code of your chat-bubbles so I can have a look at it?

How I organized my messenger was with ChatBubble views that have an ImageSurface for a picture and an ExtendedSurface for the actual message.  The ExtendedSurface allows me to get the height of the true surface and set the views size to that height, so the scrollview can render the View.  My problem is that for some reason, it confines the true width of the surface to some max-width, which isn't the max-width that I set.  You can ignore the stuff that says "document" and "this.options...", these are just data from Meteor I use to populate the views.
// a modified surface to emit an event after setting the real height and width for true sized surfaces
 define("ExtendedSurface",function(require, exports, module) {
 var Surface = require('famous/core/Surface');

function ExtendedSurface(){
    Surface.apply(this, arguments);
    this._superDeploy = Surface.prototype.deploy;
}

ExtendedSurface.prototype = Object.create(Surface.prototype);
ExtendedSurface.prototype.constructor = ExtendedSurface;

ExtendedSurface.prototype.deploy = function deploy(target) {
    this._superDeploy(target);
     var size = this.getSize();
      this.setSize([this._currentTarget.clientWidth,this._currentTarget.clientHeight])
      this.realHeight = this._currentTarget.clientHeight
      this.realWidth = this._currentTarget.clientWidth
      this._eventOutput.emit("isDeployed");
}

module.exports = ExtendedSurface;
});

//chat bubble view
function ChatBubble(){
  View.apply(this,arguments);

  var chat = this;
  var origin;
  var align;
  var backgroundColor;

  var renderNode = new RenderNode({
    size: [undefined, 0.1*heightScreen]
  });

  if(this.options.user){
    content = '
'+ this.options.message +'
';
    origin = [1.0,0.5];
    align = [0.95, 0.5];
    backgroundColor = "#66ccff";
  }
  else{
    content = '
'+ this.options.message + '
'
    origin = [0,0.5];
    align = [0.2, 0.5];
    backgroundColor = "#f0f0f0";
    picture = new ImageSurface({
      content: this.options.picture,
      size: [0.075*heightScreen, 0.075*heightScreen],
      properties: {
        borderRadius: "50%"
      }
    });
    pictureMod = new Modifier({
      origin: [0.5,0.5],
      align: [0.1, 0.8]
    });

    this.add(pictureMod).add(picture);
  }

  // problem is here where I set the size to [true,true], extended surface emits an event output after deployed and i grab the real height and width
  this.bubble = new ExtendedSurface({
    size: [true, true],
    content: content,
    properties: {
      backgroundColor : backgroundColor,
      borderRadius: "15px"
    }
  });
  var bubbleMod = new Modifier({
    origin: origin,
    align: align
  });

  this.bubble.on('isDeployed', function(){
      chat.setOptions({size : [undefined, chat.bubble.realHeight]});
  });

  this.add(bubbleMod).add(this.bubble);
  this.add(renderNode);
}

// this is where I add the ChatBubble view to the scrollView

var bubble = new ChatBubble({size: [undefined, true], user: user, picture: Meteor.user().picture,   message: document.message, timeSent: document.timeSent});
bubble.bubble.pipe(scrollView);
scrollView.push(bubble, {opacity: 0});

How I organized my messenger was with ChatBubble views that have an ImageSurface for a picture and an ExtendedSurface for the actual message.  The ExtendedSurface allows me to get the height of the true surface and set the views size to that height, so the scrollview can render the View.  My problem is that for some reason, it confines the true width of the surface to some max-width, which isn't the max-width that I set.  You can ignore the stuff that says "document" and "this.options...", these are just data from Meteor I use to populate the views.
// a modified surface to emit an event after setting the real height and width for true sized surfaces
 define("ExtendedSurface",function(require, exports, module) {
 var Surface = require('famous/core/Surface');

function ExtendedSurface(){
    Surface.apply(this, arguments);
    this._superDeploy = Surface.prototype.deploy;
}

ExtendedSurface.prototype = Object.create(Surface.prototype);
ExtendedSurface.prototype.constructor = ExtendedSurface;

ExtendedSurface.prototype.deploy = function deploy(target) {
    this._superDeploy(target);
     var size = this.getSize();
      this.setSize([this._currentTarget.clientWidth,this._currentTarget.clientHeight])
      this.realHeight = this._currentTarget.clientHeight
      this.realWidth = this._currentTarget.clientWidth
      this._eventOutput.emit("isDeployed");
}

module.exports = ExtendedSurface;
});

//chat bubble view
function ChatBubble(){
  View.apply(this,arguments);

  var chat = this;
  var origin;
  var align;
  var backgroundColor;

  var renderNode = new RenderNode({
    size: [undefined, 0.1*heightScreen]
  });

  if(this.options.user){
    content = '
'+ this.options.message +'
';
    origin = [1.0,0.5];
    align = [0.95, 0.5];
    backgroundColor = "#66ccff";
  }
  else{
    content = '
'+ this.options.message + '
'
    origin = [0,0.5];
    align = [0.2, 0.5];
    backgroundColor = "#f0f0f0";
    picture = new ImageSurface({
      content: this.options.picture,
      size: [0.075*heightScreen, 0.075*heightScreen],
      properties: {
        borderRadius: "50%"
      }
    });
    pictureMod = new Modifier({
      origin: [0.5,0.5],
      align: [0.1, 0.8]
    });

    this.add(pictureMod).add(picture);
  }

  // problem is here where I set the size to [true,true], extended surface emits an event output after deployed and i grab the real height and width
  this.bubble = new ExtendedSurface({
    size: [true, true],
    content: content,
    properties: {
      backgroundColor : backgroundColor,
      borderRadius: "15px"
    }
  });
  var bubbleMod = new Modifier({
    origin: origin,
    align: align
  });

  this.bubble.on('isDeployed', function(){
      chat.setOptions({size : [undefined, chat.bubble.realHeight]});
  });

  this.add(bubbleMod).add(this.bubble);
  this.add(renderNode);
}

// this is where I add the ChatBubble view to the scrollView

var bubble = new ChatBubble({size: [undefined, true], user: user, picture: Meteor.user().picture,   message: document.message, timeSent: document.timeSent});
bubble.bubble.pipe(scrollView);
scrollView.push(bubble, {opacity: 0});

Hi, thanks for all the info.
I have investigated the problem and found that the problem lies in the Group component of famo.us and not specifically in famous-flex. The problem also occurs when you add your Bubble-view to a stock famo.us Scrollview (which uses the same optimized group-scrolling as the flex-scrollview).
It seems that the browser calculates the height/width differently when the div has a parent div with a width and height of 0px. Which is what famo.us inserts into the DOM when you use a Group.
Here is the relevant famo.us code (famous/core/Group.js):
/**
     * Apply changes from this component to the corresponding document element.
     *
     * @private
     * @method commit
     *
     * @param {Object} context update spec passed in from above in the render tree.
     */
    Group.prototype.commit = function commit(context) {
        var transform = context.transform;
        var origin = context.origin;
        var opacity = context.opacity;
        var size = context.size;
        var result = Surface.prototype.commit.call(this, {
            allocator: context.allocator,
            transform: Transform.thenMove(transform, [-origin[0] * size[0], -origin[1] * size[1], 0]),
            opacity: opacity,
            origin: origin,
            //size: Group.SIZE_ZERO // this causes the problem
            size: context.size // this fixes it
        });
        if (size[0] !== this._groupSize[0] || size[1] !== this._groupSize[1]) {
            this._groupSize[0] = size[0];
            this._groupSize[1] = size[1];
            this.context.setSize(size);
        }
        this.context.update({
            transform: Transform.translate(-origin[0] * size[0], -origin[1] * size[1], 0),
            origin: origin,
            size: size
        });
        return result;
    };

Now perhaps this can be fixed through (hacky) workarounds, but I'd rather not go down that route. I would suggest submitting it to famo.us with a clearly defined test-case. And otherwise I would revise your solution and try to solve it differently. Also note that there is no such thing as 'true-sized' views. True-size only applies to Surfaces. The surface creates a div and then the DOM calculates the width/height for the surface. A view does not correspond to anything in the DOM.

Thank you for your help.  I will submit this issue to Famo.us.

@adamelk please close this issue if you feel it was answered. Cheers!

You could also opt for a monospace font and calculate the needed width and height beforehand.
Say each character is 10 pixels and you want a bubble to be at least 100 pixels wide, but no wider than 300, there'd be 30 characters max per line. Given a message of 96 characters you'd set the width to 300+spacing and the height to Math.ceil(96/30)*lineHeight+spacing.


nixos/stage-1: fix stripping

got broken in 6ea1a2a1be4e93f938ff084863eab1bd13292f65 which changed runCommandCC to runCommand but was not
noticed because it was failing silently
runCommand doesn't include CC or bintools
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

before 25M
after 23M

was not noticed because it was failing silently

Got that fixed already? We should really make this an hard error

was not noticed because it was failing silently

Got that fixed already? We should really make this an hard error

https://github.com/NixOS/nixpkgs/pull/207101 made it error as a side effect, but with a confusing error message.
I'll add a checking and a better error message to https://github.com/NixOS/nixpkgs/pull/244400

nix build -f. nixosTests.systemd-boot fails but it was failing on master
nix build -f. nixosTests.simple builds


Fix typo in repo description

Hey there, the repo description says "guided as well as guided". Can't PR that so here's just an issue FYI.

Changed the repo description. Thanks!


bug:Syntax Safety

Entering unexpected commands can currently cause crashes.
This is known.
Change code to return nothing on error.
Fix crashes.
(Mostly issue with interpreter directives.)

Fix probable in 2021-04-24.


Hierarchical graphs support

It would be nice to support hierarchical graphs in this parser. And the best would be to let the choice of the output, between data that are shaped as in the GEXF (ie. nodes stores in a tree), or as a nodes array with hierarchical edges between the related nodes (with a "hierarchy": "true" attribute, for instance).

Any update?
Looking for this

Hello @sftranna. This library is not very used anymore. We have migrated to this one instead. But I guess the issue here is to decide how to handle hierarchical graphs.


HOOTag - Link type

Describe the bug
When link type HOOTag is clicked the a:visitied color replaces the text color of the link.
Screenshots

This issue has been fixed.


crypto/x509: wrong value of RevocationList.AuthorityKeyId

Go version
go version go1.20.6 windows/amd64
Output of go env in your module/workspace:
set GO111MODULE=on
set GOARCH=amd64
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOOS=windows
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOVCS=
set GOVERSION=go1.20.6
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=x86_64-w64-mingw32-gcc
set CXX=x86_64-w64-mingw32-g++
set CGO_ENABLED=1
set GOMOD=NUL
set GOWORK=
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config

What did you do?
rl, _:= x509.ParseRevocationList(crl)
fmt.Println(hex.EncodeToString(rl.AuthorityKeyId))

What did you see happen?
AuthorityKeyId is not decoded from DER completely, it contains DER prefix SEQUENCE [0]
For a sample CRL: 3016 8014 99c826668f2d01b54a27ae658284092f2dab97fc instead of 99c826668f2d01b54a27ae658284092f2dab97fc
RevocationList.AuthorityKeyId is not decoded here: parser.go
What did you expect to see?
Correctly decoded AuthorityKeyId value.
RevocationList.AuthorityKeyId should be decoded same way as Certificate.AuthorityKeyId: parser.go

cc @FiloSottile @rolandshoemaker @golang/security

Duplicate #57461


added package http-kernel to fix the logger interface problem

fix the following exception after setting up:
ClassNotFoundException in Logger.php line 23:

Attempted to load interface "LoggerInterface" from namespace "Symfony\Component\HttpKernel\Log".
Did you forget a "use" statement for "Psr\Log\LoggerInterface"?

:+1:

👍

I did the same but just forced 2.3 instead. Thanks.


Extrication path pose orientation

#64 introduced a new feature and let us discover a mis-functionality.
At the moment the extrication paths pose orientation is the same for every pose of the extrication trajectory. The orientation is the orientation of the first next non-extrinsic pose.
This cause cause problems:

We must compute the tool orientation using the normals in the extrication path like we do on the trajectory to avoid collisions.

@Nandite this issue is for you!


Updated filters and cards in Pay Salary Section

Closes #67
I have updated the Ui of the Pay Salary Section by adding some animations and neumorphism effects
Updated Ui:

Recorded Video:
https://github.com/Vikash-8090-Yadav/SaL--dApp/assets/65860201/4cb6b815-1d00-413e-8bb1-a14b6d1ca118

@roshangeorge97 Please review  this once.

Hey ur deployment is failing, Please check by running npm run build

@Vikash-8090-Yadav I have made the corrections. Please let me know if any other change is needed.

Please check the responsiveness also the card design is not matching with the Sal-Dapp application .I will share u the refrence tmrw. Please remind me once after 9 pm . Thanks !!

@Vikash-8090-Yadav Can you share the reference for the same so I can work on updating the UI accordingly?

@Vikash-8090-Yadav Please share the references so I can start working on it.

Just try to make like the above not exactly same but don't make so fancy i need simole design card . make the pic in rectangular instead of circle . all things are same as original but in ur design that looks so i mean very fancy and childish one make it simple . Hope u understand 🚀

Okay working on it !


Add COSI Driver for Huawei Object Storage

Add COSI Driver for Huawei Object Storage.

@tparikh @wlan0 Plz help to review this MR


mobile/iphone font size too large

There seems to be an update in the last day where the type size is large enough that one can't see the cost of an upgrade beyond the word "Cost:"

Cannot reproduce in the current build. Please reopen if you still experience the issue.


[Event Request] codeunit 80  "Sales-Post" - OnCopyAndCheckItemChargeCheckQty

Hello, would it be possible to add OnCopyAndCheckItemChargeCheckQty,  event to codeunit 80  "Sales-Post", like this:
    local procedure CopyAndCheckItemCharge(SalesHeader: Record "Sales Header")
...
                          "Qty. to Ship" := 0;
                     if not SalesHeader.Receive then
                         "Return Qty. to Receive" := 0;
                     IsHandled := false;
>                     OnCopyAndCheckItemChargeCheckQty(TempSalesLine, IsHandled);//New Event
                     if not IsHandled then
                         if Abs("Qty. to Invoice") >
                         Abs("Quantity Shipped" + "Qty. to Ship" + "Return Qty. Received" + "Return Qty. to Receive" - "Quantity Invoiced")
                         then

     [IntegrationEvent(false, false)]
     local procedure OnCopyAndCheckItemChargeCheckQty(var TempSalesLine: Record "Sales Line" temporary; var IsHandled: Boolean)
     begin
     end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10644.


Provide feature to use nightly allocator API

In latest Rust nightly we can allocate with custom allocator (for example https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html#method.new_in).
It will be great for bumpalo-herd to provide the ability to use this. To achieve this, we need to implement std::alloc::AllocRef.
See also https://github.com/fitzgen/bumpalo/issues/87.

I'm not opposed to having this, under a feature (maybe allocator-api-unstable or something?). But I don't know when exactly I would get to it (not a feature I'd use myself right now), so would you want to submit a PR?

I gave it a try today, and it seems like we need change on bumpalo first, and there is already a PR https://github.com/fitzgen/bumpalo/pull/68

@vorner bumpalo has merged allocator API: https://github.com/fitzgen/bumpalo/pull/92

Nice :-). Do you want to give the PR a try?

I think I'll try to add this :)

Hmm, I don't think it would be possible to implement this in a way to have the allocator shared between threads since the collection must keep a reference to the allocator. However, it would still be nice to have a feature flag that forwards to bumpalo's own allocator_api feature flag.

I wonder… the fact we don't remember the exact Bump, is it a problem? I mean, I'd suspect the deallocate on the Bump arena is empty, because Bump can't deallocate, it can be only completely cleaned. So, can we just forward all allocation requests to arbitrary subarena?

I checked, and Bump's implementation of deallocate checks if the pointer was the last allocation in the arena and reuses the memory if it was.

I see. But it „leaks“ in all the other cases, so we could just leak every time.
Honestly, just forwarding the feature is kind of… not really much useful. You can always just list both bumpalo and bumpalo-herd in the Cargo.toml, the former with the feature.

@vorner @wackbyte I’ve created a proof of concept (PoC) for implementing the Allocator API. I would appreciate it if you could review it and share your thoughts.
References

https://github.com/vorner/bumpalo-herd/pull/15

I am also interested in being able to use a Member as an allocator for other collections, and #15 looked exactly what would be needed to be able to do that. Would someone be able to explain why that was closed?

https://github.com/vorner/bumpalo-herd/pull/15#pullrequestreview-2411873462 This was the reason.
If you need Member as an allocator, you can just use Member::as_bump()

Apologies for the previous comment being unclear, I didn't have a lot of time to spend on it.
First of all, while I saw that comment previously, I'd missed the distinction between the Allocator being implemented for Herd vs Member.
I saw as_bump, but the specific use I was aiming for was being able to say Vec<_, &Member>. This turned out not to solve my problem even after I borrowed the PR to build against, but my thought was that Vec<_, &Bump> by way of as_bump would have different semantics because the allocations would be tied to the &Bump, which will have a shorter lifetime. I've since realized that while that is technically true, I can't think of a situation where a Vec<_, &Member> is more flexible than Vec<_, &Bump> because the former will still be constrained to the scope of, e.g. a single thread that called get(), so that thread can then just also call as_bump().
Is there any reason brought up that Herd cannot directly implement Allocator? I read the previous comments as suggesting that the behaviour might be suboptimal but otherwise work correctly. If not, I'll have a look at raising a PR to do so.

This is how I perceive this issue:

For Vec<T> where T: !Send, the implementation is relatively straightforward, but it’s almost identical to Vec<_, &Bump> with Member::as_bump().
For Vec<T> where T: Send, I’m uncertain whether it’s feasible to implement it properly. Since multiple containers allocated within a single arena should be able to be sent to multiple different destinations, there’s a concern about how it will be dropped.

But still, if you have an idea of how to approach this, I'll gladly review it! Please enlighten us :)


Minor style fixes (2)

Fixes the margin for the favorites panel header (due to it being enclosed in another div)
Removes the border on the last item in the mobile navbar's dropdown menu

LGTM! Thanks!


Added auto remove Reaction on combat end

This PR is superseded by #23 right? It can be closed?

Yeah this is an old version


HA Docker

Hello there,
Thanks for this integration, I've been waiting for this for a long time;
Can you please advice on how to do this integration if you have HA running in a docker container ?
Thanks

Hi @max-rh,
Unfortunately I'm not quite familiar on how exactly how HA works with the docker containers nor the problems that might rise with it. It's safe to assume this install it's just like any other custom component install and I'm highly confident you might find some similar questions/fixes on https://community.home-assistant.io/


Feature request: generate zap stanza in brew cask create template

Description of feature/enhancement
I've created a simple script that scans common folder for leftover files and generates zap stanza. I'm not that good with bash but maybe it can be intergrated to brew cask create.
Justification
Its seems that not that much people add zap stanza into formulas. So, when uninstalling casks a lot of leftover files are present.
Example use case
Create zap stanza automatically when using brew cask create.

A better approach is proposed in https://github.com/caskroom/homebrew-cask/issues/16339


Added optional folder name filter

@rdmark In case of approval please let me merge this branch, because it will conflict with the other open PR.

@rdmark Note that OPERATION_INFO will only include the "folder_pattern" parameter in its result when rascsi was started with support for nested image file folders, i.e. with -R n and n > 0. Otherwise sub-folders are ignored and a earch pattern would be meaningless.

@rdmark I'm afraid when merging my code from the different PRs I made a mistake, so that there is code in the develop branch now that was still waiting for approval.
This PR now contains the cleaned up, conssolidated code from all recent PRs, not just the filter change.

See feature_nested_files


Request for adding download option for autotranslation of subtitle and autosub on youtube

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've searched the bugtracker for similar feature requests including closed ones

Description
download option for translation of  subtitle and autosub on youtube
that will be much helpful .thanks very much.

This is already possible using the Subtitle Options.
I always download using the following options:
--write-auto-sub --sub-lang "en".
It requires the video to have subtitles (in any language) though (so Youtube has something to auto-translate from).
https://github.com/ytdl-org/youtube-dl/blob/master/README.md#subtitle-options


Title overlays are created with "ugly" content

Steps to reproduce the problem:

Create a visualization.
Add a couple of slides.
Add a title overlay:

Result:
Instead of an overlay with the title of your visualization, you'll get an overlay with this content (or something similar depending of how many slides you've created so far):

Untitled visualization 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55

If you reload the page and add an overlay, the content is ok.

master vis should be used to get the name instead the current one

Fixed.


RestError: AKV10032: Invalid issuer

Package Name: @azure/keyvault-secrets, @azure/identity
Package Version: ^4.1.0, ^1.2.0
Operating system: windows 10
[ ] nodejs

version: 14.15.3

[ ] browser

name/version:

[ ] typescript

version: 3.9.6

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
similar to the bug:  https://github.com/Azure/azure-sdk-for-js/issues/12539
I was following the docs how to reading key-valut in NodeJs+TS
https://docs.microsoft.com/en-gb/javascript/api/overview/azure/keyvault-keys-readme?view=azure-node-latest
To Reproduce
Steps to reproduce the behavior:

follow - https://docs.microsoft.com/en-gb/javascript/api/overview/azure/keyvault-keys-readme?view=azure-node-latest - 'Getting a key' section
run

const { DefaultAzureCredential } = require("@azure/identity");
const { KeyClient } = require("@azure/keyvault-keys");

const credential = new DefaultAzureCredential();

const vaultName = "<YOUR KEYVAULT NAME>";
const url = `https://${vaultName}.vault.azure.net`;

const client = new KeyClient(url, credential);

const keyName = "MyKeyName";

async function main() {
  const latestKey = await client.getKey(keyName);
  console.log(`Latest version of the key ${keyName}: `, latestKey);
  const specificKey = await client.getKey(keyName, { version: latestKey.properties.version! });
  console.log(`The key ${keyName} at the version ${latestKey.properties.version!}: `, specificKey);
}

main();

I did follow the hints from bug https://github.com/Azure/azure-sdk-for-js/issues/12539

this works for me fine - I'm able to get secrets:

az login
az account set --subscription SUBSCRIPTION_ID
az keyvault secret list --vault-name KEY_VAULT_NAME

I did change to use the ClientSecretCredential but the same result:

(node:13300) UnhandledPromiseRejectionWarning: RestError: AKV10032: Invalid issuer. Expected one of https://sts.windows.net/72f988bf..., https://sts.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/, https://sts.windows.net/e2d54eb5..., https://sts.windows.net/33e01921-4d64-4f8c-a055-5bdaffd5e33d/, https://sts.windows.net/975f013f..., found https://sts.windows.net/e46bc88e....

I have noticed that the found issuer match the tenantId I have provided but none of the expected issuers is in my subscription.
Expected behavior
Login and display KV details
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@RomanDvorsky
Hi Roman! I'll be doing my best to help you.

I have noticed that the found issuer match the tenantId I have provided but none of the expected issuers is in my subscription.

When you say that, what do you mean?
The error shows a list of issuers, do you see your tenant in that list of issuers?

@RomanDvorsky
Hi Roman! I'll be doing my best to help you.

I have noticed that the found issuer match the tenantId I have provided but none of the expected issuers is in my subscription.

When you say that, what do you mean?
The error shows a list of issuers, do you see your tenant in that list of issuers?

Hi, this was just an observation - I have no clue what is going on behind.
What I want to say that in my account I do have few tenants but none of those tenants match any of the listed issuers - no idea whether this can be related.
anyway, any idea what can be wrong, there? or whether I should try anything?
thx a lot,
Roman

Hi, this was just an observation - I have no clue what is going on behind.
What I want to say that in my account I do have few tenants but none of those tenants match any of the listed issuers - no idea whether this can be related.
anyway, any idea what can be wrong, there? or whether I should try anything?
thx a lot,
Roman

@RomanDvorsky
Hello again! Let's see how we can dig through and solve this.
DefaultAzureCredential may be using an authentication method related to a different account or subscription based on the environment where you're executing this code. To narrow down the possible issues, let's use a different credential!
Let's try with ClientSecretCredential, where you can pass a tenant ID (subscription), a client ID and a client secret.
In case it helps, here's how to retrieve them:

Follow Documentation to register a new application in the Azure Active Directory (in the Azure portal).
Note down the CLIENT_ID and TENANT_ID.
In the "Certificates & Secrets" tab, create a secret and note that down.

Please also consider trying the InteractiveBrowserCredential or the DeviceCodeCredential.
Our goal is to see if by specifying the account more directly, we are able to get the access you're expecting. Once we have a working approach, we can backtrack into what the original issue might be.
Thank you for your time! I'll be monitoring this issue to answer as soon as possible.

@RomanDvorsky
Hello again! Let's see how we can dig through and solve this.
DefaultAzureCredential may be using an authentication method related to a different account or subscription based on the environment where you're executing this code. To narrow down the possible issues, let's use a different credential!
Let's try with ClientSecretCredential, where you can pass a tenant ID (subscription), a client ID and a client secret.
In case it helps, here's how to retrieve them:

Follow Documentation to register a new application in the Azure Active Directory (in the Azure portal).
Note down the CLIENT_ID and TENANT_ID.
In the "Certificates & Secrets" tab, create a secret and note that down.

Please also consider trying the InteractiveBrowserCredential or the DeviceCodeCredential.
Our goal is to see if by specifying the account more directly, we are able to get the access you're expecting. Once we have a working approach, we can backtrack into what the original issue might be.
Thank you for your time! I'll be monitoring this issue to answer as soon as possible.

Hi,
I did give a try the device code credential l and have this error message - but still do not get what I do wrong..
keyvault details:

the assigned application (permissions are get and list):

application details:

source code:

error message:

I guess do miss something - any ideas?

Hi,
I did give a try the device code credential l and have this error message - but still do not get what I do wrong..
keyvault details:

the assigned application (permissions are get and list):

application details:

source code:

error message:

I guess do miss something - any ideas?

@RomanDvorsky
Thank you so much for your answer! I'll be back as soon as possible.

@RomanDvorsky
Thank you so much for your answer! I'll be back as soon as possible.

@RomanDvorsky
The Device Code Credential requires special configuration on your Azure Active Directory application. This should help:

Go to the Azure Active Directory page in the Azure portal.
Go to "App Registrations" on the left, then find your app on the list that will load in the main area of the screen.
There, go to your application. This will open a page that will show an "Authentication" section on the left pane. Similar to the following screenshot:

Click on "Add a Platform", and something similar to the screenshot below will appear:

Select all of the checkboxes available, then click on "Configure". Once the portal says the configuration has finished successfully (it shouldn't last more than a minute), please run your code again! Let me know how it looks after that.
Thank you for your time.

@RomanDvorsky
The Device Code Credential requires special configuration on your Azure Active Directory application. This should help:

Go to the Azure Active Directory page in the Azure portal.
Go to "App Registrations" on the left, then find your app on the list that will load in the main area of the screen.
There, go to your application. This will open a page that will show an "Authentication" section on the left pane. Similar to the following screenshot:

Click on "Add a Platform", and something similar to the screenshot below will appear:

Select all of the checkboxes available, then click on "Configure". Once the portal says the configuration has finished successfully (it shouldn't last more than a minute), please run your code again! Let me know how it looks after that.
Thank you for your time.

Ok, I tried but this does not help :(
I have modified the app as you mentioned, also tried to check the Allow public client flows checkbox

but have still the same error message:

what is strange about that error message is the KeyVault address - it should be the general address or there should be the address of my KeyVault in that error message? Is the KeyVault address passed properly?
const url = 'https://kvgraphqldevwe.vault.azure.net/';

const credential = new DeviceCodeCredential(
    'e46bc88e-......',
    '55f130f1-...',
);

const client = new SecretClient(url, credential);

export async function getSecret(secretName: string): Promise<string> {
    const secret = await client.getSecret('ApplicationInsights--InstrumentationKey');
    return secret.value;
}

I have tried now to get rid of all variables and pass all thru string constants.

Ok, I tried but this does not help :(
I have modified the app as you mentioned, also tried to check the Allow public client flows checkbox

but have still the same error message:

what is strange about that error message is the KeyVault address - it should be the general address or there should be the address of my KeyVault in that error message? Is the KeyVault address passed properly?
const url = 'https://kvgraphqldevwe.vault.azure.net/';

const credential = new DeviceCodeCredential(
    'e46bc88e-......',
    '55f130f1-...',
);

const client = new SecretClient(url, credential);

export async function getSecret(secretName: string): Promise<string> {
    const secret = await client.getSecret('ApplicationInsights--InstrumentationKey');
    return secret.value;
}

I have tried now to get rid of all variables and pass all thru string constants.

@RomanDvorsky hello hello!
The vault URL https://kvgraphqldevwe.vault.azure.net/ is correctly passed on that snippet.
Would you mind trying with ClientSecretCredential? Sending a tenant ID, the client ID of your AAD application (not the object ID), and the secret of your AAD application?
In case it helps:

Follow Documentation to register a new application in the Azure Active Directory (in the Azure portal).
Note down the CLIENT_ID and TENANT_ID.
In the "Certificates & Secrets" tab, create a secret and note that down.

The idea is to have a working path, so that we can debug more clearly what is going wrong with the DeviceCodeCredential.
Thank you for your time!

Hi,
I have uncommented the code I did use the 1st time and all works fine. Even the device credentials approach works fine now - I have no clue what has happened and what is different now :(
So thx for your time and I'm going to investigate what has been changed
Regards,
R.

Hi,
I have uncommented the code I did use the 1st time and all works fine. Even the device credentials approach works fine now - I have no clue what has happened and what is different now :(
So thx for your time and I'm going to investigate what has been changed
Regards,
R.

@RomanDvorsky glad to know things are working now! Please let us know if anything else happens in the future. Have a good time!

@RomanDvorsky glad to know things are working now! Please let us know if anything else happens in the future. Have a good time!

@sadasant I tried all the above steps and I am still getting same error. Also, I have three subscriptions in which I am facing problem with one subscription and it is working fine in other 2 subscription by using 'DefaultAzureCredential'. I tried using 'DeviceCodeCredential', 'ClientSecretCredential' by following the steps you mentioned as well. I am not sure what is the problem. Please let me know if you need more details.

@deepakhb2 hello, I’m Daniel! I’ll be doing my best to help you.
 What permissions does it have? how have you assigned permissions to those app registrations though your key vault?


Add information about ScheduledEventInformation entity.

@jds-mendix
Hi Jan David,
Thanks for the clarifications.
Since this document is talking about setting up a scheduled event in the model, I think I'll leave most of the subtlety about using the API out of this - otherwise I'll have to add links to the APIs for every action the customer can do through the API.
Since the differences are only there when using the API, perhaps the differences should be described there. Looking quickly at the API definition it is still not clear to me what the distinction between user and system is, but then I must be missing something because the schedule method doesn't even seem to have any way of adding Names or Descriptions. Let me know what I've missed.
If you want me to get involved with improving the API documentation to make this distinction clearer, please let me know.
Can you confirm that this is good enough to go out as it is and we can improve it later?
Thanks

Approved by Jan David, but (https://mendix.slack.com/archives/C3T260XGA/p1614327529035100) but following up on other suggestion before publishing.

Added information about scheduled event documentation not being visible as discussed in JIRA [TW-1225]
Have not added information about SystemScheduledActions as this doesn't seem to be documented anywhere. Will follow up separately - discussion so far is:

… I would suggest to add that there are SystemScheduledActions and that they don’t result in ScheduledEventInformation in the database. Just one sentence along those line might save some poor dev a day or two


npm install of electron-to-chromium does not install the latest 1.3.122 version.

npm view electron-to-chromium shows the latest version is 1.3.121 even though the latest version on https://www.npmjs.com/package/electron-to-chromium is 1.3.122.
This is failing our npm install with:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'browserslist'
npm ERR! notarget

Just tried it and installing succeeds, so I think you got it the moments between it being released (which happened ~12 hours ago) and it being available? If you try again it should work :)

Getting Same error.
Is v1.3.122 is not released?
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'browserslist'
npm ERR! notarget

This is what I get. I'll escalate this to NPM.
[kilian:~/workspace/personal/e2ctest]$ npm install<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 1 package from 1 contributor and audited 1 package in 0.631s
found 0 vulnerabilities

This is what I get. I'll escalate this to NPM.
[kilian:~/workspace/personal/e2ctest]$ npm install<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 1 package from 1 contributor and audited 1 package in 0.631s
found 0 vulnerabilities

I guess if we do npm i electron-to-chromium, it should install the latest version and that is 1.3.122 but it is installing 1.3.121. Can you please try that once

I tried npm install electron-to-chromium, npm install<EMAIL_ADDRESS>and npm install<EMAIL_ADDRESS>they all give me 1.3.122.

npm install electron-to-chromium
Above command is always giving 1.3.121
npm i electron-to-chromium
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>No description

<EMAIL_ADDRESS>added 1 package from 1 contributor and audited 1 package in 1.498s
found 0 vulnerabilities

Not working for me as well when installing browserslist

Working for me this morning 👍

My money is on some CDN issue. NPM cleared the package cache so lets hope that resolves it for everyone. Please let me know!

Yes @Kilian it is resolved now. Cheers
Thanks for prompt response.


Will it support High DPI?

It looks blurry on Windows 10 20H2.

Currently it does not include the DPIAware manifest elements, it's relying on back-compat behavior at the moment.
<asmv3:application>
  <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
    <ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
  </asmv3:windowsSettings>
</asmv3:application>
</assembly>

I'll see if adding the manifest helps, but I'll need to see if I can find a repro.


Serienstream (German) streaming wont work.

Description
If i want to start a video, the loading screen starts and stops directly. Only if i choose Video-Player for playing, it works.

Provider
Serienstream (German)
Reproduction steps

Go to Serienstrem provider
Search any Series
Play

Operating system
Android 13
Logs
No response
Please confirm the following

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] If related to a provider, I have checked the site and it works, but not the app.

Will look into it, thx


Feature/navbar color enhancements

Cleaned up styling on nav-priority and navlink, created navbar anchor ribbon example.
I'm not sure the best way to merge as @sghoweri has other tweaks to navbar as well.

@theSadowski, git pro tip: if your work on a PR gets merged (see #724, #731), create a new branch from master for any additional work.  That'll help reduce merge conflicts and also just keeps things saner for reviewers.
I'm going to rebase your commits that were added after #731 was merged to a new branch and PR now.

This work has been moved to #743.


Low-level error when supplying float to sleep/1

There is possibly a type check missing, so as to return a Prolog error ball?
Test code, using float seconds instead of integer milliseconds:
:- use_module(library(os)).
loop(N) :- between(1,N,_),
    write(hello), nl, sleep(1.0), fail; true.
?- loop(5).

Result:
javascript error: TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')

Also I wonder whether adopting Trealla Prologs convention would make sense:

sleep/1: Takes indeed float argument, seconds
delay/1: Takes integer argument, milliseconds

This would make sleep/1 compatible to SWI-Prolog and SICStus Prolog.


call useDomEffect cleanup and filter metas

Description
This PR fixes two issues:

the useDomEffect cleanup function was never called. So for example imagine you render a <Meta /> for a specific page. If you unmount the component it won't remove the meta tag from the DOM. The logic was always there (see return statement of addDescriptor) but it was just not called.
It renders the last meta tag if some have same name or property. Imagine you have a website with a global description but you want to render a different one within a very specific page. This is similar to how useTitle works at the moment. https://github.com/Shopify/polaris-styleguide/pull/3776 is a real life example where this would be useful.

Type of change

[x] react-html Patch: Bug (non-breaking change which fixes an issue)
[x] react-html Minor: New feature (non-breaking change which adds functionality)

Checklist

[x] I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish new version)

While it does the job in a pragmatic way, I wonder if we could roll our own small uniqeness function instead of bringing in lodash.uniq, which is adding some K to our bundle<EMAIL_ADDRESS>

Thanks @atesgoral and @michenly for your feedback, I learned few stuff on this PR, it was nice 😃


Misplaced Microsoft App Id on deployment

Project
Enterprise Bot Template
Description
Infrastructure deployment process is storing wrong Microsoft App Id.
To Reproduce
After creating a new project with the Enterprise Bot Template start following the deployment steps.
The default command:
msbot clone services --name "Angelique" --luisAuthoringKey "..." --folder "DeploymentScripts\msbotClone" --location "westus"
returns an error for me. So, I use the workaround steps and I create an MS Applicaiton at https://apps.dev.microsoft.com/ first.
Remark: There I can see 'Live SDK application' and 'Converged applications'
msbot clone services --name "Angelique" --luisAuthoringKey "..." --folder "DeploymentScripts\msbotClone" --location "westus" --appId "1c147b6e-..." --appSecret "qmn.."
This way the deployment is completed and a new .bot file is created.
msbot list --bot Angelique.bot --secret "M14p3s..."
Decrypts the .bot file and reveals the values. Where you can see the appId is different.
Also in Azure the Web App Bot Settings are showing wrong app Id:

Clicking the 'Manage' link is redirecting to a page with label 'The application was not found'
Expected behavior
When using the --appId attribute I expect to have that App Id into the .bot file and all corresponding places in Azure deployed infrastructure.
Additional context
I searched the AppId in my files, notes and in Azure - nowhere to find a match.

@ivlaevski after you ran the msbot clone command the first time, did you run this command?

It's possible your bot service was already created with the first appId before you got the error.

I did. I waited group to disapear from Azure list before continuing.
Several times I tried to reproduce the issue with different names... Didn't hapaned for second time.
But I found the length of the name is issue (if it's to short the script is crashing befor the end)


[next] router.replace triggers page refresh on Netlify

When Next.js is deployed in Netlify, the page is updated when Search Params is updated by router.replace. This causes the lazy load component and useEffect to be recalculated and the display to be corrupted.

https://github.com/netlify/next-runtime/issues/2089


request help: apisix-ingress-controller has some warning logs when it starts

Issue description
The apisix-ingress-controller has some warning logs when it starts, please help to make sure it is OK.

After upgrading apisix-ingress-controller to 1.4.1, I found that there are more 'due to client-side throttling, not priority and fairness' logs when starting up. This is because of the addition of the limit queue  AddRateLimited function?
2.xxx in APISIX but do not in declare yaml Is this log normal?

2022-07-19T15:41:08+08:00	warn	api/server.go:75	failed to load x509 key pair, will not start admission server	{"Error": "open /etc/webhook/certs/cert.pem: no such file or directory", "CertFilePath": "/etc/webhook/certs/cert.pem", "KeyFilePath": "/etc/webhook/certs/key.pem"}
I0719 15:41:08.063070       6 leaderelection.go:248] attempting to acquire leader lease ingress-apisix/ingress-apisix-leader...
2022-07-19T15:41:08+08:00	info	ingress/controller.go:320	LeaderElection	{"message": "apisix-ingress-controller-86b99f4fb7-ksw4v became leader", "event_type": "Normal"}
I0719 15:41:08.075986       6 leaderelection.go:258] successfully acquired lease ingress-apisix/ingress-apisix-leader
2022-07-19T15:41:08+08:00	warn	ingress/controller.go:358	found a new leader apisix-ingress-controller-86b99f4fb7-ksw4v
2022-07-19T15:41:08+08:00	info	ingress/controller.go:406	controller tries to leading ...	{"namespace": "ingress-apisix", "pod": "apisix-ingress-controller-86b99f4fb7-ksw4v"}
2022-07-19T15:41:08+08:00	warn	apisix/cluster.go:332	waiting cluster default to ready, it may takes a while
2022-07-19T15:41:08+08:00	info	apisix/cluster.go:160	syncing cache	{"cluster": "default"}
2022-07-19T15:41:08+08:00	info	apisix/cluster.go:372	syncing schema	{"cluster": "default"}
2022-07-19T15:41:08+08:00	info	apisix/cluster.go:164	cache synced	{"cost_time": "144.015795ms", "cluster": "default"}
2022-07-19T15:41:08+08:00	warn	apisix/cluster.go:343	cluster default now is ready, cost time 144.102063ms
I0719 15:41:09.242007       6 request.go:665] Waited for 1.00035705s due to client-side throttling, not priority and fairness, request: GET:https://xxxxxxxx:443/apis/apisix.apache.org/v2beta3/namespaces/project-data-process/apisixroutes
[GIN] 2022/07/19 - 15:41:10 | 200 |      90.758µs |   <IP_ADDRESS> | GET      "/healthz"
[GIN] 2022/07/19 - 15:41:12 | 200 |      44.735µs |   <IP_ADDRESS> | GET      "/healthz"
I0719 15:41:19.242584       6 request.go:665] Waited for 11.000791185s due to client-side throttling, not priority and fairness, request: GET:https://xxxxxxxx:443/apis/apisix.apache.org/v2beta3/namespaces/project-2080ti-speech/apisixroutes
[GIN] 2022/07/19 - 15:41:20 | 200 |      35.668µs |   <IP_ADDRESS> | GET      "/healthz"
[GIN] 2022/07/19 - 15:41:22 | 200 |      50.562µs |   <IP_ADDRESS> | GET      "/healthz"
I0719 15:41:29.441727       6 request.go:665] Waited for 21.199241829s due to client-side throttling, not priority and fairness, request: GET:https://xxxxxxxx:443/apis/apisix.apache.org/v2beta3/namespaces/fleet-system/apisixroutes
[GIN] 2022/07/19 - 15:41:30 | 200 |      45.716µs |   <IP_ADDRESS> | GET      "/healthz"
[GIN] 2022/07/19 - 15:41:32 | 200 |      41.543µs |   <IP_ADDRESS> | GET      "/healthz"
I0719 15:41:39.442269       6 request.go:665] Waited for 25.597955314s due to client-side throttling, not priority and fairness, request: GET:https://xxxxxxxx:443/apis/apisix.apache.org/v2beta3/namespaces/image-test/apisixtlses
[GIN] 2022/07/19 - 15:41:40 | 200 |      36.259µs |   <IP_ADDRESS> | GET      "/healthz"
[GIN] 2022/07/19 - 15:41:42 | 200 |      34.411µs |   <IP_ADDRESS> | GET      "/healthz"
I0719 15:41:49.641502       6 request.go:665] Waited for 25.597537658s due to client-side throttling, not priority and fairness, request: GET:https://xxxxxxxx:443/apis/apisix.apache.org/v2beta3/namespaces/project-cpu-pilot3/apisixtlses
[GIN] 2022/07/19 - 15:41:50 | 200 |      33.491µs |   <IP_ADDRESS> | GET      "/healthz"
[GIN] 2022/07/19 - 15:41:52 | 200 |      32.894µs |   <IP_ADDRESS> | GET      "/healthz"
I0719 15:41:59.641845       6 request.go:665] Waited for 25.597653718s due to client-side throttling, not priority and fairness, request: GET:https://xxxxxxxx:443/apis/apisix.apache.org/v2beta3/namespaces/team-speech-prod-2080ti/apisixconsumers
[GIN] 2022/07/19 - 15:42:00 | 200 |      41.111µs |   <IP_ADDRESS> | GET      "/healthz"
[GIN] 2022/07/19 - 15:42:02 | 200 |      35.815µs |   <IP_ADDRESS> | GET      "/healthz"
I0719 15:42:09.841566       6 request.go:665] Waited for 25.598399031s due to client-side throttling, not priority and fairness, request: GET:https://xxxxxxxx:443/apis/apisix.apache.org/v2beta3/namespaces/kube-system/apisixconsumers
[GIN] 2022/07/19 - 15:42:10 | 200 |      35.009µs |   <IP_ADDRESS> | GET      "/healthz"
[GIN] 2022/07/19 - 15:42:12 | 200 |      35.335µs |   <IP_ADDRESS> | GET      "/healthz"
I0719 15:42:19.842223       6 request.go:665] Waited for 25.598635335s due to client-side throttling, not priority and fairness, request: GET:https://xxxxxxxx:443/apis/apisix.apache.org/v2beta3/namespaces/aidi-pre-prod/apisixconsumers
[GIN] 2022/07/19 - 15:42:20 | 200 |      33.136µs |   <IP_ADDRESS> | GET      "/healthz"
[GIN] 2022/07/19 - 15:42:22 | 200 |      30.947µs |   <IP_ADDRESS> | GET      "/healthz"
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: 7ffe60f0 in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: c72d086f in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: 52d1131b in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: fadbd928 in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: e33d4d1f in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: 430b4caa in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: ca7b3e0e in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: af513e9e in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: e6f9da80 in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: 95d63dab in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: 6dfa3293 in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: ea1f3daf in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: 1dc8d8b1 in APISIX but do not in declare yaml
2022-07-19T15:42:23+08:00	warn	ingress/compare.go:186	route: 28fa99fc in APISIX but do not in declare

Environment

your apisix-ingress-controller version (output of apisix-ingress-controller version --long):1.4.1
your Kubernetes cluster version (output of kubectl version):1.18
if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):

Are there some routes in apisix that are not created through the apisix ingress controller?

These logs are some expected output, but it also means that you are currently facing some situation.

Same as 👆 you have some routes not created by APISIX Ingress

You are experiencing some current throttling.
You can look at older logs, or restart it to see the latest logs

These logs are some expected output, but it also means that you are currently facing some situation.

Same as 👆 you have some routes not created by APISIX Ingress
You are experiencing some current throttling.
You can look at older logs, or restart it to see the latest logs

1.Yes, traefik and apisix are currently coexisting, there was a change to the annotaion apisix class of an ingress, but this ingress has now been removed.
2.I've tried restart  times and only version 1.4.1 has this problem when starting up

you can enable debug level log to see more details


Compatibility with xamarin forms?

I am creating a chat application. I have successfully added Sharp.XMPP library using Nuget in Xamarin Forms project using Shared Assets cause i came to know that PCL is not supported from one the post on stackoverflow. But i can not use library in my shared code cause i can not reference it there.

you can use sharp.comp in Xamarin.Android.
On 12-Nov-2017 6:38 pm, "Ankit"<EMAIL_ADDRESS>wrote:

I am creating a chat application. I have successfully added Sharp.XMPP
library using Nuget in Xamarin Forms project using Shared Assets cause i
came to know that PCL is not supported from one the post on stackoverflow.
But i can not use library in my shared code cause i can not reference it
there.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pgstath/Sharp.Xmpp/issues/62, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAj3GaA9h3XLBKRpSnHX-L3Haz_1CsCbks5s1u3SgaJpZM4Qa3yG
.

Then how am i able to use single code base for all platforms.

@axcl , That library won't run inside a PCL, I faced that problem when I tried to use, but that will not be a problem in a Shared project. once you create a Shared project, you can just create a ChatService.cs and handle the chat logic. There others suggestions like create two individual PCL for Android and iOS. but in my case just the share project was enough. be advise though lots of example on the community for xamarin.forms are made on PCL. that was one of the drawbacks. a part from that, I think that library will be useful.
cheers...


[Feature Request] ability to mount image and browse it using a file manager

AFAIK ARTS already works by mounting to /tmp/.mountXYZ and then executing whatever is specified.
Currently however it is not very convenient to edit files which are inside that image as everything needs to be done using the command line.
Would it be possible to add the ability to just mount the image and then opening the mount path with the default file manager so that one could use that to copy / move / modify files?
I think that could be a very big QOL improvement.
PS: something like arts-mount would do and then open the directory using xdg-open /path/to/mounted/image
PPS: what exactly is the difference between arts-exec and arts-root ?

Hi @zocker-160 thanks for the suggestion, I'm working on this and will let you know right after it is finished :)

Hi! Feature implemented in the latest release, instructions in the README.md.

awesome thank you! :heart:


Fix corner case in TestKnnVectorQuery.testRandomWithFilter [LUCENE-10589]

TestKnnVectorQuery.testRandomWithFilter can fail with java.lang.UnsupportedOperationException.
Reproducible command
./gradlew test --tests TestKnnVectorQuery.testRandomWithFilter -Dtests.seed=1DA39B92702DAC45 -Dtests.multiplier=3

org.apache.lucene.search.TestKnnVectorQuery > testRandomWithFilter FAILED
    java.lang.UnsupportedOperationException: exact search is not supported
        at __randomizedtesting.SeedInfo.seed([1DA39B92702DAC45:6BEAC2197AD96AE0]:0)
        at org.apache.lucene.search.TestKnnVectorQuery$ThrowingKnnVectorQuery.exactSearch(TestKnnVectorQuery.java:715)
        at org.apache.lucene.search.KnnVectorQuery.searchLeaf(KnnVectorQuery.java:151)
        at org.apache.lucene.search.KnnVectorQuery.rewrite(KnnVectorQuery.java:108)
        at org.apache.lucene.search.ConstantScoreQuery.rewrite(ConstantScoreQuery.java:44)
        at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:789)
        at org.apache.lucene.tests.search.AssertingIndexSearcher.rewrite(AssertingIndexSearcher.java:69)
        at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:803)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:685)
        at org.apache.lucene.search.IndexSearcher.searchAfter(IndexSearcher.java:667)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:584)
        at org.apache.lucene.search.TestKnnVectorQuery.testRandomWithFilter(TestKnnVectorQuery.java:556)

In some edge cases (depending on the random seed), KnnVectorQuery.java#147 becomes false, and then exactSearch() is called.
The upper bound of the test range query (filter) could be 200 (the max value of "tag" field + 1) instead of lower + 150 to make it "unrestrictive"?

Migrated from LUCENE-10589 by Tomoko Uchida (@mocobeta), updated Jul 29 2022
Pull requests: https://github.com/apache/lucene/pull/920

We've since added support for exact knn search to the simpletext codec so this shouldn't happen any more. FWIW I did try running the test using the repro line above (on branch 9x) and it now passes.


Unable to run main TV app in Chrome browser

Hi team,
Can you please help me to check, why we are unable to run our TV app in the Chrome browser.
Appium verson: 2.0.0-beta.46
Windows 10: 21H2
Steps taken:

This is the script we used:

const wd = require("webdriverio");

async function main() {
  const driver = await wd.remote({
    port: 4723,
    capabilities: {
      platformName: "TizenTV",
      "appium:automationName": "TizenTV",
      "appium:deviceName": "<IP_ADDRESS>:26101",
      "appium:chromedriverExecutable":
        "C:\\Users\\ckk\\Downloads\\appiumWithJS\\chromedriver.exe",
      "appium:noReset": true,
      "appium:appPackage": "agsyterusi8.HTML5",
    },
  });

  let page = await driver.getPageSource();
  console.log(page);
}

main();

After running the code above. We get this page:

Below are the appium logs:

[Appium] Welcome to Appium v2.0.0-beta.46
[Appium] Attempting to load driver tizentv...
[debug] [Appium] Requiring driver at C:\Users\ckk\.appium\node_modules\appium-tizen-tv-driver
[Appium] Appium REST http interface listener started on <IP_ADDRESS>:4723
[Appium] Available drivers:
[Appium]   -<EMAIL_ADDRESS>(automationName 'TizenTV')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[HTTP] --> POST /session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"TizenTV","appium:automationName":"TizenTV","appium:deviceName":"<IP_ADDRESS>:26101","appium:chromedriverExecutable":"C:\\Users\\ckk\\Downloads\\appiumWithJS\\chromedriver.exe","appium:noReset":true,"appium:appPackage":"agsyterusi8.HTML5"},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"TizenTV","appium:automationName":"TizenTV","appium:deviceName":"<IP_ADDRESS>:26101","appium:chromedriverExecutable":"C:\\Users\\ckk\\Downloads\\appiumWithJS\\chromedriver.exe","appium:noReset":true,"appium:appPackage":"agsyterusi8.HTML5"}}
[debug] [AppiumDriver@81c7] Calling AppiumDriver.createSession() with args: [{"platformName":"TizenTV","appium:automationName":"TizenTV","appium:deviceName":"<IP_ADDRESS>:26101","appium:chromedriverExecutable":"C:\\Users\\ckk\\Downloads\\appiumWithJS\\chromedriver.exe","appium:noReset":true,"appium:appPackage":"agsyterusi8.HTML5"},null,{"alwaysMatch":{"platformName":"TizenTV","appium:automationName":"TizenTV","appium:deviceName":"<IP_ADDRESS>:26101","appium:chromedriverExecutable":"C:\\Users\\ckk\\Downloads\\appiumWithJS\\chromedriver.exe","appium:noReset":true,"appium:appPackage":"agsyterusi8.HTML5"},"firstMatch":[{}]}]
[debug] [AppiumDriver@81c7] Event 'newSessionRequested' logged at<PHONE_NUMBER>305 (18:10:43 GMT+0000 (Western European Standard Time))
[Appium] Attempting to find matching driver for automationName 'TizenTV' and platformName 'TizenTV'
[Appium] The 'tizentv' driver was installed and matched caps.
[Appium] Will require it at C:\Users\ckk\.appium\node_modules\appium-tizen-tv-driver
[debug] [Appium] Requiring driver at C:\Users\ckk\.appium\node_modules\appium-tizen-tv-driver
[AppiumDriver@81c7] Appium v2.0.0-beta.46 creating new TizenTVDriver (v0.7.3) session
[AppiumDriver@81c7] Checking BaseDriver versions for Appium and TizenTVDriver
[AppiumDriver@81c7] Appium's BaseDriver version is 8.7.3
[AppiumDriver@81c7] TizenTVDriver's BaseDriver version is 8.7.3
[debug] [TizenTVDriver@b819] Creating session with W3C capabilities: {
[debug] [TizenTVDriver@b819]   "alwaysMatch": {
[debug] [TizenTVDriver@b819]     "platformName": "TizenTV",
[debug] [TizenTVDriver@b819]     "appium:automationName": "TizenTV",
[debug] [TizenTVDriver@b819]     "appium:deviceName": "<IP_ADDRESS>:26101",
[debug] [TizenTVDriver@b819]     "appium:chromedriverExecutable": "C:\\Users\\ckk\\Downloads\\appiumWithJS\\chromedriver.exe",
[debug] [TizenTVDriver@b819]     "appium:noReset": true,
[debug] [TizenTVDriver@b819]     "appium:appPackage": "agsyterusi8.HTML5"
[debug] [TizenTVDriver@b819]   },
[debug] [TizenTVDriver@b819]   "firstMatch": [
[debug] [TizenTVDriver@b819]     {}
[debug] [TizenTVDriver@b819]   ]
[debug] [TizenTVDriver@b819] }
[TizenTVDriver@b819 (7673576c)] Session created with session id: 7673576c-8c82-4f81-b735-257215bea654
[TizenTVDriver] No udid and/or deviceAddress provided; attempting to derive from deviceName "<IP_ADDRESS>:26101"
[debug] [TizenTVDriver] Setting deviceAddress to "<IP_ADDRESS>"
[debug] [TizenTVDriver] Setting udid to "<IP_ADDRESS>:26101"
[TizenTVDriver] Running tizen app 'org.tizen.browser' on device '<IP_ADDRESS>:26101'
[TizenTVDriver] Attempting to verify location of the 'tizen' binary
[TizenTVDriver] Binary was found at C:\tizen-studio\tools\ide\bin\tizen.bat
[TizenTVDriver] Running command: C:\tizen-studio\tools\ide\bin\tizen.bat run -p org.tizen.browser -s <IP_ADDRESS>:26101
[TizenTVDriver] Starting agsyterusi8.HTML5 in debug mode on <IP_ADDRESS>:26101
[TizenTVDriver] Attempting to verify location of the 'sdb' binary
[TizenTVDriver] Binary was found at C:\tizen-studio\tools\sdb.exe
[TizenTVDriver] Running command: C:\tizen-studio\tools\sdb.exe -s <IP_ADDRESS>:26101 shell 0 debug agsyterusi8.HTML5
[TizenTVDriver] Debug port opened on 45585
[TizenTVDriver] Chose local port 10076 for remote debug communication
[TizenTVDriver] Forwarding local TCP port 10076 to port 45585 on device <IP_ADDRESS>:26101
[TizenTVDriver] Running command: C:\tizen-studio\tools\sdb.exe -s <IP_ADDRESS>:26101 forward tcp:10076 tcp:45585
[debug] [Chromedriver@c0fb] Changed state to 'starting'
[Chromedriver@c0fb] Set chromedriver binary as: C:\Users\ckk\Downloads\appiumWithJS\chromedriver.exe
[debug] [Chromedriver@c0fb] Killing any old chromedrivers, running: wmic process where "commandline like '%chromedriver.exe%--port=10081%'" delete
[debug] [Chromedriver@c0fb] Successfully cleaned up old chromedrivers
[Chromedriver@c0fb] Spawning chromedriver with: C:\Users\ckk\Downloads\appiumWithJS\chromedriver.exe --port=10081 --verbose
[debug] [Chromedriver@c0fb] Chromedriver version: '2.29.461591'
[debug] [Chromedriver@c0fb] Chromedriver v. 2.29.461591 does not fully support W3C protocol. Defaulting to MJSONWP
[debug] [Chromedriver@c0fb] Matched '/status' to command name 'getStatus'
[debug] [Chromedriver@c0fb] Proxying [GET /status] to [GET http://<IP_ADDRESS>:10081/status] with no body
[debug] [Chromedriver@c0fb] Got response with status 200: {"sessionId":"","status":0,"value":{"build":{"version":"alpha"},"os":{"arch":"x86_64","name":"Windows NT","version":"10.0.19044"}}}
[Chromedriver@c0fb] Starting MJSONWP Chromedriver session with capabilities: {
[Chromedriver@c0fb]   "desiredCapabilities": {
[Chromedriver@c0fb]     "goog:chromeOptions": {
[Chromedriver@c0fb]       "debuggerAddress": "<IP_ADDRESS>:10076"
[Chromedriver@c0fb]     },
[Chromedriver@c0fb]     "loggingPrefs": {
[Chromedriver@c0fb]       "browser": "ALL"
[Chromedriver@c0fb]     }
[Chromedriver@c0fb]   }
[Chromedriver@c0fb] }
[debug] [Chromedriver@c0fb] Matched '/session' to command name 'createSession'
[debug] [Chromedriver@c0fb] Proxying [POST /session] to [POST http://<IP_ADDRESS>:10081/session] with body: {"desiredCapabilities":{"goog:chromeOptions":{"debuggerAddress":"<IP_ADDRESS>:10076"},"loggingPrefs":{"browser":"ALL"}}}
[debug] [Chromedriver@c0fb] Webview version: 'Chrome/56.0.2924.87'
[debug] [Chromedriver@c0fb] Got response with status 200: {"sessionId":"b9907c8b4008cc73f36f9f76f86b8061","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.29.461591 (62ebf098771772160f391d75e589dc567915b233)","userDataDir":"C:\\Users\\ckk\\AppData\\Local\\Temp\\scoped_dir19124_1022"},"cssSelectorsEnabled":true,"databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":false,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platform":"Windows NT","rotatable":false,"takesHeapSnapshot":true,"takesScreenshot":true,"unexpectedAlertBehaviour":"","version":"56.0.2924.87","webStorageEnabled":true}}
[Chromedriver@c0fb] Determined the downstream protocol as 'MJSONWP'
[debug] [Chromedriver@c0fb (b9907c8b)] Changed state to 'online'
[AppiumDriver@81c7] New TizenTVDriver session created successfully, session 7673576c-8c82-4f81-b735-257215bea654 added to master session list
[debug] [AppiumDriver@81c7] Event 'newSessionStarted' logged at<PHONE_NUMBER>305 (18:10:51 GMT+0000 (Western European Standard Time))
[debug] [TizenTVDriver@b819 (7673576c)] Cached the protocol value 'W3C' for the new session 7673576c-8c82-4f81-b735-257215bea654
[debug] [TizenTVDriver@b819 (7673576c)] Responding to client with driver.createSession() result: {"capabilities":{"appLaunchCooldown":3000,"rcMode":"js","platformName":"TizenTV","automationName":"TizenTV","deviceName":"<IP_ADDRESS>:26101","chromedriverExecutable":"C:\\Users\\ckk\\Downloads\\appiumWithJS\\chromedriver.exe","noReset":true,"appPackage":"agsyterusi8.HTML5","deviceAddress":"<IP_ADDRESS>","udid":"<IP_ADDRESS>:26101"}}
[HTTP] <-- POST /session 200 8010 ms - 386
[HTTP]
[HTTP] --> GET /session/7673576c-8c82-4f81-b735-257215bea654/source
[HTTP] {}
[TizenTVDriver@b819 (7673576c)] Driver proxy active, passing request on via HTTP proxy
[debug] [Chromedriver@c0fb (b9907c8b)] Matched '/session/7673576c-8c82-4f81-b735-257215bea654/source' to command name 'getPageSource'
[debug] [Chromedriver@c0fb (b9907c8b)] Proxying [GET /session/7673576c-8c82-4f81-b735-257215bea654/source] to [GET http://<IP_ADDRESS>:10081/session/b9907c8b4008cc73f36f9f76f86b8061/source] with no body
[debug] [Chromedriver@c0fb (b9907c8b)] Got response with status 200: {"sessionId":"b9907c8b4008cc73f36f9f76f86b8061","status":0,"value":"

"}
[Chromedriver@c0fb (b9907c8b)] Replacing sessionId b9907c8b4008cc73f36f9f76f86b8061 with 7673576c-8c82-4f81-b735-257215bea654
[HTTP] <-- GET /session/7673576c-8c82-4f81-b735-257215bea654/source 200 51 ms - 279

Expected behavior:
As you can see it looks like it is only opening the browser, is there a way to load the TV app in chrome. We can only do it manually. Below is the image after opening the debug address manually.

it may be that version of chromedriver is too old to respect the debuggerAddress capability. try a newer version of chromedriver. i think 2.46 was the one that i found worked in testing.

Our Tizen TV chrome version is 56.0.2924.0.

When we try to use a compatible chromedriver version, like 2.29 or 2.30, it fails with the initial problem reported on the issue.

And when we try to use a chromedriver newer than 2.30, like 2.46, it gives the following error:

Original error: Unable to automate Chrome version because it is not supported by this version of Chromedriver.
Chrome version on the device: Chrome/56.0.2924.0
Chromedriver supports Chrome version(s): >= 58.0.3029.0

That TV may just be too old then. Any way to do an OS update?

Hi i have experienced same error and i would like to know if its possible to fix this
i already know were the problem is
its in the driver.js file
https://github.com/headspinio/appium-tizen-tv-driver/blob/188510659861461ea5fdbcc957821f25f3b723ef/packages/appium-tizen-tv-driver/lib/driver.js#L359-L363
this code should also account for older versions of chromedriver which dont support goog prefix for chromeOptions
there should be a possibility to check chromedriver version (which i dont know how to do) and depending on this version chromedriver should be started with or without goog prefix
goog prefix was introduced in chromdriver 2.31 but Tizen 4 runs on Chrome 56 which requires chromedriver 2.29 or older
Resolved issue 1786: Feature request: change chromeOptions to goog:chromeOptions [['Pri-3']]
https://chromedriver.storage.googleapis.com/2.31/notes.txt - release notes for chromdriver v2.31
https://stackoverflow.com/questions/63271454/googchromeoptions-vs-chromeoptions-in-protractor - here is explanation

does it work if you change it to something like:
 await this.#chromedriver.start({
   'goog:chromeOptions': {
     debuggerAddress,
   },
   'chromeOptions': {
     debuggerAddress,
   },
 });

i.e., maybe we can just send both and chromedriver will pick up whatever is appropriate for its version?

what about adding something like new capability

capability
description

appium:preW3C
Use this capability when using older versions of Chromedriver (< v2.31) that don't support W3C standard. With Chromedriver v2.31 there was a new feature introduced that changed Chrome-specific capabilities object key from chromeOptions to goog:chromeOptions to be compatible with W3C standard (Chromedriver v2.31 Release notes). We found out that Chromedriver v2.29, which is not compatible with W3C starndard, is required to run on Tizen 4 which has Chrome 56 as Web Engine. Defaults to false.

and then have something like
    if (preW3C) {
      log.info('Using pre W3C standard Chrome-specific capabilities object key!');
    }
    const chromeOptions = {
      [preW3C ? 'chromeOptions' : 'goog:chromeOptions']: {
        debuggerAddress,
      },
    };

yeah I think something like this is great. can you apply the change yourself to ensure that it works, and then raise a PR?

Latest version would handle chromedriver version with Appium's chromedriver auto download feature. It should help to handle the chromedriver version related things.


UI selects Tab 2 by default on navigation to example plugin page

UI defaults to selecting Tab 2 on example plugin after installing with make install-test-plugin and restarting octant.

We need to recheck with the latest Octant and example plugin to see if this is still an issue.

Even though SetAccessor is being called, the JSON in the stream does not contain an accessor.
config: {cards: [,…]}
metadata: {type: "cardList", title: [{metadata: {type: "text"}, config: {value: "Tab 1"}}]}
title: [{metadata: {type: "text"}, config: {value: "Tab 1"}}]
type: "cardList"```

This causes the `accessor` to not be set by the `ngOnChanges` in the tabs component: https://github.com/vmware-tanzu/octant/blob/master/web/src/app/modules/overview/components/tabs/tabs.component.ts#L55

As a result, the `setMarker` code receives a `nil` accessor, which causes undefined behavior, in this case, the last tab in the list being selected as active. https://github.com/vmware-tanzu/octant/blob/master/web/src/app/modules/overview/components/tabs/tabs.component.ts#L78

I attempted to call SetAccessor outside of the gen function, but still no accessor renders on the JSON from the plugin content response.
		component1 := gen("Tab 1", "tab1", request.Path)
		component2 := gen("Tab 2", "tab2", request.Path)

		contentResponse := component.NewContentResponse(component.TitleFromString("Example"))
		component1.SetAccessor("tab1")
		component2.SetAccessor("tab2")

fixed by #369