Moderation page breaks on deployment

Looking at the Vercel logs, this is what's causing the issue:
ReferenceError: prisma is not defined
    at u (/var/task/.next/server/app/(general)/c/[community]/moderation/page.js:1:9712)
    at eh (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:134786)
    at e (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:137671)
    at ek (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:138145)
    at Array.toJSON (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:135755)
    at stringify (<anonymous>)
    at eR (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:142219)
    at eE (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:142698)
    at Timeout._onTimeout (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:12:135475)
    at listOnTimeout (node:internal/timers:569:17) {
  digest: '1700241303'
}

I'm wondering if this also happens locally and was never noticed.

Looking at the moderation page, I found the offending code:
import LargeDropdown from "@/app/(general)/ui/components/large_dropdown";
import { CommunityAdministrators } from "@/app/(general)/ui/components/moderation/admin_list";
import { ModlogList } from "@/app/(general)/ui/components/moderation/modlog_list";

export default async function ModerationPage({ params }: { params: { community: string } }) {

    const community = await prisma?.community.findUnique({
        where: {
            name: params.community
        },
        select: {
            id: true,
        }
    })

...

Prisma isn't imported at all, so it isn't defined. This is an easy fix.
import LargeDropdown from "@/app/(general)/ui/components/large_dropdown";
import { CommunityAdministrators } from "@/app/(general)/ui/components/moderation/admin_list";
import { ModlogList } from "@/app/(general)/ui/components/moderation/modlog_list";
import { prisma } from "@/app/(general)/lib/db"; // Import Prisma

export default async function ModerationPage({ params }: { params: { community: string } }) {

    const community = await prisma.community.findUnique({ // Remove '?' as it's defined now
        where: {
            name: params.community
        },
        select: {
            id: true,
        }
    })

...


How can I use google_mlkit_document_scanner plugin without relying on Google Play?

Due to some reasons, Google Play services cannot be used here. So how can I use google_mlkit_document_scanner plugin?

Document Scanner relies on the Google Play service @shen601020


Add an instance API for invoking the WASI start functions.

This adds support for the WASI reactor ABI proposed in
https://github.com/WebAssembly/WASI/pull/256, as well as the existing
_start ABI for commands.
This also implements the semantics that command instances should not
persist after their _start function is called. As a safety measure,
this includes a check that the instance refcount is 1, so that other
references to the instance don't hold it live.
Implementing that prompted a change to how the main Instance API works.
Instead having instances eagerly compute a Vec of Externs, and bumping
the refcount for each Extern, compute Externs on demand.
This also means that the closure returned by get0 and friends now
holds an InstanceHandle to dynamically hold the instance live rather
than being scoped to a lifetime.
This is a draft PR for now while I think more about whether this is a good
approach.

Ok, I've now updated Module's exports and imports to return their results on-demand too, which turned into a minor yak shave, but it significantly cleans up import/export decoding -- it eliminates the redundant decoding in Module::new, and tidies wasmtime_environ::Module.


Feature/create picoleafrc

a small helper script to create the .picoleafrc file

closed, as I should have two separate PRs here


SSH_HOSTKEY description and  ssh-keyscan in do not match bin/setup.ssh do not match

Description of problem
I could not deploy (via gitlab-ci pipeline) from the docker image because of an ssh authentication problem. The ssh logs on the server said:
Unable to negotiate with <ip> port 22: no matching host key type found.

Turns out the description of SSH_HOSTKEY  in README.MD (ssh-keyscan -t rsa $HOST) does describe correctly whats happening in bin/setup.ssh– the -t rsa parameter is missing. When running ssh-keyscan manually and storing the result in the variable, the deployment works.
How reproducible
I could reproduce the problems from the ci pipeline in an docker image.
Steps to Reproduce

Setup dokku with private ssh key (ssh-rsa). (I used an digital ocean droplet which runs SSH-2.0-OpenSSH_8.2p1, don't know if this is part of the problem though.)
Run ci docker image and add private key to it.
Run the keyscan from setup.ssh:

ssh-keyscan -H -p 22 $dokku-server >/root/.ssh/known_hosts
chmod 600 "/root/.ssh/known_hosts"

Try ssh-login at dokku server: ssh dokku@host does not work
Re-run keyscan with parameter according to docs: ssh-keyscan -t rsa -H -p 22 $dokku-server >/root/.ssh/known_hosts
ssh works now

(Same goes for the ci-pipeline, if I the value of keyscan with -t rsa is added as SSH_HOSTKEY, the pipeline works.

When you say "run the keyscan from setup.ssh", are you manually running this? Can you provide a ci config that does work and one that doesn't?

Yes I ran things manually (inside the ci-docker-image) to test the difference. The difference between working and non-working ci was not the in the config, which is pretty simple:
deploy_develop:
  stage: deploy
  image: dokku/ci-docker-image

  variables:
    GIT_DEPTH: "0"
    GIT_REMOTE_URL:  <some url>

  before_script: []
  script:
    - dokku-deploy
  after_script:
    - dokku-unlock

but in adding the results of ssh-keyscan -t rsa -H -p 22 $my-dokku-server to the gitlab-ci variable SSH_HOST_KEY.
Reason why this works is that this avoids the else branch of /bin/setup-ssh:
if [ -n "$SSH_HOST_KEY" ]; then
  log-info "Adding SSH_HOST_KEY to known_hosts"
  echo "$SSH_HOST_KEY" >>"/root/.ssh/known_hosts"
  chmod 600 "/root/.ssh/known_hosts"
else
  ssh_port=$(parse-ssh-port)
  ssh_host=$(parse-ssh-host)

  log-info "Generating SSH_HOST_KEY from ssh-keyscan against $ssh_host:$ssh_port"
  ssh-keyscan -H -p "$ssh_port" "$ssh_host" >>/root/.ssh/known_hosts
  chmod 600 "/root/.ssh/known_hosts"
fi

which does this keyscan by itself.

Sorry, so what is the fix here? To change our bin/setup-ssh?

Ok I did some googling and found out that this is not really the fault of the setup script. Ssh-keyscan seems to be a bit unreliable because of networking and different server/client versions of open-ssh.
One thing should be changed definately: the readme says ssh-keyscan -t rsa is used but this is (rightfully) not the case.
The other things are:

we could add a timeout flag to the keyscan, like proposed here: https://unix.stackexchange.com/questions/346376/ssh-keyscan-has-no-output
we could check whether /root/.ssh/known_hosts is empty afterwards and exit with an error that is more telling.

What timeout worked for you?

Closing as there hasn't been any follow-up. The code seems to work fine for me in my testing, so I am guessing there is something specific to the user's setup that we haven't diagnosed.
Feel free to comment with more information so we can improve the project and I'll reopen.


CheckBox value 设置为boolean类型后控制台报警告

[ ] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Framework version: Vue^3.2.47
Browser: chrome<IP_ADDRESS>

Extra info
valid prop: type check failed for prop "value". Expected String | Number, got Boolean with value false.

 /**
     * @zh 选项的 `value`
     * @en The `value` of the option
     */
    value: {
      type: [String, Number] as PropType<string | number | boolean>,
    },
`
参数重的value的type在编译后依旧是[String, Number]，会导致控制台警告


App crash on purchase()

Hello, as per title, my app crashes as soon as i use the purchase() method
Tested on a clean react-native project: i literally just issued react-native init testProj, npm install, npm install --save react-native-billing, react-native link react-native-billing.
Then i proceeded to set new InAppBillingBridgePackage(null) in my MainApplication.java
This is the only code i edited in index.android.js
export default class testProj extends Component {

  componentDidMount() {
      const InAppBilling = require("react-native-billing")
      console.log(InAppBilling)

      InAppBilling.open()
          .then(() => InAppBilling.purchase('android.test.purchased'))
          .then((details) => {
              console.log("You purchased: ", details)
              return InAppBilling.close()
          })
          .catch((err) => {
              console.log(err);
          });
  }
  render() {...}

package.json
{
  "name": "testProj",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "react": "16.0.0-alpha.12",
    "react-native": "0.46.3",
    "react-native-billing": "^2.3.0"
  },
  "devDependencies": {
    "babel-jest": "20.0.3",
    "babel-preset-react-native": "2.1.0",
    "jest": "20.0.4",
    "react-test-renderer": "16.0.0-alpha.12"
  },
  "jest": {
   "preset": "react-native"
  }
}

Once the app reaches this componentDidMount, a purchase dialog loads for a split second then crashes both my app and Play Store in the background. Running adb logcat *:E during the above shows this:
E/AndroidRuntime(31592): FATAL EXCEPTION: AsyncTask #4
E/AndroidRuntime(31592): Process: com.android.vending, PID: 31592
E/AndroidRuntime(31592): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime(31592): 	at android.os.AsyncTask$3.done(AsyncTask.java:304)
E/AndroidRuntime(31592): 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
E/AndroidRuntime(31592): 	at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
E/AndroidRuntime(31592): 	at java.util.concurrent.FutureTask.run(FutureTask.java:242)
E/AndroidRuntime(31592): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/AndroidRuntime(31592): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/AndroidRuntime(31592): 	at java.lang.Thread.run(Thread.java:818)
E/AndroidRuntime(31592): Caused by: java.lang.NullPointerException: Attempt to read from field 'long com.google.wireless.android.finsky.dfe.nano.an.b' on a null object reference
E/AndroidRuntime(31592): 	at com.google.android.finsky.billing.lightpurchase.s.a(SourceFile:5)
E/AndroidRuntime(31592): 	at com.google.android.finsky.billing.lightpurchase.h.doInBackground(SourceFile:27)
E/AndroidRuntime(31592): 	at android.os.AsyncTask$2.call(AsyncTask.java:292)
E/AndroidRuntime(31592): 	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/AndroidRuntime(31592): 	... 3 more`

Seems like a library related issue to me, if somebody else tries this and doesn't get an error please tell me so i move my question on StackOverflow :)

I got same error in samsung s6

This looks like an underlying issue with the Google Play Store library, possibly android-inapp-billing-v3 which we wrap.
I am able to reproduce this error, but haven't found the root cause yet. I only have sporadic access to a computer (vacation), but I'll look more into this.

Thankyou @cbrevik for noticing this error, and i'm sorry for making duplicate issues.
And thanks for forwarding this issues to anjlab's github 👍

I reproduced that issue with the same traceback when I tried testing purchase in production mode with test product id.
Also check if you have <uses-permission android:name="com.android.vending.BILLING" /> in your AndroidManifest.xml

Maybe I misunderstood here. When some mentioned this happened in Play Store, I understood it as; "this also happens with real product ids".
Has anyone gotten this error with a real product id? Or is it just just with static ones like android.test.purchased?

I am just experiencing an exact same exception.
@cbrevik I also get this when using real product ID with app in alpha channel
@rubycop I have BILLING permission and also set testing email addresses, but it is still crashing.

any update or advice ?

I also had this error.
I could fix it for my project:

Testing In App Purchase
-- On a real device
-- using own in app purchase items

Here is my advice:

Make sure to fill in your Google Play License Key to strings.xml (dont use "null" for own products)

Make sure your product ID is the same ( I noticed there was a . more in code than in google console)

You have to build a RELEASE & Signed Version from react native:
react-native run-android --variant=release

Check if all your In App Purchases are ACTIVE in google console.

to add the first IAP items you have to upload one binary, make sure you use the same version strings for packaged release build.

You dont need your App in Alpha or Beta Version

I hope this will help you. It seems that this problem is not related to an real issue, instead it should be fixable with the right setup.


Carthage failed with exit code 65

I am having trouble installing with Carthage.
I ran - carthage update --platform iOS --no-use-binaries
I am using this on macOS Sierra with Xcode 8.2 and targetting Swift 3.0.1. I have successfully installed it on another system with the exact same configuration yesterday but not able to do so on this one.
My cartfile has this line - github "ninjaprox/NVActivityIndicatorView" "v3.1"
The error is :-
*** Building scheme "NVActivityIndicatorView" in NVActivityIndicatorView.xcodeproj
** CLEAN FAILED **

The following build commands failed:
	Check dependencies
(1 failure)
** BUILD FAILED **

The following build commands failed:
	Check dependencies
(1 failure)
A shell task (/usr/bin/xcrun xcodebuild -project /Users/abhinavnair/pem-ios/PEM/Carthage/Checkouts/NVActivityIndicatorView/NVActivityIndicatorView.xcodeproj -scheme NVActivityIndicatorView -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** CLEAN FAILED **

The following build commands failed:
	Check dependencies
(1 failure)
** BUILD FAILED **

The following build commands failed:
	Check dependencies
(1 failure)

Resolved in #102

waiting for PR approval by @ninjaprox

@abhinavnair, @vincentsaluzzo: Merged to carthage branch, please use it instead of master for the moment.

@ninjaprox thank you for answer my question , but I just dont't know how to user Carthage to merged to the carthage branch . I just add     "github ninjaprox/NVActivityIndicatorView" to the cartfile and run "carthage update "  ,can you tell the detail method that I can use the "carthage" branch  .

@lzhlewis2015: It should be github ninjaprox/NVActivityIndicatorView "carthage". You can also check this reference.


Possiblity of using Arc for layout cache

Via a Reddit comment

new_layout_cache returns an Rc object. In some cases an Arc may be preferred (for storage within lazy_static): can this be an option?

It's possible that newly stabilised GATs would allow the code to be generic over Rc/Arc.


[WIP][SPARK-36613][SQL][SS] Use EnumSet as the implementation of Table.capabilities method return value

What changes were proposed in this pull request?
The Table.capabilities method return a java.util.Set of TableCapability enumeration type, which is implemented using java.util.HashSet now. Such Set can be replaced with java.util.EnumSet because EnumSet implementations can be much more efficient compared to other sets.
Why are the changes needed?
Use more appropriate data structures.
Does this PR introduce any user-facing change?
No
How was this patch tested?

Pass GA or Jenkins Tests.
Add a new benchmark to compare create and contains operation between EnumSet and HashSet

Test build #142856 has started for PR 33867 at commit c7e469c.

Test build #142857 has started for PR 33867 at commit 2eda14a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47359/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47360/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47360/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47359/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47359/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47360/

Test build #142856 has finished for PR 33867 at commit c7e469c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142856/

Test build #142860 has started for PR 33867 at commit 795c0de.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47363/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47363/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47363/

Test build #142857 has finished for PR 33867 at commit 2eda14a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142857/

Test build #142860 has finished for PR 33867 at commit 795c0de.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142860/

cc @srowen @dongjoon-hyun @HyukjinKwon @rednaxelafx

Test build #142958 has started for PR 33867 at commit fe422f2.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47460/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47460/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47460/

Test build #142958 has finished for PR 33867 at commit fe422f2.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TimestampNTZType(AtomicType, metaclass=DataTypeSingleton):
trait SupportsPushDownCatalystFilters
class AvailableNowDataStreamWrapper(val delegate: SparkDataStream)
class AvailableNowMicroBatchStreamWrapper(delegate: MicroBatchStream)
class AvailableNowSourceWrapper(delegate: Source)
case class SingleBatchExecutor() extends TriggerExecutor
case class MultiBatchExecutor() extends TriggerExecutor
class HiveThriftServer2AppStatusStore(store: KVStore)

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142958/

Merged to master

thanks @srowen


Create Sales Order App with SAP Cloud Platform Rapid Application Development by Mendix

Tutorial URL: https://developers.sap.com/tutorials/mendix-salesorders.html
Step 3 can't be done.
In Mendix studio Pro I get the following error message when importing the generated module package:
"Loading the module failed. The package could not be imported, because it was created with version 7.5.1 of mendix modeler. please open it in any version in the range from 7.23.0 to 7.23.99 first".

Hi,
We ran through the steps in the tutorial with the latest version of Mendix Studio Pro and we could not reproduce the issue. Please update to the latest version of Mendix Studio Pro that is available in the portal. Then complete the steps in the tutorial from the beginning.
Thanks,
Shira

@yeeteeho Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


Carts being merged with carts that have orders

We are seeing a strange issue when allowing carts to be merged on login... users are then placing payments a few minutes later with the same cart items (and others added), but the order doesnt come through as the cart is already associated with an order.
We are using CartSession::forget() so the only thing I can put it down to is different devices and carts being merged on login.
I think the issue is that the queries in:
https://github.com/lunarphp/lunar/blob/main/packages/core/src/Actions/Carts/AssociateUser.php
don't check if the Cart is active()
Should they not be scoped that way?

Thanks @ryanmitchell Yeah it does feel like we should certainly be checking that it's an active cart before it's merged.

@ryanmitchell Just to clarify, are you running your site on the main branch? i.e. 0.2 ?

No, running it on the latest release version. Why is there something in the main branch thats related?

There's changes to the way carts work in 0.2 and the file you referenced is new to 0.2 so will need patching out on 0.1 also :)


Sync StorageVersion on existing pallets

Goal
The goal of this PR is to fix errors related to StorageVersion when running try-runtime
Closes #1826
Discussion

Running try-runtime against mainnet takes hours so instead used the following script which should have the same effect

try-runtime --runtime ./target/release/wbuild/frequency-runtime/frequency_runtime.wasm on-runtime-upgrade  live --uri wss://1.rpc.frequency.xyz:443 --pallet  Capacity --pallet TimeRelease --pallet Balances --pallet System --pallet Messages --pallet Preimage --pallet Democracy --pallet Scheduler --pallet TransactionPayment --pallet Council --pallet TechnicalCommittee --pallet Treasury --pallet CollatorSelection --pallet Multisig --pallet FrequencyTxPayment --pallet Msa --pallet Messages --pallet ParachainSystem
Verification on rococo
[2023-12-22T18:43:34Z INFO  runtime::schemas] Migration Calculated weights=Weight { ref_time: 375000000, proof_size: 0 }
[2023-12-22T18:43:34Z INFO  frequency_runtime] Setting version on pallet_preimage
[2023-12-22T18:43:34Z INFO  frequency_runtime] Setting version on pallet_democracy
[2023-12-22T18:43:34Z INFO  frequency_runtime] Setting version on pallet_scheduler
[2023-12-22T18:43:34Z INFO  frequency_runtime] Setting version on pallet_balances
[2023-12-22T18:43:34Z INFO  frequency_runtime] Setting version on pallet_collator_selection
[2023-12-22T18:43:34Z INFO  frequency_runtime] Setting version on pallet_multisig
[2023-12-22T18:43:34Z INFO  try-runtime::cli] PoV size (zstd-compressed compact proof): 56.2 KB. For parachains, it's your responsibility to verify that a PoV of this size fits within any relaychain constraints.
[2023-12-22T18:43:34Z INFO  try-runtime::cli] Consumed ref_time: 0.3397s (67.94% of max 0.5s)
[2023-12-22T18:43:34Z INFO  try-runtime::cli] ✅ TryRuntime_on_runtime_upgrade executed without errors or weight safety warnings. Please note this does not guarantee a successful runtime upgrade. Always test your runtime upgrade with recent state, and ensure that the weight usage of your migrations will not drastically differ between testing and actual on-chain execution.

Verification on mainnet
[2023-12-22T18:30:34Z INFO  frequency_runtime] Setting version on pallet_preimage
[2023-12-22T18:30:34Z INFO  frequency_runtime] Setting version on pallet_democracy
[2023-12-22T18:30:34Z INFO  frequency_runtime] Setting version on pallet_scheduler
[2023-12-22T18:30:34Z INFO  frequency_runtime] Setting version on pallet_balances
[2023-12-22T18:30:34Z INFO  frequency_runtime] Setting version on pallet_collator_selection
[2023-12-22T18:30:34Z INFO  frequency_runtime] Setting version on pallet_multisig
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for System
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for ParachainSystem
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Timestamp
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for ParachainInfo
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Preimage
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Democracy
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Scheduler
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Utility
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Balances
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for TransactionPayment
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Council
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for TechnicalCommittee
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Treasury
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Authorship
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for CollatorSelection
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Session
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Aura
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for AuraExt
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Multisig
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for TimeRelease
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Msa
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Messages
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Schemas
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for StatefulStorage
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Capacity
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for FrequencyTxPayment
[2023-12-22T18:30:34Z DEBUG runtime::frame-support] ✅ no migration for Handles
[2023-12-22T18:30:34Z DEBUG wasm-heap] allocator dropped: AllocationStats { bytes_allocated: 40, bytes_allocated_peak: 792, bytes_allocated_sum: 30048, address_space_used: 1392 }
[2023-12-22T18:30:34Z DEBUG try-runtime::cli] Proof: 0x00000000000000000000... / 37 nodes
[2023-12-22T18:30:34Z DEBUG try-runtime::cli] Encoded proof size: 5.1 KB
[2023-12-22T18:30:34Z DEBUG try-runtime::cli] Compact proof size: 4.0 KB
[2023-12-22T18:30:34Z INFO  try-runtime::cli] PoV size (zstd-compressed compact proof): 3.5 KB. For parachains, it's your responsibility to verify that a PoV of this size fits within any relaychain constraints.
[2023-12-22T18:30:34Z INFO  try-runtime::cli] Consumed ref_time: 0.00345s (0.69% of max 0.5s)
[2023-12-22T18:30:34Z INFO  try-runtime::cli] ✅ TryRuntime_on_runtime_upgrade executed without errors or weight safety warnings. Please note this does not guarantee a successful runtime upgrade. Always test your runtime upgrade with recent state, and ensure that the weight usage of your migrations will not drastically differ between testing and actual on-chain execution.

idempotent migrations also work based on latest checks added on try-runtime
[2023-12-26T19:34:02Z INFO  try_runtime_core::commands::on_runtime_upgrade] -------------------------------------------------------------------

[2023-12-26T19:34:02Z INFO  try_runtime_core::commands::on_runtime_upgrade] 🔬 Running TryRuntime_on_runtime_upgrade again to check idempotency: PreAndPost

[2023-12-26T19:34:02Z INFO  try_runtime_core::commands::on_runtime_upgrade] -------------------------------------------------------------------
[2023-12-26T19:34:02Z INFO  frequency_runtime] try-runtime::on_runtime_upgrade frequency.
[2023-12-26T19:34:02Z INFO  runtime::messages] Running pre_upgrade...
[2023-12-26T19:34:02Z INFO  runtime::messages] Running storage migration...
[2023-12-26T19:34:02Z INFO  runtime::messages] onchain_version= StorageVersion(2), current_version=StorageVersion(2)
[2023-12-26T19:34:02Z INFO  runtime::messages] Migration did not execute. This probably should be removed onchain:StorageVersion(2), current:StorageVersion(2)
[2023-12-26T19:34:02Z INFO  runtime::messages] Running post_upgrade...
[2023-12-26T19:34:02Z INFO  runtime::capacity] Old StorageAccountLedger migration attempted to run. Please remove
[2023-12-26T19:34:02Z INFO  runtime::capacity] Old Capacity Locks->Freezes migration attempted to run. Please remove
[2023-12-26T19:34:02Z INFO  runtime::schemas] Running pre_upgrade...
[2023-12-26T19:34:02Z INFO  runtime::schemas] Running storage migration...
[2023-12-26T19:34:02Z INFO  runtime::schemas] onchain_version= StorageVersion(3), current_version=StorageVersion(3)
[2023-12-26T19:34:02Z INFO  runtime::schemas] Migration did not execute. This probably should be removed onchain:StorageVersion(3), current:StorageVersion(3)
[2023-12-26T19:34:02Z INFO  runtime::schemas] Running post_upgrade...
[2023-12-26T19:34:02Z INFO  try-runtime::cli] PoV size (zstd-compressed compact proof): 3.5 KB. For parachains, it's your responsibility to verify that a PoV of this size fits within any relaychain constraints.
[2023-12-26T19:34:02Z INFO  try-runtime::cli] Consumed ref_time: 0.00345s (0.69% of max 0.5s)
[2023-12-26T19:34:02Z INFO  try-runtime::cli] ✅ No weight safety issues detected. Please note this does not guarantee a successful runtime upgrade. Always test your runtime upgrade with recent state, and ensure that the weight usage of your migrations will not drastically differ between testing and actual on-chain execution.

@mattheworris Idempotency changes are applied


Schema standard not being followed

This implementation doesn't support the schema standard, most notably on the use of 'title' to describe the fields and not supporting self-references.
http://json-schema.org/latest/json-schema-core.html

As our objective is to generate a form (and not just use a schema to manipulate some structured data), we had to extend JSON Schema so we can handle form-specific features (like field widget, help messages, fieldsets, etc.).
But we do want to support the standard as closely as possible.
Regarding title: as far as I know, there is no title attribute for fields, do you mean the schema's title?
Regarding self-reference: what use case do you imagine?

An example of a self reference is a schema in which you have a definitions section containing Types, which you then use in the schema properties.
For example:
{   "id": "http://schange.com/schemas/a5sharedconfigschema.json",   "$schema": "http://json-schema.org/draft-04/schema#",   "type": "object",   "properties": {     "regions": {       "type": "array",       "minItems": 1,       "items": {             "$ref": "#/definitions/regionType"       }     }   },   "definitions": {     "regionType": {       "properties": {         "tag": {           "description": "Tag that uniquely identifies a given region",           "type": "string"         },         "currency": {           "description": "Three letter alphabetic code for the currency from ISO 4217 (XYZ)",           "type": "string",           "pattern": "[A-Z]{3}"         }       }       "required": [         "tag",         "currency"       ]     }   } }
Note: this is a reference within the same schema file. We also would like to make use of references outside the schema file to allow re-use of type definitions.

Any plans to add the $ref support to this component?
Besides usage of $ref in Schema, I am also having a use case where I would like to make use of $ref support in the Model json.

Until it is implemented, you can resolve the $ref properties by compiling your schema with ZSchema:```
let zschema = new ZSchema({});
zschema.compileSchema(mySchema);
mySchema = zschema.getResolvedSchema(mySchema);

ok, thanks for the answer. Going to test this solution soon.

I tested the workaround with the example I posted before in this issue, and it does not work. The example I posted contains local references within the same json schema file. So for z-schema I suppose there is nothing to be resolved. Z-Schema resolving might only work for remote references. However, you end up in both scenarios with a schema containing $ref indicators which are not supported by angular2-schema-form.

@bombompb I used I used https://github.com/izumin5210/json-schema-parser to parse the schema. Produced the form ok for me with local $ref

@ebrehault hello, what about schema's title? As I understand it, now only the description works, right? Are there any plans to add support "title" schema's property as it stated in the standard?

@GermisMc the default widget template mainly use the description (but some use title, see https://github.com/makinacorpus/angular2-schema-form/blob/master/src/defaultwidgets/radio/radio.widget.ts), but you are free to override their template and use {{ schema.title }} if you prefer.


Bug: CMD + Backspace doesn't delete a custom node text

Lexical version: ^0.10.0
Steps To Reproduce

Create a custom text node (Codesandbox attached below)
Try to delete the whole line using CMD + Backspace (This shortcut deletes the entire line)
The node doesn't get deleted, in the Codesandbox it doesn't show any errors but on local the error says Error: Lexical node does not exist in active editor state. Avoid using the same node references between nested closures from editorState.read/editor.update.

Core nodes are getting deleted without any errors.

Windows doesn't have a shortcut to delete the entire line but word by word using Ctrl + Backspace (Windows) and Option + Backspace (Mac) works fine
Link to code example:
CodeSandBox URL

The current behavior
The text line doesn't get deleted
The expected behavior
The text line should get deleted

You've not setup your custom node correctly. Your clone method isn't setup correctly, nor is your constructor. Here is the fix:
https://codesandbox.io/s/pensive-tree-rkhfun
Specifically, you need to be passing in the key between clones, as this must be consistent and stable:
  static clone(node: CustomTitle): CustomTitle {
    return new CustomTitle(node.__id, node.__placeholder, node.__key);
  }

Plus your constructor needs to accept this value:
  constructor(id: string, placeholder = "Add a title", key: string) {
    super(key);
    this.__placeholder = placeholder;
    this.__id = id;
  }


Can't install?

Hello,  feel like I'm missing something utterly obvious - but I can't figure out how to install!?!
System: Mac M1 Max, Monterey 12.6, Obsidian Version 1.1.9 (Installer 1.1.9)
Steps tried.

Can't find in the community plugin library (searched raindrop, obsidian-raindrop etc.)
Tried install via BRAT and got this error:

BRAT
mtopping/obsidian-raindrop.git
A manifest.json or manifest-
beta.json file does not exist in the
root directory of the repository. This
plugin cannot be installed.

Tried manually installing.  Download repo zip, coped all files .obsidian/plugins.  Force reload Obsidian.  Obsidian Raindrop appears - when attempt to activate this error is thrown: "Failed to load plugin obsidian-raindrop"
Searched Obsidian forum for "raindrop"
Search Obsidian discord for "raindrop"
Cried
Posted this.

I'm currently having the same dilemma

Same issue

Follow this guide, but for using the obsidian-raindrop release files:
https://youtu.be/ffGfVBLDI_0

Follow this guide, but using the obsidian-raindrop release files: https://youtu.be/ffGfVBLDI_0

THANK YOU! Unbelievable how people do not write instructions for how to install the thing they created!


[FR] Support for new Codefences with Syntax Hylighting

It would be great if support for me the new Code Fences feature that was introduced by Medium could be added

Hmm. Cool feature. I currently could not find how to use that from the api. Currently I have the markdown -> pandoc -> html -> medium.com chain. I will have another look the days through the years.

Even I had the same issue I tried to publish the Markdown file directly (since the API supports Markdown) but it seems to convert the language specific ones also to non language specific ones. Maybe if the codeblocks are converted to the HTML equivalent that is rendered on the Medium website it can/ could work.
It is also possible that the API does not have support for it. The GitHub API Documentation is also archived not sure will it be getting any updates either. Not sure is there any way to confirm either of the cases.

Expect the same feature.
md-publisher is a convinient tool .
Thanks a lot.


[#313] Gradle 7.3

In addition to updating the version of Gradle, I've added the sha256 to enable verification of the Gradle download

We should wait until PR #320 is merged and we can rebase, to verify that this change doesn't break the CI build.


Phonetic alphabet revisions

@pcraig3
Please replace the current word for the letter E with  (English) Espresso  and (French) Espresso
Please replace the current word for the letter I with  (English)  Identity and (French)  Identité
Please capitalize all words in the phonetic alphabet.
Merci beaucoup!!

Updated the current word for "E" from "Elephant" to "Espresso".
We don't have I's coming back because they look too similar to "1" and "l", so for that one we don't have to make any changes to our app.

This is closed since #257


Horizontal buttons stack - 4th button getting no style tag applied

Describe the bug
When there are more than 3 buttons in the horizontal stack, those past the 3rd end up overlapping the 1st. Looking at dev tools, this is because no style attribute applied to the buttons (and therefore no translateX instructions). Therefore, the only buttons that can be used are the second, third and the last button (which ends up on top); the first has been covered by all of the buttons past number 3.
To Reproduce
Steps to reproduce the behavior:

Create a horizontal button stack
Add more than 3 buttons to it
Notice that you can't access the 1st page

Expected behavior
The buttons to sit in a horizontal line and not overlap each other.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 11
Browser: Chrome
Version: 120.0.6099.225

Smartphone (please complete the following information):

Device: iPhone 15 Pro Max
OS: iOS 17.2
Browser: Home Assistant Companion App
Version: 2024.1 (2024.534)

Additional context
My card configuration YAML:
type: custom:bubble-card
card_type: horizontal-buttons-stack
1_name: Front
1_icon: mdi:sofa-single
1_link: '#front-room'
1_entity: light.front_room_light
2_name: Middle
2_icon: mdi:desk-lamp
2_link: '#middle-room'
2_entity: light.middle_room_light
3_name: Libby's
3_icon: mdi:bed
3_link: '#libbys-bedroom'
3_entity: light.libby_s_bedroom_light
4_name: Aaron's
4_icon: mdi:bed
4_link: '#aarons-bedroom'
4_entity: light.aarons_bedroom_lamp

Thank you! 🍻

Hi, I'm unable to replicate this issue, I have more buttons than that and everything is working has it should. You can try to open the editor or to clear your cache to let the buttons be recalculated.

I've just tried your code and this issue is only happening when an entity is undefined, have you checked that?


[Feature Request] Custom CSS as theme variable

Is your feature request related to a problem? Please describe.
Some options of custom CSS are interesting options for theme developers. For example I'd like to add a minimum margin to the view, so that cards on mobile devices are not displayed without margin.

Probably there are various other variables interesting for other people I'm not thinking off.
Describe the solution you'd like
It would be nice to add the custom CSS values to the theme variables already available. With this new options I could have far more options for deciding how the theme will look for the end user.
Thanks for your great Custom card!

I'm not sure how this would work exactly as theme variables can really only have one property like:
primary-color: "#000000" would be used with something like  menu_color: var(--primary-color)
Whereas, the custom css options are inserting full CSS into the elements, like `view_css: "padding: 5px; margin: 4px;"
I'm not sure there would be an option that would be as easy as just sharing the config from CCH.


View Tags (Linode Detail and Landing)

Purpose
List applied tags from Linode Detail and Linode Landing
Known Styling Issues

[ ] Tags not styled
[ ] Cannot click the +n tag in the Linode List view

Coverage decreased (-0.01%) to 26.252% when pulling e43fb5a42fb7cec5bff9ea9f282be7bad38a5010 on martinmckenna:M3-1132-view-tags-linode-detail into 37e0e76c236cf4a66780cd9f2126d10b0aca25e5 on linode:feature/tags.


Display an error message when add subcommand cannot be found

Hopefully helps with #21

@rawkode thanks! feel free to dive in on more. 😉

@SeanTAllen Keep tagging the easy issues until I'm further acquainted :+1:


Revert "Merge #16404: qa: Test ZMQ notification after chain reorg"

16404 backported via #4610 broke zmq test and it's annoying to have CI fail all the time. I can't find any way to fix it (related backports aren't linear it seems and partial fixes I picked did not help). Proposing to revert it for now. If anyone has a better idea how to fix CI, I'll gladly close this one :)

conflicts with #4642 (investigating action failure)


App Access Management UI Bug with carousel element

Found on INT
Version 2.0.0 RC-8
UI broken
Instead of displaying the cards in a row they are displayed vertical.
Check needed. This must have been introduced lately.

NOTE: API response used to display the app cards GET https://portal-backend.int.demo.catena-x.net/api/Apps/subscribed/activesubscriptions only responses with one element
image: "933aa403-bebb-4bcf-b99f-fc457f5e11c8"
name: "Managed SDE"
offerId: "70f38085-cde0-42c9-a779-881143e029b9"
provider: "T-systems"
subscriptionId: "8e5fd4c4-6669-4a63-82ea-9605b89d136f"

it seems that the FE displays the one element three times.

It seems to be caused by react-slick library that we are using for the Carousel. My suggestion for a quick fix:
render it as static Cards when the available width is large enough for all items and only use a Carousel if there are more items than screen space.
Simplified Pseudocode
`items.length * itemWidth < screenWidth ? <Cards items{...} /> : {items}


chore(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3649

Questions ?
Please refer to the Backport tool documentation


dotnet fixie support for the -t / --tests filtering option

Previously, any invocation of dotnet fixie would run every discovered test in the target assemblies. Here, we add an optional argument --tests and abbreviation -t allowing the user to specify which tests to run.
To align with readability and ease-of-use goals, we use a simpler pattern mechanism than jest's regex approach. It will be familar to those who use Jetbrains tools to quickly search for identifiers, and since Fixie tests align with classes and methods it is a natural fit.
First, a full test name match will run that single test:
dotnet fixie MyTestProject --tests Full.Namespace.MyTestClass.MyTestMethod

To avoid having to type the full namespace or method name, there is an implicit wildcard at the start and end of the pattern. Here we run an entire test class:
dotnet fixie MyTestProject --tests MyTestClass

Like ReSharper identifier searches, there is an implicit lowercase letter wildcard ([a-z]* in regex terms), whenever a capital letter is followed by a non-lowercase character. In other words, you can type "MTC" to match "MyTestClass". Here we run a select few related tests within that class:
dotnet fixie MyTestProject --tests MTC.ShouldValidate

Although unnecessary in most realistic cases, an explicit * wildcard will match any sequnce of zero or more characters (.* in regex terms):
dotnet fixie MyTestProject --tests MTC.*Validate

Because a search may in fact be more inclusive than the developer intended, the console output includes passing test names in addition to other test results as feedback. When all tests are run by omitting the --tests argument, passing tests are still omitted for brevity.

@plioi is there any support for disabling the explicit wildcard at the end of the tests pattern?
In my case I have a test with a name (like MyTest) that is a prefix of other tests (like MyTestWhenPassingVariableX) and I want to just run MyTest.
I did attempt a $ at the end, but that appeared to revert back to "all tests" (probably because it was an unsupported pattern).
Not a huge deal if this isn't possible, but was curious.
Thanks!

Doh! I'm afraid that's not supported. A change here would likely be a breaking change, so I'm putting looking into this further on my roadmap for 4.x.
A custom convention could take advantage of Custom Arguments (https://github.com/fixie/fixie/wiki/dotnet-fixie#custom-arguments), customizing Discovery/Execution (https://github.com/fixie/fixie/wiki/Customizing-the-Test-Project-Lifecycle) to achieve something more regex based.

@plioi Thanks for the lead. Indeed, I was able to hammer something into my customized execution (I already customize for dependency injection support) that look to IOptions support for the wildcards to include/exclude. I am up and running. This just proves the concept of fixie: the basic needs, plus a clean API for "fiddling".
Thank you!


make health check log more readable

fixes #26971
As every health check is corresponding to each container, each health check log has to get container id in it, so that log will not be confusing.
- What I did

add container id in health check log and error
fix a typo in monitor.go

Signed-off-by: allencloud<EMAIL_ADDRESS>

LGTM 🐸

windowsRS1 failure not related, merging :angel:


ImageAnnotatorClient product Search returns Error that product Category is incorrect

In PHP
using use Google\Cloud\Vision\V1\ImageAnnotatorClient;  with  Google\Cloud\Vision\V1\ProductSearchClient;
and Google\Cloud\Vision\V1\ProductSearchParams;  to set ImageContent and productSearchParams.  It returns an error saying :  Fatal error: Uncaught Google\ApiCore\ApiException: { "message": "Invalid category. Valid categories are apparel, homegoods, toys, apparel-v2, homegoods-v2, toys-v2, packagedgoods-v1.", "code": 3, "status": "INVALID_ARGUMENT", "details": [] } thrown
In Python
using product_mgmt.py to list products  I see the Product category is 'homegoods'  I also have homegoods-v2
i do not understand what the PHP is reading to throw the error.  any help would be appreciated

the issue is with the ProductSearchParams , the product_category must be an array, even though it only accepts the first element of the array at this time (Feb 2023).  The issue was not that the category was wrong as the error states, it was that it was not in an array element


vision::OCRResult missing necessary fields table_boxes and table_structure

Environment
FastDeploy version:  1.0.7
OS Platform:  Windows x64 intel
Hardware: Nvidia GPU 3080Ti  CUDA 11.2 CUDNN 8.3
Program Language: . Python 3.10
Problem description
The vision::OCRResult actually include table_boxes and table_structure fields, but the pybing11 part doesn't include them. We can find the both fields in the first code snippet below, but not in the second one.
// FastDeploy\fastdeploy\vision\common\result.h
struct FASTDEPLOY_DECL OCRResult : public BaseResult {
  std::vector<std::array<int, 8>> boxes;

  std::vector<std::string> text;
  std::vector<float> rec_scores;

  std::vector<float> cls_scores;
  std::vector<int32_t> cls_labels;

  std::vector<std::array<int, 8>> table_boxes;
  std::vector<std::string> table_structure;
  std::string table_html;

  ResultType type = ResultType::OCR;

  void Clear();

  std::string Str();
};

  pybind11::class_<vision::OCRResult>(m, "OCRResult")
      .def(pybind11::init())
      .def_readwrite("boxes", &vision::OCRResult::boxes)
      .def_readwrite("text", &vision::OCRResult::text)
      .def_readwrite("rec_scores", &vision::OCRResult::rec_scores)
      .def_readwrite("cls_scores", &vision::OCRResult::cls_scores)
      .def_readwrite("cls_labels", &vision::OCRResult::cls_labels)
      .def("__repr__", &vision::OCRResult::Str)
      .def("__str__", &vision::OCRResult::Str);

Solution

The directly way to solve it is to add the two fields to pybind11 part. Or we can derive a TableOCRResult class. Thanks.

Thank you for raising this issue. We will consider fixing it in the future


This is available in Azure SQL DB but is marked as not available.

see title

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

ID: c718b068-b22a-9770-2b72-68acce9cac7b
Version Independent ID: a5d656c5-3772-04e5-9a4f-831b58e12d02
Content: sp_server_info (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-stored-procedures/sp-server-info-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @stevestein
Microsoft Alias: sstein

@LuisGonzalezLT -- Luis, thank you for your feedback.  I have updated the documentation and it should be live by tomorrow.
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


ARROW-8860: [C++] Fix IPC/Feather decompression for nested types (with child_data)

Shoot. This issue is a bummer

Yeah, if releasing was not so much work, I would directly say to do a 0.17.2 ..

I think we can apply this patch on conda-forge so at least those builds are OK

We should discuss strategies for handling the Python wheels

We should certainly not apply different patches to same-named versions.

Just FYI I experience this same issue using the Python API (not sure if that is based on the code mentioned here).

Yes same code

From my / Ben's part, I think so yes, but it could use another review.

I think we can apply this patch on conda-forge so at least those builds are OK

@wesm I hit this issue saving a DataFrame to Feather. Was it possible to patch the conda-forge release or do I need to wait for 1.0.0?

It sounds like people aren't super keen on patching conda-forge, I'd suggest waiting for 1.0.0 in the meantime or using compression='uncompressed' as a workaround for nested data

I thought that, no problem to wait for 1.0.0.


Replace the unavailable linked test-cases for PR 2606 with reduced test-cases

Re: PR #2606.

/botio test

/botio makeref
Thank you for the patch.


fix comment on TrackGraph method

Hi @micdenny, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, DNFBOT;

Thanks for the pull request


Creating an experiment should also generate a test plan

When you create an experiment it should create a test plan based on the metrics you decide to track.

This was fixed with david's experiment creator form


fi a to an

fi a to an
Signed-off-by: sakura<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #770 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #770      +/-   ##
==========================================
- Coverage   46.55%   46.53%   -0.02%
==========================================
  Files         113      113
  Lines        6354     6354
==========================================
- Hits         2958     2957       -1
  Misses       3158     3158
- Partials      238      239       +1

Impacted Files
Coverage Δ

common/errors/supernode_errors.go
0% <ø> (ø)
:arrow_up:

client/client.go
54% <ø> (ø)
:arrow_up:

supernode/daemon/mgr/scheduler/manager.go
24.06% <ø> (-0.76%)
:arrow_down:

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 c51ab78...f977530. Read the comment docs.


rustler_atoms!

I'm happy with these patches, so I'm opening a PR - see #56 for more discussion.
(This is on top of send so #60 should merge first.)

Cherry picked out and merged before #60.


Using OpenVoice in Regional Language

How can I use the other languages like Hindi, Gujarati with OpenVoice?

Please update the README.md file and give more information regarding the code . please connect.....

You can reach out to me via email<EMAIL_ADDRESS>

Is there any way to use hinddi on it?


THRIFT-2578 Moving 'make cross' from test.sh to test.pyremove test.sh

Merged as f5b795d3be6acc0da30afc4b4aa77e531125eec6 58ed1cdf3cd4da9d013e4cd4b92b3f4e440d145d


Custom redmine translation

I need to make some customisations in the french locale.
Here is what I did, let me know if there is a better way to do it:

I copied the fr locale into the host:

$ docker cp redmine_redmine_1:/home/redmine/redmine/config/locales/fr.yml .

Mounted the modified version into the container:

services:
  redmine:
#...
    volumes:
      - ./fr.yml:/home/redmine/redmine/config/locales/fr.yml

Restarted the container

$ docker-compose restart redmine

Now I can see my modification in the container
$ docker-compose exec redmine cat /home/redmine/redmine/config/locales/fr.yml | grep [...]

Seems not to be taken into account.
Should I do a cache clear or something like that ?
How can I do it ?

According to this, yes there is a redmine application cache that needs to
be cleared.
http://www.redmine.org/projects/redmine/wiki/HowTo_translate_Redmine_in_your_own_language
On Tue, Oct 10, 2017 at 11:50 AM, Pierre de LESPINAY <
<EMAIL_ADDRESS>wrote:

I need to make some customisations in the french locale.
Here is what I did, let me know if there is a better way to do it:

I copied the fr locale into the host:

$ docker cp redmine_redmine_1:/home/redmine/redmine/config/locales/fr.yml .

Mounted the modified version into the container:

services:
redmine:#...
volumes:
- ./fr.yml:/home/redmine/redmine/config/locales/fr.yml

Restarted the container

$ docker-compose restart redmine
Now I can see my modification in the container
$ docker-compose exec redmine cat /home/redmine/redmine/config/locales/fr.yml | grep [...]
Seems not to be taken into account.
Should I do a cache clear or something like that ?
How can I do it ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sameersbn/docker-redmine/issues/314, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFWomQvx7AfCEAQDv43nM8hyjLCh5xorks5sq5JigaJpZM4P0Kk4
.

--
Jonathan Cormier
Software Engineer
Voice:<PHONE_NUMBER> <%28315%29%20425-4045> x222
[image: Inline image 1]
http://www.CriticalLink.com http://www.criticallink.com/
6712 Brooklawn Parkway, Syracuse, NY 13211
https://www.linkedin.com/company/critical-link-llc
https://twitter.com/Critical_Link

I tried that
$ docker-compose exec redmine rake tmp:cache:clear

You have already activated rake 10.1.0, but your Gemfile requires rake 12.0.0.
Prepending `bundle exec` to your command may solve this.
[...]

Should I update rake inside the container ?
Is there a prefered way to do that ?

https://github.com/sameersbn/docker-redmine#rake-tasks
This suggests what you want to run is something like:
 $ docker-compose run redmine app:rake tmp:cache:clear
Starting dockerredmine_postgresql_1
Initializing logdir...
Initializing datadir...
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database...
Configuring redmine::unicorn...
Configuring redmine::secret_token...
Generating a session token...
Note:
  All old sessions will become invalid.
  Please specify the REDMINE_SECRET_TOKEN parameter for persistence.
  **SHOULD** be defined if you have a load-balancing Redmine cluster.
Configuring redmine::max_concurrent_ajax_uploads...
Configuring redmine::sudo_mode...
Configuring redmine::autologin_cookie...
Configuring redmine::backups...
Configuring nginx...
Configuring nginx::redmine...
Running raketask tmp:cache:clear...

Or this is your redmine is already running.
 $ docker-compose exec redmine sudo -u redmine -H bundle exec rake tmp:cache:clear

Ho I didn't see this part in the doc, (searching with the wrong words)
I'll try that thanks.

With a running container this did not work for me:
$ docker-compose exec redmine sudo -u redmine -H bundle exec rake tmp:cache:clear

This did
$ docker-compose stop redmine
$ docker-compose run redmine app:rake tmp:cache:clear
$ docker-compose up -d redmine

Thanks again @jcormier


Disable failing vscode test temporarily

We can use test.skip instead of commenting. Should help us to no forget about commented out tests :)


Ignore local files while pushing an application

Describe the bug
I can't push my application while developing it. I have a generic error because epinio is pushing everything from the application directory (except git files and directories if I understand correctly https://github.com/epinio/epinio/blob/main/helpers/tar.go).
To Reproduce
Steps to reproduce the behavior, e.g.:

Have an Epinio server and Epinio CLI installed and connected to the server
Create a NPM based application (like Angular or React) or use an example (like https://github.com/devpro/epinio-samples or https://github.com/paketo-buildpacks/samples) and do npm install in the sample folder
Try to push the application with 'epinio push --name ngsample --path ngsample'
See error

Expected behavior
The developer should have an easy way to set the files to be ignored by epinio while pushing the application (specific ignore file or in the epinio.yaml config file) and/or epinio should look at the .gitignore files.
Also we should make sure we garantee the integrity of the code that is pushed and avoid strange behavior, like a build artifact complied locally that would be used to generate the artifact.
Logs
2023/09/21 09:14:44 EpinioApiClient: "msg"="decoding json error" "error"="invalid character '<' looking for beginning of value" "body"="\r\n<title>413 Request Entity Too Large</title>\r\n\r\n
413 Request Entity Too Large
\r\n
nginx\r\n\r\n\r\n"
2023/09/21 09:14:44 EpinioClient/Push: "level"=4 "msg"="return" "Name"="ngsample" "Namespace"="workspace" "Sources"="C:\\Users\\BertrandThomas\\workspace\\devpro\\epinio-samples\\samples\\angular\\ngsample"

Cluster (please complete the following information):

Provider: AKS
Options: 2 worker nodes
Kubernetes Version: 1.24

Desktop/CLI (please complete the following information):

OS: Windows 10
Epinio Version: 1.9.0
Epinio Install Options: Helm, cert-manager, Let's Encrypt (Production cluster issuer), sslip.io

Additional context
This is really important for the Developer Experience.
To deploy in Production, yes epinio push should run from a neutral environment without the local build artifacts.
But for many usecases we may want to push the application we are working on.
This is important also to reduce the bandwidth and ensure the quality of the code that is sent (could even maybe interesting to have a git status check to make sure that for prod we don't sent code with pending changes).
Also, to promote Epinio I would like to show how easy to go from my machine to a running instance.

Linking https://github.com/epinio/epinio/issues/1646.
Follow on work for the UI https://github.com/epinio/ui/issues/147

Hi there, is this being worked on. I saw it was added to the v1.12 milestone, but there hasn't been any activity in the repo for quite a few months.


Does taiko has offline installation like Gauge?

Does taiko has offline installation like Gauge?

Taiko is a node js library and depends on modules from the npm registry. So the best way to try a local installation is to try it via and offline npm registry.
There are some instructions on local installation of npm modules in this article
https://addyosmani.com/blog/using-npm-offline/
Unfortunately, because of it's complexity there cannot be a pre-packaged offline installer.


Change default target to avoid installation.

Fixes #20
FYI @FFY00

The makefile still tries to create /usr/share/yosys/plugins during build, which should only happen in install.
make -C fasm-plugin test
make -C xdc-plugin test
make[1]: Entering directory '/build/yosys-symbiflow-plugins-git/src/yosys-symbiflow-plugins/fasm-plugin'
make[1]: Entering directory '/build/yosys-symbiflow-plugins-git/src/yosys-symbiflow-plugins/xdc-plugin'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -ggdb -I/usr/share/yosys/include -MD -D_YOSYS_ -fPIC -I/usr/include -std=c++11 -Os -DYOSYS_ENABLE_READLINE -DYOSYS_ENABLE_PLUGINS -DYOSYS_ENABLE_GLOB -DYOSYS_ENABLE_TCL -DYOSYS_ENABLE_ABC -DYOSYS_ENABLE_COVER -D_FORTIFY_SOURCE=2  -c -o xdc.o xdc.cc
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -ggdb -I/usr/share/yosys/include -MD -D_YOSYS_ -fPIC -I/usr/include -std=c++11 -Os -DYOSYS_ENABLE_READLINE -DYOSYS_ENABLE_PLUGINS -DYOSYS_ENABLE_GLOB -DYOSYS_ENABLE_TCL -DYOSYS_ENABLE_ABC -DYOSYS_ENABLE_COVER -D_FORTIFY_SOURCE=2  -c -o fasm.o fasm.cc
mkdir -p /usr/share/yosys/plugins/fasm_extra_modules/
mkdir: cannot create directory ‘/usr/share/yosys/plugins’: Permission denied

Seems to be fixed now, thanks :smile:.
However, I hit a different issue.
ERROR: Can't load module `./xdc': /usr/bin/../share/yosys/plugins/xdc.so: cannot open shared object file: No such file or directory

I tried with the latest yosys release and from git. Should I open a different issue for this?

Seems to be fixed now, thanks .
However, I hit a different issue.
ERROR: Can't load module `./xdc': /usr/bin/../share/yosys/plugins/xdc.so: cannot open shared object file: No such file or directory

I tried with the latest yosys release and from git. Should I open a different issue for this?

Can you check the permissions on that file?  Is it not marked are readable for all?  I'd guess that the install step isn't setting permissions correctly.

There is no file. Do I need to enable something in yosys?
This is how I'm building:
https://github.com/FFY00/symbiflow-arch-pkgs/blob/master/yosys-git/PKGBUILD#L38

There is no file. Do I need to enable something in yosys?

This project builds those file (xdc.so and fasm.so). In order for the tests from this project to run, the plugins need to be installed to relevant yosys directory (/usr/bin/../share/yosys/plugins/).  The install target in this project will put xdc.so and fasm.so in the directory specified by yosys-config.

Ah sorry. Can't we make the tests run in-tree? When packaging, I can't install anything to the system.

For context, yosys supports a dynamic plugin system, and by default finds those plugins in the yosys share path.  This project builds two plugins for yosys, and provides a target (install) that copies the files to the path supplied from yosys-config.  In order for yosys to find them in the expected place, something needs to put them there.  That can be a Makefile in the case of a development system, or some other package manager in other cases.

This make sense. Do you know if there's any to get yosys to look in other place?

This make sense. Do you know if there's any to get yosys to look in other place?

The documentation makes me wonder if an absolute path would be accepted.  If an absolute path is not accepted, a yosys change would be required to support what you ask.

Anyway, this can be merged. I still have one issue, DESTDIR is not being respected.
https://www.gnu.org/prep/standards/html_node/DESTDIR.html


Remove conditions from existing resources when they are not used anymore

/kind proposal
Goals
Conditions that are not used anymore in new releases of CAPH might still be existent on resources that are in clusters that upgraded from older versions of CAPH. We should "deprecate" these conditions in a way that they are removed from these resources.
If we don't do that (and we didn't do that in the last release), then the conditions might stay forever in the objects without being removed. This might create unwanted results, especially with the conditions summary that we use.
Detailed Description
We have to remove conditions that we want to deprecate actively from the reconciled object, e.g. the HetznerCluster object. We need to be careful about not removing any conditions that are required or necessary.

@janiskemper what is now the current state?

thomas and I decided yesterday to not explicitly test it. If something doesn't work as expected you can re-open


Replace deprecated oracleTempSchema with tempEmulationSchema

Several functions like 'getConceptCodeDetails()' have an oracleTempSchema argument. First of all, please make sure this is really necessary. Are these functions using temp tables? Second, oracleTempSchema has been deprecated across HADES. Please use `tempEmulationSchema' instead, and set the default value like this.

At first, I did a replace of all oracleTempSchema but good point this probably doesn't need a temp schema since it is just querying off the vocabulary schema into an R data.frame.  I will remove that option from the function.
Issue will close when I merge the pull request.


Fix Android vertexShaderCode

apply patch from @Mur4ik in issue #5.
corrects 'no uniform with name camTransform in shader' error
for various devices (e.g., nVIDIA Shield, Galaxy Tab 2)

Thank you for the PR :smile:


Address complex method _setNewColumnIndex() in addon/components/sl-grid-table-header.js

https://codeclimate.com/github/softlayer/sl-ember-components/issues/categories/complexity

Closed by https://github.com/softlayer/sl-ember-components/pull/344


Header buttons not showing on Web (Next.js)

Hello!
I'm using React Native (solito) running on web, but it seems that the header buttons are not showing on web, I tried to find the reason it seems that the images are not loaded, maybe it's an issue with next.js only I'm not sure, but maybe if we can add a custom buttons will solve it? or use Svg icon instead of an image?
Here's a screenshot for web:

This is in Android (working fine also on iOS):

Other than that it's a great work, working like charm in both Android & iOS! 🌹

Hello @MustafaAlsihati, thank you for reporting this, I am working on it to enable adding custom icon buttons.

Now we can define custom icons for prev and next buttons with these options:
buttonPrevIcon
buttonNextIcon

Now we can define custom icons for prev and next buttons with these options:
buttonPrevIcon
buttonNextIcon

@farhoudshapouran That's awesome! Thanks 🌹


[Navigation Refactor] - New Room/Request/Split/Send -Tapping Back navigation after room is created, restarts the "Create Room"/Request/Split/Send flow

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Log in to a HIGH TRAFFIC (Expensifail) account.
Tap on the green plus button (FAB)
Select "New room" option
Complete new room creation flow.
Tap in "Back" button on top left corner.

Expected Result:
The user should return to LHN
Actual Result:
Tapping back arrow, the creation room flow will reopen. after new room is created
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: special build <IP_ADDRESS>
Reproducible in staging?: No
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://platform.applause.com/services/links/v1/external/d16c1f1b03fd55d2b763d2eb812b20377386cc98aa5bdb336ec57f994d55c839
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

I can see there are more options for navigating from RHP to a report screen. Do we want the behavior of always replacing the RHP with the new report? If not, could you list all the exact flows that would need to be handled? cc @mountiny @kbecciv

all of these flows
 when finished then we should dismiss

new chat - when selected the email - dismiss and navigate to the report

new group - Create new group - dismiss and navigate to the report

new room - Create room - dismiss and navigate to the report

all the iou flows and assign task - once you are at the end with the green button - dismiss and navigate to the report

Settings > Profile > Any of those forms / Personal Details and any of those forms there should I believe dismiss "the form stack" on Save

So I see that if we update the personal details name we used drawerGoBack here, could we just pop the last screen in this case?
I think we dont have to catch all of these flows in the first PR. We can ideally find a good solution we can then apply to the other flows we find.

This was fixed


Csccva more profiling

Adding new profiling for Mahti. mpiP

mpip for Mahti and Puhti

Looks good,
The availability should be made clearer, preferably in the same format
as other applications e.g
## Available
    Puhti: version
    Mahti: version

If at all possible I would like to have those absolute paths behind a module or similar,
but this can be done at a later time.


Possible to keep scroll function when scrollbar is hidden?

This custom hook works great for hiding the scrollbar. When hidden it also prevents scrolling from occurring, where the content overflows the container. Is it possible to add an option (or make it standard) to allow scrolling to still occur when the scrollbar is hidden? Thanks

@JamesTheBald
Do you mean make it scrollable  after hiding the scrollbar?

Yes. That'd be great.


Improved throughput (and a few other enhancements)

Improved throughput by keeping the TX buffer "well fed".
Implemented Version()
Implemented the transport.Flusher interface
More hardening (against race conditions)

Please bear with me when reading through the PR. This adds a lot of complexity, I know. It's probably easiest do look at each commit individually.

Btw, in case you're wondering why I'm suddenly pushing all of these changes. I've managed to build a containerized setup for testing various modems, including VARA (sort of). And since we now have P2P support, it's no hassel at all for me to fire up the "test rig" and stress test the implementation off-air with just my laptop 😊

That’s cool!  No problem for me… 😊I was able to get the incorrect version tag deleted. That’s what I get for trying to do some of this from my phone. 😂I’ll push ‘em as fast as you can commit ‘em!On May 29, 2023, at 06:44, Martin Hebnes Pedersen @.***> wrote:
Btw, in case you're wondering why I'm suddenly pushing all of these changes. I've managed to build a containerized setup for testing various modems, including VARA (sort of). And since we now have P2P support, it's no hassel at all for me to fire up the "test rig" and stress test the implementation off-air with just my laptop 😊
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Chokidar does not load and breaks silently the code into a Worker using ExpressJS and NodeJS worker thread

I am trying to require chokidar in a  Worker Ising NodeJS worker thread into an ExpressJS application.
If I try to do It, nothing happenes. There are neither errors or warning.
if I remove the require line, the rest of the code works properly..
Does somebody knows what may be happenong?

Platform? Node version? Chok version?

Sure, sorry. Here you have:
Platform: Windows10
Chokidar: v3.5.1 ( latest)
NodeJS: 14
ExpressJS 4
If I try to do it into the server everything goes fine, but I am not able to make it works into a Worker asI said.

that's strange

Sorry for I did not having responded until now.
Finally, I walked over another way and I had gotten what I was looking for. I'm not sure, because I have not had time to check it, but I think it was my fault. Your library was "accompanied" by a Worker and a socket connection. I think I got into trouble when my code started to creating the worker and socket over and over again ( I was using nodemon library too ). So the system had not in time to load your library before nodemon reload the expressjs server. so it could not work. It responded to the checkpoints into the code that was below it because it was less code and it had time to do it.
I have it in my personal to-do list :-) I will write here when knowing something. I close it until now. Then, I will reopen it, if you don´t mind it.
I take this opportunity to thank you for your library. Good idea !!!.


Feature Request - More Code Formatting Authority / Options

It would be incredibly useful for teams to be able to enforce code style guidelines a la something like clang-format. Additionally, features like those provided in clang-tidy for variable/function/class naming conventions would help teams to produce more uniform MATLAB codebases with minimal manual effort.
A simpler start to this could just include a "comfortable" vs. "compact" preference on auto formatting:
Comfortable: matlab_function(arg1, arg2, arg3);
Compact: matlab_function(arg1,arg2,arg3);
or
Comfortable: var = x * y;
Compact: var=x*y;

Currently when I save a file it flattens everything within a function that isn't part of a code block to have no indentation.

@Whyhow314 - Document formatting currently listens to the preferences defined in MATLAB. If you open MATLAB, you should be able to modify the Function indenting format preference under "MATLAB > Editor/Debugger > Language". Perhaps the behavior with Indent all functions is closer to what you would prefer?

@dklilley Looks like that fixed it, thanks! I didn't realize that it respected the preferences from my matlab installation.

Does this extension include auto indenting?

@dklilley Thank you for the reply. The code does indent when I type. However, I am looking for a command that is similar to cmd + i (or control + i) in MATLAB desktop that auto indents a piece of already-typed code. When pieces of code are copied from somewhere else, they are not always in the right indentation

@tongyaop You can use Format Document for this. I believe the keyboard shortcut for this is shift + option + F (or shift + alt + F). There is not currently support in the extension for Format Selection, although this is something we hope to add in the future.

We are also desperately waiting for auto-formatting functionality as mentioned by the original feature requestor (not just indentation, but code formatting - the same actually holds for the MATLAB IDE). Our dream would be a Matlab counterpart to Python's black code formatter.
It is often not software developers (but engineers or similar) that use Matlab, and hence auto-formatting of Matlab code can result in massive improvements of code quality, without the need to bother the contributing engineers with coding style rules.
@dklilley @nickchoi-mw  The request has been open since April, any estimate on when this will be released?

This is an area we want to expand upon and are looking into as part of a multi-team effort. I am not able to provide any estimates at this time.


regular expression: some incorrect codegen

See https://github.com/oxc-project/oxc/pull/6411
Expect to Parse: tasks/coverage/test262/test/built-ins/String/prototype/split/separator-regexp.js

  × Regular Expression content mismatch for `/\cY/`: `\c` == `\c`

Last case: https://github.com/oxc-project/oxc/blob/c56343d1f3098364e04866da18e6d169671f7acc/tasks/coverage/snapshots/parser_test262.snap#L9


Add madvise wrapper

This doesn't have docs for AccessPattern yet and hasn't been properly tested, but it's a start. Worth getting some critique early. It also explicitly only implements the POSIX madvise flags instead of including the Linux extensions, although that would definitely be a good thing to add.

Hi @Vurich, I've previously said it would be interesting to have a madvise wrapper in memmap, but I'm going to play the opposite side for a moment and argue against it.  I think this functionality might be better exposed in a generic way outside this crate, because it's not really specific to memory maps, and the implementation is not tied to the memory map internals at all.  Is there a compelling reason to tie it to memory maps that I'm overlooking?

No, I think you're right. It could be implemented as a method on [u8] with very little syntactic overhead.

Made this into a seperate crate here.


Mobile version of CHQ dashboard

🏆 To Do: Update the CHQ branch tailwind so that it has a mobile responsive menu and dashboard

⏳ Task should be completed by **Feb 20**

📝 Submission Requirements
The current branch works well in a larger screen but not on smaller screens

All pages of tailwind branch must be responsive
There should be a menu for both phone and larger screens
Only CSS and HTML changes should be required
Design should be simplistic and minimal
Javascript is not necessary but feel free to flex
All items should be visible and easy to see

💭 Resources & Inspiration

Building local CHQ - https://github.com/Coders-HQ/CodersHQ#quick-setup

Completed by changing to tailwind


Ability to run kuma with Python 3

User story
Be able to run kuma locally with Python 3. I.e. docker-compose up should start and be able to not crash. This includes the Celery worker.
Acceptance criteria

[ ] Be able to start docker-compose under Python 3 locally
[ ] Be able to run make test inside Docker locally

Tasks

[ ] Upgrade to Celery 4
[ ] Remove any Python code that doesn't run in Python 3

UPDATE May 15 2019
To better break this down, I filed a new issue just for upgrading to Celery 4, which I know, will cause a whole host of upgrades of packages. Not only is it a prerequites for Python 3 (due to our old version of kombu causing a SyntaxError in Python 3).

@peterbe Is this epic complete? I'm not sure what the extra 3 points mean.

YES! We have some little left-over things we can do now that we're in Python3 but nothing that would relate to these issues.


Metaflow process doesn't quit after job killed.

After I kill the AWS Batch Job, my expected behavior is flow process exit, but seems it get stucked there and I have to use ctrl+c to quit.
python3 advanced_bigsum.py --environment=conda run
Metaflow 2.0.1 executing BigSum for user:shjiaxin
Validating your flow...
    The graph looks good!
Running pylint...
    Pylint not found, so extra checks are disabled.
2019-12-27 15:29:45.840 Bootstrapping conda environment...(this could take a few minutes)
2019-12-27 15:29:48.359 Workflow starting (run-id 79):
2019-12-27 15:29:49.331 [79/start/278 (pid 40073)] Task is starting.
2019-12-27 15:29:51.096 [79/start/278 (pid 40073)] [fcd25d94-4321-44e0-a1ca-64836b78a9ff] Task is starting (status SUBMITTED)...
2019-12-27 15:29:52.164 [79/start/278 (pid 40073)] [fcd25d94-4321-44e0-a1ca-64836b78a9ff] Task is starting (status RUNNABLE)...
2019-12-27 15:30:22.200 [79/start/278 (pid 40073)] [fcd25d94-4321-44e0-a1ca-64836b78a9ff] Task is starting (status RUNNABLE)...
2019-12-27 15:30:52.245 [79/start/278 (pid 40073)] [fcd25d94-4321-44e0-a1ca-64836b78a9ff] Task is starting (status RUNNABLE)...
2019-12-27 15:31:22.403 [79/start/278 (pid 40073)] [fcd25d94-4321-44e0-a1ca-64836b78a9ff] Task is starting (status RUNNABLE)...
2019-12-27 15:31:52.565 [79/start/278 (pid 40073)] [fcd25d94-4321-44e0-a1ca-64836b78a9ff] Task is starting (status RUNNABLE)...

############################################################
Because AWS Batch doesn't have enough resources, job can not be scheduled. I determine to terminate the job in a different shell
############################################################

2019-12-27 15:32:04.607 [79/start/278 (pid 40073)] [fcd25d94-4321-44e0-a1ca-64836b78a9ff] Task is starting (status FAILED)...

############################################################
shell get stucked here and process doesn't quit
############################################################

The second shell I used to kill the RUNNABLE job.
python3 advanced_bigsum.py --environment=conda batch kill --my-runs
Metaflow 2.0.1 executing BigSum for user:shjiaxin
Killing Batch job: shjiaxin-BigSum-79-start-278-0 [fcd25d94-4321-44e0-a1ca-64836b78a9ff] (RUNNABLE)

After I press ctrl + c, It shows
^C2019-12-27 15:34:23.164 Workflow interrupted.
2019-12-27 15:34:23.168 Terminating 1 active tasks...
2019-12-27 15:34:23.460 Flushing logs...
2019-12-27 15:34:23.460 [79/start/278 (pid 40073)]
2019-12-27 15:34:23.461 [79/start/278 (pid 40073)] Aborted!
2019-12-27 15:34:23.981 [79/start/278 (pid 40073)] Task failed.
2019-12-27 15:34:23.981 This failed task will not be retried.

At that time, there's no active task anymore but the logs show Terminating 1 active tasks

We will take a look and try to reproduce.

Can also be easily reproduced by trying to run on Batch without the necessary permissions.
The Batch job goes to status=Failed, which is correctly reported in Metaflow as "Task is starting (status FAILED)..." but that doesn't end the Metaflow process.


Fix process all objects same filename

Another crack at #494
Filepath was not very helpful/clean in logs in some cases so I tried to use <metadata.name>.<metadata.namespace> where available.
Let me know if this does not work for you guys, there are still some issues left such as AMBASSADOR_NAMESPACE and AMBASSADOR_SINGLE_NAMESPACE are not taken into account in config.py. These seem to be taken into account when the Config object is generated via kubewatch.py but if the Config is invoked from the CLI using full kubernetes manifests, namespace is not taken into account at all (intended?).

The CLI has always been more of a development/testing tool than anything else, so to the extent that I thought about it, I always kind of assumed that you'd only include things for the namespace you wanted in the config you fed to the Ambassador via the CLI. Is there something that'd work better for you there?


No support for svg images.

After compiling the latest(0.6.5) Gnome-pie, changing themes has no affect. Instead, it shows error messages like
[MESSAGE] Error loading image file: Couldn't recognize the image file format for file '/usr/local/share/gnome-pie/themes/o-pie/arrow.svg'.
```

Have you checked that the file is actually there? Maybe it got damaged somehow? For me it's working flawlessly. What distro / wm are you using?

Closing bug, problem with my gtk installation.


Allow sum of grant display in grant list

Can be solved with ordinary field and banner?

Do not attempt a special solution: use ordinary field and banner.


The repository mapping file is invalid

Describe the bug
Tried updating last week and it went through.
This weeks try ended in the following error :
2024-09-17 22:43:27,876 - INFO - File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
2024-09-17 22:43:27,876 - INFO - self.run()
2024-09-17 22:43:27,876 - INFO - File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
2024-09-17 22:43:27,876 - INFO - self._target(*self._args, **self._kwargs)
2024-09-17 22:43:27,876 - INFO - File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
2024-09-17 22:43:27,876 - INFO - actor_instance.run(*args, **kwargs)
2024-09-17 22:43:27,876 - INFO - File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 290, in run
2024-09-17 22:43:27,876 - INFO - self.process(*args)
2024-09-17 22:43:27,876 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/setuptargetrepos/actor.py", line 41, in process
2024-09-17 22:43:27,876 - INFO - setuptargetrepos.process()
2024-09-17 22:43:27,876 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/setuptargetrepos/libraries/setuptargetrepos.py", line 153, in process
2024-09-17 22:43:27,876 - INFO - vendor_repos = _get_vendor_custom_repos(enabled_repoids, mapping_list)
2024-09-17 22:43:27,876 - INFO - File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/setuptargetrepos/libraries/setuptargetrepos.py", line 109, in _get_vendor_custom_repos
2024-09-17 22:43:27,876 - INFO - vendor_repomap = map_dict[vendor_repolist.vendor]
2024-09-17 22:43:27,876 - INFO - KeyError: u'epel'
2024-09-17 22:43:27,878 - INFO - =================================================================================================
2024-09-17 22:43:27,878 - INFO - Actor setuptargetrepos unexpectedly terminated with exit code: 1 - Please check the above details
2024-09-17 22:43:27,878 - INFO - =================================================================================================
2024-09-17 22:43:27,969 - INFO - ============================================================
2024-09-17 22:43:27,969 - INFO - ERRORS
2024-09-17 22:43:27,969 - INFO - ============================================================
2024-09-17 22:43:27,969 - INFO - 2024-09-17 22:42:46.905164 [ERROR] Actor: vendor_repositories_mapping
2024-09-17 22:43:27,969 - INFO - Message: The repository mapping file is invalid: the JSON does not match required schema (wrong field type/value): The value of "mapping" field is None, but this is not allowed. Ensure that the current upgrade path is correct and is present in the mappings: 7 -> 9
2024-09-17 22:43:27,969 - INFO - Summary:
2024-09-17 22:43:27,969 - INFO - Hint: Read documentation at the following link for more information about how to retrieve the valid file: https://access.redhat.com/articles/3664871
2024-09-17 22:43:27,969 - INFO - 2024-09-17 22:43:08.715608 [ERROR] Actor: repository_mapping
2024-09-17 22:43:27,969 - INFO - Message: The repository mapping file is invalid: the JSON does not match required schema (wrong field type/value): The value of "mapping" field is None, but this is not allowed
2024-09-17 22:43:27,970 - INFO - Summary:
2024-09-17 22:43:27,970 - INFO - Hint: Read documentation at the following link for more information about how to retrieve the valid file: https://access.redhat.com/articles/3664871

Tried cloudlinux7to8 v1.0.2 and v1.0.1 - same result
Feedback archive
cloudlinux7to8_feedback.zip

The issue seems to be due to temporary problems in the elevate package by CloudLinux. Could you check if the problem is still happening?
Currently, we do not manage package versions as we do on the centos2alma side. I will look into whether we can lock versions for cloudlinux7to8.

I have fixed the versions of the elevate packages for cloudlinux7to8 installation in #30 . There should no longer be any unexpected issues with the leapp infrastructure.
If the problem persists, please feel free to reopen the issue.


Residual is_zero for group elements

@Pratyush There is a remaining question about is_zero.
In the recent refactoring, it seems that we replace is_zero to is_identity for the group elements.
However, for pairing-friendly cycles, we still use is_zero:
https://github.com/arkworks-rs/algebra/blob/fc7dc3e2a226eade8cda02f6eb2305bdd90b1da8/ec/src/models/bls12/mod.rs#L111
https://github.com/arkworks-rs/algebra/blob/fc7dc3e2a226eade8cda02f6eb2305bdd90b1da8/ec/src/models/bn/mod.rs#L112
https://github.com/arkworks-rs/algebra/blob/fc7dc3e2a226eade8cda02f6eb2305bdd90b1da8/ec/src/models/bn/g1.rs#L44
https://github.com/arkworks-rs/algebra/blob/fc7dc3e2a226eade8cda02f6eb2305bdd90b1da8/ec/src/models/bw6/g1.rs#L45
https://github.com/arkworks-rs/algebra/blob/fc7dc3e2a226eade8cda02f6eb2305bdd90b1da8/ec/src/models/bw6/mod.rs#L234
https://github.com/arkworks-rs/algebra/blob/8eb4e7a50bc4ad1d3f2724b38e6d5958d03c61df/test-templates/src/groups.rs#L270
Do we plan to keep that, or remove that? I can push a PR.

We changed is_zero to is_identity for Affine elements; for elements of type CurveGroup, it's still is_zero. Should I can change the Affine::is_identity back to is_zero?

I feel for "CurveGroup" we can also do so. The only issue is that it affects many places, right?

I think it depends on the preference of is_zero and is_identity, i.e., the reasons for that.

fwiw is_zero has fewer spurious interpretations.

Jeff, you mean that identity is sometimes also "1" when we talk about a multiplicative group, right?

@Pratyush I feel maybe we should just revert.

Okay, making a PR now.


Report Generation Bugfixes

+ Added -override_env option to flow.tcl to override certain environment variables on a per-run basis
+ Added option to extract inverter cells into the metrics behind an env var (so as not to break compatibility)
+ Klayout requirements added to runtime
~ Regression test outputs renamed, design report now in yaml
~ CI now runs on ubuntu-20.04 specifically, installs pyyaml
~ Fixed make test
~ Rewrote compare_regression_reports in click
~ Fixed compare_regression_design (typo made it not run, aliasing failures!!)
~ Changes to variable names: FINAL_TIMING_REPORT_TAG is now LAST_TIMING_REPORT_TAG, ran every STA
~ Fixed yosys gate type extraction
~ Reverted OpenROAD back to the last known good version

We'll have to investigate the OpenROAD issue that was aliased by my typo.

I'm going to wait for Manar to take a look until I merge this. But I do urge her to be quick about it. This is critical.


stax.BatchNorm incorrect normalization

jax.experimental.stax on current master, line 140 ( BatchNorm function):
z = (x - mean) / (var + epsilon)**2

The square in the denominator should probably be a square root.

Thanks so much for catching this!


Profile page

Describe your changes
This PR sets up the user profile page. This includes the profile overview page, the user availability page, and the settings page.

one can successfully update their availability, onboarding questionnaire, password, user data, and they can delete their account
one can not yet see an accurate list of the events you have attended and events that are upcoming.

Files to review
This PR includes edits to both the front and the backend. The primary files that need review are:

backend: backend/shoulder/s2s/views.py, specifically the ProfileViewSet and the UserViewSet
frontend: 'frontend/s2s/src/app/`, specifically:

_services/auth.service.ts
_services/profile.service.ts
_services/event.service.ts
available-display/availability-display.component.ts
profile/profile.component.ts
profile-availability/profile-availability.component.ts
profile-overview/profile-overview.component.ts
profile-settings/profile-settings.component.ts

How to run this thing
You should have previously created an S2S account when testing onboarding. Through these steps, you can log into your account using your previous credentials, or you can sign up for an account.
You need to serve both the backend and the frontend.
First, ensure you have the .env file needed to run the backend. The file should be saved to backend/shoulder/ShoulderToShoulder/.env and can be found in a pinned message in the backend slack channel.
Open VS code and create two terminals. In the first terminal, serve the backend by running these commands:
cd backend/shoulder
poetry shell
poetry install // optional
python manage.py runserver

These commands will serve the backend to http://localhost:8000, where the frontend directs the api calls.
In the second terminal, serve the frontend by running these commands:
cd frontend/s2d
npm install
ng serve

This will serve the frontend to http://localhost:4200.
Next, navigate to http://localhost:4200/#/log-in to log into your existing account. You will be automatically taken to your profile page.
Alternatively, if you don't have an account, navigate to http://localhost:4200/#/sign-up to sign up for the application. Create an account using this form and work through the onboarding process. After the process is complete, you will be redirected to your profile.
Note: Running ng test will no longer work because of the authentication required for API calls. I am still working on a way to test around this.
To see if your data was updated in the backend, navigate to http://localhost:8000/admin and log in using these credentials:

username: s2sadmin
password: s2sadmin123

Checklist before merging

[x] My code produces no errors when run
[x] My code is linted and properly formatted

Note to other team members that 2 variables need to be added to backend/shoulder/ShoulderToShoulder/.env in order to run this thing:
AWS_STORAGE_BUCKET_NAME=s2s-profile-photos
AWS_S3_REGION_NAME=us-east-2

Error on the frontend when I try to run ng serve:

⠏ Building...
✘ [ERROR] TS2307: Cannot find module '@ngneat/cashew' or its corresponding type declarations. [plugin angular-compiler]

    src/app/_interceptors/cache.ts:4:26:
      4 │ import { withCache } from '@ngneat/cashew';
        ╵                           ~~~~~~~~~~~~~~~~

✘ [ERROR] TS2307: Cannot find module '@ngneat/cashew' or its corresponding type declarations. [plugin angular-compiler]

    src/app/_services/calendar.service.ts:5:26:
      5 │ import { withCache } from '@ngneat/cashew';
        ╵                           ~~~~~~~~~~~~~~~~

✘ [ERROR] TS2307: Cannot find module 'moment' or its corresponding type declarations. [plugin angular-compiler]

    src/app/_services/event.service.ts:4:19:
      4 │ import moment from 'moment';
        ╵                    ~~~~~~~~

✘ [ERROR] TS2307: Cannot find module '@ngneat/cashew' or its corresponding type declarations. [plugin angular-compiler]

    src/app/app.module.ts:11:59:
      11 │ ...rovideHttpCache, withHttpCacheInterceptor } from '@ngneat/cashew';
         ╵                                                     ~~~~~~~~~~~~~~~~

Application bundle generation failed. [5.681 seconds]

One more thing - this wasn't a part of your changes, but a small typo I noticed. Thought it might be easier for you to fix the file and make the migrations since your branch has the most up to date changes:

backend/shoulder/s2s/db_models/event.py , lines 28 and 29 should be opposites:
MinValueValidator(2),
MaxValueValidator(50)])

Hi Sarah, for the first error, you need to run npm install to get those missing packages :)


[Bug]: Tests failed due to error "registerer.enabled is not a function"

Version
27.1.4
Steps to reproduce

Create new angular app with NX 14.0.5
Run tests with command nx run my-app:test

Expected behavior
Jest tests are passed without any errors.
Actual behavior
Tests failed with error
Jest: Failed to parse the TypeScript config file /var/teamcity/agent/work/511c4cac333fab38/libs/***/jest.config.ts
[18:05:11]  TypeError: registerer.enabled is not a function

Debug log
Log file is not created
Additional context
https://stackoverflow.com/questions/68960179/jest-config-ts-registerer-enabled-is-not-a-function-error-when-running-jest-f
Environment
System:
    OS: macOS Sierra 10.12.6
    CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    npm: 8.5.0 - /usr/local/bin/npm
  npmPackages:
    jest: 27.5.1 => 27.5.1

This error isn’t related to ts-jest, the error indicates about something with ts-node. You should check with Jest community or search a bit more on google or debug to see what happened.
In general this error happens when you use Jest config in TypeScript which Jest uses ts-node to process that file.
ts-jest is code transformation which means it only executes on test files or files which are imported by test files, see more at https://jestjs.io/docs/code-transformation


Deferred Loading of Terminology codes does not work

HAPI FHIR 5.0.1
Option setDeferIndexingForCodesystemsOfSize is set to 100.
codesystem.csv contains > 500 codes
After upload I see that TRM_CONCEPT contains only first 100 codes.
In server log I see following:
2021-02-26 01:48:18.179 [hapi-fhir-jpa-scheduler-local-4] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concepts...
2021-02-26 01:48:18.180 [hapi-fhir-jpa-scheduler-local-4] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concept relationships...
2021-02-26 01:48:18.194 [hapi-fhir-jpa-scheduler-local-4] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concepts...
2021-02-26 01:48:18.194 [hapi-fhir-jpa-scheduler-local-4] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concept relationships...
2021-02-26 01:48:18.194 [hapi-fhir-jpa-scheduler-local-4] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concepts...
...
2021-02-26 01:48:18.880 [hapi-fhir-jpa-scheduler-local-1] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concepts...
2021-02-26 01:48:18.880 [hapi-fhir-jpa-scheduler-local-1] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concept relationships...
2021-02-26 01:48:18.881 [hapi-fhir-jpa-scheduler-local-1] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concepts...
2021-02-26 01:48:18.881 [hapi-fhir-jpa-scheduler-local-1] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concept relationships...
2021-02-26 01:48:18.978 [hapi-fhir-jpa-scheduler-local-4] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concepts...
2021-02-26 01:48:18.978 [hapi-fhir-jpa-scheduler-local-4] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concept relationships...
2021-02-26 01:48:18.978 [hapi-fhir-jpa-scheduler-local-4] INFO  c.u.f.j.t.TermDeferredStorageSvcImpl - Saving 0 deferred concepts...
etc.
I waited for some time, but nothing appear in the table

Heya, I'm unable to replicate this locally. Can you provide me with the codesystem.csv (if it isnt private), and I'll try to create a test to replicate? You can reach me at<EMAIL_ADDRESS>if you'd rather not post an attachment to a github issue

Hello, I've tried on 5.3.0 - could not reproduce as well.


Add road selection

[x] Add the inspect button when a road is selected

I'll wait for #111 before merging


Chapter 11 : Exercise 8

Hi @ageron
Cell 138 & 143 - shouldn't we add the AlphaDropout layer with in the for loop?
Thanks
Satya

In the book, the author added AlphaDropout for all hidden layers but it is ok to add the AlphaDropout layer only after the last layer. Indeed the author in the book said (p367):

Moreover,  many state-of-the-art architectures only use dropout after the last hidden layer, so you may want to try this if full dropout is too strong.

Thanks for your question @satya400 , and thanks @Rouizi for the correct answer.
Closing this issue.