Add merge track option

Under what conditions should 2 tracks be considered merge-able?
What if they have conflicting detections on the same frame?   Should the order of selection for merge matter?  Merge A with B means overwrite B with A, but Merge B with A means overwrite A with B?
I assume this will mostly be used to join tracks after auto-tracking pipeline is run, so most of the time there shouldn't be the possibility of conflicts.  Should we simply only allow merge for totally disjoint tracks?

Here's how I think the UI could work:

You enter merge mode by selecting a track like normal and then hitting some kind of merge button.
All non-candidate merge tracks disappear (see above), and the track you selected turns a different color
User has to use time nagivation controls to move forward and backward to select additional track(s) to add to the merge.  Select by left click, and when selected, they turn a special merge color.  Un-selected tracks remain their regular type-based color.
In merge mode, there's a "finish merge" button when all tracks have been joined.  This button brings up a summary of the merge, with details like

How many tracks are being merged
The frame span of the new track being created
The type of the new track (and maybe even an option to specify the type before you finalize)
The number of keyframes, interpolated frames, and empty frames that will be in the new track
A "CANCEL" button and a "MERGE" button.

After a merge is completed, the merge mode turns off, the new merged track is selected regularly, and edit mode is always off.
At this point, the user must press the save button in order to persist the merged track to the server (as with any other edit)

This will mostly used to merge fragmented tracks (tracker lost a fish, and didn't pick it up when it re-emerged elsewhere) though I could forsee cases where there could be a couple overlapping states due to algorithm error. Don't know the best option for those cases, maybe just choose boxes from track 1 or average the boxes, wouldn't worry about it too much and just chose something. Another option would be to add a warning when this happens but that could also be annoying requiring multiple extra button presses.
Whatever the functionality is, we'd want to minimize button presses, e.g. select track 1, ctrl + select track 2 to highlight them both, right click + merge

I expect this is one of the next highest priority tasks.
So far, I've done a few sample corrections, and most of the time the bad tracks are beyond repair.  Someone who is familiar with the interpolation controls, most of the time, could build a new track from scratch faster than it would take to dissect a track that jumped across 3 targets (and also dissect several other tracks that jumped across overlapping targets) and rejoin the tracks, then go through and fill in the parts in the middle.
It's also pretty hard to keep track of what you have and have not corrected right now, so delete-and-recreate saves time on having to figure out which tracks you've already fixed.
Basically, I'm not sure yet that a simple multi-select-and-merge will be easy to use or even result in faster correction speed.  I'm not aware of a any other annotation tool that has this capability, so doing something like this correctly will require extra care and research.
In order to do this properly, let's start by identifying some example datasets with merge-able tracks common enough that having this feature would speed up annotation.
I'd actually like to try and come up with some way to quantify our results, such as identifying some small tasks where annotations take X minutes to correct with the current UI and Y minutes after the addition of some new merge-type tooling.

I think one of the barriers is the temporal context.  We don't have a good way to see into the past/future so you would have to do constant switching of frames and selecting between tracks for it to work.  I think a concept of track tails or a visual indicator of boxes in the future/past would be needed before being able to make a track merge tool.  Then you need to filter down that noise of all this temporal information to see only the tracks that you want to merge.   The issue now becomes how complicated these tools are to use to filter in conjunction with merging the tracks.
I have some ideas but they still seem too complicated and they only fit the narrow scope of 'take beginning/end of one track and link it to the end/beginning of another track'.  Nothing about overlapping frames requiring merging/splicing/cutting or other stuff like that.

How do you pick which parts of overlapping tracks to keep?
What if one has a frame and another does not?
We need track tails
Can even show the mergeable tracks in the event viewer.


Personas for use cases

To help solidify the scope, I'm going to create a place to start collecting use cases. This PR adds a few baseline personas for the use cases.

I'll keep pushing to this PR for now - I'll be filling out the personas and starting to write use cases and user stories around the format.


getting "the map directive is not allowed here" error message when using hsts

Current Behavior
container using hsts receiving this error message during validation.
Expected Behavior
no error message
Steps To Reproduce
No response
Environment

OS:
OS version:
CPU:
Docker version:
Device model:
Browser/OS:

Container creation
version: '3.8'
services:
app:
image: 'lepresidente/nginxproxymanager:latest'
restart: unless-stopped
ports:
# These ports are in format :
- '80:80' # Public HTTP Port
- '443:443' # Public HTTPS Port
- '81:81' # Admin Web Port
# Add any other Stream port you want to expose
# - '21:21' # FTP
# Uncomment the next line if you uncomment anything in the section
# environment:
  # Uncomment this if you want to change the location of
  # the SQLite DB file within the container
  # DB_SQLITE_FILE: "/data/database.sqlite"

  # Uncomment this if IPv6 is not enabled on your host
  # DISABLE_IPV6: 'true'

volumes:
  - ./data:/data
  - ./letsencrypt:/etc/letsencrypt

environment:
  DISABLE_IPV6: 'true'

healthcheck:
  test: ["CMD", "/bin/check-health"]
  interval: 10s
  timeout: 3s

Container log
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41
app-1  | ❯ Starting nginx ...
app-1  | nginx: [emerg] "map" directive is not allowed here in /data/nginx/proxy_host/43.conf:41

Container inspect
No response
Anything else?
No response

there's already a temporary fix here https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3478

i'll do this patch manually in my build script i'll do a build in a couple of hours when my machine is less busy.


⚠ Bofrost.lu has degraded performance

In 7d8345c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 811 ms

Resolved: Bofrost.lu performance has improved in 358b665 after 6 minutes.


Author Section

You have done a good work. Keep it up and complete your project, if you didn't yet.
I saw that you have add an author section in your readme. It's nice. But I think it should be change as Developer or something similar that rather than the author. It's not a big issue, even you don't change that.

Ok ayye. I will change it. 😊


Unable to define array items by $ref according to draft4

I have a problem with define array item by $ref. Using Newtonsoft Json Schema I can write this code:
{
  "title": "JSON Schema for entity metadata JSON file format",
  "definitions": {
    "arrayElement": {
      "type": "object",
      "properties": {
        "someProperty": { "type": "string" },
        "someProperty1": { "$ref": "#/definitions/object1" }
      },
      "object1": {...}
    }
  },
  "type": "object",
  "properties": {
    "SomeArray": {
      "type": "array",
      "items": { "$ref": "#/definitions/arrayElement" }
    }
  }
}

And according to code above I can get JSchema with right array elements which validate correctly. But NJsonSchema cannot parse (without exceptions) this json code and I get empty array Items in JsonSchema4 object. Array elements can be really big with links ($ref) to another items in definitions
Is it possible to define array elements like this or there is another way to do it?

Looks good to me:

After some attempts I understand that it work correctly and validation was succesfully done but the items of 'SomeArray' in JsonSchema4 object was empty (look through quick watch "Shift + F9"). This confused me.

Properies doesn't exists in item object. And items collection is empty.
Thanks for response.

The “problem” is that it uses $refs. Use ActualSchema to dereference or Reference to get the referenced schema...

But validation work correct. Is it normal?

Yes, everything is fine... If you have a { $ref: ... } then NJS creates a new JsonSchema4 object with a Reference to another JsonSchema4 object, this way you can fully work with the schema in C# and also with refs (we cannot just use C# references as the serializer would not know if it's a $ref or just a regular inline schema)… This is why we have the properties Reference, HasReference and ActualSchema etc...

Thank you very much. The issue is closed.
One question. In future are you going to add "if then else" in Json Schema according to the draft v7?
Because it is really useful especially when you add required fields based on value in enum for example from another field.

You're welcome.
There are surely plans to support v6 & v7, but I mainly use NJS in conjunction with NSwag (http://nswag.org) to generate code and if/else is not supported by Swagger and only needed for validation. But if you have time, please create a PR with that along with some unit tests etc. help for v6/v7 features is greatly appreciated!
Also see: https://github.com/RSuter/NJsonSchema/issues/574

I'm sorry, but what do you mean when asks me about PR?

It would be great if you have time to implement if/then (i.e. extend the model and extend the validator) and create a PR with that - if you have time...


MF-560 - Normalizer is not passing messages that cannot be normalized

Fix non-SenML message routing in normalizer service.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #573   +/-   ##
=======================================
  Coverage   86.86%   86.86%
=======================================
  Files          62       62
  Lines        3381     3381
=======================================
  Hits         2937     2937
  Misses        305      305
  Partials      139      139

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 0fbb21c...dd7d99f. Read the comment docs.


Parsing problems with \def with templates

Currently, a template can match in the middle of a control sequence name.  For example
\def\x#1b#2.{\texttt{#1}}
\x\abc.

will output \a since the b matches in the middle of the \abc.
Also, the code
\def\x#1\a#2.{\texttt{[#1][#2]}}
\x abc \abc abc \a def .

will output [abc ][bc abc \a def] rather than the expected [abc \abc abc ][ def ].

Both issues are resolved in the issue1568 branch of my fork of MathJax.

==> Merged

==> In testsuite
LaTeXToMathML/macro/issue1569.html


polygons do not show any information

Problem
It is possible to click on the polygon but it reveals no information. Maybe show surface area?
Spread link: https://view.spreadviz.org/?output=ddf9ff80-334a-475d-8cdd-901925a32877/b1994460-1a73-41b1-a728-9290c1375c35.json&maps=GH,NG,CM,BF,GN,SL,ML

@jpmonettas we do not have the surface area, but maybe we could display attributes of an object?

@KanikaNahata nice catch, completely forgot to add polygon information, fixed in (https://github.com/fbielejec/spread/pull/187)

Problem
It is possible to click on the polygon but it reveals no information. Maybe show surface area?
Spread link: https://view.spreadviz.org/?output=ddf9ff80-334a-475d-8cdd-901925a32877/b1994460-1a73-41b1-a728-9290c1375c35.json&maps=GH,NG,CM,BF,GN,SL,ML
Dear KanikaNahata,
I met a problem in the process of uploading files.
I don't know how to generate the correct format of uploading tree files. I have finished the tree file by running beast2. However, a mistake occurred when ongoing data analysis.
Error ocurred while running analysis
Check full report
com.spread.exceptions.SpreadException: Can't get a discrete node state for attribute name height.

![image](https://github.com/ph
00kn_dnamedian.txt
ylogeography/spread/assets/98249975/08d86561-c74c-4fcf-a027-b4533b8faf59)
Could you help me how to solve it?
Thanks.
Dr Zhang.
@KanikaNahata @fbielejec


Links are not showing up in edit/upgrade or clone

Rancher versions: 5/24
Steps to Reproduce:

Create a container with a few links
Edit/upgrade or clone that container

Results:  Links are not showing up
Comment:
I checked the post and they are there, and I checked the API and they seem to be there as well

Version - Wagyu (master 7/25)
The links are still not showing up in upgrade/edit/clone for Containers.

@tfiduccia the schema for containers says that links are not updatable. I thought they were. We should put in an issue to allow them to be updated or argue with @vincent99 as to why they should not be haha


Add domainr.com & zonedb.org to the Users list

Thanks for making this great library, Miek!

Codecov Report

Merging #1134 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1134   +/-   ##
=======================================
  Coverage   55.27%   55.28%
=======================================
  Files          41       41
  Lines       10109    10109
=======================================
+ Hits         5588     5589    +1
+ Misses       3492     3491    -1
  Partials     1029     1029

Impacted Files
Coverage Δ

server.go
70.71% <0.00%> (+0.27%)
: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 54ab126...728cc1f. Read the comment docs.


[BUG] main branch deepspeed error report

Hello, when I use your latest main branch to run SFT training, I get the following error. What’s going on?
Traceback (most recent call last):
File "/LMFlow/src/lmflow/models/hf_decoder_model.py", line 284, in init
model = AutoModelForCausalLM.from_pretrained(
File "/venv/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 558, in from_pretrained
return model_class.from_pretrained(
File "/venv/lib/python3.9/site-packages/transformers/modeling_utils.py", line 2445, in from_pretrained
raise ValueError(
ValueError: DeepSpeed Zero-3 is not compatible with low_cpu_mem_usage=True or with passing a device_map.

Thanks for your interest in LMFlow! Deepspeed zero-3 requires offload, which moves part of the model to CPU RAM, thus it is not compatible with low_cpu_mem_usage. We will arrange a fix in the future and let you know once it is done. Thanks very much for your understanding 😄


Fix issue when filtering users by email

Closes #356

Coverage increased (+0.2%) to 88.26% when pulling 444cd7a87b4b6a89d4f100334cf0f884d52759ce on bug/user-search-by-email into 8ca506295f34103f1619d404f1fa9cb13e3285c7 on main.


(WiP) Add ability to unlink an approved speaker from a talk #JOINDIN-647

Work in progess, feedback appreciated

In commit/6196023 I mentioned that it's not showing flash message, just realised it is, but not at top of page.  My thought would be that this is outside the scope of this issue.  I can remove the flash message completely or leave it there until we decide if should be moved or not.

@liam-wiltshire @heiglandreas Could one of you take a final look at this when you get time please.


Semantic Segmentation example crashes with multiple GPUs and loss increase

Hi, I'm using dlib from latest git revision and the semantic segmentation example crashes when used with multiple GPUs and the loss increases, so the trainer reloads from a previous state.
I suspect this might be related to https://github.com/davisking/dlib/issues/1677.
As with that issue, the only modification I made to the example code was adding the GPU initializer list to the dnn_trainer.
Here's the exact error:
step#: 64369  learning rate: 0.1   average loss: 0.424571     steps without apparent progress: 7989
Loss has been increasing, reloading saved state from pascal_voc2012_trainer_state_file.dat_
An unhandled exception was inside a dlib::thread_pool when it was destructed.
It's what string is:
Error while calling cudaMemset(loss_cuda_work_buffer, 0, sizeof(float)) in file ../dlib/cuda/cuda_dlib.cu:1676. code: 11, reason: invalid argument

I suspect this might be hard to reproduce on other people's machines, but I have saved the state files when reloaded from makes this happen, so if you come up with a fix, I can try it easily.
Thanks in advance.

I forgot to mention:

loading the state itself works fine: I can resume the training from that point
after resuming, training works well, but when loss increases and tries to reload it again, it crashes
I have tried this several times and it happens every time
if I delete that state file (and resume the training from the other one, since there are two of them) loss does not increase, therefore training does not crash.

@arrufat I'll try to reproduce this problem.

I have saved the state files

I'll try to reproduce from scratch, but in case my training proceeds differently, could you share the problematic state file?

Hi @reunanen, thank you again, you can download it from here (the link will expire after 1 day or 1 download):

Can reproduce. Will look into it.


Change error message on org details tab when user enter wrong FQDN.

Describe the bug
If we add the wrong FQDN then on the org details page it must text according to the API response error.
To Reproduce
Steps to reproduce the behavior:

Go To  Infrastructure -> Chef Servers -> click server name-> click on Details Tab.
Change FQDN -> save.
Go to org tab -> click updated org name --> the text it show: Unable to show cookbooks because admin key is invalid.

Expected behavior
A description of what you expected to happen.

Go To  Infrastructure -> Chef Servers -> click server name-> click on Details Tab.
Change FQDN -> save.
Go to org tab -> click updated org name --> the text it should be: Could not get cookbooks: Get "https://api.chef.ios/organizations/viveksingh_msys/cookbooks": dial tcp: lookup api.chef.ios on <IP_ADDRESS>:53: no such host .

Screenshots

Aha! Link: https://chef.aha.io/epics/SH-E-302

This error needs to be handled when a user adds a chef server. After successful addition of chef server any further status change needs to be monitored from UI on demand basis when user goes to the chef server page. That's a different discussion which needs to be done.


AI Search Client Swagger Import into APIM URL Formatting

API Spec link
https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Azure.Search/stable/2023-11-01/searchindex.json
API Spec version
2023-11-01
Question/Query
Trying to put APIM in front of the Azure AI Search API.  When importing the swagger, it loses the proper URL formatting for the operations.
For example, the document count operation comes in as:
/docs/$count?api-version={api-version}
when it should correctly import as:
/{indexname}/docs/$count?api-version={api-version}
Can someone help me understand why this is happening, and what options there are to avoid manually or scripting the corrections?
Environment
No response

Hi @howardginsburg ,
In the linked swagger the "x-ms-parameterized-host" extension is used to parameterize all the operations
It does not appear that this extension is supported by APIM
https://learn.microsoft.com/en-us/azure/api-management/api-management-api-import-restrictions#supported-extensions
If you want to import the Search swagger I do think that manual or scripted corrections are required. You can also make a request that APIM supports this extension.
I hope this helps,
Matt

Thanks Matt!  I agree that manual scripting is the best option for the time being to make it so that updates to the swagger can be easily managed.
Sample repo can be found at https://github.com/howardginsburg/APIMSwaggerFix for anyone that comes across this at a later date.


Fix computeMinIntrinsicHeight in _RenderDecoration

_RenderDecoration should not ignore prefix, suffix or icons which were passed into InputDecoration when it computes min intrinsic height.
Closes:  #87403
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on [Discord].

@justinmc Hello, most likely you could review this. I'm sorry if this is not the case.
Some checks become unsuccessful after adding the tests. Could you please help me with it?

Is there

Is there any chance that you could look at this? @justinmc @goderbauer
Sorry if I am wrong about ping you here. Thanks!

Is there any chance that you could look at this? @justinmc @goderbauer
Sorry if I am wrong about mention you here. Thanks!

@justinmc @goderbauer
Could you take a look at this please? Thanks!

Could you try syncing the branch to head and see if the CI failures persist?

The one luci failure just means there's something wrong (or the CI hasn't finished running) on upstream/master. I've put on the "waiting for tree to go green" tag so this one will get merged as soon as the upstream/master tree is back to green (given there's no google testing failure). Thank you for contributing!

Thanks for review! I have synchronized this with the base branch.

Thank you for review!


Allow for inputFileSystem to be passed in as param to i18nPlugin

Issue Description
Would like to add the ability to pass in an inputFileSystem to be used in place of the compiler's default inputFileSystem.  This is currently being done with the outputFileSystem.
Issue Type

[ ] New Feature
[X] Enhancement
[ ] Bug
[ ] Other

Expected Behavior
An inputFileSystem should be allowed to be passed in through the options the same way as the outputFileSystems.  Then can be used instead of the compilers inputFileSystem.

+1

Resolved in #961


[Snyk] Security upgrade connect from 2.6.2 to 3.0.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

docs/package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

626/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.1
Cross-site Scripting (XSS) SNYK-JS-CONNECT-5846225
Yes
Proof of Concept

696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Prototype Poisoning SNYK-JS-QS-3153490
Yes
Proof of Concept

539/1000  Why? Has a fix available, CVSS 6.5
Cross-site Scripting (XSS) npm:connect:20130701
Yes
No Known Exploit

529/1000  Why? Has a fix available, CVSS 6.3
Non-Constant Time String Comparison npm:cookie-signature:20160804
Yes
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) npm:fresh:20170908
Yes
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Denial of Service (DoS) npm:qs:20140806
Yes
No Known Exploit

539/1000  Why? Has a fix available, CVSS 6.5
Denial of Service (DoS) npm:qs:20140806-1
Yes
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Prototype Override Protection Bypass npm:qs:20170213
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Poisoning
🦉 Cross-site Scripting (XSS)
🦉 Denial of Service (DoS)
🦉 More lessons are available in Snyk Learn

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


nxp: twister: does not detect NXP boards with LPC-Link

Describe the bug
Twister does not detect NXP boards with LPC-Link.
To Reproduce
Steps to reproduce the behavior:

Attach LPCXpresso55S69 (or any other LPCXpresso55Sxx board) with CMSIS-DAP to your PC.
Run in command line python .\scripts\twister --generate-hardware-map map.yml as described here
In a command line terminal, you can sees that the NXP device is marked as unsupported:

C:\_ddm\ZEPHYR\zephyr_vs\zephyr>python .\scripts\twister --generate-hardware-map map.yml
ZEPHYR_BASE unset, using "C:\_ddm\ZEPHYR\zephyr_vs\zephyr"
Renaming output directory to C:\_ddm\ZEPHYR\zephyr_vs\zephyr\twister-out.5
INFO    - Using Ninja..
INFO    - Zephyr version: v3.5.0-rc2-8-gb122685eff5b
INFO    - Using 'zephyr' toolchain.
INFO    - Scanning connected hardware...
WARNING - Unsupported device (NXP): COM17 - LPC-LinkII UCom Port (COM17)
INFO    - Detected devices:

| Platform   | ID   | Serial device   |
|------------|------|-----------------|

Expected behavior
twister should detect NXP boards,
Impact
Cannot use twister to run tests on NXP CMSIS-DAP boards
Environment (please complete the following information):
OS: Windows
Toolchain: Zephyr SDK 0.16.1
Commit SHA: https://github.com/zephyrproject-rtos/zephyr/commit/b122685eff5b4f22a88359402a8b07b36c381d0c

Twister currently supports a limited number of programmers for mapping hardware (see https://github.com/zephyrproject-rtos/zephyr/blob/1c2d326579ee8cea4c809eb737585537e3482677/scripts/pylib/twister/twisterlib/hardwaremap.py#L128). New ones can be added there, but I am wondering if it would be a better approach to delegate this "auto-detected" to the various West runners?

That being said, I just tried this on my LPCxpresso55S16 under Linux. The board is detected (but as always, you'll need to manually edit the map.yml file and tell twister the board name):
$ twister --generate-hardware-map map.yml --persistent-hardware-map
INFO    - Using Ninja..
INFO    - Zephyr version: v3.5.0-rc2-74-ge7bd10ae719d
INFO    - Using 'zephyr' toolchain.
INFO    - Scanning connected hardware...
WARNING - Unsupported device (None): /dev/ttyS0 - ttyS0
INFO    - Registered devices:

| Platform   | ID       | Serial device                                                                     |
|------------|----------|-----------------------------------------------------------------------------------|
| unknown    | PRARBQBQ | /dev/serial/by-id/usb-NXP_Semiconductors_LPC-LINK2_CMSIS-DAP_V5.361_PRARBQBQ-if01 |

Twister currently supports a limited number of programmers for mapping hardware (see

Based on the code it should support PyOCD CMSIS-DAP. Right?
So the required runner/programmer is supported.
So I have enabled PyOCD for LPC55S16 in its board.cmake and run the twister:
>python .\scripts\twister --generate-hardware-map map.yml
INFO    - Using Ninja..
INFO    - Zephyr version: v3.5.0-rc2-8-gb122685eff5b
INFO    - Using 'zephyr' toolchain.
INFO    - Scanning connected hardware...
WARNING - Unsupported device (NXP): COM15 - LPC-LinkII UCom Port (COM15)
INFO    - Detected devices:

| Platform   | ID   | Serial device   |
|------------|------|-----------------|

The generated .map file is empty.
My setup

Windows
LPC55S16 with the default CMSIS-DAP Link2
enabled pyocd for LPC55S16
The same behavior for all LPC55Sxx boards, the boards are not detected.

So something is broken with twister for Windows & pyocd & CMSIS-DAP.

Based on the code it should support PyOCD CMSIS-DAP. Right?

Right. It works for me on Linux.

Right. It works for me on Linux.

We can take it as the twister issue report for Windows.


[flaky-test] [rfe_id:588][crit:medium][vendor:cnv-qe@redhat.com][level:component]ContainerDisk [rfe_id:4052][crit:high][vendor:cnv-qe@redhat.com][level:component]VMI disk permissions with ephemeral registry disk [test_id:4299]should not have world write permissions

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind enhancement

What happened:
test failed: [rfe_id:588][crit:medium][vendor:cnv-qe@redhat.com][level:component]ContainerDisk [rfe_id:4052][crit:high][vendor:cnv-qe@redhat.com][level:component]VMI disk permissions with ephemeral registry disk [test_id:4299]should not have world write permissions
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/3639/pull-kubevirt-e2e-k8s-1.16/1275544608742313985
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/triage build-officer

/reopen
Same test failing here https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/logs/periodic-kubevirt-e2e-k8s-prev-prev/1363609743758725121 looks like the reason is different though


fixes for drive to support EControlMode swtiching

Thanks! Can you also give a description of what these changes do, for instance do they affect the supported FRI modes or only SmartServo?
These only affect supported SmartServo. No changes to FRI

Also one important thing: It looks these changes are not be available to the vrep plugin, and in a worst case they may break it. Have you checked that it at least compiles?
I do not have vrep installed. Can you test it on your end?

I think this is good for now, I've been testing the changes for a couple of days and they works very well. We can rename some of the calls to be more consistent at a later time.


Update login token to docker hub and make wget output more compact

Signed-off-by: Marios Andreopoulos<EMAIL_ADDRESS>

Cool, I retagged!


Packaging and Deployment section needs work

o	Install Supplementary Files (Ubuntu)
o	Retrieve the Installer/Distribution Media (Ubuntu)
o	Add Ansible Playbook for Post-OS Install: (Ubuntu)

The instructions for installing the RackHD packages (http://rackhd.readthedocs.org/en/latest/packaging_and_deployment.html) does not mention the following repos:
onserve
on-core
RackHD
on-imagebuilder
on-tools
on-statsd
Should I add them?

Nope - onserve won’t be staying, and the others are ancilliary or installed with installing the other packages, part of development, not an installation
-joe
From: bossidy <notifications<EMAIL_ADDRESS>Reply-To: RackHD/docs <reply<EMAIL_ADDRESS>Date: Thursday, December 10, 2015 at 9:44 AM
To: RackHD/docs <docs<EMAIL_ADDRESS>Subject: Re: [docs] Packaging and Deployment section needs work (#181)
The instructions for installing the RackHD packages (http://rackhd.readthedocs.org/en/latest/packaging_and_deployment.html) does not mention the following repos:
onserve
on-core
RackHD
on-imagebuilder
on-tools
on-statsd
Should I add them?
—
Reply to this email directly or view it on GitHubhttps://github.com/RackHD/docs/issues/181#issuecomment-163699606.

Thanks


all builds failed "Server Error 500: https://readthedocs.org//api/v2/command/"

all builds were working yesterday and started failing today, I have 2 projects under 2 different accounts, both failed.
error message
Server Error 500: https://readthedocs.org//api/v2/command/

This is known issue, there is a duplicate ticket with similar issues. It seems a load based issue with our api endpoints. Closing this here.

@agjohnson it happened again today. looks like this issue happens during the weekend? is there any scheduled job somewhere affecting the site?

it's working again now

Nope, the issue is completely intermittent, more dependent on load. I've made some changes to our infrastructure today, am seeing if that has any effect on this.
Tracking the issue at #2002


[pulsar-client-cpp] Fix for crash in Producer destructor

Motivation
This change fixes a crash I encountered when the destructor of the Producer is called.
Modifications
The ProducerStatsBasePtr is now declared in the header after the ExecutorServicePtr to ensure that it is destroyed before the ExecutorService. This is because the destructor of ProducerStatsImpl will attempt to cancel its outstanding DeadlineTimer which will then dereference the now destroyed ExecutorService and cause an exception.
Verifying this change

[ ] Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API: no
The schema: no
The default values of configurations: no
The wire protocol: no
The rest endpoints: no
The admin cli options: no
Anything that affects deployment: no

Documentation

Does this pull request introduce a new feature? no

I think this should already have been fixed in https://github.com/apache/pulsar/pull/6226. Can you double check?

Yes, you are right. That change will also result in fixing the crash I found. I'll close out this PR.


Add flag to launchPuppeteer() that will start full Chrome instead of Chromium

There should be some flag like useFullChrome that will set executablePath to process.env.APIFY_CHROME_EXECUTBALE_PATH if it's set, so that people don't need to know where Chrome is installed in the docker image.

Fixed in https://github.com/apifytech/apify-js/pull/45


Ubuntu Version in script

Under https://docs.microsoft.com/en-us/sql/big-data-cluster/deployment-script-single-node-kubeadm?view=sql-server-ver15#instructions-to-deploy-sql-server-big-data-cluster the setup-bdc.sh script has a line in it that says:
export DOCKER_TAG="2019-GDR1-ubuntu-16.04"
Will this work fine even if you are deploying to Ubuntu 18.03? Or should there be another setup-bdc.sh script that is used for 18.03 version?

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

ID: b52c141e-1793-43bb-5a16-5d82c1eff988
Version Independent ID: 93cbcb06-0108-3f1d-990d-b8ef8ad31756
Content: Deploy single node kubeadm cluster - SQL Server Big Data Clusters
Content Source: docs/big-data-cluster/deployment-script-single-node-kubeadm.md
Product: sql
Technology: big-data-cluster
GitHub Login: @mihaelablendea
Microsoft Alias: mihaelab

@mwdarab -- Mohammad, thank you for your question.
@mihaelablendea -- Mihaela, please look into this issue 3850.
cc @MightyPen as a writer

@MikeRayMSFT Hi Mike, I do not see the phrase -   export DOCKER_TAG   - in the article, although the original poster makes the phrase a focus of this Issue #3850?
Mihaela is the formal owner of the article in question.
cc: @MihaelaBlendea

A line of the article links to a file:
https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu-single-node-vm/setup-bdc.sh
In it is the version number in question. On line 49.

FWIWorth, that line (49) has been updated in the past, to represent this or that particular version.
Maybe an inline # comment could be added to clarify that this value can be changed (or cannot be changed?).

@mihaelablendea, @MikeRayMSFT -- please look into this issue.

Ubuntu 18.x is not yet one of the supported host OSes: https://docs.microsoft.com/en-us/sql/big-data-cluster/release-notes-big-data-cluster?view=sql-server-ver15#supported-platforms


Compare to Distribution rather than hard-coded values for Wishart

Closes #25

Sorry this was left incomplete for so long.
Not sure why CI isn't starting but otherwise it's ready @mzgubic @glennmoy


💡 [REQUEST] - wavecoder-ultra-6.7b

Model introduction
WaveCoder 🌊 is a series of large language models (LLMs) for the coding domain, designed to solve relevant problems in the field of code through instruction-following learning. Its training dataset was generated from a subset of code-search-net data using a generator-discriminator framework based on LLMs that we proposed, covering four general code-related tasks: code generation, code summary, code translation, and code repair.
This model is a new release from Microsoft, with impressive bench scores for a 7B, and I would love to see it tested by your Eval system.
Model URL
https://huggingface.co/microsoft/wavecoder-ultra-6.7b
Data type
float16
Additional instructions (Optional)
No response
Author
No
Security

[X] I confirm that the model is safe to run which does not contain any malicious code or content.

Integrity

[X] I confirm that the model comes from unique and original work and does not contain any plagiarism.

This looks like a finetune of Deepseek Coder 6.7b, so @evalplus can probably evaluate it the same way.

WaveCoder does not include a chat template so EvalPlus would do direct generation.

Hi, @ganler, thank you very much for helping to test our model 'wavecoder-ultra-6.7b'. In fact, we have our own prompt, which we have sent to you via email, but we have not received your reply. Could you please retest using our prompt? Thank you very much.


chore: cleanup now that we've dropped Node 12

Description
Drop Node 12 code
Additional context
Discovered here: https://github.com/vitejs/vite/pull/8235/files#r877715524

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[X] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the Commit Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[X] Ideally, include relevant tests that fail without this PR but pass with it.

Awesome, let's merge this one in a few days, after we do another 2.9 patch.


Implement LaravelCaptcha

Google captcha is quite annoying for some users and a lot of people don't know how to use it, sometimes people have to fill it multiple times. It works though.
However, we could include the laravel captcha itself for those  who want it! NO API Keys would be required and these captcha provided a better user experience.
REF : https://github.com/mewebstudio/captcha
Requirements:

Introduce composer.json
Require laravelcaptcha
Include as option for validators
Add option to component.

I would be able to quickly do this, if its sounds good and someone provides me a little help with the context on how exactly the validation code is structure, I have read through however, wont be nice taking so much time on it if someone can speed up the process by throwing more context information.

This functionality is actually a must for users within mainland China, I'm just getting started with OctoberCMS so I'm afraid I don't have the skills to help with a PR.


CI: remove (internal) DA Slack notifications

With the repo now officially transferred from Digital Asset's control to the open-source Haskell organization, there is no good reason for master builds to ping DA anymore. This (the corresponding Slack token "secret") is also the only piece of non-open-source configuration in the existing build process, so it needs to be removed before the CI can be transferred.

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

/azp run


Markdown text disappearing after presenting a sheet

So I have this app with a rather elaborate view hierarchy. For some reason when I present a sheet on top of the Markdown text then dismiss it the markdown text disappears but everything is else is still there.
I've tried to present a sheet in a vanilla standalone project and it works fine there. So not sure exactly what triggers this behaviour in my project. But all other UI elements works fine, it's only the markdown view that disappears.
Any idea why this could happen? Something with the states of the view not re-rendering somehow?

Have a similar issue, but when displaying a context menu for a list item that has markdown.

I had a similar issue. In my case, everything works on iOS 14, but Markdown disappears o iOS 15. I could isolate the error in a simple example:
https://github.com/heltena/MarkdownTest
To reproduce the error:

Run on a iOS 15 device (simulator also works)
Click on "Show Challenge"
You will see the markdown and a horrible red rectangle.

The Markdown should disappear.

Best!

I'm seeing the issue in both iOS14.5 and iOS15...

Sorry, maybe I should have opened another ticket instead of using yours. It looks close similar. Could you try my pull request in your code?

Yeah it’s probably related. Will try it when I’ll get back to a computer.

I will have a look at this as soon as I can. Thanks for reporting it.

Hi all,
I fixed this issue in the release-1.0 branch. Notice this branch is still a work in progress and contains other breaking changes I am making in preparation for the upcoming 1.0 release.
@heltena, thanks for providing a test project to reproduce the issue. That helped a lot.

I can confirm his solves my issue as well. Many thanks.


lguf-brightness: unstable-2019-02-07 -> unstable-2019-02-11

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build lguf-brightness


Sync word-count with problem-specifications

The first commit regenerates the word-count exercise based on the previously selected test cases, in order to minimize the diff when syncing.
Note that the problem-specification did not group the tests, so regenerating it removed the manually-created grouping.
The second commit syncs with problem-specifications. This brought in two new tests. The example solution had to be tweaked to pass the updated test suite.

Failed test
00:00 +8: test/word_count_test.dart: WordCount with apostrophes                                                                                00:00 +8 -1: test/word_count_test.dart: WordCount with apostrophes [E]
  Expected: {
              'first': 1,
              'don\'t': 2,
              'laugh': 1,
              'then': 1,
              'cry': 1,
              'you\'re': 1,
              'getting': 1,
              'it': 1
            }
    Actual: {
              'first': 1,
              'don\'t': 2,
              'laugh': 1,
              'then': 1,
              'cry': 1,
              'you\'r': 1,
              'e': 1,
              'getting': 1,
              'it': 1
            }
     Which: has different length and is missing map key 'you\'re'

  package:test_api                expect
  test/word_count_test.dart 50:7  main.<fn>.<fn>

@kytrinyx Thanks. That failed yesterday is funny since it's counting the e as a separate word.
I'll look at it soon (a few hours), but not sure I'll have a quick turnaround on the solution.

Looks like you fixed the test, looks good. Approved


amd-blis: 3.0 -> 4.0

Description of changes
Changelog: https://github.com/amd/libflame/releases/tag/4.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

amd-libflame failed to build
after the current staging-next is merged it'll start to fail on master with
install: cannot create regular file '/nix/store/-amd-libflame-3.0/include/FLAME.h': File exists
make: *** [Makefile:720: /nix/store/-amd-libflame-3.0/include/lapacke_mangling.h] Error 1
make: *** Waiting for unfinished jobs....
install: cannot create regular file '/nix/store/-amd-libflame-3.0/include/libflame.hh': File exists
install: Installing symlink libflame.so into /nix/9siqm0-amd-libflame-3.0/lib/
cannot change permissions of '/nix/store/-amd-libflame-3.0/include/libflame.hh': No such file or directory
install: cannot create regular file '/nix/store/-amd-libflame-3.0/include/libflame_interface.hh': File exists
install: cannot create regular file '/nix/store/-amd-libflame-3.0/include/lapacke_mangling.h': File exists
make: *** [Makefile:720: /nix/store/-amd-libflame-3.0/include/lapacke.h] Error 1
make: *** [Makefile:720: /nix/store/-amd-libflame-3.0/include/lapack.h] Error 1
make: *** [Makefile:720: /nix/store/-amd-libflame-3.0/include/FLAME.h] Error 1

Going to mark it broken on staging-next

@Artturin I will take a look at it. amd-blis and libflame need some fixing anyway.

See also https://github.com/NixOS/nixpkgs/pull/259266


pillar: for some reason not observing --nav-height

Need to look back at textual too. Why do they even work?

They work because nav-height, etc. are set in pillar.css but not in bind.css, which should probably change


Add a helper function to copy a texture to another one

We currently have BABYLON.CopyTextureToTexture which can only copy a whole texture to another one.
We should add a function that can copy a smaller texture to some (x,y) offset in the target texture.

Heyy may I help with that.

Of course, contributions are always welcome!
Instead of creating a new function, I think CopyTextureToTexture can be extended with the new functionality (maybe as a static function)?
Note that the code should use existing APIs in WebGL / WebGPU to do the job (like texSubImage2D), and not perform a render pass (as CopyTextureToTexture does currently, but that's because we support a conversion function during the copy, as well as copying to a depth texture).

https://forum.babylonjs.com/t/add-a-helper-function-to-copy-a-texture-to-another-one/52135


docs: add Nuxt as starter

Description

One thing is about TS since we do support TS by default with Nuxt 😊
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Thanks for the fast answer @patak-dev 💚

We discussed and we will add links to nuxt in a new ecosystem page in the docs. Thanks for the PR again @Atinux!


Fraud detection example fails to complete successfully

Issue description

issue description: SWCLI task fails when running Fraud Detection example
occurrence - consistent or rare: consistent
error messages: ERROR returned when running swci
commands used for starting containers:
https://github.com/HewlettPackard/swarm-learning/blob/master/examples/fraud-detection/Credit_card_fraud_detection.md

  200  ./scripts/bin/run-sn -d --rm --name=sn1 --network=host-1-net --host-ip=sn1 --sentinel --key=workspace/fraud-detection/cert/sn-1-key.pem --cert=workspace/fraud-detection/cert/sn-1-cert.pem --capath=workspace/fraud-detection/cert/ca/capath --apls-ip=<IP_ADDRESS>
  201  docker ps
  202  docker logs -f b22eb9e0a1af
  203  ./scripts/bin/run-swop -d --rm --name=swop1 --network=host-1-net --usr-dir=workspace/fraud-detection/swop --profile-file-name=swop1_profile.yaml --key=workspace/fraud-detection/cert/swop-1-key.pem --cert=workspace/fraud-detection/cert/swop-1-cert.pem --capath=workspace/fraud-detection/cert/ca/capath -e http_proxy= -e https_proxy= --apls-ip=<IP_ADDRESS>
  204  ./scripts/bin/run-swci -ti --rm --name=swci1 --network=host-1-net --usr-dir=workspace/fraud-detection/swci --init-script-name=swci-init --key=workspace/fraud-detection/cert/swci-1-key.pem --cert=workspace/fraud-detection/cert/swci-1-cert.pem --capath=workspace/fraud-detection/cert/ca/capath -e http_proxy= -e https_proxy= --apls-ip=<IP_ADDRESS>

docker logs [APLS, SPIRE, SN, SL, SWCI]: Cannot see any error in SN noder nor SWOP node
[swci]

...
Jul 08 13:53:37 agent1 hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swci:1.0.0/swci1/14af2050c827[3621]:     WAITING FOR TASKRUNNER TO COMPLETE
Jul 08 13:53:37 agent1 hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swci:1.0.0/swci1/14af2050c827[3621]:     TASKRUNNER FINISHED
Jul 08 13:53:37 agent1 hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swci:1.0.0/swci1/14af2050c827[3621]:       STATE : ERROR
Jul 08 13:53:37 agent1 hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swci:1.0.0/swci1/14af2050c827[3621]:       TIME  : 2022-07-08 13:53:32

[swop]
2022-07-08 13:52:23,153 : swarm.swop : INFO : SWOPExecutor: ENROLL TO Task : user_env_tf_build_task , opId :<PHONE_NUMBER>706672753 - Begins
2022-07-08 13:52:26,194 : swarm.swop : INFO : SWOPExecutor: ENROLL TO Task : user_env_tf_build_task , opId :<PHONE_NUMBER>706672753 - Ends
2022-07-08 13:52:26,227 : swarm.swop : INFO : SWOPBuildTask: Validating profile
2022-07-08 13:52:45,155 : swarm.swop : INFO : SWOPBuildTask: prerequisites OK
2022-07-08 13:52:48,186 : swarm.swop : INFO : SWOPBuildTask: start build thread
2022-07-08 13:52:48,276 : swarm.swop : INFO : SWOPBuildTask : image Build Completed
2022-07-08 13:52:56,224 : swarm.swop : INFO : SWOPBuildTask: build successful
2022-07-08 13:52:59,258 : swarm.swop : INFO : SWOPExecutor: Total Tasks: 1 , Current Task : user_env_tf_build_task , opId :<PHONE_NUMBER>706672753 Done
2022-07-08 13:53:27,446 : swarm.swop : INFO : SWOPExecutor: ENROLL TO Task : swarm_fd_task , opId :<PHONE_NUMBER>315186504 - Begins
2022-07-08 13:53:30,483 : swarm.swop : INFO : SWOPExecutor: ENROLL TO Task : swarm_fd_task , opId :<PHONE_NUMBER>315186504 - Ends
2022-07-08 13:53:33,596 : swarm.swop : INFO : SWOPExecutor: Total Tasks: 2 , Current Task : swarm_fd_task , opId :<PHONE_NUMBER>315186504 Done

[syslog] ml container
Jul  8 13:52:32 agent1 containerd[874]: time="2022-07-08T13:52:32.475640084Z" level=info msg="starting signal loop" namespace=moby path=/run/containerd/io.containerd.runtime.v2.task/moby/f4c988e4272921371fb3710d657d3271f81a433e2687f777dea28ce320db05ac pid=5691 runtime=io.containerd.runc.v2
Jul  8 13:52:32 agent1 systemd[1222]: run-docker-runtime\x2drunc-moby-f4c988e4272921371fb3710d657d3271f81a433e2687f777dea28ce320db05ac-runc.xZFQYT.mount: Succeeded.
Jul  8 13:52:32 agent1 systemd[1]: run-docker-runtime\x2drunc-moby-f4c988e4272921371fb3710d657d3271f81a433e2687f777dea28ce320db05ac-runc.xZFQYT.mount: Succeeded.
Jul  8 13:52:32 agent1 systemd[1488]: run-docker-runtime\x2drunc-moby-f4c988e4272921371fb3710d657d3271f81a433e2687f777dea28ce320db05ac-runc.xZFQYT.mount: Succeeded.
Jul  8 13:52:44 agent1 dockerd[3621]: time="2022-07-08T13:52:44.944135438Z" level=info msg="Container f4c988e4272921371fb3710d657d3271f81a433e2687f777dea28ce320db05ac failed to exit within 10 seconds of signal 15 - using the force"
Jul  8 13:52:44 agent1 dockerd[3621]: time="2022-07-08T13:52:44.998891667Z" level=info msg="ignoring event" container=f4c988e4272921371fb3710d657d3271f81a433e2687f777dea28ce320db05ac module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Jul  8 13:52:45 agent1 containerd[874]: time="2022-07-08T13:52:44.999229877Z" level=info msg="shim disconnected" id=f4c988e4272921371fb3710d657d3271f81a433e2687f777dea28ce320db05ac
Jul  8 13:52:45 agent1 containerd[874]: time="2022-07-08T13:52:44.999374157Z" level=warning msg="cleaning up after shim disconnected" id=f4c988e4272921371fb3710d657d3271f81a433e2687f777dea28ce320db05ac namespace=moby

Swarm Learning Version:

Find the docker tag of the Swarm images ( $ docker images | grep hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning )

$ docker images | grep hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sn     1.0.0     0fbeb1e14459   3 months ago   1.21GB
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swci   1.0.0     3c76a7bb4f87   3 months ago   1.05GB
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swop   1.0.0     f0d463e98f17   3 months ago   935MB
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sl     1.0.0     d1c9f233521e   3 months ago   1.18GB

OS and ML Platform

details of host OS: Ubuntu 20.04
details of ML platform used:
details of Swarm learning Cluster (Number of machines, SL nodes, SN nodes):
Example is using just 1 node
Node: <IP_ADDRESS> (running Ubuntu 20.04)
LS: <IP_ADDRESS> (running on RHEL 7.9)

Quick Checklist: Respond [Yes/No]

APLS server web GUI shows available Licenses? Yes
If Multiple systems are used, can each system access every other system? Yes
Is Password-less SSH configuration setup for all the systems? Just one node used for this example.
If GPU or other protected resources are used, does the account have sufficient privileges to access and use them? N/A
Is the user id a member of the docker group? Yes

Additional notes

Are you running documented example without any modification? Fraud detection. Just updating LS ip.
Add any additional information about use case or any notes which supports for issue investigation:
Since it´s reproducible I could collect a complete set of logs at any time.

NOTE: Create an archive with supporting artifacts and attach to issue, whenever applicable.

Does the docker image user-env-tf2.7.0-swop:latest generated by the docker image build task exist?
I have experienced a situation where the swci logs may show STATE: COMPLETE but the image was not actually created.
I am not sure why this is, as I am not a member of the development team...

I see the following images there:
ubuntu@agent1:~$ docker image list
REPOSITORY                                                     TAG       IMAGE ID       CREATED        SIZE
<none>                                                         <none>    4fe9f5f7db6a   2 days ago     1.71GB
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sn     1.0.0     0fbeb1e14459   3 months ago   1.21GB
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swci   1.0.0     3c76a7bb4f87   3 months ago   1.05GB
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/swop   1.0.0     f0d463e98f17   3 months ago   935MB
hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sl     1.0.0     d1c9f233521e   3 months ago   1.18GB
tensorflow/tensorflow                                          2.7.0     b51f642475ab   8 months ago   1.31GB

I think this image is the image of a failed build.
<none>                                                         <none>    4fe9f5f7db6a   2 days ago     1.71GB

Are you able to execute this procedure without error?
https://github.com/HewlettPackard/swarm-learning/blob/9fe994c06696b48b47dbdfe5315a20322b83dee1/examples/README.md#prerequisite-for-all-examples
cd swarm-learning/lib
ln -fs swarmlearning-1.0.1-py3-none-manylinux_2_24_x86_64.whl swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl

https://github.com/HewlettPackard/swarm-learning/blob/master/examples/fraud-detection/Credit_card_fraud_detection.md#-running-the-credit-card-fraud-detection-example
docker volume create sl-cli-lib
docker container create --name helper -v sl-cli-lib:/data hub.myenterpriselicense.hpe.com/hpe_eval/swarm-learning/sn:1.0.0
docker cp -L lib/swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl helper:/data
docker rm helper

In particular, has swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl been copied correctly?
You can also check if the following files are present to see if you have copied them correctly.
sudo ls -l /var/lib/docker/volumes/sl-cli-lib/_data/swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl

I removed that image and followed again the full procedure recreating link:
ubuntu@agent1:/opt/hpe/swarm-learning$ ls -la lib/
total 40
drwxr-xr-x 2 ubuntu ubuntu  4096 Jul 11 11:49 .
drwxr-xr-x 9 ubuntu ubuntu  4096 Jul  8 10:29 ..
-rw-r--r-- 1 ubuntu ubuntu 29250 Jul  8 09:57 swarmlearning-1.0.1-py3-none-manylinux_2_24_x86_64.whl
lrwxrwxrwx 1 ubuntu ubuntu    54 Jul 11 11:49 swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl -> swarmlearning-1.0.1-py3-none-manylinux_2_24_x86_64.whl
ubuntu@agent1:/opt/hpe/swarm-learning$

When running SWCI I can see the task building new image:
SWCI:10 > get task body user_env_tf_build_task
    0000: ---
    0001: BuildContext : sl-cli-lib
    0002: BuildSteps   :
    0003:     - FROM tensorflow/tensorflow:2.7.0
    0004:     -
    0005:     - RUN pip3 install --upgrade pip && pip3 install \
    0006:     -    keras matplotlib opencv-python pandas protobuf==3.15.6
    0007:     -
    0008:     - RUN mkdir -p /tmp/hpe-swarmcli-pkg
    0009:     - COPY swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl /tmp/hpe-swarmcli-pkg/swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl
    0010:     - RUN pip3 install /tmp/hpe-swarmcli-pkg/swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl
    0011: BuildType : INLINE
SWCI:11 > list tasks
    ROOTTASK
    user_env_tf_build_task
SWCI:12 > EXIT ON FAILURE OFF
SWCI:12 > EXIT ON FAILURE IS TURNED OFF
SWCI:13 >
SWCI:13 > # Assign build task to taskrunner
SWCI:13 > EXIT ON FAILURE
SWCI:13 > EXIT ON FAILURE IS TURNED ON
SWCI:14 > RESET TASKRUNNER defaulttaskbb.taskdb.sml.hpe
    TaskRunner Reset
SWCI:15 > ASSIGN TASK user_env_tf_build_task TO defaulttaskbb.taskdb.sml.hpe WITH 1 PEERS
    Task assigned to TaskRunner
SWCI:16 > WAIT FOR TASKRUNNER defaulttaskbb.taskdb.sml.hpe
    WAITING FOR TASKRUNNER TO COMPLETE

which ends successfully:
    WAITING FOR TASKRUNNER TO COMPLETE
    WAITING FOR TASKRUNNER TO COMPLETE
    TASKRUNNER FINISHED
      STATE : COMPLETE
      TIME  : 2022-07-11 12:19:26

Then image is there:
<none>                                                         <none>    c46decf41dd5   2 minutes ago   1.71GB

But yet same behavior:
SWCI:21 > get task info swarm_fd_task
    NAME         : swarm_fd_task
    TASKTYPE     : RUN_SWARM
    CREATETIME   : 2022-07-11 12:19:29
    AUTHOR       : HPESwarm
    CONTENTLINES : 15
    PREREQ       : user_env_tf_build_task
    OUTCOME      : swarm_fd_task
    FINALIZED    : True
SWCI:22 > get task body swarm_fd_task
    0000: ---
    0001: Command : model/fraud-detection.py
    0002: Entrypoint : python3
    0003: WorkingDir : /tmp/test
    0004: PrivateContent : /tmp/test/data-and-scratch
    0005: SharedContent :
    0006:   - Src   : /opt/hpe/swarm-learning/workspace/fraud-detection/model
    0007:     Tgt   : /tmp/test/model
    0008:     MType : BIND
    0009: Envvars :
    0010:   - DATA_DIR : data-and-scratch/app-data
    0011:   - SCRATCH_DIR : data-and-scratch/scratch
    0012:   - MODEL_DIR : model
    0013:   - MAX_EPOCHS : 32
    0014:   - MIN_PEERS : 4
SWCI:23 > list tasks
    ROOTTASK
    user_env_tf_build_task
    swarm_fd_task
SWCI:24 > EXIT ON FAILURE OFF
SWCI:24 > EXIT ON FAILURE IS TURNED OFF
SWCI:25 >
SWCI:25 > # Assign run task
SWCI:25 > EXIT ON FAILURE
SWCI:25 > EXIT ON FAILURE IS TURNED ON
SWCI:26 > RESET TASKRUNNER defaulttaskbb.taskdb.sml.hpe
    TaskRunner Reset
SWCI:27 > ASSIGN TASK swarm_fd_task TO defaulttaskbb.taskdb.sml.hpe WITH 4 PEERS
    Task assigned to TaskRunner
SWCI:28 > WAIT FOR TASKRUNNER defaulttaskbb.taskdb.sml.hpe
    WAITING FOR TASKRUNNER TO COMPLETE
    TASKRUNNER FINISHED
      STATE : ERROR
      TIME  : 2022-07-11 12:19:55

Is this docker volume exist?
$ docker volume ls
DRIVER    VOLUME NAME
local     sl-cli-lib

Is this file exist?
$ sudo ls /var/lib/docker/volumes/sl-cli-lib/_data/swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl
/var/lib/docker/volumes/sl-cli-lib/_data/swarmlearning-client-py3-none-manylinux_2_24_x86_64.whl

This time it works. whl wasn´t ther, not sure why, but after a new cp file was finally copied and task completed successfully:
user-env-tf2.7.0-swop                                          latest    a6925e5353b3   11 minutes ago   1.73GB

Need to do some more testing to understand why it wasn´t working before. Thanks a lot!

Closing this issue. Thanks @IMOKURI.


Codify guidelines for "helper" functions.

Currently we have no class naming guidelines for "helper" classes.
Examples include:

Azure::Core::Uuid
Azure::Core::_internal::HttpShared
Azure::Core::UserAgentGenerator
Azure::Core::StringExtensions
GetEnvHelper
Azure::Security::Attestation::_detail::JsonHelpers
Azure::Core::Credentials::_detail::AuthorizationChallengeHelper
Azure::Core::Credentials::_internal::AuthorizationChallengeParser

Codify the use of the suffix naming so that we are consistent within the Azure SDK.
Extremely preliminary thoughts:
Type names without suffixes should represent concrete types that can be stored in another types. Examples include:

Azure::Core::Uuid
Azure::DateTime

These types should contain non-static methods because they represent a concrete idea.
Static-only helper types should always have a suffix.
Known suffixes include:

Helpers - this is used for types which contain convenience methods to "help" in a task (Generating certain HTTP headers for example)
Extensions - this is used for types which extend an existing type.
Parser - static methods used to help parse types (this one's a bit weird - a UrlParser for instance could also be a factory for Urls)

Related guideline:

Static-only types must have a private constructor and destructor to prevent accidental instantiation.

Is the intent to codify this guideline meant for public surface area that we can't change/modify, or for implementation detail?

This guideline is meant for the Azure SDK for C++.
It applies to all scenarios in which we might be defining types.
For instance, when considering whether a type is a helper type or not, by definition helper types should not define concrete constructs - for example, Uuid, ETag, and UserAgent - by their name, these types are values and thus can be expected to be used as a variable or class member.  But UserAgentGenerator/UserAgentBuilder/UserAgentHelper are names which make it clear that they are NOT expected to be used as a variable.
Note that we could also consider defining these functions as free functions within a namespace, but that has its own set of challenges (I'm personally not a fan of free functions).


⚠ SceneTime has degraded performance

In 828881f, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1563 ms

Resolved: SceneTime performance has improved in 7965201 after 6 minutes.


make IntoFuture broadly usable

With 1.64, IntoFuture is now stable.  Therefore, most of our calls to .into_future() are no longer needed.

We pin the rust version in rust-toolchain.toml.   Currently, this is specified here:
https://github.com/Azure/azure-sdk-for-rust/blob/c5ed21f6e948b8040bc2a9c3cca04ebecf1194c6/rust-toolchain.toml#L2

@bmc-msft that only impacts people building directly from source. Users who take a dependency through crates.io or even GitHub will not be notified of this.


wrong countrycode

countrycode for south africa is ZA
countrycode SA belongs to saudi-arabia

countrycode for spain is ES not SP

GB instead of UK

Thanks! List updated.


Docker in Docker usage Fails due to Filename max size

When running Docker in Docker, it seems the filename generated is seems to be too large
Dockerfile to reproduce
Sending build context to Docker daemon  27.35MB
Step 1/6 : FROM debian:buster
 ---> 4f6ad27eb783
Step 2/6 : ENV BIN_DIR=/usr/local/bin
 ---> Using cache
 ---> 3f3c4d7035c1
Step 3/6 : RUN apt update && apt install curl -y
 ---> Using cache
 ---> f6effe22110e
Step 4/6 : RUN curl -fsSL https://raw.githubusercontent.com/railwayapp/nixpacks/master/install.sh | bash -s -- -y
 ---> Using cache
 ---> 7ca5c02901f1
Step 5/6 : ADD . .
 ---> Using cache
 ---> f3c4a6ff219f
Step 6/6 : RUN /usr/local/bin/nixpacks build .
 ---> Running in 10b9a8fadfb8
=== Building (nixpacks v0.0.23) ===
=> Packages
    -> nodejs
    -> nodePackages.pnpm
=> Install
    -> pnpm i --frozen-lockfile
=> Build
    -> Skipping
=> Start
    -> pnpm run start
Error: Writing app

Caused by:
    Filename too long (os error 36)
The command '/bin/sh -c /usr/local/bin/nixpacks build .' returned a non-zero code: 1

Try using
FROM debian:buster
WORKDIR /app

ENV BIN_DIR=/usr/local/bin
RUN apt update && apt install curl -y
RUN curl -fsSL https://raw.githubusercontent.com/railwayapp/nixpacks/master/install.sh | bash -s -- -y

ADD . .

RUN /usr/local/bin/nixpacks build .

Docker isn't installed. Also, make sure docker socket is accessible.

Mmmm, doesn't seem like that seems like it couldn't create the folder correctly for whatever the default file
https://gist.github.com/JakeCooper/0b12166b5ea661bad392bedcb8a4eff9

Gist covering DinD workflow


added TASH token

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address: 9Y46b1AZFgoAbPq9oddoaDSahCaZWTh7AmdvgPZa9nN7
Token Name: Magara Tash
Token Symbol: TASH
Logo: https://raw.githubusercontent.com/viol3/magara-solana/main/logo.png
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

Hello how long it will take to update token name and icon? Thanks


Question regarding agentUserId

According to the description of agentUserId, it's unique Id on the agent's platform.
I'm wondering whether that value can be shared between multiple google user accounts.
for example, our IoT platform allows household members share single family code
meaning each family member has its own account but share the same family code as they live in the same place, and control the same IoT devices.
: 1 Family Code - N x accounts
Thus, each one of family members can log in from Google Assistant with their IoT service accounts.
I guess that agentUserId maps to Google accounts - IoT service account (access token) like 1:1:1
If family code can be used for the value of agentUserId (that is a shared code between family members), maybe the number of updating report state calls could be minimized.
is this right? possible?
===============================================================
agentUserId: String (up to 256 bytes). Required. Reﬂects the unique (and immutable) user ID on the agent's platform. The string is opaque to Google, so if there's an immutable form vs a mutable form on the agent side, use the immutable form (e.g. an account number rather than email).

Yes, you could potentially have one agent user id for multiple Google accounts.


Model deployment with Docker image

The template currently relies on the azureml SDK to natively deploy the model as a real-time webservice in a selected compute, using Model.deploy. A common request from client is to provide a Docker file that a production team can deploy with a higher degree of flexibility (pod security, management, etc).
The template needs to implement a second scenario which leverages the Model.package functionality to create a Docker imagefile.
It would be nice to have a parameter in the deploy-model YAML template to choose which type of deployment the user wants:

Native deployment: the pipeline deploys the model in a webservice using AML, runs a smoke test, etc. (current behavior).
Docker image: the pipeline generates an artifact with this packaged model instead of deploying it as a webservice.

After the package has been created, a kubectl command may connect to the targeted AKS and run the docker image

@mariamedp I would like to help the team on this. I am advising a customer using our current accelerator and their use case is exactly what you are describing now. Just ping through Teams. MS alias: vyle


Adding compatibility for OctoberCMS v3

:) Thanks for this great tool

Hey @sanPuerquitoProgramador, I'd still be interested to merge this in if I get the time. Would you be interested to open a new PR to support V3?

Here is the translated message:

Hi there, sorry for deleting the previous PR, but I realized that what I wanted to submit was not ready yet.
I have added compatibility for OctoberCMS v3 and included several extra features.

Now it checks if the cell contains a date, and if so, it formats it to the standard format for database insertion. For example, if the date comes in Spanish format without time (d-m-Y), it is automatically formatted to (Y-m-d H:i:s).

I realized that there are occasions when you might have N number of columns in the Excel file and only want to import the information from columns A, B, C, H, J, L.

For those cases, I have added a variable $columnsToKeep  that accepts three states that are set from the controller's constructor of the plugin.
/**
 * __construct the controller
 */
public function __construct()
{
    parent::__construct();

    // Define the columns to keep
    $columnsToKeep = ['A', 'B', 'C', 'H', 'J', 'L'];

    $this->asExtension('ExcelImportExportController')->setColumnsToKeep($columnsToKeep);

    BackendMenu::setContext('Author.Plugin', 'Library', 'books');
}

Another option is to set the value to "all".
/**
 * __construct the controller
 */
public function __construct()
{
    parent::__construct();

    // Define the columns to keep
    $columnsToKeep = "all";

    $this->asExtension('ExcelImportExportController')->setColumnsToKeep($columnsToKeep);

    BackendMenu::setContext('Author.Plugin', 'Library', 'books');
}

Or the simplest one is not to set the variable.
/**
 * __construct the controller
 */
public function __construct()
{
    parent::__construct();

    BackendMenu::setContext('Author.Plugin', 'Library', 'books');
}

I hope you find these features useful.
Have a great day and thank you very much for your tool. It helped me a lot with my project.

Thanks! Can you please leave out the parts where you mention this is a fork?
Also let's focus on v3 compatibility for this PR, feel free to suggest new features in separate PR's


react-native | Allow invoking a sync callback under AsyncCallback via 'unsafeCallSync'. (#43143)

Summary:
AsyncCallback allows storing SyncCallback and invoking it from any thread.
However, there are cases where if you have a mix of sync and async callbacks - you might want to invoke them together in one go, instead of spreading them out across thread invocations.
For those cases - allow invoking any AsyncCallback as a sync one, prefixing it with "unsafe", because it's inherently not a safe operation to perform.
Changelog:
[General][Changed] - Allow invoking the AsyncCallback synchronously to allow for tight performance optimization.
Reviewed By: s-rws
Differential Revision: D54028850

Merged as https://github.com/facebook/react-native/commit/765e542c8d25401e1b8818ff3caec2796efb51b1


Quick replies Location

Hello,
How to make a button quick replies of location and get that value.
Thank you !!!

I finally found 👍
message.reply(
text: 'Send location please !',
quick_replies: [
{
content_type: 'location',
}
]
)
coordinates = message.attachments.to_s #And to retrieve the coordinates (but you still have to parse).


Fix for flickering output in np widget

By issuing the 'clear' command, depending on the terminal implementation, the screen can flicker if the terminal takes some time to draw the next characters.
The correct fix is not to clear the screen, but instead to manipulate the cursor to place it at the top, then simply re-draw. This avoids any flickering in the output.
This fix should address that for the terminal player.
Thanks again for making such a great, simple tool. It was easy to make this change.

Looks like this runs into some edge cases where song names change. Marking this as a draft for now.

Currently, similar to the concept of double buffering, I have clear called immediately before drawing (as part of the buffer to be drawn, and also in the case of text mode just before outputting the playback information).
So I think you'd want that escape sequence in the $art buffer, in place of clear.  Currently in this diff it is just called for the case of the -t text mode flag.  I don't know what effect this will have, but please feel free to update the pr if you see the issue resolve in terminal emulators with that change, I'd be thrilled to merge it in.  But I haven't messed with that escape sequence myself.


mp3_imp: Fix false negative when probing MP3 with multiple ID3 tags.

Having seen many cases where multiple ID3 tags are present and this patch solve the issue where they are not recognized correctly.

Applied. Thanks.


error TS2307: Cannot find module 'tree-sitter' or its corresponding type declarations

I've seen this several times in CI, an update branch fixed it in the past and I assumed somehow a bad commit got into main. However it just happened again when I was on the tip of main so the update branch button wasn't there.
><EMAIL_ADDRESS>compile
> ../node_modules/.bin/tsc -p tsconfig.build.json

lib/policies.ts(11,25): error TS2307: Cannot find module 'tree-sitter' or its corresponding type declarations.
lib/policies.ts(319,39): error TS7006: Parameter 'c' implicitly has an 'any' type.
lib/policies.ts(342,39): error TS7006: Parameter 'c' implicitly has an 'any' type.
lib/policies.ts(348,40): error TS7006: Parameter 'c' implicitly has an 'any' type.
lib/policies.ts(490,33): error TS7006: Parameter 'm' implicitly has an 'any' type.
lib/policies.ts(491,47): error TS7006: Parameter 'c' implicitly has an 'any' type.
lib/policies.ts(492,41): error TS7006: Parameter 'c' implicitly has an 'any' type.
lib/policies.ts(493,40): error TS7006: Parameter 'c' implicitly has an 'any' type.

https://dev.azure.com/vscode/VSCode/_build/results?buildId=133549&view=logs&j=c7493abb-a1f4-533f-2d24-71780a69f247&t=9396f75f-d8ed-59a9-3621-c73d785709ab&l=27

I've seen this maybe 10 times over the past month, please fix asap 🙏
https://dev.azure.com/vscode/VSCode/_build/results?buildId=134430&view=logs&j=c7493abb-a1f4-533f-2d24-71780a69f247&t=9396f75f-d8ed-59a9-3621-c73d785709ab&l=27

I don't know that this is related to the tree sitter work I've done. I just looks like a required dependency isn't specified in the build pacakge.json. I've made it required, we'll see if that solves the problem.


Sometimes miners are given 0 input files to the simulation

And we should not let them start their mining processes if this happens

How can we handle this situation? We can implement a check that ensures miners verify receipt of the necessary files before proceeding. If the files are not received, the miners should make themselves available for query again.

Add a file receipt verification step.

If the files are not received, the miner marks itself as available for another query
If the files are received, the miner continues with normal operation.

this check is now in main


Use github.com/openshift/origin/pkg/image/reference

Dependent on #607 which should be good to go.
Fixes #614.

lgtm
[merge]

lgtm, thanks @jim-minter
[merge]


fix(package.json): include Samples~ directory in package build

The Samples~ directory was not included in the package build so
was being omitted from the final build.

:tada: This PR is included in version 1.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
v1.1.1
GitHub release

Your semantic-release bot :package::rocket:


Support korean translation

If you fine, add korean translation plesase.
This is that i translated file.
https://gist.github.com/gyular/c57f0959627d8c05ab77a46e72960a5a

Thank you, I'll add it on the next version, likely tomorrow


Live Preview with Next.js App Router and Sanity Studio

I'm trying this guide https://www.sanity.io/guides/nextjs-app-router-live-preview.
I was able to addres everything (it has errors but was able to fix them) but the Preview feature (the most important part of the guide).
Here is the reference https://www.sanity.io/guides/nextjs-app-router-live-preview#86c85dfb0cb7.
I'm not sure why I'm getting the following error when go to http://localhost:3000/api/preview:
TypeError: cookies is not iterable
    at get [headers map sorted] (node:internal/deps/undici/undici:1844:34)
    at node:internal/deps/undici/undici:1865:43
    at Headers Iterator.next (node:internal/deps/undici/undici:1108:26)
    at toNodeOutgoingHttpHeaders (/Users/me/Dev/nextjs-app/node_modules/next/dist/server/web/utils.js:106:31)
    at invokeRender (/Users/me/Dev/nextjs-app/node_modules/next/dist/server/lib/router-server.js:275:122)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async handleRequest (/Users/me/Dev/nextjs-app/node_modules/next/dist/server/lib/router-server.js:447:24)
    at async requestHandler (/Users/me/Dev/nextjs-app/node_modules/next/dist/server/lib/router-server.js:464:13)
    at async Server.<anonymous> (/Users/me/Dev/nextjs-app/node_modules/next/dist/server/lib/start-server.js:117:13)

Any clues as to what may be going wrong?
Thanks!

Hi @fpuglap :)
If you can share with us a reproduction case we'll be able to dig in and find the root of the problem.
There's also a starter template on App Router that we often end-to-end test features such as live previews: https://github.com/sanity-io/sanity-template-nextjs-app-router-personal-website
If there's problems in our guide, as it has been rewritten during both the life cycle of App Router as well as our own preview-kit tooling, the template can be a fallback reference for you.


[fix bug 1115125] Missing favicon in tab display for some of the categories

Fixes the issue of missing favicon.

Coverage remained the same at 91.95% when pulling eb5b40a51815f8f153756d36202d572feb1fafc5 on yashmurty:master into ec79538934f4293e7cca8962aaf0f29fcf56c3f6 on mozilla:master.

Hey @yashmurty
Thank you for the contribution. I've added a couple of comments and after you fix that your PR is ready to be merged.
Thank you :rocket:

Hey @johngian,
I have made the recommended changes.
Please let me know if there is anything else that I should fix.
Thanks :)

Coverage remained the same at 91.96% when pulling 2161f061763bf2b0ccf0719ce91d65204149c671 on yashmurty:master into 07d42e1b43179c43d863fe5ccbf002130c980068 on mozilla:master.

Closing this one after #1039


How can i switch from gogs to gitea with less pain?

Is there any manual for moving the git server from gogs to gitea? I'd like to save all my data which was created in gogs before: users, repoitories, settings, everything.

You want this: Upgrade from Gogs
Basically, you'll do a gogs dump, then a gitea restore.

Thank you very much!

@charlesreid1 The manual is a bit outdated:

There is no gogs dump anymore but gogs backup. It must be run under non-root user.

I have this error during gitea web:
 Failed to initialize ORM engine: migrate: do migrate: Error 1146: Table 'gogs.repo_unit' doesn't exist

@vityafx What is your gitea version?

@appleboy
$ ./gitea-bin --version
Gitea version 1.4.0+rc1-12-g423c642 built with: bindata, sqlite

@vityafx I think you should try the v1.0 version. download from https://dl.gitea.io/gitea/

@appleboy why so old?

You should migrate gogs to gitea v1.0 and then upgrade gitea from v1.0 to v1.4

@appleboy this also should be mentioned in the docs then.

@appleboy It works so, confirmed: migrating from gogs to 1.0 gitea and the upgrading the gitea from 1.0 to 1.4. Thanks a lot.

@vityafx Nice, we should update the document.

@vityafx which version do you download? v1.0.x?

Documentation file needing updating is here: from-gogs.en-us.md, also in French and Chinese (dir).
@vityafx the first two instructions are probably the ones that need updating. Did gogs still update gogs-dump-[timestamp].zip? Does the second instruction need changing, or just clarification?

Create a Gogs backup with gogs dump. This creates gogs-dump-[timestamp].zip file containing all important Gogs data.
Download the file matching the destination platform from the downloads page.

@appleboy 1.0.3 version :) Also, I still don't get what is gogs backup for? We don't use it later.

@charlesreid1 I don't know neither french nor chinese :-D

@vityafx Can you help to update the document?

@appleboy Yes, I can. But I can only try doing that in english.

@vityafx Great. Thank you. Waiting for your PR.

It would seem that gogs backup commands/options are not particularly well-documented. Not sure if this has been addressed but it doesn't look like it.

Some useful info about this topic at this issue on the same toipc: #3487

Review my PR please. I think I added everything what is necessary.

You made your PR against the master branch of your own repo - you should make it against the master branch of the gitea repo!

Oh, lol, that github annoys me.

Great. I was able to successfully migrate with these explanations.
However, the "Upgrading to most recent gitea version" section was inserted at the wrong place (the config changes below belong to the section above). Apart from that, I am not sure why one is supposed to first start gitea once and only then adapt the repositories path and the config. I might create another pull request if somebody can clear that up.
I am using Docker. The paths and the procedure for the migration with Docker are slightly different, but I think it's not absolutely necessary to explain it in more detail, this could be left "as an exercise for the reader" :)

what version of gogs where you on @vityafx ?

I am on 1.4 now, why?

@steliosmilidonis and others looking to migrate from gogs to gitea in 2018 - I posted some notes at #4286 about my successful migration from the latest gogs.


Refactor Resolution Failure interface hierarchy

This change refactors the type hierarchy of classes involved in handling dependency resolution failures to better align it with the stages of the dependency resolution process.
This applies to failure types and interfaces, exception types, and failure describer types, and the names of methods that create and interact with those types.  Though this PR contains many file changes, the vast majority are shallow renames related to the name changes.
This allows some "guaranteed minimum" failure information to be standardized in the failure types representing various stages of resolution.  For instance, when failing to select a variant by attributes, we should always have a component available and can always identify it via a ComponentIdentifier.  This structure is now "baked into" the hierarchy.
Message Formatting Adjustments

Single quote some variant and capability names to better delineate and emphasize them in failure messages (see the change to dependencyInsight.out).
Single quote some component identifiers to be consistent with existing single-quoting of configuration names (see the change to IvyModuleResolveIntegrationTest.groovy).
Drop redundant "of " language from failures to find capability, as this information will always present in the preceding line of the error message (see change to VariantDependencySubstitutionRulesIntegrationTest.groovy).

Internal Changes

Add a describeRequestTarget method to the base ResolutionFailure interface, which subtypes should use to provide some form of basic information about the requested component.
ResolvedVariantSets expose a ComponentIdentifier of the component they belong to.
Drop separate ExternalConfigurationNotFound type and treat all configuration by name requests where the name does exist via the same path.
Re-ordered methods and class internals to logically align with different failure stages.
Added some utility methods to make getting and working with a component's default capability easier.

This is a followup to #27858 that continues to address #12126,

@bot-gradle test QFL

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

@bot-gradle test QFL

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

@bot-gradle test QFL

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

@bot-gradle test QFL

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

The ConfigCache failure is an intermittent upload failure and can be safely ignored.

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

The merge queue build has failed. Click here to see all failures.

@bot-gradle test and merge


search result counter and bread-topic for glossary adjusted

Fix for Issue #2626
The function countGlossaryResults counts the matches in the glossary result set. If the search term exists in the title or in the description the counter will be incremented. Also the bread-topic is now displayed correctly.

Changes approved, thanks @Crystalskulls !
I did update your related ticket for a remaining counter issue: https://github.com/corona-warn-app/cwa-website/issues/2626#issuecomment-1084687029


hueToColorComponent() doc seems incomplete

Expected Behavior
It should indicate a return type
Actual Behavior
It doesn't indicate a return type in the doc.
[nit]It doesn't point to a reference why this util function is useful (One can google for sure...)
Steps to Reproduce the Problem

go to https://www.openjscad.xyz/docs/module-modeling_colors.html#.hueToColorComponent

Specifications

Version: production
Platform: all
Environment: all

Doc change has been released.


Cookie Cutter flake8-docstrings instead of pydocstyle

tox.ini has a check for poetry run pydocstyle target_postgres in both the tap and target cookie cutters.
We could replace that with flake8-docstrings as that's how the sdk and meltano handle it. 🤷  took me away from coding a bit today as I"m trying to understand pydocstyle and saw this

Closing in favor of https://github.com/meltano/sdk/issues/1596


Application update

Are there any plans to implement application update using standard SWT update functionality?
I mean update only required jars/moduled from within app without full application reinstall?

Yes, there are such plans.
Duplicate of #135.