chore: Update default branch references

Feature or Problem
Since #36 was addressed, we need to update the hardcoded references to the updated default branch name.
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

@brooksmtownsend I don't believe the failure here is related to my changes, and I don't mean to speculate about what might've gone wrong with the random seed we generated, so maybe it's just best to give CI the retry and see if it happens again?


Add support of non-default port number (5555)

Are you working on it? Because this feature is needed for the new wifi debugging of android 11.

Implemented in v1.2.4


Feature Request: terminus site backups [get|set]-schedule

Use case 1:
We manage a lot of sites.  Since our scripts are unable to enable scheduled backups, we do that manually.  Occasionally the manual process fails and we find that backups are not scheduled for a site, which is a serious problem.  I'd love to be able to enable scheduled backups with terminus.
Use case 2:
Periodically we want check that backups are running on all of our sites. I'd love to be able to use terminus to show whether or not backups are scheduled for a site. (Presently, I use backups list and analyze the time intervals between backups for the past 7 days.  Intervals > 36 hours alert us to a problem.  This took a bit of code...)

This is definitely something we want to implement in the near future.


Web API with sharepoint

This material looks really promising.  What is site_url?  Is it the url of the website?  The sharepoint site?  An explanation would be hepful.

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

ID: da51381a-7a39-8c31-8af8-b05ecafc377a
Version Independent ID: 693ecf1c-8e75-1f61-0264-fbdefaff0968
Content: Working with folders and files with REST
Content Source: docs/sp-add-ins/working-with-folders-and-files-with-rest.md
Product: sharepoint
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

The https://{site_url} reprensents the current site url.
In actual use, we usually add _spPageContextInfo.webServerRelativeUrl in front of the REst API before making a request. The value of _spPageContextInfo.webServerRelativeUrl is the address of the relative path of the current site. When making a request, SharePoint will automatically add the URL of the web application in front of the API.
Example:

URL:http://spwfe/sites/dev/_layouts/15/viewlsts.aspx?view=15
The site_url is spwfe/sites/dev
 _spPageContextInfo.webServerRelativeUrl:/sites/dev
URL:http://spwfe/sites/dev/project/default.aspx
The site_url is spwfe/sites/dev/project
 _spPageContextInfo.webServerRelativeUrl:/sites/dev/project
URL:http://spwfe/_layouts/15/settings.aspx
The site_url is spwfe
 _spPageContextInfo.webServerRelativeUrl:/

Code example:
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
<script>
  test()
  function test() {
    console.log(_spPageContextInfo.webServerRelativeUrl+"/_api/web/GetFolderByServerRelativeUrl('/sites/dev/Shared Documents')")
    $.ajax({
      url: _spPageContextInfo.webServerRelativeUrl+"/_api/web/GetFolderByServerRelativeUrl('/sites/dev/Shared Documents')",
      method: "GET",
      headers: { "Accept": "application/json; odata=verbose" },
      success: function (data) {
        console.log( data)
      },
        error: function (data) {
          console.log(data);
        }
      });
  }
</script>

Test result:

Amos Wu
Microsoft SharePoint Community Support

Thank you!
Roland Wales
Senior Programmer/Analyst
207 656-2487
From: Amos_MSFT<EMAIL_ADDRESS>Sent: Wednesday, February 17, 2021 9:30 PM
To: SharePoint/sp-dev-docs<EMAIL_ADDRESS>Cc: Wales, Roland<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [SharePoint/sp-dev-docs] Web API with sharepoint (#6722)
EXTERNAL: This email originated from outside of the State of Maine Mail System. Do not click links or open attachments unless you recognize the sender and know the content is safe.
The https://{site_url} reprensents the current site url.
In actual use, we usually add _spPageContextInfo.webServerRelativeUrl in front of the REst API before making a request. The value of _spPageContextInfo.webServerRelativeUrl is the address of the relative path of the current site. When making a request, SharePoint will automatically add the URL of the web application in front of the API.
Example:

URL:http://spwfe/sites/dev/_layouts/15/viewlsts.aspx?view=15
The site_url is spwfe/sites/dev
_spPageContextInfo.webServerRelativeUrl:/sites/dev
URL:http://spwfe/sites/dev/project/default.aspx
The site_url is spwfe/sites/dev/project
_spPageContextInfo.webServerRelativeUrl:/sites/dev/project
URL:http://spwfe/_layouts/15/settings.aspx
The site_url is spwfe
_spPageContextInfo.webServerRelativeUrl:/

Code example:

Test result:
[Image removed by sender. iiii]https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F56672877%2F108296300-3c15d000-71d4-11eb-8f49-640aea82e8c8.PNG&data=04|01|roland.wales%40maine.gov|979c817e5fca4b8218fd08d8d3b527bb|413fa8ab207d4b629bcdea1a8f2f864e|0|0|637492122298453857|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=au2K%2Flu0dPBJCP7mqv1sD62LG63%2BG5Jn81sU2u7lJPw%3D&reserved=0
Amos Wu
Microsoft SharePoint Community Support

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F6722%23issuecomment-780998685&data=04|01|roland.wales%40maine.gov|979c817e5fca4b8218fd08d8d3b527bb|413fa8ab207d4b629bcdea1a8f2f864e|0|0|637492122298463813|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=RAhPdVs31WC9R%2FxULZJEEpnonLABRJRQgfCMo3ANHZQ%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAC7MELVBAULC674UGEAXW23S7R3UHANCNFSM4XZAYCSA&data=04|01|roland.wales%40maine.gov|979c817e5fca4b8218fd08d8d3b527bb|413fa8ab207d4b629bcdea1a8f2f864e|0|0|637492122298463813|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=hMuKZr7hHY5MpCVbRSAGe8UQrTW140EBQ03mZ%2F3JU2Y%3D&reserved=0.


JS Injection: Block spawn(), block child_process (+ review other similar commands)

Description
Per report 681L2A1M, we should be blocking javascript like
require("child_process").exec('nc...')

We also need to review which other commands might be similar and add them to the corresponding list.

since we already have two Node.js injection rules (934100 and 934101) I would start by adding REQUEST_FILENAME to the variable list of those rules

it's going to be fixed by #2893

Closing this, since #2893 has been merged.


webpack usage?

Hi,
Curlyfy looks great; would love to give it a try with webpack/babel. Is there a loader for it?

https://github.com/rstuven/curlyfy-loader :)

Well would you look at that! Thanks @rstuven !
(consider linking in the README?)
This is separate, but would also be awesome to see some more example code / status of the project...


Always symbolize field names.

Current coverage is 93.08% (diff: 100%)

Merging #21 into master will not change coverage

@@             master        #21   diff @@
==========================================
  Files            12         12
  Lines           347        347
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            323        323
  Misses           24         24
  Partials          0          0

Powered by Codecov. Last update e813e8b...b28893e


Model Converge Problem

I am training on a medium-scale dataset that consists of 100,000 images. The learning rate and weight decay as the same as your config but still not working. Any opinion?
Regards,
Khawar Islam

What do you mean by not working, totally disconverge? Or performance not good. It will be useful if you are provide more information.
Two suggestions:

It is better to do data diagnosis first.
Train a standard ResNet on your dataset, to see whether it is data issue or model issue.

Did you train these methods from scratch or finetune with their pre-trained checkpoints. It will be important sometimes.
Our scripts currently only train from scratch, but it can be easy for finetuning using our pre-trained models.

Did you train these methods from scratch or finetune with their pre-trained checkpoints. It will be important sometimes.
I am training from scratch
Our scripts currently only train from scratch, but it can be easy for finetuning using our pre-trained models.
scratch

Hi, from our experiments, we do not our methods have convergence issue. it will be great if you can provide more training detailed info so I can help, e.g. what is the others method you train and what is the setup (scripts), what is the number of devices. Otherwise, it is hard to diagnose.

The network is kind of "sensitive". I used AdamW with learning rate decay and found it crashed when adjusting the learning rate. Note that I used the implementation of PyTorch in timm.

The network is kind of "sensitive". I used AdamW with learning rate decay and found it crashed when adjusting the learning rate. Note that I used the implementation of PyTorch in timm.

From my training, this should be a rare occurrence. And it is recommended to use gradient clipping.

Hi, From my experience with the architecture. It is very sensitive to warm-up epochs. When i used the implementation from timm with the warm up schedule of PyTorch-lightning it was diverging. But when i followed their warm up implementation it worked fine. The problem also happened with me once after when i did not use any augmentation by mistake.


Fix links in demo features and integrations pages

Closes #2361
Contributes to #2429

/cc @svrnm

@yurishkuro - feedback is still welcome (I'll address it in a followup PR, as necessary).


Understanding ATAC-amp parameters and interpreting output

Hello,
Thanks for this very useful package!
I just have a few questions after runnning on single-cell ATAC-Seq libraries generated from the 10X multiome kit. I ran using the following commands:
python /path/to/software/ATAC-amp/AtacAmp.py
--bam
--name <OUTPUT_PREFIX>
--isize_value 1000
--interval_size 1000
--mapq 30
--mode 0
--type sc
--gtf /path/to/hg38.ncbiRefSeq.gtf
--threads 16
I've attached output files from this run in "TEST_output.zip"
I just have a few questions:

Could you suggest how we interpret the output files of ATAC-amp, and how this can help prioritise identification of genuine eCDNA amplicons? Out of those in the attached "TEST_output.zip" do you think there are any promising candidates?
Please could you provide more details on some of the parameter settings:
a. --mode 0, 1, 2 - what are these different modes, and what is "--discbk"?
b.  --isize_value - what is this value and is 1000 recommended for both bulk ATAC-Seq and single-cell ATAC-Seq data?
c. --interval_size - as above what does this parameter control and is 1000 recommended for both bulk and single-cell ATAC-Seq data?
Is it possible to estimate the count/abundance of candidate ecDNA amplicons from the output of ATAC-amp?

Thanks very much
Best wishes
Ben
TEST_output.zip

Hi ben,
For your first question, "how we interpret the output files of ATAC-amp, and how this can help prioritise identification of genuine eCDNA amplicons? " For bulk ATAC-seq data in ‘bulk’ mode, there is only one main result from ATACAmp, the ‘.result’ file, which contains the possible eCDNA/hsr forming regions, ordered by score from highest to lowest will be. In single-cell ATAC data in ‘sc’ mode, this file will be slightly different, and in the last line of each possible ecdna/hsr region, there will be the barcode of cells that supports these regions for subsequent analyses at the cell population level. However, the results of the current ATACAmp analysis are very susceptible to the quality of the data, so for your data, I would suggest to do QC before analysing it using high quality reads, what I understand is that there are not many cases of fragments on chrY forming ecDNA, and you can prioritise regions carrying oncogenes and regions larger than 100kb.
About some parameters you mentioned
1, -Mode 0, 1, 2 is on behalf of using different input files to run ATACAmp, ‘0’ mode accept the bam file, ‘1’ mode accept the split reads and discordant reads file, and ‘2’ mode accept the interval file, in order to get the breakpoint information from other software for analysing and saving the time of running after adjusting the parameters.
2, -isize_value is the insert size of the discordant reads, this is related to the sequencing library construction method, but 1000 is a more suitable value for most of the second-generation sequencing methods on the market.
3, --interval_size controls the step size from the breakpoint when calculating the amplified region, 1000 is an empirical parameter, you can also try a larger value to speed up the calculation, or use a smaller value to make the boundaries finer.
Finally, at the moment ATACAmp still has limited resolution of single cells and cannot analyse abundance for the time being, but we will continue to build on this software with updates to detect variants in conjunction with new single-cell genome-level sequencing technologies.

For bulk ATAC-seq data in ‘bulk’ mode, there is only one main result from ATACAmp, the ‘.result’ file, which contains the possible eCDNA/hsr forming regions, ordered by score from highest to lowest will be.

I also have a few questions about the tool’s output for bulk data analysis and would appreciate some clarification.

I noticed that some interval sets include a main (or “max”) cycle along with several smaller cycles. Could you explain the relationship between these different cycles? Also, for subsequent analyses, would you recommend focusing on the max cycle, or are the smaller cycles equally important to consider?

I also observed that some interval sets contain many intervals (see below) though only a subset of these are included in the identified cycles. Could you clarify the relationship between intervals that are part of cycles and those that are not? Understanding this distinction will help me interpret the results more accurately.

Thank you very much for your assistance
GSM7634668.result_amplicon interval sets3: 107,1340,1,1336,143,110,128,1338,144,1342,2837,1333,1334,3074,129    245     180000
107     chr1    121182712       121187712       5000    SRGAP2C,FAM72B
1340    chr11   67627086        67635086        8000    TBX10,NUDT8
1       chr1    174020727       174024727       4000    RC3H1
1336    chr11   63936906        63939906        3000    NAA40
143     chr1    149837418       149844418       7000    H3C14,H2AC19,H2AC18,H3C15
110     chr1    143971238       143975238       4000    SRGAP2D,FAM72C
128     chr1    145092630       145096630       4000    FAM72D,FAM72C,SRGAP2B
1338    chr11   64776822        64779822        3000    SF1
144     chr1    149847968       149856968       9000    H3C14,H2AC19,H3C15,H2BC20P,H2AC18
1342    chr11   65414590        65452590        38000   MIR612,NEAT1
2837    chr20   53567970        53649970        82000   ZNF217,LOC105372672,LOC101927770
1333    chr11   61391251        61394251        3000    TMEM216
1334    chr11   64303709        64307709        4000    ESRRA,CATSPERZ,KCNK4-TEX40
3074    chr3    72445741        72448741        3000    RYBP
129     chr1    144959583       144962583       3000    SRGAP2B
max cycle：107,1,128,110,107
cycle 1: 1,110,107
107,1
107,110
110,1
cycle 2: 1,128,110
110,1
110,128
128,1


Azure Redis For Cache. Scheduler stops fire timeouts after redis restart

We're scheduling multiple tasks and using Redisson as a library for distributed scheduling backed by Azure Redis For Cache (cluster mode)
Everything works fine during few weeks but at some moment it stops call tasks handlers after timeout. We found that it happens in failover cases (when master is terminated and slave promoted to master or when redis fully rebooted) but not each time. It can be reproduced manually when we randomly restart master/slave redis instances or both of them through Azure Portal. After a few restarts (it happens not each time) our application stops execute tasks handlers when it's time to call it. Newly created tasks for the same instance of RScheduledExecutorService are also not working.
If we restart our application when detect this issue, then it handles all scheduled tasks that were not handled after failover and starts working normally.
I tried to debug this issue and see that HashedWheelTimer still executing and pushes request Ids through lua script into list (request queue):
{job-scheduler-executor:org.redisson.executor.RemoteExecutorService}  (backed by redisson blocking queue)
But entries are never extracted from this list after restart (previously it was done by BLPOP command, but after restart I don't see any BLPOP commands related to this queue and from response queue also: {remote_response}:). Most probably it just doesn't resend BLPOP command after reconnect to Redis and because of this it doesn't call associated handler. Size of queue just increasing when new tasks scheduled:

And after restart of an application it immediately handle all of them:

Here is a log file that I've captured (with enabled Redisson debug logs) and there you can see that there are no BLPOP commands anymore after restart. I can reproduce the issue but not sure what exactly I should check.
Log:
js2.log
Since request queue is a local variable passed to "subscribe" method of RedsissonRemoteService, I cannot check the state of this queue (may be there is a way to do that but didn't found where it can be stored)

While debugging after failover, I've tried to call "getBlockingQueue" manually, it returns new instance of blocking queue. Poll/take methods from this newly created queue working fine for this queue after failover. It's possible that re-subcribe didn't happen in some rare situation.
 Even newly scheduled tasks are not working
Redis version
Azure Redis for Cache (Redis 4.0.14)
Redisson version
3.15.4
Redisson configuration
clusterServersConfig:
idleConnectionTimeout: 10000
connectTimeout: 15000
timeout: 3000
retryAttempts: 3
retryInterval: 1500
failedSlaveReconnectionInterval: 3000
failedSlaveCheckInterval: 60000
password: ${REDIS_AZURE_PASSWORD}
subscriptionsPerConnection: 5
clientName: null
pingConnectionInterval: 3000
tcpNoDelay: true
subscriptionConnectionMinimumIdleSize: 1
subscriptionConnectionPoolSize: 50
slaveConnectionMinimumIdleSize: 24
slaveConnectionPoolSize: 64
masterConnectionMinimumIdleSize: 24
masterConnectionPoolSize: 64
readMode: "MASTER"
subscriptionMode: "MASTER"
nodeAddresses:
- "rediss://${REDIS_AZURE_HOSTNAME}:6380"
threads: 16
nettyThreads: 32
codec: !<org.redisson.codec.FstCodec> {}
transportMode: "NIO"

Thanks for provided logs.
I don't see any failover according to cluster state:
DEBUG [2021-06-30T13:25:47.911Z:redisson-netty-2-17][org.redisson.cluster.ClusterConnectionManager][] cluster nodes state got from /<IP_ADDRESS>:6380:
2b3fbbb6e55c8e328226cf1c74a1810f0e7fada3 <IP_ADDRESS>:15000 myself,master - 0 0 2 connected 0-16383

DEBUG [2021-06-30T13:30:27.486Z:redisson-netty-2-10][org.redisson.cluster.ClusterConnectionManager][] cluster nodes state got from /<IP_ADDRESS>:6380:
921f5ad5daf031835511c9a0863c140ae8ed1fc9 <IP_ADDRESS>:15001 slave 9acb8fbd60dc0ddab28e20704936a462284ed2e3 0<PHONE_NUMBER>885 1 connected
9acb8fbd60dc0ddab28e20704936a462284ed2e3 <IP_ADDRESS>:15000 myself,master - 0 0 0 connected 0-16383

Only new slave node was added.

Not sure exactly what happens on Azure Redis after restart of whole cluster. May be it assigns other slave nodes

how do you restart azure redis? by selecting primary and replica nodes and clicking reboot button?

To reproduce it, yes. It's usually not enough just to do this once. Just randomly restarting master 1/2 or slave 1/2 or reboot all of them.
Actually, we have this issue in production (without any manual restarts) since in Azure switch between master and slave happens pretty often (may be once a day or even more often. As I understand it's normal, sometimes Azure ops are applying updates this way, sometimes it's kind of preventive work). Once I saw that there was a restart of one pair master+slave (since we have 2 masters and a slave per master). Last time we had an issue with connections for exactly this situation. But I wasn't able to find a pattern. It happens in different situations. But more often with scheduling (may be because there more long running operations like blpop, not sure)

Which Cache Type do you use? Basic C0, Standard C1 ...

It's a premium with 2 shards

Unable to reproduce with Azue Premium Redis cache.
Here is the code:
        Config config = new Config();
        config.setCodec(new FstCodec());
        config.setThreads(16);
        config.setNettyThreads(32);
        config.useClusterServers()
                .setIdleConnectionTimeout(10000)
                .setConnectTimeout(15000)
                .setTimeout(3000)
                .setRetryAttempts(3)
                .setRetryInterval(1500)
                .setFailedSlaveCheckInterval(60000)
                .setFailedSlaveReconnectionInterval(3000)
                .setTcpNoDelay(true)
                .setSlaveConnectionMinimumIdleSize(24)
                .setSlaveConnectionPoolSize(64)
                .setMasterConnectionMinimumIdleSize(24)
                .setMasterConnectionPoolSize(64)
                .setSubscriptionMode(SubscriptionMode.MASTER)
                .setReadMode(ReadMode.MASTER)
                .addNodeAddress("redis://.......");
        RedissonClient redisson = Redisson.create(config);
        redisson.getKeys().flushall();

        RScheduledExecutorService ee = redisson.getExecutorService("test");
        ee.registerWorkers(WorkerOptions.defaults().workers(1));

        Thread t = new Thread(() -> {
            RScheduledExecutorService e = redisson.getExecutorService("test");
            for (int i = 0; i < 1000; i++) {
                try {
                    e.submit(new TestTask("" + i));
                    Thread.sleep(1000);
                } catch (Exception ex) {
                    ex.printStackTrace();
                }
            }
        });
        t.start();
        t.join();

        redisson.shutdown();

Can you try this snippet with latest Redisson version?

Can try to reproduce the issue using attached version?
redisson-all-3.16.1-SNAPSHOT.jar.zip

I'm closing this. Let me know if you reproduce it with 3.16.1+ version.

Tried to reproduce on 3.16.1 but wasn't able anymore. Looks like that it's working


Error after configuring nginx

I configured nginx according to the example and now it can access the port I'm running the python script on but it gives me this error. What is the cause of this error?

I'm calling my app function like this:
if __name__ == '__main__':
    start_server(schema_app, port=36535, debug=True)

If you configured nginx according to the example in doc.  You need access your pywebio app via  http://<ip>/tool url.
I think you might use http://<ip>/ to get this error.

Thanks for responding. If I have configured nginx like this:
map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

server {
    listen 4048;

    location /apps {
        alias /my_projects/pywebio/conda/lib/python3.7/site-packages/pywebio/html;
    }
    location /apps/tool {
         proxy_read_timeout 300s;
         proxy_send_timeout 300s;
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection $connection_upgrade;
         proxy_pass http://localhost:36536;
    }
}

Do I need to have my app files (i.e., all the python scripts for the app) in the same place as the static files?
So if the static files are at:
/my_projects/pywebio/conda/lib/python3.7/site-packages/pywebio/html;
Then my python scripts should be at:
/my_projects/pywebio/conda/lib/python3.7/site-packages/pywebio/html/tool;
Or is that irrelevant?

I found there are some problem in doc.  The right configuration in your situation is:
map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

server {
    listen 4048;

    location /apps {
        alias /my_projects/pywebio/conda/lib/python3.7/site-packages/pywebio/html;
    }
    location /apps/tool {
         proxy_read_timeout 300s;
         proxy_send_timeout 300s;
         proxy_http_version 1.1;
  	 proxy_set_header Host $host:$server_port;  # or add 'http://server_ip:4048' to `allowed_origins` of `start_server()`
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection $connection_upgrade;
         proxy_pass http://localhost: 36536/;   # need have a '/' in end
    }
}

Note that:

You need add  a proxy_set_header Host $host:$server_port; configuration or use start_server(schema_app, port=36535, debug=True, allowed_origins=['http://server_ip:4048']) to start server
The / at the end of proxy_pass http://localhost: 36536/; cannot be omitted

PS: No need to put app files  in the same place as the static files.

Thanks a lot. This worked for me. And thanks for the package. Hopefully it receives more attention and its development continues.


Run prompts asynchronously

Sometimes prompts can take a long time and will block the UI. In that case, Elvish can render the prompt as a placeholder (say "?") and update it when the function completes.

This would be very nice, with a couple of considerations:

Don't use "?" - better cache the previous value and use that
Run asynchronously but not overlapping - otherwise we have a potential explosion of simultaneous number of prompt commands running at the same time.

Are there any shells that currently do this right? This would be a pretty nice feature and hugely increase the perceived 'performance' of Elvish for people who use VCS prompts.

Good news, this has landed in master. To see it in action, try this:
edit:prompt = { echo 'slow prompt'; sleep 1 }
edit:-prompts-max-wait = 0.05

Read dd2d36a6d346372593163718e9465503d307fc47 for a detailed explanation and caveat.

@xiaq this is great! I have vastly simplified my chain theme implementation thanks to this new feature.


Onload Error

Describe the bug
Below error shows during on-load, and lead to all funciton freeze.
app.js:1 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'children')
    at t.getSideLeaf (app.js:1:2222985)
    at t.getRightLeaf (app.js:1:2221766)
    at DayPlanner.initTimelineLeafSilently (plugin:obsidian-day-planner:49154:32)
    at async DayPlanner.onload (plugin:obsidian-day-planner:49193:5)

To Reproduce
Steps to reproduce the behavior:

Create new vault
Download community plugin Day planner
refresh obsidian
Error display in console

Expected behavior
No error
Screenshots

I'm having the same issue.  This may be related to an issue I've been having where the day planner interface stops responding/updating.

I'm having the same issue. This may be related to an issue I've been having where the day planner interface stops responding/updating.

I just created a bug report for why that stopping issue was happening for me https://github.com/ivan-lednev/obsidian-day-planner/issues/438
It might be the same for you I don't know. But while this particular this is annoying, I haven't yet figured out what the collateral damage of this issue is. But I would still like to see this one get fixed.

I am having this error on the latest version of everything. Has this been fixed for others?


Depend on heaps >= <IP_ADDRESS>

The heaps was dependency was previously removed due to concerns over its cabal-doctest dependency (ekmett/heaps#13). That dependency was removed in https://github.com/ekmett/heaps/commit/571329f710addee1b6ef1bd5a7116755bf20af30 and released as heaps-<IP_ADDRESS>, so shake should be able to depend on it once more.

Thanks!


FIX: Doc

Fixes the estimate_snr doc, which has been broken for 2 years apparently!

Going to save the CIs a bit of work and merge this one


MCH Low Level HotShot/Drill Fix

Level 62 machinist now uses Reassemble on Drill instead of HotShot and also shouldn't wait for HotShot to use Drill, haven't tested if this approach hurts rotation on higher levels

Level 62 machinist now uses Reassemble on Drill instead of HotShot and also shouldn't wait for HotShot to use Drill, haven't tested if this approach hurts rotation on higher levels

It shouldn't, as Drill has the same potency as Air Anchor

Level 62 machinist now uses Reassemble on Drill instead of HotShot and also shouldn't wait for HotShot to use Drill, haven't tested if this approach hurts rotation on higher levels

It shouldn't, as Drill has the same potency as Air Anchor

That's true, however i referred to a way i coded the low level fix in. This is my first time trying to contribute and I'm still trying to figure out stuff, so this solution could have unintended consequences on rotation when AirAnchor or Drill stacking is unlocked. And i can't test it myself since my MCH is only Lv 62.

Level 62 machinist now uses Reassemble on Drill instead of HotShot and also shouldn't wait for HotShot to use Drill, haven't tested if this approach hurts rotation on higher levels

It shouldn't, as Drill has the same potency as Air Anchor

That's true, however I'm referring to a way i coded the low level fix in. This is my first time trying to contribute and I'm still trying to figure out stuff, so this solution could have unintended consequences on rotation when AirAnchor or Drill stacking is unlocked. And i can't test it myself since my MCH is only Lv 62.

Going to pull this down and SSS test it at 70-80-90-100. Stand by


[BUG] "Field level security" and "Field anonymization" don't work together with "Document level security"

What is the bug?
"Field level security" and "Field anonymization" don't work as expected, together with "Document level security"
When having 2 roles using "Document level security" to restrict the role to a subset of documents in an index, and one of them also uses "Field level security" and/or "Field anonymization", the restriction to the fields defined in one of the roles will affect the other role as well.
How can one reproduce the bug?
Steps to reproduce the behavior:

Create an index "logs-component1"
Update the index with 2 documents having these two fields:

{
    "product": "product-1",
    "description": "This is a document for product-1"
}

{
    "product": "product-2",
    "description": "This is a document for product-2"
}

Create 2 roles, A and B:

{
  "A": {
    "reserved": false,
    "hidden": false,
    "cluster_permissions": [],
    "index_permissions": [
      {
        "index_patterns": [
          "logs-component1"
        ],
        "dls": """{
           "bool": {
             "must": [
               {
                 "match": {
                 "product": "product-1"
                 }
               }
             ]
            }
           }""",
        "fls": [],
        "masked_fields": [],
        "allowed_actions": [
          "data_access"
        ]
      }
    ],
    "tenant_permissions": [],
    "static": false
  }
}

{
  "B": {
    "reserved": false,
    "hidden": false,
    "cluster_permissions": [],
    "index_permissions": [
      {
        "index_patterns": [
          "logs-component1"
        ],
        "dls": """{
           "bool": {
             "must": [
               {
                 "match": {
                 "product": "product-2"
                 }
               }
             ]
            }
           }""",
        "fls": [],
        "masked_fields": [
          "description"
        ],
        "allowed_actions": [
          "data_access"
        ]
      }
    ],
    "tenant_permissions": [],
    "static": false
  }
}

Mapp user "rafael" to role A and B:

{
  "A": {
    "hosts": [],
    "users": [
      "rafael"
    ],
    "reserved": false,
    "hidden": false,
    "backend_roles": [],
    "and_backend_roles": []
  }
}

{
  "B": {
    "hosts": [],
    "users": [
      "rafael"
    ],
    "reserved": false,
    "hidden": false,
    "backend_roles": [],
    "and_backend_roles": []
  }
}

Search all documents in the index

{
  "took": 2,
  "timed_out": false,
  "_shards": {
    "total": 1,
    "successful": 1,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 2,
      "relation": "eq"
    },
    "max_score": 2,
    "hits": [
      {
        "_index": "logs-component1",
        "_id": "cYWcRYoBA8cFetXWaUrZ",
        "_score": 2,
        "_source": {
          "product": "product-1",
          "description": "fa845b9b2b564e179180c26858748e79ce271d1cd3d3efaf72ea2dd031c18fda"
        }
      },
      {
        "_index": "logs-component1",
        "_id": "coWcRYoBA8cFetXWe0o6",
        "_score": 2,
        "_source": {
          "product": "product-2",
          "description": "fa845b9b2b564e179180c26858748e79ce271d1cd3d3efaf72ea2dd031c18fda"
        }
      }
    ]
  }
}

The document with "_id": "cYWcRYoBA8cFetXWaUrZ" should not get "description" masked because the user gets access to this document via role-A.
What is the expected behavior?
Use case:

We have an index with information about a component used by different products.  The products are identified by a field ("product").
We have two roles A and B.
A will give full access to all documents in the index with "product"="product-1"
B will give access to all documents in an index with "product"="product-2" but will restrict the access to one field in the index via "Field level security" or "Field anonymization"
An user gets mapped to role A and B
The user should get full access to all documents in the index with "product"="product-1", and restricted access to all documents with "product"="product-2"

What is your host/environment?

OS: Ubuntu 22.04.2 LTS
Opensearch Version: 2.9
Plugins:

$ /usr/share/opensearch/bin/opensearch-plugin list -v |egrep "Name|^Version"

Name: opensearch-alerting
Version: <IP_ADDRESS>
Name: opensearch-anomaly-detection
Version: <IP_ADDRESS>
Name: opensearch-asynchronous-search
Version: <IP_ADDRESS>
Name: opensearch-cross-cluster-replication
Version: <IP_ADDRESS>
Name: opensearch-geospatial
Version: <IP_ADDRESS>
Name: opensearch-index-management
Version: <IP_ADDRESS>
Name: opensearch-job-scheduler
Version: <IP_ADDRESS>
Name: opensearch-knn
Version: <IP_ADDRESS>
Name: opensearch-ml
Version: <IP_ADDRESS>
Name: opensearch-neural-search
Version: <IP_ADDRESS>
Name: opensearch-notifications
Version: <IP_ADDRESS>
Name: opensearch-notifications-core
Version: <IP_ADDRESS>
Name: opensearch-observability
Version: <IP_ADDRESS>
Name: opensearch-performance-analyzer
Version: <IP_ADDRESS>
Name: opensearch-reports-scheduler
Version: <IP_ADDRESS>
Name: opensearch-security
Version: <IP_ADDRESS>
Name: opensearch-security-analytics
Version: <IP_ADDRESS>
Name: opensearch-sql
Version: <IP_ADDRESS>

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

How two different rule sets are combined at runtime based on role A and role B make it hard for there to be an obvious answer to 'how are the rules applied'.  I think that unless there is a singular place where these rules are described admins and users alike will have trouble handling these scenarios - Views [1] might be a way to address this.
@rafaelma What do you think?

https://github.com/opensearch-project/OpenSearch/issues/6181

@peternied Thanks for your feedback :-) . The view functionality you describe in https://github.com/opensearch-project/OpenSearch/issues/6181 will move the document level security (DLS), field level security (FLS), and field masking definitions (FMD) out of a "Role definition" and into a "View definition".
It is a cleaner separation compare to what is available today and different roles could get access to the same DLS/FLS/FMD definition and avoid the need to define the same DLS/FLS/FMD in different roles. It is obviously an improving in the access management.
But this functionality does not help with the bug described in this issue. The FLS/FMD gets applied only to the index-pattern definition in the role and bypass the DLS definition, we think this is obviously a bug.

[Triage] Thank you for filing this issue @rafaelma. This issue appears to be a result of the role combinations Peter mentioned above. There is not a clear path forward to fixing the non-deterministic behavior that we currently have since the ordering of the role impacts the results. We can address this moving forward by marking as help wanted but leaving untriaged since it is certainly something worth improving but the action criteria for this is not totally clear at the moment.


[iOS] can not hosting as server

Steps to reproduce:

Run on iOS
Switch to Server mode
Pick a directory where will host files. file_picker package will returns a path like this:

/private/var/mobile/Containers/Data/Application/8B7FFB5C-AF4F-4ED6-9BFE-3BCB0BD76590/tmp/Share files

Press on Start hosting button

Actual result
That directory does not exist. So flow logic will fall to:
if(!dir.existsSync()) {
  context.showSnackbar('Sharing path does not exist. Try again!');
  return;
}

That path is typically in the app's sandbox, maybe Files's sandbox (not sure now). That being said, NetShare has limited access to the file system.

Temporary disable server mode in iOS


Plugin state is out of sync after few minutes of usage

After few minutes of using of the plugin it seems to lose synchronization with the LSP, highlights are misplaced and tooltips are wrong.

Only restarting ST or using "Automatic package reloader" helps.
Edit: Undo action doesn't help, it's stuck in wrong state.

I keep running into this as well, and I've been looking for anything that resets the state for a file. I've tried things like closing and re-opening the file, renaming it, changing syntax, cutting the whole file content and pasting it back in, but the squigglies stay in the wrong place. Thank you @maciej-zuk  for the suggestion to use AutomaticPackageReloader, that's the only thing that has worked so far.


Execute Tests in Parallel across multiple browsers with run-workers

What are you trying to achieve?
What is the recommended way for executing Tests in Parallel across multiple browsers with run-workers.
Currently, we don’t have an inbuilt support for running the tests across multiple browsers with a run-workers setup. We have to create a custom runner and manually listen to codeceptJS events for reporting.
Is this approach the only recommendation from your side? Is it possible to have a built-in capability to do this similar to what we had in run-multiple?
Happy to contribute by giving the PR to the team too.
Would be great if we can get access to the slack channel for further discussions / schedule a 30 mins call to understand the requirement and figure the best way forward.

Sure, here is out slack https://bit.ly/codeceptjs-slack
It was moved out of the core because of the configuration's complexity.
If you provide a simple & flexible config pattern to handle most of parallel run cases, it will be possible to get this functionality back.
But at this moment I don't have this format in my mind

@DavertMik Have tried to contribute via https://github.com/codeceptjs/CodeceptJS/pull/3606. Happy to discuss if you have other solutions in mind too. You can share your input and we can work on it.
The major issue is with grid providers like BrowserStack, if users want to run their tests in parallel on multiple browsers, each user will need to create a new js file to configure multiple browsers.


Integration with todo.txt

Integration of todo.txt is useful so that we can work on task from that file. And todo.txt is open source popular solution (rather than Google task etc). The todo.txt file can be easily synced with syncthing and there are several Android clients that support it
Please integrate todo.txt file, so one can define number of pomodoro for each task and after completion can ask user if the task should be marked done (move to done.txt)

that would be nice +1


Localized search results

I found a non-obvious behavior with always returning default translation (original) node if no locale defined in fetch body.
Maybe we should supplement documentation for getSearchIndex for i18n case?
const router = useRouter();

const response = await fetch("/api/search/INDEX-NAME-HERE", {
  method: "POST",
  body: JSON.stringify({
    params: {
      filter: { name_of_field: value },
    },
    locale: router.locale,
  }),
})

Yeah unfortunately API routes have no context of locale. You need to pass it from the router.
Let me tag this under documentation. I'll update it.
Thank you.

I've updated the docs.
https://next-drupal.org/guides/search-api#localized-search-results
Thanks @theRuslan


updating the version number from 100.11 to 100.12

Updating the version from 100.11 to 100.12

@tanneryould the git checks are failing for this. Do we need to address that before merging?

@JamesMBallard fortunately there are only two errors. I'd like to resolve this before merging and it shouldn't take too long.

@JamesMBallard ok, the check is raising a false error. The OAuth Redirect Example doesn't follow the standard md pattern so I'm going to open a PR to add this file as an extension. In the meantime, this is good to go.


An unknown error occurred.

Hi, thanks for this awesome API!
I got a problem and I've tried to debug it without any luck.
I have a javascript that calls a function after any 5-10 sec randomly. That function gets data from Spotify API through my PHP file that uses your library.
It works well for hundred times without any issue, then I got this error message very randomly.
I use client credentials authentication, there is some problem with that part, as I can see.
Thx, Peter
The error message:
Fatal error: Uncaught SpotifyWebAPI\SpotifyWebAPIException: An unknown error occurred. in /var/www/mochart/public/vendor/jwilsson/spotify-web-api-php/src/Request.php:44Stack trace:#0 /var/www/mochart/public/vendor/jwilsson/spotify-web-api-php/src/Request.php(222): SpotifyWebAPI\Request->parseBody(NULL, 502)#1 /var/www/mochart/public/vendor/jwilsson/spotify-web-api-php/src/Request.php(88): SpotifyWebAPI\Request->send('POST', 'https://account...', 'grant_type=clie...', Array)#2 /var/www/mochart/public/vendor/jwilsson/spotify-web-api-php/src/Session.php(168): SpotifyWebAPI\Request->account('POST', '/api/token', Array, Array)#3 /var/www/mochart/public/api.php(84): SpotifyWebAPI\Session->requestCredentialsToken()#4 /var/www/mochart/public/api.php(34): spotiAuth('guest')#5 {main} thrown in /var/www/mochart/public/vendor/jwilsson/spotify-web-api-php/src/Request.php on line 44

Hi!
It looks like Spotify is returning you a 502 Bad Gateway server error. I'd file an issue over at their repo and wrap your call to Session->requestCredentialsToken() in a try/catch where you retry the request and prevents it from crashing completely.

Closing this since I'm pretty sure it's an issue on Spotify's end. Just give me a shout if you want it reopened!


Controller not showing up

I have a Pro controller that I have connected to my iMac. It shows it successfully connected via bluetooth to my computer but on the JoyKeyMapper app, it is not coming up as a controller. It simply says (no controllers connected) when my controller is. Any ideas?

I tried the same thing (it didn't work). Then I found out my controller was the power a controller instead. so I then tried it with my joy cons and it worked!. So it may be your controller is like the pro controller or its a problem with JoyKeyMapperSilicon.


informationS

As lot of typos being fixed, i'd like to report one issue in Chaper 6.10.6 of the VDA5050_EN_V1.md
"informations" is being used in one table.
(Information doesn't have a plural form in English.)

Thank you very much.
Fixed in aef75d571d7bfcf7f03a25f7c3714c56b519f08a.


python3.10/site-packages/aiohttp/web_protocol.py:405

Hi community,
I can't get this add-on working. I tried many config combinations, including AP at the same network with DHCP disabled, internet disabled or the one listed bellow. WiFi is either not created at all, or disappears after brief moment. In my current configuration I am using CloudFlared. Raspberry Pi4 has updated firmware and SSD boot. When I start the add-on HA Log gets this error:

Formerly I had also DuckDNS and Dnsmasq (before many fresh instals with restore). At firs I thought there might be some leftover from thees add-ons. So I tried completely fresh instal with just   Hassio-Access-Point, but I get similar error (bellow) and no WiFi. I tried reboots and restarts. What am I doing wrong? Thanks

Hi @LadCZ. I'll see if I can recreate this. Are you still having the issue?

Hi, it is now updated to 0.4.4 with this log. Device´s WiFi IP is assigned, but that is all I can check now since I am accessing HA remotely. I will check in January.

The issue persists, and no SSID broadcast.


Cookies wont get removed if I refresh the browser

Using google chrome
Cookies once set in react and removed successfully if you don't refresh the browser
Once the cookies are set and I refresh the browser, if I try to remove them they don't get removed.
import cookie from "react-cookie";

logout() {
  console.log("loging out");
  cookie.remove("userId");
  cookie.remove("authToken");
  Router.push("/");
}

  Logout

had to add path: '/' to everything to be able to get it working.

@johhansantana I am facing the same issue as you mention above, I also tried your solution add {path: '/'} but didn't success, you can check my code as well.
login(){
    cookie.save('token', res.data.token);

    //also tried with config object but didn't success
    //cookie.save('token', res.data.token, {path: '/'});
}

logout(){
    cookie.remove('token');

    //also tried with config object but didn't success
    //cookie.remove('token', res.data.token, {path: '/'});
}

Hi @umair-khanzada
According to the doc the prototype of the remove function is
remove(name, [options])
So you should try
cookie.remove('token', {path: '/'})
In short, don't pass the res.data.token in your request

I was having the same problem, I didn't really understand why when deleting the cookies the configuration argument must also be passed, it would be quite good if they specified that in the documentation because when reproducing that error the first thing you think about is that it is a bug !, thanks for everything!


Appveyor script, update readme.

r? @vinipsmaker
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @chndraprakash

r? @chandraprakash


Field name can not contain '.'

I am getting the following error:
Field name [a.b.c] cannot contain '.'"
And mongo connector exists. Shall we replace '.' with '_' or another delimiter before parsing ?
Or at least warn the user and continue processing in mongo connector
The full exception is:
2015-10-12 18:16:28,567 [CRITICAL] mongo_connector.oplog_manager:543 - Exception during collection dump
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/oplog_manager.py", line 495, in do_dump
    upsert_all(dm)
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/oplog_manager.py", line 479, in upsert_all
    dm.bulk_upsert(docs_to_dump(namespace), mapped_ns, long_ts)
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/util.py", line 32, in wrapped
    return f(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/doc_managers/elastic_doc_manager.py", line 190, in bulk_upsert
    for ok, resp in responses:
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/helpers/__init__.py", line 156, in streaming_bulk
    raise BulkIndexError('%i document(s) failed to index.' % len(errors), errors)

MongoDB field names must not contain a '.' in the name. See https://docs.mongodb.org/manual/core/document/#field-names for details on valid MongoDB field names.


nixos/nixos-enter: hide systemd-tmpfiles errors, extend test

Following up on https://github.com/NixOS/nixpkgs/pull/80769 and https://github.com/NixOS/nixpkgs/pull/199425 by hiding the systemd-tmpfiles warnings (see below) and extending the installer test.
/etc/tmpfiles.d/journal-nocow.conf:26: Failed to replace specifiers in '/var/log/journal/%m': No such file or directory
/etc/tmpfiles.d/systemd.conf:23: Failed to replace specifiers in '/run/log/journal/%m': No such file or directory
/etc/tmpfiles.d/systemd.conf:25: Failed to replace specifiers in '/run/log/journal/%m': No such file or directory
/etc/tmpfiles.d/systemd.conf:26: Failed to replace specifiers in '/run/log/journal/%m/*.journal*': No such file or directory
/etc/tmpfiles.d/systemd.conf:29: Failed to replace specifiers in '/var/log/journal/%m': No such file or directory
/etc/tmpfiles.d/systemd.conf:30: Failed to replace specifiers in '/var/log/journal/%m/system.journal': No such file or directory
/etc/tmpfiles.d/systemd.conf:32: Failed to replace specifiers in '/var/log/journal/%m': No such file or directory
/etc/tmpfiles.d/systemd.conf:33: Failed to replace specifiers in '/var/log/journal/%m/system.journal': No such file or directory

@ofborg test installer

The four failing tests are already failing on Hydra.


document type application/sparql-update not supported

When using my solid app (which uses "@inrupt/solid-client": "^1.27.0"), it updates an existing document.
This generates a xhr PATCH request with a application/sparql-update document-type (not n3)
Request:
PATCH https://server/manas [HTTP/2 415  47ms]
INSERT DATA {<https://server/manas#e9e7822a-1d27-4c91-919c-redacted> a <https://www.w3.org/2002/12/cal/ical#Vtodo>;
<http://schema.org/text> "cross compile manas";
<https://www.w3.org/2002/12/cal/ical#created> "2023-11-15T04:55:12.899Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>.};

Response:
{"type":"https://httpstatuses.com/415","status":415,"title":"Unsupported Media Type","detail":"Unsupported patch document type."}

Server log:
  2023-11-15T04:55:09.083794Z ERROR manas_repo_layers::patching::patcher::impl_::solid_insert_delete_patcher: Patch doc content type is not that of n3.
    at crates/manas_repo_layers/src/patching/patcher/impl_/solid_insert_delete_patcher.rs:177
    in manas_storage::service::method::put_or_patch::base::resolve_rep_patcher
    in manas_storage::service::method::put_or_patch::base::apply
    in manas_podverse::pod::service::impl_::storage_describing::StorageDescribingPodService::call
    in manas_podverse::podset::service::impl_::basic::BasicPodSetService::call
    in manas_authentication::challenge_response_framework::service::HttpCRAuthenticationService::call

  2023-11-15T04:55:09.084473Z ERROR manas_storage::service::method::put_or_patch::base: Error in resolving rep patcher.
    at crates/manas_storage/src/service/method/put_or_patch/base/mod.rs:715
    in manas_storage::service::method::put_or_patch::base::resolve_rep_patcher
    in manas_storage::service::method::put_or_patch::base::apply
    in manas_podverse::pod::service::impl_::storage_describing::StorageDescribingPodService::call
    in manas_podverse::podset::service::impl_::basic::BasicPodSetService::call
    in manas_authentication::challenge_response_framework::service::HttpCRAuthenticationService::call

Solid protocol only specifies text/n3 n3-solid-insert-delete-patch. Sparql update was it's previous recommondation, but not now. Unfortunately, few libs and apps still use sparql-update.
Manas will not be supporting it anytime soon, as sparql parsers will be complex and big. Instead those apps must move over to be compatible with current spec.
This is already in works, we are working with rdflib.js to merge n3-patch support.

Great! Thank you for the support and clarification.

Reference for later: https://github.com/inrupt/solid-client-js/blob/2366f8b3041248e8f620325e9646568981c92d3b/src/resource/solidDataset.ts#L365 this should change at some point for solid-client-js to be spec-compliant.


Ring Buffer Bundler fixed to write message type before message

Since message types were added, a short must be written before messages to indicate the message type for unmarshalling.  This was not done for ring buffer based bundler implementations.

Thanks, Chris! Things do run now, but very slowly, will investigate!
Cheers


Add Local Development Setup Instructions to README

The current README file provides comprehensive information about the Volto project, its features, and its use cases. However, it lacks detailed instructions for setting up and running the project locally. This can be a barrier for new contributors who want to contribute to the project.
Proposed Solution:
Add a new section to the README with detailed instructions on how to set up and run the project locally. The instructions should include steps for:
Prerequisites (Node.js, pnpm, etc.)
Forking and cloning the repository
Installing dependencies
Running the project locally
Running tests
Building the project

I’ve created a pull request to address this issue .
Review the pull request here: [PR #6229] (https://github.com/plone/volto/pull/6229#issue-2444648946)
Please let me know if there are any additional changes needed.
Thanks!

@Manancode please read and follow First-time contributors, especially Things not to do, Contributing to Plone, and Contributing to Volto.
We document installation of Volto in the documentation, and only refer to it in the README. We do not duplicate documentation in the README.


branch-2.1 refactor ColumnNullable to provide flags safety (#40769)

pick https://github.com/apache/doris/pull/40769

run buildall

run buildall


Impossible to build against system/external minizip-ng

the minizip-ng build over here specifies to install the headers in a subfolder called minizip-ng however an external build of minizip-ng is unlikely to have this option set as it is non standard.
The problem arises here where the code blindly assumes this sub folder to exist, which isn't the case unless you let OCIO build minizip.

Also noticed OpenColorIO won't find minizip-ng built with MZ_COMPAT=ON, which is the default, because that build a library without the ng suffix. I'm not familiar enough with this library to know if this is expected or not to have that kind of incompatibility.

ran into that as well, but you can sidestep that by passing  -Dminizip-ng_LIBRARY=/where/ever/it/lives/blah.a_lib_so  to your cmake configure invocation for OCIO.

See also patches that were necessary for unbundling the MSYS2 OCIO package: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-opencolorio

Hi @kmilos,
Could you provide the steps to reproduce the issue fixed by 0005-Fix-Findminizip-ng.patch? I've tried to build it manually under MSYS2 without that patch (I removed it manually), and it seems to be working correctly.

@cedrik-fuoco-adsk You're probably right that 0005-Fix-Findminizip-ng.patch is not absolutely necessary (btw, the convention is to use the plural _LIBRARIES and _INCLUDE_DIRS variables, but that's a minor detail), I think it's just the maintainer preferring to do things the "more modern" CMake way...


Allow torch 2.3 and remove torch ceiling version restriction

vLLM now requires torch 2.3.0, so we should try to raise the restriction in SparseML. Going forward, I think we shouldn't be so restrictive to newer versions of pytorch and should raise a warning at most, not an explicit exception.

@bfineran @robertgshaw2-neuralmagic is this good with you going forward to not restrict pytorch?

@mgoin should we land this (after the GHA tests have passed?)


Minimise Option not working on OSX

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
Its a simple one, when you click the minimise button, nothing happens.
To Reproduce
Try minimising it, it won't work
Expected behavior
It should minimise.
Screenshots
https://gyazo.com/e8cac4425197082e058e5ec8572ed0f4.gif
Environment (please complete the following information):

OS: macOS Mojave 10.14.3
RuneLite version: 1.6.1
Launcher version: Don't know how to check, let me know and I will tell you.

Duplicate of #2967


Serial issue

This issue is revealed in the following PR: https://github.com/ARMmbed/mbed-os/pull/382
The test case is the "echo" test that was removed. The behavior is DAPLink stops sending/receiving serial data correctly. After attempting to send and receive more serial data, eventually DAPLink returned to a good state. DAPLink also properly reset when the whole platform was power cycled.
Please contact me for me details on how to reproduce.

are you sure that problem is not related to HW, PC(/OS) or USB hub ? We are using very heavily serial port and we haven't seen data drops anymore after daplink version 0241 I think.

Please provide more context around the daplink failure.  Does this issue manifest reliably on every execution of the test, if not, how frequently does it occur? Does this issue manifest in any other test (even intermitently?)

I can confirm that this is an issue, and have a fix for it in #97.

@mjs-arm This failure occurs reliably when running this test, though it doesn't fail at the same point in every run of the test. The test just echos a bunch of key-value pairs that the host sends. It has three test cases within the binary, one where it does this 16 times, one where it does this 32 times, and one where it does this 64 times. The DAPLink failure occurs at some point during one of these three test cases.

The was echo best behaved showed and issue in DAPLink. I've merged https://github.com/ARMmbed/htrun/pull/104 and added https://github.com/ARMmbed/htrun/pull/105 to address issues related to string tests on htrun side. This is a multidimensional problem, I can see it will be fixed from few angles :) htrun, thanks to Brian's quick investigation is almost done! :)

I can confirm from my setup that PR #97 seemed to fix at least the occasional complete device freeze that happened after a bunch of serial IO and the debugger connection remains responsive.


[Improve][Doc] Improve the connector-v2 develop doc

Supplementary explanations have been provided for the methods and classes that must be implemented during the source development process

@hailin0 @liunaijie please review again ,thx


Update rultor.yml with architect info

Updated rultor.yml  with my architect info, at the moment I can't ask rultor to merge PRs

@paulodamaso/z this pull request is too small, just 1 lines changed (less than 10), there will be no formal code review, see §53 and §28; in the future, try to make sure your pull requests are not too small; @paulodamaso/z please review this and merge or reject

Codecov Report

Merging #281 into master will not change coverage.
The diff coverage is n/a.

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

@paulodamaso done

Job gh:yegor256/jpeek#281 is not assigned, can't get performer

This job is not in scope


xvm: add  llvm backend support

Description
Add  support for llvm backend, key techniques including

using initialize method to determine legacy version(fastcomp backend) and llvm backend
detect legacy code on makeExecCode of InstanceCreator
using debug/macho to determine dynamic  symbol on mac system
using debug/elf to detect dynamic symbol on linux
see more information about macho  and elf

Type of change

[x New feature (non-breaking change which adds functionality)

Codecov Report

Merging #326 (7df3fd8) into master (e9bc306) will decrease coverage by 0.77%.
The diff coverage is 32.64%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   46.54%   45.76%   -0.78%
==========================================
  Files         136      139       +3
  Lines       12171    12340     +169
==========================================
- Hits         5665     5648      -17
- Misses       5338     5534     +196
+ Partials     1168     1158      -10

Impacted Files
Coverage Δ

bcs/consensus/pow/pow.go
42.96% <ø> (ø)

bcs/consensus/single/single.go
48.10% <ø> (ø)

bcs/contract/evm/state.go
13.33% <0.00%> (+0.28%)
:arrow_up:

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/ledger/xledger/tx/mempool.go
30.48% <0.00%> (ø)

bcs/network/p2pv2/server.go
51.33% <0.00%> (-1.07%)
:arrow_down:

bcs/network/p2pv2/stream_pool.go
44.26% <0.00%> (-2.29%)
:arrow_down:

kernel/contract/sandbox/xmcache.go
48.43% <ø> (+0.74%)
:arrow_up:

lib/storage/kvdb/leveldb/ldb_impl.go
1.35% <ø> (ø)

... and 26 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 e9bc306...7df3fd8. Read the comment docs.

Codecov Report

Merging #326 (7df3fd8) into master (e9bc306) will decrease coverage by 0.71%.
The diff coverage is 33.62%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   46.54%   45.83%   -0.72%
==========================================
  Files         136      140       +4
  Lines       12171    12351     +180
==========================================
- Hits         5665     5661       -4
- Misses       5338     5531     +193
+ Partials     1168     1159       -9

Impacted Files
Coverage Δ

bcs/consensus/pow/pow.go
42.96% <ø> (ø)

bcs/consensus/single/single.go
48.10% <ø> (ø)

bcs/contract/evm/state.go
13.33% <0.00%> (+0.28%)
:arrow_up:

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/ledger/xledger/tx/mempool.go
30.48% <0.00%> (ø)

bcs/network/p2pv2/server.go
51.33% <0.00%> (-1.07%)
:arrow_down:

bcs/network/p2pv2/stream_pool.go
44.26% <0.00%> (-2.29%)
:arrow_down:

kernel/contract/sandbox/xmcache.go
48.43% <ø> (+0.74%)
:arrow_up:

lib/storage/kvdb/leveldb/ldb_impl.go
1.35% <ø> (ø)

... and 26 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 e9bc306...7df3fd8. Read the comment docs.

Codecov Report

Merging #326 (e0ec753) into master (e9bc306) will decrease coverage by 0.77%.
The diff coverage is 32.64%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   46.54%   45.76%   -0.78%
==========================================
  Files         136      139       +3
  Lines       12171    12343     +172
==========================================
- Hits         5665     5649      -16
- Misses       5338     5535     +197
+ Partials     1168     1159       -9

Impacted Files
Coverage Δ

bcs/consensus/pow/pow.go
42.96% <ø> (ø)

bcs/consensus/single/single.go
48.10% <ø> (ø)

bcs/contract/evm/state.go
13.33% <0.00%> (+0.28%)
:arrow_up:

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/ledger/xledger/tx/mempool.go
30.48% <0.00%> (ø)

bcs/network/p2pv2/server.go
51.33% <0.00%> (-1.07%)
:arrow_down:

bcs/network/p2pv2/stream_pool.go
44.26% <0.00%> (-2.29%)
:arrow_down:

kernel/contract/sandbox/xmcache.go
48.43% <ø> (+0.74%)
:arrow_up:

lib/storage/kvdb/leveldb/ldb_impl.go
1.35% <ø> (ø)

... and 26 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 e9bc306...e0ec753. Read the comment docs.

Codecov Report

Merging #326 (e0ec753) into master (e9bc306) will decrease coverage by 0.71%.
The diff coverage is 33.61%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   46.54%   45.83%   -0.72%
==========================================
  Files         136      140       +4
  Lines       12171    12354     +183
==========================================
- Hits         5665     5662       -3
- Misses       5338     5532     +194
+ Partials     1168     1160       -8

Impacted Files
Coverage Δ

bcs/consensus/pow/pow.go
42.96% <ø> (ø)

bcs/consensus/single/single.go
48.10% <ø> (ø)

bcs/contract/evm/state.go
13.33% <0.00%> (+0.28%)
:arrow_up:

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/ledger/xledger/tx/mempool.go
30.48% <0.00%> (ø)

bcs/network/p2pv2/server.go
51.33% <0.00%> (-1.07%)
:arrow_down:

bcs/network/p2pv2/stream_pool.go
44.26% <0.00%> (-2.29%)
:arrow_down:

kernel/contract/sandbox/xmcache.go
48.43% <ø> (+0.74%)
:arrow_up:

lib/storage/kvdb/leveldb/ldb_impl.go
1.35% <ø> (ø)

... and 26 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 e9bc306...e0ec753. Read the comment docs.

Codecov Report

Merging #326 (410f7de) into master (e9bc306) will decrease coverage by 0.69%.
The diff coverage is 32.64%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   46.54%   45.84%   -0.70%
==========================================
  Files         136      139       +3
  Lines       12171    12343     +172
==========================================
- Hits         5665     5659       -6
- Misses       5338     5525     +187
+ Partials     1168     1159       -9

Impacted Files
Coverage Δ

bcs/consensus/pow/pow.go
42.96% <ø> (ø)

bcs/consensus/single/single.go
48.10% <ø> (ø)

bcs/contract/evm/state.go
13.33% <0.00%> (+0.28%)
:arrow_up:

bcs/contract/xvm/builtin_resolver.go
0.00% <ø> (ø)

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/ledger/xledger/tx/mempool.go
30.48% <0.00%> (ø)

bcs/network/p2pv2/server.go
52.40% <0.00%> (ø)

bcs/network/p2pv2/stream_pool.go
44.26% <0.00%> (-2.29%)
:arrow_down:

kernel/contract/sandbox/xmcache.go
48.43% <ø> (+0.74%)
:arrow_up:

... and 25 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 e9bc306...410f7de. Read the comment docs.

Codecov Report

Merging #326 (410f7de) into master (e9bc306) will decrease coverage by 0.68%.
The diff coverage is 32.64%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   46.54%   45.86%   -0.69%
==========================================
  Files         136      139       +3
  Lines       12171    12343     +172
==========================================
- Hits         5665     5661       -4
- Misses       5338     5523     +185
+ Partials     1168     1159       -9

Impacted Files
Coverage Δ

bcs/consensus/pow/pow.go
42.96% <ø> (ø)

bcs/consensus/single/single.go
48.10% <ø> (ø)

bcs/contract/evm/state.go
13.33% <0.00%> (+0.28%)
:arrow_up:

bcs/contract/xvm/builtin_resolver.go
0.00% <ø> (ø)

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/ledger/xledger/tx/mempool.go
30.48% <0.00%> (ø)

bcs/network/p2pv2/server.go
52.40% <0.00%> (ø)

bcs/network/p2pv2/stream_pool.go
44.26% <0.00%> (-2.29%)
:arrow_down:

kernel/contract/sandbox/xmcache.go
48.43% <ø> (+0.74%)
:arrow_up:

... and 25 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 e9bc306...410f7de. Read the comment docs.

Codecov Report

Merging #326 (410f7de) into master (e9bc306) will decrease coverage by 0.66%.
The diff coverage is 33.61%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
- Coverage   46.54%   45.87%   -0.67%
==========================================
  Files         136      140       +4
  Lines       12171    12354     +183
==========================================
+ Hits         5665     5668       +3
- Misses       5338     5525     +187
+ Partials     1168     1161       -7

Impacted Files
Coverage Δ

bcs/consensus/pow/pow.go
42.96% <ø> (ø)

bcs/consensus/single/single.go
48.10% <ø> (ø)

bcs/contract/evm/state.go
13.33% <0.00%> (+0.28%)
:arrow_up:

bcs/contract/xvm/builtin_resolver.go
0.00% <ø> (ø)

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/ledger/xledger/tx/mempool.go
30.48% <0.00%> (ø)

bcs/network/p2pv2/server.go
52.40% <0.00%> (ø)

bcs/network/p2pv2/stream_pool.go
44.26% <0.00%> (-2.29%)
:arrow_down:

kernel/contract/sandbox/xmcache.go
48.43% <ø> (+0.74%)
:arrow_up:

... and 26 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 e9bc306...410f7de. Read the comment docs.

Codecov Report

Merging #326 (2c2304b) into master (ef0eb5b) will increase coverage by 0.00%.
 Consider uploading reports for the commit 3b31092 to get more accurate results

@@           Coverage Diff           @@
##           master     #326   +/-   ##
=======================================
  Coverage   45.74%   45.74%
=======================================
  Files         138      139    +1
  Lines       12291    12350   +59
=======================================
+ Hits         5622     5649   +27
- Misses       5516     5543   +27
- Partials     1153     1158    +5

Impacted Files
Coverage Δ

bcs/contract/xvm/builtin_resolver.go
0.00% <ø> (ø)

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/contract/xvm/aot_creator.go
7.24% <14.28%> (+1.88%)
:arrow_up:

bcs/contract/xvm/interp_creator.go
16.66% <35.71%> (+12.50%)
:arrow_up:

bcs/contract/xvm/export_resolver_linux.go
56.52% <56.52%> (ø)

bcs/contract/xvm/code_manager.go
72.07% <100.00%> (+5.70%)
:arrow_up:

bcs/network/p2pv2/server.go
51.33% <0.00%> (-1.07%)
:arrow_down:

bcs/consensus/xpoa/xpoa.go
52.28% <0.00%> (+1.01%)
: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 ef0eb5b...3b31092. Read the comment docs.

Codecov Report

Merging #326 (3b31092) into master (ef0eb5b) will increase coverage by 0.01%.
The diff coverage is 34.37%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
+ Coverage   45.74%   45.75%   +0.01%
==========================================
  Files         138      139       +1
  Lines       12291    12350      +59
==========================================
+ Hits         5622     5651      +29
- Misses       5516     5540      +24
- Partials     1153     1159       +6

Impacted Files
Coverage Δ

bcs/contract/xvm/builtin_resolver.go
0.00% <ø> (ø)

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/contract/xvm/aot_creator.go
7.24% <14.28%> (+1.88%)
:arrow_up:

bcs/contract/xvm/interp_creator.go
16.66% <35.71%> (+12.50%)
:arrow_up:

bcs/contract/xvm/export_resolver_linux.go
56.52% <56.52%> (ø)

bcs/contract/xvm/code_manager.go
72.07% <100.00%> (+5.70%)
:arrow_up:

bcs/network/p2pv2/server.go
51.33% <0.00%> (-1.07%)
:arrow_down:

bcs/consensus/tdpos/tdpos.go
47.88% <0.00%> (+0.93%)
:arrow_up:

bcs/consensus/tdpos/common.go
55.07% <0.00%> (+2.89%)
:arrow_up:

... and 1 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 ef0eb5b...3b31092. Read the comment docs.

Codecov Report

Merging #326 (3b31092) into master (ef0eb5b) will increase coverage by 0.08%.
The diff coverage is 38.66%.

@@            Coverage Diff             @@
##           master     #326      +/-   ##
==========================================
+ Coverage   45.74%   45.82%   +0.08%
==========================================
  Files         138      140       +2
  Lines       12291    12361      +70
==========================================
+ Hits         5622     5664      +42
- Misses       5516     5537      +21
- Partials     1153     1160       +7

Impacted Files
Coverage Δ

bcs/contract/xvm/builtin_resolver.go
0.00% <ø> (ø)

bcs/contract/xvm/instance.go
0.00% <0.00%> (ø)

bcs/contract/xvm/resolver.go
0.00% <0.00%> (ø)

bcs/contract/xvm/aot_creator.go
7.24% <14.28%> (+1.88%)
:arrow_up:

bcs/contract/xvm/interp_creator.go
16.66% <35.71%> (+12.50%)
:arrow_up:

bcs/contract/xvm/export_resolver_linux.go
56.52% <56.52%> (ø)

bcs/contract/xvm/export_resolver_darwin.go
63.63% <63.63%> (ø)

bcs/contract/xvm/code_manager.go
72.07% <100.00%> (+5.70%)
:arrow_up:

bcs/network/p2pv2/server.go
51.33% <0.00%> (-1.07%)
:arrow_down:

bcs/consensus/tdpos/tdpos.go
48.82% <0.00%> (+1.87%)
:arrow_up:

... and 3 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 ef0eb5b...3b31092. Read the comment docs.


Tabulaor 'Set' Headerfilter - no data from distinct query

What
Using the set headerfilter and distinct in the headerFilterParams would create an error, as the dropdown would attempt to iterate an empty list .
This PR should correct that by making a dropdown that has a no data message.
Test Space
bugs_testing/dataviews_filter/workspace.json

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1207190169901915

@AlexanderGeere can you add this to the tabulator plugin? ui.utils.tabulator will be removed from the mapp library as soon as the plugin is reviewed.

@dbauszus-glx Will do.
Changed it slightly so the dropdown works but just says no options.


不能 序列化 oracle.sql.TIMESTAMP

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
No serializer found for class java.io.ByteArrayInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: io.seata.rm.datasource.undo.BranchUndoLog["sqlUndoLogs"]->java.util.ArrayList[0]->io.seata.rm.datasource.undo.SQLUndoLog["afterImage"]->io.seata.rm.datasource.sql.struct.TableRecords["rows"]->java.util.ArrayList[0]->io.seata.rm.datasource.sql.struct.Row["fields"]->java.util.ArrayList[14]->io.seata.rm.datasource.sql.struct.Field["value"]->oracle.sql.TIMESTAMP["stream"])
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

表字段类型（TIMESTAMP(6)）

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version : jdk1.8
OS :window10
Others: ojdbc<IP_ADDRESS>.3 + oracle11g +seata-all-<IP_ADDRESS>.jar

https://github.com/seata/seata/issues/2047


[llvm] update to 11.0.0

Update to LLVM 11.0.0
Fixes #13997
Fixes #12377
Adds new features: flang, MLIR, AVR backend

@yurybura, could you resolve the conflicts?

Dear @PhoebeHui, after merge #12926 CMake is failed.. I think, the problem is in using one more function call vcpkg_execute_in_download_mode in vcpkg_execute_required_process.

[1/2] cmd /c "cd ..  && "D:/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/bin/cmake.exe" "D:/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/llvm" "-DLLVM_BUILD_TOOLS=ON" "-DLLVM_INCLUDE_TOOLS=ON" "-DLLVM_BUILD_UTILS=OFF" "-DLLVM_INCLUDE_UTILS=OFF" "-DLLVM_ENABLE_RTTI=ON" "-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_ABI_BREAKING_CHECKS=FORCE_OFF" "-DCLANG_ENABLE_ARCMT=OFF" "-DCLANG_ENABLE_STATIC_ANALYZER=OFF" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_BUILD_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_BUILD_TESTS=OFF" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DLLVM_OPTIMIZED_TABLEGEN=ON" "-DLLVM_ENABLE_PROJECTS=clang" "lld" "-DLLVM_TARGETS_TO_BUILD=X86" "-DPACKAGE_VERSION=11.0.0" "-DLLVM_PARALLEL_LINK_JOBS=1" "-DLLVM_BUILD_LLVM_C_DYLIB=OFF" "-DCMAKE_DEBUG_POSTFIX=d" "-DCMAKE_MAKE_PROGRAM=D:/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/a/1/s/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows-static" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/a/1/s/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=static" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/a/1/s" "-D_VCPKG_INSTALLED_DIR=D:/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/packages/llvm_x64-windows-static""
CMake Error: The source directory "D:/buildtrees/llvm/x64-windows-static-rel/lld" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
[2/2] cmd /c "cd ../../x64-windows-static-dbg && "D:/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/bin/cmake.exe" "D:/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/llvm" "-DLLVM_BUILD_TOOLS=ON" "-DLLVM_INCLUDE_TOOLS=ON" "-DLLVM_BUILD_UTILS=OFF" "-DLLVM_INCLUDE_UTILS=OFF" "-DLLVM_ENABLE_RTTI=ON" "-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_ABI_BREAKING_CHECKS=FORCE_OFF" "-DCLANG_ENABLE_ARCMT=OFF" "-DCLANG_ENABLE_STATIC_ANALYZER=OFF" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_BUILD_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_BUILD_TESTS=OFF" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DLLVM_OPTIMIZED_TABLEGEN=ON" "-DLLVM_ENABLE_PROJECTS=clang" "lld" "-DLLVM_TARGETS_TO_BUILD=X86" "-DPACKAGE_VERSION=11.0.0" "-DLLVM_PARALLEL_LINK_JOBS=1" "-DLLVM_BUILD_LLVM_C_DYLIB=OFF" "-DCMAKE_DEBUG_POSTFIX=d" "-DCMAKE_MAKE_PROGRAM=D:/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/a/1/s/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows-static" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/a/1/s/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=static" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/a/1/s" "-D_VCPKG_INSTALLED_DIR=D:/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/packages/llvm_x64-windows-static/debug""
FAILED: ../../x64-windows-static-dbg/CMakeCache.txt
cmd /c "cd ../../x64-windows-static-dbg && "D:/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/bin/cmake.exe" "D:/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/llvm" "-DLLVM_BUILD_TOOLS=ON" "-DLLVM_INCLUDE_TOOLS=ON" "-DLLVM_BUILD_UTILS=OFF" "-DLLVM_INCLUDE_UTILS=OFF" "-DLLVM_ENABLE_RTTI=ON" "-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_ABI_BREAKING_CHECKS=FORCE_OFF" "-DCLANG_ENABLE_ARCMT=OFF" "-DCLANG_ENABLE_STATIC_ANALYZER=OFF" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_BUILD_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_BUILD_TESTS=OFF" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DLLVM_OPTIMIZED_TABLEGEN=ON" "-DLLVM_ENABLE_PROJECTS=clang" "lld" "-DLLVM_TARGETS_TO_BUILD=X86" "-DPACKAGE_VERSION=11.0.0" "-DLLVM_PARALLEL_LINK_JOBS=1" "-DLLVM_BUILD_LLVM_C_DYLIB=OFF" "-DCMAKE_DEBUG_POSTFIX=d" "-DCMAKE_MAKE_PROGRAM=D:/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/a/1/s/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows-static" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/a/1/s/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=static" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/a/1/s" "-D_VCPKG_INSTALLED_DIR=D:/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/packages/llvm_x64-windows-static/debug""
CMake Error: The source directory "D:/buildtrees/llvm/x64-windows-static-dbg/lld" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
ninja: build stopped: subcommand failed.

Dear @JackBoosY, the issue is here: "-DLLVM_ENABLE_PROJECTS=clang" "lld"
CMake function vcpkg_configure_cmake strips ; symbol. Should be "-DLLVM_ENABLE_PROJECTS=clang;lld". Before #12926 it worked.
Thank you.

@yurybura you need to take the changes from #14597 to vcpkg_configure_cmake.

@strega-nil Done. Thank you!

/azp run

CI testing failures with x64-linux:
-- Performing post-build validation
The /lib/cmake folder should be merged with /debug/lib/cmake and moved to /share/llvm/cmake.
Please use the helper function `vcpkg_fixup_cmake_targets()`
The following cmake files were found outside /share/llvm. Please place cmake files in /share/llvm.

    /mnt/vcpkg-ci/packages/llvm_x64-linux/lib/cmake/lld/LLDTargets-release.cmake
    /mnt/vcpkg-ci/packages/llvm_x64-linux/lib/cmake/lld/LLDTargets.cmake
    /mnt/vcpkg-ci/packages/llvm_x64-linux/lib/cmake/lld/LLDConfig.cmake
    /mnt/vcpkg-ci/packages/llvm_x64-linux/lib/cmake/llvm/LLVMConfigExtensions.cmake
    /mnt/vcpkg-ci/packages/llvm_x64-linux/debug/lib/cmake/lld/LLDTargets.cmake
    /mnt/vcpkg-ci/packages/llvm_x64-linux/debug/lib/cmake/lld/LLDConfig.cmake
    /mnt/vcpkg-ci/packages/llvm_x64-linux/debug/lib/cmake/lld/LLDTargets-debug.cmake
    /mnt/vcpkg-ci/packages/llvm_x64-linux/debug/lib/cmake/llvm/LLVMConfigExtensions.cmake

The /debug/lib/cmake folder should be merged with /lib/cmake into /share/llvm
Found 3 error(s). Please correct the portfile:
    /agent/_work/1/s/ports/llvm/portfile.cmake

I'm currently working on @PhoebeHui's issue; I'll push once I finish the test.

Here is features test results with x64-windows, except below features, others test passed.
New features: mlir and target-avr: test passed with vs2019, howvever it failed with vs2017
F:\vcpkg\13998\vcpkg\buildtrees\llvm\src\org-11.0.0-15a13a6e4e.clean\clang\lib\Sema\SemaDeclCXX.cpp   : fatal error C1128: number of sections exceeded object file format limit:   compile with /bigobj

New feature: fang
F:\vcpkg\13998\vcpkg\buildtrees\llvm\src\org-11.0.0-15a13a6e4e.clean\flang\include\flang\Common\idioms.h(20): fatal error C1189: #error:  this is a C++17 program

Exist feature: openmp, it haven't passed before
E:\vcpkg\13998\vcpkg\buildtrees\llvm\src\org-11.0.0-15a13a6e4e.clean\openmp\runtime\src\z_Windows_NT_util.cpp(489):   error C4839:   non-standard use of class 'std::atomic<unsigned int>' as an argument to   a variadic function   E:\vcpkg\13998\vcpkg\buildtrees\llvm\src\org-11.0.0-15a13a6e4e.clean\openmp\runtime\src\z_Windows_NT_util.cpp(489):   note: the constructor and destructor will not be called; a bitwise copy of   the class will be passed as the argument   C:\Program Files (x86)\Microsoft Visual   Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\atomic(1973): note:   see declaration of 'std::atomic<unsigned int>'   E:\vcpkg\13998\vcpkg\buildtrees\llvm\src\org-11.0.0-15a13a6e4e.clean\openmp\runtime\src\z_Windows_NT_util.cpp(489):   error C2280:   'std::atomic<unsigned int>::atomic(const std::atomic<unsigned   int> &)': attempting to reference a deleted function

Exist feature: clang-tools-extra, test with vs2019
F:\vcpkg\13998\vcpkg\buildtrees\llvm\src\org-11.0.0-15a13a6e4e.clean\clang-tools-extra\clang-tidy\modernize\LoopConvertCheck.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

Exist feature: polly
CMake Error at F:/vcpkg/13998/vcpkg/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/llvm/cmake/modules/AddLLVM.cmake:1741 (add_dependencies):
  The dependency target "FileCheck" of target "check-polly-tests" does not
  exist.
Call Stack (most recent call first):
  F:/vcpkg/13998/vcpkg/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/llvm/cmake/modules/AddLLVM.cmake:1762 (add_lit_target)
  F:/vcpkg/13998/vcpkg/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/polly/test/CMakeLists.txt:61 (add_lit_testsuite)

CMake Error at F:/vcpkg/13998/vcpkg/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/llvm/cmake/modules/AddLLVM.cmake:1741 (add_dependencies):
  The dependency target "not" of target "check-polly-tests" does not exist.
Call Stack (most recent call first):
  F:/vcpkg/13998/vcpkg/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/llvm/cmake/modules/AddLLVM.cmake:1762 (add_lit_target)
  F:/vcpkg/13998/vcpkg/buildtrees/llvm/src/org-11.0.0-15a13a6e4e.clean/polly/test/CMakeLists.txt:61 (add_lit_testsuite)

Dear @PhoebeHui, thank you for your job. Let me try to fix these issues.

Here is CI testing results, @yurybura, could you please have a look? I will test the features again.
awa-sdk-cpp: with x64-linux/x64-osx/x64-windows/x64-windows-static/x86-windows
CMake Error at cmake/sdksCommon.cmake:10 (if):
  if given arguments:

    "access-management" "STREQUAL" "core" "dynamodb" "kinesis" "s3"

  Unknown arguments specified
Call Stack (most recent call first):
  cmake/sdksCommon.cmake:40 (get_map_element)
  cmake/sdks.cmake:27 (get_dependencies_for_sdk)
  CMakeLists.txt:253 (include)

halide with x64-linux/x64-osx/x64-windows/x86-windows
CMake Error at D:/installed/x64-windows/share/llvm/LLVMConfig.cmake:180 (include):
  include could not find load file:

    D:/installed/lib/cmake/llvm/LLVMExports.cmake
Call Stack (most recent call first):
  C:/a/2/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  dependencies/llvm/CMakeLists.txt:12 (find_package)

CMake Error at D:/installed/x64-windows/share/llvm/LLVMConfig.cmake:198 (include):
  include could not find load file:

    D:/installed/lib/cmake/llvm/LLVM-Config.cmake
Call Stack (most recent call first):
  C:/a/2/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  dependencies/llvm/CMakeLists.txt:12 (find_package)

failure logs for x64-windows.zip

Dear @PhoebeHui,
I know about this issue. Probably better to return back the source code patch for correct generation of LLVMConfig.cmake.
I'll inform you after fixing all reported issues.
Thank you.

CMake Error at /mnt/vcpkg-ci/installed/x64-linux/share/llvm/LLVMConfig.cmake:180 (include):
  include could not find load file:

    /mnt/vcpkg-ci/installed/lib/cmake/llvm/LLVMExports.cmake
Call Stack (most recent call first):
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  dependencies/llvm/CMakeLists.txt:12 (find_package)

CMake Error at /mnt/vcpkg-ci/installed/x64-linux/share/llvm/LLVMConfig.cmake:198 (include):
  include could not find load file:

    /mnt/vcpkg-ci/installed/lib/cmake/llvm/LLVM-Config.cmake
Call Stack (most recent call first):
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  dependencies/llvm/CMakeLists.txt:12 (find_package)

CMake Error at /mnt/vcpkg-ci/installed/x64-linux/share/llvm/LLVMConfig.cmake:180 (include):
  include could not find load file:

    /mnt/vcpkg-ci/installed/lib/cmake/llvm/LLVMExports.cmake
Call Stack (most recent call first):
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  /mnt/vcpkg-ci/installed/x64-linux/share/clang/ClangConfig.cmake:10 (find_package)
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  dependencies/llvm/CMakeLists.txt:13 (find_package)

CMake Error at /mnt/vcpkg-ci/installed/x64-linux/share/llvm/LLVMConfig.cmake:198 (include):
  include could not find load file:

    /mnt/vcpkg-ci/installed/lib/cmake/llvm/LLVM-Config.cmake
Call Stack (most recent call first):
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  /mnt/vcpkg-ci/installed/x64-linux/share/clang/ClangConfig.cmake:10 (find_package)
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  dependencies/llvm/CMakeLists.txt:13 (find_package)

CMake Error at /mnt/vcpkg-ci/installed/x64-linux/share/clang/ClangConfig.cmake:19 (include):
  include could not find load file:

    /mnt/vcpkg-ci/installed/lib/cmake/clang/ClangTargets.cmake
Call Stack (most recent call first):
  /agent/_work/1/s/scripts/buildsystems/vcpkg.cmake:622 (_find_package)
  dependencies/llvm/CMakeLists.txt:13 (find_package)

CMake Error at dependencies/llvm/CMakeLists.txt:32 (set_target_properties):
  set_target_properties Can not find target to add properties to: llvm-as

CMake Error at dependencies/llvm/CMakeLists.txt:74 (llvm_map_components_to_libnames):
  Unknown CMake command "llvm_map_components_to_libnames".

We need to fix the paths in LLVMConfig.cmake

Dear @PhoebeHui,
please find my comments below about features testing.

New features: mlir and target-avr: test passed with vs2019, howvever it failed with vs2017

Fixed

New feature: flang

Fixed on Linux
flang compilation is failed with MSVC, there are a lot of issues fixed in master (see http://lists.llvm.org/pipermail/flang-dev/2020-July/000448.html). I don't think that we should add all patches... How can I exclude this feature on Windows?

Exist feature: openmp, it haven't passed before

Fixed on Linux
openmp compilation is failed with MSVC too but it is passed with GCC on Linux (see reported issue https://bugs.llvm.org/show_bug.cgi?id=45074).

Exist feature: clang-tools-extra, test with vs2019

Fixed

Exist feature: polly

Fixed

Except feature 'flang' and 'openmp', others test passed with x64-windows. Also test llvm:x86-windows with default feature, it passed.
For flang and openmp only supports on linux, could you add a fail message to portfile.cmake when the features has been built on windows platform?
Thanks again for making this possible!

For flang and openmp only supports on linux, could you add a fail message to portfile.cmake when the features has been built on windows platform?

Yes, I can. I think it would be nice to have an option to specify supported platform for a feature in the CONTROL file or in the vcpkg.json.

Unfortunately the 'Supports' doesn't work for features now, Jack draft a PR#12160 to implement it, however, it still need more time to finish that.

Sorry @yurybura, I have one test machine to test all features togather and found it failled in post-build validation, could you please have a look?
The following dlls were found in /lib or /debug/lib. Please move them to /bin or /debug/bin, respectively.

    E:/vcpkg/13998/vcpkg/packages/llvm_x64-windows/lib/clang/11.0.0/lib/windows/clang_rt.asan_dynamic-x86_64.dll

The following dlls were found in /lib or /debug/lib. Please move them to /bin or /debug/bin, respectively.

    E:/vcpkg/13998/vcpkg/packages/llvm_x64-windows/debug/lib/clang/11.0.0/lib/windows/clang_rt.asan_dynamic-x86_64d.dll

Sorry I didn't noticed this issue before.

Dear @PhoebeHui,
The compiler-rt library in LLVM located in the include directory by default. I think I should find and enable a policy to skip this post-build validation.
Thank you for report.

Augh I accidentally hit the merge button.
@yurybura or @PhoebeHui could you open a PR to fix this feature?

@yurybura @strega-nil, I concerned if it's right thing to skip post-build validation?

The dll located in libs folder
The crt linkage is wrong. should be debug/dynamic, releas /dynamic, currently, all are release/static.

I'm not familiar with the feature, it may has some problems to use it.

@PhoebeHui I think you're right, although I'm also not someone who understands this feature.

@strega-nil There is description of library: https://compiler-rt.llvm.org/
This lib is used by Clang compiler for source code instrumentation. For example for PGO.
So, I think I should think how to move this lib to the tools\llvm folder.
@PhoebeHui Could you report a new issue for compiler-rt post-build validation errors? Let continue discuss in this issue.

Sure, tracking this issue via https://github.com/microsoft/vcpkg/issues/14900


Provide token to upload coverage data to codecov

Codecov is adding an extra ~20 seconds to each CI job, because it hits a rate limit and retries several times before timing out. I think giving it the token should work around this.

Yup, that seems to be working much better. :tada:


Group restriction fix

This PR incorrect group restriction and argument types validation to call_contract API.
Fixes #1470

bors r+


The pretrained net is not working

The generalized utility is not well in the real scenario.

 The generalized utility is not well in the real scenario.

I acknowledge that the generalized utility might not be optimal in all real-world scenarios. To address this, I would recommend considering fine-tuning the model with your specific dataset. This can help tailor the model to better suit the nuances of your particular use case.

It seems to aggressively look for ID-card area even for plain A4 paper (overfit?).
In some cases, I can't even understand how the net determined its area which sounds totally random. The result is the same whether a 224x224 area is cropped (default) or whether white-background square encapsulate the rectangular images (I would expect the model to identify this as a significant contour but it's not)
Finally, regarding borders, I find them suspiciously symmetrical. Here is the code I used to extract them out of the results, based on the paper (in case anything wrong can be found):
        borders = [int(x * 224) for x in result[0][8:-2]]
        mid = int(len(borders)/2)
        border1 = borders[0:mid]
        border2 = borders[mid:]
        x = 0
        while x <= len(border1) - 1:
            cv2.circle(img_show, (int(border1[x]), int(border1[x+1])), 1, (0, 0, 0),-1)
            x += 2

        x = 0
        while x <= len(border2) - 1:
            cv2.circle(img_show, (int(border2[x]), int(border2[x+1])), 1, (255, 255, 0),-1)
            x += 2

I'm not in position to retrain (nor I do I have an annotated dataset to fine tune this out of real-word data), still, from a quick look, I tend to believe something may be wrong with the current pretrained model.


New version: JetBrains.Kotlin.Compiler version 1.2-M2

Pull request has been created with Komac v1.9.1 :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116335&drop=dogfoodAlpha

@wingetbot waivers Add Validation-Executable-Error


Wrong syntax used in inline Object literal example

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

Under Object member summary here, the 4th point includes an example at the end:
let teacher1 = { name = 'Chris' } and then teacher1.name
It wrongly uses { name = 'Chris' } for an object literal, whereas it should be { name : 'Chris' }
PR: https://github.com/mdn/content/pull/42

Link

Thanks for reporting this; I think I've fixed this line correctly now. There was a mistake in the constructor version too...

That was quick! 👌


Unable to find source doc for webcrawler

Reference link : https://docs.aws.amazon.com/kendra/latest/dg/getting-started-webcrawler.html
The link to edit the doc takes me to https://github.com/awsdocs/amazon-kendra-developer-guide/tree/master/doc_source/getting-started-webcrawler.md which doesn't exist.
The webcrawler documentation has a few typos which I wanted to correct and open a PR.
Choose Source Sitemaps to enter the **wesbite** sitemap URLs you want to crawl. A **sitempas** includes all relevant webpages or website domains you want to crawl. Enter the sitemap URL, and then choose Add new URL. You can add up to three sitemap URLs.

Thanks for the feedback! This doc published with the corrections, but it had not published on GitHub right away. The correct version is now published on GitHub: https://github.com/awsdocs/amazon-kendra-developer-guide/blob/master/doc_source/getting-started-webcrawler.md


Update Resque instrumentation

We've updated the background job reporting requirements.

[x] Update and add more thorough tests
[x] Add not tracing tests
[x] Add parameter/return validation to tests
[x] Update to use newer gem instrumentation tools
[x] Remove :link_workers option
[x] Split instrumentation config into client/worker parts
[x] Add tests for both and legacy resque config
[x] Add new Client Msg KVs to report; add tests to validate
[x] Add new Job KVs to report; add tests to validate
[x] Backtest to determine supported versions

This instrumentation supports versions 1.25.0 or greater.


Add support for notification endpoints

https://developers.coinbase.com/api/v2#notifications

This would be an awesome addition, looking forward to it.