WIP fix: check state root for buffered blocks

When connecting buffered blocks state root validation does not occur. As state root validation does not occur later except for the tip when a new canonical head is chosen.
The proposed solution is to use exhaustive validation when inserting buffered blocks in try_insert_validated_block(). This will increase the processing time as state roots must be checked however, it will prevent unvalidated blocks from being added to the chain.

do you have an example showing that being optimistic about validation here has caused problems? I'm not familiar enough with this part of the code to say what the source for blocks that go into the buffer is, assuming they are not validated before they are put in the buffer?

do you have an example showing that being optimistic about validation here has caused problems?

nope, the fix here is trying to prevent the situation from happening, no idea if it has already happened

I'm not familiar enough with this part of the code to say what the source for blocks that go into the buffer is, assuming they are not validated before they are put in the buffer?

not very familiar either, as I understand it blocks are buffered when they are received and the block they build upon is not yet available, they are stored for later. the issue is, state root is only validated for blocks building on top of the canonical chain or for the last one in a set of buffered blocks, not for the ones in the middle (these are only executed).
this makes it possible to introduce blocks in the chain with a malicious state root in the header, would require building several slots in a row though, but still possible.

this approach has a big impact on performance and won't be followed to fix this issue, closing


Remove test-prove-foundry stage

Removing the test-prove-foundry stage from CI. The same test suite is still executed in test-prove-foundry-booster.

@iFrostizz Addressed your requested changes. Thanks for pointing them up!

Closing this.


Fix launch_mapdl when calling MapdlGrpc

Closes #1840.

The bug hit has been localized. It came from PyMAPDL-Examples and it is now fixed.
For visibility, the solution has been mentioned in the Discussion section: About printing and suppressing output #1843


Upgrade to Elasticsearch <IP_ADDRESS>

Hey there, I will have a chance to review this on Monday, I am on vacation atm.

@vvanholl Please feel free to review my updates to this. I can see that currently the merging is blocked due to: "The base branch requires all commits to be signed." So let me know if you need me to sign the commit and re-push into branch before merging.

When can i expect this to be merge?

@vvanholl @lukas-vlcek By the way, meanwhile, v6.6.1 got released as well.

I can not merge it and prepare distribution release myself. We need to wait for @vvanholl.

@nikolay Would you mind opening a ticket to release the plugin for ES v6.6.1 ?

Let's merge and publish now

@lukas-vlcek I will.


Implement missing members for trait impl and fill match arms adds $0

Steps to reproduce:

impl Iterator for Foo {}
Try to apply "Implement missing members"

struct Foo;

impl Iterator for Foo {
    $0type Item;

    fn next(&mut self) -> Option<Self::Item> {
        todo!()
    }
}

RA version: 0.3.428-nightly

Which editor are you using? $0 should be interpreted as I think the new position of the cursor.

Which editor are you using? $0 should be interpreted as I think the new position of the cursor.

VSCode 1.52.1

Similar thing also with "Fill match arms"
let x = Some(10);
match x {
    Some(${0:_}) => {}
    None => {}
}

I also had this issue in neovim + coc-rust-analyzer

This seems to happen with all assists that put cursor positions, but only with assists, cursor setting completions work fine still.

I also just hit this with today's release (2020-12-28) on VSCode 1.52.1.  Reverting to the previous version of the extension fixes the issue, so it feels like at least something must have regressed on the RA side.

I also just hit this with today's release (2020-12-28) on VSCode 1.52.1. Reverting to the previous version of the extension fixes the issue, so it feels like at least something must have regressed on the RA side.

I think this is what I experienced.  Last night, it was working correctly.  It only broke after I downloaded the newest RA.

I believe the problematic change is this one https://github.com/rust-analyzer/rust-analyzer/commit/23ed33a3a6b92064ae711bac305ac163f1fda4f5#diff-9d0d5bb068560b621fd1e980e53c9edaaf9966629337a02732fb4724ce1b108e


molecule doesn't find role with ansible-compat == 1.0.0

It seems that ansible-compat==1.0.0 doesn't allow fqrn names of the role to test.
Steps to reproduce:
virtualenv venv
cd venv
. bin/activate
pip install molecule
# Successfully installed Jinja2-3.0.3 MarkupSafe-2.0.1 PyYAML-5.4.1 ansible-compat-1.0.0 arrow-1.2.1 bcrypt-3.2.0 binaryornot-0.4.4 cerberus-1.3.2 certifi-2021.10.8 cffi-1.15.0 chardet-4.0.0 charset-normalizer-2.0.10 click-8.0.3 click-help-colors-0.9.1 colorama-0.4.4 commonmark-0.9.1 cookiecutter-1.7.3 cryptography-36.0.1 distro-1.6.0 enrich-1.2.7 idna-3.3 jinja2-time-0.2.0 molecule-3.5.2 packaging-21.3 paramiko-2.9.2 pluggy-1.0.0 poyo-0.5.0 pycparser-2.21 pygments-2.11.2 pynacl-1.5.0 pyparsing-3.0.6 python-dateutil-2.8.2 python-slugify-5.0.2 requests-2.27.1 rich-11.0.0 selinux-0.2.1 six-1.16.0 subprocess-tee-0.3.5 text-unidecode-1.3 urllib3-1.26.8
pip install molecule-vagrant
# Successfully installed molecule-vagrant-1.0.0 python-vagrant-0.5.15
molecule init role -d vagrant foo
cat << EOT > meta/main.yml
---
galaxy_info:
  author: author
  namespace: my_namespace
  role_name: foo
EOT
sed -i 's/foo/my_namespace.foo/' molecule/default/converge.yml
molecule test
# TASK [Include my_namespace.foo] ************************************************
# ERROR! the role 'my_namespace.foo' was not found in /tmp/venv/foo/molecule/default/roles:/home/user/.cache/molecule/foo/default/roles:/tmp/venv:/home/user/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/venv/foo:/tmp/venv/foo/molecule/default
#
# The error appears to be in '/tmp/venv/foo/molecule/default/converge.yml': line 7, column 15, but may be elsewhere in the file depending on the exact syntax problem.
#
# The offending line appears to be:
#
#       include_role:
#         name: "my_namespace.foo"
#               ^ here
# ...
# CRITICAL Ansible return code was 2, command was: ['ansible-playbook', '--inventory', '/home/user/.cache/molecule/foo/default/inventory', '--skip-tags', 'molecule-notest,notest', '/tmp/venv/foo/molecule/default/converge.yml']

Now the same test with ansible-compat==0.5.0:
pip install ansible-compat==0.5.0
#       Successfully uninstalled ansible-compat-1.0.0
# Successfully installed ansible-compat-0.5.0
molecule test
# ...
# PLAY RECAP *********************************************************************
# instance                   : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

The following symlink will be created with ansible-compat==0.5.0, but not with version 1.0.0:
ls -l ~/.ansible/roles/my_namespace.foo
lrwxrwxrwx. 1 user user 13 14. Jan 13:36 ~/.ansible/roles/my_namespace.foo -> /tmp/venv/foo

Same issue occurring for me. I have some details in https://github.com/ansible-community/molecule/issues/3404#issuecomment-1017084125 if it would be useful here as well.

This should likely be fixed by https://github.com/ansible/ansible-compat/releases/tag/v2.1.0

I'm able to use https://github.com/ansible/ansible-compat/releases/tag/v2.0.4 however the 2.1.0 seems to actually be regression of this issue.

I am seeing this in 2.2.0 as well.
Example Failing Build: https://github.com/osx-provisioner/role-symlinks/actions/runs/2688460056
Example Passing Build:  https://github.com/osx-provisioner/role-symlinks/actions/runs/2694208267

@niall-byrne
Could you please verify it in latest molecule?
pip install molecule==4.0.0


check for null when adding Exception Data entries into ExceptionTelem…

Fix Issue # .
https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/848

[ ] I ran Unit Tests locally.

For significant contributions please make sure you have completed the following items:

[ ] Changes in public surface reviewed

[ ] Design discussion issue #

[ ] CHANGELOG.md updated with one line description of the fix, and a link to the original issue.

[ ] The PR will trigger build, unit tests, and functional tests automatically. If your PR was submitted from fork - mention one of committers to initiate the build for you.
If you want to to re-run the build/tests, the easiest way is to simply Close and Re-Open this same PR. (Just click 'close pull request' followed by 'open pull request' buttons at the bottom of the PR)

Please follow [these] (https://github.com/Microsoft/ApplicationInsights-aspnetcore/blob/develop/Readme.md) instructions to build and test locally.

@cijothomas @andscho-msft
The canonical way to do this is with System.Convert.ToString(value). Then, if the value implements IConvertible or IFormattable those interfaces will be used (it also gives you a chance to pass a CultureInfo if you need). Note that Convert.ToString will return an empty string on a null object which is different from this PR.


Add fonction OnClickListener for positive button

The OnClickListener is only for the positive button.
From there you can include your file upload with a ProgressDialog

Travis.CI tells me that there is a err when this is necessary because my application uses the same code and it works

ProgressDialog


⚠ HDBits has degraded performance

In 0264f8c, HDBits ($HDB) experienced degraded performance:

HTTP code: 502
Response time: 16061 ms

Resolved: HDBits performance has improved in 290daee after 415 days, 6 hours, 19 minutes.


Disk Pressure due to high allocation

Question

Disk Pressure due to high allocation

Environment

Longhorn version: 1.40
Kubernetes version: 1.26 (k3s)
Node config

Ubuntu 22.04

Additional context
For some unknown reason I get some disk-pressure. For most applications I distribute 3 Replicas across the three nodes. Therefore Disk space should be sufficient (as seen on the other nodes).
The shown 309 allocations cannot be found on disk at /home/longhorn
Could anyone guide me to figure out the root reason and potentially garbage collect this issue?

Will upgrade to Longhorn 1.4.2 soon. So the issue will not re-occur?

If you apply the workaround in https://github.com/longhorn/longhorn/issues/5762#issue-1669167403, the issue should not happen when upgrading to v1.4.2.


persist user

Dev Summary
we want logged in user to persist across page refreshes
here's the end to end workflow and some details around the whys:

in client/src/Login.tsx: user logs in same as before. but now we send along a header with fetch credentials: 'include', which makes a handshake with the BE and tells the browser that any cookies we get back with the response are okie doke. in the future it'll be good to set this to credentials: 'same-origin', but localhost:3000 and localhost:3001 in development
in server/src/auth/auth.controller.ts login(): on BE reception of request create a jwt with user info, and set into (signed) cookie. add the cookie to the response, and also respond with user object. during research for this ticket i learned the JWTs are encoded and can't be altered (without us knowing about it) but the data is not encrypted (so client could see what's in the body). with this info we no longer need to encode the user data that we respond with and that we'll store in react state. but we do still get a win out of encoding the data we put in the cookie (which is also encrypted) because now we'll know that the cookie+jwt that we receive are authentic and were created by us on the BE
so when browser gets back this response it will automatically set the jwt user info into a cookie. and also because we received the user data we set that into state
in client/src/providers/UserProvider.tsx useEffect: on refresh, as our component tree loads, the useEffect in the UserProvider will hit and send a request to /auth/session. the browser will automatically send the cookie with this request.
before server/src/auth/auth.controller.ts session() hits, the CookieAuthGuard decorator hits and checks if the cookie is there and if it's valid (not expired, signed by us) and if so, adds the user to the request data (all this in server/src/auth/guards/cookie-auth.guard.ts canActivate)
back in server/src/auth/auth.controller.ts session(): this responds with the user so we can have that in state on page load
UserProvider sets user into state so that we are already logged in on page load
in setTimeout in UserProvider: if the jwt is about to expire we make another request to /auth/session to get a new one
in client/src/Header.tsx: new logout button that sends request to /auth/logout. also removes user from state
in server/src/auth/auth.controller.ts logout: clears cookie aka (i think) sends new cookie with value of null back to browser

Test Plan

preReqs (to be checked by reviewer):

[ ] following command succeeds:
cd client && npm run checks && cd ../server && npm run checks && cd ..
expect tests to pass
[ ] ensure all files have been formatted:
cd client && npm run format && cd ../server && npm run format && cd ..
expect git status to show 0 files changed

repro steps:

login
open dev tools > network > login request
expect to see response headers with cookie
switch to application tab
expect to see cookie listed under localhost:3000
refresh page
expect to still be logged in
change setTimeout time to be 5 * 1000
open dev tools > network tab
expect to see requests to /auth/session every 5 seconds and login state persists
party

Resources

https://github.com/nestjs/jwt
https://stackoverflow.com/questions/15995919/how-to-use-curl-to-send-cookies
https://docs.nestjs.com/security/authentication
https://docs.nestjs.com/techniques/cookies
https://blog.logrocket.com/jwt-authentication-best-practices/#brief-introduction-to-jwt
https://scotch.io/bar-talk/why-jwts-suck-as-session-tokens
https://stackoverflow.com/questions/33112299/how-to-delete-cookie-on-logout-in-express-passport-js
https://github.com/expressjs/cookie-parser
https://docs.nestjs.com/controllers#library-specific-approach
https://stackoverflow.com/questions/36824106/express-doesnt-set-a-cookie
https://stackoverflow.com/questions/7042340/error-cant-set-headers-after-they-are-sent-to-the-client
https://expressjs.com/en/api.html#res.send
https://medium.com/swlh/7-keys-to-the-mystery-of-a-missing-cookie-fdf22b012f09
https://docs.nestjs.com/security/cors
https://github.com/expressjs/cors#configuration-options
https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials
https://stackoverflow.com/questions/52285591/signing-cookies-in-express

@esteban-gs addressed your comments and updated UserProvider, ready for another look if you want


how do you update the font awesome?

looks like the font awesome version is old and font awesome changed the format and wording of it. So I was wondering how you update it?

Very old comment... But anyone find a solution...?
Not much fontawesome seem to work :/


[FLOAT-4537] Failed to execute user binary.

When we update the LD_LIBRARY_PATH, it may also affect the user executables.
So instead of updating the environment variable, use a function to redirect the call to our aws cli when it is not found in the path.

thanks, shall we merge this change and i can start to run regression?


Also accept URL

This pod only works for assets bundled with the app. Please extend to allow specifying a URL.

We have Added Support for accepting URL in 2.0.0.


Medias outside the android system album cannot be truly deleted

Version
2.7.1
Platforms
dart, Android
Device Model
android10
flutter info
[✓] Flutter (Channel stable, 3.13.1, on macOS 13.4.1 22F770820d darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.13.1 on channel stable at /Users/jiashi/project/flutter/flutter3.13.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e1e47221e8 (3 weeks ago), 2023-08-22 21:43:18 -0700
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/jiashi/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = /Users/jiashi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 93EFF039-BFB5-4235-90E4-E0B6D45C28F1 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.4.1 22F770820d darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 116.0.5845.179

[✓] Network resources
    • All expected network resources are available.

• No issues found!

How to reproduce?
When I use await PhotoManager. Editor. DeleteWithIds method on the android side delete the photo album, delete the success. However, when I delete photos in other directories, such as WeiXin or screenshot directory photos, I can not really delete. Because it's still in the directory.
Logs
No error log

Example code (optional)
No response
Contact
<EMAIL_ADDRESS>

I Add an example(#1033)  for the issue.
I try to test the code on my device.
The code can delete assets.

So, could you provide a screen video recorder?

我使用的测试机是android10系统。如果是其它应用目录下的图片，无法真正删除，比如：Weixin... 我在清单文件中添加了android:requestLegacyExternalStorage="true"后，就可以真正删除照片了。但是这样一来，恐怕上架google时会被拒。

You can try the code at 1692aae59b28b13057374c1f2253398e1d4df3a4 or wait for me to release a new dev version.

okay,thank you so much!


Up / Down

Hi,
Is it planned to be able to mount a Wireguard interface or unmount it ? (Up/Down)
Thanks

I wasn't planning on that because those operations were easily done with the existing ip command which I assumed would be already available on most systems.
The iproute2 python package which we already depend on for netlink protocol handling has all the functions that are needed to create and manipulate network interfaces from python in the same way that ip does from the command line. An example of that sort of code is here,
https://github.com/cmusatyalab/sinfonia-tier3/blob/main/src/sinfonia_tier3/netns_helper.py#L46

@jaharkes True but ideally if i'm already using Python to configure the Wireguard interface i would also like to manage the interface. Without this functionality I have to make calls to wg-quick up/down.
It would also be ideal if this library supported wg status in JSON format.


Create ZHENG_LIMING.md

Hi @LimingZheng-NAU,
your Pull Request is correct. However your MarkDown file is rendering as a single line... To check how your file will be rendered, click in the "Preview changes" tab:

Check this link for some hints: https://guides.github.com/features/mastering-markdown/
You can fix your file and submit again, if wanted.
Cheers
Igor

👍 Thanks :-)


chore(master): release 1.22.4

:robot: I have created a release beep boop
1.22.4 (2022-08-31)
Bug Fixes

emojisteal: fixed error on no emoji found/invalid value in emoji input. (d67972b)
guildCreate: added error catching for future proofing. (9460972)
uploademoji: fixed error of uploaded animated emojis not being animated. (0a81e09)
uploademoji: fixed error on invalid value in name (babd066)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/SethCohen/EmojiUtilities/releases/tag/v1.22.4 :sunflower:


【Requirement】Integrate Iconfront provided by dtstack designer

requirement description : Integrate Iconfront provided by dtstack designer, and seek unity of icon specification style

done


Created Breadcrumb 2 by improving Breadcrumb

Here is the component I have built.
I built Breadcrumb 2 which is just like Breadcrumb.html but with more style changes for the issue #676
Here is a screenshot of that.
Before:-

After:-

Great work @RavindraP04
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/)
Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.
That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.

Thanks @Rajdip019 for approving the PR.
ClueLess Profile URL:- https://www.clueless.tech/profile/admin/98400348
PR merged by @Rajdip019


[iOS] RNTester fails Integration tests with RCT_NEW_ARCH_ENABLED=1

Description
If you try and run RNTester's integration tests after running RCT_NEW_ARCH_ENABLED=1 pod install, RNTester will crash on boot. Specifically, the crash happens when creating an RCTFabricSurface in the following method in RCTAppSetupUtils.mm:
UIView *
RCTAppSetupDefaultRootView(RCTBridge *bridge, NSString *moduleName, NSDictionary *initialProperties, BOOL fabricEnabled)
{
#if RCT_NEW_ARCH_ENABLED
  if (fabricEnabled) {
    id<RCTSurfaceProtocol> surface = [[RCTFabricSurface alloc] initWithBridge:bridge
                                                                   moduleName:moduleName
                                                            initialProperties:initialProperties];
    return [[RCTSurfaceHostingProxyRootView alloc] initWithSurface:surface];
  }
#endif
  return [[RCTRootView alloc] initWithBridge:bridge moduleName:moduleName initialProperties:initialProperties];
}

Theory:
Unlike most apps, RNTester has Fabric enabled by default in its podfile. Most of the time, a user must manually do so by running RCT_NEW_ARCH_ENABLED=1 pod install, meaning the environment variable is passed to cocoapod, which passes it as a flag to clang when you run xcodebuild. Since RN-Tester isn't generally built with the environment variable, the flag isn't passed in everywhere (such as the method above). Indeed, I observed that running RNTesters' integration tests with a normal pod install would skip the ifdef block and return an RCTRootView in the method above!
React Native Version
main branch (as of September 20th, 2023)
Output of npx react-native info
System:
OS: macOS 14.0
CPU: (12) arm64 Apple M2 Max
Memory: 200.56 MB / 64.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.14.0
path: ~/.asdf/installs/nodejs/18.14.0/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 9.3.1
path: ~/.asdf/plugins/nodejs/shims/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.13.0
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9514443
Xcode:
version: 15.0/15A240d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.19
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/sanajmi/.asdf/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: false
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: true
Steps to reproduce

Clone React-Native
yarn install
cd packages/rn-tester
pod install
cd ../..
yarn test-ios (observe it passes)
cd packages/rn-tester
RCT_NEW_ARCH_ENABLED=1 pod install
cd ../..
yarn test-ios (Observe crash)

Snack, code example, screenshot, or link to a repository

Thanks @Saadnajmi for opening the issue.
I reproed the test failing, I think that the problem is that nobody tried to run those tests with the new architecture turned on, and, therefore, the failures.
Out of curiosity, have you ever seen them pass with the new arch turned on?

Yeah, for 0.71 and 0.71 on React Native macOS (where we test iOS as well), we had them passing.

Thanks @Saadnajmi for opening the issue. I reproed the test failing, I think that the problem is that nobody tried to run those tests with the new architecture turned on, and, therefore, the failures. Out of curiosity, have you ever seen them pass with the new arch turned on?

That's odd... The part of code you highlighted didn't changed between 0.72 and 0.73... :/

I want to say it's Xcode 15 related, so let me do this:
I'll try testing 0.72-stable with macOS 14+Xcode 15 and macOS 13+Xcode 14, and see if I can repro the crash on both

I want to say it's Xcode 15 related, so let me do this:
I'll try testing 0.72-stable with macOS 14+Xcode 15 and macOS 13+Xcode 14, and see if I can repro the crash on both

@Saadnajmi I saw two PRs related to this issue after your last comment. Can this issue be closed then?

I want to say it's Xcode 15 related, so let me do this:
I'll try testing 0.72-stable with macOS 14+Xcode 15 and macOS 13+Xcode 14, and see if I can repro the crash on both

@Saadnajmi I saw two PRs related to this issue after your last comment. Can this issue be closed then?

Let me test...

@cortinico On main as of this morning, I can repro with the error with Xcode 14.3.1. I think the other memory allocation error we saw was Xcode 15 specific, so this is probably something different. I can try Xcode 14.2 or lower, but it seems to be a new issue. I think rather than test on older versions of Xcode (which involves my older, slower laptop 😅), I'll test against 0.71-stable / 0.72-stable / 0.73-stable to see if we can narrow it down more.

I tried to enable the address sanitizer and the test are passing. ¯_(ツ)_/¯

I tried to enable the address sanitizer and the test are passing. ¯_(ツ)_/¯

Wha... generally the opposite happens :D great!

Talking with @sammy-SC, enabling the Address Sanitizer is not a fix: this will hide an actual memory layout issue. Therefore, we are investigating what the root cause and what will be the actual fix.

Fix landing: https://github.com/facebook/react-native/pull/41441


Refactoring stuff

Description of changes
Refactor code and make reward values configurable.
How has this been tested?
Please describe the test strategy you followed. If not tested, please explain why.

[ ] automated unit test
[ ] automated integration test
[x] manual, exploratory test

I tested that the values in the application properties file are used. However, they are not sanity checked. If someone enters something negative or what, it's his own fault.
Checklist before requesting a review

[ ] My code is easy to understand
[ ] My code follows the coding guidelines of this project
[ ] My code fulfills all acceptance criteria
[ ] The test coverage (line and branch) is reasonably high, especially on Service classes and other classes with complex logic
[ ] I have made corresponding changes to the documentation or
the wiki/adr
[ ] I made no breaking changes in the database schema or if so, I will perform a database migration

Checklist for reviewer

The code is easy to understand
The code follows
the coding guidelines of
this project
The code is tested or if not, the reason is documented or discussed
The added and existing tests reasonably cover the code change
The code has no breaking changes in the database schema or if so, the assignee is aware of it and
will perform a database migration

@ZombieAlienRobot discord is down, but here is a PR you might wanna look at


Required Slots Fuel Grid allowing fuel that doesn't fit the required slots

Currently, using shift clicking of a fuel while in a workstation using the Fuel grid controller and the Required fuel itemstack feature, allows bypassing the required fuel requirement.
Expected behaviour
Shift clicking a fuel should not allow the fuel be slotted into the required fuel slot if it does not fulfill the required fuel slot. Shift clicking a fuel that does fulfill the required fuel slot should slot it in the first slot that the satisfies the required fuel.

Fixed in v3.1.0


python3Packages.losant-rest: init at 1.15.1

Motivation for this change
Python module for consuming the Losant IoT Platform API
https://github.com/Losant/losant-rest-python
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 151433 run on x86_64-linux 1

2 packages built:

python38Packages.losant-rest
python39Packages.losant-rest


Begin working on a new schnorr scheme

This is an idea to replace R in the challenge, which was previously the sum of R for all the nodes. If we replace it with the signer's own R then we can arbitrarily add new signatures without having to predetermine the N/M ratio of signatures.
And because the signers have already pre-commited to R (thanks to our preimage scheme), the signers cannot manipulate their own R and therefore signatures cannot be forged.
It would be good to look hard and try to break this scheme. But if it works, it could open up a lot of possibilities and would simplify signature collection drastically.

I pushed another commit that removes R from the hash (the commitment / message).
I'll ask about the security of this scheme on stackexchange soon.

https://github.com/bpfkorea/agora/pull/1162 is a better example, it includes a commit with the "multi-sig" example.


Fix format of percentage numbers

The percentage figures for metrics are not presented as percentages but as whole numbers on the single page view.
This PR fixes that.
https://trello.com/c/DhJHJL6b/679-1-fix-formatting-of-numbers-percentages-for-single-page

 (1) Fix formatting of numbers/percentages (for single page)


Npm workspaces

Overview
Removes dev dependencies on yarn and lerna and just uses npm workspaces.
Tests
[Include a link to the passing GitHub action running the test suite here.]
Legal
This project is available under the Apache 2.0 License.

make sure to clean up the commit history (which is considered part of the review)

Closing this and rolling it into https://github.com/awslabs/iot-app-kit/pull/231


Env variables documentation

Fantastic repo and I plan on using it for my own project.
Can you share what the endpoints are for the webhooks etc.
Maybe a gist of the .env file with annotations on where to get/set each key/path.
Specifically the following:
APPWRITE_WEBHOOK_KEY: Need to define an endpoint to set one up
STRIPE_WEBHOOK_KEY: Need to define an endpoint to set one up
RESEND_API_KEY: Is this from stripe or appwrite and where to set up?
OPENAI_API_KEY: Assume this is from openAi?
NEXT_PUBLIC_APPWRITE_PROJECT & PLASMO_PUBLIC_APPWRITE_PROJECT: Is this a path to the appwrite project or a project name or ID etc?
NEXT_PUBLIC_APPWRITE_ENDPOINT: assume this would be https://cloud.appwrite.io/v1/xxxx-xxxx-xxxx-xxxx? Correct or no?
NEXT_PUBLIC_APPWRITE_URL: not sure about this as the example starts with http://
If you want I'll nicely document everything as I go once I know where to set everything and do a readme PR.

Hey, thanks for the interest.
I'm using Appwrite as a backend, however you can achieve this with any other backend:

APPWRITE_WEBHOOK_KEY: Webhook that calls /api/stripe/customer every time a document in database is created
*_PUBLIC_APPWRITE_PROJECT and *_PUBLIC_APPWRITE_ENDPOINT: Appwrite Project ID and Appwrite Endpoint for communicating with Appwrite. That would be just https://cloud.appwrite.io/v1. You can get both here
*_PUBLIC_APPWRITE_URL: Path to the homepage (in my case https://www.recommen.do)
STRIPE_WEBHOOK_KEY: Webhook that calls api/stripe/webhook everytime a subscription is created/updated/deleted
RESEND_API_KEY: Key for using Resend in my contact form. You can get one here
OPENAI_API_KEY: Key for using OpenAI in my prompt. You can get one here

I just updated the functions I use, you can check them out here. Let me know if you have any more questions.

Thanks for the response. Really appreciate it.
I looked at the docs for the functions and they make total sense also. Just a quick question or 2 about the DB structure:
In the profiles collection there is a stripeSubscriptionID but a few places in the code (api/stripe/webhooks) there's mentions of other stripe related attributes. What does the full profiles collection look like?
Also in the identifier collection. What's the purpose of this collection?
Thanks again. I'll send you a PM soon outlining what I'm developing

All the attributes for database main and collection profile:
Key			Type, Default Value, Size
userId			string - 128
name			string - 256
email			string - -
credits			integer 10 9999
usage			integer - max
stripeCurrentPeriodEnd	datetime - -
stripeCustomerId	string - 128
stripePriceId		string - 128
stripeStatus		string - 32
stripeStatusLastUpdated	datetime - -
stripeSubscriptionId	string - 128
stripeSubscriptionName	string - 128
markedForDeletion	datetime - -
termsAgreed		datetime - -
history			string[] - 4096
saveHistory		boolean true -
I probably don't use all of them at the moment, and there could be other optimizations.
The identifier collection is just a way to stop abusing the free grant of the 10 credits. Basically just a hashed version of every email created, and when the user deletes and creates a new account, the new account will be granted 0 credits if the hashed version of the email exists already.

Thanks - almost have it working now. I've been documenting along the way so I'll do a readme PR in the coming days.


Integration with TS classes

Not exactly a feature request...
I'm working on a typescript project so I have class definitions for my DTOs. Right now to generate correctly swagger definitions I have to do like this:
/**
 * A song type
 * @typedef {object} Song
 * @property {string} title.required - The title
 * @property {string} artist - The artist
 * @property {number} year - The year - double
 */

export class Song {
	title: string;
	artist?: string;
	year?: number;
}

since types are already defined implicitly in the ts class, the js comment is a bit redundant... is there a way to avoid to write the "JSDoc" comment?
Maybe I could use another library to generate swaggers' components from the DTOs and express-jsdoc-swagger for the api...

Hi @ilbonte, I agree it is a bit redundant but this package was not created with TS in mind a lot. It is something we definitely have to improve, but we need a lot of investigation, and we are not going to work on this until we fix other issues.
I would say there are other libraries that fit what you need using TS.


Get rid of unique ids in SVG files.

This commit makes the following assumptions:

SVG unique ids add a significant amount of noise to "git diff" outputs
SVG unique ids are only necessary when embedding multiple SVG files inside the same HTML page
even then, it was apparently necessary to further suffix style names
SVG snapshots are embedded only in the HTML report
SVG unique ids are kinda hard to control due to the "distance" between pytest and the function that actually generates them:

pytest_textual_snapshot.snap_compare..compare()
textual._doc.take_svg_screenshot()
App.export_screenshot()
rich.Console.export_svg(... unique_id=None)

This change introduces:

normalization of persisted SVG snapshots by stripping their ids;
individualization of embedded SVG pictures by randomizing their ids.

Consequently:

this change does not require to regenerate existing snapshots;
future snapshots will not contain unique ids;
snapshots with ids can coexist with id-less snapshots;
conflict between embedded SVG styles is extremely unlikely despite the removal of style name suffixes.

I've set a reminder to merge this on Monday.


Mermaid renders not in div

I added the mermaid code and the rendered html looks as follow:

graph TD;
  A-->B;
  A-->C;
  B-->D;
  C-->D;

In the source md file I added the diagram as follow:
+++
# some other parameters
diagram = true
type = "docs"  # Do not modify.
+++

# Title
```mermaid
graph TD;
  A-->B;
  A-->C;
  B-->D;
  C-->D;
`` ` #space for correct formatting

If I modify the html directly and change it to a div it renders correctly. I use the current master template because it didn't worked on the v4.4 tag.
Thanks for this great template.

Refer to the documentation and the demo posts in the exampleSite folder. Please use the forums or chat for questions.

There is definitely a bug here, I'm just not sure in which software.
When using the following markdown code block
```mermaid
graph LR;
  A --> B[aaa];
```

The code that is generated is
<pre><code class="language-mermaid">
graph LR;
  A --> B[aaa];
</code></pre>

Which is replaced with this one
<div class="mermaid">
graph LR;
  A --> B[aaa];
</div>

Using the following function on line 400 of academic.js
    // Fix Mermaid.js clash with Highlight.js.
    let mermaids = [];
    [].push.apply(mermaids, document.getElementsByClassName('language-mermaid'));
    for (i = 0; i < mermaids.length; i++) {
      $(mermaids[i]).unwrap('pre');  // Remove <pre> wrapper.
      $(mermaids[i]).replaceWith(function(){
        // Convert <code> block to <div> and add `mermaid` class so that Mermaid will parse it.
        return $("<div />").append($(this).contents()).addClass('mermaid');
      });
    }

This seems to work fine under safari on mac, but with firefox 70.0.1 under mac,  the inspector shows that the code does get replaced properly but the resulting div will sometimes get evaluated by mermaid.js and sometimes it doesn't. Adding a [] or () to add text to the node consistently makes things much worse. i.e this seems to always work fine:
```mermaid
graph LR;
  A --> B;
```

while this almost always fails to render correctly
```mermaid
graph LR;
  A --> B[aaa];
```

Using the embedded HTML form in the markdown file, i.e.

graph LR;
  A --> B[aaa];

seems to consistently work fine, so it's probably a synchronization issue

I encounter problems using
graph LR;
  A --> B[aaa];

Sometimes, it does not render at all, sometimes it work. As you said, it looks like a synchronization issue. I now only use the shortcode
{{< diagram >}}
graph LR;
  A --> B[aaa];
{{< /diagram >}}


Add AzD2019 setting

PR Summary
Fixes #210 by adding AzD2019  setting to Set-VSTeamAPIVersion.ps1 with corresponding REST API version 5.0.

Thanks for adding this.


its not clear how to use it for non fluent ppl

I've installed rust in terminal
then ive downloaded your git repo.
But then what should i do ?
It's not really step by step

Hi! You actually don't need to install Rust for this. You can just download the latest release for your platform, then run the binary. For example, on Linux or Mac, you'd open the terminal, cd into the directory with the binary in it, then run ./shreddit.

Let me know if you have any other questions.


Conflicting versions of "cairo-sys-rs" with gtk 0.7.0

I try to run the example code cairo-rs with the current versions of resvg and gtk/gio.
These are the dependencies in my Cargo.toml:
[dependencies]
gtk = "0.7.0"
gio = "0.7.0"
resvg = { version = "0.7.0", features = ["cairo-backend"] }

Building the example results in the following error:
error: failed to select a version for `cairo-sys-rs`.
    ... required by package `cairo-rs v0.6.0`
    ... which is depended on by `resvg v0.7.0`
    ... which is depended on by `test_svg v0.1.0 (/home/jonas/rust/test_svg)`
versions that meet the requirements `^0.8.0` are: 0.8.0

the package `cairo-sys-rs` links to the native library `cairo`, but it conflicts with a previous package which links to `cairo` as well:
package `cairo-sys-rs v0.9.0`
    ... which is depended on by `cairo-rs v0.7.0`
    ... which is depended on by `gdk v0.11.0`
    ... which is depended on by `gtk v0.7.0`
    ... which is depended on by `test_svg v0.1.0 (/home/jonas/rust/test_svg)`

failed to select a version for `cairo-sys-rs` which could resolve this conflict

Specifying cario-sys-rs to version 0.8.0 or 0.9.0 does not solve the issue.
Going back to gtk/gio versions 0.6.0 solves the problem, but I need the current versions for my project.
I use rustc version 1.35.0.

This is because resvg uses cairo-rs 0.6.0. resvg 0.7 was released before gtk-rs latest update.
I will bump cairo-rs in the master.

Waiting for https://github.com/gtk-rs/cairo/issues/272


open-stage-control: init at 1.17.0

Description of changes
This PR adds Open Stage Control, an OSC/MIDI controller. It uses the existing node2nix stuff and electron_15 package from nixpkgs, but I had to generate node-packages.nix and node-composition.nix with a newer node2nix version than is in nixpkgs due to #165246 (but the newer version is not required to build or run the package, just to generate the files) (edit: since #171195 was merged using a newer node2nix is no longer needed). I modeled this package on other electron apps in nixpkgs and I've been using this package from my own config for a while now
Fixes #79637
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/972


Use SCRAM-SHA-1 as default for MongoDB

MongoDB no longer defaults to MONGODB-CR and instead uses SCRAM-SHA-1 as the default authentication mechanism.

https://docs.mongodb.com/manual/core/security-mongodb-cr/#authentication-mongodb-cr
Released in March 2015
https://docs.mongodb.com/manual/release-notes/3.0
Either SCRAM-SHA-1 should be the default option or the initialization should detect the MongoDB version and thus set the auth mechanism automatically if Mongo > 3

To obtain this behaviour I guess mongodb/vibe/db/mongo/connection.d should be change, but this also will break existing apps that won't explicit auth mechanism. not sure if there is an wasy way to obtain version before attempt a connection.

I think most mongo instances nowadays have been upgraded, but just to be sure we can simply try the old method as a fallback on a MongoAuthException.
In any case, I submitted https://github.com/rejectedsoftware/vibe.d/pull/1843


scan method

hi, how to execute just a scan on the model?

Hi! Added this method for the model in the new version 0.0.1-draft2. You can also watch it in the pull request https://github.com/piavart/nestjs-dynamodb/pull/2


Invalid translations for Portuguese Brazilian

Currently there is mistake with translations. The file pt.js contains Portuguese Brazilian translations but should be Portuguese Portugal.
Expected behavior
It's necessary to move file content from  pt.js to pt-BR.js and fix Crowdin integration
Screenshots

Thank you for the report. This problem should be fixed via #420


fix: release build using poetry

Problems with the release process

Codecov Report
Attention: 29 lines in your changes are missing coverage. Please review.

Comparison is base (42b366c) 85.67% compared to head (f412f1c) 86.84%.
Report is 37 commits behind head on dev.

Additional details and impacted files

@@            Coverage Diff             @@
##              dev     #387      +/-   ##
==========================================
+ Coverage   85.67%   86.84%   +1.17%
==========================================
  Files          89       92       +3
  Lines        2101     2433     +332
==========================================
+ Hits         1800     2113     +313
- Misses        301      320      +19

Files
Coverage Δ

src/airflow/dags/common_airflow.py
90.38% <ø> (ø)

src/airflow/dags/finngen_preprocess.py
100.00% <100.00%> (ø)

src/otg/dataset/l2g_feature_matrix.py
82.92% <ø> (+7.31%)
:arrow_up:

src/otg/dataset/study_locus.py
96.20% <100.00%> (+0.04%)
:arrow_up:

src/otg/datasource/eqtl_catalogue/study_index.py
85.00% <ø> (ø)

src/otg/datasource/finngen/study_index.py
100.00% <100.00%> (ø)

src/otg/datasource/finngen/summary_stats.py
100.00% <100.00%> (ø)

src/otg/datasource/gwas_catalog/study_index.py
100.00% <ø> (ø)

src/otg/datasource/ukbiobank/study_index.py
100.00% <ø> (ø)

src/otg/l2g.py
58.06% <ø> (ø)

... and 8 more


mongodb-community error

Please fill out one of the templates on: https://github.com/Homebrew/brew/issues/new/choose or we will close it without comment.
brew services list
Name              Status  User   Plist
mongodb-community error   alexei /Users/alexei/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
php               stopped
postgresql        stopped

mongodb-community is not a Homebrew core formula, so you're better off asking on their community forums: https://developer.mongodb.com/community/forums/


Admin user list does not refresh after activating a user

It currently disappears; this is a bug introduced by me in a recent PR.

The problem seems to be in the UserTable.vue component (script -> methods -> updateUserStatus)at this line:
this.users = JSON.parse(JSON.stringify(getUsersList()));


Fix syntax error in Python 3.10

"*" is not valid in a string.
What does this PR do?

Fixes # (issue)
Checklist

[x] This PR fixes a minor issue (e.g.: typo or small bug) or improves the docs (you can dismiss the other
checks if that's the case).
[ ] This change is discussed in a Github issue/
discussion (please add a
link).
[ ] The documentation and docstrings adhere to the
documentation guidelines.
[ ] This change includes necessary high-coverage tests.
(No quality testing = no merge!)

@marcvanzee Would you mind reviewing this minor fix?

Codecov Report

Merging #1861 (2b47ef6) into main (78d9aa0) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1861      +/-   ##
==========================================
+ Coverage   70.32%   70.36%   +0.03%
==========================================
  Files          58       58
  Lines        4866     4872       +6
==========================================
+ Hits         3422     3428       +6
  Misses       1444     1444

Impacted Files
Coverage Δ

flax/linen/__init__.py
100.00% <ø> (ø)

flax/linen/recurrent.py
100.00% <ø> (ø)

flax/linen/transforms.py
94.14% <100.00%> (ø)

flax/traverse_util.py
98.94% <100.00%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

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

It appears this PR is subsumed by #1813, which is already submitted. Closing this.


connecting a postgres db to persist data

Hi,
Just started working with DGS and relatively new to Spring too. I wanted to connect a postgres db to persist data but am not sure how to. Any leads on this would be appreciated.

A DGS is basically also just a Spring Boot app. Although there are other good options, the easiest way is probably to use Spring Data. There is lots of documentation available here: https://spring.io/projects/spring-data, and there are lots of videos available online as well.
Since this isn't really a DGS question I'm closing the issue, but I hope this helps you get on track at least!

I'm not sure how to map schemas to data entities. A small example or a code snippet would help.

It depends on a lot of other choices in the tech stack. For example, there are many different frameworks for ORM (Object Relational Mapping), so it's not really possible to give a one-size-fits-all answer.
You could use DGS codegen to generate Java classes from the GraphQL schema, and use something like spring-data-jdbc to map those to a database.

Got you. That should work.


operator hive-operator (1.2.4068-2b11d9d)

Update Hive community operator channel alpha to 1.2.4068-2b11d9d

/merge possible

/merge possible


vcpkg can't seem to find any libraries

I installed cairo like this:
vcpkg install cairo

And I'm trying to find it like this in my build.rs
vcpkg::find_package("cairo").unwrap();

However, it fails to find the library
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: LibNotFound("cairo")', src\libcore\result.rs:997:5

Similarly, vcpkg_cli can't find it either
> vcpkg_cli probe cairo
Failed:  Could not find library in Vcpkg tree cairo

I verified that it's in the vcpkg list, I'm not sure where the problem is.

Assuming you are using Rust x86_64-pc-windows-msvc, you probably need to vcpkg install cairo:x64-windows, and set VCPKGRS_DYNAMIC=1 in the environment. You also need to have VCPKG_ROOT pointing to the vcpkg installation.
If that doesn't help, let me know what you are building on (windows-msvc, macos and linux are now supported) and what version of the vcpkg crate cargo picked up.

Yes, it seems that vcpkg by default installs x86 packages, once I set it to default to x64 it worked.
... kinda feels like a weird default in 2019


Vac-AntiCheat compatibility

Hello I wanted to ask if anyone knows about this software intereferes or is picked up by steams Vac-AntiCheat system?
This concern arises from the fact that "faceit anticheat" and "valorant anticheat" have to be turned on for the program to properly work on the computer. So I am wondering if the program might have some kind of interaction with the Vac-anticheat used to detect thirdparty cheating software being used in the game of counterstrike global offensive?
https://support.steampowered.com/kb_article.php?ref=7849-RADZ-6869

From the website, "The VAC system reliably detects cheats using their cheat signatures.". So, it seems it would have to be specifically blacklisted by Steam, unlike Valorant's. I think MSIRGB would be fine, though I can't be certain.

I understand, its just so frustrating when the only thing I can get from them is:
"Any third party software or other modifications you use in conjunction with Steam should be done at your own discretion. Only cheats (modifications designed to give one player an advantage over other players) will trigger a VAC ban, but we do not provide guidance on what software you can and cannot use alongside a VAC-secured game." "If you have questions about a specific third party application, please contact the developer of the application for assistance."
"How am i supposed to ask the developer if it will cause a Vac ban when no one knows what Vac Net counts as a cheat?
"I'm sorry but we have provided all the available information in our previous message." "Since there's not much more that I can say or do to be of help with this particular issue, I am going to close this help request."
Like telling me yes and no at the same time its so frustrating. I just dont know what to do.
I even asked if it might detect the files on my pc while im not running the .exe and ban me for it ofc getting the anser "... we have provided all the available information..."
Purely logically it should absolutely not count as a cheat, the problem is 1) no other software gives me the desired effect expect your beautiful creation 2) i really dont want to get banned and the part about vanguard and faceit anticheat needing to be shut off gives me an illogical (because i have absolutely no knowlage on how this works) conclusion that VacNet might find it bannable? idk...

If it considers those anti-cheats as potential cheats, then maybe MSIRGB might be considered as one as well, after all.
MSIRGB runs a device driver to communicate with the LED chip. This driver is open source and has been signed by someone else, so it would be difficult to alter it (rebuilding a driver requires signing again, and signing is expensive). Still, if there is a bug in the driver, it could give someone control at the kernel level. I guess that's why Riot blocks it.
Do you know if it blocks it only when playing, or always?

I have not played official valve counterstrike matchmaking since 3 weeks back because of studying but I will have time again soon to do so.
MSIRGB does not run with Vanguard or Faceit anti cheat running, I have not made any tests with official cs.
(Maybe I misspoke but running faceit anticheat or Vanguard do not count as potenial cheats by Valve Anti Cheat)

MSIRGB does not run with Vanguard or Faceit anti cheat running, I have not made any tests with official cs.

This I know, though I'm not sure there's anything I can do to circumvent it.

Yeah, so, I don't think there's any chance to circumvent these AC. Highly unlikely either anti-cheat will allow inpoutx64 to run. Working around the AC is also too much trouble for what it's worth. I'm closing this.


Custom matchers for named entities overlap existing named entities

Hi,
I've created a new matcher for named entities. I've noticed that whenever there is an overlap between the entities this new matcher recognises and the existing named entities, i get broken text back.
Currently I am creating a matcher and running it against the doc(similar to this example https://github.com/spacy-io/spaCy/issues/105)  instead of adding a new matcher.
The reason for this is that I am running this over a very large dataset and to create a new matcher each time and adding it to nlp.matcher may cause problems in the long run (as I am only using one instance of the English class across the whole run).
Is there a way of getting it to prefer one matcher over another?

Take a look at this issue #241. It works for me, but I am still working with v 1.0.2. Not sure if this changed meanwhile.

Thank you.
Would this solution involve initialising an English() instance every time. I currently create a new matcher for each document I receive (its a workaround for extracting regular expression patterns, I get a regex to find the terms then pass them to the matcher). So in the case of hundreds of thousands of documents would I need to create new matcher and initialise an instance of English() ?

My interpretation would be that you need to create a new Matcher and assign it to nlp.matcher to swap it for each of your documents. Not sure what that involves internally in spaCy. It is not a particularly slow operation from what I've noticed.

Thanks will try it out and update!

So this method does end up calling  English() again and it does slow it down considerably
What I ideally would like is to reset back to the original matcher at the start of each run and add my custom matcher rules onto it.
Simple example:
Initialise
def init(self):
nlp = English()
def process(self, text):
nlp.matcher = default_matcher
nlp.matcher.add(new_matcher_rules)
doc = nlp(text)

I think you should probably just subclass English, and overwrite English.__call__. Then you can add an arbitry my_matcher class if you like.
It's not really well communicated at the moment, but the design has been to try to keep the Language class a very simple composition of its components. The idea is to avoid doing heavy lifting in these classes, so that you can easily write your own replacement.
The Language class is also pure Python, and you should feel free to do the usual loose dynamic-language stuff like adding a new field at runtime, like nlp.my_matcher = Matcher(). There shouldn't be a reason to monkey-patch, but if you need to...well, you could.

In 1.0, the Matcher will return a list of (ent_id, ent_type, start, end) tuples --- it won't add the matched phrases to doc.ents. The user will have responsibility for that.
This will give the user responsibility for resolving overlaps, conflicts etc, however they want. I think this is a much better solution, because there's no reason why a single phrase shouldn't match multiple patterns.

Sorry just noticed the message that I have missed and thank you that is a much neater solution that would work really well for my case


Binding to $parent in ItemsControl item generates error.

Similar to https://github.com/AvaloniaUI/Avalonia/issues/2258
My code:
  <ContextMenu>
	<ItemsControl Items="{DynamicResource EvaluationMethods}">
	  <ItemsControl.ItemTemplate>
		<DataTemplate>
			<MenuItem Header="{Binding ., Converter={StaticResource WeightEvaluationMethodFormatter}}"
					  Command="{Binding $parent[ItemsControl].DataContext.ChangeMethod}"
					  CommandParameter="{Binding .}"
				>
			</MenuItem>
		</DataTemplate>
	  </ItemsControl.ItemTemplate>
	</ItemsControl>
  </ContextMenu>

Output:
Binding: Error in binding to "Avalonia.Controls.MenuItem"."Command": "Null value in expression '$parent[ItemsControl, 0]'."
Avalonia version 0.8.0
.NET Core 2.1

In the above example the command is working despite the error.
The following code creates Context menu, but neither the command nor the converter works:
<Border.ContextMenu>
  <ContextMenu Items="{DynamicResource EvaluationMethods}">
	<ContextMenu.ItemTemplate>
	  <DataTemplate>
		<MenuItem Header="{Binding ., Converter={StaticResource WeightEvaluationMethodFormatter}}"
				  Command="{Binding $parent[v:UtilityEvaluatorView].DataContext.ChangeMethod}"
				  CommandParameter="{Binding .}"
				>
		</MenuItem>
	  </DataTemplate>
	</ContextMenu.ItemTemplate>
  </ContextMenu>
</Border.ContextMenu>

I don't think the problem here is with $parent bindings not working: the problem seems to be a misunderstanding of how to create menus from templates. We're inherited a slightly confusing syntax from WPF unfortunately where adding a MenuItem to a DataTemplate causes two menu items to be created: see this question on stackoverflow for how it manifests itself in WPF.
The solution (as with WPF) is to bind your commands using a style. To see how to do this properly check out the documentation: http://avaloniaui.net/docs/controls/menu#dynamically-creating-menus.
I'm going to close this issue, because I've tried using $parent in MenuItem command bindings and everything seems to work. Please let me know if you continue to have problems.

Thanks for explanations.


rpc.Send() get blocked at res.WaitContext()

Hello,
I am using your marvelous go library (v1.13.3) to interact with my smart contract.
However, I cannot figure out why my program below got blocked at "wait-for-confirmations" step:  res.WaitContext(ctx)
The operations were actually valid and included in the block but the block observer didn't raise any callback.
Here's my main code:
func main() {
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
	defer cancel()
	tc := NewTzgoContract(ctx)
	tc.WithClient(RpcUrl)
	tc.WithAddress(ContractAddress)
	tc.Load()
	params := NewEntrypointParameters()
	tc.CallEntrypoint(params)
}

And the functions:
func NewTzgoContract(ctx context.Context) *TzgoContract {
	tc := &TzgoContract{
		ctx:     ctx,
		c:       nil,
		address: tezos.InvalidAddress,
		con:     nil,
	}
	return tc
}

func (tc *TzgoContract) WithClient(url string) error {
	c_, err := rpc.NewClient(url, nil)
	if err != nil {
		return err
	}
	err = c_.Init(tc.ctx)
	if err != nil {
		return err
	}
	c_.Listen()
	tc.c = c_
	return nil
}

func (tc *TzgoContract) WithAddress(address string) error {
	a_, err := tezos.ParseAddress(address)
	if err != nil {
		return err
	}
	if a_.Type != tezos.AddressTypeContract {
		return fmt.Errorf("Invalid Contract Address")
	}
	tc.address = a_
	return nil
}

func (tc *TzgoContract) Load() error {
	con_ := contract.NewContract(tc.address, tc.c)
	err := con_.Resolve(tc.ctx)
	if err != nil {
		return err
	}
	tc.con = con_
	return nil
}

func (tc *TzgoContract) CallEntrypoint(params EntrypointParameters) error {
	args := params.EncodeArgs()
	opts := params.EncodeOpts() /* rpc.DefaultOptions */
	_, err := tc.con.Call(tc.ctx, args, opts)
	return err
}

Thank you.

The example code also gets stuck.

I just merged PR #29 that may fix this issue.

I consider this fixed with above PR. Please reopen if the problem persists.

This doesn't appear to be resolved with v1.15.0. Simple contract.Call(ctx, args, opts) never returns a receipt (nor error) even though the operation made it onto the chain.

Thanks for taking your time to report! When I understand you right, this is a UX issue where you did not call cli.Listen() before sending the contract call. It was an intentional choice to have users explicitly start the block observer system as it generates frequent traffic (at each block). I changed that in v1.15.1 which will now activate the observer with the first transaction sent through the rpc.Send() function.
If you don't fancy the block observer running all the time you can inject a fresh observer for each call (or sequence of calls as you like) using the CallOptions.Observer parameter and after the call succeeds close the observer again.

@echa This was exactly what I needed. Thank you so much, my friend!


build: update devcontainer-feature.json for v1.23.0 release [skip ci]

The Issue
DDEV v1.23.0 is out
How This PR Solves The Issue
Pushes a new ddev/install-ddev package.
Manual Testing Instructions
https://github.com/orgs/ddev/packages/container/package/ddev%2Finstall-ddev
Automated Testing Overview

Related Issue Link(s)
Release/Deployment Notes

I created a GitHub classic token with write:packages scope.
Adding the full output of what was done just in case:
$ cd .github/devcontainers/src
$ export GITHUB_TOKEN=token
$ devcontainer features publish -n ddev/ddev .
[2 ms] @devcontainers/cli 0.58.0. Node.js v21.6.2. linux 6.1.85-1-MANJARO x64.
[2 ms] Packaging feature collection...
[5 ms] Processing feature: install-ddev...
[31 ms] Packaged 1 features!
[32 ms] Processing feature: install-ddev...
[33 ms] Fetching published versions...
[949 ms] Publishing tags: 1,1.23,v1.23.0,latest...
[951 ms] Data layer digest: sha256:988068f54c7203297109336dfd0bfbddf2b9958f991e6dfca855e8a85949a39f (archive size: 4608)
[951 ms] Computed content digest from manifest: sha256:e648c5799728b0c7b7ecf7342f0151a208494bd2a50c1c5a1201ccab1a27af27
[1922 ms] Starting PUT of tgzLayer blob 'sha256:988068f54c7203297109336dfd0bfbddf2b9958f991e6dfca855e8a85949a39f' (size=4608)
[2849 ms] Tagged: 1 -> /v2/ddev/ddev/install-ddev/manifests/sha256:e648c5799728b0c7b7ecf7342f0151a208494bd2a50c1c5a1201ccab1a27af27
[3234 ms] Tagged: 1.23 -> /v2/ddev/ddev/install-ddev/manifests/sha256:e648c5799728b0c7b7ecf7342f0151a208494bd2a50c1c5a1201ccab1a27af27
[3612 ms] Tagged: v1.23.0 -> /v2/ddev/ddev/install-ddev/manifests/sha256:e648c5799728b0c7b7ecf7342f0151a208494bd2a50c1c5a1201ccab1a27af27
[4202 ms] Tagged: latest -> /v2/ddev/ddev/install-ddev/manifests/sha256:e648c5799728b0c7b7ecf7342f0151a208494bd2a50c1c5a1201ccab1a27af27
[4202 ms] Published feature: 'install-ddev'
[4202 ms] Publishing collection metadata...
[4203 ms] Data layer digest: sha256:9f7dc27ee365618cc906a1ad5b9afb534f379f703db9d3713a4403da92bd98bb (archive size: 308)
[4203 ms] Computed content digest from manifest: sha256:eff0919bfdf824fd78edbc9b5be35e8127877cfc2aae2045189179d4d53597bc
[5137 ms] Starting PUT of collectionLayer blob 'sha256:9f7dc27ee365618cc906a1ad5b9afb534f379f703db9d3713a4403da92bd98bb' (size=308)
[5945 ms] Tagged: latest -> /v2/ddev/ddev/manifests/sha256:eff0919bfdf824fd78edbc9b5be35e8127877cfc2aae2045189179d4d53597bc
[5945 ms] Published collection metadata.
{"install-ddev":{"publishedTags":["1","1.23","v1.23.0","latest"],"digest":"sha256:e648c5799728b0c7b7ecf7342f0151a208494bd2a50c1c5a1201ccab1a27af27","version":"v1.23.0"}}

Package got updated! https://github.com/orgs/ddev/packages/container/package/ddev%2Finstall-ddev
Could you please share the token in 1Password (update the "GitHub Package management token")? I tried so many tokens, all with these privs, and one with super privs. Couldn't do it.
As expected, Codespaces still doesn't actually use this package, and nothing gets installed on a project that calls for it.

Could you please share the token in 1Password (update the "GitHub Package management token")?

Sure, it's done.


Add files via upload

Pull Request Description

Changes Made

Screenshots (if applicable)

Related Issues

Checklist

[ ] I have read and followed the contribution guidelines.
[ ] I have tested my changes.
[ ] My code follows the project's coding standards.

Okay. I will add the datasets that i have used in this folder. Should i add the datasets in Data Analysis folder?

Or should i add it in dataset folder?

Okay. I have used 3 datasets in this repository, so i am adding all of the 3 datasets.

Now, i observed that from 3 datasets that i have used. One dataset 'Mall_customers.csv' is already in the dataset folder. So in order to avoid duplication i will upload other 2 datasets.


Typo "a Azure"→"an Azure"

https://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux
https://github.com/MicrosoftDocs/azure-dev-docs/blob/main/articles/github/connect-from-azure.md
#PingMSFTDocs

Thanks, @hyoshioka0128!


Pre-Publish Checklist: Add expand 'hidden page' functionality

Context
#9350 Feature request
Summary
Adds functionality to toggle whether page previews are shown in the checklist.
Relevant Technical Choices

To-do

[x] Add tests somewhere

User-facing changes

Testing Instructions

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:
A lot changed here. Every card that has thumbnails on it should be able to be expanded/collapsed. Checking every issue will be tedious 😕 so sorry. The best way to do this is trigger the error on one page and then duplicate that page at least 5 times.
Errors that will display a button if there are more than 5 pages with the issue.

Issue
How to trigger

Element with link too big
Add an element to a page with a link and make the element very big

Element with link too small
Add an element to a page with a link and make the element very small

Image element missing alt
Add an image and remove the description under the Accessibility panel

Image element resolution
Add an image with very low resolution or a very small image from your computer (less than 828px x 1792px

Text contrast too low with page background
Add text that has low color contrast with the page background

Page too little text
Don't add any text to the page

Page too many links
Add more than 3 elements with links to a page

Page too much text
Add more than 200 characters to a page

Text font size too small
Add text with a font size less than 12px

Video too long
Add a video longer than 60 seconds

Video no captions
Add a video without captions (most videos don't have captions)

Video no description
Add a video and remove the description text under the Accessibility panel

Video no poster
Remove the poster image for the video

Video element resolution too low
Add a video that is less than 852px x 480px

Also, when optimizing multiple videos that will also show the collapse/expand button in the checklist.
All other issues should not show the collapse/expand button.
Reviews
Does this PR have a security-related impact?
no
Does this PR change what data or activity we track or use?
no
Does this PR have a legal-related impact?
no
Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #9350

TODO for samuel:

[ ] Add pointer for extra button
[ ] Remove visually hidden text that's being skipped
[ ] Check on cleanup code, why it would be necessary (probably not necessary)


sopwith: 2.6.0 -> 2.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/fragglet/sdl-sopwith/releases.
meta.description for sopwith is: Classic biplane shoot ‘em-up game
meta.homepage for sopwith is: https://github.com/fragglet/sdl-sopwith
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.7.0 with grep in /nix/store/0c6gf75cn1vcv01xxj73czx9p7ccybbm-sopwith-2.7.0
found 2.7.0 in filename of file in /nix/store/0c6gf75cn1vcv01xxj73czx9p7ccybbm-sopwith-2.7.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sopwith

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0c6gf75cn1vcv01xxj73czx9p7ccybbm-sopwith-2.7.0 \
  --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 sopwith https://github.com/r-ryantm/nixpkgs/archive/020924cb8b423413a393238519452f84e03a2932.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/020924cb8b423413a393238519452f84e03a2932#sopwith

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0c6gf75cn1vcv01xxj73czx9p7ccybbm-sopwith-2.7.0
ls -la /nix/store/0c6gf75cn1vcv01xxj73czx9p7ccybbm-sopwith-2.7.0/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.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

sopwith

Maintainer pings
cc @evilbulgarian for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Update sbt-scalafmt to 2.2.1

Updates org.scalameta:sbt-scalafmt from 2.2.0 to 2.2.1.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-scalafmt" } ]

labels: semver-patch

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #46   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          41     41
=====================================
  Hits           41     41

Continue to review full report at Codecov.

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


Mapper.AssertConfigurationIsValid throws Mapper not initialized

Hi. I tried calling Mapper.AssertConfigurationIsValid on my project but it threw an exception. Aside from services.AddAutoMapper(typeof(Startup)) and a MappingProfile, what else am I missing? Thanks!
https://github.com/jbogard/ContosoUniversityCore/blob/07bb0f75a616881b7e513a25f6d0d6b4f0cf664c/src/ContosoUniversityCore/Startup.cs#L44
Exception details
System.InvalidOperationException
  HResult=0x80131509
  Message=Mapper not initialized. Call Initialize with appropriate configuration. If you are trying to use mapper instances through a container or otherwise, make sure you do not have any calls to the static Mapper.Map methods, and if you're using ProjectTo or UseAsDataSource extension methods, make sure you pass in the appropriate IConfigurationProvider instance.
  Source=AutoMapper
  StackTrace:
   at AutoMapper.Mapper.get_Configuration()
   at AutoMapper.Mapper.AssertConfigurationIsValid()
   at Gldd.Api.Startup.ConfigureServices(IServiceCollection services) in C:\git\cutter-stripcharts-prototype\src\Gldd.Api\Startup.cs:line 36
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder.<>c__DisplayClass9_0.<Invoke>g__Startup|0(IServiceCollection serviceCollection)
   at Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder.<>c__DisplayClass8_0.<Build>b__0(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.GenericWebHostBuilder.<>c__DisplayClass12_0.<UseStartup>b__0(HostBuilderContext context, IServiceCollection services)
   at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()
   at Gldd.Api.Program.Main(String[] args) in C:\git\cutter-stripcharts-prototype\src\Gldd.Api\Program.cs:line 10

The static API is going away - you need to resolve the mapper from the
service collection.
On Tue, Jun 25, 2019 at 10:10 PM Jan Paolo Go<EMAIL_ADDRESS>wrote:

Hi. I tried calling Mapper.AssertConfigurationIsValid on my project but
it threw an exception. Aside from services.AddAutoMapper(typeof(Startup))
and a MappingProfile, what else am I missing? Thanks!
https://github.com/jbogard/ContosoUniversityCore/blob/07bb0f75a616881b7e513a25f6d0d6b4f0cf664c/src/ContosoUniversityCore/Startup.cs#L44
Exception details
System.InvalidOperationException
HResult=0x80131509
Message=Mapper not initialized. Call Initialize with appropriate configuration. If you are trying to use mapper instances through a container or otherwise, make sure you do not have any calls to the static Mapper.Map methods, and if you're using ProjectTo or UseAsDataSource extension methods, make sure you pass in the appropriate IConfigurationProvider instance.
Source=AutoMapper
StackTrace:
at AutoMapper.Mapper.get_Configuration()
at AutoMapper.Mapper.AssertConfigurationIsValid()
at Gldd.Api.Startup.ConfigureServices(IServiceCollection services) in C:\git\cutter-stripcharts-prototype\src\Gldd.Api\Startup.cs:line 36
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder.<>c__DisplayClass9_0.g__Startup|0(IServiceCollection serviceCollection)
at Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder.Invoke(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.Internal.ConfigureServicesBuilder.<>c__DisplayClass8_0.b__0(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.Internal.GenericWebHostBuilder.UseStartup(Type startupType, HostBuilderContext context, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.Internal.GenericWebHostBuilder.<>c__DisplayClass12_0.b__0(HostBuilderContext context, IServiceCollection services)
at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at Gldd.Api.Program.Main(String[] args) in C:\git\cutter-stripcharts-prototype\src\Gldd.Api\Program.cs:line 10
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jbogard/ContosoUniversityCore/issues/35?email_source=notifications&email_token=AAAZQMSK7YSIRAOKXW5EYMTP4LM2VA5CNFSM4H3OBKT2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3WJQYA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAZQMXZDYAVMPWVJSOIJ5TP4LM2VANCNFSM4H3OBKTQ
.


Some questions about preparation

Thanks for your outstanding paper! However, I encoutered some problems during preparation work, and hope can get your help.

It seems that the provided torchmeta requires torch <=1.4.0, however the torch version in environment.yml is 1.5.0. Will there be some problems?
I downloaded traing data which contains 100 .mat files per category, however according to /split/train/xxx.txt files, it seems that each category requires 4000 mats to train. You mentioned that you used mesh_to_sdf to generate the whole training set, but I don't understand how. Could you please tell me?

sorry i noticed that 4000 training data should be downloaded from official site of shapenet, but question 1 still remains

https://shapenet.org/download/shapenetcore
well now i downloaded shapenet v2 from here but I don't know how to process it...
could you please tell me?

Thanks for your outstanding paper! However, I encoutered some problems during preparation work, and hope can get your help.

It seems that the provided torchmeta requires torch <=1.4.0, however the torch version in environment.yml is 1.5.0. Will there be some problems?
I downloaded traing data which contains 100 .mat files per category, however according to /split/train/xxx.txt files, it seems that each category requires 4000 mats to train. You mentioned that you used mesh_to_sdf to generate the whole training set, but I don't understand how. Could you please tell me?

Excuse me, have you solved the question1? Maybe we can have a communication with it!


Cannot run the project either way

Tried with Node v8 and v10
With node-dev:
❯ npm run node-dev

><EMAIL_ADDRESS>node-dev /Users/emirotin/work/nextjs-blog
> nodemon server.js

[nodemon] 1.19.1
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node server.js`
/Users/emirotin/work/nextjs-blog/prismic-configuration.js:1
import Prismic from 'prismic-javascript'
       ^^^^^^^

SyntaxError: Unexpected identifier
    at Module._compile (internal/modules/cjs/loader.js:721:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:690:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/Users/emirotin/work/nextjs-blog/server.js:8:39)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
[nodemon] app crashed - waiting for file changes before starting...

with dev:
❯ npm run dev

><EMAIL_ADDRESS>dev /Users/emirotin/work/nextjs-blog
> now dev

> UPDATE AVAILABLE The latest version of Now CLI is 15.8.7
> Run the `now update` command to update to the latest version
> Changelog: https://github.com/zeit/now-cli/releases/tag/15.8.7
> Now CLI 15.5.0 dev (beta) — https://zeit.co/feedback/dev
> Setting up 1 Builder
[@now/next] Downloading user files...

> Error! build_utils_1.getNodeVersion is not a function
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>dev: `now dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Hi @emirotin, sorry for the delayed response on this. We modified this project to run fully in serverless mode and have removed the node.js server. So I'm closing this issue.


use SncRedisBundle, password is not in $options   when  new Predis\Client($parameters, $options);

@nrk    @snc
hello,I have a question
Predis Demo
$parameters = array('tcp://<IP_ADDRESS>, 'tcp://<IP_ADDRESS>', 'tcp://<IP_ADDRESS>');
$options = array('cluster' => 'redis','parameters' => array('password' => 'mypassword') );
$client = new Predis\Client($parameters, $options);

but when I use SncRedisBundle，password is not in $options, and error infomation "MOVED 12450 <IP_ADDRESS>"
how do I set password into $options? Thank you very much

Most likely fixed by #340, otherwise please open a new issue with current information.


Docs: Updates to the simple-build-pipeline example plan to ensure that it works

What were you searching in the docs?
There are two things that should be added to the simple-build-pipeline example plan to ensure that it works:

Add Helix Authentication Service dependency to Helix Core

There is a race condition where Helix Core can be created before Helix Authentication Service is up and running. This breaks the p4_configure.sh script as it initialized the HAS extension.

Add security group rules so that the three Helix services can communicate with each other.

Without the proper security group rules, the services cannot interact, which breaks things.
Is this related to an existing documentation section?
No response
How can we improve?

Add the following to module "perforce_helix_core":

  depends_on = [
    module.perforce_helix_authentication_service,
  ]

Add the following security group rules:

# Helix Swarm -> Helix Core
resource "aws_security_group_rule" "core_sg_internal_rule" {
  type                     = "ingress"
  from_port                = 1666
  to_port                  = 1666
  protocol                 = "tcp"
  source_security_group_id = module.perforce_helix_swarm.service_security_group_id
  security_group_id        = module.perforce_helix_core.security_group_id
}

# Helix Auth -> Helix Core
resource "aws_security_group_rule" "core_sg_internal_auth_rule" {
  type                     = "ingress"
  from_port                = 1666
  to_port                  = 1666
  protocol                 = "tcp"
  source_security_group_id = module.perforce_helix_authentication_service.service_security_group_id
  security_group_id        = module.perforce_helix_core.security_group_id
}

# Helix Core -> Helix Swarm
resource "aws_security_group_rule" "swarm_sg_internal_rule" {
  type                     = "ingress"
  from_port                = 443
  to_port                  = 443
  protocol                 = "tcp"
  cidr_blocks              = ["${module.perforce_helix_core.helix_core_eip_public_ip}/32"]
  security_group_id        = module.perforce_helix_swarm.alb_security_group_id
}

# Helix Core -> Helix Auth
resource "aws_security_group_rule" "auth_sg_internal_rule" {
  type                     = "ingress"
  from_port                = 443
  to_port                  = 443
  protocol                 = "tcp"
  cidr_blocks              = ["${module.perforce_helix_core.helix_core_eip_public_ip}/32"]
  security_group_id        = module.perforce_helix_authentication_service.alb_security_group_id
}

Got a suggestion in mind?
No response
Acknowledgment

[X] I understand the final update might be different from my proposed suggestion, or refused.

@keith-miller thanks for the heads up on this. Does the security.tf file of the Sample Build Pipeline mirror your expectations for SG creation?

@henrykie oh my bad! I see that now. Feel free to ignore that part of this ticket :D


ocaml-ng.ocamlPackages_4_12.ocaml: 4.12.0 → 4.12.1

Motivation for this change
Bugfix release: https://ocaml.org/releases/4.12.1.html#Changes
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 162857 run on x86_64-linux 1

19 packages built:

abella
coq_8_14
coq_8_15
flow
haxe (haxe_4_2)
hxcpp (haxePackages.hxcpp)
haxePackages.hxcs
haxePackages.hxjava
haxePackages.hxnodejs_4
hol_light
ledit
ligo
ocamlformat_0_17_0
ocamlformat_0_18_0
orpie
prooftree
reason
sks
stog

Reviewed points

[ ] package name fits guidelines
[ ] package version fits guidelines
[X] package build on x86_64-linux
[X] executables tested on x86_64-linux
[X] all depending packages build

Comments
It's ocaml-ng.ocamlPackages_4_12.ocaml and not ocaml-ng.ocamlPackages_4_12_1.ocaml because this is only a patch, right? So it's safe to disguise 4.12.1 as 4.12.


[Bug] Kuberay can not start when enableBatchScheduler=true

Search before asking

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

KubeRay Component
ray-operator
What happened + What you expected to happen
When i start the controller with
            "args": [
                "--kubeconfig=/Users/yueming/.kube/config",
                "--enable-leader-election=false",
                "--leader-election-namespace=default",
                "--enable-batch-scheduler=true",
            ]

in vscode. The controller is blocked by cache syncing:
{"level":"error","ts":"2024-10-09T19:35:37.389+0800","logger":"controller-runtime.source.EventHandler","msg":"if kind is a CRD, it should be installed before calling Start","kind":"PodGroup.scheduling.volcano.sh","error":"no matches for kind \"PodGroup\" in version \"scheduling.volcano.sh/v1beta1\"","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1.1\n\t/Users/yueming/go/src/gitlab.alibaba-inc.com/eml/kuberay/ray-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/source/kind.go:63\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func2\n\t/Users/yueming/go/src/gitlab.alibaba-inc.com/eml/kuberay/ray-operator/vendor/k8s.io/apimachinery/pkg/util/wait/loop.go:87\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext\n\t/Users/yueming/go/src/gitlab.alibaba-inc.com/eml/kuberay/ray-operator/vendor/k8s.io/apimachinery/pkg/util/wait/loop.go:88\nk8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel\n\t/Users/yueming/go/src/gitlab.alibaba-inc.com/eml/kuberay/ray-operator/vendor/k8s.io/apimachinery/pkg/util/wait/poll.go:33\nsigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1\n\t/Users/yueming/go/src/gitlab.alibaba-inc.com/eml/kuberay/ray-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/source/kind.go:56"}

Finally, the controller failed：
{"level":"error","ts":"2024-10-09T19:35:57.493+0800","logger":"setup","msg":"problem running manager","error":"failed to wait for raycluster caches to sync: timed out waiting for cache to be synced for Kind *v1beta1.PodGroup","stacktrace":"main.exitOnError\n\t/Users/yueming/go/src/gitlab.alibaba-inc.com/eml/kuberay/ray-operator/main.go:270\nmain.main\n\t/Users/yueming/go/src/gitlab.alibaba-inc.com/eml/kuberay/ray-operator/main.go:247\nruntime.main\n\t/opt/homebrew/Cellar/go/1.22.5/libexec/src/runtime/proc.go:271"}

There is no PodGroup CRD in my cluster.
After I remove the code https://github.com/ray-project/kuberay/blob/bf21d2d01cf1c931136d869d2c8168aed07bc68c/ray-operator/controllers/ray/batchscheduler/volcano/volcano_scheduler.go#L184-L186, the controller can be started.
Reproduction script
{
    // 使用 IntelliSense 了解相关属性。
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息，请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Package",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "ray-operator/main.go",
            "cwd": "${workspaceFolder}",
            "args": [
                "--kubeconfig=xxx",
                "--enable-leader-election=false",
                "--leader-election-namespace=default",
                "--enable-batch-scheduler=true",
            ]
        }
    ]
}

Anything else
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

You should install the Volcano scheduler.

I just want to enable the batch scheduler. And I have not submit any job using volcano scheduler. I still need to install volcano  even if I just want to use yunikorn?

If you want to use Yunikorn, you should use --batch-scheduler=yunikorn and not --enable-batch-scheduler. We deprecated --enable-batch-scheduler=true in favor of --batch-scheduler=yunikorn|volcano when we added yunikorn support: https://github.com/ray-project/kuberay/pull/2300

Thanks for reply @andrewsykim . If I enable --batch-scheduler=yunikorn when using ray-operator, I can still set ray.io/scheduler-name=volcano on RayJob, right? What will happen in this scenario?

If I enable --batch-scheduler=yunikorn when using ray-operator, I can still set ray.io/scheduler-name=volcano on RayJob, right?

No I don't think so, KubeRay only supports one batch scheduler at a time. What is your use-case? Are you trying to use both Yunikorn and Volcano?

If I enable --batch-scheduler=yunikorn when using ray-operator, I can still set ray.io/scheduler-name=volcano on RayJob, right?

No I don't think so, KubeRay only supports one batch scheduler at a time. What is your use-case? Are you trying to use both Yunikorn and Volcano?

@andrewsykim If we set kuberay to the --batch-scheduler parameter, there is no need for the user to set the raycluster label ray.io/scheduler-name=***.  Judging from the latest code, it's still the old logic。  If we enable --batch-scheduler=yunikorn when can still using ray-operator, I can still set ray.io/scheduler-name=volcano

We provide managed ray-operator for our users. Submitting RayJob is the job of our users, they may make mistakes, and no event is sent when the wrong schedulerName is set on the RayJobs. Once we only support one batch scheduler, why we let user choose scheduler on RayJob by  ray.io/scheduler-name? Maybe they just need to use label like ray.io/enable-batch-scheduler on RayJob.
How do you think?

cc @MortalHappiness can you take a look?

@kevin85421 I was wondering if we should take this opportunity to go ahead and remove this deprecated --enable-batch-scheduler=true flag?

If we don't remove it, we'll need to define the exact behavior required here. What if --enable-batch-scheduler=true was set and volcano was initially not installed but installed later?

By the way, RayJob currently doesn't support Volcano and YuniKorn. At the moment, Volcano and YuniKorn are only supported in RayCluster. If you want to use advanced scheduling for RayJob / RayCluster, you should use Kueue for now. cc @KunWuLuan @kadisi

We provide managed ray-operator for our users. Submitting RayJob is the job of our users, they may make mistakes, and no event is sent when the wrong schedulerName is set on the RayJobs. Once we only support one batch scheduler, why we let user choose scheduler on RayJob by ray.io/scheduler-name? Maybe they just need to use label like ray.io/enable-batch-scheduler on RayJob.

ray.io/enable-batch-scheduler was deprecated in KubeRay v1.2. If it is specified, Volcano will always be used, regardless of the value of ray.io/scheduler-name or whether ray.io/scheduler-name is specified based on: https://github.com/ray-project/kuberay/blob/8b61b73bc57d7776ccac8b88b215df22aefaabbd/ray-operator/controllers/ray/batchscheduler/schedulermanager.go#L73

Install KubeRay operator
helm install kuberay-operator kuberay/kuberay-operator --version 1.2.2 --set batchScheduler.enabled=true

Install RayCluster with ray.io/scheduler-name: abc
apiVersion: ray.io/v1
kind: RayCluster
metadata:
 name: test-cluster-0
 labels:
   ray.io/scheduler-name: abc
spec:
 rayVersion: '2.9.0'
 headGroupSpec:
   rayStartParams: {}
   template:
     spec:
       containers:
       - name: ray-head
         image: rayproject/ray:2.9.0
         resources:
           limits:
             cpu: "1"
             memory: "2Gi"
           requests:
             cpu: "1"
             memory: "2Gi"
 workerGroupSpecs: []

Check whether PodGroup is created correctly or not.


Allow CLI configuration to be saved to a file

Describe the problem you're trying to solve
As the CLI becomes more complex and gains more options, it would be convenient to be able to set some/all of them persistently in a configuration file. This will become increasingly useful as e.g. more networking options are added.
Describe the solution you'd like
Kit should provide a kit config command to allow configuring common options available as flags and saving that configuration between invocations. This configuration should be saved to some file (maybe in the $KITOPS_HOME directory, or separate Kit config directory) and these settings should be used instead of default values for corresponding flags.
Describe alternatives you've considered
Mainly, deferring this work until there are enough flags we're specifying on every invocation where the moderately increased complexity of supporting a config file makes sense.
Additional context
Related: #365 -- we want to be able to persistently disable update notifications, for example.

This sounds like a fun and interesting issue to work on! This will require a little bit of work but lets do this!


Autoscroll when extending cell select (#13353)

Autoscroll when extending cell selection

Codecov Report

Merging #13354 into release-2020.08 will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@                 Coverage Diff                 @@
##           release-2020.08   #13354      +/-   ##
===================================================
- Coverage            59.73%   59.68%   -0.06%
===================================================
  Files                  670      670
  Lines                37289    37328      +39
  Branches              5291     5302      +11
===================================================
+ Hits                 22276    22279       +3
- Misses               13879    13912      +33
- Partials              1134     1137       +3

Impacted Files
Coverage Δ

...ient/datascience/editor-integration/codewatcher.ts
68.03% <100.00%> (-2.59%)
:arrow_down:

src/client/common/utils/platform.ts
64.70% <0.00%> (-11.77%)
:arrow_down:

src/client/datascience/crossProcessLock.ts
79.41% <0.00%> (-11.77%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0.00%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

src/client/datascience/commands/commandRegistry.ts
34.50% <0.00%> (-0.03%)
:arrow_down:

src/client/datascience/types.ts
100.00% <0.00%> (ø)

src/client/datascience/constants.ts
99.78% <0.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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