No module named 'pointnet2_cuda'

where is pointnet2_cuda?

I think you may need to compile the cuda and cpp code by running 'python setup.py install'. If there is any problem when you import the pointnet2_cuda, it is possible that your nvcc version does not match your pytorch cuda runtime lib version. For example, if your nvcc is 10, you may need to install torch with cuda10

Thank you very much!

Thank you very much!

Have you solved this issue? I also met this error even though I kept the version of nvcc and torch.cuda same (nvcc -V reports 11.1 and torch.version reports 1.9.0+cu111).

Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.

Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.

I  have solved this issue. The main reason is your setuptools version is too high, so you can lower your setuptools version by "pip install setuptools==58.2.0".

Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.

I have solved this issue. The main reason is your setuptools version is too high, so you can lower your setuptools version by "pip install setuptools==58.2.0".

I still have this problem. I also kept the version of nvcc and torch.cuda same (nvcc -V reports 11.3 and torch.version reports 1.10.0+cu113). When I ran 'python setup.py install', i had this problem "subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1."

Thank you very much! Because of your help, my problem has been solved very well.
At 2023-02-15 11:15:10, "s-y-123" @.***> wrote:
Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.
I have solved this issue. The main reason is your setuptools version is too high, so you can lower your setuptools version by "pip install setuptools==58.2.0".
I still have this problem. I also kept the version of nvcc and torch.cuda same (nvcc -V reports 11.3 and torch.version reports 1.10.0+cu113). When I ran 'python setup.py install', i had this problem "subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1."
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Excuse me, I would like to ask. My nvcc and pytorch cuda runtime library versions are matching, but I still don't have this module.

I have solved this issue. The main reason is your setuptools version is too high, so you can lower your setuptools version by "pip install setuptools==58.2.0".

I still have this problem. I also kept the version of nvcc and torch.cuda same (nvcc -V reports 11.3 and torch.version reports 1.10.0+cu113). When I ran 'python setup.py install', i had this problem "subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1."

this article may help u (https://blog.csdn.net/fq9200/article/details/125362088).

error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit status 2

错误：命令“C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe”失败，退出状态为 2
Error after running python setup.py install


Feat/#93 setup notifications for application

This PR will add toasts to the project!
Currently is possible to use default, success, error, warn and info toasts.
To call the toast only import notifications module and use the showNotification function.
Example toast

Closes #93

@all-contributors please add @rbgoncalves for "Reviewed Pull Requests"

@all-contributors please add @rbgoncalves for review

After some discussion was decided to use antd notifications and if needed do a custom method to handle notifications.


Prevent paste from bypassing gesture name limit

I've tried to implement what I think is the most sensible behaviour here.


Add support to the RSA keys

Binance has added support for signing with RSA keys for private APIs. We are planning to add support to it to provide more security.

Looking forward to this feature 🙂


Add User/offline player CommandElement to GenericArguments

Use case: Ban command, mail command, lastseen command.

I can see this being useful. However, I'd like for User to be fully implemented before I expose a command argument type for it.

I think this can be added as soon as #580 is ready to be pulled.

Will this be in Revision 2.1 since issue #580 will add further support of User?

I guess. When the UserStorage is implemented, this will be easy.

@boformer I was hoping one of the Sponge team members could just add the milestone to this so it isn't forgotten

I see a few issues with this being implemented:

Being Case-Sensitive
Suggestions could be very performance intensive.

@MattBDev The methods for that are in the UserStorage service: https://github.com/SpongePowered/SpongeAPI/blob/99c57e8231882e45cac627723d77b88454911464/src/main/java/org/spongepowered/api/service/user/UserStorage.java#L126
Adding the command elements is simple. The implementation of the service is harder.

This would only do cached lookups -- we can't make network queries on the game/network threads.

Well this could be limited to offline users that have connected to the server at least once.

Yep, it will only do cache lookups. If those lookups are too resource-intensive, the server could also only return online players.
Another solution would be to outsource the matcher methods to a third service that can be implemented by plugins (like permission service).

Nice Work :cookie:


Move away from chrome packaged apps and use node-webkit

The google in next year will discontinue supporting chrome packaged apps on systems other than Chrome OS so everything mus be moved to nw.js

I added the wontfix tag not because I can't move the project but it makes no sense to rely on chrome apps so it's nothing to fix here.


Remove Firebase Sign in

By utilizing the ID card feature on the app, users are able to create authentication accounts in our Firebase database. This potentially allows external people to sign in to services like edit.ahs.app with unauthorized authorization.

Not an issue. edit.ahs.app also checks against a separate database of editors (https://ahs-app.firebaseio.com/editors.json).


Dependency/vulnerability scanning check on PR and merge

[ ] Use SAS-Github actions to run Trivy on Docker images created in build
[ ] Add NPM audit to PR checks to catch issues early
[ ] Delete Snyk webhook once above actions complete

https://github.com/UKHomeOffice/sas-github-workflows/blob/main/.github/actions/trivy-image-scan/action.yml


Bump version?

The old versions have the "file not found" bug when trying to use pretrained tokenizers.

close for now as fixed in new API to load pretrained model. See in the README.md example.


CocoaPods could not find compatible versions for pod "ffmpeg_kit_flutter/https":

I got this error when pod install:
[!] CocoaPods could not find compatible versions for pod "ffmpeg_kit_flutter/https":
In Podfile:
ffmpeg_kit_flutter (from .symlinks/plugins/ffmpeg_kit_flutter/ios) was resolved to 5.1.0, which depends on
ffmpeg_kit_flutter/https (= 5.1.0)
Specs satisfying the ffmpeg_kit_flutter/https (= 5.1.0) dependency were found, but they required a higher minimum deployment target.
//platform :ios, '11.0'
//Flutter version :3.3.7

Did you try out this troubleshooting step?

@sbis04 Hi, I got same failure. And I did check the troubleshooting step but not helpful.
Any idea how to fix it?

any update?


Brew updates halted by outdated Xcode version on Macos11 machines

Brew update wants Xcode to be updated to >= 13.2.1 to be able to perform updates on installed packages.
test-macstadium-macos11-arm64-1

"msg": "Warning: You are using macOS 11.\nWe (and Apple) do not provide support for this old version.\n
It is expected behaviour that some formulae will fail to build in this old version.\nIt is expected behaviour that Homebrew will be buggy and slow.\nDo not create any issues about this on Homebrew's GitHub repositories.\n
Do not create any issues even if you think this message is unrelated.\nAny opened issues will be immediately closed without response.\nDo not ask for help from Homebrew or its maintainers on social media.\n
You may ask for help in Homebrew's discussions but are unlikely to receive a response.\n
Try to figure out the problem yourself and submit a fix as a pull request.\nWe will review it but may or may not accept it.\n
\nError: Your Xcode (11.7 => /Applications/Xcode-11.7.app/Xcode.app/Contents/Developer) is too outdated.\n
Please update to Xcode 13.2.1 (or delete it).\nXcode can be updated from the App Store.\n
\nError: Your Command Line Tools are too outdated.\nUpdate them from Software Update in System Preferences.\n
\nIf that doesn't show you any updates, run:\n
  sudo rm -rf /Library/Developer/CommandLineTools\n  sudo xcode-select --install\n\nAlternatively, manually download them from:\n  https://developer.apple.com/download/all/.\nYou should download the Command Line Tools for Xcode 13.2.1.",

build-macstadium-macos11-arm64-1

"msg": "Warning: You are using macOS 11.\nWe (and Apple) do not provide support for this old version.\n
It is expected behaviour that some formulae will fail to build in this old version.\n
It is expected behaviour that Homebrew will be buggy and slow.\nDo not create any issues about this on Homebrew's GitHub repositories.\n
Do not create any issues even if you think this message is unrelated.\nAny opened issues will be immediately closed without response.\nDo not ask for help from Homebrew or its maintainers on social media.\n
You may ask for help in Homebrew's discussions but are unlikely to receive a response.\n
Try to figure out the problem yourself and submit a fix as a pull request.\nWe will review it but may or may not accept it.\n\nError: Your Command Line Tools are too outdated.\n
Update them from Software Update in System Preferences.\n\nIf that doesn't show you any updates, run:\n
  sudo rm -rf /Library/Developer/CommandLineTools\n  sudo xcode-select --install\n
\nAlternatively, manually download them from:\n  https://developer.apple.com/download/all/.\n
You should download the Command Line Tools for Xcode 13.2.1.",

Two separate but similar error logs. The first suggests we need to add something to the macos part of the playbooks which switch xcode back to command line tools before running any macos ansible tasks. The second error log recommends updating command line tools' xcode to >= 13.2.1

Both error logs mention that Macos11 is also outdated but at the moment it is only a warning not an error, but this should be taken into account when we get some new machines https://github.com/adoptium/infrastructure/issues/2536

Attempting to install command line tools 13.3 on test-macstadium-macos11-arm64-1
administrator@test-macstadium-macos11-arm64-1 ~ % sudo installer -pkg "/Volumes/Command Line Developer Tools/Command Line Tools.pkg" -target /
installer: Cannot install on volume / because it is disabled.
installer: macOS version 12 or later is required.

According to https://xcodereleases.com/ xcode 13.2.1 is compatible with macos11.3+. Our macos machines are 11.0 and 11.0.1. But there is an update available on our macos11 machines which would upgrade them to 11.7
administrator@test-macstadium-macos11-arm64-1 ~ % softwareupdate -l
Software Update Tool

* Label: macOS Big Sur 11.7.10-20G1427
	Title: macOS Big Sur 11.7.10, Version: 11.7.10, Size: 6155086K, Recommended: YES, Action: restart

Xcode13.2.1 would then be installed on the upgraded machines (hopefully)
@sxa @andrew-m-leonard Would upgrading to 11.7 affect reproducibility?

(Accidentally closed the issue)

According to https://xcodereleases.com/ xcode 13.2.1 is compatible with macos11.3+. Our macos machines are 11.0 and 11.0.1. But there is an update available on our macos11 machines which would upgrade them to 11.7
administrator@test-macstadium-macos11-arm64-1 ~ % softwareupdate -l
Software Update Tool

* Label: macOS Big Sur 11.7.10-20G1427
	Title: macOS Big Sur 11.7.10, Version: 11.7.10, Size: 6155086K, Recommended: YES, Action: restart

Xcode13.2.1 would then be installed on the upgraded machines (hopefully)
@sxa @andrew-m-leonard Would upgrading to 11.7 affect reproducibility?

@Haroon-Khel As long as we reproduce using the same Xcode we're good in theory. I think moving to osx 11.7 makes sense, thanks Haroon

@andrew-m-leonard Yeah, that's true for new builds but since the point of this is to upgrade the code version we'd break the ability to do a reproduce of the existing ones in the field wouldn't we?

@andrew-m-leonard Yeah, that's true for new builds but since the point of this is to upgrade the code version we'd break the ability to do a reproduce of the existing ones in the field wouldn't we?

yes, but I guess we're always going to have that when we upgrade tooling, VS, Xcode, gcc,...?
For old release reproducibility, we need to use the same tooling, hence implies we'd need to cache our old tooling?
I think this raises an interesting question, as to how long ago we go back to support re-building? as that at some point becomes difficult and requires keeping old OS's etc..?

yes, but I guess we're always going to have that when we upgrade tooling, VS, Xcode, gcc,...?

With gcc we install each version into a different directory. There is an issue of WHEN we do such upgrades here. If it's just "whenever brew feels like" that's quite a significant risk and feels like an invitation to break reproducibility of existing releases. All of the other platforms use a fixed level at the moment.
Related: https://github.com/adoptium/infrastructure/issues/2966

@andrew-m-leonard @Haroon-Khel What is the current status of this issue. Is it still a concern?

we're using Xcode 15.2 now anyway?


JUnit test example for wasm

There is a test example for java to javascript example. Could you add a JUnit test example for wasm?
PS:
To be honest, I am not sure if such a case is implemented.

It works the same way as JavaScript however we cannot add it to CI since it doesn't have binaryen integration (currently assumes binaryen is in the path).
@mollyibot Could you manually test this to check if we are missing anything?

We expect binaryen to be available on the path. See here:
https://github.com/google/j2cl/blob/dcf29c75c6e79713987e620eb220cf540e8eb708/third_party/binaryen.sh

@gkdn cool, thanks a million!

This was done so closing it.


VM - No access to clipboard

If I'm in another tab on my machine and copy something out of the doc window, I can't paste it into the VM (easily).
It may be nice with the panel on the right to have it start with a quick overview of the VM and call out the commands menu:

Though that still requires pasting again, so there's a multi-step process for pasting, but it took a bit to realize I could do this at first.

vendor agreed to improve experience for when this goes live


Fix GH-128 - default recipe fails on Amazon Linux with Chef 13

Description
This PR adds Amazon Linux support to this cookbook for Chef 13.  On Chef 12, the platform_family for that distribution was "rhel", so it worked without modification.
I chose to use Upstart as the init service, as this has been used by Amazon Linux for a number of years.  To make this work, I had to explicitly specify the service provider within service_upstart.rb as Chef 13 is selecting the sysvinit provider on that distribution.  This looks a little gross, but should not change behaviour for any other distribution.
I added an Amazon Linux suite to the kitchen-dokken configuration to work through these issues, but I'm not sure whether it's appropriate to add that in this PR as it isn't a supported platform for push-jobs (the contribution guidelines didn't give any hints).
Credit to @donone-apex for the initial commit in this PR, and motivation for finishing it.  I'm happy for him to cherry-pick the commits in this branch if the preference is to instead complete the WIP PR 127.
Issues Resolved
https://github.com/chef-cookbooks/push-jobs/issues/128
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

I'm perplexed by the chefspec failures reported by TravisCI - I can't reproduce them locally, and this PR doesn't/shouldn't change which service provider is used on Ubuntu 14.04 (the platform mocked in those tests).

LGTM, going to close   https://github.com/chef-cookbooks/push-jobs/pull/127 in favor of this one.

The failure in TravisCI is something I'm fixing in another PR, this is good to go.


Limit navigation based on user privileges

Currently the frontend simply shows all links in the menu, regardless of user privileges. Frontend needs to check user permissions and limit navigation links, by either not showing such inks in the menu, or marking them as disabled.
The privileges of the user should be updated through the config API endpoint. Of course, this can be easily altered by the user on the frontend, and for this reason backend must continue to check and enforce user privileges on each user action.

Resolved.


[Snyk] Security upgrade php from 8.2.10-apache to 8.2.17RC2-apache

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

Dockerfile

We recommend upgrading to php:8.2.17RC2-apache, as this image has only 92 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

829
Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
Mature

829
Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
Mature

829
Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
Mature

829
Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
Mature

829
Resource Exhaustion SNYK-DEBIAN12-NGHTTP2-5953379
Mature

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

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Resource Exhaustion

Superfluous now as #12 was recently merged.


Update plan model

update the help text for plan_number
change decision_maker field type from ForeignKey to CharField. There's a data migration that migrate the decision maker's fullname to the new CharField

We also update the requirements files as the build are failing for django-helusers because the referenced branch is merged to master.
Note that we also pin a specific version of djangorestframework and ipython because:

drf-yasg is not compatible with DRF 3.12+, see details: axnsan12/drf-yasg#641
ipython 7.17+ requires python 3.7+ (we need to support Python 3.6), see details: https://github.com/ipython/ipython#overview

Refs: LIIK-197

Codecov Report

Merging #156 into master will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
- Coverage   98.02%   97.98%   -0.05%
==========================================
  Files         127      127
  Lines        7713     7532     -181
  Branches      308      308
==========================================
- Hits         7561     7380     -181
  Misses        126      126
  Partials       26       26

Impacted Files
Coverage Δ

traffic_control/models/plan.py
100.00% <100.00%> (ø)

azure_client_ip/middleware.py
68.75% <0.00%> (-1.84%)
:arrow_down:

traffic_control/views/_common.py
94.44% <0.00%> (-0.16%)
:arrow_down:

traffic_control/models/traffic_sign.py
98.77% <0.00%> (-0.02%)
:arrow_down:

traffic_control/models/mount.py
99.16% <0.00%> (-0.01%)
:arrow_down:

traffic_control/models/common.py
99.50% <0.00%> (-0.01%)
:arrow_down:

map/views.py
100.00% <0.00%> (ø)

traffic_control/views/mount.py
100.00% <0.00%> (ø)

users/tests/test_user_model.py
100.00% <0.00%> (ø)

traffic_control/views/barrier.py
100.00% <0.00%> (ø)

... and 33 more

Continue to review full report at Codecov.

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


Pretraining attribute and object loss don't match the ones in the log file

I tried to load the provided pretrained model with the latest version of the code. But when I tried printing the values for attribute and object, I found a discrepancy between the log file shared for different epochs and the one I got when I printed.
I found the values for the training
obj loss: 2.2379
attr loss : 2.6806
While the one reported in the log file are : Obj: 0.2028 Attr: 0.1267
I see the same trend in the eval losses as well.

Sorry... I did not fully understand the question. Could you specify the details of "log file"?

I was comparing the pretrained model you provided with the logfile you provided in another issue: https://github.com/airsplay/lxmert/issues/22
The logfile states that the object loss and attribute loss are
The training loss for Epoch 17 is 2.9553
The losses are Mask_LM: 1.0930 Matched: 0.1697 Obj: 0.1323 Attr: 0.0929 Feat: 0.2087 QA: 1.2587
Overall Accu 0.3558, gqa Accu 0.4454, visual7w Accu 0.2548, vqa Accu 0.4324,
The valid loss is 4.5562
The losses are Mask_LM: 1.1740 Matched: 0.2241 Obj: 0.7294 Attr: 0.2575 Feat: 0.2045 QA: 1.9668
Overall Accu 0.2980, gqa Accu 0.3561, visual7w Accu 0.2016, vqa Accu 0.3650,
 94%|██████████████████████████████████████████████████████████▏   | 43899/46742 [18:11:36<1:11:55,  1.52s/it

But if I load the pretrained model provided by you and try to print the same losses, I get very high values for the object and attribute losses. I get obj loss: 2.2379
attr loss : 2.6806 for the training losses.

Sorry. I am not sure about this since it is not observed by my experiments and is not reported elsewhere.
I am currently not super clear about how you "load the pretrained model provided by you and try to print the same losses". If you are willing to provide the detailed instructions that you get these results, I could test it locally. Hope it helps!

I'm also seeing something similar, the model predicted categories for objects and attributes were overwhelmingly monotonous, i.e. the predicted classes fall under just one or two classes, causing the object and attribute losses to be high. Have you ever encountered this issue of the same classes being predicted over and over?
Thanks!

Hi,
Here is the steps I followed:

Downloaded the code and data for pretraining and finetuning as mentioned in your repo.
Downloaded the pretrained model and put it in the snap/pretrain/pretrained/
Changed the learning rate in the run/lxmert_pretrain.sh script to 0.0.
`# The name of experiment
name=lxmert

Create dirs and make backup
output=snap/pretrain/$name
mkdir -p $output/src
cp -r src/* $output/src/
cp $0 $output/run.bash
Pre-training
CUDA_VISIBLE_DEVICES=$1 PYTHONPATH=$PYTHONPATH:./src
python src/pretrain/lxmert_pretrain.py
--taskMaskLM --taskObjPredict --taskMatched --taskQA
--visualLosses obj,attr,feat
--wordMaskRate 0.15 --objMaskRate 0.15
--train mscoco_train,mscoco_nominival,vgnococo --valid mscoco_minival
--llayers 9 --xlayers 5 --rlayers 5
--fromScratch
--batchSize 64 --optim bert --lr 0.0 --epochs 20
--tqdm --output $output ${@:2}
`

Added a set trace on line 294 in src/pretrain/lxmert_pretrain.py  <to see the visual losses: obj, attr,  feat>
Ran the command:
bash run/lxmert_pretrain.bash 0,1,2,3 --multiGPU --tiny --loadLXMERT snap/pretrained/model
And I get the result:
tensor([1.3126, 0.5437, 4.8402, 2.7473, 0.2967, 7.2280])
I was comparing the these losses with the ones you provided in another issue: https://github.com/airsplay/lxmert/issues/22
The logfile states that the object loss and attribute loss are
Mask_LM: 1.0930 Matched: 0.1697 Obj: 0.1323 Attr: 0.0929 Feat: 0.2087 QA: 1.2587

The training loss for Epoch 17 is 2.9553 The losses are Mask_LM: 1.0930 Matched: 0.1697 Obj: 0.1323 Attr: 0.0929 Feat: 0.2087 QA: 1.2587  Overall Accu 0.3558, gqa Accu 0.4454, visual7w Accu 0.2548, vqa Accu 0.4324,  The valid loss is 4.5562 The losses are Mask_LM: 1.1740 Matched: 0.2241 Obj: 0.7294 Attr: 0.2575 Feat: 0.2045 QA: 1.9668  Overall Accu 0.2980, gqa Accu 0.3561, visual7w Accu 0.2016, vqa Accu 0.3650,   94%|██████████████████████████████████████████████████████████▏   | 43899/46742 [18:11:36<1:11:55,  1.52s/it

As you can see the Matched loss, obj loss and attr losses are very high for the loaded model. Although the the others are still within the range. (QA loss is also high but that is because I am loading the QA head) And I understand the losses have some noise since they were calculated only for a batch but they should still be in the range of the actual losses.

I hope this clarifies the question I was asking?

Thanks for these clarifications!
I got the reason now. In short, the number that you printed is the training loss but I showed the evaluation loss instead.
The evaluation loss is tested under the  condition model.eval here:
https://github.com/airsplay/lxmert/blob/827087bbf7b8eb4cb2b648aeb1875ded79bf4ff0/src/pretrain/lxmert_pretrain.py#L361
It thus gets rid of the randomness provided by the dropout layers.
Another thing to be noticed is that your provided loss is only the loss of a batch. A more accurate evaluation loss should be averaged over the corpus. It is solved by the function evaluate_epoch here: https://github.com/airsplay/lxmert/blob/827087bbf7b8eb4cb2b648aeb1875ded79bf4ff0/src/pretrain/lxmert_pretrain.py#L360

Hi I was only comparing the train losses between the one from the logfile and the one I printed.
But to further bring the point home, I have also printed the logfile with settings as mentioned in my earlier comment. Here is what I get: < I print both the eval loss and the train loss and for both obj and attr losses are higher>
The losses are Mask_LM: 1.2365 Matched: 0.3485 Obj: 5.3129 Attr: 3.0935 Feat: 0.2901 QA: 8.9026
Overall Accu 0.0000, gqa Accu 0.0001, visual7w Accu 0.0000, vqa Accu 0.0000,
The valid loss is 18.8215
The losses are Mask_LM: 1.2626 Matched: 0.5132 Obj: 4.2496 Attr: 3.0363 Feat: 0.2626 QA: 9.4971
Overall Accu 0.0000, gqa Accu 0.0000, visual7w Accu 0.0000, vqa Accu 0.0000,
                                                         | 1759/5246 [14:40<27:56,  2.08it/s]

Thanks for the clarification.
I think that it might because the command (as you provided above) does not load the pre-trained mode files.
name=lxmert
output=snap/pretrain/$name
mkdir -p $output/src
cp -r src/* $output/src/
cp $0 $output/run.bash

CUDA_VISIBLE_DEVICES=$1 PYTHONPATH=$PYTHONPATH:./src
python src/pretrain/lxmert_pretrain.py
--taskMaskLM --taskObjPredict --taskMatched --taskQA
--visualLosses obj,attr,feat
--wordMaskRate 0.15 --objMaskRate 0.15
--train mscoco_train,mscoco_nominival,vgnococo --valid mscoco_minival
--llayers 9 --xlayers 5 --rlayers 5
*****--fromScratch******
--batchSize 64 --optim bert --lr 0.0 --epochs 20
--tqdm --output $output ${@:2}

The command uses option --fromScratch, which means that the model will randomly intialize the weight. In order to load the weight, please use --load /path/to/pre-trained/model.

I'm also seeing something similar, the model predicted categories for objects and attributes were overwhelmingly monotonous, i.e. the predicted classes fall under just one or two classes, causing the object and attribute losses to be high. Have you ever encountered this issue of the same classes being predicted over and over?
Thanks!

Thanks. I have not checked the predicted results.  It might be related to a bug found here: https://github.com/airsplay/lxmert/issues/41. I will test it when I got enough computational resources in my hand.

Hi @airsplay

Oh, sorry about this misunderstanding. I will check it when I got some time and GPUs.

Thanks a lot to point it out. I got the reason. The released pre-training is trained with a different protocol thus need a few-step adaption to this code.
To get the same results as the log and for directly study of the pre-training, please use the new snapshots https://nlp.cs.unc.edu/data/github_pretrain/lxmert20/EpochXX_LXRT.pth provided here: https://github.com/airsplay/lxmert/issues/22#issuecomment-543364509.


Build failure under Windows 10

crypto-hash v. 0.3.1. fails to build for me. I used Windows 10 Enterprise build 17763.rs5_release.180914-1434. You can download a VM with this environment at https://developer.microsoft.com/en-us/windows/downloads/virtual-machines .
rustc output:
thread 'main' panicked at 'failed unsafe {
    CryptAcquireContextW(&mut hcp, ptr::null(), ptr::null(), PROV_RSA_AES,
                         CRYPT_VERIFYCONTEXT | CRYPT_SILENT)
}: Provider DLL failed to initialize correctly. (os error -2146893795)', C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\crypto-hash-0.3.1\src\imp\cryptoapi.rs:91:9

Does it fail to build or cause a panic at runtime?
What version of Rust are you compiling with?
v0.3.1 is not the latest version of crypto-hash. Can you please try the latest version?
Is this only with Windows 10 Enterprise? What about other versions of Windows 10?

The panic comes from custom build tooling.
A recent nightly. More details later, if you need them.
v0.3.1. is a dependency, I can't switch it out easily.
I do not know.
There is no more relevant output. I will try to build a reproduction then.

The reverse dependency is on Cargo. The Cargo binary fails to use crypto-hash. I cannot upgrade the version easily then.

I solved it. The problem was that Cargo was invoked with a clear environment. This works fine under other OSes, but not under Windows. This is a bug in the standard library (rust-lang/rust#31259).


Compatibility error with the Witching Gadgets.

Hi there,
i have an Error on start up my priv. Modpack.  It seems a compatibility error with the Mod Witching Gadgets. Log see here: Error: http://pastebin.com/Y9dSnFA0
What does this error and can this crash my Game?
My Java Version:
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
My OS is Windows 7
Thank you for your help and your amazing Mod
Bye

Can we have the full log?

Of Course, here it is: http://pastebin.com/dqTs12G2

Test without Optifine.

Hi, without Optifine I have the same error.

Can we have the full log without Optifine installed?

Hi, thanks for your help. Here ist he Log: http://pastebin.com/FQH4WHyu

Paging @BluSunrize

Doesn't seem to actually crash though does it? It's an NPE that's being caught, the instance seems to finish loading.
On a different note though, why check the clientsided dimension ID in the getIcon method? I realize this is to make ores look like endstone or netherrack, but this way that happens to overworld ores brought into the nether. Doesn't make a lot of sense to me, tbh =P

It's still an error...
And yeah, that is a good point. At the time I added that feature, it made sense, but looking back now, I guess I should set the icon based on the dimension that it was generated in.

If it's a caught error, noone cares unless it spams the log constantly And this is one that happens once as WG tries to analyze the ore's texture to generate the cluster, but it only does it once.

Since this was a getIcon thing, this is no longer an issue. Furthermore, I addressed the issue BluSunrize brought up about ore world variants a long while ago in 386f15ec177e6c393e3973c09eb9ab4431cc2fb7


possibly reckless fix for #1352

Potential fix for https://github.com/fishtown-analytics/dbt/issues/1352, which causes adapter functions that operate on Relations to (generally) fail at parse-time.
Return a phony relation (as we do with ref()) win the Parser context implementation of source().

This looks good to me. You might want to cherry-pick 9c8e088 to fix that test failure, but you could also ignore it.


Add wasm-micro-runtime submodule and get building with cmake

Bazel can be done as a separate task.

I have this working (submodule added and building with CMake) on https://github.com/scotttodd/iree/tree/wamr-setup, just waiting to send a PR until I've built out more of the code using it.


(chore) Upgrade to Apollo Server 3.x

Goal
Move with the times! 😄
Starting with a fresh branch as https://github.com/Pocket/collection-api/pull/276 has 16 commits, mostly merging main in, and another round of conflicts in package-lock.json. Arguably, this is a better implementation as I've re-read the docs on migrating to version 3 and found that we should be disabling the landing page on production - this no longer happens by default as it did with v.2: https://www.apollographql.com/docs/apollo-server/migration/
Implementation Decisions

Upgraded Apollo Server to 3.3.0 and related packages to 3.x versions as they all have to be in at once.

Upgraded @pocket-tools/apollo-utils to have a Sentry plugin that is compatible with Apollo Server 3.x

Adjusted server configs to keep the old behaviour of no landing page on production + playground in other environments (dev, local).

Successfully deployed to dev for testing.

Fantastic, thank you @jpetto!


Create range syntax: 1-3$$

This PR includes a new feature where the number of choices is random from a provided range.
It extends the quantity syntax (3$$) to optionally include a lower and upper bound (1-3$$).
The quantity of choices is randomly, uniformly selected from the interval including both bounds for each batch.
0 is a valid lower bound.
This PR also adds spaces between prompts (previously {2$$a|b} would return a,b instead of a, b). This has an impact on tokenization and may improve results (not tested).
Documentation is updated and obsolete inline documentation (for nesting) is removed.
Version is bumped to 0.3.

I may extend this to include the ability to leave out a bound or both bounds.
An omitted lower bound would be set to 0 and an omitted upper bound would be set to the number of options.
2-$$a|b|c|d would be equivalent to 2-4$$a|b|c|d.
-2$$a|b|c|d would be equivalent to 0-2$$a|b|c|d.
-$$a|b|c|d would be equivalent to 0-4$$a|b|c|d.
Thoughts? I don't know if this would be confusing.

Thanks, that's great. Re omitting the bounds, go for it - I don't think it's confusing, especially since it's an optional feature


"L" mode returns a grayscale object instead of transparency (alpha) channel

Thanks a lot for an amazing work.
I was trying to replicate this work but I have noticed that the objects returned by the following line of code is not an alpha matte (issue being with the "L" mode as it converts the image to grayscale) and this should have some serious implications on the model training. Please let me know if I am approaching it from a wrong angle or it is a mistake.
https://github.com/PeterL1n/BackgroundMattingV2/blob/eca0f27fea2436b38c8ce61d64114ad49076fa49/train_refine.py#L90
To return the alpha matte, I have implemented the following instead and it works fine
with Image.open(self.filenames[idx]) as img:
      img = img.convert("RGBA")
      img = img.split()[-1]

For our training, we don't provide RGBA png images. Rather our images are separated as RGB foreground images and Alpha images. They are put under fgr and pha directories. So when loading, the alpha image is converted to 1 channel using L mode. If you have custom datasets, you need to change the dataloader code. But L was intended and not an issue.

Understood. Thanks a lot.


SSL cert for kindscript.com is invalid

Chrome is rejecting the SSL certificate issued for kindscript.com. The error is included below:
Your connection is not private

Attackers might be trying to steal your information from kindscript.com (for example, passwords, messages, or credit cards). NET::ERR_CERT_COMMON_NAME_INVALID

Macbook Air mid 2012
OS X Yosemite : 10.10.5
1.8GHz Core i5
8GB RAM
Version 48.0.2564.116 (64-bit)

seconding this. Also the website requires HTTP basic auth username and password.  Yet the link to the website (ostensibly where the docs are located) does not work.

FYI: Firefox is the same, error is (something like) this:
The certificate is only valid for yelm.tdev.ly.
(error code: ssl_error_bad_cert_domain)

This is crucial for language adoption (especially with beginners).  Once fixed, place a copy of the link in the readme.md too.  And at least one screenshot of the app showing example code.

Graeme Wicksted,
You should probably create a separate issue for your documentation
requests. Fixing the SSL cert doesn't require anything be done with the
links and screenshots.
Sage
On Sunday, March 20, 2016, Graeme Wicksted<EMAIL_ADDRESS>wrote:

This is crucial for language adoption (especially with beginners). Once
fixed, place a copy of the link in the readme.md too. And at least one
screenshot of the app showing example code.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/kindscript/issues/12#issuecomment-198942713

@sagevann Sorry for hijacking like that!  It was not my intention.  I have adjusted my comment to reflect my impression of the issue and why I feel this ticket is important ... instead of suggesting a completely unrelated course of action!  I hope for the sake of this project it can be resolved quickly.

The SSL cert is fixed (for a few days now). Thanks!
We'll take off the password once we're ready for more main-stream use.


Inner Product For Large numbers

Hello,
I am performing some cryptographic operations where I need to obtain the inner product of two vectors. This inner product can potentially be a very large number. Based on the comments in #138 , I have implemented an algorithm that computes the inner product based on CKKS encode as follows:

Encode vectors v1 and v2 using a CKKS encoder (following the example given in 2_encoders.cpp).

Encrypt the two encoded vectors to obtain the ciphertexts c1 and c2.

Multiply c1 an c2 (results in component wise multiplication). Relinearize the result.

Perform rotations to get the sum of the values in each position.

Decrypt the resulting ciphertext.

Decode the resulting plaintext.

The issue I am facing is that encoder.decode() decodes the plaintext and stores the resulting vector as a vector of doubles say v3 (i am not concerned with complex numbers). Based on my algorithm, the value in the first position of v3 is the inner product of v1 and v2. This works fine if the inner product can be represented as a double. However, I am dealing with large numbers where the inner product itself is a 2048 bit number which cannot be stored as a double.  As a consequence, I end up with an incorrect result. So far, I have used the GMP library to represent my two input vectors and the output as vector<mpz_t> and mpz_t respectively. But using type mpz_t does not seem to be compatible with SEAL (decode expects vector<double>).
The reason I am using CKKS is because it allows us to deal with the case where the plaintext can grow to be quite large. Am I doing something wrong? What is the correct way to extract the data from the plaintext in general (getting back the original number after converting it to plaintext)? Also, is there a more efficient way to compute the inner product for vectors whose size is not a power of two? I would really appreciate any suggestions. Thanks!

Theoretically, CKKSEncoder encodes a vector of real numbers (or complex numbers) to a plaintext polynomial with real (or complex) coefficients, or decodes backwards. Let's say that, after encoding or right before decoding, one of the plaintext's coefficients is a. You use s as the scale and q as the coeff_modulus for encryption or decryption. To ensure (approximate) correctness, a*s < q must be true. Although a does not have the same size of the real numbers in the original vector, they are similar in size. In your case, since q is less than 2048-bit, your computation is not correct before decoding, which means double is not the cause of your issue.
Suppose that a very large q is used to ensure correctness, and the inner product you want to get has 100 bits before the decimal point. Decoding will preserve roughly the most significant 53 bits, because double was used.
We usually take advantage of the CKKS scheme to discard insignificant bits. Keeping a high precision was not our intention. You can always create a customized interface to GMP's multi-precision types, which requires implementing encoding and decoding with GMP's multi-precision methods.
If you do not want to discard lower bits, you should consider the BFV scheme, although 2048-bit still requires a very large q.

Also, is there a more efficient way to compute the inner product for vectors whose size is not a power of two?

Either pad zeros to create power-of-two sizes, or find another algorithm to sum up all slots with the minimum number of rotations (of power-of-two offsets).

Thank you for the reply. I will look into implementing the encoding/decoding based on GMP.


d3 version 7.8.0 support

Hi all,
we must upgrade d3 to from version 4.3.0 to version 7.8.0.  We are currently using D3 in 4 tools.
In one tool we are using dimple v2.3.0 and it is doing great. Unfortunately with the new d3 v7x and dimple v2.3.0 the following code is not working any more:
`
this.getTooltipText = function (e) {
        var rows = [];

        // Add the series categories
        if (this.categoryFields !== null && this.categoryFields !== undefined && this.categoryFields.length > 0) {

            this.categoryFields.forEach(function (c, i) {

                if (c !== null && c !== undefined && e.aggField[i] !== null && e.aggField[i] !== undefined) {

                    // If the category name and value match don't display the category name
                    rows.push(c + (e.aggField[i] !== c ? ": " + e.aggField[i] : ""));

                }

            }, this);

        }

`
Variable e is now containing a mouse event so  e.aggField is undefined.
It would be great if you could help - thank you & greetings :)

ok issue is resolved - I had to write my own getTooltipTextLines() function which overrides the original function of dimple. I although had to override d like this:
`
/**
* Function to overwrite the standard tooltip function
*
* @param {string} containerId
*
* @returns {Function}
*/
function getTooltipTextLines(containerId)
{
return function (d) {
var tooltipLines = [];
var d = d['srcElement']['data'];
            if (d.aggField[0] === 'Bad') {

...
}
`


[New chain]: Harmony Testnet

Chain Name
Harmony Testnet
RPC URL
https://api.s0.b.hmny.io
The chain must be added to https://chainlist.org/

[X] I confirm that the chain is added to chainlist

After creating the issue, a bot will estimate the required pre-fund and post it in the comments. Please check this checkbox after you send the pre-fund.

[ ] I sent the pre-fund in accordance with Github Action's comment

Relevant information
No response

Note: this issue is missing some important information (i.e. which harmony shard and the chain id)

Chain is already supported


Is the site "animeheaven.eu" considered under copyright infringement?

Is the site "animeheaven.eu" considered under copyright infringement?
If yes please go ahead and close this issue. Thank you.
Otherwise please conseder this a site request.

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.12.03. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2018.12.03

Before submitting an issue make sure you have:

[X] At least skimmed through the README, most notably the FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones
[X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[X] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[X] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://animeheaven.eu/watch.php?a=Qualidea%20Code']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.12.03
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg 3.4
[debug] Proxy map: {}
[generic] watch: Requesting header
WARNING: Falling back on generic information extractor.
[generic] watch: Downloading webpage
[generic] watch: Extracting information
ERROR: Unsupported URL: http://animeheaven.eu/watch.php?a=Qualidea%20Code
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpflqtkr62\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpflqtkr62\build\youtube_dl\extractor\common.py", line 508, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpflqtkr62\build\youtube_dl\extractor\generic.py", line 3318, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://animeheaven.eu/watch.php?a=Qualidea%20Code
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://animeheaven.eu/watch.php?a=Qualidea Code&e=9
Playlist: http://animeheaven.eu/i.php?a=Qualidea Code [Don't think this would be considered as a valid play list but still!]

Thank you!

definetely illegal

and there is already a download function


Add Support for MCS

References:
https://aws.amazon.com/mcs/pricing/
https://aws.amazon.com/blogs/aws/new-amazon-managed-apache-cassandra-service-mcs/
don’t know if AWS has already cameout with the SDK for MCS but i was unable to find one in the below link.
https://registry.terraform.io/providers/hashicorp/aws/latest/docs
There is an outstanding request from Terraform as well, https://github.com/hashicorp/terraform-provider-aws/issues/11221
If needed we can put this ticket in backlog.

@shomeprasanjit thanks! Unfortunately infracost can't support it until Terraform supports it but it's good to have the issue here so users can 👍 it here or there...


Core: Added support for language ids in inside

This implements the addition to core described in #2948.
The basic idea is that the inside property of grammar tokens should allow language ids (strings) to make it easy to embed other languages and to create recursive languages. This is a relatively common problem and the solutions we have right now aren't pretty.
This is a breaking change because this PR changes the type definition of a grammar. Code relying on grammars having this specific shape will break.

I did not change any existing languages to use the new feature in this PR. We can still do this after merging this one.

but I would want to see a minimal example in a test ideally.

Good point. I added a test case that checks the behavior of a minimal grammar.

@RunDevelopment anything preventing this from being merged? I think it'd be a cool release for v1.29 :)

@RunDevelopment ignore my previous comment - I misread non-breaking change instead of breaking-change.
Should we start a separate branch for v2.0 and start to get these merged? :)

Implemented in v2.


Add kotlin comments to Development Alternatives

It mention Scala but not Kotlin witch is a better alternative in most cases for android in my experience.

Failure is not related to this PR
https://github.com/JStumpp/awesome-android/pull/134


Postpone new version notification until next version

As the title says, it just repeatedly shows me a notification about the availability of new version that (in this specific case) seems for me useless and I don't want to update right now.
What a pity to have this kind of notification instead of just having it in some kind of repository.
OS: Linux (.deb)

Hi there,
you can disable new version notification in settings file: https://github.com/hovancik/stretchly#new-version-notification and https://github.com/hovancik/stretchly#advanced-settings
There is no repo as I don't know how to do that and unfortunately have no time to research it as there are many packages with different architectures for repos

Wait, don't close. You said only about disabling notifications at all, but my request about postponing notification, so I can skip one single update but for next updates, I would get a notification.
I understand about time, so at least would be nice to see that in the to-do list.

Ok 👍

Hi, it's been few years and I don't see this happening, so closing. Sorry.


No error when passing readonly object in mutation function

Bug Report
🔎 Search Terms
function readonly parameter bug
🕗 Version & Regression Information

Tried 3.x and latest version in playground
⏯ Playground Link
Playground link with relevant code
💻 Code
interface TestObject {
  value: number
}

function testMutation(a: Readonly<TestObject>) {
  var immutableA = a;
  var mutableA = { ...a };
  mutableA.value = 2; // works, that's expected
  mutateA(mutableA); // works, that's expected
  immutableA.value = 2; // error, that's expected
  mutateA(immutableA); // works, that's not expected !!!
}

function mutateA(a: TestObject) {
  a.value = 3;
}

Duplicate of #13347.


@conda-forge-admin, please add bot automerge

@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/geoparse-feedstock#2.


Pornhub playback broken: Missing video url

Description
When I try to play this https://www.pornhub.com/view_video.php?viewkey=ph5fc5ef73cfc87, it returns "Video url missing on playback page". Full logs here
2022-03-02 09:49:05.397  INFO 23020 --- [  XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://www.pornhub.com/view_video.php?viewkey=ph5fc5ef73cfc87"
2022-03-02 09:49:05.917  INFO 23020 --- [er-2-thread-160] lavalink.server.player.AudioLoader       : Loaded track Tons of hard cobs getting grabbed
2022-03-02 09:49:06.258  INFO 23020 --- [   XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"938025248610201620","track":"QAAAmwIAIVRvbnMgb2YgaGFyZCBjb2JzIGdldHRpbmcgZ3JhYmJlZAAJcG9ybmh1YnR2AAAAAAAALuAAD3BoNWZjNWVmNzNjZmM4NwABAD5odHRwczovL3d3dy5wb3JuaHViLmNvbS92aWV3X3ZpZGVvLnBocD92aWV3a2V5PXBoNWZjNWVmNzNjZmM4NwAHcG9ybmh1YgAAAAAAAAAA"}
2022-03-02 09:49:07.087 ERROR 23020 --- [ck-1-thread-186] c.s.d.l.t.p.LocalAudioTrackExecutor      : Error in playback of ph5fc5ef73cfc87

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Video url missing on playback page
        at com.dunctebot.sourcemanagers.pornhub.PornHubAudioTrack.loadMp4Url(PornHubAudioTrack.java:164) ~[skybot-lavalink-plugin-1.3.3.jar!/:na]
        at com.dunctebot.sourcemanagers.pornhub.PornHubAudioTrack.loadFromMediaInfo(PornHubAudioTrack.java:93) ~[skybot-lavalink-plugin-1.3.3.jar!/:na]
        at com.dunctebot.sourcemanagers.pornhub.PornHubAudioTrack.getPlaybackUrl(PornHubAudioTrack.java:51) ~[skybot-lavalink-plugin-1.3.3.jar!/:na]
        at com.dunctebot.sourcemanagers.Mp3Track.loadStream(Mp3Track.java:54) ~[skybot-lavalink-plugin-1.3.3.jar!/:na]
        at com.dunctebot.sourcemanagers.Mp3Track.process(Mp3Track.java:49) ~[skybot-lavalink-plugin-1.3.3.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:104) ~[lavaplayer-fork-1.3.97.jar!/:na]
        at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:348) ~[lavaplayer-fork-1.3.97.jar!/:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[na:na]
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[na:na]
        at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
        Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation:
  lavaplayer.version: 1.3.97-original
  os.arch: amd64
  os.name: Linux
  os.version: 4.19.0-18-amd64
  java.vendor: Azul Systems, Inc.
  java.version: 17.0.2
  java.runtime.version: 17.0.2+8-LTS
  java.vm.version: 17.0.2+8-LTS

2022-03-02 09:49:07.449  INFO 23020 --- [   XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"stop","guildId":"938025248610201620"}

This is my application.yml, this should be correct ig

Version info
Client used: erela.js
Client Code: https://git.darrennathanael.com/DarrenOfficial/DiscordMusic
Output of java -version:
openjdk version "17.0.2" 2022-01-18 LTS
OpenJDK Runtime Environment Zulu17.32+13-CA (build 17.0.2+8-LTS)
OpenJDK 64-Bit Server VM Zulu17.32+13-CA (build 17.0.2+8-LTS, mixed mode, sharing)

I cannot reproduce this issue on version 1.3.3, the following code helped me test it
public class PHtest {
    public static void main(String[] args) throws Exception {
        final var link = "https://www.pornhub.com/view_video.php?viewkey=ph5fc5ef73cfc87";
        final var mngr = new PornHubAudioSourceManager();

        final var track = (PornHubAudioTrack) mngr.loadItem(null, new AudioReference(link, null));

        System.out.println(
            track.loadFromMediaInfo() // private method, reflection was used to access it
        );
    }
}

I cannot reproduce this issue on version 1.3.3, the following code helped me test it
public class PHtest {
    public static void main(String[] args) throws Exception {
        final var link = "https://www.pornhub.com/view_video.php?viewkey=ph5fc5ef73cfc87";
        final var mngr = new PornHubAudioSourceManager();

        final var track = (PornHubAudioTrack) mngr.loadItem(null, new AudioReference(link, null));

        System.out.println(
            track.loadFromMediaInfo() // private method, reflection was used to access it
        );
    }
}

Is it possible that the issue happen because I'm using IPv6 address?

It is possible that the cookies sent by pornhub are invalid if you are rotating over the IP. But that would not be something I have configured


Fix Unreal Engine 5.1 bug

Preprocessor 'PLATFORM_XBOXONE' got removed in the lastest Unreal Engine 5.1
Please fix ImGuiImplementation.cpp at line 10
https://github.com/segross/UnrealImGui/blob/e00a13361794e7523a86183985e1f6168197b997/Source/ImGui/Private/ImGuiImplementation.cpp#L10-L14

https://github.com/IDI-Systems/UnrealImGui now supports Unreal Engine 5.1 and 5.2.


added beautifully desgin culinary experience page

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
@khushi-joshi-05
[Feat] : Add Personalized Culinary Experiences page #1241
close #1241
Description
[Please include a brief description of the changes or features added]

added beautiful Personalized Culinary Experiences page
add some styling
make it responsive

Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

@khushi-joshi-05
kindly review this and inform me if you need any modifications

@khushi-joshi-05
kindly review this and inform me if you need any modifications

@khushi-joshi-05
kindly review this and inform me if you need any modifications

@khushi-joshi-05
kindly review this and inform me if you need any modifications

@sunny0625
Kindly please check this and merge it
And add level

@sunny0625
Kindly please check this and merge it
And add level

@sunny0625
Kindly please check this and merge it And add level

Tag @khushi-joshi-05, not me!

@khushi-joshi-05
kindly please check this and merge it

@khushi-joshi-05
kindly please response
check this and merge it

@khushi-joshi-05
Please add level

@khushi-joshi-05
Kindly please add level
I completed whole page

@sunny0625
please add level


if you had file tree open in a project, then go home, open new project, file tree still open instead of code pane

would expect instead:

file tree open in a project
go home
open other project
code pane open in project, file tree hidden

will eventually want a tauri test for this

This is the intended behavior currently, because we persist the currently-opened tabs within localStorage. I'm not certain that we should make the code pane always default to open for two reasons:

We have the goal of not requiring the code pane be open to fully use the app
Users who are browsing around their projects and the files within would probably prefer the file pane they had open continue to be open


Resizing windows abruptly offsets spectrogram wrong in inspector

I can't seem to get this bug to replicate anymore, I think it might have been fixed by accident sometime in last 2 weeks

nvm figured out how to replicate, it's very specific(and now fixed)


combining flags doesn't seem possible

Combining flags doesn't seem possible since each flag is a class where or operator seems to fail     bimpy.begin("Hi", flags=bimpy.WindowFlags.AlwaysAutoResize  | bimpy.WindowFlags.NoTitleBar)
is there another way to do this?

my guess is that all combinable flags (not just WIndowFlags) need `py:arithmetic() parameter added in the enum definition, for example source should change to:
	py::enum_<ImGuiWindowFlags_>(m, "WindowFlags",  py:arithmetic())

Thanks for reporting! Fixed in ab32019b52a564606c05a02e54a47c8e44eb3784


where to download the latest minigo v16 weight files ?

https://github.com/leela-zero/leela-zero/issues/2183#issuecomment-459962389

The updates on
https://console.cloud.google.com/storage/browser/minigo-pub/v16-19x19/models/
seems stop?

We push updates manually. I repushed models this morning so everything up to ~950 should be synced

Thank you Seth!


The remote endpoint could not be called, or the response it returned was invalid.

I am very new at developing with alexa. I followed to tutorial but when I get into the testing section it gives me an error:
The remote endpoint could not be called, or the response it returned was invalid.
Don't know what I did wrong - the arn is copied correctly.
I'm following the tutorial here: https://developer.amazon.com/alexa-skills-kit/tutorials/fact-skill-4

I'm working through this tutorial tonight and can confirm that I'm getting the same error on the testing section.

Looks like tonight (06/22/2017) the Virginia server is experiencing issues:
https://status.aws.amazon.com/
I just tried a separate tutorial (https://github.com/alexa/skill-sample-nodejs-howto) and selected the Ireland service center and got passed the testing phase.

Thanks, should of checked there.

I am still facing the same issue in both N. Virginia and Ireland

Are you sure? I just checkedstatus.aws.amazon.com and it looked all right.

Yup - I am sure. This is the error I am getting as per my cloudwatch logs:
2017-06-25T17:21:41.029Z c0c17851-59ca-11e7-b02a-b1b3a688e889
{
"errorMessage": "No 'Unhandled' function defined for event: Unhandled",
"errorType": "Error",
"stackTrace": [
"AlexaRequestEmitter.EmitEvent (/var/task/node_modules/alexa-sdk/lib/alexa.js:194:15)",
"AlexaRequestEmitter.ValidateRequest (/var/task/node_modules/alexa-sdk/lib/alexa.js:160:23)",
"HandleLambdaEvent.i18n.use.init (/var/task/node_modules/alexa-sdk/lib/alexa.js:113:29)",
"/var/task/node_modules/alexa-sdk/node_modules/i18next/dist/commonjs/i18next.js:190:9",
"done (/var/task/node_modules/alexa-sdk/node_modules/i18next/dist/commonjs/i18next.js:281:21)",
"/var/task/node_modules/alexa-sdk/node_modules/i18next/dist/commonjs/i18next.js:302:7",
"I18n.loadResources (/var/task/node_modules/alexa-sdk/node_modules/i18next/dist/commonjs/i18next.js:238:7)",
"I18n.changeLanguage (/var/task/node_modules/alexa-sdk/node_modules/i18next/dist/commonjs/i18next.js:301:10)",
"load (/var/task/node_modules/alexa-sdk/node_modules/i18next/dist/commonjs/i18next.js:186:14)",
"I18n.init (/var/task/node_modules/alexa-sdk/node_modules/i18next/dist/commonjs/i18next.js:195:7)"
]
}

I tried adding sessions handler as suggested in this:
https://github.com/alexa/skill-sample-nodejs-calendar-reader/issues/6
var newSessionHandlers = {
'LaunchRequest': function () {
this.handler.state = states.SEARCHMODE;
this.emit(':ask', skillName + " " + welcomeMessage, welcomeMessage);
},
'Unhandled': function () {
this.emit(':ask', HelpMessage, HelpMessage);
}
};
But still getting the same error

In the developer console go to the testing page for your skill and follow the instructions to test it. When you click ask [your skill name] does it return The remote endpoint could not be called, or the response it returned was invalid.?

Yes - that is what is returns. In the developer console I am going to the testing page for the skill and then following the instructions.
I am getting the error - The remote endpoint could not be called, or the response it returned was invalid.

On Sun, 25 Jun 2017 23:34:29 -0700
swapnilsaykar<EMAIL_ADDRESS>wrote:

Yes - that is what is returns. In the developer console I am going to
the testing page for the skill and then following the instructions.
I am getting the error - The remote endpoint could not be called, or
the response it returned was invalid.

Are you sure? Every thing looks good.

Was this issue resolved? Having the same issue

Same for me as well...

I am getting the same error.

Check what the skill is returning. If something is off in the response, then Alexa won't like it. Test the skills response in the AWS console.

In Lambda, check timeout value (basic setting >> timeout).
When I used default 3 secs, I got the same error. When I changed to 30 secs, it works.
Maybe it need more time to load the 1st time or 3 secs is just not enough.

I'm having this issue too. The solutionby @lawardy didn't solve my issue.
I am getting this issue from following both the fact and trivia skill tutorials. I have followed these before and having workings skills for both of these. My recent skills, following the same tutorials, all show this error. I have also tried to change the default endpoint of my broken skills to one of the skills that does work's lambda but it still shows the same issue. Which is why I don't think the issue is with the aws lambda part.

I've given up on using this and have switched entirely to flask-ask. This is far the best (in my opinion) sdk.

I can confirm I have this same issue.

Hi - I was getting this error but it was because the name that I gave my intent in the skills builder did not match the js example for lambda. Namely, GetNewFactIntent -- you must name the intent in the skills builder to be exactly the same (or alternatively, change this line in the lambda code example [currently, it's line 112]). Just figured I would add this since I was getting the same error in case it helps someone else.

That worked for me!
Thanks so much!

@ConorMatthews How did you fix this??

@nstajduhar I followed @melrom instructions because it was calling an intent list that was not there because when setting the intents up i did not follow the instructions advice to call it GetNewFactIntent, but called it otherwise. In the code it tries to call GetNewFactIntent however it was not named that so you need to go into your code and change GetNewFactIntent to whatever you called your intent list.
Hope this helps

@ConorMatthews where is this GetNewFactIntent? I have no clue where to find that

@nstajduhar if you go to the example code where you changed the facts, on line 112 there should be the code, just change that.
Alternatively change your intent lists name to GetNewFactIntent

@ConorMatthews facts? I didn't come across that? Can you link a screenshot

Are you using https://developer.amazon.com/alexa-skills-kit/tutorials/fact-skill-1 as a starting point?
If not try it

That is a tutorial made by amazon

I have done all this but I don't see anywhere with a line number 112

@ConorMatthews nvm I got it now thanks!

@ConorMatthews  How did it get fixed. Can you help me with this?

The remote endpoint could not be called, or the response it returned was invalid.

@soundarsurya @Juresse  This error can be for couple of reasons as per my experience with Alexa skill set

Once it was because the name that I gave my intent in the skills builder did not match the js example for lambda
In Lambda, check timeout value (basic setting -> timeout). When I changed to 10 secs, it works.

@naik899 thanks for the response.
i have changed the execution time but i am getting the same?
have any other way to fix??
?

I have increased the execution time but seems to be the same error.
then i leave that and choose HTTP option instead AWS lamba.
On Wed, Apr 11, 2018 at 3:51 PM, Dmitry Grinko<EMAIL_ADDRESS>wrote:

Guys, you should increase time and use HTTPS instead HTTP. Hope it helps
someone.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexa/skill-sample-nodejs-fact/issues/26#issuecomment-380403128,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ahe8vNCNE4jQ2csOaT_6qsuY3Su5flvUks5tndlCgaJpZM4ODENV
.

@soundarsurya Are you still experiencing a problem?  I took a look at the history and I'm not sure what you're experiencing.  I have not seen this (unmodified) sample hit the timeout threshold, so I would lean towards something else.  However, since this sample has been updated, you have a few options - start over with the latest code which uses the new version of the SDK, use the Serverless Application Repository in AWS Lambda to create the skill backend code, or continue troubleshooting this.  LMK what you prefer.

What I'm experiencing problem is: when I call from Alexa skill test it
shows "the remote endpoint could not be called".
I have checked and changed execution time of code but still I'm getting the
same.
On May 3, 2018 4:47 PM, "franklin-lobb"<EMAIL_ADDRESS>wrote:

@soundarsurya https://github.com/soundarsurya Are you still
experiencing a problem? I took a look at the history and I'm not sure what
you're experiencing. I have not seen this (unmodified) sample hit the
timeout threshold, so I would lean towards something else. However, since
this sample has been updated, you have a few options - start over with the
latest code which uses the new version of the SDK, use the Serverless
Application Repository in AWS Lambda to create the skill backend code, or
continue troubleshooting this. LMK what you prefer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexa/skill-sample-nodejs-fact/issues/26#issuecomment-386262155,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ahe8vAYII9xmoqtKEBSDtqtNiggMaUHVks5tuuc0gaJpZM4ODENV
.

Is the endpoint a Lambda function or an SSL endpoint?  If it's a Lambda endpoint, I would check to confirm the full arn is present and correct in the skill endpoint configuration (with no extra spaces), the Lambda function has the Alexa Skill Kit trigger and the Skill ID verification in the trigger is either not enabled, or is set to the correct skill id.
  If so, can you add some detail about your configuration?  http endpoint or Lambda?  if http, what kind of certificate are you using?  Do your server logs show any sort of activity?  If Lambda, does Alexa have permission to invoke your Lambda function?  Are there any entries at all in the CloudWatch log?

closing due to age


add docs about how to contribute via a fork

as suggested by @acbauer -- for folks that aren't part of the visit team github and don't have direct write perms

GitHub provides two great articles about how to create a fork and how to create pull requests to another repo via that forked repo:
https://help.github.com/en/articles/fork-a-repo
https://help.github.com/en/articles/creating-a-pull-request-from-a-fork
I've added a note in the pr_create page citing these two resources.


getting error when generating the book

Generating a book with 2 chapters, 200 words per chapter, topic "How can I stay motivated" and category "SelfImprovement" in english.
Initializing..
Traceback (most recent call last):
File "C:\Users\adria\BookGPT\src\run.py", line 121, in
main()
File "C:\Users\adria\BookGPT\src\run.py", line 93, in main
book = Book(chapters, words, topic, category, language)
File "C:\Users\adria\BookGPT\src\book.py", line 56, in init
self.structure = self.get_structure()
File "C:\Users\adria\BookGPT\src\book.py", line 167, in get_structure
word_count = paragraph.split('---')[1]
IndexError: list index out of range

This error occurs, when gpt-3 does not adhere to the format templates (Happens maybe 1 in 500 generations). Just regenerate with the same attributes. In the near future I will add fine tuning to the bot, so that these errors don't happen.
Hope this helps!


inputdialog broken in snapshot 81 82

I'm using https://github.com/othree/xml.vim. When using the latest version of macvim, there's no input field, it works fine when I use snapshot 77.
MacOS version is El Capitan.

How to reproduce
:let a = inputdialog('test')

thank you for the report


How to compare two JSON objects?

I have default app settngs in JSON object DefaultSettings and I'm parsing current app settings from file Config.json (ifstream). How to compare indexes from Settings with indexes in DefaultSettings? Does library have functions for this? I tried to compare with iterator_wrapper but he's deprecated.

For example, i have this JSON string and parsing it. Let this JSON will be a Settings. Settings string I'm getting from file.
{   "Value1": 4,   "Value3": "Hello" }
And this string will be DefaultSettings.
{   "Value1": 4,   "Value2": true,   "Value3": "Hello" }
So, in the DefaultSettings i have three values, but in Settings only two. And when I will use Settings["Value2"] it will generate an exception. For fix it, I want to compare indexes and their values after parsing. Now I'll try to use items(), thanks...

The update function could be handy for you:
// start with a copy of the default settings
json s = DefaultSettings;
// overwrite all default settings with those given in Settings
s.update(Settings);

Assume Settings is {"Value1": 100} and DefaultSettings like above. Then the result would be s =  {"Value1": 100, "Value2": true, "Value3": "Hello" }.

Big thanks.

@zkelo FWIW: for a larger use cases you might consider using JSON-schemas for validating JSON objects.


Add Release Drafter for the repository

Current Situation
Each of the layer5 repositories needs releaseDrafter automation as had been done in the meshery project which takes care of drafting release notes.
Desired Situation
Add ReleaseDrafter configuration yaml file & GitHub Action.

Additional context
ReleaseDrafter Configuration File
ReleaseDrafter GitHub Action

Contributor Resources
See layer5 contributing instructions

Hey @comurule would you like to get started with this? 😊


Create a README.MD for Pocket-Chat

In the root Pocket-Chat directory, create a README providing an overview and as well as link to  the Pocket-Chat tutorials on the developer portal on how we implemented  pocketSwift,Android, and JS.

Pocket Chat is our way of chat-room texting on the blockchain. We have created a chatroom(via Smart Contract) on the Aion and Ethereum test networks that allows you to talk to any users connected to it.
It is built utilizing the Pocket Core MVP to dispatch and relays the requests to its desired network.
If you are an early tester and want to give Product Feedback.
Please create an issue within this github repo utilizing the label "Product Feedback", write a concise description of the problem or idea. If you can add a screenshot that will be more helpful.
The issues will curate development backlog for the team to get to when time permits.
The Pocket Core team is now focused on delivering the Testnet release so non-trivial updates to Monster Chase may take additional time. Since the code is open source anyone who would like to contribute to feature adds or updates is welcome too.
To learn how we were able to use the PocketSwift, Android, and JS SDKs inside Pocket-Chat, click here to visit out developer portal.
If you have any questions, feel free to reach out to Pockets support team on Discord.


Errors calling Goneovim commands during initialization

I don't know whether this is an issue--maybe only a question.
I define some vim functions that configure the goneovim window.  Some of these functions calls the new GonvimWinPos command.  The commands work if I entered them at at the : prompt.  However, they usually won't work in my initialization script .vim/vimrc.  If I put the line Code in .vim/vimrc, I two similar errors.  The first is "E492: Not an editor command GonvimWinpos 400 0" from this script, which is called from .vim/vimrc:
function! Tall()
	set lines=59
	GonvimWinpos 400 0
endfunction
function! CodeWide()
	set columns=100
	call Tall()
	GonvimWinpos 980 0
endfunction
command! Code call CodeWide()

However, if I enter Code at the : prompt, it always works.
I don't always get the error!  Sometimes columns gets set to 100, and the window is moved to the correct position, but the lines are not set to 59.
Is there a special way to call goneovim commands during initialization?  (Could there be a race conditions, since it works sometimes??)
Thanks!

@mars0i
Hi :)
Thanks for the issue report!
Goneovim registers Goneovim's own commands and functions necessary for command execution with neovim at startup. The problem may be a timing issue between this registration process and the vimrc loading process in startup.
One solution is to run your vimscript with Ginitvim in settings.toml. Ginitvim is run after the Goneovim initialization process so timing issues do not arise.
[Editor]
# ...
Ginitvim = '''
function! Tall()
	set lines=59
	GonvimWinpos 400 0
endfunction
function! CodeWide()
	set columns=100
	call Tall()
	GonvimWinpos 980 0
endfunction
command! Code call CodeWide()

Code
'''

Thanks @akiyosi .  That's exactly what I wanted to know.  Trying that out now.  Since the behavior wasn't entirely consistent, I'll wait to see after I run Goneovim several times.

The Code command is consistently being executed from settings.toml.  It works the same way whether I define CodeWide() directly in the Ginitvim block, or source it in another file.  I can also just put the commands I want directly into the Ginitvim block, i.e.
Ginitvim = '''
GonvimWinpos 980 0
set columns=100
set lines=66
'''

However, there is one odd thing.  GonvimWinpos is executed, and set columnes=100 is executed, but set lines=66 is not.  If I then enter Code at the : prompt, the set lines command is executed.  Also if I add sleep 1 before set lines in settings.toml or in the script file that I source from there, then set lines=66 is executed (after a pause, of course).  Maybe set lines needs something that's not yet loaded at first?  I don't know.  This is not a big problem for me, but I thought I should mention it.

If I add sleep 100m, set lines works, and the delay is not noticeable to me.  So my problem is solved--though the issue is interesting.

That was on a Macbook Pro.  On my Macbook Air, no sleep is needed--maybe because the computer is slower.  (It also uses a different MacOS version, but it seems unlikely that that would matter.)

@mars0i
I imagine that in a fast-processing computer, these commands are instantaneously transmitted to the OS window management system, but there are layers where they are processed asynchronously, so that one may be ignored at certain times.


Interoperability between std::any and sol::object

I am currently porting over a project of mine from a custom Lua C++ wrapper to sol2. This custom wrapper used std::any to allow passing arbitrary values to and from Lua without knowing their explicit types. This was convenient, because my event dispatching system also uses std::any, so I could directly send the std::any I got form an event straight to Lua, and the wrapper would take care of dispatching the content of the std::any to the most appropriate Lua type. The implicit contract was that, in this case, the std::any was expected to only ever contain basic numeric types, booleans, and strings [*].
I think the closest equivalent in sol2 is sol::object, which fulfils about the same need, however there are some important differences. As far as I can tell, the biggest one is that the ownership model is different: sol::object has reference semantic, and shared ownership of the underlying value (since the value is actually stored in the Lua memory space, and the object just keeps a reference to it). In contrast, std::any has value semantic and single ownership. This means I cannot use sol::object where I would normally use std::any (i.e., in my event dispatcher system).
There's also no built-in way to convert one to another, that I can see. I would need to add a function like this:
sol::object to_sol_object(sol::state& lua, const std::any& a) {
    if (!a.has_value()) return sol::make_object(lua.lua_state(), sol::lua_nil);

    const auto& type = a.type();
#define TRY_TYPE(T) if (type == typeid(T)) return sol::make_object(lua.lua_state(), std::any_cast<T>(a))
    TRY_TYPE(bool);
    TRY_TYPE(char);
    TRY_TYPE(unsigned char);
    TRY_TYPE(short);
    TRY_TYPE(unsigned short);
    TRY_TYPE(int);
    TRY_TYPE(unsigned int);
    TRY_TYPE(long);
    TRY_TYPE(unsigned long);
    TRY_TYPE(long long);
    TRY_TYPE(unsigned long long);
    TRY_TYPE(float);
    TRY_TYPE(double);
    TRY_TYPE(std::string);
    // etc, possibly adding support for more basic types and other sol types
#undef TRY_TYPE

    throw std::runtime_error("unsupported type"); // or your favorite error-reporting mechanism
}

And then the other way:
std::any from_sol_object(const sol::object& o) {
    if (o == sol::lua_nil) return std::any();

#define TRY_TYPE(T) if (o.is<T>()) return o.as<T>()
    TRY_TYPE(bool);
    TRY_TYPE(char);
    TRY_TYPE(unsigned char);
    TRY_TYPE(short);
    TRY_TYPE(unsigned short);
    TRY_TYPE(int);
    TRY_TYPE(unsigned int);
    TRY_TYPE(long);
    TRY_TYPE(unsigned long);
    TRY_TYPE(long long);
    TRY_TYPE(unsigned long long);
    TRY_TYPE(float);
    TRY_TYPE(double);
    TRY_TYPE(std::string);
    // etc, possibly adding support for more basic types and other sol types
#undef TRY_TYPE

    throw std::runtime_error("unsupported type"); // or your favorite error-reporting mechanism
}

I understand the scope of std::any and sol::object isn't the same, so I'm not suggesting replacing one with the other. But I was wondering if there was a plan, or interest, in adding first-class support for std::any in sol2? Maybe you know of a more clever way to do this than the naive functions above.
[*] : This type of contract could also be fulfiled by std::variant, which perhaps makes the task easier. I see that sol2 already supports std::variant, so perhaps it's just that std::any is too unconstrained a type to be supported generically by sol2...

so perhaps it's just that std::any is too unconstrained a type to be supported generically by sol2...

This is, in fact, exactly why I can't support it.  This is only something your code can do: the best I can do is -- as is already happening -- transport the value (std::any) exactly as-is.
For your purposes, it might make sense to unravel to the type and just push the actual value from C++ into Lua. Then, you can retrieve it using a std::variant<Types, You, Care, About>, which is -- as you noted -- already supported in sol2!
Let me know if you need any hints or pointers.

Thank you! I will drop std::any and use std::variant, since that makes the contract more explicit. Really glad to see it supported out of the box :) sol2 is a really nice library, thanks for your efforts!


Update to Serde 1.0

Here are the release notes: https://github.com/serde-rs/serde/releases/tag/v1.0.0

Thanks for the reminder!


[CT-2291] {{ this }} not using custom generate_alias_name when called in a sql header

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
(Note I believe this may be related to: https://github.com/dbt-labs/dbt-core/issues/2793)
When trying to set a variable in a sql header block like so:
{%- call set_sql_header(config) -%}
    declare max_date date default (
      select max(date_) from {{ this }} where date_ is not null and date_ >= '2023-01-01'
    );
{%- endcall %}

{{ this }} is not respecting the custom generate_alias_name  logic that I've created to strip the schema prefix from my models:
{% macro generate_alias_name(custom_alias_name=none, node=none) -%}
    {%- if custom_alias_name is not none -%}
        {{ return(custom_alias_name | trim) }}
    {%- elif node.schema == node.name.split('__')[0] -%} {# remove name prefix if it matches schema #}
        {{ return(node.name.split('__', maxsplit=1)[1]) }}
    {%- else -%}
        {{ return(node.name) }}
    {%- endif -%}
{%- endmacro -%}

(Note: I only need this custom alias macro because dbt needs unique file names and doesn't respect folders in model naming).
here is an example sql query I'm using:
{{
    config(
        materialized='incremental',
        incremental_strategy='insert_overwrite',
        partition_by={
            "field": "date_",
            "data_type": "date",
            "granularity": "day",
        },
        cluster_by=['token_address'],
    )
}}

{%- call set_sql_header(config) -%}
    declare _my_max_date date default (
      select max(date_) from {{ this }}
    );
{%- endcall %}

with what_i_want as (
    select * from {{ source('ethereum', 'token_transfers') }}
    {%- if is_incremental() %}
    where date(block_timestamp) >= _my_max_date
    {%- endif %}
)

, naive_approach as (
    -- shows how { this } should render but of course doesn't prune
    -- because bigquery doesn't support dynamic pruning:
    select * from {{ source('ethereum', 'token_transfers') }}
    {%- if is_incremental() %}
    where date(block_timestamp) >= ( select max(date_) from {{ this }} )
    {%- endif %}
)

, _dbt_max_partition_approach as (
    -- this is dbt's approach which does render correctly in the header,
    --  but still is a full scan of date_ ~= 10gb of data!
    select * from {{ source('ethereum', 'token_transfers') }}
    {%- if is_incremental() %}
    where date(block_timestamp) >= _dbt_max_partition
    {%- endif %}
)

select
    date(block_timestamp) as date_,
    *
from _dbt_max_partition_approach

and the version from target/run:

      -- generated script to merge partitions into `eunice-data-dev-louis`.`base`.`bug_example`
      declare dbt_partitions_for_replacement array<date>;

        declare _dbt_max_partition date default (
      select max(date_) from `eunice-data-dev-louis`.`base`.`bug_example`
      where date_ is not null
    );

        -- 1. create a temp table

    declare _my_max_date date default (
      select max(date_) from `eunice-data-dev-louis`.`__schema_not_set__`.`base__bug_example`
    );

    create or replace table `eunice-data-dev-louis`.`base`.`bug_example__dbt_tmp`
    partition by date_
    cluster by token_address
    OPTIONS(
      description="""""",

      expiration_timestamp=TIMESTAMP_ADD(CURRENT_TIMESTAMP(), INTERVAL 12 hour)
    )
    as (

with what_i_want as (
    select * from `bigquery-public-data`.`crypto_ethereum`.`token_transfers`
    where date(block_timestamp) >= _my_max_date
)

, naive_approach as (
    -- shows how { this } should render but of course doesn't prune
    -- because bigquery doesn't support dynamic pruning:
    select * from `bigquery-public-data`.`crypto_ethereum`.`token_transfers`
    where date(block_timestamp) >= ( select max(date_) from `eunice-data-dev-louis`.`base`.`bug_example` )
)

, _dbt_max_partition_approach as (
    -- this is dbt's approach which does render correctly in the header,
    --  but still results in a full scan of date_ ~= 10gb of data
    select * from `bigquery-public-data`.`crypto_ethereum`.`token_transfers`
    where date(block_timestamp) >= _dbt_max_partition
)

select
    date(block_timestamp) as date_,
    *
from _dbt_max_partition_approach
    );

Note: I've set dataset:__schema_not_set  in my profiles.yml to highlight the issue
Expected Behavior
{{ this }} should be using my custom generate_alias_name when inside a sql header so should compile to dev`.`base`.`bug_example
Steps To Reproduce

use a custom generate_alias_name macro like the one I've provided
reference {{ this }} in sql_header block
you should see that {{ this }} is not using the custom generate_alias_name macro.

Relevant log output
No response
Environment
- OS: macos
- Python: Python 3.10.6
- dbt: 1.3.0

Which database adapter are you using with dbt?
bigquery
Additional Context
No response

Thanks for opening this up and giving such a nice write-up @louis-vines !
Agreed that you are asking for the same thing as https://github.com/dbt-labs/dbt-core/issues/2793 (or https://github.com/dbt-labs/dbt-bigquery/issues/286).
Basically, #2793 is asking for sql_header to be "late-rendered" (or re-rendered) similarly to how pre-hooks and post-hooks are rendered at execution time.
Your custom generate_alias_name would take effect if sql_header were also late-rendered (but it isn't).
A different issue + PR that seems similar to what you are trying to do:

https://github.com/dbt-labs/dbt-bigquery/issues/286
https://github.com/dbt-labs/dbt-bigquery/pull/285

I'm going to close this as a duplicate of https://github.com/dbt-labs/dbt-core/issues/2793 and/or https://github.com/dbt-labs/dbt-bigquery/issues/286. But if you feel there's something unique/different about this one, please let me know and we can re-open this one.
Workaround
If I understood your example properly, you can try overriding the declare_dbt_max_partition macro and peel out this part:
where {{ partition_by.field }} is not null

e.g., add your custom logic in a macro like this within your dbt project:
{% macro declare_dbt_max_partition(relation, partition_by, compiled_code, language='sql') %}

  {%- if '_dbt_max_partition' in compiled_code and language == 'sql' -%}

    declare _dbt_max_partition {{ partition_by.data_type }} default (
      select max({{ partition_by.field }}) from {{ this }}
    );
  {%- endif -%}
{% endmacro %}

Caveats:

I don't know if this will be "safe" for you or not.
Also, it will apply to every model in your project, which may or may not be what you want.

Thanks for the swift response @dbeatty10. I think https://github.com/dbt-labs/dbt-bigquery/issues/286 does what I need, I'll take a look at implementing this as my declare_dbt_max_partition macro today


Test AMM contracts  using neo-express

If neo3-boa manifest is not compatible with Neo Debugger, then it also won't be compatible with neo-express


feat: support GCS as object store

The support for GCS on the Kernel side has been mostly finished with OpenDAL. Let's add the corresponding support to operator.
Assign to @arkbriar to triage. cc @lukeraphael , @wcy-fdu
Related Kernel tracking issue: https://github.com/risingwavelabs/risingwave/issues/7920

FYI, we just need to support OpenDAL config, In which gcs, hdfs and oss are integrated.

Supported by @lukeraphael in #382 Thank you!


Create ProposalsAndIssues.md

@GenEars Can you check again if it is ok now?

@GenEars Can you check again if it is ok now?

Thanks @elsdvlee
I added two comments to explain better:

https://github.com/kg-construct/rml-jc/commit/6996a348393ea4b6086f53cdeb3810078d4de0d6#r119909271
https://github.com/kg-construct/rml-jc/commit/6996a348393ea4b6086f53cdeb3810078d4de0d6#r119909363


[FLINK-16288][travis] Remove redundant double-quote at the end of the…

… env field

What is the purpose of the change
Remove redundant double-quote at the end of the env field, which cause mesos e2e test fail.
Brief change log
Remove redundant double-quote at the end of the env field.
Verifying this change
Trigger e2e test
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Travis link https://travis-ci.org/KarmaGYZ/flink/jobs/654212375.
I don't know why the "e2e - container - scala 2.12" keep failing because of timeout in "flink-connector-gcp-pubsub" and "flink-azure-fs-hadoop" module. But it seems not related to this PR.


App is Permanently in Dark Mode

Describe the bug
When a User opens the app for their first time and then switches the app to Dark Mode in its settings, the app permanently stays in dark mode even when the user switches the app to light mode again.
To Reproduce
Steps to reproduce the behavior:

Open the app
Set the app to Dark Mode
Set the app to Light Mode
Close the app
Open the app again

Expected behavior
The App should stay in the Light/Dark Mode it was when it is closed.

This is probably a good starting point for getting SharedPreferences to manage the dark mode toggle. https://stackoverflow.com/questions/75570316/dark-mode-flutter-with-shared-preferences-and-provider


Compress image?

Is your feature request related to a problem? Please describe.
We are using the app on 4G, sometimes with bad reception it takes a long time to upload images.
Describe the solution you'd like
Is it possible to compress the image before upload?

Will look into it, thanks for the suggestion.


LinearFractionalStatistic.forward() missing 1 required positional argument: 'label'

while trying out the simple pipeline.ipynb, I am facing the error message TypeError: LinearFractionalStatistic.forward() missing 1 required positional argument: 'label' which  indicates that there is a missing required argument named 'label' when calling the forward() method of the LinearFractionalStatistic class. This method requires the 'label' argument to be provided, but it seems to be missing.

Hi,
Thanks for pointing this out! I think this happened because the fairret library version on pip was outdated, whereas the notebooks use the newer code signatures. I bumped the version on pip to v0.1.1 with the new code, so it should be fixed if you update your python environment to the new version with
pip install fairret --upgrade
It now works on my end, so please let us know if this doesn't solve it for you!


Integrate User groups in Wiki via UserGroupsBot

See wiki page: https://wiki.openstreetmap.org/wiki/User:UserGroupsBot
A bot automatically creates a kml resource based on User Groups maintained on the Wiki. Essentially this means that everyone is free to add local user group meetings in the Wiki without creating some pull request here.
Results are shown e.g. on different specialized maps, such as https://www.openstreetmap.de/karte.html, see the small icons on the "Lokale Gruppen" (local group) overlay.
Edit: ah, something similar was already discussed before in another repo: https://github.com/osmlab/osm-planning/issues/5#issuecomment-371404986. Everyone maintaining their own list is probably creating extra effort, so leveraging  what is already available as much as possible would be a plus.
BTW:  https://xkcd.com/927/ anyone? :sunglasses:

The Usergroups-Bot collects user groups worldwide but openstreetmap.de shows only the German part. All groups can be seen at http://usergroups.openstreetmap.de/
The source code of the bot can be found at https://github.com/fossgis/usergroups-bot.

Yes, there are other lists of local user groups out there, but the reason I created this project is because I really need a bounding geometry assigned to each group so I can limit the group list to where the group is actually active and relevant.  AFAIK, the wiki doesn't provide this, and it's just a list with each entry having a single coordinate.  (see #16 for more info about why this project exists).
A bot to connect this index and other group lists would be a great idea, but I'd like to leave it as out of scope for this project for now while we are just getting started.

I really need a bounding geometry assigned to each group so I can limit the group list to where the group is actually active and relevant.

Yes, that's a fair point. Maybe we could extend the Wiki template accordingly, e.g. by providing a radius along with the lat/lon value, or maybe some reference to existing OSM geometry. Do you have some more specific requirements to take into account? Would you be willing to revisit this topic if additional data would be available?

A bot to connect this index and other group lists would be a great idea, but I'd like to leave it as out of scope for this project for now while we are just getting started.

A closed issue gets easily overlooked, after all. Where should this be tracked then?

Would you be willing to revisit this topic if additional data would be available?

Of course!

A closed issue gets easily overlooked, after all. Where should this be tracked then?

At least in my mind, closed just means "not now".   I still get email notifications when people discuss on closed issues, and if this is something that keeps being an issue months from now, we can reopen it.


Remove asserting class hashes from tests

It will change between bumps of the compiler, since the compiler version is taken into account when calculating class hash

Is this still relevant? I think we done automatic class hash calculation 🤔
cc @abulenok (I believe you did it?)

@piotmag769 not me https://github.com/foundry-rs/starknet-foundry/issues/929


add accessor for InterpolationCurve3dOptions on InterpolationCurve3d

 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.

@Mergifyio update


Access to the Istio API/Configuration server is not protected.

Istio API/Configuration server does not have support for auth. Any pod/service with network access can create/modify/delete rules. Ideally we might want to support RBAC but initially it would be good to have basic cert/oauth support.

@lookuptable do we have a design for control plane auth and bootstrapping control plane identities?

Not just pilot but mixer too

Issue moved to istio/galley #5 via ZenHub


subsys/fs: add implementation helper module

File system API functions that operate on paths are passed both the
absolute path including the mount point prefix, and the mount point
within which the path lies.
Unfortunately it's not entirely trivial to convert an arbitrary path
within the file system space to an absolute path within its mount point,
because the path may be to the mount point itself and not end with a
directory separator.  The effect is that a file system implementation
like nffs may be given an empty path when "/" is required.
Add an implementation module that does this transformation and use it to
transform paths within each filesystem wrapper.
Signed-off-by: Peter A. Bigot<EMAIL_ADDRESS>

FYI @jimparis


Implementation of feeds page

Try to create a feed from UI
Steps to reproduce:

Go to Feeds menu on the left side pannel
Create a feed
Edit a Feed
Delete a Feed

need to work on small fixes like page doesn't reload after you edit a feed. working on that but rest is good for review and any feedback.

Feeds page

Note: the background css of top bar changes when you open a modal. Looking for a fix for that.

1. What does index mean?
2. Is it possible you could use the styled widgets to avoid the mess up of thebackground style. Feel free to address it in another task though

When I have some unfilled field, then I click save, it becomes a blank page. If I fill every field, then click save, it is not immediately reflected. I have to refresh the page.
 Could we group these two button/icons. Or at least match the table header column, right now it's missing one column

I have made each sub property of feedSchema as required. It should not let you submit the form unless you fill in each details. Please check.
I ha

ve grouped the button together

Used rjsf/mui instead of rjsf/metrail-ui
Updated the component name and added dependent components in package.json
Updated several places in code where react json form is used

@ddey2 did you push your change? Am I missing anything since I didn't see any updates since my last comment :-(

@ddey2 did you push your change? Am I missing anything since I didn't see any updates since my last comment :-(

My bad. I made the commit and forgot to push it to remote. Now check.

Could you reproduce these:

I can set criteria and extractor as empty? I recall you forbids that last time I reviewed
After delete it didn't go away on the frontend

Screenshots attached.

Thanks so much for noticing these out. Fixed now.
1 is related to making change to rsjf/mui. Some extra properties are added to make sure those aren't empty.