ImportError: liburdfdom_model.so.1.0: cannot open shared object file: No such file or directory

I am encountering the following error when attempting to run one of the eval scripts from the readme. I have run sudo apt install liburdfdom-tools and conda env create -n cosypose_SR --file environment.yaml (though with ./deps/bullet3 commented out due to the error mentioned in #2.
$ python -m cosypose.scripts.run_cosypose_eval --config tless-siso
Setting OMP and MKL num threads to 1.
Traceback (most recent call last):
  File "/home/big_white/miniconda3/envs/cosypose_SR/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/big_white/miniconda3/envs/cosypose_SR/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/big_white/code/cosypose_SR/cosypose/scripts/run_cosypose_eval.py", line 20, in <module>
    from cosypose.lib3d import Transform
  File "/home/big_white/code/cosypose_SR/cosypose/lib3d/__init__.py", line 1, in <module>
    from .transform import Transform, parse_pose_args
  File "/home/big_white/code/cosypose_SR/cosypose/lib3d/transform.py", line 2, in <module>
    import pinocchio as pin
  File "/home/big_white/miniconda3/envs/cosypose_SR/lib/python3.7/site-packages/pinocchio/__init__.py", line 6, in <module>
    from .robot_wrapper import RobotWrapper
  File "/home/big_white/miniconda3/envs/cosypose_SR/lib/python3.7/site-packages/pinocchio/robot_wrapper.py", line 5, in <module>
    from . import libpinocchio_pywrap as pin
ImportError: liburdfdom_model.so.1.0: cannot open shared object file: No such file or directory

Thanks, @bibekyess. I am running Ubuntu 22.04, and the package you suggested doesn't appear to be available. Version 3.0 seems to be available (sudo apt-get install liburdfdom-model3.0), but liburdfdom_model.so.3.0 isn't what Pinocchio is looking for. Do you have any other ideas?

This search would seem to indicate that it's only available for Ubuntu 18 and 20: https://pkgs.org/search/?q=liburdfdom_model.so.1.0

I use 'conda install conda-forge::urdfdom=1.0.4'.

I wonder which of these solutions seems more promising?

Refactor cosypose/lib3d/transform.py to replace pinocchio with another library, e.g. Transforms3D
Run CosyPose within Docker
Further investigate the Pinocchio/luburdfdom-model issue; pinocchio claims to build/test successfully for Ubuntu 22.04

I just saw this message from a few minutes ago. Let me try that first.

I use 'conda install conda-forge::urdfdom=1.0.4'.

@brieder, your suggestion was very helpful! After addressing the urdfdom issue, I ran into an issue with an incompatibility between the specified pytorch/cudnn version and my system that runs CUDA 11.8. After fixing that, I am now able to run inference scripts, such as python -m cosypose.scripts.run_cosypose_eval --config tless-siso.
Here are the changes that I needed to make to environment.yaml:

Added urdfdom=1.0.4 to conda dependencies
Removed pytorch=1.3.1=py3.7_cuda10.1.243_cudnn7.6.3_0 and torchvision=0.4.2=py37_cu101 from conda dependencies
Added torch and torchvision to pip dependencies
Replaced ./deps/bullet3 with pybullet (to address https://github.com/Simple-Robotics/cosypose/issues/2#issuecomment-1397890766)

I've pasted the entire environment.yaml file in this gist. Let me know if it would be helpful to have this as a pull request. I cannot confirm that these change work for all scripts, but I will reply here if I notice anything that doesn't work.

I just submitted a PR with my fixes for this issue (#11).


Update the session cleaner to support Merge also

This modifies the existing session cleaning script so that it can clean
up the list of recent repositories in Sublime Merge similarly to how it
can clean up entries for defunct projects in Sublime Text.
The structure of the code remains largely the same, with slight tweaks
to the logic in some key locations based on the program being cleaned.
For backwards compatibility the default for the new --program command
line argument is text.

Feels like 80% of the changes are documentation.

Indeed so; the maintenance programmer in me was mildly upset that a couple of the comments in there were wrong to begin with. Thankfully the code is pretty simplistic (though probably somewhat ugly).


alandefreitas/matplotplusplus

https://github.com/alandefreitas/matplotplusplus

I already added this lib, I think you can close it too.


CRAYSAT-1841: Update sat status to support CFS v2 or v3

Summary and Scope
Update sat to use the new version of csm-api-client implemented in CRAYSAT-1840

Update the sat status to support both cfs v2 and v3

Issues and Related PRs
Resolves CRAYSAT-1841.
Testing
List the environments in which these changes were tested.
Tested on:
drax
Test description:
Test the sat status with cfs v2 and v3 and without cfs field to test the default.
Possibly will try to change the page size and test cfs v3
Risks and Mitigations
Risks might be depend on cfs v3 introduction
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] CHANGELOG.md updated
[x] Testing is appropriate and complete, if applicable
[x] HPC Product Announcement prepared, if applicable

Please find the testing output here: https://gist.github.com/annapoorna-s-alt/062eee97a9b774ed6ca4e7d0fe3e4254


get_delegate_lock_info 返回字段信息处理

Version: 1.3.2
Python: 3.9
OS: osx

What was wrong?
lock_info = normal_aide0.delegate.get_delegate_lock_info(normal_aide0_nt.del_addr)
lock_info: DelegateInfo({'Locks': [{'Epoch': 3, 'Released': '0x0', 'RestrictingPlan': '0x17da3a04c7b3e00000'}], 'Released': 0, 'RestrictingPlan': 0})
How can it be fixed?
Locks 中嵌套字段未作处理， hex_to_int

tks for you issue, it caused by an incorrect API documentation and fixed now.


faudio: 20.12 -> 21.01

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/FNA-XNA/FAudio/releases.
meta.description for faudio is: "XAudio reimplementation focusing to develop a fully accurate DirectX audio library"
meta.homepage for faudio is: "https://github.com/FNA-XNA/FAudio"
meta.changelog for faudio is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 21.01 with grep in /nix/store/8gaf4n5l6vsma9zv67b2c1p0v5xghc39-faudio-21.01

directory tree listing: https://gist.github.com/fe024c804dd57566a204b52e78319ad5

du listing: https://gist.github.com/2f276ffd38ed870dc94fa5a68566c743

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

8 package rebuild(s)

8 x86_64-linux rebuild(s)
7 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
faudio
pipelight
playonlinux
wine
wine-staging
winePackages.full
wineWowPackages.full
winetricks

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8gaf4n5l6vsma9zv67b2c1p0v5xghc39-faudio-21.01 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A faudio https://github.com/r-ryantm/nixpkgs/archive/2842b09dfb88d8930e09a6650ccf4d475e4cbea2.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8gaf4n5l6vsma9zv67b2c1p0v5xghc39-faudio-21.01
ls -la /nix/store/8gaf4n5l6vsma9zv67b2c1p0v5xghc39-faudio-21.01/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

airwave

7 packages built:

faudio
pipelight
playonlinux
wine (wineFull)
wineStaging (wine-staging)
wineWowPackages.full
winetricks

Maintainer pings
cc @marius851000 for testing.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109802 run on x86_64-linux 1

1 package failed to build and already failed to build on hydra master:

airwave: log was empty

3 packages built:

faudio
pipelight
playonlinux

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 109802 run on x86_64-linux 1

1 package failed to build and already failed to build on hydra master:

airwave: log was empty

3 packages built:

faudio
pipelight
playonlinux


Question about the next patch

Dear developers. What changes to wait in the next patch? What are you working on right now?

small redesign of the installer for space for explanations
possibility to choose one's player color
some new AI lord recruitment settings

Also maybe I will take a look at the ox tether spam and AI demolishing its buildings.

Thank you ...


New interfaces for incoming QoS features

Adds new PublisherOptions and SubscriptionOptions classes, with new Publisher and Subscriber constructors to accept them.
Adds the liveliness assertion callbacks that will be needed for the new Liveliness QoS policy.
This PR introduces all of the user-code-facing interfaces that will be needed, but none of the implementations.
Signed-off-by: Emerson Knapp<EMAIL_ADDRESS>By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing in favor of https://github.com/ros2/rclcpp/pull/673


Skip slow tests option

This PR allows an additional testing command: "python setup.py skip_slow_tests". It will skip test functions in test_models.py that have a<EMAIL_ADDRESS>annotation (which we could add to any existing and future tests we want).
While it works fine, I seem to get a new deprecation warning instead of the old ones:

For running the tests back on master:

Not entirely sure why this is.
@kieferro If you're familiar with this, do you think this is okay? Or is there a better way to implement what this PR is does.
Edit - as an aside, this PR increased the coverage report by over 2%, but I'm not sure what is being covered that wasn't before.

@kieferro Alright, that sounds good. If you're okay with these updates then, I can go ahead and merge the PR.


TASK: Refactor AppliedEventsLogRepository initialization

Replaces ensureHighestAppliedSequenceNumbersAreInitialized() by a method
initializeHighestAppliedSequenceNumber() that has to be called per listener
in order to inverse dependencies

NOTE: Just a suggestion - I didn't test this yet and I'm not sure whether it introduces possible race conditions!

After thinking about this one again I was wondering:
An alternative solution could be to require the event logs to be initialized explicitly via some command (similar to doctrine:migrate).
That could also be a solution for #141

I didn't manage to test this much more.. If anyone feels like it, please go ahead :)
Otherwise I'll take care after my vacation


(maint) Lint with eastwood and improve syntax in services.clj

This commit makes some linting corrections found via the eastwood lein
plugin. This commit also makes some syntactic improvements to
services.clj, such as checking conditions before executing business
logic and not redefing varibales in let bindings.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1223/

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1227/

@pljenkinsro retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1229/

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1232/

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1233/

I'm not convinced on the cond-> usages that I see in this patch, they seem less readable than what was there before, would be interested to get other opinions

I somewhat agree. I think when I see
(cond-> foo
  true blah
  ...)

it usually seems like a bit of a smell. That's only in here once -- I don't have a particular issue with the other cases.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1242/

@senior transients above, fixed for your comments and removed most of the cond->


Reformat source code and tests according to PEP8 where possible

Hey,
We already have this covered in the v1.0.0 branch (will support OT 2.0, among other improvement and changes, including a lint pass for Travis ;) )

Should I decline this PR or I can help you with these changes in v1.0.0 somehow?

Yeah, please decline this PR and check out the v1.0.0 branch - and feel free to send code updates there (or to master once we have merged it, which should happen the upcoming week) ;)


Add norm num extensions for factorials

feat: Add norm_num extensions to evaluate Nat.factorial, Nat.ascFactorial and Nat.descFactorial

@sebzim4500 do you want to push this over the finish line, or do you mind if someone else makes the changes to your PR for you? It would be great to have this in mathlib and the comments here are really just trivialities so I would be sad to see this stall forever!


Resetting password does not work with email address.

Upon the first login to the simulator console (Sim.Console) you are requested to change you password.
On the change your password page it asks for your email.  However, you are returned a user not found exception when you enter in your email/old pw/new pw.
I was able to get this page to work by entering in the user name of the identity (not the email), which just the email with dots replaced by underscores.  This was a total random try to get this to work, and it worked...
But the page should be fixed to work the email (since that is what it is asking for).

Hi @ms-schneider-electric - Can you provide some more details? What browser are you using and os?

I am using

Chrome Version 65.0.3325.181 (Official Build) (64-bit)
Windows 10 Pro v1709

@shsenior why did you close this issue ? problem is still persist.

We will take another look at the reported issue. In the meantime, you can use your username.
Is your issue the same as above or when you are reseting your password after you have successfully logged into the console?

I have also faced ms-schneider-electric's problem.
"On the change your password page it asks for your email. However, you are returned a user not found exception when you enter in your email/old pw/new pw."
I have spent some time in order to change my pw finally I have found this issue and solved my problem with ms-schneider-electric'comment ("I was able to get this page to work by entering in the user name of the identity (not the email), which just the email with dots replaced by underscores. This was a total random try to get this to work, and it worked..")

I have the same problem, when my mail has a dot.
But if my email has no characters, I connect without problems.

Hi. I also got it worked around by inserting user ID instead of user email.
I searched and found this relevant code.
https://github.com/awslabs/iot-device-simulator/blob/master/source/console/src/app/public/auth/newpassword/newpassword.html#L45
However, I couldn't simply raise a PR via changing the text to user ID because then it will create incoherency with [(ngModel)]="registrationUser.email" data field. Please fix soon. This issue is becoming the first slap in the face for the "Let's give it a try" users.

I raised the PR for the first users since user experience is the most important part.
@shsenior , please consider and fix the internal code as well. Thanks.

The solution has undergone a complete refresh in the newest version, version 3.0.0. Resetting a password now functions properly as does the login and first time password change. We have removed the need for underscores and the login now functions properly with email.


is preopen_socket not supported in wasmtime python sdk?

I see that preopen_socket is supported in wasmtime rust SDK.
do we have similar support for python SDK?

Not intentionally, just haven't had a chance to get this added yet! If you'd like PRs for this would be welcome.


Selecting a pawn in the last row crashes the game

There's a bug where selecting a pawn that reached the last row crashes the game due to referencing cells outside the board.
This PR:

adds an onBoard(n: number): boolean function that replaces all the x >= 0 && x < 8 checks
in pawnLogic, changes the forward(y, n) function to always use pawn.y as it's first argument
fixes the bug
changes move order in pawnLogic so that moving two squares forward is the last

Probably easier to review commit by commit.

Note to self: spell check before saving text to an immutable store

git commit --amend lets you redo your commit

Both versions will show up here anyway, I think?

If you need to change more, you can use git rebase -i HEAD~5 which lets xou change the last 5 (in this case) commits

Yeah, I just didn't know that Github updates the commit messages in issues/PRs.
Shall I squash all four three?

No, i like the distictions


feat: Export common SCSS variables as CSS variables

Description
This commit exports commonly-used SCSS variables as CSS variables as well so
that they can be used by MFEs, or other consumers of Paragon, without needing to
be rebuilt each time a theme variable changes.
Deploy Preview
Include a direct link to your changes in this PR's deploy preview here (e.g., a specific component page).
Merge Checklist

[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
[ ] Does your change adhere to the documented style conventions?
[ ] Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
[ ] Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
[ ] Were your changes tested in the example app?
[ ] Is there adequate test coverage for your changes?
[ ] Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

[ ] Verify your changes were released to NPM at the expected version.
[ ] If you'd like, share your contribution in #show-and-tell.
[ ] 🎉 🙌 Celebrate! Thanks for your contribution.

Thanks for the pull request, @xitij2000!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.

@xitij2000 :+1: with the linting issue fixed

[x] I tested this: I built this, added the output css into an independent html file, and used the CSS values using var()
[x] I read through the code
[ ] I checked for accessibility issues - NA
[x] Includes documentation

@xitij2000 Thank you for the contribution. Is this ready for our review?

@xitij2000 Thank you for the contribution. Is this ready for our review?

Yes. Thanks!

Hi @xitij2000 - is this PR still needed? If so, I can get it reviewed. Looks like it fell off the radar.

Hi @xitij2000 - is this PR still needed? If so, I can get it reviewed. Looks like it fell off the radar.

I think this work is overshadowed by the design tokens work going on.  I will close this PR for now, and reopen if needed.

@xitij2000 Even though your pull request wasn’t merged, please take a moment  to answer a two question survey so we can improve your experience in the future.


Write better tick label formatter for logit scale that produces 50% and 99.99% instead of 50.00 or 100%

The current tick label formatter is a bad hack. We need something more robust that produces the following behaviour:
1%,10%,50%,99.9%,99.999% etc.
This is the current hack (from SO I think):
https://github.com/corneliusroemer/desh-data/blob/696469da1e402fc1d30a1740eed26ee4a8e18b80/scripts/omicron_plot.py#L84
The challenge is to display decimals only for trailing 9s but not for trailing zeros.
This might do the job, but not 100% sure: https://numpy.org/doc/stable/reference/generated/numpy.format_float_positional.html
@lenaschimmel interested?
Edit: np.format_float_positional does the job:
np.format_float_positional(1.000, trim='-') # 1
np.format_float_positional(99.99, trim='-') # 99.99

Ah, that's a nice solution. I came up with this, less elegant one: str(100*y).rstrip("0").rstrip("."), in context:
ax.yaxis.set_major_formatter(ticker.FuncFormatter(lambda y, _: str(100*y).rstrip("0").rstrip(".") + '%'))

Went down a rabbit hole that includes submitting a fix PR to numpy and trying to get it to build from source but failing 👀
https://github.com/numpy/numpy/issues/12441


Rename .join() to .map()

.join() is an internal function right now. Rename it to .map() and document and test it. It should work similar to .map() in jquery, and the main change with the current one is that it should accept also an Umbrella instance.

Done


http://github-help-wanted.com/ reported on URL:Blacklist by Avast

thanks for reporting this.
having dashes in a domain name seem to trigger security concerns.
if that's the case, i might look into grabbing githubHelpWanted dot com.
although, it's an extra 12 bucks a year and this site doesn't generate any money.

anyway, @mccue thanks again for reporting.  let me know if you notice any lower hanging fruit that would help me avoid firewall concerns


Correct return type of getTotalLength in RNSVGRenderableManager

Summary
Opening this in draft as React Native 0.74.x comes with better support for Int32 & Float inside codegen (previously they would be converted to Double).
As I noticed you folks have this in your specs:
https://github.com/software-mansion/react-native-svg/blob/a36a676d4313225bbcec44120eb38ce871106d0a/src/fabric/NativeSvgRenderableModule.ts#L31
react-native-svg will stop working with the next patch RN (most likely 0.74.4).
To avoid this kind of problems in the future you folks can use includesGeneratedCode in the package.json:
https://github.com/facebook/react-native/blame/75451d5b89d7f6c33688df23b57bea521374c2dc/packages/react-native-test-library/package.json#L44
Test Plan
This is sadly not easy to test as is. Once 0.74.4 will be out, I suspect react-native-svg will break. This PR will fix it and a patch release will be needed afterwards.

Closing as we reverted the whole Int32/Float support for codegen in 0.74 to avoid scenarios like this one.
Regardless I think here:
https://github.com/software-mansion/react-native-svg/blob/a36a676d4313225bbcec44120eb38ce871106d0a/src/fabric/NativeSvgRenderableModule.ts#L31
you folks should change the return parameter to Double


vitess/examples/local$ ./lvtctl.sh help error

root@vitess:/opt/vitess/vitess/bin# ./vtctlclient -server localhost:15999 help
2017/05/11 14:28:17 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::1]:15999: getsockopt: connection refused"; Reconnecting to {localhost:15999 }
2017/05/11 14:28:18 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::1]:15999: getsockopt: connection refused"; Reconnecting to {localhost:15999 }

connection refused

The problem is that vtctld is not running.
It's probably not running because it immediately shut down again when you ran it as user "root": https://groups.google.com/d/msg/vitess/OroN9q8GIy4/Tm8Vxv4BAwAJ
From the Vitess side, this is working as intended. Therefore, I'm closing this issue.

when I use user 'vitess' tctld is running
vitess/examples/local$ ./vttablet-up.sh
fail:
E0512 08:58:33.698617    6955 mysqld.go:551] mysqld --initialize-insecure failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000101/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.698847    6955 mysqlctl.go:243] failed init mysql: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000101/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699010    6958 mysqld.go:551] mysqld --initialize-insecure failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000104/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699147    6957 mysqld.go:551] mysqld --initialize-insecure failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000103/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699222    6954 mysqld.go:551] mysqld --initialize-insecure failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000100/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699251    6958 mysqlctl.go:243] failed init mysql: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000104/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699443    6957 mysqlctl.go:243] failed init mysql: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000103/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699520    6954 mysqlctl.go:243] failed init mysql: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000100/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699830    6956 mysqld.go:551] mysqld --initialize-insecure failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000102/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.700050    6956 mysqlctl.go:243] failed init mysql: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000102/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Starting vttablet for test-0000000100...
Access tablet test-0000000100 at http://vitess:15100/debug/status
Starting vttablet for test-0000000101...
Access tablet test-0000000101 at http://vitess:15101/debug/status
Starting vttablet for test-0000000102...
Access tablet test-0000000102 at http://vitess:15102/debug/status
Starting vttablet for test-0000000103...
Access tablet test-0000000103 at http://vitess:15103/debug/status
Starting vttablet for test-0000000104...
Access tablet test-0000000104 at http://vitess:15104/debug/status

It looks like your VTDATAROOT is set to /opt/vitess/vitess/vtdataroot. Do
you have access to that directory?
Or, you could try setting it to point to a different location.
We usually set to to be the same as $VTROOT/vtdataroot.
On Thu, May 11, 2017 at 6:02 PM, elipoke<EMAIL_ADDRESS>wrote:

when I use user 'vitess' tctld is running
vitess/examples/local$ ./vttablet-up.sh
fail:
E0512 08:58:33.698617 6955 mysqld.go:551] mysqld --initialize-insecure
failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not
open required defaults file: /opt/vitess/vitess/vtdataroot/
vt_0000000101/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.698847 6955 mysqlctl.go:243] failed init mysql:
/usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open
required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000101/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699010 6958 mysqld.go:551] mysqld --initialize-insecure
failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not
open required defaults file: /opt/vitess/vitess/vtdataroot/
vt_0000000104/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699147 6957 mysqld.go:551] mysqld --initialize-insecure
failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not
open required defaults file: /opt/vitess/vitess/vtdataroot/
vt_0000000103/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699222 6954 mysqld.go:551] mysqld --initialize-insecure
failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not
open required defaults file: /opt/vitess/vitess/vtdataroot/
vt_0000000100/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699251 6958 mysqlctl.go:243] failed init mysql:
/usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open
required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000104/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699443 6957 mysqlctl.go:243] failed init mysql:
/usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open
required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000103/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699520 6954 mysqlctl.go:243] failed init mysql:
/usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open
required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000100/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.699830 6956 mysqld.go:551] mysqld --initialize-insecure
failed: /usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not
open required defaults file: /opt/vitess/vitess/vtdataroot/
vt_0000000102/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
E0512 08:58:33.700050 6956 mysqlctl.go:243] failed init mysql:
/usr/sbin/mysqld: exit status 1, output: mysqld: [ERROR] Could not open
required defaults file: /opt/vitess/vitess/vtdataroot/vt_0000000102/my.cnf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
Starting vttablet for test-0000000100...
Access tablet test-0000000100 at http://vitess:15100/debug/status
Starting vttablet for test-0000000101...
Access tablet test-0000000101 at http://vitess:15101/debug/status
Starting vttablet for test-0000000102...
Access tablet test-0000000102 at http://vitess:15102/debug/status
Starting vttablet for test-0000000103...
Access tablet test-0000000103 at http://vitess:15103/debug/status
Starting vttablet for test-0000000104...
Access tablet test-0000000104 at http://vitess:15104/debug/status
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/youtube/vitess/issues/2845#issuecomment-300956057,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAj-Ogl7vnEyC70OpTTIuJUbtUtV3ldAks5r46-cgaJpZM4NXkRO
.


Testing: run apt-get update on VM startup

Description
For b/310644585, and in conjunction with cl/605088398, this PR aims to reduce test flakes due to apt-get failing to get a lock held by a background apt-get process (presumably). This PR aims to reduce the time it takes to run apt-get update by running it in advance, thereby reducing the chances of a collision later and also increasing the chances that retries will help.
Related issue
b/310644585
How has this been tested?

Checklist:

Unit tests

[X] Unit tests do not apply.
[ ] Unit tests have been added/modified and passed for this PR.

Integration tests

[ ] Integration tests do not apply.
[X] Integration tests have been added/modified and passed for this PR.

Documentation

[X] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[X] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

obsolete due to an improved fix to the install scripts.


Benchmarking

[X] launch benchs via script
[X] parse bench output
[x] plot bench results
[ ] test plan
[ ] Action integration

For information : https://hackmd.io/Pp602KHHTOuvaeihXSGlkw


Avoid using color ramps with basemap-like color

This requires to change the basemap depending on the selected ramp.

Well.... We know in pecan it will always be lite to start. So what not only
use lite safe pallettes only
On Jul 17, 2015 12:39 PM, "Javier Arce"<EMAIL_ADDRESS>wrote:

This requires to change the basemap depending on the selected ramp.
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/4493#issuecomment-122335839.

It depends on the size of the polygons. Big polygons work on any ramp, smaller ones don't. It's not that easy :(

Uhm... there are only two options

Get better at knowing from the polygon coverage what ramps we could use
Go with ramps that work in all cases. "polygon size safe ramps"

We are only really prepared for 2 at the moment.
On Sunday, July 19, 2015, Sergio Álvarez Leiva<EMAIL_ADDRESS>wrote:

It depends on the size of the polygons. Big polygons work on any ramp,
smaller ones don't. It's not that easy :(
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/4493#issuecomment-122638184.

--
andrewxhill http://twitter.com/andrewxhill
http://cartodb.com

We dont have Any that works for small polygons right now
On Jul 19, 2015 10:38 PM, "Andrew W. Hill"<EMAIL_ADDRESS>wrote:

Uhm... there are only two options

Get better at knowing from the polygon coverage what ramps we could use
Go with ramps that work in all cases. "polygon size safe ramps"

We are only really prepared for 2 at the moment.
On Sunday, July 19, 2015, Sergio Álvarez Leiva<EMAIL_ADDRESS>wrote:

It depends on the size of the polygons. Big polygons work on any ramp,
smaller ones don't. It's not that easy :(
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/4493#issuecomment-122638184.

--
andrewxhill http://twitter.com/andrewxhill
http://cartodb.com
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/4493#issuecomment-122703720.

this will require to add information about color to all of the basemaps we are using and have a clear logic on how to change the ramps depending on them (if we want to do this real)

for pecan just removing the ones who collide with positron is ok, right?

Yes
On Jul 28, 2015 6:27 AM, "javi santana"<EMAIL_ADDRESS>wrote:

for pecan just removing the ones who collide with positron is ok, right?
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/4493#issuecomment-125546286.

Ok, I think these are the safe color ramps:

Ok, I talked with @saleiva and we'll use the blue ramp for the time being. Closing this issue.


Feature to automatically delete old media files when file fields are updated or removed from admin

Is your feature request related to a problem? Please describe.
When removing or updating files or images, the old files aren't removed.
Describe the solution you'd like
The files should be deleted after they are no longer needed.

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

@jonnyhoff this is not an issue of this library, it's django's default behaviour.
I suggest you to use django-cleanup.

You can use signals to add this feature.

I know, but:

it's out of scope for this library
it would require more testing and maintenance
the problem would be solved only for this app, I think it is safer to install another well-tested library that does this job exclusively


ci: simplify workflows

Description

Since calling workflows inside a workflow_dispatch workflow became allowed, I'll try to simplify workflows.
https://github.blog/changelog/2022-09-08-github-actions-use-github_token-with-workflow_dispatch-and-repository_dispatch/
Related: https://github.com/autowarefoundation/autoware/issues/3083
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

I'll replace humble with rolling after https://github.com/autowarefoundation/autoware/pull/2692 is merged.

Test results:

https://github.com/autowarefoundation/autoware/actions/runs/3584095820

-> https://github.com/autowarefoundation/autoware/actions/runs/3584097375

https://github.com/autowarefoundation/autoware/actions/runs/3584114516

-> https://github.com/autowarefoundation/autoware/actions/runs/3584115646

https://github.com/autowarefoundation/autoware/actions/runs/3584097334

-> https://github.com/autowarefoundation/autoware/actions/runs/3584099059

https://github.com/autowarefoundation/autoware/actions/runs/3584115751

-> https://github.com/autowarefoundation/autoware/actions/runs/3584116599


⚠ Samsung has degraded performance

In cf14281, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2488 ms

Resolved: Samsung performance has improved in 7a1afc3.


AssertionError: Sequence length of prediction and answer are not equal, 1416: 1417

Hi, thanks for this project!
I am reproducing the task of token-level Code Completion (javaCorpus) using CodeGPT-adapted provided. During finetune and inference, it runs smoothly. But when I use the test.txt to do the evaluation, there is something wrong with the different lengths of prediction and answer.
Traceback (most recent call last):
File "/home/zhoupingyi/gongzi/code-moe/codes/tasks/CodeCompletion_token/evaluator/evaluator.py", line 45, in
main()
File "/home/zhoupingyi/gongzi/code-moe/codes/tasks/CodeCompletion_token/evaluator/evaluator.py", line 29, in main
assert len(pred) == len(gt), f"Sequence length of prediction and answer are not equal, {len(pred)}: {len(gt)}"
AssertionError: Sequence length of prediction and answer are not equal, 1416: 1417
There are many lines in prediction and test with similar errors. Most of the length difference is about 1.
The same problem happened on the py150 dataset.
If I just pass these samples in py150, the accuracy of CodeGPT-adapted-python is only 75.61 after 50000 steps of training.
How can I fix this problem? Thanks in advance!

Hi, did you run into issues when you generate the answer file by running eval_acc function in run_lm.py? Does the error only occurs when running evaluator.py?

Hi, thanks for your reply!
I run the eval_acc function in run_lm.py to generate the prediction.txt, and I directly use the test.txt as the answer file.
The error only occurs in evaluator.py.
发自我的iPhone
------------------ Original ------------------
From: Shuai Lu @.>
Date: Fri,Apr 1,2022 1:07 PM
To: microsoft/CodeXGLUE @.>
Cc: GoneZ5 @.>, Author @.>
Subject: Re: [microsoft/CodeXGLUE] AssertionError: Sequence length ofprediction and answer are not equal, 1416: 1417 (Issue #111)
Hi, did you run into issues when you generate the answer file by running eval_acc function in run_lm.py? Does the error only occurs when running evaluator.py?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I think this error might be caused by some corner cases when calling split() in the evaluator.py file. Since it goes well when you run run_lm.py, which is expected to output an accuracy number, you can use that number as your result. It is no difference between it and the evaluator output.
And we will look into this issue in the evaluator.py.

Thanks! I have a few other questions.

Do the CodeGPT-adapted models used in the task of Code Completion only pre-train on the program languages, or PL-NL pairs?
How about the CodeGPT-adapted models in the task of text-to-code?

Looking forward to your reply!

It is pre-trained only on the PL data, which contains some NL comments. CodeGPT-adapted is initialized by GPT-2, so it inherits the NL knowledge from GPT-2.
Please refer text-to-code task on the CONCODE dataset, our baseline model is also CodeGPT.

It is pre-trained only on the PL data, which contains some NL comments. CodeGPT-adapted is initialized by GPT-2, so it inherits the NL knowledge from GPT-2.
Please refer text-to-code task on the CONCODE dataset, our baseline model is also CodeGPT.

Thanks for your prompt response!

You mean that some NL comments aren't extracted from the code?
I'm sorry I didn't describe the problem clearly. Do the CodeGPT-adapted models in the task of text-to-code also are pre-trained on the PL data, which contains some NL comments? Are the pre-trained models of the task of Code Completion and Text-to-Code the same?
I found the output number of run_lm.py is far from what you've reported in the py150. I only get 76.0, the setting of finetuning is GPU=2, learning_rate=8e-5, per_gpu_train_batch_size=2, gradient_accumulation_steps=4. Are these settings the same as yours?

You mean that some NL comments aren't extracted from the code?

We use CodeSearchNet dataset for pre-training, so, some inline comments are not filtered.

Do the CodeGPT-adapted models in the task of text-to-code also are pre-trained on the PL data, which contains some NL comments? Are the pre-trained models of the task of Code Completion and Text-to-Code the same?

The pre-trained models are the same, but fine-tuned on the specific dataset for each task.

Are these settings the same as yours?

For PY150, we use a larger batch size (GPU*per_gpu_train_batch_size*gradient_accumulation_steps) as 64.

All my questions have been resolved! Thank you very much!


Not able to download TikTok videos since today

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
ERROR: [TikTok]<PHONE_NUMBER>273238318: Unable to extract webpage video data; please report
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp)
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp --cookies-from-browser firefox --paths /tmp/appshark_mactyxp1y_al/com.zhiliaoapp.musically_33.7.4_2023307040_1713460519/1713460525/ingress_share_tiktok_from_gallery_round2/videos --output BasketballNear.mp4 --write-info-json --write-playlist-metafiles https://www.tiktok.com/@bronnbolton7/video/7358970554273238318
[TikTok] Extracting URL: https://www.tiktok.com/@bronnbolton7/video/7358970554273238318
Extracting cookies from firefox
Extracted 235 cookies from firefox
[TikTok]<PHONE_NUMBER>273238318: Downloading video feed
WARNING: [TikTok] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 1 of 3)
[TikTok]<PHONE_NUMBER>273238318: Downloading video feed
WARNING: [TikTok] Expecting value in '': line 1 column 1 (char 0). Retrying... (attempt 2 of 3)
[TikTok]<PHONE_NUMBER>273238318: Downloading video feed
WARNING: [TikTok]<PHONE_NUMBER>273238318: Failed to parse JSON (caused by JSONDecodeError("Expecting value in '': line 1 column 1 (char 0)")); trying with webpage
[TikTok]<PHONE_NUMBER>273238318: Downloading webpage
ERROR: [TikTok]<PHONE_NUMBER>273238318: Unable to extract webpage video data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

Duplicate of #9506


Possibly incorrect errors in VSCode LSP

I keep seeing this error in the chess.ml file:
Signature mismatch:

The value `compare' is required but not providedocamllsp
chess.ml(65, 13): Expected declaration
The value `sexp_of_t' is required but not provided
chess.ml(67, 5): Expected declaration
sig type t = { piece : piece; position : position; } end

Thing is, the project builds without errors, and this error doesn't show up when I load the project. If I type and delete lines, sometimes the error goes away and sometimes it comes back. The error doesn't make sense to me either because I think the @@deriving lines should provide sexp_of_t, and sure enough during the times when the error isn't showing up intellisense does indeed infer that these have been created:
sig
  module T :
    sig
      type t = { piece : piece; position : position; }
      val compare : t -> t -> int
      val sexp_of_t : t -> Sexp.t
    end
  type t = T.t = { piece : piece; position : position; }
  val compare : t -> t -> int
  val sexp_of_t : t -> Sexp.t
  type comparator_witness = Comparator.Make(T).comparator_witness
  val comparator : (T.t, comparator_witness) Comparator.t
end

This very much feels like a problem with the OCaml LSP but I haven't been able to make it stop happening.

I figured this out. I was missing a semicolon elsewhere in the file.


'Module not found' for next/config in typescript next project

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
import getConfig from 'next/config' should work in accordance w/ readme
Current Behavior
Running now (and next build) produces the following build error
> Failed to build
> { Error: (client) ./config/env.ts
> Module not found: Error: Can't resolve 'node_modules/next/config.js' in '/home/nowuser/src/config'
> resolve 'node_modules/next/config.js' in '/home/nowuser/src/config'
>   Parsed request is a module
>   using description file: /home/nowuser/src/package.json (relative path: ./config)
>     Field 'browser' doesn't contain a valid alias configuration
>   after using description file: /home/nowuser/src/package.json (relative path: ./config)
>     resolve as module
>       looking for modules in /home/nowuser/src/node_modules/next/node_modules
>         using description file: /home/nowuser/src/node_modules/next/package.json (relative path: ./node_modules)
>           Field 'browser' doesn't contain a valid alias configuration
>         after using description file: /home/nowuser/src/node_modules/next/package.json (relative path: ./node_modules)
>           using description file: /home/nowuser/src/node_modules/next/package.json (relative path: ./node_modules/node_modules/next/config.js)
>             no extension
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js doesn't exist
>             .js
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.js doesn't exist
>             .jsx
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.jsx doesn't exist
>             .json
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.json doesn't exist
>             .ts
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.ts doesn't exist
>             .tsx
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.tsx doesn't exist
>             as directory
>               /home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js doesn't exist
>       /home/nowuser/src/config/node_modules doesn't exist or is not a directory
>       /home/nowuser/node_modules doesn't exist or is not a directory
>       /home/node_modules doesn't exist or is not a directory
>       /node_modules doesn't exist or is not a directory
>       looking for modules in /home/nowuser/src/node_modules
>         using description file: /home/nowuser/src/package.json (relative path: ./node_modules)
>           Field 'browser' doesn't contain a valid alias configuration
>         after using description file: /home/nowuser/src/package.json (relative path: ./node_modules)
>           using description file: /home/nowuser/src/package.json (relative path: ./node_modules/node_modules/next/config.js)
>             no extension
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/node_modules/next/config.js doesn't exist
>             .js
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/node_modules/next/config.js.js doesn't exist
>             .jsx
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/node_modules/next/config.js.jsx doesn't exist
>             .json
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/node_modules/next/config.js.json doesn't exist
>             .ts
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/node_modules/next/config.js.ts doesn't exist
>             .tsx
>               Field 'browser' doesn't contain a valid alias configuration
>               /home/nowuser/src/node_modules/node_modules/next/config.js.tsx doesn't exist
>             as directory
>               /home/nowuser/src/node_modules/node_modules/next/config.js doesn't exist
> [/home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js]
> [/home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.js]
> [/home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.jsx]
> [/home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.json]
> [/home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.ts]
> [/home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js.tsx]
> [/home/nowuser/src/node_modules/next/node_modules/node_modules/next/config.js]
> [/home/nowuser/src/config/node_modules]
> [/home/nowuser/node_modules]
> [/home/node_modules]
> [/node_modules]
> [/home/nowuser/src/node_modules/node_modules/next/config.js]
> [/home/nowuser/src/node_modules/node_modules/next/config.js.js]
> [/home/nowuser/src/node_modules/node_modules/next/config.js.jsx]
> [/home/nowuser/src/node_modules/node_modules/next/config.js.json]
> [/home/nowuser/src/node_modules/node_modules/next/config.js.ts]
> [/home/nowuser/src/node_modules/node_modules/next/config.js.tsx]
> [/home/nowuser/src/node_modules/node_modules/next/config.js]
>  @ ./config/env.ts 4:16-54
>  @ ./config/index.ts
>  @ ./pages-code/login/make-linkedin-url.ts
>  @ ./pages/login.js
>  @ multi ./pages/login.js
>     at /home/nowuser/src/node_modules/next/dist/server/build/index.js:207:31
>     at runWithDependencies (/home/nowuser/src/node_modules/webpack/lib/MultiCompiler.js:154:4)
>     at /home/nowuser/src/node_modules/webpack/node_modules/async/dist/async.js:1126:9
>     at /home/nowuser/src/node_modules/webpack/node_modules/async/dist/async.js:473:16
>     at iteratorCallback (/home/nowuser/src/node_modules/webpack/node_modules/async/dist/async.js:1050:13)
>     at /home/nowuser/src/node_modules/webpack/node_modules/async/dist/async.js:958:16
>     at /home/nowuser/src/node_modules/webpack/node_modules/async/dist/async.js:1123:13
>     at runCompilers (/home/nowuser/src/node_modules/webpack/lib/MultiCompiler.js:96:47)
>     at fn (/home/nowuser/src/node_modules/webpack/lib/MultiCompiler.js:101:6)
>     at compiler.run (/home/nowuser/src/node_modules/webpack/lib/MultiCompiler.js:150:5)
>     at emitRecords.err (/home/nowuser/src/node_modules/webpack/lib/Compiler.js:265:13)
>     at Compiler.emitRecords (/home/nowuser/src/node_modules/webpack/lib/Compiler.js:371:38)
>     at emitAssets.err (/home/nowuser/src/node_modules/webpack/lib/Compiler.js:258:10)
>     at applyPluginsAsyncSeries1.err (/home/nowuser/src/node_modules/webpack/lib/Compiler.js:364:12)
>     at next (/home/nowuser/src/node_modules/tapable/lib/Tapable.js:218:11)
>     at Compiler.compiler.plugin (/home/nowuser/src/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)

Steps to Reproduce (for bugs)

add import getConfig from 'next/config' in a project using @zeit/next-typescript
next build

the error doesn't present in development
Context
I'm fairly new to typescript. a google shows this sort of error in different contexts, but the most common solution is to add ts to the webpack loader resolver. This is already done in next, though, so the solution is N/A.
I've also tried the following:

change file importing from next/config to a .js
import * as getConfig from 'next/config'
const getConfig = require('next/config')
import getConfig from '../node_modules/next/dist/lib/runtime-config.js'

Could this be b/c @types/next doesn't seem to have a config export?
Your Environment

Tech
Version

next
5.0.1-canary.10

node
on now, 8.9.4

OS
now

browser
na

@zeit/next-typescript
0.0.10

np i'm fine to close it as i've worked around it in my project. i assume it'll resolve once @types/next is updated anyway

Hello guys,
I am getting an error when trying to import from 'next/config' --- Module not found: Error: Can't resolve 'next/config'
Where to look to solve this?
Thank you for your help.

@intermund  are you using typescript?

Upgrade to next@canary. It's not released on the stable channel yet 👍

@brandonmp how did you resolve it?

I've tried various different variants of:
declare function getConfig(): void;

declare module "next/config" {
    export default getConfig;
}

Combined numerous different ways to write the import statement but I always end up with either TS1192: Module '"next/config"' has no default export. or TypeError: __WEBPACK_IMPORTED_MODULE_0_next_config__ is not a function

My earlier message:

Not sure what to do about this, the types aren't maintained by us.

The types are maintained in definitely typed. They are maintained by the community and we didn't create them.

I'm also having this problem, but I'm not using typescript.

@AlexanderRichey most likely you're not running next@canary. It's not released on master yet.

I have this problem too.
Things work fine for me locally, but fails when I try to deploy with now.
lsimon@lsimon-ltm:~/src/chartcomposer (elsigh) $ yarn install next@canary
yarn install v1.5.1
error An unexpected error occurred: "`install` has been replaced with `add` to add new dependencies. Run \"yarn add next@canary\" instead.".
info If you think this is a bug, please open a bug report with the information provided in "/Users/lsimon/src/chartcomposer/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
lsimon@lsimon-ltm:~/src/chartcomposer (elsigh) $ yarn add next@canary
yarn add v1.5.1
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
success Saved 1 new dependency.
info Direct dependencies
└─<EMAIL_ADDRESS>info All dependencies
└─<EMAIL_ADDRESS>✨  Done in 2.23s.
lsimon@lsimon-ltm:~/src/chartcomposer (elsigh) $ ./deploy.sh
> Deploying ~/src/chartcomposer under chartcomposer
> Using Node.js 8.10.0 (default)
> Ready! https://chartcomposer-hqrvsowraq.now.sh (copied to clipboard) [4s]
> Synced 1 file (150.59KB) [4s]
> Initializing…
> Building
> ▲ npm install
> ✓ Using "package-lock.json"
> ⧗ Installing 10 main dependencies…
> ▲ npm run build
><EMAIL_ADDRESS>build /home/nowuser/src
> next build
> Failed to build
> { Error: (client) ./components/Page.js
> Module not found: Error: Can't resolve 'next/config' in '/home/nowuser/src/components'

I have "next": "^5.1.0", in package.json
Locally, I have the file node_modules/next/config.js
I'm not using typescript either

I think I'll open a new issue and nuke these comments as this doesn't seem typescript related.

my bad for checking-out on this one all. i ended up kicking next/config in favor of using webpack.DefinePlugin, which was trivial once universal webpack landed in next.
Basically, I have a file called env.js that runs during build server-side:
// env.js
const _ = require('lodash');

const envSpecificOverrides = {
    production: {
        SOME_KEY: 'BLAHBLAH'
    },
    development: {
        SOME_KEY: 'BLAHBLAH'
    }
};

// pull current env from environment, since that'll be defined by now.
const envParams = envSpecificOverrides[process.env.NODE_ENV];

const common = {
    linkedInClientId: LINKED_IN_CLIENT_ID,
    STRIPE_KEY: STRIPE_KEY_TEST
};
const env = { ...common, ...envParams };

module.exports = _.chain(env)
    .toPairs()
    .map(([k, v]) => [`process.env.${k}`, JSON.stringify(v)])
    .fromPairs()
    .value();

the result is a map of { "process.env.SomeVar": someValue }. note that process.env. has to be in the key name b/c webpack needs that i guess?
anyway, in next.config.js, i then just push that to webpack plugins:
// next.config.js
const webpack = require('webpack');
const myEnv = require('./env.js')

// ...

config.plugins.push(new webpack.DefinePlugin(myEnv))


fix: use react router dom to get url in home page

Description
refactor the component so it uses react router dom to get tv/movie from the URL instead of the movie: boolean prop

closing for now


Recipe and Inventory Management System

Dear Reviewer,
Please review the implementations of this project Recipe App. Please provide feedback or approve to merge to the main branch.
Project Requirements:

[x] Design:

Implemented the layout based on the wireframes provided.
Personalized the design including colors, typographies, spacings, etc.
Designed using Tailwind CSS for a responsive and visually appealing UI.

[x] Authentication:

Created login and registration pages using Devise for user authentication.

[x] Recipe Management:

Developed pages for managing recipes, including:

Displaying a list of recipes created by the logged-in user and allowing navigation to recipe details.
Allowing users to delete recipes they own.
Displaying a list of public recipes ordered by newest and linking to recipe details.

[x] Recipe Details:

Enabled a toggle button for users to switch recipes between public and private.
Displayed recipe details for public recipes or recipes owned by the user.
Provided a form for users to add new food to recipes they own.

[x] Inventory Management:

Implemented inventory management pages, including:

Displaying a list of inventories created by the logged-in user and allowing navigation to inventory details.
Allowing users to delete inventories they own.

[x] Inventory Details:

Displayed inventory details as per the wireframe.
Provided a form for users to add new food to their inventories.

[x] Recipe Details - Shopping List:

Added a modal to select an inventory for creating a shopping list.

[x] Inventory Shopping List:

Calculated the missing food items by comparing the recipe's food with the inventory.
Displayed the total count and price of missing food items.

[x] Performance:

Ensured no N+1 queries are happening for efficient data retrieval.

[x] Navigation:

Created a navigation menu for easy access to all project pages.

[x] Technical Setup:

Established the repository on GitHub using Gitflow.
Configured Devise for user authentication.

[x] Testing:

Set up RSpec and Capybara for unit and integration testing.

UX and tests Video Clip:
https://github.com/marvin-nyalik/RecipeApp/assets/117600135/a9df4f5f-4954-4bed-842d-9961c0dc38c0
Deploy Server:
web: bin/rails server -p 3000
css: bin/rails tailwindcss:watch

Files Added/Modified:

Created new pages and templates.
Added controller actions and views.
Updated routes for recipe, inventory, and shopping list functionalities.
Created unit and integration tests for thorough coverage.

This pull request is ready for review and merging into the main codebase.
Thank you for your time and attention to this pull request!
Regards,
@marvin-nyalik @Zafron047 @AnsarIbrahim

@Gambit142 Thanks a lot for the hardwork reviewing our project.
Have a great day . 😃 👍

Dear @topeogunleye
Your encouraging words regarding the "Add Ingredient" button implementation for the recipe creator bring me a sense of accomplishment. I aimed to make the user experience as intuitive and realistic as possible, and your feedback validates that effort.
I'm genuinely grateful for your overall assessment and commendation of my attention to detail and commitment to improvement. Your words inspire us to continue striving for excellence and embracing feedback as a means to enhance my skills.
Thank you for your time, guidance, and support. Should you have any further suggestions, questions, or concerns, please do not hesitate to reach out. Your insights are invaluable to me.
Dear @Gambit142 ,
I want to express my sincere gratitude for your thorough and constructive review. Your feedback has been incredibly valuable in helping me make significant improvements to the project. Your breakdown of the progress made my understanding of your comments clear and actionable.
I'm delighted that you found the implementation of the many-to-many relationship between the Food and Recipe models using the has_many :through association to be a fantastic job. It was indeed an important aspect of the project, and your recognition means a lot to me. I'm committed to ensuring accurate data representation and enhancing the interaction between these models.
Your positive feedback on the integration of the Cancancan gem for authorization is greatly appreciated. I'm pleased to hear that it aligns with both project requirements and the overall user experience. It's motivating to know that my efforts to enhance security and authenticity in the application have been successful.
Warm regards,
@Zafron047 , @marvin-nyalik , @AnsarIbrahim

Dear @topeogunleye
Your encouraging words regarding the "Add Ingredient" button implementation for the recipe creator bring me a sense of accomplishment. I aimed to make the user experience as intuitive and realistic as possible, and your feedback validates that effort.
I'm genuinely grateful for your overall assessment and commendation of my attention to detail and commitment to improvement. Your words inspire us to continue striving for excellence and embracing feedback as a means to enhance my skills.
Thank you for your time, guidance, and support. Should you have any further suggestions, questions, or concerns, please do not hesitate to reach out. Your insights are invaluable to me.
Dear @Gambit142 ,
I want to express my sincere gratitude for your thorough and constructive review. Your feedback has been incredibly valuable in helping me make significant improvements to the project. Your breakdown of the progress made my understanding of your comments clear and actionable.
I'm delighted that you found the implementation of the many-to-many relationship between the Food and Recipe models using the has_many :through association to be a fantastic job. It was indeed an important aspect of the project, and your recognition means a lot to me. I'm committed to ensuring accurate data representation and enhancing the interaction between these models.
Your positive feedback on the integration of the Cancancan gem for authorization is greatly appreciated. I'm pleased to hear that it aligns with both project requirements and the overall user experience. It's motivating to know that my efforts to enhance security and authenticity in the application have been successful.
Warm regards,
@Zafron047 , @marvin-nyalik , @AnsarIbrahim

Dear @topeogunleye
Your encouraging words regarding the "Add Ingredient" button implementation for the recipe creator bring me a sense of accomplishment. I aimed to make the user experience as intuitive and realistic as possible, and your feedback validates that effort.
I'm genuinely grateful for your overall assessment and commendation of my attention to detail and commitment to improvement. Your words inspire us to continue striving for excellence and embracing feedback as a means to enhance my skills.
Thank you for your time, guidance, and support. Should you have any further suggestions, questions, or concerns, please do not hesitate to reach out. Your insights are invaluable to me.
Dear @Gambit142 ,
I want to express my sincere gratitude for your thorough and constructive review. Your feedback has been incredibly valuable in helping me make significant improvements to the project. Your breakdown of the progress made my understanding of your comments clear and actionable.
I'm delighted that you found the implementation of the many-to-many relationship between the Food and Recipe models using the has_many :through association to be a fantastic job. It was indeed an important aspect of the project, and your recognition means a lot to me. I'm committed to ensuring accurate data representation and enhancing the interaction between these models.
Your positive feedback on the integration of the Cancancan gem for authorization is greatly appreciated. I'm pleased to hear that it aligns with both project requirements and the overall user experience. It's motivating to know that my efforts to enhance security and authenticity in the application have been successful.
Warm regards,
@Zafron047 , @marvin-nyalik , @AnsarIbrahim

@Zafron047, I am having a discussion with my senior colleagues and unfortunately, I may have to inform you that my approval was an error. please can you kindly implement the Food page?.


Use code from cloud-commons

This starts pulling in common code from https://github.com/RedHatInsights/insights-common-java via JitPack

throw new TooManyConflictsException();
Please reopen if this is still relevant 😃


Refactoring some of your code

Hi there, I came across your open source music bot and thought I'd help out. I plan on helping you out with the music features if you don't mind as well.
This pull request is just some refactoring and I also added a package.json with the packages that are in use and that I plan to use to make it easier for the users to install.

Tetranite

Hey there, thank you for the refactoring! I appreciate the work you've done so far and if you get some of music working I'd be so grateful!


Native aggregation function cant be found when using agg on a DataFrame

Hi,
I'm using Spark-notebook 0.6.3 on Spark 1.5.2 and native aggregation functions like **min, max, avg ** cant be found by the interpreter .
code example:
val df_result = df.select("A", "B", "C").groupBy("A", "B")
.agg(min(df("B").as("minB"))

isn't that you have to import these functions?
like ```scala
import org.apache.spark.sql.functions._

which scala version?

yes it has to be imported, it can be done in the next version indeed.
Also, right now,  you could consider putting this import into the configuration file, in the override section. so that all started notebooks will have it!

That makes sense! This works with import org.apache.spark.sql.functions._ .
Thx a lot.


Condition auto-resorting

When creating multiple conditions, the system auto-resorts them in an order that 1) is not the original order they were entered, and 2) cannot be changed. Conditions should be shown in the order they were added. In this example, I added in order A, B, C, D but when checking the dashboard or going to edit the experiment, it shows this.

Unclear what is left to be done here. Should the PR have closed this?

Yes, this issue is completed.


execute_sql() error: sqlite3.OperationalError: unable to open database file

Hello, I encountered an issue while executing run_manager. run_tasks() in main. py.
execute_sql() was called in get_db_all_tables in the db_info.py file, but the execute_sql() method reported an error: sqlite3.OperationalError: unable to open database file

I don't know where the problem lies. Looking forward to your reply. Thank you

I have already resolved it. The reason is that the path did not form a complete one.


/aqo restart command causes mq2lua crash

Getting a crash in mq2lua.dll when using /aqo restart.  Clicking Restart from the UI works fine.
Also works fine to manually run the lua from console '/multiline ; /lua stop aqo ; /timed 5 /lua run aqo'
Steps to reproduce:

/lua run aqo
/aqo restart

This is with Red Guides latest version from 1/28/2024 6:15:10 AM (based on red guides launcher)
Not sure what other information might be relevant...
Other Luas running:
buttonmaster
binds/formations
lem
boxhud

Stepped through the command, no crash happens when restart is set to only mq.cmd('/multiline ; /lua stop aqo')
The crash seems to happen right away after adding the "/timed 5 /lua run aqo".  Increasing the timed value doesn't seem to change the behavior, still crashes right when running /aqo restart command

should work now, moved the stop into main loop instead of the bind. seems like a bug in mq2lua


I want to install on a machine with no internet connection

[Enter feedback here]

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

ID: 0f6c6f6a-188a-7110-962c-89ff8e00eee9
Version Independent ID: ffa45840-7fbb-b9c2-0dd9-43eb95b760cc
Content: Install C and C++ support in Visual Studio
Content Source: docs/build/vscpp-step-0-installation.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@chuckheaton6
The C++ Visual Studio installation docs cover the most common case. For other scenarios, check out the Visual Studio docs.
Create an offline installation of Visual Studio


msgext-copilot-productcatalog sample added

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Microsoft Copilot Product Catalog Plugin
Demo app that shows how to use a Teams Message extension and extend to Copilot for Microsoft 365. This app uses SharePoint list as the backend datasource to get the data and display it in Teams Messaging extension
Summary
This application, crafted with the Teams Toolkit, leverages an Azure Function to facilitate communication with a SharePoint list, serving as its backend data source. It has been further enhanced for integration with Copilot for Microsoft 365, incorporating a variety of command parameters and enriched semantic descriptions to elevate the user experience.
Upon successful deployment, users will experience enhanced functionalities within the Teams Message Extension and Copilot for Microsoft 365, showcasing the seamless interaction between Microsoft Copilot Plugin and SharePoint data, powered by the underlying Azure function. This integration not only streamlines data access but also enriches the collaborative environment within Microsoft Teams by providing immediate, context-aware information retrieval and manipulation capabilities.

The Azure function builds OK but Teams Toolkit does not recognize the project so the F5 / debug does not work. Are you using the current version of TTK (5.8.1)? Is there a missing instruction?
Thanks

I am using Teams Toolkit (v5.6.0). However, this is not related to the Teams Toolkit version. I noticed that .vscode folder was missing.  I am going to re-submit the pull-request with updated changes.
Sorry for inconvenience


How to deal with different versions in different environment?

I found it difficult dealing with different versions across different environments
I've came up with the following but I'd love to see someone come up with something simpler.
helmfile.yaml:
environments:
  dev:
    values:
      - env/dev.yaml
  prod:
    values:
      - env/prod.yaml

releases:
  - name: some-name
    namespace: some-namespace
    chart: some/thing
    version: {{ index .Environment.Values.version "some-name" }}

env/dev.yaml:
version:
  some-name: "0.1"

env/prod.yaml:
version:
  some-name: "1.0"

Please let me know what you think.

I used something similar so that I could override values for dev vs production environments:
    values:
      - values/jupyterhub-config.yaml
    {{ range .Environment.Values.jupyterhub_public_overrides }}
      - {{ . }}
    {{ end }}

https://github.com/IDR/k8s-analysis-deploy/blob/2019.01.30/helmfile.yaml#L104
jupyterhub_public_overrides is [] for production.
What would be nice is if index .Environment.Values could take a default, so helmfile.yml could contain the full production config, with only the dev overrides needing to be defined, e.g.:

{{ index .Environment.Values.version "some-name" | default "1.0" }}
{{ range .Environment.Values.jupyterhub_public_overrides | default nil }}

At the moment this fails if the values aren't defined:
error during helmfile.yaml parsing: template: stringTemplate:34:25: executing "stringTemplate" at <.Environment.Values....>: map has no entry for key "jupyterhub_staging_overrides"

So jupyterhub_public_overrides is defined in an environment specific values file as a list of files? But, in your case, empty for production? Could you elaborate a bit more, sorry for being a bit slow.

I've got two environments with separate values files in that git repo: https://github.com/IDR/k8s-analysis-deploy/blob/2019.01.30/helmfile.yaml#L237

production.yaml defined the variables as empty
minikube.yaml contains overrides

Any updates? I have the same issue.

@ingvarch what issue exactly ? this was just a question here.
@tonsV2 I guess you could also use the environment name in the values name like this
environments:
  dev:
  prod:

releases:
  - name: some-name
    namespace: some-namespace
    chart: some/thing
    version: {{ index .Environment.Values.version "some-name" }}
    values:
      - {{ .Environment.Name }}/prod.yaml

But this is not really much simpler.
How would you imagine something more simpler though ?

I guess this would be more simpler with this request developped : https://github.com/roboll/helmfile/issues/359

@manics

What would be nice is if index .Environment.Values could take a default, so helmfile.yml could contain the full production config, with only the dev overrides needing to be defined

Would #465 resolves your issue? With #465, I believe you can write it like:
# Instead of: {{ index .Environment.Values.version "some-name" | default "1.0" }}

{{ .Environment.Values | get "version.some-name" "1.0" }}

@tonsV2 @ingvarch Hey!
Can I boil this issue down to "We need a less verbose way to achieve defaulting for environment values"?
In that case,

As @sgandon has suggested #359 would make defaulting possible without defining extra environment values.yaml files
#465 would make defaulting possible without defining extra environment values

Do you think we can resolve this after either or both of them are addressed?

FYI #359 has been finally implemented via #622

Closing this as resolved because all the suggested solutions are implemented. Please feel free to reopen if necessary!


[Accessibility] [Supporting the Platform] Make the controls visible when the page is zoomed to 400%

Describe the issue
If controls will not be properly visible at 400% zoom then users with low vision who depend on this feature will not be able to identify these controls and perform actions on them.
Actual behavior:
Controls are not visible when the page is zoomed to 400% zoom mode.
Expected behavior:
Controls should be clearly visible when the page is zoomed to 400% zoom mode.
Repro Steps:

Open Bot Framework Emulator installed on the system.
Bot Framework Emulator Application with Welcome screen opens.
Navigate to the welcome screen.
Verify the issue.

Changes included in the PR

Added CSS styles to show the vertical scrollbar
Changed the row and column styles to adjust the content in one column when the resolution is equal or lower than 1024px (as defined in the reflow criteria)

Screenshots
Test cases executed successfully

No zoom applied

Zoom 400% applied

Coverage remained the same at 67.816% when pulling 1d840840690aa85b5c50b99671496f91042e92b9 on southworks:external/fix/southworks/fix-zoom-400 into 9a794fb17f8d3fe39eeda19c755c96b951c81f40 on microsoft:main.


svg Thumbnail Doesn't work   /SVG缩略图无效

PowerToys version: 0.29.3
PowerToy Utility:svg Thumbnail
Running PowerToys as Admin:  Yes
Windows build number: 19042.685

📝 Provide detailed reproduction steps (if any)

Duplicate of https://github.com/microsoft/PowerToys/issues/8856

Duplicate of https://github.com/microsoft/PowerToys/issues/8856


python38Packages.hg-evolve: 10.3.2 -> 10.3.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.hg-evolve is: "Enables the “changeset evolution” feature of Mercurial core"
meta.homepage for python38Packages.hg-evolve is: "https://www.mercurial-scm.org/doc/evolution/"
meta.changelog for python38Packages.hg-evolve is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 10.3.3 with grep in /nix/store/zvl53rsg0ma4x80zpazms9di5srjfjfb-python3.8-hg-evolve-10.3.3

found 10.3.3 in filename of file in /nix/store/zvl53rsg0ma4x80zpazms9di5srjfjfb-python3.8-hg-evolve-10.3.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

0 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.hg-evolve

Instructions to test this update (click to expand)

Build yourself:
nix-build -A python38Packages.hg-evolve https://github.com/Kranzes/nixpkgs/archive/b346a9ac0519e96f29d0eaf6bd046a86d2da4d33.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zvl53rsg0ma4x80zpazms9di5srjfjfb-python3.8-hg-evolve-10.3.3
ls -la /nix/store/zvl53rsg0ma4x80zpazms9di5srjfjfb-python3.8-hg-evolve-10.3.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python38Packages.hg-evolve
python39Packages.hg-evolve

Maintainer pings
cc @xavierzwirtz @lukegb for testing.

Result of nixpkgs-review pr 133919 at b346a9ac run on aarch64-linux 1

2 packages built successfully:

python38Packages.hg-evolve
python39Packages.hg-evolve


Rename descend_into_macros Function per FIXME comment

This renames descend_into_macros to  descend_into_macros_single and descend_into_macros_many into descend_into_macros.
However, this does not touch a function in SemanticsImpl of same name.
I was prompted to do this per a FIXME comment, which is removed in this PR.

Thanks!
bors r+

changelog internal (first contribution) rename descend_into_macros functions


Use web.config environment variables to read if in Development

Caught this during verification. By default, the ASPNETCORE_ENVIRONMENT is set in the web.config rather than on the iisexpress process, which I thought to be the case.

@aspnet-hello triage https://dev.azure.com/dnceng/public/_build/results?buildId=205464

@aspnet/build it seems that my PR lost the PR check for helix. This a known issue?

Pr is green here: https://mc.dot.net/#/user/aspnetcore/pr~2Faspnet~2Faspnetcore/ci/20190530.15


[Test - Espresso] Preparing for Upload guide: Add clarification about modifications to the build system

Overview
https://github.com/MicrosoftDocs/appcenter-docs/blob/live/docs/test-cloud/preparing-for-upload/espresso.md#1-changes-to-the-build-system
Description
I think two items are potentially confusing here:
1) It's not very clear that the user needs to look at different build.gradle files for the settings they're applying:

Make sure you have a jcenter() entry in the build.gradle in your project root directory:
vs.
Add the following dependency in your app module's build.gradle file:

The proximity of these two items misled me for awhile into thinking I was to apply both changes to the same build.gradle file. One possible way to make this clearer is to add emphasis to what the actual hint names of the files are. For example, in my project, it looks like the format is:

build.gradle (Project: projectname)
build.gradle (Module: app)

It would be good if someone could confirm that format is consistently what should be expected in an app; or if there's some other aspect that varies. ("projectname" looks like it varies based on the actual name of the project, but I think the rest is still displayed as normal.)
2) Starting with Gradle 3.0, androidTestCompile is deprecated and you should use androidTestImplementation instead.
I think it's a bit confusing whether the only change the user should be making in this scenario is to change androidTestCompile('com.microsoft.appcenter:espresso-test-extension:1.2') to androidTestImplementation('com.microsoft.appcenter:espresso-test-extension:1.2') renaming the method but passing in the same argument...or if the user actually needs to modify the element in some additional way.

Seems like it's Test docs. Assigning to @glennwester


Process request and Change Configuration

Hello ThreeMammals !
i looking for one Middleware that provide Extra Action on each Request (Action Defined by Developer who use ocelot) .
For example change Downstream Host Address depend on Query params and some data stored on DataBase.
do u want to add some thing like this ?

Your scenario sounds like a custom service discovery one.
Why not to use Service Discovery vs Consul?
So you will control your downstream services by Consul.

For example change Downstream Host Address depend on Query params and some data stored on DataBase.

If you need query string manipulations and storing data in a DB then seems you have to develop your own SD Custom Provider.

i looking for one Middleware that provide Extra Action on each Request (Action Defined by Developer who use ocelot) .

Why not to choose a middleware and inject it to pipeline? :point_down:

Middleware Injection

In most cases Delegating Handler also helps to have a control on request and response.

Delegating Handlers
HTTP Message Handlers in ASP.NET Web API


Change Detection runs multiple times with material components

Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
https://components-issue-is9tqp.stackblitz.io/
Steps to reproduce:

Click on native select and view console and you'll notice there is no output of "Checking the view"
Click on the material select and view console and you'll notice there are 6 outputs of "Checking the view",

Expected Behavior
What behavior were you expecting to see?
I would expect there to be a single change detection if the value changed or when the drop-down closes.  There should not be multiple change detections when you click on the mat-select.
Actual Behavior
What behavior did you actually see?
Change detection is called 6 times when you click on mat-select without changing the selection.  When you click outside the mat-select, change detection is called 8 times.
Environment

Angular:  8.2.8
CDK/Material: 8.2.3
Browser(s):Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

That's probably 'cause you have a function in your template (get runChangeDetection()).
When you click the mat-select, it has to create it's options components, and angular has to trigger change detection to resolve your template function, since it's not pure.
You should avoid using functions in the template, and instead go with pipes, if it's an option.

@MRMokwa is correct. Furthermore, there are multiple events that happen during the select's opening sequence which may need to trigger change detection. The fact that change detection is running, doesn't necessarily mean that anything is updating in the DOM. Closing since this works as expected.


Uses long arguments for all Wallaroo Labs commands

This changes all of the commands that run WallarooLabs programs to use
long arguments. Using long arguments instead of short arguments will
make it easier for users to understand what the commands are doing.
Fixes #1629
[skip ci]

@aturley this needs a rebase.


Azure AD B2C

Is there an equivalent solution utilizing Azure AD B2C?
Is it even compatible with Microsoft Graph API?
I'm unable to get tokens generated via my B2C portal to authenticate against the Graph API.

Hi @JimBobSquarePants soory for not getting back to you earlier! Azure AD B2C works with MSAL only, but this sample is using MSAL, so in theory you should be able to use this sample to get it working. What is the issue you are facing? Do you have an exception message for example?

Moreover have a look on this sample and this docs which are describing the ways to use Microsoft Graph with AzureAD B2C.

Please reopen if you're still facing issues getting Microsoft Graph to work with Azure AD B2C!


ConsentDeniedEvent not found error on build of the QuickStart UI.

Please only use the issue tracker for bug reports and/or feature requests. For general security questions, or free or commercial support options do not use the issue tracker and instead see here for more details.
For bug reports,  include the relevant log files related to your issue. See here how to enable logging. Delete this line once you have.
Finally, please keep the issue concise and to the point. If you paste in more code than the text for the issue you are reporting then we will most likely not read it.
Issue / Steps to reproduce the problem
Download the quickstart UI into a new project.
Run a build.
Relevant parts of the log file
There is no log file. Line 115 of the ConsentController.cs file throws a build error on the ConsentDeniedEvent:

https://github.com/IdentityServer/IdentityServer4.Quickstart.UI/blob/9d1c7a3113a118d7bd4e6806146d3419c578f4d7/Quickstart/Consent/ConsentController.cs#L115

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0246	The type or namespace name 'ConsentDeniedEvent' could not be found (are you missing a using directive or an assembly reference?)	ProvPubs.Compline.IdentityServer	C:\Projects\test\Quickstart\Consent\ConsentController.cs	115	Active

My mistake. I missed the fact that I had 2.1.2. installed rather than the latest.


Zaff battlestaves reminder still showing up after collection

The reminder to claim staves still shows up even after they have been collected.

Fixed in #1129

Fixed by #5212?

I think so

This either has still not been fixed or there is another error because I'm still having this problem as of Aug. 2019

@trimbe and I couldn't reproduce this. Please make sure to re-log if you receive this notification while already logged in. Staves don't restock unless you've logged in after that point.


miss the command   in beta7 ??   dnx  ef migrations apply

dnx ef migrations --help
Usage: ef migrations [options] [command]
Options:
-?|-h|--help  Show help information
Commands:
add     Add a new migration
list    List the migrations
remove  Remove the last migration
script  Generate a SQL script from migrations
Use "migrations [command] --help" for more information about a command.

It got renamed to dnx ef database update.


KDE Wayland session uses llvmpipe for OpenGL, not hardware acceleration

Issue description
Running a wayland session with export $(dbus-launch); startplasmacompositor on a tty, everything seems to work, but OpenGL applications are quite slow. Running glxinfo reveals that they are using llvmpipe. (This might just be an XWayland thing, but I'm not sure.) Firefox (on XWayland) also says it is using llvmpipe.
I have an AMD GPU and have the following opengl-related options enabled:
services.xserver.enable = true;
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.opengl.driSupport32Bit = true;

Steps to reproduce

Start KDE with export $(dbus-launch); startplasmacompositor.
Run glxinfo in a terminal to see that it is using llvmpipe.

Technical details

System: 18.03pre118265.df528e4472 (Impala)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: 18.03pre118265.df528e4472
Sandboxing enabled: false

Run glxinfo in a terminal to see that it is using llvmpipe.

That's because glxinfo retrieves info from XWayland which has no acceleration until https://github.com/NixOS/nixpkgs/pull/30828 got merged
To test what KDE Wayland uses, do the following: "open KRunner, enter “KWin”, select KWin Debug Console, switch to OpenGL tab"

KWin is using OpenGL.
#30828 does indeed fix it; XWayland's glxinfo now reports the proper render info:
...
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: Radeon RX 580 Series (AMD POLARIS10 / DRM 3.18.0 / 4.13.9, LLVM 5.0.0) (0x67df)
    Version: 17.2.2
    Accelerated: yes
    Video memory: 8050MB
...

Thank you very much!

Fixed by now-merged #30828.


Add links to recommended issues in char page

It should link to the same page we use for displaying google books


instant execution of job with every().days.at on first run

When I schedule a job with schedule.every().days.at("00:00:20", timezone("Europe/Amsterdam")).do() the job will run immediately even if the first call of run_pending is at 15:00.
How can i prevent the instant execution? The first execution shall be at the next day

maybe some additional infos:
On my windows 11 PC this doesn't seems to happen. On the script running in kubernetes containers on mediawikis toolforge servers it seems to occure only on jobs which are scheduled in hour 0 and 1.
The servers time is set to UTC.

Further tests:
When I set my timezone to UTC the same thing occurs. If the job is scheduled between 00:00 and 01:59 (MEST) the task will run immediately and additional: the task is immediately rescheduled after each run. I would guess till the 2 hours offset between UTC and MEST have passed

Thank you the detailed explanation and investigation. This is indeed a bug. I've started working on a fix in #604

Hi @alkanex-xyz, the fix in #604 seems to work good with the test cases I can come up with. Would you be willing to also take a look at it? Either by reviewing, running it as part of your program or by writing a unit-test like the these ones that represents your situation? Any testing/reviewing help would be super helpful to move this forward.

Hey,
I've tested my case and the schedule run as intended. Thanks a lot .


Missing MyPy compatible type annotations

Hello. It seems like there are no MyPy compatible type annotations provided by this package. Is that correct? IMO this is really important to support. If I run mypy on my code, it shows error: Skipping analyzing "coinbase": module is installed, but missing library stubs or py.typed marker  [import-untyped] as well as note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports. If types are provided, and I'm just not using them right I will seek help elsewhere, I just wanted to get clarity on if they are provided or not and request that this be added if they are not.
I also believe it is important not just to provide a best guess of type stubs but to actually use types internally in the project and have them automatically statically validated to help keep them as accurate as possible.

Pull request #27 is the kind of thing I'm suggesting, but throughout the entire project.

@StarringLara Thank you so much for flagging this! We will look into adding MyPy annotations soon and will update you once that is done. Thanks!

@StarringLara Please note that we do have type annotations for all parameters to our public functions. You are right that we have not added type annotations to the return types and will work on adding that soon. Hopefully the existing param types are useful for you regardless!

Certainly the existing types are appreciated. I am just getting started with using this SDK, and as I get further with it, I am noticing some type hints in the code, and I do find those very helpful. In a certain sense, it's definitely not an all or nothing thing, and I appreciate any types you are able to provide or add. In another sense, I hope you won't dismiss the concept that the ideal is to have types everywhere, treating it as requiring everything to be typed from then on. Of course, the ideal should not hold you back from making incremental progress now, nor does it make that progress unappreciated. As far as I understand it, the best way to eventually enforce the ideal would be for you to use mypy internally as your own QA tool for this project, and to require it to report no issues in your CI tests, while using it with the setting strict = true, which I think will require all parameters and return values to have a type.

@StarringLara we just pushed a new v1.1.3 that includes fully annotated return types for all of our exposed functions. Hopefully that helps in your development. Please let us know if you have any other questions or recommendations for our SDK.
Thanks for your feedback and for helping us improve our product!


System.Xaml is missing

The source for System.Xaml is missing from reference source.
As discussed in the Port System.XAML issue, having the .net framework reference source would allow the community to move forward with supporting xaml based scenarios, specifically the parsing of Workflow Foundation Xaml serialized documents.

I tried and tried to get the source to system.xaml. no luck. Apparently it contains corporate trade secrets or something.

It has just been made available over at https://github.com/dotnet/wpf

Wonderful! Should I close this issue?

Wonderful! Should I close this issue?

No, because this is orthogonal. We should still add the files here.


Cataclysm Classic Druid Swift Flight form not working

Addon version: 4.4.28
WoW version: Cataclysm Classic latest
I am in deepholm on my 84 druid and what was working fine before when using default settings to enter swift flight form, no longer works. I have a macro with the following
/click MountsJournal_Mount LeftButton 1
At the moment when I use this macro with these settings.

Nothing happens. I do not enter swift flight form. Character stays as is.
If I disable everything like this

it just mounts my favourite ground mount as expected
Since I can't use swift flight form from the models, I have no way to use this. Is there something else I need to do? Have the spells for flight form changed?
Thanks

Hi, blizz disabled chain macros so /click macros don't work anymore, you need to bind a key or use the summon panel.

This is not the issue. All other characters with different classes use the same macro and it works fine. The druid macro works when these options are disabled as shown. That uses the click option.

Because druids use macro instead of mounts, use the binding key or the summon panel

OK fair enough. Mapped to keybind instead.

OK fair enough. Mapped to keybind instead.


Error when install a package

I install nano with command
$ apt-cyg install nano
And i had a error
gpgv: can't hash datafile: file open error
Error: BAD signature: setup.bz2.sig
Pls, help me. Thanks a lot.

Hmm,,, under 32 bit environment, gpgv seems not work correctly.
I changed backend of verify_signatures functon from gpgv to gpg.
Please update your apt-cyg to the latest version of this fork and try apt-cyg install nano again.

Thanks a lot @kou1okada. It's working ok.