unable to use vcpkg package even though it has been found by xmake

Describe the bug
I want to use azure-kinect-sensor-sdk from vcpkg with xmake. I installed azure-kinect-sensor-sdk:x64-windows and azure-kinect-sensor-sdk:x64-windows-static from vcpkg, but when trying to use it via add_requires("vcpkg:azure-kinect-sensor-sdk") xmake finds the correct vcpkg package, but then immediatly after fails to find it again.
Expected behavior
xmake should find the x64-windows-static version
Error output
checking for platform ... windows
checking for architecture ... x64
checking for vswhere.exe ... C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
checking for cl.exe ... C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2019
checkinfo: cannot runv(dmd.exe --version), No such file or directory
checking for dmd ... no
checkinfo: cannot runv(ldc2.exe --version), No such file or directory
checking for ldc2 ... no
checking for gdc ... ok
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(unzip.exe -v), No such file or directory
checking for unzip ... no
checking for 7z ... C:\Users\jopu0\xmake\winenv\bin\7z
checking for git ... ok
checkinfo: cannot runv(gzip.exe --version), No such file or directory
checking for gzip ... no
vs_runtime MT MD
vs_runtime MT MD
vs_runtime MT MD
finding libsdl from xmake ..
checking for xmake::libsdl ... no
finding libsdl from vcpkg ..
finding libsdl from conan ..
finding libsdl from pkgconfig ..
checkinfo: cannot runv(pkg-config.exe --version), No such file or directory
checking for pkg-config ... no
finding libsdl from system ..
checking for libsdl ... no
finding libsdl_gfx from xmake ..
checking for xmake::libsdl_gfx ... libsdl_gfx 1.0.4
finding libsdl_image from xmake ..
checking for xmake::libsdl_image ... libsdl_image 2.0.5
finding brynet from xmake ..
checking for xmake::brynet ... brynet 1.0.9
checking for cmake ... no
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
checkinfo: cannot runv(cmake.exe --version), No such file or directory
checking for cmake ... no
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
finding nana from xmake ..
checking for xmake::nana ... nana 1.7.4
finding azure-kinect-sensor-sdk from vcpkg ..
checking for vcpkg::azure-kinect-sensor-sdk ... no
installing azure-kinect-sensor-sdk from vcpkg ..
checking for vcpkg ... C:\Users\jopu0\vcpkg\vcpkg
C:\Users\jopu0\vcpkg\vcpkg install azure-kinect-sensor-sdk:x64-windows-static --debug
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] BuiltinRegistry initialized with: ""
[DEBUG] Using vcpkg-root: C:\Users\jopu0\vcpkg
[DEBUG] Using installed-root: C:\Users\jopu0\vcpkg\installed
[DEBUG] BuiltinRegistry initialized with: ""
[DEBUG] Using buildtrees-root: C:\Users\jopu0\vcpkg\buildtrees
[DEBUG] Using downloads-root: C:\Users\jopu0\vcpkg\downloads
[DEBUG] Using packages-root: C:\Users\jopu0\vcpkg\packages
[DEBUG] Using scripts-root: C:\Users\jopu0\vcpkg\scripts
[DEBUG] Using ports-root: C:\Users\jopu0\vcpkg\ports
[DEBUG] Using versions-root: C:\Users\jopu0\vcpkg\versions
[DEBUG] Default binary cache path is: C:\Users\jopu0\AppData\Local\vcpkg\archives
Computing installation plan...
The following packages are already installed:
    azure-kinect-sensor-sdk[core]:x64-windows-static -> 1.4.1
Package azure-kinect-sensor-sdk:x64-windows-static is already installed

Total elapsed time: 1.016 ms

The package azure-kinect-sensor-sdk:x64-windows-static provides CMake targets:

    find_package(k4a CONFIG REQUIRED)
    target_link_libraries(main PRIVATE k4a::k4a)

    find_package(k4arecord CONFIG REQUIRED)
    target_link_libraries(main PRIVATE k4a::k4arecord)

[DEBUG] C:\A\1\70\s\src\vcpkg\install.cpp(1081)
[DEBUG] Exiting after 54759 us (49302 us)
finding azure-kinect-sensor-sdk from vcpkg ..
checking for vcpkg::azure-kinect-sensor-sdk ... no

error: ...\modules\private\action\require\impl\actions\install.lua:194: fetch vcpkg::azure-kinect-sensor-sdk-latest failed!
stack traceback:
    [C]: in function 'error'
    [@programdir\core\base\os.lua:796]: in function 'raiselevel'
    [@programdir\core\sandbox\modules\utils.lua:181]: in function 'assert'
    [...\modules\private\action\require\impl\actions\install.lua:194]:
    [C]: in function 'trycall'
    [@programdir\core\sandbox\modules\try.lua:121]: in function 'try'
    [...\modules\private\action\require\impl\actions\install.lua:137]: in function 'action_install'
    [...modules\private\action\require\impl\install_packages.lua:350]: in function 'jobfunc'
    [@programdir\modules\private\async\runjobs.lua:201]:
    [C]: in function 'trycall'
    [@programdir\core\sandbox\modules\try.lua:121]: in function 'try'
    [@programdir\modules\private\async\runjobs.lua:194]: in function 'cotask'
    [@programdir\core\base\scheduler.lua:365]:

  => install vcpkg::azure-kinect-sensor-sdk latest .. failed
error: @programdir\modules\private\async\runjobs.lua:225: ...\modules\private\action\require\impl\actions\install.lua:253: install failed!
stack traceback:
    [C]: in function 'error'
    [@programdir\core\base\os.lua:796]: in function 'raise'
    [...\modules\private\action\require\impl\actions\install.lua:253]: in function 'catch'
    [@programdir\core\sandbox\modules\try.lua:127]: in function 'try'
    [...\modules\private\action\require\impl\actions\install.lua:137]: in function 'action_install'
    [...modules\private\action\require\impl\install_packages.lua:350]: in function 'jobfunc'
    [@programdir\modules\private\async\runjobs.lua:201]:
    [C]: in function 'trycall'
    [@programdir\core\sandbox\modules\try.lua:121]: in function 'try'
    [@programdir\modules\private\async\runjobs.lua:194]: in function 'cotask'
    [@programdir\core\base\scheduler.lua:365]:

stack traceback:
        [C]: in function 'error'
        @programdir\core\base\os.lua:796: in function 'raise'
        @programdir\modules\private\async\runjobs.lua:225: in function 'catch'
        @programdir\core\sandbox\modules\try.lua:127: in function 'try'
        @programdir\modules\private\async\runjobs.lua:194: in function 'cotask'
        @programdir\core\base\scheduler.lua:365: in function <@programdir\core\base\scheduler.lua:362>

Related Environment
Please provide compiling and running environment information:

xmake version: 2.5.5
os: Windows 10
target platform: Windows 10

Additional context
vcpkg list output:
azure-c-shared-utility:x64-windows                 2020-12-09       Azure C SDKs common code
azure-c-shared-utility:x64-windows-static          2020-12-09       Azure C SDKs common code
azure-kinect-sensor-sdk:x64-windows                1.4.1            Azure Kinect SDK is a cross platform (Linux and ...
azure-kinect-sensor-sdk:x64-windows-static         1.4.1            Azure Kinect SDK is a cross platform (Linux and ...
azure-macro-utils-c:x64-windows                    2020-06-17#2     A library of macros for the Azure IoT SDK Suite
azure-macro-utils-c:x64-windows-static             2020-06-17#2     A library of macros for the Azure IoT SDK Suite
cjson:x64-windows                                  2019-11-30-1     Ultralightweight JSON parser in ANSI C
cjson:x64-windows-static                           2019-11-30-1     Ultralightweight JSON parser in ANSI C
ebml:x64-windows                                   1.4.0            a C++ library to parse EBML files
ebml:x64-windows-static                            1.4.0            a C++ library to parse EBML files
fmt:x64-windows                                    7.1.3#2          Formatting library for C++. It can be used as a ...
fmt:x64-windows-static                             7.1.3#2          Formatting library for C++. It can be used as a ...
glfw3:x64-windows                                  3.3.2#1          GLFW is a free, Open Source, multi-platform libr...
glfw3:x64-windows-static                           3.3.2#1          GLFW is a free, Open Source, multi-platform libr...
gtest:x64-windows                                  1.10.0#4         GoogleTest and GoogleMock testing frameworks.
gtest:x64-windows-static                           1.10.0#4         GoogleTest and GoogleMock testing frameworks.
imgui:x64-windows                                  1.82             Bloat-free Immediate Mode Graphical User interfa...
imgui:x64-windows-static                           1.82             Bloat-free Immediate Mode Graphical User interfa...
libjpeg-turbo:x64-windows                          2.0.6            libjpeg-turbo is a JPEG image codec that uses SI...
libjpeg-turbo:x64-windows-static                   2.0.6            libjpeg-turbo is a JPEG image codec that uses SI...
libsoundio:x64-windows                             2.0.0-3          libsoundio is C library providing cross-platform...
libsoundio:x64-windows-static                      2.0.0-3          libsoundio is C library providing cross-platform...
libusb:x64-windows                                 1.0.24#3         a cross-platform library to access USB devices
libusb:x64-windows-static                          1.0.24#3         a cross-platform library to access USB devices
libyuv:x64-windows                                 fec9121#3        libyuv is an open source project that includes Y...
libyuv:x64-windows-static                          fec9121#3        libyuv is an open source project that includes Y...
matroska:x64-windows                               1.6.2            a C++ library to parse Matroska files (.mkv and ...
matroska:x64-windows-static                        1.6.2            a C++ library to parse Matroska files (.mkv and ...
spdlog:x64-windows                                 1.8.0#2          Very fast, header only, C++ logging library
spdlog:x64-windows-static                          1.8.0#2          Very fast, header only, C++ logging library
umock-c:x64-windows                                2020-06-17-1     A pure C mocking library
umock-c:x64-windows-static                         2020-06-17-1     A pure C mocking library
vcpkg-cmake-config:x64-windows                     2021-02-26#1
vcpkg-cmake:x64-windows                            2021-02-28#1

In the meantime, I have a working kinect sensor sdk package here if you wish: https://github.com/SirLynix/obs-kinect/blob/master/xmake-repo/packages/k/k4a/xmake.lua

you can add some print logs in your local script and debug it. https://github.com/xmake-io/xmake/blob/master/xmake/modules/package/manager/vcpkg/find_package.lua

This was unexpected @SirLynix . Thank you, I will try it out.

When adding the VCPKG_ROOT environment variable I fixed the issue.
But I found another bug. When vcpkgdir is inserted into the detectcache and the directory has not been found, then the value in the cache is false. In this if clause false == nil will be false, which means that xmake will never look for the directory again.

Maybe this line should be changed to this:

Maybe this line should be changed to this:
detectcache:set("detect.sdks.find_vcpkgdir", vcpkgdir or nil)

Maybe this line should be changed to this:
detectcache:set("detect.sdks.find_vcpkgdir", vcpkgdir or nil)

This is not a bug. Even if it is not found, the failed result will be cached as false to avoid repeated finding. If you want to force to re-find it every time, you can pass the -c parameter to ignore the cache. xmake f -c

Even if it is not found, the failed result will be cached as false to avoid repeated finding

Oh yes. This makes sense. So this issue can be closed now.


[Edge Throughput] Run tests and collect results for chained vEdge VNFs

Results are available in "DRAFT v2 Chained vEdge Throughput comparison results" shared document


East or west const ?

A choice has been made and should be enforced everywhere ?

I see a mixture of east/west const in the slides. There is also a mix of int* a and int *a in the slides. I personally don't care too much what's in the slides. I might even believe that the mix shows the students that there are multiple styles in use.

Ok.

We agreed during the 2nd or 3rd run of the course that "new stuff" should use Type const &, because Sébastien always teaches "const acts to the left, but there's one exception".
I think that's a good strategy, because it will help you deciphering cases like
Type & * with various consts on the way.
So what I would say: East const whenever you touch something, unless it's the slide that introduces west const.


When will you release the Repcount part B dataset?

@Ironieser Please release the data.

Sorry for the long wait. We took the amount of time to address the privacy concerns associated with the dataset. We are planning to release the dataset within a week if everything goes as expected.
2023.7.13

I'm really impressed with your work, and I'm currently following your work closely. Could you please provide the appropriate PART-B dataset?

I'm sorry, but unfortunately, we no longer release the original RepCount-B mp4 files due to data security concerns.
However, we can supply the extracted features of RepCount-B using your specialized encoder. If you need it, please feel free to contact us.
Soon, we will upload the features extracted using SwinTransformer and Video SwinTransformer to support community research studies.


Controlling the sidebar width

The sidebar can often take up more horizontal space than you'd want.
In this example, you can see the sidebar takes up significantly more space than necessary:

In a smaller terminal, you might also want it to take up less space. I would be fine with seeing less of the volume ID:

I have three possible suggestions:

Detect the width of the content of the sidebar panes, and make the width smaller if necessary. Exclude the volumes pane from that calculation (though there could be a setting for this).
Allow a max width to be set

Then there's also some related things already suggested in #180:

Collapsible left panel (#180)
Use keybinds for increasing and decreasing the width

I'd like to upvote the idea of changing the width of left panel.
Although, in my case, the reason is that names are too long ('cause of Swarm naming scheme) and I don't even see all the things after the names in "Containers" block.
Also, it would be nice to navigate between left blocks not by left/right arrows keys, but with tab. And use horizontal arrows to horizontal scroll of active block's content...
Also, it would be nice to have the ability to manage blocks (hide unneded, and add custom ones, defined in config).

This is addressed in https://github.com/jesseduffield/lazydocker/pull/372 with a couple things:

pressing '+' increases side bar size
you can configure a default ratio between side bar and main panel with the gui.sidePanelWidth config key (default is 0.333)

https://github.com/jesseduffield/lazydocker/pull/372 is now in master. Lemme know if you want to re-open.

I can see + can zoom into the side bar. But is there a way to maximize the Logs view?


Allow compute_reactive_node and compute_symbols_state to walk macros with a kwarg.

The application I'm building requires walking all expressions, including arguments of macro calls. How hard would it be to have a kwarg that does that?

The application I'm building requires walking all expressions, including arguments of macro calls.

It checks for presence of symbols and it doesn't really care about if the macroexpanded source code does not reference some symbols anymore

Hey @0x0f0f0f ! Nice to hear that you're using ExpressionExplorer!
Our idea here was that we don't need so much API in ExpressionExplorer, because you can transform expressions before passing them to ExpressionExplorer.
In the README, there is an example of expanding macros before using ExpressionExplorer. I'm assuming that this doesn't work for you because you are doing static analysis (so you can't run the macros)?
In that case, you could just change the Expression into something that ExpressionExplorer will understand. I think you could search for all macrocalls, find all the argument expressions, and add them to the tree outside of a macro call. For example:
this_is_an_example(expression)

@somemacro with [multiple, :arguments]

You could turn this into:
this_is_an_example(expression)

begin
	@somemacro with [multiple, :arguments]
	with
	[multiple, :arguments]
end

The code might look something like this:
function with_macrocall_args_exposed(e::Expr)
	if e.head === :macrocall
		Expr(
			:block,
			# the original call
			e,
			# the arguments, added as regular expressions
			(with_macrocall_args_exposed(a) for a in e.args)...,
		)
	else
		e
	end
end

with_macrocall_args_exposed(x) = x

ExpressionExplorer.compute_reactive_node(with_macrocall_args_exposed(my_expr))


bugfix/tx-generation

Fixes the display issue when generating a tx
Related: #2133

I cloned bugfix/tx-generation branch and executed "npm i && npm run dist"
Number of zeros seems to be correct. But I notice couple more things

When unit is wei, all works fine, but when unit is gwei after refreshing page and generating information value of gas price was 7.1.  In gas price range input there is other value, in my case it was 9. Have no idea why gas price 7.1 no matter what value is in gas price range input.

When I tried connect to Ledger, it did not work, and there was error in console:
etherwallet-master.js:88091 ReferenceError: $ is not defined
at Object.u2f.isIosChrome_ (etherwallet-master.js:20618)
at Object.u2f.getMessagePort (etherwallet-master.js:20595)
at Object.u2f.getPortSingleton_ (etherwallet-master.js:20954)
at Object.u2f.getApiVersion (etherwallet-master.js:21083)
at Object.u2f.sign (etherwallet-master.js:21000)
at Ledger3.exchange (etherwallet-master.js:19874)
at LedgerEth.getAddress (etherwallet-master.js:19670)
at ChildScope.$scope.scanLedger (etherwallet-master.js:5226)
at fn (eval at compile (etherwallet-master.js:88942), :4:150)
at callback (etherwallet-master.js:101370)
On website connect to Ledger is working, but this in this branch it is not.

@un1t thanks for testing it! Are you serving the static files through a server?

No previously I just open index.html in dist folder.
Now I tried with server. I see the same errors.

I tried master branch and I see the same error, I guess it something with build.
Maybe there are additional steps to build it properly or do I need specific version of node.js?

@un1t you need to run npm install; npm run build. Also don't use the master branch. Use mercury. I just made a push that should fix it. But let me know if it doesn't.


Add AWS Connection modules

Add port 2 aws module + example
Add FCR 2 aws module + example

Avoiding modules that are too specific. Moving them into aSide connection types or combinations of resources with a logical grouping that is helpful to the customer.


Can anyone explain Table 4 and Table 6 please?

Hello. Thanks for the great work. I am trying to understand some results in the paper. Specifically Table 4 and 6. Can you clarify it for me? Thank you!
Table 4:

In table 4 they have the same throughput: meaning they can process same number of images in one second. So, what I understand here is for example for DDIM-59 steps, deepcache is using less full inference and plus shallow inference, but still has the same inference time in total. For example, if N_skip = 2, DeepCache might only perform 40 full steps and use shallow network inference (partial inference) for other intermediate 40 steps. And with this setup they have the same image quality according to the Table.
If that is so, what is the point of using deepcache with this setup? I would expect a comparison like with full inference DDIM 50 steps, we use deepcache with N_skip = 2, and so ~2x faster inference but image quality drops about this amount in FID.
Table 6:
Here is the part explains Table 6 from the paper: "Results presented in Table 6 indicate that, with the additional computation of the shallow U-Net, DeepCache improves the 50-step DDIM by 0.32 and the 10-step DDIM by 2.98."

I am trying to understand this, specifically, you mention:
"Steps here mean the number of steps that perform full model inference."
Does this mean that both DDIM and DeepCache perform the same number of full U-Net inference steps, but DeepCache adds shallow network inference on top? If so, is that why you don't compare the inference times in this Table because with this case DeepCache would be slower?
Maybe my questions are silly, sorry for that. I am just trying to understand the tradeoff between the image quality and inference speed for stable diffusion models. For example in the diffusers library deepcache is implemented. And their example script just uses it with N_skip = 2, with DDIM as default scheduler and we see an improved speed. But it is not clear for me how much the image quality drops when we use your method with stable diffusion models.

For Table 4, the author wants to express that DeepCache can achieve almost the same performance as ddim. As for why the FID increase of DeepCache is not shown under the same synchronization, it may be because it is already shown above.
The quality improvement brought by DeepCache in Table 6 is because the number of DeepCache steps is doubled, and only shallow features are calculated at new steps. As mentioned in the previous paragraph, the deterioration of FID under the same number of steps has been mentioned in Tables 1, 2, and 3.


Automated backport of #2399: Fix race when out-of-order RemoteEndpoint events are seen

Backport of #2399 on release-0.13.
#2399: Fix race when out-of-order RemoteEndpoint events are seen
For details on the backport process, see the backport requests page.

@sridhargaddam any idea why E2E was failing here?

@sridhargaddam any idea why E2E was failing here?

Which one?

@sridhargaddam any idea why E2E was failing here?

Which one?

mm I am pretty sure https://github.com/submariner-io/submariner/actions/runs/4731824505/jobs/8397222931?pr=2430 was failing, but is shown as "skipped" now?

@sridhargaddam any idea why E2E was failing here?

Which one?

mm I am pretty sure https://github.com/submariner-io/submariner/actions/runs/4731824505/jobs/8397222931?pr=2430 was failing, but is shown as "skipped" now?

Okay, triggered a re-run. Lets see :+1:

@dfarrell07 @tpantelis the E2e job is getting skipped. Any idea why?

E2E Full - b/c it needs 2 approvers 😄


broken hdmi config parameters on recalbox 8

Hi there,
first of all thank you for your efford in rewriting the scripts from RetroFlag.
As mentioned by https://github.com/RetroFlag/GPiCase2-Script/issues/6#issuecomment-1017815573 in https://github.com/RetroFlag/GPiCase2-Script/issues/6. On recalbox 8 the two parameters hdmi_group and hdmi_mode made it impossible  for me to get hdmi output working while using the dock. I fixed it by deleting the two parameters from config_hdmi.txt. Sadly I don't know if it's a problem for others which are using RetroPie 4.7.1, Recalbox7.1.1 or batocera31. Do you could add that. I am pretty sure that will make Recalbox 8 users super happy :D
A PR in the corresponding RetroFlag repo was also created. See https://github.com/RetroFlag/GPiCase2-Script/pull/14

Hello and thanks for the feedback.
I am using version 8.0.2-Electron and did not face your HDMI issue.
Is it possible that your monitor/TV does not support 1920x1200 60Hz which hdmi_mode=69 stands for?
But I will try if removing both the parameters does have a negative effect, and if it does not, I will release a new version without the parameters.

Hi there, thanks for your response.
I used several monitors/TVs and none of them could display the given mode. Even after settings its default resolution via hdmi_group and hdmi_mode.  Maybe it's a good starting point to leave those parameters out and point users to the corresponding table. When somebody wants to have a specific hdmi resolution and mode they could still change it manually.

Hello,
I removed hdmi_mode etc. from the config files and it works on my TV, too. Now I am facing some over scan issues which can be easily solved by configuring the HDMI mode there.
After reading the mode list several times I figured out hdmi_mode=69 is not Full HD (1920x1080) it is 1920×1200 which is a quite uncommon and larger resolution which could be the reason for your display issues, I have no Idea why Retroflag provides such a config file 🙃.

Thanks a lot.


Fix for #2980, block highway=cycleway with access=no

Why do we treat cycleway as special? Shouldn't we allow vehicle=no for all highway values?

Yes, you are right. Thanks! I'll update.
Reduction to walking speed is included now

Please recheck. I think that all requested improvements are included now.

bicycle=no should probably also be included in the fallback to pushing. Not sure how often it occurs, but should that fallback branch check if walking is allowed?

bicycle=no should probably also be included in the fallback to pushing. Not sure how often it occurs, but should that fallback branch check if walking is allowed?

No, I think that this would be too controversial as it would allow bicycles also on highway=path, highway=footway or highway=path in combination with bicycle=no. This would allow bicycles basically everywhere where foot is allowed.

Why do we treat cycleway as special? Shouldn't we allow vehicle=no for all highway values?

Yes, you are right. Thanks! I'll update.

Looking at the details of this change I found out that it would also modify the access result for the tag combination highway=track or highway=path with vehicle=no. Currently we are blocking this combination and we would allow it afterwards. As this combination is often used in forest areas and most people don't get off their bikes there I'm not sure if this is what we really want. I just verified that komoot allows this combination, but there are many discussions about it even in Germany (Stichwort "Bundeswaldgesetz") and in Austria it is currently clearly forbidden according to the "Forstgesetz".
So I'm not sure if this is change is really a good idea.

No, I think that this would be too controversial as it would allow bicycles also on highway=path, highway=footway or highway=path in combination with bicycle=no. This would allow bicycles basically everywhere where foot is allowed.

In Germany, at least, that's fine as long as you're pushing your bike. But that means we have to assume walking speed and display a dismount warning.

But that means we have to assume walking speed and display a dismount warning.

I forgot about this recent cool feature. With this functionality my previous concerns are not valid any more. Therefore I'm setting the getOffBikeEnc now and I verified that the dismount warning is displayed correctly for the tag combinations highway!=cycleway together with vehicle=no. I should have covered all comments, please re-check.

Could we further avoid this? Maybe e.g. avoid the cases where get_off_bike==true in the custom model bike.json?

I think that this would require to change the BooleanEncodedValue of GetOffBike into an IntEncodedValue or an EnumEncodedValue such that it becomes possible to define in the custom model somehow to use bicycle=dismount but block the combination of highway!=cycleway with vehicle=no. This way it would also become possible to define a separate value encoded value for the bicycle=no case and cover the case for the Openstreetmap.org website, where no route hints are available.

e.g. on openstreetmap.org there are no route hints and most mappers probably use this. Could we further avoid this?

A bit of a slippery slope, isn't it? Following that line of reasoning, we'd have to block off all sections of road marked for dismounts or carrying other important routing information. Or to put it another way, this problem needs to be solved in the right place, which IMHO is the OSM website.

I think that this would require to change the BooleanEncodedValue of GetOffBike into an IntEncodedValue or an EnumEncodedValue

That sounds like a good idea. Being told to get off the bike by a traffic sign and voluntarily switching to pedestrian are two different things and should be treated as such.

Being told to get off the bike by a traffic sign and voluntarily switching to pedestrian are two different things and should be treated as such.

I'm not sure if we can support such a distinction. My suggestion for this new GetOffBike EnumEncodedValue is:

FALSE (current false value)
TRUE_WAY_TYPE (covering not suitable highway types and railway=platform)
TRUE_BICYCLE_NO (covering tag bicycle=no, but allowed for foot)
TRUE_OTHER (covering all other cases like bicycle=dismount, vehicle=no)

NO
IMPLICIT -> acting as a pedestrian
TRAFFIC_SIGN -> bicycle=dismount, vehicle=no

TRUE_BICYCLE_NO (covering tag bicycle=no, but allowed for foot)

If we're not allowed to use the road either way, we can also keep FALSE/NO.

@otbutz

NO
IMPLICIT -> acting as a pedestrian
TRAFFIC_SIGN -> bicycle=dismount, vehicle=no

OK.

If we're not allowed to use the road either way, we can also keep FALSE/NO.

I'm not sure if I understood this one. Using the value NO for a GetOffBike value does not sound very logical in this case. I would interpret the NO value as I don't need to get off the bike here and may keep on cycling. The NO value is used for a example on a road tagged as highway=cycleway without any access restrictions, which is pretty much the opposite in terms of suitability for bicycles. Or do you mean this is OK because we have the bike_access encoded value anyway in addition and this has higher importance?
@karussell What do you think about the idea of changing the current BooleanEncodedValue into a EnumEncodedValue ? If you agree on such a change, shall I extend this PR here our would you like a separate PR for that? I think that I should be able to also provide a corresponding PR for the graphhopper-maps project as well.

Or do you mean this is OK because we have the bike_access encoded value anyway in addition and this has higher importance?

Exactly. If access is prohibited, there's no point in duplicating this information in a GetOffBike enum value.

isn't this accessibility information already available via foot_access && !bike_access?

Good point

isn't this accessibility information already available via foot_access && !bike_access?

How would a custom model for bicycles theoretically look like which routes on such a combination? I put foot_access and bike_access to graph.encoded_values and tried
{
  "priority": [
    { "if": "!bike_access && foot_access",  "multiply_by": "1.0" }
  ],
  "speed": [
    { "if": "!bike_access && foot_access",  "limit_to": "5.0" }
  ]
}

but this does not work. These edges are not considered as they are still not accessible for a bike. I guess that this is an  issue which would need to be considered separately even if we changed the EV for the get_off_bike EV into an enum.
Now that we have discussed the enum idea this PR is ready for merge from my point of view. Could you please check again?

Instead of the current code in BikeCommonAccessParser: could we not just remove the vehicle key from the restrictionKeys? Because without it this would make the code more complex and this also leads to the following inconsistency: for vehicle=forestry the access is forbidden, but for vehicle=no it is allowed.

I guess that here you mean a removal of the vehicle key in the toOSMRestrictions method of OSMRoadAccessParser.java. I do not get why this would make  BikeCommonAccessParser more complex, can you please explain it a little bit more? But  the more important good question is if we should consequently also allow ways tagged as vehicle=forestry as EV get_off_bike sections. First I didn't want to change the blocking here because of the impact it might have on routes in forest/agriculture areas, people actually not obeying the law, and the lack of the OSM website to indicate that there are get_off_bike sections contained. But you convinced me that we also should change that.

And is a change required in BikeCommonAverageSpeedParser because of this? Should we reduce the speed for vehicle=forestry/agricultural to walking speed? As I understand we currently skip these roads and with this change we should allow access but only with walking speed.

Thank you, you are right. Implemented in a6d14ff


fix(rds): fix late init for rds clusterinstance

Description of your changes

fix a few late init problems with rds clusterinstance

After upgrading the Version in the Cluster the ClusterInstance gets stuck in an update-loop because of the engineVersion
spec.forProvider.engineVersion
2024-05-15T14:49:54Z    DEBUG    provider-aws    Diff detected    {"uid": "31f30f84-59ed-4720-ad3a-93aae50eb27d", "name": "xxx", "gvk": "rds.aws.upbound.io/v1beta1, Kind=ClusterInstance", "instanceDiff": "*terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"engine_version\":*terraform.ResourceAttrDiff{Old:\"15.5\", New:\"15.4\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, RawConfig:cty.NilVal, RawState:cty.NilVal, RawPlan:cty.NilVal, Meta:map[string]interface {}(nil)}"}
2024-05-15T14:49:54Z    DEBUG    provider-aws    Successfully requested update of external resource    {"controller": "managed/rds.aws.upbound.io/v1beta1, kind=clusterinstance", "request": {"name":"xxx"}, "uid": "31f30f84-59ed-4720-ad3a-93aae50eb27d", "version": "15401705", "external-name": "xxx", "requeue-after": "2024-05-15T15:00:05Z"}

spec.forProvider.dbParameterGroupName
The parameter group default.aurora-postgresql15 with DBParameterGroupFamily aurora-postgresql15 can't be used for this instance. Use a parameter group with DBParameterGroupFamily aurora-postgresql16.

spec.forProvider.preferredBackupWindow
The requested DB Instance will be a member of a DB Cluster. Set backup window for the DB Cluster.",

Fixes #
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[x] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested
--- PASS: kuttl (1339.64s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/case (1338.83s)
PASS
13:31:56 [ OK ] running automated tests

/test-examples="examples/rds/v1beta1/clusterinstance.yaml"


Update github.com/elithrar/simple-scrypt

For details see #1697

Codecov Report

Merging #1702 into master will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1702      +/-   ##
==========================================
- Coverage   52.23%   52.07%   -0.17%
==========================================
  Files         148      148
  Lines       11685    11685
==========================================
- Hits         6104     6085      -19
- Misses       4633     4656      +23
+ Partials      948      944       -4

Impacted Files
Coverage Δ

internal/checker/checker.go
65.19% <0%> (-3.95%)
:arrow_down:

internal/backend/test/tests.go
59.95% <0%> (-0.66%)
:arrow_down:

internal/archiver/archiver.go
64.25% <0%> (+0.21%)
:arrow_up:

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 03193e6...92f516b. Read the comment docs.


electrum wallet not connecting to electrs

my raspibolt was working and i was able to connect to my node using electrs and my tor address, but now when i put the the tor address in electrum it doesn't connect, i think my electrs is not working as when i check sudo journalctl -f -u electrs its keeps saying connected peer, than disconnected peer, shutting down connection

Hello, try this: empty this folder "electrum\electrum_data\certs" in the computer that is running Electrum and try to connect again...and give it some time to Electrum in order to connect.

Hi, I really appreciate your help, I did this and nothing happened, I still have the red orb. Ive even delete electrum and re installed it but it still won't connect to my node (it connects to normal electrum servers fine btw). I had it working well before for months, but now it wont connect, do you think its a problem with my raspibolt/electrs or my laptop with with electrum? thanks!

Can you try following the steps outlined in the similar issue https://github.com/Stadicus/RaspiBolt/issues/565 here?

Closing this issue due to inactivity. Feel free to reopen it if further assistance is required.


[ENHANCEMENT] Remove namespace annotation resource quota check

Is your enhancement related to a problem? Please describe.
In current design, we validate resource quota from namespace annotation and corev1 ResourceQuota CR. We can just use corev1 ResourceQuota CR, because Rancher will help to sync value between two place.
Harvester: https://github.com/harvester/harvester/blob/5ee0329f1a6acef48e52758d3caf1d19e3bac1aa/pkg/util/resourcequota/calculator.go#L85-L104
Rancher: https://github.com/rancher/rancher/blob/a1c690ac47aa06d2206d71e2338f812a9d3b4267/pkg/controllers/managementuser/resourcequota/resource_quota_sync.go#L114-L195

@FrankYang0529 since you are working on this, assign it to the upcoming milestone directly next time.

I misunderstood the original design https://github.com/harvester/harvester/pull/3829. It uses both resource quota CR and resource quota on namespace annotation, because resource quota CR will change during VM migration. Resource quota on namespace annotation is more like single source of truth, so we need it.
Close the issue because we can't just use resource quota CR.


[enhancement] Add public method to control collapsible

It has been briefly discussed in a closed issue (https://github.com/Dogfalo/materialize/issues/486), so I'm opening a new one for visibility.
It'd be great to have a public method to set a collapsible open or close (not just to toggle it).

Duplicate #545

Added open and close methods to collapsible in b6d3188


fix: incorrect permission value for EXECUTE_RELAY_CALL

What kind of change does this PR introduce (bug fix, feature, docs update, ...)?
bug fix
What is the current behaviour (you can also link to an open issue here)?
The hex literal for permission EXECUTE_RELAY_CALL is incorrect. IT has an extra 4.
What is the new behaviour (if this is a feature change)?
Put the write bytes32 hex value for permission EXECUTE_RELAY_CALL.
Other information:

We're currently processing your upload.  This comment will be updated when the results are available.


Memory corruptions with std::string in SPI RAM (IDFGH-596)

Environment

Development Kit: none
Kit version (for WroverKit/PicoKit/DevKitC): none
Module or chip used: ESP32-WROVER 16MB
IDF version: v3.3-beta1-288-ga672e4f44 (also with v3.2-dev-1420-g151269458 and earlier versions)
Build System: make
Compiler version: (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0
Operating System: Linux, macOS
Power Supply: USB

Problem Description
When building a text message within a task running on core 1 by appending text values to a std::string buffer located in SPI RAM, the buffer randomly gets corrupted by NUL bytes overwriting 1 to 3 bytes of the buffer.
The bug only shows on core 1 and only when using a std::string to build the message and only when the std::string is in SPI RAM.
The bug frequency rises with stress on both cores. On an idle module it may not appear. The attached test project reproduces the bug reliably by starting wifi in apsta mode and running a memory stressing task on each core. Starting wifi alone is sufficient to trigger the bug, as well as starting one of the mem stressers on any core.
The test is performed in four modes of different message part sources:

mode 1: mixed length constant c strings
mode 2: mixed length constant std::strings
mode 3: constant c string
mode 4: constant std::string

Modes 1 & 2 trigger the bug very frequently (run quickly into error limit), modes 3 & 4 less often (single test runs may not show the bug at all).
If using a char buffer instead of a std::string, neither stpcpy() nor memcpy() trigger the bug.
Expected Behavior
No buffer corruptions.
Actual Behavior
Buffer corruptions.
Steps to repropduce

Build and run the attached test project.
Watch the output.

Code to reproduce this issue
test-memory-corruption.zip
Debug Logs
Test log also included in ZIP:
test-log-20190129.txt
Other items if possible

sdkconfig file: see ZIP
elf file: see ZIP

Project origin
https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/
https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/189

I'm running into pretty much the exact same issue. Might be related to #2892, but this still happens for me while running in unicore mode. In #2892, most people report that the issue disappears when running with CONFIG_FREERTOS_UNICORE.

Issue solved by PSRAM fix in toolchain release 1.22.0-96-g2852398:
https://github.com/espressif/esp-idf/issues/2892#issuecomment-658327913


Windows Terminal crashes when icon contains %USERPROFILE%

Environment
Windows build number: 10.0.18362.175
Windows Terminal version (if applicable): 0.2.1715.0

Steps to reproduce
Create a profile with an icon property like this, where the icon file exists:
            "icon": "%USERPROFILE%\\AppData\\Local\\IconsForEnlistments\\Substrate.ico",

Expected behavior
For Windows Terminal to show the new profile and its icon.
Actual behavior
Windows Termial crashes on startup.
Workaround
Update the icon property so that it does not use environment variables makes things work.

I bet that we don't expand environment variables when we load icons, and that technically means it's a dupe of #1468


How to change node id

Hello, how do I change the node id that is being sent to insights? If not possible, is it using the mac address as the node id? Also, I see a node id in the rainmaker component. Thanks!

@antoniuschan99 , while using Insights over HTTP, the mac address gets used as the node id by default. You can override it by setting a custom node id in esp_insights_config_t which is passed to esp_insights_init().
The node id in RainMaker, however, cannot be customised. It is set to mac addeess for self claiming and a randomly assigned uuid for assisted/host claiming. The same gets used for Insights over MQTT.

ok great thanks!


Links broken of some webapps

Issue Type:

[ ] Bug Report
[ ] Feature Request

Describe the bug

if we click on the view part so it redirects to the wrong web page

Screenshots

assign me under hacktoberfest .

can i start contributing?

yes

hi, is the issue resolved? Could you assign it to me, if not?

hey are these issues resolved? could you assign it to me, if not ?


move terraform how-to into the official docs site

Issue #, if available:
Description of changes:
Move the guide to managing a cluster with terraform from examples to the tasks/clusters section of the docs.
Add a section to the cluster mgmt overview which notes the ability to manage a cluster with terraform, including a link to the docs.
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/ok-to-test

can we backport to 0.8?

/retest

/cherry-pick release-0.8

/lgtm


warden env up don't trigger mutagen sync start

## start mutagen sync if needed
if ([[ "${WARDEN_PARAMS[0]}" == "up" ]] || [[ "${WARDEN_PARAMS[0]}" == "start" ]]) \
    && [[ $OSTYPE =~ ^darwin ]] && [[ -f "${WARDEN_DIR}/environments/${WARDEN_ENV_TYPE}.mutagen.yml" ]] \
    && [[ $(warden sync list | grep -i 'Connection state: Connected' | wc -l | awk '{print $1}') != "2" ]]
then
    warden sync start
fi

Files moved to subfolders but, trigger looking into main folder

Very good catch. thank you! You are correct, commit 8d649d44 is what broke it.


Update examples doc

📚 Documentation
A lot of links are outdated here. Anyone willing to contribute a PR to fix them?
https://pytorch-lightning.readthedocs.io/en/latest/ecosystem/community_examples.html
Here is the file you need to edit: https://github.com/PyTorchLightning/pytorch-lightning/blob/master/docs/source/ecosystem/community_examples.rst
Thanks!

https://github.com/PyTorchLightning/pytorch-lightning/pull/10127#issue-1034981823

Resolved with #10127

Resolved with #10127


[#5827] improvement(CLI): Fix CLI throws an obscure error when Delete a table with a missing table name

What changes were proposed in this pull request?
Fix CLI throws an obscure error when Delete a table with a missing table name.it should give clearer hints.
Why are the changes needed?
Fix: #5827
Does this PR introduce any user-facing change?

# Missing required argument(s): table

Unit test
add some test case to test whether the command fuse is executed correctly.

hi @justinmclean @xunliu , Could you please take a look when you have time?

hi @justinmclean @xunliu , Could you please take a look when you have time?

You can use   @SuppressWarnings("DefaultCharset") on the added tests to fix the build issue.

You can use @SuppressWarnings("DefaultCharset") on the added tests to fix the build issue.

thank you, @justinmclean plz review this again

Is this the current output?
bin/gcli.sh table delete --metalake demo_metalake
# output: Missing required argument(s): catalog, schema

bin/gcli.sh table delete --metalake demo_metalake --name Hive_catalog
# output: Missing required argument(s): schema

bin/gcli.sh table delete --metalake demo_metalake --name Hive_catalog.default
# output: Missing required argument(s): table

If so, the first two errors are not entirely correct, and they are missing the table name as well. It is also not really missing an argument just part of one.

Is this the current output?
bin/gcli.sh table delete --metalake demo_metalake
# output: Missing required argument(s): catalog, schema

bin/gcli.sh table delete --metalake demo_metalake --name Hive_catalog
# output: Missing required argument(s): schema

bin/gcli.sh table delete --metalake demo_metalake --name Hive_catalog.default
# output: Missing required argument(s): table

If so, the first two errors are not entirely correct, and they are missing the table name as well. It is also not really missing an argument just part of one.

fix

Hi @justinmclean , I’ve finished updating the code. Please take a look at the PR again when you have time.


Fixed Box repr and str AttributeError

Added weight=0 to init parameters, self.weight = weight.

Hi! The reason why self.weight appears in __str__ and __repr__ is because in an older version it was an attribute (just like the one you're adding).
Since there might be other dimensions besides size that you want to limit in your pallet and boxes I included the traits property to hold any amount of such dimensions and limits.
Thus, I removed the weight property so that others could implement it as a trait.
While this fixes the error, (which is good!), I'd be better to remove the self.weight part on the __str__ and __repr__, and instead print out every element on self.traits with its corresponding value.
If you'd be willing to implement such change as part of the PR that'd be great!

Thanks for the feedback! Commit 75bc393 should take care of it :)

Thanks for your contribution!


workaround due to errors in sfc-controller

Signed-off-by: Stanislav Chlebec<EMAIL_ADDRESS>

Coverage remained the same at 75.342% when pulling 9187af250c99cef638b1b24b6e3270c1c45e5f33 on stanislav-chlebec:arm201903 into 52b1e457f9709169aefe500b566b997f87c8e9de on contiv:master.


The newly installed "Code for IBM i" does nothing when I try to connect to an i7 system.

Hello
The newly installed "Code for IBM i" does nothing when I try to connect to an i7 system.
"Connect to an IBM i" connection form is minimalistic. Therefore it's hard to make any mistake in there. Nevertheless pushing the "connect" button results in exiting the form and bringing me back to the "Connect to an IBM i" side-bar menu.
Saving  the connection with "Save and Exit" ends in the same way.
There is no error message or any message , nothing.
I have installed an older version just to rule out the latest version having a bug.
Still getting the same silent and quite exiting out.
Nothing in the forums on that.
Could you please point on what I am doing wrong?

Context
Version

Code for IBM i version
2.0.2

Visual Studio Code version
1.80.2

Operating System
win32_x64

Active extensions
Auto-Save on Window Change (auto-save): 1.0.3
COBOL (cobol): 9.7.23
Code Runner (code-runner): 0.12.0
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.3.1
Db2 for IBM i (vscode-db2i): 0.3.3
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.12.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.6
JSON Language Features (json-language-features): 1.0.0
Live Server (LiveServer): 5.7.9
Merge Conflict (merge-conflict): 1.0.0
Microsoft Account (microsoft-authentication): 0.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
One Dark Pro (material-theme): 3.16.0
Prettier - Code formatter (prettier-vscode): 10.1.0
PySide2-VSC (pyside2-vsc): 0.1.0
Quokka.js (quokka-vscode): 1.0.549
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
WSL (remote-wsl): 0.80.2
WSL: Recommender (remote-wsl-recommender): 0.0.19

Not connected 🔌

Hi Joseph
Thank you for the check list:

  Yes, the SSH is started on the i7.

  Yes, I can ssh into the system with putty.

  No, the connection is not saved. There is nothing created or available to be run with the Play button.

  No , there is nothing written in the “settings.json”

  I am admin on the PC.

Doule-checked the file permissions - I have full control over it. Connections to Linux systems are saved as expected. Never seen anything similar with other plugins.
However I did installed the plugin on another PC and got it running as expected, no hassle.
Well, it’s my VS code installation then. Still I wonder why? Maybe a plugin is conflicting with the “Code for IBM I” ?

  Creating an intentionally bad connection leaves no trails of any kind.

Weird.  It’s definitely my system then but why?
Thank you for your help
Vadim
From: Joseph Wright @.>
Sent: Wednesday, August 2, 2023 4:57 PM
To: halcyon-tech/vscode-ibmi @.>
Cc: python-onpremises @.>; Author @.>
Subject: Re: [halcyon-tech/vscode-ibmi] The newly installed "Code for IBM i" does nothing when I try to connect to an i7 system. (Issue #1470)
No feedback is definitely strange/unexpected behavior.
Here's some troubleshooting steps to try:

Make sure SSH is started on your IBM i STRTCPSVR *SSHD
Try to SSH manually to your IBM i with the same credentials. Use a terminal (PuTTY/BASH/etc) and do ssh @.***
Is your connection being saved when it "brings you back to the side-bar menu"? Do you see a connection with a Play ▶ button?
If not, did your settings.json file get updated? Press F1 in vscode and type Open User Settings (JSON) and look for code-for-ibmi.connections. If its not updating maybe something is wrong with permissions on your filesystem preventing vscode from modifying that settings file?
Try intentionally setting up a bad connection to make sure you get an error pop-up about not being able to connect

Let me know if any of those steps reveal something else. This one has me perplexed so I'd love to find the root cause so we can trap this error in the future if its with-in the extensions control!
—
Reply to this email directly, view it on GitHub https://github.com/halcyon-tech/vscode-ibmi/issues/1470#issuecomment-1662366866 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A7OA6377EMFER4TUZG4QLNDXTJTENANCNFSM6AAAAAA3BIT3XY .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/A7OA637RY4PVXDBKQS63WSLXTJTENA5CNFSM6AAAAAA3BIT3X2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTDCW2JE.gif Message ID: < @.> @.>

@python-onpremises since you mentioned it works on another PC I am going to assume it's on the same network connecting to the same IBM i right? That certainly would rule out any kind of server or network issue and points to it being an isolated issue with your computer/installation.
In that case, I think the next best step would be to uninstall vscode completely then reinstall it, followed by the Code for IBM i extension.

We have been dealing with the same issue.  We found that the IBM Power system user profile will cause the failure.  We created a new profile and you could log in to visual studio.   You may want to try an existing profile and see if you can log in.

We had to move on and abandonned the extention . Thank you all for your comments.


Where is the 20mb consensus code?

Sorry if it is obvious but I cannot find the code for the 20mb fork.

Right in the readme, it says, "Please note that Bitcoin XT does not currently change anything about block size limits, although a future version might."

Gavin hasn't submitted any patches to XT to change the block size limit yet. When/if he does submit, the release notes will record the fact that the new version votes for a new block size limit.

@mikehearn why did you git commit --amend instead of adding that line in a seperate commit ... :/ ?

The README explains:
The patch set is a set of commits on top of each branch, with the patches
being rebased on the master branch when time permits and rebased on top of
the release branches when a new upstream release is made. Therefore XT does
not have its own release cycle.
Patches, or changes to patches, are handled with rebases. Therefore we
force push over previous pushes. Don't fork from the Bitcoin XT repository
unless you're able to handle that

Thanks for the heads up. I was under the impression that there was a branch with the new consensus code.


SD-50: Update winston logger to v3.3.3 and add improvements

@sulthan-ahmed yeah that article is good apart from the obvious fact it does not show you actually how to write a git commit message with a subject and body.


Run and debug in Local

Please, I need to know the steps to be able to run and debug this locally.
I have already deployed, I have changed the values in appsettings.
But when I launch ngrok, I can't get it to route the urls properly.
Someone has a guide.
Thank you.

Hi @jmfloreszazo
To debug locally you will need all resources required for the Company communicator should be deployed on your Azure subscription. You need to download the code and start it in Visual studio using its .sln file or you can fork and clone the git repo in VS.
You need to follow the Deployment Guide.
There is two way you can proceed from this point. You need the following resources as mentioned in appsettings.json.

You can do the deployment using the ARM Template option (Deployment Guide) and from the configuration of the App service, you will get the required information.

Or you need to create all resources manually.

Once you have all the required information you need to fill the appsettings.json.
For AppDomain you can use ngrok or an equivalent tunneling solution. You will have to run it for the localhost app is running on.
Following Step 5 of Deployment Guide just replace the app domain with ngrok URL.
Also on Azure Portal follow the below steps:

Go to Azure Portal --> Resource Group for CC app --> Author Web App Bot --> Configuration --> Replace the Messaging Endpoint with the ngrok URL.
Similarly, replace the Messaging Endpoint for User Web App Bot.
Go to App Registration --> Add Redirect URL with the ngrok URL.

Go to  Expose an API and change the Domain name of the Application ID URI.

Once done run the code using VS and add the debugger point to validate.
Let me know if it works. If not please elaborate on the error you are getting.

The problem persists.
Step I have done:

Change appsettings.json
Change manifest with ngrok url (I have ngrok pro)
Change the Bot Endpoint in Azure as mentioned before

Run ngrok start --all.
Run the program in Visual Studio 2019.
And test with:

This test are in browser:

And with this ngrok configuration:

This is the Author manifest:

If I change the manifest:

Hope this can help.
I think it may be the ngrok configuration I use, but I have also used Thttps: //github.com/OfficeDev/microsoft-teams-tunnelrelay and I have the same problem.
Thank you very much for your help.

Please, some help about last message: @v-royavinash @Porkai-Pandian
Thanks

Please let us know if you are still facing this issue and require assistance and we will be happy to discuss. If no further action is needed at moment and no response is received, we will close out the issue in 3 business days. You may also always open a new issue or respond here if something does come back up.


How to use alias like vue in

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Here's my config:
import path from 'path'

export default {
  alias: {
    '/@/': path.resolve(__dirname, './src')
  },
  resolvers: [
    {
      alias(id: string) {
        return id.replace(/^@\//, '/@/') // add slash to particular id, then vite won't resolve it as a module
      },
    },
  ],
}

Only solve the component alias path, but can NOT detail with the template and style path.
Describe the solution you'd like
A clear and concise description of what you want to happen.
https://vue-loader.vuejs.org/zh/guide/asset-url.html#转换规则
I want to import image like this in template:

And in style part
.img {
  background<EMAIL_ADDRESS>no-repeat center center;
}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I try to use postcss-url, but failed.
Additional context
Add any other context or screenshots about the feature request here.
Nope

how to solve now?

The way vite resolving paths doesn't like vue-loader, and the docs explains it clearly. See this instead of vue-loader docs.
In  Tag
You can simply import image like this:
If you stick to '~', you can create your own resolvers in vite.config.(js|ts).
In


Pl update coordinate for MMLSpark in Databricks section

Looks like the coordinate structure has changed. In the Databricks section on the README.md it is still showing the old structure.

Updated, thanks for pointing this out.


chore: Add style enforcer

There were lots of styling errors in my other PR, sorry!

It's using PHP_CodeSniffer, and the rules I've specified are:

PSR1
PSR2
PSR12

I've included these since they're mentioned as requirements in Spatie's docs, as referenced in the Contributing section of the README file in this repo.

Build is currently failing due to failing tests, this will pass once https://github.com/UserScape/larajobs-desktop/pull/15 is merged in

Thanks very much @danjohnson95!
Do you think you'd be able to figure out how to add a workflow for creating a build and attaching the built packages to the release when new releases are published?
Ideally I'd like the release process to be we create a new release through the github UI which creates a tag and then triggers the workflow to run the necessary build / publish commands and copies the relevant files from the /dist directory to the release as downloadable files for people to install on their computers without having to build from the source.
@mpociot side note, do you know if it's possible to get the NativePHP updater to source from GitHub releases instead of DO Spaces / AWS? That would be absolutely incredible and a game changer if we could get that working, especially if we can also provide an example github workflow file for open source NativePHP applications to reference to truly make the distribution process of NativePHP applications as easy as publishing releases on GitHub.

Yes! That's definitely possible, I just need to add it 😅

Consider this my pretty pretty please 😂 ❤

Yeah I can do that! I was actually having a play with compilation last night - I noticed in the README you mentioned that the MenuBar wasn't working when the application was compiled, but I couldn't replicate that bug. Seemed to be working fine for me when compiled.
We'll need an Apple Developer certificate (requires an active Apple Developer subscription) added to the Secrets in the settings of this repo.

@danjohnson95 yeah, @mpociot already fixed that issue regarding the menubar not showing up, the build tool was missing a file that hadn't been checked in yet.
Do you have a link to the precise instructions required for setting up the secret in the repo so that @ianlandsman can take care of that? I don't have the necessary permissions.

Yeah @danjohnson95 @LukeTowers UserScape is already in the apple developer program, but I've never added a secret for it to Github. If you can send me the instructions link I'll get it setup.

@ianlandsman this is probably the most relevant link on the topic, hopefully the instructions are straightforward enough: https://github.com/marketplace/actions/electron-builder-action#code-signing

Tried this out this morning, but none of the instructions work. There's nowhere to set a password on the generated certificate. There are also many types of certificates but the instructions don't say which to use. Will try and dig in deeper later this week, but for now won't be able to add the certs.

@ianlandsman I've written a blog post explaining how to generate the required certificates - https://danjohnson.xyz/en/blog/signing-your-native-php-application

FYI there are some issues blocking the ability to package in a CI environment. I've raised a bug in the base repo and I'm working on fixes.

@danjohnson95 great write up! I tried doing it but get an untrusted cert warning after importing back into my computer every time. Really bizarre. It doesn't seem like there are any steps that could really be messed up in there. Any thoughts? I did the entire process 4+ times but no dice.

Hmm I recognise that error, I think I had something similar when dealing with PassKit. From memory, it was because I was missing one of Apple's Intermediate certificates. You can download them here - https://www.apple.com/certificateauthority/ Preeety sure it's the "Worldwide Developer Relations" ones we're interested in.
Could you try downloading and importing those? Let me know if that works and I'll mention it in my blog post.

@danjohnson95 OK got it setup and the secrets in place as per your article. I needed one of the intermediate certs. I grabbed a few not sure which is was. Did the worldwide cert but also the Developer ID and Developer Authentication.
Also, to actually export a .p12 I had to go to "My Certificates", toggle it open, and select my specific key and then I could export from there as .p12. Otherwise it was greyed out. Pretty much as described here https://fluffy.es/keychain-cant-export-to-p12/

Also, now that NativePHP supports Windows, do we want this application to support Windows too? Codesigning for Windows applications is a lot more complicated, but I've got experience in it and would love to help out the community here. Happy to move this to a Discussion or an Issue so we can better keep track of this chat.

@danjohnson95 did an earlier version of the article not have those other elements? Swear those weren't there 🤣
OK those are added.
I'm a no on Windows for now.

@ianlandsman Personally I'd like to see the codesigning and deployment artifacts being used for Windows as well, this repo could be a good "real-world" demo of NativePHP and the processes for actually taking a NativePHP application to the finish line of cross platform distribution.
While it may not matter specifically to LaraJobs about having a Windows release; it does provide motivation for the open source contributors to add that functionality so that there's a reference to point to on how a real-world application actually handles those steps. I know I personally would be interested in seeing that @danjohnson95; although I don't use Windows for development I know a LOT of developers, especially those getting started, that do because it simply is a much cheaper and easier platform to get a hold of when you're first starting out or when you're in regions of the world with less economic power.

@LukeTowers @danjohnson95 OK OK 😄 No way I'll have time to figure this out, but if Dan is up for providing some insanely detailed instructions I'm down with it.

@danjohnson95 side note, tried the built application and ran into the following error when launching: https://flareapp.io/share/17WN4zWP

Haha no worries, more than happy to provide some insanely detailed instructions.
However word of warning - the certificate required to sign applications for Windows are super expensive. Plus, new legislation means that the certificates need to be issued on either a hardware token or through the CA's key server. In order to do automated builds in CI, we'll need the certificate hosted on their key server. So looking at around $600 USD per year https://order.digicert.com/step1/code_signing

@danjohnson95 is code signing required for Windows applications?

Not a requirement. If the user opens an application that hasn't been code signed, Windows will just give lots of warnings that the application is unsafe and they'll have to find the tucked away "Run anyway" button. Anti-virus software will also do lots of complaining.
Regarding the error, that's a weird one. I'll look into that now 👀

OK well....
I'm not sure about $600/year. Perhaps we start out doing what is necessary to build the windows version with warnings. I don't think it's a HUGE issue since the code signing doesn't actually add any benefits to the idea of this being a solid NativePHP example app.
Then if it grows beyond being an example app on windows and there's demand to remove the warnings we could do the code signing.


how to scan barcode?

I found that when I run your project, I can only recognize the QR code, but not the barcode. I see that your code can recognize the barcode. Why? And can this project also support Windows?

Actually it only recognizes when you landscape your phone for barcodes. Oof.


Nesting media queries

It seems you can't nest media queries:
.main {
  @media (min-width: 100px) {
    color: blue;
    @media (min-device-pixel-ratio: 1.5) {
      color: red;
    }
  }
}

you get:
.main {
}

@media (min-width: 100px) {
    .main {
        color: blue;
    }

    @media (min-device-pixel-ratio: 1.5) {
        .main {
            color: red;
        }
    }
}

but I'd expect instead:
@media (min-width: 100px) and (min-device-pixel-ratio: 1.5) {
  .main {
    color: red;
  }
}

I think this would require feedback from @TabAtkins. The specification doesn’t mention nesting @media queries or how they should be handled. https://tabatkins.github.io/specs/css-nesting/

Nesting MQs is separate from nesting style rules.  It'll come in time.
That said, this:
.main {
  @media (min-width: 100px) {
    color: blue;
    @media (min-device-pixel-ratio: 1.5) {
      color: red;
    }
  }
}

should desugar to:
@media (min-width: 100px) {
  .main { color: blue; }
}
@media (min-width: 100px) and (min-device-pixel-ratio: 1.5) {
  .main { color: red; }
}

if you're handling nested MQs.  (It's also acceptable to have the second one be two separate @media rules nested inside each other, like you'd have if you combined @media and @support or something.)

Is this valid CSS?:
body {
  @medida (width > 500) {
    color: transparent;
  }
}

I can't find it in any spec but it's supported by this plugin.

Currently no, but I need to add it to my Nesting proposal when I have time.  There's nothing wrong with this type of nesting, and it can be quite useful.

@jonathantneal I think we can close this issue.

@rstacru, since @tabatkins is adding nesting mqs to the nesting proposal, I have added it to the v2.2.0. Enjoy!

I'm weary about these features.. they're not part of any public spec -- they're only part of a proposal from one person. For this reason, I still use Less.js as a pre-processor.

@stevenvachon, this plugin does not "support" @media (width > 500). This plugin supports nested rules and at-rules that follow Tab's spec as well as his additional expectations from this thread.
What you are experiencing is the result of another spec and another plugin that, when combined with this plugin through cssnext, are adding the support you describe. So, to be clear, the media queries you described are outside the scope of this plugin and the spec I am following.
See https://github.com/postcss/postcss-media-minmax and https://drafts.csswg.org/mediaqueries/ if you wish to express weariness over those features.
Tab's work here is generally considered to be the authoritative proposal for nested queries, and he is the author of other implemented specs.

I'm not experiencing any issue. Those are plugins and can be chosen to be used or not, but as part of cssnext, I would wager that they shouldn't be included. But Less.js handles these things for me anyway and makes more sense to me having that logic performed there until Tab's proposals become at least a draft spec.

I would be open to a feature that toggles buy in of the nested media queries within nested media queries, as the spec is not entirely clear as to how these are handled yet.
I believe it's implied they should combine similar to selectors: media queries split into sets along the comma, and then each nested set combines with the ancestor set.
@media screen, print {
  @media (min-width: 30em) {
    color: blue;
  }
}

Resolves to:
@media screen and (min-width: 30em), print and (min-width: 30em) {
  color: blue;
}

I'm not saying that those plugins should be publicly removed from cssnext either; just giving my perspective on the matter.


K8SPG-45 Fix bootstrap pod creation (#40)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


New version: GMT v0.30.2

Registering package: GMT
Repository: https://github.com/GenericMappingTools/GMT.jl
Created by: @joa-quim
Version: v0.30.2
Commit: 7021b31758cfb262cec2663a7d63f5cac4c92aef
Reviewed by: @joa-quim
Reference: https://github.com/GenericMappingTools/GMT.jl/issues/536#issuecomment-787537452

@joa-quim :point_up: (this is getting a bit repetitive)
[noblock]

Sorry, I'm getting a bit lost with this. I don't understand why it is failing the automerge condition. And also I was not seing the 0.30.0 tag.
So, you are saying that I should set it back to 0.30.0 in Project.toml and nothing else?

So, you are saying that I should set it back to 0.30.0 in Project.toml and nothing else?

Almost: trigger registration again.  That would update #30927, which will be merged automatically, then we close the other pull requests

Superseded by #30927

Thanks and sorry for the confusion. I was trying to figure out why it was failing so next registrations would back to normal but I fear that it may repeat the failure. But let's wait and see.

It looks all right now, #30927 was merged right away

Yes, can confirm that ]up installs 0.30.0
Thanks again


automatically capture last mutating systemd unit, highlight as "agent"

This is very similar to https://github.com/coreos/rpm-ostree/pull/1368/commits/83c942dac2fec09e5077b601438229f7da8e6c33 and later https://github.com/coreos/rpm-ostree/pull/2459
Basically...it'd be really useful to be able to see from bootc status the basic information about which calling process (systemd unit e.g.) last mutated the system.  Maybe even a history of such changes?
And perhaps like the rpm-ostree change there should be an explicit API to claim "I am the active driver" and require disabling that active driver to make other changes.
An architectural thing to debate here is whether this history canonically lives in the journal or whether it's bound e.g. to deployment metadata.  (I think probably the latter, it's a tiny amount of information and some edge systems e.g. will want to turn the local journal off to reduce persistent writes, only doing select remote logging).
I would also really like to figure out how to better wire up our default simplistic systemd unit+timer into this.

Also on this topic, I think we should ship a systemd generator that checks for our own automatic update unit being enabled, and if it is immediately queues a registration for that unit.
Hmm, in general maybe the argument here is there should be a generic way for us to find metadata about systemd units that affect us?  Or maybe we should actually ship a generic bootc-controller.service that should be a symlink to the agent?

And perhaps like the rpm-ostree change there should be an explicit API to claim "I am the active driver" and require disabling that active driver to make other changes.

I think ideally there'd be some mechanism by which bootc upgrade actually proxies to the driver instead of flat out erroring out (using the word "proxies" loosely here, basically could just fork out to a configured command). That allows bootc to remain the primary UX.


New Rule (Brand impersonation): Southwest

This looks great! Been seeing Southwest more and more in spam.


Copy cannot work in UC brower

Minimal example

Fork this JSFiddle and reproduce your issue.

Expected behaviour
I thought that by going to the page '...' and pressing the button '...' then '...' would happen.
Actual behaviour
Instead of '...', what I saw was that '...' happened instead.
Browsers affected
I tested on all major browsers and only IE 11 does not work.

Hello, we found in UC browser (https://play.google.com/store/apps/details?id=com.UCMobile.intl&hl=en_US) (one of Alibaba Inc's product) document.execCommand will return undefined so the code will have problem in copyText function.
succeeded = document.execCommand(this.action);
succeeded  will become undefined
We adjust our code like this
this.clipboard.on('error', (e) => {
if (Clipboard.isSupported()) {
successCallBack()
return;
}
errorCallback();
});
But we think It's better you determine whether the browser support the API in copyText function

UC Browser must support the execCommand API for this library to work.


OpSchema in Python

We need to be able to construct OpSchema in onnxscript and use it as a common schema interface for onnx functions. In particular we need to represent generic types well.
Also https://github.com/onnx/onnx/issues/5019

https://github.com/onnx/onnx/pull/5020


Remove construction notice

Summary

Delete include file
Remove include reference

Fixes #1788

Internal previews
Toggle expand/collapse

📄 File
🔗 Preview link

dotnet-desktop-guide/net/winforms/controls-design/designer-differences-framework.md
The designer changes since .NET Framework (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls-design/designer-errors.md
Design-time errors

dotnet-desktop-guide/net/winforms/controls-design/designer-overview.md
Visual Studio design-time support for custom controls (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls-design/designer-properties-overview.md
dotnet-desktop-guide/net/winforms/controls-design/designer-properties-overview

dotnet-desktop-guide/net/winforms/controls-design/extend-existing.md
Extend an existing control

dotnet-desktop-guide/net/winforms/controls-design/how-to-create-usercontrol.md
How to create a user control (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls-design/how-to-designer-properties-shouldserialize-reset.md
How to use the Reset and ShouldSerialize methods

dotnet-desktop-guide/net/winforms/controls-design/how-to-set-toolbox-icon.md
Set the icon of a control in the Toolbox (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls-design/overview.md
Custom controls (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls-design/usercontrol-guidelines.md
dotnet-desktop-guide/net/winforms/controls-design/usercontrol-guidelines

dotnet-desktop-guide/net/winforms/controls-design/usercontrol-overview.md
User control overview (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls/custom-painting-drawing.md
Custom painting for a control

dotnet-desktop-guide/net/winforms/controls/events.md
Control events (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls/how-to-add-a-picture-to-a-control.md
dotnet-desktop-guide/net/winforms/controls/how-to-add-a-picture-to-a-control

dotnet-desktop-guide/net/winforms/controls/how-to-add-an-event-handler.md
How to handle a control event (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls/how-to-add-to-a-form.md
Add Controls to a Form

dotnet-desktop-guide/net/winforms/controls/how-to-create-access-keys.md
Add an access key shortcut to a control (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls/how-to-dock-and-anchor.md
dotnet-desktop-guide/net/winforms/controls/how-to-dock-and-anchor

dotnet-desktop-guide/net/winforms/controls/how-to-make-thread-safe-calls.md
How to make thread-safe calls to controls (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls/how-to-set-the-display-text.md
Set the Text displayed by a Control

dotnet-desktop-guide/net/winforms/controls/how-to-set-the-tab-order.md
How to set the tab order on Windows Forms (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls/labels.md
dotnet-desktop-guide/net/winforms/controls/labels

dotnet-desktop-guide/net/winforms/controls/layout.md
Position and layout of controls (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/controls/overview.md
"Overview of Using Controls"

dotnet-desktop-guide/net/winforms/controls/provide-accessibility-information.md
Providing Accessibility Information for Controls (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/forms/autoscale.md
dotnet-desktop-guide/net/winforms/forms/autoscale

dotnet-desktop-guide/net/winforms/forms/events.md
Events overview (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/forms/how-to-add.md
"Add a form to a project"

dotnet-desktop-guide/net/winforms/forms/how-to-position-and-resize.md
How to position and size a form (Windows Forms .NET)

dotnet-desktop-guide/net/winforms/get-started/create-app-visual-studio.md
dotnet-desktop-guide/net/winforms/get-started/create-app-visual-studio

Note
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.

@gewarren