[Event Request] Table 900 "Assembly Header" new event [OnValidateLocationCodeOnBeforeValidateDates] with Handled-Pattern

Could you please add the event [OnValidateLocationCodeOnBeforeValidateDates] in Table 900 "Assembly Header" in the OnValidate-Trigger for "Location Code"?
OLD
field(20; "Location Code"; Code[10])
        {
            Caption = 'Location Code';
            TableRelation = Location WHERE("Use As In-Transit" = CONST(false));

            trigger OnValidate()
            begin
                CheckIsNotAsmToOrder;
                TestStatusOpen;
                SetCurrentFieldNum(FieldNo("Location Code"));
                ValidateDates(FieldNo("Due Date"), true);
                AssemblyLineMgt.UpdateAssemblyLines(Rec, xRec, FieldNo("Location Code"), false, CurrFieldNo, CurrentFieldNum);
                AssemblyHeaderReserve.VerifyChange(Rec, xRec);
                ...

NEW
field(20; "Location Code"; Code[10])
        {
            Caption = 'Location Code';
            TableRelation = Location WHERE("Use As In-Transit" = CONST(false));

            trigger OnValidate()
            begin
                CheckIsNotAsmToOrder;
                TestStatusOpen;
                SetCurrentFieldNum(FieldNo("Location Code"));
                >>>>>>>>NEW>>>>>>>>
                IsHandled := false;
                OnValidateLocationCodeOnBeforeValidateDates(Rec, xRec, IsHandled);
                if not IsHandled then
                <<<<<<<<NEW<<<<<<<
                    ValidateDates(FieldNo("Due Date"), true);
                AssemblyLineMgt.UpdateAssemblyLines(Rec, xRec, FieldNo("Location Code"), false, CurrFieldNo, CurrentFieldNum);
                AssemblyHeaderReserve.VerifyChange(Rec, xRec);
                ...

    [IntegrationEvent(false, false)]
    local procedure OnValidateLocationCodeOnBeforeValidateDates(var AssemblyHeader: Record "Assembly Header"; xAssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
    begin
    end;

We also need this event!

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. We will update this issue with information about availability. 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.


don't build PHP 7 ourselves

We don't need to now! https://github.com/travis-ci/travis-ci/issues/2480#issuecomment-75988205

Oh wait I already fixed this: https://github.com/igorw/yolo/pull/41


Commit time shows year = 1970

In some case, commit time shows date with year equal to 1970

@yharvey
Do you have by change the timestamp that you were using?

Timestamp is in second. If  i use milliseconds is ok

The code is for seconds..
https://github.com/ZondaX/ledger-matrix/blob/9dab6e604eee426576b6e82c7da26662e5e47f45/tests/utils.cpp#L85
and the tests are also that way..

Ok, I could reproduce. Looking at it now

ok


Add more documentation to rpc messages

Add more documentation to all RPC messages.
Add more documentation for fields of all RPC messages.
Add more information about the lifecycle of message exchanges and the expectations set on peers.

@atoulme the valid syntax for a comment in python is #

@atoulme the valid syntax for a comment in python is #

Looks like @atoulme is ready to write js code

Thanks, I switched to a superior language to help doc markdown ;)


prevents dispenser from placing backpacks

Tried
@EventHandler
    fun BlockDispenseEvent.o() {
        if (item.type.toString().contains("SHULKER")) {
            val loc = block.location
            when ((block.blockData as Directional).facing) {
                BlockFace.SOUTH -> loc.add(0.0,0.0,1.0)
                BlockFace.NORTH -> loc.subtract(0.0, 0.0, 1.0)
                BlockFace.EAST -> loc.add(1.0,0.0,0.0)
                BlockFace.WEST -> loc.subtract(1.0, 0.0, 0.0)
                BlockFace.UP -> loc.add(0.0,1.0,0.0)
                BlockFace.DOWN -> loc.subtract(0.0, 1.0, 0.0)
                else -> loc
            }

            mineInAbyss.schedule {
                waitFor(1)
                val newBlock = block.world.getBlockAt(loc)
                if (newBlock.type.toString().contains("SHULKER")) newBlock.breakNaturally()
                else isCancelled = true
            }
        }
    }

and
@EventHandler
    fun BlockDispenseEvent.o() {
        if (item.type.toString().contains("SHULKER")) {
            isCancelled = true
            val loc = block.location
            when ((block.blockData as Directional).facing) {
                BlockFace.SOUTH -> loc.add(0.0,0.0,1.0)
                BlockFace.NORTH -> loc.subtract(0.0, 0.0, 1.0)
                BlockFace.EAST -> loc.add(1.0,0.0,0.0)
                BlockFace.WEST -> loc.subtract(1.0, 0.0, 0.0)
                BlockFace.UP -> loc.add(0.0,1.0,0.0)
                BlockFace.DOWN -> loc.subtract(0.0, 1.0, 0.0)
                else -> loc
            }

            block.world.dropItemNaturally(loc, item)
            item.type = Material.AIR
        }
    }

whilst first one had some issues the second just doesnt work by setting the item. Not sure why exactly but

Fixed it by looping through the inventory itself. Not sure why it is a setItem method when it does nothing but shrug

Thanks for the PR and teamwork @desmont323 lol
Got it right after hanging up but honor is yours

XD ty ima look at other issue :)


[BUG] tools should be under metadata.tools.components

Describe the bug
Own tools (@cyclonedx/cyclonedx-npm and @cyclonedx/cyclonedx-library) are listed under medatada.tools which is deprecated. They should be listed under medatada.tools.components as suggested since CycloneDX v1.5.
To Reproduce
Any generated JSON document contains the same output. I've tried the following command on an npm project:
npx @cyclonedx/cyclonedx-npm --flatten-components --short-PURLs --spec-version 1.6 --output-format JSON --output-file - --omit dev --omit optional

Expected behavior
Entries under metadata.tools should be listed under medatada.tools.components according to the "component" data structure.
Screenshots or output-paste
{
  "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "version": 1,
  "serialNumber": "urn:uuid:5a388864-adb9-4e91-abf1-3331545c6fc0",
  "metadata": {
    "timestamp": "2024-11-05T12:10:06.815Z",
    "tools": [
      {
        "name": "npm",
        "version": "10.9.0"
      },
      {
        "vendor": "@cyclonedx",
        "name": "cyclonedx-npm",
        "version": "1.19.3",
       ...
      },
      {
        "vendor": "@cyclonedx",
        "name": "cyclonedx-library",
        "version": "6.11.0",
     ...

Environment

@cyclonedx/cyclonedx-npm version: 1.19.3
NPM version: 10.9.0
Node version: v23.1.0
OS: MacOS 14.7 (23H124)

Additional context
This is the part of the code where metadata.tools are being populated:
https://github.com/CycloneDX/cyclonedx-node-npm/blob/96f1046406005dd7449ef0206ce499aaaaa449f3/src/builders.ts#L230-L238

depends on https://github.com/CycloneDX/cyclonedx-javascript-library/issues/1152

I've missed that one. You're right. It's probably better to wait on this one and adopt here accordingly.

required feature preview available via https://github.com/CycloneDX/cyclonedx-javascript-library/releases/tag/v7.0.0-beta.1


Remove author lines, add contributors.md

Resolves #626

I knew our author lines were inaccurate at best, but they were vastly underrepresenting the people who have contributed to this library.

Insane number of contributors!
Do we want a special section for past maintainers like Joe and Craig?

LGTM save for my comment.
We should wait for @nathanielmanistaatgoogle to weigh in

Happy to add a previous maintainers section if both you and @nathanielmanistaatgoogle  think it's important. :)

I agree with @dhermes on having a separate section for former maintainers.

Former maintainers section added. @nathanielmanistaatgoogle PTAL?


Disable the use of insecure arcfour SSH ciphers

This was a recommendation from our pentest.
From sshd_config(5):
If the specified value begins with a +' character,   then the specified ciphers will be appended to the default set   instead of replacing them.  If the specified value begins with a   -' character, then the specified ciphers (including wildcards)
will be removed from the default set instead of replacing them.

For the avoidance of doubt, I got this syntax from this StackOverflow answer and felt it better to be explicit (as these were the specific ones the pentest report mentioned). 😳


Design User Interface

Description
As part of enhancing the user experience for iBrain, we need to create a visually appealing and user-friendly landing page layout. This layout will serve as the first point of contact for our users, so it's essential to design it with clarity and functionality in mind.
Tasks:

[ ] Provide mockups or wireframes for review and feedback before finalizing the design.
[ ] Develop a visually appealing layout for the landing page.
[ ] Design clear sections for showcasing features, pricing plans, and sign-up options.
[ ] Ensure that the design is responsive and optimized for viewing on various devices.
[ ] Incorporate branding elements and visual cues to maintain consistency with the iBrain project.

Hi @mouimet-infinisoft , Please see the design and provide some suggestions on it..
Also I need some suggestions from your end based on following design:

Look at this design, 1) should I put another glass at the top like in this deisgn of should I put it at the bottom like the first design?
2) In the first design look at the button design, its plain,, and on second screenshot, its a little glassy kind of.,, which one looks good?

In your provided design, the buttons looks like this, like full whitish kind, so should I change the button like that? (Get Started button)..?
Please let me know any suggestions from your end please.

https://www.figma.com/file/WopABMjnBRRPAPH6dfipAL/iBrain?type=design&node-id=0%3A1&mode=design&t=SSMlvxHj6qa28hTV-1

should I put another glass at the top like in this deisgn of should I put it at the bottom like the first design?
Refer to below for my preference.
In the first design look at the button design, its plain,, and on second screenshot, its a little glassy kind of.,, which one looks good?
Much better with glassy button like screenshot below.

In your provided design, the buttons looks like this, like full whitish kind, so should I change the button like that? (Get Started button)..?
I don't understand the context and the question. Let me make a suggestion to improve collaboration efficiency. Let's use a standard template sections to define exact working context, clear questions, nominate each mockup in Figma like 1.2.3 and refer to them to make sure we discuss the same thing exactly sounds good for you?
Example:
Context 1
Mockup 1.2.1
screenshot
Questions

What is...
Is there....

Context 2
Mockup 2.3.1
screenshot
Questions

How...
...


Update README.md

Reformatted the entire readme to hopefully make it a bit easier to parse for people new to the integration. Also added a short section at the end to briefly touch on entity states & templates.
Edit: pretty new to using github. So apologies on any issues with the way I set up the pull request. I pretty much left the pull/fork at the default github settings

all in all, i like it very much :D

ok i have fixed it

Glad you liked it!

The fixes make complete sense, appreciate you reviewing and incorporating them!


Add options for decompiler's analysis parameters

The decompiler has a good number of internal parameters for things like limiting expression complexity for both readability and performance. These are currently not exposed as options, but should be.

This needs to be addressed (or at least further informed) by someone with deeper knowledge of the knobs and levers on the decompilation. Changing effort to Medium.


We need one for Ubuntu please

hey there, I like the UI
Please add support for ubuntu and other linux based distros

Sorry, no chance I'd port this to other OS. I can recommend https://parcellite.sourceforge.net, I used it before switching to macOS.

You have the code, you just need to edit a bit and compile .deb file.
Not much of hard work man!

@DeadstarIII Is this some kind of a joke? The application is built with macOS AppKit, it cannot work anywhere except macOS.


WIP: Use uhdm-plugin to build examples

This is draft PR showing how to use Surelog/UHDM with symbiflow toolchain.
It requires updated symbiflow_synth wrapper that is not yet merged. Currently this wrapper checked in locally and is copied to $INSTALL_DIR/xc7/install/bin/symbiflow_synth.
Signed-off-by: Kamil Rakoczy<EMAIL_ADDRESS>

@kamilrakoczy I see that this fails a bunch of tests but does pass a number of xc7 tests.  We would like to use it on xc7 on basic designs.  Is it functional enough for us to try?  If not, will it be soon?
And, can you explain what you mean by the "not yet merged"  link?   Thanks!

@kgugala / @hzeller - Can you help keep this moving forward?

@nelsobe
I've tested some of the xc7 designs on the hardware (Arty A35T) and at least counter_test and pulse_width_led are working out of the box. Some of the designs are passing yosys, but are failing on SDC plugin, as it can't find net with given name. I suspect that if this name would be adjusted to the name generated with uhdm-plugin, this designs can also work.
I think it is already in the state that is functional enough to try basic designs.
Yes, until https://github.com/SymbiFlow/symbiflow-arch-defs/pull/2364 will be merged, manual copying of symbiflow_syth is required.

@kamilrakoczy Thanks for the info!  We have successfully run it on a simple design without errors (hardware test successful as well).  I am thinking it would be easy (given how we are collecting student designs) to run all the student designs through the surelog path as well as the yosys path.
Any thoughts on the net naming problem?   Happy to have a student take a look, do you have any pointers on where to point him?

@nelsobe I briefly looked at picosoc_demo example that fails with missing clk_bufg net.
Adding -debug flag to Surelog commands allows to print more debug information from Surelog/yosys, e.g.:
TARGET="arty_35" SURELOG_CMD="-parse -DSYNTHESIS -debug" make -C picosoc_demo
I confirmed that clk_bufg is correctly read by Surelog and then passed as AST_WIRE to yosys, but it is missing from top_synth.v that is flattened verilog after some initial yosys passes.
I'd say that first step would be to find out why this wire is removed by yosys, so we would need to identify the pass that removes this wire and then we can analyze the code to find out the reason.
As it looks like the problem is in uhdm-plugin, in case of questions regarding implementation details of uhdm-plugin (or any other issues) feel free to open issue in: https://github.com/antmicro/yosys-uhdm-plugin-integration/issues.
Please let us know if you need any additional guidance.

@nelsobe PR in symbiflow-arch-def adding native support for uhdm-plugin to symbiflow toolchain got merged.
Now it is not needed to manually copy symbiflow_synth script. I've updated this PR to reflect this change.

@kamilrakoczy I have generated a few test designs and can see that they all exhibit the problem when the top level ports are multi-bit signals.  This seems to be for inputs only.  Been talking with Prof Nelson @nelsobe, not sure where to look next since I don't know for sure what the structure of surelog/uhdm/yosys is.  Can you provide some ideas on where to look in the code to identify where the subscripts are being lost for inputs?  Happy to continue to dig but am a bit lost as to where the code to be looking in might be found.

Hello, @DCrom1
Source code of the used tools can be found in following repos:
Surelog: https://github.com/chipsalliance/Surelog
uhdm-plugin: https://github.com/SymbiFlow/yosys-symbiflow-plugins/tree/master/uhdm-plugin
yosys: https://github.com/yosysHQ/yosys
When design is read using read_verilog_with_uhdm (that is internally called by symbiflow_synth: https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/xc/xc7/toolchain_wrappers/symbiflow_synth#L127) we are executing UhdmSurelogAstFrontend that is defined in uhdm-plugin: https://github.com/SymbiFlow/yosys-symbiflow-plugins/blob/master/uhdm-plugin/uhdmsurelogastfrontend.cc#L79.
This frontend is internally setting up Surelog and converts design to (in-memory) UHDM file: https://github.com/SymbiFlow/yosys-symbiflow-plugins/blob/master/uhdm-plugin/uhdmsurelogastfrontend.cc#L148.
We are parsing this UHDM file and convers nodes to Yosys AST: https://github.com/SymbiFlow/yosys-symbiflow-plugins/blob/master/uhdm-plugin/UhdmAst.cc#L3908.
When we have Yosys AST we pass it to yosys for simplification and other passes (just like it was read using read_verilog command): https://github.com/SymbiFlow/yosys-symbiflow-plugins/blob/master/uhdm-plugin/uhdmsurelogastfrontend.cc#L157
As picosoc_demo design is working fine using regular read_verilog, I think the problem is in Surelog or uhdm-plugin.
I suggest that first you should confirm, that this multi-bit signal information is present in UHDM file. To do that, please add -debug to SURELOG_CMD and search for given signal name.
Example SystemVerilog code:
input pkg::anon_struct_typedef [3:0] port_packed

Example UHDM output (please look under uhdmtopModules, uhdmallModules doesn't contain all information about signal). UHDM structure is (almost, with few exceptions) identical to VPI from standard:
...
|uhdmtopModules:
...
    |vpiNet:
    \_packed_array_net: (work@anon_module.port_packed), line:9:38, endln:9:49, parent:work@anon_module
      |vpiName:port_packed
<EMAIL_ADDRESS>      |vpiRange:
      \_range: , line:9:33, endln:9:36
        |vpiLeftRange:
        \_constant: , line:9:33, endln:9:34
          |vpiDecompile:3
          |vpiSize:64
          |UINT:3
          |vpiConstType:9
        |vpiRightRange:
        \_constant: , line:9:35, endln:9:36
          |vpiDecompile:0
          |vpiSize:64
          |UINT:0
          |vpiConstType:9
      |vpiElement:
      \_struct_net:
        |vpiTypespec:
        \_struct_typespec: (pkg::anon_struct_typedef), line:2:12, endln:2:18
...

If it is present, next step would be to confirm, that it is present in Yosys AST (before simplification, after uhdm-plugin). This information is also printed after adding -debug.
Example Yosys output:
Dumping AST before simplification:
...
       AST_WIRE   str='\port_packed' input logic basic_prep range=[49:0] multirange=[ 0 50 0 4 ] multirange_swapped=[ 0 0 ]
         ATTR \wiretype:
           AST_CONSTANT   str='\anon_struct_typedef' bits='0101110001100001011011100110111101101110010111110111001101110100011100100111010101100011011101000101111101110100011110010111000001100101011001000110010101100110'(160) basic_prep range=[159:0] int=1701078374
         ATTR \packed_ranges:
           AST_CONSTANT   bits='1'(1) range=[0:0] int=1
             AST_RANGE   basic_prep range=[49:0]
               AST_CONSTANT   bits='00000000000000000000000000110001'(32) signed basic_prep range=[31:0] int=49
               AST_CONSTANT   bits='00000000000000000000000000000000'(32) signed basic_prep range=[31:0]
             AST_RANGE   basic_prep range=[3:0]
               AST_CONSTANT   bits='00000000000000000000000000000011'(32) signed basic_prep range=[31:0] int=3
               AST_CONSTANT   bits='00000000000000000000000000000000'(32) signed basic_prep range=[31:0]
         ATTR \unpacked_ranges:
           AST_CONSTANT   bits='1'(1) range=[0:0] int=1
         AST_RANGE   range=[199:0]
           AST_CONSTANT   bits='00000000000000000000000011000111'(32) signed range=[31:0] int=199
           AST_CONSTANT   bits='00000000000000000000000000000000'(32) signed range=[31:0]
...

If you are not sure, how correct AST should look like, you can try to compare AST of given node between when it is read using read_verilog_with_uhdm and read_verilog. Node read using uhdm-plugin can differ (e.g. have additional attributes), but generally they should look similar.


Type casting

There is no info how is the type handled when type casting or how the type casting is done, e.g. how to get the value when I have the name in text. Are names and Ordinals in same order? Can I find index of the name and use it as index for the Ordinal?

Hello, when opening a github issue the template includes the topic that you are referring to, but in this case your issue is missing that information. Can you please specify which topic you are referencing? Thanks.

Have created the issue again, in correct way (from the page, not on the Github directly).
https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues/1138


SafariViewController Broken Without Error Message

I am trying to use safariViewController for my ionic app. I figured out usage and worked on 6 days ago but simply stopped working and effort to get it working as yield nothing.
I followed the instruction on https://www.npmjs.com/package/@ionic-native/safari-view-controller and also recreated the scenario on https://github.com/adujoseph/safari.git. I presume there as been some breaking changes with the package.
It would not even launch the url I requested. Any Help!!! It is urgent.

Make sure you're using .subscribe() und platform.ready() with it:
    this.platform.ready().then(() => {
      if (this.platform.is('cordova')) {
        this.safariViewController.show({
          url: 'http://example.com'
        }).subscribe();
      }
    });


Support bevy 0.8

You can use v4.0.0-alpha.4 which supports bevy 0.8.

As @Canleskis pointed out, this is already available in version 4.0.0-alpha.4


Switch to byte buffers

Replaces byte array access with byte buffers
TODO for the future: we probably want to utilize FileChannelImpl#map0 and FileChannelImpl#unmap0 methods to allow files that are larger than 2GB.

👍
Can merge now, or when map0/unmap0 is added


don't work if adding scene object on click

I would like to add a scene object on a click event.
I'm able to see the object appearing on the sceneView (after the click) but after recording, i can't see it on the (output) video :(
How to do that ? Thank you

I can't think of a reason why this would not work. We simply pass the scene to the renderer before starting recording, so it shouldn't be a problem if the scene has any changes in it during recording. I'll try to have a look at this.

@halileohalilei I would like to add and change object on the scene by clicking on a collectionView. My scene is updated but when i record the updated scene the object is not visible or it's not in augmented reality anymore. Could you provide a sample example of what you explained in your previous comment. Do you want my email? Thank you so much for your work and help :)

I too am having a similar sort of problem. I don't believe I'm adding any nodes in the middle of recording, but when I look at the finished recording, none of my nodes are present (just the video from the camera). I followed the readme and don't believe I'm doing anything crazy, but I'm happy to provide code if that helps. Any help is greatly appreciated!


Bullet collision compound from hierarchy of convexified meshes (Issue #301 fix part 2/2)

Motivation and Context
This PR is blocked by and merged with PR #309.
Now that the mesh hierarchy is stored, this PR exposes necessary assets and enables BulletRigidObject to construct a btCompoundShape  from a number of btConvexHullShapes with transforms accumulated from the stored hierarchy.
How Has This Been Tested

Local testing with Bullet debugDraw:
Before (Issue #301 ):

After:

Note: hierarchal meshes are still not transformed correctly to align origin with COM, thus we get strange physics behavior for these objects. Fix upcoming and blocked by PR #237.

Question: does Ptex mesh (or any others) follow a different loading process which would miss this fix and/or PR #309 ? Only really targeting loadGeneralMeshData currently.
Types of changes

[x] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

CI tests are failing on frame equality assertions for test_sensors. Now that I am storing the transformation for each component of the loaded file, I'm rolling the info.frame.rotationFrameToWorld() transform into the root of the hierarchy rather than its parent. This likely breaks the expected render_state used for comparison in CI since the transform will have moved down the tree. Open to thoughts here. I could save that transformation elsewhere like MeshMetaData::T_world_local and convert things to expect this variable. Thoughts?

@aclegg3 -- I think I see the bug.  The bug has to due to loading a scene, swapping scenes, and then reloading that scene.  When you reload a scene, all the assets get cached and the R will end up getting applied multiple times in metaData.root.T_parent_local = R * metaData.root.T_parent_local;
If you move the metaData.root.T_parent_local = R * metaData.root.T_parent_local; step to only be done when the file isn't loaded, everything passes.

I noticed issues with loading arbitrary .glb files as scenes (like the wayfair objects themselves). The fix fits nicely into the re-design of this PR using MeshTransformNode to build the collision objects. Once this was done, mesh shifting no longer applied correctly to objects, so rather than push unstable functionality for the sake of small PRs, I rolled the refactor for bounding box shift in also. I'll re-frame the PR description to reflect this.


[Cost Insights] Currencies config

Hey, I just made a Pull Request!

Added an optional currencies config to replace defaultCurrencies. Closes https://github.com/backstage/backstage/issues/6695
:heavy_check_mark: Checklist

[ x] A changeset describing the change and affected packages. (more info)
[ x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x ] All your commits have a Signed-off-by line in the message. (more info)

Alright, let's merge and then either have it added by the new API or reintroduce it later on


Mapping ctrl-tab's key behavior to a different key, key doesn't work the same as ctrl-tab does

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Default ctrl-tab key does pane:show-next-recently-used-item. I would like
ctrl-pagedown to do the same. but even after I mapped ctrl-pagedown to act the same-
Using ctrl-tab works smoothly but using ctrl-pagedown is glitchly.
They should be acting the same but for some unknown reason they don't...
Steps to Reproduce

Map ctrl-pagedown key as ctrl-tab:
open keymap.cjson, type:

'body':
  'ctrl-pagedown': 'pane:show-next-recently-used-item',
  'ctrl-pagedown ^ctrl': 'pane:move-active-item-to-top-of-stack'

Save keymap.cjson file.
2.  Have at least 2 open tabs: call it tab1, tab2, edit both, finish at tab1.
3.1 scenario:
go to tab1
Hold ctrl, type pagedown once, wait 10 secs (3 secs should do it), release ctrl
OR
3.2 scenario:
Hold ctrl, type pagedown several times fast , to move between the open files (in popup, see image below),
Expected behavior:
Switching smoothly between the open files in the popup screen.
Just use the default keys to see Expected behavior:
3.1 scenario:
After releasing of ctrl, it should switch from tab1 to tab2
3.2 scenario:
Hold ctrl, type tab several times fast , and see how it works smoothly, like it should.
The files in popup (open by the first ctrl-tab) are being switched quickly.
Actual behavior:
3.1 scenario:
After releasing of ctrl (after waiting 10 secs), not switching from tab1 to tab2, staying in same tab: tab1
3.2 scenario:
Switching glitchly between the open files in the popup screen.
(If you type pagedown fast enough) You need to click pagedown 2 times (instead of once) for it to switch a single file in popup.
Reproduces how often:
100%, All the time.
Versions
win 10 pro
    Atom    : 1.22.1
    Electron: 1.6.15
    Chrome  : 56.0.2924.87
    Node    : 7.4.0

Additional Information
Glitch only occur when you click fast enough (or to be more accurate: not slow enough)
If you holdctrl then click -pagedown wait 3 secs, click pagedown, wait 3 secs- It will kinda work.
Just try it- easy to see once you try it. It works differently for some reason, not like the default ctrl-tab.
Popup displaying used flies:

Expected behavior:
Need sound so couldn't use gif:
When using default Ctrl-Tab:
Holding Ctrl and clicking Tab a few times:
https://www.dropbox.com/s/v6noknmlap3i5mo/expected.mp4?dl=0
Actual  behavior:
Need sound so couldn't use gif:
When using keys set in keymap.cjson Ctrl-Pagedown:
Holding Ctrl and clicking Pagedowna few times:
https://www.dropbox.com/s/qduep2u412pyrvj/actual.mp4?dl=0

Tag says "needs-reproduction".  Do I need to do something or..?

Sorry that means that we need to try and reproduce @Roko131.  My Windows machine has been giving me a bit of trouble but I'll try to get to this today.

Ok I gave it a try on Windows 10 and see the same behavior you describe.  It seems like it should just work but I might be missing something though, @Ben3eeE maybe you can take a look when you're back?


strictParse

More strict way to parse input. With correct close order an all that. It could be slower.

Closed in 263f053fff6000a0a9cd15b57df586c026018bf9


Spyder not working with IPython 8.17.1

Problem Description
Get the following error when any python module is loaded...
Error in callback <bound method AutoreloadMagics.pre_run_cell of <IPython.extensions.autoreload.AutoreloadMagics object at 0x0000022C42EA4B20>> (for pre_run_cell):
Traceback (most recent call last):

  File ~\AppData\Roaming\Python\Python310\site-packages\IPython\core\events.py:82 in trigger
    func(*args, **kwargs)

TypeError: AutoreloadMagics.pre_run_cell() takes 1 positional argument but 2 were given

If I downgrade IPython to 8.17.0 Spyder fails to load, if I downgrade IPython to 8.16.0 Spyder runs fine and can load modules again.
Note, if I open IPython 8.17.1 directly outside of Spyder it runs fine and can load modules.
What steps reproduce the problem?

install Spyder along side IPython 8.17.1
load a module either from script or from interactive console within Spyder

What is the expected output?  I cannot believe that we are facing the same issue:

Spyder: 5.4.5
IPython: 8.17.1
Python: 3.12
OS: Win 11
all dependencies installed:

Hi @mondjef and @dzalf for the feedback! I was able to reproduce this and it is likely to be an incompatibility with some changes that came with IPython 8.17.1. I think 8.17.0 had even more incompatibilities (like https://github.com/jupyter/qtconsole/issues/588) causing that version to be yanked.
Probably we should try to fix this for 5.5.0 :thinking: What do you think @ccordoba12 ?

it is likely to be an incompatibility with some changes that came with IPython 8.17.1

That's right. IPython 8.17 broke the %autoreload magic, which we use by default in our kernel and causes this error. That was reported in https://github.com/ipython/ipython/issues/14230 by a VSCode maintainer.

Probably we should try to fix this for 5.5.0 🤔 What do you think @ccordoba12 ?

There's little we can do on our side because this requires a fix in IPython.

The only thing I can think of is pinning IPython to 8.16 in our installers. What do you think @dalthviz?

Hi guys @ccordoba12 @dalthviz
I just want to confirm that I did uninstall IPython 8.17.1: pip uninstall ipython
then proceeded to install IPython 8.16: pip install ipython==8.16
which worked like a charm:

🍻

The only thing I can think of is pinning IPython to 8.16 in our installers. What do you think @dalthviz?

That would prevent the 5.5.0 installers to have a broken console indeed :+1: However, 5.5.0 pip installations, or at least new ones, will still experience this issue since they will try to get the most up to date IPython version, rigth? And the same could happen to conda installations, or at least new installations, when the IPython feedstock gets updated to 8.17.1 (currently the latest version is still 8.16.1 but that probably will change soon), no?

However, 5.5.0 pip installations, or at least new ones, will still experience this issue since they will try to get the most up to date IPython version, rigth?

Correct.

And the same could happen to conda installations, or at least new installations, when the IPython feedstock gets updated to 8.17.1 (currently the latest version is still 8.16.1 but that probably will change soon), no?

Yep, that's true too.
However, it seems that bug is fixed now, so we only need to wait for a new release.

However, it seems that bug is fixed now, so we only need to wait for a new release.

So maybe we should add ipython!=8.17.1 to the  spyder-kernels dependencies restrictions to mark this as fixed?

8.17.2 is out! https://pypi.org/project/ipython/8.17.2
@dalthviz, could you check this problem is fixed in that version? Thanks!

@dalthviz, could you check this problem is fixed in that version? Thanks!

Checking seems like IPython 8.17.2 fixes the issue @ccordoba12 :+1:

That's great! Then I'm going to increase our minimal required IPython version to 8.17.2 in order to prevent this error.


Reduce staticcheck warnings (SA1019)

As part of issue #50, removed warnings related to:

SA1019: replaced deprecated protobuf with an adapter package

Signed-off-by: Alexandros Filios<EMAIL_ADDRESS>

LGTM. Please, can we plan similar PRs also for the Token-SDK? Thanks

Created an issue for that https://github.com/hyperledger-labs/fabric-token-sdk/issues/317


Implement Type Error

Implement Type Error
Description:
An error message must be printed when a type error occurs.
For now we will implement Panic-Mode Error Recovery. This can be upgraded in the future.

@martinezlucas98 , may i look into this issue. Can you please tell more detail about it like where the error is detected and which files to be refereed to solve this issue.

@ Shree-Gillorkar right now I am looking at and testing a PR that someone made for problem #26 which I think is necessary before we can try to solve this one (although I could be wrong).

Anyway, the idea here is to do type conversions (and implicit conversion) and check type compatibility when declaring a variable -right and left sides - (also an implicit conversion, I think)

But I will let you know as soon as the PR I mentioned is merged and if this issue has not been resolved in that same PR.
Anyway, thanks for your interest!

@martinezlucas98 ya its all okay. Let me know whenever you complete that PR you talked about.


issue with multiple routing components in single aem page

I have one aem page in which I am using one routing component (react component) and inside the parsys of that routing component, i am dragging another component having link (react component). The parent react routing component is working fine but the child routing component is not rendering properly.
It is giving below error message -
http://localhost:4502/content/valichome/en/groupprofilemnt/jcr:content/par/my_plan_nav/content.json.html (not found)
http://localhost:4502/content/valichome/en/groupprofilemnt/jcr:content/par/my_plan_nav/content/more.json.html (not found)
So instead of "/my_plan_nav/" it should use "/administration_nav/" in the json path for child component
My actual content node structure is -
/content/valichome/en/administration/jcr:content/par/my_plan_nav/content/more/group_profile_nav - parent component
/content/valichome/en/groupprofilemnt/jcr:content/par/administration_nav/content/more - child component
Need help on this issue.

Can you post the whole router component, please?
Can you navigate the pages properly in the author mode?
Is the Router in the same path relative to the page's resource path for all the pages? This is important because the content around the router must be the same for all pages in the SPA. That might be the problem:
page 1:
content/valichome/en/administration/
router component:
content/valichome/en/administration/jcr:content/par/my_plan_nav/content
page 1:
content/valichome/en/groupprofilemnt/
router component:?
content/valichome/en/groupprofilemnt/jcr:content/par/my_plan_nav/content

closed question due to inactivity


Change async cancel to cancel the raw socket only.

Previously we could close an SSL socket which does synchronous I/O. This
made it unreasonable to cancel a call on a UI thread.
Closes: https://github.com/square/okhttp/issues/1592

:+1:

Great to see this one fixed!! :+1: :boom: :tada:


Weird behavior when switching scene and keyRepeatTimers in place

Hello,
I found this odd behavior when switching scene with the usage of the KeyRepeat timers. I have reproduced my issue in this repository, which is a simple as possible. I am not sure what is going on honestly.
It may be linked to the fact that the code is still executed even after we switch scene, or the timers actually keep a reference to some handlers.
I would appreciate your input on this matter. Thanks!
If you run the example in the simulator. Just keep pressing A (holding it). When the counter reaches 11 the Pause Room will be called. It sometimes get stuck here (pressing B to pop the Pause Room will not be taken into account).
https://github.com/Schyzophrenic/keyRepeatRoomy

I reproduced the issue with the standard SDK, let's close this one out, it is not linked to roomy (even if finding a workaround makes it harder when using roomy)
More information here: https://devforum.play.date/t/keyrepeattimer-fires-one-too-many-times/12438

I apologize I never got a chance to look into this, but looks like you found the solution 👍🏻


Error with piping

Is this program not configured to work with pipes ? Gives an error every time. Also, gives the same error when added to startup script of fish shell (not tested on bashrc)

Hi! sadly, lovesay currently does not support pipes but making lovesay behave like a proper unix program is high up on the to-do list. Would you mind providing info/screenshot on how you're trying to use lovesay with pipes and the error it throws?
As for using lovesay in a startup script, I'm really now sure why that would be the case since I've been using lovesay in my .zshrc for quite some time. Would you mind showing how lovesay is being called in your startup script?

This is the error.
Also I am interested in contributing to this project (if you need help :) ).

This turned out to be a rather easy fix and with lovesay 0.2.5, piping should no longer be an issue! Please let me know if the issue still persists. I also appreciate the offer to help, I don't think there is much else to be done but I do appreciate you opening this issue and helping me fix the edge cases :)

Works. Closing this issue.
Ping me if you need help on something.


Fix build error in UWP (3.2)

It seems there were a couple of search'n'replace errors. master is fine regarding this.
Fixes #46314.

Thanks!


Shared local config doesn't work with parent dir or unexpanded paths

I have a config like this:
version: 0.1
cli:
  version: 1.22.2
plugins:
  sources:
    - id: trunk
      ref: v1.6.1
      uri: https://github.com/trunk-io/plugins
    - id: skoti
      local: ../shared

the ../shared contains plugin.yaml and it works.
However, it stops working as soon as I change the local path to either:

.. or ../ - to simply indicate the parent directory
~/configs/trunk or $HOME/configs/trunk - to point to the home directory via tilde expansion or env variable

Is this something that could/should be supported?
It works with ../shared or absolute paths like: /Users/skoti/configs/trunk so might be not worth adding.

If not then it should be fixed to return a proper error.
As .. or ../ makes trunk to hang for infinity ♾ .
And the tilde expansion returns:
.trunk/trunk.yaml:9:7
 9:7  high  [skoti] '~/configs/trunk' does not exist  trunk/config-error

Unable to run check due to invalid config

Which is not true because the file exists, so I would expect something like an unrecognized path error or if we can be specific unsupported path expansion.
Interestingly, if I put a symlink ../shared/plugin.yaml to point to ~/configs/trunk/plugin.yaml via tilde expansion then it works. So looks like only the configured path is significant.

Hi! This is more or less expected behavior for the moment, but I agree the UX isn't great. Some notes:

We don't support ../ since we recursively load plugin.yaml, files, which could lead to some unexpected results if it's also based on your current repo. Regardless, we should include a better error message if you choose a parent/ancestor of your current dir. ../shared is an officially supported use case, as you saw
We don't do any template resolution for that path for HOME or ~, but we certainly could! I've filed this feature request to track it, which you can upvote

Let me know if you have any other questions! We will work on improving the UX here


Exporting/Importing Custom Search Engines Stored in the Profile "Web Data" SQL Store

Read through SUPPORT.md
Ungoogled Chromium Version 80.0.3987.116 (Official Build) (64-bit)
I have a 300+ custom search engines with special keyword assignments for productivity.  I'm trying to export the custom search engines from Chrome and Import them into Ungoogled Chromium.
I've tried two scripts without success.
https://superuser.com/a/1458616
https://ludovic.chabant.com/devblog/2011/01/18/poor-mans-search-engines-sync-for-google-chrome-version-2
For the second method I adjusted the restore path to the SQL file accordingly to match the appropriate Ungoogled Chromium path.
Each time I ran the scripts, I subsequently closed out of Ungoogled Chromium & relaunched it, yet the custom search engines were missing.  However, the file size of the "Web Data" SQL file was increased as expected.
"%HOMEDRIVE%%HOMEPATH%\AppData\Local\Google\Chrome\User Data\Default\Web Data"
When I ran either of the above scripts on Chrome Version 80.0.3987.116 they succeeded as expected.  I thought about just replacing Ungoogled Chromium's existing Web Data SQL file with the one from Chrome, but I'm convinced there is other data stored in the Web Data SQL file that's unrelated to search engine customizations and I don't want to risk corrupting anything or inadvertently introducing unwanted Google tracking.
I appreciate your guy's expertise to get me on the right track.

I am not sure but maybe try running the browser with a new profile along with the following arguments that disable the machine id that encrypts those files:
--disable-machine-id
 --disable-encryption

But I am pretty sure you will have to redo your search engines by hand at least this one more time, as the "web data" file is already encrypted and cannot be used by any other profile.

@flesti   I just added the arguments to a \chrlauncher\64\bin\chrome.exe shortcut and it loaded successfully.  Then I created a test profile and attempted to import the search_engines.json.  No dice.  Chromium just closes (Chrome works and remains open).
Since you mentioned something about it not being able to be used with another profile I went ahead and tested it on Chrome on a different PC with an entirely new profile.  It imports fine there as well.  Is Ungoogled Chromium such that it encrypts the file in question, yet regular Chrome does not?
I'm using chrlauncher because it allows me to automatically keep Ungoogled Chromium up to date.  chrlauncher has Ungoogled Chromium work as a portable version, so I went ahead an tested the regular ungoogled-chromium_79.0.3945.130-2.1_installer-x64.exe but that also behaves the same with Ungoogled Chromium closing the instant I select "open" on importing the search_engines.json

I am not familiar with chrlauncher
All chrome versions encrypt profile data by default. Only ungoogled give us the option not to.
The data needs to be already from an un-crypted profile to be imported into another profile.
There maybe ways to batch export your search engines in to a json or something. I don't know.

Woolyss does a great job explaining the loss of "secure preferences" well here:
https://github.com/henrypp/chrlauncher/issues/116#issuecomment-444426692
@flesti   I appreciate your efforts to help.  In the future I encourage you to warn folks ahead of time as to the consequences of those arguments wiping extensions as a function of secure preferences.  That can set people back a lot of time if they have many highly customized extensions.
Bummer it is 2020 and Chromium devs have still kept the profiles dependent on sync (dependent on Google) in order to be transferable to another computer. (Encryption is great, but at least make it transferable)
It is especially annoying that extensions have been deemed "encrypt by default," but not user's private bookmarks.
I was really hoping to switch from Firefox to Ungoogled Chromium for the security benefit of site isolation, but profiles not being transferable between computers is a deal breaker. I guess I'll just have to stick it out with Firefox until their project Fission site isolation goes stable.
As for exporting/importing custom search engines in Chromium...  I have every confidence that will get sorted out since it's a non-issue for Chrome.  Like bookmarks, the Web Data file is definitely not encrypted, because I can even read it's contents with Notepad++

@CrafterLaughter if you do not want to replace the entire "Web Data" file from Chrome to Ungoogled Chromium, you can just export Table: Keywords using DB Browser for SQLite.
Here's a detailed answer on Stackoverflow:
https://stackoverflow.com/a/57355395/11855487
Using the same answer, I have exported custom search engines from Ungoogled Chromium in Ubuntu Focal to Microsoft Edge in Windows 10.
Though that answer is little confusing in few places, so if you need help, I can post the detailed steps that I have saved for myself.

Let us know if @TheJags's answer does not help.


⚠ Turnos 24x7 has degraded performance

In 80df772, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 2864 ms

Resolved: Turnos 24x7 performance has improved in 81dc770.


Simplify client interface

This PR merges Irmin_client.Store.Make and Irmin_client.Make to avoid having to maintain too many overlapping commands. Some of the Store commands may be kept in order to optimize certain functions (find/get/set/remove, ...)
Fixes #56

@patricoferris @dinakajoy I hope to merge this PR early next week, it touches pretty much every part of the codebase so will likely cause issues if you have an in-progress changes. I can wait to merge if you have any PRs you're planning, but am also happy to help adapt your projects to work with these changes.
Essentially this PR moves Client.Store.Make to Client.Make and merges the two APIs since there was a lot of duplicate functionality.


Split_data config

Detailed Description
values where hard coded as part of https://github.com/openclimatefix/nowcasting_dataset/issues/390 and #424
Would be good to move

train_test_validation_split
train_validation_test_datetime_split
to the config model file

Context
Useful not to hard code things
Possible Implementation
in pydantic model file - here and then loaded here

oops, sorry, I didn't mean for PR #445 to close this issue!


where are the media files stored in android?

This is not really an issue but a request for comment. I can't find where and how the media is stored on android. Can anyone shed some light? thanks. Pointing at relevant code is good as well.
Regards,
Florido

I'm having the same issue. Couldn't find anything related to riot while connected via USB. Do I need root to access downloaded images from chats?!


Update the readme file to make it clear what is required to setup before running start_ocean.

I feel we should set this and not leave that to user. The start_ocean.sh is not meant for production setup, but to run a demo of the full stack as quickly and easy as possible. Telling people to edit configs before starting script kinda defeats the purpose. Thoughts?

The problem is that we can't expose the Azure credentials. But I'll fill in the parity address/password.


Fix globalchat.res from breaking on 1600x900

New requested version of #523, see there for full details.
Added chatlog element with pinCorner set to 0. This fixes the menu party chat from breaking. Thanks to @qkeitoe for revising the fix.

Thanks for the fix!


#629 Added missing instructions for development

Fixes #629

You could add this simple script to the instructions:
#!/bin/sh
CQLSH_BUILD_VERSION="0.14.3"
CQLSH_GITHUB_UR='https://github.com/axonops/axonops-workbench-cqlsh/releases/download'

mkdir -p main/bin
for binary in cqlsh keys_generator; do
  curl -fL ${CQLSH_GITHUB_URL}/${CQLSH_BUILD_VERSION}/${binary}-$(uname -s)-$(uname -m).tar | tar xf - -C main/bin
  mv main/bin/${binary}-$(uname -s)-$(uname -m) main/bin/${binary}
  mv main/bin/${binary}/${binary}-$(uname -s)-$(uname -m) main/bin/${binary}/${binary}
done
sed -i.bak "s/%CQLSH_VERSION%/$CQLSH_BUILD_VERSION/g" renderer/views/index.html
rm -f renderer/views/index.html.bak


[Infrastructure] - Create a WidgetTester extension to drag scroll bars

In https://github.com/superlistapp/super_editor/pull/1649 we added a few tests that drag a scroll bar. This requires hovering over the scroll bar, waiting for it to appear, and then dragging and releasing it.
Let's add a tool to flutter_test_robots to coordinate this behavior, then, let's use that tool in super_editor instead of manually implementing that.
PS - Please copy the relevant details from this ticket over to a flutter_test_robots issue.

I PR is already opened in the test robots repo: https://github.com/Flutter-Bounty-Hunters/flutter_test_robots/pull/23


Running on Win10 and 4090

It appears with win 10 PC & 4090 graphic card, running SAT is only option? (according readme file, diffuser need 25G graphic card memory)

Thanks, I will try the new version.


remove scalelabel parameter in chart config if xaxis is undefined

@JorgeMartinezG not needed here but in general try to add before/after screenshots as you work on it :)


Document new Roslyn Analyzer Rules for Wilson Token Validation

Summary

CA5404: Do not disable token validation checks
CA5405: Do not always skip token validation in delegates

New Roslyn Analyzer Rules PR: https://github.com/dotnet/roslyn-analyzers/pull/5420

Thanks for adding these. Please also add them to the TOC, the index for all CA rules, and the index for security rules.

Thanks for the pointer here (and the other suggestions). I think everything's incorporated now.

Analyzer code has now been merged (https://github.com/dotnet/roslyn-analyzers/pull/5420)


fix 'Spring Cloud Services -> Configuring with Vault' link in docs

Causes make verify to fail.

LGTM
exec decision


Avoid check for certificate changes every 5 seconds

I'm using the avidemux Docker image v1.3.0 / Docker 20.10.3 (build 48d30b5).
I observed that the PIDs for new processes are very large (>800.000) on my system. I installed forkstat and noticed that the avidemux docker image forks 26 processes in a 5 second interval for the following command: sh ./certsmonitor.
I don't need this feature. Is it required? Can I disable it somehow?

I guess you have the SECURE_CONNECTION environment variable set to 1 ?  In this case, there a script that checks for changes in certificates to automatically reload relevant processes.

Yes, I guess the check interval could be configured via an environment variable.

I didn't find such a variable and solved the problem within my docker-compose.yml:
    environment:
      - CERTSMONITOR_INTERVAL=86400
    command: [ "sh", "-c", "sed -i 's/sleep 5/sleep \"$${CERTSMONITOR_INTERVAL:-5}\"/' /etc/services.d/certsmonitor/run && exec /init" ]

The workaround above will become obsolete as soon as docker-avidemux is updated to docker-baseimage-gui 4.0.0.

Yes, this latest image is now using the latest baseimage v4.


Circular references from Article

It looks as though the existing System.Text.Json serialisation library is having problems trying to serialise the Article object graph upon trying to create a new article:
System.Text.Json.JsonException: A possible object cycle was detected which is not supported.
I've been able to fix this on my local (Ubuntu) setup by using the Newtonsoft library instead. If there's an appetite to go after this fix I can create a PR with my changes later this evening?

Please submit a PR.  I actually thought I was using Newtonsoft but my memory is fading.
System.Text.Json isn't very usable until .NET 5.0 or later

Absolutely no worries at all, I'll have a play tonight - thanks!
On Wed, Sep 2, 2020 at 11:55 AM Adam Hathcock<EMAIL_ADDRESS>wrote:

Please submit a PR. I actually thought I was using Newtonsoft but my
memory is fading.
System.Text.Json isn't very usable until .NET 5.0 or later
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gothinkster/aspnetcore-realworld-example-app/issues/85#issuecomment-685616096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWSTN5C4RPARHPHR4X2W6DSDYQDTANCNFSM4QS26PEA
.

Should be fixed.  No longer using Newtonsoft at all.
https://github.com/gothinkster/aspnetcore-realworld-example-app/pull/86


Update sbt-scalafmt to 2.3.2

Updates org.scalameta:sbt-scalafmt from 2.3.0 to 2.3.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-scalafmt" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

Merging #69 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #69   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          41     41
=====================================
  Hits           41     41

Continue to review full report at Codecov.

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


Add environment variable support

Enable tracepusher to use both arguments AND environment variables.
@bradmccoydev FYI

Closing this as it has become stale


Multinest test

I did not commit as you may be switching the test directory.
I am also working on the BayesianAnalysis class as there are some issues with a few of the methods.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a2c95cf). Click here to learn what that means.
The diff coverage is 97.72%.

@@            Coverage Diff            @@
##             master     #280   +/-   ##
=========================================
  Coverage          ?   74.96%
=========================================
  Files             ?      134
  Lines             ?    14074
  Branches          ?        0
=========================================
  Hits              ?    10551
  Misses            ?     3523
  Partials          ?        0

@giacomov I have also added to the codecov the ability to ignore the test directory and the tutorial material. This may help us to avoid having to move these files.

@grburgess can you rebase (i.e., get the latest changes from master) and see if the Travis build succeed? I already solved the problems with the two tests failing, you probably forked before that was ready.


Create ru_ru.json

Russian translate

getting to this one a bit later than the others, but seems fine to me


Error when updating tile on maps with hex grids

Currently trying to use a hex grid produces errors when updating a tile.
Placing and removing are working, but you cannot update a tile.
Steps to reproduce:

Create map with hex grid setting
Place terrain modifier
Attempt to change modifier by clicking it

The following error is produced.
TerrainLayer.js:327 Uncaught (in promise) TypeError: square.getChildAt is not a function
    at TerrainLayer.updateTerrain (TerrainLayer.js:327)
    at TerrainLayer._pointerUp (TerrainLayer.js:353)
    at TerrainLayer.a.emit (index.js:181)
    at r.dispatchEvent (InteractionManager.js:1028)
    at r.processPointerUp (InteractionManager.js:1398)
    at pr.recursiveFindHit (TreeSearch.js:166)
    at pr.recursiveFindHit (TreeSearch.js:106)
    at pr.findHit (TreeSearch.js:191)
    at r.processInteractive (InteractionManager.js:1097)
    at r.onPointerComplete (InteractionManager.js:1261)

This should be fixed now in 0.0.6


Dark Mode/Deployment on streamlit-share/Well defined Readme

*Dark Mode Added
*Deployed on Streamlit-share for faster Access
*Well Defined Readme

Looks great. I'll merge asap


MPI_INIT failed for some reason

I run
torchpack dist-run -np 8 python tools/test.py configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml pretrained/bevfusion-det.pth --eval bbox
But I encountered a problem, I did install openmpi4.0.4 and mpi4py3.0.3

Hi @lilkeker,
Would you mind having a look at the dev/docker branch and see whether it is helpful?
Best,
Haotian

Hi Haotian, thanks for your reply, I think I have solved the MPI_INIT problem,
But now I have encountered a new problem, is there some problem in my data set?  @kentang-mit

I noticed that the pkl file in the nuscenes dataset does not contain info["location"] information,

Here is the distribution of my dataset，some of these folders are generated by code I'm running from other projects

I see, if you are using mmdet3d from other projects, perhaps you can modify camera_info["camera_intrinsics"] to camera_info["cam_intrinsic"] to see whether it works.


Lazyload + dynamic slides issue

Initial slide is not showing when slides state gets updated. But will then appear after clicking on the dots.

Please can you have a look at this please? The image will not be loaded once the state is updated (means new images must be populated). It only happens when lazyload is enabled

This seems fixed once pulled the latest version. Thank you


Proof instead of sec:proof

Great library. Just want to let you know that after signing VC and getting its compacted form with the usage of following documents:

"https://www.w3.org/2018/credentials/v1"
"https://www.w3.org/2018/credentials/examples/v1"
"https://w3id.org/security/suites/ed25519-2020/v1"

It wrongly shows sec:proof instead of just proof. It is visible even in your examples:
https://github.com/filip26/iron-verifiable-credentials/blob/main/src/test/resources/com/apicatalog/vc/verifier/0023-in.jsonld
Probably some minor issue in the Compaction Api.

The same goes for VerifiablePresentation.

Hi,
thank you for reporting that. It's not an issue but a feature.
The library uses standardized JSON-LD 1.1 compaction algorithm. Prefixes are valid JSON-LD 1.1 syntax and  https://www.w3.org/2018/credentials/v1 defines proof as @id=sec:proof. Booth sec:proof and proof are semantically identical.


Python 3.6 (nightly) problem

Only my Python 3.6 build fails (here: https://travis-ci.org/jayvdb/csl-data/jobs/108199025 ) with
$ pip install tox-travis
Collecting tox-travis
  Downloading tox_travis-0.3-py2.py3-none-any.whl
Collecting tox>=2.0 (from tox-travis)
  Downloading tox-2.3.1-py2.py3-none-any.whl (40kB)
    100% |████████████████████████████████| 40kB 7.8MB/s
Collecting virtualenv>=1.11.2 (from tox>=2.0->tox-travis)
  Downloading virtualenv-14.0.6-py2.py3-none-any.whl (1.8MB)
    100% |████████████████████████████████| 1.8MB 368kB/s
Requirement already satisfied (use --upgrade to upgrade): py>=1.4.17 in /home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages (from tox>=2.0->tox-travis)
Collecting pluggy<0.4.0,>=0.3.0 (from tox>=2.0->tox-travis)
  Downloading pluggy-0.3.1-py2.py3-none-any.whl
Installing collected packages: virtualenv, pluggy, tox, tox-travis
Successfully installed pluggy-0.3.1 tox-2.3.1 tox-travis-0.3 virtualenv-14.0.6
$ tox

Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.6-dev/bin/tox", line 11, in <module>
    sys.exit(cmdline())
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/tox/session.py", line 38, in main
    config = prepare(args)
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/tox/session.py", line 26, in prepare
    config = parseconfig(args)
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/tox/config.py", line 208, in parseconfig
    pm.hook.tox_addoption(parser=parser)
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/pluggy.py", line 724, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/pluggy.py", line 338, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/pluggy.py", line 333, in <lambda>
    _MultiCall(methods, kwargs, hook.spec_opts).execute()
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/pluggy.py", line 596, in execute
    res = hook_impl.function(*args)
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/tox_travis.py", line 32, in tox_addoption
    desired_envs = get_desired_envs(config, version)
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/tox_travis.py", line 62, in get_desired_envs
    return split_env(travis_section.get(version, TOX_DEFAULTS.get(version)))
  File "/home/travis/virtualenv/python3.6-dev/lib/python3.6/site-packages/tox/config.py", line 801, in _split_env
    if '\n' in env:
TypeError: argument of type 'NoneType' is not iterable

It might be a tox bug, but if it is then I hope tox-travis can work around it.

Can you also post the tox section of your tox.ini?

It is as boring as it gets.
https://github.com/jayvdb/csl-data/blob/767bc9d2cc3608d9a23932e0ae28ba0df9ec7b5c/.travis.yml
language: python

python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "nightly"

install:
  - pip install tox-travis

script:
  - tox

notifications:
  email: false

Do I need to include py36 in tox.ini ?

I don't think that you'll need to do that, though you may decide that you should. Do you want 3.6 to run on your local tox runs?
My main question is what the value of the TRAVIS_PYTHON_VERSION environment variable is during this run. If it's 3.6, then I can (and should) add that to the default configuration, so that it just works.
Unfortunately, I suspect that it will simply be nightly, and there's no good way for me keep nightly in sync with what's actually nightly at any given time.
Try adding this section to your tox.ini, and please let me know if it works:
[tox:travis]
nightly = py36

And I'm going to see about adding a better error message if/when this gets hit in the future.

Having everyone add
[tox:travis]
nightly = py36

multiplies the problem of keep "nightly" in sync.  We expect that tox-travis understands tox and Travis CI for us. ;-)
#11 is brilliant.


@nabinked I have a similar problem. using 6.0.2 in netcoreapp3.1 razor pages project

@nabinked I have a similar problem. using 6.0.2 in netcoreapp3.1 razor pages project

I had to manually put _content/NToastNotify/toastr.js as otherwise, I got 404 error when the viewcomponent for ntoastnotify was trying to do ntoastnotify.init.

So with the above in mind, I got the onGet to add a toast message and then it shows on page load. However, when I add a toast onPost, it fails to show the toast on the next page, as it used to when I used netcoreapp2.2 with an older version of NToastNotify nuget package.
Please let me know if you know what the issue could be.
Originally posted by @talksik in https://github.com/nabinked/NToastNotify/issues/84#issuecomment-601487117

same issue I am also getting,

I got the same issue doesn't generate the _content/NToastNotify/toastr.js folder and file
Using v6.1.3

Hello, I am running into this same issue with a project I recently upgraded to .NET Core 3.1.  If manually copying the toastr.js file structure to the wwwroot folder works, I'm OK with that.  Where can I find the file and structure to copy?  Is that in the nuget package source somewhere?  Thanks,

Sorry Guys. I have not been able to find time to look at this. Will try to fix this issue tonight.

Can I get a simple repro for this issue  if possible ?

Can you guys upgrade to the latest please ?

Also note that You have to Accept the Cookie policy for Post-Redirect to work. Since by default the aspnet uses CookieTempDataProvider which is used by the library to show toasts.


Add query processing data collection

From this conversation via Slack with @ljsmith93
Start collecting how much data queries will process when they are run.

We will be able to capture some of these metrics once per plugin metrics are being scraped.
For other custom stuff like billed_bytes, I think we can just log it.  With proper log labeling we can run aggregation over the logs.

Billing metrics were collected in some other way. There is no real demand for this feature at this point. We will reopen the ticket if there is a demand for it in the future


VEGA-2455 Cancel button on additional draft page goes to donor page #minor

Checklist

[ ] I have updated the end-to-end tests to work with my changes
[ ] I have added styling for Dark Mode
[ ] I have checked that my UI changes meet accessibility standards

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

Project coverage is 72.22%. Comparing base (d0cfef1) to head (3661bc4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #533   +/-   ##
=======================================
  Coverage   72.22%   72.22%
=======================================
  Files         111      111
  Lines        3788     3788
=======================================
  Hits         2736     2736
  Misses        740      740
  Partials      312      312

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


Caught CrcError, terminating installer workers

Describe the bug
installation will terminate with message Caught CrcError, terminating installer workers
$ aqt install-qt linux desktop 6.6.0 gcc_64 -m qtmultimedia

To Reproduce
Steps to reproduce the behavior:

install aqt using this command
run aqt with this command
See error

$ aqt install-qt linux desktop 6.6.0 gcc_64 -m qtmultimedia
INFO    : aqtinstall(aqt) v3.1.15 on Python 3.10.12 [CPython GCC 11.4.0]
INFO    : Downloading qtbase...
INFO    : Downloading qtmultimedia...
INFO    : Downloading qtsvg...
INFO    : Downloading qtdeclarative...
INFO    : Redirected: ftp.fau.de
INFO    : Redirected: ftp.fau.de
INFO    : Redirected: ftp.fau.de
INFO    : Redirected: ftp.fau.de
INFO    : Downloading qttools...
INFO    : Redirected: ftp.fau.de
INFO    : Finished installation of qtmultimedia-Linux-RHEL_8_6-GCC-Linux-RHEL_8_6-X86_64.7z in 71.82849937
INFO    : Downloading qttranslations...
INFO    : Redirected: ftp.fau.de
INFO    : Downloading qtwayland...
INFO    : Redirected: ftp.fau.de
INFO    : Downloading icu...
INFO    : Redirected: ftp.fau.de
WARNING : Caught CrcError, terminating installer workers
ERROR   :<PHONE_NUMBER>,<PHONE_NUMBER>, '6.6.0/gcc_64/plugins/imageformats/libqsvg.so')
Traceback (most recent call last):
  File "/home/andreas/.local/lib/python3.10/site-packages/aqt/installer.py", line 182, in run
    args.func(args)
  File "/home/andreas/.local/lib/python3.10/site-packages/aqt/installer.py", line 447, in run_install_qt
    run_installer(qt_archives.get_packages(), base_dir, sevenzip, keep, _archive_dest)
  File "/home/andreas/.local/lib/python3.10/site-packages/aqt/installer.py", line 1189, in run_installer
    raise e from e
  File "/home/andreas/.local/lib/python3.10/site-packages/aqt/installer.py", line 1148, in run_installer
    pool.starmap(installer, tasks)
  File "/usr/lib/python3.10/multiprocessing/pool.py", line 375, in starmap
    return self._map_async(func, iterable, starmapstar, chunksize).get()
  File "/usr/lib/python3.10/multiprocessing/pool.py", line 774, in get
    raise self._value
py7zr.exceptions.CrcError:<PHONE_NUMBER>,<PHONE_NUMBER>, '6.6.0/gcc_64/plugins/imageformats/libqsvg.so')
ERROR   : aqtinstall(aqt) v3.1.15 on Python 3.10.12 [CPython GCC 11.4.0]
Working dir: `/home/andreas`
Arguments: `['/home/andreas/.local/bin/aqt', 'install-qt', 'linux', 'desktop', '6.6.0', 'gcc_64', '-m', 'qtmultimedia']` Host: `uname_result(system='Linux', node='E535', release='6.2.0-33-generic', version='#33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep  7 10:33:52 UTC 2', machine='x86_64')`
===========================PLEASE FILE A BUG REPORT===========================
You have discovered a bug in aqt.
Please file a bug report at https://github.com/miurahr/aqtinstall/issues
Please remember to include a copy of this program's output in your report.

Desktop (please complete the following information):

OS: Ubuntu 22.04 LTS
aqt version

$ aqt version
INFO    : aqtinstall(aqt) v3.1.15 on Python 3.10.12 [CPython GCC 11.4.0]

Hi! Please try appending --base https://qt.mirror.constant.com to your command and run it again.

will not continue in this issue, as qt6multimedia is not found.
Closing without contributing here.

... as qt6multimedia is not found.

Well, would you mind explaining a bit more about it?


Ketrem preprod updates 08172022

asset definitions, and typo fixes. updated tables from last pr

Docs Build status updates of commit 5777af3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-driver-docs-pr/dashboard/manage-preprod-submissions.md
:white_check_mark:Succeeded

windows-driver-docs-pr/dashboard/toc.yml
:white_check_mark:Succeeded

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

Thanks! Can you merge? I don't have privs to
From: Anastasia Harris @.>
Sent: Wednesday, August 17, 2022 13:04
To: MicrosoftDocs/windows-driver-docs @.>
Cc: Kevin Tremblay @.>; Author @.>
Subject: Re: [MicrosoftDocs/windows-driver-docs] Ketrem preprod updates 08172022 (PR #3234)
@anaharris-ms approved this pull request.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindows-driver-docs%2Fpull%2F3234%23pullrequestreview-1076349842&data=05|01|kevin.tremblay%40microsoft.com|351c0355f7974cabc9bc08da808ba9c4|72f988bf86f141af91ab2d7cd011db47|1|0|637963634586778448|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=wcN0NZ5IIk2YBcokDw0w%2F3S1vKT4Q%2FQEHo2EcNb9FLI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMI4JSAM6BNEC23DYJZB5HDVZVAT7ANCNFSM562TGVZA&data=05|01|kevin.tremblay%40microsoft.com|351c0355f7974cabc9bc08da808ba9c4|72f988bf86f141af91ab2d7cd011db47|1|0|637963634586778448|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vwGJfx46KQMwKktyJNATdtVQZH1LFU%2FlbCSGauxKueU%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


syncpoint (ticdc): support external ts read for TiCDC's downstream when syncpoint is enabled.

What problem does this PR solve?

Issue Number: close #7419
What is changed and how it works?
Set downstream system variable tidb_external_ts as secondary ts after we insert a new ts-map into downstream's syncpoint table.
Note: The fully function of external ts read depends on https://github.com/pingcap/tidb/pull/38276, so after it's merged, we need to test if it wokrs as expected.

[ ] Do Manual test  and Add Integration test after https://github.com/pingcap/tidb/pull/38276 merge.

Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Support external ts read for TiCDC's downstream when syncpoint is enabled.

please note that If the tidb_enable_external_ts_read is on, the tidb will be in read-only mode, so CDC need some trick (maybe some special privilege granted to the user) to write data to TiDB

Also will there be multiple changefeed write to one downstream cluster? There's only one tidb_external_ts for it

please note that If the `tidb_enable_external_ts_read` is on, the tidb will be in read-only mode, so CDC need some trick (maybe some special privilege granted to the user) to write data to TiDB

RESTRICTED_REPLICA_WRITER_ADMIN ?

Also will there be multiple changefeed write to one downstream cluster? There's only one tidb_external_ts for it

@songrijie PTAL. It seems that the current design of tidb_external_ts doesn't support multiple changefeed sharing the same tidb cluster, as this variable is global, and has only one. Technically, PD could store multiple timestamps in different slots, but the user interface of TiDB should be redesigned to be able to set and use different external timestamps :thinking:

/merge

/merge

/merge

/run-all-tests

/merge


MLX models instantly crash after first message

This is on MacOS with M1 Max 64GB on 0.3.4

@beezbo which macOS version are you on?

Likely due to macOS < 14, which is currently a requirement.


Updating api-dash Projects Dependencies

Fixes #31
Description
There are many updates are available and I upgrade dependencies with the help of "flutter pub upgrade --major -version" command

pubspec.yaml upgrades --

Type of change
[-] Bug fix (non-breaking change which fixes an issue)

Because of these upgrades many errors are solved
Have you read the [Contributing Guidelines on Pull Requests]
[-] Yes
[ ] No

fixes #31

Hi @andoriyaprashant,
It is always recommended to go through the Contributing Guide before opening a PR.
We currently do not accept PRs that involve bumping of dependency versions. (Read here)


Writes to CIRA channel must not split a final '0\r\n\r\n' when chunked encoding is involved

Describe the bug 🪲
AMT may reject an incoming request from a CIRA channel if chunked encoding is used and the final chunk marker 0\r\n\r\n is split over two writes to the channel.  This is arguably a bug with AMT's handling of requests over CIRA, but we can't fix that, nor is it likely that it will ever be fixed on all machines that OpenAMT needs to support.
To Reproduce 🪜
Steps to reproduce the behavior:
It may well occur randomly, but see pull request for an example https://github.com/open-amt-cloud-toolkit/mps/pull/658
In the case of requests to the Alarm Clock Service, the length of a request depends on the length of user supplied strings.  For example, the problem occurs trying to set an alarm named "Alarm Instance 3", but doesn't occur if the name is "Alarm Instance.  The extra two characters are just enough to cause the write of the 0\r\n\r\n to be split.
Currently, an exception is thrown in whatever API was making the call and the API fails mysteriously.  Posting the exact same xml (as was sent via CIRA) to localhost:16992/wsman succeeds.
See also https://github.com/open-amt-cloud-toolkit/mps/issues/661
Expected behavior
Data should be written to the CIRA channel in a format that will be accepted, i.e. when data is written to a CIRA channel, do not split the final 5 characters over more than one write to the channel.
AMT Device (please complete the following information): 🖥

OS: Windows
AMT Version: 15.0.41
AMT Configuration Mode: CCM
Network Configuration: Dynamic IP

Service Deployment (please complete the following information): ⛈

Deployment Type: Docker
Node Version: 16
Component & Version: mps latest

Additional context
Silly level logging was added to log data sent by SendChannelData in APFProcessor.ts.  It was noted that in the cases that failed, the final 0\r\n\r\n was split across two calls.
So, in the example case, the following change was made for test purposes.  With the change, requests that previously failed, succeeded.  No other new failures have been noted with this change.  It obviously needs further testing.
diff --git a/src/amt/APFProcessor.ts b/src/amt/APFProcessor.ts
index 1e74107..ba4e6be 100644
--- a/src/amt/APFProcessor.ts
+++ b/src/amt/APFProcessor.ts
@@ -164,9 +164,15 @@ const APFProcessor = {
         delete cirachannel.sendBuffer
       } else {
         // Send a part of the pending buffer
-        APFProcessor.SendChannelData(cirachannel.socket, cirachannel.amtchannelid, cirachannel.sendBuffer.substring(0, cirachannel.sendcredits))
-        cirachannel.sendBuffer = cirachannel.sendBuffer.substring(cirachannel.sendcredits)
-        cirachannel.sendcredits = 0
+        let toSend = cirachannel.sendcredits
+        if (cirachannel.sendBuffer.length - toSend < 5) {
+          toSend = cirachannel.sendBuffer.length - 5
+        }
+        if (toSend > 0) {
+          APFProcessor.SendChannelData(cirachannel.socket, cirachannel.amtchannelid, cirachannel.sendBuffer.substring(0, toSend))
+          cirachannel.sendBuffer = cirachannel.sendBuffer.substring(toSend)
+          cirachannel.sendcredits -= toSend
+        }
       }
     }
     return 9

The identical code for sending a partial buffer in channelOpenConfirmation would also need fixing, or better, the identical code should be moved to a function.
  sendPartialData (cirachannel: CIRAChannel): void {
    if (cirachannel.sendBuffer != null) {
      // Compute how much data we can send
      if (cirachannel.sendBuffer.length <= cirachannel.sendcredits) {
        // Send the entire pending buffer
        APFProcessor.SendChannelData(cirachannel.socket, cirachannel.amtchannelid, cirachannel.sendBuffer)
        cirachannel.sendcredits -= cirachannel.sendBuffer.length
        delete cirachannel.sendBuffer
      } else {
        // Send a part of the pending buffer
        let toSend = cirachannel.sendcredits
        if (cirachannel.sendBuffer.length - toSend < 5) {
          toSend = cirachannel.sendBuffer.length - 5
        }
        if (toSend > 0) {
          APFProcessor.SendChannelData(cirachannel.socket, cirachannel.amtchannelid, cirachannel.sendBuffer.substring(0, toSend))
          cirachannel.sendBuffer = cirachannel.sendBuffer.substring(toSend)
          cirachannel.sendcredits -= toSend
        }
      }
    }
  },

then...
  channelWindowAdjust: (socket: CIRASocket, len: number, data: string): number => {
    if (len < 9) return 0
    const RecipientChannel = Common.ReadInt(data, 1)
    const ByteToAdd = Common.ReadInt(data, 5)
    const cirachannel = socket.tag.channels[RecipientChannel]
    if (cirachannel == null) {
      logger.error(`${messages.WINDOW_ADJUST_NO_CHANNEL_ID} ${RecipientChannel}`)
      return 9
    }
    cirachannel.sendcredits += ByteToAdd
    logger.silly(`${messages.MPS_WINDOW_ADJUST}, ${RecipientChannel.toString()}, ${ByteToAdd.toString()}, ${cirachannel.sendcredits}`)
    if (cirachannel.state === 2) {
      APFProcessor.sendPartialData(cirachannel)
    }
    return 9
  },

and...
  channelOpenConfirmation: (socket: CIRASocket, length: number, data: string): number => {
    if (length < 17) return 0
    const recipientChannel = Common.ReadInt(data, 1)
    const senderChannel = Common.ReadInt(data, 5)
    const windowSize = Common.ReadInt(data, 9)
    socket.tag.activetunnels++
    const cirachannel = socket.tag.channels[recipientChannel]
    if (cirachannel == null) {
      return 17
    }
    cirachannel.amtchannelid = senderChannel
    cirachannel.sendcredits = cirachannel.amtCiraWindow = windowSize
    logger.silly(`${messages.MPS_CHANNEL_OPEN_CONFIRMATION}, ${recipientChannel.toString()}, ${senderChannel.toString()}, ${windowSize.toString()}`)
    if (cirachannel.closing === 1) {
      // Close this channel
      APFProcessor.SendChannelClose(cirachannel.socket, cirachannel.amtchannelid)
    } else {
      cirachannel.state = 2
      // Send any pending data
      APFProcessor.sendPartialData(cirachannel)
      // Indicate the channel is open
      if (cirachannel.onStateChange) {
        cirachannel.onStateChange.emit('stateChange', cirachannel.state)
      }
    }
    return 17
  },

See: https://github.com/orinem/mps/tree/issue_662

This may well become moot if Content-Length is used as in issue #729.


Proposal: Add ability to easily remove chevron from AppBarButton with flyout when not contained in an CommandBar

Proposal:  Add ability to easily remove chevron from AppBarButton with flyout when not contained in an CommandBar
Summary
When adding AppBarButtons to a container other than an AppBar/CommandBar and there is an attached flyout, a chevron will be shown. This can be removed with great difficulty (see this SO question).
Rationale
Developers should not need to duplicate large swathes of XAML to remove the chevron. A property ShowFlyoutIndicator or similar should be exposed.
Functional Requirements
Add a property ShowFlyoutIndicator to AppBarButton to control whether the chevron is shown.
Important Notes
This issue can be replicated with the following XAML;
<Page
    x:Class="App2.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App2"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <AppBarButton Icon="Accept" HorizontalAlignment="Right" Margin="0,0,0,0" VerticalAlignment="Center" Height="40" Grid.Column="0">
            <AppBarButton.Flyout>
                <Flyout >
                    <TextBlock>Here is some content</TextBlock>
                </Flyout>
            </AppBarButton.Flyout>
        </AppBarButton>
        <AppBarButton Icon="Add" HorizontalAlignment="Right" VerticalAlignment="Center" Height="40" Grid.Column="1">
            <AppBarButton.Flyout>
                <MenuFlyout>
                    <MenuFlyoutItem Text="Menu Item" />
                </MenuFlyout>
            </AppBarButton.Flyout>
        </AppBarButton>

    </Grid>
</Page>

It looks like this:

Could you use a different control here? Like Button (it has a Flyout property too). What's the motivation to use AppBarButton outside a CommandBar?

Could you use a different control here? Like Button (it has a Flyout property too). What's the motivation to use AppBarButton outside a CommandBar?

I could probably use a button; I wanted the appearance of AppBarButtons. I'm not using an AppBar as I'm laying them out in a grid.

Seems like we're missing IconButton or similar to handle this scenario.

Seems like we're missing IconButton or similar to handle this scenario.

Paint3D has a nice icon button with an animation that shows text when you hover, and more compact than AppBarButton:

That would make a great "IconButton" I think, I would use it if it can be open-sourced.


Should be able to attach OIDC SecurityPolicy to Gateways

Description:
Currently, a SecurityPolicy that configures OIDC will only work if attached to an HTTPRoute. This is because the callbackURL and logoutPath have to match the path prefix of the HTTPRoute. (Although SecurityPolicies attached to Gateways aren't rejected, which is confusing)
I have a use-case which I believe is common: one Gateway for all my "internal apps" (Grafana, etc). Rather than bind this to an internal network, I'd like to do "zero trust" - expose it to the internet, and enable OIDC SSO. So I have many HTTPRoutes attached to that Gateway, all of which want OIDC.
Currently I have to make a SecurityPolicy for each one, and attach each one to the relevant HTTPRoute. This is kinda messy from an admin point-of-view.
What's worse is that because the SecurityPolicy's callbackURL has to match not only the HTTPRoute's path but also the OAuth2 client's callback path, I have to make an IdP OAuth2 Client for each HTTPRoute. At my company we use gsuite, which has no API for this, so every time I deploy a new app I have to click-ops a new OAuth2 client, deal with its secret key, etc.
I would be much better if I could make one OAuth2 client, one SecurityPolicy, and attach it to an entire Gateway.

Id vote for the user creating the fallback route for this case i.e. creating a prefix match for / with a non existent backend.

EG needs to report an error when a SecurityPolicy targeting a Gateway, and we need to add this workaround to the user docs.

@zhaohuabing can you highlight the current limitation here wrt routing, redirect and oidc filter ?

The current per-route filter implementation adds a filter for each OIDC/Basic Auth/Ext Auth, etc. config in the HCM http filter chains, and disable them by default, these filter are enable at route-leve base on the targeted route/gateway of the SecurityPolicy.
This approach works well for Basic Auth/Ext Auth, but OIDC is a different:  the redirectURL and logoutURL must match the HTTPRoute in order to make the IDP redirection works. So we can't apply the same OIDC config for the HTTRoutes of a Gateway because their matching paths are different.
As @arkodg suggested, a fallback HTTPRoute on / should solve this
 Gateway1
    Listener1 443
      HTTPRoute1 /myapp1
      HTTPRoute2 /myapp2
      HTTPRoute3 /

OIDC target Gateway1
   issuer ..
   redirctURL /oauth2/callback

@zhaohuabing, @arkodg, thank you very much for looking into this limitation 👍
The biggest inconvenience for us is the need to register in IDP additional allowed redirect URIs for every new service deployment, which can happen even from a fix/feature branch. And, of course, the cleaning up IDP upon removal of the temporary deployments.
Attaching OIDC security policies to Gateways (all HTTP Routes of the gateway) will lead to finding a way to detach them from HTTP Routes, which do not require oauth2 authentication. These are "welcome" pages with invitations to log in. Other examples are health and metrics probes, covered or not by JWT security policies.
I tried a workaround with a fallBack HTTP route on / and a fallback security policy with the identical configuration of the OIDC issuer. It failed with "too many redirects" because, I think, the two filters used different cookies and hmac secrets.
Gateway
  HTTPRoute /myapp
  FallBackRoute /. (using service without any endpoints)

  SecurityPolicy
    target:  HTTPRoute
    OIDC:
      issuer ...
      redirectURL  https://www.example.com/oauth2/callback     # without /myapp in the path

  SecurityPolicy (fallback)
    target:  FallBackRoute
    OIDC:
      issuer ...
      redirectURL  https://www.example.com/oauth2/callback     # without /myapp in the path

Should OIDC configuration be extracted into a separate resource? Then, security policies can reference both HTTP Route and the filter

@zhaohuabing, @arkodg, thank you very much for looking into this limitation 👍
The biggest inconvenience for us is the need to register in IDP additional allowed redirect URIs for every new service deployment, which can happen even from a fix/feature branch. And, of course, the cleaning up IDP upon removal of the temporary deployments.

Yes, this is really annoying. We definitely need to support targeting OIDC on Gateway.

Attaching OIDC security policies to Gateways (all HTTP Routes of the gateway) will lead to finding a way to detach them from HTTP Routes, which do not require oauth2 authentication. These are "welcome" pages with invitations to log in. Other examples are health and metrics probes, covered or not by JWT security policies.

This can be supported sincd Envoy supports disable a filter for specific routes.

I tried a workaround with a fallBack HTTP route on / and a fallback security policy with the identical configuration of the OIDC issuer. It failed with "too many redirects" because, I think, the two filters used different cookies and hmac secrets.
Gateway
  HTTPRoute /myapp
  FallBackRoute /. (using service without any endpoints)

  SecurityPolicy
    target:  HTTPRoute
    OIDC:
      issuer ...
      redirectURL  https://www.example.com/oauth2/callback     # without /myapp in the path

  SecurityPolicy (fallback)
    target:  FallBackRoute
    OIDC:
      issuer ...
      redirectURL  https://www.example.com/oauth2/callback     # without /myapp in the path

Should OIDC configuration be extracted into a separate resource? Then, security policies can reference both HTTP Route and the filter

This doesn't work since the redirectURL URL "https://www.example.com/oauth2/callback" isn't prefixed the target HTTPRoute "/myapp", and the redirect goes to the oauth2 filter at the HTTPRoute FallBackRoute. As you said, these two filters use different cookies for session storage, so the sencond filter doesn't recognize that redirected request.

To a certain extent, yes. OIDC requires targeting a specific HTTP listener or HTTP Route rather than the entire gateway, distinguishing it from other configurations in SecurityPolicy like basic auth, JWT, and CORS. Making it a separate resource is also easier to implement. However, I'm not entirely certain about this since it's no different from the user's perspective.

I see two possible directions for resolving the problem of multiplying the redirectURL

Attaching security policies to the entire Gateway and disabling it on routes where it's not necessary
Configuring the OIDC filter separately and referring it from security policies, which remain attached to HTTP Routes. With this option, users can define multiple OIDC filters and use them in the same Gateway

@sadovnikov The challenge with the OIDC config is that it needs listener-specific targeting within a Gateway. This is because redirectURL must be unique for different hostnames or ports used by each listener. To accommodate this, SecurityPolicy needs SectionName support. This effectively adds a third layer(Listener) to the existing two-layer policy hierarchy, which is already quite complex.

@zhaohuabing, we continued our experiment with a small change in the EG code, which makes OIDC filters on the actual service and the fallback routes use the same cookie. And it worked.

The security policy CRs on the /myapp1, /myapp2 and / routes don't specify redirectURL. For all three, it defaults to https://www.example.com/oauth2/callback and it's only known by the IDP redirect URL. Users can log in to both /myapp1 and /myapp2
Will you accept a PR to allow specifying the cookie suffix through securitypolicies.spec.oidc?

Reusing the same cookie for multiple filters seems like a hack for me. I'd like a more official way to solve this.

@sadovnikov this is genius! Let's do this!

@mt-inside Actually, targeting OIDC SecurityPolicy to Gateways has already been supported. I'll update the doc to add an example.


Shape picker interferes with drawing on iPad

Preflight Checklist

[ x] I agree to follow the Code of Conduct that this project adheres to.
[ x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
When using Freehand to draw on the iPad with an Apple Pencil, inputs like dotting i's or crossing t's are interpreted as double clicks and the shape picker menu appears interrupting text or causing unexpected lines to appear.
To Reproduce
Steps to reproduce the behavior:

Create a new page in either Simple or Sketch modes (other modes not tested).
Click on Freehand tool
Attempt to write a a sentence like 'This is a test'.
New shape picker appears, interrupting writing.

Expected behavior
I would expect in Freehand mode that the shape picker does not appear at all.
Screenshots
If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

draw.io version v22.1.11

Tablet (please complete the following information):

Device: iPad Pro M1
OS: v17.1.2
Browser: stock browser, safari
Version stock browser

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

No

Additional context
Added app to home screen per instructions at https://drawio-app.com/blog/use-draw-io-on-a-tablet/

Fixed in v24.4.5.


Legacy CMAA 2 produces less artifacts

e55031ecf29b23186c3da9f1cbf5e9a31832554a

d69305ca9b0429d4d1b180ff77554f43730ac38e

I haven't updated CMAA 2 in awhile but after doing so I immediately noticed more artifacts in text and a visual comparison confirms this. The 2023 version has less frequent "acne" in text as well as being much less severe overall. In particular, the bottom parts of rounded characters such as "d", "e", & "a" have consistent acne, which isn't a problem on the old version. The large "A" has staircasing artifacts, again, not pressent on the older version.
I have not confirmed which exact commit has caused this issue, just that it doesn't exist in the last 2023 version

Hi, I can't test reshade in OpenGL ( my card is too old and doesn't support OpenGL 4.3 :( ), but I may have a fix, can you test with this version: https://github.com/jfouquart/Insane-Shaders/blob/master/Shaders/CMAA_2.fx ?

After reading many documentations, I think this, is the good fix.

In fact after reading the D3D10 doc, I realized that D3D9 is the exception. So I updated my dev accordingly.
PS: It also has a little bonus, I found a way to optimize the size of the SimpleBlend LUT texture. If it's okay with you I'll include it in the PR.

Would like to re-open this as now CMAA2 is much less effective at actually anti-aliasing compared to the old version, and there still are some artifacts
New version:

Old version:

Draw attention to the hanging lamp in particular, the iron guard wire is blurrier in the new version, has more aliasing, and some slight acne (No, it's not due to the slight darkness difference in the image from the strobe of the light bulb)
Both versions at default settings & I've ensured the textures are up to date. MLAA edge detection doesn't significantly impact the issues I've shown.
This game is running in DX11.

Have you taken a look at https://github.com/LordOfLunacy/Insane-Shaders/issues/13#issuecomment-2484781195 ?

Have you taken a look at #13 (comment) ?

This has completely fixed it!

And with this change is there a regression with the previous game?

@0CCULTIST up ?

@0CCULTIST up ?

There's no regression in OpenGL. It seems to be fixed there too.


Make UncasedStr::new a const fn on Rust 1.56+

This is perhaps a bit premature, since Rust 1.56 hasn't shipped yet, but wanted to open for discussion. This is an alternative to #3.

In Rust 1.56, mem::transmute will be permitted in const fns, which
means UncasedStr::new can become a const fn.
Being able to safely construct UncasedStrs in consts would be really
useful in rust-phf, which currently needs to roll its own unsafe:
https://github.com/rust-phf/rust-phf/blob/eba4cc28d/phf_shared/src/lib.rs#L308-L313

Yeah, this would be great! Let's absolutely do this once 1.56 is out.

Ok, @SergioBenitez, Rust 1.56 is out so I think this is good to go now!

Hey @SergioBenitez, sorry to keep bugging you, but this is hopefully quick!

Thank you for bumping this! Merged in https://github.com/SergioBenitez/uncased/commit/b5b490946b28a5b94336a172e03f2cb2532d705f. Will be in a point release shortly.

Awesome, thanks very much!


feat: add label, dataSources, adminRoles, and roles to the application blueprint

Let's add these attributes to CORE:Application as optional attributes.
{
"name": "label",
"type": "CORE:BlueprintAttribute",
"attributeType": "string",
"optional": true
},
{
"name": "dataSources",
"type": "CORE:BlueprintAttribute",
"attributeType": "string",
"dimensions": "",
"optional": true
},
{
"name": "adminRole",
"type": "CORE:BlueprintAttribute",
"attributeType": "string",
"optional": true
},
{
"name": "roles",
"type": "CORE:BlueprintAttribute",
"attributeType": "string",
"dimensions": "",
"optional": true
}

We decided to have "roles" defined in the Header plugin instead. That will be just a mapping between available Azure roles, and a caption and description.
Please check where "dataSources" is used besides explorer plugin. If it is just there, I would argue that it should be moved to the Explorer plugin config in UI recipe.
Then only label should be added to Application.

[ ] Add Role blueprint that contains the attributes: type, name, label, remoteRoleName
[ ] Add a list of roles to the Application blueprint
[ ] Use the roles added to the Application blueprint in the header plugin
[ ] Remote the roles:[] in the header plugin.


improvement: add examples to table formatting dropdown

cc @metaboulie, just a few tiny changes

looks better 👍


gstreamer1.0-plugins-nvjpeg: fix LIC_FILES_CHKSUM

Signed-off-by: Ilies CHERGUI<EMAIL_ADDRESS>

Thanks!