”No space left on device“ error when running e2e tests

Encountered a ”No space left on device“ error when running e2e tests.
https://github.com/antrea-io/antrea/actions/runs/5585156502/jobs/10208046046

I doubt this is really a bug, it should be disk issue on github runner, which is out of control from Antrea side. Usually, we will just rerun the failed job.

Indeed we can't change the disk limits of github runners. What we can do is to control the size occupied by the test process.

I have same issue today. The test was running well yesterday.
Do you think we can add a PR, like: https://github.com/antrea-io/theia/pull/266, to release more space before running the e2e test?

@yuntanghsu you may want to pull that change out into a separate PR, that we can merge ASAP to fix CI. We can look into a better solution to reduce disk usage later.

@shi0rik0 worthy to check this comment https://github.com/antrea-io/theia/pull/266#pullrequestreview-1392581700, we may consider to use the script to free disk space on github runner before e2e tests.


All "from x import *" must be removed

See https://stackoverflow.com/questions/2386714/why-is-import-bad

the only one import * remaining is in SemiologyVisualisation.py
from slicer.ScriptedLoadableModule import *

I will close this now though as the reason this issue was opened was due to the multitude of import * in the mega analysis module which has now been resolved


Warning: Unknown props in Entities example

There is a warning thrown when you open examples/entity/entity.html;
"Warning: Unknown props `contentState`, `decoratedText`, `entityKey`, `offsetKey` on <span> tag. Remove these props from the element. For details, see https://fb.me/react-unknown-prop
    in span (created by TokenSpan)
    in TokenSpan (created by DraftEditorBlock)
    in div (created by DraftEditorBlock)
    in DraftEditorBlock (created by DraftEditorContents)
    in div (created by DraftEditorContents)
    in div (created by DraftEditorContents)
    in DraftEditorContents (created by DraftEditor)
    in div (created by DraftEditor)
    in div (created by DraftEditor)
    in div (created by DraftEditor)
    in DraftEditor (created by EntityEditorExample)
    in div (created by EntityEditorExample)
    in div (created by EntityEditorExample)
    in EntityEditorExample"

This shows up in FF, Chrome, and Safari. I didn't check IE, but I assume it's not browser specific.

This is also affecting examples/tweet/tweet.html

@flarnie
Error at this and this lines.
props contains unacceptable properties.


Nan when using add cmd

Only in the add cmd i get a Nan then Added song to queue
Can see in the picture dont ask about the bots name its just Klaus bot but the owner of this discord changed the bots nickname
https://vgy.me/XLEflY.jpg

You might have another command that is interfering with the addsong command.

Yeah forgot i had a math command which would cause it as a youtube link is not a number


OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

How to install without CUDA_HOME environment variable? For example https://github.com/mapillary/inplace_abn don`t ask about CUDA_HOME.
xxx@xxx:~$ python3 -m pip install git+https://github.com/sail-sg/Adan.git
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/sail-sg/Adan.git
  Cloning https://github.com/sail-sg/Adan.git to /tmp/pip-req-build-zs78qhzq
  Running command git clone --filter=blob:none --quiet https://github.com/sail-sg/Adan.git /tmp/pip-req-build-zs78qhzq
  Resolved https://github.com/sail-sg/Adan.git to commit 8f559205f67e565b3bea09554354d69000bd819c
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-zs78qhzq/setup.py", line 5, in <module>
          cuda_extension = CUDAExtension(
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1047, in CUDAExtension
          library_dirs += library_paths(cuda=True)
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1179, in library_paths
          if (not os.path.exists(_join_cuda_home(lib_dir)) and
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2230, in _join_cuda_home
          raise EnvironmentError('CUDA_HOME environment variable is not set. '
      OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

We didn't test to install without CUDA_HOME environment variable. Cause this is required by default when we try to install adan as a CUDA extension.
Can you try use export CUDA_HOME=/path/to/cuda ?
The path could use which nvcc command to locate. The output path might looks like /usr/local/cuda/bin/nvcc, then CUDA_HOME should be /usr/local/cuda.

CUDA extension needs only for FusedAdan. How to install only pure python Adan without coping the code?

Understand. Currently, we are using torch.cuda.is_available() to judge wether install CUDA extension.
We might need to add a manual args to enable fusion or not.
I will fix it today later.

Can you try this command?
pip install --install-option="--unfused" git+https://github.com/AlexwellChen/Adan.git

xxx@xxx:~$ pip3 install --install-option="--unfused" git+https://github.com/AlexwellChen/Adan.git
Defaulting to user installation because normal site-packages is not writeable
WARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option / --install-option. Consider using --config-settings for more flexibility.
DEPRECATION: --install-option is deprecated because it forces pip to use the 'setup.py install' command which is itself deprecated. pip 23.1 will enforce this behaviour change. A possible replacement is to use --config-settings. Discussion can be found at https://github.com/pypa/pip/issues/11358
DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
Collecting git+https://github.com/AlexwellChen/Adan.git
  Cloning https://github.com/AlexwellChen/Adan.git to /tmp/pip-req-build-yswhvtpn
  Running command git clone --filter=blob:none --quiet https://github.com/AlexwellChen/Adan.git /tmp/pip-req-build-yswhvtpn
  Resolved https://github.com/AlexwellChen/Adan.git to commit 962913e3bcdb58103030c1188672577b5c1062bc
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-yswhvtpn/setup.py", line 6, in <module>
          cuda_extension = CUDAExtension(
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1047, in CUDAExtension
          library_dirs += library_paths(cuda=True)
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1179, in library_paths
          if (not os.path.exists(_join_cuda_home(lib_dir)) and
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2230, in _join_cuda_home
          raise EnvironmentError('CUDA_HOME environment variable is not set. '
      OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Please try this again
pip install git+https://github.com/AlexwellChen/Adan.git --install-option="--unfused"

Defaulting to user installation because normal site-packages is not writeable
WARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option / --install-option. Consider using --config-settings for more flexibility.
DEPRECATION: --install-option is deprecated because it forces pip to use the 'setup.py install' command which is itself deprecated. pip 23.1 will enforce this behaviour change. A possible replacement is to use --config-settings. Discussion can be found at https://github.com/pypa/pip/issues/11358
DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
Collecting git+https://github.com/AlexwellChen/Adan.git
  Cloning https://github.com/AlexwellChen/Adan.git to /tmp/pip-req-build-f9ol36qq
  Running command git clone --filter=blob:none --quiet https://github.com/AlexwellChen/Adan.git /tmp/pip-req-build-f9ol36qq
  Resolved https://github.com/AlexwellChen/Adan.git to commit 7f8a1186312a5916530235fa3d586102a7281f32
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-req-build-f9ol36qq/setup.py", line 12, in <module>
          cuda_extension = CUDAExtension(
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1047, in CUDAExtension
          library_dirs += library_paths(cuda=True)
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1179, in library_paths
          if (not os.path.exists(_join_cuda_home(lib_dir)) and
        File "/home/xxx/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2230, in _join_cuda_home
          raise EnvironmentError('CUDA_HOME environment variable is not set. '
      OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

That's weird.
Maybe you could try to install the history branch.
Try this.
pip install git+https://github.com/sail-sg/Adan.git@9613f61c0e780f74a17b13aa7d37eb87d0de61a7

Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/sail-sg/Adan.git@9613f61c0e780f74a17b13aa7d37eb87d0de61a7
  Cloning https://github.com/sail-sg/Adan.git (to revision 9613f61c0e780f74a17b13aa7d37eb87d0de61a7) to /tmp/pip-req-build-5vqynes5
  Running command git clone --filter=blob:none --quiet https://github.com/sail-sg/Adan.git /tmp/pip-req-build-5vqynes5
  Running command git rev-parse -q --verify 'sha^9613f61c0e780f74a17b13aa7d37eb87d0de61a7'
  Running command git fetch -q https://github.com/sail-sg/Adan.git 9613f61c0e780f74a17b13aa7d37eb87d0de61a7
  Running command git checkout -q 9613f61c0e780f74a17b13aa7d37eb87d0de61a7
  Resolved https://github.com/sail-sg/Adan.git to commit 9613f61c0e780f74a17b13aa7d37eb87d0de61a7
  Preparing metadata (setup.py) ... done
Requirement already satisfied: torch in ./.local/lib/python3.8/site-packages (from adan==0.0.1) (1.13.1+cu117)
Requirement already satisfied: typing-extensions in ./.local/lib/python3.8/site-packages (from torch->adan==0.0.1) (4.5.0)
Building wheels for collected packages: adan
  Building wheel for adan (setup.py) ... done
  Created wheel for adan: filename=adan-0.0.1-py3-none-any.whl size=8250 sha256=d2d7b4f15accfc5b4e6609bf2acfbc2acc83b267e465481eed8871a827befed2
  Stored in directory: /home/xxx/.cache/pip/wheels/3f/b2/c6/42cd9ca726afb02bbae34d988bb78e814bdb8bdea9a851a966
Successfully built adan
Installing collected packages: adan
Successfully installed adan-0.0.1

But how to install Adan with new commits?

One way is to clone this repo and use python setup.py install --unfused in the repo directory to install the latest commit.
Or we have to fix the command line argument passing problem when using pip install git+https:xxxx, the current solution doesn't seem to work.


Update shared test config

Codecov Report

Merging #715 (cd3143b) into main (7f07830) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head cd3143b differs from pull request most recent head e57a51a. Consider uploading reports for the commit e57a51a to get more accurate results

@@           Coverage Diff           @@
##             main     #715   +/-   ##
=======================================
  Coverage   70.11%   70.11%
=======================================
  Files         113      113
  Lines        5497     5497
  Branches     1083     1083
=======================================
  Hits         3854     3854
  Misses        903      903
  Partials      740      740

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add lister and informer to codegen image

@tnqn it appears i do not have access to push the updated codegen image. Could you verify and push to include these generators?

@antoninbas will the image uploaded automatically after we merge this?

@tnqn and I both have permissions to update this image. It is not updated automatically, since the whole point is to have a pre-built image that is used for CI.
I just built the image locally and uploaded it to dockerhub.

/skip-all

@tnqn and I both have permissions to update this image. It is not updated automatically, since the whole point is to have a pre-built image that is used for CI.
I just built the image locally and uploaded it to dockerhub.

thanks for uploading.. makes sense.


Arnav Nadar || Spot Check CSP || Period 2

Question 1: Schema Change

Question 2: Authentication for SQL in postman


chore(RHTAPWATCH-729): get all release snapshots

Find all snapshots that are part of a release
Maintainers will complete the following section

[ ] Commit messages are descriptive enough (hints)
[ ] Code coverage from testing does not decrease and new code is covered (check the PR coverage on codecov)
[ ] Controllers diagrams are updated when PR changes controllers code  (if applicable)

@MartinBasti any idea why is it failing on kube-linter? Is it related to this PR?

@MartinBasti any idea why is it failing on kube-linter? Is it related to this PR?

It's not related, just a new check has been added there today, I'll fix in separate PR, feel free to ignore


Added UserUsername fields to GitLab push and tag event payloads.

This PR exposes the user_username field in push and tag event payloads so we can get the GitLab user account from the payloads.
Fixes #93

@deankarn Could you take a look at this PR when you're available? Thanks! :)

@chhsia0 https://github.com/go-playground/webhooks/pull/103 did the same. Is it ok for you?

Sure! I'll close this one. Thanks @deankarn


Attempts to call kubectl fail

In GitLab by @arisilon on Oct 28, 2019, 17:15
Traceback (most recent call last):
  File ".\upgrade_dbs.py", line 152, in <module>
    main()
  File ".\upgrade_dbs.py", line 135, in main
    postgres_pod.dump_all(args.clean)
  File ".\upgrade_dbs.py", line 71, in dump_all
    self.pod.get_file(self.pod_dump_file)
  File "C:\Users\jgs10292\Envs\tenant-api\lib\site-packages\batcave\k8s.py", line 147, in get_file
    self.cp_file('out', source, target_path)
  File "C:\Users\jgs10292\Envs\tenant-api\lib\site-packages\batcave\k8s.py", line 138, in cp_file
    output = self._cluster_obj.kubectl('cp', str(source_path), str(target_path))
  File "C:\Users\jgs10292\Envs\tenant-api\lib\site-packages\batcave\k8s.py", line 90, in kubectl
    return kubectl(None, f'--kubeconfig={self.config}', *args).decode()

In GitLab by @arisilon on Oct 29, 2019, 11:25
mentioned in commit 00a6e7a67aa91eb4806e33d18b3d970aea8c4e3b

In GitLab by @arisilon on Oct 29, 2019, 11:21
mentioned in commit 37e8e77d3dcbcb8cc140fabff21b0c9d20e6fd32

In GitLab by @arisilon on Oct 29, 2019, 11:38
closed


Re-edit a form

Can you make this nice app edit form that was once created using it. May be paste code into a textarea like the render area and then remake the form in the form area. This is for editing issues, making changes to earlier forms etc

+1


support to ban by visiter not users

Hi, Does this package support ban visiter ??? no user here , I want to ban the visiter  based on his ip address.
So I will have additional table related to the ip address im going to block
thank you for helping :)

Hi @badrshs! This question was raised before: #20
Since Bannable model is polymorphic - IP address model could be banned. Just write your middleware to check for it.

haaa , good idea , I didnt think about that 😁😁
thanks


Cannot send payment ("Unable to apply channel update")

Just installed a fresh lnd (LTND: Version 0.4.0-alpha). Completely removed everything except the config. Launched with:
lnd --bitcoin.mainnet --bitcoin.node=bitcoind [...]
I opened a few channels (which is by the way very hard, lots of timeouts and disconnects when I go to random peers) and tried sending a payment. I got:
Unable to send coins: Unable to apply channel update: unable to fetch chan point for chan_id=8620838226088: tx_index=#14103040 is out of range (max_index=0), network_chan_id=(*lnwire.ShortChannelID)(0xc420016ab4)(7:14103040:2216)
If I do 'listchannels' and grep for this chan_id, there are no results. There was one with chan_id=0 but it disappeared after restarting lnd.
Meanwhile, my lnd is flooded with logs such as:

2018-03-17 12:55:09.154 [ERR] DISC: Router rejected channel edge: unable to fetch utxo for chan_id=562786126215970816, chan_point=33fe5a06f6bc6b6c37b0a95c251bc789a6a943e34aa8f5b3dae8554b740b4648:0: target output has been spent
2018-03-17 12:55:09.154 [ERR] DISC: Router rejected channel edge: unable to fetch utxo for chan_id=562290246542753792, chan_point=ebad7ba6ed6b3177861d4dd71647295adf876f72679e2caa76bbf14b1c53cc56:0: target output has been spent
2018-03-17 12:55:09.155 [ERR] DISC: Router rejected channel edge: unable to fetch utxo for chan_id=562949953495040000, chan_point=82e6ec82863010133a4aca9a7175fb310eb1ecfaf3811e1e2fd9d0c01f810801:0: target output has been spent
2018-03-17 12:55:09.155 [ERR] DISC: Router rejected channel edge: unable to fetch utxo for chan_id=563826264248942592, chan_point=52117ac65589189e1492563616fdd98a90cc771f02f5a1b98668bd51421a2454:0: target output has been spent
2018-03-17 12:55:09.371 [ERR] DISC: Router rejected channel edge: unable to fetch utxo for chan_id=563833960915533824, chan_point=a1a919340366daf5b03be56659855a6f86508d1f6236abbd51ca4563bf314525:0: target output has been spent
2018-03-17 12:55:09.372 [ERR] DISC: Router rejected channel edge: unable to fetch utxo for chan_id=563466724027203584, chan_point=ea01e741175204eec0f3db412dcbe9fd434f14242b6af4e49c9e6507e1bb11da:0: target output has been spent

I'm using go-1.9, on a Debian, did nothing special except install lnd, send some money to it, open a few channels and try to send a payment.
Any advice would be appreciated. The one I got on IRC was to check if maybe I'm on testnet instead of mainnet. I did give it --bitcoin.mainnet so it shouldn't be testnet, but let's suppose this is the issue somehow, how do I make sure?

Update: I am able to send payments if I have an open channel with the peer.
The invoice I was trying to pay before was for an article on mainnet.yalls.org. I opened a channel just now, I can pay it.
The original issue still stands, the error message is very cryptic and I'm not sure if I can send a payment unless I'm directly connected to the node with a channel.

I also see a flood of these DISC: Router rejected channel edge and I'm using bitcoind on mainnet.  It sounds like almost all channels are rejected because their utxo can't be fetched.   Any tips on how to diagnose this?

@BitBargain

I opened a few channels (which is by the way very hard, lots of timeouts and disconnects when I go to random peers) and tried sending a payment. I got:

It seems there're some very old nodes on mainnet, as most of them were just due to people hacking in support for mainnet as it wasn't enabled at the time they launched their nodes. If they were very old nodes, then they're using a slightly incompatible version of the wire protocol:

tx_index=#14103040 is out of range (max_index=0)

There's no way to even fit that many transactions in a Bitcoin block.

If I do 'listchannels' and grep for this chan_id, there are no results. There was one with chan_id=0 but it disappeared after restarting lnd.

That's not your channel ID. That's the chan ID of a channel them you attempted to route through, but the node was faulty due to the reasons I described above.

Meanwhile, my lnd is flooded with logs such as:

Again, there are old faulty nodes on mainnet that seem to accept invalid channels, and then attempt to propagate them. As we properly verify channels, we won't propagate them.

On #recksplorer (lnmainnet.gaben.win), I can't find anything with this pubkey. It seems to have connected to me

Explorers shouldn't be taken as a source of golden truth, they're not authoritative.

. This is an incoming channel and when I try to send a payment I'm supposed to be using channels I opened.

The channel is not active, meaning that the remote peer isn't online, so you can't utilize it.
@remyers

I also see a flood of these DISC: Router rejected channel edge and I'm using bitcoind on mainnet. It sounds like almost all channels are rejected because their utxo can't be fetched.

See the response above.

One other odd thing is that walletbalance gives me a much larger value then I would expect after tying up most my deposited bitcoin in channels. When I add it to what I get from channelbalance the value is almost double. Could that also indicate some mainnet/testnet mixup?

There's no mainnet/testnet mixup, all networks are properly partitioned within lnd. walletbalance will show both confirmed and unconfirmed balances, what makes you think it's larger than it should actually be?

And also, I have an open channel with chan_id=0 again. Is that normal?

Channels aren't "fully" open until 6+ confirmations, before then the channel ID isn't considered stable so it may not be set. What backend are you using?

There's no mainnet/testnet mixup, all networks are properly partitioned within lnd. walletbalance will show both confirmed and unconfirmed balances, what makes you think it's larger than it should actually be?

Sorry @Roasbeef , my mistake.  I just added it up and the sum of my walletbalance and channelbalance match my deposits afterall.

Have same issue when trying to tip https://lnmainnet.gaben.win/#
So they are runing some outdated lightning node?

This issue will be resolved by #893.
@halfik it's possible that they are, many that were on mainnet before the latest release were running older versions with a mainnet flag hacked in. It may be a few days until people uniformly update.

FYI - I updated to 0.4.1 and after my graph finished updating I tried again.  This time it worked.
Also, no more flood of DISC: Router rejected channel edge messages in my log.

Yea i saw commit that fixed this. Today gona update my lnd and check if problem was solved.


Feature request: Add comments

Markdown syntax

Rendered version:
Shows comment in a balloon on mouseover/click an item

Is this a standard syntax? If not, I prefer using a comment, for example:
* item 1 <!-- tell markmap to show content below in a balloon -->

  description

* item 2 <!-- tell markmap to show content below in a balloon -->

  description

I agree with your syntax. That way we could comment any kind of node (h1-h5 headers, and orderes/unordered list items)
The main idea is be to have something similar to this.

Just a KISS balloon displaying comments about the node.


Remove bucket requirement for S3 origins

It was a mistake to require that S3 origins be configured with a bucket. In the case of AWS public data, for example, it would be nice to have a single origin that exports all public buckets from s3.amazonaws.com. Under the old scheme, this would require an origin per bucket -- whoops!
Testing notes for this one:

Spin up a registry/director.

Testing a public origin with a single bucket

Serve a public origin (Origin.EnablePublicReads: true) that exports a single bucket from AWS open data -- we do still want this to work, even if we no longer require it:
pelican origin serve --mode s3 --port 8444 --service-name "s3.amazonaws.com" --region "us-east-1" --bucket "noaa-wod-pds" --service-url https://s3.us-east-1.amazonaws.com -d
Now curl a test file from the origin: curl -v -k https://<origin hostname>:<origin port>/s3.amazonaws.com/us-east-1/noaa-wod-pds/MD5SUMS. You should see a small md5 sum file print to terminal

Testing a public origin with no bucket specified
Now we basically want to serve the same origin, but without pinning the bucket. We can still use the same bucket for testing, but the difference is that if this works with the unpinned noaa-wod-pds bucket, it will also work for any bucket under s3.amazonaws.com/us-east-.

Serve a public origin (Origin.EnablePublicReads: true):
pelican origin serve --mode s3 --port 8444 --service-name "s3.amazonaws.com" --region "us-east-1" --service-url https://s3.us-east-1.amazonaws.com -d
Now curl a test file from the origin: curl -v -k https://<origin hostname>:<origin port>/s3.amazonaws.com/us-east-1/noaa-wod-pds/MD5SUMS. You should see a small md5 sum file print to terminal

Both of those origin configurations should work.
Closes #811

Awesome, thanks Emma!


Custom expand/collapse icons

I need an ability to customize expand/collapse icon, for example, to "plus/minus". Is there this functionality? If no, do you plan to implement it? Also, tricks to realize it will be useful

I also wanted the same thing.
I achieved this by CSS.
In my global css (styles.css), I overrode class like below:
tree-node-content::before {
content: "\f07b"
}
html:
<tree-root [nodes]="nodes" [focused]="true" (activate)="handleTreeEvents($event)" [options]="options" class="fas">
I am using font-awesome 5.
The icon can be implemented by adding class="fas" to tree-root in your html.
Check the Unicode in font-awesome page and add it like above.
Little tweaking is needed though.

You can use custom template for this
https://angular2-tree.readme.io/docs/templates#treenodewrappertemplate
Then change tree-node-expander to your custom element.
You can use node.toggleExpanded()to toggle state and node?.isExpanded to determine what icon should be displayed.

Issue closed by provided solutions. if this issue still remain, you may open this again.

I wish the documentation were more clear and complete.  I had this same question and I went to the documentation first.  I did read the Templates page, but it's not clear (because it's not documented) that this (replacing the expander) can be done.  The information posted above by @mark53 helped me figure that out, but it should be documented appropriately.

@drullo I still can't customize expander icon. I am trying to change tree-node-wrapper.

    <tree-root #tree [nodes]="tagTree" [options]="treeOptions">
      <ng-template #treeNodeFullTemplate let-node let-index="index" let-templates="templates">

          <tree-node-wrapper [node]="node" [index]="index" [templates]="templates"></tree-node-wrapper>
          <tree-node-children [node]="node" [templates]="templates"></tree-node-children>

      </ng-template>
      <ng-template #treeNodeWrapperTemplate let-node let-index="index" let-templates="templates">

          <tree-node-expander [node]="node">

              <fa-icon *ngIf="node?.isCollapsed" [icon]="['fas', 'plus-square']"></fa-icon>
              <fa-icon *ngIf="node?.isExpanded" [icon]="['fas', 'minus-square']"></fa-icon>

          </tree-node-expander>
          <div class="node-content-wrapper"
               [class.node-content-wrapper-active]="node.isActive"
               [class.node-content-wrapper-focused]="node.isFocused"
               (click)="node.mouseAction('click', $event)"
               (dblclick)="node.mouseAction('dblClick', $event)"
               (contextmenu)="node.mouseAction('contextMenu', $event)"
               (treeDrop)="node.onDrop($event)"
               [treeAllowDrop]="node.allowDrop"
               [treeDrag]="node"
               [treeDragEnabled]="node.allowDrag()">

            <tree-node-content [node]="node" [index]="index" [template]="treeNodeTemplate"></tree-node-content>

      </ng-template>
      <ng-template #treeNodeTemplate let-node let-index="index">

           {{ node.data.tagName }}

      </ng-template>
    </tree-root>

I have figured it out. Here my updated treeNodeWrapperTemplate.
      <ng-template #treeNodeWrapperTemplate let-node let-index="index" let-templates="templates">

 0">
            <fa-icon *ngIf="node?.isCollapsed" [icon]="['fas', 'plus-square']"></fa-icon>
            <fa-icon *ngIf="node?.isExpanded" [icon]="['fas', 'minus-square']"></fa-icon>

          <div class="node-content-wrapper"
               [class.node-content-wrapper-active]="node.isActive"
               [class.node-content-wrapper-focused]="node.isFocused"
               (click)="node.mouseAction('click', $event)"
               (dblclick)="node.mouseAction('dblClick', $event)"
               (contextmenu)="node.mouseAction('contextMenu', $event)"
               (treeDrop)="node.onDrop($event)"
               [treeAllowDrop]="node.allowDrop"
               [treeDrag]="node"
               [treeDragEnabled]="node.allowDrag()">

            <tree-node-content [node]="node" [index]="index" [template]="treeNodeTemplate"></tree-node-content>

      </ng-template>

Is there a way to do this while still using #treeNodeFullTemplate?
The issue I'm having is that I'm using the full template for the tree display, but this override doesn't include <tree-node-expander> like it does in #treeNodeWrapperTemplate


Query tracker can leave a query infinitely active

Seems like the following scenario is possible:

Query tracker tries to ping an active query, but fails to find it in active_queries table and detaches it
All query trackers(including owning one) ignore this query since it has a valid lease_transaction_id of a working query tracker

It happened in our cluster:
2024-02-19 10:42:55,715174	D	Api	Command completed (Command: LookupRows, ClientId: db7c9fe7-ca7cd3db-f9d6f149-a2d70376, AuthenticatedUser: query_tracker)	Connection:0	fffedc5988585112	d9bf707f-b5b68253-bc0807a4-6abc03e1
2024-02-19 10:42:55,715249	I	QueryTracker	Query record is missing, cancelling ping (QueryId: 2a274acd-877687a2-7ab81463-15616d49, Incarnation: 0)	Control	fffedc5ee704b3cc	d9bf707f-b5b68253-bc0807a4-6abc03e1
2024-02-19 10:42:55,715256	I	QueryTracker	Query detached (QueryId: 2a274acd-877687a2-7ab81463-15616d49)	Control	fffedc5ee704b3cc	d9bf707f-b5b68253-bc0807a4-6abc03e1

It is not clear why query tracker failed to see an active query
We need to fix it and investigate why QT failed(maybe timestamps issue? maybe something else?)
First solution that comes to mind is to make QT acquire active queries whose lease_transaction_id are equal to QT's one

@Krisha11 says that QT missed active query because LookupRows returned partial result: https://github.com/ytsaurus/ytsaurus/blob/main/yt/yt/server/query_tracker/query_tracker.cpp#L497

Seems like it was fixed by this PR: https://github.com/ytsaurus/ytsaurus/pull/401


onUnityMessage not working

Hi,
I recently encountered this error,
reason of the problem
At RNUnityViewManager.m,
RCT_EXPORT_MODULE (RNUnityView)
- (UIView *) view (
    self.currentView = [[RNUnityView alloc] init];
    if ([UnityUtils isUnityReady]) {
        [self.currentView setUnityView: [GetAppController () unityView]];
    } else {
        [UnityUtils createPlayer: ^ {
            [self.currentView setUnityView: [GetAppController () unityView]];
        }];
        (GetAppController () setUnityMessageHandler: ^ (const char * message) (
            [_bridge.eventDispatcher sendDeviceEventWithName: @ "onUnityMessage"
                                                            body: [NSString stringWithUTF8String: message]];
        }];
    }
    return self.currentView;
}

Doesn't run else section.
on UnityView.mm
- (void) createPlayer: (void (^) (void)) completed (
    if (_isUnityReady) (
        completed ();
        return;
    }
    [[NSNotificationCenter defaultCenter] addObserverForName: @ "UnityReady" object: nil queue: [NSOperationQueue mainQueue] usingBlock: ^ (NSNotification * _Nonnull note) {
        _isUnityReady = YES;
        completed ();
    }];
    if (UnityIsInited ()) (
        return;
    } ......

been calling _isUnityReady = YES before View method in this file
Currently for those who may encounter this error,
If you create <UnityView> before call UnityModule.createUnity(),
onUnityMessage works without any problems

Hi @bilal-arikan, may i ask if your messaging is working after the unity is unload and loaded again??
Im also having a problem with the MessageHandler from react native to unity.
The scenario is :
First open of unity view is perfectly working ( Message Handler for both side)
then I used ** Application.Unload(); ** to unload unity and navigate to other react native screen,
When navigate again to unity view, Unity will reload just fine and will work properly,
But the problem is that messaging is distorted. Unity still can send message and will be receive in react native side, But for react native part when attempt to send message to unity view. Unity will not be able to receive the message.
Im suspecting that react native still trying to send message from the previous view that has been unload.
Does anyone know how to fix this problem?
HELP PLEASE!! Thanks!


options not working with Angular 11

trying to add place autocomplete in my Angular 11  web app it works fine without options but while trying to add options it throws error, following are the details
component :
**
<input ngx-google-places-autocomplete [options]='options' #placesRef="ngx-places" (onAddressChange)="handleAddressChange($event)"/>
**
my options object:
**
options = {
types: ['address'],
componentRestrictions: { country: ['ca', 'us'] }
};
**
after adding options it throws error
** error TS2739: Type '{ types: string[]; componentRestrictions: { country: string[]; }; }' is missing the followin
g properties from type 'Options': bounds, fields, strictBounds, origin **
I tried adding other options  but it keeps on asking for more  n more options

It is typescript error try this
import { Options } from 'ngx-google-places-autocomplete/objects/options/options';

***
options = {
types: ['address'],
componentRestrictions: { country: ['ca', 'us'] }
}  as Options;
***

add ? within all items of Options class in options.d.ts file  from 'node_modules/ngx-google-places-autocomplete/objects/options/options' folder.
Like this.
 export declare class Options {         bounds?: LatLngBounds;         componentRestrictions?: ComponentRestrictions;         types?: string[];         fields?: string[];         strictBounds?: boolean;         origin?: LatLng;         constructor(opt?: Partial<Options>); }
It's worked for me!

The following works for me:
component.html
<input class="form-control" id="searchAddress" name="searchAddress" placeholder="Address"
            [(ngModel)]="searchAddress" ngx-google-places-autocomplete #placesRef="ngx-places"
            (onAddressChange)="handleAddressChange($event)" />

component.ts
import { GooglePlaceDirective } from "ngx-google-places-autocomplete";

@ViewChild("placesRef") placesRef! : GooglePlaceDirective;

ngAfterViewInit(){
    this.placesRef.options.componentRestrictions = { country: 'SG' }
    this.placesRef.options.fields = ["formatted_address", "geometry", "place_id"]
}

[options]='options'

I tried like this and it worked for me
component :
**
<input ngx-google-places-autocomplete [options]='options' #placesRef="ngx-places" (onAddressChange)="handleAddressChange($event)"/>
**
my options object:
**
options = {
types: ['address'],
componentRestrictions: { country: ['ca'] }
} as unknown  as Options;
**

add ? within all items of Options class in options.d.ts file from 'node_modules/ngx-google-places-autocomplete/objects/options/options' folder.
Like this:
  export declare class Options {

        bounds?: LatLngBounds;

        componentRestrictions?: ComponentRestrictions;

        types?: string[];

        fields?: string[];

        strictBounds?: boolean;

        origin?: LatLng;

        constructor(opt?: Partial<Options>);
  }

It's worked for me!

I don't think this is the right approach

add ? within all items of Options class in options.d.ts file from 'node_modules/ngx-google-places-autocomplete/objects/options/options' folder. Like this:
  export declare class Options {

        bounds?: LatLngBounds;

        componentRestrictions?: ComponentRestrictions;

        types?: string[];

        fields?: string[];

        strictBounds?: boolean;

        origin?: LatLng;

        constructor(opt?: Partial<Options>);
  }

It's worked for me!

highly discourage this because there's rarely a situation where it's ok to edit source files. node files aren't usually committed to a repo (file size is large and only needs to be on your computer so they're usually excluded - see .gitignore file) so if another person pulls the repo, they will not have the changes you made to the source file

Use this:
options: Options = new Options({
    types: ['address'],
    componentRestrictions: { country: 'CA' }
  });

There are two changes:

If you use new Options() you are able to pass a Partial<Options> Object, so you can only define the params you want to. (Learn more about Partials here)
The country field is of type string. It does not accept a string array. Therefore you can only enter one country.

Use this:
options: Options = new Options({
    types: ['address'],
    componentRestrictions: { country: 'CA' }
  });

There are two changes:

If you use new Options() you are able to pass a Partial Object, so you can only define the params you want to. (Learn more about Partials here)
The country field is of type string. It does not accept a string array. Therefore you can only enter one country.

But why can it only be a string? Google places accept an array for up to 5 countries.


[BUG] Username not recognized when username begins with a dash

When entering this command (replaced with fake user, pass, client, and secret):
shreddit --dry-run --replacement-comment "oops" --before "2023-11-01 14:42:43.828192320 UTC" --username "-fakeUsername" --password "Fake*Password29538398257" --client-id 3P8B2cD2fMUl-GqK-3ukaaPQ --client-secret 3zso6CW7ZfsT83Faq2KmwNY3yeM_OaNw
It results in this error:
zsh: no matches found: Fake*Password29538398257

I added the quotes because I thought the dash at the start of my username would be a problem, and it was, I think. When removing the quotes, I get this error instead:
error: a value is required for '--username <USERNAME>' but none was supplied

For more information, try '--help'.

I've also included a * in my fake password, as my actual password also has one. Not sure if that's an issue here or not.

Thanks for the report! I think this is a bug in the CLI parsing library I'm using, so I've filed an issue there.

this should be fixed in this release. could you confirm please @jslpc ?

Thanks for the report!


Add Readymade error

Add Readymade error inherited from StandardError. It should have an error_response method returning the Response object with failure or validation_fail status.
  def call
    build_record
    build_form
    return response(:validation_fail, errors: record.errors.messages) unless form_valid_and_sync?

    assign_attributes
    prepare_sequence
    return sequence_error_response if sequence_error_response.present?

    calculate_order_price
    return calculate_order_response unless calculate_order_response.success?

    build_hotel_product_items

    success_response
  rescue ReadymadeError => e
    e.error_response # response(:failure, errors: data from error object)
  end

For example:
class BaseError < StandardError
  attr_reader :data

  def initialize(data)
    super
    @data = data
  end

  def error_response
    BaseResponse.new(:fail, data)
  end
end


Broken Link in Autocomplete Live Demo

🐛 Current behavior
A broken link right below to the input element.
🔍 Steps to reproduce

Go to docs
Click Building Search UI
Under UI & UX Patterns click 'Autocomplete'
Click 'See Live Demo'

Live reproduction
https://codesandbox.io/s/l7tzs
💭 Expected behavior
The image should be shown.
Package version
Latest
Operating system
Linux
Browser
Chrome
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks, I've made a pull request to remove that broken image :)

The right link is actually https://codesandbox.io/s/github/algolia/autocomplete/tree/next/examples/instantsearch which doesn't have a broken image. I've opened a PR on the docs to fix that :)


Migrating from AGOL to Server

ArcRest or ArcRestHelper
ArcRest
Version or date of download
4/1/2017
Bug or Enhancement
More of a question.
Repo Steps or Enhancement details
I've got a script that does a lot of queries, and feature updates on a hosted feature service. I'm trying to use the same script for a feature service on our local ArcGIS Server (no portal), but running into issues after building the featurelayer object. When i try to query the featurelayer object is get the following error:
{u'error': {u'message': u'Invalid Token', u'code': 498, u'details': []}}
I'm probably not declaring the feature layer properly. Is there an example that shows ArcGIS Server services being used?

You need to use an AGS security handler.

Thanks. I figured out if had to change the securityinfo['org_url'] to the services REST directory instead of "http://www.arcgis.com"

I am testing updating the service definition on the ArcGIS Server service and getting the following error.
>>> fl.administration.updateDefinition({})
{u'error': {u'message': u"Service 'VegmanTest'.'FeatureServer' does not exist in folder 'vegman'.", u'code': 500, u'details': []}}

Is this functionality possible with Server?
Thanks.


Parallel Bible-Only the chapter displays and the book does not appear

Issue Description ; On selecting parallel view, the chapter alone displays for a while before displaying the book name.
i) On selecting the parallel Bible, the chapter alone displays for a few seconds and then the book appears only after a while.
For eg, if we are on John 1 (English KJV) and on accessing the parallel Bible (Hindi IRV) only the chapter ie 1 displays, and the book appears only after a while
Note :This is a regression and was not observed in the previous test release
Steps:
Select a language say English KJV and book -John 1
Access the parallel Bible say Hindi IRV
Observation:
Only the chapter displays and the book appears only after a while
Expected Result
Both the book and chapter are to display in the parallel Bible header.

Issue has been fixed in 1.1.1 release.


Use new and better canonical link to Google Groups

https://github.com/etcd-io/website/issues/479

Hi @hexfusion is there anything that prevents merging this PR?

Ref. https://github.com/etcd-io/dbtester/pull/366#issuecomment-1718334341

Update slack channel, see https://github.com/etcd-io/dbtester/pull/366#pullrequestreview-1640902126


ARROW-13306: [Java][JDBC] use ResultSetMetaData.getColumnLabel instead of ResultSetMetaData.getColumnName

quick fixed using getColumnLabel instead of getColumnName

@NinaPeng Thanks for the PR. Could you please add a test case for the intended behavior?

@NinaPeng Thanks for the PR. Could you please add a test case for the intended behavior?

Thanks for your quick response. I have added a test case based on h2 to cover it.

@liyafan82 Thanks for your review. anything else need to be fixed? or this pull request can be merged?

@liyafan82 Thanks for your review. anything else need to be fixed? or this pull request can be merged?

@NinaPeng The change looks reasonable to me. I want to merge it in a few days, if there are no more comments.

@liyafan82 Thanks for your review. anything else need to be fixed? or this pull request can be merged?

@NinaPeng The change looks reasonable to me. I want to merge it in a few days, if there are no more comments.

@liyafan82 got it. thanks

Merging. Thanks.


Create NuGet language packs for automatic install/upgrade

This is related to #17 and #18, but since it's a separate aspect I wanted to create a new issue.
Goal
Create automatic nuget packages for simple install / upgrade from the Oqtane admin-UI.
Challanges

Create the packages automatically
Deploy them automatically (or ensure someone does this regularly)
Ensure that Oqtane installation assistant reliably figures out which package would be the most ideal. See below

Figuring out the most Ideal Package

List all available languages
Prioritize by version...
...but still offer older versions in case there is no latest update (this will happen a lot on less maintained languages packs
Allow some kind of sub-version to show newer release without requiring a newer Oqtane. So for Oqtane 2.1.0 the language pack may go through some iterations and have a <IP_ADDRESS> and a <IP_ADDRESS> release. So even though the version number is bigger than the current Oqtane, it's still the most appropriate

@iJungleboy Oqtane 2.1 was already enhanced with the ability to install packaged language packages through the admin UI - it is in the Admin / Languages area. It currently works the same as all other extensibility points in Oqtane where you can either upload a Nuget package or you can download a Nuget package from nuget,org. When downloading from Nuget.org the system displays all packages which have a "oqtane language" tag ( you can see I included the tag in the nuspec I created in the de-DE folder on the weekend ). It currently will display all versions for all languages - and it is up to the user to choose the correct option for their installation. The is also a dependency node in the nuspec which specifies the maximum Oqtane version which the language pack should be installed on.

@sbwalker I think for now that's fine. Some day in future this will need to be enhanced, but let's tackle other priorities first ;)


AdaptiveCards.Rendering.UWP does not handle Action.ToggleVisibility correctly for other elements on the card.

Platform
What platform is your issue or question related to? (Delete other platforms).

UWP

Author or host
Author
If you're an author, who are you sending cards to?
UWP Renderer
Version of SDK
Nuget: AdaptiveCards.Rendering.Uwp v2.4.0
Nuget: AdaptiveCards.Templating v1.1.0
Issue
Action.Toggle Visibility does not appear to be working with the UWP Renderer.  The card.json included below works with the online designer and the Visual Studio Code plugin, but does not work in a simple UWP app with AdaptiveCards.Rendering.Uwp
Here is the C# code.  Below is the card.json.
private void renderTheCard()
{
   // render is a xaml stack panel
   if (render.Children.Count > 0)
	render.Children.RemoveAt(0);

   // this is the card text from below.
    var templateJson = templatetb.Text.ToString();
    // there are no variables with this card
    var dataJson = datatb.Text.ToString();

    AdaptiveCardTemplate template = new AdaptiveCardTemplate(templateJson);

    string cardJson = template.Expand(dataJson);
    var card = AdaptiveCard.FromJsonString(cardJson);

    var renderer = new AdaptiveCardRenderer();
    RenderedAdaptiveCard renderedAdaptiveCard = renderer.RenderAdaptiveCard(card.AdaptiveCard);

    if (renderedAdaptiveCard.FrameworkElement != null)
    {
    	render.HorizontalAlignment = HorizontalAlignment.Center;
	render.VerticalAlignment = VerticalAlignment.Center;
	var uiCard = renderedAdaptiveCard.FrameworkElement;
        render.Children.Add(uiCard);
    }
}

Here is the adaptive card that visible toggle does not hide/show properly.
{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.3",
    "body": [
        {
            "type": "Container",
            "items": [
                {
                    "type": "ColumnSet",
                    "columns": [
                        {
                            "type": "Column",
                            "width":"250px",
                            "items": [
                                {
                                    "type":"Container",
                                    "id": "BigButton",
                                    "style": "emphasis",
                                    "minHeight":"200px",
                                    "items":[
                                        {
                                            "type":"ColumnSet",
                                            "columns":[
                                                {
                                                    "type":"Column",
                                                    "width":"auto",
                                                    "items":[
                                                        {
                                                            "type": "TextBlock",
                                                            "text": "Title Text",
                                                            "wrap": true
                                                        },
                                                        {
                                                            "type": "TextBlock",
                                                            "text": "Subtitle Text",
                                                            "wrap": true
                                                        }
                                                    ]
                                                }
                                            ]
                                        },
                                        {
                                            "type": "ActionSet",
                                            "actions": [
                                                {
                                                    "type": "Action.Submit",
                                                    "title": "Launch",
                                                    "style":"destructive"
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        },
                        {
                            "type": "Column",
                            "width": "auto",
                            "items": [
                                {
                                    "type":"Container",
                                    "minHeight":"150px",
                                    "style": "emphasis",
                                    "selectAction":{
                                        "type":"Action.ToggleVisibility",
                                        "targetElements" : [
                                            "BigButton"
                                        ]
                                    },
                                    "items":[
                                        {
                                            "type":"ColumnSet",
                                            "columns":[
                                                {
                                                    "type":"Column",
                                                    "width":"auto",
                                                    "items":[
                                                        {
                                                            "type": "TextBlock",
                                                            "text": "Summary",
                                                            "size":"small",
                                                            "wrap": true
                                                        },
                                                        {
                                                            "type": "TextBlock",
                                                            "size":"small",
                                                            "text": "Description of some sort",
                                                            "wrap": true
                                                        },
                                                        {
                                                            "type": "TextBlock",
                                                            "size":"small",
                                                            "text": "more detatils",
                                                            "wrap": true
                                                        },
                                                        {
                                                            "type": "Input.ChoiceSet",
                                                            "id":"secondCard",
                                                            "isMultiSelect": true,
                                                            "value": "1",
                                                            "choices": [
                                                                {
                                                                    "$data": {"choice":"Complete","value":"1"},
                                                                    "title": "Complete",
                                                                    "value": "1"
                                                                }
                                                            ]
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

The container is identified, but it does not hide the container on the left like it does in the other tools.

Explain your issue. If you just have a question, please post on StackOverflow instead.

Addressing this issue is not currently on our roadmap, so closing for now. We may return to this in the future. Feel free to continue the conversation in this issue.


Update disposition.md

This update is to let know customers that we have rolled out the proof of disposal change only to SharePoint and ODB for now.

#sign-off


[ServerSide] Sync the OpenSRP FHIR Gateway repo with the upstream Google FHIR Gateway repo

Implementation

[ ]Sync the current OpenSRP FHIR Gateway with the upstream Google FHIR Gateway.

Acceptance Criteria

[ ] The OpenSRP FHIR Gateway should only be ahead of the Google FHIR Gateway because of the changes we have added to the plugins and deployments.
[ ] All the current permission checking and sync filtering functionality should work as expected.

closed by https://github.com/opensrp/fhir-gateway/pull/24


update PhysicsJS to matter-js

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

PhysicsJS is no longer maintained.
The author said
It's been many years since writing this library. And I don't have time to dedicate to maintain it. On the up side, Matter.js has really
stepped up and taken the spotlight of javascript physics. It has everything PhysicsJS has and more. :)

Check it at PhysicsJS

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Thanks so much for your contribution!  You rock, @Haozun!


speech: Does Google Speech API Suppress "Filler" Words?

I have written a speech coach by modifying lvecaption.go. If someone says the filler word "Um" I am flagging that word in the transcription using the Go ReplaceAll function. The problem is, no matter how many times I say "Um" Google seems to suppress that word from the transcription. Is there an option in the APY not to suppress filler words? TIA.

I don't think the Speech API includes filler words like "um." Perhaps there is an option, but I looked briefly (I'm not an expert on the Speech API) and didn't see one.
You may have better luck asking this type of question on StackOverflow. This repo is for Go samples embedded on cloud.google.com, so it's not the best place for general API questions.


Import Multiple Feeds

Would it be possible for the TSML UI to accept multiple feeds?
In Area 72 (Western Washington) there are several scenarios where multiple websites want to display the same meetings, and we would like to have them be hosted only in a single database and then imported to both of the websites. Here's one example:
The Puget Sound Central Service Office (PSCSO) utilizes TSML UI and a Google Sheet to manage and present the meeting info for its seven member districts. One of those districts, District 54, is on the edge of King County and some of its meetings actually are in King County, and thus they are also listed on the Greater Seattle Intergroup (GSI) website that utilizes the 12-Step-Meeting-List WP plugin. The problem arises when one of those District 54 meetings changes its address/day/time but the changes aren't reported to both the PSCSO and GSI, so then both the correct and incorrect version of the meeting gets displayed on the Meeting Guide app and the Area 72 website (which imports from both groups).
One solution I've thought of would be for the PSCSO to separate its District 54 meetings into its own Google Sheet so that the GSI could then import just those meetings to its meeting database (but not the meetings from the other six districts of the PSCSO). But for this to work the PSCSO TSML UI would need to be able to accept/import multiple feeds since there will now be two Google Sheets of meeting data (D54 and other 6 districts) that need to be displayed together on their meeting website.

ok, i've created a combined feed at https://sheets.code4recovery.org/storage/puget-sound.json which should work with TSML UI
you can refresh it by visiting https://sheets.code4recovery.org/puget-sound
let me know what you think

good.
yeah should be fine to make to make adjustments as needed. going to close this issue for now


Add Tailwind CSS & Fix Mobile View

https://github.com/matt8707/ha-fusion/assets/20318292/c63b7113-7ab0-4b12-88b5-93dec1d33c5a

I'm reluctant to add Tailwind when Svelte already has great CSS support.
I'm inexperienced and not comfortable with reviewing pull requests yet, but I have pushed suggested changes to a dev branch for you to look at. You can either make changes to this pull request or create a new one. Thanks!
I think this is a better implementation. The only tricky part is binding the window width.
add mobile support https://github.com/matt8707/ha-fusion/commit/f98fe25df2c7c30ff4ab178f0f0dfc548e27a319

I'm reluctant to add Tailwind when Svelte already has great CSS support.
I'm inexperienced and not comfortable with reviewing pull requests yet, but I have pushed suggested changes to a dev branch for you to look at. You can either make changes to this pull request or create a new one. Thanks!
I think this is a better implementation. The only icky part is binding the window width.
add mobile support f98fe25

Thanks for taking the time to improve the mobile sidebar implementation, in my opinion, you could just merge your branch into main. However, there are a few quirks that still should be addressed, like the cut-off buttons on small screens and maybe a more dynamic width of the buttons, so there is not that much space on larger screens.
The main reason for me, adding TailwindCSS is to have to write way less CSS, and it's so much quicker once you get used to it. Writing custom CSS in components is still useful in some cases and totally valid to mix both approaches.
I understand that you are hesitant to add another framework to your project, but since Tailwind has a very small footprint compared to its features, so it's worth it in my opinion. But it's your project, so you decide :)
Here is an example of the CSS you would need to write when you just want to support some size changes on different screen sizes and a hover state, where with tailwind classes these are just a few classes you need to add. Further, you need to do this in every component since you use scoped CSS, so the amount of CSS will grow over time and might be redundant.

https://play.tailwindcss.com/

"Thanks. I bet tailwind is nice, but I also want to make it easy for anyone to contribute using basic script and style tags


Handle MaybeLocal value from the constructor

In case of exception occuring during construction
of a Sass type instance just return Undefined value,
as the delayed JS exception will pop up later.
The following code:
var sass = require('./');
    sass.render({
    data: 'div { color: foo(); }',
      functions: {
        'foo()': function() {
          return sass.types.Color(2,3);
        }
      }
});

now results in an libsass error
 Constructor should be invoked with either 0, 1, 3 or 4 arguments

instead of V8 abort
 FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal

Fixes https://github.com/sass/node-sass/issues/1090

Let's keep tests clean.


Graceful Exception Handling

Exceptions should be handled gracefully and should display proper proper message

Hi Griffintaur, I am a first time contributor trying out OSS contribution.. Could you please let me know what I should do to take this issue and fix it? I dont want to be lazy, just provide some pointers and I can do the rest

Hi @ashoka-tech, thanks for your interest in our project. If you look into the source code, you will find that  in most of the places we are catching the general exception.
Now, we want to catch the specialized exception and document it and add a trace for the developer.
Please ask questions if there is any confusion or need clarifications.

Oh I'd like to give a crack at this :3

@Rosedoge Cool

I'm new to contributing to and I can't even compile the project locally

Any hints on how to get it working?

Sorry, was busy will have a look and let you know. But looking at the errors, it seems MediaPlayerMainViewModel is not instantiated/accessible in the main view model i.e media player view model. Please have a look if the MediaPlayerMainViewmodel object is accessible or not.?


Bump gRPC from 1.47.0 to 1.48.0

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
https://github.com/grpc/grpc-java/releases/tag/v1.48.0
How should we improve?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Happy to do this for you, if you'd like?

Feel free to open PR :)

Thanks @pan3793 - the PR is ready :)


Image nearest neighbour interpolation

Is your feature request related to a problem? Please describe.

I use egui for numerical data visualization (see https://gitlab.com/samoylovfp/ncexplorer) and would like to be able to switch to a "nearest neighbor" interpolation for PlotImage to see boundaries in the values more clearly
Describe the solution you'd like

Add a with_interpolation function to PlotImage structure, allowing selecting the interpolation method
Describe alternatives you've considered

The interpolation might also be a parameter to PlotUi::image, but this feels less ergonomic, since it shouldn't matter for most users
Additional context

This is now possible on master: https://github.com/emilk/egui/pull/1636


#104 migrate autoscaling api version from deprecated

#104

@vishnu-narayanan I made the suggested changes.  I bumped the minor version since this is technically a breaking change for users of older kubernetes versions (pre v1.23)

@razorman8669 Thank you for the changes 🙇


Support for shared definitions

We use multiple git repositories for distinct services / functions in the same domain. Do you have any ideas for how we could share the definitions.yml file between them (other than copy and paste 😜)?

Yes, there are two use cases for bringing definitions into a workspace that aren't in the current repository:

When a context is split into multiple repositories and you don't want to duplicate the context's definitions in each repo (your scenario)
When a term is used in multiple contexts, I'd like Contextive to draw attention to that fact, as I think that focusing on the current context's definition while noting the other definition, could be a good way to aid clarity for teams that have to work across multiple contexts.

In either case, there are a few options:

Update the contextive.path vscode setting to contain a git url and rely on vscode to obtain the file - this won't work with the current version, but shouldn't be hard to do.  It would support both use cases - the first, unambiguously.  The second, only if all contexts were defined in the same definitions file in some central repo.
Update the definitions file to have an imports array at the top level, which would allow to import definitions from a remote git or https url(s) and merge them with the current definitions file

Given your use case, I think for now, I will see about the first option first - just allowing the existing contextive.path setting to support a git url - and will see how we go.
Stay tuned!

From initial spikes on this, it's not as straightforward as I'd hoped.  Support for vscode just working when requesting to load a git:// url depends on an extension the user may not have - and there are authentication questions on top of that.  Similar authentication issues are likely to affect using an https:// url to define the definitions file assuming it's in a private repo and we're trying to use the https://.../raw/... url of the git host.  Not to mention, this pushes more responsibility into the IDE which would lead to conflicting experiences in different IDEs in the future.
An alternative approach that I'm considering which might make a lot of sense, is to include the definitions file in a package and distribute it to other 'services'/'repos' via the native package management tools of the programming languages in question.
Consider a bounded context Demo which has three repos:

demo-common
demo-service-a
demo-service-b

As demo-common contains all the common code for the bounded context (possibly some entity definitions? or other domain-specific logic that needs sharing with other services as a library), it actually makes sense that that would be the owner of the definitions.yml file, and that the definitions.yml file should be versioned along-side that code.
If we ensure that the definitions.yml file is included in the published package from demo-common then when demo-service-a and demo-service-b retrieve demo-common via their package distribution tools (e.g. go get, nuget, npm, gem) the definitions.yml file will come down with it.
demo-service-a and demo-service-b could have a vscode workspace settings file that sets the contextive.path setting to point at the package manager's copy of the definitions.yml file.
The challenge with this approach is differences in the way package management tools store the downloaded packages.  There are three common options, not exhaustive, but to illustrate the breadth of possibilities:

store directly in the working folder (e.g. npm in node_modules)

this is easy - contextive.path can just be set to node_modules/demo-common/.contextive/definitions.yml

store in a global package cache, but copy assets from the package into the binaries folder on build (e.g. dotnet)

this is also easy, contextive.path can be set to Demo.ServiceA/bin/Debug/.contextive/definitions.yml (assuming Demo.Common package is setup to include the definitions.yml file correctly by including it in the lib folder)

store in a global package cache, and don't copy assets into the local folder (e.g. go get, python, java).

this is a bit trickier, as the location could vary on dev machine to dev machine depending on local configuration, so a workspace vscode setting isn't great.  Individuals could setup user-level settings to override, but that is an extra level of friction I'd like to avoid.

A proposal for resolving scenario 3:

Contextive will shell out and echo %contextive.path% and use the result as the file location.

As an example, with go:
In demo-service-a and demo-service-b, set contextive.path to:
$(go list -m -f '{{.Dir}}' org.git.domain/org/demo-common)/.contextive/definitions.yml
Contextive will execute:
echo $(go list -m -f '{{.Dir}}' org.git.domain/org/demo-common)/.contextive/definitions.yml
Which on both linux and windows will return the exact path of the file in the package manager's cache.
I'll need to check, but I suspect it will be possible to find similar shell commands for other package managers that will help identify the local path of the package, and thus the location of the definitions file.
Pros

With this approach, a common contextive.path setting could be stored in the workspace, and once the extension is installed, and the common package is setup correctly, Contextive should just work for all developers.
Leverages existing package distribution tools including hosting and authentication (e.g. should work with private package hosts and any source control system).

Cons

Having to publish a new common package, just to update some contextive definitions.
Harder to update definitions if you identify a need to update them while working in service-a.
May be more challenging when working in a polyglot environment, as service-b may not be in the same language as  demo-common and thus wouldn't depend on it via the package management system. As there are no real users with this use case yet, I'm deferring consideration of this scenario until I can get more details of a real-world situation.

Next Steps
I'm proceeding with a spikes to verify the feasibility of this approach, but thought I'd throw it out here for feedback - any thoughts?


Update eff to 6.0.3

About this PR
📦 Updates org.atnos:eff from 6.0.1 to 6.0.3
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.atnos", artifactId = "eff" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.atnos", artifactId = "eff" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report
Patch and project coverage have no change.

Comparison is base (ce305b5) 66.72% compared to head (ab9843a) 66.72%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #384   +/-   ##
=======================================
  Coverage   66.72%   66.72%
=======================================
  Files          19       19
  Lines         565      565
  Branches       21       21
=======================================
  Hits          377      377
  Misses        188      188

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Intellisense suggestions is very slow with scikit learn package

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.75.0
OS Version: PopOs 22.04 LTS

Steps to Reproduce:

Clean installation of VSCode, with only Material Icon and the last Python extensions.
Miniconda environment with packages Scikit-learn 1.12, Pytorch 1.13.1
The following code causes slow suggestions to intellisense (specific when I import scikit-learn package)
https://gist.github.com/YachaywasiAI/1ac6b0511f828b487de4ef25f1eab0ea
When I type last line, the parameters inside of function roc_auc_score. The time to suggest word "labels" or "predictions" is high.

Same here but different package (@stitches/react). Intellisense not working. Showing "...loading" indefinetly. It works for other files when i close all files and reload window, but when i open that one file file which contains import to stitches package, then intellisense doesn't work for all files.
I also tried reload eith extensions disabled, pc restart with no luck.
Happend after updating vscode 30min ago.

/extPython

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


port fsharp to ocaml

Hey, I can't get this to build.
File "bin/dune", line 4, characters 24-51:
4 |  (libraries yojson core ppx_deriving_yojson.runtime)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Library "ppx_deriving_yojson.runtime" not found.
-> required by _build/default/bin/main.exe
-> required by _build/install/default/bin/okaml

File "bin/dune", line 5, characters 18-35:
5 |  (preprocess (pps ppx_deriving.show ppx_deriving_yojson)))
                      ^^^^^^^^^^^^^^^^^
Error: Library "ppx_deriving.show" not found.
-> required by _build/default/bin/main.pp.ml

I'm using dune3.8 on linux

Hey can you try please running opam install . --deps-only and then try again?

This is the output:
[WARNING] Failed checks on okaml package definition from source at file:///home/jinyus/projects/mlpr/ocaml:
  warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/: "LICENSE"
Nothing to do.

running again produces:
# Run eval $(opam env) to update the current shell environment
File "_none_", line 1:
Alert ocaml_deprecated_auto_include:
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
File "_none_", line 1:
Error: No implementations provided for the following modules:
         Unix referenced from bin/.main.eobjs/native/dune__exe__Main.cmx

Hey, I'm going to improve how benchmarks are ran to make it reproducible. Just provide a docker file at ./ocaml/Dockerfile


Add missing dependency for azure-common

Imported here:
https://github.com/ad-m/azure-sdk-for-python/blob/b470197731de0a976ca4e6c791c23189740d3fea/sdk/core/azure-common/azure/common/client_factory.py#L17-L18

@lmazuel, applied review comments by import on scope.


receive sectio

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] (if relevant) I have tested this PR in all supported browsers.
[ ] (if relevant) I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #3686

PR #3687

PR #3688   👈

This comment was auto-generated by Graphite.

@wraeth-eth started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@wraeth-eth merged this pull request with Graphite.


Change chevron symbol and add tooltip

Change chevron symbol to remove space between.
Add tooltip to icon to let people know it is a 'copy to all' feature.

made tool tip a little closer


Fix api doc

@git-hulk Could you please take a look for this PR?

@Venjy Thanks for your correction.

copilot:summary

/prbot how


Change request timeout to 5 sec for Http Client

Maybe extract this as a constant?

@evanmiller done


Include nuclei to Rust list.

Thanks for the PR @vertexclique
I ordered the frameworks by time of insertion, giving precedence to maintained work, hence I put your framework in third place. I hope it's ok with you.

All good.


[GPOS] Contextual Positioning Subtables “the most powerful”?

The introduction for Lookup Type 7: Contextual Positioning Subtables claims that this subtable “defines the most powerful type of glyph positioning lookup”. Is that really true? Can it do anything that a chaining contextual positioning subtable can’t do? Are such marketing terms needed at all in an engineering document?

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

ID: 3f748ff4-44a6-6395-e0ce-d249b8c9541b
Version Independent ID: b80d0359-5657-632b-29e8-142c06902001
Content: GPOS — Glyph Positioning Table - Typography
Content Source: typographydocs/opentype/spec/gpos.md
Product: typography

See similar issue for GSUB in #60

For the next version, removed the "powerful" characterization in GPOS and also GSUB.


kubelet: Refactor kubelet.runContainer.

This PR tries to move the launch container logic from kubelet to container runtime. This is a prelude for fixing #5896
The next steps will be:
1: Move the killContainer logic to container runtime (will need to pull the readiness manager out, so container runtime can update the readiness after killing a container).
2: Wraps the these functions with RunContainerInPod, in which the container runtime will handle the necessary restart of the pod infra container and the whole pod.
3: After 1) and 2), I think we are close to simplify the syncPod's logic into a more generic one.
Basically, it will be something like:
for each container in Spec:
    if it's found in runningPod:
        if container hash changed || container is unhealthy
            restart the container
    else:
        if needs to restart:
            restart the container

for each unidentified containers in the runningPod:
    kill container

The PR is WIP because I need to introduce reference manager first, so the docker container runtime can set reference after creating the container.
Happy to hear your opinions :)
@dchen1107 @vmarmol

Great refactoring @yifan-gu! Just some comments.

@vmarmol Ready for another review :)
Updated: Move the creating/mouting termination log file logic into the container runtime (because otherwise we cannot get the id of the container before actually starting it). Had added comments for that.
PTAL THX :)


ShapeInferenceError in v0.3.1

Describe the bug
This may be a regression in v0.3.1
We got the following error after rebuilding Ort with latest release tag (v0.3.0 -> v0.3.1).
There was similar discussion previously about this error message and it was fixed in v0.3.0.
:[ShapeInferenceError] Number of elements of input 'scales' must be same as rank of input 'X' and element type must be float.
" thrown in the test body.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Win10
ONNX Runtime installed from (source or binary): source
ONNX Runtime version: v0.3.1
Visual Studio version (if applicable): VS2019

Does it exist in our CI build log?

It is a new exception in the unit test of our code after we rebuild it with latest release tag today.
Sent from my iPhone

On Apr 8, 2019, at 20:29, Changming Sun<EMAIL_ADDRESS>wrote:
Does it exist in our CI build log?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

So, it's not in the CI? If it is not reproducible in CI, I wouldn't consider it is a bug.

Do you think this is that same ShapeInference bug in Onnx I ran into last week? Where the float_data is used, but not the raw_data in the tensor proto inside of the ShapeInference function?

Do you think this is that same ShapeInference bug in Onnx I ran into last week? Where the float_data is used, but not the raw_data in the tensor proto inside of the ShapeInference function?

I believe it's the same bug. I'm inferencing the opet_v9 model which with upsampling op.

@faxu Should we put this into ONNX 1.5's task list?

@xkszltl would mind providing a model producing this error? Thx

@raymondxyang
The model contains custom ops so if won't help much.
@RyanUnderhill should have more details on this.

@xkszltl
hi @RyanUnderhill is out this week.. could you send more details on it or point me to the previous discussion/fix? We are about to release onnx 1.5 and thinking about fixing it before the release is out.
If i understand rightly this error should be about resize op right?

PR sent https://github.com/onnx/onnx/pull/1969 . Will following up the tests with the described model.


Update JReleaser configuration

Remove placeholder text from changelog template
Changelog generation pulls full history

Noticed the changelog was off (listed just a single release).


History visibility module

This PR modifies the history visibility module to conform to the module template.

this lgtm fwiw other than feeling that we should put a big caveat that this spec & implementations has major shortcomings for real-world uses (linking to the SPEC bug in question), and is only really useful for permenantly hiding shared history as required for Freenode (which is why we implemented it).  Given you can't retrospectively chose to hide or show history to new users, it's basically only useful as a permenantish setting when you create a room.

Added a big warning box about how this can't be retrospectively altered.

LGTM modulo two comments


Add acceptedResourceRoles for * and slave_public

It'd be advisable for this to also run on public nodes in addition to private nodes. Adding "*" and "slave_public" as "acceptedResourceRoles" achieves that.

Thanks for the PR!


Update Lab07_Deploy_Solution.md

Updating instructions to match interface changes.
Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by clifford-smith on behalf of MOC Labs Review.


DTO Projections for OneToMany relationship

How to use OneToMany DTO projections in hibernate reactive?
@Entity
@Table(name = "erp_currency")
@Getter
@Setter
public class ErpCurrencyDBO{

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="erp_currency_id")
	public int id;

	@Column(name="currency_name")
	public String currencyName;

	@OneToMany(mappedBy = "erpCurrencyDBO", cascade = CascadeType.ALL)
	private Set<ErpCurrencyConversionRateDBO> conversionRateSet;
}

@Entity
@Table(name = "erp_currency_conversion_rate")
public class ErpCurrencyConversionRateDBO implements Serializable{

	private static final long serialVersionUID = -7925813369707437863L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="erp_currency_conversion_rate_id")
	public int id;

	@Column(name="exchange_time")
	public LocalDateTime exchangeTime;

	@Column(name="exchange_rate")
	public BigDecimal  exchangeRate;

}

@Getter
@Setter
public class TestDTO {
    private Integer id;
    private String name;
    private List<TestSubDTO> list;

    TestDTO(int id, String name) {
        this.id = id;
        this.name = name;
    }
    TestDTO(int id, String name,List<TestSubDTO> list) {
        this.id = id;
        this.name = name;
        this.list = list;
    }
}

@Getter
@Setter
public class TestSubDTO {

    private Integer id;
    private BigDecimal exchangeRate;

    TestSubDTO(Integer id,BigDecimal exchangeRate) {
        this.id = id;
        this.exchangeRate = exchangeRate;
    }

}

`String queryString ="select new com.christ.erp.services.transactions.common.TestDTO(bo.id,bo.currencyName)" +
            " from ErpCurrencyDBO as bo where bo.id=:id"; // working
 // String queryString ="select new com.christ.erp.services.transactions.common.TestDTO (bo.id,bo.currencyName, new com.christ.erp.services.transactions.common.TestSubDTO (" +
            " detailsSet.id,detailsSet.exchangeRate)) from ErpCurrencyDBO as bo left join fetch bo.conversionRateSet as detailsSet where bo.id=:id"; //not working

TestDTO dto = sessionFactory.withSession(s->s.createQuery(queryString, TestDTO.class).setParameter("id",2).getSingleResultOrNull()).await().indefinitely();`

This above query is working and it is returning dto object. But How can we access conversionRateSet in ErpCurrencyDBO and set into TestSubDTO properties using hql query? I need to load and set only limited information from the child table. So that I am using DTO projection. I can write a hql query for accessing  conversionRateSet object using left join fetch but could not set into TestSubDTO. Tried many ways but it did not work. Please help.
Spring webflux - 2.7.1
hibernate reactive version - 1.1.9.Final
MySql version - 8.0.32

This doesn't sounds like a bug or limitation in Hibernate Reactive. There are other to ask usage questions.

@nivinps StackOverflow or the hibernate-user stream on Zulip are better places for this type of questions.
That said, I don't think there's a out-of-the-box way to do what you ask.
What I would do, is to run an HQL query that load the association eagerly, and then convert the result to a DTO list (if you need to). Something like:
Uni<List<TestDTO>> resultListUni = session
    .createQuery("from ErpCurrencyDBO ec  left join fetch ec.conversionRateSet crs ...").getResultList()
    .map( entityList -> entityList.stream().map( entity -> new TestDTO( entity )).collect( Collectors.toList() ) );

Where TestDTO is:
@Getter
@Setter
public class TestDTO {

    ...

    TestDTO(ErpCurrencyDBO entity) {
        this.id = entity.getId();
        this.name = entity.getCurrencyName();
        this.list = convertToTestSubDTO( entity.getConversionRateSet() );
    }

   List<TestSubDTO> convertToTestSubDTO(Set<ErpCurrencyConversionRateDBO>) {
       return // do the convertion ...
   }
}

You should be able to adapt it the way you need to.

Thank you, @DavideD , for your response and the provided example. Going forward, I will direct my usage-related queries specifically to the mentioned platform.
I have enabled SQL logs for the aforementioned Hibernate query. However, it is loading all the columns, while I only require two specific columns in ErpCurrencyDBO and ErpCurrencyConversionRateDBO. Is there anywy to do this
SQL Logs
select erpcurrenc0_.erp_currency_id as erp_curr1_233_0_, conversion1_.erp_currency_conversion_rate_id as erp_curr1_234_1_, erpcurrenc0_.created_users_id as created_2_233_0_, erpcurrenc0_.currency_code as currency3_233_0_, erpcurrenc0_.currency_name as currency4_233_0_, erpcurrenc0_.currency_sub_division as currency5_233_0_, erpcurrenc0_.currency_symbol as currency6_233_0_, erpcurrenc0_.modified_users_id as modified7_233_0_, erpcurrenc0_.record_status as record_s8_233_0_, conversion1_.created_users_id as created_2_234_1_, conversion1_.erp_currency_id as erp_curr7_234_1_, conversion1_.exchange_rate as exchange3_234_1_, conversion1_.exchange_time as exchange4_234_1_, conversion1_.modified_users_id as modified5_234_1_, conversion1_.record_status as record_s6_234_1_, conversion1_.erp_currency_id as erp_curr7_234_0__, conversion1_.erp_currency_conversion_rate_id as erp_curr1_234_0__ from erp_currency erpcurrenc0_ left outer join erp_currency_conversion_rate conversion1_ on erpcurrenc0_.erp_currency_id=conversion1_.erp_currency_id where erpcurrenc0_.erp_currency_id=?


update README for DCPM cache support in OAP

What changes were proposed in this pull request?
This change is made to update README to reflect specific content of DCPM cache support in OAP.
How was this patch tested?
No test needed.

@yma11
Hi,
Do you still need to merge this PR?

I think no need now since the merged vmemcache PR should already include this.

Close this since included in https://github.com/Intel-bigdata/OAP/pull/1137


Create token and key flow

Implemented new functionality for creating and managing personal access tokens, including a token creation form and success dialog.
Added support for SSH key management, with a new form for adding SSH keys and associated dialogs.
Updated the profile settings page to include buttons for adding new tokens and SSH keys, improving user accessibility.
Enhanced the Button component in the Canary package to include a "disabled" state with appropriate styling.
Integrated new components into the Playground package, including TokenCreateDialog, SshKeyCreateDialog, and their respective forms, to provide reusable UI elements for token and SSH key management.
Demoed in standup on 10/9.

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


Inconsistent field behavior

I know we have already discussed this at length, but I'm getting confused again regarding the differences between an input field and a textarea field.
I remember and understand the reasoning behind wrapping unformatted textarea content in CDATA. The argument was something like that's how potentially unsafe data is usually handled in XML. Got it.
What I don't understand right now is, why is the input field (and maybe other core fields as well?) doing things that differently?
Example 1
Yo B*tch!

<input handle="yo-b-tch">
    Yo B*tch!
</input>
<textarea>
    <![CDATA[Yo B*tch!]]>
</textarea>

Example 2
Yo. This is XM & L, B*itch!

<input handle="yo-this-is-xm-and-l-b-itch">
    Yo. This is XM & L, B*itch!
</input>
<textarea>
    <![CDATA[Yo. This is XM & L, B*itch!]]>
</textarea>

Example 3
Yo. This is not XM & L, B*itch!

<input handle="yo-this-is-not-xm-and-l-b-itch">
    Yo. <strong>This is not XM & L, B*itch!
</input>
<textarea>
    <![CDATA[Yo. This is not XM & L, B*itch!]]>
</textarea>

HTML-encode text should never have existed. I've disliked this option for a very long time. The decision to have this option was based on user familiarity at the time when it was implemented. HTML-encoding was a common concept to a lot of CMS/blog systems back then. We also had a hard enough time selling people on the idea of XML and XSLT, we decided not to introduce CDATA sections as another thing to worry about.
In hindsight, it was a bad choice and CDATA section is not a hard concept to grasp.
In terms of the input field and why it included HTML; this was intentional. A common practice for standard blog sites is to use input fields on article titles. However, having the HTML stripped out meant authors weren't able to format their titles properly. Also, this was before the Texbox field existed.
Hope that gives some context to the design decisions made.
Personally I'm +1 for proper use of CDATA and the obliteration of HTML Encode option.

Personally I'm +1 for proper use of CDATA and the obliteration of HTML Encode option.

Makes sense. Guess we'll work on that for 3.0.0 (not sure if that's on your radar, we switched to Semantic Versioning with 2.5.0).

Thanks @allen !!

Should be added to the 3.0.0 milestone.


The guide does not include the resources that we commonly use for design sprints

When we originally worked on the idea of a new guide we created a list of resources that could help people to run a sprint, or a specific exercise. For example a user testing script or a Miro template.
We gathered a few of these resources early on:
Product Design Sprint Guide Rebuild: Information Architecture | Trello
But they are currently not included as a part of this guide.

WIP - I've found it a bit hard to determine what kind of content has been added already and what hasn't. I found some of the exercises from that Trello board on the current WIP Guide. Not sure if that's because they come from somewhere else
Example schedules to be added:

[x] Classic (GV Flavor)
[x] Classic (thoughtbot Flavor)
[ ] Condensed: 3-day
[ ] Extended: 2 week
[ ] Discovery Sprint
[ ] Brand sprint
[ ] Lightning Decision Jam

Exercises that need to be added:

[ ] Planning/Prepare

[ ] Ice breakers and bonding activities
[ ] Resource: Miro Template
[ ] Resource: Pre-sprint prep email
[ ] Resource: Intro to miro
[ ] Tips

[ ] Understand

[ ]


Unable to import any Knowledge base via the custom question answering Import API

The Question Answering Projects - Import is not uploading the file instead giving Response Code: 202 and when checked for the import status then getting the below error
{
 "createdDateTime": "2022-04-27T10:59:38+00:00",
 "expirationDateTime": "2022-04-27T16:59:38+00:00",
 "jobId": "xx365d1f-xxxx-xxx-xxx-xxxxx",
 "lastUpdatedDateTime": "2022-04-27T10:59:38+00:00",
 "status": "failed",
 "errors": [
   {
     "code": "Unspecified",
     "message": "Something happened. Please retry after some time."
   }
 ]
}

Note:

Tried to upload tsv, xlsx, tsv as Zip, xlsx as Zip.
Tried to upload file which is exported from Language studio Custom question answering (attaching the screenshot below)

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

ID: 72d0844c-1be7-273a-a00f-85b07e4d46ba
Version Independent ID: 6827431e-9b6f-bb1b-332f-31137bc34ae1
Content: Authoring API - question answering - Azure Cognitive Services
Content Source: articles/cognitive-services/language-service/question-answering/how-to/authoring.md
Service: cognitive-services
Sub-service: language-service
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@nisarkhan916 I think zip is not a valid format for the import API. Could you try excel, tsv or json format file that is passed as fileURI?
curl -X POST -H "Ocp-Apim-Subscription-Key: {API-KEY}" -H "Content-Type: application/json" -d '{
      "ImportJobOptions": {"fileUri": "FILE-URI-PATH"}
  }' -i 'https://{ENDPOINT}.api.cognitive.microsoft.com/language/query-knowledgebases/projects/{PROJECT-NAME}/:import?api-version=2021-10-01&format=tsv'

Alternatively, if you try to upload the same file via import from the studio does it still work?
If you have used the correct format and the import still fails with both the API and studio then a support task could be raised from Azure portal to check what could be wrong with the resource. Thanks!!

@nisarkhan916 We hope the above clarification helped, Passing the supported format in the URI parameter and file URI should import the KB. We will now proceed to close this thread.

Hi @RohitMungi-MSFT ,
Sorry for the late response...
To answer your questions..

Yes it uploads the file when i upload it from the portal.
Only The API Upload is where i am finding this issue.. It says 202 Accepted with a JOBId and when i try the Import status API then it throws the below error..
{ "createdDateTime": "2022-04-27T10:59:38+00:00", "expirationDateTime": "2022-04-27T16:59:38+00:00", "jobId": "xx365d1f-xxxx-xxx-xxx-xxxxx", "lastUpdatedDateTime": "2022-04-27T10:59:38+00:00", "status": "failed", "errors": [ {   "code": "Unspecified",   "message": "Something happened. Please retry after some time." } ] }

Can you Please Re-Open this issue and help me resolve it
Thanks..

@nisarkhan916 This repo is used for documentation related bugs to fix any issues in azure docs. In this case it seems like a data issue with the response which needs more insights by looking up the request details. This is only possible by raising an azure support case from Azure portal by providing the request details and response by selecting the resource from the support options. Only an authorized support engineer would have access to the details to advise what could be wrong with your request. Could you please raise a support case from Azure portal?

@RohitMungi-MSFT -- Thanks for the information, Will raise a support case from Azure.