Support sourcemaps

I have following code in my small crawler
page.on("console", msg => console.log(`${route}: ${msg}`));
page.on("error", msg => console.log(`${route}: ${msg}`));
page.on("pageerror", msg => console.log(`${route}: ${msg}`));
page.on("requestfailed", msg => console.log(`${route}: ${msg}`));

to track if something goes wrong. And get this output:
 Error: TypeError: Cannot read property 'resize' of undefined
    at e.resize (http://localhost:45678/static/js/main.91ecf917.js:1:478812)
    at new e (http://localhost:45678/static/js/main.91ecf917.js:1:476478)
    at n.componentDidMount (http://localhost:45678/static/js/main.91ecf917.js:1:734681)
    at commitLifeCycles (http://localhost:45678/static/js/main.91ecf917.js:1:832876)
    at n (http://localhost:45678/static/js/main.91ecf917.js:1:836981)
    at u (http://localhost:45678/static/js/main.91ecf917.js:1:838648)
    at c (http://localhost:45678/static/js/main.91ecf917.js:1:839091)
    at m (http://localhost:45678/static/js/main.91ecf917.js:1:841114)
    at d (http://localhost:45678/static/js/main.91ecf917.js:1:840623)
    at Object.updateContainer (http://localhost:45678/static/js/main.91ecf917.js:1:907103)

which is not very helpful.
I report this issue here because, I believe there should be standard way to deal with sourcemaps. Even if it will not be a part of puppeteer, it should documented in puppeteer.
Possible solution is to use https://github.com/novocaine/sourcemapped-stacktrace or something similar.
Thanks for open sourcing this project.

This is what I got https://github.com/stereobooster/sourcemapped-stacktrace-node#example. It is highly experimental, but works in my case

Well, I consider this suitation as well.
I generator the dist files and sourcemap files seperately by webpack. I didn't want to put the sourcemap files to the server.Because it's not safe.
I try to inject the sourcemap files to the browser through puppeteer locally.But puppeteer can only inject the script or stylesheet.
I think it can inject the script with inline sourcemap to solve this problem.

I didn't want to put the sourcemap files to the server.Because it's not safe.

This is security through obscurity.
The ticket is not about how you put sourcemaps or if you want to use them. This ticket is about situation when you have sourcemaps just use it to decode errors - the same way as chrome console does it.

I know this is closed but it might be useful for someone to know how I managed to get a meaningful stacktrace - see my answer here on SO https://stackoverflow.com/a/48806685/1384149

It would be great if there was a way to see JavaScript coverage when using source maps. I'm currently working on a project where I have to use Webpack (at least for now) and I want to run tests using Puppeteer and check the code coverage for each file in the bundle.

@richardkazuomiller did you find anyway to get code coverage from sourcefiles?
This would be very useful for tests.

@richardkazuomiller have you found solution for mapping coverage to source?

Has anyone come up with a workaround for this?
I'm thinking of loading them directly in my application but I really didn't want to go about it that way. Currently I'm compiling some typescript and evaluating the compiled JS (with inline source maps) but this doesn't work :sweat_smile:


Arueshalae still comes with favored enemy-demons of magic

When you first recruit Arueshalae, even early, she's already level 8 and has 2 ranks in favored enemy-demons of magic instead of outsiders. Is there a way to change that?

I read that Outrider favored enemy doesn't do anything currently

Tbh that is a dumb change they did cause of "balance" imo it should just be like in pnp choose what type of outsider.
Outsider (Evil) and (Chaotic) is already narrow enough for demons.

would it be too overpowered if she had her tabletop stats as well you think?

This isn't a bug, all favored enemy demons function as favored enemy outsider now and exist solely for existing build compatibility. Continue taking ranks in them to progress favored enemy. Descriptions are updated in the next version.


Fills/dispatches when padding not getting folded into consumers/producers.

Was looking at tests/e2e/models/resnet50_fake_weights.mlir and noticed that there are still a lot of fills/slow dispatch-based memcpys (~18 fills/dispatches and unique executables per each because of the unique sizes). This adds quite a bit of latency to the system as the fill -> dispatch that does just memcpy -> actual consumer are serialized. Thankfully we can run the fill concurrently with the producer but that is a large additional transient value we need to allocate/keep live and still an extra 33% baseline latency ([producer|fill] -> pad dispatch -> consumer vs. producer -> consumer). 23% of the dispatches we compile/store in the binary/execute at runtime are these pads and a ~25% savings on that would be awesome. Now that we have some latency-sensitive models with convs (where I think we end up with the most pads) getting rid of this noise will help keep focus on the actual codegen improvements and not the dispatch scheduling.
I think #9194 was supposed to prevent this, but there's also a draft #10184 that may have intended to do it. Fixing this would let us finally close the old #2783. Feel free to close as a dupe or consider this a ping with an easily available reproducer :)
What this looks like during execution is (with dispatch_6 as the serialized pad):
stream.executable private @predict_dispatch_6 {
  stream.executable.export public @predict_dispatch_6 workgroups(%arg0: index, %arg1: index, %arg2: index) -> (index, index, index) {
    %x, %y, %z = flow.dispatch.workgroup_count_from_dag_root %arg0, %arg1, %arg2
    stream.return %x, %y, %z : index, index, index
  }
  builtin.module {
    func.func @predict_dispatch_6(%arg0: !stream.binding, %arg1: !stream.binding) {
      %c0 = arith.constant 0 : index
      %0 = stream.binding.subspan %arg0[%c0] : !stream.binding -> !flow.dispatch.tensor<readonly:tensor<56x56x64xf32>>
      %1 = stream.binding.subspan %arg1[%c0] : !stream.binding -> !flow.dispatch.tensor<readwrite:tensor<1x58x58x64xf32>>
      %2 = flow.dispatch.tensor.load %0, offsets = [0, 0, 0], sizes = [56, 56, 64], strides = [1, 1, 1] : !flow.dispatch.tensor<readonly:tensor<56x56x64xf32>> -> tensor<56x56x64xf32>
      flow.dispatch.tensor.store %2, %1, offsets = [0, 1, 1, 0], sizes = [1, 56, 56, 64], strides = [1, 1, 1, 1] : tensor<56x56x64xf32> -> !flow.dispatch.tensor<readwrite:tensor<1x58x58x64xf32>>
      return
    }
  }
}

%17:2 = stream.async.concurrent with(%16 as %arg322: !stream.resource<transient>{%c3211264}, %arg50 as %arg323: !stream.resource<constant>{%c65536}, %arg51 as %arg324: !stream.resource<constant>{%c256}, %arg52 as %arg325: !stream.resource<constant>{%c256}, %arg53 as %arg326: !stream.resource<constant>{%c256}, %arg54 as %arg327: !stream.resource<constant>{%c256}, %arg55 as %arg328: !stream.resource<constant>{%c256}) -> (!stream.resource<transient>{%c802816}, !stream.resource<transient>{%c861184}) {
  %79 = stream.async.dispatch @predict_dispatch_9::@predict_dispatch_9_matmul_3136x64x256[%c3136, %c64](%arg322, %arg323, %arg324, %arg325, %arg326, %arg327, %arg328) : (!stream.resource<transient>{%c3211264}, !stream.resource<constant>{%c65536}, !stream.resource<constant>{%c256}, !stream.resource<constant>{%c256}, !stream.resource<constant>{%c256}, !stream.resource<constant>{%c256}, !stream.resource<constant>{%c256}) -> !stream.resource<transient>{%c802816}
  %80 = stream.async.splat %c0_i8 : i8 -> !stream.resource<transient>{%c861184}
  stream.yield %79, %80 : !stream.resource<transient>{%c802816}, !stream.resource<transient>{%c861184}
}
%18 = stream.async.dispatch @predict_dispatch_6::@predict_dispatch_6[%c56, %c56, %c64](%17#0, %17#1) : (!stream.resource<transient>{%c802816}, !stream.resource<transient>{%c861184}) -> %17#1{%c861184}
%19 = stream.async.dispatch @predict_dispatch_7::@predict_dispatch_7_conv_2d_nhwc_hwcf_1x56x56x64x3x3x64[%c1, %c56, %c56, %c64](%18, %arg56, %arg57, %arg58, %arg59, %arg60, %arg61) : (!stream.resource<transient>{%c861184}, !stream.resource<constant>{%c147456}, !stream.resource<constant>{%c256}, !stream.resource<constant>{%c256}, !stream.resource<constant>{%c256}, !stream.resource<constant>{%c256}, !stream.resource<constant>{%c256}) -> !stream.resource<transient>{%c802816}

Ideally we'd just see dispatch_9 -> dispatch_7 (matmul -> conv) with no intervening ops.

I think that is addressed by setting the flag --iree-flow-enable-fuse-padding-into-linalg-consumer-ops. That should fuse the pad with its consumer. It is off by default cause it works on CPU and SPIR-V backends only, and also I would rather fuse pad with its producers. #10184 was something I tried as an example for someone to pick it up, but it hasnt been picked up by anyone so far. So it remains on my backlog.
I can close the old bug in favor of this one if that helps... but we have discussed this many times ;) , I wont be able to push on this, and really hoping someone can pick this up.

Yep, just trying to increase visibility and have something to point at for people asking what's up with the bubbles in the pipeline :)
It may be useful to add some notes to #10184 with what still needs to be done. The original #2783 didn't have an example - we can dedupe this against that so that whoever ends up fixing this gets the honor of closing a 2+yr old issue :)

I need to resurrect that PR... Will do that and add some notes.

ESRGAN suffers from this as well and would benefit from padding propagation into consumers.
Example where if the padding in %padded_923 was propagated upward we could perform the elementwise ops in-place and then directly consume them in the conv.
    // and other elementwise ops producing %189/%192/etc
    %198 = linalg.generic {indexing_maps = [#map2, #map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%197 : tensor<1x32x90x62xf32>) outs(%3 : tensor<1x32x90x62xf32>) {
    ^bb0(%in: f32, %out: f32):
      %1177 = arith.cmpf ugt, %in, %cst_701 : f32
      %1178 = arith.select %1177, %in, %cst_701 : f32
      %1179 = arith.select %1177, %cst_701, %in : f32
      %1180 = arith.truncf %cst_702 : f64 to f32
      %1181 = arith.mulf %1179, %1180 : f32
      %1182 = arith.addf %1178, %1181 : f32
      linalg.yield %1182 : f32
    } -> tensor<1x32x90x62xf32>
    %inserted_slice_919 = tensor.insert_slice %189 into %15[0, 0, 0, 0] [1, 64, 90, 62] [1, 1, 1, 1] : tensor<1x64x90x62xf32> into tensor<1x160x90x62xf32>
    %inserted_slice_920 = tensor.insert_slice %192 into %inserted_slice_919[0, 64, 0, 0] [1, 32, 90, 62] [1, 1, 1, 1] : tensor<1x32x90x62xf32> into tensor<1x160x90x62xf32>
    %inserted_slice_921 = tensor.insert_slice %195 into %inserted_slice_920[0, 96, 0, 0] [1, 32, 90, 62] [1, 1, 1, 1] : tensor<1x32x90x62xf32> into tensor<1x160x90x62xf32>
    %inserted_slice_922 = tensor.insert_slice %198 into %inserted_slice_921[0, 128, 0, 0] [1, 32, 90, 62] [1, 1, 1, 1] : tensor<1x32x90x62xf32> into tensor<1x160x90x62xf32>
    %padded_923 = tensor.pad %inserted_slice_922 low[0, 0, 1, 1] high[0, 0, 1, 1] {
    ^bb0(%arg1: index, %arg2: index, %arg3: index, %arg4: index):
      tensor.yield %cst_701 : f32
    } : tensor<1x160x90x62xf32> to tensor<1x160x92x64xf32>
    %199 = linalg.generic {indexing_maps = [#map, #map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%cst_581 : tensor<32xf32>) outs(%3 : tensor<1x32x90x62xf32>) {
    ^bb0(%in: f32, %out: f32):
      linalg.yield %in : f32
    } -> tensor<1x32x90x62xf32>
    %200 = linalg.conv_2d_nchw_fchw {dilations = dense<1> : vector<2xi64>, strides = dense<1> : vector<2xi64>} ins(%padded_923, %cst_582 : tensor<1x160x92x64xf32>, tensor<32x160x3x3xf32>) outs(%199 : tensor<1x32x90x62xf32>) -> tensor<1x32x90x62xf32>
    %201 = linalg.generic {indexing_maps = [#map2, #map1], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%200 : tensor<1x32x90x62xf32>) outs(%3 : tensor<1x32x90x62xf32>) {
    ^bb0(%in: f32, %out: f32):
      %1177 = arith.cmpf ugt, %in, %cst_701 : f32
      %1178 = arith.select %1177, %in, %cst_701 : f32
      %1179 = arith.select %1177, %cst_701, %in : f32
      %1180 = arith.truncf %cst_702 : f64 to f32
      %1181 = arith.mulf %1179, %1180 : f32
      %1182 = arith.addf %1178, %1181 : f32
      linalg.yield %1182 : f32
    } -> tensor<1x32x90x62xf32>

Today we end up with this which requires the %39 splat and %41 dispatch copy:
  %32 = flow.dispatch.workgroups[%c1, %c32, %c90, %c62](%31, %cst_4) : (tensor<1x160x92x64xf32>, tensor<32x160x3x3xf32>) -> tensor<1x32x90x62xf32> =
      (%arg3: !flow.dispatch.tensor<readonly:tensor<1x160x92x64xf32>>, %arg4: !flow.dispatch.tensor<readonly:tensor<32x160x3x3xf32>>, %arg5: !flow.dispatch.tensor<writeonly:tensor<1x32x90x62xf32>>) {
    %cst_351 = arith.constant 0.000000e+00 : f32
    %cst_352 = arith.constant 0.199999988 : f32
    %cst_353 = arith.constant dense<[[-0.00735217752, -0.029075671, -0.0011687536, -0.0265800748, -0.016661156, -0.0216491632, -0.0427877456, -0.0533559099, -0.0249305591, -0.0207087267, -0.0253318828, -0.0515014119, -0.0422265045, -0.0368615724, 0.00198965892, -0.0221594162, -0.0266306344, -0.0617676973, -0.0261138938, -0.00482901605, -0.0400608778, -0.0137573751, -0.00975679792, -0.0443469957, -0.0315653086, -0.0245542042, -0.0320154652, -6.253720e-02, -0.0274252892, 0.00514560752, -0.0166819859, -0.0136556849]]> : tensor<1x32xf32>
    %2035 = flow.dispatch.tensor.load %arg3, offsets = [0, 0, 0, 0], sizes = [1, 160, 92, 64], strides = [1, 1, 1, 1] : !flow.dispatch.tensor<readonly:tensor<1x160x92x64xf32>> -> tensor<1x160x92x64xf32>
    %2036 = flow.dispatch.tensor.load %arg4, offsets = [0, 0, 0, 0], sizes = [32, 160, 3, 3], strides = [1, 1, 1, 1] : !flow.dispatch.tensor<readonly:tensor<32x160x3x3xf32>> -> tensor<32x160x3x3xf32>
    %2037 = tensor.empty() : tensor<1x32x90x62xf32>
    %2038 = linalg.fill ins(%cst_351 : f32) outs(%2037 : tensor<1x32x90x62xf32>) -> tensor<1x32x90x62xf32>
    %2039 = linalg.conv_2d_nchw_fchw {dilations = dense<1> : vector<2xi64>, strides = dense<1> : vector<2xi64>} ins(%2035, %2036 : tensor<1x160x92x64xf32>, tensor<32x160x3x3xf32>) outs(%2038 : tensor<1x32x90x62xf32>) -> tensor<1x32x90x62xf32>
    %2040 = linalg.generic {indexing_maps = [affine_map<(d0, d1, d2, d3) -> (d0, d1, d2, d3)>, affine_map<(d0, d1, d2, d3) -> (d0, d1)>, affine_map<(d0, d1, d2, d3) -> (d0, d1, d2, d3)>], iterator_types = ["parallel", "parallel", "parallel", "parallel"]} ins(%2039, %cst_353 : tensor<1x32x90x62xf32>, tensor<1x32xf32>) outs(%2037 : tensor<1x32x90x62xf32>) {
    ^bb0(%in: f32, %in_354: f32, %out: f32):
      %2041 = arith.addf %in, %in_354 : f32
      %2042 = arith.cmpf ugt, %2041, %cst_351 : f32
      %2043 = arith.select %2042, %2041, %cst_351 : f32
      %2044 = arith.select %2042, %cst_351, %2041 : f32
      %2045 = arith.mulf %2044, %cst_352 : f32
      %2046 = arith.addf %2043, %2045 : f32
      linalg.yield %2046 : f32
    } -> tensor<1x32x90x62xf32>
    flow.dispatch.tensor.store %2040, %arg5, offsets = [0, 0, 0, 0], sizes = [1, 32, 90, 62], strides = [1, 1, 1, 1] : tensor<1x32x90x62xf32> -> !flow.dispatch.tensor<writeonly:tensor<1x32x90x62xf32>>
    flow.return
  } count(%arg3: index, %arg4: index, %arg5: index, %arg6: index) -> (index, index, index) {
    %x, %y, %z = flow.dispatch.workgroup_count_from_dag_root %arg3, %arg4, %arg5, %arg6
    flow.return %x, %y, %z : index, index, index
  }
  %33 = tensor.empty() : tensor<1x192x90x62xf32>
  %34 = flow.tensor.update %4, %33[%c0, %c0, %c0, %c0] : tensor<1x64x90x62xf32> -> %33 as tensor<1x192x90x62xf32>
  %35 = flow.tensor.update %8, %34[%c0, %c64, %c0, %c0] : tensor<1x32x90x62xf32> -> %34 as tensor<1x192x90x62xf32>
  %36 = flow.tensor.update %15, %35[%c0, %c96, %c0, %c0] : tensor<1x32x90x62xf32> -> %35 as tensor<1x192x90x62xf32>
  %37 = flow.tensor.update %23, %36[%c0, %c128, %c0, %c0] : tensor<1x32x90x62xf32> -> %36 as tensor<1x192x90x62xf32>
  %38 = flow.tensor.update %32, %37[%c0, %c160, %c0, %c0] : tensor<1x32x90x62xf32> -> %37 as tensor<1x192x90x62xf32>
  %39 = flow.tensor.splat %cst : tensor<1x192x92x64xf32>
  %40 = flow.tensor.reshape %38 : tensor<1x192x90x62xf32> -> tensor<192x90x62xf32>
  %41 = flow.dispatch.workgroups[%c192, %c90, %c62](%40, %39) : (tensor<192x90x62xf32>, tensor<1x192x92x64xf32>) -> %39 =
      (%arg3: !flow.dispatch.tensor<readonly:tensor<192x90x62xf32>>, %arg4: !flow.dispatch.tensor<readwrite:tensor<1x192x92x64xf32>>) {
    %2035 = flow.dispatch.tensor.load %arg3, offsets = [0, 0, 0], sizes = [192, 90, 62], strides = [1, 1, 1] : !flow.dispatch.tensor<readonly:tensor<192x90x62xf32>> -> tensor<192x90x62xf32>
    flow.dispatch.tensor.store %2035, %arg4, offsets = [0, 0, 1, 1], sizes = [1, 192, 90, 62], strides = [1, 1, 1, 1] : tensor<192x90x62xf32> -> !flow.dispatch.tensor<readwrite:tensor<1x192x92x64xf32>>
    flow.return
  } count(%arg3: index, %arg4: index, %arg5: index) -> (index, index, index) {
    %x, %y, %z = flow.dispatch.workgroup_count_from_dag_root %arg3, %arg4, %arg5
    flow.return %x, %y, %z : index, index, index
  }

I tried the --iree-flow-enable-fuse-padding-into-linalg-consumer-ops flag with ESRGAN and it got rid of the fills (so 1.1GB/invocation of memset(0)) and dropped transient memory usage from 74905600 (74MB) to 61424640 (61MB) - nice! (#7729 will drop it another 5-10MB)
I haven't actually benchmarked the model but it's nice to know what overheads padding adds here.


Linkage to cohort diagnostics

Add to the About page the URLs for the different diagnostics apps.
Additionally, see about:

Deep linking in Shiny so that we can potentially point people to specific diagnostics from the Charybdis results viewer

Crosslinking relevant issues https://github.com/OHDSI/CohortDiagnostics/issues/116


Chore/ccm 6 codestyle linting

Introducing code style linting using ESLint and our brand new @lmc-eu/eslint-config-base rules. Just to try how it will behave.

@literat FYI apart from the few comments above this seems ok to me, so just ping me or re-request review once this ready to final review :)


Recovery account

Help me I was trying in bybit binance okx all happening same problem only please help

How many days happened to open the account all

Help

Help me I was trying in bybit binance okx all happening same problem only please help

Hello @Aleemkings
Hope your issue has been resolved by now. If not, We apologize for the inconvenience you’re experiencing. For personalized assistance, please contact our support team directly.
Ticket ID:OKX01268
OKX wallet support Network:
To start a chat with a live support agent, click the live chat icon at the bottom corner of the page.


Add support for Geo-spatial data : LatLonPoint

Lucene has a data type for geo-spacial search, LatLonPoint.
http://lucene.apache.org/core/7_5_0/core/org/apache/lucene/document/LatLonPoint.html
Documents tab and Search tab should support LatLonPoint, as well as other types.

For contributors: Now Luke is a part of Apache Lucene. Please create an issue (if there is not exist) to Lucene Jira if you want to help with this.


Fixed table view cell color in dark mode when sending currency in activity tab

Fixes #5614

Light mode
Dark mode

The colour is named luckyPoint based on a Google search for #323250. https://www.htmlcsscolor.com/hex/323250

I made up a hex code and it has a name… 🥇 Hahah


Updated members page styles

cc @mixonic
Fixes #237

Awesome. Cory and I will have mucho rebasing, but are in a good place to wrap up that complex page tomorrow morn.


Remove "Religion" as a topic.

"Religion" seems to be a topic as a joke, but this is polluting the PyPi namespace. Cleaning it up.

I prefer to retain this topic. Text-Fabric is a tool written for analysing ancient texts.


onedrive ondemand

Hi all, we have a few shared devices(max 2 persons on a device) and i am trying to get the onedrive on demand desktop tool to work.
These devices are Azure domain Joined.
Nothing wil work only the cloud Onedrive. It is importand that teacher can save a document from RDP to the OneDrive but for now this is not visible.
Is there a way to setup this with Windows Configurator designer?
with regards
Eric

@compie67 I'm not clear on your question.
You said "Nothing wil work only the cloud Onedrive. It is importand that teacher can save a document from RDP to the OneDrive but for now this is not visible." Could you explain more? What have you done to get it working? What does Remote Desktop have to do with this?

Hi, offcourse wil try to explain.
We at school have to work with the Remote desktop connection for the LMS, the report generated must be saved localy and we want this in the OneDrive. Now thats the problem. From the RDP this is not visible. i am talking about the native Windows 10 onedrive app. When i want to install the onedrive for business program this wont work on the shared device. I hope this can be arranged with de windows configurator
Eric

@compie67 It looks like there's an issue using RDP and OneDrive: https://techcommunity.microsoft.com/t5/OneDrive-for-Business/using-onedrive-from-Remote-Desktop-connection/td-p/212784
You can add your information to that post, to see if anyone has found a solution, or you can contact Microsoft Support (https://support.microsoft.com/en-us/contactus/) for assistance.

I think it would be the last one. The first link was also my post ;-)
Thank you for responding.
Eric

@compie67 - Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@AndreaBarr - This issue can be closed. Thank you.


Unsupport render in Mac OS

谢谢你啦😉
  白嫖

May add -XstartOnFirstThread to launch options?

May add -XstartOnFirstThread to launch options?

We tried, but it still doesn't work. Maybe we should use other graphics library.


add panels to the docs

as I'm still unable to build the doc on my machine, I'll use the draft to trigger the RDT build.
WIP

I'd use Sphinx Design, not Sphinx Panels (https://sphinx-design.readthedocs.io/en/latest/)

I'd use Sphinx Design, not Sphinx Panels (https://sphinx-design.readthedocs.io/en/latest/). The syntax is very similar though.

Yep I saw your comment in the issue, as it's the same class I'll work with that for now and I'll update the lib name once everything works

I think I now have something. I respected the structure initiated by @choldgraf and added 2 files in the extention folder. one to support sphinx-design and one for sphinx-panels fore legacy documentations.
In short you'll find in this PR:

2 sets of css rules to overwrite the one provided by sphinx-design and sphinx-panels extentions
a new page to check the panels. I used sphinx-design for the examples
some small modification to the navbar coloring to avoid being overwritten by other extention

several notes:

the 2 extentions are fully incompatible as they both provide the :fa: role and are based on different versions of bootstrap
I only support panels and tabs, the other components are less comonly used and should thus be customized by the user
sphinx-design was easier to customize so I would prefer to use it instead of sphinx-panels
there are a lot of !important rules due to the order of the files in the final html.

I pushed a few minor changes to the docs:

Moved the two sphinx-panels admonitions into a single one, so it's easier to read.
Added an example of over-riding the sphinx-design primary color

I think the only thing remaining here is to see if we could remove some of the !important lines by making the CSS selectors more specific. Is that right @12rambau ?

@choldgraf ready for review, no more !important to be seen.

Is there a follow-up issue to get rid of sphinx-panels? I have not seen one yet.

I don't think so, but agree we should deprecate it and switch to Sphinx design!


Digital Signature module usage on S2 C3 S3

Ive been reading the client code and can see that the private key is stored on NVS, is there a example of using the DS module with eFuse protected keys?
Cant find many examples on the web about that, especially how to generate the private keys on the device and hmac the parameters.

Hi @AdityaHPatwardhan,
Unfortunately that example as all the others I could find the client secret key is generated using OpenSSL in the host computer, which I less secure that I would like, especially having my boards programmed at a untrusted PCBA factory.
I'm searching for a example of generating the private key on device and getting the ds parameters from it.


storage.Key.get_contents_to_filename:  sync mtime with 'updated' time from metadata

Split from #148.
See the v1 API resource representation for Object, which defines the updated field as an RFC 3339 timestamp string (YYYY-MM-DDThh:mm:ssZ or YYYY-MM-DDThh:mm:ss+hh:mm).

@tseaver and @grapefruit623 Please re-open if this is not fully fixed.


just found a new bug.

Describe your bug here.
i have a new bug when the error happened if give me a note output the error message and it says this :Note.hx (line 124)
PlayState.hx (line 2353)
PlayState.hx (line 1053)
flixel/FlxGame.hx (line 637)
flixel/FlxGame.hx (line 724)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng
;

Command Prompt/Terminal logs (if existing)
Note.hx (line 124)
PlayState.hx (line 2353)
PlayState.hx (line 1053)
flixel/FlxGame.hx (line 637)
flixel/FlxGame.hx (line 724)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

> Crash Handler written by: sqirra-rng

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
idk

You need a newer build


Adding Install in its own section

After having a friend try to install this and getting stuck, I realize that there is no install section. Having it at the top makes running this a bit easier - otherwise, you have to search for install to learn the name of the repo. This should help onboarding new users, with minimal amount of space.

Thanks for adding this clarification!

No problem!


Core - Extract client-api pkg from core

Issue: related to #4942
What I did
Extracted ClientApi, StoryStore, ConfigApi, toId to the client-api pkg

This is step 1 of N to overhaul Storybook for RN

@igor-dv @ndelangen, keep it up!

💪

✋.


Error when introducing Linaria via wyw-in-js to Vike's react template

Description
In case some of you are not familiar with Linaria, it is a zero-runtime css-in-js library which I'm in favor of. However, introducing Linaria into a Vike project faces the following issue.
The issue could be reproduced stably by:

npm create vike -- --react
add wyw-in-js and linaria following this link
create a styled component in any page to be rendered
launch the dev server(npm run dev, essentially node ./server/index.ts), open that page in the browser, refresh it once or twice
the issue occurs and never disappears unless the dev server is restarted

Besides, the issue does not occur if a Vite dev server is launched (vite).
I have analyzed the issue myself, and here are my findings:
The principle of Linaria is to transform certain codes into CSS classnames in strings while injecting an import statement of a generated css file. The generated file's name ends with .css, but later it gets transferred to JS HMR code that patches the stylesheet like
import {
    createHotContext as __vite__createHotContext
} from "/@vite/client";
import.meta.hot = __vite__createHotContext("/pages/index/+Page.wyw-in-js.css?direct"); import {
    updateStyle as __vite__updateStyle, removeStyle as __vite__removeStyle
} from "/@vite/client"
const __vite__id = "/Users/billstark001/Desktop/programs/vike-react-linaria-test/pages/index/+Page.wyw-in-js.css"
const __vite__css = ".cxoeud8{color:blue;}\n"
__vite__updateStyle(__vite__id, __vite__css)
import.meta.hot.accept()
import.meta.hot.prune(() => __vite__removeStyle(__vite__id))

. This confuses Vike's renderPage function by emitting an error in a type assertion. The generated .css files' ModuleNode's' client type is css while SSR type is js.
The stack trace is as follow:
<EMAIL_ADDRESS>You stumbled upon a Vike bug. Go to https://github.com/vikejs/vike/issues/new and copy-paste this error. A maintainer will fix the bug (usually within 24 hours).
    at isStyle (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js:68:9)
    at collectCss (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js:36:9)
    at file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js:58:9
    at Set.forEach (<anonymous>)
    at collectCss (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js:57:25)
    at file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js:58:9
    at Set.forEach (<anonymous>)
    at collectCss (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js:57:25)
    at file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js:23:9
    at async Promise.all (index 0)
    at retrieveAssetsDev (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js:6:5)
    at getPageAssets (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets.js:21:21)
    at Object.__getPageAssets (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/loadUserFilesServerSide.js:51:36)
    at injectHtmlTagsToString (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/html/injectAssets.js:9:24)
    at renderDocumentHtml (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/html/renderHtml.js:38:32)
    at executeOnRenderHtmlHook (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/executeOnRenderHtmlHook.js:30:24)
    at renderPageAlreadyRouted (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage/renderPageAlreadyRouted.js:58:30)
    at renderPageNominal (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage.js:286:36)
    at renderPageAlreadyPrepared (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage.js:116:45)
    at renderPageAndPrepare (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage.js:96:12)
    at file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/plugin/shared/getHttpRequestAsyncStore.js:54:35
    at renderPage (file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/node_modules/vike/dist/esm/node/runtime/renderPage.js:43:35)
    at file:///Users/billstark001/Desktop/programs/vike-react-linaria-test/server/index.ts:57:29

Though my current work is a static site and thus it doesn't affect me, this issue is reported by the [bug] instruction. Yet, I didn't know if Linaria or Vike should be responsible for this, since the HMR code's type is css seems buggy itself.
Last but not least, I have to express my gratitude to the Vike team for your incredible work, especially after being tortured by the whole Next.js ecosystem :D

A temporary workaround will be applying the following patch:
vike+0.4.211.patch
diff --git a/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js b/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js
index 0639ba9..7c80835 100644
--- a/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js
+++ b/node_modules/vike/dist/esm/node/runtime/renderPage/getPageAssets/retrieveAssetsDev.js
@@ -60,8 +60,13 @@ function collectCss(mod, styleUrls, visitedModules, importer) {
 }
 function isStyle(mod) {
     if (styleFileRE.test(mod.url) || (mod.id && /\?vue&type=style/.test(mod.id))) {
-        // `mod.type` seems broken
-        assert(mod.type === 'js');
+        if (mod.id.includes('wyw-in-js') && mod.type === 'css') {
+            // special case for Linaria & WYW-in-JS
+            // do nothing
+        } else {
+            // `mod.type` seems broken
+            assert(mod.type === 'js');
+        }
         // logModule(mod)
         return true;
     }

by patch-package.

How about this?
function isStyle(mod) {
  if (mod.type === 'css') return true
  if (styleFileRE.test(mod.url) || (mod.id && /\?vue&type=style/.test(mod.id))) return true
  return false
}

This works for me.
Actually I don't know the purpose of that assertion (perhaps you want to find cases that violate it?) but as long as you think removing it is fine, there shouldn't be a problem.

Pre-released as 0.4.211-commit-be2fe23.
Yea, exactly, I wanted to know when it isn't 'js' which is surprisingly only very seldomly the case.


[documentation]

Describe the bug
typescript branch deleted from v2 but introduction page in 2021 still directs towards it and is deprecated
To Reproduce
Steps to reproduce the behavior:
npx degit timlrx/tailwind-nextjs-starter-blog#typescript
Expected behavior
the tpescript part and check it as deprecated. Also, will be better if leading comment saying v1 is no longer supported and direct to v2. README.md of this repo posted will be of perfect solution I think
Screenshots
If applicable, add screenshots to help explain your problem.

Yes indeed, apologies for the misleading documentation


Support AWS

I've run the tests on AWS and Oracle and they pass without issue. I'd like to merge this in so that we can continue development. AWS support is still not supported fully and there's no documentation. We also have no compatibility promise for AWS clusters.
See also ACRC/slurm-ansible-playbook#70 for the ansible changes.

Works well for my manual test cluster.
LGTM +1


How to add a PartsList to Descriptor cluster on EP

So I make my generic switch EP...
        generic_switch::config_t generic_config;
        endpoint_t *endpoint3 = generic_switch::create(node, &generic_config, ENDPOINT_FLAG_NONE, (void *)i);
        cluster::fixed_label::create(endpoint3, NULL, CLUSTER_FLAG_SERVER);
        cluster::user_label::create(endpoint3, NULL, CLUSTER_FLAG_SERVER);

Now I need to add endpoint1 and endpoint2 to the PartsList on the Descriptor cluster of endpoint3.
So how do I so that? This is similar problem to the BasicCluster, the PartsList field is Read-Only.

The last argument for emberAfSetDynamicEndpoint(), which is being used in esp-matter to create all the endpoints, is parent_endpoint_id. The parts list is created internally based on this.
Currently in esp-matter, this is just being set to kInvalidEndpointId for all the endpoints. This needs to be fixed and handled correctly in esp-matter. Maybe a separate API to add the parent_endpoint_id would be needed.
I did a quick test and the parts_list is correctly reflected, even for multiple levels in the 'endpoint tree'.

I will test this and soon as it is available. I need to see what Apple and Google Home are going to do when they see the device partslist.

@jonsmirl Can you please check with latest esp-matter main branch. https://github.com/espressif/esp-matter/commit/8183dd3963f1c3f1a78519f4cba911e5ce71a1a9 is added now

SetParent should be an endpoint member function, not standalone.
You have: set_parent_endpoint(endpoint3, endpoint1);
Should be  endpoint3->set_parent(endpoint1);
Google and Apple have work to do on this, if I enable this both of their apps GPF. Maybe you can set them up with a test case since they don't listen to me.
A light dimmer switch is a composite device that should look like this:
Light Bulb EP
--child--  Light Switch EP
--child--  Generic Switch EP
In their apps the Light Bulb is the primary thing controlled by the UI. The child Light Switch should be ignored. And the child Generic Switch should expose events that can be used to trigger routines.

This is working now, but adding the EP to the partlist isn't the solution to the problem I was trying to address. The actually solution is that a new device type for Smart Switches is needed.


Logfile parameters ignored?

Whatever I do, forever seems to ignore my log parameters and creates its own logfile.
start_node_server.sh:
cd /opt/nodejs/
forever start dist/init.js -o nodejs_out.log -e nodejs_err.log -l nodejs_forever.log -a`

I run start_node_server.sh as root, but the logfiles are not created.
forever logs returns
info:    Logs for running Forever processes
data:        script       logfile
data:    [0] dist/init.js /root/.forever/z8Nd.log

I changed the path of the logfiles to just a filename, made sure folders are writable... what am I doing wrong?

I think it's
forever -o nodejs_out.log -e nodejs_err.log -l nodejs_forever.log -a start dist/init.js

How to specify the logfile parameters in a JSON configuration file?

To answer my own question, apparently those are errFile, logFile and outFile, as can be deduced from here: https://github.com/foreverjs/forever/blob/master/lib/forever/cli.js#L110-L126
This should probably be documented in the readme though. I'll create a PR.

forever -o nodejs_out.log -e nodejs_err.log -l nodejs_forever.log -a start dist/init.js
that worked, tnx


[QUERY] What is the configuration structure for configuring the OpenAIClient?

Library name and version
Azure.AI.OpenAI 1.0.0-beta.5
Query/Question
I'm currently configuring the OpenAIClient by registering it into DI like this:
builder.Services.AddAzureClients(clientBuilder =>
{
    clientBuilder.AddOpenAIClient(
        new Uri(builder.Configuration["Azure:OpenAI:Endpoint"]),
        new AzureKeyCredential(builder.Configuration["Azure:OpenAI:ApiKey"])
    );
});

I know there's also an overload to pass in configuration like this:
builder.Services.AddAzureClients(clientBuilder =>
{
    clientBuilder.AddOpenAIClient(builder.Configuration.GetSection("Azure:OpenAI"));
});

But I don't know how to configure the Endpoint and ApiKey with this overload.
So what should my configuration structure look like to configure it like the first sample?
Ideally, this would work with .NET's autoreloading configuration, so I can swap API keys without having to restart my application.
Environment
No response

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

After looking a bit at this @Swimburger - there are some folks speculating that if you were to configure a section like this:
{
  "Azure": {
    "OpenAI": {
      "Endpoint": "< your endpoint >",
      "Crendtial": "< your credential >"
    }
  }
}

And then get the section by its name:
builder.Services.AddAzureClients(clientBuilder =>
{
    clientBuilder.AddOpenAIClient(
        builder.Configuration.GetSection("Azure:OpenAI"));

    // This section would be the following values:
    // {
    //  "Endpoint": "< your endpoint >",
    //  "Crendtial": "< your credential >"
    // }
});

Notice that the property names match the parameter names of the corresponding parameterized call, I wonder if that's how it maps?
builder.Services.AddAzureClients(clientBuilder =>
{
    clientBuilder.AddOpenAIClient(
        endpoint: new Uri(builder.Configuration["Azure:OpenAI:Endpoint"]),
        credential: new AzureKeyCredential(builder.Configuration["Azure:OpenAI:ApiKey"])
    );
});

Also, see here, as a somewhat related sample: https://learn.microsoft.com/dotnet/azure/sdk/dependency-injection#configure-a-new-retry-policy

Doing that I get the following error when making the API calls:
Azure.RequestFailedException: Principal does not have access to API/Operation.
      Status: 401 (PermissionDenied)
      ErrorCode: PermissionDenied

      Content:
      {"error":{"code":"PermissionDenied","message": "Principal does not have access to API/Operation."}}

Hello, @Swimburger. If you're getting that error, it sounds to me like the endpoint was passed down correctly, but the API key wasn't (otherwise I would expect a different error, e.g. a 404 Not Found).
Here are two ideas to try:

I see that in @IEvangelist's example there's a typo in "Crendtial". Could you fix the typo and try again?
Alternatively, looking at the OpenAIClient constructor, I see that the parameter is called "keyCredential". Could you try calling it that in your configuration file instead of calling it "Credential" and try again?

I noticed the typo and corrected it in my code, but no luck. keyCredential and KeyCredential don't work either.
Same error, but I also found these additional logs.
fail: Azure.Identity[10]
      False MSAL <IP_ADDRESS> MSAL.NetCore .NET 7.0.5 Microsoft Windows 10.0.22621 [05/09 16:11:10.59 - 79ca63d8-8102-4555-8f62-ae854d3caab8] Exception type: Microsoft.Identity.Client.MsalUiRequiredExc
eption
      , ErrorCode: invalid_grant
      HTTP StatusCode 400
      CorrelationId 79ca63d8-8102-4555-8f62-ae854d3caab8

fail: Azure.Identity[10]
      False MSAL <IP_ADDRESS> MSAL.NetCore .NET 7.0.5 Microsoft Windows 10.0.22621 [05/09 16:11:10.60 - 79ca63d8-8102-4555-8f62-ae854d3caab8] Exception type: Microsoft.Identity.Client.MsalUiRequiredExc
eption
      , ErrorCode: invalid_grant
      HTTP StatusCode 400
      CorrelationId 79ca63d8-8102-4555-8f62-ae854d3caab8

         at Microsoft.Identity.Client.OAuth2.OAuth2Client.ThrowServerException(HttpResponse response, RequestContext requestContext)
         at Microsoft.Identity.Client.OAuth2.OAuth2Client.CreateResponse[T](HttpResponse response, RequestContext requestContext)
         at Microsoft.Identity.Client.OAuth2.OAuth2Client.ExecuteRequestAsync[T](Uri endPoint, HttpMethod method, RequestContext requestContext, Boolean expectErrorsOn200OK, Boolean addCommonHeader
s)
         at Microsoft.Identity.Client.OAuth2.OAuth2Client.GetTokenAsync(Uri endPoint, RequestContext requestContext, Boolean addCommonHeaders)
         at Microsoft.Identity.Client.OAuth2.TokenClient.SendHttpAndClearTelemetryAsync(String tokenEndpoint, ICoreLogger logger)
         at Microsoft.Identity.Client.OAuth2.TokenClient.SendHttpAndClearTelemetryAsync(String tokenEndpoint, ICoreLogger logger)
         at Microsoft.Identity.Client.OAuth2.TokenClient.SendTokenRequestAsync(IDictionary`2 additionalBodyParameters, String scopeOverride, String tokenEndpointOverride, CancellationToken cancella
tionToken)
         at Microsoft.Identity.Client.Internal.Requests.ByRefreshTokenRequest.ExecuteAsync(CancellationToken cancellationToken)
         at Microsoft.Identity.Client.Internal.Requests.RequestBase.RunAsync(CancellationToken cancellationToken)
info: Azure.Identity[3]
      VisualStudioCodeCredential.GetToken was unable to retrieve an access token. Scopes: [ https://cognitiveservices.azure.com/.default ] ParentRequestId: ecca2bf3-5bc9-4113-9981-86f5553230a4 Exce
ption: Azure.Identity.CredentialUnavailableException (0x80131500): VisualStudioCodeCredential authentication unavailable. Token acquisition failed. Ensure that you have authenticated in VSCode Azur
e Account. See the troubleshooting guide for more information. https://aka.ms/azsdk/net/identity/vscodecredential/troubleshoot
       ---> Microsoft.Identity.Client.MsalUiRequiredException (0x80131500): AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2022-01-10T00:35:27.8835132Z and w
as inactive for 90.00:00:00.
      Trace ID: da974c39-7834-4981-8fdd-984b2a9f2200
      Correlation ID: 79ca63d8-8102-4555-8f62-ae854d3caab8
      Timestamp: 2023-05-09 16:11:10Z

Looping in the OpenAI team - /cc: @jpalvarezl, @trrwilson

Doesnt seem like that overload works unless you have already registered the OpenAIClient with your DI container
 public static class AzureOpenAIClientBuilderExtensions
  {
    /// <summary> Registers a <see cref="T:Azure.AI.OpenAI.OpenAIClient" /> instance. </summary>
    /// <param name="builder"> The builder to register with. </param>
    /// <param name="endpoint">
    /// Supported Cognitive Services endpoints (protocol and hostname, for example:
    /// https://westus.api.cognitive.microsoft.com).
    /// </param>
    /// <param name="credential"> A credential used to authenticate to an Azure Service. </param>
    public static IAzureClientBuilder<OpenAIClient, OpenAIClientOptions> AddOpenAIClient<TBuilder>(this TBuilder builder, Uri endpoint, AzureKeyCredential credential) where TBuilder : IAzureClientFactoryBuilder
    {
      return builder.RegisterClientFactory<OpenAIClient, OpenAIClientOptions>((Func<OpenAIClientOptions, OpenAIClient>) (options => new OpenAIClient(endpoint, credential, options)));
    }

    /// <summary> Registers a <see cref="T:Azure.AI.OpenAI.OpenAIClient" /> instance. </summary>
    /// <param name="builder"> The builder to register with. </param>
    /// <param name="endpoint">
    /// Supported Cognitive Services endpoints (protocol and hostname, for example:
    /// https://westus.api.cognitive.microsoft.com).
    /// </param>
    public static IAzureClientBuilder<OpenAIClient, OpenAIClientOptions> AddOpenAIClient<TBuilder>(this TBuilder builder, Uri endpoint) where TBuilder : IAzureClientFactoryBuilderWithCredential
    {
      return builder.RegisterClientFactory<OpenAIClient, OpenAIClientOptions>((Func<OpenAIClientOptions, TokenCredential, OpenAIClient>) ((options, cred) => new OpenAIClient(endpoint, cred, options)), true);
    }

    /// <summary> Registers a <see cref="T:Azure.AI.OpenAI.OpenAIClient" /> instance. </summary>
    /// <param name="builder"> The builder to register with. </param>
    /// <param name="configuration"> The configuration values. </param>
    public static IAzureClientBuilder<OpenAIClient, OpenAIClientOptions> AddOpenAIClient<TBuilder, TConfiguration>(this TBuilder builder, TConfiguration configuration) where TBuilder : IAzureClientFactoryBuilderWithConfiguration<TConfiguration>
    {
      return builder.RegisterClientFactory<OpenAIClient, OpenAIClientOptions>(configuration);
    }
  }

```


FieldSettings type missing from workspace-fusion

Description
FieldSettings from garden should be exported from workspace-fusion

GardenGroups type
getGardenItems and isSubGroup util functions


Fix idempotency

Ansible playbooks are supposed to be idempotent. We should update Kubespray so that it passes the idempotency test and re-enable it.

where to reproduce the bug?


Hoist Attachment and Attachable out of Test.

I initially placed these types inside Test out of concern that they could conflict with symbols in second- or third-party modules that are being tested. After discussing with my colleagues, we've decided to hoist the types up to the top level of the Testing module.
There's no general solution for name conflicts in Swift other than providing the module name at point-of-use, and by and large the language, toolchain, and Apple's frameworks just sort of accept this possibility? So I was maybe overthinking it. If we run into trouble down the line before release, we can reevaluate this decision.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

Preemptively declaring this as reviewed by @briancroom and @stmontgomery as they already signed off on these renames privately. 😈

@swift-ci test


Revisit licensing issues

The solidity-antlr4 grammar is licensed under GPL. This may not enable solidity-docgen to be MIT licensed as it is now.
We'd need to look into it and see if the licensing is compatible, and otherwise change the project to GPL or reach out to @federicobond who offered to help work it out (https://github.com/OpenZeppelin/zeppelin-solidity/issues/594#issuecomment-355876659).

We are now using the solc compiler directly. Closing this issue.


Fix language labels array of ConfigurationBlockDirective

Related to https://github.com/symfony-tools/docs-builder/pull/153 @javiereguiluz

Thanks for fixing this bug Alexander.


📝 Inconsistent print behavior of nested aligns with Prettier

Environment information
CLI:
  Version:                      1.6.0
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v21.6.2"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.2.4"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Formatter:
  Format with errors:           false
  Indent style:                 Space
  Indent size:                  0
  Indent width:                 8
  Line ending:                  Lf
  Line width:                   80
  Attribute position:           Auto
  Ignore:                       []
  Include:                      []

JavaScript Formatter:
  Enabled:                      true
  JSX quote style:              Double
  Quote properties:             AsNeeded
  Trailing comma:               All
  Semicolons:                   Always
  Arrow parentheses:            Always
  Bracket spacing:              true
  Bracket same line:            false
  Quote style:                  Double
  Indent style:                 unset
  Indent size:                  unset
  Indent width:                 unset
  Line ending:                  unset
  Line width:                   unset
  Attribute position:           Auto

JSON Formatter:
  Enabled:                      true
  Indent style:                 unset
  Indent width:                 unset
  Indent size:                  unset
  Line ending:                  unset
  Line width:                   unset
  Trailing Commas:              unset

Workspace:
  Open Documents:               0

Configuration
{
  "formatter": {
    "enabled": true,
    "indentStyle": "space",
    "indentWidth": 8
  }
}

Playground link
https://biomejs.dev/playground/?indentStyle=space&indentWidth=8&code=YQAKACAAIAAgACAAPwAgAC8ALwAgAHMAbwBtAGUAdABoAGkAbgBnACAAbwB1AHQAZQByAAoAIAAgACAAIAAgACAAeAAKACAAIAAgACAAOgAgAC8ALwAgAGUAbABzAGUAIABvAHUAdABlAHIACgAgACAAIAAgACAAIABiAAoAIAAgACAAIAAgACAAPwAgAC8ALwAgAHMAbwBtAGUAdABoAGkAbgBnACAAaQBuAG4AZQByAAoAIAAgACAAIAAgACAAIAAgAHkACgAgACAAIAAgACAAIAA6ACAALwAvACAAZQBsAHMAZQAgAGkAbgBuAGUAcgAKACAAIAAgACAAIAAgACAAIAB6ADsACgA%3D
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

That's weird, the IR seems to be the same

That's weird, the IR seems to be the same

Yes, that's why I think the problem lies in the print behavior. I think we may handle indent, align and dedent in a different way, compared with Prettier. And this piece of comment seems to show that this is an awared issue?
https://github.com/biomejs/biome/blob/5bc24f141449f75f405acc072e463348bbc3b4df/crates/biome_js_formatter/src/utils/conditional.rs#L129-L133

I also noticed there're some code snippets that can make Prettier print uglier result. So I don't know if we still want to keep this kind of consistency with Prettier.
For example, you can check code like this in the playground:
a // test
    ? // nested test in consequence
      b
        ? // nested consequence in consequence
          c
        : // nested alternate in consequence
          d
    : // nested test in alternate
      e
        ? // nested consequence in alternate
          f
        : // nested alternate in alternate
          g;

This kind of issues usually happen when we set the indent-style to spaces.

I think this problem occur when align has align as its parent.

https://github.com/biomejs/biome/blob/bdc090be36a3daef194fb885e23baf7710af9bbd/crates/biome_formatter/src/printer/mod.rs#L843-L847

I think we shoud add the count value to align instead of incrementing level when another align already calculated

https://github.com/biomejs/biome/blob/bdc090be36a3daef194fb885e23baf7710af9bbd/crates/biome_formatter/src/printer/mod.rs#L826-L831

When encountering a 'dedent' whose closest parent is 'align' we reduce the indention in that case I think we should subtract 2 from the align value instead of setting the align value to 0.
Can I give it a try if no one else has started working on it yet?

I think we should subtract 2 from the align value

I don't know about this but why 2 instead of another value? Adding the count value to align seems to lose some information.

@mdm317 I assigned the task to you

I don't know about this but why 2 instead of another value?

Most notably because we always pass 2 when we use the align function. But yeah, we should dedent based on the previous value

I thought of two methods.

Store the alignment values in a vector to detect previous value
Assume that the dedent following align is always 2.

I would appreciate it if you could let me know your thoughts.

I like it too!


add example ts script

Custom scripts can be created in a hardhat project and executed using either node(or ts-node in a ts project) or hardhat.
Add a simple accounts.ts script located in ./scripts and add the following to the package.json scripts:
    "accounts:ts-node": "TS_NODE_FILES=true ts-node scripts/accounts.ts",
    "accounts:hh": "hardhat run scripts/accounts.ts",

This template already has a task that lists the accounts. I don't see the benefit in adding a script that offers the same feature.
I'd prefer this template to remain minimalistic (it is already more complex than I'd want it to be).

Thanks for taking the time to share your suggestion, though!

Fair enough, thought it might be helpful as I'm not sure you can have a persistent server running in a hardhat task. Also you're likely to use scripts if you want to have the option of a runtime(e.g. run a script in bun instead of node for the performance, though it would be great if hardhat itself transitioned to bun)


feat: add funding with new collaborators

please review #1035 first

Combined changes in on PR #1041


PushBullet integration

Integration with PushBullet service, providing access to all mobile devices connected to the service.
No badges available, since the PushBullet itself doesn't show badges via the page. Only via the Chrome plugin :(

Can anyone tell me if there is any difference between this and Pull Request #98 , which added first and also adds Pushbullet integration? It looks like this pull request uses a lot more lines of code than that one, but I'm far from an expert on how Franz or node work.


netmaker-full: 0.21.2 -> 0.23.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/gravitl/netmaker/releases.
meta.description for netmaker-full is: WireGuard automation from homelab to enterprise
meta.homepage for netmaker-full is: https://netmaker.io
meta.changelog for netmaker-full is: https://github.com/gravitl/netmaker/-/releases/v0.22.0
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.22.0 with grep in /nix/store/7lk45rcrzpr9rcfylsxxxaz74x7as9zl-netmaker-0.22.0
found 0.22.0 in filename of file in /nix/store/7lk45rcrzpr9rcfylsxxxaz74x7as9zl-netmaker-0.22.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
netmaker
netmaker-full

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7lk45rcrzpr9rcfylsxxxaz74x7as9zl-netmaker-0.22.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A netmaker-full https://github.com/r-ryantm/nixpkgs/archive/2bb951710f09afff056c51be6f14b2df0698219c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/2bb951710f09afff056c51be6f14b2df0698219c#netmaker-full

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7lk45rcrzpr9rcfylsxxxaz74x7as9zl-netmaker-0.22.0
ls -la /nix/store/7lk45rcrzpr9rcfylsxxxaz74x7as9zl-netmaker-0.22.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

netmaker
netmaker-full

Maintainer pings
cc @urandom2 @qjoly for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/gravitl/netmaker/releases.
meta.description for netmaker-full is: WireGuard automation from homelab to enterprise
meta.homepage for netmaker-full is: https://netmaker.io
meta.changelog for netmaker-full is: https://github.com/gravitl/netmaker/-/releases/v0.23.0
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.23.0 with grep in /nix/store/ljcc3mzpz3akcyh8w1fri773vsgivw14-netmaker-0.23.0
found 0.23.0 in filename of file in /nix/store/ljcc3mzpz3akcyh8w1fri773vsgivw14-netmaker-0.23.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
netmaker
netmaker-full

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ljcc3mzpz3akcyh8w1fri773vsgivw14-netmaker-0.23.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A netmaker-full https://github.com/r-ryantm/nixpkgs/archive/4bf0f8c391f2819059fef7638f16525e100596bd.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4bf0f8c391f2819059fef7638f16525e100596bd#netmaker-full

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ljcc3mzpz3akcyh8w1fri773vsgivw14-netmaker-0.23.0
ls -la /nix/store/ljcc3mzpz3akcyh8w1fri773vsgivw14-netmaker-0.23.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

netmaker
netmaker-full

Maintainer pings
cc @urandom2 @qjoly for testing.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.16 to before v5.4.162",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=93286261de1b46339aa27cd4c639b21778f6cade",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b0e44dfb4e4c699cca33ede431b8d127e6e8d661"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "93286261de1b46339aa27cd4c639b21778f6cade",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "b0e44dfb4e4c699cca33ede431b8d127e6e8d661",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.4.162 by commit b0e44dfb4e4c699cca33ede431b8d127e6e8d661, it was introduced in version v4.16 by commit 93286261de1b46339aa27cd4c639b21778f6cade. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002258


annotationCIs is not a constructor with @angular-devkit/build-angular 0.800.4

🐞 Bug report
Description
I have an error and i've narrowed it down to "@angular-devkit/build-angular": "~0.800.4". It does not appear in previous versions.
When I run my project with ng serve I get this error:
Uncaught TypeError: annotationCls is not a constructor
    at core.js:909
    at Array.map (<anonymous>)
    at convertTsickleDecoratorIntoMetadata (core.js:905)
    at core.js:759
    at Array.map (<anonymous>)
    at ReflectionCapabilities._ownParameters (core.js:759)
    at ReflectionCapabilities.parameters (core.js:782)
    at JitReflector.parameters (platform-browser-dynamic.js:48)
    at CompileMetadataResolver._getDependenciesMetadata (compiler.js:19871)
    at CompileMetadataResolver._getTypeMetadata (compiler.js:19824)

The application does not initialize with this error.
I'm unable to repro this as the project is quite big and I cannot find anything that is causing it.
Sidenote
I also get a new Circular dependency warning with this update that doesn't make sense in my opinion. I was able to resolve this one, but the error still persists.

This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

After a lot of trying to reproduce this issue i found that it's was just a wrong import:
@Optional() private http: HttpClient,
where Optional was imported from
import { Optional } from 'ag-grid-community';
instead of
import { Optional } from '@angular/core';
Just a bad autocomplete at the worst possible position as it didn't break anything.

@alan-agius4 I'm currently having this issue with angular 8.2.1 and angular-devkit 0.802.1 and I can't find the root cause or a minimal reproduction.
But when I compile in AOT mode I don't get this error.
ERROR Error: Uncaught (in promise): TypeError: annotationCls is not a constructor
TypeError: annotationCls is not a constructor
    at vendor.js:76641
    at Array.map (<anonymous>)
    at convertTsickleDecoratorIntoMetadata (vendor.js:76637)
    at vendor.js:76491
    at Array.map (<anonymous>)
    at ReflectionCapabilities._ownParameters (vendor.js:76491)
    at ReflectionCapabilities.parameters (vendor.js:76514)
    at JitReflector.parameters (vendor.js:151720)
    at CompileMetadataResolver._getDependenciesMetadata (vendor.js:56346)
    at CompileMetadataResolver._getTypeMetadata (vendor.js:56299)
    at resolvePromise (polyfills.js:6111)
    at resolvePromise (polyfills.js:6068)
    at polyfills.js:6172
    at ZoneDelegate.invokeTask (polyfills.js:5705)
    at Object.onInvokeTask (vendor.js:96156)
    at ZoneDelegate.invokeTask (polyfills.js:5704)
    at Zone.runTask (polyfills.js:5482)
    at drainMicroTaskQueue (polyfills.js:5873)


Don't try to download natives on FreeBSD

because it breaks and we have our runtimes to run mc anyway.
Is the native download the last step that needs to be done?

Is there a centralized place for FreeBSD natives? Rather than not downloading natives, we can implement support for them. If in the case that there is no centralized place, we can always just make it print out a notification telling the user to fill in the natives themselves.

Closing as this is inactive.

@PhoenixVX I host one library here https://codeberg.org/glowiak/lwjgl-libs/src/branch/master/x86_64/2
Anyway I manually inserted the file into right place and now it works fine.
And I was not inactive, thou respondest a month after this got opened, sir.

What about the other natives? JInput, OpenAL... etc?

@PhoenixVX These are not jarfiles. These need to be placed in the natives directory. Normal libs work with them.


PicoCMS Development

Is pico no longer maintained ? Acording to changelog the last release was on 2013.10.23

@gilbitron, Alright thanks for quick reply Gilbert.
@mydalon, Since this project is open-source you can just fork it. Because this new person who bought it is not maintain it anymore.
Can we have reply from the owner of this repo ? Thanks.

So ? any news about the maintainer ?
Actually, everybody fork pico and work in his own version. Fork is useful when merging is possible, but actually not.
No roadmap or discussions about where this open-source project goes.
Finally the solution is maybe to make a spork and start a new community around this evolution.

Hey -- I'm starting up a new project inspired by Pico, which is backwards compatible with existing apps and plugins.
See my whole spiel in #208.


Fix for WFMP-145, Introduce an offline CLI command executor

Introduce a BaseCommandConfiguration CLI configuration class and builder.
Refactor CommandConfiguration to inherit from BaseCommandConfiguration and expose builder.
Introduce an AbstractCommandExecutor.
Refactor the CommandExecutor to inherit from the AbstractCommandExecutor
Introduce an OfflineCommandExecutor to inherit from the AbstractCommandExecutor.
OfflineCommandExecutor is injected into the package goal
CommandExecutor is injected into other goals (unchanged).

I thought there was a plan to keep a dependency on the WildFly Launcher. Is that not the case?


Support comment creation in image card

Thinking about this more, I can see why IG doesn't display the 'add comment' input for every image. It would get really tedious to see that with every image in the feed when you only comment on a small number of images. Maybe someday we'll have an algorithm to decide when to show a comment input for an image, but going to close for now in favor of #519.


v3 has breaking change (parameters defaults to nil)

We upgraded from 2.0.2 to 3.0 and noticed a breaking change, that is parameters defaults to nil now. Can we revert this behavior or was this done for a reason?
Using public_activity 2.0.2
irb(main):001> PublicActivity::Activity.new.parameters
=> {}
Using public_activity 3.0.0 (was 2.0.2)
irb(main):001> PublicActivity::Activity.new.parameters
=> nil

@2called-chaos I’ll release a patch release in a few days to address this issue.


random example

this is just a toy we will throw away

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (37b2e9d) to head (a04ebec).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         6    -1
  Lines          337       332    -5
=========================================
- Hits           337       332    -5

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


spyder works freeze

requirements.txt

It's hard to use conda create --file requirements.txt, I'd better use the info inside and conda install manually.


fix the digest image

Summary
i saw I did a typo here https://github.com/sigstore/fulcio/pull/554 but when I fixed was too late :(
Ticket Link
n/a
Release Note
NONE

Codecov Report

Merging #555 (c6e5511) into main (6964133) will decrease coverage by 0.56%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #555      +/-   ##
==========================================
- Coverage   35.68%   35.12%   -0.57%
==========================================
  Files          18       18
  Lines        1415     1415
==========================================
- Hits          505      497       -8
- Misses        851      857       +6
- Partials       59       61       +2

Impacted Files
Coverage Δ

pkg/ca/fileca/watch.go
50.00% <0.00%> (-50.00%)
:arrow_down:

pkg/ca/fileca/load.go
58.62% <0.00%> (-10.35%)
:arrow_down:

Continue to review full report at Codecov.

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