[Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event.

Chrome console shows this warning information:

[Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated () and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.

Is this caused by the quill.js version?

https://github.com/quilljs/quill/issues/3806
update quill to 2.0.0

hello, any predictions for an update to version 2.0?

Facing performance issues because of this! An update would be helpful

Any update on this?

quilljs/quill#3806 update quill to 2.0.0

hi, any predictions for an update to version 2.0?

got the same issue.

Have to switch to tiptap instead of quill. Not as easy as vue-quill but the vue3 sample of tiptap is really clear.
guess what, its performance is way much better.

I got the same issue on vue-quill, can you recommend rich text editor that can embed video from youtube or any other media sites which will be compatible to vue js 3

I am getting this warning on Firefox Use of Mutation Events is deprecated. Use MutationObserver instead.
Where exactly we need to use MutationObserver Or quick fix update will be great

On Google Chrome warning is
[Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.

Also having this issue with vanilla js quil. Really need to fix this quick plz, or I'll have to move to a different editor

The line _this.domNode.addEventListener('DOMNodeInserted', function () {}); appears to be a workaround to trigger some internal logic in response to changes in the DOM when new nodes are inserted into _this.domNode. However, the empty function doesn't actually perform any meaningful action.
An equivalent using MutationObserver will be something like this:
var observer = new MutationObserver(function () {});
observer.observe(_this.domNode, { childList: true });

childList when set to true, indicates that the observer should monitor changes to the direct children (added or removed nodes) of the target node.
I tried this and the warning is gone. Apparently all works as expected.

same problem

Hello. Tell me, is there a plan to fix this error?

The solution would be to upgrade to version 2 of quill, but it hasn't been released yet https://github.com/quilljs/quill/issues/3806

The problem is we have no updates on the promised version 2 of Quill. Just use Tiptap instead

The problem is we have no updates on the promised version 2 of Quill. Just use Tiptap instead

Your suggestion is to replace quill throughout the project?

There should be an update soon, the developer hoping to release a beta before December.
https://github.com/quilljs/quill/issues/3896

[Deprecation] Listener added for a synchronous DC" Mutation Event. This event type is deprecated quill..
and work is underway to remove it from this browser. usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. consider using
MutationObserver instead ......Unable to perform some functionality because of this! An update or help would be helpful

quilljs/quill#3806 update quill to 2.0.0

只能等待了……

still no update to quill. I'm using tiptap but you have to import almost everything.

Hello guys, any update on when is the new version release going to happen and is this issue with the mutation going to be fixed?

Hey guys also waiting for the update.

The line _this.domNode.addEventListener('DOMNodeInserted', function () {}); appears to be a workaround to trigger some internal logic in response to changes in the DOM when new nodes are inserted into _this.domNode. However, the empty function doesn't actually perform any meaningful action.
An equivalent using MutationObserver will be something like this:
var observer = new MutationObserver(function () {});
observer.observe(_this.domNode, { childList: true });

childList when set to true, indicates that the observer should monitor changes to the direct children (added or removed nodes) of the target node.
I tried this and the warning is gone. Apparently all works as expected.

This method works. Thank you!

Hey everyone, still waiting for fixes in the new version of react-quill.. is there any updates.. on when this error is going to be fixed "[Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event."

Hey everyone, still waiting for fixes in the new version of react-quill.. is there any updates.. on when this error is going to be fixed "[Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event."

I thought you found the solution?

Hey I am also facing this error let us know if someone find the solution for this.

same here, standing in line and waiting.

Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.

iListener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
i have the same problem
Any solution now？

I met the same prompt. Not sure what the impact is.

me using V2.0.0.. but same issue

me too i have same issue

Hi 👋
I'm the maintainer of Quill, and we just released the second beta version of Quill 2.0. This version is considered feature-complete, and I wanted to know if there's anything I can do to help the transition to Quill 2.0.
There are many performance improvements made in Quill 2.0 and the dev/beta version has already been running on Slab for more than one year without any major issues. The version also avoids Mutation Event at all so should solve the issue.
We are still working on the documentation and examples, but https://v2.quilljs.com/ already contains useful info for upgrading to 2.0.

@luin i want to know this plugin vue-quill is maintained by you This plugin doesn't seem to introduce quill 2.0 . How to solve it？

i'm using react-quill v2.0 warning message still appear

@GisungJung react-quill v2.0 uses Quill v1 so that's the reason you still saw the warning.

@GisungJungReact-quill v2.0 使用 Quill v1，所以这就是您仍然看到警告的原因。

When to upgrade React Quill built-in Quill to Quill2？

@GisungJungReact-quill v2.0 使用 Quill v1，所以这就是您仍然看到警告的原因。

When to upgrade React Quill built-in Quill to Quill2

@GisungJungReact-quill v2.0 使用 Quill v1，所以这就是您仍然看到警告的原因。

When to upgrade React Quill built-in Quill to Quill2？

%%javascript

require.config({
  paths: {
    d3: '//cdnjs.cloudflare.com/ajax/libs/d3/5.15.0/d3.min',
    am5: '//www.amcharts.com/lib/5/index',
    am5percent: '//www.amcharts.com/lib/5/percent',
    exporting: '//www.amcharts.com/lib/5/plugins/exporting',
    'am5themes_Animated': '//www.amcharts.com/lib/5/themes/Animated',
  },
  shim: {
    am5: {
      init: function () {
        return am5;
      }
    },
    am5percent: {
      deps: ['am5'],
      exports: 'am5xy',
      init: function () {
        return am5percent;
      }
    },
    exporting: {
      deps: ['am5'],
      exports: 'am5plugins_exporting',
      init: function () {
        return am5plugins_exporting;
      }
    },
    'am5themes_Animated': {
      deps: ['am5'],
      init: function () {
        return am5themes_Animated;
      }
    }
  }
});

element.append('

');
require(['am5', 'am5percent', 'am5themes_Animated', 'exporting'], function (am5, am5percent, am5themes_Animated, exporting) {
  var root = am5.Root.new("chartdiv");

  root.setThemes([
    am5themes_Animated.new(root)
  ]);

  var chart = root.container.children.push(
    am5percent.PieChart.new(root, {})

  );

  // Create
  var series = chart.series.push(
    am5percent.PieSeries.new(root, {
      name: "Series",
      categoryField: "country",
      valueField: "litres"
    })
  );

  // Define data
  series.data.setAll([{
    "country": "Lithuania",
    "litres": 9501.9
  }, {
    "country": "Czech Republic",
    "litres": 301.9
  }, {
    "country": "Ireland",
    "litres": 201.1
  }, {
    "country": "Germany",
    "litres": 165.8
  }, {
    "country": "Australia",
    "litres": 139.9
  }, {
    "country": "Austria",
    "litres": 128.3
  }, {
    "country": "UK",
    "litres": 99
  }, {
    "country": "Belgium",
    "litres": 60
  }, {
    "country": "The Netherlands",
    "litres": 50
  }]);

//   var title = chart.children.unshift(am5.Label.new(root, {
//     text: "Sales by country ($M)",
//     fontSize: 24,
//     textAlign: "center",
//     width: am5.p100,
//     visible: false
//   }));

  // Export the chart as PNG
    // Enable exporting
    var exportings = am5plugins_exporting.Exporting.new(root, {
      menu: am5plugins_exporting.ExportingMenu.new(root, {}),
      pngOptions: {
        maintainPixelRatio: true
      },
    });
    exportings.export()

}, function (err) {
  console.log(err);
});

%%javascript

require.config({
  paths: {
    d3: '//cdnjs.cloudflare.com/ajax/libs/d3/5.15.0/d3.min',
    am5: '//www.amcharts.com/lib/5/index',
    am5percent: '//www.amcharts.com/lib/5/percent',
    exporting: '//www.amcharts.com/lib/5/plugins/exporting',
    'am5themes_Animated': '//www.amcharts.com/lib/5/themes/Animated',
  },
  shim: {
    am5: {
      init: function () {
        return am5;
      }
    },
    am5percent: {
      deps: ['am5'],
      exports: 'am5xy',
      init: function () {
        return am5percent;
      }
    },
    exporting: {
      deps: ['am5'],
      exports: 'am5plugins_exporting',
      init: function () {
        return am5plugins_exporting;
      }
    },
    'am5themes_Animated': {
      deps: ['am5'],
      init: function () {
        return am5themes_Animated;
      }
    }
  }
});

element.append('

');
require(['am5', 'am5percent', 'am5themes_Animated', 'exporting'], function (am5, am5percent, am5themes_Animated, exporting) {
  var root = am5.Root.new("chartdiv");

  root.setThemes([
    am5themes_Animated.new(root)
  ]);

  var chart = root.container.children.push(
    am5percent.PieChart.new(root, {})

  );

  // Create
  var series = chart.series.push(
    am5percent.PieSeries.new(root, {
      name: "Series",
      categoryField: "country",
      valueField: "litres"
    })
  );

  // Define data
  series.data.setAll([{
    "country": "Lithuania",
    "litres": 9501.9
  }, {
    "country": "Czech Republic",
    "litres": 301.9
  }, {
    "country": "Ireland",
    "litres": 201.1
  }, {
    "country": "Germany",
    "litres": 165.8
  }, {
    "country": "Australia",
    "litres": 139.9
  }, {
    "country": "Austria",
    "litres": 128.3
  }, {
    "country": "UK",
    "litres": 99
  }, {
    "country": "Belgium",
    "litres": 60
  }, {
    "country": "The Netherlands",
    "litres": 50
  }]);

//   var title = chart.children.unshift(am5.Label.new(root, {
//     text: "Sales by country ($M)",
//     fontSize: 24,
//     textAlign: "center",
//     width: am5.p100,
//     visible: false
//   }));

  // Export the chart as PNG
    // Enable exporting
    var exportings = am5plugins_exporting.Exporting.new(root, {
      menu: am5plugins_exporting.ExportingMenu.new(root, {}),
      pngOptions: {
        maintainPixelRatio: true
      },
    });
    exportings.export()

}, function (err) {
  console.log(err);
});

заменить
_this.domNode.addEventListener('DOMNodeInserted', function () {});

на
    let observer = new MutationObserver(function (mutations) {
        //mutations.forEach(function (mutation) {
        // Обработка изменений в DOM
        //console.log(mutation);
        //});
    });

    // Настройка на отслеживание изменений в документе
    let observerConfig = {childList: true, subtree: true};
    observer.observe(_this.domNode, observerConfig);

Any updates here?

I'm facing the same problem, even with quill updated to version 2.0.0, I tried a few things, but without success

Solution:

Find this line: _this.domNode.addEventListener('DOMNodeInserted', function () {}); let observerConfig = {childList: true, subtree: true};

Select it and replace with:
observer.observe(_this.domNode, observerConfig);
_this.optimize();
_this.enable();
return _this;
}

Solution:

Find this line: _this.domNode.addEventListener('DOMNodeInserted', function () {}); let observerConfig = {childList: true, subtree: true};
Select it and replace with:
observer.observe(_this.domNode, observerConfig);
_this.optimize();
_this.enable();
return _this;
}

It's working for me, Thanks!

Solution:

Find this line: _this.domNode.addEventListener('DOMNodeInserted', function () {}); let observerConfig = {childList: true, subtree: true};
Select it and replace with:
observer.observe(_this.domNode, observerConfig);
_this.optimize();
_this.enable();
return _this;
}

and do you want to update this manually every time you clone a project?

Solution:

Find this line: _this.domNode.addEventListener('DOMNodeInserted', function () {}); let observerConfig = {childList: true, subtree: true};
Select it and replace with:
observer.observe(_this.domNode, observerConfig);
_this.optimize();
_this.enable();
return _this;
}

and do you want to update this manually every time you clone a project?

you could possibly make a patch but that's really not the right way to do it. The package author should include this fix!

I ended up using quill core library and creating my own component. I know is not the best thing around, but at least works.
If someone uses, remember to copy the quill css styles and snow theme to laravel webpack/vite css compiler.
`

`

[Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated () and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.

the message disappears now after using 2.0.0


Handling teleport from Kusama to Parachains

Currently I would like to reuse paraspell SDK for transfering KSM to BSX.
Is it possible?

xcmPallet.limitedReserveTransferAssets
{
  "dest": {
    "V0": {
      "X1": {
        "Parachain": "2,090"
      }
    }
  },
  "beneficiary": {
    "V0": {
      "X1": {
        "AccountId32": {
          "network": "Any",
          "id": "0x8cc1b91e8946862c2c79915a4bc004926510fcf71c422fde977c0b0e9d9be40e"
        }
      }
    }
  },
  "assets": {
    "V0": [
      {
        "ConcreteFungible": {
          "id": "Null",
          "amount": "500,000,000,000"
        }
      }
    ]
  },
  "fee_asset_item": "0",
  "weight_limit": "Unlimited"
}

cc @dudo50

Hey @vikiival , ParaSpell SDK should be compatible with this kind of transfer out of the box, however, if you are looking into calls with weight limit defined specifically I have added this for you.
In your case usage for the main net should look like this:
//Importing library
import * as xTokens from "@paraspell/sdk"

//Selecting Kusama as Api provider
const wsProvider = new WsProvider('wss://public-rpc.pinknode.io/kusama');
const api = await ApiPromise.create({ provider: wsProvider });

//In case of unweighted call (compatible with Extrinsic callback events)
let promise = xTokens.xTokens.limitedTransferRelayToPara(api,destParaID,amount,destinationAddress,0,false)

//In case of weighted call(also compatible with Extrinsic callback events)
let promise = xTokens.xTokens.limitedTransferRelayToPara(api,destPara,this.amount,this.addr,yourWeight,true)

Hope this helps.
Happy hacking!


.blend file produces invalid .glb/.gltf

Describe the bug
When I export bird.blend, the output .glb/.gltf file fails validation. The issue is in the Walk start animation -- one of its samplers uses CUBICSPLINE interpolation, but contains only one keyframe.
To Reproduce

Export bird.blend as gltf or glb.
Optionally, inspect the exported gltf.
Run the gltf validator.

Expected behavior
The exporter produces a valid gltf, without any single-keyframe CUBICSPLINE samplers. In this case, maybe it could accomplish that by outputting a LINEAR interpolation?
.blend file/ .gltf
bird-with-textures.zip
Version

OS: linux
Blender Version [4.0.2 release candidate]

Additional context
I can't figure out why this animation is being exported with a CUBICSPLINE-interpolated sampler. I've left all of the export settings at their defaults, and I thought that would involve sampling all the bezier curves and exporting them with linear interpolation.

Confirmed.
Investigation in progress


Bug: cumulative time calculation

i.e. 10:66 is not a valid time, it should be 11:06. It seems like seconds and seconds as well as minutes and minutes are added independently

This problem has already been resolved in the following versions.
"2019-from-Japanse-version" branch.


[R] Add Badge

Should have created on the R side.
Refer to https://github.com/UBC-MDS/fxtrackerR/issues/34


Userfeedback in date picker throws stacktrace with flutter in modular.

 Issue by ksimbili
Monday Oct 26, 2015 at 17:47 GMT
Originally opened as https://github.com/flutter/engine/issues/1787

We are running date picker with versions
mojo-0.3.0
mojo_services-0.4.0
mojom-0.2.3
sky_services-0.0.41
sky_engine-0.0.41
flutter-0.0.11
Clicking on date in date picker throws the following stack.
[1026/123659:ERROR:dart_error.cc(16)] Unhandled exception:
'/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/sky_services/activity/activity.mojom.dart': Failed assertion: line 1557: '_proxyImpl.isBound' is not true.
#0      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:27)
#1      _ActivityProxyCalls.getUserFeedback (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/sky_services/activity/activity.mojom.dart:1557)
#2      _initUserFeedbackProxy (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/services/activity.dart:34)
#3      _userFeedbackProxy (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/services/activity.dart:38)
#4      _userFeedbackProxy (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/services/activity.dart:38)
#5      userFeedback (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/services/activity.dart:39)
#6      userFeedback (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/services/activity.dart:39)
#7      _DatePickerState._handleDayChanged (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/material/date_picker.dart:63)
#8      DayPicker.build.<anonymous closure> (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/material/date_picker.dart:246)
#9      TapGestureRecognizer.handlePrimaryPointer (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/gestures/tap.dart:26)
#10     PrimaryPointerGestureRecognizer.handleEvent (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/gestures/recognizer.dart:108)
#11     PointerRouter.route (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/gestures/pointer_router.dart:45)
#12     FlutterBinding.handleEvent (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/rendering/binding.dart:246)
#13     FlutterBinding.dispatchEvent (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/rendering/binding.dart:240)
#14     FlutterBinding._handlePointerInputEvent (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/rendering/binding.dart:225)
#15     FlutterBinding._handleEvent (/usr/local/google/home/ksimbili/tq/modular/src/out/android_Debug/gen/dart-pkg/packages/flutter/src/rendering/binding.dart:183)

 Comment by abarth
Tuesday Oct 27, 2015 at 04:08 GMT

@zanderso I think we want the bindings to silently swallow messages when the remote end of a mojo pipe closes.  That's what the C++ bindings do.  That makes the system more loosely coupled in case one side crashes or didn't implement the expected interface.  Should I file this bug again in the mojo issue tracker?

 Comment by zanderso
Tuesday Oct 27, 2015 at 05:10 GMT

Ah, yah. That assert is wrong. Under the current design what it should do is complete the response future with an error if a response is expected, or throw an error if no response is expected.
What I can do instead is complete the response future with null if a response is expected, and just return if no response is expected, and audit to make sure we're being consistent about that.
I wonder if it might make sense to add an option to Proxy to turn the more noisy failures back on.
If you could file as well on the Mojo side that would be great.

 Comment by abarth
Tuesday Oct 27, 2015 at 05:20 GMT

@zanderso Done.

I believe this is now fixed.  Please re-open if this still occurs.


Double argument in Xilinx kernels

When creating Xilinx OpenCL kernels, we were concatenating scalar arguments with symbol arguments. It seems symbol arguments sometimes include scalar arguments despite the include_scalar_arguments flag being set to False (and/or the other way around).
Work around this by deduplicating arguments in the Xilinx codegen.

I thought we fixed this

Me too... There's currently overlap in scalar parameters and symbol parameters, so this is the real issue. But I don't want to look into this right now (again... again).


upgrade diffusers version to 0.31.0

The diffusers version 0.24.0 has become somewhat outdated, and this has slightly affected the ease of use for this project. This pull request aims to address this by upgrading the diffusers version.
I have tested the output images using this PR.

Looks good to me. I will test it tomorrow to see if everything works well.


state_rviz_plugin: visualize selector mode and add disengage function

Description
https://github.com/tier4/autoware.iv/pull/2406 のポーティングPRです
Review Procedure
変更内容が上記PRと同じであること
Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Read pull request guidelines
[x] Code follows coding guidelines
[x] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the guidelines.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

After discussion, it was decided to merge after confirming that no degreasing has occurred, so it will be a draft once.

Plugins will be merged since they do not affect system


Plugin crashing when changing states

This plugin is working fine when the page loads for the first time. However whenever I switch pages/states in my app and go back to the page with the daterangepicker it throws an error and fails to initiate:
vendor.js:22615 TypeError: el.daterangepicker is not a function     at _init
Not sure if this is a bug or specific to my setup?

This was apparently due to two version of jQuery being loaded. Everything worked fine until you moved from one page to an other.


nv.models.bulletChart(...).width(...).height(...).margin(...).orient(...).tickFormat(...).tooltips is not a function

Hi I have included the following in my ionic template.

        <nvd3-bullet-chart
          data="data"
          id="exampleId"
          margin="{left:75,top:60,bottom:60,right:10}"
          width="550"
          height="160">
          <svg></svg>
        </nvd3-bullet-chart>

Is it not producing the above error.  This happens regardless of the data, or whether or not is repeated inside an ng-repeat directive.

I forked the project which is outdated => https://github.com/damiensuhard/ng-nvd3

the following page is working, but when nvd3/1.8.1 change to nvd3/1.8.3
"......tooltips is not a function" is showing.


Custom Scanner UI

We need to put widgets for browsing purposes. This feature must be

Hi Amol,
Any plans about custom scanner UI?


Open File location dialog

fixes #512

Since this is dealing with the local file location, the Open File Location dialog will only work with the desktop app and not with the browser version for testing. Please test with the build or with make preview.

I downloaded the desktop version, clicked on Upload data, uploaded a csv, but I don't see the dialog


Cleanup in worker.netty

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2954/
Test PASSed.

@apc999 Thanks for the patch! Did a pass over the code.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/2958/
Test PASSed.

+1 LGTM


Make Hit support sort option

Hello :)
This change adds support for reading sort option from response, which is essential to implement search_after functionality.
Feel free to adjust implementation/test, should be fairly straightforward.

Thanks!


How the conversion process takes place ?

Hi, I have used SpKeras for a couple of applications, but still I am not sure of the conversion process from a CNN to SNN. I did refer this code, but wasn't able to get any satisfactory insights. So, can anyone help me on this ?

Hi sauravtii,
For the conversion, you can learn the basic ideas from our paper, which explains the importance of the maximum value of activation in each layer and thresholding mechanism.  For the code, it is mainly based on two functions, "convert" for inserting&removing layer and "findlambda" for finding the maximum value for each ReLU layer. You can try to go through the paper and these two functions, and see if they may help.


Fix typo

Thanks! And we'll take a look at the other PR too (thanks for that as well!)

Thanks @jeremybmerrill !


[MLIRSparseTensor] Add sparse tensor pack example

This PR add example for operation sparse_tensor.pack and sparse_tensor.unpack.

CI should be fixed after #166 is merged.

Conflict resolved.

Thanks!


Not Able to Enable or Export Due to Errors

I have installed the extension and configured the configurations below.

Access Key
Secret Key
Bucket
Region

Also, I have also installed the AWS Library using composer require aws/aws-sdk-php and the version of AWS library is 3.0.
After configured the extension, I have tried to run the enable / export command but I am always getting the error below.
"The AWS credentials you provided did not work. Please review your details and try again. You can do so using our config script."

Hey @pareshpa,
Here are some tips to address the problem:

Does the bucket exist yet in S3?
Is the bucket in a different region to what you've set?

Let me know how you go!

Hi Thaiphan,
I have tried to integrate the extension but
bin/magento s3:storage:export
bin/magento s3:storage:enable
These 2 option while executing it is throwing "The AWS credentials you provided did not work. Please review your details and try again. You can do so using our config script."
I have verified from the admin panel whether the keys are correct or not. Everything was perfect but I couldn't understand why I am getting this error even if my credentials are correct.  My secret key contains "/" is that creating problem if it is how can I fix that . I have tried in Magento 2.1.4 and Magento 2.0.14.

Hi,
I'm having the same issue using Magento 2.1.7 and thaiphan/magento2-s3.
The keys and region are correct, the user has AWS S3 access and the S3 bucket exists.
Do I need to define the user as part of the script?
Thanks
Andrew

Ok, I found the issue. I was using using the full Amazon bucket name, not the title
Doesn't work
--bucket=MySiteName.com.s3.amazonaws.com.
Works
--bucket=MySiteName.com

Hi everybody,
I advise that you all follow @measureddesigns tip and set the bucket to be just your unique identifier and now the full URL.
Regards,
Thai


upgrade inflection to 0.4.0

see #300 and #301
closed #301 when merged

@suavesav can you merge this?

Thank you 😊

Can someone merge this already reviewed PR? or let me know the feedback if changes are needed? @nnegri @ryochiji  help pls?

Sorry @simkimsia thought you would be able to merge it in once I approved

I don't think I have the rights to merge
Thank you @suavesav


AnalysisResult rise error with default argument extra

Informations

Qiskit Experiments version: 0.3.1
Python version: 3.9.12
Operating system: Windows

What is the current behavior?
Running exp.run_analysis(data) result in an error:
    if "unit" in extra:
TypeError: argument of type 'NoneType' is not iterable

Steps to reproduce the problem
Running exp.run_analysis(data) with loaded data.
What is the expected behavior?
Suggested solutions
In format_result_data change:
            if "unit" in extra:
                result_data["unit"] = extra["unit"]

to:
if extra is not None:
              if "unit" in extra:
                  result_data["unit"] = extra["unit"]

and/or adding the relevant arguments when calling AnalysisResult in copy

I can confirm that I've encountered this issue too. It may be more than just adding a check to for if extra is None as it may be that the copy no longer has the original extra value (see changes to analysis_result.py in #812).

Upon closer inspection, it looks the error occurs only if the value of the AnalysisResult is uncertainties.UFloat. However, it does appear that extra is copied correctly.

@ItamarGoldman is also involved (he's trying or going to try to solve this issue). @conradhaupt If you're working on this issue, it's great, just please coordinate with @ItamarGoldman to avoid double-work.


Prevent datepicker from opening when clicking the input

Hi,
My goal in to have a button that triggers the datepicker but I don't want the input to trigger the datepicker only the button but if it's not the input that triggers the datepicker the input is not updated with the new date I pick.
Any ideas ?
Thanks

This is doable using the .off method : https://amsul.ca/pickadate.js/api/#method-off
// Get the input
let pickInput = $("#my_date_input")
// Init pickadate
pickInput.pickdate({...})
// Disable Opening of Date Picker on click or focus
pickInput.off("focus")
pickInput.off("click")
You'd have to add the code so that the button open the picker initalised for pickInput - and then the selected that will be updated when you pick a date.


Update admin.py for django 4.0

django 4.0 compatibility

+1

+1

@omji Are you still maintaining this package? If so, can you please merge this PR and push a 1.0.5 release to PyPi so that this package can be used with recent versions of Django?


support Base.one and Base.zero

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 80.43%. Comparing base (70a8a2f) to head (1942d03).

Files with missing lines
Patch %
Lines

src/cuts.jl
0.00%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   81.61%   80.43%   -1.19%
==========================================
  Files           7        7
  Lines         272      276       +4
==========================================
  Hits          222      222
- Misses         50       54       +4

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


test-branch/execute-job/quoted-authorization/ae47f411-3ff0-4a46-836d-2f91b29d3b94

PR for testing 9ca5791c882f5f165bb56fc11d4821bf389eddf5

/canonical/self-hosted-runners/run-workflows 9ca5791c882f5f165bb56fc11d4821bf389eddf5


[build] Update to latest revisions of upstream layers

Merged to build-next as well:
98f2dc19e..68b7a5dbd  build -> build-next


Research - Does policy engine support ACA calculator for NC?

@bespinosa01 feel free to add some findings in the comments here!


How To Add Text ?

First Of All , let me start by saying it's a great project !
I've tried to edit it and add Text to the Indicator, but without success.
Is it possible ?

At the moment, it doesn't support text in indicator. Maybe it is coming in the next update. However, your pull request is always welcome.

@moheny I won't say add text directly to this library, if it's not going to be animated.
Text can be too different, think about it's position, or attributedText, different font handling for dynamicType and UIAccessibility contrasts (i.e. dark colors, increased contrast, white point). The latter should receive NSNotifications for screen updates etc. This might get a little complex.
Depending on what you want to do, you can simply add a Label to your Storyboard (or in code) and use AutoLayout to position both together.
Displaying text and activity animation are separate things that should be likely kept separated. Labels, Buttons are available as part of UIKit and you can use them as usual.

Close this, reopen if need be.


pshtt scans failed this weekend

🐛 Summary
The pshtt scans did not take place this weekend.
To reproduce
Steps to reproduce the behavior:

Do this
Then this

Expected behavior
The pshtt scans should complete without issue, as they have since time immemorial.
Any helpful log output or screenshots
Here is the error I am seeing in the Docker logs of the scanner container:
[pshtt] Downloading third party data...

-------------------------

Fetching Chrome preload list from source...

Starting new HTTPS connection (1): chromium.googlesource.com:443
https://chromium.googlesource.com:443 "GET /chromium/src/net/+/master/http/transport_security_state_static.json?format=TEXT HTTP/1.1" 404 None
Traceback (most recent call last):
  File "/home/scanner/domain-scan/scan", line 622, in <module>
    run(options, unknown, cache_dir, results_dir)
  File "/home/scanner/domain-scan/scan", line 122, in run
    scan_domains(scans, domains, options)
  File "/home/scanner/domain-scan/scan", line 171, in scan_domains
    init = scanner.init(environment, options)  # type: ignore
  File "/home/scanner/domain-scan/scanners/pshtt.py", line 41, in init
    'preload_list': pshtt.load_preload_list(),
  File "/usr/local/lib/python3.6/site-packages/pshtt/pshtt.py", line 1485, in load_preload_list
    raw = base64.b64decode(raw).decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 1: invalid continuation byte

Looks like the issue is simply that this URL has changed.


Switch from callbacks to promises

This PR implements #168. I've tested it on iOS with both video and photo captures and it works great. Haven't had a chance to test on Android, but the change is quite minor (especially since Android doesn't implement video yet) so it shouldn't cause any trouble.

Thanks so much for this - I think it's a great change. 1.0.0 here we come!


Opened curly brace crashes the server.

The character { crashes the server when trying to retrieve it with both cache_get_value_name and cache_get_value_index, this didn't happen when R40 was at 84%

I am not sure which commit it is, but if you know which commit it was you could try to bisect the issue.

It seems I had tried that character when I was testing ORM but not cache. I went way way back and up to  this point it retrieves the character fine. In the next build (53) this issue appears. Looking at the commits, there are 6 more without a built and from the name the most suspicious is this commit


Add IBM Cloud managed annotations to CVO manifests

This matches https://github.com/openshift/enhancements/pull/445 and does not change behavior.
Bumps openshift/api to include the contents of https://github.com/openshift/api/pull/781

/hold cancel
/lgtm
/approve


[FLINK-21490][datastream] Make job graph generation deterministic in respect to hashes of input nodes.

What is the purpose of the change
Traversing the stream graph randomly for different input nodes during job graph generation causes the gates of multi-input operators to be swapped on restart. Unaligned checkpoints build on the assumption that the order is deterministic though.
Brief change log

Make job graph generation deterministic in respect to hashes of input nodes.
Harden UnalignedCheckpointITCase.

Verifying this change
Added unit test StreamingJobGraphGeneratorTest.java#testDeterministicUnionOrder. An upcoming ITCase for unaligned checkpoint rescaling will cover it further.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Build failed because of unrelated FLINK-17510 ... merging.


Adding github action to run test

[ ] Only PR's with passing test will be able to be merged
[x] Added new github action to for running test

@haseebrabbani I don't have permissions to alter the mergeability of PR's in the project settings, could you update the project so that we require the test workflow to pass before allowing a merge to master?

I think this PR needs to be merged first, otherwise it doesnt let me select any workflow in the settings


missing content - type of parameter "CurrentCount"

I suspect this should be a PLARGE_INTEGER type.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 23623db2-7762-5e16-e4e5-282bd3962896
Version Independent ID: add917c7-4477-0a03-83a7-7dea9cdf2f48
Content: KeQuerySystemTime macro
Content Source: wdk-ddi-src/content/wdm/nf-wdm-kequerysystemtime.md
Product: windows-hardware
GitHub Login: @windows-driver-content
Microsoft Alias: windowsdriverdev

Thanks, once more, @BenWestbrook
@PageWriter-MSFT can you confirm and update this, please? Seems to affect KeQueryTickCount, too, at a minimum. Thanks!


Add FAQ section for creating reproducible results

Based on the outcome of a recent github conversation about reproducibility, a section of python code was developed that illustrate how to get reproducible results from run-to-run, which can help debugging and comparisons during development.  I summarized the most recent code example from the github thread and added some commentary text in the FAQ to explain it.  The discussion thread is here:  https://github.com/fchollet/keras/issues/2280#issuecomment-306959926
Thanks.

I don't see the changes. Additionally, you have committed the faq.md file in sources, which is autogenerated. Please revert.

Reverted (removed autogenerated faq.md under sources).  Moved changes to faq.md under templates.

LGTM. Please resolve the merge conflicts (should be minor).

Merge conflict resolved (required minor edit) and successfully submitted.  Thanks.


TransitionTo flickering with HashLocation

Hi Friends,
I'm trying to get a handle on using this library, as I think it's a great way to organize things, however I'm having trouble using TransitionTo with Location.HashLocation in a Flux architecture. I'm building a simple login page that at this point has two routes, one is default with a path of /, and the other is called "forgotpassword" with a path of /forgot.
Issue
When I use the transitionTo method in an attempt to navigate from my defaultRoute to my forgot password route, the URL simply flickers for a split second.
Expected
The route would go from /#/ to /#/forgot and my new component would render
Actual
The route goes from /#/ to /#/forgot and then back to /#/ almost instantaneously but I can see the flicker every other time. The new component does not render.
Relevant Note
When I change my router to use HistoryLocation instead of HashLocation the route makes the jump, and the new component is rendered, however the route goes from / to /forgot# with the hashtag at the end, which when hitting the back button, takes two clicks to go back. As in it goes from / -> click on link -> /forgot# -> click back -> /forgot -> click back -> /
Relevant Code
module.exports = (
  <Route name="app" path="/" handler={Login}>
    <Route name="forgotpassword" path="forgot" handler={ForgotPassword}/>
    <DefaultRoute handler={BasicLogin}/>
  </Route>
);

I have a click handler in my BasicLogin component that does the following:
forgotPassword: function () {
    router.transitionTo('forgotpassword');
},

and I'm using a router pattern that has been recommended in other posts on this github which is what router refers to in code sample above
'use strict';

var router;

// Here's the trick: assign to module.exports before any require()s
module.exports = {
  getCurrentPath() {
    return router.getCurrentPath();
  },

  makePath(to, params, query) {
    return router.makePath(to, params, query);
  },

  makeHref(to, params, query) {
    return router.makeHref(to, params, query);
  },

  transitionTo(to, params, query) {
    router.transitionTo(to, params, query);
  },

  replaceWith(to, params, query) {
    router.replaceWith(to, params, query);
  },

  goBack() {
    router.goBack();
  },

  run(render) {
    router.run(render);
  }
};

var routes = require('./routes'),
    Router = require('react-router');

router = Router.create({
  routes: routes,
  location: Router.HashLocation
});

My full source is here, it's actually quite small at this point and pretty well organized so wouldn't be too much of a rabbit hole. https://github.com/mattydoincode/matt-react/tree/master/source/scripts
Any and all help is greatly appreciated!!

I think that's because you're using basic <a> anchors in addition to invoking transitionTo, i.e. you're triggering two transitions on a click. Use Link instead.
Otherwise, you'd need to prevent the transition caused by the anchor (event.preventDefault).

Jeeeeez this was exactly the problem. I wasn't looking in the right places at all. Thanks for seeing the simple issue in all of this!! Everything works grand now.


LlamaEmbedder How to use

How should I use the LlamaEmbedder after I created one?
I was not able to find any relevant information or code snippets.
Thanks!

var @params = new ModelParams(modelPath);
var embedder = new LLamaEmbedder(@params);
var result = embedder.GetEmbeddings("Hello");

This seems to work for me. result is filled with a load of numbers which are presumably the embedding vector of "Hello"

I don't think LLamaSharp itself has anything that will consume embeddings, that's usually down to your own system (e.g. an external vector database). What are you actually trying to do with the embeddings?

I'm trying to get the embedding from a text extracted from a PDF File. I want to feed it into the llm model for a QA type bot

Maybe I'm misunderstanding what you're asking, but I don't think you'd feed the embeddings into the LLM. Instead you would retrieve some text (e.g. using a vector database to find knowledge "nearby" the question embedding vector) and then feed that into the context when you ask your question. That's not something LLamaSharp does - it'll do the start (generate embeddings) and the end (run the LLM) but not the middle bit (use the embeddings to retrieve some knowledge).
I know some people have been working on higher level things (e.g. BotSharp and SemanticKernel) which may do more of what you want (I'm not very familiar with those projects, so I'm not sure)

Thank you for clarifying!

@twentytwokhz @martindevans Here is the updated docs related to how to adpot the LlamaSharp in a high level bot framework. I'll keep update the docs and let me know if you can run it through according the latest docs.


Update sorting of collection information

🗒 Summary
This PR addresses the need to apply sorting rules for processing levels and their associated collections on:

Instrument Detail Page: Data Tab
Investigation Detail Page: Expanded area of Instruments on the Instruments Tab.

⚙ Test Data and/or Report
Tested locally and ensured that npm run build does not generate errors.
♻ Related Issues

Fixes #86

@nutjob4life I had to run the secrets baseline and audit again for this PR because the code scans failed. Can you please verify I did that correctly.

@eddiesarevalo @nutjob4life I made some substantial changes to improve rendering performance and resolve a bug I found on our production site that I thought I would fix as part of this PR.

@eddiesarevalo The changes in this PR are now reliant on a wds-react PR: https://github.com/NASA-PDS/wds-react/pull/72


feat: add support for multiple moduleRoots.

Currently we only support a single moduleRoot. In this PR I introduce the ability to set an array of moduleRoots instead of a single root.
Whats changed

Updated docs to reflect always using an array for config
Treat context.options[0] as the only option provided, and iterate over the module root instead.
Update tests to use an array for singular moduleRoot configs
Add a test case to validate using multiple moduleRoots.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ord uses locked unspents as inputs

I noticed that the get_unspent_outputs call seems to append all locked outputs to the available utxo set:
https://github.com/ordinals/ord/blame/9bf5c69279c594c1c4dbe760c69db205018440c5/src/index.rs#L313C7-L313C7
What's the reasoning for this? It really tripped me up as I was considering locked outputs to be protected, but they ended up used as fees an inscription.
My use case is that I have some special named sats in my ord wallet and I don't want them to be spent. But ord doesn't recognize them as special, and doesn't respect me trying to lock them. What should I do?

It might be nice to be able to omit all utxos 10k sats or smaller from coin selection (unless they are deliberately being inscribed on)

Fixed by #2618.


fix test on Windows and fix CI failure

It fixes the path escape issue on Windows.
And by using a fixed version number for wasmprinter, it fixes the CI failure that has been there for some days.

This should be working now on main.


Call the external js method, press F12, can not jump to the defined place, prompt "to find the definition of ***"

🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/visual-studio-code.

Please attach a screenshot for clarification.


Generere setpoints

We need to be able to provide the setpoints necessary to go through the gate, around the pole and back through the gate.

Have created branch 'generate_setpoints' for this issue


added a CubeCoordinates initializer that only takes x and y values.

Careful with this one. Values x, y and z are more like vectors, not a cartesian coordinates. It will work for sure but probably in a different way people might expect.
What is the purpose of this change?

I am curious about what kind of refactor you are considering.
I'll admit I'm not 100% sure about the difference between Axial and Cube. (My understanding is that they are effectively the same.) I do like how redblobgames calls these coordinates q, r, s instead of x, y, z, because it's obvious right away that they aren't 3D coordinates. I see that is how it is in AxialCoordinates, but not in CubeCoordinates, and that does confuse me.
Mainly I just think this is cleaner at the call site:
                tiles.insert(CubeCoordinates(x: x, y: y))

than this:
                tiles.insert(try (CubeCoordinates(x: x, y: y, z: -x-y)))

But I don't feel strongly about it at all. I mostly threw it up because I've been working on a branch that allows you to "shift" all the coordinates in the grid, and this was the only change to the core package in that branch (the rest of it is in a HexGrid extension). So I was just doing some cleanup.

One thing is that Cube coordinate system requires sum of all three values to be zero. It doesn’t necessarily has to be z axis.
// All of these are perfectly valid cube coordinates
CubeCoordinates(x: x, y: y, z: -x-y)
CubeCoordinates(x: x, y: -x-z, z: z)
CubeCoordinates(x: -y-z, y: y, z: z)

Second is data consistency. With only two values, it’s impossible make any validation because the third value is automatically calculated. Therefore an instance of coordinates is considered as valid, even if you pass some nonsense. Imagine you have a grid generated by some algorithm. Debugging such code could easily become a nightmare.
As for refactoring, I’m referring exactly to the discrepancy you mentioned. Ideally x, y and z should become q, r and s. Unfortunately it’s not as simple as renaming them. From a long term perspective, I believe it’s worth the effort.

I'll just close this for now. NBD.


Run Tests doesn't work

Describe your problem and - if possible - how to reproduce it
I get the error message : TypeError: unknown: Cannot read property '0' of undefined
at Function.e.get (babel.js:3632)
at e.h [as unshiftContainer] (babel.js:42437)
at t. (index.js:45)
at r (babel.js:43256)
at e.o [as _call] (babel.js:39993)
at e.i [as call] (babel.js:39965)
at e.a [as visit] (babel.js:40022)
at e.visitQueue (babel.js:39553)
at e.visitMultiple (babel.js:39506)
at e.visit (babel.js:39593)
(anonymous) @ transformers.js:85
Run this code using the Run Tests button:
`function isPrime(n)
{
let arr = [];
for (let i = 2; i < n; i++)
if (n % i === 0) return false;
return true;
}
function getPrimes(n)
{
let arr = [];
for (let i = 2; i <=n; i++)
if (isPrime(i)) arr.push(i)
return arr;
}
function primeFactorize(n)
{
let factors = []
let k = n;
if (isPrime(n)) return [{base: n, pow:1}];
for (let i = 0; i < PRIMES.length; i++)
if( n % PRIMES[i] === 0 ) {
console.log("new Prime found " + PRIMES[i]);
factors.push({base:PRIMES[i], pow:1})}
for (let i = factors.length; i--; i>-1)
{
let count  = 0;
let j = factors[i].base;
while (k % j === 0)
{
count++;
k /= j;
}
k *= j;
factors[i].pow = count;
}
return factors;

}
function smallestCommons(arr) {
const {min, max} = Math;
const j = min(...arr);
const k = max(...arr);
let range = [];
let lastI;
let allFactors = []
for (let i = j; i<=k; i++)
{
allFactors.push(primeFactorize(i))
range.push(i);
}
console.log(allFactors)
}
const PRIMES = getPrimes(23);
smallestCommons([1,5]);`
The code works properly on the web console, so it has something to do with your backend?  Name collision?
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/smallest-common-multiple/
Tell us about your browser and operating system

Browser Name: Chrome
Browser Version: Version 67.0.3396.87 (Official Build) (64-bit)
Operating System: Mac OsX 14

Any update on this issue?

Hey we have recently fixed this, however it will be a few more weeks before we can ship this to production site.
We have confirmed this issue is no longer present on an upcoming test version of the platform here.
Thanks for your patience.


Leaderboard: Final touches

The Leaderboard project has been completed successfully.

The final touches of additionally styling was implement.
The functionality and wireframe design was not changed.
The 'final touches' was implemented on feature branch 'leaderboard-final'.
Linters checked and passed.

Thank you. 😄


Deleting a file in the Workspace UI now closes the tab

Description

Deleting a file in the Workspace UI now closes the tab.
Related Issues

Closes #1935

Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] The issues this PR addresses are related to each other
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] My changes are all related to the related issue above
[ ] I documented my code

Screenshots

https://github.com/user-attachments/assets/0e2166fb-9a0d-49dc-b7c8-cb2b84897b91

Can you confirm that tabs are closed in a second editor by clicking here...

...and opening the tab in the second editor. Then open another file in the first editor and delete the file in the second editor.
I just want to make sure that it is closing even when the editor is not in focus.
Another thing I want to test is this, does both tabs close if the same file is open in both editors.


extract parameters and count results

I think it would be useful to be able to extract query parameters (also auto-generated sql query parameters from a JPA criteria query, even if it has no explicit parameters).
I have some example code working, at least in my context. I also use it to count results in pure SQL (the only way IMO to cover all cases without resorting to overcomplicated code), so I also shared this below. That part is maybe more database-specific, and I don't know if it also belongs in this library.
I could make one or more pull requests if it sounds interesting enough. What are your thoughts about this?
`    public long countResults(CriteriaQuery<?> query) {
return countResults(query, Object::toString);
}
public long countResults(CriteriaQuery<?> query, Function<Object, Object> parameterConverter) {
    TypedQuery<?> typedQuery = entityManager.createQuery(query);
    return countResults(typedQuery, parameterConverter);
}

/**
 * Counts the number of results returned by the given typed query.
 *
 * @param typedQuery         the typed query to count results from
 * @param parameterConverter the function used to convert query parameters
 * @return the number of results as a long
 */
public long countResults(TypedQuery<?> typedQuery, Function<Object, Object> parameterConverter) {
    String sql = SQLExtractor.from(typedQuery);
    String unpaginatedSql = unpaginate(sql);
    String countSql = "select count(*) from (%s) main".formatted(unpaginatedSql);
    Query countNativeQuery = entityManager.createNativeQuery(countSql);

    List<?> parameterValues = getParameterValues(typedQuery);

    int i = 1;
    for (Object parameterValue : parameterValues) {
        Object convertedParameterValue = parameterConverter.apply(parameterValue);
        countNativeQuery.setParameter(i++, convertedParameterValue);
    }

    return (long) countNativeQuery.getSingleResult();
}

/**
 * Removes the pagination clause from the given paginated SQL statement. Only partly implemented (MySQL, PostgreSQL, Oracle). Only needed for paginated queries, so an easy way of avoiding this is to create an unpaginated version of the same TypedQuery.
 *
 * @param paginatedSql the paginated SQL statement to be unpaginated
 * @return the unpaginated SQL statement
 */
public String unpaginate(String paginatedSql) {
    return paginatedSql
        .replace("limit ?,?", "") // mysql
        .replace("limit ? offset ?", "") // postgresql
        .replace("where r_0_.rn<=?+? and r_0_.rn>? order by r_0_.rn", ""); // oracle
}

public List<?> getParameterValues(TypedQuery<?> typedQuery) {
    Set<JpaCriteriaParameter<?>> parameters = getParameters(typedQuery);
    return parameters.stream()
        .map(JpaCriteriaParameter::getValue)
        .toList();
}

public Set<JpaCriteriaParameter<?>> getParameters(TypedQuery<?> typedQuery) {
    SqmQueryImplementor<?> querySqm = typedQuery.unwrap(SqmQueryImplementor.class);
    SqmStatement<?> sqmStatement = querySqm.getSqmStatement();

    Set<JpaCriteriaParameter<?>> parameters = new LinkedHashSet<>();
    ParameterCollector.collectParameters(
        sqmStatement,
        sqmParameter -> {
            JpaCriteriaParameter<?> jpaCriteriaParameter = ((SqmJpaCriteriaParameterWrapper<?>) sqmParameter).getJpaCriteriaParameter();
            parameters.add(jpaCriteriaParameter);
        },
        sqmStatement.nodeBuilder().getServiceRegistry()
    );
    return parameters;
}`

You can send the Pull Request if you think it's useful to have it integrated.

Well, I'm a little bit mitigated for the count part:

difficult to test without an actual db (though I had it working on mysql & oracle)
some parts are db specific (the unpagination part above, though you can avoid it)

But maybe that's inherent to multiple aspects of this library?
What do you think?

The count part is not needed, but being able to extract the parameters would be useful.

https://github.com/vladmihalcea/hypersistence-utils/pull/675
It also resolves https://github.com/vladmihalcea/hypersistence-utils/issues/668 as I needed it for my pull request (and refactored it further).


Erroneous entries in View Scanned Forms in Scan

Steps to reproduce

Press Scan New Form
Press back

Expected behavior
No new entry added to View Scanned Forms.
Actual behavior
Entry with name of template and date of "Web Dec 31 16:00:00 PST 1969" is added to View Scanned Forms.

Environment
Nexus 7 with Android 5.0.2
Scan development trunk commit 23c5de799627dcbbef6e51fb29c4fed753d966d5

The problem is still there, in a slightly different way.
Steps to reproduce

Press Scan New Form
Remove Scan from multitasking drawer

Expected behavior
same as above
Actual behavior
same as above


Add new resolver for marking quizzes illegible and update quiz list to allow filtering on this

Introduces the ideas of "Quiz Notes". At the moment this includes only marking quizzes as illegible but the same table will be used later to request corrects etc.
Adds a new resolver markQuizIllegible which adds a note against the given quiz. Also tracks the user that added the note and the time they added it.
Adds a new filter when listing quizzes excludeIllegible which either allows you to exclude quizzes that you have marked illegible or quizzes that anyone has marked illegible.
Currently does not surface the quiz notes anywhere but will likely later be surfaced as part of the quiz details resolver.

Codecov Report
Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 31.94%. Comparing base (5314cf1) to head (222c4fb).

Files
Patch %
Lines

src/quiz/quiz.persistence.ts
0.00%
8 Missing and 1 partial :warning:

src/quiz/quiz.gql.ts
0.00%
4 Missing :warning:

src/quiz/quiz.service.ts
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
- Coverage   32.92%   31.94%   -0.98%
==========================================
  Files          22       22
  Lines         489      504      +15
  Branches       75       78       +3
==========================================
  Hits          161      161
- Misses        318      332      +14
- Partials       10       11       +1

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


Possible bug? Api and admin page refuses any Capital letters for keyword when shortening

I find this rather annoying because as with almoust any url shortener links are case sensitive. Looking at bit.ly and goo.gl we can see that i am not lying.
I did a bit of googleing and found some request https://github.com/YOURLS/YOURLS/issues/999
that literally made me laugh for a bit and then made me think (now why on earth would you make the possibilities of shortened urls so limited by removing case sensitivity
I seriously hope this hasn't become a thing
also if the keyword is in ALL CAPS
the shorturl becomes a zero since there are no lowercase letters (weird)
"DGFHGHSAGHJDSGHJ -> 0" (wtf)
if there were lowercase letters
like
"LoKE2"
only "o2" would be accepted
"LoKE2 -> o2" (again wtf)
both the api and the admin page do this
If this is a bug then i would be happy if it gets fixed
if its not a bug then can someone point me to a plugin as i found none during my search
@ozh

There are several issues about this. This has even its own topic in the readme FAQ.

Take a look at user/config.php:
/** URL shortening method: 36 or 62 */
define( 'YOURLS_URL_CONVERT', 36 );
/*
 * 36: generates all lowercase keywords (ie: 13jkm)
 * 62: generates mixed case keywords (ie: 13jKm or 13JKm)
 * Stick to one setting. It's best not to change after you've started creating links.
 */


ENH: Add vertical line to raw plot

Allows clicking in between the channels to draw a vertical line like in mne_browse_raw.
Ready for review/merge from my end.

@Eric89GXL works like a charm. Is it hard to add the time point somewhere in the plot? For example, if I click at 5.3 seconds, it tells me that.

Let me see if it's easy

@mainakjas see if you're happy now

That was fast @Eric89GXL !

Try now @mainakjas

works fine. I love this addition because it lets me look at the spacing between triggers very easily. Do you think we could improve the placement of the text a bit? Not super important but it looks a bit weird on the gray brackground. At least I don't have a very good suggestion (maybe corner?), so maybe we could just leave it there.

other than that, I see no problem. You have my +1

I actually originally had it to the left of the scroll axis, I've moved it back, see what you think

yeah, much better!

Cool, I'll go ahead and merge once the CIs are happy then. Shouldn't you be asleep anyway? This is some @dengemann territory you've wandered into.

haha, I discovered once upon a time that I can be uninterrupted at night and I've loved that ever after :)

Thanks for the quick review @mainakjas.


Implement/create code to load non-EIT data (functional respiratory signals, ventilator waveforms)

I removed this from the Load Data milestone.


i18n(de): Update endpoints.mdx translation

What kind of changes does this PR include?

Translated content

Description
Translate endpoints.mdx to german

I just had a brief look through the changes and noticed "Sie" being mentioned in lines 14, 102 and 134 when it should be "du".
I'll have a more detailed read through later but just wanted to let you know :)

Thanks for your review, I don't think you are too penibel, we all want to create the best possible result 🙂
I don't think we should translate variables in code, but anything that comes back as a response or button labels can be translated.

My reference was the style guidelines of the German manual where it states that variables names ideally are translated:

Wir übersetzen gerne auch Komponenten-, Klassen- und Variablennamen in Code-Beispielen. So signalisieren wir, dass diese Namen frei definierbar sind und keine "magischen Keywords" von Astro darstellen.
— Anleitung für deutsche Übersetzungen – Stilrichtlinien

Hello and welcome @bennykay! Many thanks for your translation PR!
I just looked at your PR and saw that our link checker found some broken links in it - namely fragment links to the previous English headings that have become invalid because the headings are now translated. Can you please still fix the links accordingly?
Also, your translation of the endpoints page has invalidated a link on another page (/src/content/docs/en/reference/integrations-reference.mdx), because it linked to /en/core-concepts/endpoints/#static-file-endpoints, which must now end in #endpoints-for-static-files according to your translation. Can you please include the corresponding change of the file /src/content/docs/en/reference/integrations-reference.mdx in your PR, so that no broken links are found at the end?
By the way, you can see the broken links either directly on GitHub in the context of your changed files (https://github.com/withastro/docs/pull/4547/files), or if you are working on your translation locally, you can always run pnpm lint:linkcheck locally to see all problems before committing.
If you need any help with fixing the links, please let me know!

I fixed all broken links and typos. Thank you for your help!

Looks almost perfect now! However, we still need to fix the incoming link here:
https://github.com/withastro/docs/blob/f3e1ff0ffa9f35db170b691d9ba7cce774102717/src/content/docs/de/reference/integrations-reference.mdx#L146
As you can see at the very end of the line, this file that is currently not part of your PR contains the link /de/core-concepts/endpoints/#static-file-endpoints, which must be changed to /de/core-concepts/endpoints/#endpunkte-für-statische-dateien so that it points to your translated heading.
Could you please make this change and commit the file into the branch of this PR? This should fix the remaining link issue.


why both no_ipv6/no_ipv4 and also resolve_strategy in escaper configs

Asking as it seems to result in essentially the same thing:
no_ipv6: true
resolve_strategy: IPv4Only

Seems like if you have one you don't need the other? As in, resolve_strategy alone seems to be fine on itself. In fact if I check the code it seems to set the no_* properties based on this anyhow, if none are set. So why are both of these approaches possible / supported? Is there a (subtle) difference I am missing?

resolve_domain will only take effect when resolving domain names. You can set it to ipv4_first if you have both v4 and v6 address. And you can set it alone to ipv4_only but still allow v6 access if the client request an ipv6 target address directly.

Understand, and no_ipv6 is just about the escaper on whether or not it can establish an no_ipv6. Can also see that in escaper src code like g3proxy/src/escape/direct_float/tcp_connect/mod.rs and others.
Thanks for clarifying. Clear to me now. Going to close this issue as resolved.
If you think this can result in maybe a desire to improve the docs, do let me know, I'll gladly contribute that to thank you for your patience and time. Take care.

Yes it's welcome to help us to improve the docs. I'm not good at that indeed.


Added tools/html-grep

This tool shows the tag/class/id elements of all our HTML files.  Occasionally templates parameterize class/id names, so this is slightly noisy, but it's sort of a "feature" for now to show those parameterized classes.  When this rolls into the HTML/CSS cross checker, there might be a bit more work to do on that front.

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

This is functional, but I'm still churning on it a bit, so please don't waste too much time reviewing until I say it's the final cut.  If you want to try out the tool, simply run ./tools/show-html-structure, and hopefully the output is self-explanatory.

So this grepper is smart in some ways, still dumb in others:

It's smart on the HTML side in terms of knowing which words correspond to actual ids/classes etc., as well as being aware of where it is in the tree.
It's dumb in the sense that the input is just a set of words now, and we don't yet have the CSS-ish logic to validate any kind of selector syntax.

I view this as ready to merge now, pending code review.  The html-grep tool is useful now, although folks will need to understand its limitations.

Cool, we should definitely add a mention of this either in http://zulip.readthedocs.io/en/latest/html_css.html or the testing/linting docs, but I think that's not a blocker for merging since this tool is still kinda early as a tool.  Posted a few more comments along similar lines.

Posted a few comments; I don't think you need to resolve all of those but I think this needs at least some explanation of what it does (can be brief in the usage, for example)...

To be honest, it's not totally clear even to me how to read this output format (haven't tried to read the code for producing it to check):
templates/zerver/markdown_help.html 68
    div(.modal,hide)(#markdown-help) div(.modal-body) div(#markdown-instructions) table(.table,table-striped,table-condensed,table-rounded,table-bordered)(#fmt_help_table) tbody tr td div(.codehilite) pre span(.k)

Ok, I will work on the output formatting and the usage section, and I think that will clarify things a bit.  I want to let this shake out a bit on master before integrating it into the tool chain or docs.
The tool is initally intended for expert use.  I'm gonna try to hunt down orphan CSS styles, and this tool is a way to search through HTML files to find places that might invoke the style in a hard-to-detect way.
But then I also intend it for more day-to-day use, like you're looking at a CSS style, and you're just wondering where the heck we use it in our HTML.  Make sense?

Yep, makes sense.  I think for the expert use case, we probably just need usage / output format cleanups to make me and Steve-from-3-months-from-now able to understand it :)
And then we can later add this to the docs once we have a clear use case for how joe-new-contributor can save time writing new HTML/CSS on the random feature he's building.

Here's my new proposed formatting of the output:
templates/zerver/stream_creation_prompt.html 18

    div.modal.hide#stream-creation
        form.form-inline#stream_creation_form
            div.modal-body
                div#make-invite-only
                    label.radio
                        span.icon-vector-lock

Eventually we'd have ways to specify different levels:

just filename/line (good if you have editor integration)
one-line to represent the nodes
staircase (shown above)
show all relevant HTML

Ok, just pushed the formatting change...will probably await your quick comment on that before doing the usage section.

Yep, makes sense re: those levels.  Formatting with staircase seems more readable, yeah

oops, pushed the wrong branch...the formatting addendum is coming now

Cool, squashed and merged.  Thanks @showell!


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit 27354ed:
:clock10: Pending: waiting for processors (37 builds ahead of you)
:warning: Docs Build is busy, currently there are 37 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 27354ed:
:clock10: Full build: the average full build time is 5 min(s) 39 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit 27354ed:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add some missing Finnish coding podcasts

What does this PR do?
Add resources
For resources
Description
Why is this valuable (or not)?

All of these additions are free programming related podcasts that are hosted in Finnish.

How do we know it's really free?

They can be also listened in i.a. Google Podcasts.

For book lists, is it a book? For course lists, is it a course? etc.

Yes, those are podcasts.

Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

lots of coffee too!
Thanks, and welcome to free-programming-books!


Add example for the new Java Buffer interface

See PR  #1238  for implementation of new interface that needs an example.

closed by #1396


Map doesn't display if URl has an anchor

e.g. https://openbenches.org/bench/1920#a

PR #155

Fixed in #155


Getting rate limit after using it for 15 minutes and paid for the PRO plan

Describe the bug
getting the follwing message: You have hit the rate limit. You can continue to code for free in the editor.
theres no way I hit the limit in 15 minutes of use. Please help
Link to the Bolt URL that caused the error
https://bolt.new/~/stackblitz-starters-46amgb
Steps to reproduce
just type any instruction and you will get the message
Expected behavior
unable to continue editing the project with AI (Boolt)
Screen Recording / Screenshot
No response
Platform

OS: macOS,
Browser:  Chrome,
Version: [e.g. 91.1]

Additional context
No response

I have the same issue, not that fast but 2 hours maybe.

I have the similar issue too. I have been using it earlier today. But for the project it has rate limit error even with premium account.

Same issue here. paid and got rate limited directly.

Is customer support replying these complaints ?? any of you talked with stackblitz support about this?

I can find any contact info on their website.

this MUST be a bug, same complaints keep coming in over and opver from multiple users in the "ISSUES" thread ... crazy

Same problem here. I used it for a day only and now it's already hitting limit. I'm pretty sure I did not consume 10M tokens...

15 mins wow, this shows there is a significant problem at HeadQuarters. There have been complaints that maybe the code is re-writing the whole project even after small iterations, which may explain why it's using so many tokens.

15 mins wow, this shows there is a significant problem at HeadQuarters. There have been complaints that maybe the code is re-writing the whole project even after small iterations, which may explain why it's using so many tokens.

Yes probably rewriting the entire code or page for every AI command..  hope they fix this issue quick everyone is having the same issue looks like...

Hey everyone, thank you for reporting the issue! We are actively working on a solution and implementing several changes to support token reloading and provide a clearer in-app status for the tokens. We appreciate your patience and will deploy the first updates as soon as possible so today and over the next couple of days, you can expect a continually improving experience.

Hey, @reech1! While we have been working on optimizing the tokens usage we have accidentally triggered the limit on the accounts that weren't close to the limit. So yes, this was a bug.
We've reverted the change so this should now be resolved and you should have your correct limit back. I'll close the issue, but in case a problem persist, please open a new one! Thank you all for being our early adopters and for your patience as we're improving the bolt experience!

I am gettin the same issue , when this issue , how much time it takes , to comebacks to its original rate limit

Ive using not even 20 minutes, is something going on again?

Stopped working 7:45pm yesterday. Did absolutely nothing today.
Hit the rate limit just after opening my project at 4pm.
Not on paid plan though.

I started a free account with the intent to upgrade, but after ~10 minutes, I hit a rate limit.

Same issue here, don't want to upgrade - I haven't even tried it properly


[excel] (PivotTables) Adding PivotLabelFilter sample

As part of an investigation around PivotLabelFilters, I made this script.  Figured it should become a sample.

Docs Build status updates of commit 48ff8db:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docs-ref-autogen/excel/excelscript/excelscript.pivotfilters.yml
:white_check_mark:Succeeded
View (office-scripts)

docs/docs-ref-autogen/excel/excelscript/excelscript.pivotlabelfilter.yml
:white_check_mark:Succeeded
View (office-scripts)

docs/sample-scripts/excel-scripts.yaml
:white_check_mark:Succeeded

generate-docs/json/excel/snippets.yaml
:white_check_mark:Succeeded

generate-docs/tools/API Coverage Report.csv
: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


BLD: Testing if container connections to FTP work

As per the suggestion on:
https://github.com/travis-ci/travis-ci/issues/3692#issuecomment-97238125

Awesome!

Coverage remained the same at 79.43% when pulling 583d96e3577f7450b3970bfeb22f3833ad3927cc on ElDeveloper:back-to-container into 33e54041ad58b724969a7aa7fe7551746a151953 on biocore:master.

Coverage remained the same at 79.43% when pulling 54a60f368ee984ed7acd7419699051eb5aa5a01c on ElDeveloper:back-to-container into 33e54041ad58b724969a7aa7fe7551746a151953 on biocore:master.


[BugFix] Make unqiue constraints case insensitive

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 6 / 7 (85.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/common/util/StringUtils.java
4
5
80.00%
[44]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/util/PropertyAnalyzer.java
1
1
100.00%
[]


Better HTML generation of the selected pixel sets data

Fix #248

Coverage increased (+0.001%) to 99.583% when pulling 6bf8d8fd687c581e8321705ba5341239ff148b1e on better-selection-html into 18a8208160efaa0ee2c4919192e33f74ae555173 on master.


Disable logging in npm release

Version 2.0.13 has a configurable and conditional logging. The only logged messages would be the exceptions.


Test out Core pipeline running with 8 Core VM

Description
Investigation into using scaled up VMs for CI testing.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

Closing, using higher core VMs did improve CI times but not as significantly as the cost in upgrading to higher core VMs.


Add a doc for jmx metrics page

Page
Metrics-system
Summary
Describe how to config and use jmx metrics page.

@maobaolong Any plan to update the doc? Thx!

My debt will do these week


Feature Request: MacOS binaries?

I was hoping we could get some MacOS binaries as well. I'm looking for 1.13.1, which seems elusive at the moment.

Hi, unfortunately I don't have the bandwidth to do MacOS binaries at this time. Sorry about that 😞

I may be able to do the MacOS binaries on your behalf. How does that sound?

that sounds great, i'm sure there's appetite for them!


Adding dagger dependencies in the build file and app declaration in manifest

These changes have been tested on Android Studio 3.0
With these changes the application will immediately build after creating boilerplate

Thank you for the PR @bstrandjev !


Improve collapsible section content by adding example of one that is open by default

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections
What part(s) of the article would you like to see updated?
Add a section detailing how to create a collapsible section that is open by default.
I've created a PR #34837.
Additional information
This is to add content.

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections
What part(s) of the article would you like to see updated?
Add a section detailing how to create a collapsible section that is open by default.
I've created a PR #34837.
Additional information
This is to add content.

Pls delete my acct and unsubscribe me. Idk how I'm on this site even.
On Sat, Oct 5, 2024, 12:36 PM ratchanonsuttawas @.***>
wrote:

Code of Conduct

I have read and agree to the GitHub Docs project's Code of Conduct
https://github.com/github/docs/blob/main/.github/CODE_OF_CONDUCT.md

What article on docs.github.com is affected?
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections
What part(s) of the article would you like to see updated?
Add a section detailing how to create a collapsible section that is open
by default.
I've created a PR #34837 https://github.com/github/docs/pull/34837.
Additional information
This is to add content.
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/34836#issuecomment-2395150882, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AWFMLVKO5AYSEGRQYV2LDQ3Z2AWULAVCNFSM6AAAAABPM25T2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGE2TAOBYGI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@mjbear Thank you for opening an issue and linking it to your PR! ✨


fix: fix client metrics issues with preshared keys

Description

Fixes #117
References

https://github.com/openfga/sdk-generator/pull/401
#117
Review Checklist

[ ] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[ ] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

Codecov Report
Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 68.72%. Comparing base (3630115) to head (d998dac).

Files
Patch %
Lines

openfga_sdk/api_client.py
50.00%
1 Missing :warning:

openfga_sdk/sync/api_client.py
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
- Coverage   68.74%   68.72%   -0.02%
==========================================
  Files         120      120
  Lines        9770     9772       +2
==========================================
  Hits         6716     6716
- Misses       3054     3056       +2

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


fix issue with blacklist

currently blacklist needs to be provided, even empty.
make sure that you do not have to provide any options to have the lib working

solved with https://github.com/derberg/zlicz/commit/1190749bf4143fe9693ed2f74f38019822fcecf3


new query for genotype-to-phenotype

i want to be able to query from genotype to get the phenotypes (via RO:has_phenotype).
/dynamic/genotypes/:genotype_id/phenotypes/
here, we only want the direct associations between a genotype and phenotype (as opposed to inferring phenotype from the genotype-parts).
for the inverse query:
/dynamic/phenotypes/:phenotype_id/genotypes/
we also only want direct associations between genotypes (GENO:0000000) and phenotypes

Implemented - see:
http://duckworth.crbs.ucsd.edu:9000/scigraph/dynamic/genotypes/MGI:2663179/phenotypes
and
http://duckworth.crbs.ucsd.edu:9000/scigraph/dynamic/phenotypes/MP:0000540/genotypes


[WIP] [release-4.14] CFE-1050: Added support of capacity reservation group

Manual back port for https://github.com/openshift/machine-api-provider-azure/pull/107

/retest

/retest

/label qe-approved

/retest

/approve
/lgtm
/label backport-risk-assessed

@sunzhaohua2 Can you help me with cherry-pick-approved tag?


Support stable rust

I'd like to use leptos-struct-table without having to switch my own project to the nightly rust compiler.
I could not easily find a documented reason for why it uses nightly, and a quick check showed that it only uses nightly in two places (in the actual library, I didn't look through the examples):

https://github.com/Synphonyte/leptos-struct-table/blob/f30dba40fae7a2d41bc0e540f7f0c8ffdfb5d2e9/src/lib.rs#L373

This only gets used in modules locked behind features, e.g. https://github.com/Synphonyte/leptos-struct-table/blob/f30dba40fae7a2d41bc0e540f7f0c8ffdfb5d2e9/src/uuid.rs#L2
I'm not quite sure what this is used for, the modules are already locked behind the used feature flags, and stuff keeps working if I comment it all out.

Enabling the nightly flag on Leptos itself, which is used in 4 places for shorter signal access.

https://github.com/Synphonyte/leptos-struct-table/blob/f30dba40fae7a2d41bc0e540f7f0c8ffdfb5d2e9/src/components/table_content.rs#L256
https://github.com/Synphonyte/leptos-struct-table/blob/f30dba40fae7a2d41bc0e540f7f0c8ffdfb5d2e9/src/components/table_content.rs#L669
https://github.com/Synphonyte/leptos-struct-table/blob/f30dba40fae7a2d41bc0e540f7f0c8ffdfb5d2e9/src/components/thead.rs#L47
https://github.com/Synphonyte/leptos-struct-table/blob/f30dba40fae7a2d41bc0e540f7f0c8ffdfb5d2e9/src/components/thead.rs#L53

That is indeed an oversight on my part. Would you mind opening a PR?


[dv/prim_mubi*_sync] Improve coverage closure support

For V3 we need 100% coverage, and it will be desirable to reduce the need for explicit coverage exclusions.
There are two cases that can be improved in prim_mubi*sync:

When instantiated with AsyncOn == 0 and the clk_i and rst_ni inputs are tied to constant both OutputDelay_A and OutputsKnown_A concurrent assertions never fire because the clock doesn't tick. We could make them non-concurrent, as in always @(mubi_i) begin , or pass clk_i and rst_ni just for the assertions.
When StabilityCheck == 1 there is a coverage hole in u_mux (a prim_clock_mux2 instance) where selKnown1 never fires. This is because clk1_i is tied to reset_value, which is a parameter.

For the first one, we should probably just connect the clocks/resets. We have other modules that just pull in the clock/reset for the SVA, so this would be nothing new...

For the second one: we can probably replace the prim_clock_mux2 primitives since they are not strictly necessary. I.e., the input signals mubi_q[k] and sig_unstable_buf come out of a constrained buffer or reg, and the output mubi[k] goes through a constrained output buffer again - hence we do not loose any constraints by doing that.

This can be closed since the items have been addressed in https://github.com/lowRISC/opentitan/pull/16587.


No version information

Hi,
I don't know if this issue is linked to your repo or the original vaultwarden.
But neither at the cmd or the admin page I can see the version I installed.
cmd:
root@host:~# vaultwarden -v
vaultwarden (Version info from Git not present)

web:

What is going wrong?

Hi, I see the same, didn't notice.
As far as I'm aware debian packaging (or git-buildpackage) strips off all .git data when unpacking the source before compiling. I'll have a look into this.

Seems like I need to set VW_VERSION at compile time:

https://github.com/dani-garcia/vaultwarden/blob/main/src/main.rs#L139
https://doc.rust-lang.org/std/macro.option_env.html

Yes, this did the trick. https://github.com/dionysius/vaultwarden-deb/tree/debian/1.28.1-5 is the next release with the fix. Once github actions is finished, the release and its items should appear automatically


Can we improve the semantic version implementation for myget?

A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version.

http://semver.org/
Two things I'd propose improving.
First, current releases on MyGet are being labelled badly. For instance, SMA is "1.0.0-alpha10" or "1.0.0-alpha9" ...

I'm pretty sure that should be 6.0.0?
I think the pre-release section should be -alpha.9 and -alpha.10

Second, the System.Management.Automation.SemanticVersion built into PowerShell 6 can't sort pre-releases into the right order ... because it treats everything on the end as a single text label and sorts them alphabetically (so, like Visual Studio, it thinks the "1.0.0-alpha9" is newer than "1.0.0-alpha10").

I would suggest having the SMA.SemanticVersion be a separate issue

@daxian-dbw can you, please comment on the "." in pre-release part?
Together with alpha.11, we will remove alpha9 package from myget feed to fix the order.

@Jaykul yes, we spotted this awkward issue in powershell-core myget, and I'm sorry for not thinking through when publishing the alpha9 packages.
As for the '.', nuget treats version tags like "1.0.0-alpha.05" as invalid, and package with that version tag cannot be opened by tools like "Nuget Package Explorer".
PS:80> cat .\test.nuspec -TotalCount 6
<?xml version="1.0"?>
<package >
    <metadata>
        <id>test</id>
        <version>1.0.0-alpha.05</version>
        <title>test</title>
PS:81> nuget pack .\test.nuspec
Attempting to build package from 'test.nuspec'.
'1.0.0-alpha.05' is not a valid version string.
Parameter name: value

Ok, I just double-checked, and I see that even though your feed on MyGet has support for Semver 2, after 2 years, SemVer2 is still deliberately blocked in nuget pack ...
So yeah, uhm ... zero padding, and a little bit of planning about how many "-alpha" releases are reasonable 😲
The current state --for anyone else.

@daxian-dbw 1.0.0-alpha.05 contains a leading zero on a release label which makes it invalid. Try: 1.0.0-alpha.5 or if you really want the zero, 1.0.0-alpha-05
See http://semver.org/#spec-item-9 for more on the release label rules

@emgarten thanks for pointing it out. I tried 1.0.0-alpha.5 and it doesn't work even with the latest v3.5.0-rc1 nuget.exe:
PS:38> cat .\test.nuspec -TotalCount 6
<?xml version="1.0"?>
<package >
    <metadata>
        <id>test</id>
        <version>1.0.0-alpha.5</version>
        <title>test</title>
PS:39> E:\arena\nupkg\NuGet.exe pack .\test.nuspec
Attempting to build package from 'test.nuspec'.
Versions using SemVer 2.0.0 are not supported: 1.0.0-alpha.5.
PS:40> E:\arena\nupkg\NuGet.exe | select -First 1
NuGet Version: <IP_ADDRESS>7

@daxian-dbw use the latest NuGet.exe here: https://dotnet.myget.org/feed/nuget-build/package/nuget/NuGet.CommandLine/3.5.0-rtm-1829
3.5.0-rc1 had SemVer 2.0.0 blocked, but that was changed after rc1.

Thanks @emgarten, the rtm build works, though with warning about incompatibility with old client:
Attempting to build package from 'test.nuspec'.
Successfully created package 'E:\arena\nupkg\temp\test.1.0.0-alpha.5.nupkg'.
WARNING: Issue found with package 'test'.

WARNING: Issue: Package version not supported on legacy clients.
WARNING: Description: The package version '1.0.0-alpha.5' uses SemVer 2.0.0 or components of SemVer 1.0.0 that are not supported on legacy clients. This message can be ignored if the package is not intended for older clients.
WARNING: Solution: Change the package version to a SemVer 1.0.0 string. If the version contains a release label it must start with a letter.

dotnet-cli works with 1.0.0-alpha.5 nuget package, but the latest "Nuget Package Explorer" v3.18 doesn't because it's compatible only with nuget 2.8.1 and below.

That's such a shame ;-)

(Ah wouldn't life have been simpler with 0.11.0? 😉)

As discussed, add the . so we can close this out. The rest of SemVer is covered in #2983

The . has been added to $PSVersionTable and the filename


Integrate package service with function

Is your enhancement request related to a problem? Please describe.
Currently, I'm implementing PIP-117 https://github.com/apache/pulsar/issues/13302 , changing from using DistributedLog to using local filesystem to store the jars directly in the data folder instead of uploading them into BK.
However, I found the current function creation will directly store the jar file into DistributedLog by calling WorkerUtils.uploadFileToBookkeeper no matter we create function by jar file or functionPkgUrl. It doesn't store the jar file by the unified package service interface. Thus it is hard to store the jars into filesystem by configuration.
Describe the solution you'd like
We'd better integrate the package service into function, and use the unified package service api to read and write jar files.

Can I help with it?

@gaozhangmin Thanks for your help, I have assigned this issue to you.

remove-lifecycle stale


Bug: ractive.set() breaks data-binding

Hi,
here is the fiddle:
http://jsfiddle.net/xc2o8y08/6/
...it's rather strange and depends on a lot of conditions.
Works with latest, broken on edge.

Updated the fiddle, it had nothing to do with the partial but with a simple set:
http://jsfiddle.net/xc2o8y08/8/

Here's a few interesting cases:
It works when you reverse the order of the select and the component.
Ractive.components['comp'] = Ractive.extend({
  template: "
{{yield}}
"
})

var ractive = new Ractive({
  el: 'body',
  template: `
  	{{#with foo}}
      Outside:
      <select value="{{.bar}}">
          <option></option>
          <option>A</option>
          <option>B</option>
          <option>C</option>
      </select>
      <comp>
        In a component:
        <select value="{{.bar}}">
          <option></option>
          <option>A</option>
          <option>B</option>
          <option>C</option>
        </select>
      </comp>
    {{/with}}
  `
})

ractive.set('foo', {})
ractive.set('foo', {})

It works when something else is bound in the tempate. In this case, the JSON.stringify(.bar). Even JSON.stringify(.) works.
Ractive.components['comp'] = Ractive.extend({
  template: "
{{yield}}
"
})

var ractive = new Ractive({
  el: 'body',
  template: `
  	{{#with foo}}
      <comp>
        In a component: {{ JSON.stringify(.bar) }}
        <select value="{{.bar}}">
          <option></option>
          <option>A</option>
          <option>B</option>
          <option>C</option>
        </select>
      </comp>
      Outside: {{ JSON.stringify(.bar) }}
      <select value="{{.bar}}">
          <option></option>
          <option>A</option>
          <option>B</option>
          <option>C</option>
      </select>
    {{/with}}
  `
})

ractive.set('foo', {})
ractive.set('foo', {})

Direct foo.bar doesn't work, but again, anything else bound in the template will make it work.
Ractive.components['comp'] = Ractive.extend({
  template: "
{{yield}}
"
})

var ractive = new Ractive({
  el: 'body',
  template: `
      <comp>
        In a component:
        <select value="{{foo.bar}}">
          <option></option>
          <option>A</option>
          <option>B</option>
          <option>C</option>
        </select>
      </comp>
      Outside:
      <select value="{{foo.bar}}">
          <option></option>
          <option>A</option>
          <option>B</option>
          <option>C</option>
      </select>
  `
})

ractive.set('foo', {})
ractive.set('foo', {})

Another more impressive example:
http://jsfiddle.net/xc2o8y08/24/
...this is seriously broken guys!

Looks like this is fixed too :smile:


[BUG]: sqlite blob<{foo: string}> not working

What version of drizzle-orm are you using?
0.26.5
What version of drizzle-kit are you using?
0.18.1
Describe the Bug
demo code from https://orm.drizzle.team/docs/column-types/sqlite#blob not working

blob<{ foo: string }>('blob', { mode: 'json' })

after search, I found usage of $type in https://github.com/drizzle-team/drizzle-orm/issues/635 do works

I guess the documentation is too new or outdated.
Expected behavior
No response
Environment & setup
No response

The docs have outdated syntax. Use blob('blob', { mode: 'json' }).$type<{ foo: string }>()


Support automatic configuration using information provided by Kubernetes-Vault

@darron added support for the Kubernetes-Vault configuration file in #39.
In Kubernetes-Vault, we also expose lots of other useful information beyond just the token:
{
   "clientToken":"91526d9b-4850-3405-02a8-aa29e74e17a5",
   "accessor":"476ea048-ded5-4d07-eeea-938c6b4e43ec",
   "leaseDuration":3600,
   "renewable":true,
   "vaultAddr":"https://vault:8200"
}

I think it would be quite useful if the work to support Kubernetes-Vault can be extended to automatically use the vaultAddr from the JSON file unless overridden.
In addition, the leaseDuration and renewable properties can be used to renew the Vault token automatically (ref #42)

I could take a look at this when I have a moment - but it might be a little while.