Conflict resolve window is uncloseable

Hi
The latest update must have broken the conflict resolution window because once opened I can not close the window, like I keep picking files to resolve but it does not seem to be doing anything, it keep showing me the same list and I cant decrease the number of conflicting files in that drop down menu. I tested it on IOS and Windows.
The other problem is that there should not be a conflict at this point because I did "fetch" on these devices. I am not sure why it keeps showing me the conflicting files dropdown.
I am using 0.22

Thank you for opening this issue!
In Self-hosted LiveSync, conflict is not only a local problem. Once the note has been conflicted in two or more modifications, both of the notes will be sent to the remote database to prevent unexpected overwriting. The client will not store the transferred notes in the storage while it has conflicts. (And, clients will make another different conflict with each modification).
Therefore, fetching again is just retrieving the fact of being conflicted. It is designed behaviour.
And more than two conflicts could be kept at the same time. I think that the issue could have happened to this specification. (If every conflict revision has a different timestamp, it could be so).
Unfortunately, we are not able to count the conflicts from the UI. Possibly we have to improve this.
I will address it as one of the improvements in the feature version. However, the easiest way to resolve this now is to rebuild databases. Acutally, we are based on files, so both databases could be ephemeral.
However, it costs a bit of time and traffic, so I regret to ask you this but would you mind if I ask you to rebuild databases after backing your vault up?

However, it costs a bit of time and traffic, so I regret to ask you this but would you mind if I ask you to rebuild databases after backing your vault up?

Actually I have done that many times, fetch, rebuild, repair etc on the IOS client, nothing helped. There seems to be a logic with conflicts somewhere there that does not align well.

I am really sorry about that. I strongly hope to fix the problem.
May I ask you to share your log and configuration? The configuration can be dumped from the Make report button on the Hatch pane, in the setting dialogue. Both of Windows and iOS, please.
And, the log can be stored in the file by enabling Write logs into the file. It would be helpful if you could share the logs while the repeated resolution dialogue is displayed.

Excuse me for the posting in a row.
While writing the reply to #371, I realised that it might be related to #371. If so, v0.22.3 might improve this.
I hope that the situation goes well. Thank you for your contribution!

I have identified some additional issues related to conflict resolution.
In some cases, we had not been able to resolve conflicts completely, as you had initially mentioned. This seems to be a compounded issue. Thank you for your patience with frequent and unreliable versions.
Earlier today, I released version 0.22.4, which fixes these problems. Would you kindly check this version, please?


adding dynamically_quantize_per_tensor

Stack from ghstack (oldest at bottom):

#22
#21
#20
-> #18
#17

Summary: largely adapted from vkuzo's pytorch-labs/ao_benchmarks
quant_primitives, this function corrects some small numerical issues
with that function. Specifically you need to explicitly use fp64
intermediates to calculate scale (python float gets autocast to fp32) in
order to match the cuda reference function.
triton graph of dynamically_quantize_per_tensor:
https://gist.github.com/HDCharles/17300b0c0e2cd2e7a3e49d546dc9e19a
Test Plan: python test_quant_primitives.py TestPerTensorQuantization
Reviewers:
Subscribers:
Tasks:
Tags:

largely adapted from vkuzo's pytorch-labs/ao_benchmarks
quant_primitives, this function corrects some small numerical issues
with that function.

can we spell these out?  This is really important to understand and document.

done

@HDCharles has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@HDCharles has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@HDCharles has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@HDCharles has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@HDCharles has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.

@HDCharles has imported this pull request.  If you are a Meta employee, you can view this diff on Phabricator.


Fix API Setting Methods

While the docs do not say this, setting the packet format, the secondary
packet format, and the send interval respond with a string followed by
\r\n.

It's worth nothing that set_data_and_time still don't work, at least with my GEM, but I haven't figured out if there's actually an error or not yet.
@jkeljo, it'd be good if you can test this with your GEM so we can verify that the spec is wrong here or if my GEM is being weird.

It looks to me like everything gets the \r\n from the device, including getting the serial number.  Python just makes that easy for us by ignoring it when using the int constructor.

It's worth nothing that set_data_and_time still don't work, at least with my GEM, but I haven't figured out if there's actually an error or not yet.

Works for me. I quickly hacked in support for getting the date and time, then fired some commands at my GEM, whose time had drifted substantially over the years LOL:
2021-11-01 21:50:06,319 [asyncio](DEBUG) Using selector: KqueueSelector
2021-11-01 21:50:06,326 [siobrultech_protocols.gem.protocol](DEBUG) Starting API request. Requesting packet delay...
2021-11-01 21:50:09,329 [siobrultech_protocols.gem.protocol](DEBUG) Sending API request '^^^RQSDTM'...
2021-11-01 21:50:12,330 [siobrultech_protocols.gem.protocol](DEBUG) Received API response: '2021-11-01 22:15:39
'
2021-11-01 21:50:12,331 [siobrultech_protocols.gem.protocol](DEBUG) Ended API request
2021-11-01 21:50:12,331 [__main__](DEBUG) 2021-11-01 22:15:39

2021-11-01 21:50:12,331 [siobrultech_protocols.gem.protocol](DEBUG) Starting API request. Requesting packet delay...
'...-11-01 21:50:15,337 [siobrultech_protocols.gem.protocol](DEBUG) Sending API request '^^^SYSDTM21,11,01,21,50,12
2021-11-01 21:50:18,341 [siobrultech_protocols.gem.protocol](DEBUG) Received API response: 'DTM
'
2021-11-01 21:50:18,341 [siobrultech_protocols.gem.protocol](DEBUG) Ended API request
2021-11-01 21:50:18,341 [siobrultech_protocols.gem.protocol](DEBUG) Starting API request. Requesting packet delay...
2021-11-01 21:50:21,344 [siobrultech_protocols.gem.protocol](DEBUG) Sending API request '^^^RQSDTM'...
2021-11-01 21:50:24,349 [siobrultech_protocols.gem.protocol](DEBUG) Received API response: '2021-11-01 21:50:18
'
2021-11-01 21:50:24,349 [siobrultech_protocols.gem.protocol](DEBUG) Ended API request
2021-11-01 21:50:24,349 [__main__](DEBUG) 2021-11-01 21:50:18

Works for me.

With these changes?  I was able to figure it out and fixed it with a subsequent fix after my comment.

With the current contents of this PR. Was it the missing CRs at the end, then?


Fix single-line directive parsing issue

Bug/issue #, if applicable:

[ ] Close #64
[x] Close #65

Summary
Before this PR, the block directive parser will just ignore the content after "{" in the same line.
After the PR, the behavior becomes the following:
@xx { yy           // "yy" will be ignored
@xx { yy }         // "yy" will be parsed
@xx { yy } zz }    // "yy } zz" will be parsed. It can be "yy } zz" or "yy". My implementation choose it to the former.

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
[x] Updated documentation if necessary

@swift-ci please test

Ping @QuietMisdreavus . Could you help review this?

#64 and #65 seem to be different issue for me. This PR only solved #65, #64 is still unresolved. cc @QuietMisdreavus

@Kyle-Ye They seem to be identical to me - a block directive that has its closing brace on the same line as its name treats the rest of the document as part of the directive. When that directive is @Comment, Swift-DocC treats the entire rest of the document as a comment, and removes it from the rendering. In #64, the comment was added directly underneath the top-level heading, which then swallowed the entire page's content, resulting in an empty page. In #65, the comment was farther down the page, and swallowed only the content between it and the end of the document. In both cases, the directive was never closed in the parser, so everything written after it was treated as part of the directive. The only difference between the two issues (that i can see) is where in the file they were written.

@Kyle-Ye They seem to be identical to me - a block directive that has its closing brace on the same line as its name treats the rest of the document as part of the directive. When that directive is @Comment, Swift-DocC treats the entire rest of the document as a comment, and removes it from the rendering. In #64, the comment was added directly underneath the top-level heading, which then swallowed the entire page's content, resulting in an empty page. In #65, the comment was farther down the page, and swallowed only the content between it and the end of the document. In both cases, the directive was never closed in the parser, so everything written after it was treated as part of the directive. The only difference between the two issues (that i can see) is where in the file they were written.

Yes, I agree that they are identical issues from the perspective of markdown. But for some undiscovers other reasons, even if we fix the parsing issue of @Comment (and other block directive), #65 still remains unresolved.

I think we could merge this and close #64. And later open another PR whether on swift-docc or swift-markdown to fix it.
Or we should delay merging this until we find a solution for #65.
What do you think of it? @QuietMisdreavus

Forgive my single-mindedness, but i just don't see what you mean by #65 not being fixed. What's the remaining issue?

Forgive my single-mindedness, but i just don't see what you mean by #65 not being fixed. What's the remaining issue?

Sorry I mixed the order of the 2 issues. #65 is confirmed to to fixed while #64 is not.

@Kyle-Ye With this PR and Swift-DocC 113ffa3 (not main because this branch would need to rebase on Swift-Markdown's main first), they all render identically to me:

The only thing i changed with the samples you added to the other issue was to make them standalone articles so i could render them side-by-side. Their Render JSON is identical except for the title and URL. The issue with syntax highlighting is specifically an issue with Xcode and needs to be handled separately (the feedback you filed is where that will be worked on). Is there something i'm still missing?

@swift-ci please test


[Suggestion]: can't I have the example resource pack

Description of feature request
I try replacing existing tracks as tutorial but I can't understand why there aren't any resource pack showing to add in the game

There are example resource packs and a walkthrough of how to customize the mod located here.


[Perf] split_work_to_cores is slow

Describe the bug
split_work_to_cores and grid_to_cores sometimes called in the override runtime arguments but this function is slow.
To Reproduce
Steps to reproduce the behavior:
Run any elementwise ops.
Expected behavior
Make sure split_work_to_cores and grid_to_cores are called only in program create but not in update.
Or optimize this function
Screenshots

@dmakoviichuk-tt "split work to cores" should be done only once and then Program cached.
Do you see an OP where it is repeatedly called for the same OP/shape config?

Dynamic ops probably call it when hitting cache (ex eltwise binary) since the work distribution varies.

Dynamic ops probably call it when hitting cache (ex eltwise binary) since the work distribution varies.

makes sense, yes


ngs_tools.gtf.Segment.SegmentError: Invalid segment

Hi,
I am trying to run nf-core/scrnaseq using kallisto aligner. During the step of generating reference index, the following error occurred. It seems to have something to do with segment of zero length. I am using GRCh38.p14 fasta and gtf files from NCBI with appended ERCC transcripts. Do you know how to fix this?
Thank you
Workflow execution completed unsuccessfully

Caused by:
  Missing output file(s) `kb_ref_out.idx` expected by process `NFCORE_SCRNASEQ:SCRNASEQ:KALLISTO_BUSTOOLS:KALLISTOBUSTOOLS_REF (GCF_000001405.40_GRCh38.p14_genomic_ERCC92.fna.gz)`

Command executed:

  kb \
      ref \
      -i kb_ref_out.idx \
      -g t2g.txt \
      -f1 cdna.fa \
      --workflow standard \
      GCF_000001405.40_GRCh38.p14_genomic_ERCC92.fna.gz \
      GCF_000001405.40_GRCh38.p14_genomic_ERCC92.gtf.gz

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_SCRNASEQ:SCRNASEQ:KALLISTO_BUSTOOLS:KALLISTOBUSTOOLS_REF":
      kallistobustools: $(echo $(kb --version 2>&1) | sed 's/^.*kb_python //;s/positional arguments.*$//')
  END_VERSIONS

Command exit status:
  0

Command output:
  (empty)

Command error:
  [2022-06-28 15:54:36,355] WARNING [main] Gene `RNU6-222P_21` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_21`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `KIR2DP1_29` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_29`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `KIR3DP1_32` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_32`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `RNU6-222P_22` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_22`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `KIR3DP1_33` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_33`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `KIR2DP1_30` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_30`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `KIR2DP1_31` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_31`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `KIR3DP1_34` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_34`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `RNU6-222P_23` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_23`.
  [2022-06-28 15:54:36,355] WARNING [main] Gene `KIR2DP1_32` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_32`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `KIR3DP1_35` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_35`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `RNU6-222P_24` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_24`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `KIR2DP1_33` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_33`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `KIR3DP1_36` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_36`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `RNU6-222P_25` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_25`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `KIR3DP1_37` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_37`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `RNU6-222P_26` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_26`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `KIR2DP1_34` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_34`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `KIR3DP1_38` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_38`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `RNU6-222P_27` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_27`.
  [2022-06-28 15:54:36,356] WARNING [main] Gene `RNU6-222P_28` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_28`.
  [2022-06-28 15:54:36,357] WARNING [main] Gene `KIR3DP1_39` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_39`.
  [2022-06-28 15:54:36,357] WARNING [main] Gene `KIR2DP1_35` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_35`.
  [2022-06-28 15:54:36,357] WARNING [main] Gene `RNU6-222P_29` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_29`.
  [2022-06-28 15:54:36,357] WARNING [main] Gene `KIR3DP1_40` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_40`.
  [2022-06-28 15:54:36,357] WARNING [main] Gene `KIR2DP1_36` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_36`.
  [2022-06-28 15:54:36,357] WARNING [main] Gene `RNU6-222P_30` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_30`.
  [2022-06-28 15:54:36,357] WARNING [main] Gene `KIR3DP1_41` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_41`.
  [2022-06-28 15:54:36,357] WARNING [main] Gene `KIR2DP1_37` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_37`.
  [2022-06-28 15:54:36,358] WARNING [main] Gene `RNU6-222P_31` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `RNU6-222P_31`.
  [2022-06-28 15:54:36,358] WARNING [main] Gene `KIR3DP1_42` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_42`.
  [2022-06-28 15:54:36,358] WARNING [main] Gene `KIR2DP1_38` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR2DP1_38`.
  [2022-06-28 15:54:36,358] WARNING [main] Gene `KIR3DP1_43` has no transcripts. The entire gene will be marked as a transcript and an exon with ID `KIR3DP1_43`.
  [2022-06-28 15:54:41,332]   ERROR [main] An exception occurred
  Traceback (most recent call last):
    File "/usr/local/lib/python3.9/site-packages/kb_python/main.py", line 856, in main
      COMMAND_TO_FUNCTION[args.command](parser, args, temp_dir=temp_dir)
    File "/usr/local/lib/python3.9/site-packages/kb_python/main.py", line 168, in parse_ref
      ref(
    File "/usr/local/lib/python3.9/site-packages/ngs_tools/logging.py", line 62, in inner
      return func(*args, **kwargs)
    File "/usr/local/lib/python3.9/site-packages/kb_python/ref.py", line 393, in ref
      gene_infos, transcript_infos = ngs.gtf.genes_and_transcripts_from_gtf(
    File "/usr/local/lib/python3.9/site-packages/ngs_tools/gtf/__init__.py", line 190, in genes_and_transcripts_from_gtf
      introns = exons.invert(transcript_interval)
    File "/usr/local/lib/python3.9/site-packages/ngs_tools/gtf/SegmentCollection.py", line 108, in invert
      Segment(self._segments[i].end, self._segments[i + 1].start)
    File "/usr/local/lib/python3.9/site-packages/ngs_tools/gtf/Segment.py", line 27, in __init__
      raise SegmentError(f'Invalid segment [{start}:{end})')
  ngs_tools.gtf.Segment.SegmentError: Invalid segment [1095094:1095094)

Work dir:
  s3://***

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`````

Hi, @zhewa,
Zero-length segments are supported since version 1.5.13.
Could you try updating the package?

Hi,
Yes. After updating the package it ran successfully. Thank you.


Fix Enter key not deleting selected text in compose box #3889.

Fixes #3889
Before pressing enter

After pressing enter

Automated message from Dropbox CLA bot
@Vasu-Verma, it looks like you've already signed the Dropbox CLA. Thanks!

@Vasu-Verma thanks for working on this!  While your code looks like it might work, I think we actually just want to modify the code here further down in the file where it handles enter_sends to not preventDefault in the case that enter_sends is disabled and no modifier keys are pressed, rather than doing this:
$("#new_message_content").caret('\n');
compose.autosize_textarea();

Can you try redoing this that way?

@timabbott , I've changed the code to handle the bug using preventDefault only.

Nice!  This looks great; a couple requests:

Can you clean up your commit message (we merge actual commits, so the GitHub PR description isn't relevant)?    Then your name will show up correctly in the project's credits.

@timabbott , does this look better?

Merged as d4a004c4202cde6f4bb656fd1d5038234b2ed05f, after I realized that the autosize_textarea isn't needed anymore either.  Thanks @Vasu-Verma!!


CustomVision onnxruntime openvino

I have following use-case:

Want to use customvision.ai to train a model
Want to export a model as ONNX. Note that customvision.ai supports ONNX for windows
Convert the ONNX model to openvino OR use openvino's ONNX runtime

Is this possible? Does customvision.ai's ONNX model be able to run on a Ubuntu openvino installation? Or do i have to use like Azure ML to write/train an ONNX compatible model?

You can use the ONNX model from CustomVision.ai directly to run with ONNX Runtime + OpenVINO.
This NB shows the example to import a pretrained ONNX model to run on the device with openVINO.

You can use the ONNX model from CustomVision.ai directly to run with ONNX Runtime + OpenVINO.
This NB shows the example to import a pretrained ONNX model to run on the device with openVINO.

Is UP(squared) device mandatory for the onnxruntime iotedge using openVino?

@manashgoswami  would love any help on how to adapt the standard CustomVision code to work on the OpenVINO + Movidius.  I am getting the error:

root@home:/code# python onnxruntime_predict.py 1.jpg
2020-05-11 21:10:42.307032
2020-05-11 21:10:45.550660
Traceback (most recent call last):
File "onnxruntime_predict.py", line 61, in
main(sys.argv[1])
File "onnxruntime_predict.py", line 52, in main
predictions = od_model.predict_image(image)
File "/code/object_detection.py", line 126, in predict_image
prediction_outputs = self.predict(inputs)
File "onnxruntime_predict.py", line 41, in predict
return np.squeeze(outputs).transpose((1,2,0)).astype(np.float32)
ValueError: axes don't match array

when using a onnx file from CustomVision.ai.
This seems to happen with:

mcr.microsoft.com/azureml/onnxruntime:latest-openvino-cpu
mcr.microsoft.com/azureml/onnxruntime:latest-openvino-myriad

but not with:

mcr.microsoft.com/azureml/onnxruntime:latest

Here are the sets to reproduce:
Hardware:
Up2 with AI option or a standard PC with Movidius USB stick (both show the same issue) running Ubuntu 18.04
Steps to reproduce:

docker run -i -t --rm --net=host --name onnx --privileged -v /dev:/dev mcr.microsoft.com/azureml/onnxruntime:latest-openvino-cpu bash
DEBIAN_FRONTEND=noninteractive
apt-get update && apt-get install libssl-dev libffi-dev libgtk2.0-dev python3-pip --yes
pip install --upgrade pip
pip install azure-storage && pip install flask opencv-python &&  pip install pytz && pip install pillow
# this is a download of a default ONNX from CustomVision.ai
wget https://kevinsayazstorage.blob.core.windows.net/public/d64f43ac870a437497ce47721d95301d.ONNX.zip
wget https://kevinsayazstorage.blob.core.windows.net/public/1.jpg
unzip d64f43ac870a437497ce47721d95301d.ONNX.zip
python python/onnxruntime_predict.py 1.jpg

All, through the help of many people associated with this project, I am able to get an ONNX model created via CustomVision.ai to work amazingly fast on Movidius using OpenVINO.  I did a quick 5 step writeup here: CustomVision + ONNX + OpenVINO + MovidiusX for others who want to try it out.  Thanks @manashgoswami and others of the amazing help.

Thanks this article. Good summary of the steps.


File manager changes the extension of the uploaded file

e.g.: postscript files have their extension changed to ai which is not correct.
Why are the extensions changed anyway? at least for files that already have an extension?

@ctrl-f5 this is somehwat of an intended behavior. If i recall correctly extensions are forced based on mimetype.
as can be seen from the doc ( https://github.com/YouweGit/FileManager/blob/master/Resources/doc/index.md ) only certain mimetypes are allowed/supported
question: what mimetype do your postscript files have ?

the files have the correct mimetype: application/postscript
But the symfony MimeTypeExtensionGuesser converts all postscript file extensions to ai, which is in my eyes the most incorrect one, but it's irrelevant which one it chooses, since it should just keep the existing one if it is valid.
Their list is built from the apache httpd mimetype list, which also contains the correct psand eps extensions, but they've chosen to only work with the first one.
I'm thinking of just writing my own extension guesser to validate postscript files and register it to the service, but this problem could occur for more mime types in the future...

@ctrl-f5 alternatively you could fork and add your own mimetypes as needed to the allowed list.
You may want to look at https://github.com/YouweGit/FileManager/blob/master/Model/FileInfo.php but again, this is from memory on a friday afternoon :)
I'll have to look up what exploits you could do with a postscript file in a website, in the meanwhile

Ok, I'll have a look at how I can solve this in my userland code and if I can maybe contribute some improvements here for this problem.

I've made a PR to add the option to keep original extensions, could you have a look at it?

i will, sorry, had a week off, have a lot to catch up on.

closed for inactivity.

nice...


fallback for custom deserializers and serializers

https://github.com/JohnWeisz/TypedJSON/issues/172

@Neos3452 it was harder than I imagined
Anyway I did exactly what you asked
I hope you'll merge the pull request soon
Thank you

@Neos3452 I made the change you requested. Also I provided a short description for fallback functionality and an example.
Hoping to get the RC soon.
Thank you.

Great work! Thanks a lot for this. You can try your changes with version 1.8.0-rc1


Run SAML Multi Auth integration tests in Cypress

Description
Refactors the existing SAML Multi-auth test from Selenium to Cypress. This abstracts the 2 SAML login methods to commands.js and takes advantage of code re-use to run the same SAML test suite with different methods of logging in.
To run the multiauth test suite for SAML its necessary to add --env loginMethod=saml_multiauth to the cypress run command.
yarn cypress:run --browser chrome --headless --env loginMethod=saml_multiauth --spec 'test/cypress/e2e/saml/*.js'

Category
Refactor
Issues Resolved

https://github.com/opensearch-project/security-dashboards-plugin/issues/1667

Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

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

The failing checks will fail until https://github.com/opensearch-project/security-dashboards-plugin/pull/1728 is merged.

@peternied This is now refactored to better take advantage of code re-use.


group level analysis should not rerun participants

Usually BIDS app do not rerun participant level things when a group level is requested.

participant level -> process each participant requested
group level -> combine data from participants that are already processed

Unless I am mistaken currently the app always runs participant level first even if group is requested.

I took some liberty in the definition of participant vs group
We can certainly discuss what's the better way to move forward.
The current behaviour:

participant level: generate subject specific grey matter and atlas, generate time series and connectome per subject.
group level: generate dataset specific grey matter and atlas (applied across subjects in the same dataset), generate time series and connectome per subject, generate group average connectome

The reason of generating dataset specific grey matter and atlas is for reducing run time for small to medium sized dataset, and to make sure all the subjects will have the same parcels per atlas.
For really large ones like UKBB we have no choice but do everything at participant level.
If we correct this to fit BIDS App requirement, obviously we will drop the dataset specific grey matter and atlas. If the group level command can aggregate all singular h5 files per subject into a collective one that would be nice too...
I have considered dropping the averaged group connectome as I found them not practical in analysis - we might drop some subjects during the analysis stage, and it's really quick to recalculate this. @clarkenj what's your experience with the connectome generated? Are they useful at all?

The averaged group connectome? I haven't used them yet but for my use case I don't think I will!

Let's remove the group option all together.
This is not very useful, it's not very scalable, and the improvement is marginal.

Hello!
I was personally quite interested in having such group analysis tools... for instance, if I have two populations (or two sessions) and wish to compare their connectomes, it seems necessary to do some sort of group-level analysis to spot statistically significant differences, no?
Such tools exists by other software like CONN, by the way (but I'd rather use nilearn).
The way I see it is for instance to have the group-level model defined in a json file and have giga_connectome (...) (...) group --config /path/to/config do the job.


[Bug]cant pause the game

Describe the bug
when i pause, game crashes
To Reproduce
press escape in a level
Expected behavior
i can pause levels
Screenshots
(https://www.youtube.com/watch?v=J6T0RND0fSM)

That's one of your mods crashing, openhack doesn't change anything about pause menu.
I would recommend first to update all of your mods and then if it doesn't help, disable mods that can be responsible (BetterPause does appear in your crashlogs, you can start with that)

That's one of your mods crashing, openhack doesn't change anything about pause menu. I would recommend first to update all of your mods and then if it doesn't help, disable mods that can be responsible (BetterPause does appear in your crashlogs, you can start with that)

ok ill try gimme a sec


Invite users from parent organizations options is missing

Describe the issue:

$subject due to https://github.com/wso2/identity-apps/commit/e5bd9c1a9e17a8da8b701742c53a04a7eb514fd3

How to reproduce:

Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 7 Beta 2 snapshot
OS: N/A
Database: H2
Userstore: N/A

Optional Fields
Related issues:

Suggested labels:

The option has been moved to a different location.
https://github.com/wso2/product-is/assets/25483865/2674d3e9-746a-4bbd-96b1-ffaa971a6ccd


Add attribute value filter

These changes introduce filters based on user UI selections. Using a LogQL parser the console plugin is able to generate UI filters from a query and vice versa.
Part of this PR:

Include the components for attribute filtering
Include a LogQL parser
synchronize the query content with the selected filters ( double direction editing: UI <-> Query expression)

https://user-images.githubusercontent.com/5461414/192295310-f8efa1cb-ec87-4976-b081-17422169c09c.mov
Completes: https://issues.redhat.com/browse/LOG-2983 & https://issues.redhat.com/browse/OU-69
Addresses: https://issues.redhat.com/browse/LOG-3042

/retest

/retest

/retest

/lgtm
Thanks @jgbernalp!


cabana: Fix the incorrect Y axis

sorry, I forgot to set the Y axis at the first loading,it's always 0-1.0 if don't drag the selection range

This is looking really good @deanlee!

I'm glad you liked it :D


Parental pin back-door found.

I'm submitting a ...

[x] bug report (possibly a bug?)
[x] feature request
[ ] support request

General infomration
Raspberry pi environment.
Prerequisites

[x] Are you running the latest version?

Description
[Description of the bug or feature]
Parental pin back-door found.
Steps to Reproduce

Configure a parental pin from Netflix settings using a web browser (Account->Settings->Parental Control).
Any profile can be viewed and entered from Kodi side. The "kid" can therefore simply open the parent profile and view any show.

Expected behavior: [What you expected to happen]
Maybe ask for the pin when the profile is opened? Or when such a show is played.
Actual behavior: [What actually happened]
Shows that should have asked for a pin will play.
Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[x] Linux (ARM)
[ ] Android

This is addressed in the PR for 0.14.0.
While you can still browse everything without entering a PIN, the PIN will be asked upon playing anything.


What should I do if I forget the tars-framework password?

If the password of admin is forgotten, currently only the fields of related tables in the database can be reset to solve:

Log in to mysql
View db: db_user_system
Modify the table: t_user_info
Reset admin user record, reset password to empty
When logging in to the web, you will be prompted to set the admin password.
(Please refer to https://tarscloud.github.io/TarsDocs/installation/web.html#chapter-7 for password forgetting related content.)

如果admin的密码遗忘, 目前只能重置数据库中相关表的字段来解决:

登录mysql
查看db: db_user_system
修改表: t_user_info
重置admin用户记录, 将password重置为空
登录web时, 将会提示设置admin密码.

（可参照 https://tarscloud.github.io/TarsDocs/installation/web.html#chapter-7中的密码遗忘处理相关内容。）


gulp dist error

[20:30:14] Plumber found unhandled error:
GulpUglifyError: unable to minify JavaScript
Caused by: SyntaxError: Unexpected token: keyword (const)
File: /root/multiparty-meeting/app/multiparty-meeting.js
please check and let me know solution

OK , same error too. when i  run "gulp dist" in  app  dir.

See branch eper..

ok , i resolved the problem by switch to branch develop .. thanks for the reply .

Working on merging the fixes in the eper branch into the develop branch.

This is fixed by commit f941c574f22941e3bd02e1edd018c2b4b83bb08a


"Could not parse global class" errors when using GDScript binary tokens

Tested versions
Reproduced in both 4.3-dev4 and current master branch (f040a351c2f27c6b86c40c71a28babf99dd0b9bd).
System information
Windows 10 22H2 (19045.4046)
Issue description
When using the State Charts plugin and exporting with GDScript binary tokens, Godot produces a long list of errors about not being able to parse global classes or resolve inheritance, or find any signals in the related classes. It seems that something in the binary token export process still breaks global classes. I was hopeful that #89297 would fix it, but it seems this is a different and seemingly more complex issue with global classes. The full error log from the minimal project I created is below:
Godot Engine v4.3.dev.custom_build.f040a351c (2024-03-11 13:02:57 UTC) - https://godotengine.org
Vulkan 1.3.277 - Forward+ - Using Device #0: AMD - AMD Radeon RX 6600 XT

SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/state_chart.gd:28)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/state_chart.gd:141)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/state_chart.gd:165)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/state_chart.gd:174)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/state_chart.gd:63)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/state_chart.gd:68)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/state_chart.gd:197)
SCRIPT ERROR: Compile Error:
          at: GDScript::reload (res://PlayerCharacter/player_character.gd:-1)
ERROR: Failed to load script "res://PlayerCharacter/player_character.gd" with error "Compilation failed".
   at: ResourceFormatLoaderGDScript::load (modules\gdscript\gdscript.cpp:2825)
SCRIPT ERROR: Parse Error: Could not resolve super class inheritance from "State".
          at: GDScript::reload (res://addons/godot_state_charts/compound_state.gd:6)
ERROR: Failed to load script "res://addons/godot_state_charts/compound_state.gd" with error "Parse error".
   at: ResourceFormatLoaderGDScript::load (modules\gdscript\gdscript.cpp:2825)
SCRIPT ERROR: Parse Error: Could not resolve super class inheritance from "State".
          at: GDScript::reload (res://addons/godot_state_charts/atomic_state.gd:5)
ERROR: Failed to load script "res://addons/godot_state_charts/atomic_state.gd" with error "Parse error".
   at: ResourceFormatLoaderGDScript::load (modules\gdscript\gdscript.cpp:2825)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/transition.gd:61)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/transition.gd:53)
SCRIPT ERROR: Parse Error: Could not resolve member "is_satisfied".
          at: GDScript::reload (res://addons/godot_state_charts/transition.gd:57)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/transition.gd:66)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/transition.gd:82)
ERROR: Failed to load script "res://addons/godot_state_charts/transition.gd" with error "Parse error".
   at: ResourceFormatLoaderGDScript::load (modules\gdscript\gdscript.cpp:2825)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:46)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:169)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:234)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:248)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:255)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:165)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:176)
SCRIPT ERROR: Parse Error: Could not parse global class "State" from "res://addons/godot_state_charts/state.gd".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:218)
SCRIPT ERROR: Parse Error: Could not resolve member "resolve_target".
          at: GDScript::reload (res://addons/godot_state_charts/utilities/state_chart_debugger.gd:238)
ERROR: Failed to load script "res://addons/godot_state_charts/utilities/state_chart_debugger.gd" with error "Parse error".
   at: ResourceFormatLoaderGDScript::load (modules\gdscript\gdscript.cpp:2825)
ERROR: In Object of type 'Node': Attempt to connect nonexistent signal 'event_received' to callable 'CharacterBody3D(player_character.gd)::_on_state_changed'.
   at: (core\object\object.cpp:1353)
ERROR: In Object of type 'Node': Attempt to connect nonexistent signal 'state_physics_processing' to callable 'CharacterBody3D(player_character.gd)::_falling_physics_process'.
   at: (core\object\object.cpp:1353)
ERROR: In Object of type 'Node': Attempt to connect nonexistent signal 'state_physics_processing' to callable 'CharacterBody3D(player_character.gd)::_walking_physics_process'.
   at: (core\object\object.cpp:1353)
ERROR: In Object of type 'Node': Attempt to connect nonexistent signal 'state_entered' to callable 'CharacterBody3D(player_character.gd)::_on_jumping_state_entered'.
   at: (core\object\object.cpp:1353)
SCRIPT ERROR: Trying to assign value of type 'Node' to a variable of type 'state_chart.gd'.
          at: PlayerCharacter._ready (res://PlayerCharacter/player_character.gd:21)

Steps to reproduce
Difficult to determine in specific, but any project using the State Charts addon should reproduce these results.
Minimal reproduction project (MRP)
https://github.com/BattyBovine/StateChartBinaryScriptExample
The most recent Release in this repository includes both a text and binary export from the minimal reproduction project as an example. The character should be able to move with WASD and jump with space bar, but using binary tokens this no longer works, and the console produces a large amount of errors.

Bug in GDScriptTokenizerBuffer, line continuations are processed incorrectly.
if transition != _pending_transition \
    and (not transition.has_event or (not property_change and transition.event == event)) \
    and transition.evaluate_guard():
        _run_transition(transition)
        return true

264 0 if
264 0 Identifier
264 0 !=
264 0 Identifier
268 0 Newline     <<<
268 0 Indent      <<<
268 0 and
268 0 (
268 0 not
268 0 Identifier
268 0 .
268 0 Identifier
268 0 or
268 0 (
268 0 not
268 0 Identifier
268 0 and
268 0 Identifier
268 0 .
268 0 Identifier
268 0 ==
268 0 Identifier
268 0 )
268 0 )
270 0 Newline     <<<
270 0 and
270 0 Identifier
270 0 .
270 0 Identifier
270 0 (
270 0 )
270 0 :

268 0 Expected ":" after "if" condition.
268 0 Expected statement, found "and" instead.
270 0 Expected statement, found "and" instead.
273 0 Expected statement, found "Indent" instead.
276 0 Unexpected "return" in class body.
280 0 Expected end of file.


Question about the removal of JSRefCountHeader

Since https://github.com/quickjs-ng/quickjs/pull/570 JSRefCountHeader is no longer exposed, while i agree that api wise that is a good thing I kinda liked to use to check the ref count in my tests.
Is there another way to see the current refcount of a JSValue?

Not exposed at the moment, no, but refcount errors hit an assert in JS_FreeRuntime in debug builds.

Ok, thanks for the reply!

Forgot to mention, another debug tool is calling JS_SetDumpFlags with 0x4000|0x8000 (object leaks + atom leaks); it's the -D flag to qjs.

Thank for the extra info, I'll look into that.
For now I just disabled my ref-count checks when using quickjs-ng and only do it when using the original Bellard version, most test cases are remnants from when I was implementing the early versions of my library and didn't exactly when to dup&free so it shouldn't have to much effect.
Thank for you great efforts with this project!


As a developer, I want to review and fix all errors when building our project, to ensure our project addresses not only current errors, but also potential future errors.

Acceptance Criteria

Run a dotnet build and review warnings (in yellow text), modify code, so that build runs cleanly without issuing any warnings.

GOOD JOB! Works as of now


create multi address

how i  can create multi btc address

hmm, there's a bunch of https://github.com/Bit-Wasp/bitcoin-lib-php/tree/master/examples but they're actually a bit old, gimme a few min and I'll add a better example

I updated the multisig example, you can see it here: https://github.com/blocktrail/bitcoin-lib-php/blob/multisig-example/examples/multisig.php (did a PR to have @afk11 merge it in)

+1

Merged, thanks!


Add support for STALKER: Shadow of Chernobyl.

Add basic support for STALKER: Shadow of Chernobyl.

This seems fine to be but needs to be reworked to use PyQt6 imports. Please test against the 2.5.0 builds.


Engagement team needs data on Senders/STLTs

Problem statement
As the engagement team, we need data on our STLTs like

How many senders are sending data for that PHD
What's the volume of data we are receiving for each PHD

What you need to know
The goal is to eventually use these data to apply to our internal SLAs and apply a system that can be based on these metrics.
[Links to documents, workflows, or list of key people and contact info]
Acceptance criteria

[ ] We can interpret sender/STLT data to make informed decisions as the engagement team

To do

[ ] Brandon to find these data through cross-functional efforts

Data collected


Include DRF Community Calls info

Include DRF Community Calls info in the readme file. This new content shares details about the purpose of the calls, the format and the roles people can take

View preview here

@leggetter improved the role content a bit. Coudl you please review? Thanks!

@anajsana - much clearer, thanks 👍
I've left a few other comments/thoughts.
This is very useful. Thank you.


Incorrect syntax in sample runbook for starting a VM

Following runbook in step 6 of the official tutorial from MS Azure team has an incorrect syntax. The  line $AzureContext = Get-AzSubscription -SubscriptionId $Conn.SubscriptionID should use Set-AzContext to set the subscription instead of using Get-AzSubscription to get the subscription. Otherwise, you would get an error and hence VM will not start :
workflow MyFirstRunbook-Workflow
{
# Ensures that you do not inherit an AzContext in your runbook
Disable-AzContextAutosave –Scope Process

$Conn = Get-AutomationConnection -Name AzureRunAsConnection
Connect-AzAccount -ServicePrincipal -Tenant $Conn.TenantID -ApplicationId $Conn.ApplicationID -CertificateThumbprint $Conn.CertificateThumbprint

$AzureContext = Get-AzSubscription -SubscriptionId $Conn.SubscriptionID

Start-AzVM -Name 'VMName' -ResourceGroupName 'ResourceGroupName' -AzContext $AzureContext
}

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

ID: 3632c749-8963-f5ed-55ec-28af005780bd
Version Independent ID: 3ec0f957-e320-7ea7-e5f5-07f543f3c31b
Content: Create a PowerShell Workflow runbook in Azure Automation
Content Source: articles/automation/learn/automation-tutorial-runbook-textual.md
Service: automation
Sub-service: process-automation
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@srazasyed Thank you for your feedback! We will review and update as appropriate.

@srazsasyed Thanks for your feedback. I have reproduced the sample PowerShell code in my environment and it seems to be working well.  As you mentioned, Set-AzContext is used to specify the context for current session. The example uses Get-AzSubscription and sets the context within command using -AzContext property which works in the sample.

@srazasyed As there are no further documentation changes, we will close the issue for now. If there are further questions , please revert and we will be glad to assist you.


[BUG] animated burger menu icon is not performing animation when opening slider via right slide

Hey @NikhilVadoliya,
I am not 100 % sure if the following problem is a bug or is happening because I am using a custom app bar. However, when a user opens the slider drawer via a slide gesture (right swipe) and closing it again with a left swipe, the animated icon is not being triggered and therefore it can happen, that the icon shows the wrong state.
Is it possible to solve this problem and if yes how?
I guess I have to call the animationController.reverse() function or the animationController.forward() function. This actually is not a problem at all. But how do I detect the gesture?
Here you can see the problem:

Kind regards

Hello @FrazeColder , If you are using custom app bar then you can use
AnimatedIcon(
         icon: AnimatedIcons.menu_close, progress: animationController,...);

in appbar and animated icon


switch to using Fragments and ViewModel

Closes #69, closes #70, closes #71
This PR makes the app use Fragments hosted by an Activity instead of an app with just one Activity. Functionally, it should be the same as before (besides how the document properties will now load in if the dialog is opened before the properties is loaded). Fragments can give us more flexibility in the future on how we can display the WebView, how we could manage some bottom menu via a BottomNavigationView or similar, etc.
The PR also moves state information about the viewer into a ViewModel, which dialogs can use to get information they need. This removes the use of Loaders, which are deprecated. (The document properties parsing was rewritten in Kotlin for coroutines.)
See commit messages for more details. If using Fragments is too much, some parts of this PR such as the ViewModel architecture can be integrated back into the original way the app was built.
Tested on a GrapheneOS Android 10 device and an Android 7 device (tested to see that the app performs like what it was before)

@inthewaves This needs to have conflicts resolved.
I'm not that experienced with Android app UI development and I'm not up-to-date on the APIs and tools that are used for modern apps. That makes it difficult for me to review this.
I have my hands full with other things right now so I also can't commit to promptly reviewing this, particularly since it's primarily just an architectural and tooling change. For example, the migration of Vanadium to Chromium 85 has already been delayed for several days with no progress on it and no one helping with it.

Needs to be reworked


Request for a command to restore the log and to start the WebUI

When the experiment is stopped, I found it no way to see the results except for analysing the "dispatcher.log" mannually. I hope that NNI could provide a command to restore the log and to start the WebUI in NNICTLDOC such as "nnictl log restore /path/to/dispatcher.log".

There is such a command, nnictl resume. Please refer to https://nni.readthedocs.io/en/latest/NNICTLDOC.html

Thank you.


Local Video Recording

Is your feature request related to a problem? Please describe.
There is no way to record video locally.
Describe the solution you'd like
While on a live stream, ability to record your own camera and store on device. This is useful for live events etc in which you want to be able to manually record at certain times.
Describe alternatives you've considered
None
Additional context
The camera package allows you to use MLKit etc. A feature is "Add access to the image stream from Dart."
Does this mean video can pass-thru? Could i be integrated with LiveKit?

related issue https://github.com/livekit/client-sdk-flutter/issues/201

closed in favor of #201


[Todoist] ...

Extension
https://www.raycast.com/doist/todoist
Description

Error:
Error: Worker terminated due to reaching memory limit: JS heap out of memory

NodeError:errors:393:5
[kOnExit]:worker:277:26
Worker.<computed>.onexit:worker:199:20

Steps To Reproduce
Open Raycast
Select "Home" command for todoist.
Current Behaviour
Shows error
Expected Behaviour
Show the home of todoist.

Thanks for bringing this up. It appears that this is a duplicate of issue #6562, so I'll mark it as such.


Changed the w-20 img tag src as requested

can you confirm if this is the code snippet that needs changing in AmbulanceMainPage.jsx?

can you confirm if this is the code snippet that needs changing in AmbulanceMainPage.jsx?

yes

In no way i am trying to say that you are wrong but correct me if i say something stupid;
but i think that the src is right
src="../../../assets/current-location-svg.svg"

In no way i am trying to say that you are wrong but correct me if i say something stupid; but i think that the src is right
../../assets/current-location-svg.svg"

yes the src is right but its still not showing up the image it could possibly some other issue try finding that out

Sorry i can't find the error, i apologize


HADOOP-18149 Allow S3 and other potential fs implementations to bypass verifyAndDownload IO Exception

… time behaviors that would cause verifyAndCopy to throw an IO exception

Description of PR
How was this patch tested?
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 41s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
25m  3s

trunk passed

+1 :green_heart:
compile
12m 31s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
11m 46s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 56s

trunk passed

+1 :green_heart:
mvnsite
1m 57s

trunk passed

+1 :green_heart:
javadoc
1m 48s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 34s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 58s

trunk passed

+1 :green_heart:
shadedclient
24m 43s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 23s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 18s

the patch passed

+1 :green_heart:
compile
9m 44s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
9m 44s

the patch passed

+1 :green_heart:
compile
8m 36s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
8m 36s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m 36s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
hadoop-yarn-project/hadoop-yarn: The patch generated 3 new + 249 unchanged - 0 fixed = 252 total (was 249)

+1 :green_heart:
mvnsite
1m 41s

the patch passed

+1 :green_heart:
javadoc
1m 34s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 25s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m 25s

the patch passed

+1 :green_heart:
shadedclient
24m 58s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
1m  2s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
hadoop-yarn-api in the patch passed.

+1 :green_heart:
unit
4m 41s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
asflicense
0m 49s

The patch does not generate ASF License warnings.

161m 34s

Reason
Tests

Failed junit tests
hadoop.yarn.conf.TestYarnConfigurationFields

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4042/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4042

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 79b4a74a6e2f 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 96ba5d4d92c171e733582301670da8a79ead739a

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4042/1/testReport/

Max. process+thread count
524 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4042/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 31s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  2s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 50s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
25m 38s

trunk passed

+1 :green_heart:
compile
10m 21s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
8m 36s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 38s

trunk passed

+1 :green_heart:
mvnsite
1m 46s

trunk passed

+1 :green_heart:
javadoc
1m 40s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 31s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 50s

trunk passed

+1 :green_heart:
shadedclient
24m 23s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 22s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 17s

the patch passed

+1 :green_heart:
compile
9m 39s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
9m 39s

the patch passed

+1 :green_heart:
compile
8m 36s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
8m 36s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m 35s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
hadoop-yarn-project/hadoop-yarn: The patch generated 3 new + 249 unchanged - 0 fixed = 252 total (was 249)

+1 :green_heart:
mvnsite
1m 37s

the patch passed

+1 :green_heart:
xml
0m  1s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
1m 29s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 25s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m  8s

the patch passed

+1 :green_heart:
shadedclient
24m 20s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
1m  1s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
hadoop-yarn-api in the patch passed.

+1 :green_heart:
unit
4m 42s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
asflicense
0m 45s

The patch does not generate ASF License warnings.

155m 52s

Reason
Tests

Failed junit tests
hadoop.yarn.conf.TestYarnConfigurationFields

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4042/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4042

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml

uname
Linux df3aaf01587e 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 7e227ad14d0838e77702af52f200de20dff23d17

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4042/2/testReport/

Max. process+thread count
521 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4042/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


[Question]: How does VLLM use MInference through OpenAI Compatible Server?

Describe the issue
Can I run "python -m vllm.entrypoints.openai.api_server" to load MInference capabilities in VLLM?

Hi @jueming0312, thanks for your interest in MInference.
MInference is a method to accelerate self-deployed LLM inference in long-context scenarios. It does not support acceleration for API-based LLMs.

I'm seconding this: vLLM is a self-deployed LLM inference engine, but it does support model serving over an OpenAI-compatible API, which is what @jueming0312 is asking about. If this is a goal of the project, I would suggest publishing a package that bundles the vLLM server code with the MInference patch.


TiKV restart process optimization

Development Task
After a TiKV restart,  it needs to catch up raft logs from leaders, apply unapplied raft logs. Meanwhile, PD will quickly do leader balance and thus it can quickly have the same leader count as other nodes and serve the read and write traffic. But the block cache ramp up needs some time and thus initially the cache hit rate is low which means more IO read for user requests.
All the factors together, sometimes we saw that TiKV may experience large IO latency and one slow TiKV node can impact the whole cluster performance.

There're a few possible mitigations.

[x] Finish applying raft logs before sending store heartbeat
In raftstore-v2, we have a mechanism that only sends store heartbeat to PD after raft logs applying are done (left entries are less than a threshold). This mechanism can be ported to raftstore v1 and it should have very little side impact.

[ ] PD transfer leaders based on feedback of TiKV performance.
Instead of achieving fast leader transfer/leader balance during rolling upgrade, it’s likely better to transfer it a bit slower to let the TiKV warmup the block cache and handle the IO burst initially.  So maybe PD can collect performance flags based on TiKV performance metrics (such as append log during, apply duration)  from TiKV before transferring more leaders.

[ ] Before transfer leader, TiKV can pre-warm the block cache
Before a leader of a region  is transferred from A to B, if B’s block cache can have A’s same entries for that region, then when leader transfer is done, the user experience would be the same.

Finish applying raft logs before sending store heartbeat
This ticket has been finished by https://github.com/tikv/tikv/pull/16239.


invalid member on null: 'guards'

When using the latest master (not pub,dev) I alwyas get a null error on hot reload and hot restart. I know its not stable but reporting a possibly undetected error does no harm.
======== Exception caught by widgets library =======================================================
The following JSNoSuchMethodError was thrown building Builder(dirty):
NoSuchMethodError: invalid member on null: 'guards'

The relevant error-causing widget was:
  MaterialApp file:///D:/[...]/lib/main.dart:31:32
When the exception was thrown, this was the stack:
packages/beamer/src/beamer_router_delegate.dart 357:33                                                                [_guardCheck]
packages/beamer/src/beamer_router_delegate.dart 255:29                                                                build
packages/flutter/src/widgets/basic.dart 7555:48                                                                       build
packages/flutter/src/widgets/framework.dart 4569:28                                                                   build
packages/flutter/src/widgets/framework.dart 4495:15                                                                   performRebuild
...
====================================================================================================

Thanks @M123-dev !
Is this happening on examples/guards app or your custom? Can you guide me on how to reproduce (can't on examples/guards)

I do not use guards thats the interesting thing.
I tested a bit more, it is only happening when inside a FutureBuilder.
main.dart
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  final notFoundPage = BeamPage(
    child: Scaffold(
      body: Center(
        child: Text('Not found'),
      ),
    ),
  );

  Future<String> setup() {
    return Future.delayed(Duration(milliseconds: 100)).then((value) => 'test');
  }

  @override
  Widget build(BuildContext context) {
    return FutureBuilder(
      future: setup(),
      builder: (context, snapshot) {
        if (snapshot.hasData) {
          return MaterialApp.router(
            debugShowCheckedModeBanner: false,
            routerDelegate: BeamerRouterDelegate(
              locationBuilder: (state) {
                return HomeLocation(state);
              },
              notFoundPage: notFoundPage,
            ),
            routeInformationParser: BeamerRouteInformationParser(),
          );
        }
        return CircularProgressIndicator();
      },
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Text('Example'),
      ),
    );
  }
}

locations.dart
class HomeLocation extends BeamLocation {
  HomeLocation(BeamState state) : super(state);

  @override
  List<String> get pathBlueprints => ['/'];

  @override
  List<BeamPage> pagesBuilder(BuildContext context, BeamState state) => [
        BeamPage(
          key: ValueKey('home'),
          child: HomePage(),
        ),
      ];
}

pubspec.yaml
dependencies:
  beamer:
    git:
      url: https://github.com/slovnicki/beamer
      path: package/

@M123-dev I cannot reproduce with the latest master. Can you try to run flutter clean, flutter pub get and let me know does the error still happen? (maybe you have cached some older version of beamer).

@M123-dev My bad, I can reproduce, but not with flutter run -d chrome, but on android. Interesting

For me its on android and chrome

I know what's happening. This has something to do with MaterialApp.router not getting the initalRoutePath. While you're waiting for Future, you build some widget that is not Router and then MaterialApp.router fails to pick up initial route thus being unable to initialize its initial BeamLocation and so on...

I made a fix, but it's not ideal; It will always start an app on initialPath, regardless of what the OS is giving, because router is not able to take it. I explained some more in commit message: https://github.com/slovnicki/beamer/commit/e00442f236190d4f306e0474d13af0484bb7dcbb

Thanks, @slovnicki , I'll check it out later.
You said, that it's not ideal. Maybe this would work better. At first I used named routes and there I solved the problem like that.
MaterialApp( ... builder(context, child) => MyFutureLoadingWidget(child), ),
In the MyFutureWidget I had my FutureBuilder and my Providers.
I haven't had a look into the beamer code so I don't know if this could work.


How to use ChainRules rrules with autodiff?

I couldn't find a better title, so let me explain: I have a function interpolated via BSplineKit, based on some lookup table. BSplineKit provides rrules for differentiation of the interpolated function. Now I want to use this function in some code, that I want to differentiate with Enzyme, because Zygote is too slow. Is that already possible? My first lazy attempts resulted in segfaults :(

No that is currently not possible. #172 is the issue to follow, but we are not targeting ChainRules support from the get-go, but rather allowing the user to provide rules in an Enzyme compatible fashion.

Thanks for the hint & the development work!

I would suggest reopening this, unless there is some big technical blocker. A lot of work has gone into defining a big set of rules into https://github.com/JuliaDiff/ChainRules.jl, it may take some time to EnzymeRules to catch up.
Moreover, if we want to encourage a smooth transition to Enzyme of Flux users and generally of the ML ecosystem (see #805), it would be nice to support the custom rules that people have been writing with ChainRules for years.

I'm not opposed to this, but there are several challenges/limitations.

Most ChainRules implicitly assumes that mutation does not occur. For example, consider the  A * B rule. The pullback would store A and B (by reference). However, if A is overwritten from forward to reverse, the data an A will have changed and the ChainRule will silently get the answer wrong as a result.
Most rules implemented with ChainRules should not have rules in Enzyme. Because Enzyme doesn't usually need rules for all Julia functions (e.g. working from the lower level up, rules for most code can ben generated from the definition). As a consequence the question is now not whether a function needs a rule, but whether a function should have a rule. If this is the case, it is often (though not always) for performance reasons, which means you probably want the EnzymeRule to be fast.

I'd earlier written ChainRules to EnzymeRules importers for Forward and Reverse Mode in this PR: https://github.com/EnzymeAD/Enzyme.jl/pull/996/files (see import_frule and import_rrule). These may be helpful for a quick conversion, but they have certain limitations, and performance limitations.
Specifically
    import_frule(::fn, tys...)
Automatically import a ChainRules.frule as a custom forward mode EnzymeRule. When called in batch mode, this
will end up calling the primal multiple times, which may result in incorrect behavior if the function mutates,
and slow code, always. Importing the rule from ChainRules is also likely to be slower than writing your own rule,
and may also be slower than not having a rule at all.

Use with caution.

Enzyme.@import_frule(typeof(Base.sort), Any);
x=[1.0, 2.0, 0.0]; dx=[0.1, 0.2, 0.3]; ddx = [0.01, 0.02, 0.03];
Enzyme.autodiff(Forward, sort, Duplicated, BatchDuplicated(x, (dx,ddx)))
Enzyme.autodiff(Forward, sort, DuplicatedNoNeed, BatchDuplicated(x, (dx,ddx)))
Enzyme.autodiff(Forward, sort, DuplicatedNoNeed, BatchDuplicated(x, (dx,)))
Enzyme.autodiff(Forward, sort, Duplicated, BatchDuplicated(x, (dx,)))
# output
(var"1" = [0.0, 1.0, 2.0], var"2" = (var"1" = [0.3, 0.1, 0.2], var"2" = [0.03, 0.01, 0.02]))
(var"1" = (var"1" = [0.3, 0.1, 0.2], var"2" = [0.03, 0.01, 0.02]),)
(var"1" = [0.3, 0.1, 0.2],)
(var"1" = [0.0, 1.0, 2.0], var"2" = [0.3, 0.1, 0.2])

    import_rrule(::fn, tys...)
Automatically import a ChainRules.rrule as a custom reverse mode EnzymeRule. When called in batch mode, this
will end up calling the primal multiple times which results in slower code. This macro assumes that the underlying
function to be imported is read-only, and returns a Duplicated or Const object. This macro also assumes that the
inputs permit a .+= operation and that the output has a valid Enzyme.Compiler.make_zero function defined.
Finally, this macro falls back to almost always caching all of the inputs, even if it may not be needed for the
derivative computation.
As a result, this auto importer is also likely to be slower than writing your own rule, and may also be slower
than not having a rule at all.

Use with caution.

Enzyme.@import_rrule(typeof(Base.sort), Any);

I'm potentially okay with it being made into an extension package and marked as deprecated / rules have warnings when run.
cc @vchuravy for your thoughts.
In any case the PR needs a small amount of rebase work before it could be merged, if you'd be interested in helping

An opt-in approach like the one in #996 would be valuable already. I understand the performance limitations but slow is better than not working at all. Related to this, it seems to me that writing an enzyme rule is way more difficult than writing a chainrules' one, so I would really appreciate the possibility of a quick translation, and probably in many cases typical of DL the performance hit would be negligible.

@CarloLucibello go for it, reviving the PR would be a welcome contribution.
I'm more skeptical of the negligible performance hit because having to copy and cache a bunch of unnecessary memory would scale with the size of the tensors.

With https://github.com/EnzymeAD/Enzyme.jl/pull/996 now in we have macros to import both chainrules frules and rrules, am now closing.


feat: update to eye v3.13.0

feat: update to eye v3.13.0

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

npm package (@latest dist-tag)
GitHub release
v4.12.0

Your semantic-release bot :package::rocket:


Insert a row for each CVE found in Grype JSON

Note: do not merge until:

new column added to BigQuery table(s)
Secret for GCLOUD_TABLE_VULNS added to this repo
go run cmd/tableinit/main.go is run with table name above

Do you plan to (in a separate PR) add this row by row data collection for trivy too or only grype? No pressure any which way. Just curious.

Was not planning at this point to add anything for Trivy output, but we could do that later in a separate table (or try to combine)

Over to you @jdolitsky!

Let's wait until next week to merge this

@jdolitsky and I can merge on Monday and make sure we don't wreak too much havoc.


ARROW-8383: [Rust] Allow easier access to keys array of a dictionary array

Thank you for this PR @jhorstmann  -- I was just trying to get at the dictionary keys, and I came across this code on master. 👍  it makes my life easier


how to make motor into RUN mode?

I added Inovance SV660N servo motor .yaml file :
`vendor_id: 0x100000
product_id: 0x000c010d
assign_activate: 0x0300  # DC Synch register
auto_fault_reset: false  # true = automatic fault reset, false = fault reset on rising edge command interface "reset_fault"
rpdo:  # RxPDO = receive PDO Mapping

index: 0x1603
channels:

{index: 0x6040, sub_index: 0, type: uint16, default: 0}  # Control word
{index: 0x607a, sub_index: 0, type: int32, command_interface: position, default: .nan}  # Target position
{index: 0x6060, sub_index: 0, type: int8, default: 8}  # Mode of operation
tpdo:  # TxPDO = transmit PDO Mapping

index: 0x1a03
channels:

{index: 0x6041, sub_index: 0, type: uint16}  # Status word
{index: 0x6064, sub_index: 0, type: int32, state_interface: position}  # Position actual value
{index: 0x606c, sub_index: 0, type: int32, state_interface: velocity}  # Velocity actual value
{index: 0x6077, sub_index: 0, type: int16, state_interface: effort}  # Torque actual value
{index: 0x6061, sub_index: 0, type: int8}  # Mode of operation display`

then modify the motor_drive.ros2_control.xacro , then launch , seems launched successfully:

but how to make the motor run?
how to enable the motor then run slowly?

is there any commands I can type in console , to make the motor into run mode , then switch to PREOP mode?

it's because I set the wrong PDO mapping ,


We should explicitly call "gawk"

(Great work, thanks! Works perfectly on my HP Spectre 13")
It's possible to have "awk" and "gawk" installed on the same system, and since "gawk" is called out as an explicitly-specified dependency anyway, might as well call it explicitly. (It broke on my system 'till I'd done that, as "-W" isn't supported in vanilla "awk".)

NVM; unrelated. I have some other bug


Cannot go back to design view from swagger view after editing the swagger

Description:
When you try to edit in the swagger view and go back to the design view, will not go back or prompt an error. Instead stays in the swagger view.
Steps to reproduce:

Go to design view
Add a service definition
Switch to the swagger view and edit the basePath
Try go back to design view clicking on the back button

Affected Versions:
v0.976.1-SNAPSHOT

Fixed with #9448


Support multiple addresses on a forward zone

Example usage, using both Google DNS servers:
unbound_configure "config" do
  forward_zone "public" => [ { "" => [ "<IP_ADDRESS>", "<IP_ADDRESS>" ] } ]
end

Sans white space: https://github.com/sous-chefs/unbound/pull/21/files?w=1

@josephholsten I updated the Kitchen test suite to include a usage of this functionality, and also updated the reference implementation. I couldn't find any relevant documentation to update. Thanks!

@diurnalist care to rebase this so I can merge?
Also, are you interested in a commit bit to help review any future incoming issues? Or care to join our more general discussions in http://community-slack.chef.io?

@josephholsten rebased, waiting for tests to pass :)
Thanks for the link to the discussions, I'll have a look! I'm happy to help review stuff, as it seems kind of infrequent for this repo. Maybe I'll have other things to add (for example, a pre-reload step where it checks the unbound conf for safety) too.
Cheers 🍺

And merging this caused master’s build to fail. Joy.


Return of the 1g68 bug

 Bug: Residue mismatches are using three-letter AA code instead of single-letter for coupling scores.


Sort out our usage of operator new

Problem
When doing a non-overridden non-placement new without passing noexcept, while compiling with -fno-exceptions (as we do), OOM will ... do something.  Probably not something we would like, like crash.
Proposed Solution
Need to figure out what the options are here.  Maybe we can have all CHIP code ensure that we're passing noexcept, though I'm not sure how best to do that.  Or we can forbid use of global non-placement operator new (and require people to use Platform::New or class-specific new that never throws.  But enforce this how?
@msandstedt @mspang @andy31415

This will touch things like https://github.com/project-chip/connectedhomeip/pull/8299.  I gather this could be addressed by adding noexcept new operators to objects and calling these in the allocator.
Alternatively, I suppose we could just understand that if something like #define CHIP_SYSTEM_CONFIG_POOL_USE_HEAP and -fno-exceptions are used together, you just need to accept that program abort is (I assume) the result of a failed allocation.
I can also imagine having #define CHIP_SYSTEM_CONFIG_POOL_USE_HEAP and not using -fno-exceptions as being a reasonable configuration for some more capable targets.

Base CHIP should never use non-placement new. Platforms can choose their own mistakes :-)

But enforce this how?

nm -Cu libCHIP.a | grep 'operator new'
Also catches indirect uses (e.g. std::string).

Base CHIP should never use non-placement new

I think it should be fine to use non-placement new with classes that have an overridden operator new that uses a pool or heap or whatever it wants.

nm -Cu libCHIP.a | grep 'operator new'

Ah, interesting.  If we changed that to ignore something::operator new we could still allow overridden operators....

Of course right now libCHIP does pull in operator new...

src/setup_payload/ and src/app/server/OnboardingCodesUtil.cpp use std::string.

Running 'nm' still reveals a number of users of operator new.

Requesting secondary triage since I'm not sure how critical this is for v1.0.

Agree, moving post v1.


error with Airline when opening terminal mode

I'm using the gotham theme with Airline. When I open a new split for a terminal window using the :term command (added in vim 8.1), I get the following error:

This does not happen with any other color themes.

Here is my vim --version output:
VIM - Vi IMproved 8.1 (2018 May 18, compiled Aug  7 2018 21:58:18)
macOS version
Included patches: 1-250
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +extra_search      +mouse_netterm     +tag_old_static
+arabic            +farsi             +mouse_sgr         -tag_any_white
+autocmd           +file_in_path      -mouse_sysmouse    -tcl
+autochdir         +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
-balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
-browse            +fork()            -mzscheme          +textobjects
++builtin_terms    -gettext           +netbeans_intg     +timers
+byte_offset       -hangul_input      +num64             +title
+channel           +iconv             +packages          -toolbar
+cindent           +insert_expand     +path_extra        +user_commands
-clientserver      +job               +perl              +vartabs
+clipboard         +jumplist          +persistent_undo   +vertsplit
+cmdline_compl     +keymap            +postscript        +virtualedit
+cmdline_hist      +lambda            +printer           +visual
+cmdline_info      +langmap           +profile           +visualextra
+comments          +libcall           -python            +viminfo
+conceal           +linebreak         +python3           +vreplace
+cryptv            +lispindent        +quickfix          +wildignore
+cscope            +listcmds          +reltime           +wildmenu
+cursorbind        +localmap          +rightleft         +windows
+cursorshape       -lua               +ruby              +writebackup
+dialog_con        +menu              +scrollbind        -X11
+diff              +mksession         +signs             -xfontset
+digraphs          +modify_fname      +smartindent       -xim
-dnd               +mouse             +startuptime       -xpm
-ebcdic            -mouseshape        +statusline        -xsmp
+emacs_tags        +mouse_dec         -sun_workshop      -xterm_clipboard
+eval              -mouse_gpm         +syntax            -xterm_save
+ex_extra          -mouse_jsbterm     +tag_binary
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -o vim        -lncurses -liconv -framework AppKit   -mmacosx-version-min=10.13 -fstack-protector-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.28.0/lib/perl5/5.28.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc  -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin -lpython3.7m -framework CoreFoundation  -lruby.2.5.1 -lobjc

I am not using Vim anymore, but at a glance it looks like maybe the Airline API changed (as this has always worked fine). It would be awesome if you digged into this and maybe fixed this with a PR :D

@vendion transferring ownership seems harsh right away 😄 But I am open to giving commit access. For now, could you try to fix this and submit a PR? That would be awesome. 💟

@whatyouhide Sorry if that came off as harsh, and reading back on it I can see how my intent could be mistaken. My intent was that if someone more actively using vim was interesting in maintaining it, in part or fully, it probably would be better for this to live on rather than a fork and having to refer people to that fork (I have seen it a lot and it can get confusing and people still using/reporting issues to the no longer maintained version). Maybe commit access vs full transfer is the right way to go about it.

Given what @frescoraja said and the lack of contributions for this issue, I'm gonna go ahead and close it down. Feel free to reopen if there's new info or anything else :)


Refactor data_utils into vitessce-analysis-python

https://github.com/vitessce/vitessce-analysis-python

See #122


Detach the fork from the base repo?

Since there is no plan to merge the changes back to upstream, and we eventually will move it under the jupyterlab organization, I would suggest detaching the fork from the base repo.
This would also ensure the commits get correctly shown for everyone:
https://help.github.com/en/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile#commit-was-made-in-a-fork
Additionally we can add a mention to https://github.com/MMesch/labextension_tutorial in the README for credits.
@fcollonval @echarles what do you think?

:+1: Sure, this makes sense. Detaching with a mention in README is OK. Not sure how deforking easy is.

From: https://help.github.com/en/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile#commit-was-made-in-a-fork
"To detach the fork and turn it into a standalone repository on GitHub, contact GitHub Support "

Agree also that it makes sense to detach the repository and to keep a mention for the nice work of @MMesch


Querying workflow runs does not return all results

Describe the bug
I have a GitHub repository with thousands of action runs.
When querying github_actions_repository_workflow_run for successful ones, only a subset of the expected rows are returned.
Steampipe version (steampipe -v)
Example:  v0.20.10
Plugin version (steampipe plugin list)
Example: v0.30.2
To reproduce
Notice I am selecting id and ordering by created_at to see how far back the results give:
select id,created_at from github_actions_repository_workflow_run where workflow_id='<ID>' and repository_full_name = '<REPO_ID>' and conclusion='success' ORDER BY created_at DESC LIMIT 1000;

Expected behavior
Up to 1000 rows (according to LIMIT set).
Expected behavior
Only 37 are returned, from the past week:
+------------+---------------------------+
| id         | created_at                |
+------------+---------------------------+
| 58748905 | 2023-08-15T15:12:29+02:00 |
| 58120515 | 2023-08-15T01:01:37+02:00 |
| 5862156 | 2023-08-14T22:12:11+02:00 |
| 585854583 | 2023-08-14T19:17:58+02:00 |
| 585192803 | 2023-08-14T16:49:06+02:00 |
| 58124477 | 2023-08-14T16:42:05+02:00 |
| 585537064 | 2023-08-14T14:13:23+02:00 |
| 585521993 | 2023-08-14T13:36:14+02:00 |
| 58548067 | 2023-08-14T12:47:43+02:00 |
| 58531130 | 2023-08-14T09:37:22+02:00 |
| 583668375 | 2023-08-11T22:15:58+02:00 |
| 583642231 | 2023-08-11T21:41:40+02:00 |
| 583626502 | 2023-08-11T21:20:03+02:00 |
| 58362224 | 2023-08-11T21:13:58+02:00 |
| 583614513 | 2023-08-11T21:05:16+02:00 |
| 58354779 | 2023-08-11T19:41:38+02:00 |
| 58354427 | 2023-08-11T19:36:39+02:00 |
| 58351707 | 2023-08-11T19:05:51+02:00 |
| 58350966 | 2023-08-11T18:57:37+02:00 |
| 58334575 | 2023-08-11T16:01:22+02:00 |
| 583334448 | 2023-08-11T15:48:30+02:00 |
| 583307033 | 2023-08-11T15:18:09+02:00 |
| 58316948 | 2023-08-11T12:44:52+02:00 |
| 58316836 | 2023-08-11T12:43:08+02:00 |
| 58315013 | 2023-08-11T12:21:38+02:00 |
| 583080723 | 2023-08-11T11:02:47+02:00 |
| 583070463 | 2023-08-11T10:50:14+02:00 |
| 583069387 | 2023-08-11T10:48:48+02:00 |
| 583056658 | 2023-08-11T10:33:07+02:00 |
| 582947292 | 2023-08-11T08:07:44+02:00 |
| 582348469 | 2023-08-10T18:08:45+02:00 |
| 582118682 | 2023-08-10T14:40:08+02:00 |
| 582111599 | 2023-08-10T14:33:08+02:00 |
| 582022139 | 2023-08-10T12:59:02+02:00 |
| 582017918 | 2023-08-10T12:53:40+02:00 |
| 582013876 | 2023-08-10T12:48:45+02:00 |
| 582013548 | 2023-08-10T12:48:25+02:00 |
+------------+---------------------------+

My expectation was for several other rows to be included.
Additional context
N/A

@julioz I am able to replicate a similar behaviour
If I run:
select count(*) as total
from github_actions_repository_workflow_run
where repository_full_name = 'turbot/steampipe';

+-------+
| total |
+-------+
| 5853  |
+-------+

If I limit this to one particular workflow ID and one particular conclusion type (success)
select count(*) as total
from github_actions_repository_workflow_run
where repository_full_name = 'turbot/steampipe'
and workflow_id = '0000000000'
and conclusion = 'success';

+-------+
| total |
+-------+
| 239   |
+-------+

If I then add on the limit of 1000 it seems to give me less results:
select count(*) as total
from github_actions_repository_workflow_run
where repository_full_name = 'turbot/steampipe'
and workflow_id = '43647634'
and conclusion = 'success' limit 1000;

+-------+
| total |
+-------+
| 217   |
+-------+

If you drop the limit from your query, are you obtaining all the expected results?

Unfortunately not, if I drop the LIMIT I still get reduced results (in fact, the same as when I set LIMIT 1000).

In this case, if you call the API with the same restrictions do you also get the same results?

I have tried running a similar query using github.com/cli/cli and with that I obtain the expected results (i.e a more complete list than what steampipe returns).

Unfortunately not, if I drop the LIMIT I still get reduced results (in fact, the same as when I set LIMIT 1000).

@julioz - apologies, did you attempt this with the cache disabled? (.cache off in interactive mode).

Same, even with .cache off 😢

Ah ok, it just occurred to me when I was testing something else today and the cache gave me results I wasn't expecting that maybe your query was pulling data from cache when you tested.
If that's not the case I'm pretty stumped as to why your CLI would return different from Steampipe as they both use the API under the hood.

@julioz would you be able to provide some debug logs for your queries.
In order to do this you would need to set the environment variable STEAMPIPE_LOG_LEVEL to DEBUG docs
Then if you enter Steampipe in interactive mode using steampipe query
and input the following replacing  and  with relevant identifiers:
.cache off

.timing on

select count(id) from github_actions_repository_workflow_run where repository_full_name = '<repo>' and workflow_id = '<workflow>' and conclusion = 'success';

select count(id) from github_actions_repository_workflow_run where repository_full_name = '<repo>' and workflow_id = '<workflow>' and conclusion = 'success' limit 1000;

If you'd be so kind as to share back both the STDOUT output from this and the plugin logs from ~/.steampipe/logs this may help to debug your issue.

> .cache off
> .timing off
> .timing on
> select count(id) from github_actions_repository_workflow_run where repository_full_name = 'gradle/ge' and workflow_id = '52859611' and conclusion = 'success';
+-------+
| count |
+-------+
| 20    |
+-------+

Time: 35.2s. Rows fetched: 1,000. Hydrate calls: 0.

> select count(id) from github_actions_repository_workflow_run where repository_full_name = 'gradle/ge' and workflow_id = '52859611' and conclusion = 'success' limit 1000;
+-------+
| count |
+-------+
| 20    |
+-------+

Time: 31.6s. Rows fetched: 1,000. Hydrate calls: 0.

plugin-2023-09-27.log

Thanks, are you expecting more than 20 results in the 1000 results (are you expecting more than 1000 total?)
Unfortunately the plugin logs haven't been helpful in this case, almost feel like we need to increase the logging to we do in the table.
It does indeed seem strange that you obtain exactly 1000 rows both times.
> select count(id) from github_actions_repository_workflow_run where repository_full_name = 'turbot/steampipe' and workflow_id = '19441004';
+-------+
| count |
+-------+
| 371   |
+-------+

Time: 178.9s. Rows fetched: 4,202. Hydrate calls: 0.

> select count(id) from github_actions_repository_workflow_run where repository_full_name = 'turbot/steampipe' and workflow_id = '19441004' limit 1000;
+-------+
| count |
+-------+
| 371   |
+-------+

Time: 155.9s. Rows fetched: 4,203. Hydrate calls: 0.

(I checked and there was a workflow run on the repository between my queries)
From the 4200+ returned results I get only 371 match the workflow_id passed in, this is filtered post-API calls.
Are you able to obtain a count of expected returned rows using something akin to:
gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/OWNER/REPO/actions/runs | jq ' .total_count'

For example:
❯ gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/turbot/steampipe/actions/runs | jq ' .total_count'
4203

I think what you mean is the number of workflow runs for that given workflow ID, right? Listing all workflow runs in the repository won't match exactly what I queried above.
Here is the GitHub API return:
$ gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/<repo>/actions/workflows/<workflow_id>/runs | jq .total_count
11871

Hey @julioz, We are closing this issue as we have not heard from you. Please feel free to reopen the issue if you want to share or discuss anything.