yaml not rendered correctly

Hi,
I'm having a problem with my yaml files.
Example yaml file:
sidebar:
  Basic Tutorial:
  - Getting Started: docs/getting-started.md
  - Customizing The Sidebar: docs/customizing-the-sidebar.md
  - Customizing The Public Api: docs/customizing-the-public-api.md
  - Discussions: docs/discussions.md
  - Themes and CSS: docs/themes-and-css.md
  More Info:
  - Autodoc Settings: docs/autodocSettings-full-list.md
  - Building Version Documentation: docs/building-version-documentation.md
  - Markdown Cheat Sheet: docs/markdown-cheat-sheet.md
  - Changelog: docs/changelog.md
  - Contact Us: docs/contact-us.md
  - Feature Requests: https://github.com/erez-o/doxiz/issues
autodocSettings: {}

rendered as:

Using the latest version (9.15.8), also made a fiddle http://jsfiddle.net/f261xec4/
Thx

I second this. Here's my fiddle: https://jsfiddle.net/f60us8vj/2/

From what I can gather:

Any key which consists of something other than letters, unerscores and dashes is marked as a hljs-string instead of hljs-attr.
As you can see in my picture, numbers inside a string 999fff also became highlighted — don't think it's such a good idea.

A pull request would be most welcomed.


[BUG] THe framerate for picamera v1 is slower than on picamera module 1

On picamera module from wave share (the legacy one), the framerate for picamera v1 can go up to 90 fps at 640x480 for h264 video recording
However, the maximum speed in picamera module 2 is only at 60 fps.
Is there a reason for this decreases in speed?

Picamera2 (and libcamera underneath it) use open source camera drivers, and these may implement different resolutions and/or framerates from the proprietary firmware that was used previously. In this case I assume you're talking about the ov5647 - the open source driver appears only to implement the 480p60 mode and not the 480p90. Bit I don't know why.

is this the same reason for resolutions and crops difference? was using 1280x720 and was surprised to see different crop on picamera v2

You should be able to control exactly which camera mode gets chosen (and hence what field of view you get) by setting the raw stream mode. Please check the documentation on "Raw streams" in section 4.2.2 of the manual.

Hi, I think I'm going to propose that we close this as there's nothing we can do in Picamera2 to add new sensor modes to a kernel driver. One could file an issue about the missing mode against the Pi Linux kernel, though I think it may be more difficult than just "adding another mode" because the two VGA modes would be indistinguishable to Linux.

Thanks, yea. NothingThanks much can be.

@tf4ong where do you go from here? I'm starting to think about forking driver

@RolandasRazma No need to 'fork' the driver - If you explore the new modes, and add it to the kernel, submit a PR to the raspberry pi kernel - or better yet - to the Linux Media subsystem to get the new mode added to the kernel itself.

We'd certainly be happy to review and accept updates. There's the slight problem that as far as V4L2 is concerned, the existing 640x480 mode (up to 60fps) and a 90fps version would look the same, and there's no way, AIUI, to select one over the other. @kbingham Does that sound right, or do you think there's a workaround?

Sounds like a discussion to have in the Linux media mailing list, ideally with a list of the registers that need to be updated to facilitate the differences.
It should be supportable. The question is how much development is required to be able to do so

@RolandasRazma  I don't have any plans to update the driver, I am not sure how to change the codes at that level


feat: go1.20 introduces slice to array convertibility

Coverage decreased (-0.04%) to 99.822% when pulling 11a6bc3c34196a1751e5f111de04ee04ede98a1f on test into e1156b88cfd40d74174745a13c82ceb04d500dd5 on master.

Coverage decreases only because the go1.20 code path is not taken into account.


[hi] Localize en/docs/contribute/participate/_index.md

[hi] Localize en/docs/contribute/participate/_index.md
Prerequisites:

If this is your first contribution, visit Contribute to K8s docs for information on how to get started.
Review a few examples of localized glossary entries to see which content you change and which you live unchanged.

Procedure:

Check out dev-1.22-hi.1 and create a working branch called participate-index.
Create a file called content/hi/docs/contribute/participate/_index.md.
Copy the content of https://github.com/kubernetes/website/blob/main/content/en/docs/contribute/participate/_index.md to the file you created.
Localize the content.
Push your change and create a pull request.

Completing this feature issue fixes part of :-https://github.com/kubernetes/website/issues/36455

Note:- Self-assign only one issue at one time

Note:- To know about the preferred localization of common Kubernetes related terms, check this spreadsheet

@bishal7679 are you working on this issue since I would like to work on it ?

sure @bishal7679 can you assign me beginner friendly issue would love to work on that.

Sure. Thank You @bishal7679

Sure and Thank You @bishal7679 for raising the issue.

/remove-lifecycle stale

/triage accepted
/remove-lifecycle rotten


Move CDDL tests to cardano-ledger

The aim is to validate epoch files in immutable db.

I was able to download the EBBs from the immutable DB.
I manually validated the EBBs against to the CDDL spec (up to some depth, but not totally).
The EBBs and the CDDL spec looks good but the cddl-tool fails to load the CBOR diag representation with a (JSON::ParserError)

The CDDL tests for the EBBs work now.
The tests run as an standalone tool that can be run with the Chain DB and the cddl-spec as input.
The PR was merged in the cardano-byron-proxy repo.
https://github.com/input-output-hk/cardano-byron-proxy/pull/18


Truvari phab fails to read VCF headers from output file and crashes

Version :
v4.1.0
Describe the bug :
Truvari crashes, failing to read cmrg-sv.vcf VCF headers (file attached below). No such error is encountered with this file using command-line bcftools. Manual inspection shows no missing sample names or trailing spaces/tabs. It look like this error actually occurs with the output file, not the input.
Expected behavior :
This is the error I get:
2023-08-22 11:31:07,055 [INFO] Truvari v4.1.0
2023-08-22 11:31:07,055 [INFO] Command /home/timdunn/truvari/venv3.10/bin/truvari phab -r /home/timdunn/vcfdist/comparison/beds/bench.bed -b /home/timdunn/vcfdist/comparison/vcfs/norm/bench.vcf.gz -c /home/timdunn/vcfdist/comparison/vcfs/norm/cmrg-sv.vcf.gz --bSamples HG002 --cSamples HG002 -f /home/timdunn/vcfdist/data/refs/GCA_000001405.15_GRCh38_no_alt_analysis_set.fasta --align wfa -t 64 -o /home/timdunn/vcfdist/comparison/vcfs/phab-wfa/cmrg-sv.vcf.gz
2023-08-22 11:31:07,056 [INFO] Preparing regions
2023-08-22 11:31:07,072 [INFO] Extracting haplotypes
2023-08-22 11:31:07,380 [INFO] Harmonizing variants
[E::bcf_hdr_add_sample_len] Empty sample name: trailing spaces/tabs in the header line?
Traceback (most recent call last):
  File "/home/timdunn/truvari/venv3.10/bin/truvari", line 8, in <module>
    sys.exit(main())
  File "/home/timdunn/truvari/venv3.10/lib/python3.10/site-packages/truvari/__main__.py", line 102, in main
    TOOLS[args.cmd](args.options)
  File "/home/timdunn/truvari/venv3.10/lib/python3.10/site-packages/truvari/phab.py", line 426, in phab_main
    phab(all_regions, args.base, args.reference, args.output, args.bSamples, args.buffer,
  File "/home/timdunn/truvari/venv3.10/lib/python3.10/site-packages/truvari/phab.py", line 314, in phab
    harmonize_variants(harm_jobs, mafft_params, base_vcf,
  File "/home/timdunn/truvari/venv3.10/lib/python3.10/site-packages/truvari/phab.py", line 267, in harmonize_variants
    truvari.compress_index_vcf(output_fn[:-len(".gz")], output_fn)
  File "/home/timdunn/truvari/venv3.10/lib/python3.10/site-packages/truvari/utils.py", line 434, in compress_index_vcf
    out_hdlr.write(bcftools.sort(fn))
  File "/home/timdunn/truvari/venv3.10/lib/python3.10/site-packages/pysam/utils.py", line 83, in __call__
    raise SamtoolsError(
pysam.utils.SamtoolsError: 'bcftools returned with error -1: stdout=, stderr=Writing to /tmp/bcftools.6e0zyu\nCould not read VCF/BCF headers from /home/timdunn/vcfdist/comparison/vcfs/phab-wfa/cmrg-sv.vcf\nCleaning\n'

As you can see, the error is in reading the VCF cmrg-sv.vcf. I've attached that below. I get the same error when running with the --align mafft flag, but after few hundred copies of the following lines:
2023-08-22 11:31:12,095 [ERROR] Unable to run MAFFT
2023-08-22 11:31:12,095 [ERROR]

Example Data :
cmrg-sv.vcf.gz
Additional context :
I tried both building Truvari v4.1.0 from source and using pip install truvari==4.1.0. Both result in the same error. Everything is run in a Python 3.10 virtual environment.

The error is sort of pointing to a with /home/timdunn/vcfdist/comparison/vcfs/norm/bench.vcf.gz .  But I suspect that VCF won't have an issue, either. Instead, I'm thinking there's a problem with something around --bSamples and --cSamples. I can't confirm this without having access to the bench.vcf.gz.
Could you provide the bench.vcf.gz?
Side note: the ability of phab to harmonize two VCFs into one is an almost vestigial function that's largely been superseded by refine. Depending on how this ticket goes I might need remove it.

Hi Adam,
So it seems like the intended method for running Truvari at the moment is bench followed by refine, instead of phab followed by bench. Is that correct?
In that case, is there any supported method for refining the counts without modifying any of the variant representations? I'm looking to compare the results of Truvari on a per-variant basis with other tools, and so it seems like the only supported method of doing so is to first call Truvari phab, and then evaluate with multiple tools on that variant callset.
Thanks,
Tim

Truvari phab was not deprecated. My speculation based on "depending on how this ticket goes" was answered when the issue was fixed.


Add Hostmeapp/Booking widget

Website:
https://www.hostmeapp.com
Example websites:
http://veysos.co.uk/reservation.html
http://izmirbargrill.co.uk/reservation
https://jeromerestaurant.ru/

👍


How to execute this code

Which file should I execute and what param should I use?
Is there a example for users?
Thank you!

Hi @BasinChen, actually this package is not yet finished. I am delighted someone is using my code. Well, I'll try to finish it and add the example next week. Thanks :)

I added the documentation in the read.me, please check it again.


Update settings.py

Adding my URL
I want to merge this change because...

Impact

[x] New migrations
[x] New/Updated API fields or mutations
[x] Deprecated API fields or mutations
[x] Removed API types, fields, or mutations
[x] Documentation needs to be updated

Pull Request Checklist

[x] Privileged queries and mutations are guarded by proper permission checks
[x] Database queries are optimized and the number of queries is constant
[x] Database migration files are up to date
[x] The changes are tested
[x] GraphQL schema and type definitions are up to date
[x] Changes are mentioned in the changelog

Add my URL


How to find a TradingView chart's address?

Hello and thanks for your great work!
I like to know is it possible to read data of this chart for example: http://www.tgju.org/chart/price_dollar_soleymani/trading with your library? How?

I've updated the ReadMe to include video tutorials.

How-to screen recording: https://d.pr/v/VGCDNf
The resulting file from the tutorial above: https://d.pr/f/bnQ75v

Open the embedded chart from your link above in TradingView or simply select the same asset and indicators on TradingView. Then you'll be able to publish the chart and use the tool.


fix: Only log found provisionable pods with new nodeclaims

Fixes #N/A
Description
This change fixes a regression where we were logging found provisionable pod(s) more frequently than we should have been
How was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.03%) to 78.809%

Files with Coverage Reduction
New Missed Lines
%

pkg/test/expectations/expectations.go
2
95.15%

pkg/scheduling/requirements.go
2
97.98%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
8349

Relevant Lines:
10594

💛  - Coveralls


Check correct usage of Null value

Null type here: https://github.com/src-d/go-mysql-server/blob/master/sql/type.go#L152 shouldn't be a type in most of the cases. Null values always should have a type assigned. Null type should be used only when no other type is inferred, per example: SELECT NULL query.

Can be related: https://github.com/src-d/go-mysql-server/issues/546


[Snyk] Security upgrade node from 18.8-alpine3.16 to 18-alpine3.16

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile.test

We recommend upgrading to node:18-alpine3.16, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

614
Insecure Randomness SNYK-UPSTREAM-NODE-3035792
No Known Exploit

621
HTTP Request Smuggling SNYK-UPSTREAM-NODE-3035795
Proof of Concept

625
Buffer Overflow SNYK-UPSTREAM-NODE-3092932
No Known Exploit

721
Buffer Overflow SNYK-UPSTREAM-NODE-3092933
Proof of Concept

614
DNS Rebinding SNYK-UPSTREAM-NODE-3105822
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Insecure Randomness

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.499%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1176

Relevant Lines:
1949

💛  - Coveralls


Update for Swift 5.5

This diff has a few changes that were required to get this working with
Swift 5.5:

Tests had hardcoded architectures and SDK versions, these had to be
updated to allow for newer SDKs, and running tests on M1 machines
The minimum OS version was hardcoded in the tests, but was not passed
to the compilers, I hardcoded the same version that was previously
used, give or take, it doesn't really matter for this case, just that
they're consistent
The implicit conversion from llvm::StringRef to std::string was
removed in
https://github.com/llvm/llvm-project/commit/777180a32b61070a10dd330b4f038bf24e916af1,
this change now explicitly converts where required. Theoretically
there might be some performance wins by cleaning this up, but we'd
need to profile to know for sure
Record suffixes produced by clang changed, in general I guess these
don't have to be stable, but they were hardcoded in tests, so this
updates them to the new values. I verified it's not source file path
dependent still.

Signed-off-by: Keith Smiley<EMAIL_ADDRESS>

I tested test e2e with the lyft project and things look good


Implement class ClipVect2

This is a "clipped" version of class Vect2, for which vector components must belong to some range.

Completed, still to be tested.


remove unneeded assert in test that breaks when run under jdk 1.8

JDK 1.8 hashes differently than JDK 1.7. We are doing a string compare on a JSON payload (containing hashed keys) before and after deserialization/serialization. This is unneeded Assert -- we are not testing any of our code, since we are just calling methods on Jackson's ObjectMapper.
I propose we remove this Assert since it's breaking with JDK 1.8

@VinnyQ, @tilogaat, please review.
cc: @usnavi, @chandraaddala

Looks good to me.

+1


support for "image zone"

hi, i find a particle system that have a cool feature that they call "image zone"
unfortunately i don't find definition nor seems highly supported
the "image zone" feature, seems to create a sort of path based on a png, considering the "colored" area (or the non transpared one) as a emitter zone, or emitter area.
http://a-jie.github.io/Proton/example/zone/imagezone/imagezone.html
http://a-jie.github.io/Proton/example/render/pixel/google.html
do you think that you will eventually support such feature? or have an idea on how i can achive a similar result?

The first example could be created by making a subclass of Emitter and adding a new emission type (point, circle, burst, etc) that emits based on some paths - setting that up would be a little complicated, but doable. The second example is very complicated, and is unlikely to ever be supported in this library.

Closing this due to age, but with release 5.0.0 writing a custom spawning behavior is easier than ever.


Separate max file size and decoding size handling in oss re client

Before it was possible to set a total file size for all the RE's IO API that exceed tonic's default max-decoding size of 4MB. Matter of fact, because the default limit is 4MB for both this happened by default with files of comulative size close to or equal to the limit. Example:
genrule(
    name = "large_download",
    out = "out.txt",
    cmd = "dd if=/dev/zero of=$OUT bs=4M count=1",
)

PS: Please be nice, this is my first time contribution both here and in rust :)

@TheGrizzlyDev following internal feedback, I've renamed max_total_file_size to max_total_batch_size in the buckconfig as well. The goal is just to keep names aligned with what is used in the upstream bazel GRPC definition. No action needed from you though unless you strongly object, just letting you know. Will look to land shortly


Inappropriate cpp symbol check for POSIX

src/util/path.hpp improperly checks for _POSIX_C_SOURCE to be defined, and this fails on Mac OS X.
Proposed fix: simply remove this test.

NB: This was an artefact introduced by the Big GPU Events Patch merge.


PlayerInputSystemTest

It's probably a good idea to detach your fork from the original repository so its harder to accidentally make it on this repository again.


Change all instances of taking argument "const Eigen::VectorXd &" to "const ConstVectorRef&"

This also the default constructor of the MPC class.
Merge this after #26

This change is part of the following stack:

#26

#27 ◀

#28

Change managed by git-spice.


macOS dock: cannot distinguish projects with the same name.

VSCode Version: Code 1.8.0 (38746938a4ab94f2f57d9e1309c51fd6fb37553d, 2016-12-13T17:38:28.425Z)
OS Version: Darwin x64 16.1.0
Extensions:

Extension
Author
Version

tslint
eg2
0.7.1

vscode-icons
robertohuertasm
4.1.0

Steps to Reproduce:

have two projects located in abcd/proj and  dcba/proj
click the vscode button on mac dock, only one proj will be shown.

@calidion can you pls provide a screenshot? I'm guessing you talk about the macOS menu that pops up when you long press an icon in the dock.

@kieferrm yes.

@bpasero is that electron or us?

Electron, and I would even say native behaviour. We use the API in https://github.com/electron/electron/blob/master/docs/api/app.md#appaddrecentdocumentpath-macos-windows

@calidion can you share a screenshot of what you mean?


Feat LIVE-9512 live config lib

📝 Description

Featureflag rework. (Merge duplicated code from LLM/LLD + remove useless code)
Move featureflag framework to the new lib "live-config"

❓ Context

Impacted projects: LLC, LLD, LLM, live-config
Linked resource(s):

https://ledgerhq.atlassian.net/browse/LIVE-9511
https://ledgerhq.atlassian.net/browse/LIVE-9512

✅ Checklist

[X] Test coverage Keep all the old feature flag framework tests. Make sure that they are not broken.
[X] Atomic delivery
[X] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

could you update with latest develop? the "build checks" message is outdated & it would be good to assess the deps impact since there is lot of pnpm-lock changes.
typically the PR is updating Electron to 27.1.0 which isn't expected , i think you may want to git checkout origin/develop pnpm-lock.yaml && pnpm i to only scope your changes to what this PR do. on top of these there are file changes in unrelated part like tools/actions/desktop-build-checks that you may want to undo (even do they may make sense but they should be shipped separately as it's unrelated)

@gre fixed. Thanks


refactor: use gcloud to deploy

Overall LGTM
Should we first publish the sdk, which will reduce the duplication here or should we do that in a follow up?

I was going to do that as a follow up


Update FormValidation to 0.8.1

As always, thank you for updating the gem. Update is merged and released :)


run error in demo_vlsm.ipynb

Hi, @akar43 ,
When I run the following cell in demo_vlsm.ipynb,
# Setup TF graph and initialize VLSM model
tf.reset_default_graph()

# Change the ims_per_model to run on different number of views
bs, ims_per_model = 1, 4

ckpt = 'mvnet-100000'
net = MVNet(vmin=-0.5, vmax=0.5, vox_bs=bs,
          im_bs=ims_per_model, grid_size=args.nvox,
          im_h=args.im_h, im_w=args.im_w,
          norm=args.norm, mode="TEST")

net = model_vlsm(net, im_nets[args.im_net], grid_nets[args.grid_net],
                     conv_rnns[args.rnn])
vars_restore = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope='MVNet')
sess = tf.InteractiveSession(config=get_session_config())
saver = tf.train.Saver(var_list=vars_restore)
saver.restore(sess, os.path.join(log_dir, ckpt))

I got the this running error (details log):
ValueError: Dimension must be 6 but is 3 for 'MVNet/transpose' (op: 'Transpose') with input shapes: [1,4,32,32,32,33], [3].

Any suggestion to fix this issue?
My system is Tensorflow 1.0.1 (python 2.7). Is the tensorflow version compatibility issue? What version of tensorflow is required to run your package?
Thanks!

Hi @amiltonwong ,
Thanks for your interest in our code. This is indeed a tensorflow issue which I believe was fixed in 1.1 or 1.2. You can find the issue here and here. The issue was that TF did not support >3D tensors within dynamic_rnn making ConvLSTMs or ConvGRUs impossible to implement using that. They have fixed it after that. Hope this helps.


Write on MiFare Classic

Hey, Ive been searching on code if there is support for writing data on Mifare Classic at the moment.
I see mifareClassicAuthenticate and mifareClassicReadBlock. Is there support for Mifare Write Block at the moment?
Thanks

It should be fairly straightforward to add this.
@whitedogg13 a question for you: I just realize the following: the readBlock actually reads a whole sector, which is typically 4 blocks on a Mifare Classic 1K card. With writeBlock we don't want to enforce to write the whole sector of course, so we have the following options:

rename readBlock to readSector, and implement readBlock which reads only one block in a sector + implement utility methods like (blockToSector and sectorToBlock)
implement writeBlock that it writes only 1 block, and leave readBlock as-is

WDYT? My preference goes to the 1st, but it means that we're changing the API, which could be annoying for anybody who already implemented it. However, I think it's a necessary thing for consistency. Do you agree? I'll create a PR accordingly

@poison I also prefer the 1st option, let make it better!

Hey @chelinho139 , the PR is merged into master, please let us know if you experience any issues.


[now dev] exit on MissingDotenvVarsError

now dev will exit on this error:
> Error! Env var "DATABASE_NAME" is not defined in `.env` file

Codecov Report

Merging #2237 into canary will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           canary   #2237      +/-   ##
=========================================
- Coverage     4.5%    4.5%   -0.01%
=========================================
  Files         246     246
  Lines        8985    8991       +6
  Branches      978     979       +1
=========================================
  Hits          405     405
- Misses       8557    8563       +6
  Partials       23      23

Impacted Files
Coverage Δ

src/commands/dev/lib/dev-server.ts
0% <ø> (ø)
:arrow_up:

src/commands/dev/dev.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


OneNote Organizer

Description of the new feature / enhancement
I really like working with OneNote. The one thing it lacks is a good way to manage notebooks. Until today I didn't realize that I have 19 notebooks on Sharepoint. Some have importantr information I didn't realize I had lost. Others are empty/ Several have a coupe random docs. This is over 10 years from changes in machines, policies. changes at MS, changes in services subscribed, etc.
I've been trying to move info from various notebooks to a single notebook but it is a chore to bounce back and forth, especially when the names are so similar.
What I'm picturing would be similar to a dual pane explorer where you could view everything in two panes and drag and drop/rename as you go. I had thought this would require an independent piece of software unless it was built into windows. But I was just thinking that it might be as simple as a file explorer plugin.
Scenario when this would be used?
It's important to anyone that uses OneNote heavily and has multiple notebooks to merge and rearrange. Just do a search for how to do either.
Supporting information
No response

I'm not sure what exactly you try to accomplish. I can see all my notebooks in the notebook selector:

And for splitpane you can just open two Onenote Windows and put them besides eachother.
Anyway, I think this sounds more like a feature request for Onenote. They collect their feedback here: https://feedbackportal.microsoft.com/feedback/forum/c06dcc30-2e1c-ec11-b6e7-0022481f8472

lolol. OK.  So I had previously done a number of searched looking for just such a way to do this and never found a way to despite remembering that I remembered doing it a decade ago. Seeing your comment I decided to ask Bing AI and found the solution right away. So now I'm embarrassed. So for the record, I DID do an exhaustive search previously before posting this. Thanks for the tip.

No need to be embarrassed, we are all learning and growing.


[test-only] ApiTest. hide shares in the different state

Steps:

admin shares folder to einstein
einstein hides shared folder POST https://localhost:9200/ocs/v2.php/apps/files_sharing/api/v1/shares/pending/shareUUID?format=xml&hide=true - works fine. <hide>true</hide> in the response
einstein lists all share instead off hidden shares GET https://localhost:9200/ocs/v1.php/apps/files_sharing/api/v1/shares?include_tags=false&state=all&shared_with_me=true&show_hidden=false

Expect: no share in response
Actual: no share in response

not needed. we use sharingNg endpoint for that


Can't use with phonegap

When trying to request a local file compiled into a phonegap/cordova application, superagent throws a Origin is not allowed by Access-Control-Allow-Origin error.
This can be seen with code as simple as:
request.get('mylocalfile.json').end((err, res) => {
    console.log(err);
});

Doing the same thing with vanilla JS works fine:
function listener() { console.log(this);}

var url = "mylocalfile.json";
var req = new XMLHttpRequest();
req.addEventListener('load', reqListener);
req.addEventListener('error', reqListener);
req.open("get", url, true);
req.send()

P.S. looking at the network panel shows that the file is getting loaded, even though superagent reports an error.

The cause of this seems to be that phonegap/cordova webviews sometimes return 0 instead of 200 for the status.  http://simonmacdonald.blogspot.ch/2011/12/on-third-day-of-phonegapping-getting.html

@ccapndave it seems related to #484


Improve search engine listings

The way ropewiki turns up in search results is highly inconsistent. It's especially bad on Google. Duckduckgo is generally better.
E.g. searching for "ropewiki Wallace" should have results for Wallace canyon, Wallace river canyon, etc on top. Instead weird "search by property" pages, and condition reports come out top.
This might need access to the Google webmaster tools, and changes to our meta headers.

A start: https://github.com/RopeWiki/app/pull/78

#79 & #80

Things are good now.


provision Cephfs PVs in designated volume

@wongma7 @humblec

Can we make it a storage class parameter instead? And allow for multiple namespace to be specified per storage class (comma separated string)? We can still List & Watch all PVCs but later filter them to only the namespaces we want.
I say this because it shoudl be configurable during runtime not just at start. And I'm afraid restricting the provisioner to a single namespace will make it much too limiting to use.

sgtm

Yes, this is almost in the same line of what we discussed. It would be good to accept more namespaces in SC and making it run time option. Thanks all!


Change traffic signal interface to support V2X/V2I

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description
Hi, I'm thinking about V2X support in traffic signal interface. Currently, the planning component (traffic_light module in behavior_velocity_planner) has two traffic signal inputs, perception and external. It looks like we can input V2X information into external, but it was actually created for the purpose of overriding vehicle behavior by the operator. So this interface means the operator's decision such as pass and stop rather than the traffic signal color such as green or red, and the pass throuh logic described here is not performed.

Purpose
For the planning component, it doesn't matter if the input is image recognition results or V2X. Therefore, I'll unify the input so that V2X can be handled in the same way as image recognition results.
Possible approaches
The new architecture is as follows. Merge the image recognition results and V2X before inputting into the planning component. Typically the merge node will use V2X if it is available, otherwise it will use the most confident image recognition result. Also, as described later, light bulbs and traffic signals are treated separately.
The messages LightBulbsArray (or NewTrafficLightArray) and NewTrafficSignalArray (temporary name) are almost the same as TrafficSignalArray, except for the use of light bulbs ID and regulatory element ID. Or NewTrafficSignalArray could be changed to more semantic information such as {straight: green, turn_right: red}.

Map primitive IDs
There are multiple signals (as equipment) at one intersection, and image recognition targets them. On the other hand, V2X and the planning component only need one traffic signal (as information) in each direction of the intersection. This is defined in lanelet as light_blubs way ID and regulatory_element relation ID. See here for details of lanelet format.

Definition of done

[x] Add new interface message.
[x] Change the perception output interface.
[ ] Change the planning input interface.
[x] Create the V2X output interface.
[x] Create the merge node from perception to planning.

For the planning component, it doesn't matter if the input is image recognition results or V2X. Therefore, I'll unify the input so that V2X can be handled in the same way as image recognition results.

I totally agree. The approach looks good to me as well.

@TakaHoribe Thank you. I would like to proceed with this proposal.
As a first step, create the autoware_perception_msgs package in autoware_msgs and define a message type as follows. Note that I changed the definition of traffic signal and traffic light. If there are other good words to distinguish between these, please let me know.

Type
Current implementation
Related lanelet ID

TrafficSignal.msg
none
Relation ID (type: regulatory_element)

TrafficLight.msg
TrafficSignal.idl
Way ID (type: traffic_light)

TrafficLightElement.msg
TrafficLight.idl
Node ID if possible

I've created a PR to add messages.
https://github.com/autowarefoundation/autoware_msgs/pull/48

cc @Mingyu1991 @miursh

The migration steps are as follows.

@isamu-takagi The diagram above is a bit old, so the actual roles and such will be different.
@Mingyu1991 @miursh Could you share the updated figure?

@yukkysaito
Do you mean this figure?

@isamu-takagi
There would be two merge nodes within perception.
The "traffic_light_merger" would merge the results of the same traffic light from different cameras.
The "traffic_signal_arbitrator" would merge the results of traffic lights from the same group.

Thank you. Updated the diagram.

Step 1 is done. https://github.com/autowarefoundation/autoware.universe/pull/2903

@isamu-takagi Any updates ?

@KhalilSelyan
I asked the maintainers of each package to implement it. I hear they are working on it now.

@TomohitoAndo  for planning (step 2)
@TomohitoAndo @Mingyu1991 for perception (step 3, 4)

Update the step 4 diagram to split merge step by targets. An implementation can perform multiple merge steps on the same node.

I noticed that TrafficLight.msg is converted to TrafficSignal.msg in perception, and only TrafficSignal.msg is used for interface between components. So I will remove TrafficLight.msg.

Merged perception update https://github.com/autowarefoundation/autoware.universe/pull/4050 https://github.com/autowarefoundation/autoware.universe/pull/4125 https://github.com/autowarefoundation/autoware.universe/pull/4176
This is the latest perception node diagaram.

@TakaHoribe @TomohitoAndo @isamu-takagi
Let me just check one thing. Are all works in this issue already done?

@miursh I think so.
@TakaHoribe @TomohitoAndo @Mingyu1991 Are there any remaining tasks?

@isamu-takagi @miursh
The changes for the planning modules haven't been merged yet. (This PR)
The review for this PR is already done, but scenario simulator doesn't support the new interface yet, so we are waiting for it.
It's scheduled to be done by next week.

Support for V2X in the scenario simulator has been delayed until early September. Thus, the PR for the planning modules is on hold until then.

Changing the node order of crosswalk_estimator
https://github.com/autowarefoundation/autoware.universe/pull/4734

@isamu-takagi @miursh @TakaHoribe
The changes for the planning modules have been merged, so I close this issue.
https://github.com/autowarefoundation/autoware.universe/pull/4133


can't install on termux android

target 'aarch64-linux-android' not found in channel.

On my termux install (proot arch) I successefully compiled from source and run it.

I can compile fine in vanilla termux, can you post the full error?


Fix CLI env variable names of create and create-package commands

I've fixed the env variable names of the create and create-package commands. Now they also contain the name of the command. From FRONTITY_NAME (wrong) to FRONTITY_CREATE_NAME (right).
I've also added TSDocs to all our CLI commands with proper explanations of the values they receive. I hope that also helps with the documentation.
This is the code PR: https://github.com/frontity/frontity/pull/545
If something is missing or you need help let me know 🙂

I've added a new commit indicating the options that will prompt if the CLI arg and the env variable is missing in case you want to add that info to the docs 🙂 https://github.com/frontity/frontity/pull/545/commits/4a598a52c1570242d6bf509d97ea20cfbef8c905

Issue solved by https://github.com/frontity/api-reference/pull/2


Projects being re-exported will not have their terra spreadsheet updated.

Acceptance criteria
Re-exporting an exported project should:

Use the same file descriptor uuid with a new date-time stamp
Use the same metadata file uuid with a new date time stamp
Store the spreadsheet on terra

The issue
Currently: If a file exists on terra, the metadata exporter assumes that it is the correct version and no attempt is made to check/update/replace it, since these files all have the date time stamp of their last change in the filename.
Since we are using the metadata exporting routines for exporting the spreadsheet file, if the file already exists the spreadsheet is not sent.
Workarounds:
When re-exporting a submission, ensure that the spreadsheet is deleted before the export begins.
Possible implementations:

Add the date-time stamp to the name of spreadsheet file

This means we also have to change how the metadata and datafile uuids are generated
Currently they are based on the filename which would now change every time

Add/use a different method for sending data to terra that doesn't perform the same existence check and always overwrites any existing file.

From gabs input we should try the following implementation:

[ ] Change the spreadsheet name to {project_shortname}-metadata-{ddmmyyy}.xlsx
[ ] Change how the metadata and datafile uuids are generated to keep them consistent across multiple exports

Hi, Alexie!
I would like to have the word metadata in the name.
project_title-metadata-{ddmmyy}.xlsx
If project title is too long as it would be, I am good with either short name or a certain number of characters from the project title.
Thanks, Alexie, slack me if you want
Gabs

Thanks gabs, that leads to the following implementation:

[ ]  Change the spreadsheet name to {project_shortname}-metadata-{ddmmyyy}.xlsx
[ ]  Change how the metadata and datafile uuids are generated to keep them consistent across multiple exports

Example project spreadsheet names:
Patrakka-Human-Smartseq_metadata_30-10-2022.xlsx
Covid19PBMC_metadata_02-11-2022.xlsx
GSE132065_BloodTimeHuman_metadata_01-01-2023.xlsx

Multi Submission Support
Because we are changing datafile and metadata uuids generation to keep them consistent regardless of the spreadsheet file name. We have an opportunity to very easily fix the issue identified in the demo of multi-submission exports.
By generating the datafile and metadata uuids using the submission uuid as the "seed", each submission exported to terra will have its own spreadsheet, metadata file, and descriptor that can be updated independently of each-other.
Its a simple fix, and considering multi submission projects are 2% of our projects, having just these projects display a spreadsheet for each submission in the project is a "good enough" solution, until we can invest better Muti-submission export designs.

I think we need to keep track of all production spreadsheet exports that were made with the old mechanism and  rename the spreadsheets/metadata/and file descriptors of those exports directly on terra as if they were the new scheme.
This is so future re-exports of these few projects will behave correctly if a new spreadsheet is ever generated.

Review Approved (with changes) I'll merge and test.

Found a further issue due to contentLastUpdated not updating on project for a change in biomaterial.
this means:

[ ] We need to create a synthetic dcpVersion based on the export date
[ ] we also have allow overwrited for spreadsheets (to allow multiple exports on the same day

Production exports to be renamed:
TerraSpreadsheetExporter - INFO - submission_uuid:72705a81-c281-403d-96bd-fdb606f6afec - export_job_id:63751fdf31a4c47b19a755a1 - project_uuid:fc381e70-df1b-407d-8131-52ab523270bd - Writing file: prod/fc381e70-df1b-407d-8131-52ab523270bd/data/metadata_fc381e70-df1b-407d-8131-52ab523270bd.xlsx

@amnon to review: https://github.com/ebi-ait/ingest-exporter/issues/49

merged, tested, found an improvement, built it,
@amnonkhen ebi-ait/ingest-exporter#50, ready to review

The issue found in 49 had lasting consequences so I had to actually make:
Really this is the last change ebi-ait/ingest-exporter#51

[x] filter google transfer notifications for deleted submissions
[x] script to re-queue errors in the error queue to their original queues.

Helpful when errors occur in lots of places.

Multiple issues found, highest blocking ones here:
ebi-ait/ingest-exporter#52

[x] Resilient export job
[ ] Acknowledge Messages for deleted submissions:

[x] Data transfer responder
[ ] Spreadsheet generator
[ ] Submission Exporter
[ ] Experiment Exporter
Miro board with some of the errors/investigation:https://miro.com/app/board/uXjVPAaOb7A=/?share_link_id=683198535045

On Friday, the change was made an deployed to dev, where it was tested.
The change reprocessed all the messages for deleted submissions from the error queue, passing all integration tests.
Note:  There are some remaining errors, but I think they aren’t introduced by this change and seem circumstantial rather than pointing to an issue. I’ll stop investigating those until we asses might be a problem to fix (i.e. “evaluating impact”)

The change has been merged to staging and is ready for user testing. @gabsie has volunteered.

Tested with gabs on staging:

exporting
reexporting with filename change
reexporting with same filename

Deployed to PROD

Re: Reexporting production spreadsheets
Deleting old files:
2022-11-28 16:44:56,613 - ReExportSpreadsheets - INFO - File exists, Deleting: prod/48b198ef-3d59-4e57-900f-df54c2435669/data/metadata_48b198ef-3d59-4e57-900f-df54c2435669.xlsx
2022-11-28 16:44:56,744 - ReExportSpreadsheets - INFO - Deleting: prod/48b198ef-3d59-4e57-900f-df54c2435669/metadata/supplementary_file/e0ac8257-7fe5-516c-8b6c-8b368c6aeffe_2022-11-25T16:11:51.325000Z.json
2022-11-28 16:44:56,887 - ReExportSpreadsheets - INFO - Deleting: prod/48b198ef-3d59-4e57-900f-df54c2435669/links/e0ac8257-7fe5-516c-8b6c-8b368c6aeffe_2022-11-25T16:11:51.325000Z_48b198ef-3d59-4e57-900f-df54c2435669.json
2022-11-28 16:44:57,019 - ReExportSpreadsheets - INFO - Deleting: prod/48b198ef-3d59-4e57-900f-df54c2435669/descriptors/supplementary_file/e0ac8257-7fe5-516c-8b6c-8b368c6aeffe_2022-11-25T16:11:51.325000Z.json
2022-11-28 16:44:57,187 - ReExportSpreadsheets - INFO - File exists, Deleting: prod/ea9eec5a-4fc2-4c58-94d0-2fcb598732bc/data/metadata_ea9eec5a-4fc2-4c58-94d0-2fcb598732bc.xlsx
2022-11-28 16:44:57,351 - ReExportSpreadsheets - INFO - Deleting: prod/ea9eec5a-4fc2-4c58-94d0-2fcb598732bc/metadata/supplementary_file/189ea858-153d-5cd3-bf8b-b20af96786fe_2022-11-23T20:40:56.560000Z.json
2022-11-28 16:44:57,490 - ReExportSpreadsheets - INFO - Deleting: prod/ea9eec5a-4fc2-4c58-94d0-2fcb598732bc/links/189ea858-153d-5cd3-bf8b-b20af96786fe_2022-11-23T20:40:56.560000Z_ea9eec5a-4fc2-4c58-94d0-2fcb598732bc.json
2022-11-28 16:44:57,620 - ReExportSpreadsheets - INFO - Deleting: prod/ea9eec5a-4fc2-4c58-94d0-2fcb598732bc/descriptors/supplementary_file/189ea858-153d-5cd3-bf8b-b20af96786fe_2022-11-23T20:40:56.560000Z.json
2022-11-28 16:44:57,794 - ReExportSpreadsheets - INFO - File exists, Deleting: prod/07518430-7031-4bdf-a3ce-1bf0917a1923/data/metadata_07518430-7031-4bdf-a3ce-1bf0917a1923.xlsx
2022-11-28 16:44:57,934 - ReExportSpreadsheets - INFO - Deleting: prod/07518430-7031-4bdf-a3ce-1bf0917a1923/metadata/supplementary_file/ecd2b1a3-478b-5541-925d-1ab0ff35643d_2022-11-22T23:38:36.254000Z.json
2022-11-28 16:44:58,067 - ReExportSpreadsheets - INFO - Deleting: prod/07518430-7031-4bdf-a3ce-1bf0917a1923/links/ecd2b1a3-478b-5541-925d-1ab0ff35643d_2022-11-22T23:38:36.254000Z_07518430-7031-4bdf-a3ce-1bf0917a1923.json
2022-11-28 16:44:58,203 - ReExportSpreadsheets - INFO - Deleting: prod/07518430-7031-4bdf-a3ce-1bf0917a1923/descriptors/supplementary_file/ecd2b1a3-478b-5541-925d-1ab0ff35643d_2022-11-22T23:38:36.254000Z.json
2022-11-28 16:44:58,353 - ReExportSpreadsheets - INFO - File exists, Deleting: prod/cc95ff89-2e68-4a08-a234-480eca21ce79/data/metadata_cc95ff89-2e68-4a08-a234-480eca21ce79.xlsx
2022-11-28 16:44:58,513 - ReExportSpreadsheets - INFO - Deleting: prod/cc95ff89-2e68-4a08-a234-480eca21ce79/metadata/supplementary_file/03f7aebc-824c-5f4a-b385-ec5e7b912077_2022-08-31T14:50:37.053000Z.json
2022-11-28 16:44:58,663 - ReExportSpreadsheets - INFO - Deleting: prod/cc95ff89-2e68-4a08-a234-480eca21ce79/links/03f7aebc-824c-5f4a-b385-ec5e7b912077_2022-08-31T14:50:37.053000Z_cc95ff89-2e68-4a08-a234-480eca21ce79.json
2022-11-28 16:44:58,797 - ReExportSpreadsheets - INFO - Deleting: prod/cc95ff89-2e68-4a08-a234-480eca21ce79/descriptors/supplementary_file/03f7aebc-824c-5f4a-b385-ec5e7b912077_2022-08-31T14:50:37.053000Z.json
2022-11-28 16:44:58,932 - ReExportSpreadsheets - INFO - File exists, Deleting: prod/1ebe8c34-454e-4c28-bd71-3a3e8b127be4/data/metadata_1ebe8c34-454e-4c28-bd71-3a3e8b127be4.xlsx
2022-11-28 16:44:59,074 - ReExportSpreadsheets - INFO - Deleting: prod/1ebe8c34-454e-4c28-bd71-3a3e8b127be4/metadata/supplementary_file/b7138d8f-ec75-5e95-b864-3dba5e51aa5e_2022-11-22T18:59:19.330000Z.json
2022-11-28 16:44:59,203 - ReExportSpreadsheets - INFO - Deleting: prod/1ebe8c34-454e-4c28-bd71-3a3e8b127be4/links/b7138d8f-ec75-5e95-b864-3dba5e51aa5e_2022-11-22T18:59:19.330000Z_1ebe8c34-454e-4c28-bd71-3a3e8b127be4.json
2022-11-28 16:44:59,337 - ReExportSpreadsheets - INFO - Deleting: prod/1ebe8c34-454e-4c28-bd71-3a3e8b127be4/descriptors/supplementary_file/b7138d8f-ec75-5e95-b864-3dba5e51aa5e_2022-11-22T18:59:19.330000Z.json
2022-11-28 16:44:59,502 - ReExportSpreadsheets - INFO - File exists, Deleting: prod/79351583-b212-44ba-b473-731bdcddb407/data/metadata_79351583-b212-44ba-b473-731bdcddb407.xlsx
2022-11-28 16:44:59,641 - ReExportSpreadsheets - INFO - Deleting: prod/79351583-b212-44ba-b473-731bdcddb407/metadata/supplementary_file/ca41f28d-dc13-5552-8818-0fd494e6b31c_2022-11-10T17:33:05.944000Z.json
2022-11-28 16:44:59,767 - ReExportSpreadsheets - INFO - Deleting: prod/79351583-b212-44ba-b473-731bdcddb407/links/ca41f28d-dc13-5552-8818-0fd494e6b31c_2022-11-10T17:33:05.944000Z_79351583-b212-44ba-b473-731bdcddb407.json
2022-11-28 16:44:59,897 - ReExportSpreadsheets - INFO - Deleting: prod/79351583-b212-44ba-b473-731bdcddb407/descriptors/supplementary_file/ca41f28d-dc13-5552-8818-0fd494e6b31c_2022-11-10T17:33:05.944000Z.json
2022-11-28 16:45:00,036 - ReExportSpreadsheets - INFO - File exists, Deleting: prod/fc381e70-df1b-407d-8131-52ab523270bd/data/metadata_fc381e70-df1b-407d-8131-52ab523270bd.xlsx
2022-11-28 16:45:00,177 - ReExportSpreadsheets - INFO - Deleting: prod/fc381e70-df1b-407d-8131-52ab523270bd/metadata/supplementary_file/1c380d01-6b40-58b3-9426-a0ca81623116_2022-11-15T19:30:15.578000Z.json
2022-11-28 16:45:00,334 - ReExportSpreadsheets - INFO - Deleting: prod/fc381e70-df1b-407d-8131-52ab523270bd/links/1c380d01-6b40-58b3-9426-a0ca81623116_2022-11-15T19:30:15.578000Z_fc381e70-df1b-407d-8131-52ab523270bd.json
2022-11-28 16:45:00,468 - ReExportSpreadsheets - INFO - Deleting: prod/fc381e70-df1b-407d-8131-52ab523270bd/descriptors/supplementary_file/1c380d01-6b40-58b3-9426-a0ca81623116_2022-11-15T19:30:15.578000Z.json

Sending new files:

7 projects files have been deleted and exported with new spreadsheet-type files in the terra staging area.
This ticket is now done.

Exports that were "fixed"

Submissions exported between the 16th and 25th of November
The first submissions to be exported with spreadsheets
Exported with the "old" metadata uuid format that would mean the spreadsheet could not be updated, each export would be considered a "new" spreadsheet and duplicated in the DCP
After the new feature was developed and the "metadata uuid" format had been decided these exports had the files written in the old format to be removed (detailed above) and files written in the new format to be added.

Data
Metadata
Descriptor
Links

Delile2019SpatialSpinal
immuneProfileOfPreeclampsia
atlasOfTheHumanCiliaryBody
HematopoieticImmuneCellAtlas
snRNAatlasOfSpinalCordNeurons
scHumanBrainVasculature
skeletalMuscleAging

Future Exports
Future exports (after November 28th) of these and any other submission will include a metadata spreadsheet.
If the source data is updated and re-exported the metadata spreadsheet in the DCP will be updated (rather than duplicated) thanks to a consistent metadata uuid.
Bonus
We can also export multi-submission projects, which will export a spreadsheet to the DCP for each submission, with the same ability to be updated when the content of the submission changes.

@ofanobilbao Please see the list of projects above that are first of the exports to terra that will include metadata spreadsheet files.

Number 4 in the list has two submissions, one from 2019 with exported status and one from a few days ago, in metadata validating

Project: 79351583-b212-44ba-b473-731bdcddb407   - It was submitted in between some of the ones that already contain the spreadsheet. Why would this not contain it?
Project: e0c74c7a-20a4-4505-9cf1-38dcdd23011b https://contribute.data.humancellatlas.org/projects/detail?uuid=e0c74c7a-20a4-4505-9cf1-38dcdd23011b - Update was submitted yesterday evening. I would expect it does contain a spreadsheet even if it was an update to the project itself (metadata only update) right @MightyAx ?

Import form will be filled out by Enrique when ready.

to answer @ofanobilbao's question:
The export for Project e0c74c7a-20a4-4505-9cf1-38dcdd23011b did include a spreadsheet.

@MightyAx I probably misunderstood your list above as the only ones that were exported with spreadsheet. Sorry if that's not what you meant


feat: Add Meta Tags

Reference: https://github.com/dscnitrourkela/project-kiwi/blob/dev/pages/index.js

@CIPHERTron Can you get the content for the meta-tags added here. The image description and other stuffs. Would make the work of developer easier if the content is provided from content and design team

Roger that @DesignrKnight 💪🏻

Anyone working on this ping me. There are quite a few things that we can do to increase our SEO, not just meta tags but structured data which will help in google search results.

A few resources regarding the SEO implementations.

Generic Meta Tags for SEO

A common component that adds all the meta tags is already created in the components/shared/SEO directory.
Get the content for the required from the content team and pass it props to the component accordingly.
Note: All the content should be in the /config/content directory.

Structured Data.

Structured data is basically a specific json that is added inside meta tags which is then used by search engines to directly list your mentioned data in the search console. Add the following structured data.
Event Structured Data: Used to show an upcoming event on the Search page.
FAQ: Used to show our FAQs in the Google Search page.
Breadcrumbs: Shortcut links to various sections directly in the search page.

I am interested in this issue.


One more suggestion:

When processing index.html you could replace the path of .js" .css" references with .min.js" and .min.css" (eg:  and  for  ) When it's just these files, it's not a problem to do it by hand, but when it's multiple dependencies, it gets complicated. Also, either you have to modify the min file, or modify the original index, which would stop working.

Well, I largely intended the extension in the way, such that you'd edit the main files, and the changes will be in min files (given the fact that the css, html and js files are joined by ".min" extensions.
I'll do an update by the end of next month.

I have implemented a separate folder toggle for storing the min files. I think it should bypass your issue, I can't implement the code to change the main.js file to main.min.js, due to various security issues and conflicting codes. Until then, this should suffice.


Template update for nf-core/tools version 1.14

Manual pipline sync PR - see https://github.com/nf-core/dualrnaseq/issues/14
Made this from a dedicated branch, so should be safe to fix merge conflicts here if desired.

Started handling the resolution of these conflicts in #16 already. When that PR is merged, this will close automatically. So please just ignore this PR for now.


Make callback function optional in streaming request

Currently, stream() function for POST requests has a required callback function that handles responses.
However, there are situations where users might need to handle responses themselves with custom implementation, and would prefer to omit the built-in callback function.
Therefore, I would like to make the callback function as a parameter.

Hey thanks for this library. I'm already using this and had a suggestion.
This is how I'm using it internally
def chat_completion(%{stream: true} = prompt, options, stream_callback \\ &stream_callback_accumulate/2) do
    jdata = Jason.encode!(prompt)
    conn = %{headers: nil, status: nil, body: [], type: :stream}
    stream(:post, "", jdata, options, conn, stream_callback )
  end

defp stream_callback_accumulate({:status, data}, acc), do: %{acc | status: data}
defp stream_callback_accumulate({:headers, headers}, acc), do: %{acc | headers: headers}
defp stream_callback_accumulate({:data, data}, %{body: body} = acc), do: %{acc | body: [data | body]}

I renamed the default stream_callback to stream_callback_accumulate because it was not immediately clear to me that it's using streams to accumulate all the data.
This is just extra info for anybody looking at this. Later I use a GenServer in my Phoenix project to call the chat_completion function so that it can asynchronously perform the request and send a message back to my LiveView process of the stream tokens.
# GenServer
OpenAi.chat_completion(
    %{
      model: "gpt-3.5-turbo",
      messages: messages,
      stream: true
      # max_tokens: 1024,
      # High temperature leads to a more creative response.
      # temperature: 0.0
    },
    [],
    &handle_stream_data(liveview_pid, &1, &2)
  )

# LiveView
def handle_call({:handle_stream_token, token}, _from, socket) do
  {:reply, :ok, stream_insert(socket, :tokens, token)}
end

Let me know if you want a PR for this

Awesome, thanks!


I am not getting the failure call back when I use the stream function

Alamofire.request(request).stream { (response) -> Void in
//print(response)
}
I am using the above function for streaming my data, streaming part is working properly.
But, whenever the stream is closed or failed due some other issues, I am not getting any call backs.
Can You please tell me how can I get the call back for that.
Alamofire Environment
Alamofire version:4.9.1
Xcode version: 11.2.1
Swift version:5
Platform(s) running Alamofire: iOS Mobile
macOS version running Xcode:10.15

Using stream like this still requires the usage of a response handler to handle the full response. stream merely intercepts the Data as its downloaded from the server instead of accumulating it in memory.


Can't scroll

If I collapse all dirs of set the respective preference in a config file, I can't scroll down in the right pane using the down arrow key.

I am experiencing this too.
Collapsing some folders in the file tree reduces the range of scrolling i.e. pressing the down arrow keys does not reach the bottom.
With all the folders expanded you can actually scroll one position below the bottom.

I can't even go down from the first folders, even though there is a lot of content underneath.

I am observing the following on 0.7.1 :

ctrl-space to 'collapse all' :  ⬇ key binding doesn't work (⬆ works fine!)
collapse dirs indivudually one by one : both ⬇ and ⬆ bindings works fine.

I'm experiencing the same issue with dive 0.7.1.

Thanks for reporting, @revolter (+ et. al.). Looks like there was an issue in considering collapsed directories while traversing the tree. This fix has been incorporated in release v0.7.2.


can force it to detect only english?

tried it out but somehow it's detecting the speech as malay instead of english. is there anyway i can force it to detect just english only?

@Gracetoh in model.transcribe set language=en


FileNotFoundException: Could not load file or assembly 'Rocket.Unturned

After installing the server and workshop content (on Ubuntu 16.10), installing rocketmod, then starting the server, the console gets FLOODED with errors reading
FileNotFoundException: Could not load file or assembly 'Rocket.Unturned, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
I'm starting this using start.sh in unturned/Scripts

It appears deleting the rocket folder and renaming the server fixed, yes, both were necessary, still an issue

I had this error, it was caused by a plugin that wasn't working properly because it wasn't updated. I (kinda) fixed the plugin and now the error isn't present.

pls help installing a unturnerd server on linux plsss

So is this problem still occuring? Make sure to use the new way of installing RocketMod (https://rocketmod.net/viewtopic.php?f=44&t=2961)


add nova network

Additions # .
Changes proposed in this pull request:

Add Nova Network

All concerns addressed. Please let me know if there's anything else you might need 😃

Looks good, except that we need to verify multicall contract through explorer

Looks good, except that we need to verify multicall contract through explorer

Okay, https://novascan.io/ is indexed and verification via CLI, I'll do it and send the link through later on today.

Looks good, except that we need to verify multicall contract through explorer

I had to redeploy it to verify, and the explorer has a UI glitch which prevents it to load the artifact, but you will see the contract verified and all the calls in there.
https://novascan.io/address/0x07f6b55a5dae24ac8011cc2cb815de8316e2b965?tab=contract
Let me know if anything else is needed.

Hey @nova-network-inc
Nova network's node returns this error when used on our server,
Error: unable to verify the first certificate

but works fine from any front end, any idea?

Hey @nova-network-inc
Nova network's node returns this error when used on our server,
Error: unable to verify the first certificate

but works fine from any front end, any idea?

It was a problem with the RPC's proxy. It has been fixed now. Thanks @ChaituVR


Icon size is slightly bigger

Hi, there
Thanks for making this plugin, it's really useful
I just want to let you guys now that the icon is slightly bigger than other summer note toolbar icons.

If you look in the source in the svg for the icon, there should be width="14" height="14", you should be able to change those values to suite your needs.


configuration/bgp is out of date

http://docs.projectcalico.org/v2.0/usage/configuration/bgp
Content needs a refresh, and CLI commands / output needs to be updated.

Dup of #248


Example of Record Value Being Non-String

Is there a good example of how to send arbitrary binary data as a record value?
For instance, if the message is a vector of objects.

The "record value" (i.e. kafka::Value) is a const buffer, so it's fine to send a block of binary data. E.g.
https://github.com/morganstanley/modern-cpp-kafka/blob/main/examples/kafka_async_producer_not_copy_payload.cc#L39
While I don't quite understand what a vector of objects means? If you're trying to send a std::vector<T> directly, it would never work; if the T only for basic value types (no pointer, etc..), you could send its data() as payload.

@kenneth-jia
How can I set a non-NullKey or set a header?

Here's a testcase for non-NullKey and headers
The utility function for the test


Sound editing : Cutting, loudness normalization, and conversion to AAC.

Settings : AAC, 260kbps via Audacity 2.4.1
Note that this is not the audacity project file, but the final result.
If you want the project file, I can make another repo for that, because it's rather large (153 MB).
Editing ranges from cutting the silence, loudness normalization, fade-in, and fade-out.
I added the appropriate metadata where it's appropriate, as follows :
Artist : Shirakami Fubuki
Comments : Shirakami Fubuki is from Hololive Gen. 1 and Hololive Gamers. She's an Arctic Fox, not a cat. This is a fan-made clipping content, and may not represent the talent's personality.
If the original mp3 have any metadata regarding artists, track title, or comments, I appended the original metadata after my metadata, for example :
Artist : Shirakami Fubuki (clipped by ...)
Title : Fubuki says GMMF
Comments : Shirakami Fubuki is from Hololive Gen. 1 and Hololive Gamers. She's an Arctic Fox, not a cat. This is a fan-made clipping content, and may not represent the talent's personality.
There are tags like "software" etc. that I dropped from the original mp3.

Further clearing the issue "Clean up" The Left Side Sticky Foob GIF
The new gif is named "side-edit-01.gif" stored at "assets/img/fbk/".
Corresponding changes have been made in custom.css.


New-BcContainer fails when called from VSCode

Describe the issue
New-BcContainer fails to create a Docker container when ran from VSCode
Scripts used to create container and cause the issue
The relevant part. The actual parameter values can be observed in the output
    ...
    Write-Host "New-BcContainer `
        -accept_eula `
        -containerName $($settingsJSON.containerName) `
        -credential $credential `
        -auth $auth `
        -artifactUrl $artifactUrl `
        -assignPremiumPlan `
        -updateHosts `
        -licenseFile $($settingsJSON.licenseFile) `
        -runSandboxAsOnPrem" -ForegroundColor Green
    if (-not $testmode) {
        New-BcContainer `
        -accept_eula `
        -containerName $settingsJSON.containerName `
        -credential $credential `
        -auth $auth `
        -artifactUrl $artifactUrl `
        -assignPremiumPlan `
        -updateHosts `
        -licenseFile $settingsJSON.licenseFile `
        -runSandboxAsOnPrem
    }
    ...

Full output of scripts
This includes output from my own script, but contains information on context and the actual parameters used to call New-BcContainer
Docker Client Version is 24.0.6
Docker Server Version is 24.0.6
Running from: C:\Projects\9A\_reference\BC19\scripts
Workspace Name is: BC19
Retrieving artifact URL for Sandbox app version <IP_ADDRESS>.
Get-BcArtifactUrl -version <IP_ADDRESS> -type Sandbox -country w1 -select 'Closest'
BcContainerHelper version 6.0.2
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on PowerShell 7
Using artifact URL https://bcartifacts.azureedge.net/sandbox/19.0.29894.30693/w1.
New-BcContainer
        -accept_eula
        -containerName BC19
        -credential System.Management.Automation.PSCredential
        -auth UserPassword
        -artifactUrl https://bcartifacts.azureedge.net/sandbox/19.0.29894.30693/w1
        -assignPremiumPlan
        -updateHosts
        -licenseFile
BcContainerHelper is version 6.0.2
BcContainerHelper is not running as administrator
UsePsSession is True
Host is Microsoft Windows 11 Enterprise - 10.0.22000.2600
Docker Client Version is 24.0.6
Docker Server Version is 24.0.6
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.2113
[DBG]: PS C:\Projects\9A\_reference\BC19>
New-BcContainer Telemetry Correlation Id: abc1a5e9-a4fd-4b81-aef6-aa94992622a9
ParentContainsErrorRecordException: C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.2\ContainerHandling\New-NavContainer.ps1:858:9
Line |
 858 |      if ($bcContainerHelperConfig.mapNetworkSettings.PSObject.Properti …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The property 'Properties' cannot be found on this object. Verify that the property exists.
PS C:\Projects\9A\_reference\BC19>

Screenshots

fails with

Additional context

Might be a coincidence, but this started happening after upgrading Powershell to 7.4, which started failing , which led to upgrading BcContainerHelper to the latest version, which is currently 6.0.2
Before the upgrades everything worked perfectly. In fact it still works provided it's not ran from VS Code:

In powershell 7.4 - after getting this error, what does:
$bccontainerHelperConfig | ConvertTo-Json | Out-Host
print?

In Windows Powershell ISE:
PS C:\WINDOWS\system32> $bccontainerHelperConfig | ConvertTo-Json | Out-Host
{
    "useCompilerFolder":  false,
    "DebugMode":  false,
    "WinRmCredentials":  null,
    "DoNotUseCdnForArtifacts":  false,
    "defaultContainerName":  "bcserver",
    "WarningPreference":  "SilentlyContinue",
    "useSharedEncryptionKeys":  true,
    "MinimumDotNetRuntimeVersion":  {
                                        "Major":  6,
                                        "Minor":  0,
                                        "Build":  16,
                                        "Revision":  -1,
                                        "MajorRevision":  -1,
                                        "MinorRevision":  -1
                                    },
    "tryWinRmSession":  false,
    "use7zipIfAvailable":  true,
    "SendExtendedTelemetryToMicrosoft":  false,
    "psSessionTimeout":  0,
    "AlpacaSettings":  {
                           "BaseUrl":  "https://cosmo-alpaca-enterprise.westeurope.cloudapp.azure.com",
                           "ApiBaseUrl":  "https://cosmo-alpaca-enterprise.westeurope.cloudapp.azure.com/api/docker/release",
                           "ApiVersion":  "0.12",
                           "RunFolderUrl":  "https://cosmo-alpaca-enterprise.westeurope.cloudapp.azure.com/automation/0.11/startupfile/package/{0}",
                           "OAuthClientId":  "826586f0-e95e-4afb-80bf-086c79dc3fa7",
                           "OAuthHostName":  "b52e8b6a-2953-4a08-8e28-5cf45a2dffdc",
                           "OAuthScopes":  "api://b52e8b6a-2953-4a08-8e28-5cf45a2dffdc/.default offline_access"
                       },
    "ObjectIdForInternalUse":  88123,
    "mapNetworkSettings":  {

                           },
    "addTryCatchToScriptBlock":  true,
    "hostHelperFolder":  "C:\\ProgramData\\BcContainerHelper",
    "useVolumes":  false,
    "NoOfSecondsToSleepAfterPublishBcContainerApp":  1,
    "apiBaseUrl":  "https://api.businesscentral.dynamics.com",
    "genericImageNameFilesOnly":  "mcr.microsoft.com/businesscentral:{0}-filesonly",
    "digestAlgorithm":  "SHA256",
    "PartnerTelemetryConnectionString":  "",
    "RenewClientContextBetweenTests":  false,
    "mapCountryCode":  {
                           "ae":  "w1",
                           "ar":  "w1",
                           "bd":  "w1",
                           "dz":  "w1",
                           "cl":  "w1",
                           "pr":  "w1",
                           "eg":  "w1",
                           "fo":  "dk",
                           "gl":  "dk",
                           "id":  "w1",
                           "ke":  "w1",
                           "lb":  "w1",
                           "lk":  "w1",
                           "lu":  "w1",
                           "ma":  "w1",
                           "mm":  "w1",
                           "mt":  "w1",
                           "my":  "w1",
                           "ng":  "w1",
                           "qa":  "w1",
                           "sa":  "w1",
                           "sg":  "w1",
                           "tn":  "w1",
                           "ua":  "w1",
                           "za":  "w1",
                           "ao":  "w1",
                           "bh":  "w1",
                           "ba":  "w1",
                           "bw":  "w1",
                           "cr":  "br",
                           "cy":  "w1",
                           "do":  "br",
                           "ec":  "br",
                           "sv":  "br",
                           "gt":  "br",
                           "hn":  "br",
                           "jm":  "w1",
                           "mv":  "w1",
                           "mu":  "w1",
                           "ni":  "br",
                           "pa":  "br",
                           "py":  "br",
                           "tt":  "br",
                           "uy":  "br",
                           "zw":  "w1"
                       },
    "baseUrl":  "https://businesscentral.dynamics.com",
    "timeStampServer":  "http://timestamp.digicert.com",
    "useVolumeForMyFolder":  false,
    "TraefikUseDnsNameAsHostName":  false,
    "killPsSessionProcess":  false,
    "containerHelperFolder":  "C:\\ProgramData\\BcContainerHelper",
    "UseNewFormatForGetBcContainerAppInfo":  false,
    "TraefikImage":  "tobiasfenster/traefik-for-windows:v1.7.34",
    "defaultNewContainerParameters":  {

                                      },
    "usePsSession":  true,
    "genericImageName":  "mcr.microsoft.com/businesscentral:{0}",
    "MicrosoftTelemetryConnectionString":  "InstrumentationKey=5b44407e-9750-4a07-abe9-30c3b853821b;IngestionEndpoint=https://southcentralus-0.in.applic
ationinsights.azure.com/",
    "MinimumDotNetRuntimeVersionUrl":  "https://download.visualstudio.microsoft.com/download/pr/ca13c6f1-3107-4cf8-991c-f70edc1c1139/a9f90579d827514af05
c3463bed63c22/dotnet-sdk-6.0.408-win-x64.zip",
    "DOCKER_SCAN_SUGGEST":  false,
    "AddHostDnsServersToNatContainers":  false,
    "sandboxContainersAreMultitenantByDefault":  true,
    "TreatWarningsAsErrors":  [

                              ],
    "bcartifactsCacheFolder":  "c:\\bcartifacts.cache"
}

PS C:\WINDOWS\system32>

In VSCode:
PS C:\Projects\9A\_reference\BC19> $bccontainerHelperConfig | ConvertTo-Json | Out-Host
null
PS C:\Projects\9A\_reference\BC19>

I do realize that the issue might not be with BcContainerHelper. The VSCode Powershell extension is up to date but there might  nevertheless be something it fails to provide to the session. Having that in mind I still hoped you might be better equipped to understand what exactly that was.

and if you run Import-Module BcContainerHelper before you run the script - does that change anything?

Do you have a bctontainerhelper.config.json file in c:\programdata\bccontainerhelper ?

In powershell 7.4 - after getting this error, what does:
$bccontainerHelperConfig | ConvertTo-Json | Out-Host
print?

I keep forgetting that variables are persistent in a PS session. Let me add that in a fresh ISE session the output is blank,
PS C:\Users\damjan.pavlovec> $bccontainerHelperConfig | ConvertTo-Json | Out-Host

PS C:\Users\damjan.pavlovec>

as opposed to null in VSCode

and if you run Import-Module BcContainerHelper before you run the script - does that change anything?

Nope. Unfortunately.

Do you have a bctontainerhelper.config.json file in c:\programdata\bccontainerhelper ?

Nope.

I suppose the 5.0.7 folder is an "artifact" of sorts? Because the 6.0.2 code is in "C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper" as can be seen from the VSCode debugger. So is 5.0.6, the previous version I was using.
I also searched the C: disk and a bctontainerhelper.config.json is nowhere to be found.

Thank for taking the time to look into this issue.
I'm doing some research on my own and maybe found something of interest. It would appear [PSCustomObject] is broken for VSCode, for some reason. In ISE it still works. Consider this test:
Clear-Host
$newHash = @{
    AppId        = '12341234'
    Version      = '23452345'
    Name         = 'whatever'
    Publisher    = 'default'
}

Write-Host ''
Write-Host 'Hash:' -ForegroundColor Green
$newHash

$newObject = [PSCustomObject]$newHash

Write-Host ''
Write-Host 'Object:' -ForegroundColor Green
$newObject

Write-Host 'Done.'

In ISE the output is this:

While in VSCode this doesn't work anymore:

In VSCode, $newObject becomes $null. I didn't go dig into BcContainerHelper looking for this, but this might have some impact.

Hi,
I must apologise for the confusion I might have caused in blaming VSCode as such. I just found that I have been comparing the functionality, not between VSCode and ISE, but between PS 7.4 and PS 5.1. Although I recently installed PS 7.4 i appears that is is only used in VS code while Windows PS nad PS ISE are still using PS 5.1.
The test above fails squarely because of PS 7.4.

The Powershell team say the fix will be released with 7.4.1. Let's sit tight until then.

I run 7.4.0 myself - and the code above works fine on my machine (casting the hashtable to PSCustomObject)

Do you have a link to the issue on the PowerShell team?

Sure.
https://github.com/PowerShell/PowerShell/issues/20934

OK, the bug states that this occurs if you are running WDAC (Audit mode) only - which explains why I don't have this issue myself and we won't see this issue on any GitHub or Azure DevOps runners.
(Was worried for a moment there).

Will close this as unrelated to BcContainerHelper.


Training accuracy

Hi Holmeyoung,
I have 20,000 training samples and 30 characters. I have been trying to train the model but the accuracy does not add up. How should I set the parameters?

Hi, did the training loss reduce? If yes, we can be patient, and the accuracy will be better after several epoch!

Hi,
Ys, it reduces very slowly. I will give it more time.
Thanks

Hi, how is the training accuracy? If your training accuracy become up and down, you can turn down the lr to 0.0001, just like i have said in #2 .

Hi,
Yes, exactly it keeps fluctuating. I will change lr, and see.
Thanks

Hi Holmeyoung,
I was able to train the model after generating clean dataset. However, my question is when to stop the training? the accuracy is increasing and about to reach 100 %, which may case the model to overfitting. So, when to stop?
Thanks,

Hi, it's a good news.
About your question, so, it's the meaning of val dataset. And the common strategy is no-improvement-in-n. It menas we should write down the best accuracy, if the performence of our model on val dataset did't increase after several epoch, it's time to stop.
But, how to define several. When the accuracy up to stable, if the epoch number is 100 or 1000, so we should wait about 10 epoch or 20 epoch. But if after 10 epoch the model is trained well(in this case, the model usually up to 80 accuracy in 1 epoch.), wait about 3 to 5 epoch is OK.
And one more thing, it's also the meaning of saving the model every setting-number interval! To avoid missing the best one.
Hope this will help you.

Thank you again for your corporation. Yes, the accuracy became stable after 30 epoch with 95%. However, when I test the model by using new samples, it could not recognise the words. When I use samples similar to the ones used for training, it recognises them.

Hi, since ypu want to predict on noisy images, you should't train on clean data. Try to make your training samples look like the image you actually want to predict on. If you just want to train on small dataset, you can add drop out to the net to avoid overfitting.
in models/crnn.py
nn.LSTM(nIn, nHidden, bidirectional=True)

to
nn.LSTM(nIn, nHidden, bidirectional=True, dropout=0.5)

Sure, I will try using the dropout.
Thanks

@Holmeyoung @niddal-imam
Hi guys,
I have a question,
I want to train on my dataset ( Farsi Language ), I cannot understand what the shape of the dataset should be?
In my problem, all of my images in the dataset have 5 sentences ( 3 numbers, 2 names) , can you tell me how to prepare for training?
I have to crop all of them, or I can train them in one image ( I mean all the 5 sentences in one image).
For example :
Sentence 1 : niddal
Sentece 2: 10
Sentence 3: Imam
.....
Best,

Hi,
From my experience, you have to crop all of your images. The dataset that I used contained sentences, but I cooped all the images to build my model. The shape of the dataset should be as Holmeyoung explains in the Readme file.
absolute/path/to/image/一身转战_0.jpg
一身转战
absolute/path/to/image/三千里_1.jpg
三千里
absolute/path/to/image/一剑曾当百万师_2.jpg
一剑曾当百万师
absolute/path/to/image/3.jpg
一剑曾当百万师
absolute/path/to/image/一 剑 曾 当 百 万 师_4.jpg
一 剑 曾 当 百 万 师
absolute/path/to/image/niddal.jpg
niddal
absolute/path/to/image/imam.jpg
imam

@niddal-imam
Thanks for your response.
There is no problem for training, but for testing, I want to give the whole image ( I mean all 5 sentences ) , is this model able to detect all 5 sentences in the test phase?

Yes, it can recognize sentences. However, words are going to be connected to each other. For example, Niddal Imam will be recognized as niddalimam.

@niddal-imam
So there is no way to correct this problem?
Also, I have another question:
In Farsi, such as Arabic, if two alphabets are connecting, the shape is changing such as "ح" with "حا", what should I do for this problem?
Again thanks for being kind.

I have not found a solution for this problem yet. However, in my project, I used a text detection model that can detect words instead of sentences. After that, the recognition model can extract words correctly. Regarding the second question, you are right the model will recognize "ح" and "ا" as "حا" because the letters are connected. I do not know how to solve such problem because CTC separates characters by blanks.

@niddal-imam
I have trained the network, but the problem is that the model is not saved??
The path in the "params.py" is expr, so this folder appears in my folder, but the weights are not saved!!
Do you know how to correct this?

Hi
You need to change these parameters:
displayInterval = 100
valInterval = 1000
saveInterval = 1000
For more information, please refer to #3 .

@aaobscure  was your issue resolved? even I'm not able to save my model to expr folder even with these parameters
displayInterval = 100
valInterval = 1000
saveInterval = 1000.

You can either change these parameters or use a large training dataset. For example:
displayInterval = 10
valInterval = 50
saveInterval = 50
If it does not work, lower these parameters.


handler call other handler??

do you know how ?
is this good?
i have handler Taskhandler CreateSomething()
then i ahve to make invoice automatically after that.
so i want to call InvoiceCreateHandler in  createSomething()
any suggest?  sorry for bad english.

@teamsmiley  As Mentioned in #155 ,Its not better practice.

It's not a good practice to have queries / commands call other queries / commands. Think of the queries and commands as the high level use cases and entry points to your application. Start with the simplest approach first and if you encounter duplication follow this advice; https://lostechies.com/jimmybogard/2016/12/12/dealing-with-duplication-in-mediatr-handlers/.

As majumajid mentioned, it's generally better not too.
One solution would be publish an event after you've created something and then use an event handler.
See here:
https://github.com/JasonGT/NorthwindTraders/blob/master/Src/Application/Customers/Commands/CreateCustomer/CreateCustomerCommand.cs#L64
https://github.com/JasonGT/NorthwindTraders/blob/master/Src/Application/Customers/Commands/CreateCustomer/CustomerCreated.cs
https://github.com/JasonGT/NorthwindTraders/blob/master/Src/Infrastructure/NotificationService.cs#L11
By using await _mediator.Publish(new CustomerCreated { CustomerId = entity.CustomerId }, cancellationToken);
You can have multiple listeners to that created event e.g. one that sends an email and another that creates an invoice.

One solution would be publish an event after you've created something and then use an event handler.
You can have multiple listeners to that created event e.g. one that sends an email and another that creates an invoice.

I've done this successfully in my app, it's worth noting however that, if transactions are important to your scenario, depending on the configuration you use for Publish, the event handlers may or may not execute in the same transaction as the original handler.
Also that if you do rely on transactional integrity within linked event handlers, a change to the publish strategy later will have unintended consequences.

Thank you for your interest in this project. This repository has been archived and is no longer actively maintained or supported. We appreciate your understanding. Feel free to explore the codebase and adapt it to your own needs if it serves as a useful reference. If you have any further questions or concerns, please refer to the README for more information.


Peer review feedback from Yuyan Guo

Hi team,
I am Yuyan Guo. Your report looks wonderful. I have been enjoying reading through it. Please find my suggestion below:

README

Maybe you can add some detailed explanation for the features as the features are very domain-specific. Personally, I don't know about those terminologies much, so for me it's a little bit hard to understand.

For the EDA section, I don’t think you need to be specific to which python function/method you used to get those summary statistics. for example: data.info()

Maybe have more description and motivation for the research problem in the README.

Analysis

Maybe you can carry out feature selection to see if you can improve the score and make the model more interpretable.

Maybe use Ridge to show some feature importance to see which feature is more useful in the prediction.

Try more models if you have time? K-NN in general is not that powerful.

EDA

In the README, you mentioned that "Also, scatterplot will be used to show the relationship between two variables". But I did not see it in the report. In general, I think it's good to have some table or figures indicate the correlation between features and target.

Code

Very clear and well-organized.

Communication

Very clear and readable

Yuyan:)

Hi Yuyan,
Thank you so much for your feedback!
Cheers!


Extend user information with role

We need to show role/permission on user object. Extend the MimirorgUserCm to include more information

Implemented through #133 💡


use Go validator

use Go validator instead multiple conditions
Originally posted by @juliensie in https://github.com/fairhive-labs/preregister/issues/17#issuecomment-1222178973

blocks ECDSA/HMAC tests => sponsor is not set in reference tokens !

test issues in crypto package...

Update ecdsa_test.go and hmac_test.go files

sponsor variable has been updated to valid ETH address 0xD01efFE216E16a85Fc529db66c26aBeCf4D885f8 => reference tokens must be regenerated !


Packaging to deb

replaced raw .o with .a
added packaging .a to deb via debuild
code cosmetics
more tests

Maybe also readme should be updated? In order to add how to build deb package...

Please update the readme as well yes :)


layout: instead of drag/drop use click-to-add in add mode

would be nice, but problem is: where should you add the plugin?
i close this for now, but we can think of that later


[AB#95705] Added response headers for CSP and X-Frame-Options

Description
Added response headers x-frame-options and content-security-policy (CSP)
Related issues
Addresses [AB#95705].
Testing
Unit/Integration/e2e tests

Code change is moved to healthcare-shared-components. Refer: https://github.com/microsoft/healthcare-shared-components/pull/591


Add default support for u and s tags

I closed #36 by accident 😢

I've landed the fix in the new monorepo for this project.
The diff can be seen here: https://github.com/sstur/draft-js-utils/commit/e9e3e988b86ff3ae09e0bcfea9a6c626006ddbea


qa: Scripts for creating a Grafana dashboard connected to Prometheus

Closes #1340

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

Closing in favor of https://github.com/cometbft/qa-infra/pull/23.


New Rule: Disallow ByteOrderMark

Downstream: https://phabricator.wikimedia.org/T40233
PHPCS equivalent: Sniffs/Generic.Files.ByteOrderMark

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10296313-new-rule-disallow-byteordermark?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

I'm not sure that this is about code style and should be implemented in jscs.

Perhaps it's more suitable for JSHint?

I thought about it. But still not sure ;-) At least, jshint works with file itself and not js code. So it's definitely closer to the BOM problem.
/cc @mikesherov @mrjoelkemp @markelog

Yeah, this is definitely JSHint territory. We don't work with the file itself. @Krinkle report this to them instead. Closing for now!


Add yes in Elixir

Do you mind if I take it ?

Go ahead @maferland

Here #80.

@mubaris you can close this issue since you merged my PR


Responsive UI

Goal:

Adapt that the app would look alright for various devices.

When thinking about the problem I've decided that a few things cannot be compromised:

Card size should stay the same;
Text size should be constant;

Without the rules it's hard to make the card and the text on it have the right proportions or the card itself might have comically large or small. It should be treated as something physical that cannot be scaled, it is the size it is ant it cannot do anything about.
The problem is that the cards  of a constant size have to displayed in various kinds of screens.
The solution is to scale the spacing based on the display size.
The spacing rules should be dynamic yet simple, clear and consistent. For this the golden ratio rule can be applied.
Dynamic rules can be converted into real numbers by taking the actual width of the card on the screen and subtracting it from the display width. The result is the total space we can play around. That total remaining space can be divided by the golden ration to create one bigger spacing and one smaller spacing. Bigger spacing can be used for use cases where additional space is required to create space for additional information or to create boundaries between components with a unique and different purpose.
The result:

Did some things this is the outcome.


bluetoothd for shareble

I got sed to modify /etc/rc.local and incorporated them here.  This needs testing, especially to make sure there isn't conflict with the other ble language in there, but I think it is ok.  I'll be starting another Edison from scratch, hopefully tomorrow and will be able to more fully test. Others should too, however.

Ok, tested script with a fresh install. BLE to G4 worked for me after a reboot!


Add if_not_exists parameter to object resources

Is your feature request related to a problem? Please describe.
I want to be able to share warehouse resources.  When creating new applications in snowflake I want to be able to create new warehouses if needed but if already there the can use the exisiting warehouse.  This would be helpful in DEV/QA which could have multiple working environments  but we want to share the same warehouse.
Describe the solution you'd like
I would like objects that have snowflake syntax [if not exists] to have that parameter added to its resource (database,schema,warehouse,etc)
Describe alternatives you've considered
I am trying to use terraform syntax to skip warehouse building if the warehouse exists.
Additional context
Add any other context or screenshots about the feature request here.

I don't think we can support this in the provider, given how terraform works.
My best advice would be to construct your terraform code to create the warehouse only in the environments where you want by using variables, count parameters, etc.


Referencing encoders should use parent codingPath

What's in this pull request?
If you were to ask for a superEncoder() before, the encoder you got had a codingPath of [], which is not correct.
Resolves SR-4788.

@swift-ci Please smoke test

Interesting. This is likely a problem in encoding Array in the failing testEncodingTopLevelDeepStructuredType test. Looking into it.

To ensure that we don't try to encode multiple containers at once through the same Encoder at a given point (e.g. let container1 = encoder.unkeyedContainer(); let container2 = encoder.unkeyedContainer()), we assert that a new container can be requested. This assertion depended on the number of stored containers, and the depth of the codingPath. Since the depth of the coding path changed for referencing encoders, the assumption had to be updated and the assertion overridden.

@swift-ci Please smoke test and merge

@swift-ci Please smoke test and merge


Disable syntastic in modeline?

I hate to ask a question here, but I just can't figure it out.
I suspect the answer is "it's not possible", but I have a few files which I know will have errors and so syntastic shouldn't check them.  The filetype is correct I would still like them to be highlighted and indented as normal, I just don't want syntastic to yell at me when I open them.
Unfortunately you can't set syntastic_skip_checks=1 in a modeline.  I guess technically syntastic could look through the file for some magic disabling sigil at the end of the modeline or something, but I don't think anything like that currently exists.

You can't do it with a modeline, but you can achieve essentially the same thing with an autocmd.  Something like this:
let stfu = [
    \ '/path/to/file1',
    \ '/path/to/file2',
    \ '/path/to/file3' ]
autocmd BufReadPre * let b:syntastic_skip_checks = index(stfu, expand('<amatch>', 1)) >= 0

Depending on your version of Vim, you might need a BufReadPost instead of BufReadPre (and then you may or may not be able to disable syntastic in a check_on_open).
If you prefer to base this on some kind of flag in the files rather than on filenames you could populate stfu with a systemlist() calling a script like this:
find /some/path -type f -name '*.py' | \
while read -r fname; do
    tail -5 "$fname" | grep -qw some_keyword && printf '%s\n' "$fname"
done

Other approaches are possible too, but they aren't necessarily better.

Yeah, that's the only thing I could think of as well.  Unfortunately that's just really suboptimal.  An autocmd that actually looks in the file for a sigil is probably the best way for me to go.  Then I could do:
# vim: set filetype=spec: disable_syntastic

But I'll have to learn a while lot more about vimscript before I get to the point where I can write that.

Well, you can do it like this:
function! GetSigil()
    let end = line('$')
    return end >= 1 && match(getline( max([end - 5, 1]), end ), '\m^# vim:.*: disable_syntastic\>') >= 0
endfunction

augroup syntastic_haters
    autocmd!
    autocmd BufReadPost * let b:syntastic_skip_checks = GetSigil()
augroup END

But this won't work if you have syntastic_check_on_open set, since the autocmd gets to run too late.
Or you can do it like this:
augroup syntastic_haters
    autocmd!
    autocmd BufReadPre *
        \ call system("tail -5 " . shellescape(expand('<amatch>', 1)) .
        \     " | grep -q '^# vim:.*: disable_syntastic'") |
        \ let b:syntastic_skip_checks = !v:shell_error
augroup END

But this runs an an external command for each and every file open.  Like I said: not necessarily better. shrug


Quad serialization

close #234

Another idea: maybe it makes sense to add the IRI that corresponds to the a predicate to the IRIs that are always present in node-storages. Simply because that would allow you to just compare the nodeid of the IRIs you receive to the one of the a predicate.
So this would be a integer compare instead of a string compare for each IRI that gets serialized, which is probably a lot faster

@Clueliss  do you need the exact interface from the Issue for FFI or are the templates here enough?


Badmatch error when child have limit and offset and parent have composite primary keys

When we have a limit and offset in a child queryable of a parent that have composite primary keys, we get a badmatch exception because of this: https://github.com/absinthe-graphql/dataloader/blob/19345b4b9dd349b99f8338c4b3ae902a5b035995/lib/dataloader/ecto.ex#L688
I'm happy to help with a PR, I'm just no sure what is the best way to use the primary keys in the where clause below to get the results:
https://github.com/absinthe-graphql/dataloader/blob/19345b4b9dd349b99f8338c4b3ae902a5b035995/lib/dataloader/ecto.ex#L706
Any ideas?

Hey @jotaviobiondo. Unfortunately I'm not sure about the best way to support composite keys, it is intentionally not supported yet within Dataloader. You are welcome to contribute this feature, but it is not on the roadmap at this time.

@jotaviobiondo I’m currently running into the same issue — did you ever find a solution for this?
I’m using this ecto PR branch which has added support for composite primary keys: https://github.com/elixir-ecto/ecto/pull/3638, however running into the same issues with dataloader as you are.

Hey @gosseti! Unfortunately didn't find a solution other than making a PR (but couldn't make due to lack of time)
For my case, I actually noticed that I didn't need a limit/offset, so problem solved hahah
But good to know there's a PR on the ecto side, so the integration with dataloader will be simpler after the feature is merged 😄


Desktop - Approver - Pay button in report shows up briefly when launching desktop app from web

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.43-3
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:

Approver and employee are part of Collect workspace.
Desktop app is logged out.

[Employee] Request money from workspace chat and submit it.
[Approver] On web, go to expense report with Employee.
[Approver] Launch Desktop app from web.
Repeat Step 1 to 3 with Admin as approver.

Expected Result:
Only approve button will appear when logging in.
Actual Result:
Pay with Expensify button appears briefly when first logged in.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/999de4e9-4f3d-4958-ab09-10ae6e39d1d7
https://github.com/Expensify/App/assets/93399543/58ac08ae-3b17-41bf-a309-6f763f6e5932
View all open jobs on GitHub

@jliexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think that this bug might be related to #wave7-collect-approvers
@RachCHopkins

I haven't see the code for the cause but I guess brief showing is from a delay while getting onyx data for checking which should show "Approve" or "Pay with Expensify" button. There should be a reason for showing "Pay with Expensify" button. Like a case "Approve" button isn't a default or other case "Pay with Expensify" button is a default.
The issue could be uncommon because the user don't open web and desktop app both as UX. Only such condition cause the issue currently.

Assigning myself here, since it was reported from another PR. Seems the problem is that we're sending different onyx updates for the same report/reportAction and the UI changes everytime some of those onyx updates are applied causing the flickering. I think it would require a broader discussion about how we're applying the onyx values

No update, worked today on chores

@marcochavezf spoke to Rach, setting this as high as per her request!

Not overdue

No update in this once, focused on other critical and high priority wave tasks

No update yet, working on other higher priority items

Working on other high priority items but I will try to check it out today

No update, looking to hand it off here

No update, focused on other high priority items

@marcochavezf so you want to change the priority if you're not focused on this?

Yeah I think that would work since it's a polish issue

Heads up: I am OOO 21st to 31st march but will keep this assigned to myself.

No update

Focused on other high priority bugs

No update, working on a hold request bug and awareness campaign

Applying retest-weekly since a bunch of changes have been applied

Issue not reproducible during KI retests. (First week)

Cool, thanks. I will close it out


Support ClickHouse server monitoring & Support service hierarchy

Feature https://github.com/apache/skywalking/discussions/11904

[x] If this is non-trivial feature, paste the links/URLs to the design doc.
[x] Update the documentation to include this new feature.
[x] Tests(including UT, IT, E2E) are added to verify the new feature.
[x] If it's UI related, attach the screenshots below.

ClickHouse root:

ClickHouse Service:

ClickHouse Instance:

Service Hierarchy:

click CLICKHOUSE node and jump to server monitoring dashboard.
Virtual DB:

[x] Update the CHANGES log.

The SWIP part should be updated too.

@mrproliu Could you check why ebpf failed?

Mainly sum up labeled value by MQE.

@wankai123 PTAL

Two empty metrics ClickHouseMetrics_KeeperAliveConnections/ClickHouseMetrics_PartMutation answered here: https://github.com/ClickHouse/ClickHouse/issues/60742
meter_clickhouse_instance_connections_alive/meter_clickhouse_connections_alive here will always be 0 because it is from ClickHouse Keeper Prometheus endpoint rather than ClickHouse Prometheus endpoint, and I will remove it.

Are we fetching metrics from ClickHouse Keeper Prometheus endpoint?

ClickHouse Keeper Prometheus endpoint

My Cluster test works with Zookeeper not ClickHouse Keeper. If to test the data from ClickHouse Keeper Prometheus endpoint, we have to try a ClickHouse Keeper cluster.

I see, then, please be clear about this in the docs if you don't intent to build this mode.

Please update the SWIP according to the latest implementation and add it to the docs.

Please update the SWIP according to the latest implementation and add it to the docs.

ok

SWIP5 needs to attach on SWIP page.

Ok, linked.

I mean this page should be updated, https://github.com/apache/skywalking/blob/master/docs/en/swip/readme.md. Note the next SWIP number and the following existing SWIPs.

BTW, have you read https://github.com/apache/skywalking/issues/11992? Is this helping to polish clickhouse monitoring? Or it is good enough for now.

BTW, have you read #11992? Is this helping to polish clickhouse monitoring? Or it is good enough for now.

It doesn't seem to be necessary on ClickHouse, where the metrics values are all singular values.
The enhancement looks great for multi labels.

Would you like to post dual-language blogs for this new feature?

Would you like to post dual-language blogs for this new feature?

Ok.


Automatic Setup of Tenderduty Config on per Chain Basis

Support for Tenderduty automation

Laconic rpc's do not seem to work but this is not ansible fault i believe