[ci] Keep downloaded MMI files in CW310 splice job

In issue #13603, I noted that MMI files were not being included in
bitstream-latest.tar.gz despite PR #13632.
@a-will correctly pointed out that ci/upload-artifacts-template.yml only
keeps new artifacts, intentionally excluding files that came from
ci/download-artifacts-template.yml.
Here's the sequence of relevant events in probably too much detail:

"chip_earlgrey_cw310" job runs

ci/scripts/build-bitstream-vivado.sh generates otp.mmi and rom.mmi
ci/upload-artifacts-template.yml uploads otp.mmi and rom.mmi, etc.

"chip_earlgrey_cw310_splice_mask_rom" job runs

ci/download-artifacts-template.yml downloads artifacts from the
"chip_earlgrey_cw310" job
It splices in the Mask ROM to produce the .bit.orig and .bit.splice
files for the bitstream tarball
ci/upload-artifacts-template.yml effectively filters the contents of
$BIN_DIR. Critically, this drops the MMI files because they were
downloaded from a previous job!
ci/gcp-upload-bitstream-template.yml attempts to include the MMI
files, but they have already been filtered out.

This commit adds an override parameter, unconditionalIncludePatterns,
to the upload template that lets us say "really keep these files".
Signed-off-by: Dan McArdle<EMAIL_ADDRESS>

@a-will Would you expect to see the effects of this PR in the latest CI run? It looks like upload-artifacts-template.yml did not capture the MMI files: https://dev.azure.com/lowrisc/opentitan/_build/results?buildId=87378&view=logs&j=12d53c77-8779-5458-10a0-4e65f4237072&t=23fdf818-c6c5-5d82-571c-df0a8b144c7b&l=34
Files in $BIN_DIR not considered outputs of this job:
vvvvvvvvvvvvvvvvvv
/azp/agent/_work/1/a/build-bin.full
/azp/agent/_work/1/a/build-bin.full/hw
/azp/agent/_work/1/a/build-bin.full/hw/top_earlgrey
/azp/agent/_work/1/a/build-bin.full/hw/top_earlgrey/lowrisc_systems_chip_earlgrey_cw310_0.1.bit
/azp/agent/_work/1/a/build-bin.full/hw/top_earlgrey/otp.mmi
/azp/agent/_work/1/a/build-bin.full/hw/top_earlgrey/rom.mmi
/azp/agent/_work/1/a/build-bin.full/sw
/azp/agent/_work/1/a/build-bin.full/sw/device
/azp/agent/_work/1/a/build-bin.full/sw/device/silicon_creator
/azp/agent/_work/1/a/build-bin.full/sw/device/silicon_creator/mask_rom
/azp/agent/_work/1/a/build-bin.full/sw/device/silicon_creator/mask_rom/mask_rom_fpga_cw310.scr.39.vmem
/azp/agent/_work/1/a/build-bin.full/sw/device/silicon_creator/mask_rom/mask_rom_fpga_cw310.updatemem.mem
/azp/agent/_work/1/a/build-bin.full/sw/device/silicon_creator/mask_rom/mask_rom_fpga_cw310.bin
/azp/agent/_work/1/a/build-bin.full/sw/device/silicon_creator/mask_rom/mask_rom_fpga_cw310.elf
^^^^^^^^^^^^^^^^^^

I'll take this opportunity to improve the logging in upload-artifacts-template.yml.

@a-will, please merge when you get a chance!


Example change for SPA

Mock up example for #2

Hi @benaadams, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@benaadams, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Example how you might use it for Jquery SPAs: https://gist.github.com/benaadams/f7d1e9136d8c60939467

@benaadams Hi Ben, I've created a new branch https://github.com/Microsoft/ApplicationInsights-JS/tree/spaTimings where I ported your changes just to make is compile and pass all tests (your's became outdated). If you're still interested in bringing it in please merge it to your branch so that the pull request gets updated. At this point the feedback I have is to refactor it to reduce code duplication, after it's done I'll be happy to merge it.
Thanks!

@MaxShehovtsov thank you for the sync update
Ignoring whitespace I think its now merged ok: https://github.com/Microsoft/ApplicationInsights-JS/pull/3/files?w=1

Also looks like unit tests need to be extended to account for timings case.

Should now be reusing same logic, and just acting as overriding container

Cool! looking forward to seeing the unit tests! :+1:

Might take a little while, need to learn a few bits around the testing methodology first

For this we need just unit tests (we also have E2E tests, perf tests which are not needed for this pull requests). It's under JavaScriptSDK.Tests/CheckinTests. We run it with Chutzpah (from the visual studio), another way is to open the test harness html made up for selenium tests - JavaScriptSDK.Tests/Selenium/Tests.html (in the same folder - checkinTests.ts which compiles all checkin tests together).
Also we had to tweak chutzpah and the tests are compiled "manually" i.e. with powershell - see inside JavaScriptSDK.Tests.csproj, at the end of the proj definition - this is in case you need to dig into it (hopefully not).
Hope this helps

Not realistically going to get round to this.


Best way of working with strings

In java we use code for building debug strings like this:
String str = "";
str += value + "\n";
str += value2;

And i expect that it will be automatically transformed to StringBuilder, but it doesn't work for j2ObjC. What is best way of working with strings for avoiding unnecessary allocations?

StringBuilder conversion isn't defined by any Java specification, it's just how javac converts it under the covers. This therefore is neither a bug or an enhancement request. In the future, please ask similar questions on StackOverflow.com, with the #j2objc tag -- that way, other interested developers can find the answer.
Since message dispatching is slower in Objective C than in Java, converting string concatenation to StringBuilder messages is slower, too. j2objc therefore translates to a JreStrcat() function, which is much faster since the only Objective C messages it sends are to objects that need a string description.


soroban-rpc: adding optional params breaks clients using params array format

What version are you using?
 v20.1.0
What did you do?
•  Request the  simulateTransaction  endpoint using array format with a single argument in that params list:
{
  "jsonrpc": "2.0",
  "id": 0,
  "method": "simulateTransaction",
  "params": ["AAAAAgAAAADRjwIQ/2zB8tzxMB+71MMO4RoHWCBoTUcd+J0PEBHqKAAAAGQAAAF4AAAAAwAAAAAAAAAAAAAAAQAAAAEAAAAA0Y8CEP9swfLc8TAfu9TDDuEaB1ggaE1HHfidDxAR6igAAAAYAAAAAgAAAnMAYXNtAQAAAAEUBGABfgF+YAJ/fgBgAn5+AX5gAAACDQIBaQEwAAABaQFfAAADBgUBAgMDAwUDAQAQBhkDfwFBgIDAAAt/AEGAgMAAC38AQYCAwAALBy8FBm1lbW9yeQIAA2FkZAADAV8ABgpfX2RhdGFfZW5kAwELX19oZWFwX2Jhc2UDAgqMAgVdAgF/AX4CQAJAIAGnQf8BcSICQcAARg0AAkAgAkEGRg0AQgEhA0KDkICAgAEhAQwCCyABQgiIIQFCACEDDAELQgAhAyABEICAgIAAIQELIAAgATcDCCAAIAM3AwALmQEBAX8jgICAgABBIGsiAiSAgICAACACQRBqIAAQgoCAgAACQAJAIAIoAhANACACKQMYIQAgAiABEIKAgIAAIAIpAwCnDQAgACACKQMIfCIBIABUDQECQAJAIAFC//////////8AVg0AIAFCCIZCBoQhAAwBCyABEIGAgIAAIQALIAJBIGokgICAgAAgAA8LAAALEISAgIAAAAsJABCFgICAAAALBAAAAAsCAAsASw5jb250cmFjdHNwZWN2MAAAAAAAAAAAAAAAA2FkZAAAAAACAAAAAAAAAAFhAAAAAAAABgAAAAAAAAABYgAAAAAAAAYAAAABAAAABgAeEWNvbnRyYWN0ZW52bWV0YXYwAAAAAAAAABQAAAAAAG8OY29udHJhY3RtZXRhdjAAAAAAAAAABXJzdmVyAAAAAAAABjEuNzQuMQAAAAAAAAAAAAhyc3Nka3ZlcgAAAC8yMC4wLjMjOTNiMDllNDJlNGVmYTg0MWNiZDAzNGMwYmZmMGRjMzYyNzY1MDg2YwAAAAAAAAAAAAAAAAAA"]
}

What did you expect to see?
The request to be accepted as it is with soroban-rpc v20.0.2.
What did you see instead?
jsonrpc error: ErrorObject { code: InvalidParams, message: "invalid parameters", data: Some(RawValue("[-32602] got 1 parameters, want 2")) }

Also, if I make the same request, but with the params passed as a JSON objected with named fields, it is accepted:
{
  "jsonrpc": "2.0",
  "id": 0,
  "method": "simulateTransaction",
  "params": {"transaction":"AAAAAgAAAADRjwIQ/2zB8tzxMB+71MMO4RoHWCBoTUcd+J0PEBHqKAAAAGQAAAF4AAAAAgAAAAAAAAAAAAAAAQAAAAEAAAAA0Y8CEP9swfLc8TAfu9TDDuEaB1ggaE1HHfidDxAR6igAAAAYAAAAAgAAAnMAYXNtAQAAAAEUBGABfgF+YAJ/fgBgAn5+AX5gAAACDQIBaQEwAAABaQFfAAADBgUBAgMDAwUDAQAQBhkDfwFBgIDAAAt/AEGAgMAAC38AQYCAwAALBy8FBm1lbW9yeQIAA2FkZAADAV8ABgpfX2RhdGFfZW5kAwELX19oZWFwX2Jhc2UDAgqMAgVdAgF/AX4CQAJAIAGnQf8BcSICQcAARg0AAkAgAkEGRg0AQgEhA0KDkICAgAEhAQwCCyABQgiIIQFCACEDDAELQgAhAyABEICAgIAAIQELIAAgATcDCCAAIAM3AwALmQEBAX8jgICAgABBIGsiAiSAgICAACACQRBqIAAQgoCAgAACQAJAIAIoAhANACACKQMYIQAgAiABEIKAgIAAIAIpAwCnDQAgACACKQMIfCIBIABUDQECQAJAIAFC//////////8AVg0AIAFCCIZCBoQhAAwBCyABEIGAgIAAIQALIAJBIGokgICAgAAgAA8LAAALEISAgIAAAAsJABCFgICAAAALBAAAAAsCAAsASw5jb250cmFjdHNwZWN2MAAAAAAAAAAAAAAAA2FkZAAAAAACAAAAAAAAAAFhAAAAAAAABgAAAAAAAAABYgAAAAAAAAYAAAABAAAABgAeEWNvbnRyYWN0ZW52bWV0YXYwAAAAAAAAABQAAAAAAG8OY29udHJhY3RtZXRhdjAAAAAAAAAABXJzdmVyAAAAAAAABjEuNzQuMQAAAAAAAAAAAAhyc3Nka3ZlcgAAAC8yMC4wLjMjOTNiMDllNDJlNGVmYTg0MWNiZDAzNGMwYmZmMGRjMzYyNzY1MDg2YwAAAAAAAAAAAAAAAAAA"}
}

Discussion
This issue has been discussed in these places:

Discord: https://discord.com/channels/897514728459468821/1187260422689132585
Slack: https://stellarfoundation.slack.com/archives/C030Z9EHVQE/p1703122700787559

This issue arises because in v20.1.0 the soroban-rpc's simulateTransaction endpoint had a new optional parameter added to it's request object:

https://github.com/stellar/soroban-tools/pull/1131

The jsonrpc specification doesn't say how optional parameters should behave, it is implementation specific, and the jsonrpc library in use by the soroban-rpc allows optional parameters when the params are defined as a JSON object, but requires them when the params are defined as a JSON array.
From discussions on the jsonrpc mailing list it sounds like it is common for jsonrpc implementations to allow optional parameters to be ommitted in the params (see https://groups.google.com/g/json-rpc/c/n4kiH9yKBww/m/0ssppnkGpv8J), but that behavior isn't supported by the jsonrpc library the soroban-rpc is using.
Until the soroban-rpc's jsonrpc implementation supports omitting optional parameters in the params array format, I don't see how we can ever add an optional parameter though, since doing so may break any client that is using array format, as what we saw with the above v20.1.0 release.
cc @Shaptic @mollykarcher

@janewang should we make an announcement in discord about this upcoming change?

We will tee it up for protocol 21 announcements.


Inspiration Dice do not work without Dice-so-Nice

Reason:
If you do getFlag on a scope that does not exist, it throws an error.

Solved in 3.1


vulnerabilities in jackson databind library

Might be worth updating your
com.fasterxml.jackson.core:jackson-databind
dependency, due to these vulnerabilities
https://security.snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
https://security.snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424

Fixed in 4.0.3


How did you use Flyingchairs for training?

FlyingChairs dataset is in PPM , but your model  seems not to support it.Which step did you use this dataset?

https://github.com/ppliuboy/DDFlow/blob/master/datasets.py#L42

https://github.com/ppliuboy/DDFlow/blob/master/datasets.py#L42

谢谢！请问您在训练Teacher Model和Student Model时两种Loss都分别下降到了多少？在使用新的数据集finetune时我应该什么时候停止？
另外，我在进行到step 3时遇到了下面的问题，请问是什么情况？
Traceback (most recent call last):
File "main.py", line 64, in
tf.app.run()
File "//site-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "main.py", line 53, in main
model.train()
File "//DDFlow-master/ddflow_model.py", line 311, in train
global_step=self.global_step, regularizer_scale=self.regularizer_scale, train=True, trainable=True, is_scale=self.is_scale, training_mode=self.training_mode)
File "/*******************/DDFlow-master/ddflow_model.py", line 262, in create_train_op
optim_loss = losses['abs_robust_mean']['no_occlusion']+losses['data_distillation']

TypeError: Expected float32, got {'distillation': <tf.Tensor 'truediv_6:0' shape=() dtype=float32>} of type 'dict' instead.


Have ability to not run with --rm to make it easier to debug containers

I'd like the ability to have a flag that won't run with --rm so I can debug my containers.

This has been implemented with the leave-container option of the plugin in #195


⚠ ClamAV has degraded performance

In 2f8d039, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 459 ms

Resolved: ClamAV performance has improved in 3be2246.


Add notebook demonstrating reprojection using geoboxes

Proposed changes
This notebook covers a common use case: trying to combine datacube data with external rasters that may not share the same spatial grid. It introduces users to datacube's GeoBox which currently doesn't feature much in the User Guide despite being incredibly useful for many spatial tasks. It demonstrates how to perform common reprojection tasks, including:

Loading and reprojecting datacube data to match a raster file using dc.load
Reprojecting existing datacube data to match a raster using xr_reproject
Loading and reprojecting a raster to match datacube data using rio_slurp_xarray

Checklist (replace [ ] with [x] to check off)

[X] Notebook created using the DEA-notebooks template
[X] Remove any unused Python packages from Load packages
[X] Remove any unused/empty code cells
[X] Remove any guidance cells (e.g. General advice)
[X] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[X] Include relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
[X] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
[X] Test notebook on both the NCI and DEA Sandbox (flag if not working as part of PR and ask for help to solve if needed)
[X] If applicable, update the Notebook currently compatible with the NCI|DEA Sandbox environment only line below the notebook title to reflect the environments the notebook is compatible with

Hey @Kirill888 , if you have a spare moment it'd be great if you could quickly skim through this and let me know if I've mischaracterised GeoBoxs anywhere, or suggested sub-optimal ways of going about re-projection

yeah sorry, my bad, in the second case gbox= has to be named, and yes it should be renamed into geobox=.

Hey @Kirill888 , have made some small updates to account for your comments above, and tagged you as a reviewer. Would you mind accepted this PR if it looks good to you now?
https://app.reviewnb.com/GeoscienceAustralia/dea-notebooks/commit/5cc3240b67cdac4d90b7b57a0b6dae1a0db99939/


Build problem: same code build and works with 1.4.0 but it doesn't with 1.4.1

Expected Behavior
It was working in 1.4.0, I would say that it should work the same in 1.4.1.
Actual Behavior
It builds and works with 1.4.0, but it does not build anymore with 1.4.1.
include/hpx/traits/pack_traversal_rebind_container.hpp:70:9: error: base class has incomplete type
      : pack_traversal_rebind_container<NewType, OldType>

I played with it a bit, it is not related to the unwrapping, it happens even just with the dataflow, as soon as I .get() the future moved in, i.e. I can do whatever I want but not use the future passed in.
Steps to Reproduce the Problem
See the code below, it has a switch flag ENABLE_CUSTOM.
With 1.4.0 both versions build and work.
With 1.4.1 the ENABLE_CUSTOM version with custom::vector does not build.
#include <iostream>
#include <vector>

#include <hpx/hpx.hpp>
#include <hpx/hpx_init.hpp>

namespace custom {

template <class T>
struct vector : public std::vector<T> {
  using std::vector<T>::vector;

  vector(int size) : vector<T>(static_cast<std::size_t>(size)) {
    std::cout << "custom" << std::endl;
  }
};

}

int start(int argc, char **argv) {
  using T = int;

#ifdef ENABLE_CUSTOM
  using custom::vector;
#else
  using std::vector;
#endif

  vector<hpx::future<T>> values_futures;

  for (int i = 1; i <= 3; ++i)
    values_futures.emplace_back(hpx::make_ready_future<T>(i));

  auto sum = hpx::dataflow(
      hpx::util::unwrapping([](const auto&& values) {
        return std::accumulate(values.begin(), values.end(), 0);
      }), values_futures).get();

  std::cout << sum << std::endl;

  return hpx::finalize();
}

int main(int argc, char **argv) {
  auto ret_code = hpx::init(start, argc, argv);

  return ret_code;
}

Specifications

HPX Version: 1.4.1
Platform (compiler, OS): AppleClang 10.0.1. on MacOS 10.14.6 "Mojave"

@albestro Adding a specialization of the related HPX trait to your data type definition resolves the issue:
#include <hpx/traits/pack_traversal_rebind_container.hpp>

namespace hpx { namespace traits {

    template <typename NewType, typename OldType>
    struct pack_traversal_rebind_container<NewType, custom::vector<OldType>>
    {
        static custom::vector<NewType> call(custom::vector<OldType> const&)
        {
            // Create a new version of the container for the new data type
            return custom::vector<NewType>();
        }
    };
}}    // namespace hpx::traits

We should have mentioned this as a breaking change in the release notes. Sorry.
See also #4437 for proof.

Thank you for the quick reply @hkaiser !
And thank you for the solution!


Update READMEmd file with capital city report output

As the Java code to display capital city reports have been implemented, screenshots of the different reports need to be updated on the corresponding rows in the main repository's README.md file accordingly

Consolidated with the master ticket. Discussed with team.


Comments: Use the Redirect Routes

Link to chapter - http://serverless-stack.com/chapters/use-the-redirect-routes.html

This is what I'm getting instead of being redirected to the home page

i'm getting the most insane result from this chapter:
I was testing the redirect function when everything went wrong.
Trying to access "localhost:3000/notes/new" when not logged in.
I get the following error message:
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
and the URL looks like this:
http://localhost:3000/notes/login?redirect=/notes/login%20?redirect=/notes/login%20?redirect=/notes/login%20?redirect=/notes/login%20?redirect=/notes/login%20?redirect=/notes/login%20?redirect=/notes/login%20?redirect=/notes/login%20?
(I deleted about 20 lines for the sake of length)

The error is pointing at:
G:/aws_tutorial/react_front/notes-app-client/src/App.js:33

> 33 |   this.setState({isAuthenticating:false});

Any ideas?

only call setState from somewhere that is handling an event

@DavidNaMills It looks like it caught in some sort of a loop, where it is redirecting back to itself?

This issue was moved to https://discourse.serverless-stack.com/t/comments-use-the-redirect-routes/57

This issue was moved to https://discourse.serverless-stack.com/t/comments-use-the-redirect-routes/152


A way to set a channel on Android.

I need to change the channel importance on Android, so i wonder if there is a way of changing the default one.
Thanks.

@anikhechoyantumo Can you please try #94 ?

Feel free to re-open if it doesn't resolve this issue.


Change in root-folder index.php breaks some detection scripts

The Codex article  gives a very specific code snippet under point 9. of how to go about letting the site know about the subfolder WordPress is installed in.
Hosting providers like SiteGround rely on this line of code to detect whether WordPress was installed in a subfolder, and modify their system setup accordingly (for things like version detection, caching extensions, etc...).
WPStarter has changed this line to use realpath instead of the code that is recommended in the Codex, which breaks detection on these hosts.
Is there a specific reason why this was changed to use realpath? I'd like to investigate whether we could leave that particular file exactly as is recommended in the Codex, and solve whatever issue realpath was meant to solve in a different location.

@schlessera we can use the same line that core uses.
I myself add this issue once, and shipped the index.php under version control, then prevented WP Starter to edit it via prevent-overwrite setting.
The only reason for realpath was that the path to load is "calculated" by WP Starter. If something goes wrong in calculation, realpath return false so the line do nothing, and avoid to try to load an inexistent file which will cause a fatal error.
However, since I use WP Starter, bad calculation never happened, so I guess we can remove it with no issue.
If you have time for a PR I'll merge it, otherwise I'll do the change later today.

Just tested, and an absolute path seems to work. Also, it does not seem to depend on specific whitespace.
So, your proposed change should solve this issue.

Solved with b3b84ef. The fix is included in v2.3.2.

I've got 2.3.2, and yet, when I do a new install, or rename wp-config.php to something else and call composer run wpstarter, I get wp-config.php with the realpath part still present.

Oh, this PR only affected index.php. Nevermind.


[Feature] implement trim function with remove characters

What type of PR is this：

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

Which issues of this PR fixes ：

Fixes #15528
Problem Summary(Required) ：

Overload the trim/ltrim/rtrim function with variant:

trim(str): trim ascii whitespace
trim(str, characters): trim specified characters, including UTF-8 characters

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_admit_test

@Mergifyio rebase

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio rebase

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test

run starrocks_admit_test

@Mergifyio rebase

@Mergifyio rebase

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

@Mergifyio rebase

run starrocks_admit_test

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

@mergify backport branch-2.5


Replace static image of calculator with embed

Replacing the static image with an embed of the margin calculator spreadsheet

Ready for review


Update json-cid API to conform to new specification

This PR makes changes to our json-cid API, so that it conforms to the new standard specified by Jan (i.e., it fixes #1170)
The changes that occurred:

In the API,

we now include a "sequence" key, which is an integer
we now include a "cantus_id" key, a string
our previous "fulltext" key is now called "full_text"
in the code, the order of these keys has been rearranged, and a comment has been removed (it was from back when we were just recreating what was on OldCantus, and were not working from a specification)

JsonCidTest.test_structure and .test_values have been updated to reflect the new specification

Also, not part of my review because one wouldn't see changes to the wiki in a PR anyway, but a reminder that once this is merged, the wiki (https://github.com/DDMAL/CantusDB/wiki/APIs#json_cid) should be updated #386


Provide possibility to backup and restore database

Hello, thanks for this great app!
As I sometimes have to reset my phone, I would love to have a feature that lets me export and import my current decision cases.
Thanks!

Please do, it's an awesome app but we need to be able to export!
If you need help with files permissions, there is the great SimpleStorage library, if you need help let me know, I already implemented backup features in a few apps successfully with this.


Can NOT install bower package from Visual Studio / Core 2

Hello, I'm a newbie... I was trying to install Bootstrap bower package on Visual Studio 2017 but I get an ugly error as follow:
bower bootstrap#v4.0.0-beta.2       EMALFORMED Failed to read C:\Users\ADMINI~1\AppData\Local\Temp\1\WIN-DPN1LB7550E-Administrator\bower\ca4c50b905dc21ea17a10549a6f5944f-5952-MJCiLU\bower.json Additional error details: Unexpected token @
This is what I did to test:

I tried to install other packages than bootstrap, for example JQuery and it did complete with no problems.

I did start a complete full empty app, just in case something was generating the error and tried to install the package, same result.

I tried to check what was inside bower.json file but it seems something the package create temporarily in the route above and before I can do anything, it display a msg with the error on VS and delete all the files, including bower.json
I have VS community edition and inside I have a file called bower.json also which contains:
{   "name": "asp.net",   "private": true,   "dependencies": {   } }  and other file called .bowerrc which contains: {   "directory": "wwwroot/lib" }
I can just point to the external CSS and JS but I would like to understand why I cant install this bower package into my project in VS
PLEASE and THANK YOU for your help. :-)

from https://github.com/twbs/bootstrap/releases/tag/v4.0.0-beta.2

Dropped support for Bower as they've deprecated the package manager. See #23568.

Yup, Bower is dead, so we've removed it from v4.

BUT how can you just close that this way? it creates great problems for people like me... I can't install the the package using Nugget because it says is incompatible, leaving the only option to Bower... and we can't install it because you decided not to support it... is not that I want to use Bower, but is what we have in VS... at least you should notify VS about this, otherwise this cause a lot of trouble...

@sipi41 As I understand it, the correct migration path away from Bower is to switch to npm. If there is a major environment where this is not possible for a compelling technical reason, then please let us know. Prior notice of this was provided, but if it's severely impacting people we might be able to back it out, however I've yet to be convinced. If you're having Nuget issues, please report that in a separate issue. I'm not sure what you mean by forums, but if you mean twitterbootstrap.net, that's not even slightly official.

visual studio 2017 support npm packages

Dear @bardiharborow thanks for your attention to this situation. According to what you said in your last message, this is what I think:

I don't know the reasons for you to move away from Bower, and I will not question that, the problem I see is that, everybody is teaching to install this package using Bower as suggested on Visual Studio, not NPM, in fact a person like me does not understand exactly what you mean by NPM.  If you are moving, probably is the best way to go BUT, please provide a tutorial or any resource that shows how to install or use NPM in Visual Studio 2017, because at this point is frustrating to get a generic error saying "Token expected" and a weird message saying "Bower not supported, use a better way"...
The reason to mention Nugget is because from Visual Studio you can install packages using Nugget or Bower, in Core 2, Nugget is used mainly for core features and C# libraries.  When you try to install Bootstrap from Nugget a msg appear saying "not supported, please USE Bower instead", as Bower in intended  for front-end packages... the problem is Bower is not working with Bootstrap.

Please let me know, thank you.

i'm confused, why does it matter what IDE people are using?
use the command line?

@browner12 The problem is, on VS you can do it IDE or command but it call the same action, it calls the same thing... the result is the same error.... what I did is to include the external CSS and JS files but this is not the way it should work... what I think is... in order for you to remove this from Bower (which is what VS have) you should notify them because they still think you support that and that's what they offer.
In the other hand, I know you are very comfortable with command line BUT, not all people feels comfortable that way, newbies like me don't know how to do that... yes... yes... we would like to learn BUT, there is no tutorial on how to deal with this... everybody just says "use npm" but what is that anyway? how this will integrate with my VS project? is this a program? This is why I'm complaining here, they removed the support and then just a plain error saying "you should move to something else"... is this a pro way to move away?

npm with visual studio
what is npm
use npm

As Bower is deprecated and we want to use Lerna to ship multi package in one repository (and bower cannot handle that case) we chose to remove Bower when our v4 is still in a beta state.

..psst! While Bower is maintained, we recommend yarn and webpack for new front-end projects!
(see: https://github.com/bower/bower)

@fchiumeo Hey Felipe! thanks for your answer.  This is what I found (https://webtooling.visualstudio.com/package-managers/npm/) which basically take us to the same thing, same error... Even if I type inside my bower.json (or NPM as you call it)  "devDependencies": {     "bootstrap": "4.0.0-beta.2"   } the result is the same... because VS uses bower.
Now and interesting thing: I was able to install version "3.3.7" with no problems but not the 4 beta.

@sipi41 Bower and npm are two different package managers. They’re a way for us to publish our code for easy re-use across multiple environments. However, they cannot be mixed—bower.json is for Bower while npm requires a package.json.

exactly @mdo! according to Visual Studio this is it: https://webtooling.visualstudio.com/package-managers/npm/ BUT see what I'm talking about? if that is something different then... how to?

I don't think it's the responsibility of the Bootstrap project to teach people how to use NPM. There's plenty of documentation online if you look for it.
If you're having trouble with the Visual Studio NPM integration, I would submit a ticket to them.
Or maybe now is a good time to start learning the command line, so you are not bound to an IDE and the way they do things.

@browner12 That was rude! So you think to display a generic msg like "use a better method instead" explains much of what's going on? I don't want to work with a developer like you...  it's true is not responsibility of bootstrap to explain what NPM is but, I do consider a better explanation or a link to a discussion board would be fine... sorry we are not smart as you are

@mdo Thank you... it gave me some light... I found I can install the file package.json on my VS project by adding new file to it... now I did input my packages or the packages I want and I see is doing something but nothing else happens...how to say "execute" in this thing? this is what I get from the bower/npm screen:
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Web\External\npm.CMD" install npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=6"} (current: {"node":"5.4.1","npm":"3.3.4"}<EMAIL_ADDRESS>C:\Users\Guillermo Perez\documents\visual studio 2017\Projects\Chapter3\Chapter3 ├──<EMAIL_ADDRESS>├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>- 3 └── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>npm WARN EPEERINVALID<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>- 3 but none was installed. npm WARN EPEERINVALID<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed. PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Web\External\npm.CMD" install<EMAIL_ADDRESS>C:\Users\Guillermo Perez\documents\visual studio 2017\Projects\Chapter3\Chapter3 ├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Web\External\npm.CMD" install
What could be the next step?

calm down. we've explained to you that Bower is basically deprecated. We've explained that NPM is one of the current best practices for package management. We also told you there's plenty of documentation available, more info than your going to get from a Github issue comment. Also, Github issues are for bug reports and feature suggestions, not for general help on how to use things.  We have forums and Slack and more for that. I'm trying to direct you to the proper channel.
By your own admission, you are a relatively green programmer, so it's very common to use the IDE tools. I'm assuming you want to grow as a developer, so myself (as an experienced programmer) am suggesting to you that you learn more about the command line, which will help you be a better programmer.
Part of becoming a better programmer is also learning how to search for things (documentation, examples, etc). Asking for someone to just link you the answer is not going to help you get better. Give Google a shot, and read some of the excellent NPM tutorials that are available.

@browner12 Thanks for the suggestion... I'm new at c# but I have done programs for more than 15 years using vbscript, and one thing I have learned is that we must create programs that an experienced and smart user (like you) can use and a dumb user like me can use too... it has to be intuitive... and I agree, as technology intention is to make things easy not hard... Now talking about easy, is not easy just to put the reference to the CDN files (css and js) than learn console commands? I mean, if you use them everyday and everytime well, you can remember that but otherwise...
I think is Bootstrap fault in part and also VS... Visual Studio should be aware that people are moving out of Bower and NOT to promote this in its shiny new version of Core 2.0... BUT I also think is Bootstrap fault as they do not provide a clear way on "what to do next?"... to fill the Json file with a message saying

@$% Not a Bower package. Use a better package management tool instead. ^&*

does not give a clear idea on what to do, right? for you, as experimented user, immediately think "I will install my package.json on VS, then configure the file, then run the CMD code provided by VS"... (and I know this because I'm reading a little about this npm thing and how it works) but for a person like me (not just me, but anybody staring on this c# business), what should you do with that message?
I think the msg should be changed to "Bower has been deprecated and is not supported anymore. Please use NTP on Visual Studio to install the package, go to [LINK] for instructions"

While we are still on the topic, can anyone shine some light here?
https://stackoverflow.com/questions/46854634/moving-from-bower-to-npm-and-using-main-bower-files

@myorangeca

Package Installer by Mads Kristensen
Using NPM in VS to get bootstrap 4 and jquery (russian)

OK, I just published an article on Medium - with step-by-step instructions on how to add React to your ASP.Net core projects. Check out the article here (includes support for Bootstrap 4.0 Beta 2):
https://medium.com/@csharpsolutionsuk/how-to-use-webpack-in-asp-net-core-projects-a-basic-react-template-sample-25a3681a5fc2
Github repo: https://github.com/phantom2017-Nov/AspNetCore-ReactTemplate

Yea -- they should have never agreed to move to bower.. because now every 5 years they gonna decide to move to another, better package repo manager thing and drop support again. So they should have just stuck with NuGet. It works just fine..

better yet, let's get rid of the package managers, and just copy-paste the code into our projects.

tbh, that isn't far from the truth, @browner12  .  It's just a different pain point... but it's still pain.

i hope my sarcasm came across on that last post. should have used <sarcasm> tags.
we are far better off now with package managers than we were before.

How about that? Installing via NuGet is also not supported. So the NPM remains the only option.
The problem is that NPM is not supporting anything other then putting all package contents to node_modules folder.
Sad. I'm using ASP.NET Core 2.0. This requires me to put js/css files in wwwroot folder.
An option would be to use npm with Grunt or Gulp.
BUT. What if, for the development I need unminified files? Should find the way to configure grunt/gulp to put not minified files to wwwroot in development, and minified in release.
This is in deed a configuration hell.
The frustration comes from the fact, that latest version of bootstrap is less accessible and harder to use, than it used to be.
Yes, you can tell, that this is a problem for Visual Studio team to solve, but don't you think that you drop support of bower too early? Wouldn't it be better to wait untill bower will get fully retired and replaced by other means in Visual Studio?

hi
I  am faced same problems core 2.1.1 but  some systems  add bower pack  from  window power shell

I find you're basically between a rock and hard place with client library managed like NuGet. Bower is dead yet NuGet packages will tell you to use it, LibMan was pushed out to VS 15.8 yet if you create a Core 2.1 project on VS 15.7 you end up getting Bootstrap 3.7 with a bower configuration and no way to upgrade it. You can't run LibMan on VS 15.7 easily (I think you can run the command line) so what to do? Right now, until 15.8 becomes a reality and fixes this mess with LibMan, manually copy the files into your wwwroot/lib/bootstrap from the distribution files. This is the place I see if you're living between VS 15.5 (when bower was dropped) and VS 15.8 (when LibMan kicks in).

I appreciate Bower is being depreciated however here is a solution for using Bower in Visual Studio 2017 if you feel you need to.
Adding Bower Packages to ASP.Net 2.1
Add Bower Packages

In Toolbar Project => Quick Install Packages    (shortcut => shift Alt 0)
Choose Bower
Type in Package Name e.g Bootstrap
Choose the Version and click Install
Create in root of solution two files
Bower.json
.bowerrc

Create a Bower.json file

{
  "name": "RazorPagesMovie",
  "dependencies": {
    "bootstrap": "4.1.3",
    "jquery": "3.3.1"
  }
}

Add the package names and versions
Create a .bowerrc file
This is the file that is critical as its here we name the path our files are to be made available ( our static files )

{
  "directory": "wwwroot/lib"
}

Add the directory to .bowerrc where you wish the files to be made available for development / production.

You may need to restore packages with dotnet restore in the cli or right click on bower.json and click bower restore packages.
Look in wwwroot. You should see a lib folder with your packages inside.
Add the files paths to your script tags within your _Layout.cshtml file

<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.bundle.min.js"
                asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"
                asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal"
                crossorigin="anonymous"
                integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy">
</script>

NB check if you also need to update any css link files or change version references.

I want to install Font Awesome to my project. Allready installed Bower (using NuGet packages), but cant't do anything more. Know how to solve this?


polybar laptop utility widgets

volume icon, wifi-speed and battery percentage

I'll check it out and merge it, thanks for the PR!

Due to lots of unwanted changes, I proceeded with a cherry-pick from your fork with just the battery, wifi and sound icon on polybar changes :)
PS. I noticed you didn't upload "battery" script from .scripts/ path into your git repository, can you provide this file so I can have it fixed on my master version?
Thank you in advance!
And nice work, too!

That's what I see, if that lets you fix that easier!

@GiacomoTezza can you upload battery plz?


Reworks anchor system pallets to match Solidity implementation

Codecov Report

Merging #196 (5cbdb25) into main (a68971c) will increase coverage by 0.61%.
The diff coverage is 98.75%.

@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
+ Coverage   62.54%   63.15%   +0.61%
==========================================
  Files         102      103       +1
  Lines        7286     7383      +97
==========================================
+ Hits         4557     4663     +106
+ Misses       2729     2720       -9

Impacted Files
Coverage Δ

client/tests/utils.rs
0.00% <ø> (ø)

pallets/anchor/src/test_utils.rs
100.00% <ø> (ø)

pallets/hasher/src/lib.rs
84.61% <ø> (ø)

pallets/mixer/src/lib.rs
70.90% <ø> (-0.52%)
:arrow_down:

pallets/mixer/src/test_utils.rs
100.00% <ø> (ø)

pallets/signature-bridge/src/tests.rs
100.00% <ø> (ø)

pallets/token-wrapper-handler/src/tests_bridge.rs
100.00% <ø> (ø)

pallets/vanchor/src/lib.rs
76.66% <ø> (ø)

pallets/vanchor/src/test_utils.rs
100.00% <ø> (+4.54%)
:arrow_up:

pallets/xanchor/src/lib.rs
0.00% <ø> (ø)

... and 29 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 a68971c...5cbdb25. Read the comment docs.


Use new Cloud Runtime API classes

I'm happy to merge but I wonder if it's better to keep this open for a bit as a reminder that we need to do the same for the other ttc-connectors-* projects?

@ryandawsonuk I'm fine with that.


How to find the package that required a package that caused a conflict?

Hi, I'm trying to update AUR packages, but I've encountered the following problem:
LANG=C pacaur -Sau                                                                                ⏎
:: Starting AUR upgrade...
:: resolving dependencies...
:: looking for inter-conflicts...
:: mesa-libgl and catalyst-libgl are in conflict (libgl). Remove catalyst-libgl? [y/N] n
:: unresolvable package conflicts detected
:: failed to prepare transaction (conflicting dependencies)
:: mesa-libgl and catalyst-libgl are in conflict

Could you tell me how can I find the AUR package that requires mesa-libl ?

 See #515.

Hopefully not :smile:
I think that you did't understood me correctly, so here you have a better explanation.
I encounter this problem twice a year and never know how to solve it quickly.
Ideally I would like to see message like
:: mesa-libgl (required by ??) and catalyst-libgl are in conflict (libgl). Remove catalyst-libgl? [y/N] n

where ?? is the name of AUR package that pacaur is trying to update.
It would be helpful to know the name of this package, so I can remove it for example.
It's easy to get a list of packages that requires catalyst-libgl with pacman -Sii package-name:
LANG=C pacman -Sii catalyst-libgl
Repository      : catalyst-hd234k
Name            : catalyst-libgl
Version         : 13.1-8
Description     : AMD/ATI Catalyst legacy drivers. Catalyst drivers libraries symlinks.
Architecture    : x86_64
URL             : http://www.amd.com
Licenses        : custom
Groups          : None
Provides        : libgl
Depends On      : catalyst-utils  mesa>=10.1.0-4
Optional Deps   : None
Required By     : 0ad  abuse  alienarena  allegro  amdstream  apitrace  assaultcube  blobby2  btanks  cairo  caph  clanlib  clementine
                  coin  compton  critter  dangerdeep  dgen-sdl  directfb  dosbox  epplet-base  erlang-sdl  freedroidrpg  freeglut
                  gl2ps  glee  glfw  glfw-doc  glhack  glitz  glob2  glu  gnome-session  gnustep-back  haskell-openglraw  higan
                  irrlicht  irrlicht-docs  kmscon  libasl  libreoffice-fresh  libreoffice-still  libretro-mupen64plus  libretro-reicast
                  libva  libva-vdpau-driver  libvdpau-va-gl  lincity-ng  love08  luxmark  luxrays  luxrender  megaglest  mesa-demos
                  mplayer  mpv  mysql-workbench  mythtv  naev  neverball  nvidia  nvidia-304xx  nvidia-304xx-lts  nvidia-340xx
                  nvidia-340xx-lts  nvidia-dkms  nvidia-lts  opencsg  openra  pingus  processing  projectm  projectm-qt  projectm-test
                  pymol  qemu  qt4  qt5-base  retroarch  sauerbraten  scummvm  sdl2  simplescreenrecorder  squeak-vm  stellarium
                  tigervnc  tiled  ufoai  uqm  webkitgtk  webkitgtk2  wlc  xawtv  xorg-server  xorg-server-xephyr  xorg-server-xvfb
                  xorg-server-xwayland  xorg-xdriinfo
Optional For    : alsaplayer  catalyst-utils
Conflicts With  : libgl
Replaces        : None
Download Size   : 1456.00 B
Installed Size  : 37888.00 B
Packager        : Vi0L0<EMAIL_ADDRESS>Build Date      : Sat Mar 15 17:13:23 2014
MD5 Sum         : 64da47185f8058811c65a40666345895
SHA-256 Sum     : 92721476a19e4ca9cc16b943c9c47e899cdab37a3f16f7a8fc8d2e1906943886
Signatures      : ABED422D653C3094

but searching for AUR packages in similar fashion using pacaur doesn't return anything:
LANG=C pacaur -Saii mesa-libgl
:: no results found

To sum up:

I'm updating aur packages
I know that at least one of them requires mesa-libgl and causes conflicts
I don't know which one

Cheers.

In that case your request in similar to #173. And there is no easy way to achieve this, as the RPC interface is quite limited.

Ok. I see. Thanks for info.


How to get diff by this api?

Hi
I  want to get

number od addiline or dleteline.
Could you tell me how to do it by this tool?
Thanks

GitClientBase().get_commit_diffs does not seem to retrieve the full history. The API spec says it should return a value newContent which I do not see in my returns.


Support multiple locales

This issue is used to track the popularity of adding multiple locale support. Feel free to provide relevant feedback, or indicate support with a 👍. We can make no guarantees about supporting such a feature, but your feedback is greatly appreciated, and will help prioritize any work we undertake.

I dont know if me adding a comment will do much difference, but i say, hear hear!

My first suggestion is to support ; as list separator and/or add a setting so that a user can define/select that character by him/herself, if e.g. the list separator can not be retrieved from the windows settings.
My second suggestion is to add the localization of the Excel functions, as many people out there use Excel in their language and AFE currently only knows the english Excel functions.
My third suggestion is to localize AFE itself to different languages.

English is now spoken by less than 400 million people as a mother tongue. If the second language speakers are added (a good 600 million), the number is 1 billion plus speakers. World population is about 8 billion. Do you really want to discriminate nearly 7 billion people? ☹

Localization ( ; instead of ,) is an must.  Unusable otherwise.

For me, English only is quite OK as language support.
But locale support is really required for it to be usable at all - in the form of correct separator (system separator) and preferably also auto-translation / recognition of the function library similar to FormulaLocal in VBA.
Until other locales are supported I recommend a line in the description stating that English system settings are required for functionality.
Thanks for your efforts!

It really needs to have support for locales that use semi-colon(;).

Must have feature for many compaines around the World. The seperator "," to ";" support is urgently needed at least.

Please, hurry up!

Would be nice to have support for locales that use semi-colon(;).

I have exactly the same Issue, im using a Scandinavian version of O365 and when i try to use AFE i can import Functions from text and URL's but AFE will not sync to Name manager because of my language settings, If i then do replace all Commas"," to Semicolons ";" and then save it again. then everything after the first Semicolon disappears without warning. so for us not using American language Setting the Name manager is still a better option.
This issue should be prioritized and it would be nice if AFE when Importing from Github Gist automatically would identify Origin language setting and convert to the users language setting Automatically
Please solve this fast.

If locale support is not easily achieved, maybe it is a solution to convert from formula using e.g. ";" to AFE using ",".
That way you would not need to find an alternate solution for the formula delimiting ";" in AFE.

I am working on an update to AFE that will support loading and saving with workbooks in locales using ";" as an argument separator. Within AFE, you will still be required to write formulas using ",", however with the update we will do the translation on read and write to the workbook.
The update may include support for function name localisation for some locales. No confirmation yet. In the case that we do not provide function name localisation, we will disable English autocomplete, as well as errors for unrecognised English names.
I appreciate that this is not a complete solution, but it will enable the use of AFE for workbooks using ";". Today, AFE is completely broken if you try to interact with workbooks using ";".
Further stages of localisation, such as writing within AFE using ";" require significantly more work, which is why this is not included in the proposed work.

We have just updated AFE to support some localization, in particular:

AFE is now usable when using ;. You still need to authoring in AFE using ,, but we are able to dynamically translate on load/save.
Function names are localised.

We'll be adding support for authoring in AFE using ; in an upcoming release.

We have just released an update than now allows you to author formulas using the locale's separators.

In the modules tab, use ;; to separate definitions when ; is the argument separator:
IFOMITTED = LAMBDA(value; value_is_blank; IF(ISOMITTED(value); value_is_blank; value));;

example = IFOMITTED("hello"; "world");;

Thank you indeed !!!

The localization we use is not available as an API. If it fits within your constraints, one workaround might be to use the range API to translate:

Write to https://learn.microsoft.com/en-us/javascript/api/excel/excel.range?view=excel-js-preview#excel-excel-range-formulas-member
Read from https://learn.microsoft.com/en-us/javascript/api/excel/excel.range?view=excel-js-preview#excel-excel-range-formulas-member
Write the result into name manager.

(I've not checked if this works).

I'll look into that, thanks.

see also #78


Integrate test harness run into CI

Running the test harness against a node should be included as a job in our circle ci build.

Feature implemented


🧑💻 : Add footer section for nav links

:red_circle: Adding Footer section
:red_circle: Adding footer section for easy navigation
:red_circle: I feel there should be a footer section which would be providing all the necessary nav links and also adding copy right would be great. Please assign this task to me. Looking forward to contributing
Name : Sathvik Pasuvula
GSSoC'24-ext Contributor | Hacktoberfest'24 participant

I'd like to work on this issue. Can you kindly assign me this task?
Thanks,
Deven

@sathvik9105 I'd like to work on this issue. Can you kindly assign me this task?
Thanks,
Deven

you can assign this task to me..

share the ui

🔴 Adding Footer section 🔴 Adding footer section for easy navigation 🔴 I feel there should be a footer section which would be providing all the necessary nav links and also adding copy right would be great. Please assign this task to me. Looking forward to contributing
Name : Sathvik Pasuvula GSSoC'24-ext Contributor | Hacktoberfest'24 participant

Can you please assign this task?


[fix](jdbc catalog) Optimize JDBC Connection Closing to Ensure ProperResource Release #43059

cherry pick from #43059

run buildall


Do Q/A with csv agent and multiple txt files at the same time.

Issue you'd like to raise.
I want to do Q/A with csv agent and multiple txt files at the same time. But I do not want to use csv loader and txt loader because they did not perform very well when handling cross file scenario. For example, the model needs to find answers from both the csv and txt file and then return the result.
How should I do it? I think I may need to create a custom agent.
Suggestion:
No response

You could try giving the agent access to a ReadFile tool and the CSV agent.

You could try giving the agent access to a ReadFile tool and the CSV agent.

Would you mind I ask how to do it?

Yes yes you can do this, checkout this github repo where i am training my txt files and csv too
github repo url : https://github.com/Mohammedvaraliya/chatbot-with-custom-knowledge-testing
right now, you wont see any csv file on my context data directory, becuase i have tried to ask the question which was related to that csv file, the bot had respond me but not that much good, i would say, we have to format our csv in a right format, then only it will able to give accurate response

I tried using multiple tools and created an agent with those tools. The tools include dataframe tool and directoryloader tool. The answers were really good compared with directly asking the tool. Does anyone have ideas on how to improve this?

I tried using multiple tools and created an agent with those tools. The tools include dataframe tool and directoryloader tool. The answers were really good compared with directly asking the tool. Does anyone have ideas on how to improve this?

Would you mind sharing your code? Thanks

Actually, I am having an issue with the agent. When the agent finds the right Dataframe and columns then the agent should stop the observation but the agent still doing observation multiple times. I want the agent to just give the final answer with the right observation.
kindly suggest something how can I overcome this issue.


pip install -U doesn't get the latest version

pip install -U Qt.py returns version 0.2.2 for me (although 0.2.3 is available).
I'm very unfamiliar with how pip works and I've never distributed anything using it.
Do you have to perform any manual labour in order to get the newer 0.2.3 out onto PyPi?
I was under the impression that the setup.py was supposed to handle that?
I had to curl down the newest Qt.py from the github repo today since I wasn't able to fetch it via pip.

In a nutshell, it works like this.

Create a setup.py, with project name and other metadata
Register a name on PyPI (python setup.py register`)
Upload to PyPI (python setup.py sdist upload)

Here's the shortest guide I could find.

http://peterdowns.com/posts/first-time-with-pypi.html

There are such a vast amounts of options available for producing these distributions, so most guides are very complicated.

Do you have to perform any manual labour in order to get the newer 0.2.3 out onto PyPi?
I was under the impression that the setup.py was supposed to handle that?

Yes, you need to upload it yourself. I've been doing that manually so far, but you can also tell Travis-CI to do it automatically whenever a new GitHub release is made. pyblish-base does that, for example.

https://github.com/pyblish/pyblish-base/blob/master/.travis.yml#L13

I'll set that up here as well. Then all we need to do is tag a release and it'll get uploaded automatically.

https://github.com/mottosso/Qt.py/releases

I've uploaded 0.2.3 manually for now, so updating should work again.

you can also tell Travis-CI to do it automatically whenever a new GitHub release is made

Ooh, nice. That we should do. I'm renaming this issue then, so we can keep track of the Travis-CI implementation.


Rig App: Create basic app framework that can be viewed standalone via animation_url

Sounds like we're going with svelte on this one since it compiles very small

Basic framework with mock badge data is  here: https://github.com/tablelandnetwork/rigs/tree/joe/animation_url/animation_url

@sanderpick I have the design in a good spot, how should we iterate/approve it?

Looks good! For the badges that layer over the rig, we have these svg icons: https://www.dropbox.com/sh/m6c3sk35rfdimci/AAC7Sf3viv8mnMZgDD4IMKjQa?dl=0.
We won't be adding the badges for a bit, but great that you have them in the layout already.

Oh nice!  I was thinking the images in figma were the badges, I'll swap those out now.

There's two styles, the "icon" style and then the full "image" style. The icon ones were designed to be used over the rigs without adding too much noise / new colors

The latest is deployed to ipfs: https://tableland.mypinata.cloud/ipfs/QmVjgFNPDJQeeLTcooLXqCZcLhhKQcj7zSrepdgAUhxYyH?rig=1
The pilot and badges are still hard coded fake data

@joewagner what do you think about PRing this to main? ie, https://github.com/tablelandnetwork/rigs/compare/joe/animation_url?expand=1

Sounds good to me, but when I run the svelte app it looks like the wrong rig is showing.  Are the queries for the rig going to a test table or something?

Rig 5 shows https://nftstorage.link/ipfs/bafybeiaiqhz5n4475fbwl7ja6hppjbpnhynwxf23vqfcsqalbkvxcmf47u/5/image_medium.png
but rig 5 is an airelight
https://opensea.io/assets/ethereum/0x8eaa9ae1ac89b1c8c8a8104d08c045f78aadb42d/5

oh yeah, that's cause it's pointing to the mumbai contract, which I think is fine for now


Remove bond.

We had a reference to bond on the Azure.Quantum.Client just for a Prototype parameter which was never used.
This is an unnecessary and heavy reference.
I'm changing the signature and removing the reference to the package.

@anpaz-msft Can this be merged?


ReferenceError: regeneratorRuntime is not defined

When using the plugin (3.0.1) with Shopware <IP_ADDRESS> nothing happens after clicking the Duplicate context menu item.
The browser console shows:
An error was captured in current module: ReferenceError: regeneratorRuntime is not defined
    duplicateElement https://www.acme.com/bundles/imidicategoryduplicator/administration/js/i-midi-category-duplicator.js?1721921026:1
    duplicateElement https://www.acme.com/bundles/administration/static/js/app.js?1721921026:79
    duplicateElement https://www.acme.com/bundles/administration/static/js/app.js?1721921026:79
    onDuplicate https://www.acme.com/bundles/administration/static/js/app.js?1721921026:79
    onClick https://www.acme.com/bundles/administration/static/js/app.js?1721921026 line 43 > Function:334
    t4 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    t2 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    n https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    at https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
app.js:79:181957
    errorCaptured https://www.acme.com/bundles/administration/static/js/app.js?1721921026:79
    t4 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    t2 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    __weh https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    t5 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    t4 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    t2 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    n https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    (Async: EventListener.handleEvent)
    at https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    patchProp https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    patchProp https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    P https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    O https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    X https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    Z https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    W https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    X https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    Z https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    W https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    $ https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    G https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    $ https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    G https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    $ https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    P https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    O https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    $ https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    P https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    O https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    X https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    Z https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    W https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    X https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    Z https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    W https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    $ https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    G https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    $ https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    G https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    $ https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    P https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    O https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    $ https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    P https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    O https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    X https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    Z https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    W https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    X https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    Z https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    W https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    X https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    Z https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    W https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    X https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    Z https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    W https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    j https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    V https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    O https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    x https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    run https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    update https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    t4 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    e https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    (Async: promise callback)
    na https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    no https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    eW https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    eG https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    tP https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    effect https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    eW https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    eG https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    eq https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    e6 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    set https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    openMenu https://www.acme.com/bundles/administration/static/js/app.js?1721921026:69
    onClickButton https://www.acme.com/bundles/administration/static/js/app.js?1721921026:69
    t4 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    t2 https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39
    n https://www.acme.com/bundles/administration/static/js/app.js?1721921026:39

Thank you for the report. We are currently not actively developing the plugin, but might come to the issue later.
Pull requests are very welcome though.

The regeneratorRuntime call is mentioned in the build but not in our source but not in our source
@kdambekalns
Did you already try to call bin/build-administration.sh to see if it helps (make sure, jq is installed so all modules can be rebuilt) ?


Add a build target for moonp.so

I can't use luarocks and want to build moonp.so manually, but the makefile does not seem to support this.

Build target added, you can now build moonp.so file with command make shared LUAI=/usr/local/include/lua LUAL=/usr/local/lib/lua, see 1afca4888b2ee8e49c2e4d0bef478d0728d5ed41

Nice, thank you.


Feat/axelar proxy

In general looks good to move forward to audit. I made some small suggestions and had questions that would be great to get clarity on before wrapping it up.
That all said, I think there are the risk vectors associated to what the toggle was supposed to do in AxelarProxy.sol. What is the resolution process if Axelar is hacked? I suppose Cellars fully relying on msg communications using Axelar would be in withdrawOnly mode where users could withdraw in those networks. Obviously that is not ideal for users though.
I think Resolution processes should be discussed openly in an issue as this feature is developed and deployed.

As well, please confirm that I am understanding this PR details (might be just that I am newer to the Axelar setup since we're both working on a multitude of different things nowadays!)

AxelarProxy.sol: the proxy contract itself that will be deployed on alternative chains. It is the touch point for us, and showcases that we can set things up to execute various actions in an alternative chain.
DeployProxy.s.sol: the deployment script just testing out deployment of the Proxy contract.
MockSommelier.sol & SendMessageToArbitrum.s.sol —> together tests out how Sommelier (Steward) would actually make the call with Axelar.

MockSommelier.sol: showcases how Sommelier (Steward) would prepare data and pass it along to Axelar gateway, ultimately to a proxy contract on an alternative chain.
SendMessageToArbitrum.s.sol: simply the script to carry out this test.

Question: Sommelier determines what the payload will carry out, and the destination chain Proxy contract will check with the Axelar Gateway if a certain payload is an approved action right? If so, how does that all work, this is something that needs to be well documented / our resources need to point to it so others can understand this when they want to work with the Sommelier protocol.
- On the Sommelier side, it would be regular $SOMM governance dictating what is passed to be created on these alt chains, and then further coordination/whitelisting with Axelar would be needed I assume?


Create a Webpage

As a test user
I want to see the program's output displayed on a website
So that I can access it with a browser
Scenario: Content available on a website
Given the application is running locally
When I open my browser to the local URL
Then I see my program's output in a webpage

Imagine some example URL here.

AI: What kind of program are we talking about here? Does it require any special configurations for web deployment? What kind of output does the program generate? How should the output be presented on the webpage? Does the webpage need to be interactive? What kind of browser should be used to access the webpage? No questions.

AI: To develop an effective solution for creating a webpage to display program output, you should consider asking the following questions:

What is the expected format of the program's output? Is it a file, a database query, or some other type of data?

What is the programming language in which the output is produced? This will help determine the best approach for displaying it on a webpage.

What is the target audience for the webpage? Are there any specific design or usability requirements to be taken into consideration?

Will the webpage be static or dynamic? Will the content change frequently or will it be updated infrequently?

What is the hosting environment for the webpage? Will it be hosted on a local server or a cloud provider?

What are the security requirements for the webpage? Will the data be encrypted? Will authentication be required for access to the webpage?

Answering these questions will help you design an effective solution that meets the needs of your stakeholders and delivers the desired outcome.


net: ipv4 chosen first when ipv6 is available

Go version
go version go1.22.5 darwin/amd64
Output of go env in your module/workspace:
GO111MODULE='auto'
GOARCH='amd64'
GOBIN=''
GOCACHE='/tmp/.gocache'
GOENV='/Users/rittneje/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/rittneje/test/pkg/mod'
GONOPROXY='[REDACTED]'
GONOSUMDB='[REDACTED]'
GOOS='darwin'
GOPATH='/Users/rittneje/test'
GOPRIVATE='[REDACTED]'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/Users/rittneje/go1.22.5'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='local'
GOTOOLDIR='/Users/rittneje/go1.22.5/pkg/tool/darwin_amd64'
GOVCS='[REDACTED]'
GOVERSION='go1.22.5'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/rittneje/test/src/dialtest/go.mod'
GOWORK='/Users/rittneje/test/go.work'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/kf/kr7_s3xx0l12zbj3jrn082hmzy5gvy/T/go-build666976387=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?
package main

import (
	"context"
	"log"
	"net"
	"net/http/httptrace"
)

func main() {
	d := &net.Dialer{}

	ctx := httptrace.WithClientTrace(context.Background(), &httptrace.ClientTrace{
		DNSStart: func(info httptrace.DNSStartInfo) {
			log.Printf("DNSStart: %q", info.Host)
		},
		DNSDone: func(info httptrace.DNSDoneInfo) {
			log.Printf("DNSDone: %s", info.Addrs)
		},
		ConnectStart: func(network, addr string) {
			log.Printf("ConnectStart: %s %s", network, addr)
		},
		ConnectDone: func(network, addr string, err error) {
			log.Printf("ConnectDone: %s %s %v", network, addr, err)
		},
	})

	c, err := d.DialContext(ctx, "tcp", "www.google.com:443")
	if err != nil {
		panic(err)
	}
	defer c.Close()

	log.Printf("RemoteAddr: %s", c.RemoteAddr())
}

What did you see happen?
On a network where IPv4 is blocked:

2024/08/08 16:03:47 DNSStart: "www.google.com"
2024/08/08 16:03:47 DNSDone: [{<IP_ADDRESS> } {2607:f8b0:4006:809::2004 }]
2024/08/08 16:03:47 ConnectStart: tcp <IP_ADDRESS>:443
2024/08/08 16:03:48 ConnectStart: tcp [2607:f8b0:4006:809::2004]:443
2024/08/08 16:03:48 ConnectDone: tcp [2607:f8b0:4006:809::2004]:443
2024/08/08 16:03:48 RemoteAddr: [2607:f8b0:4006:809::2004]:443

This shows that it incorrectly tried IPv4 first, and then fell back to IPv6.
(The above output is from running on Linux ARM with the netgo build tag, not on macos.)
What did you expect to see?
As per the documentation in net, it should follow "happy eyeballs" and dial IPv6 first, and only fall back to IPv4 if that doesn't work.
If the current behavior is intentional, then the documentation ought to be corrected.
This was previously reported in https://github.com/golang/go/issues/54928 but was not fixed.

Related Issues and Documentation

net: ipv4 chosen first when both ipv4 and ipv6 are available #54928 (closed)
net: Dial does not respond to quickly-broken IPv6 connections by falling back to IPv4 #68237
net: Setting LocalAddr to v4 address in net.Dialer not effective if v6 available #14672 (closed)
net: Resolve{TCP,UDP,IP}Addr returns IPv4 address on host without IPv4 connectivity #28666
net: LookupNetIP returns IPv4 in IPv6 instead of IPv4 #53554 (closed)
net: enable happy eyeballs by default #22225 (closed)
net: Resolver doesn't use provided Dial function in all cases #60712
net: Dial only tries one address, fails on IPv6-only system if that addr is IPv4 #8124 (closed)
net: PreferGo DNS resolver failure #56107 (closed)
net: cgo dns resolver doesn't work as expected. #66114 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

cc @ianlancetaylor @neild

It looks like we prefer IPv4 since https://go.dev/cl/8360.  That does seem to contradict RFC 6555, which says that we should try IPv6 first.  That RFC is obsoleted by RFC 8305.  The latter requires that we use whichever DNS answer we get first, but we don't seem to do that at all; we collect all the DNS answers before we try opening any connection.
Changing this might be as simple as changing isIPv4 to isNotIPv4 at https://go.googlesource.com/go/+/refs/heads/master/src/net/dial.go#522.

Our dial algorithm doesn't match the behavior in RFC 8305 at all. We dial each address within a family serially, only trying a fallback address after the previous one has failed. RFC 8305 recommends sorting all addresses into a single list with IPv4 and IPv6 interleaved, and adding racing dials over time.
I can't tell if we take into account whether the local system has any IPv4/IPv6 connectivity. I think we don't, which means we'll try to dial addresses for families where we have no local address. These dials should fail quickly, so I don't know how much of a problem that is.
Any changes here should take errors into account. When a dial fails, we currently return the error for the first dial attempt made. If our first attempt fails because the system has no connectivity for the address family, and a subsequent attempt fails for some other reason (ECONNREFUSED, say), returning the first error is confusing and masks useful information. This is #18183 and a long standing problem, but we should be careful not to make matters worse.
I'm concerned that changing Dial to prefer IPv6 over IPv4 will cause breakage. What's the fallback for users who encounter problems? Maybe there should be a net.Dialer option to set the preferred address family?


DXGI format does not support cross-API sharing

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
4.17
Custom code
Yes
OS platform and distribution
Windows 10
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I'm using tensor flow's pose-detection model and a canvas is drawing in a webcam feed with p5.js but in my system i'm not able to see the green lines drawn on my p5 and getting my console filled with these
514:1 DXGI format does not support cross-API sharing.
at ValidateVideoTextureCanBeShared (....\third_party\dawn\src\dawn\native\d3d12\TextureD3D12.cpp:183)
[Invalid Texture] is invalid.

While calling [Invalid Texture].CreateView([TextureViewDescriptor]).

Standalone code to reproduce the issue
514:1 DXGI format does not support cross-API sharing.
    at ValidateVideoTextureCanBeShared (..\..\third_party\dawn\src\dawn\native\d3d12\TextureD3D12.cpp:183)

[Invalid Texture] is invalid.
 - While calling [Invalid Texture].CreateView([TextureViewDescriptor]).
This is console filled with when starting the video feed with tensor flow pose detection

Relevant log output
514:1 DXGI format does not support cross-API sharing.
    at ValidateVideoTextureCanBeShared (..\..\third_party\dawn\src\dawn\native\d3d12\TextureD3D12.cpp:183)

[Invalid Texture] is invalid.
 - While calling [Invalid Texture].CreateView([TextureViewDescriptor]).

@VivekEedeeCreations,
Looks like this issue is not related to tensorflow. AFAIK the reason might be that Some surface formats are not compatible with Direct2D operations regardless of how they are used. This message indicates that the application should choose another surface format.
https://learn.microsoft.com/en-us/windows/win32/direct2d/d1128
https://github.com/mpv-player/mpv/issues/11206
Thank you!


Extension compilation error: "Doesnt exist in the current context" (BC13 on prem)

Hi All,
I think this could be a bug, very strange thing:
-BC13 on prem.
-pageextension 50089 UserList extends Users
-I've tried adding the Rec but it doesn't work
                Clear(R50027);
                R50027.SetSourceUserID(Rec."User Name", Rec."Full Name");
                R50027.run;

compiler error, before compiling all is fine
Objects/Page%20Extensions/Pag-Ext50089.UserList.al(17,44): error AL0118: The name 'Rec' does not exist in the current context
Objects/Page%20Extensions/Pag-Ext50089.UserList.al(17,61): error AL0118: The name 'Rec' does not exist in the current context
thanks a lot.

Hi, this issue is out of scope of for this repository. You should do one of the following:

Open a support request to CSS through the PartnerSource portal
Open a bug in Collaborate
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL.

Hi, this issue is out of scope of for this repository. You should do one of the following:
* Open a support request to CSS through the PartnerSource portal

* Open a bug in Collaborate

* Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL.

What??? I'm telling you this is a compiler error, is not a code issue. The code is fine before compiling it.

It's out of scope because it's for BC13. This repo is only for the latest version of the AL compiler and runtime.

It's out of scope because it's for BC13. This repo is only for the latest version of the AL compiler and runtime.

I see. Can you try to reproduce it in latest BC?


Support

why dont use the epvp # 1 ?

Fizo55 i have problem error
on this image http://imgur.com/a/n2bjS

personaly i don't like epvp.
@RiverCZE ENABLE PHP SHORT TAG!


Arrow function used ambiguously with a conditional expression

I am trying to do a conditional for my button height, but I bumped into an error of Arrow function used ambiguously with a conditional expression. Any idea how can I right this error? Thanks in advance.
export const CTABtnContainer = styled.div`
  & > a {
    padding: 10px 24px;
    height: ${props => props.small ? '32px' : '40px'};
  }
`;

This sounds like an ESLint error. Just wrap you function body in parens.


Add infinite scroller using the IntersectionObserver

Add a modern implementation of an infinite scroller using the IntersectionObserver API.
Basically the code example attached to the following post by Surma is a good place to start:
https://developers.google.com/web/updates/2016/04/intersectionobserver
Code/demo: https://googlechrome.github.io/samples/intersectionobserver/

You'll see it 👍

@phuoc-ng  you're awesome :) I'll open more soon!


During Checkout, global close button should display "Cancel payment"

Instead, it currently displays "Back to {{ appName}}", because that is what is used in the BaseLayout. But for the checkout layout, it needs to display "Cancel payment", just like in the AccountsManager.

63cc4d168a64a28313436b3ba4bac7a2b10036cf, to be merged after #119, because it already uses the button.


[#noissue] cleanup duplicate logs

Codecov Report

Merging #5736 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #5736      +/-   ##
=========================================
+ Coverage    40.6%   40.6%   +<.01%
=========================================
  Files        2914    2914
  Lines       87574   87554      -20
  Branches    11554   11544      -10
=========================================
- Hits        35558   35553       -5
+ Misses      48937   48926      -11
+ Partials     3079    3075       -4

Impacted Files
Coverage Δ

...ector/handler/thrift/ThriftApiMetaDataHandler.java
0% <ø> (ø)
:arrow_up:

...llector/handler/thrift/ThriftAgentInfoHandler.java
0% <ø> (ø)
:arrow_up:

...ector/handler/thrift/ThriftAgentStatHandlerV2.java
68.96% <ø> (+2.29%)
:arrow_up:

...ector/handler/thrift/ThriftSqlMetaDataHandler.java
5.26% <ø> (+0.5%)
:arrow_up:

...llector/handler/thrift/ThriftSpanChunkHandler.java
0% <ø> (ø)
:arrow_up:

...or/handler/thrift/ThriftStringMetaDataHandler.java
0% <ø> (ø)
:arrow_up:

...nt/collector/handler/thrift/ThriftSpanHandler.java
20% <ø> (+2.35%)
:arrow_up:

...lector/handler/thrift/ThriftAgentEventHandler.java
0% <0%> (ø)
:arrow_up:

...collector/receiver/grpc/ShutdownEventListener.java
0% <0%> (-50%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

... and 5 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 8a3cd33...9eaa289. Read the comment docs.


Can not revoke cert

Running
/usr/local/sbin/letsencrypt.sh --cron --domain some.do   --challenge http-01  --config .letsencrypt/config.sh
INFO: Using main config file .letsencrypt/config.sh
Processing  some.do

Checking domain name(s) of existing cert... unchanged.
Checking expire date of existing cert...
Valid till Jun 27 10:11:00 2016 GMT (Longer than 14 days). Skipping renew!

While  I run
/usr/local/sbin/letsencrypt.sh --revoke certs/some.do/fullchain-1459249840.pem  --domain some.do --challenge http-01 --config .letsencrypt/config.sh
INFO: Using main config file  .letsencrypt/config.sh
Revoking certs/some.do/fullchain-1459249840.pem

Done.
Renaming certificate to    certs/some.do/fullchain-1459249840.pem-revoked

and of course then
/usr/local/sbin/letsencrypt.sh --revoke certs/some.do/fullchain-1459249840.pem-revoked  --domain some.do --challenge http-01 --config .letsencrypt/config.sh
Revoking certs/domain.do/fullchain-1459249840.pem-revoked

ERROR: An error occurred while sending post-request to https://acme-v01.api.letsencrypt.org/acme/revoke-cert (Status 409)

Details:
{"type":"urn:acme:error:malformed","detail":"Certificate already revoked","status":409}
.letsencrypt/config.sh contains
BASEDIR=/location/some.do
WELLKNOWN="${BASEDIR}/.well-known/acme-challenge"
PRIVATE_KEY="${BASEDIR}/.letsencrypt/private_key.pem"
etc.
How come the site certificate is listed as revoked but I can not get new one because  it valid  until Jun 27?

letsencrypt.sh is looking for cert.pem, which still is pointing to a valid place and seems valid, it doesn't check with the server if the certificate has been revoked.
if you run the revoke command on cert-1459249840.pem (or just delete it, or run the command with -x to force renew) it should work.