when I build the mxnet with openblas, how specipy the openblas path

acturally, I want to disable the openmp in openblas, I used :
 sudo make USE_OPENMP=0 NUM_THREADS=64 NO_AFFINITY=0 DYNAMIC_ARCH=1 CC=gcc-6 FC=gfortran-6

then I compile the mxnet with openblas, my command is
sudo make -j4 USE_OPENCV=0 USE_MKLDNN=0 USE_BLAS=openblas

but it can't work, the output is
 OpenBLAS num_procs:32 parallel_type:2 blas_conf:OpenBLAS 0.3.7.

dev DYNAMIC_ARCH NO_AFFINITY USE_OPENMP SkylakeX MAX_THREADS=64 cpu_core:SkylakeX
the system install the openblas before with USE_OPENMP=1, and should I specipy the openblas path ?

That is actually more a question for the mxnet folks - as far as I can tell there is no option like USE_OPENBLAS_PATH in their config.mk although there is USE_LAPACK_PATH and USE_INTEL_PATH.  If you do not need the system-installed openblas, you could uninstall it or copy your own version in its place. Or if you want to keep both versions, try setting  LD_LIBRARY_PATH=/path/to/your/openblas before running mxnet

Build parameter , according to documentation is
BLAS=Open


Keep getting Could not find property 'configurationContainer'

Keep getting this error when I try and use the robospock plugin in my test project.  I've pretty much used the example build file with a dependency to my main project.  Am I missing something obvious here?

I make new sample project in
https://github.com/Polidea/RoboSpock/blob/master/sample/build.gradle


Add support for P10

Add options to deploy to 1080/1022 systems.

The system_type is already defined in vars.tf, so just set system_type to value 1080 or 1022, the OCP installation will be for P10.

This is not allowed yet via Terraform provider for IBM Cloud. The changes are in and will be published at the end of February. @cs-zhang to use it you need to upgrade the provider version in this project.

The provider version in this project is updated now. It allows p10 systems which needs to be passed with the variable system_type with one of the supported Machine type s922/e880/e980/e1080/s1022.
system_type         = "s1022"


Rename Pid to LocalPid

Does it have a type alias for backwards compatibility?

I don't know how I feel about this one. We definitely need to add a type alias in order to not break existing projects. What is the behaviour when using Env::send or OwnedEnv::send_and_clear with remote pids? Does it crash?
If we can't prevent a remote pid from being passed into a NIF, I don't think renaming it to LocalPid makes much difference here.

I'll add the type alias. You can't create an object of (C) type ErlNifPid that refers to a remote pid, cf http://erlang.org/doc/man/erl_nif.html#ErlNifPid. You can have a term that points to a remote pid, but you can't do much with it apart from passing it around in NIFs.

If we can't prevent a remote pid from being passed into a NIF, I don't think renaming it to LocalPid makes much difference here.

I think renaming helps as it indicates clearly that the PID type is restrictive. I once tried using a remote pid and was confused until I understood that decoding a remote PID is not possible. This would not have happened if the type was named LocalPid.

It would be really nice if we merged this before the next release, the sooner we get the deprecation warning in the better.


Generate records with different types of payloads

Description
This PR makes it possible for the connector to return records with raw or structured payloads. That makes the connector useful in more scenarios.
Quick checks:

[x] I have followed the Code Guidelines.
[x] There is no other pull request for the same update/change.
[x] I have written unit tests.
[x] I have made sure that the PR is of reasonable size and can be easily reviewed.

Thanks for the approval @lovromazgon!


[Test] Fixed compiler script test failures and oddities

PR Details
This fixed the script asset tests that were failing on my local machine. This also addresses a side effect of that failure taking out other tests.
Description
Fixed the console output not getting reset on a test failure, resulting in other tests failing. Now the output is always reset. Further improvements may be to avoid using console, as it's a singleton and they cause exactly this problem.
Fixed compilation failing in dotnet 6, due to missing a reference to an assembly containing Console or System.Runtime. The following dependencies are now used:

System.Runtime.dll - Needed for type Object and Decimal, these are specifically not System.Object, it's something else (I'm not sure what).
System.Console.dll - Needed for System.Console.
System.Private.CoreLib.dll - Needed for System.Object, System.Void, and other things.

My guess is previously these were all covered by mscorelib or a similar framework-ish assembly.
Testing to ensure these assemblies are available on the target platforms likely needs to happen, I'm curious what the CI system thinks of this.
Related Issue
None found, this was an issue found while trying to get the tests running locally.
Motivation and Context
This was found while trying to get the unit tests to run, they did not run successfully on my machine.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[x] I have added tests to cover my changes.
[ ] All new and existing tests passed.
The tests pass locally where as they failed previously, CI verification is needed as this seems like a platform dependency thing.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

No CI system ran... is there a way to kick team city into running a pass over this PR?

It's only active for collaborators/members (for security reason, otherwise anybody could trigger code to run on CI by creating a PR).
I have just added you as an outside collaborator. Not sure if it will start automatically or it needs a new commit to notice the change, let's see.

No dice it seems.

Let's try some things to see if TC will pick this up...


Menu Swapper: Coal bag and Gem bag "Empty" option primary for banking interface.

Is your feature request related to a problem? Please describe.
While mining, bank fillers are often used to deposit quickly. If you are using the coal bag though, you need to right click > Empty. Shift click does not work in the banking interface.
Describe the solution you'd like
Allow "Empty" to be made the primary left click option for the coal bag.
Describe alternatives you've considered
Shift click, but that doesn't work in the banking interface.

https://github.com/runelite/runelite/wiki/Rejected-or-Rolled-Back-Features
We are intentionally not swapping any menu options in bank


Error: Invalid env: env cannot be missing.

Hello,
I am having trouble getting Plaid Link working within my React app. I have a valid link_token that I pass to the usePlaidLink hook to instantiate the handler, along with an onSuccess call – the handler seems to instantiate fine. However, When I call open() on the handler, an error is being logged in the console, and no Plaid modal is shown:
Error: Invalid env: env cannot be missing.
The stack shows the error coming from https://cdn.plaid.com/link/2.0.1002/link-dynamic-loader.js:2
Here is the component, very simple:
import { usePlaidLink } from 'react-plaid-link';

const PlaidLink = ({ token, onSuccess }) => {
  const { open, ready } = usePlaidLink({ token, onSuccess });

  return (
    <button onClick={() => open()} disabled={!ready}>
      Plaid
    </button>
  );
};

export default PlaidLink;

Has anyone come across this? I see no examples of any instantiation requiring an env declaration.
Using v3.1.0. Tried 3.0.0 as a co-worker is having success with that version, but no luck. Same error for the hook and the component version of the package.
Thanks a lot for any help.

Update: was able to get Plaid Link to render by passing in an env key to the hook initialization:
const { open, ready } = usePlaidLink({ token, onSuccess, env: 'sandbox'});
However, this is not documented anywhere.

hi @epleaner Im pretty confused because this shouldn't be required at all. Just the token should be enough, and I have quite a few demo implementations of react-plaid-link where this works fine without env. Glad you were able to get it working! Ill keep an eye out for any other reports of this issue

hi @epleaner I just reproduced this. This happened to me when I initialized Link with token set to something that was not actually a Link Token. It was some other invalid text that Link tries to interpret as a token as fails to parse the environment from it, since tokens are usually in the form link-sandbox-... etc

FWIW I have the same problem and I followed the example code fairly closely.

Ah.  The confusion likely arises due to the link token request returning an object that contains link_token rather than the link_token alone.


Basic OCW configuration

A how-to guide stepping through the basic configuration of an off-chain worker. This includes:

configuring the runtime for an OCW
basic off-chain worker logic
sending transactions back on chain (signed and unsigned with or without signed payloads)

Category: TBD

When completed, replace the recipes reference here
https://github.com/substrate-developer-hub/substrate-docs/pull/468

https://gnunicorn.github.io/substrate-offchain-cb/
https://github.com/paritytech/substrate/tree/master/frame/examples/offchain-worker
Some examples, can be used as a reference.

We have some documentation:
https://docs.substrate.io/reference/how-to-guides/offchain-workers/
Maybe close some of these issues to reduce noise for the new site.


Desync in Raft causes there to be two Leaders at times, if this exists, restart election on both

Issue seems to be solved in actual operation.  Catalog may still have issues, leaving open for now

Catalog now updates Raft members upon leader change, should be okay for now.  Re-open if needed. Closing with commit 66f6c0f411377db551b2a1d33b8bf903447ca475


Release DEMO dataset on Hugging Face

Hi @MozerWang,
Niels here from the open-source team at Hugging Face. I discovered your work through Hugging Face's daily papers as yours got featured: https://huggingface.co/papers/2412.04905.
The paper page lets people discuss about your paper and lets them find artifacts about it (your dataset for instance), you can also claim the paper as yours which will show up on your public profile at HF.
It would be great to host the DEMO dataset on HuggingFace Datasets. It will improve its discoverability and allow people to use the following simple code:
from datasets import load_dataset
dataset = load_dataset("your-hf-org-or-username/DEMO")

Hosting the dataset on Hugging Face will provide better visibility and allow for easier discoverability. We can add tags to the dataset card to make it easier for people to find. We also support WebDataset, which is helpful for image/video datasets.
Are you interested in hosting your dataset on Hugging Face?  We can provide guidance on uploading if needed.
Kind regards,
Niels

Thanks, could you keep this issue open so that we can track it?

Ok, sorry I've been busy recently. Would you like me to keep this issue open until I upload it to Huggingface?

Data have been uploaded to Huggingface! [😊 Data]

Thanks! Although for me it results in a 404

sorry for mistake：https://huggingface.co/datasets/iiiiwis/DEMO

Thank you!


Customized Localstack Testcontainers integration

I suggest we create a custom variant of LocalStackContainer from the Testcontainers project, that addresses two topics:

Simplified AWS SDK client instantiation

The official Localstack container from TestContainers does not provide an easy way to create AWS clients. Each time, credentials, region and endpoint must be set manually:
StaticCredentialsProvider credentialsProvider = StaticCredentialsProvider
		.create(AwsBasicCredentials.create(localstack.getAccessKey(), localstack.getSecretKey()));
S3Client client = S3Client.builder().region(Region.of(localstack.getRegion()))
		.credentialsProvider(credentialsProvider)
		.endpointOverride(localstack.getEndpointOverride(LocalStackContainer.Service.S3)).build();

This topic has been discussed in https://github.com/testcontainers/testcontainers-java/discussions/6429 and Testcontainers team is not interested in simplifying it.
My proposal is to create a custom LocalstackContainer class (name to discuss) that extends org.testcontainers.containers.localstack.LocalStackContainer.
For each service supported in Spring Cloud AWS, there will be a dedicated method to obtain a client:
LocalstackContainer localstack = new LocalstackContainer(
			DockerImageName.parse("localstack/localstack:1.3.1"));

// to get sync client
S3Client client = localstack.client().s3();

// to get async client
S3AsyncClient asyncClient = localstack.asyncClient().s3();

There will be also a generic method that takes any sync or async client builder for any SDK client:
S3ClientBuilder builder = localstack.client(S3Client.builder());
S3Client build = builder.build();

No need to pass the list of services

Testcontainers Localstack integration requires providing a list of services, even though Localstack itself does not require list of services anymore and services are initialized lazily.
A PR changing this behavior has been submitted to Testcontainers project but at this stage it has not been addressed: https://github.com/testcontainers/testcontainers-java/pull/6430

Alternatively, instead of extending LocalStackContainer class, we can copy it and address https://github.com/testcontainers/testcontainers-java/pull/5827
I think such container could or even should be created outside of Spring Cloud AWS project - as a separate repository in awspring organisation.

btw i have a POC already working, so don't jump on implementing it right away ;-)

Testcontainers team is not interested in simplifying it

It very much is. Proposals (that will work with v1, v2 and future versions of the AWS SDK) are very welcome :)

@bsideup There is a discussion here https://github.com/testcontainers/testcontainers-java/discussions/6429#discussioncomment-4772267, where as i understand for valid reasons such methods to retrieve clients are not going to be added. Or have i misunderstood?

Very cool, sounds like an awesome proposal @maciejwalkowiak ! 🚀  Tbh, I think this could potentially also at some point replace our LocalStack Java Utils repo, which currently is no longer well maintained: https://github.com/localstack/localstack-java-utils
The LS Java utils repo ist currently a pretty random (and incomplete) compilation of different utilties:

Factories for creating AWS clients that are talking to LocalStack (for AWS SDK v1 & v2)
simple container abstraction to start a LocalStack container (I think the Testcontainers module is by far superior!)
some utilities to simplify running JUnit tests that leverage LocalStack (LocalstackTestRunner)

To be honest, for most of the points above, other projects exist that are much more sophisticated and better maintained (incl. Test Containers, Spring Cloud AWS). Maybe we can get to a state where we can standardize around using Testcontainers + Spring Cloud utilities, and deprecate or phase out the LocalStack Java utils. :) Would definitely be open to discussing that! Also, @maciejwalkowiak  please let us know if we can help out in any way (e.g., testing changes, different LS configurations, etc). 👍 Cheers

Considering recent changes introduced in Testcontainers 1.18.0 and Localstack module becoming a module maintained by the Localstack company (https://www.atomicjar.com/2023/04/testcontainers-official-modules/), there's no need to provide custom integration.


TAJO-1855: Add document for tablespace configuration to the Configuration chapter.

@hyunsik , @jihoonson
I added a document describing tablespace feature -exactly speaking, for storage-site.json.
Please review that.
Thanks.

Even though, we need more description for them, the current patch looks good to me. Later, we can improve it. I leaved some comments. Please correct them.

Comments are applied.

Good advices.
Comments are applied, @jihoonson

+1 thanks for quick update.


Nested .less imports not being included as CacheDependencies

SquishIt will currently process @import directives within your CSS if you use CSSBundle.ProcessImports(). However, this only handles .css imports - .less @import directives are ignored because by the time the ProcessImport logic fires, dotless has already parsed them and removed them from the CSS it outputs, meaning they don't get picked up by the IMPORT_PATTERN regexp check.
Because of this, .less imports never get treated as CacheDependencies, so any changes to them do not trigger a recompile of the parent CSS automatically.
This pull request adds all .less imports parsed by dotless as CacheDependencies. Any .css imports are left behind by dotless and will therefore continue to be handled by the existing logic.
The logic isn't wrapped up behind the ProcessImports option as there's no point - it's not like you can choose to leave a .less @import directive in your raw output as dotless won't let that happen anyway.

This has been merged, it will be in the next release unless we find problems with it. Thanks!


stop using shadowRoot and access the editor contents directly instead.

The contents of atom-text-editor elements are no longer encapsulated
within a shadow DOM boundary. Please, stop using shadowRoot and access
the editor contents directly instead.
HTMLElement.shadowRoot (/Users/xiazhaoyang/Downloads/tools/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:13:10)
MarkdownScrlSync.getVisTopHgtBot (/Users/xiazhaoyang/.atom/packages/markdown-scroll-sync/lib/utils.coffee:20:34)
MarkdownScrlSync.setMap (/Users/xiazhaoyang/.atom/packages/markdown-scroll-sync/lib/map.coffee:25:14)
MarkdownScrlSync.startTracking (/Users/xiazhaoyang/.atom/packages/markdown-scroll-sync/lib/main.coffee:75:12)
<unknown> (/Users/xiazhaoyang/.atom/packages/markdown-scroll-sync/lib/main.coffee:58:23)
Function.module.exports.Emitter.simpleDispatch (<embedded>:68130:20)


APIView and GenericViewSet implementation

@marcosmoyano

Current coverage is 100.00%

Merging #10 into master will not affect coverage as of dc5adbd

@@            master     #10   diff @@
======================================
  Files            5       7     +2
  Stmts           72     104    +32
  Branches         0       0
  Methods          0       0
======================================
+ Hit             72     104    +32
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of dc5adbd

Powered by Codecov. Updated on successful CI builds.

mmm purple :+1:


feat(core): update extendTheme imports and options

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes
/start features)

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[X] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

The current version has a basic built extendTheme and injects all default theming
Closes #236
What is the new behavior?

Adds dep @chakra-ui/theme-utils to import extendTheme and extendBaseTheme along with currently needs type signatures
Create a base theme object to provide theme tokens without default component theming
Add option in ChakraUIVuePlugin to inject the base theme object instead of the entire theme config
With the new imports, this removes the entire extendTheme.ts from the core.

Does this introduce a breaking change?

[ ] Yes
[X] No

Other information
The inclusion of a baseTheme object in conjunction with extendBaseTheme cuts down on the JS payload and gives the option for the dev to add default component theming as needed.
import ChakraUIVuePlugin, { extendBaseTheme, extendChakra } from "@chakra-ui/vue-next"
import { theme } from "@chakra-ui/theme"
import App from "./App.vue"

const { Button } = theme.components

const app = createApp(App)
  .use(
    ChakraUIVuePlugin,
    extendChakra({
      isBaseTheme: true,
      extendTheme: extendBaseTheme({
        components: {
          Button
        }
      })
    })

Closing in favor of #241


Repeated markers in resolution-markers

If you lock:
[project]
name = "project"
version = "0.1.0"
requires-python = ">=3.12.0"
dependencies = []

[project.optional-dependencies]
cpu = [
  "torch>=2.5.1",
  "torchvision>=0.20.1",
]
cu124 = [
  "torch>=2.5.1",
  "torchvision>=0.20.1",
]

[tool.uv]
conflicts = [
  [
    { extra = "cpu" },
    { extra = "cu124" },
  ],
]
environments = ["platform_system != 'Darwin'", "platform_system == 'Darwin'"]

[tool.uv.sources]
torch = [
  { index = "pytorch-cpu", extra = "cpu", marker = "platform_system != 'Darwin'" },
]
torchvision = [
  { index = "pytorch-cpu", extra = "cpu", marker = "platform_system != 'Darwin'" },
]

[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true

Then the top of the lockfile includes:
resolution-markers = [
    "platform_system != 'Darwin'",
    "platform_system != 'Darwin'",
    "platform_system != 'Darwin'",
    "platform_system == 'Darwin'",
    "platform_system == 'Darwin'",
    "platform_system == 'Darwin'",
]

And the packages have entries like:
[[package]]
name = "torch"
version = "2.5.1"
source = { registry = "https://pypi.org/simple" }
resolution-markers = [
    "platform_system != 'Darwin'",
    "platform_system != 'Darwin'",
    "platform_system != 'Darwin'",
    "platform_system == 'Darwin'",
    "platform_system == 'Darwin'",
    "platform_system == 'Darwin'",
]

@BurntSushi -- I think this is somehow related to #9289. When we first fork, we create three forks:
DEBUG fork: ResolverEnvironment { kind: Universal { initial_forks: [platform_system != 'Darwin', platform_system == 'Darwin'], markers: platform_system != 'Darwin', exclude: {ConflictItem { package: PackageName("project"), conflict: Extra(ExtraName("cu124")) }, ConflictItem { package: PackageName("project"), conflict: Extra(ExtraName("cpu")) }} } }
DEBUG fork: ResolverEnvironment { kind: Universal { initial_forks: [platform_system != 'Darwin', platform_system == 'Darwin'], markers: platform_system != 'Darwin', exclude: {ConflictItem { package: PackageName("project"), conflict: Extra(ExtraName("cu124")) }} } }
DEBUG fork: ResolverEnvironment { kind: Universal { initial_forks: [platform_system != 'Darwin', platform_system == 'Darwin'], markers: platform_system != 'Darwin', exclude: {ConflictItem { package: PackageName("project"), conflict: Extra(ExtraName("cpu")) }} } }

But those aren't "differentiated" in their markers.

Hmmm. This might be a separate issue from #9289. I think the problem here is that we've traditionally assumed that forks are disjoint based on markers. But with forking based on extras, multiple forks can have the same markers. So we might be able to just de-deduplicate them?

Maybe, I’m not sure though… The forks do represent something different than one another, but it’s not captured by the markers. Is that ok?

It should be captured by the conflicts written to the lock file.
I guess I do wonder if perhaps the forks need their markers associated with the specific conflicts that arise for that fork during resolution.

Yeah we may be able to dedupe. It just feels slightly off, so I'm unsure. Maybe just think on it as you solve the deeper issue around transitive deps with conflicts etc.

@BurntSushi -- Do you know how this changes with your PR?

I've thought about this, and while I'm not 100% certain about it, I can't think of a case where we need to record the conflict markers in resolution-markers. So I'm going to submit a PR that just de-duplicates them. At the very least, this can't be more wrong than the status quo.


rbac: add e2e tests for envoy based rbac.

See #6377.
/cc @liminw @ymesika

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: yangminzhu
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yangminzhu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
b82845099059f5dcd5eb3a5f980e22785fc90c1a
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Porting existing data to a new phone

Current Implementation
As of right now, data is only stored locally (as it should be).
Yet, when switching to a new phone, all of the data is lost.
Suggested Enhancement
Upon request of the user, all of the data could be uploaded to a server and downloaded to the new device. This could happen when scanning a QR code.
After the data has been downloaded it should be deleted.
Expected Benefits
This enhancement is a rather "niche" addon. Yet, it can help those setting up a new phone to keep their data to remain informed about their exposure risk. It further encourages downloading the CWA onto the new device.

Google and Apple is not allowing the ENF data on more than one phone. This is the reason why this data is not included in phone backup

Hi, thanks for the clarification!
What I was thinking was something along these lines:

The user requests to port the data
The data is securely uploaded
The user scans a QR Code which starts the download of said data
The data is deleted from the server

Would something like this work or is it too complicated for too little gain in usability?

Only Apple and google has access to this data. I dont think they will introduce such a process

Too bad :(
Should I close this thread then?

I think this can be closed, since there is also already a open issue reg. this: #8.
You could comment your proposal there.


Wrong output size

Noticed in ripemd : the output from the ripemd precompile is actually 32 bytes, but the expected portion contains only 20 bytes.
        contracts_test.go:80: Expected cc5c268f21701af107dd293c23c549d8911f6cea, got<PHONE_NUMBER>00000000000000cc5c268f21701af107dd293c23c549d8911f6cea

Totally forgot about this aspect. I’ll fix it later today and will also make exporter for Geth Json format

@holiman Can you test new JSON vectors (should be in Geth format) along with updated Ripemd vectors?


[SMALLFIX] Consolidate conf validation from different entry point to its init process

So configuration is forced to be checked.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12232/
Test FAILed.

LGTM, is there already unit test coverage for this?

LGTM

@calvinjia  No unit test yet. Actually, currently it is not even possible to insert invalid properties to Configuration singleton as merge or set (only two ways to add to Configuration) are both guarded by validation from PropertyKey.isValid(). So  I am not even sure if we need to keep Configuration.validate. What do you think?

@apc999 Let's open another ticket for investigating if it is ok to remove validate. I think this change is an improvement and will make that easier either way.


Use a smaller error range for no-disabled-tests, just like for no-focused-tests

no-disabled-tests is very noisy because it underlines so much code:

no-focused-tests is much nicer:

a pr is welcome!


Add registration link returns to homepage upon clicking.

I noticed this only happens when index.cfm is in the url.
I have fixed this by wrapping the link in a conditional that checks if index.cfm is turned on . If so it will render the add registration link with index.cfm within it.
Is this a viable solution and if so would you like me to submit a pull request.
Ryan.

I am having an issue not unlike Ryan's
I am using the 62_compat version of the murafw1 with the built in fw 3.1.0 (manual update to 4 would break at plugin install).
index.cfm is ommitted from urls
Running Mura 6.2.6543,ACF 10, Server 2008
Every link takes me back to root when originating url is a few folders deep.
The application.cfc file is the one included in the 62_compat version
Any help would be appreciated.
Thank you,
Chris


route parameters not getting uri encoded

First, love this library. Works well.
I just discovered that the library doesn't really escape route string parameters (any parameters really, but the issue is with strings) - ie with a encodeURIComponent()
for the most part i can just escape them everywhere myself, but it seems like something you could do at the library level. it's also not obvious to me, if it is possible, how to override the parameter handling, in case I wanted to make a hook for this myself.
the only way i can do it is to add a Proxy around the api client, but it doesn't feel particularly good. Also, I wouldn't have the json schema definition in my proxy, so i could only do some global thing for all parameters.
I couldn't find a mention of encodeURIComponent in any issue, so possibly it's not something that bothers other people.

nm, my search had a spelling error.. found the feature enhancement thread 😮💨


Multiple classes in one Java file causing issues.

Sources
ObjC Transpiled Sources
I'm seeing what I believe to be a bug. Included above are the sources to reproduce.

I'm using the command j2objc -use-arc --doc-comments -d ./out ./rxjava-1.1.0-sources.jar to get the above transpiled sources.
I'm then using the command to compile the transpiled sources:
j2objcc -g -ObjC -fobjc-arc -I./out find ./out/*``
I get the following errors:

./out/rx/internal/util/unsafe/MpscLinkedQueue.m:10:10: fatal error:
      'rx/internal/util/unsafe/BaseLinkedQueueConsumerNodeRef.h' file not found
#include "rx/internal/util/unsafe/BaseLinkedQueueConsumerNodeRef.h"
         ^
1 error generated.
./out/rx/internal/util/unsafe/SpscLinkedQueue.m:11:10: fatal error:
      'rx/internal/util/unsafe/BaseLinkedQueueConsumerNodeRef.h' file not found
#include "rx/internal/util/unsafe/BaseLinkedQueueConsumerNodeRef.h"
         ^
1 error generated.

I diagnosed the first error: When examining the java source you can see that MpscLinkedQueue extends the abstract class BaseLinkedQueue, which extends the abstract class BaseLinkedQueueConsumerNodeRef.
Both BaseLinkedQueue and the BaseLinkedQueueConsumerNodeRef seem to be classes in the BaseLinkedQueue.java file, but aren't inner classes. j2ObjC seems to be handling this incorrectly and not generating a file for the class, or if it is generating the class, it's looking for it in the wrong place.

The problem is that those other files are referencing a non-public class in another source file that doesn't have the same name as the class (public classes are required to, but non-public aren't). It's lousy coding style, but legal Java.
We'll have to think about the best way to address this. Java compilers don't care, because they generate class files that aren't that associated with the source file (other than a SourceFile attribute). j2objc keeps all class declarations in the same .h/.m files so build systems can find them (most check file suffixes). The source file isn't available from the type bindings we get from the Eclipse JDT, but maybe if the original source file on the source path we can track it down.
As a workaround, you can move the referenced class (BaseLinkedQueueConsumerNodeRef, in this case) into a Java source file with the same name. Bonus points for getting a pull request to fix that accepted by the RxJava folks!

@tomball Thanks for your response and analysis. I was able to get it working by modifying the source and splitting up everything into multiple files.

I stumbled over the same issue, so thank you both for the question and the response :+1:
@tomball Are there any updates on this on the j2objc-side? I'm using version 1.2 at the moment, so is it possible that this is fixed in 1.3 or higher?

We haven't found any workable solution. Java tools like Gradle and Maven avoid the unknown-number-of-classes-per-source issue blocking on all Java compilation for a library before starting dependent steps.
However, tools like Xcode and Bazel want to be able to determine all build artifacts before running, rather than discover bonus artifacts as they're running (that's why our Xcode rule defines ${INPUT_FILE_BASE}.h and ${INPUT_FILE_BASE}.m outputs).  In Bazel's case, requiring a determinant build graph improves its cache opportunities significantly, resulting in shorter and more accurate builds.
In theory we could fix this issue by emitting additional header files for each package-private type in a shared source file, but that doesn't work because of build tool requirements. If you or anyone else has a better suggestion that will work with determinate build tools, we'd love to hear your ideas!

Looks like this issue is fixed. I tried the steps in the first comment with j2objc-2.5 and I was able to compile the transpiled source. I also inspected MpscLinkedQueue.m and the only includes are:
#include "J2ObjC_source.h"
#include "java/lang/NullPointerException.h"
#include "rx/internal/util/atomic/LinkedQueueNode.h"
#include "rx/internal/util/unsafe/BaseLinkedQueue.h"
#include "rx/internal/util/unsafe/MpscLinkedQueue.h"
#include "rx/internal/util/unsafe/UnsafeAccess.h"
#include "sun/misc/Unsafe.h"


Multiple Config

Hi,
Thanks for all the support so far, this is just a request.
So I was wondering if you could be able to setup multiple config information for the mount, like what rclone do, it’s only one config file but include different mount location and profiles.

Just use the -config string as identified in the README.
That way you could have multiple google drive accounts and mount them using :
plexdrive -config ~/.google1 <mount point>

Hi!
I am working with a friend trying to create a VPS with plexdrive. We want to add both accounts of google drive, his account and my account... We don't know nothing about linux, and is our first time using an VPS (Bytesized) and the PlexDrive. It is possible to add both accounts in the same VPS using Plexdrive?
I would beg all the help and clarification you can give me.
Thanks!

You would need to run two instances of plexdrive, each one would have its
own config dir and Mount point. If you wanted to tie them together so it
looked like a single drive then you need some type of unioning software
like unionfs or mergerfs.
Good luck!
On Thu, Sep 20, 2018, 4:32 AM ronaldiu89<EMAIL_ADDRESS>wrote:

Hi!
I am working with a friend trying to create a VPS with plexdrive. We want
to add both accounts of google drive, his account and my account... We
don't know nothing about linux, and is our first time using an VPS
(Bytesized) and the PlexDrive. It is possible to add both accounts in the
same VPS using Plexdrive?
I would beg all the help and clarification you can give me.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dweidenfeld/plexdrive/issues/12#issuecomment-423112409,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANbricJj3ictx7Hw2n0v6Vk-h1DZFr6-ks5uc2DBgaJpZM4NR3h9
.

Thanks!
No, I prefer that they look like two independent folders.
So to run two instances of plexdrive, what I need to do? Sorry again...I am new with linux VPS... I am following this manual: https://bytesized-hosting.com/pages/plexdrive
Thanks again

And It is possible to install two differents Plex Servers in the same VPS? I mean, we want to share the VPS, but each one want to have his own server and library...
Thanks.

Easiest to manage would be to run them as different users, you can specify the user of your services in systemd config.


os/exec: ExitError does not conform to errors best practice via errors.Is()

What version of Go are you using (go version)?

$ go version
go version go1.17.6 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/[REDACTED]/.cache/go-build"
GOENV="/home/[REDACTED]/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/[REDACTED]/go/pkg/mod"
GONOPROXY="[REDACTED],[REDACTED]/*,github.com/[REDACTED]/*"
GONOSUMDB="[REDACTED],[REDACTED]/*,github.com/[REDACTED]/*"
GOOS="linux"
GOPATH="/opt/dev/go"
GOPRIVATE="[REDACTED],[REDACTED]/*,github.com/[REDACTED]/*"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.6"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/[REDACTED]/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1498898721=/tmp/go-build -gno-record-gcc-switches"

What did you do?

It is impossible to use errors.Is() with exec.ExitError as the result of a command execution. Consider the following:
import (
	"errors"
	"log"
	"os/exec"
)

var err error

func main() {

	var cmd *exec.Cmd

	cmd = exec.Command("somecommand", "somearg1")
	if err = cmd.Start(); err != nil {
		log.Panicln(err)
	}

	if err = cmd.Wait(); err != nil {
		if errors.Is(err, exec.ExitError) { // THIS WILL FAIL SYNTAX, as exec.ExitError.Error() expects a pointer receiver.
			_ = "" // Do something here.
		}
	}
	// ...
}

Because the structure field values that the *exec.ExitError contains are unpredictable, we cannot do a direct comparison by creating an exec.ExitError to compare against.
Because .Wait() (and .Run, etc.) may return errors other than *exec.ExitError, we can't simply assign the return as an *exec.ExitError (and indeed, the returned is an error interface).
This means in order to simply to determine if it's a runtime non-exec.ExitError error or a non-zero status on Linux (et. al.), one must use typeswitching or typecasting, use errors.As and check the bool of that return with an explicitly declared var for the .As(), or just simply use .Run() and hope that your command returns 0.
This is immensely cumbersome for something that oughtn't be, considering the incredible prevalence of os/exec.Command executions in many third-party libraries.
What did you expect to see?
N/A
What did you see instead?
N/A

Is for ExitError wouldn't be useful as it can't convey information specific to the error.
Using As is also not much longer than Is: if e := (&os.ExitError{}); errors.As(err, &e) {}
Closing as working as intended.

Is for ExitError wouldn't be useful as it can't convey information specific to the error.

I'd say differentiating between a golang internal error or a command returning a non-zero is a pretty useful information in and of itself:

If the command starts but does not complete successfully, the error is of type *ExitError. Other error types may be returned for other situations.

https://pkg.go.dev/os/exec#Cmd.Run
Or are we back to "typeswitching is the best practice for determining an error type" and just abandoning errors.Is being current recommendation? If I need specific logic that depends on whether that response came from the command being executed or from go itself, I am expected to then capture that with an errors.As?
That strikes me as backwards, cumbersome, and overcomplicated.

Is/As serve different purposes, see https://go.dev/blog/go1.13-errors


Fix typo in mattermost.adml

Fix typo in mattermost.adml as discovered here by @mark.piermarini

Hello @JtheBAB,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Thanks @JtheBAB :)


compudino

Your checklist for this pull request
Author name
Author: rcyaon
About your game
Tamagotchi copy, taking care of a dino pet! (https://sprig.hackclub.com/share/nDK9HmGRkPYuBeWF8ipU)
How do you play your game?
The directions are on the screen! Press w to receive directions, s to feed, a to play, and i to take care of your pet medically.
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[ N/A ] The image is in the /games/img directory.
[ N/A ] The name of the image matches the name of your file.

Thanks for your PR!

I used the OG new generation Tamagotchi game as inspiration! I also used
some code from the Cookie Clicker game to help with storing variables and
stuff.
On Thu, Dec 7, 2023 at 10:38 Lucas @.***> wrote:

@.**** requested changes on this pull request.
Thanks for PR! Out of curiosity, did you use any game for inspiration?
—
Reply to this email directly, view it on GitHub
https://github.com/hackclub/sprig/pull/1286#pullrequestreview-1770594208,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBPXVD3V6NG65C6K5NORQLYIHWGTAVCNFSM6AAAAABALKD6WGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONZQGU4TIMRQHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Done!
On Thu, Dec 7, 2023 at 11:44 AM Lucas @.***> wrote:

@.**** requested changes on this pull request.
Right:) Please add on top credits to Cookie Clicker:)
—
Reply to this email directly, view it on GitHub
https://github.com/hackclub/sprig/pull/1286#pullrequestreview-1770724240,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBPXVGGLKQD26J4ON3HVF3YIH6ALAVCNFSM6AAAAABALKD6WGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTONZQG4ZDIMRUGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Offset from left

Is it possible to give it some offset from left (if it's not righted) or offset from right (if <side-drawer right>)? I saw the applicable CSS properties, but they are not useful for what I want to achieve.

This is to fulfill my use-case but I think it's a common use-case to have so-called collapsed drawers / sidebars when closed it won't hide away but collapses to a minified version of the drawer / sidebar.

@ozanmuyes This should be possible today, the underlying dialog is exposed as a part, so something like the following should work:
side-drawer::part(dialog) {
  left: 80px;
}

Will that work for your use case?  I'd rather consumers leverage the dialog part over adding more css properties.

I wasn't aware of :part, thanks!


evaluation

System Info
python eval.py --model hf --model_args pretrained=/mnt/sdb/zjk/llama2/llama-recipes/Llama-2-7b-hf,dtype="float",peft=/mnt/sdb/zjk/llama2/llama2-lora --tasks hellaswag --num_fewshot 10  --device cuda:0 --batch_size 8
error：
2024-04-02:06:58:12,156 ERROR    [eval.py:226] An error occurred during evaluation: module 'lm_eval.tasks' has no attribute 'initialize_tasks'
Information

[X] The official example scripts
[ ] My own modified scripts

🐛 Describe the bug
evaluation was changed？
how can i evaluate finetuned model with lora now？
Error logs
2024-04-02:06:58:12,156 ERROR    [eval.py:226] An error occurred during evaluation: module 'lm_eval.tasks' has no attribute 'initialize_tasks'
Expected behavior
evaluate finetuned model with lora and the accuracy of specific dataset with cola

Hello! Have you solved this issue? I have the this question as same as yours. If you have solved this question, Please tell me how to do that. Thanks bro.

Hi @LHQUer @ZHANGJINKUI
what version of lm_eval are you using?


CheckBoxPreference items replaced with a ListPreference in Interaction settings

We could enable both Return to list after delete and Show next message after delete options which was not logical.
I replaced those two options with a simple ListPreference that the user can only select one of them.

Fix #6007

If you look at the code, you'll notice it's more complicated than that. If "return to list after delete" is not enabled, deleting a message could show the next or the previous message. The value depends on the direction you moved in last. And if you haven't moved to the next or previous message since opening the message view, the value of K9.isMessageViewShowNext is used to figure out the direction to move in.

So we can instead freeze the Show next message after delete when the user selects the Return to list after delete
I changed my commit. What do you think?

I think I like your initial idea better. But instead of two options, we need to have three:

Return to list
Show next message
Show previous message

I think I like your initial idea better. But instead of two options, we need to have three:

Return to list
Show next message
Show previous message

Another simple way is defining summaryOff and summaryOn for the messageview_show_next CheckBoxPreference.
Show next message by default after message deletion / Show previous message by default after message deletion

Another simple way is defining summaryOff and summaryOn for the messageview_show_next CheckBoxPreference.

I believe we do this in other places. But it feels weird when the summary changes when a checkbox is toggled (and as far as I can tell it is not recommended by the design guidelines).

I still like the idea with the list (PR welcome). But this is better than what we had before.


我想要自定义NMS，请问如何实现

如题

Sorry，I understand.Next time, I will write by english.

We don't have a unified format for NMS. you can code your logic directly.
Here are the source codes of NMS for reference:
https://github.com/open-mmlab/mmcv/blob/master/mmcv/ops/csrc/pytorch/cuda/nms_cuda.cu
https://github.com/open-mmlab/mmcv/blob/master/mmcv/ops/csrc/pytorch/cpu/nms.cpp
https://github.com/open-mmlab/mmcv/blob/master/mmcv/ops/nms.py

Hello. We will first close this issue. Feel free to reopen it if you have any questions.


refactor: duende 6.1.7

:white_check_mark: Build TheIdServer 7.0.0-prepare-7-0-01-0083 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/9a77d2e426 by @)


Segmentation Fault for Cosmic 71.0.3578.98-2

Describe the bug
Running UC from Contributor Binaries fails with an error thrown by sandbox_linux.cc, followed by a segmentation fault.
Screenshots
[8110:8110:1130/174113.071502:ERROR:sandbox_linux.cc(379)] InitializeSandbox() called with multiple threads in process gpu-process.
Segmentation fault (core dumped)

Environment (please complete the following information):

OS and version: Ubuntu 18.10 Cosmic
ungoogled-chromium version: 70.0.3538.110-3

...fails with an error thrown by sandbox_linux.cc, followed by a segmentation fault.

That error is unrelated to the segfault. If you search around, you will see that's a common error, with no clear solution. See https://github.com/Eloston/ungoogled-chromium/issues/519#issuecomment-425247527

@arturkomoter Are you able to build from source on that machine?

@arturkomoter Are you able to build from source on that machine?

Yes, but the same problem occurs.

I see. Could anyone else with Ubuntu 18.10 cosmic confirm or deny this?

@arturkomoter Have you tried using a new user data directory?

@Eloston like which one? I have built in my user home directory.

@arturkomoter I mean a new Chromium user data directory, via --user-data-dir

I've fallen back to 18.04, and the latest v71 works fine.

Good to hear. Closing.

Version 72 is out. Please let us know if you still get the same issue.

I also get the same issue, including with version 72.

@ratatouyee Do you still get a segmentation fault if you let the browser create a new profile directory?

That was it, I deleted .config/chromium and it worked. Thank you.

For future reference, I'm guessing this is somewhat related to #631 in that some pre-existing settings in the profile directory are causing ungoogled-chromium to segfault. We can use that issue as a starting point to eliminate these kinds of bugs.


DataList element in webview2 opens behind the main window

Describe the bug
I have a html page with the datalist element in it. When I load the html in the webview 2 control in a WinUI application I initially thought the dropdown didn't open but actually the dropdown was opening all along but behind the window. I was able to indentify this when i moved the window. Once i move the window and try to open datalist again the dropdown still open in the last place it opened.
Steps to reproduce the bug
I have created a sample repo to reproduce the issue.

have a html page with the datalist element in it
open the html page in the webview2
click on the datalist element in page

Expected behavior
the datalist dropdown is opened above the window
Screenshots
https://github.com/microsoft/WindowsAppSDK/assets/55207492/76feec64-84fa-4007-9ec5-dcb89718a77c
NuGet package version
Windows App SDK 1.5.3: 1.5.240428000
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Visual Studio 2022-preview, Visual Studio 2022
Additional context
No response

Hi team, Could anyone check on this issue


Activities Import through CSV (simplified)

In Aidstream, organisations should be able to upload their activities through csv. There will be template the organisations has to fill their activities and then upload in the system. There will be two types of template - simplified (which contains the basic and mandatory fields only) and complete (which contains all the fields). This issue covers only the simplifed csv import only.
Fields
The following fields will be included in the CSV template

identifier
title
description-general
description-objectives
description-targetgroups
description-other
planned-start-date
planned-end-date
actual-start-date
actual-end-date
status
country
region
funding-organisation
implementing-organisation
sector

The simplified includes the headers such that codelist are already included like for description, activity-date, participating-organisations. The validation will be in-placed such that one of the 4 descriptions are present for the activity to be valid.
Validation
The following validation rules will be in-placed

activity-identifier
compulsory, will be concatenated with the reporting-org-id to generate iati-identifier. This can't be duplicated in the given file. If the id is already present in the system, aidstream will prompt users whether to update the activity or ignore it.
title
compulsory
description-general
description-objectives
description-targetgroups
description-other
one of the four descriptions is compulsory. Based on the description, decription-type will be assumed and imported into the system
planned-start-date
planned-end-date
actual-start-date
actual-end-date
One of the four dates is compulsory. It checks whether the start-date is less than end-date.
status
should be one of the codes (1-6) from the codelist http://iatistandard.org/201/codelists/ActivityStatus/
country
should be country code from the codelist. If more than one, the multiple codes should be separated by semicolon
region
should be region code from the codelist. If more than one, the multiple codes should be separated by semicolon
funding-organisation
list of funding-organisation names. If more than one, should be separated by semicolon
implementing-organisation
list of implementing-organisation names. If more than one, should be separated by semicolon
sector
list of sector codes (assuming 5 digits DAC codes). If more than one, should be separated by semicolon.

The following process is to be followed during the Activities CSV upload process

Upload the CSV file as per template
Validate the file if the template is followed, if the appropriate codes are used, if the data is valid
If not valid, show the error message with the row number that has the error
If valid, check if the identifiers are already included in the organisation's database
Insert the new activities row (for which identifiers don't exist in the database)
If the identifiers exists, show a page with the list of existing activities (with the checkboxes)
The user will tick the check-boxes for those activities which s/he wants to update. Unchecked activities will not be updated in the system.

The task seems quite big :confused: can it be broken in to smaller parts if possible.


Allow overriding connection while executing the sql magic.

Describe your changes
Allow overriding connection while executing the sql magic. This is used in https://github.com/singlestore-labs/singlestoredb-python/pull/47.
Issue number
Checklist before requesting a review

[x] Performed a self-review of my code
[x] Formatted my code with pkgmt format
[ ] Added tests (when necessary).
[ ] Added docstring documentation and update the changelog (when needed)

I'm not clear how this will have any effect in our notebook container since we are installing the official Jupysql package there.

@kesmit13 We will update the notebook image to install this fork instead of installing from pypi. We have done the same for modifications to dash library: https://github.com/singlestore-labs/singlestoredb-dash.

@kesmit13 We will update the notebook image to install this fork instead of installing from pypi. We have done the same for modifications to dash library: singlestore-labs/singlestoredb-dash.


Non-stackable items being withdrawn in stacks

I really would like to implement this into my server, but items which should not be stackable are able to be put into an ES System, then withdrawn. images attached are what happens when I deposit 2 identical pickaxes, then withdraw them.

Fixed in 0.5.1-SNAPSHOT.


Reference to undefined hideLinkError()

https://github.com/FirebaseExtended/firebase-video-samples/blob/638a615f29233d56d62d3400a44d0926107ae7df/fundamentals/getting-started-with-auth-web/src/index.js#L74

Just comment out the line, this function is not used in the example presented in the video.


Missing required data in copied ServiceTemplate

When I call following methods on copied ServiceTemplate I get nil/false or empty array instead of the value that original has.
display
additional_tenant_ids
resource_actions
picture
tags https://github.com/ManageIQ/manageiq/issues/18450
Related to https://github.com/ManageIQ/manageiq-ui-classic/pull/5667
EDIT: resource_actions is needed to get Provision Entry Point that's required for all types of Catalog Item and Catalog Bundle. Everything else is optional and not needed at this point.
@miq-bot assign @d-m-u
cc @gmcculloug @tinaafitz

Per the original issue (https://github.com/ManageIQ/manageiq/issues/18450) I don't believe this should've extended to tags or resource actions.

@d-m-u resource_actions contains entry points. I can copy an item without saving Provision Entry Point to it but I cannot create a new item without it.  So I think it should be consistent one way or the other. Should it be obligatory or not?

I was explicitly told to not copy resource actions, but if the UI team thinks that the things that were not included in the original are integral to functionality, please feel free to take over this issue.

Description updated.
@miq-bot assign @ZitaNemeckova

I would suggest something like this (except this doesn't work :) )
  def template_copy(new_name = "Copy of " + name + Time.zone.now.to_s)
    if template_valid? && type != 'ServiceTemplateAnsiblePlaybook'
      ActiveRecord::Base.transaction do
        dup.tap do |template|
          template.update_attributes(:name => new_name, :display => false)
++        template.resource_actions.build(:fqname => resource_actions.first.fqname)
          service_resources.each { |service_resource| resource_copy(service_resource, template) }
          direct_custom_buttons.each { |custom_button| custom_button_copy(custom_button, template) }
          custom_button_sets.each { |custom_button_set| custom_button_set_copy(custom_button_set, template) }
        end.save!
      end
    end
  end

@ZitaNemeckova PR #18973 adds the resource_actions and picture to the copy method.  (additional_tenants are derived from the Automate entry-points defined by the resource_actions.)
Display is intentionally set to false on copy to allow an Admin to modify the service_template before making it available for ordering.  See app/models/service_template/copy.rb#L8
Finally, the copy of resource_actions that was referred to above I think was meant to be a reference to service_resource -> resources.  We agreed we did not want to copy these resources in most cases, with the exception of miq_provision_request_template.  See https://github.com/ManageIQ/manageiq/issues/18450
Thanks for pointing out these omissions.


Dismissing RPSystemBroadcastPickerView without selecting Broadcast Extension leaves isScreenShareEnabled() true

Describe the bug
Dismissing RPSystemBroadcastPickerView without selecting Broadcast Extension leaves isScreenShareEnabled() true
SDK Version
2.0.12
iOS/macOS Version
iOS 17.5.1
Xcode Version
15.4
Swift 5
Steps to Reproduce

Setup broadcast extention
Call room.localParticipant.setScreenShare(true), now room.localParticipant.isScreenShareEnabled() returns true
It shows RPSystemBroadcastPickerView, and press anywhere except Picker to dismiss it
I expect room.localParticipant.isScreenShareEnabled() returns false but it returns true

Expected behavior
Dismissing RPSystemBroadcastPickerView should update isScreenShareEnabled() returns false.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Please provide logs if you can.

@hiroshihorie
As RPSystemBroadcastPickerView doesn't seem accepting delegate, we cannot use [RPBroadcastActivityControllerDelegate](https://developer.apple.com/documentation/replaykit/rpbroadcastactivitycontrollerdelegate). What would be the best solution for this? I'm happy to take this but would need some guidance.

@hiroshihorie , been facing the same issue. isScreenShareEnabled() is returned true even if we click on start broadcast of the screenshare prompt. Tried all workarounds but none seem to work.

@jestha166 Unfortunately I couldn't workaround this one as it doesn't emit darwin notification when dismissing picker.
I think this needs library change. Especially when calling setScreenShare, it shouldn't create local video track.

Hi, i'm looking into re-designing the internals. This is on my list since it looks like it's frequently requested.


RFP - Jack2

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://jackaudio.github.io
Direct download URL for the software / installer : https://github.com/jackaudio/jack2/releases/tag/v1.9.12
Software summary / short description:

JACK2 aka jackdmp is a C++ version of the JACK low-latency audio server for multi-processor machines. It is a new implementation of the JACK server core features that aims at removing some limitations of the JACK1 design. The activation system has been changed for a data flow model and lock-free programming techniques for graph access have been used to have a more dynamic and robust system.

Status: Review
https://chocolatey.org/packages/jack

Status: Published
https://chocolatey.org/packages/jack
Can be closed.


svg loader re-arranges internal elements

I'm having a problem with the loader re-ordering the elements in the SVG and, because z-index is implied by order, this is breaking my svg images. I have found a work-around but I shouldn't need to edit my svg to get the loader to work properly.
Original svg:
`

`
This file loads into my react app with the ordering of the elements changed (and thus some background elements move to the foreground). If I wrap the last three path elements in a  tag, the ordering is preserved after load - but needing to arbitrarily edit the svg is a huge problem...

@kmcmichael-twist This is a duplicate of #26 and has been fixed in the v0.4.0 branch.
You can try the latest by npm install svg-react-loader@next to see if your problem goes away (if it doesn't please reopen this issue).
I haven't released v0.4.0 as latest yet because I haven't had the time to generate sufficient test coverage.


Please add scaler slider

Please add the ability to scale the text for accessibility and to help people using laptops. You have already done this for Token HUD scaler.

How is the text for Quick Actions any more or less readable than any other text in Foundry VTT?
If the Quick Actions are too small, then I'd expect nearly all other text in Foundry to also be too small, making a scale slider specifically for the quick actions an unhelpful, partial fix, since the rest of Foundry would still not be very usable.


v2.0.1

Pending https://github.com/conda-forge/kfp-server-api-feedstock/pull/26

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Pending - https://github.com/conda-forge/kfp-server-api-feedstock/pull/26
Would prefer to merge and update all pre-2.0.0 versions of both
https://github.com/conda-forge/kfp-feedstock/pulls
https://github.com/conda-forge/kfp-server-api-feedstock/pulls

@conda-forge-admin, please rerender

@conda-forge-admin, please restart ci

Hi @maximerihouey Ready to review - dependency PR for https://github.com/conda-forge/kfp-server-api-feedstock/pull/26 is complete now. Thank you.

@conda-forge-admin, please rerender

Hi @maximerihouey ,  This is ready to merge, could you please take a look. Thank you and regards.


Address terminate wedge

The message pump was able to wedge itself inserting into the messages
channel. This would lead to the messagesLock being held indefinitely,
blocking the ability to terminate the consumer.

Oh, that's perfect, did not know you could do that. Now if we can get c.consumer.Consume() in the message pump to time out instead of blocking when there are no messages, we can get rid of messageLock entirely (Release just tells messagePump to stop and waits)
The other part of my diff: pulling startMessagePump out of setup still needs to happen though, there's a race condition between Terminate and newClaim in tryClaimPartition (we might start writing to the channel before registering the new claim with c.claims, so Terminate doesn't know it exists when it closes the channel)

Looks good to me


Webiste in redirect loop

I figure I can grab the binaries manually, but I would also like to see what the install script does. I cannot find it in the source code, in any  logical branch.

Same issue here.

Still happening here too

install.py can be found at backend/web/landing/www/install.py

My apologies for this! I've fixed the error and set up monitoring to ensure that I get alerted if this ever happens again.


utl: provide pop_metrics_stage return value

Exposes the return value of pop_metrics_stage to the script.

I'm curious what motivated this change.

@maliberty some changes I'm attempting to make in the SC flow, but also just thought it would be nice to have access to it.


File ".../tensorflow-yolov3/core/utils.py", line 379. ndexError: index 58 is out of bounds for axis 3 with size 25

File ".../tensorflow-yolov3/core/utils.py", line 379, in preprocess_true_boxes
y_true[l][i, j, k, 5+c] = 1
IndexError: index 58 is out of bounds for axis 3 with size 25

Traceback (most recent call last):
File "quick_test.py", line 33, in
boxes, scores, labels = utils.cpu_nms(boxes, scores, num_classes, score_thresh=0.3, iou_thresh=0.5)
File "I:\PythonWorkspace\cetc_image_2_class_001\core\utils.py", line 122, in cpu_nms
filter_boxes = boxes[indices]
IndexError: index 22673 is out of bounds for axis 0 with size 10647

Traceback (most recent call last):
File "quick_test.py", line 33, in
boxes, scores, labels = utils.cpu_nms(boxes, scores, num_classes, score_thresh=0.3, iou_thresh=0.5)
File "/home/uniten/Documents/MyPythonFiles/tensorflow-yolov3-yunyang1994/core/utils.py", line 122, in cpu_nms
filter_boxes = boxes[indices]
please help me to solve this issue


PyLint C0413 warning when using webpack_loader in settings.py

When using get_files() function in the settings.py file import from webpack_loader.utils import get_files should be placed after SECRET_KEY & WEBPACK_LOADER settings. So PyLint generates a warning C0413:Import "from webpack_loader.utils import get_files" should be placed at the top of the module. Please fix initialization of webpack_loader to avoid this warning

I think your best option is to make a PR with the patch, and if you want less chance it breaks again in the future configure some ci.

In general, pylint is too strict to use in settings files. Closing.


ExclamationToken is not stripped from PropertyDeclaration emit with useDefineForClassFields

TypeScript Version:  3.7.2

Search Terms:
Code
// @target: esnext
// @useDefineForClassFields: true
class C {
    p!;
}

Expected behavior:
"use strict";
class C {
    p;
}

Actual behavior:
"use strict";
class C {
    p!;
}

Playground Link: http://www.typescriptlang.org/play/?useDefineForClassFields=true&target=99#code/MYGwhgzhAEDC0G8BQ1XQA4EIDcSC+QA
Related Issues: #35095

Turns out this is not an issue because a definite assignment assertion on properties is only allowed with a type annotation (and that case is already handled correctly).


Update docs.md

Most users will be familiar with BDD-style frameworks and terminology.
Remove repeated assertion. Once is enough.

We've fixed this manually. Thanks.

Looks nice.


tests: dns midstream reversed tests for tcp and udp - v2

Mid-stream, reverse pickup tests for DNS over UDP and TCP.
For Suricata PR:
https://github.com/OISF/suricata/pull/4132

Merged in #125


Installation

Hello Ricardo,
Thanks for this module . I was looking forward an easier solution of implementing Quick Actions with my app. However, I ran into some installation issues. Module is installed correctly and recognised with "import" statement at the beginning of my AppDelegate, but then there are some problems:
Use of undeclared type 'ShortcutType'
Cannot specialize non-generic type 'module<QuickActions>'
Truth be told I'm just following the steps you outlined in the readme file. At this point I'm just guessing which part goes where in my app. Could you please provide and example application for everyone to use as kickstart ?

Can you try with v1.2?
I fixed it with 813eeda.

Even so, I will create an Example project.
Thank you for pointing this out.

Actually it wasn't working with Cocoapods installation. So I imported the file directly and it worked.

What was wrong with CocoaPods?
Can you share the log?

Nothing wrong. I mean it installed correctly and I was able to use import QuickActions statement without any warnings. But it just wouldn't recognise ShortcutType or my instantiating of QuickActions ..
After that I uninstalled cocopod and dragged the file directly into my project and it worked fine

The problem is fixed now. I was missing a couple of access levels: public.
You can go back to CocoaPods. I tested it.

ok, thank you! I also experience a few crashes. notably when not specifying a subtitle for quick action, although it is marked as optional. I had to specify it anyway to avoid crashes

Please open an issue for that crash.
Thank you.


fix mask from threshold logic to mask exactly target number

in the general case, parameter sparsity masks are currently created by masking all values beneath a threshold where the threshold is the k'th largest value in the parameter and k = round(target_sparsity * parameter.size). In general, this gives us a mask at the target sparsity. However, if multiple elements have the same value of the threshold, this could cause the mask to not threshold on the truly desired element.
Further, this could cause reproducibility issues in creating masks with the exact same sparsity from the same recipe but with different weights.  This especially comes up when reloading weights from structured pruned models and we rely on being able to first prune a model to the exact recipe sparsity before loading the thinned weights.
This PR proposes a fix to reconcile the number of pruned values when thresholding fails.
This PR also adds a check that mask creators prune to exactly the target sparsity (note that the StructuredPruningModifier tests will fail on this check prior to the fixes in this PR)
I'm not sure the over_masked case is possible given our setup (should always prune under all values that equal the threshold) am open to taking it out due to this. I also spent more time than I'd like to admit working on a version of the fix using tensor ops, but it usually ended up with extra steps (considering in most models, there will be minimal overlap of thresholds), or still having some off by one issues.

good catch @KSGulin resolved!


DS-479 - bump OAS 2.x to 3.x

Changes

upgraded OAS from 2.x to 3.x (for both schema based and schema free data services)
reordered the list of API's
fixed issues with schema

@jugnu-appveen


Bug report: Building Elem locally

https://github.com/transmute-industries/sidetree.js/blob/main/packages/did-method-element/docs/local-dev.md#start-required-services
^ dev:elem doesn't, exist, did:ganache returns this
Server Error
Error: Error serializing `.method` returned from `getServerSideProps` in "/".
Reason: `undefined` cannot be serialized as JSON. Please use `null` or omit this value.

This error happened while generating the page. Any console logs will be displayed in the terminal window.

I'm on WSL2 (Ubuntu 20), fwiw.

Thanks for the report! This documentation predates some changes that were made to the package.json file in the dashboard package.
The commands after Start Element should be:
$ cd packages/dashboard
$ cp .env.ganache.example .env.ganache
$ npm run dev:ganache

I'll do more testing locally and update the documentation. Let me know if there's anything else that needs to be fixed.

OK great, that gets me to here

But once I'm there, I am getting seeing a lot of Invalid JSON RPC response errors during the minutes-long DID creation in the GUI.  To wit:
info  - ready on http://localhost:3000
error - .next/server/pages/api/1.0/operations.js (43:0) @ Object.InvalidResponse
Error: Invalid JSON RPC response: ""
  41 |     InvalidResponse: function (result) {
  42 |         var message = !!result && !!result.error && !!result.error.message ? result.error.message : 'Invalid JSON RPC response: ' + JSON.stringify(result);
> 43 |         return new Error(message);
  44 |     },
  45 |     ConnectionTimeout: function (ms) {
  46 |         return new Error('CONNECTION TIMEOUT: timeout of ' + ms + ' ms achived');

Similarly, I opened a new WSL2 terminal and tried curl --header "Content-Type: application/json" --request POST --data '{"type":"create",..., and got this back:
<!DOCTYPE html><link href="https://fonts.googleapis.com/css?family=Lato:400,700|Rajdhani:500,700|Roboto+Condensed:400,700" rel="stylesheet"/><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/>

also sometimes this guy 😭

And after enough clicking around and testing, JS itself collapses into a heap

For the RPC error, it looks like that's a result of ganache-cli not running. I think I worded it pretty poorly in the documentation, You'll need two terminals open. One running ganachi-cli to have the RPC open, and one running npm run dev:ganache to run the dashboard.
Alternatively to run ganache-cli in the background, you can run $ screen -dm bash -c "ganache-cli".
For the heap issue, this can be fixed by changing the dev:gache package.json command from
"dev:ganache": "dotenv -e .env.ganache next dev",

to
"dev:ganache": "NODE_OPTIONS=--max_old_space_size=4096 dotenv -e .env.ganache next dev",

I'll include this in my next revision. Testing locally and I think there maybe an issue with the cache not being initialized after that.

Yup, I got the same error once I opened ganache in a second terminal

Tracked down the ipfs issue, which took a little longer to find a "simple" error that I would have liked.
error - TypeError [ERR_INVALID_URL]: Invalid URL: http://<IP_ADDRESS>:5001'
    at new NodeError (internal/errors.js:322:7)

The problem here is that it looks like http://<IP_ADDRESS>:5001' is the URL attempting to be used for IPFS, and it's invalid because it contains a single quotation on the end. The weird part is the value in the .env.ganache.example should be correct as that's the value i've been using in my ropsten tests, which should work. I tried taking out the single quotations in the .env.ganache file
ELEMENT_CONTENT_ADDRESSABLE_STORE_SERVICE_URI=/ip4/<IP_ADDRESS>/tcp/5001

And that worked. Just out of curiosity, I wondered if there was something weird going on in the file, so I opened the working version and the non-working version in a hex editor.

And it looks like the difference is the working version only has '\n', while the non-working version has '\r\n' between lines. So I guess that might cause an issue with how the env file is read. I'll try testing without the quotations and add that to the pull request. Maybe try it locally to see if it solves your issue, I was able to create a did after fixing this on my end.

That worked for me too! Even on the \r\n-strewn hellscape of WSL2! I think when you stitch together this many complex systems it's just inevitable that env variables and line-endings and other devilish devops details sneak in to spoil the fun. Thanks for the rapid turnaround!

Great, it looks like things worked out!


Incorrect Typing Loaded by DBT

Issue description
I'm trying to load a CSV as a seed within my DBT model, but DBT is loading one of my columns incorrectly.
Results
I have a CSV file that looks like this:
category,test_code,start_date,end_date
SAT,SAT3,2019-07-18,
SAT,SATM,2019-07-18,
SAT,SATV,2019-07-18,
SAT,S07,2019-07-18,
SAT,TSWE,2019-07-18,

When I run DBT seed, it loads the first column as a date which gives me an output of:
insert into mytable (category, test_code, start_date, end_date) values
  ('1-01-06','SAT3','2019-07-18',NULL)
  , ('1-01-06','SATM','2019-07-18',NULL)
  , ('1-01-06','SATV','2019-07-18',NULL)
  , ('1-01-06','S07','2019-07-18',NULL)
  , ('1-01-06','TSWE','2019-07-18',NULL)

Failed attempts to solve the issue:

quoting the columns
declaring their typing via the package file
Using the notation mentioned in this issue. That led to an entirely different error.

Other things of note:

Removing the problem column does not negatively effect the others.

Having the first column as lower case makes no difference.
Reordering the columns does not change the behavior
The problem really seems to be with the string 'SAT'. The string 'cat' is fine in its place, and if I add a bogus line of 'stop_the_bug' for the first column with blanks in the other columns, the problem goes away.

System information
The output of dbt --version:
installed version: 0.14.0
   latest version: 0.14.0

Up to date!

The operating system you're running on: Windows
The python version you're using: 3.6.5
The DB target: Snowflake

Thanks for the report @jacobm001 - that's not ideal. See also #999
dbt offloads csv loading to a library called agate. It's frequently overzealous with it's type inference: There's no good reason why SAT should be interpreted as "the first saturday on the calendar AD", which is what I think is happening here. I've also seen the NA country code load as null (as in "not available"), and we just saw a report of dbt trying to load a very long number string as an integer type (eg.<PHONE_NUMBER>3498234) which failed at insertion time.
I think the right solution here is going to be to merge #1541. We can just force agate to treat every column as a string, then leave it to the user to cast the columns as needed in a model. This is a pretty blunt approach, but the alternative is playing "whack a mole" with all of these strange edge-cases.
Let me know what you think about all that!

I think that makes a lot more sense. I never considered it was reading that as Saturday... seems so obvious now that you've pointed it out...
My organization deals with a lot of coded strings that have leading 0s, so I think defaulting everything to a string is likely going to be the solution that causes the majority of people the least amount of pain. I'd much rather have to manually declare types than be at the mercy of agate!

dupe of #999, closing this one. see #1541


Email notify users when they are marked suspicious

Send an email notification when possible to users when we mark them suspicious.

Original
This might be controversial.
I want to have a page at /about/fraud/untrusted/ which simply lists all participants with  is_suspicious is true. As our fraud system evolves (#556), so will this listing. The principle is that untrusted users are announced as such so that false positives have a chance to discover this and attempt to redeem themselves.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Perhaps, we also notify the user (if possible)

+1 to this. Recently interacted with a user at FD who couldn't log in and wasn't notified why--nothing happened when the user tried to log in. Took me a while to think of checking is_suspicious. Showing a message would help.

Perhaps, we also notify the user (if possible) and put a note on their
profile?

If you view the profile when not logged in, it has a pink overlay at the top and the word "Suspicious" below the avatar. That doesn't tell people what to do, however. And since they can't log in, showing them a notification doesn't help.

Recently interacted with a user at FD who couldn't log in and wasn't notified why--nothing happened when the user tried to log in.

For the record, the user turned out to be a true positive. ;-)

Perhaps, we also notify the user (if possible) and put a note on their profile?

As discussed at https://github.com/gratipay/gratipay.com/pull/4188#issuecomment-262073906, I like this solution better than the listing of suspicious accounts, because a) it's much less work for those affected to discover that they're affected, and b) it's more respectful of user privacy. A public listing would only seem to make sense if we're trying to warn others about these users or something like that, but that doesn't seem necessary since suspicious users can't do anything on the site (so there's nothing to watch out for).

I'm fine with that, but I think there should be a message (not just a note on the profile) when someone tries to log in and are denied because they're suspicious. My first inkling in such a case would be that the login form is broken, not that I should go look at my own profile page to see what's up.

I'm fine with that, but I think there should be a message (not just a note on the profile) when someone tries to log in and are denied because they're suspicious.

Okay. I've rescoped this to be about email notification, and reticketed the login prompt as #4199.

Is there an example I can look at for how to send an email?
I see that the templates are in https://github.com/gratipay/gratipay.com/tree/4b5b0b3e287424a3e5b4179d49eddac44064f7e4/emails.

Search for app.email_queue.put.


✨ Added browser support

Addresses #36

Gonna merge this into develop without tests for now. I need to setup some puppeteer tests because the react-testing-library doesn't want to mount correctly...


Show fired Triggers with watch command

As a user, when I send an event into TriggerMesh and I want to debug to understand what is going on, there are two big questions:

Did my event make it into the Broker, and what does it look like?
Did my event match any Triggers, thereby resulting in it getting sent somewhere?

Today watch supports 1. but not 2.
If I see my event in the Broker but I'm not getting the result I expected in an external target, my next question is: is it because the Trigger didn't fire, or is it because my external service didn't correctly consume the message?
By showing which Triggers fired, it narrows down the error space to being something to do with the interaction between target and external consumer. It helps me validate if the Trigger filter correctly matched the event or not.
UX brainstorm
% tmctl watch
2022/10/19 14:57:26 Watching...
☁  cloudevents.Event
Context Attributes,
  specversion: 1.0
  type: my.custom.type
  source: my.custom.source
  id: A234-1234-1234
  time: 2019-10-12T07:20:50.52Z
Data,
   "{\"name\":\"toto\"}"

🔫  Trigger fired
Trigger Attributes,
  name: my-trigger
  filters: {"type"="my-type", "source"="my-source"}
  time: 2019-10-12T07:20:50.53Z

@jmcx I am not very sure about how to add this to the tmctl watch.
I am thinking like in tmctl describe: https://github.com/triggermesh/tmctl/blob/main/cmd/describe/describe.go#L113
We can loop over all the triggers when func listenEvents is executed and log for those triggers that match with the event.
I am not very sure about this, please inform if you have a better approach to implement this.

Hi @NikhilSharmaWe, indeed this may not be immediately solvable (also based on what I've heard from the team). Solving it might require adding new telemetry to the broker, or similar. We have started some design work on a console that could show this sort of info, so I suggest we close this issue in favour of the console approach, which is a work in progress but hasn't left the design stage yet.


Enhancement: Add Collections

Can you please consider adding collections? If you drill into a Library there could be a collections tab which would mimic how plex does it.
Collections tab:

If you click into the collection you get a list of Shows and Movies. A Collection can contain both. If you click into the show/movie then you get its description.

Thanks again and if I can help in any way, please ask.

@RXWatcher
Hey, I decided to refactor this entire repo to a more robust and modern stack. Please take a look at: https://github.com/plckr/plexlv
There are a lot more features than this version, take a look and see what you think.
For now, I recommend deploying it in Vercel


Modify invalid links in README.md

I corrected the wrong link in the gunicorn part.

@komo3344 Thanks!


Description of auto-rotation not clear to me

At: https://docs.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk#enabling-auto-rotation-of-encryption-keys, the text states: When a new version of the key takes effect, the old version should also be available (in enabled state) for at least one subsequent backup job after the key update has taken effect
I am not completely sure how to interpret this: for any backup item or for every backup item?
What I mean is does the old key have to stay enabled until every backup item has had at least one subsequent backup job performed or just until 'a' backup job has been performed?

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

ID: 8cabbe49-425e-0dfe-90b2-32f36e55e771
Version Independent ID: 63b55353-80fa-1f18-11fb-4cea75c7b30f
Content: Encryption of backup data using customer-managed keys - Azure Backup
Content Source: articles/backup/encryption-at-rest-with-cmk.md
Service: backup
GitHub Login: @v-amallick
Microsoft Alias: v-amallick

@AndrevdG Thank you for reaching out to us with your query, our team will review it and get back to you at the earliest.

Sorry for the delay, @AndrevdG ,The text above means:
Old version of the Customer-managed- key is preserved in enabled state for at least the next scheduled backup after the new key has taken effect data encrypted with the old key is needed to recover required to recover the everypted data before the next back-up schedule after the new CMK takes effect.


wip: experimental middleware

https://github.com/remix-run/react-router/blob/brophdawg11/middleware/.changeset/hip-geckos-fold.md

Closing, but if you feel like this is still applicable please reopen and resolve conflicts! 👍


Error when running program.

Hi there
When running the program on Windows Server 2019 with all the tools installed as per the instructions it seems to not run. Attached below is the output.
`C:\Users\Administrator\Desktop\cheggbog-main>py cheggbog.py
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\site-packages\discord\http.py", line 300, in static_login
data = await self.request(Route('GET', '/users/@me'))
File "C:\Program Files\Python39\lib\site-packages\discord\http.py", line 254, in request
raise HTTPException(r, data)
discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\cheggbog-main\cheggbog.py", line 59, in
client.run(key)
File "C:\Program Files\Python39\lib\site-packages\discord\client.py", line 723, in run
return future.result()
File "C:\Program Files\Python39\lib\site-packages\discord\client.py", line 702, in runner
await self.start(*args, **kwargs)
File "C:\Program Files\Python39\lib\site-packages\discord\client.py", line 665, in start
await self.login(*args, bot=bot)
File "C:\Program Files\Python39\lib\site-packages\discord\client.py", line 511, in login
await self.http.static_login(token.strip(), bot=bot)
File "C:\Program Files\Python39\lib\site-packages\discord\http.py", line 304, in static_login
raise LoginFailure('Improper token has been passed.') from exc
discord.errors.LoginFailure: Improper token has been passed.
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000013F2A7CAE50>
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "C:\Program Files\Python39\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Program Files\Python39\lib\asyncio\base_events.py", line 746, in call_soon
self._check_closed()
File "C:\Program Files\Python39\lib\asyncio\base_events.py", line 510, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
C:\Users\Administrator\Desktop\cheggbog-main>py cheggbog.py
File "C:\Users\Administrator\Desktop\cheggbog-main\cheggbog.py", line 44
path = "C:\Users\Administrator\Downloads\screenshots"
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
C:\Users\Administrator\Desktop\cheggbog-main>https://discord.com/api/oauth2/authorize?client_id=896142221424865323&permissions=8&scope=bot
'https:' is not recognized as an internal or external command,
operable program or batch file.
'permissions' is not recognized as an internal or external command,
operable program or batch file.
'scope' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Administrator\Desktop\cheggbog-main>py cheggbog.py
File "C:\Users\Administrator\Desktop\cheggbog-main\cheggbog.py", line 44
path = "C:\Users\Administrator\Downloads\screenshots"
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape`
Not exactly sure what is causing the error. Thanks!

Fixed with \ on download directory

Where exactly did you add the / to? I would like to fix it in the readme. Thanks for finding

For example the directory : C:\Users\Administrator\Downloads\screenshots
I changed it to: C:\Users\Administrator\Downloads\screenshots
The only issue I am having occur currently is that it is saying permission denied with the following output:
 Chegging ['https://www.chegg.com/homework-help/questions-and-answers/1-determine-resultant-following-vectors-150-n-30-250-n-120-350-n-320-q58272885'] Ignoring exception in on_message Traceback (most recent call last):   File "C:\Program Files\Python39\lib\site-packages\discord\client.py", line 343, in _run_event     await coro(*args, **kwargs)   File "C:\Users\Administrator\Desktop\cheggbog-main\cheggbog.py", line 48, in on_message     file = [discord.File(file_loc)]   File "C:\Program Files\Python39\lib\site-packages\discord\file.py", line 73, in __init__     self.fp = open(fp, 'rb') PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Administrator\\Downloads\\screenshots'

Just wondering wouldn't the error indicate that it would be a python permission error or a discord permission error?

I think you are right, when it doesn’t have permissions in the server, it usually gives a 403 error.

I haven’t had any file access permission errors before, maybe it’s a windows server thing. You could try running it as administrator and see if that works.


Where can i find the data/gtea/label.json or data/gtea/mapping.txt file?

I tried to process the gtea data following the instruction using this script:
python tools/transform_segmentation_label.py data/gtea data/gtea/groundTruth data/gtea --mode localization --fps 15
where can i find the mapping.txt file that should be in the path of gtea?

You can get mapping.txt by downloading feature file from ms-tcn.

You can get mapping.txt by downloading feature file from ms-tcn.

but it seems only mapping.txt of 50salads is included in this file?

You can get mapping.txt by downloading feature file from ms-tcn.

sorry about that, i found that mapping file


Where is the documentation to include external stylesheets or scripts?

Hi, I hope you've figured this out by now. using script and link tags is similar to any other tag in ace:
link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"
script src="http://code.jquery.com/jquery-2.1.4.min.js" type="text/javascript"

I've written up an in my fork and I'll submit a PR, but I'm not sure if this documentation will be deemed necessary by the owner. I'll be sure to ref the PR here. I hope this answered your questions.


Upgrade org.pitest:pitest-maven 1.6.2 -> 1.6.3

This PR contains the following updates:

Package
Update
Change

org.pitest:pitest-maven
patch
1.6.2 -> 1.6.3

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade pitest-maven-plugin 1.6.2 -> 1.6.3

See:
- https://github.com/hcoles/pitest/releases/tag/1.6.3
- https://github.com/hcoles/pitest/compare/pitest-parent-1.6.2...1.6.3


Action Tweek: Cancel cast when target is dead

The option to cancel a cast when target is dead, prevents healer from hard raising dead team members.
Does not feel like this is the intended purpose of this.

Should be fixed now.


[FEATURE] Mentor Form Re Design

Description
So we will be diving mentor registration form into 2 step process:

Personal Details
Contact Details

Solution Proposed
No response
Screenshots
No response
Additional Context
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I would like to be assigned this task.
[ ] I am a GSSoC'23 contributor

@anmode @AmanJain18 I want to work on this.

Oh your working on this issue... can we convo before starting this issue. Please ping me on discord if you are up for this.

Ya sure

Should I start working on this?

Will see it after the dashboard.!

@Isha988 if you are ready? can we start working on this before the dashboard? As i Disscussed

Ya I am ready

great then!! I had already given what the form looks like... if you want me to brief you again or have some doubts feel free to ask we can have to meet too. thanks

1.Personal details
image
name
username
email
phone bio
2.Contact details
intern
current status
Linked
Twitter

Session timing  and price

Is this the correct format of pages and should I also include password field?


Release upcoming?

I'm looking for a build with the fix for https://github.com/tsl0922/ttyd/issues/226
Tried the CI builds but it appears they do not include SSL support. Is there a release planned any time soon?

+1

Is this project dead?

https://github.com/tsl0922/ttyd/releases/tag/1.6.2


Is it possible to disable auto-focus?

I need to turn this feature off for my app. This is because I will have the scanner on for long periods and I don't want the continious auto-focus activity damage the motor of my camera. Thanks.

Yes, you can call barcodeView.getCameraSettings().setAutoFocusEnabled(false), before starting the preview.
This has to be done with a custom activity currently, no option for it via the IntentIntegrator.

First, thanks for this super fast barcode scanner solution :-)
I have tried to implement the above mentioned code in a custom activity but I get an error:
The method getCameraSettings() is undefined for the type CompoundBarcodeView

It's defined on the BarcodeView class, try barcodeView.getBarcodeView().getCameraSettings().setAutoFocusEnabled(false).

Thank you.

@rkistner
Your suggestion works perfectly but I have to use this to start the scannner activity, instead of IntentIntegrator:
Intent intent = new Intent(this, ScannerActivity.class);
startActivity(intent);

how can i set auto focus?
Thanks in Advance :)


Bulk delete on devices results in error when a job hook is enabled

Environment

Nautobot version (Docker tag too if applicable): v2.2.2, v2.2.3, and v2.2.3b1
Python version:  3.8.19
Database platform, version: Postgres 13
Middleware(s):

Steps to Reproduce

Create job hook that is called on Delete operations for object type dcim | device
Perform bulk delete operation on any device

Expected Behavior
Device or devices are deleted without any errors and the page loads successfully.

Observed Behavior
Devices are deleted but an error is observed by the job hook operation which prevents the page from loading successfully.  This error does not occur when doing a single delete operation from the device's page.  Additionally, the associated job gets stuck in a pending state:

Exception value
'NoneType' object has no attribute 'id'
Exception raised from this line
https://github.com/nautobot/nautobot/blob/9b7fbbbd3e5bb0b5a1086f48d19cb58ff4e853b1/nautobot/extras/models/jobs.py#L654
Code snippet
https://github.com/nautobot/nautobot/blob/9b7fbbbd3e5bb0b5a1086f48d19cb58ff4e853b1/nautobot/extras/models/jobs.py#L651-L656
Exception invoked by this line https://github.com/nautobot/nautobot/blob/9b7fbbbd3e5bb0b5a1086f48d19cb58ff4e853b1/nautobot/extras/jobs.py#L1173

It appears that #5572 caused this.  In addition to the problem mentioned above, it also results in "bulk delete" change logs that do not have a user associated with them.

I have this working with a change to the following: https://github.com/nautobot/nautobot/blob/9b7fbbbd3e5bb0b5a1086f48d19cb58ff4e853b1/nautobot/extras/utils.py#L640
#change_context.user is empty and user_name is not getting set at all in this new method
oc.user = oc.user_name = change_context.get_user()


Transmission Tree Requires Additional Installation

The "make_transtree()" function within the analysis.py file doesn't work without networkx installed.
Steps to reproduce the behavior:
1. Install covasim in a new virtual environment (python 3.7+)
2. Run a sim like this:

sim = cv.Sim()
sim.run()
tt = sim.make_transtree(to_networkx=True)

Expected:
1.  Sim completes successfully and creates a transmission tree
Currently:
1.  sim.make_transtree(to_networkx=True) yields an error because networkx is not installed
Notes:
If networkx is too large to download initially then there should be documentation such as a prominent comment in the class description. Currently there is a brief reference to networkx in the class description at the end: "If NetworkX is installed (required for most methods), "graph" includes an NX representation of the transmission tree." But, this could be made more noticeable.

This is intentional behavior, so closing for now


RuntimeError: CUDA out of memory

so i reduce my batch_size = 3 and num_worker = 1
then i gave me this error

Hello @ianphoi,
please refer to this issue https://github.com/zhulf0804/PointPillars/issues/2#issuecomment-1155941738.

thank you, solved it

How to run the train.py in a GPU?
Since when I was running the train.py with batch size of 1, it take forever and I notice that it runs on my cpu and not gpu

It runs on GPU by default.

how many epoch does I need to train because the program have been running for 20 hours and it is currently at epoch 63. Should i change my num worker and batch size. Currently my num worker =1, batch size = 2

is it possible to pause the train.py which window can do by pressing control + pause and the change the num worker and batch size then continue to resume the program?

Hi @ianphoi,

160 epochs. It takes about 20 hours to train the model (160 epochs) on one RTX 3090 GPU card with the default parameters.
Not yet. I'll update the code by supporting model resuming in the future.

Best.

Hi @ianphoi,

160 epochs. It takes about 20 hours to train the model (160 epochs) on one RTX 3090 GPU card with the default parameters.
Not yet. I'll update the code by supporting model resuming in the future.

Best.

alright thank you. You mention that  it uses GPU right. But when I was running the train.py, my task manager indicates zero usage of GPU.