[Bug]:  after upgrading to 0.76.4 i am getting error: cannot find symbol import com.facebook.react.bridge.JSIModuleProvider;

Description
after upgrading am getting below error
                                ^
  symbol:   class JSIModuleSpec
  location: package com.facebook.react.bridge
/Users/karthikch/Desktop/karthik/medesmart-app/android/app/src/main/java/iot/medesmart/app/newarchitecture/MainApplicationReactNativeHost.java:16: error: cannot find symbol
import com.facebook.react.bridge.JSIModuleType;
                                ^
  symbol:   class JSIModuleType
  location: package com.facebook.react.bridge

Steps to reproduce
npm react-native run-android
React Native Version
0.76.4
Affected Platforms
Runtime - Android, Build - MacOS
Output of npx react-native info
info Fetching system and libraries information...
(node:9221) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
System:
  OS: macOS 15.1.1
  CPU: (8) arm64 Apple M2
  Memory: 87.41 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.18.1
    path: ~/.nvm/versions/node/v20.18.1/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v20.18.1/bin/yarn
  npm:
    version: 10.8.2
    path: ~/.nvm/versions/node/v20.18.1/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK: Not Found
  Android SDK:
    API Levels:
      - "31"
      - "34"
      - "35"
      - "35"
    Build Tools:
      - 30.0.2
      - 31.0.0
      - 34.0.0
      - 35.0.0
      - 36.0.0
    System Images:
      - android-35 | Google Play ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12700392
  Xcode:
    version: /undefined
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.13
    path: /Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.4
    wanted: 0.76.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: false
  newArchEnabled: false

Stacktrace or Logs
^
  symbol:   class JSIModuleSpec
  location: package com.facebook.react.bridge
/Users/karthikch/Desktop/karthik/medesmart-app/android/app/src/main/java/iot/medesmart/app/newarchitecture/MainApplicationReactNativeHost.java:16: error: cannot find symbol
import com.facebook.react.bridge.JSIModuleType;
                                ^
  symbol:   class JSIModuleType
  location: package com.facebook.react.bridge

Reproducer
https://github.com/KarThikCh-dev/repo
Screenshots and Videos
No response

Can you share the content of: MainApplicationReactNativeHost.java ?


Make application-crypto std feature internal

The macros should not generate code that requires that the calling crate
has a feature with the name std defined.

Note: This resolves the issue of trying to use app_crypto macros in the node's executor tests where the failure looks like this:
error[E0046]: not all trait items implemented, missing: `generate_with_phrase`, `from_phrase`
  --> bin/node/executor/tests/common.rs:47:3
   |
47 |         app_crypto!(sr25519, TEST_KEY_TYPE_ID);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `generate_with_phrase`, `from_phrase` in implementation
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
   = help: implement the missing item: `fn generate_with_phrase(_: std::option::Option<&str>) -> (Self, std::string::String, <Self as sp_core::crypto::Pair>::Seed) { todo!() }`
   = help: implement the missing item: `fn from_phrase(_: &str, _: std::option::Option<&str>) -> std::result::Result<(Self, <Self as sp_core::crypto::Pair>::Seed), sp_core::crypto::SecretStringError> { todo!() }`


ICS3 connection versioning / model checking in TLA+

Discussion ground for our work to close #209.
Will also close #213.
Description

For contributor use:

[ ] Unit tests written
[ ] Added test to CI if applicable
[ ] Updated CHANGELOG_PENDING.md
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation (docs/) and code comments
[ ] Re-reviewed Files changed in the Github PR explorer

Latest version of disclosure log rendered here:
https://github.com/informalsystems/ibc-rs/blob/d5ffe412998b1c1b6590845d663b221a5ee95eac/docs/disclosure-log.md#3-ics3-problems-due-to-version-negotiation


ARROW-5964: [C++][Gandiva] Remove overflow check after rounding in BasicDecimal128::FromDouble

std::round can round down also.
also, there is a check further down for overflow (2^127-1).

@pprudhvi

I updated the PR title to add missing context about what this patch is

Codecov Report

Merging #4894 into master will increase coverage by 1.61%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4894      +/-   ##
==========================================
+ Coverage   87.43%   89.05%   +1.61%
==========================================
  Files         995      718     -277
  Lines      140466   100330   -40136
  Branches     1418        0    -1418
==========================================
- Hits       122821    89351   -33470
+ Misses      17283    10979    -6304
+ Partials      362        0     -362

Impacted Files
Coverage Δ

cpp/src/gandiva/precompiled/decimal_ops_test.cc
97.43% <ø> (ø)
:arrow_up:

cpp/src/gandiva/precompiled/decimal_ops.cc
97.17% <100%> (ø)
:arrow_up:

cpp/src/plasma/thirdparty/ae/ae.c
70.75% <0%> (-0.95%)
:arrow_down:

r/src/compute.cpp
100% <0%> (ø)
:arrow_up:

go/arrow/ipc/writer.go

js/src/util/fn.ts

go/arrow/memory/memory_avx2_amd64.go

rust/datafusion/src/execution/filter.rs

rust/arrow/src/csv/writer.rs

rust/datafusion/src/bin/main.rs

... and 274 more

Continue to review full report at Codecov.

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

thanks @pitrou and @wesm


Update hline/vline stroke docs

#3473 updated hlines / vlines with a stroke of none such that they now remove cell stroke below them as well, but the docs weren't updated. This PR corrects that.
(Thanks @Andrew15-5 for noticing.)

Thanks!


fix: Design Fit and Finish

Summary

Revise Hosted Sample App based on design feedback. Please review attached ticket for specific details.

Master Issue

Closes https://go.mparticle.com/work/SQDSDKS-4103

:tada: This PR is included in version 1.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Updated the required Node and NPM versions in the "How to get started" section of CONTRIBUTING.md

Description

Updated the required Node and NPM versions in the "How to get started" section of CONTRIBUTING.md.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

Motivation and context

When cloning the repo I followed the "How to get started" in the contributing guide, as instructed, I installed Node v16, but it gave a warning when running npm install; so I thought I would just quickly update the instructions in the contributing guide to match the versions specified in the actual package.json.
How to test?
Screenshots (if appropriate)

The warning that appears when using Node v16
Checklist

[x] If my change requires a change to the documentation, I have updated the documentation in this pull request.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Nice update, thanks! #h5yr


WFLY-17558 upgrade to Hibernate ORM 6.2.0.CR2

https://issues.redhat.com/browse/WFLY-17558
Signed-off-by: Scott Marlow<EMAIL_ADDRESS>Depends on https://github.com/wildfly/wildfly/pull/16490 (Upgrade to Hibernate Commons Annotations 6.0.6.Final) being merged.

I saw some test deployment failures caused by
 Suppressed: java.lang.IllegalArgumentException: Parameter 'authenticationContext' may not be null
   at org.wildfly.common.Assert.checkNotNullParamChecked(Assert.java:71)
   at org.wildfly.common.Assert.checkNotNullParam(Assert.java:49)
   at org.wildfly.security.auth.client.AuthenticationContextConfigurationClient.getAuthenticationConfiguration(AuthenticationContextConfigurationClient.java:116)

I'll sync with main after https://github.com/wildfly/wildfly/pull/16490 is merged and push again which should trigger a new test run.

This IIUC implements https://github.com/wildfly/wildfly-proposals/pull/503

This IIUC implements wildfly/wildfly-proposals#503

Yes this does implement wildfly/wildfly-proposals#503.
I'm running the Jakarta EE 10 Full Platform TCK tests tonight to see if we pass.

The linux-JDK 17 failure org.jboss.as.test.clustering.cluster.web.CoarseWebFailoverTestCase.testGracefulSimpleFailover doesn't seem related to this change.

I'm running the Jakarta EE 10 Full Platform TCK tests tonight to see if we pass.

I'm running the Jakarta EE 10 Full Platform TCK tests again.

I'm running the Jakarta EE 10 Full Platform TCK tests again.

We are passing now.

/retest

Thanks @scottmarlow


Pr 3.0.2

Should this go into the 3.0 branch?

@mike-engel
Yes, here is the PR for this. As I understood our branching.
But I'm not totally on top of our branching strategy. What I think we have:

Bug fixes releases go in to their corresponding major branch (i.e.: 3.0.2 goes into 2.0).
latest stable release goes into master (i.e.: 3.0.2 -> master)
releases that should be visible to public go in to gh-pages (i.e: 3.0.2 -> gh-pages)

We could also just do the PR for 3.0 and then merge from there into the other branches. This is what you expected, right?

So, the way I've been seeing it, @aFarkas, is that all work on a version goes into that version branch. When we're ready to publish a new version, then we push it to master. I'll try and make a diagram later tonight or this week.

As I described what I did, it came to me that this is not best.


Custom executable path for clang-tidy

First, thank you for this amazing plugin!
For clang-format, we can set a custom executable file, but for clang-tidy we cannot currently. I would really like to have this feature to test my own versions of clang-tidy (I currently develop a clang-tidy check).

Hi,
This feature is now present in the new version of Clang Power Tools v4.7. Please upgrade the VS Extension from Visual Studio or download it from here.
Thanks for your suggestion.


Link from every module doc to the type defs

E.g.
"The example output above does not cover all possible return results, which can vary by asset type and even time of day (trading period).  For an exhausting list of everything we cover and that you might get back, please see the TypeScript interface in LINK."

I'm not into TS yet but are there TypeScript interfaces links available already? If so, I can update the docs with the proper links, if not, point me on how to create those and I can put everything together for the docs. :)

Oh, yes!  That would be a huge help!  Thanks for this kind offer.
It's literally just a matter of placing a link from e.g. docs/modules/quote.md to src/modules/quote.ts.
The only exception is quoteSummary.md... because the results are so big, we put all the interfaces in a separate file, quoteSummary-iface.ts.
I would place the example paragraph I gave above directly under the sample output from in the docs from running the command.  Maybe with a "Note:" before :)  Or whatever makes sense to you as a user of the library :)
I think best to use the link directly (as "http://....") so it's very clear what's being linked to and how we keep track of these things.
Did that all make sense?
Don't hesitate to ask me about anything that's not clear...
This will be a great help for me and of course all users who will see this sooner now :pray:

I've added the links with the disclaimer. Also added a commit to 2 small typos, let me know if that can be improved further.
I wish I could help with the code itself, but I have hard time understanding TypeScript.

Legend!  It was such a pleasure to receive this, thank you! :pray:   Been meaning to add something like this for so long, finally opened an issue to remind myself, and you just appeared and took it on.  Honestly, with the limited time I have to work on this, these kinds of PRs are so helpful to me.  So thanks again.
Don't worry, I'm sure you'll have an opportunity to help with the code in the future too :)  And I totally get what you're saying about the TypeScript.  But if it makes you feel better, you should know that this is actually my first and only TypeScript project to date.  It's just a really good fit especially in terms of all the validation.
As a first step, I guess you saw what the "interfaces" look like.  It's basically just an API contract that says, e.g., "if we give you back a Quote, it will have the following fields, and those fields will be of these types (string, number, date, etc).".  Besides being helpful to developers, that's then converted into a json schema (in schema.json) which is processed by regular JS schema validation tools as you might use on any form input.
But for developers, it really adds a lot to developers... besides making sure that you can't write code that can break with unexpected results, you also get really nice autocompletion, as you maybe saw in the animated gif in the main README.  Anyways, if you're ever interested (maybe some toilet reading), I believe I started off with this typescript in 5 minutes guide.

:tada: This issue has been resolved in version 2.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Oh, don't worry about the release message above... obviously docs are always shown as the most up-to-date version on github, and aren't packaged inside npm.


Airdrop payment pending

My xlm airdrop payment long time pendin,,,,,
Plz,,, solve this issue.

My xlm airdrop payment long time pendin,,,,,
Plz,,, solve this issue.

Be patient. You're complaining about something you're receiving for free without even checking the appropriate channels for updates related to the airdrop.

UPDATE #4 November 15: 💖 Good news, everyone! @spacedrop is delivering Lumens right now to registrants. It will take a few days, as @spacedrop builds an encrypted conversation on Keybase with each recipient. You can watch the balance drain to see how far along it is..
We got a lot of people warning us about bot accounts diluting this month's 100 million Lumens. Don't worry, we've been watching. We just disqualified 95,000 accounts earlier today who had appeared to signup multiple times. The final number of qualified recipients was 145,300 so the Lumens per person for this month -- currently going out -- is 688XLM (just about $48 worth).

Your turn will come assuming you are eligible.

i think bug for username with M and A
check here https://github.com/keybase/client/issues/21097


What about a way of managing pages in tweepy.Cursor ?

Hello,
I may have missed something in the documentation but I don't see any way of setting manually the page I want to call at the beginning of an iteration with Cursor.
Yes, there are nice options and I can make the program wait automatically until the reset of the rate limit but it could be nice to suspend a Cursor during this waiting time and proceed to some other tasks. Right now I don't see any way to interrupt a Cursor and take it on again later ? I'm not sure I'm making myself clear?
Will it be possible to set up the cursor manually (and read the state of the Cursor) in the future?
Anyway thank you for tweepy, it's great !

For the PageIterator, which you can retrieve using Cursor.pages, you can set and retrieve the PageIterator.current_page attribute:
https://github.com/tweepy/tweepy/blob/51f680c27af5bc55cde2688cb0ef7b5e0b05c38f/tweepy/cursor.py#L9-L29 https://github.com/tweepy/tweepy/blob/51f680c27af5bc55cde2688cb0ef7b5e0b05c38f/tweepy/cursor.py#L156-L177


Use stringToPDFString to sanitizing bad "Prefix" entries in Page Label dictionaries, and add more validation

Use stringToPDFString to sanitizing bad "Prefix" entries in Page Label dictionaries

It seems that certain bad PDF generators can create badly encoded "Prefix" entries for Page Labels, one example being http://ukjewishfilm.org/wp-content/uploads/2015/09/Jewish-Film-Festival-Programme-ONLINE.pdf.
Unfortunately I didn't come across such a PDF file while adding the API support for Page Labels, but with them now being used in the viewer I just found this issue. With this patch, we now display the Page Labels in the same way as Adobe Reader.

Add a bit more validation to Catalog_readPageLabels, to ensure that the Page Labels are well formed

/botio unittest

/botio-linux preview

/botio test

Looks good, thanks!


Unable to install traefik over helm due template error

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?
20.5.2
What version of Traefik are you using?
v2.9.5
What did you do?
On deployed k3s:
helm repo add traefik https://traefik.github.io/charts
helm repo up

and
helm upgrade --install traefik traefik/traefik -n traefik --create-namespace --set ports.web.redirectTo=websecure --set ingressClass.enabled=true --set ingressClass.isDefaultClass=true

What did you see instead?
Release "traefik" does not exist. Installing it now.
Error: template: traefik/templates/_podtemplate.tpl:206:17: executing "traefik.podTemplate" at <eq .Values.metrics.prometheus.addEntryPointsLabels false>: error calling eq: incompatible types for comparison

What is your environment & configuration?
single node k3s cluster v1.24.6+k3s1 with metrics-server running
Additional Information
Can be workarounded by adding --set metrics.prometheus.addEntryPointsLabels=false --set metrics.prometheus.addServicesLabels=false.
Proposed --set metrics.prometheus=null in values.yaml does not help with another error in template:
Error: template: traefik/templates/service-metrics.yaml:6:20: executing "traefik/templates/service-metrics.yaml" at <.Values.metrics.prometheus.service>: nil pointer evaluating interface {}.service

I can confirm that the proposed workaround from @thehejik worked for me after getting the exact same error

Hello,
Thanks to report this. To make it work, you'll need to upgrade your helm version to at least 3.8.0.
Rémi

Thanks a lot for your quick help! Removing the snap-version of helm (3.7) on ubuntu and using the built-in helm version (3.9) of microk8s solved the problem indeed!


Patch 11

Since this is the template master repository, I will no merge any changes from the forks. Thanks for the Pull Request though.


Add option to disable title rendering

This pull request includes a

[ ] Bug fix
[x] New feature
[ ] Translation

The following changes were made

Added an option to disable title rendering in the selection element
Added related documentation, changelog entry and tests

Related issue:
#3158

Hi there and thanks for making your first contribution to Select2, welcome!
Unfortunately title rendering was added for accessibility reasons and as a result we are not accepting pull requests to revert the built-in accessibility functionality. If you really truly cannot have titles be set on your options, or have another way to convey this information in an accessible way, we would recommend you work with a modified version of Select2 to meet your needs.


A py3k question has appeared

Hello @zardus,
do you have any idea on how to enable idalink, or more specific rpyc to talk to ida again after angr hits py3k? We're having a complete self developed idarpc service with which we generated thousands of CFG's through rpyc, transform them to angrs understanding of basic blocks and use sym exec on them. With the upcoming changes, I think that's it - using IDA as a backend for angr won't be possible anymore.
By any chance, any thoughts on that? Personally, I don't see IDAPythong going to py3k anytime soon. Angr backwards supporting py2k is also out of question and rpyc being able to bridge py2k and py3k has been tried and burried deeply underground.

Hmm... That's a good point, and we haven't really planned anything in regards to IDA integration.
I think the best process would be to convert idalink from using rpyc to just sending pickles or json over a socket, which essentially means a slightly simplified, homespun rpyc. It's ugly, but I'm not sure what else can be done...
In terms of actually doing this, there's no way we have the manpower to maintain the angr-ida link, as we haven't used it in years. If this is something that you are interested in doing, I'd be glad to offer guidance, though!

Nah, wasn't meant to be. We have our own version of idalink, completely different code-base, just with the same basic idea of rpyc, screen and ida.
Asked the IDA-Support today, and they basically meant that they plan to switch to py3k eventually. In the mean time, I agree with you - even some http-based json rpc would do, just have to take care of the serialization via pickle or whatever yourself, which is sad but can't be helped.

Depending on what's being pickled, the pickles can be loaded across python versions, so it could work. It's not gonna be pretty, though.


graphics: Refactoring: Unify command queues in restorable and graphics packages

I didn't realize that... This is not a bug but might cause performance problems.

Restoring package should be gone in the future.


Connection Error

Good Evening
I've Installed chia blockchain (1.7.0) gui  and cat-admin-tool. The GUI launches successfully and the CAT admin to works when i type cats --help and the developer tools have installed correctly. I do get a connection error:
Connection error. Check if full node rpc is running at 8555
I did check config file and full node rpc says 8555 so that doesn't seem to be the issue.
Any thoughts on a potential solution will be appreciated.
Thanks
Drew

I've fixed this issue!


Cronvoy: check if sending clear text is permitted

With Marshmallow (V6.0 / API level 23), Android library exposes two system methods indicating if sending a request in clear text (without TLS) is acceptable:

public boolean isCleartextTrafficPermitted()
public boolean isCleartextTrafficPermitted(String hostname)

Cronet seems to honor this policy systematically for Android M+.
And this is how this is implemented in Java, and how the C++ calls it.
The cheap solution here is to implement this within the Cronvoy shim, but I suspect that when Envoy Mobile will be used directly on Android (without the Cronvoy shim), then it should also respect this policy.

@goaway @junr03 thoughts on this one?


How to disable Sql lite

How to disable sql lite ?

just write your own adapter or do not use database in this library :]


Open folder not working on MacOs

Issue Type: Bug
Opening a folder dialog box not working on MacOs. when i hit "open folder" nothing happens.
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:20:04.972Z)
OS version: Darwin arm64 21.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
64.00GB (2.78GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

gitlens
eam
12.1.2

rails-snippets
Hri
1.0.8

elixir-ls
Jak
0.11.0

back-n-forth
nic
3.1.1

phoenix
pho
0.1.1

ruby
reb
0.28.1

vscode-cy-helper
She
1.2.2

autoimport
ste
1.5.4

vscode-ruby
win
0.28.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebug:30492333
vscaac:30438847
vsclangdf:30486550

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

@safi-abdul can you share a screen shot of where this occurs?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Build errors för SimpleITK 2.2 rc4

Hello,
I'm trying to build SimpleITK 2.2 rc4 on a Windows machine using VS 2019. I get errors for the Elastix and SimpleITK projects for both debug and release. I disabled BUILD_EXAMLPES and BUILD_TESTING, and enabled SimpleITK_USE_ELASTIX. Does anyone have any tips?
I downloaded the code from Github (https://github.com/SimpleITK/SimpleITK/tree/v2.2rc4)

I have successfully built and tested Elastix/SimpleITK on my Windows system.  I do not have Minc on my system.  It looks like there's an overlap of symbols from the Standard C library.  Should you be linking against Minc's time.c.obj when building with Visual Studio?

Perhaps, I don't know. Do you know how I control that?

I think I will just wait for the compiled dll which I assume will be available with the new release, but there might be other users with similar problems that will be happy to have your insights :)

Are you building with shared libraries?  I don't think Elastix will build of shared libraries are turned on.  Can you send me your CMake.Cache.txt file so I can see how you're trying to build SimpleITK?
SimpleElastix won't be enabled in the builds we post on PyPi.  It is an experimental feature at this point, and it will probably be a while until it is enabled by default.  I can build you a DLL if you need it.

Oh, thanks that would be awesome! Of course, finding the error so I can build it myself would be even better :)
Here is the CmakeCache.txt:
CMakeCache.txt

It is presumed this issue has been addressed by the user. Please reopen if needed to continue the discussion


The WebHook feature doesn't include the changed configurations

Recently I wanna enable the webhook notification to do something on an external application.
But this feature can't meet me cause it doesn't include the changes configurations when releasing namespace. Currently, this feature ONLY contains all the newest items in the configuration field.
What about adding the changed data in this webhook data likes the Email notification? In my opinion,  the difference between the two releases is more meaningful.
{
    "appId": "",  // appId
    "clusterName": "",  // 集群
    "namespaceName": "", // namespace
    "operator": "",  // 发布人
    "releaseId": 2,  // releaseId
    "releaseTitle": "",  // releaseTitle
    "releaseComment": "",  // releaseComment
    "releaseTime": "",  // 发布时间  eg：2020-01-01T00:00:00.000+0800
    "configuration": [ { // 发布后的全部配置，如果为灰度发布，则为灰度发布后的全部配置
        "firstEntity": "",  // 配置的key
        "secondEntity": ""  // 配置的value
    } ],
    "isReleaseAbandoned": false,
    "previousReleaseId": 1,  // 上一次正式发布的releaseId
    "operation":  // 0-正常发布 1-配置回滚 2-灰度发布 4-全量发布
    "operationContext": {  // 操作设置的属性配置
        "isEmergencyPublish": true/false,  // 是否紧急发布
        "rules": [ {  // 灰度规则
            "clientAppId": "",   // appId
            "clientIpList": [ "<IP_ADDRESS>", "<IP_ADDRESS>" ]  // IP列表
        } ],
        "branchReleaseKeys": [ "", "" ]  // 灰度发布的key
    }
}

What's the actual use case? There is a previousReleaseId in the webhook request body, which could be used to retrieve the previous configuration.

Webhook is good for users to do something customize, like notification bot, etc.
Even the email feature, I think if the webhook data support shows the diff between the two releases, users could integrate their message system with RESTful.

Your point makes sense to me. The wehook, email feature are all async notifications triggered when the configuration is released. Actually they are implemented in the same program block so I think it's reasonable to add difference between the two releases.
https://github.com/apolloconfig/apollo/blob/2fb347993586c41b925edca37c4c91e3dd054ff0/apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/listener/ConfigPublishListener.java#L104-L108

Yes, that's what I mean. They can reuse the releaseHistory object with the changes.


No default jsDelivr CDN file set

This package doesn't have a default file set. You can set it via jsdelivr, browser, or main field in package.json

Sure, would take a pull request to that effect.


Cannot build FutureExtensionsTests in Xcode 15.1

🚀
Describe the bug
Hello.
Thank you for SwifterSwift.
Found out that I cannot build FutureExtensionsTests (I added this class to the project).
To Reproduce

Open SwifterSwift.xcworkspace in Xcode 15.1.
Select SwifterSwift-macOS target.
Run Product -> Test.
Getting 'self' is not a member type of protocol 'Swift.Error' in testInitAsyncThrows.

Expected behavior
Tests are running.
Desktop (please complete the following information):

OS: macOS

Version: 14.1.2

[x] I've read, understood, and done my best to follow the Contributing guidelines before opening this issue.

Looks like the issues is cased by SwiftFormat, it replaces (any Error).self to any Error.self.

@LucianoPAlmeida can you reproduce this issue? I can't.

Looks like the issue is cased by SwiftFormat, it replaces (any Error).self to any Error.self.

Since is a swift format issue, let's close this


cell type coloring in sc.pl.matrixplot

Is there a way to select the coloring for the cell types in the "groupby" argument in sc.pl.matrixplot?

I have a custom color palette based on continuity from my other plots in my other subfigures. equivalent to the row_colors argument in sns.clustermap, is there a way to specify the right side colors for the different clusters?
thank you!
...

Hi, this is not supported. Only in heatmap. The reason colors are not supported is that as a significant portion of the population I am partial color blind, which make plots requiring matching colors hard to decode. Hence the use of labels instead.
If you need the colors for your plots you can try replacing the groupby labels ax by the colors you want but this is not trivial.

thank you for the fast response and for the information! will adjust accordingly.


/bin/zsh -l is not executable on fresh macOS install

environment

vim: neovim 0.5
vim-airline: 4e2546a
OS: macOS 10.15.3 (19D76)
Have you reproduced with a minimal vimrc: nope
What is your airline configuration: none - just using:

  Plug 'vim-airline/vim-airline'
  Plug 'vim-airline/vim-airline-themes'

if you are using terminal:

terminal: kitty
$TERM variable: xterm-kitty
color configuration (:set t_Co?): E846: Key code not set: t_Co
if you are using Neovim:
does it happen in Vim: I don't have a vim config

actual behavior
Upon opening any new file vim-airline throws this error:
Error detected while processing function airline#extensions#branch#get_head[1]..airline#extensions#branch#head[6]..<SNR>112_update_untracked[42]..airline#async#vcs_clean[6]..airline#async#nvim_vcs_clean:
line   24:
E475: Invalid value for argument cmd: '/bin/zsh -l' is not executable

expected behavior
No error and should be able to detect git branch. This is on a new macbook. I previously had airline working on old macbook with exact same config (copied dotfiles over) and same macOS version.
screen shot (if possible)

Did you installed git or hg command?

What is your shell?
please run this command
echo $SHELL

I suppose &shellcmdflag which seems to be -l in your case is not valid.

echo $SHELL
/bin/zsh

:set shell
shell=/bin/zsh -l

You are correct! I was setting shell=/bin/zsh\ -l here. I don't know why this worked on my other machine. Maybe slightly different version of zsh?
Anyhow, that fixed it. Thank you! And thanks for the amazing vim plugin 💯


build: experimental script to compile cdk & material with ngtsc (ivy)

@DevVersion I don't know how crazy it would be, but do you think it would be possible for us to create a gulp task that builds our dev app using Ivy?  gulp serve:devapp-ivy :smile:

It's important to mention that currently executing this script will only succeed if Angular/ngtsc is built with the Material fixes from my branch: https://github.com/alxhub/angular/tree/ngtsc-material-fixes
These will be upstreamed soon.

@josephperrott I think it would be definitely possible to move that into a gulp task.
Just out of curiosity: How would someone run that script? I mean, it's modifying the node_modules of the actual project? or is the intention to copy the project before executing the script?

I'm actually going to close this PR as I'm refactoring this a little bit. Instead of one script to do the build independently, I'm going to make use of the Gulp build of Material and try to get the dev app working that way.


Set autocomplete to off

Motivation and Context

This change is a recommended minor security improvement. Previously we did not want to set this because it interfered with password managers. However, most modern browsers now take this as a suggestion (not a rule) and allow users to enable password managers even if this is set (https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#the_autocomplete_attribute_and_login_fields)
Your Changes

Description:

added attribute to password input

Type of change (select all that apply):

[x] Other (please specify): security update

Testing

Questions and Comments (if applicable)

Checklist

[x] I have performed a self-review of my own code.
[x] I have fixed any Hound bot comments.
[x] I have verified that the TravisCI tests have passed.
[x] I have reviewed the test coverage changes reported on Coveralls.

Required documentation changes (if applicable)

Please add to role switch dialog as well.


Wrap reaction users avatar with a tag pointing to users profile

I've found myself trying to right click >> "open in new tab" a few times on the avatars that we list in reactions. This PR just wraps the avatar in an a tag to enable that.
Note that clicking on the avatar itself still triggers a reaction.
Also removed a few unnecessary calls to $.

Yes, this makes sense.

Note that clicking on the avatar itself still triggers a reaction.

By choice? If you're adding an anchor tag I would expect to go to that link, not go to the link and do something else.

By choice?

I figured the more common interaction when clicking that area would be to "react", rather than to visit the users profile, so I opted to keep a bigger click target. Happy to change it, though, if we think that creates some weirdness.

Happy to change it, though, if we think that creates some weirdness.

I'm fine with it just like this and say LGTM.
@sindresorhus @hkdobrev?

:shipit:


fix: several issues related to order transfer and null addresses

What

Fixes an issue where the order transfer modal would throw an error if the current customer has no name and the order has no billing address.
Fixes an issue where edit shipping and billing address options were missing from the menu if the order has no addresses.
Fixes an issue where the customer name would not update in the orders table after a successful ownership transfer.

Fixes CORE-1048

@shahednasser Nice catch. I can reproduce with an integration test, so I'll create an issue for it :)

Solved in #3153


Documentation for lambda functions in ARM Templates

Is your feature request related to a problem? Please describe.
Bicep compiles lambda functions into undocumented ARM template functions: lambda, lambdaVariables, filter, map, reduce, and sort.
Describe the solution you'd like
Indicate in the documentation that using Bicep lambda functions will result in an ARM deployment template containing ARM template functions that are not publicly documented. Is there a reason they have not been added to the ARM documentation?

@maskati - thank you for reporting the issue. The new article has been published - https://learn.microsoft.com/azure/azure-resource-manager/templates/template-functions-lambda.


Use static paths

This uses the Static Path library to allow us to define paths in one place. This gives us two benefits:

We don't have to hardcode paths and change them everywhere if anything changes; and
The path objects are type-safe, so we will be told if a parameter is missing!

This will also help us in Apply a lot, as we'll be redirecting to paths a lot, and it makes sense to have them defined in one place.

 Use Static Paths to define routes

this is wonderful 😭 it's going to save us tonnes of time.
any reason for skipping the backlinks in bookings/show.njk and bookings/new.njk?

Yeah, that was a complete oversight on my part. Will fix 👍🏻


Bias for JWT in spec

The object MUST include a format property, and its value MUST be a string value matching one of the Credential Format Designation (jwt, jwt_vc, jwt_vp), to denote what data format the credential is being submitted in.

Is this a problem, the linked section at the end of that sentence provides the full list https://identity.foundation/presentation-exchange/#credential-format-designations
A PR is encouraged if you wish to improve 😄

PR up.

Addressed in #117


EvLoop::io(): 9 bytes of buffered data lost during stream conversion!

EvLoop::io(): 9 bytes of buffered data lost during stream conversion!, /home/shared/vendor/amphp/amp/lib/Loop/EvDriver.php:253

$ pecl list
Installed packages, channel pecl.php.net:
=========================================
Package Version State
ev      1.1.2   stable
pq      2.1.8   stable
raphf   2.0.1   stable

@kelunik, I also regularly come across this warning in my application. It's something in the library. How can I help find the cause? How can I catch the stack trace you mentioned?

You have to set a global error handler and log the trace there / turn it into an exception.

After dropping some dependencies (also dropped ev itself, but a bit later), I stopped getting the warning. Will come back if I run into it again.


Target Not Checking out

Thanks so much for reviving this project. I'm having an issue with target. It takes the item to checkout but it's not entering the Expiration date of the credit card or the Name on the credit card.  It enters the credit card number and CVV correctly though.
I'm assuming target has changed their site around a little.  I'm not a coder but I'm going to try to mess with the target module in an attempt to fix.

I updated to the lastest branch and installed the new requirements. The base refactor branch and API-request branch won't login to target. However, after switch back to master it's now working properly.


Resultant filtered data not matching the filtering selections

selecting advisory 022, storm 09, instance ec95d_nhc_ian returns a resultant dataset with all advisories.
Verified that this is not a Phil thing. I tested it on the UI-Data site and it returns the expected data.
I suspect that the advisory number is not being handled properly in the call to get data.

seems to work as expected.


Update CircleCI configuration for pushing to container registries

Towards https://github.com/giantswarm/roadmap/issues/2979
This PR was created through automation by Team Honeybadger, to make sure that the container images built for this repository are available in the right registries.
For that, the CircleCI configuration is modified to use the new push-to-registries job instead of the old push-to-docker. This means that there is only one job for all registry pushes, and it simplifies the configuration by removing many parameters that are now set automatically or as defaults.
Notes

Since the PR is also changing the CircleCI job name to push-to-registries, the branch protection rules in this repository will likely require updating before the required checks can be green.
Dev images are sent to ACR (gsoci.azurecr.io) and Quay currently. If you need dev images elsewhere, you can add the according configuration as described in the documentation to the step configuration.

To the responsible team
Please,

Double-check the job dependecies (requires).
Double-check the job filters. Especially if this PR replaces several jobs with one, and the previous jobs had different filters, make sure that the filter includes all cases.
Update the changelog if you think this deserves a mention.
Approve and merge this PR once it's ready. No need to wait for the author in this case.
Get this done until 1st of December, so that we can move on with follow-up steps.

Seems like the DOCKER_IMAGE_TAG variable is not accessible to the container-test step. Will have to fix this.

This PR is now also removing the extra container check, which I didn't manage to get right with the use of push-to-registries (I couldn't access the DOCKER_IMAGE_TAG variable). It wasn't critical anyway IMO.


[Enhancement] Scan warp signatures

In star trek it is possible to trace down a ship by following its warp signature. I think it would be possible to implement it in the mod somehow, but I don't know how exactly. Its just an idea.
Maybe a block that shows the ships that moved from and to the planet the ship is currently orbiting around.

Is this still a issue? Please comment if it is and i will reopen if if you are unable? We are closing old issues to see what is still relevant and needs to be fixed.


lauchner buzzes on every key press

Hi,
some of the recent updates introduced "buzzing" on every key press in the launcher.
https://github.com/espruino/BangleApps/commit/6d1ac3b7c62dd92aabf029c38a16935f23b609fc#diff-994bb4ae20c0cb9d61cc11c4841860d2f92ccda47bfd23b69ee549b84823ddd1
For me personally, the haptic feedback of the buttons is sufficient (no need for extra buzzing), so I did a first try of implementing a new setting "Menu Vibration" which configures the menu vibration intensity (see https://github.com/neshanjo/BangleApps/commit/70f9fd13d1c10f74b35f29723dd6f171f9c16797). However, this is not working. Probably because I did not 100% understand how the bootupdate.js works. Before putting more effort into this, I'd want to ask if the buzzing is really needed (or can maybe reduced to an intensity <= 75 which is - at least on my bangle - a better value). Or else, if there is some other way of making it configurable.
Kind regards,
neshanjo

Sorry for the delay - thanks, yes, that should definitely be an option. And probably as you say it's not needed and could be at minimum off by default.
You can just turn the buzzing off in options and that'll fix it, but obviously it stops all buzzing.
It seems like what you've done should work, but it's probably almost better to do:
${s.vibrateMenu?`try{Bangle.buzz(20);}catch(e){}`:``}

instead. Having said that, the code is kindof a 'polyfill', so if you're running a 'cutting edge' build then I think the setUI function is built in and that code doesn't get called.

You can just turn the buzzing off in options and that'll fix it, but obviously it stops all buzzing.
That's not an option, because I'm using apps where I need the vibration (e.g. the metronome app).

Having said that, the code is kindof a 'polyfill', so if you're running a 'cutting edge' build then I think the setUI function is built in and that code doesn't get called.
Ah, ok, I missed that (though it's well documented in the code 🤦 ). That explains why it had no effect on my device!

Changing the firmware goes beyond what I can do in my spare time, so maybe you can accept this as a feature request. It would also be ok for me, to remove the buzz completely at this point as a simple solution.

Thanks - yes, I'll remove the buzz.
I guess the nice thing with this approach is we can easily create an app that can be installed which replaces setUI and adds buzz later if someone wants it


Update Pause to Foundry VTT 0.7.9

Which class should be updated?
Pause
For which version should the class be updated?
Foundry VTT 0.7.9

Taking this

Fixed by #283


Make settings classes final & prevent instantiation

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@bc0741a). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master    #6332   +/-   ##
=========================================
  Coverage          ?   83.27%
  Complexity        ?    12816
=========================================
  Files             ?     1480
  Lines             ?    48505
  Branches          ?     5912
=========================================
  Hits              ?    40391
  Misses            ?     5363
  Partials          ?     2751

Impacted Files
Coverage Δ
Complexity Δ

...java/io/crate/metadata/settings/CrateSettings.java
93.49% <ø> (ø)
38 <0> (?)

...a/io/crate/metadata/settings/AnalyzerSettings.java
33.33% <0%> (ø)
1 <0> (?)

...ain/java/io/crate/operation/auth/AuthSettings.java
66.66% <0%> (ø)
1 <0> (?)

...io/crate/metadata/settings/CrateTableSettings.java
92.85% <0%> (ø)
1 <0> (?)

...c/main/java/io/crate/analyze/OptimizeSettings.java
71.42% <0%> (ø)
1 <0> (?)

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 bc0741a...473bd73. Read the comment docs.


Login endpoint requires url params for username and password

Main issue with this is that nginx logs will include the full url including the query string, and don't want username and password to be logged.
Instead suggest having these as part of the body of the post request in the same way that the keycloak server does typically (x-www-form-urlencoded).

fixed #103 PR ... included in release v1.2.0


Preparation or improvement of the guide for formal assessment of research and diploma projects - 2024#1 (issue #1079 related)

The goal is to prepare or improve a guide or report that is generated by the following code:
from dynpy.utilities.documents.document import WutThesis
WutThesis()

Minor changes introduced. The code was checked with the following call:
from dynpy.utilities.documents.document import WutThesis
WutThesis()


No longer compiles on visionOS

Recent versions of the visionOS beta have changed the behavior of #if os(iOS) to no longer return true on visionOS. Previous versions of the visionOS beta returned true to this. With this change, DeviceKit is once again not compiling on visionOS.

Support for visionOS would be a great enhancement. Eagerly awaiting this update!

@Zandor300 Please add enough support so we can compile on visionOS for now, actual features can come later.


[Sql] Make Default the first value in enum

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.Sql


Autolink style in new line does not work

I checked two variants of autolink:
  **autolink** style
  <https://google.com>

and
  **autolink** style

  <https://google.com>

First wariant works, but for second (standalone paragraph) markdown-to-jsx renders:

autolink style
<https:></https:>

I checked some online "Convert Markdown to HTML" sites and they generated proper markup for second variant:

autolink style
  https://google.com

Interesting, I'll take a look tomorrow probably. Thanks for reporting

Thanks!
BTW You can see it also on the https://probablyup.com/markdown-to-jsx/ with code like:
# This is Markdown

<https://probablyup.com/>

<https://probablyup.com/> lets you write content in a really natural way <https://probablyup.com/>.

List 1

* <https://probablyup.com/>
* <https://probablyup.com/>
* <https://probablyup.com/>

List 2

<https://probablyup.com/>

<https://probablyup.com/>

<https://probablyup.com/>

It generates:

This is Markdown

    <https: probablyup="true" com="true" class=""></https:>
    <https: probablyup="true" com="true" class=""></https:>

lets you write content in a really natural way https://probablyup.com/.

List 1

https://probablyup.com/

https://probablyup.com/

https://probablyup.com/

List 2

    <https: probablyup="true" com="true" class=""></https:>
    <https: probablyup="true" com="true" class=""></https:>
    <https: probablyup="true" com="true" class=""></https:>


1.33 is taking a lot of time was working great before the update

1.33 is taking a lot of time was working great before the update

14.2 12 pro max amd it used to work fine before not anymore
David Oliveira 
JMJ
On 11-Feb-2022, at 20:50, Lightmann @.***> wrote:

David, what firmware, jailbreak, and device are you experiencing this on again?
Another user just reported experiencing this issue and I want to see if there are any similarities in your setups.
They're using an arm64e device on 14.8 with u0.
—
Reply to this email directly, view it on GitHubhttps://github.com/L1ghtmann/IAmLazy/issues/12#issuecomment-1036324322, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASZ5YBEY23ILV2CLOYCKYJLU2USJ3ANCNFSM5BY4RWQA.
You are receiving this because you authored the thread.Message ID: @.***>

And what jailbreak?

Sorry bro Unc0ver 8.2.0
David Oliveira 
JMJ
On 11-Feb-2022, at 21:33, Lightmann @.***> wrote:

And what jailbreak?
—
Reply to this email directly, view it on GitHubhttps://github.com/L1ghtmann/IAmLazy/issues/12#issuecomment-1036365004, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASZ5YBABJ7G573DKTKY6CW3U2UXLTANCNFSM5BY4RWQA.
You are receiving this because you authored the thread.Message ID: @.***>

Fixed in v1.4.4.


Deleting Statements

Hello lrsql-Tream,
Are there any plans in adding a non xAPI-Standard defined route to delete Statements by StatementID, similar to the implementation of LearningLocker?
I know that it is currently possible to access the DB directly, but it would be a lot easier and safer to user an REST-Call
Thanks for your effort,
Greetings Julian

Hi Julian,
Thanks for your interest in SQL LRS. Direct delete is an interesting idea which we haven't really thought about due to the immutable nature of xAPI data. Generally we would consider solving that through void statements (which the spec indicates) OR in an extreme case (like seed data, etc) through the DB as you mentioned. Direct DB deletion is relatively unsafe though as you would have to maintain relationships and deal with cascades, etc, so if direct delete is a common use case I can see where you're coming from wanting the operation canned.
Would you mind describing the use case which brought about this need? Perhaps if we understood the context better it might help illuminate the need for similar functionality, or we might have an alternative approach.
Thanks,
Cliff

Hello Cliff,
Thanks for the quick reply!
Ideally, of course, it would make sense not to delete any LRS statements and keep the data unchanged as stated in the specification.
However in reality this is a bit difficult. For a use case with a lot of data, it is useful to be able to delete old and stale Data to ensure that the database doesn't grow to an unmanageable size, which could also negatively impact the performance.
Another problem with not changing data is data protection. Here in Europe, we have strict regulations for handling user data. For example, we have to be able to delete all data linked to a user if the user deletes his/her account.
A rest call with, for example /statement/delete/{statementId} would make these Edge Cases  a lot easier and saver to handle.
Thanks a lot, have a nice day,
Greetings from Germany
Julian

Julian,
You bring up a great point with the GDPR use case! We have encountered similar situations in the past and are discussing internally what the best way to solve for this is. We will be in touch if/when we come up with a roadmap to address it.
Thanks,
Cliff

Thanks Cliff!

@julianfbeck,
It's been a long time coming but our engineer @invaliduser has just released an actor delete feature. You can get it in the latest release here: https://github.com/yetanalytics/lrsql/releases/tag/v0.6.4
Thanks,
Cliff

Thank you :)  you are the best :)


Issue_target_value - random values seen for a new user in the daily goal and applied sections.

A random value is set as daily goal by default. The applied value is also set to 1. Both should be 0 for a new user.

Agreed about keeping the initial values to 0. While it maybe good to have a default initial daily goal for users (e.g. 5 or 10), it is okay to keep it as 0 and let the users to decide themselves what should be their daily goal.


Update DG

Codecov Report

Merging #109 (9f75433) into master (ca5771d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #109   +/-   ##
=========================================
  Coverage     56.70%   56.70%
  Complexity      779      779
=========================================
  Files           167      167
  Lines          3194     3194
  Branches        368      368
=========================================
  Hits           1811     1811
  Misses         1284     1284
  Partials         99       99

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 ca5771d...9f75433. Read the comment docs.


Swagger + account ID in Lambda URI + Multi-Account setup

When using external Swagger file, one must specify Lambda URI for x-amazon-apigateway-integration.
Logically one would assume that using stage variables in the AWS::Serverless::Api resource would solve this, but annoyingly those do not work due to some limitation in API Gateway: So one must hardcode those values into swagger.yml.
Which then leads to a following problem when using the same SAM configuration for different account:

Errors found during import: Unable to put integration on 'GET' for resource at path '/foo': Lambda function ARN must be in same account

I know that this is a duplicate for https://github.com/awslabs/serverless-application-model/issues/87, but I am raising this issue open again, because there is a real reasons for using multi-account setup to separate environments (the main one being "limiting blast-radius"): Even AWS promotes it for example here and here.
My team uses two-account strategy (per product): "PRODUCTION + others".
Now my only choice (probably) is to do some sed replacing at some point before CloudFormation create/update changeset call, but this gets quite dirty and means I have to add even "another transform step" in addition to SAM's AWS::Serverless-2016-10-31 transform.
If this limitation in API Gateway cannot be removed, then it should be circumvented by SAM to allow interpolating account ID somehow within sam package step.

If I understood the problem correctly, we solved it by uploading the swagger-file to a bucket and then reference it in the resource.
E.g.
aws s3 cp swagger.yaml s3://some-bucket/swagger.yml
and then add the Swagger path as a parameter or build it in the cloudformation :
ApiGateway:   Type: AWS::Serverless::Api   Properties:     ...     DefinitionBody:         Fn::Transform:           Name: AWS::Include           Parameters:             Location: s3://some-bucket/swagger.yml

Why was this issue closed? As I understand, we still have to hardcode the account ID. Any solutions that I'm not aware of?

@jtanios Using the AWS::Include transform to reference your OpenAPI (swagger) definition as described in https://github.com/awslabs/serverless-application-model/issues/203#issuecomment-388858910 allows you to use pseudo parameters like AWS::AccountId within your OpenAPI definition instead of hardcoding the accountId. We included an example of this in the realworld serverless application project we open sourced near the end of 2019. Here's the relevant section from the best practices wiki (includes links to the code so you can see what it looks like in practice):
https://github.com/awslabs/realworld-serverless-application/wiki/Amazon-API-Gateway#use-awsserverlessapi-in-your-cloudformation-template


Skype crashing on iOS 11.3 Beta

I’m not sure if it is the correct location to report for bugs. However I have iPhone 8 + running iOS 11.3 Beta, and I had just recently updated it. What my Skype does is just to crash.
Steps to reproduce:

Update to iOS 11.3 Beta
Click on skype app
Observe

Is there any possible ways to fix it?

I am also experiencing the same issue since I updated to ios 11.3 betas.


NVIDIA EULA refers to the CUDA toolkit, not the CUDA samples

The EULA of the CUDA samples (version 7.0 which contained the grabcut sample code), is more permissive and should be included. See chapter 2 of:
http://developer.download.nvidia.com/compute/cuda/7_0/Prod/doc/EULA.pdf
In particular:

2.1.1. Source Code
Developer shall have the right to modify and create derivative works with the Source Code. Developer shall own any derivative works ("Derivatives") it creates to the Source Code, provided that Developer uses the Materials in accordance with the terms and conditions of this Agreement. Developer may distribute the Derivatives, provided that all NVIDIA copyright notices and trademarks are propagated and used properly and the Derivatives include the following statement: “This software contains source code provided by NVIDIA Corporation.

The correct NVIDIA EULA is now attached to the code.


Added caron 3.x support

https://github.com/briannesbitt/Carbon/issues/2948

https://carbon.nesbot.com/docs/#api-carbon-3
v3.2 版本时，进行挨个比对

+1 we need this fix for Laravel-Hyperf

In PHP 8.4 getting exception about Implicitly marking parameter $weekStartsAt as nullable is deprecated, the explicit nullable type must be used instead which would be fixed with Carbon v3 https://github.com/hyperf/hyperf/pull/7230#issue-2764578502

Suggested Additions
Can you please also update this for hyperf/validation

https://github.com/hyperf/hyperf/blob/6aac2d2282b86a82c4adb2b7f83de3e85ba27cf7/src/validation/composer.json#L24

And should probably do the same update for the rest of the codebase?

https://github.com/hyperf/hyperf/blob/6aac2d2282b86a82c4adb2b7f83de3e85ba27cf7/src/carbon/composer.json#L16
https://github.com/hyperf/hyperf/blob/6aac2d2282b86a82c4adb2b7f83de3e85ba27cf7/src/support/composer.json#L28
Anywhere else?

@kingIZZZY There are a lot of break changes between Carbon 2.0 and 3.0, and Hyperf will incorporate this PR in the next major release.

Is it not good enough to implement @deminy 's suggested fixes above? There are definitely other tests which would fail with carbon 3?
So far I just forked my own hyperf/validation & hyperf/crontab & hyperf/database to use carbon 3 in Laravel-Hyperf and it seems to be working so far, but maybe I haven't encountered all code paths using carbon yet..


Use new way of handling climaparameters

This PR updates RRTMGP.jl to use the new way of handling clima parameters, by defining RRTMGPParameters inside a new submodule, Parameters. This should be the last piece needed before upgrading ClimaAtmos.
It seemed like the simplest thing to do here was to add param_set to SourceLWNoScat and SourceLW2Str, so that param_set could propagate down to the compute kernel.

bors try

bors r+


Default brightness keys not working

Hey there! This is literally the first app around to allow me to change the brightness of all my monitors simultaneously. Thank you!! Now, onto the issue:
On my external magic keyboard (I can't test with my touch bar mac's built-in keyboard), the app by default does not take command of the normal brightness keys. If I change the keys to F1 and F2, and hold the fn key, the app works properly and the brightness on all my monitors changes.
Perhaps on magic keyboards brightness up/down is not mapped to F14/F15?
Running macOS Catalina 10.15.1 Beta 1, 15" MBP 2018 Vega 20, with two external Ultrafine 5K monitors.

Hi,
I'm happy to hear the app is useful to you, I was hoping that someone might like it.
Unfortunately I can't test this myself, as I don't own a Magic Keyboard, but it's probable that the mapping is different, and on Magic Keyboards the brightness keys send different keycodes. Could you please try using the Key Codes app to see what keycodes are generated by the brightness keys, so I can add them to the app?
Also, just for future reference, what version of the Magic Keyboard are you using?
Thanks,
František

Oddly, the Key Codes app does not show anything when I press any of Apple's labeled function keys.
I'm using a US-layout Magic Keyboard 2:

Okay, that probably means that macOS is consuming the special keys before they even have a chance to get to any user app via the standard channels.
Do you have Xcode installed? And if so, could you open and run this playground, then press the brightness keys and see if there is any output in the playground? I played with generating keycodes in AppleScript and I found out that when you send the keycodes 144 and 145, the brightness of your Mac's internal display changes, so I believe these could be the proper keycodes to listen for, so in the playground, I use some private Apple APIs to listen for keypresses on the system level.
I'm not sure if this will work, to be honest, but I have hope.

Here's what I got when pressing brightness up and then brightness down (so, four button states):
NSEvent: type=SysDefined loc=(1191.88,464.781) time=201717.2 flags=0x800100 win=0x0 winNum=0 ctxt=0x0 subtype=6 data1=123456 data2=0
NSEvent: type=SysDefined loc=(1191.88,464.781) time=201717.3 flags=0x800100 win=0x0 winNum=0 ctxt=0x0 subtype=9 data1=123456 data2=0
NSEvent: type=SysDefined loc=(1191.88,464.781) time=201719.3 flags=0x800100 win=0x0 winNum=0 ctxt=0x0 subtype=6 data1=654321 data2=0
NSEvent: type=SysDefined loc=(1191.88,464.781) time=201720.0 flags=0x800100 win=0x0 winNum=0 ctxt=0x0 subtype=9 data1=654321 data2=0

Alright, that looks very promising, thanks. Did the brightness of any of the displays change when you pressed the keys? We want to hijack the keyboard events completely so they don't get handled by the system at all, otherwise the brightness would be changing twice with the same keypress, once from the system, once from ExternalDisplayBrightness.
I'll probably have to rewrite the keyboard shortcut manager of the app to use this way of listening for shortcuts, but on the off chance that the old system works with the right keycodes, could you please test this beta version of the app and set 144 and 145 as the keys in the preferences, and see if it works? I don't think it will, but it would be a pleasant surprise if it did.

Brightness did not change when I pressed the keys.
Your beta version actually works! 145 is Brightness Down, and 144 is Brightness Up it seems.

Nice, glad to hear that!
I'll clean the code up a bit and release a new stable version soon.

I've just published a new stable release, 1.2.0, which fixes this, but unfortunately if you're coming from the beta version you'll have to select the proper keys (MK_BDN and MK_BUP) again in the app's preferences for the keyboard shortcuts to work, sorry about that.

I have the older aluminum full (including 10key) wired USB keyboard, and it didn't use the default brightness keys either. I was able to get the official F14/F15 keys to work, but wanted to help get the regular keyboard working too.
I ran the sandbox posted above and got the following response from the F1/F2/brightness keys on this keyboard:
NSEvent: type=SysDefined loc=(353.875,856.438) time=161550.2 flags=0x800100 win=0x0 winNum=0 ctxt=0x0 subtype=6 data1=654321 data2=0 NSEvent: type=SysDefined loc=(353.875,856.438) time=161550.3 flags=0x800100 win=0x0 winNum=0 ctxt=0x0 subtype=9 data1=654321 data2=0 NSEvent: type=SysDefined loc=(632.043,387.551) time=161551.6 flags=0x800100 win=0x0 winNum=0 ctxt=0x0 subtype=6 data1=123456 data2=0 NSEvent: type=SysDefined loc=(632.043,387.551) time=161551.7 flags=0x800100 win=0x0 winNum=0 ctxt=0x0 subtype=9 data1=123456 data2=0

@ajp So the MK_BUP and MK_BDN keys don't work? If you got that response from the playground, it should mean the brightness keys on the keyboard are generating keycodes 144 and 145, just like the Magic Keyboard, so I think the same keys selected in the preferences should work.

Holy crap, I didn't even notice or try those. It's all working amazing now!

@fnesveda might I suggest changing the name in the UI to something more intuitive? “Magic Keyboard - Brightness Up” for example would be much easier to understand. Could you could also sidestep this issue entirely and automatically switch to the magic keyboard controls if the app detects a magic keyboard is connected?

I was thinking about the name as well, MK_BUP is not really intuitive, I know. The problem is that the width of the combo box is determined based on the longest selectable value, so it would be super wide even if something short, like F1, would be selected, and there would be a lot of empty space that would look weird. I'll see if it's somehow possible to have a different value displayed in the expanded combobox compared to the collapsed one.
As for sidesteping the issue, that's a good suggestion, but I don't really know if there even is an API to detect the connected keyboard model. Plus I don't even have a Magic Keyboard myself, so it would be pretty hard to test. It would be a very Apple-like way to do things, though.

I just found your little tool and find it really useful.
Unfortunately, selecting the Magic Keyboard keys does not work.
I got a MagicKeyboard with German layout (old one with AA batteries), and using the Karabiner event viewer, the keycodes I see when pressing the brightness keys are 112 and 111. Is there something I can do to make the tool work with those keys?
Thanks!

@ma-con Hi,
unfortunately, the Karabiner keycodes do not correspond to keycodes reported by the system (I don't know why). Could you please use the Keycodes app to find out the system keycodes, or, even better, if you have Xcode installed, run this playground to see its output when you press the brightness keys on your keyboard?
Thank you!

Thanks for your help.
For some reason I don't get any output when pressing the function keys, neither from the keycodes app nor from the playground. For other keys I get output, but for the function keys nothing is shown...

Huh, strange. In the Karabiner Event Viewer, does it also show a name for the pressed keys, or just the keycode?

The output in the Event Viewer is:
type:consumer_key_do code:112        name:display_brightness_decrement
type:consumer_key_up code:112        name:display_brightness_decrement
type:consumer_key_do code:111        name:display_brightness_increment
type:consumer_key_up code:111        name:display_brightness_increment

Thanks! I'll have to take a look at how exactly does Karabiner listen for key events to see what do they do differently that they can capture the brightness keys. I took a quick look, but it looks like it's a pretty complex app, so I'll have to dig a bit deeper when I have some time.


Publishing 07/06/2020 3:35 PM

Docs Build status updates of commit 124d118:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/windows/defender/Set-MpPreference.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


"exaggerated scroll"

Aloha!
What an excellent project. My app is a PWA, so this is perfect.
Now to the sad news, I must have something in my app that messes with this one.
It's a bit hard to describe, so I've made a video that shows the issue..
Basically, whenever I scroll just a tiny bit, the Y coordinates seems to be overshoot by a factor of 10 or more. (In the video I have some custom content in the div, but I've also tried with just a test in the BottomSheet which has the same problem.
Now I know that it might be hard to pinpoint the issue because of all my custom CSS etc., but maybe you already know where I could look and troubleshoot?

Oh my goodness! It's out of control! 😲
I have a hunch of what's going on, since it's overshooting in that odd way it makes me think it might be caught in another "stacking context". It's rendering at the bottom of document.body inside a reach-portal element to avoid these things. Things that can create a new stacking context is using transform or will-change, a typical trick on mobile to upgrade an element to render on the gpu instead of cpu to improve scrolling performance and such.
To find the cause look at the CSS on html or body, the culprit should be there somewhere. Since the sheet itself is inside a position fixed element it's not affected by sibling elements in the rest of what's inside body.

Thanks for the fast reply!
I'm afraid it doesn't seem that there's any styles on the html or body elements that should be affecting it. To be sure I tried opening the Chrome DevTools and disabled all styles on the html and body elements (there was a few box-sizing resets and font-family's, but nothing I could see would have this effect on the dragging.
I then tried to remove pretty much all of my app, all head tags (like viewport etc) and have the BottomSheet at the root of the app, and the problem persisted.
I guess it's time to try to create an entirely new project and see if the problem happens there too.

Aha! I thought I was going crazy, but it does seem like a general problem.
I tried to create a totally new app with create-react-app and the problem is there too, which leads me to think I must be doing something wrong.
I am using the following code:
import { BottomSheet } from 'react-spring-bottom-sheet';
import 'react-spring-bottom-sheet/dist/style.css'

and then simply:
<BottomSheet open={true}>

This is a test

This is a test

This is a test

This is a test

</BottomSheet>

to show it. Am I missing something obvious here? I tried pretty much copying from the examples.

I'm having the same exact issue. I have no styles on html or body appart from an overflow:hidden on body.
Also working with a cra app and using a simple example as @MartinMouritzen did causes the bottom sheet to go crazy.

All right thanks for the help! I'll get to the bottom of this when I'm back home tomorrow 🙌

That took longer than expected, but I think I figured it out. If onDismiss is defined it seems like the problem doesn't happen. Can you confirm if that's true for your case as well? Here's a repro of them side by side: https://codesandbox.io/s/reproducing-issue-react-spring-bottom-sheet-33-hw27l?file=/src/App.js
Fix coming up!


Feature requests allowed?

@dominikks Are feature requests generally allowed and do you even have time to look into them?
My friendgroup and I started using this Board and really like it. It's the only good selfhosted soundboard option we could find. But we also found a few usability "shortcomings" we would like to see improved. If allowed, I would add them as separate issues. Maybe I could even help with development, but I'm not firm in neither Rust nor Angular.

I'm glad you're enjoying the soundboard! Sure, feature requests are definitely welcome, so feel free to create issues with your suggestions.
However, I can't guarantee that I'll implement them. I can definitely spare some time to look into them and give feedback. If and when I can implement some of them depends on the scope of the changes, since I only work on this project in my spare time. If you're willing to make a PR that would probably speed things up!

I created some issues with ideas/things that bothered me:

#5
#6
#7
#8
#9

These are pretty unrefined. I could further refine acceptance criteria or dump more details into them, but I would also like to wait to hear your thoughts on them, before starting anything.


I undefined in PO's

CodeceptJS v2.1.0
const { I } = inject();

module.exports = {
  tables: {
    ....
  },
  testCookie() {
    console.log(I)
  }
};

I get undefined for the I injected into the PO's.  🚨

use old style would work
const I = actor();

How this const { I } = inject(); works in test file but does not in PO's file

@DavertMik could you give some insights?

I even created a new clean project following docs and having the same exact problem. PO's have undefined I from inject()

Any help on this? This is very crucial to me right now. If I can't use the inject in the Po's how can I use custom_steps methods then in PO's. const I = actor(); comes with only default methods and don't have access to the custom_steps file methods

Also when I try in one of the PO's doing
const I = actor(require('../steps_file')());
Then I have the I with all the default methods and methods from steps_file BUT -> when I will do the same with second PO (require the I actor the same way as in the first PO) then I am unable to generate def and run codecept.
./cc def
.../acceptance/node_modules/codeceptjs/lib/container.js:263
    throw new Error(`Could not include object ${supportObjectName} from module '${modulePath}'\n${err.message}`);
    ^

Error: Could not include object I from module .../acceptance/steps_file.js'
require(...) is not a function
    at loadSupportObject ...acceptance/node_modules/codeceptjs/lib/container.js:263:11)
    at getSupportObject .../acceptance/node_modules/codeceptjs/lib/container.js:237:12)
    at createSupportObjects ...acceptance/node_modules/codeceptjs/lib/container.js:166:21)
    at Function.create .../acceptance/node_modules/codeceptjs/lib/container.js:35:25)
    at Codecept.init ...acceptance/node_modules/codeceptjs/lib/codecept.js:55:15)
    at Command.module.exports.../acceptance/node_modules/codeceptjs/lib/command/definitions.js:163:12)
    at Command.listener .../acceptance/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:189:13)
    at Command.parseArgs .../acceptance/node_modules/commander/index.js:651:12)
    at Command.parse .../acceptance/node_modules/commander/index.js:474:21)

./cc run --grep @raiseDeal --plugins wdio --steps

Could not include object I from module '.../acceptance/steps_file.js'
require(...) is not a function

Second thing, when I check inject() inside the test scenario file it has all the objects included in my codecept.conf.js
include: {
    I: './steps_file.js',
    dashboardPage: './pages/dashboard.js',
    raiseDealPage: './pages/raiseDeal.js',
    modalFragment: './fragments/modal',
    apiConnectorStep: './steps/apiConnector.js',
  },

So all methods and objects are here
BUT -> when I do check the inject) inside the Page Object Page Fragment Steps Object etc. in all cases the inject() is just empty object {}

@DavertMik  any ideas? I really suffer from this right now

@stychu try this, it should work
const I  = actor();

module.exports = {

  // insert your locators and methods here
  google() {
    I.amOnPage('https://google.com');
    I.see('Google');
  }
}

sysadmins-MacBook-Pro-3:test-codeceptjs thanhnguyen$ ./node_modules/.bin/codeceptjs run --verbose
CodeceptJS v2.1.0
Using test root "/Users/thanhnguyen/Desktop/test-codeceptjs"
Helpers: WebDriver
Plugins: screenshotOnFail

TEST --
    [1] Starting recording promises
    Emitted | suite.before ([object Object])
  test something
    Emitted | test.before ([object Object])
    Emitted | test.start ([object Object])
    Emitted | step.before (I am on page "https://github.com")
    Emitted | step.after (I am on page "https://github.com")
    Emitted | step.before (I see "GitHub")
    Emitted | step.after (I see "GitHub")
    Emitted | step.before (I am on page "https://google.com")
    Emitted | step.after (I am on page "https://google.com")
    Emitted | step.before (I see "Google")
    Emitted | step.after (I see "Google")
    Emitted | step.start (I am on page "https://github.com")
    I: canVisitGithub
      I am on page "https://github.com"
    Emitted | step.passed (I am on page "https://github.com")
    Emitted | step.finish (I am on page "https://github.com")
    Emitted | step.start (I see "GitHub")
      I see "GitHub"
    Emitted | step.passed (I see "GitHub")
    Emitted | step.finish (I see "GitHub")
    Emitted | step.start (I am on page "https://google.com")
    testPOPage: google
      I am on page "https://google.com"
    Emitted | step.passed (I am on page "https://google.com")
    Emitted | step.finish (I am on page "https://google.com")
    Emitted | step.start (I see "Google")
      I see "Google"
    Emitted | step.passed (I see "Google")
    Emitted | step.finish (I see "Google")
    Emitted | test.passed ([object Object])
    Emitted | test.finish ([object Object])
  ✔ OK in 1690ms

    Emitted | test.after ([object Object])
  S test something 2
    Emitted | suite.after ([object Object])

  OK  | 1 passed, 1 skipped   // 3s
    Emitted | global.result ([object Object])
    Emitted | global.after ([object Object])

@PeterNgTr Thanks for suggestions. I managed to found the problem.
When I was trying to Include the steps_file in the actor() I didn't pay attention that I earlier included my PO's in the steps_file when was testing some approaches.
//steps_file.js

const { dashboardPage, raiseDealPage } = require('./pages');
const { modalFragment } = require('./fragments');

After removing those requires from steps_file I was able to use
const I = actor(require('../steps_file')()); in all of my Page Objects etc.
The documentation should be fixed or the codebase itself because following the official docs it tells to use const { I, otherPage } = inject(); also codeceptjs gpo generates those which are not working because inject() is an empty object here


Add support for Tezos RPC

Example Cosmos RPC: https://github.com/trustwallet/web-core/tree/master/packages/rpc/src/cosmos
Replicate Swift implementation in TypeScript, as implemented in Cosmos RPC
Endpoint: for testing: https://mainnet-node.tzscan.io
Swift implementation:
var path: String {
        switch self {
        case .account(let address):
            return "/chains/main/blocks/head/context/contracts/\(address)"
        case .head:
            return "/chains/main/blocks/head"
        case .broadcast:
            return "/injection/operation?chain=main"
        case .manageKey(let address):
            return "/chains/main/blocks/head/context/contracts/\(address)/manager_key"
        case .blockOperations(let block, _):
            return "chains/main/blocks/\(block)/operations"
        }
    }

    var method: Moya.Method {
        switch self {
        case .account, .head, .manageKey, .blockOperations: return .get
        case .broadcast: return .post
        }
    }

    var sampleData: Data {
        return Data()
    }

    var task: Task {
        switch self {
        case .account, .head, .manageKey, .blockOperations:
            return .requestPlain
        case .broadcast(let data):
            let value = "\"\(data.hexString)\""
            return Task.requestData(value.data(using: .utf8) ?? Data())
        }
    }

    var headers: [String: String]? {
        return [
            "accept": "application/json",
            "content-type": "application/json",
        ]
    }

Models:
struct TezosContract: Codable {
    let balance: BigIntCodable
    let counter: String
}

struct TezosBlockHeader: Codable {
    let level: Int64
}

struct TezosHead: Codable {
    let hash: String
    let header: TezosBlockHeader
}

struct TezosOperationError: Codable {
    let kind: String
}

struct TezosOperationResult: Codable {
    let status: String
    let errors: [TezosOperationError]?
}

struct TezosMetadata: Codable {
    let operation_result: TezosOperationResult?
}

struct TezosContent: Codable {
    let metadata: TezosMetadata
}

struct TezosOperation: Codable {
    let hash: String
    let contents: [TezosContent]
}

struct TezosManagerKey: Codable {
    let key: String?
}

enum TezosError: LocalizedError {
    case unknownError
}

Hi @vikmeup, I'm having some troubles knowing the right methods to write for the TezosRPC.ts file, I've been able to write all models and Query.ts, perhaps if I can see the Cosmos RPC swift implementation, it'll be much easier to understand what to do. Thank you


CircleDomainBitRevIterator

This change is

#757  👈
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spapinistarkware and the rest of your teammates on  Graphite

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.65%. Comparing base (a074014) to head (97aad37).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #757      +/-   ##
==========================================
+ Coverage   92.59%   92.65%   +0.06%
==========================================
  Files          87       88       +1
  Lines       11383    11440      +57
  Branches    11383    11440      +57
==========================================
+ Hits        10540    10600      +60
+ Misses        747      744       -3
  Partials       96       96

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


PHP Deprecated:  implode(): Passing glue string after array is deprecated. Swap the parameters in /lib/Google/src/Google/Service/Resource.php on line 298

Hi
Im getting this error while i import with wp all import. Whenever i upload images, import speed is so slow then i logged it and found this.
PHP Deprecated:  implode(): Passing glue string after array is deprecated. Swap the parameters in /var/www/html/wp-content/plugins/wp-stateless/lib/Google/src/Google/Service/Resource.php on line 298
Whenever i dont upload images while importing, import speed is just fine as regular.
I use Php 7.4.4 on OpenLiteSpeed web server on gcp.

I use Php 7.4.4 on openlitespeed web server on gcp.

Hello execash
It was fixed with issue #444 . The fix will be included in the next release.
Thanks.


[Bug] Repeat keys sends 1 when used with LT()

Describe the bug
When trying to add the repeat_keys functionality to my keyboard, I noticed that it seems to send KC_1 when used with a LT() function. I've tried it as a standard key on its own and that works fine.

Add the REPEAT key as the tap argument for a LT function (LT(RAISE, REPEAT)
Type
Tap the LT key

Information
Do the keys involved use any of the following features?

[ ] Achordion (from this repo)
[ ] Auto Shift
[ ] Combos
[ ] Key Overrides
[ ] Mod-tap or Layer-tap keys
[x] Other custom userspace code: Repeat_keys

Thanks for trying out Repeat Key! Right, this is a limitation with QMK's compound keycodes. The "kc" in LT(layer, kc) must be a "basic keycode" in the 0–255 range [similarly with MT(mod, kc) and modifier keycodes like LSFT(kc)]. Custom keycodes like REPEAT are not basic. The definition of LT(layer, kc) does a bit mask (kc & 255) to force the tapping keycode to 8 bits. It sounds like your REPEAT is 0x7e1e, then LT masked this to 0x1e, which is KC_1.
The crux of the problem is that for space efficiency, keycodes in QMK are stored as 16-bit values, and there is only so much that can be crammed into 16 bits.
To work around this, you can pick a placeholder tapping keycode, then intercept the tap function to have it perform Repeat Key. To avoid a pathology of the Repeat Key trying to repeat itself, define the get_repeat_key_eligible() callback to ignore the LT-Repeat key (described in Ignoring certain keys). Something like:
// Copyright 2023 Google LLC.
// SPDX-License-Identifier: Apache-2.0

// The KC_F1 is an arbitrary placeholder and won't be sent to the host.
#define LT_REP LT(RAISE, KC_F1)

// Use LT_REP in your layout...

bool get_repeat_key_eligible(uint16_t keycode, keyrecord_t* record) {
  switch (keycode) {
    // Ignore LT_REP:
    case LT_REP:
      return false;

    // Ignore MO, TO, TG, and TT layer switch keys.
    case QK_MOMENTARY ... QK_MOMENTARY_MAX:
    case QK_TO ... QK_TO_MAX:
    case QK_TOGGLE_LAYER ... QK_TOGGLE_LAYER_MAX:
    case QK_LAYER_TAP_TOGGLE ... QK_LAYER_TAP_TOGGLE_MAX:
    // Ignore mod keys.
    case KC_LCTL ... KC_RGUI:
    case KC_HYPR:
    case KC_MEH:
    // Ignore one-shot keys.
#ifndef NO_ACTION_ONESHOT
    case QK_ONE_SHOT_LAYER ... QK_ONE_SHOT_LAYER_MAX:
    case QK_ONE_SHOT_MOD ... QK_ONE_SHOT_MOD_MAX:
#endif  // NO_ACTION_ONESHOT
      return false;

    // Ignore hold events on tap-hold keys.
#ifndef NO_ACTION_TAPPING
    case QK_MOD_TAP ... QK_MOD_TAP_MAX:
#ifndef NO_ACTION_LAYER
    case QK_LAYER_TAP ... QK_LAYER_TAP_MAX:
#endif  // NO_ACTION_LAYER
      if (record->tap.count == 0) {
        return false;
      }
      break;
#endif  // NO_ACTION_TAPPING

#ifdef SWAP_HANDS_ENABLE
    case QK_SWAP_HANDS ... QK_SWAP_HANDS_MAX:
      if (IS_SWAP_HANDS_KEYCODE(keycode) || record->tap.count == 0) {
        return false;
      }
      break;
#endif  // SWAP_HANDS_ENABLE
  }

  return true;
}

bool process_record_user(uint16_t keycode, keyrecord_t* record) {
  switch (keycode) {
    case LT_REP:
      if (record->tap.count > 0) {  // Key is being tapped.
        if (record->event.pressed) {
          repeat_key_register();
        } else {
          repeat_key_unregister();
        }
        return false;  // Skip default handling.
      }
      return true;  // Continue default handling.

    // Other macros...
  }

  return true;
}

Thanks for developing this! Your posts on QMK have been super helpful! I've, so far, implemented a version of your sentence macros, as well as a variant of your symbol layer. These have all been wildly useful, though I'm still trying to get used to the sentence case macros.
Incredible! It seems like we don't need to add a case for custom this keycodes since LT is already covered by case QK_LAYER_TAP ... QK_LAYER_TAP_MAX:.
It also took me a while to realize that since we're short circuiting the LT_REP, we need to also move the process_repeat_keys function call to after the process_record_user's switch case.
bool process_record_user_adaviloper(uint16_t keycode, keyrecord_t *record) {
    mod_state = get_mods();
    switch (keycode) {
        case LT_REP:
            if (record->tap.count > 0) {  // Key is being tapped.
                if (record->event.pressed) {
                    repeat_key_register();
                } else {
                    repeat_key_unregister();
                }
                return false;  // Skip default handling.
            }
            return true;  // Continue default handling.
    }
    if (!process_repeat_key(keycode, record, RE_PEAT)) { return false; }
    return true;
}


[Docs]:

Hi , First of all, thanks for your work on building this dataset and open-source the pipeline, very impressive.
Documentation Reference
https://github.com/open-mmlab/Amphion/blob/main/preprocessors/Emilia/README.md#acknowledgement-

Feedback on documentation
The Speaker Diarization toolkit is different from the paper.

@dukGuo  Thank you for reporting this issue, we have fixed the typo here: https://github.com/open-mmlab/Amphion/pull/237


Submitter cannot access their own item if access condition is set to 'administrator'

Describe the bug
When selecting the item level access condition 'administrator' during submission, the submitter looses the rights to see their item in MyDSpace as well as direct access to the item page.
To Reproduce
Make a new submission as a non-admin user and select the access condition 'administrator' for the item. After the item has been deposited and accepted into the archive, check the MyDSpace page and try to access the item page via direct link.
Expected behavior
In addition to administrators having the rights to view the item, as per the selected access condition, the non-admin submitting user should be able to find their own item via the MyDSpace page and have the rights to access the respective item page.

I have coded a workaround for this. It's probably not a clean enough solution for a pull request, but if anyone else needs an immediate fix, see the attached file below. All edits are marked with [guf], so you can STR+F for the changes to the file.
The workaround goes as follows:
Before archiving the item, a function is called which goes over the resource policies of the item. If the administrator group has READ permission but the submitter doesn't, a resource policy is added which gives the submitter READ permission on the item.
Afterwards the function calls itself recursively with the items bitstreams, performing the same checks and operations on the bitstream policies. This fixes https://github.com/DSpace/DSpace/issues/8199 as well.
InstallItemServiceImpl.java.txt

@tdonohue: I thought I'd keep the permission lists short and refrain from adding the submitter if the item is public anyway, but I agree that we could just always add the submitter to the permission list.
Unlike my solution, this should probably be cleanly integrated into the existing method structure in "ItemServiceImpl.java". At the moment I don't have the resources for that unfortunately.

Hi, I just want to add that this is also true for item or bitstream that have an active embargo period. The submitter cannot access his/her file. I agree with @tdonohue "the Submitter should always have READ permission to their submitted Items." I understand that for this to be true, it would be necessary to automaticaly add a READ policy specific to the submitter both at the Item and the Bitstream level? Or is there any other options?

in dspace-cris we solved this issue introducing an extra permission evaluator that keep in consideration also facts about the item looking to the metadata (authors, editors, etc) - submitter and other configurable rules without the need to create (and maintain all the time this hardcoded resourcepolicies)

DLCorp would like to claim this issue, we had already done it but forgot to.


Fix rectangle coordinates

Fixes #179
The old Rect was defined by an origin and a size, but Box2d is defined by its minimums and maximums.

Verified that the behavior is the same as v0.6.0 with the following example code. Same code runs on bevy 0.8 and 0.9.
use bevy::prelude::*;
use bevy_prototype_lyon::prelude::*;

fn main() {
    App::new()
        .insert_resource(Msaa { samples: 4 })
        .add_plugins(DefaultPlugins)
        .add_plugin(ShapePlugin)
        .add_startup_system(setup_system)
        .run();
}

const X_EXTENT: f32 = 1100.;

fn setup_system(mut commands: Commands) {
    commands.spawn_bundle(Camera2dBundle::default());

    let circle = shapes::Circle {
        radius: 5.,
        ..default()
    };

    let extents = Vec2::new(100.0, 100.0);

    let shapes = [
        shapes::Rectangle {
            origin: RectangleOrigin::Center,
            extents,
        },
        shapes::Rectangle {
            origin: RectangleOrigin::BottomLeft,
            extents,
        },
        shapes::Rectangle {
            origin: RectangleOrigin::BottomRight,
            extents,
        },
        shapes::Rectangle {
            origin: RectangleOrigin::TopLeft,
            extents,
        },
        shapes::Rectangle {
            origin: RectangleOrigin::TopRight,
            extents,
        },
        shapes::Rectangle {
            origin: RectangleOrigin::CustomCenter(Vec2::new(25., -25.)),
            extents,
        },
    ];

    let num_shapes = shapes.len();

    for (i, shape) in shapes.into_iter().enumerate() {
        commands.spawn_bundle(GeometryBuilder::build_as(
            &shape,
            DrawMode::Fill(FillMode::color(Color::RED)),
            Transform::from_xyz(
                -X_EXTENT / 2. + i as f32 / (num_shapes - 1) as f32 * X_EXTENT,
                2.0,
                0.0,
            ),
        ));
        commands.spawn_bundle(GeometryBuilder::build_as(
            &circle,
            DrawMode::Fill(FillMode::color(Color::BLACK)),
            Transform::from_xyz(
                -X_EXTENT / 2. + i as f32 / (num_shapes - 1) as f32 * X_EXTENT,
                2.0,
                0.0,
            ),
        ));
    }
}

Oops, closing in favor of #180 which is a much nicer solution.

You forgot to close 😄

Thanks!


Official oauth2-client website

We need one.

@philsturgeon, is there a standard format or template for League gh-pages websites?

I completely forget how it works, but @reinink is the man to ask.
Lets get something up on the wiki.

is there a standard format or template for League gh-pages websites?

Yep, you can find the instructions here.

Lets get something up on the wiki.

Good call, will do!

I've got the basic stub up in the gh-pages branch now. http://thephpleague.com/oauth2-client/

Nice. Easy enough?

Why is this site a subdirectory of thephpleague where all other projects
are subdomains?
On Tue, Mar 24, 2015 at 1:49 PM, Jonathan Reinink<EMAIL_ADDRESS>wrote:

Nice. Easy enough?
—
Reply to this email directly or view it on GitHub
https://github.com/thephpleague/oauth2-client/issues/250#issuecomment-85665974
.

--
Troy Pavlek.
Crayon Connisseur and Respected Gentleman.

That's just the default GitHub Pages behaviour. We'll get the subdomain setup later.

It was easy enough.

Has anyone begun tackling this yet? I have some open source cycles coming up, and if no one's already working on this I'd love to make us some docs :)

I think we're just waiting for the API to be finalised. See timeline

A documentation would be very helpful. I am now struggling with the package for a few hours and can't find out how to start. The readme.md usage section does not help and I am close to giving up.

@x-merlin-x having chatted with you on Gitter, I feel like you don't understand what you want to do. The current documentation isn't great, but it is enough to get most people started without too much trouble.

@shadowhand thank you for your reply. I am sorry but I do know what I want: 1. Get the example running in readme.md with facebook, 2nd connect to my own Oauth2 server. The first point already failes as the only documentation I can find is readme.md and to implement my own provider for step 2 readme.provider-guide.md. The example in readme.md for facebook seems to be incomplete as there are no includes or requires that load the library. Therefore I receive a Fatal error: Class 'League\OAuth2\Client\Provider\Facebook' not found

You should take a look at the Facebook provider.
There is a link to a list of providers in the README. The list is here: https://github.com/thephpleague/oauth2-client/blob/master/README.PROVIDERS.md

@x-merlin-x I'm not sure what you mean by "connect my own OAuth2 server". You can either use an OAuth client to connect to a 3rd party (like Facebook) /or/ you can have your own OAuth server and use an client to connect it.

I submitted a pull containing a starting point in #404


Add PremiumV2_LRS option for NFS server deployments

PremiumV2_LRS provides a very good cost/performance ratio, so this would be a good additional option for NFS server deployments.
Terraform azurerm_managed_disk supports this option.

Opened internal ticket for PM review, PMCPFR-1535.


Readme references FirebaseUI/Google twice

There is a type in the readme that references FirebaseUI/Google where it should be Twitter
#173 fixes it

closed by #173. Thanks @Danm72!


[API Issue] cartCreate mutation errors upon startup in headless storefronts

What is the location of your example repository?
No response
Which package or tool is having this issue?
Storefront API
What version of that package or tool are you using?
2024-07
What version of Remix are you using?
No response
Steps to Reproduce
This morning, I am getting the following error on my cartCreate mutations:
 ERROR  No cart returned from cartCreate mutation { client: 'shopify',
  operationType: 'mutation',
  operationName: 'cartCreate',
  statusCode: 200,
  gqlErrors:
   [ { message: 'Query has a depth of 18, which exceeds the max depth of 17.',
       extensions: [Object] } ] }

The error message indicated an SSR error coming from the Shopify API. This issue was not present yesterday (Aug 8 2024). This issue occurs on my headless storefronts (Nuxt and Next) using the 2024-07 GraphQL API.
Oddly enough, the rest of the API queries and mutations (products, collections, customer, localization, etc.) still work that are non-cart related.
Expected Behavior
The cartCreate mutation and other cart mutations should work when initiated.
Actual Behavior
Currently, the cartCreate mutation does not seem to connect to Shopify and displays the message Query has a depth of 18, which exceeds the max depth of 17.. I am unsure what this message indicates in relation to the API itself.

There is no issue! Closing.

My mistake on closing this issue.
I found the cause of the issue comes from adding in a ProductOption fragment within a Product query (or fragment) using the 2024-07 API version.
I have the following ProductOption fragment, which is used within my GraphQL product options:
fragment Option on ProductOption {
  id
  name
  optionValues {
    id
    name
    swatch {
      color
      image {
        alt
        id
        previewImage {
          ...Image
        }
      }
    }
  }
}

options(first: 250) {
  ...Option
}

This causes an error in the cartCreate mutation and causes a Netlify build error:
10:47:12 PM: [error] GraphQL Document Validation failed with 1 errors;
10:47:12 PM:   Error 0: Cannot query field "optionValues" on type "ProductOption".
10:47:12 PM:     at /opt/build/repo/web/queries/shopify/fragments/option.gql:4:3
10:47:12 PM:   Error 0: Cannot query field "optionValues" on type "ProductOption".
10:47:12 PM:   at queries/shopify/fragments/option.gql:4:3

Removing the ProductOption fragment will fix this issue. The issue does not occur when using the ProductOption data from the 2024-04 API version (which does not include the new optionValues object).
Hopefully this helps!


russian translation and small fixes in original core-code-style.md

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues

Спасибо большое, замёржил