Using python: create environment to make a new env on a different version has no effect

Type: Bug
in an empty workspace

run Python: Create Environment - select conda and a python version
run Python: Create Environment again - select conda and a different version

:bug: only one environment exists and is for the first version. No notification about issues with the command.
Extension version: 2022.17.12981938
VS Code version: Code - Insiders 1.73.0-insider (bece5db81842e38bf85e8a08fb1f12b7f78d4384, 2022-10-24T05:31:12.081Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
31.59GB (15.65GB free)

Process Argv
--crash-reporter-id 1202dc88-403d-4ebc-8393-af3551a8bd5b

Screen Reader
no

VM
0%

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012:30540252
pylantcb52:30590116
pyind367:30587847
vsccc:30564266
pyindex848:30577858
nodejswelcome1:30587009
34cci188:30595212

I'm also often not able to delete the environment folder because something is holding onto it, even after closing vs code.

If an environment already exists we just pick that one. Duplicate of https://github.com/microsoft/vscode-python/issues/20027
For something that is holding a reference, you can use resmon.exe go to CPU > Associated Handles and search for python.exe and see what is holding the reference to it.

For this case, detect and ask the user if they want to delete and re-create a new env.
Delete the remnant directory '.conda'
Then run the creation command as usual.

We now allow you to delete and re-create conda environments, and show error and next steps in the logs if we cannot delete it doe to FS lock.


:resize action on physical volume doesn't work on unallocated pvs

Reproduce:
lvm_physical_volume "/dev/sdb" do
action [:create, :resize]
end
pe_count becomes 0, because the PE Size is zero until it is allocated.

This is what is breaking the code:
   pe_size = pv_size / pv[0].pe_count
On a completely new/clean physical volume, the pe_count is equal to '0'.
I would submit a fix but I am not 100% sure what this block of code is trying to achieve:
`    # get the size the OS says the block device is
block_device_raw_size = pv[0].dev_size.to_i
# get the size LVM thinks the PV is
pv_size = pv[0].size.to_i
pe_size = pv_size / pv[0].pe_count
# get the amount of space that cannot be allocated
non_allocatable_space = block_device_raw_size % pe_size
# if it's an exact amount LVM appears to just take 1 full extent
non_allocatable_space = pe_size if non_allocatable_space == 0

block_device_allocatable_size = block_device_raw_size - non_allocatable_space

# only resize if they are not same
if pv_size != block_device_allocatable_size`

I might be missing something, but couldn't this entire section be replaced by:
`
dev_size = pv[0].dev_size.to_i
pv_size = pv[0].size.to_i
if pv_size != dev_size

`

For those curious this is my workaround:
lvm_physical_volume '/dev/sdb' do   if pvs /dev/sdb -o pv_pe_count --noheadings | sed 's/ //g' != 0     action :resize   else     action :create   end end

With the version 13+ of the chef-client you should make sure to use full paths in my workaround, otherwise it won't work because it can't find the commands.
lvm_physical_volume '/dev/sdb' do   if /usr/sbin/pvs /dev/sdb -o pv_pe_count --noheadings | sed 's/ //g` != 0
action :resize
else
action :create
end
end`


Change the locking scheme in DMFT to unlock in setoutputstreamstate

A change in device transform manager brought about a deadlock scenario in DMFT sample. The sample now behaves like we have in the rest of the pipeline i.e. we release the lock and wait for the operations on the input pins to complete. This hang is responsible for AMD hangs. Testing is in progress. This hang is probably also the hang that lenovo is hitting. This fix doesn't have the GPU leak while decoding. I am testing the changes with a logitech BRIO. This is also tested in the OS samples repo

@chrilaMSFT is added to the review. #Closed

@kasumman is added to the review. #Closed

@SangChoe is added to the review. #Closed

@strongstrongyiwen is added to the review. #Closed

@absubba is added to the review. #Closed

@LPBourret is added to the review. #Closed

@gerritsMSFT is added to the review. #Closed

@j-leungyy is added to the review. #Closed

~CAsyncInPin()

virtual destructor?

Refers to: avstream/sampledevicemft/basepin.h:622 in e8ffee8. [](commit_id = e8ffee87d41a64e340e56d521a45bf03bd125502, deletion_comment = False)

~COutPin();

virtual destructor?

Refers to: avstream/sampledevicemft/basepin.h:544 in e8ffee8. [](commit_id = e8ffee87d41a64e340e56d521a45bf03bd125502, deletion_comment = False)

)

Can you add the following pattern to all the methods, we are getting drivers that are letting exceptions escape their Functions
https://www.osgwiki.com/wiki/Cpp_Core_Guidelines#E.MSFT.47:_Never_let_an_exception_escape_from_an_error_code_returning_method

Refers to: avstream/sampledevicemft/multipinmft.cpp:1787 in e8ffee8. [](commit_id = e8ffee87d41a64e340e56d521a45bf03bd125502, deletion_comment = False)

}

I think we are missing shutdown on the output pin as well.  It is present on the class it inherits from

Refers to: avstream/sampledevicemft/multipinmft.cpp:1746 in e8ffee8. [](commit_id = e8ffee87d41a64e340e56d521a45bf03bd125502, deletion_comment = False)

#if defined (MF_DEVICEMFT_ALLOW_MFT0_LOAD) && defined (MFT_UNIQUE_METHOD_NAMES)

Should we remove MFT0, this is not a supported scenario

Refers to: avstream/sampledevicemft/multipinmft.cpp:1742 in e8ffee8. [](commit_id = e8ffee87d41a64e340e56d521a45bf03bd125502, deletion_comment = False)

#if defined (MF_DEVICEMFT_ALLOW_MFT0_LOAD) && defined (MFT_UNIQUE_METHOD_NAMES)

There is a bug/task tracking removal of MFT0 from the sample

In reply to:<PHONE_NUMBER>

Refers to: avstream/sampledevicemft/multipinmft.cpp:1742 in e8ffee8. [](commit_id = e8ffee87d41a64e340e56d521a45bf03bd125502, deletion_comment = False)

Hi, I tried the code and modified basepin.h line 742 from
const GUID translatedGUID = MFVideoFormat_NV12;
to
const GUID translatedGUID = MFVideoFormat_YUY2;
and the stream can't start
It worked for the older version of sampledevicemft, do i need to modify something else?


Failed to add marker through toolbar

I use leaflet.pm in my webpack project, however, I failed to add marker through toolbar.
When I click the marker icon in the toolbar, an error occurs in the console:
GET data:image/png.......=“)marker-icon.png net:ERR_INVALID_URL
So there is the additional “)marker-icon.png appended to the url, which seems a problem of ‘leaflet/src/layer/marker/Icon.Default.js’.
Maybe it is a problem of leaflet, or a bug of leaflet.pm.
Leaflet version: 1.4.0
Leaflet.pm version: 1.2.1

@pkuwwt have you tried adding a marker without leaflet.pm? Just with regular leaflet.
L.marker([51.5, -0.09]).addTo(map) - if the same error occurs, it's probably not a problem with this plugin but your leaflet setup.
My guess it's this issue:
https://github.com/Leaflet/Leaflet/issues/4968
If I'm wrong, let me know and I will reopen this issue 👍

Yes, it is the problem of leaflet. Thanks


Visualisation

FLAME GPU 1 provides a simple visualisation tool, and the ability to implement custom visualisations.
This may be a separate tool for FLAME GPU 2, for real-time visualisation and/or playback visualisation from a collection of output files (or similar)

Requires:

A working model (cc @mozhgan-kch [circles])
A decision and clear/plan on how it should interface with FLAMEGPU2

Then i can start fiddling with it when I got time.

We now have Circles model, and in checking that I was using an external visualiser which shows the value this would add.
Still unsure of the best API for this, perhaps something like.
CUDAAgentModel model = ....;
Visualisation v = model.addVisualisation();
// Check's agent is valid
// checks it has x, y, (z) variables? (if not, should a user need to specify as 2nd, 3rd, 4th args var names to use for location.
// If model is 2D we use orthographic projection with ability to scroll/zoom, 3D pretty standard noclip camera
// Maybe allow user to opt for 2D vis of 3D data?
AgentVisualisation &av = v.addAgent("myAgent");
// Choice from basic stock models, provide own to be loaded
// Maybe also optionally specify model dimensions here
av.setModel(Models::Sphere);
// This is the model matrix used to transform model relative to it's location
// can scale, rotate, translate
// harmless if it's just left as the identity matrix
av.setModelMatrix(glm::scale(1.0f));
// Need a way to configure shading/colouring(/texturing?)
// Most simple would be to have them specify a tertiary variable and HSV bounds from a colour wheel to lerp between.
// More complicate models, e.g. PED are going to require far more advanced visualisation tools
    // e.g. load a 3D model for environment (adding static models should be fine tbh)
    // maybe a second class of `AgentVisualisation` for two keyframe animations? This would reduce need for people to dig around in shaders, and handle all the back-end fuss of loading a 2nd model and passing it to the shader
    // Obviously a version with raw shader access would be nice, but that's probably going to be limited to basic single model, without people literally writing a custom agent vis type to dev with.
// TODO
// Show the visualisation window
// Drop it into a second thread at this point and block further changes
v.activate();
// Execute the model as configured
model.run();
// Sim has completed, close visualisation
// Could leave it open, and call something like join() instead, which spins
// This would allow user to explore the end state whilst blocking the main thread until they manually close the window.
v.deactivate();

PedestrianLOD example visualisation would require agent sorting (#52)

CMake strategy for this
FGPU2_dev Cmake, has visualisation option, when enabled:

Pull in separate FGPU2_visualiser repo

This pulls in separate SDL2 repo to link against

Enable some FGPU2_VISUALISER macro, to turn on the visualiser methods.
Configure FGPU2_visualiser lib as a link target.

If both repos pull in GLM independently, unsure if this will be a problem.

Having started on the example above, I'm unsure of the best separation between the two repos.
The three main classes above ModelVis, AgentVis, AgentStateVis, need access to the model data/description hierarchy so are maybe best placed to create essentially a visualisation description. When ModelVis::activate() is called, this could be handed off to the separate repo, as it should be agnostic of FPGU beyond that point.
I think I might continue in this direction and try to get it working with only the ability to specify an agent (and it's location vars). From there I can tack on the elements of customisation.


Enable cfg migrator to 1.6.0

In 1.6, there will be only one DB process in the default deployment.
The migrator will try to handle the setting by "guessing" whether Harbor
was pointed to external DB.
Verified 1.5->1.6 and 1.4->1.6 migration.

Pull Request Test Coverage Report for Build 7829

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 63.674%

Totals

Change from base Build 7828:
0.0%

Covered Lines:
11928

Relevant Lines:
18733

💛  - Coveralls


/** comments incorrectly built

Not sure where in the pipeline this is occurring but this is getting outputted in the .css
 {
  /**
 * React Select
 * ============
 * Created by Jed Watson and Joss Mackison for KeystoneJS, http://www.keystonejs.com/
 * https://twitter.com/jedwatson https://twitter.com/jossmackison https://twitter.com/keystonejs
 * MIT License: https://github.com/JedWatson/react-select
*/ }

My preprocessCss script looks like:
const sass = require('node-sass');
const postcss = require('postcss');
const autoprefixer = require('autoprefixer');

module.exports = function processSass(data, filename) {
    let result;
    result = sass.renderSync({
        data: data,
        file: filename
    }).css;
    result = postcss([autoprefixer]).process(result).css;
    return result.toString('utf8');
};

I've tried adding outputStyle: 'compressed' to sass.renderSync but that didn't change the output

I should add some more context...one of my .scss files are importing @import "../../../node_modules/react-select/scss/default";

Ahhh I think the plugin isn't finding my preprocessCss script?


CertExtractor filter

Resolve https://github.com/megaease/easegress/issues/467
CertExtractor filter adds values from certificates Subject or Issuer to headers.
References:

https://pkg.go.dev/crypto/x509#Certificate
https://pkg.go.dev/crypto/x509/pkix#Name

Codecov Report

Merging #474 (a5f29e7) into main (76f8f86) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #474      +/-   ##
==========================================
+ Coverage   80.11%   80.14%   +0.03%
==========================================
  Files          83       85       +2
  Lines        9631     9737     +106
==========================================
+ Hits         7716     7804      +88
- Misses       1469     1483      +14
- Partials      446      450       +4

Impacted Files
Coverage Δ

pkg/filter/certextractor/certextractor.go
100.00% <100.00%> (ø)

pkg/filter/certextractor/spec.go
100.00% <100.00%> (ø)

pkg/filter/headertojson/headertojson.go
72.54% <0.00%> (-7.46%)
:arrow_down:

pkg/object/mqttproxy/client.go
79.63% <0.00%> (-0.91%)
:arrow_down:

pkg/object/meshcontroller/spec/spec.go
87.07% <0.00%> (-0.13%)
: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 76f8f86...a5f29e7. Read the comment docs.


[tool_crash] FileSystemException: Cannot create link, OS Error: Incorrect function., errno = 1

Command
flutter pub get

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot create link, OS Error: Incorrect function.
, errno = 1
#0      _Link.throwIfError (dart:io/link.dart:254:7)
#1      _Link.createSync (dart:io/link.dart:182:5)
#2      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#3      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#4      _createPlatformPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:1057:12)
#5      createPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:987:5)
#6      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1089:5)
<asynchronous suspension>
#7      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:357:5)
<asynchronous suspension>
#8      PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:179:5)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)

## Flutter Application Metadata
**Type**: app
**Version**: 1.0.0+1
**Material**: true
**Android X**: false
**Module**: false
**Plugin**: false
**Android package**: null
**iOS bundle identifier**: null
**Creation channel**: stable
**Creation framework version**: c07f7888888435fd9df505aa2efc38d3cf65681b
### Plugins
syncfusion_flutter_pdfviewer-20.4.53
syncfusion_pdfviewer_macos-20.4.53
syncfusion_pdfviewer_web-20.4.53
syncfusion_pdfviewer_windows-20.4.53
url_launcher-6.1.10
url_launcher_android-6.0.24
url_launcher_ios-6.1.1
url_launcher_linux-3.0.3
url_launcher_macos-3.0.3
url_launcher_web-2.0.15
url_launcher_windows-3.0.4

Closing this as a duplicate of https://github.com/flutter/flutter/issues/66224.


Make Wikibase extension compatible with other entity types than Items

For #4268

I have unlinked the issue form the PR because it will not fix it yet, but it still makes sense to merge this as things stand (because we are already touching a lot of files), and it is good to go step by step.


Implementing the TimeIndex class - the constructor method

In #7 we drafted a preliminary interface for the main time-index object. Now, we want to start implementing it, starting with the constructor (the __init__ method).
Also see the discussion in https://github.com/AI4S2S/proto/issues/3

The reference implementation creates two dataframes, but they are based on the target variable input array:
https://github.com/AI4S2S/proto/blob/0dd397f6101573544f10a55a4205e037e69acdfe/RGCPD/class_RGCPD.py#L302
Instead, I'd prefer to just create a new array independently from any input data.

Instead, I'd prefer to just create a new array independently from any input data.

I think this is a good choice. We manipulate time index and train/test labels in this class and save the output as an independent data (e.g. dataframe). We can bring it to the preprocessing module when the actual operations take place.


how to get peaks data

Hello.I'm here to ask a question about the wavesurfer.
I want to know weather I can get the values rendered in the canvas so i can use it to do other things.
I didn't find api for this.

the values rendered in the canvas

what do you specifically mean? the peaks data?

Yep.I think it's the data I want

wavesurferInstance.drawer.getPeaks()

I found the code about getPeaks.And i have a question about this.
Why push min and max values into mergePeaks,instead of use a single data - average value?

I just wanted to add in case this is helpful: when using MediaElement mode for backend loaded media, I found the mergePeaks at WaveSurferInstance.backend.mergedPeaks.

Trying this on wavesurfer.js 3.3.3 and not seeing a getPeaks() method available on the wavesurfer.drawer instance. Was this moved/removed? Is there an alternative way of getting the peaks data? Or am I doing something wrong? :)

Hi @psukhanov , you can get peaks calling  wavesurfer.backend.getPeaks(). The method is available in webaudio.js.

For anyone else who finds this getPeaks() requires a value to work, for example getPeaks(512) the value is "How many subranges to break the waveform into." so the higher the number the more detailed the waveform. If you want the waveform in as much detail as possible it appears mergedPeaks does this. Here's an example:
  wavesurfer.on('ready', function () {
    console.log(wavesurfer.backend.getPeaks(10));
    console.log(wavesurfer.backend.mergedPeaks);
  });


[ISSUE #2679] Add integration test for SpringMvcMappingPathController

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2698 (445ea0a) into master (674a1f9) will decrease coverage by 0.38%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2698      +/-   ##
============================================
- Coverage     60.34%   59.96%   -0.39%
+ Complexity     4399     4371      -28
============================================
  Files           679      679
  Lines         19467    19467
  Branches       1725     1725
============================================
- Hits          11747    11673      -74
- Misses         6731     6820      +89
+ Partials        989      974      -15

Impacted Files
Coverage Δ

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
43.75% <0.00%> (-31.25%)
:arrow_down:

...gin/apache/dubbo/cache/ApacheDubboConfigCache.java
43.03% <0.00%> (-29.12%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...ache/shenyu/admin/utils/PluginHandleH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
55.31% <0.00%> (-7.45%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
62.50% <0.00%> (-4.17%)
:arrow_down:

...ache/shenyu/admin/model/dto/DataPermissionDTO.java
59.25% <0.00%> (-3.71%)
:arrow_down:

... and 21 more

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 674a1f9...445ea0a. Read the comment docs.


Refactoring build scripts for macOS and windows

Apart from refactoring here is a couple of changes I'm suggesting:

build-win.bat only builds MinSizeRel but script has been parameterized for easy change
build-mac.sh and build-win.bat accept an onnx config as their first argument if the user does not want the default.
do not hard code Visual Studio version numbers, use the latest installed instead

Please let me know what you think, thanks!

This looks like a good improvement. I'll check it out more this weekend. Thanks!


feat(overlay): add credentialless attribute for iframe

When using the WASM module to generate image previews, I faced some errors with showing iframe after setting this parameters to server inside vite.config.js
server: {
  headers: {
    'Cross-Origin-Embedder-Policy': 'require-corp',
    'Cross-Origin-Opener-Policy': 'same-origin',
  },
},

The fix for this was setting the credentialless attribute for all iframe; I think that we should add this to our overlay/iframe, too.
Chrome Blog: link
Video Example:
https://github.com/user-attachments/assets/2fbce091-91fd-4fad-a948-7e24f081a0a9

Remove it temporarily because I found that adding it causes the localstorage state in the iframe to be isolated from the outside, causing some persistent state failures in the devtools client.

another thing to note is that it will cause the devtool fail to load in stackblitz playground
refer: https://github.com/stackblitz/webcontainer-core/issues/1269
antfu's solution is to optionally allow iframe props: https://github.com/nuxt/devtools/commit/0eb7a82bef1639ebfeace68f73ccebc11ea8e0a6

another thing to note is that it will cause the devtool fail to load in stackblitz playground
refer: stackblitz/webcontainer-core#1269 antfu's solution is to optionally allow iframe props: nuxt/devtools@0eb7a82

I think this is a better way to handle this case, PR Welcome.


add linux-arm builds to releaser

Fixes #105 . More context and discussions can be read in the issue.
This adds linux-arm builds to the collector and collector contrib, so they can be published to docker hub and consumed on raspberry pi which is running armv7.
This PR follows another PR  for adding this architecture to the CI testing in collector repo here. For contrib, this architecture is also tested in CI here
I added the support by following the way it is done for other os-arch, so please review thoroughly as I have little experience with these tools.
Again, thank you @mx-psi for pointing me to the right places :)

CI fails with:
format=rpm package=otelcol-contrib
   •calculating checksums
   •docker images
      • building docker image    image=otel/opentelemetry-collector-contrib:0.52.0-SNAPSHOT-6eeeed8-arm
      • building docker image    image=otel/opentelemetry-collector:0.52.0-SNAPSHOT-6eeeed8-arm
      • building docker image    image=otel/opentelemetry-collector:0.52.0-SNAPSHOT-6eeeed8-386
      • building docker image    image=otel/opentelemetry-collector:0.52.0-SNAPSHOT-6eeeed8-amd64
      • building docker image    image=otel/opentelemetry-collector:0.52.0-SNAPSHOT-6eeeed8-arm64
      • building docker image    image=otel/opentelemetry-collector-contrib:0.52.0-SNAPSHOT-6eeeed8-386
      • building docker image    image=otel/opentelemetry-collector-contrib:0.52.0-SNAPSHOT-6eeeed8-amd64
      • building docker image    image=otel/opentelemetry-collector-contrib:0.52.0-SNAPSHOT-6eeeed8-arm64
   ⨯release failed after 2054.19serror=docker build failed: failed to build otel/opentelemetry-collector-contrib:0.52.0-SNAPSHOT-6eeeed8-arm: exit status 1: #1 [internal] load build definition from Dockerfile

Any tips on how to debug this issue?

Can you add --debug here? https://github.com/open-telemetry/opentelemetry-collector-releases/blob/b26b0be133c006379069dc9025bdf15122249b2d/.github/workflows/ci-goreleaser.yaml#L47
It's hard to know what is happening with the current output

On a Linux machine (and presumably others, like Mac), you can run "goreleaser" locally, which would produce better output and log files. Let me know if you can't figure out how to do it following goreleaser's documentation (and this repo's).

What's the best way to make progress here? @blumamir do you plan on continuing or should someone else carry on? Seems like @mx-psi 's suggestion is an easy one to try.

Hey @blumamir are you looking to finish this pull request? I'm also interested in otel-contrib release for armv7.
I think for --platform argument, it should be linux/arm/v7 as that's we have been using to build docker image for the raspberry p.

Closing in favor of #349


Enabling PSUseCorrectCasing causes error while processing code that doesn't violate it

Steps to reproduce
'@{ Rules = @{ PSUseCorrectCasing = @{ Enable = $true } } }' > rules.psd1
Invoke-ScriptAnalyzer -Settings rules.psd1 -ScriptDefinition 'Update-VisualStudioSolutionNuGetPackages'

Update: It turned out that our Update-VisualStudioSolutionNuGetPackages cmdlet actually had a problem (incorrectly parameterized analyzer suppression), although it's important to note that that cmdlet was not subject to code analysis when the problem arose (but the same runtime error appears too when executing that cmdlet), only the script that was calling it.
Expected behavior
No output.
Actual behavior
The following error details in both Windows PowerShell and PowerShell Core:
writeErrorStream      : True
PSMessageDetails      :
Exception             : System.Management.Automation.MethodException: Cannot find an overload for ".ctor" and the argument count: "1".
                           at System.Management.Automation.Language.Compiler.GetAttribute(AttributeAst attributeAst)
                           at System.Management.Automation.Language.ScriptBlockAst.<System-Management-Automation-Language-IParameterMetadataProvider-GetScriptBlockAttributes>d__68.MoveNext()
                           at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
                           at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
                           at System.Management.Automation.CompiledScriptBlockData.InitializeMetadata()
                           at System.Management.Automation.CompiledScriptBlockData.get_CmdletBindingAttribute()
                           at System.Management.Automation.CommandMetadata.Init(ScriptBlock scriptBlock, String name, Boolean shouldGenerateCommonParameters)
                           at System.Management.Automation.CommandMetadata..ctor(CommandInfo commandInfo, Boolean shouldGenerateCommonParameters)
                           at System.Management.Automation.CommandInfo.get_Parameters()
                           at Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules.UseCorrectCasing.<AnalyzeScript>d__0.MoveNext()
                           at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
                           at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
                           at Microsoft.Windows.PowerShell.ScriptAnalyzer.ScriptAnalyzer.<>c__DisplayClass85_1.<AnalyzeSyntaxTree>b__2()
TargetObject          :
CategoryInfo          : InvalidOperation: (:) [Invoke-ScriptAnalyzer], MethodException
FullyQualifiedErrorId : RULE_ERROR,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {0, 1}

Environment data
Windows PowerShell
> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.2364
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.2364
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }

1.21.0

PowerShell Core
> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.1
PSEdition                      Core
GitCommitId                    7.3.1
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }

1.21.0

Updated description with new finding:

Update: It turned out that our Update-VisualStudioSolutionNuGetPackages cmdlet actually had a problem (incorrectly parameterized analyzer suppression), although it's important to note that that cmdlet was not subject to code analysis when the problem arose (but the same runtime error appears too when executing that cmdlet), only the script that was calling it.

Thanks for the issue @BenedekFarkas, I am a little confused, are you still having this issue? I am unable to reproduce and more information about the Update-VisualStudioSolutionNuGetPackages would be helpful as well.

We think this is related to #1875 bug and we are looking into it.

I don't think so, sorry haven't had time to look into both yet, will assign them to me to add to my TODO list.


name for route not best practice?

@KlimovCode If you use the routes in your app, then sure, you should always name the routes. For example, if you use something like return redirect()->route('some-named-route'); using named routes is a great idea.
But in this case, it's an API, so route names would just add noise.

Oh, right! I just didn't read README.md :-)
Thanks for your work!


Remove hard-coded -m64 references

Fixes #338 :+1:

LGTM.
On Mon, 7 Sep 2015 08:21 Tianon Gravi<EMAIL_ADDRESS>wrote:

Fixes #338 https://github.com/constabulary/gb/issues/338 [image: :+1:]
You can view, comment on, or merge this pull request online at:
https://github.com/constabulary/gb/pull/339
Commit Summary

Remove hard-coded -m64 references

File Changes

M cgo.go https://github.com/constabulary/gb/pull/339/files#diff-0
(6)

Patch Links:

https://github.com/constabulary/gb/pull/339.patch
https://github.com/constabulary/gb/pull/339.diff

—
Reply to this email directly or view it on GitHub
https://github.com/constabulary/gb/pull/339.


Update BLT to version 0.3.0

@mcfadden8 - can you take a look at this?

You put them in to fix warnings in one of the compilers on Bamboo I think. I'm going to check everything still passes there before merging.


Prefer exact match without parameters to match with extra parameters.

If server supports both 'type/subtype' and 'type/subtype;param=foo', a request which accepts 'type/subtype' should be served with 'type/subtype'. Currently the extra parameter is not taken into account when determining the preference of the two types, and preference is selected by order of the types.
Relevant PR in mimeparse:
https://github.com/dbtsai/python-mimeparse/pull/36

Indeed, that sounds like a logical suggestion.
FWIW, we vendored python-mimeparse into Falcon as part of the 2.0 release as it was the last dependency.
In that light, a question arises what to do with your PR if we agree to go ahead with it. Maybe we should ask @dbtsai to take over maintenance of the project :thinking: Or whether we should fork our version.

Note that I'm reluctant to label this as a breaking change, as we don't seem to provide exact guarantees how subtypes are chosen.

Related:

Vendoring python-mimeparse (implemented as of Falcon 2.0) https://github.com/falconry/falcon/issues/1420
Discussion re contributing back to python-mimeparse / its maintenance https://github.com/falconry/falcon/issues/1183

@suola I know this has taken us a long time, but the issue has finally been fixed in 4.0.0.
See the description of the new algorithm here: falcon.mediatypes.quality().


add readMe file

Hi, I added the readme file. For the #issue-1923201613
I also want to add that you need to add publishablekey in the layout.jsx file in below prop as this was not present there and I was not able to run the project before. After adding this to the below component. I can run the project.
So kindly check this also
<ClerkProvider publishablekey={process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY}> </ClerkProvider>
By the way I added this in the

Summary by CodeRabbit
Release Notes for Pull Request:

New Feature: Updated ClerkProvider component in src/app/layout.jsx to receive the publishable key as an environment variable, enhancing security and flexibility.
Documentation: Revised README.md with updated project description, quick start instructions, and information about required environment variables. Unnecessary content and deployment section have been removed for clarity and conciseness.

LGTM


chore: bump react refresh plugin to 0.5.x stable

Bumped @pmmmwh/react-refresh-webpack-plugin to 0.5.x stable
Bumped webpack-dev-server to latest, which includes security patch to fix ReDoS CVE as well as infinite loop issues

Seems like tests are failing probably because the version is not in the cache (tested locally and everything works). Is there a simple way to make npm fetch the package?

Thanks Michael for the heads up - I can see we already merged a general update of dependencies including the fast refresh plugin, will close this one


Set Up Asset Vendor Libraries in Composer/Grunt

I think that a lot of the asset libraries concrete5 users have composer packages available. I think it would be ideal to get these things out of the core and into composer for better visibility on what the core is using, and to eliminate the excess crud we're putting into the git repo.
I think 90% of this would simply be grunt work (no pun intended). Updating build scripts to point to the appropriate locations and copying files out of the /concrete/vendor/* directories into wherever is appropriate and then adding the /concrete/vendor/* directories to the clean.js task.
Just a quick example of what some of this might look like (not extensively tested or anything but gives an idea of where my head was at)

Which asset libraries are you referring to?

I think any of the vendor libraries that have composer repositories and can easily be switched out should be. Jquery, Jquery-UI, select2, jquery-file-upload, jquery-cookie, malsup/form (jquery-form), etc. If we leveraged bower we could potentially catch almost all of these but I haven't looked that closely at it to determine that. It doesn't seem like good practice to me to use a copy/paste mentality when there are ways of including external packages without bloating the git repo.
Ideally I think even doing things like twitter bootstrap out of here would be ideal although I'm sure that sort of thing is far less trivial since I think the core uses a modified version. I haven't looked into the assets too much, but I think ideally we should not be modifying these external libraries directly but rather overriding the pieces of them as needed so that upgrading can be made easier.

I agree with moving unmodified third-party libraries to a package manager. There's a plugin for composer (https://github.com/francoispluchino/composer-asset-plugin/) that lets you install packages from bower/npm.

Jeez! That is a definite no-go! Ruby made that mistake already, Yii2 did it too (they're refactoring it now).
Also check the benchmarks and issues: composer-asset-plugin is still buggy and slow.
Let people use NPM and Bower with their Grunt/Gulp workflows. Let people handle front-end (JS/CSS) assets the what it supposed to be handled.
Simple example:

Imagine that you're running your app in AWS cloud... Technically and economically efficient approach would be to put JS/CSS libs into an S3 bucket and distribute it over CloudFront, while having the app running in EC2...

With that messy composer-asset-plugin you won't be able to do that. It may be convenient for PHP developers just to run a single composer update cmd, but it causes more pain to business, to devops, to front-end designers.


window is undefined

i think this is about server side rendering. but i can't solve this.
can you guys tell me how to fixing this issue?
thank you.

Hello,
This is definitely because of SSR. Can you put the complete trace here? If possible a repo with reproducing error? Would help me debug it.

ReferenceError: window is not defined
    at Object.<anonymous> (/home/*/*/*/*/node_modules/@fonticonpicker/react-fonticonpicker/dist/webpack:/FontIconPicker/webpack/universalModuleDefinition:10:2)
    at Module._compile (module.js:653:30)
    at Module._extensions..js (module.js:664:10)
    at Object.require.extensions.(anonymous function) [as .js] /home/*/*/*/*/node_modules/babel-register/lib/node.js:152:7)
   etc ...

i hope it can help solve this issue. thank you

This can be solved with something like:
if (window) {             const FontIconPicker = require("@fonticonpicker/react-fonticonpicker"); }


Remove-DbaSpn, multiple enhancements

Changes proposed in this pull request:

use Get-DbaAdObject to search AD
implements the new messaging system
removes delegation only if found, otherwise doesn't bother at all to modify the msDS-AllowedToDelegateTo entry

How to test this code:

[ ] Run all the examples, a few have been added

Has been tested on minimum requirements:

[ ]  Powershell 3
[ ]  Windows 7
[ ]  SQL Server 2000

Has been tested on maximum requirements:

[ ]  SQL Server vNext
[ ]  Windows 10
[ ]  Azure Database

Tests for tester:

[ ] Working/useful help content, including link to command on dbatools web site
[ ] All examples work as advertised
[ ] Does not contain template content
[ ] Does not contain excessive/unnecessary amounts of comments
[ ] Works remotely
[ ] Works locally
[ ] Works on lower versions or throws error specifying version not supported
[ ] Works with named instances
[ ] Works with clustered instances
[ ] Handles offline/read only databases
[ ] Supports multiple servers (at the command line or piped from Get-SqlRegisteredServerName)
[ ] No un-handled errors which stop the command working with multiple servers

tested all examples, all work!

Thanks for cleaning up docs as well.


Copying and pasting across pages breaks paging

Steps to reproduce:

Copy text from bottom of page 1 to top of page 2 on the demo site
Paste that text into page 2
Note how the page 1 and page 2 Nodes themselves are actually pasted into the document, resulting in embedded pages.

See screenshot below:

This is a marginal filtering problem. When paging is designed, each page is a custom type page node.
If you select Copy and paste, the node whose type is page will also be copied and pasted over. When copying here, you should filter out the nodes whose page type is page

这里的复制过滤没有添加

Hi thank you, when will the new version be released?


Bad backdrop filter

Describe the feature / bug 📝:
As you can see only the middle toast is blurred because I put a tailwind class to try remove the blur:

If I don't have that tailwind class:

Now only the middle one isn't blurred, and what I want it's that every toast be legible without blur effect.
Steps to reproduce the bug 🔁:
Just run a toast.

I have the same issue here, currently on W11 23H2 and Chrome 121.0.6167.161.

up

I don't follow, are the toasts blurry for you? There is no css added from sonner that might cause it. Which OS and browser are you using?

I don't follow, are the toasts blurry for you? There is no css added from sonner that might cause it. Which OS and browser are you using?

Check #334.

I don't follow, are the toasts blurry for you? There is no css added from sonner that might cause it. Which OS and browser are you using?

I'm using Edge and Chrome on Windows 11.
I know this problem and it's because the transform property, take a look at this:
https://stackoverflow.com/questions/14677490/blurry-text-after-using-css-transform-scale-in-chrome
https://stackoverflow.com/questions/36787529/how-to-fix-blurry-image-on-transform-scale
https://stackoverflow.com/questions/31109299/css-transform-translate-50-50-makes-texts-blurry

Is this fixed in this preview link? https://sonner-git-fix-blurry-appearance-emilkowalski-s-team.vercel.app/

Is this fixed in this preview link? https://sonner-git-fix-blurry-appearance-emilkowalski-s-team.vercel.app/

I found another fix, setting the toastOptions={{ style: { willChange: 'unset' } }} fixed all blurs effect

Can you try now? @Wollace-Buarque
https://sonner-git-fix-blurry-appearance-emilkowalski-s-team.vercel.app/

Can you try now? @Wollace-Buarque https://sonner-git-fix-blurry-appearance-emilkowalski-s-team.vercel.app/

It's fixed now

Fixed in #336


Fix typo in docs/configurations.md

Description
Found a typo in a table in the document while reading the docs.
Issue IDs
NA
Steps to test new behaviors (if any)
NA
Additional context
Thanks

Thank you @hiroyuki-komatsu !


Is it planned to upload this dependency to the maven central?

Spring's official support for JUnit 5 has already been released as part of the standard spring-test artifact in Spring Framework 5.0 milestones.
Thus, it is currently not planned to release the code in this repository as a stand-alone artifact.
However, having said that, the Spring team may consider releasing this as its own artifact or as a backport to Spring Framework 4.3.x depending on community interest.
Thus, if you're interested in using Spring's support for JUnit 5 outside of Spring 5.0, please feel free to open a ticket in Spring's JIRA issue tracker.
Cheers!


feat: add woke

First time I am adding a registry that is not simple copypaste from a similar registry. Kudos for the detailed guidelines, made it much easier.
The release page for reference: https://github.com/get-woke/woke/releases

Okay, so I managed to figure out why the tests were failing for the most part, this round of test failures I simply cannot figure out.
the relevant error seems to be this:
[mason] [ERROR 19:19:07] ...ns/v1/tests/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=woke) error='Tried to link bin "woke" to non-existent target "woke".'

However, there is exactly a binary named "woke" at the package root, so am not really sure what the remaining issue here is.

Nevermind, I figured it out. The problem was that my unarchiving app was a little bit too smart, as it automatically unnests files when there is only one folder in a folder, effectively hiding from me that the woke binaries were nested one level deeper 🙈


❤ What was the best feature you learned yesterday?

What was the GitHub Actions feature you liked best that you have learned about yesterday the first time?
As an extra share, If you want add your favorite hobby to share it with the group. Comment below 👇

i found it interesting to know that runners were destroyed after the job, and fully recreated at that time - gives me a different perspective on how to deal with ephemeral resources for the next time
hobby - travel for concerts/nature/restaurants

Feature I liked:  Starter workflows
Hobby:  cycling / touring

Feature - I appreciate the flexibility of being able to do on-prem runners.
Hobby: Sailing

Although there is more we'd probably need to make environments work for us, it was cool to see action runs tied to environments and reflecting the status of the code for that environment in the UI
Hobby: hockey

I like that it is in yaml :)
Hobby: Traveling


Release 0.7.0

Proposal for release 0.7.0

I made a mistake in naming the branch, I am deleting it - and creating a new PR.


Re-Writing the monitorRequestEpic test

Thank you for submitting this pull request :)
Fixes #
Short description
Definition of Done

[ ] Steps to manually test the change have been documented
[ ] Acceptance criteria are met
[ ] Change has been manually tested by the reviewer (dApp)

Steps to manually test the change (dApp)

I took care of your comments in a fixup commit please take a look

Thanks for fast approval Andre

Would you also merge PR or i can do it ? @andrevmatos


Create a validate of removal

Not sure if it is really needed...

The fail of the current validate() method can work for this.


Traffic Light Classifier

Added models for simulator and carla
Added logic for loading and prediction of one image at a time
Added error handling

Wrong PR


Website is down

The website is down.

@abi still down :(

Do you have a firewall or antivirus or something installed perhaps?

AT&T began blocking your website last week for some odd reason.
￼

On Jan 29, 2024, at 2:05 PM, Abi Raja @.***> wrote:
Do you have a firewall or antivirus or something installed perhaps?
—
Reply to this email directly, view it on GitHub https://github.com/abi/screenshot-to-code/issues/224#issuecomment-1915377252, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFIGZAH6KOOCV4PBSEV333YQ7XGHAVCNFSM6AAAAABCOOLGHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVGM3TOMRVGI.
You are receiving this because you were mentioned.

Ugh. Thanks for letting me know.
Hopefully adding a landing page will help with these issues.

Hi there! Is there already a stable workaround to this issue? I'm facing the same problem.

Still down with ssl error!

@ajgloberuner try a VPN? I'm really not sure how to fix the issues where screenshottocode.com is on a blacklist for some people. It somehow got on a list released by Bit defender or one of these tools.

Got another report of this.
Related to #220


Fix Flaky Test SpecificClusterManagerNodesIT.testElectOnlyBetweenClus…

Description
The case is as follows:

When the node_t1 is excluded from the vote config, and the cluster starts a new leader election, but the the node node_t2 hasn't been elected as the new leader.

At the moment, we send request to get the ClusterManager, we first get ClusterManager name, and leads to the NullPointerException.

internalCluster().nonClusterManagerClient()-> ......->getClusterManagerName()
https://github.com/opensearch-project/OpenSearch/blob/f0ea056a93383c4ca7cac361fdf8c73e8afc3941/test/framework/src/main/java/org/opensearch/test/InternalTestCluster.java#L2171
Related Issues
Resolves #16015

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Checking the history of this test, has this been flaky for more than a year?
The only code related to cluster manager election that I've been able to find changed more recently than ~5 years ago (besides renaming) is the introduction of DecommisionService in 2023.

Checking the history of this test, has this been flaky for more than a year?
The only code related to cluster manager election that I've been able to find changed more recently than ~5 years ago (besides renaming) is the introduction of DecommisionService in 2023.

I'm not clear why it wasn’t reported before, maybe the frequency of occurrence is very low and we ignored it? This issue #15944 collects some of the recent case.
Logically speaking, when the cluster has no cluster manager, It's right to return null from getClusterManagerNode, which will hit the case.

@msfroh please help confirm it when you are free.


remove jcr.Property from fcrepo-kernel-api

See: https://jira.duraspace.org/browse/FCREPO-1894

So the idea here is to stamp out Property in favor of Node, which we can further stamp out at some future point?

Yes, the idea is that this further consolidates the use of jcr to the Node type which will be addressed separately.

I'll wait a day and merge.


Added temporary workaround to fix corrupted zip file

Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

@klakhov  It works as expected


AssertionError: error: readgroup not found in provided primer scheme (1)

Hi,
I'm testing the pipeline and everything goes well until :
artic_plot_amplicon_depth --primerScheme /home/linux/programmes/artic-ncov2019/primer_schemes/ZaireEbola V1/ZaireEbola.scheme.bed --sampleID ebov-mayinga --outFilePrefix ebov-mayinga ebov-mayinga*.depths
Traceback (most recent call last):
File "/home/linux/miniconda3/envs/artic-ncov2019/bin/artic_plot_amplicon_depth", line 10, in
sys.exit(main())
File "/home/linux/miniconda3/envs/artic-ncov2019/lib/python3.6/site-packages/artic/plot_amplicon_depth.py", line 143, in main
go(args)
File "/home/linux/miniconda3/envs/artic-ncov2019/lib/python3.6/site-packages/artic/plot_amplicon_depth.py", line 76, in go
rg)
AssertionError: error: readgroup not found in provided primer scheme (1)
Command failed:artic_plot_amplicon_depth --primerScheme /home/linux/programmes/artic-ncov2019/primer_schemes/ZaireEbola/V1/ZaireEbola.scheme.bed --sampleID ebov-mayinga --outFilePrefix ebov-mayinga ebov-mayinga*.depths
How can I solve this?
Thk

Hi - can you let me know what version of the pipeline you are using please? (run artic --version)

artic 1.1.3

Sorry about that - this is actually fixed in a pull request already and will hopefully be in master soon. It's because the readgroup in that primer scheme is an int and not a string.


change typescript SDK to use boolean descending

what it says in the title - use boolean instead of "Descending" to specify sort order.
This should fix the transactions for addresses not working.
before / devnet, at https://explorer.devnet.sui.io/addresses/0x939f9f2acb088d2b2760cd4c743bcbc8d0372a2f:

after:

⚠ 🦋 Changesets Warning: This PR has changes to public npm packages, but does not contain a changeset. You can create a changeset easily by running pnpm changeset, and following the prompts. If your change does not need a changeset (e.g. a documentation-only change), you can ignore this message. This warning will be removed when a changeset is added to this pull request.
Learn more about Changesets.

this instruction does not work, so not sure how to attach the changeset

this is actually fixed on main


removing elements isn't working

if i try to move dynamic bone scripts or constraints or anything it does nothing.

having the same issue. refreshing doesn't help nor does restarting unity or reimporting the tool. ive also tried using scene selection AND selecting the avatar manually, nothing changes.


changes on README

Hey, I made some changes to README and I would like to have your feedback on them.
Summary of changes:

moved the "Scrapy+Splash" section to the end of the doc and renamed it to "Why not use the Splash HTTP API directly?". I think that this way, the doc would be more straightforward to follow.
minor fixes on typos and rephrased some sentences.
changed the CI image URL, because it was broken.

Looks good to name. Shouldn't we also rename scrapyjs module to scrapy_splash for consistency?. And maybe also move this repo to scrapy-plugins github account, aimed to be used as directory of official Scrapy extensions.

@pablohoffman: :+1:
There is also the package on PyPI, which is called scrapyjs.

Hey! Is there anything else I should change in the readme?

@stummjr , thanks for this.
Let's merge this one, @kmike what do you think?
And handle the renaming/moving to scrapy-plugins as seperate issue.

Thanks @stummjr! Rebased & merged.


[Bug] Webpack can't import css from nested modules

Bug report
Webpack can't import css from nested modules, I have 3 modules:

A: is the one who import the css files
B: is the one who tested it working with webpack
C: is the one who fail to test with webpack, but this time A was nested in B.

B and C have been tested with the same webpack config.
What is the current behavior?
The css file is importer from font-awesome in module A.
import 'font-awesome/css/font-awesome.css';

This dependency is installed in B and tested working here https://travis-ci.org/rollup-umd/documentation/jobs/462953293
The css loader configuration looks like this
    {
      test: /\.css$/,
      use: ['style-loader', 'css-loader'],
    }

Note: I have been through both documentation : https://webpack.js.org/loaders/style-loader/ and https://github.com/webpack-contrib/css-loader without finding how to setup path.
I am now redoing the same tested but dependencies are nested A > B > C, I have the following error:
SyntaxError: Invalid or unexpected token
/home/travis/build/bootstrap-styled/documentation/node_modules/font-awesome/css/font-awesome.css:7
@font-face {
^
SyntaxError: Invalid or unexpected token

What is the expected behavior?
I expect nested dependencies to work fine with css and webpack the latest version.
You can see the error here: https://travis-ci.org/bootstrap-styled/documentation/jobs/462966861#L561

Is it possible to setup path for style-loader and css-loader ?
Otherwise, is there another way to work with css in nested module ?

Other relevant information:
webpack version:  4.26.1
Node.js version: v10.10.0
Operating System: Linux dev-01 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
Additional tools: npm 6.4.1

Can you please tell why webpack is not involved?

You can see it from the stack trace. That's the stack trace when calling require("file.css") in node.js without being compiled by webpack. I can't say where it's called (maybe longer stacktraces help here). Maybe related to SSR or any other prerendering.

I'm having this same error :( @kopax, did you manage to solve it?


[ ENH ] Handle multi-cid class

Describe the bug
Ability to develop a class that can be use natively to handle foreign cid with several api keys.

Partially addressed by profile functionality implemented in v0.1.0.

Closing due to inactivity.


Add manager role: org owner without permission to create new organizations

As a Dev, I want give users a manager role, so that the manager can do all things an org_owner can do, but not create new orgs.
Context:

Users want give manager roles in delegation to manage an organization, but only that organization
Changing the current role could break current behavior for cloud users
Workaround for self-hosting: change the base role configuration (not possible in cloud atm)

Acceptance criteria

[ ] Role available in api
[ ] Role available in Console
[ ] Updated documentation

as talked on 18.02 and 19.02 with Elio, this is also a topic for us and our onboarding of new users. It might be a feature, that an org-admin can create new Orgs, but currently this was not in our concept, so we need to check possible side-effects


Do you support React Native's fabric new architecture?

Description
If not, any idea when you will?
System info
No response

Hello, @the-skins-app!
Currently, we do not. I'm not an expert in this question, so you can guide my mistakes. You probably questioning upgrading to TurboModules, since Fabric is a renderer of views and components.
To my knowledge both TurboModules and Fabric Components are still both experimental and both unstable.
Were there any updates recently that I've skipped?
Since we cannot raise a minimal supported RN version from 0.60, we need to do some kind of metaprogramming. It would ensure that users would have buildable projects with react-native below v0.68.
I don't currently know a way to achieve this in Kotlin/Java...
I'm interested in this feature, but that would not be a priority task, because of unsteady APIs.
I will study the possibilities to implement this and will try to incrementally add features to support new archs
No ETAs for now

I've created a discussion for that that you can follow. Seems more fitting for the case

I'd close issue as replaced with a discussion for now


Add cpack to CMakeLists.txt

Enable packing of deb packages using cpack. This simplifies the process of creating redistributable versions of azure-storage-cpplite.

@JinmingHu-MSFT can you review this?

@janbernloehr Thank you for your contribution. But we don't release packages for any distribution of Linux for now.

You don't have to do that. Still it is very valuable to have the cpack configuration in the CMakeLists.txt file so that others who want to package the library can do so.


Need to restore refresh menu item functionality from JfD

refresh reads the project status from disk and refreshes the console display updating SHA and dirty status on disk ... if you ever update a git repo on disk, you need this menu item. It appears the changes will refresh the console display as a short term workaround
The current Refresh from Disk should be renamed to reload  to disambiguate the use of refresh ... nice symmetry with the unload menu item ...
The current Load... should be renamed to install... or install project...  to disambiguate the use of load ...

Changed the menu options as shown in the picture. Can rename or reorder as requested.


Fix XML summaries

Found some XML summaries that hadn't been updated with the changes in v40.
I was not sure what to do with these two:

FtpListItem.LinkObject is unreferenced and its summary references the removed FtpListOption.DerefLinks
FtpConfig.NoopInterval summary references the removed EnableThreadSafeDataConnections

Awesome, thanks!


Screenshot is failing on the new UI

Reopen because desktop mode is still buggy; it's a nightmare to debug this...

I personally get better results when I "Export HTML" then

and "Save full page" in firefox. Or in chrome


Added config options for formatting multiple imports

This enables rustfmt to format
use a::{
    b,
    c,
}

or
use a::{b,c}

as desired.

Is this PR necessary to prevent rustfmt from turning this:
use rusoto_ecr::{
    DescribeImagesRequest,
    DescribeRepositoriesRequest,
    Ecr,
    EcrClient,
    ImageDetailList,
    RepositoryList,
};

into this?
use rusoto_ecr::{DescribeImagesRequest, DescribeRepositoriesRequest, Ecr, EcrClient,
                 ImageDetailList, RepositoryList};

If so, could someone please review and merge this?

I'm not sure how this missed a review, very sorry @rbtying . I think this is probably subsumed by https://github.com/rust-lang-nursery/rustfmt/pull/1760 and/or https://github.com/rust-lang-nursery/rustfmt/pull/1785


Native Event penetration to Flutter（it is very urgent！！！）

Native Event penetration to Flutter！！！
When I present a IOS Native ViewController on Futter Page use Plugin。In the Native ViewController,I click But the back Fluuter Page in response。 here is the  example code : https://github.com/llywuchen/NativeEventPenetration.git ，please help me!!!!
In addition. I use v1.7.8 version,it has no this problem!!!
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, v1.12.13+hotfix.10-pre.1, on Mac OS X 10.14.6 18G103, locale zh-Hans-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 4.0)
[✓] Connected device (1 available)

Hi @llywuchen
Can you please elaborate more what this issue is about?
Thank you

Hi @pedromassangocode ,can you see and run my demo in https://github.com/llywuchen/NativeEventPenetration.git ,first I added a Native Page on a flutter page,then clicked the NativePage,but the click evnet was captured by the Flutter page。
in flutter demo example :
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: GestureDetector(behavior: HitTestBehavior.opaque,child: Center(
child: Text('Running on: $_platformVersion\n'),
),onTap: (){
print("flutter on taped!!!!");///click the native page but this callback responded
if(!isPresented){
isPresented = true;
Demo.presentIOS;     ///add a IOS native page on flutter page
}
},),
),
);
}
in ios plugn :
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
if call.method == "presentIOS" {//add native page on flutter
let vc = UIViewController()
vc.view.backgroundColor = .red
UIApplication.shared.keyWindow?.rootViewController?.present(vc, animated: true, completion: nil)
return
}
result("iOS " + UIDevice.current.systemVersion)
}
steps: run and click flutter page ,then present ios native page,and click the native page,you can see the console print : flutter on taped!!!!

Hi @llywuchen
Could you please run flutter upgrade --force.
If the issue persists, please provide your updated flutter doctor -v, your flutter run --verbose.
Thank you

@pedromassangocode Hi,I just wanted to fix this bug on v1.12.13,because all my apps use flutter in this version,and it't in  online deployment。Can you run my demo in v1.12.13,and help me how to fix this problem,is't very urgent.Thank you!

Hi @llywuchen
does https://github.com/flutter/flutter/issues/35784#issuecomment-516274701 help?

@VladyslavBondarenko Thank you very much

@llywuchen
I just found an open duplicate, please follow up on https://github.com/flutter/flutter/issues/14720,
closing current issue


set tflite interpreter gpu delegate on android，it's output is different without gpu delegate

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):android
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: MI PAD 4 PLUS
TensorFlow installed from (source or binary):source
TensorFlow version (use command below):1.14
Python version:3.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
set tflite interpreter gpu delegate on android，it's output is different without gpu delegate, and it seems that whatever data i fed, the model output is the same, is it something wrong with my code ？and i have checked my code, it's output is correct without set the gpu delegate.
Describe the expected behavior
use gpu to accelerate inference
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
here is the code i set the tflite interpreter options:
tfliteModel = loadModelFile(activity);
    switch (device) {
        case NNAPI:
            tfliteOptions.setUseNNAPI(true);
            break;
        case GPU:
            gpuDelegate = new GpuDelegate();
            tfliteOptions.addDelegate(gpuDelegate);
            break;
        case CPU:
            break;
    }
    tfliteOptions.setNumThreads(numThreads);
    tflite = new Interpreter(tfliteModel, tfliteOptions);

and here is the code i used to inference(where the input is a four dim array, and output is a two dim array, corresponding to the model input and output dimentions):
tflite.run(audioData, output);
Other info / logs
14:11:28.433 30654-30654/? I/tflite: Created TensorFlow Lite delegate for GPU.
2019-09-30 14:11:28.435 30654-30654/? I/tflite: Initialized TensorFlow Lite runtime.
2019-09-30 14:11:28.464 30654-30654/? I/Adreno: QUALCOMM build                   : dcd4b96, I568c71768a
Build Date                       : 04/30/18
OpenGL ES Shader Compiler Version: EV<IP_ADDRESS>_06
Local Branch                     :
Remote Branch                    : quic/gfx-adreno.lnx.1.0.r33-rel
Remote Branch                    : NONE
Reconstruct Branch               : NOTHING
2019-09-30 14:11:28.467 30654-30654/? I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
2019-09-30 14:11:28.471 30654-30654/? I/zygote64: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2019-09-30 14:11:28.472 30654-30654/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)
2019-09-30 14:11:28.659 3275-3275/? D/EventBus: [3275, u0] send(AppTransitionFinishedEvent)
2019-09-30 14:11:28.659 3275-3275/? D/EventBus: [3275, u0]  -> ForcedResizableInfoActivityController [0xe31f776, P1] onBusEvent(AppTransitionFinishedEvent)
2019-09-30 14:11:28.659 3275-3275/? D/EventBus: [3275, u0] onBusEvent(AppTransitionFinishedEvent) duration: 17 microseconds, avg: 159
2019-09-30 14:11:28.659 3275-3275/? D/EventBus: [3275, u0] send(AppTransitionFinishedEvent)
2019-09-30 14:11:28.659 3275-3275/? D/EventBus: [3275, u0]  -> ForcedResizableInfoActivityController [0xe31f776, P1] onBusEvent(AppTransitionFinishedEvent)
2019-09-30 14:11:28.659 3275-3275/? D/EventBus: [3275, u0] onBusEvent(AppTransitionFinishedEvent) duration: 6 microseconds, avg: 159
2019-09-30 14:11:29.152 30654-30674/? D/OpenGLRenderer: HWUI GL Pipeline
2019-09-30 14:11:29.161 30654-30654/? I/Toast: Show toast from OpPackageName:com.example.dm.testing, PackageName:com.example.dm.testing
2019-09-30 14:11:29.201 30654-30674/? I/OpenGLRenderer: Initialized EGL, version 1.4
2019-09-30 14:11:29.201 30654-30674/? D/OpenGLRenderer: Swap behavior 2
2019-09-30 14:11:29.321 2629-2679/? I/ActivityManager: Displayed com.example.dm.testing/.MainActivity: +1s153ms
2019-09-30 14:11:29.322 4049-4487/? D/PowerKeeper.Event: notifyActivityLaunchTime: com.example.dm.testing/.MainActivity totalTime: 1153
2019-09-30 14:11:29.322 598-598/? W//system/bin/hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.iop@1.0::IIop/default in either framework or device manifest.
2019-09-30 14:11:29.322 2629-2679/? E/ANDR-PERF-JNI: Iop tryGetService failed
2019-09-30 14:11:29.360 2629-16635/? D/ActivityTrigger: ActivityTrigger activityStopTrigger
2019-09-30 14:11:29.363 6198-6198/? D/Launcher.AdPendantUtils: updateAdvertisementPendantVisibility, mIsAdPendantEnable=false, mIsPullActionEnable=false, mIsEditDisabled=true, mCurrentScreenId=2, mDefaultScreenId=2, mIsLauncherVisible=false, mIsMinusOneScreenShow=false
2019-09-30 14:11:29.452 3880-8501/? D/com.xiaomi.common.Network: Http POST Response Code: 200
2019-09-30 14:11:31.156 768-815/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/mmc_host/mmc0/clk_scaling/enable with 1
return value 2

i notice a error when lauching the app:  E/libEGL: call to OpenGL ES API with no current context (logged once per thread), is it related to it?

@ArtemisZGL I don't think that error message is related.  I think it's a bug on one of the shaders.
Can you share your network, or if it's confidential, can you do a binary search on your network to find out which op with which options (input/output dimensions, strides, dilations, weights, bias, etc.) is bad?

@ArtemisZGL
Can you please update as per above comment.

@ArtemisZGL
Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


GCMDevice fails on Postgres (Django 1.9+)

When storing the 64-bit device ID for GCM devices, it has to be converted to a signed integer on Postgres backends.
However, the name of the Postgres backend was changed in Django 1.9: now django.db.backends.postgresql is the preferred way while django.db.backends.postgresql_psycopg2  remains as fallback:
https://docs.djangoproject.com/en/1.9/ref/settings/#engine
Thus, the list of signed_integer_engines in fields.py has to be extended so that both names are supported:
https://github.com/jleclanche/django-push-notifications/blob/master/push_notifications/fields.py#L18
All in all, the current implementation of HexIntegerField seems rather delicate and susceptible to bugs. For instance, only the global connection object is used in _using_signed_storage as opposed to the connection the field is actually used with (connection argument). Then, fuzzy matching is performed in db_type but exact matching is required for signed_integer_engines. However, since this is out of scope for this issue, discussion should probably move to another ticket.

The fix was merged.


Fix issue where deleting tags failed

Octokit's deleteRef function expects a ref without a preceding "ref/", so deleting a tag should have it be passed a string in the form of "tags/tagName". This was previously passing in a tag in the form of "refs/tags/tagName", which was an error.

Indeed.
https://octokit.github.io/octokit.rb/Octokit/Client/Refs.html#delete_ref-instance_method
#delete_ref(repo, ref, options = {}) ⇒ Boolean
Also known as: delete_reference
Delete a single reference
Examples:
Delete tags/v0.0.3 for sferik/rails_admin
Octokit.delete_ref("sferik/rails_admin","tags/v0.0.3")
Parameters:

repo (Integer, String, Repository, Hash) — A GitHub repository
ref (String) — The ref, e.g. tags/v0.0.3

Returns:

(Boolean) — Success

See Also:

https://developer.github.com/v3/git/refs/#delete-a-reference

I think it also would be more pleasing that our code used only 2 parameters to coincide with Octokit's methods? repo, ref instead of owner, repo, ref ?  This would be less confusing to others coming into help don't you think? Could you make a new issue if you agree?

I think it also would be more pleasing that our code used only 2 parameters to coincide with Octokit's methods? repo, ref instead of owner, repo, ref ?  This would be less confusing to others coming in to help don't you think? Could you make a new issue if you agree?

That's the Octokit Ruby client that only uses repo and ref. The Octokit JS client requires owner repo and ref individually supplied. Attempting to not supply owner is an error.
https://octokit.github.io/rest.js/v18#git-delete-ref

I see some conflicts popped up. I'll fix those in a few hours when I'm home.


[REVIEW] Holt-Winters Tutorial/Demo/Comparison Notebook

Full Holt-Winters notebook including tutorial on NOAA dataset and comparison to statsmodels. Moved from rapidsai/notebooks to here.

Added to rapidsai/notebooks/tutorial instead -- see https://github.com/rapidsai/notebooks/pull/192.


Large numbers of message passing steps

Hi, I am trying to adapt a model, similar to the shortest path problem, to a use case with large graphs (~5000 nodes), and needing to propagate information across the full width of the graph.  From what I understand, I need to use a number of message passing steps >= the longest path in the graph to guarantee this. I only need the output graph of the decoder after the final step. The Encode-process-decode architecture unrolls the core for all n processing steps - this creates an enormous graph for large numbers of processing steps.

Is it possible to use the Encode-process-decode architecture for very large numbers of message passing steps?
If not, is there an architecture that will handle this case? I think the solution I need is a Recurrent GN architecture, but I'm having a hard time understanding the difference in implementation from the "Relational inductive biases..." paper.

Cheers,
Chris

In principle this should be possible, but in that case it may be recommended to use a tf.while_loop, so you avoid the problem you are mentioning of creating a gigantic tensorflow graph.
Technically, the fact that the global features also get updated by the GraphNet, and since the updated features at every step are used to condition every input at the next iteration, this gives an additional path for information to travel between distant nodes in the graph. So depending on your problem you may also not require to propagate all of the information via the edges.

Closing due to inactivity.


.NET 7 Ubuntu installation instructions

Please provide package installation instructions for .NET 7, I've been waiting for this, still nothign :(
https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu

Duplicate of #32541


Can we attach an image with form field prompt?

We need to send an image to user during a form field prompt to help user to answer the question. How can achieve this?

Here is an older answer that might help:
https://github.com/Microsoft/BotBuilder/issues/1102

@singhsurya were you able to do what you needed?

Closing for lack of response.


Set Up Airflow in Docker with ETL Tasks

Blocked by #73
Context

Set up an Airflow environment within Docker.
Define DAG for fetching and updating the data in DB tables - reuse ETL code from #73 for fetching the data from the external APIs.
Add tasks that check if there are updates in the external datasets.

Definition of Done

Airflow is containerized and running with Docker.
ETL workflows are operational as Airflow tasks.
Tests for the DAG are added.
Clear documentation on setting up and maintaining Airflow ETL tasks.

Engineering Details

Official Airflow in Docker documetation: https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html
Simplified youtube turorial: https://www.youtube.com/watch?v=K9AnJ9_ZAXE&t=922s

this miiiiiight be blocked by getting a hosted PostgreSQL instance up and running as well... hopefully we'll get that up and running soon (next week or so)


[Rest Server] Add examples to swagger

Let's follow the actions of Semantic versioning from now, which uses major.minor.patch as versioning and

 Any modifications MUST be released as a new version.

Since only examples are added in this PR, and I think you may change the version to 2.0.1 like
info:
  title: OpenPAI RESTful API
  description: >
    Open Platform for AI RESTful API docs.
    Version 2.0.1: add more examples and fix typos
  license:
    name: MIT License
    url: 'https://github.com/microsoft/pai/blob/master/LICENSE'
  version: 2.0.1

you may diff current version with the version in pai-0.18-y for a precise versioning info.


Error: Validation error at partner system

Payments over 30 € with saved credit cards in the WooCommerce Unzer Plugin get the error message "Validation error at partner system".

Hi @ebravo25,
This message is coming from the Acquirer System. You can contact our support team<EMAIL_ADDRESS>and they can analyze what exactly was the issue with that transaction.
BR
Emrah Celik


Arangodb crashes when other process take more memory in linux

Dear team,
We are using Arangodb 3.1.2 in rhel 6.6.
When we run some high memory utilizing programs, the DB crashes.
Is there any way this can be avoided?
Regards,
Sajeev

Disable Linuxs oom killer or run the program on a stand alone server.
This is not a bug this is by design. If Linux, the kernel, needs more ram as being available it kills processes to gain free ram.

@baslr , Thank you for the response. we will try these options.

@baslr, if we run only Arangodb process in a linux machine of RAM 192 GB and database size of 300 GB with all collections loaded, will it crash?

ArangoDB wont crash, but at some point linux has do drop pages with already mapped datafiles to map unmapped datafiles into the ram. If a query needs documents that are not longer mapped in ram expect degraded performance.

Hi @sajeevpr,
Is there anything else we can do to help you more with this ticket - or can we consider it solved?
Thanks,

Hi,
We haven't received any recent feedback on this ticket. I am closing it now. Please comment if you have any other questions and we will reopen it
Many thanks,


chore: node 20 + pnpm 8

closes #4509

🙏 CI please pass

@ahabhgk
The test
https://github.com/web-infra-dev/rspack/blob/e1934125d5e003e408f07403bb6ce89e1d379f24/packages/rspack-cli/tests/build/profile/profile.test.ts#L34-L41
is throwing
 FAIL  tests/build/profile/profile.test.ts
  ● Console

    console.log
      Error: Command was killed with SIGABRT (Aborted): /Users/bytedance/github/rspack/packages/rspack-cli/bin/rspack
      thread '<unnamed>' panicked at /Users/bytedance/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.17/src/util.rs:91:14:
      failed to set global default subscriber: SetGlobalDefaultError("a global default trace dispatcher has already been set")
      note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
      fatal runtime error: failed to initiate panic, error 5
          at makeError (/Users/bytedance/github/rspack/node_modules/execa/lib/error.js:60:11)
          at handlePromise (/Users/bytedance/github/rspack/node_modules/execa/index.js:118:26)
          at processTicksAndRejections (node:internal/process/task_queues:95:5)
          at Object.<anonymous> (/Users/bytedance/github/rspack/packages/rspack-cli/tests/build/profile/profile.test.ts:35:13) {
        shortMessage: 'Command was killed with SIGABRT (Aborted): /Users/bytedance/github/rspack/packages/rspack-cli/bin/rspack',
        command: '/Users/bytedance/github/rspack/packages/rspack-cli/bin/rspack',
        escapedCommand: '"/Users/bytedance/github/rspack/packages/rspack-cli/bin/rspack"',
        exitCode: undefined,
        signal: 'SIGABRT',
        signalDescription: 'Aborted',
        stdout: '',
        stderr: "thread '<unnamed>' panicked at /Users/bytedance/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.17/src/util.rs:91:14:\n" +
          'failed to set global default subscriber: SetGlobalDefaultError("a global default trace dispatcher has already been set")\n' +
          'note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n' +
          'fatal runtime error: failed to initiate panic, error 5',
        failed: true,
        timedOut: false,
        isCanceled: false,
        killed: false
      }

What is going on 😅 ?

@ahabhgk
The test
https://github.com/web-infra-dev/rspack/blob/e1934125d5e003e408f07403bb6ce89e1d379f24/packages/rspack-cli/tests/build/profile/profile.test.ts#L34-L41
is throwing
 FAIL  tests/build/profile/profile.test.ts
  ● Console

    console.log
      Error: Command was killed with SIGABRT (Aborted): /Users/bytedance/github/rspack/packages/rspack-cli/bin/rspack
      thread '<unnamed>' panicked at /Users/bytedance/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.17/src/util.rs:91:14:
      failed to set global default subscriber: SetGlobalDefaultError("a global default trace dispatcher has already been set")
      note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
      fatal runtime error: failed to initiate panic, error 5
          at makeError (/Users/bytedance/github/rspack/node_modules/execa/lib/error.js:60:11)
          at handlePromise (/Users/bytedance/github/rspack/node_modules/execa/index.js:118:26)
          at processTicksAndRejections (node:internal/process/task_queues:95:5)
          at Object.<anonymous> (/Users/bytedance/github/rspack/packages/rspack-cli/tests/build/profile/profile.test.ts:35:13) {
        shortMessage: 'Command was killed with SIGABRT (Aborted): /Users/bytedance/github/rspack/packages/rspack-cli/bin/rspack',
        command: '/Users/bytedance/github/rspack/packages/rspack-cli/bin/rspack',
        escapedCommand: '"/Users/bytedance/github/rspack/packages/rspack-cli/bin/rspack"',
        exitCode: undefined,
        signal: 'SIGABRT',
        signalDescription: 'Aborted',
        stdout: '',
        stderr: "thread '<unnamed>' panicked at /Users/bytedance/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.17/src/util.rs:91:14:\n" +
          'failed to set global default subscriber: SetGlobalDefaultError("a global default trace dispatcher has already been set")\n' +
          'note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n' +
          'fatal runtime error: failed to initiate panic, error 5',
        failed: true,
        timedOut: false,
        isCanceled: false,
        killed: false
      }

What is going on 😅 ?
I'm not sure whether we should:

pin signal-exit?
fix the test?
fix the exit code?

seems same as https://github.com/web-infra-dev/rspack/pull/4245/files#r1395400223


Bot receives M_FORBIDDEN after being invited to a dm

2021-12-17  04:30:05.066 [MatrixEventHandler] error: Error handling appservice room.event {
  errcode: 'M_FORBIDDEN',
  error: "M_FORBIDDEN: You don't have permission to view this room."
}

I'm using conduit as my server if that matters

Tracked by https://gitlab.com/mx-puppet/discord/mx-puppet-discord/-/issues/189


Swift 3

If you could create a swift-3.0 branch I could do a pull request from https://github.com/basvankuijck/SwiftHEXColors/tree/swift3

Sure.

@basvankuijck: swift3 branch is ready.


No way of safely inserting SQL

System information
OS: Win 10 x64 1909
Grabber version: 7.1.1 x64 (I cannot test for this issue on Grabber 7.2.1, more below)

Bug description
When adding tags to the database, using %all% in the setting Commands > Database > Image  returns SQL unsafe characters
...," %all:includenamespace,unsafe,underscores,separator= % ",...
Here is an example of a query Grabber might try and fail to insert into the database:
SQL execution of "INSERT INTO posts... , general:tag general:tag2 general:unsafe"tag"3 general:tag4 general:\o/
Unsafe characters (including quotes and backslashes) typically occur when a tag is meant to represent a person/face e.g., \o/.
Additionally, backslashes don't always make the SQL insertion fail (which is worse) because they end up escaping the next character. This creates posts that have slightly different tags from how grabber received from the source and no way to detect and fix them.
I would really appreciate it if this issue got some sort of acknowledgement, I've seen other similar related questions go unanswered so I hope to confirm someone is looking into/working on this issue.
I cannot test if this is still an issue in Grabber 7.2.1 because of a bug that prevents the loading of the database drivers in that specific version of Grabber.
Steps to reproduce

Configure Grabber exactly as described in the wiki tutorial for gelbooru
Download an image with a tag that includes unsafe characters

Expected behavior
Grabber should escape SQL queries before attempting to insert them in the database

%all:includenamespace,unsafe,underscores,separator= %

Just to be clear, this was written by you and is not taken from the tutorial right? (to know whether I should update a tutorial somewhere)

Grabber should escape SQL queries before attempting to insert them in the database

There is actually an escape option which apparently is not documented in the Filename documentation. I'll add it ASAP. So in your case you'd have to use %all:includenamespace,unsafe,escape,underscores,separator= %
Note that I went with this solution rather than escaping everything because the escaping method I use (QSqlDriver::formatValue) encloses the result in quotation marks. So you'll have to remove those from your command as well.

Just to be clear, this was written by you and is not taken from the tutorial right? (to know whether I should update a tutorial somewhere)

Yes, this is changed from the tutorial. I would recommend updating the Gelbooru tutorial because it still instructs you to use %allo%, which is deprecated. See.
Thanks for documenting the escape option, I was not aware it existed.


Add method for randomly sampling non-zero elements

We should add a method either on a trait thats auto-derivable for traits with UniformRand and Zero, in order to  sample non-zero elements
Originally posted by @ValarDragon in https://github.com/arkworks-rs/groth16/pull/16#discussion_r543727125

You might glance at the distributions stuff from the rand crate, probably not quite right here but worth a quick look.


Epic: llamalend delta neutral strategy

@fieldtheory123 will complete the https://www.notion.so/volumefi/EPIC-06-14-24-Curve-Llamalend-crvUSD-delta-neutral-bot-on-Arbitrum-fb30fc06bdd644a4a9fd4f25bb4610af and prepare for github stories.

Done.


Issue with SQL when migrating from an older grackle version

I'm currently migrating some code from an older grackle version 0.0.49.
I have some example code that reproduces the issue here: https://github.com/ryan-martin-itv/gql-test
Essentially I have a two tables that are joined together with two Join definitions in the type mapping.
In version 0.0.49 it produces this SQL:
SELECT inner.value, inner.id, inner.join, outer.id, outer.join, outer.value
FROM outer
LEFT JOIN inner ON outer.join = inner.join
WHERE (outer.value = ?) AND (outer.id = inner.id)

In any version after 0.8.0 it produces this SQL:
SELECT
  inner_outer_nested.id,
  inner_outer_nested.join,
  inner_outer_nested.value,
  outer.id    AS id_alias_0,
  outer.join  AS join_alias_1,
  outer.value AS value_alias_2
FROM outer
  INNER JOIN outer ON (outer.id = outer.id)
  INNER JOIN LATERAL (
    SELECT inner.join, inner.id, inner.value FROM inner
    INNER JOIN outer ON (outer.join = inner.join)
  ) AS inner_outer_nested
ON (inner_outer_nested.join = outer.join)
WHERE (outer.value = ?)

Is the SQL produced in the second example correct?
In the production code, it needs the extra AND (outer.id = inner.id) from the first query otherwise the query times out. Is there a way to add that back in?

0.0.49 is an incredibly old version! Nearly two and a half years old!
Compilation to SQL has changed dramatically in that time, so I'm afraid it isn't helpful to compare old with new. If there's a performance issue with more recent versions, then we need to address that directly.
Does the 0.15.0 version in repo you linked to fully reproduce the problem?

I suspect you probably need a composite join as illustrated here. Could you try that with the 0.15.0 reproduction and let me know if that does the trick?