terraform plan extermely slow with provider version greater then 7.11.2

We have a pretty big terraform infrastructure for Artifactory :

2095 remote repositories
2095 virtual repositories
2095 permission targets
2095 users

Everything was working great with version 7.11.2 of the provider.
1m30s to perform a plan for example.
But after an upgrade to 8.3.1, the plan operation takes 33 minutes !!
Artifactory Version :7.59.11
Terrform version : 1.5.5
Provider version : 8.3.1
I can't but the files (it's huge and as there is project names in it, I can expose them).
When I am in INFO level I have those warning (already have those in v7.11.2)
2023-09-19T12:02:47.161Z [WARN]  Provider "registry.terraform.io/jfrog/artifactory" produced an invalid plan for artifactory_virtual_docker_repository.<redacted>-virt-docker-unstable, but we are tolerating it because it is using the legacy plugin SDK.
4411    The following problems may be the cause of any confusing errors from downstream operations:
4412      - .project_key: planned value cty.StringVal("default") for a non-computed attribute
4413      - .resolve_docker_tags_by_timestamp: planned value cty.False for a non-computed attribute
4414      - .artifactory_requests_can_retrieve_remote_artifacts: planned value cty.False for a non-computed attribute
4415      - .includes_pattern: planned value cty.StringVal("**/*") for a non-computed attribute
4416      - .default_deployment_repo: planned value cty.StringVal("") for a non-computed attribute
4417      - .description: planned value cty.StringVal("") for a non-computed attribute
4418      - .excludes_pattern: planned value cty.StringVal("") for a non-computed attribute
4419      - .repo_layout_ref: planned value cty.StringVal("simple-default") for a non-computed attribute

Can this degrade performance ?

I was able to locally test this terraform config on a newly install artifactory.
The regression was introduced by v8.1.0 of the provider. With this version terraform is consumming all my CPU cores (16) for very long time (I stop afeter 10 mins)

@jcoste-orange this is caused by the terraform-plugin-framework package. See #757

I still have huge cpu consumption with the latest versions of the provider, even v9.0.0.

@jcoste-orange The performance hit is mostly in the artifactory_permission_target resource. I've been in contact with HashiCorp team but so far no definitely answer.

We are experiencing the same issue.

@jcoste-orange @testworksau I'd encourage you to also voice your experience in this HashiCorp community thread: https://discuss.hashicorp.com/t/performance-issue-with-terraform-plugin-framework/58422 Hopefully TF team will see it and prioritize the fix.

Has there been any progress on this?
We are stuck with v7 because of the performance problems with artifactory_permission_target. Our pipeline in GitLab works great in v7, but is unable to complete a terraform plan with v8 and newer.
Is there any chance you could revert to the legacy SDK for artifactory_permission_target until the underlying problem is fixed, or is there a workaround we can use?

@anstrom

Is there any chance you could revert to the legacy SDK for artifactory_permission_target until the underlying problem is fixed

This has been in my mind for some time now. Initially I was hoping HashiCorp would resolve this issue relatively quickly but this doesn't seem to be the case. So we'll consider reverting back to SDKv2 version since this is the worst offender.

🎉

@anstrom @jcoste-orange @testworksau Let me know how well this work out for you. Hopefully terraform plan should be back to previous performance level.

Terraform plan seems to be performant again with the latest versions on my end.


about the pretrained model

Hello, thanks for your excellent work!
Where can I find the pth model you pretrained such as sceneflow.pth?

Thanks for your answer, my problem is solved！


Report operand version using environment variable set in operator deployment

builds on https://github.com/openshift/library-go/pull/326

/lgtm

e2e-aws:
level=fatal msg="failed to initialize the cluster: Cluster operator kube-apiserver is still updating: upgrading kube-apiserver from 0.0.1-2019-04-03-151049_kubernetes to 1.13.4: timed out waiting for the condition"

And in the most recent e2e-aws-operator too, so probably not just a flake?


Add VCPUSD.txt

VCPUSD is a K-12 School District

This appears to be a secondary school. This gem is for post-secondary schools ;)


NodeMap locking for resource and provider handlers

Implementation of https://github.com/chef/chef-rfc/pull/305 based on current discussion. May need more changes if that RFC is changed before acceptance.
Probably needs some tweaks to the language of the warning, but this is a start and I think implements the right behavior.

Fingers crossed all the tests pass, but I think this is ready to go. The low-level allow_cookbook_override and __core_override__ flags for provides are still there but the normal workflow should be the new preview_resource true flag added to the resource when it goes into Chef core. Opinions?


swift: condense code

It seems to me like duplicating the errorfmt is actually worth it here since it's not huge, and there's a possibility swiftpm could output errors that aren't the same format as swiftc since it also calls other tools


Migration from WiringPI to SoftSPI.

Why would you prefer SoftSPI?

i just saw that some user migrated it and wanted to test and see how it works, but generally in the past wiring-pi did broke very often (on kernel changes) and the repo is not very active https://github.com/fengjiannan2010/wiringpi-node in comperence to https://github.com/jperkin/node-rpio

Have someone tested this and can confirm its working?
i don't have a testing environment running at the moment.
im would be happy to merge if someone can confirm?

Worked for me using the default pins for the pi 3b+
'use strict';

const Mfrc522 = require('mfrc522-rpi');
const SoftSPI = require('rpi-softspi');

//# This loop keeps checking for chips. If one is near it will get the UID and authenticate
console.log('scanning...');
console.log('Please put chip or keycard in the antenna inductive zone!');
console.log('Press Ctrl-C to stop.');

const softSPI = new SoftSPI({
    clock:  23, // pin number of SCLK
    mosi:   19, // pin number of MOSI
    miso:   21, // pin number of MISO
    client: 24, // pin number of CS
});
const mfrc522 = new Mfrc522(softSPI, 22);
setInterval(function () {

    //# reset card
    mfrc522.reset();

    //# Scan for cards
    let response = mfrc522.findCard();
    if (!response.status) {
        console.log('No Card');
        return;
    }
    console.log('Card detected, CardType: ' + response.bitSize);

    //# Get the UID of the card
    response = mfrc522.getUid();
    if (!response.status) {
        console.log('UID Scan Error');
        return;
    }
    //# If we have the UID, continue
    const uid = response.data;

    console.log('Card read UID: %s %s %s %s', Buffer.from(uid.slice(0, 4)).toString('hex'));
}, 500);

output:
scanning...
Please put chip or keycard in the antenna inductive zone!
Press Ctrl-C to stop.
No Card
No Card
No Card
Card detected, CardType: 16
Card read UID: a0d6912f
Card detected, CardType: 16
Card read UID: a0d6912f
Card detected, CardType: 16
Card read UID: a0d6912f

thx @Fantus i will merge & release a new version as soon as i find some time

softpi was released this with https://github.com/firsttris/mfrc522-rpi/pull/8 version 2.0.0


Bright glowstone contains a dark internal ring

Not sure if this duplicates #15 or not

1.7.10 version is out of date, the rework is written from scratch, so I close this bug. Bright light will be dropped.


Added the Business Consultant Prompt

Add New Prompt
You'll need to add your prompt into README.md, and to the prompts.csv file. If your prompt includes quotes, you will need to double-quote them to escape in CSV file.
If the prompt is generated by ChatGPT, please add <mark>Generated by ChatGPT</mark> to the end of the contribution line.
e.g.
"Hello","Say ""Hi"""

[ ] I've confirmed the prompt works well
[ ] I've added Contributed by: [@yourusername](https://github.com/yourusername)
[ ] I've added to the README.md
[ ] I've added to the prompts.csv

[ ] Escaped quotes by double-quoting them
[ ] Removed "Act as" from the title on CSV

Please make sure you've completed all the checklist.

I made the requested changes to both the README.md and prompts.csv files.


How to save the metrics in prometheus more than one day？

Hi, I have run a hipster demo with istio, but the metrics(such as service duration) were saved only one day(look like restart at 12:00 am). I want to know how to modify the configure so that I can save the metrics for longer time?

When installing via helm, use --set prometheus.retention=2d to store data for 2d. Obviously, replace "2d" with your desired retention period.
When you look at your installed Prometheus pod that Istio provides you, it passes in the retention rate in the command line - so presumably if you already have Istio/prometheus installed, you can just edit the deployment yaml and redeploy the pod.

@jmazzitelli Thanks! I have found this parameter in my istio.yaml

Yup  - that's it. If you had passed that --set option to helm when you installed, that "6h" would have been whatever you passed in for its value.
You could alter that "6h" in your yaml and redploy to get a new retention period.

Closing, as this has been answered.

Yup - that's it. If you had passed that --set prometheus.retention option to helm when you installed, that "6h" would have been whatever you passed in for its value.
You could alter that "6h" in your yaml and redploy to get a new retention period.

I have tried to modify the --stroage.tsdb.retention=30d in istio-demo.yaml, and use "kubectl apply -f istio-demo.yaml" to redeploy it, but it seems doesn't work, the data still save only 6 hours.
I found there is a file in  install/kubernetes/helm/charts/istio/charts/prometheus/values.yaml which defined "retention: 6h" , but I think I haven't use helm to deploy my istio.  I just use "kubectl apply -f istio-demo.yaml" to deploy istio.

I think that maybe this values.yaml override my custom args in istio-demo.yaml ?

I have tried to use a small retention (2m), and then I entered the docker container to look the parameter, it looks like that the retention is changed.
But when I open the grafana, the data still remain more than 2 minutes.

I opened the website of prometheus, the website shows storage.tsdb.retention=2m, but the data still more than 2minutes.
The version of prometheus is v2.3.1

@linjinjin123 if you are having prometheus issues around their configuration, I suggest seeking out support via prometheus channels.

@linjinjin123
I recently dug into this for my own purposes and found that a 6 hour retention in prometheus will actually store 11 hours of data:

Prometheus stores data in 2 hour chunks
It stores the 2 hours data it's currently ingesting in memory in 128MB blocks
It also stores a WAL of the current data on disk
After it finishes a 2 hour block, it will wait another hour before running compaction and officially "retaining" the original 2 hour block to disk.  So at this point, it has 3 hours of data but the retention timer has only just started.
Fast forward 6 hours, it's about to write it's 7th and 8th hour of data to disk officially.  If I had to guess, I think it checks for expired data to delete first, and doesn't find any since there are only 6 hours officially retained.  Now it writes another 2 hours so there are 8 hours on disk, but it is still ingesting new data. It has 9 hours of data at this point.
Finally, after another 2 hours for a total of 11 hours, it deletes the oldest two hour block, but that ended up keeping a total of 11 hours of data that could show up on a graph.  If you are looking at your graph at this point, you should see your data drop from 11 hours down to 9.

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingNewSubdomain.html#UpdateDNSParentDomain

have ran out into similar issue with more than 6h of data being held
have used manifest-generate command and have manually edited the yaml
to achieve this;

have searched the repo and found 4 instances of storage.tsdb.retention
will it be possible to change them to "storage.tsdb.retention.time"
the former is bound to be deprecated at some point
just wondering if it might be misbehaving already


aio app run's auto-logger shows last action log for last activation even before the command was run

Describe the bug
The auto action logger will show the last log even if there where no new invocations after the aio app run command was run
To Reproduce
Steps to reproduce the behavior:

aio app init
aio app run
curl the action with the headerX-OW-EXTRA-LOGGING: ON
wait for the expected log message
CTRL + C to kill the run server
aio app run
the old log appears

Expected behavior
only new logs for activation triggered after the aio app run command should show

As discussed with @shazron , this should be fixed with the latest PRs merged and released by @Himavanth .
Let's test it for validation purpose.

This still occurs with the app plugin v5.1.1

PR https://github.com/adobe/aio-cli-plugin-app/pull/323


Atom freezing while writing over selected text

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

[X] Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
[X] Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
[X] Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
[X] Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
[X] Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description

When you select a specific text than start typing over it, Atom freezes.
Text: background-image: url(./img/icones/right-arrow-grey.png);
Happened just now when just writing 500px after deleting 50%.
Steps to Reproduce

Open any file;
Select some text;
Start writing over that text;
BOOM!

Expected behavior:

Overwrite the selected text.
Actual behavior:

Atom freezes, needs to be closed by Task Manager.
Reproduces how often:

Sometimes
Versions

Atom    : 1.39.1
Electron: 3.1.10
Chrome  : 66.0.3359.181
Node    : 10.2.0
apm  2.2.4
npm  6.2.0
node 8.9.3 x64
atom 1.39.1
python 3.5.2
git 2.18.0.windows.1
visual studio 2015
Windows 10 Pro x64
Additional Information

I have some packages intalled, but I disabled all of them and Atom still freezes.
Probably this is an issue with HTML " highlighting.

Can you reproduce this in Safe Mode? I ask because you mention manually disabling packages, which Safe Mode does for you, among other things.

Yes @lee-dohm, it's possible to reproduce in Safe Mode.

Thanks for confirming that @brhaka - I was unable to reproduce on Windows 10 with 1.39.1 but I might be misunderstanding your repro steps.
Can you share more specific steps so I can try again?  It sounds like you can reproduce by selecting and overwriting any text but you also mention HTML specifically so I'd like to confirm.
For example, can you reproduce with these steps?

atom --safe
Create a new file
Paste this content and save as test.html:

<!DOCTYPE html>

    <meta charset="utf-8">
    <title></title>

hello world

Select "hello world"
Type "bye" to overwrite "hello world"

No @rsese, I can't reproduce with these steps. Atom just freezes some times, I don't know exactly why...

Atom just freezes some times, I don't know exactly why...

ahh ok, I misunderstood the information in the issue template (I edited it so it doesn't say "Always" for how often it reproduces).
If you come across specific steps to reproduce with a minimal example, please let us know and we can take a look again.


Auth Integration

It would be great if it could support bridge across H2K & Spring, or figure some way of solving this issue.

Hey guys,
Some thoughts on this. The Functional way to do this would be with an Either Monad, rather than annotations. An Either  can represent one of two states, in this case either Authorised or Not Authorised. We could create a thin wrapper over an Either that makes the intent clear. E.g.
 Authoriser.of(authorisedData)
                 .whenAllowed(this::processData)
                 .whenDisallowd(this::notAuthorisedResponse);

I think it's both clearer and much easier to debug / problem shoot than annotations, as well as being more in fitting with the modern style of programming. Also this might provide some direction for this project as a functional-based REST Microservices library and provide impetus to integrate with Cyclops and simple-react.
td;lr flatMap that shit

Hi,
I've added a sample app for this issue, and am able to replicate (registered Binder not being used).
https://github.com/aol/micro-server/tree/master/micro-core/src/test/java/app/custom/binder/test
This Stackoverflow issue hints that this is an issue with Grizzly and Jersey : http://stackoverflow.com/questions/26527497/jerseytest-running-on-grizzly-does-not-work-with-custom-injection-binders
We could look at migrating to Netty possibly with RestEasy?
Some Jersey / Netty integrations (incomplete)
https://github.com/Graylog2/jersey-netty/tree/master/src/main/java/org/graylog2/jersey/container/netty
https://github.com/dagingaa/netty-jersey2
RestEasy / Netty might be a better bet, if we consider moving to Netty.


fixed NPE in getIndexInfo() for expression index

If expression is used instead of column, then null-name is returned by sqlite

Merged. Thanks!


bracket allows us to observe normal vs abnormal exit

I don't know whether this is desirable or not. Does it suggest that bracket should require IOE? Here's a discussion where I came to the conclusion that it shouldn't.
https://github.com/tomjaguarpaw/bluefin/pull/8
Maybe we should revisit that discussion.
-- ghci> exitedNormally True
-- Normal
-- ghci> exitedNormally False
-- Exception
exitedNormally :: Bool -> IO ()
exitedNormally doNormal = runEff $ \io -> do
  fmap (either id id) $ try $ \ex ->
    evalState False $ \sExitedNormally -> do
      bracket
        (pure ())
        ( \() -> do
            normal <- get sExitedNormally
            effIO io $ putStrLn $ if normal then "Normal" else "Exception"
        )
        ( \() -> do
            unless doNormal (throw ex ())
            put sExitedNormally True
        )

On the other hand, in any specific case of the body of the bracket I do statically know all exceptions that could be raised (there are any number of Bluefin ones, plus IO ones, if I have IOE) so the exact same behaviour can be simulated without bracket. Perhaps this behaviour then isn't so surprising.
The difference is that bracket somehow detects all exceptions, without statically knowing which ones are possible. That also may be fine, because in theory each use of handle (or its equivalents) could introduce into Eff a dynamic collection of all exceptions in scope.
Let's see how this plays out in practice. It seems like we should recommend against observable behaviours in bracket's "after", but maybe it's not so terrible if it happens.
-- ghci> exitedNormally2 True
-- Normal
-- ghci> exitedNormally2 False
-- Exception
exitedNormally2 :: Bool -> IO ()
exitedNormally2 doNormal = runEff $ \io -> do
  fmap (either id id) $ try $ \ex ->
      handle
        (\exval -> do
            effIO io $ putStrLn "Exception"
            throw ex exval)
        (\ex' -> do
            unless doNormal (throw ex' ())
            effIO io (putStrLn "Normal"))


Developer Environment: Easy way to hard-code kotsadm image tags?

When developing KOTS features, it may sometimes be useful to use a development build of a kotsadm or kotsadm-api when developing changes to something like kots install. From what I can tell, there are build tags for changing kotsadm image tags/registries, but i wanted to propose an either way to do this at runtime, perhaps via something like
--kotsadm-api-image=gcr.io/my-project/kotsadm-api:my-tag \
--kotsadm-image=...

or via env vars
KOTSADM_API_IMAGE=...

Thoughts?

ping @divolgin @emosbaugh @laverya @areed @mzaneri

@dexhorthy try this script https://github.com/replicatedhq/kots/blob/master/kotsadm/build-ttl.sh

I'm confused - do you want a way to run kots install with a custom image/tag? Because that already exists: https://github.com/replicatedhq/kots/blob/8ca1807/cmd/kots/cli/install.go#L196
kubectl kots install --kotsadm-tag=alpha, for example

@laverya let me try with those flags, I had tried with build tags but missed these.

@dexhorthy was this solved with the --kotsadm-tag flag?

@marccampbell I never got a chance to check but feel free to close for now (cc @salahalsaleh ) I'll circle back the next time I need to test this.

Thanks @dexhorthy, closing this for now.


Suggestion: add LuaJIT v2 support

From the title above. Will it be compatible with luaJit?
I remember that zoltan is compatible. https://github.com/ranciere/zoltan/issues/1

Yes this is planned, I just haven't gotten around to it yet

The build.zig for ffmpeg involves using the nasm assembler at compile time. This is similar to what is necessary for building luajit. See this for reference https://github.com/andrewrk/ffmpeg/blob/73ac2d6ce909854436a23a26a9f712861eec2b4e/build.zig#L873

How about Luau support? It has additional features such as types. The cmake build script has a way to build it with extern "C".

@theoparis I'm also open to Luau though for me that is lower priority than luajit. Feel free to open a separate issue to track it

I came here to ask about Luau.  At least for my needs, Luau seems like a more useful addition than LuaJIT.  Luau fixes many warts in Lua that have been pretty offputting for me.
I might try out building it and see if I can somehow use it with these bindings.

@natecraddock I think some nice zig integration for luajit ffi would be amazing if we could get that to work
It would make it so nice to use lua with zig

https://github.com/natecraddock/ziglua/pull/53


e2e: fix padder allocationTarget to ensure unfeasible nodes

The test 47591 is expecting the testing pod to land on the target node that is unpadded. The problem is with the CPU request amount of 2, which is available on the target node but also on the other nodes although they are padded. Thus, the test fails because the pod landed on a node other than the target when TMScope is a container.
Ultimately, the reason is the way the padding function works. It creates a guaranteed pod on each numa zone and each pod with the same allocation resources that were set in the Padder field. This means the whole compute the node will have available resources equivalent to <# numa cells per node> * p.allocationTarget.
This is a quick fix for this test flakiness and other possible instances
to reduce the amount of resources forwarded as the allocation target to
guarantee that non target nodes are truely unfeasible.
Adjust the function name reflect that the padding is done per numa zone.

/cc  @rshemtov13

/retest

/retest

let's check if the hypershift lane failure is legit or if it's a flake

ERRO[2024-11-02T16:14:26Z]
  * could not run steps: step ci-e2e-install-hypershift failed: "ci-e2e-install-hypershift" pre steps failed: "ci-e2e-install-hypershift" pod "ci-e2e-install-hypershift-optional-operators-operator-sdk" failed: could not watch pod: the pod ci-op-ff3xt1h2/ci-e2e-install-hypershift-optional-operators-operator-sdk failed after 10m20s (failed containers: test): ContainerFailed one or more containers exited
Container test exited with code 1, reason Error
---
t-stream response.header.date="Sat, 02 Nov 2024 15:56:18 GMT" response.header.etag="\"36e34fa3cddd1337f11a343c4a189d71-3\"" response.header.last-modified="Fri, 25 Oct 2024 18:24:59 GMT" response.header.server=AmazonS3 response.header.x-amz-id-2="rUqVM4p+rq79YOHuyyBw5w7CEcYka9Q/gbNP/OzYL8EEWLqLMwOtXpidfOyZorCj5rf9RAuYM4s=" response.header.x-amz-replication-status=COMPLETED response.header.x-amz-request-id=B31B3REX2KP2KE81 response.header.x-amz-server-side-encryption=AES256 response.header.x-amz-storage-class=INTELLIGENT_TIERING response.header.x-amz-version-id=A9WunBOnylS1EDB38toP9GkaFCaT8FZY response.status="200 OK" size=19080998 url="https://quay.io/v2/operator-framework/opm/blobs/sha256:e901aaae60848708613c89da88566fc7f1c2d98dbc0f59e64ce7780d5a5fbc06"
time="2024-11-02T15:56:18Z" level=info msg="Creating a File-Based Catalog of the bundle \"registry.build05.ci.openshift.org/ci-op-ff3xt1h2/pipeline@sha256:7416d684ebc5a5fc234b42205d23bea7ac4a03147200ad546f5d82dc9a4536cf\""
time="2024-11-02T15:56:19Z" level=info msg="Generated a valid File-Based Catalog"
time="2024-11-02T15:56:24Z" level=info msg="Created registry pod: 416d684ebc5a5fc234b42205d23bea7ac4a03147200ad546f5d82dc9a4536cf"
time="2024-11-02T15:56:24Z" level=info msg="Created CatalogSource: numaresources-operator-catalog"
time="2024-11-02T15:56:24Z" level=info msg="OperatorGroup \"operator-sdk-og\" created"
time="2024-11-02T15:56:24Z" level=info msg="Created Subscription: numaresources-operator-v4-18-999-snapshot-sub"
time="2024-11-02T16:06:07Z" level=fatal msg="Failed to run bundle: install plan is not available for the subscription numaresources-operator-v4-18-999-snapshot-sub: timed out waiting for the condition\n"
{"component":"entrypoint","error":"wrapped process failed: exit status 1","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:84","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2024-11-02T16:06:07Z"}
error: failed to execute wrapped command: exit status 1
---

ERRO[2024-11-02T16:14:26Z]
  * could not run steps: step ci-e2e-install-hypershift failed: "ci-e2e-install-hypershift" pre steps failed: "ci-e2e-install-hypershift" pod "ci-e2e-install-hypershift-optional-operators-operator-sdk" failed: could not watch pod: the pod ci-op-ff3xt1h2/ci-e2e-install-hypershift-optional-operators-operator-sdk failed after 10m20s (failed containers: test): ContainerFailed one or more containers exited
Container test exited with code 1, reason Error
---
t-stream response.header.date="Sat, 02 Nov 2024 15:56:18 GMT" response.header.etag="\"36e34fa3cddd1337f11a343c4a189d71-3\"" response.header.last-modified="Fri, 25 Oct 2024 18:24:59 GMT" response.header.server=AmazonS3 response.header.x-amz-id-2="rUqVM4p+rq79YOHuyyBw5w7CEcYka9Q/gbNP/OzYL8EEWLqLMwOtXpidfOyZorCj5rf9RAuYM4s=" response.header.x-amz-replication-status=COMPLETED response.header.x-amz-request-id=B31B3REX2KP2KE81 response.header.x-amz-server-side-encryption=AES256 response.header.x-amz-storage-class=INTELLIGENT_TIERING response.header.x-amz-version-id=A9WunBOnylS1EDB38toP9GkaFCaT8FZY response.status="200 OK" size=19080998 url="https://quay.io/v2/operator-framework/opm/blobs/sha256:e901aaae60848708613c89da88566fc7f1c2d98dbc0f59e64ce7780d5a5fbc06"
time="2024-11-02T15:56:18Z" level=info msg="Creating a File-Based Catalog of the bundle \"registry.build05.ci.openshift.org/ci-op-ff3xt1h2/pipeline@sha256:7416d684ebc5a5fc234b42205d23bea7ac4a03147200ad546f5d82dc9a4536cf\""
time="2024-11-02T15:56:19Z" level=info msg="Generated a valid File-Based Catalog"
time="2024-11-02T15:56:24Z" level=info msg="Created registry pod: 416d684ebc5a5fc234b42205d23bea7ac4a03147200ad546f5d82dc9a4536cf"
time="2024-11-02T15:56:24Z" level=info msg="Created CatalogSource: numaresources-operator-catalog"
time="2024-11-02T15:56:24Z" level=info msg="OperatorGroup \"operator-sdk-og\" created"
time="2024-11-02T15:56:24Z" level=info msg="Created Subscription: numaresources-operator-v4-18-999-snapshot-sub"
time="2024-11-02T16:06:07Z" level=fatal msg="Failed to run bundle: install plan is not available for the subscription numaresources-operator-v4-18-999-snapshot-sub: timed out waiting for the condition\n"
{"component":"entrypoint","error":"wrapped process failed: exit status 1","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:84","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2024-11-02T16:06:07Z"}
error: failed to execute wrapped command: exit status 1
---

so the lane is flakey? That would be both good and bad

ERRO[2024-11-02T16:14:26Z]
  * could not run steps: step ci-e2e-install-hypershift failed: "ci-e2e-install-hypershift" pre steps failed: "ci-e2e-install-hypershift" pod "ci-e2e-install-hypershift-optional-operators-operator-sdk" failed: could not watch pod: the pod ci-op-ff3xt1h2/ci-e2e-install-hypershift-optional-operators-operator-sdk failed after 10m20s (failed containers: test): ContainerFailed one or more containers exited
Container test exited with code 1, reason Error
---
t-stream response.header.date="Sat, 02 Nov 2024 15:56:18 GMT" response.header.etag="\"36e34fa3cddd1337f11a343c4a189d71-3\"" response.header.last-modified="Fri, 25 Oct 2024 18:24:59 GMT" response.header.server=AmazonS3 response.header.x-amz-id-2="rUqVM4p+rq79YOHuyyBw5w7CEcYka9Q/gbNP/OzYL8EEWLqLMwOtXpidfOyZorCj5rf9RAuYM4s=" response.header.x-amz-replication-status=COMPLETED response.header.x-amz-request-id=B31B3REX2KP2KE81 response.header.x-amz-server-side-encryption=AES256 response.header.x-amz-storage-class=INTELLIGENT_TIERING response.header.x-amz-version-id=A9WunBOnylS1EDB38toP9GkaFCaT8FZY response.status="200 OK" size=19080998 url="https://quay.io/v2/operator-framework/opm/blobs/sha256:e901aaae60848708613c89da88566fc7f1c2d98dbc0f59e64ce7780d5a5fbc06"
time="2024-11-02T15:56:18Z" level=info msg="Creating a File-Based Catalog of the bundle \"registry.build05.ci.openshift.org/ci-op-ff3xt1h2/pipeline@sha256:7416d684ebc5a5fc234b42205d23bea7ac4a03147200ad546f5d82dc9a4536cf\""
time="2024-11-02T15:56:19Z" level=info msg="Generated a valid File-Based Catalog"
time="2024-11-02T15:56:24Z" level=info msg="Created registry pod: 416d684ebc5a5fc234b42205d23bea7ac4a03147200ad546f5d82dc9a4536cf"
time="2024-11-02T15:56:24Z" level=info msg="Created CatalogSource: numaresources-operator-catalog"
time="2024-11-02T15:56:24Z" level=info msg="OperatorGroup \"operator-sdk-og\" created"
time="2024-11-02T15:56:24Z" level=info msg="Created Subscription: numaresources-operator-v4-18-999-snapshot-sub"
time="2024-11-02T16:06:07Z" level=fatal msg="Failed to run bundle: install plan is not available for the subscription numaresources-operator-v4-18-999-snapshot-sub: timed out waiting for the condition\n"
{"component":"entrypoint","error":"wrapped process failed: exit status 1","file":"sigs.k8s.io/prow/pkg/entrypoint/run.go:84","func":"sigs.k8s.io/prow/pkg/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2024-11-02T16:06:07Z"}
error: failed to execute wrapped command: exit status 1
---

so the lane is flakey? That would be both good and bad

Flaky or there was an actual issue that got fix. let's follow along in future PRs


ocio_core_gpu_tests failed

Compile ocio from master without issue, but ocio_core_gpu _tests failed
Testing: ocio_core_gpu_tests
2/3 Test: ocio_core_gpu_tests
Command: "/usr/bin/cmake" "--build" "/home/bernard/Downloads/OpenColorIO/build" "--target" "MainGPUTests"
Directory: /home/bernard/Downloads/OpenColorIO/build/src/core_gpu_tests
"ocio_core_gpu_tests" start time: Sep 02 14:30 EDT
Output:
----------------------------------------------------------
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
[  8%] Built target tinyxml
[ 17%] Built target YAML_CPP_LOCAL
[ 88%] Built target OpenColorIO
[ 91%] Built target OCIOOpenGL
[100%] Built target ocio_core_gpu_tests
Scanning dependencies of target MainGPUTests
[100%] Setting Up and Running OCIO GPU UNIT tests
Segmentation fault
src/core_gpu_tests/CMakeFiles/MainGPUTests.dir/build.make:58: recipe for target 'src/core_gpu_tests/CMakeFiles/MainGPUTests' failed
make[4]: *** [src/core_gpu_tests/CMakeFiles/MainGPUTests] Error 139
CMakeFiles/Makefile2:379: recipe for target 'src/core_gpu_tests/CMakeFiles/MainGPUTests.dir/all' failed
make[3]: *** [src/core_gpu_tests/CMakeFiles/MainGPUTests.dir/all] Error 2
CMakeFiles/Makefile2:386: recipe for target 'src/core_gpu_tests/CMakeFiles/MainGPUTests.dir/rule' failed
make[2]: *** [src/core_gpu_tests/CMakeFiles/MainGPUTests.dir/rule] Error 2
Makefile:286: recipe for target 'MainGPUTests' failed
make[1]: *** [MainGPUTests] Error 2
<end of output>
Test time =   0.15 sec
----------------------------------------------------------
Test Failed.
"ocio_core_gpu_tests" end time: Sep 02 14:30 EDT
"ocio_core_gpu_tests" time elapsed: 00:00:00

OS is Ubuntu 16.04 64 bit. GPU is Nvidia GTX1070 Cuda-9.2

@beew Using a docker image of ubuntu 16, master compiles. In fact, ubuntu 14, 16 and 18 are now compiling.

@beew  Did you have a chance to try again? Can the defect be closed now?

Fixed, and now more information from the author. So I close it.


Alarm refactor

I posted a message on Slack about this one.

Here's my proposal for how to handle alarm sensitivity: https://github.com/dls-controls/cs-web-proto/wiki/Alarm-sensitivity.
It's all in my head so I think I could do it fairly quickly now.

Let's close this one and update the LED branch to the latest on master.


Update to the latest brighterscript version

Thanks! Can you run npm install and commit/push the package-lock.json too?

Whoops, done! Thanks!


Update jackson-databind to 2.11.0

Updates com.fasterxml.jackson.core:jackson-databind from <IP_ADDRESS> to 2.11.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.fasterxml.jackson.core", artifactId = "jackson-databind" } ]

labels: library-update

Codecov Report

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

@@           Coverage Diff           @@
##           master     #173   +/-   ##
=======================================
  Coverage   90.98%   90.98%
=======================================
  Files           8        8
  Lines         122      122
  Branches        6        6
=======================================
  Hits          111      111
  Misses         11       11

Continue to review full report at Codecov.

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


CB-9172 Retry running tests if something went wrong

Retry 'run tests' step up to 3 times to improve test run reliability.
https://issues.apache.org/jira/browse/CB-9172

This is a really hacky way to do retries in Buildbot, and I don't think we should do it. There is a way for this to be done in the script we call, so let's keep it only there.


New prompt for oracle effect investigation in exploit synthesis

Our old prompt used to provide the target properties of the contract in the form of a DCR formalized version of the contract for the LLM. Now, we need to do it as:
Task description
Solidity code
Example exploit

I will refer to the original prompt as "prompt-1" in project org.


override dependency in override configuration file

A dependency that is allowed in the central file should be marked as disallowed in the override file

Branch I2 created


Close connection with Database.

Hi all,
I don't know MongoDB library close connection when browser finish. We find out http://php.net/manual/en/mongoclient.close.php but not exist in documentation.

MongoClient::close() is found in the legacy mongo extension. We did not implement an analogous method in the newer mongodb extension (see: PHPC-535), nor the library.
For reference, connection persistence in the new driver is documented here.


Slight changed in wording and link for code input

Due to the bio edit page being moved to the users profile, I switched the link to the "My Feed" page (https://www.roblox.com/feeds/) due to it being more user friendly in terms of them knowing where to put the code.

This might get changed very soon in the future as we are unaware if a user will be able to change their status in the future.


Modal in mobile is not good.

Need to use bootstrap-modal open source to recode the modal.

It has add scrollable feature in the modal for mobile.


Create explicit uninstall script

Closes #5
Summary
Create the optional bin/uninstall script based on the docs, the asdf-erlang uninstall script (ref), and manual debugging. In essence, the script just removes the directory where the version is installed, because of the use of venv everything related to yamllint is present in that directory.

When this is merged the "Check / Test (uninstall)" job should be made Required.

It is a bit unclear to me whether or not this is really necessary given that running
asdf uninstall yamllint <version>

already works as expected. I suspect the reason this script can be defined is in case there's some cleanup necessary beyond deleting the directory.

Closing this under the assumption that the default uninstall behavior is sufficient for the purposes of this plugin.
Please leave a comment or open a new issue if you disagree.


Upgrade dependencies and switch from alga to simba

The alga crate is deprecated and has been replaced by simba.  This PR also allows the introduction of a much newer nalgebra version which is pretty significant.
Depends on https://github.com/hmeyer/bbox/pull/3 and https://github.com/hmeyer/implicit3d/pull/2 for now, after which the [patch] section will be removed

Build currently fails with this PR. Can you please take a look?

See https://github.com/hmeyer/implicit3d/pull/2#issuecomment-864402971


variable explorer not working with netCDF4 python library

From<EMAIL_ADDRESS>on 2012-04-19T09:31:39Z
What steps will reproduce the problem?

Open a python script using netCDF4 python library in the editor
Select the Variable explorer View
Run the script (using F5) What is the expected output? What do you see instead? I expect to see the variables in the variable explorer but Spyder window freezes, the time counter of the console view stops.
If I do the same, while not having the variable explorer window opened, no problem occurs. As soon as i try to see the variable explorer, it freezes. What version of the product are you using? On what operating system? I'm using Spyder 2.1.9
Python 2.7.0, Qt 4.7.1, PyQt4 (API v1) 4.8.3, Python netCDF4 '0.9.8'  on Linux (Opensuse 11.4)

Please provide any additional information below
. Find attached

the spyder internal console error message (I only can get a screenshot)
an example script example.py
a sample netcdf file netcdf_file.nc

Attachment: bug_report.png example.py netcdf_file.nc
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=998

From pierre.raybaut on 2012-04-22T00:36:57Z
This issue was updated by revision 6c7945f97adb .
Status: Fixed

From<EMAIL_ADDRESS>on 2012-04-24T01:41:11Z
Thank you for the quick fix !
It is still not working for me, see the attached file for error messages.
Attachment: bug_report2.png


Is there a bare minimum package.json for Angular 2 to work with in the docs?

The Quickstart already comes with loads of modules not related to Angular 2.
My learning approach is to start with the bare minimum and to add required modules when I need them. This way I learn which modules belong to which kind of purpose.
Can we have sort of a Quickstart beginning with nothing but the bare minimum to add Angular 2 to an existing project?
I would expect this to be a single dependencies: { "@angular/common": "~2.0.2" } line.

at dependencies, with the exception of angular-in-memory-web-api they are all related to angular 2. No exception (perhaps core-js, but you still need that for older browsers).

I comprehend. But aren't they optional? I learned that all these modules are only required if you require their special services. So the bare minimum should be a single line of dependency, shouldn't it?

You need yes or yes:
zone.js
@angular/common
@angular/core
@angular/compiler
@angular/platform-browser
@angular/platform-browser-dynamic
system.js / webpack / ...
es6-shim / core-js
reflect-metadata
rxjs
The other are optional.

Are you sure these are the absolutely bare minimum dependencies?
system.js / webpack / ...
es6-shim / core-js
are optional, aren't they?

We can keep this conversation to all eternity, but that is what we have.
You need a module loader (system.js or webpack or ...) and you need es6-shim if you want to target the most common browsers. Es6-shim is contained in core-js, so one or the other.
You could say that es6-shim / core-js is optional, but it is not a good idea to leave it out.
I am going to close this tho.

Well, the main question is: What is required for Angular 2 and what it a personal bias/preference?
I have a strong feeling that Angular 2 keeps people from using it because it comes with to much personal biased modules which interfere with others' preferences.
There should be a bare minimum solution, requiring folks to only add one single dependency to their package.json file. If that single module required other modules compulsively, then that single module should come with its own package.json file, downloading all required additional npm packages.
We can continue this discussion on Gitter, if you prefer.


Ability to evaluate Postfix expressions

Most of this was done prior to the assignment spec being released. Tests just need written for the new operators (Q, C, <, and >).

Closed in 31cb7c32b67c566fe8512ed81cf3573f4eaafca3


Spanish Dialogues

We replaced the inverted commas for dashes, and applied the rules of Spanish dialogues (we added spaces when needed.)

Wow this is fantastic! I was just thinking about this project and hoping you’d be able to come back to it! I’ll verify everything is working and get this published soon. Thank you again!


Add tests for the RStudio user and group

Description

Adds UID and GID test to check the correct users and groups
Adds explanations in the tests as to why we're ammending groups in the Dockerfile (compatability)

Trello Ticket
RStudio Test Suite

@davidread I've added some comments in the tests about the UID for rstudio and how we're actually creating a user on boot.
I think this is probably worth looking at long term.

 Add a set of useful RStudio tests


adds overscroll-behavior

cool component! while trying the demo I noticed my scroll gestures leaked out of the carousel element scrollport and thought i'd suggest fixing that. here it is =)
https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior

Awesome—thank you! Shipping with v1.0.6

v1.0.6 is shipped.


enhancement(CLI): Use DefaultText to avoid hard coded default strings

Description
Now we hard coded some default text. E.g.
https://github.com/tensorchord/envd/blob/main/pkg/app/build.go#L39
		&cli.StringFlag{
			Name:    "tag",
-			Usage:   "Name and optionally a tag in the 'name:tag' format (default: PROJECT:dev)",
+			Usage:   "Name and optionally a tag in the 'name:tag' format",
			Aliases: []string{"t"},
+			DefaultText: "PROJECT:dev",
		},

(default: PROJECT:dev) can be removed if we use DefaultText

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

can u assign it to me

/assign @Gui-Yue
Thanks!

There's still one left here.

Thanks, I forget it.

I will help to fix it.

Got it.

Thanks

Can I take the remaining one?

/assign @gyli


Feature multiple primary keys and cleanup

Changes Linting:

format with ruff line length 120 (before there was an inconsistent limit to line length 99)
don't set explicit the wrong line length

Big Changes:

multiple primary keys are now supported
add to_python
global constraints
don't set attributes three times (model) only 2 times (validation, overwrite dict)

Changes from commit

add to_python
replace __set__ with to_python and advise against __set__ (can have
bad side-effects)
allow multiple primary keys (ForeignKeys not supported yet to such
models)
global constraints
pk is now a reserved field
compositeField have a redirect mode for primary keys
fix: alias always None
fix: spelling

TODO:

cleanup
more tests
ForeignKeys with multiple primary columns
fix TODOs
remove embedded_fields_initialized workaround
add test for ManyToMany's Related Manager is not provided on object

This is required as base for the further development.
The linting changes can be cherry picked, it was accidentally that I found out that the settings differ

I need some help with the TODOs

merge as base? Or wait for the foreign keys to work and some TODOs resolved

Lets point to release @devkral and complete the changes


Make clients workspace aware when run on remote system

On a remote system, using the SystemLink client to create data without explicitly passing the workspace_id results in data created under default workspace and often experience not authorized error if the remote system is not part of the default workspace.
The LabVIEW SystemLink client API uses the workspace_id from the SystemLink Client, whereas the Python equivalent doesn't.
The remote system is aware of the workspace it belongs to through the SystemLink Client application's HTTP configuration.
It would be nice to have the clients use the workspace_id of SystemLink Client (if available) as default instead of the default workspace.

@santhoshramaraj, API keys can carry a default workspace that is different from the "global" default workspace. When a system becomes managed by a SystemLink Server, the API key that gets created for that system has its default workspace set to the workspace that the system is in. So any requests made using the system's API key that don't specify a workspace should already go to the system's workspace without any client API modifications. As far as I know, the LV client API doesn't do anything special in this regard: it simply uses the system's API key without specifying a workspace.
Are you seeing different behavior where a system's API key doesn't have the correct default workspace assigned to it? Or is it specific to a service that you're trying to call?

@spanglerco Your explanation holds good with the nisystemlink-clients-python when used with SystemLink Client application on a remote system - verified using the DataFrame example.
I raised this request based on a past debug with the customer on SLS connectivity.
The following snippet in the LV APIs made me think the workspace.id was read from the salt-grains whereas it was "" at runtime on the remote system.

Does this concept of API key's default workspace apply to all services and queries when workspace is empty?

@santhoshramaraj Yes, it should apply to all services because it's the auth service that implements it. The auth service is what every service calls to translate API keys into actions that users are allowed to do and in which workspaces. If you see any services where this isn't working, that should be considered a bug in the service.


fix dead loop in StateEventResponseWorker

close #6112

Codecov Report

Merging #6281 (d67d6ac) into dev (6497231) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev    #6281      +/-   ##
============================================
- Coverage     38.82%   38.71%   -0.11%
+ Complexity     3219     3213       -6
============================================
  Files           637      637
  Lines         25322    25323       +1
  Branches       2752     2752
============================================
- Hits           9830     9805      -25
- Misses        14611    14640      +29
+ Partials        881      878       -3

Impacted Files
Coverage Δ

...r/server/master/processor/StateEventProcessor.java
0.00% <0.00%> (ø)

...ter/processor/queue/StateEventResponseService.java
0.00% <0.00%> (ø)

...er/master/processor/queue/TaskResponseService.java
40.00% <0.00%> (-15.30%)
:arrow_down:

...rver/master/processor/queue/TaskResponseEvent.java
93.54% <0.00%> (-6.46%)
:arrow_down:

...r/plugin/registry/zookeeper/ZookeeperRegistry.java
39.00% <0.00%> (-5.68%)
:arrow_down:

Continue to review full report at Codecov.

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


[Important] Development Discontinuation Announcement

Dear users,
I want to take a moment to announce that I will be discontinuing the development of this Obsidian plugin, and I will also be archiving this repository.
Currently, I am unable to dedicate enough time to the development of this plugin, and I expect this situation to continue for the foreseeable future. Additionally, I have decided to abandon my attempts to build a PKM (Personal Knowledge Management) system using Obsidian and have started using other products that offer a better overall experience.
I apologize for the delay in this announcement, as there was a possibility that I might return to Obsidian in the future.
I want to express my heartfelt gratitude to each of you who have used this plugin and provided valuable feedback. Your support has meant a lot to me, and I truly appreciate the community that has formed around this plugin.
For those who resonate with this plugin and wish to continue using it, you are welcome to fork the repository and adapt it for your own needs.
Thank you once again for your understanding and support. I wish you all the best in your future endeavors.
Best regards,
Hideyuki
(This message was generated based on a Japanese text. Please forgive any awkward phrasing.)

If anyone knows of any plugins that could serve as alternatives to this one, I would greatly appreciate your comments and suggestions.

Hi, I'm the author of Vertical Tabs for Obsidian. Your work has inspired me to develop a new tab manager from ground up. Although Vertical Tabs is not a fork of hdykokd/obsidian-vertical-tabs-view, the design and many feedbacks gave me valuable help for understanding the users' demands. I feel I owe you (@hdykokd) a personal "thank you".
I'm actively maintaining Vertical Tabs. It provides richer functionalities such as bookmarking, tab grouping, focus mode, etc. More importantly, I have addressed many issues posted in this repo, such as,
#92, #88, #85: tab order is not in sync and persistent
#91: autoscroll conflicts with middle clicks
#93: empty tab names in the newest version of Obsidian
For users who want to switch to Vertical Tabs as an alternative, please uninstall this plugin and relaunch Obsidian before installing the new one.


[#131876783] Manage datadog secrets in one script

#131876783 Migrate paas-cf to paas-bootstrap
What?
Add logic to allow manage datadog secrets during bootstrap and from the pipeline using S3 buckets.
See commits for details.
Note: I personally consider this problem could be solved by using a centralised Key-Value store independent of the platform, like credstash or so. But that implementation is out of the scope.
How to review?

Check the code makes sense.
Remove the datadog secrets from the state bucket aws s3 rm s3://gds-paas-${DEPLOY_ENV}-state/datadog-secrets.yml

Try to apply the pipeline with datadog, the credentials should be set from paas-pass
Upload the datadog file with make dev upload-datadog-secrets DEPLOY_ENV=...
Apply the secrets again, the credentials would be loaded from the bucket.

Who?
Anyone but @keymon or @alext

My bad, check now.
On 6 January 2017 at 14:30, Dan Carley<EMAIL_ADDRESS>wrote:

@dcarley commented on this pull request.
In scripts/manage-datadog-secrets.sh
https://github.com/alphagov/paas-bootstrap/pull/33:

+datadog_api_key: ${DATADOG_API_KEY}
+datadog_app_key: ${DATADOG_APP_KEY}
+EOF

aws s3 cp "${secrets_file}" "${secrets_uri}"
+}

+retrieve() {

setup_env
if aws s3 ls "${secrets_uri}" > /dev/null ; then
secrets_file=$(mktemp -t datadog-secrets.XXXXXX)
trap 'rm  "${secrets_file}"' EXIT

aws s3 cp "${secrets_uri}" "${secrets_file}"
DATADOG_API_KEY="${DATADOG_API_KEY:-$(awk '/datadog_api_key/ { print $2 }' "${secrets_file}")}"
DATADOG_APP_KEY="${DATADOG_APP_KEY:-$(awk '/datadog_app_key/ { print $2 }' "${secrets_file}")}"

Yeah, I think it'll be OK.
Looks like the change wasn't pushed though? GitHub seems to have collapsed
the wrong comment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alphagov/paas-bootstrap/pull/33, or mute the thread
https://github.com/notifications/unsubscribe-auth/AARF4BOsoiawJ9B0fKBOZWOrFhwZkVksks5rPlALgaJpZM4Lb2pI
.

--
Regards
Hector Rivas | GDS / Multi-Cloud PaaS

Works and LGTM


no data classes generated

do ##class(dc.data.medical.Utility).CreateTable()
Is never called during docker build or docker run

Issue is fixed


Wrong step increment for number slider

Here is a small piece of code:
const gui = new GUI(); const params = { num: 2760 }; gui.add(params, 'num', 2200, 3000, 80);
The slider should consists of numbers starting from 2200 to 3000 with a step of 80, however  it twists the sequence from its second number [2200, 2240, ... 3000], while it has to be [2200, 2280, ... 3000].
The right sequence which has to be at slider is 2200, 2280, 2360, 2440, 2520, 2600, 2680, 2760, 2840, 2920, 3000.
I have tried to set a step parameters with gui.add(params, 'num', 2200, 3000, 80).step(80); with same glitchy result.

Hi! Thanks for reporting this. Right, I think this is because the range you're giving isn't divisible by step. But the desired behavior you're describing is very reasonable. I'll look into this.
Thanks! -g


Constraint exception when inserting

I am trying to write a performance test for your library, but currently fail to insert elements due to constraint exceptions. I feel like I do not understand correctly how to insert/update existing entity objects.
The code affected is in greenrobot/android-database-performance#7.
The entities are generated like:
protected static SimpleEntityNotNull createEntity(long id) {
        SimpleEntityNotNull entity = new SimpleEntityNotNull();
        entity.setId(id);
        entity.setSimpleBoolean(true);
        entity.setSimpleByte(Byte.MAX_VALUE);
        entity.setSimpleShort(Short.MAX_VALUE);
        entity.setSimpleInt(Integer.MAX_VALUE);
        entity.setSimpleLong(Long.MAX_VALUE);
        entity.setSimpleFloat(Float.MAX_VALUE);
        entity.setSimpleDouble(Double.MAX_VALUE);
        entity.setSimpleString("greenrobot greenDAO");
        byte[] bytes = { 42, -17, 23, 0, 127, -128 };
        entity.setSimpleByteArray(bytes);
        return entity;
    }

Then they are inserted like
DatabaseSource source = new DatabaseSource(getApplication(), Models.DEFAULT, DATABASE_VERSION);
Configuration configuration = new ConfigurationBuilder(source, Models.DEFAULT).build();
BlockingEntityStore<Object> data = new EntityDataStore<>(configuration).toBlocking();

// TODO: NOT NULL constraint failed: SimpleEntityNotNull.simpleByte
data.insert(entities.get(i)); // entites = List<SimpleEntityNotNull>

I saw that in other issues (#32, #33) inserting entities was done pretty much the same. As the documentation is spotty in that regard I hope you can point me into the right direction.

Oops, here is one stacktrace: http://pastebin.com/x9EVxBmn

Hi thanks for reporting. The problem is there is primitive mapping for byte yet, simple to fix will be added tomorrow.

Please retry with 1.0.0-beta5

Great, is working now. Thank you for supporting this!

When trying to data.update(entity) the above entity it fails with
io.requery.PersistenceException:      java.sql.SQLException: unhandled type -6
Stacktrace: https://gist.github.com/greenrobot-team/346d2aaa3f32dc8c7b8e
It works fine when removing the byte field from the model class.
Guess you overlooked something when adding support for `byte´?

Right looks like there is one more issue there, will fix today


Crash report - runtime error: index out of range

Error (runtime.errorString): runtime error: index out of range
Stack:
goroutine 1 [running]:
panic(0x8ca4a0, 0xc82001a100)
	/home/travis/.gimme/versions/go1.6.3.linux.amd64/src/runtime/panic.go:443 +0x4e9
github.com/github/hub/git.WorkdirName(0x0, 0x0, 0x0, 0x0)
	/tmp/go/src/github.com/github/hub/git/git.go:70 +0xf7
github.com/github/hub/commands.create(0xbf2320, 0xc8200a0fa0)
	/tmp/go/src/github.com/github/hub/commands/create.go:66 +0xd6
github.com/github/hub/commands.(*Command).Call(0xbf2320, 0xc8200a0fa0, 0x0, 0x0)
	/tmp/go/src/github.com/github/hub/commands/commands.go:47 +0x188
github.com/github/hub/commands.(*Runner).Call(0xc820079450, 0xbf2320, 0xc8200a0fa0, 0x0, 0x0, 0x0, 0x0)
	/tmp/go/src/github.com/github/hub/commands/runner.go:108 +0x5e
github.com/github/hub/commands.(*Runner).Execute(0xc820079450, 0x0, 0x0, 0x0, 0x0)
	/tmp/go/src/github.com/github/hub/commands/runner.go:96 +0x1df
main.main()
	/home/travis/gopath/src/github.com/github/hub/main.go:14 +0x50

Runtime:
GOOS: linux
GOARCH: amd64

Version:
git version 2.7.4
hub version 2.2.9

I ran git create -d docs.alda.io and it crashed unexpectedly. Could be some issue with the dots in the repo name?

see this #2101

Aha! It has been quite a while since I've updated. I'll do that and trust that it's fixed :)


Add link to source code of examples in API documentation

Background
Would be nice if when visiting the API docs there was an easy way to see the source code of the example on the page. For example, look at the ScatterplotLayer documentation. The vis at the top of the screen is pretty nice and interactive, but it's not obvious how to see the source code behind it as an example.
I was curious to see how the hover behavior and autohighlight worked in this case and was unable to find the source to the example to see.
To Do List

[ ] Add label and assign to milestone
[ ] Coding
[ ] Doc update
[ ] Whats new update
[ ] Test

Hey @jianhuang01, I'm trying to work on this. but not sure about the link to source code. is this link the right one? thanks

@ianshan0915 Yes, that's the source code for layer demos.


Run SLO Tests on push master

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] 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?

Issue Number: N/A
What is the new behavior?

Other information

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

Project coverage is 40.89%. Comparing base (3ecd6b9) to head (24a2255).

:exclamation:  There is a different number of reports uploaded between BASE (3ecd6b9) and HEAD (24a2255). Click for more details.
HEAD has 58 uploads less than BASE

Flag
BASE (3ecd6b9)
HEAD (24a2255)

macOS
3
1

unit
9
3

go-1.22.x
6
1

go-1.21.x
6
2

ubuntu
13
2

integration
9
0

ydb-23.3
3
0

windows
3
0

go-1.23.x
7
0

ydb-24.1
3
0

ydb-24.2
3
0

ydb-nightly
1
0

experiment
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1532       +/-   ##
===========================================
- Coverage   70.90%   40.89%   -30.01%
===========================================
  Files         356      353        -3
  Lines       37510    37272      -238
===========================================
- Hits        26595    15242    -11353
- Misses       9805    21522    +11717
+ Partials     1110      508      -602

Flag
Coverage Δ

experiment
?

go-1.21.x
42.34% <ø> (-28.02%)
:arrow_down:

go-1.22.x
40.88% <ø> (-27.46%)
:arrow_down:

go-1.23.x
?

integration
?

macOS
42.33% <ø> (+1.43%)
:arrow_up:

ubuntu
40.88% <ø> (-30.01%)
:arrow_down:

unit
40.89% <ø> (-0.03%)
:arrow_down:

windows
?

ydb-23.3
?

ydb-24.1
?

ydb-24.2
?

ydb-nightly
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


OpenCV Error: Gpu API call

Hi ! when i try to convert video to 60 fps, after a while i get this message that pops up : https://i.imgur.com/qjVOMdm.png
Here are the options I have selected : https://i.imgur.com/8AYjRVN.png (I specify that I have no idea what the advanced options can be used for, if someone could explain to me)
Yes I am on https://github.com/wagesj45/butterflow-ui
Setup :

Windows 10 Pro
i5-8400
GTX 1080 (455.41 Game Ready Driver)
16 GB DDR4

That's a lot of frames you're rendering. GPU ran out of memory or there was a memory allocation problem with the program. Test BF on a video that's shorter in duration and set the output resolution to something smaller and tell me if it works.

I'm currently trying again from the base software, with this command : ./butterflow.exe -v -vs 1920:1080 -r 4x -audio -l -sm -o "D:\Vidéos\Anim's\Test.mp4" "D:\Vidéos\Films\Test.mp4"
So far there is still no crash, my fingers crossed. If it crashes I would try again with a smaller file, but in any case I aspire to convert most of my videos to 60 fps, and I really don't want to have to lower the resolution :/

By the way you have -sm set in the console app but it wasn't set in the GUI. Not sure if you want to do that or not. I generally don't recommend setting it unless artifact less frames are a priority because it causes a ghosting effect. Read about it here.


typstyle: 0.11.21 -> 0.11.22

Description of changes
Changelog: https://github.com/Enter-tainer/typstyle/blob/v0.11.22/CHANGELOG.md
cc @drupol

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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


build cargo release 0.13.0 & 0.13.2 sui-core (lib) generated 5 warning

during Compiling sui-core v0.13.0 (/root/sui/crates/sui-core) :

warning: unused variable: total_coins

--> crates/sui-core/src/execution_engine.rs:504:10
    |
504 |     let (total_coins, total_amount) = check_total_coins(&coins, &amounts)?;
    |          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_coins`
    |
    = note: `#[warn(unused_variables)]` on by default

warning: unused variable: total_amount

warning: unused variable: `total_amount`
   --> crates/sui-core/src/execution_engine.rs:504:23
    |
504 |     let (total_coins, total_amount) = check_total_coins(&coins, &amounts)?;
    |                       ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_amount`

** NOTE!: warning: sui-core (lib) generated 5 warnings**

Still have the same issue after using the new release devnet-0.13.2

thanks


Data: Include guilds in the API

There is a coming soon Teams in the API, but no coming soon Guilds. Is this intended? Will there be support for guilds in the first version of the API? If the answer is no, could you please include it?

Thanks for this!  Not intended :)


DOC: Make sure the references to version TAG are correct

In the documentation, 'v' is missing in the command line to get the latest release (2.0.1) of the BIDS App:
$ docker pull sebastientourbier/mialsuperresolutiontoolkit:v2.0.1
Probably missing as well in the singularity pull.

Thanks @helenelajous !
Indeed this should have been already fixed in the current PR #70 and it will come when we merge it.
The updated documentation for this PR is rendered at the following URL:
https://mialsrtk.readthedocs.io/en/v2.0.2-dev/index.html

Thanks @helenelajous !
Indeed this should have been already fixed in the current PR #70 and it will come when we merge it.
The updated documentation for this PR is rendered at the following URL:
https://mialsrtk.readthedocs.io/en/v2.0.2-dev/index.html

Seems there is something wrong in rendering the release number thought...

Seems there is something wrong in rendering the release number thought...

All fixed by PR #79

All fixed by PR #79


library failing on Google Cloud Composer looking for openssl 3

We have a python script that works well on local machine which has openssl3, but fails to run on google cloud composer because it is looking for openssl 3 where as composer only comes with openssl 1.1.
Since it's not straightforward/possible to install/upgrade os level packages on cloud composer, please look into this issue and allow use of openssl 1.1
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -     from onepassword.client import Client
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -   File "/opt/python3.8/lib/python3.8/site-packages/onepassword/__init__.py", line 1, in <module>
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -     from .client import Client
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -   File "/opt/python3.8/lib/python3.8/site-packages/onepassword/client.py", line 2, in <module>
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -     from .core import _init_client, _release_client
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -   File "/opt/python3.8/lib/python3.8/site-packages/onepassword/core.py", line 6, in <module>
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -     import onepassword.lib.x86_64.op_uniffi_core as core
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -   File "/opt/python3.8/lib/python3.8/site-packages/onepassword/lib/x86_64/op_uniffi_core.py", line 490, in <module>
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -     _UniffiLib = _uniffi_load_indirect()
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -   File "/opt/python3.8/lib/python3.8/site-packages/onepassword/lib/x86_64/op_uniffi_core.py", line 468, in _uniffi_load_indirect
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -     lib = ctypes.cdll.LoadLibrary(path)
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -   File "/opt/python3.8/lib/python3.8/ctypes/__init__.py", line 451, in LoadLibrary
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -     return self._dlltype(name)
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -   File "/opt/python3.8/lib/python3.8/ctypes/__init__.py", line 373, in __init__
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO -     self._handle = _dlopen(self._name, mode)
[2024-06-03, 00:00:22 EDT] {process_utils.py:189} INFO - OSError: libssl.so.3: cannot open shared object file: No such file or directory
[2024-06-03, 00:00:22 EDT] {taskinstance.py:1826} ERROR - Task failed with exception

same issue for an Microsoft DevContainer with pyhton3:
mcr.microsoft.com/devcontainers/python:1-3.12-bullseye
openssl version -a
OpenSSL 1.1.1w  11 Sep 2023
built on: Wed Sep 13 19:21:33 2023 UTC
platform: debian-arm64
options:  bn(64,64) rc4(char) des(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -ffile-prefix-map=/build/reproducible-path/openssl-1.1.1w=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
OPENSSLDIR: "/usr/lib/ssl"
ENGINESDIR: "/usr/lib/aarch64-linux-gnu/engines-1.1"
Seeding source: os-specific

Same issue here. And even trying to install openssl3 manually in the container that tries to run this package (bitbucket pipelines) does not resolve the error for me...

Hey folks, thanks for flagging this. Indeed the issue seems to be that openssl has an older version on some systems (usually 1.1.1) while our SDK requires openssl 3. I found this guide on how to install openssl 3, which should be followed  until step 5. Most commands worked for me as is, but some needed some slight modifications (for me libssl.so.3 was in /usr/local/ssl/bin)

Hey folks, thanks for flagging this. Indeed the issue seems to be that openssl has an older version on some systems (usually 1.1.1) while our SDK requires openssl 3. I found this guide on how to install openssl 3, which should be followed until step 5. It is aimed at Ubuntu users, but it works for Debian as well. Most commands worked for me as is, but some needed some slight modifications (for me libssl.so.3 was in /usr/local/ssl/bin)

The problem is that these services mentioned in the above comments are server less services, where you are not meant to have any control over the underlying OS. Even if you somehow manage to make changes, there is no guarantee that it would persist. We have already tried everything to upgrade the open SSL version on the Google Composer's underlying Ubuntu system. Is it not possible to add compatibility with openssl 1.1, especially considering these server less services?


What methods are used to evaluate 'No Attack' and 'Manual'?

Hello, thanks for the works.
I have a question that,
which methods among HarmBench methods are used to evaluate the category 'No Attack' and 'Manual' in your experiment tables?
Other categories like TAP, PAIR, GCG are clearly method names of HarmBench, but I'm not which one is for 'No Attack' and 'Manual.
Please clarify this for me.
Thank you.

Those refer to 'Direct Request' and 'Human.'


fullCount performance

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[ ] 3.0
[ ] 3.1
[ ] 3.2
[x] 3.3
[ ] self-compiled devel branch

Mode:

[x] Cluster
[x] Single-Server

Storage-Engine:

[x] mmfiles
[ ] rocksdb

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[x] Ubuntu .deb
[ ] SUSE   .rpm
[ ] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

this is an AQL-related issue:
[ ] I'm using graph features
I'm issuing AQL via:

[ ] web interface with this browser:     running on this OS:
[ ] arangosh
[x] this Driver: Java

Doing aql queries with a limit and the fullCount option perform very poorly in my testing. It turns out to be faster to do the query with full count off, and then a second query to get the full count manually.

Using fullCount will make a query run further even if the request number of documents have been reached. So it will naturally be slower than when omitting fullCount altogether.
Using fullCount may be slower or faster than when using a separate query just for counting. This depends on whether the fullCount query contains complex calculations that may be omitted in an extra counting query.
For example,
FOR doc IN collection
  LIMIT 0, 40
  RETURN doc

with fullCount will likely be slower than the same query with fullCount turned off and an extra couting query. The reason here is that counting the number of documents in a collection is fast and does not need to enumerate them individually.
Another example:
FOR doc IN collection
  LET subs = (FOR sub IN collection2 FILTER sub.attr == doc._key RETURN sub)
  LIMIT 0,40
  RETURN { doc, subs }

In this example, the fullCount variant of the query will be much more expensive than the original query without fullCount and a separate counting query that can omit the subquery.
Can you provide an example of the query that is particularly slow with fullCount, plus the number of documents in the respective collections.

We should explain this here too: https://docs.arangodb.com/3.3/AQL/ExecutionAndPerformance/QueryStatistics.html

@dothebart: go ahead!

my query is similar to
for log in logs sort log.date limit 0, 20 return log
there are about 500k docs. It runs in about 200ms with full count on, 2ms with full count off.
fwiw to get the count manually im adding this to the same query COLLECT WITH COUNT INTO length RETURN length

@ldap4life : ok, if there is a sorted index present on the date attribute in the logs collection, the non-fullCount query will execute almost instantly. It will only process 20 documents in index order and is done then.
The fullCount variant of the query will return 20 documents in index order, but it will iterate over the remaining 499980 documents in the index for counting them. So it will have to do a lot more work, especially in the RocksDB engine, where index iteration may (or may not) cause disk I/O.
If your original query does not contain any filters, the counting is probably most efficiently done by using just RETURN COUNT(logs). This will use an optimized code path that simply returns the number of documents in the collection without even looking at any document.

Could this be detected by optimizer ? For example, if a query has no FILTER statement, return collection size as fullCount instead of iterating over every document ?


applying for maintainership

@joshuagl looks like my merge-bit was cleared last weekend when my vmware-labs membership ended.
I'm happy to re-join maintenance if that works for you (I assume that is possible in a vmware-labs project but never checked)

We would welcome you to the maintainer team with open arms, thank you for volunteering. Given the license(s) of the project you will need to sign the CLA before we can merge your PRs, but that is true whether you are a maintainer or not.

@jku I've sent you an invite with 'maintain' role.

thanks!


[FEAT] Allow pushing javascript sourcemaps to celonis DataDog

Description
Add WidgetSourcemapsCommand to allow pushing sourcemaps to celonis datadog.
Checklist

[x] I have self-reviewed this PR
[x] I have tested the change and proved that it works in different scenarios
[ ] I have updated docs if needed

Can we bump the minor version? It seems like a bigger change than just upgrading the patch


Update to new Heph version

Lately Heph has had some breaking changes and Stored has fallen behind. The main change is https://github.com/Thomasdezeeuw/heph/commit/9aa02a0c7a26be0c0e614137a2405d5a7655703f, which changes all actors from a bounded to unbounded inbox. All calls to try_send need to be reevaluated, and possibly changed to send (a Future).

This would fix #23.


Update Argo Tunnel cloudflared link

The page at /argo-tunnel has a warning that it will be deleted soon.  The download is now in /cloudflare-one.

@joel0 thanks so much for this


Corrected the pull request

I have opened a pull request to hascal/hascal - #27

Refined the Argument Parser and converted it into a class
Added a HascalExecutor class to execute the files

I have corrected the code(as per the instructions).

Please merge the commits to the main branch
Hopefully Pranav Baburaj

Your pull request merged


easy musl support

Feature Proposed
add x86_64-unknown-linux-musl release
Use Case
apt install musl-tools
rustup target add x86_64-unknown-linux-musl
cargo build --target x86_64-unknown-linux-musl --release

I too, have been looking into this and I apologize if I'm rehashing known issues, but in my case I'm building for arm64 using Alpine linux (musl). I imagine he same issues arise in the build as indicated here:
  = note: /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/local/rustup/toolchains/1.73.0-aarch64-unknown-linux-musl/lib/rustlib/aarch64-unknown-linux-musl/lib/libcompiler_builtins-d27000ea39d51bc8.rlib(45c91108d938afe8-cpu_model.o): in function `init_have_lse_atomics':
          /cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.98/./lib/builtins/cpu_model.c:1075: undefined reference to `getauxval'
          /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/local/rustup/toolchains/1.73.0-aarch64-unknown-linux-musl/lib/rustlib/aarch64-unknown-linux-musl/lib/libcompiler_builtins-d27000ea39d51bc8.rlib(45c91108d938afe8-cpu_model.o): in function `init_cpu_features':
          /cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.98/./lib/builtins/cpu_model.c:1373: undefined reference to `getauxval'
          /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: /cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.98/./lib/builtins/cpu_model.c:1374: undefined reference to `getauxval'
          collect2: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

For ease of testing, my Dockerfile below w/ strategic comments for test environment):
ARG OS_VER=3.18
ARG BASE_IMAGE=rust:alpine${OS_VER}
FROM ${BASE_IMAGE} as builder
WORKDIR /home/rust/src
COPY . .
ARG FEATURES
RUN apk add build-base pkgconfig perl openssl-dev
RUN rustup target add aarch64-unknown-linux-musl
#    cargo build --target=aarch64-unknown-linux-musl --release --features ${FEATURES:-default} && \
#    mkdir -p build-out &&  cp target/release/rathole build-out/

#FROM alpine:${OS_VER} as runtime
#WORKDIR /app
#COPY --from=builder /home/rust/src/build-out/rathole .
#USER 1000:1000
#ENTRYPOINT ["./rathole"]
ENTRYPOINT ["/bin/sh"]

In my case, I'm on an Nvidia AGX Orin host but it should be reproducible in a container on a Raspberry Pi host.
In reading up on he issue of getauxval calls, I came across this discussion: https://github.com/rust-lang/rustup/issues/3324 wherein the problem is narrowed down to the rust-openssl implementation, and for at lead one project lead moving to rusttls was the optimal solution.
I tested the various solutions discussed in that thread (build flags etc) to no avail, but my rust is a bit rusty so I didn't delve too deeply into migrating to rusttls, even though by most accounts, it's more performant (and scure) than OpenSSL/rust-openssl, with he added advantage of improving platform agnosticism.


Spaceship Logout Method?

I am wondering how to force Spaceship to reconnect/logout, in this scenario we use the same apple id but with a wrong password we are able to get the info.
Spaceship::Tunes.login(username, GOOD_PASSWORD)
client_tunes.teams.size ( OK)

Spaceship::Tunes.login(username, wRONG_PASSWORD)
client_tunes.teams.size ( OK)

Sorry, there is nothing built in for this

Ok :(
Le jeu. 1 mars 2018 à 17:13, Felix Krause<EMAIL_ADDRESS>a
écrit :

Sorry, there is nothing built in for this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/issues/11955#issuecomment-369749131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEZ21tiYee-JL7Oxot1XCsxHFv0gLl2ks5taHJvgaJpZM4SYLFk
.

I'll close this issue for now 👍


Create proto GitHub actions

Fixes #79 supports medium variety of CI builds

Fixes #79 supports medium variety of CI builds


iOS:ReferenceError: Can't find variable: onNotification

Hi folks, I am trying this with an ionic/angular App.
The registration etc. works fine, pushing works and I can see my device getting the notification but I think there is a problem in how the callback is defined.
The error I am getting:
2015-10-19 14:05:39.274 myApp[1039:527436] exeption nativeEvalAndFetch : ReferenceError: Can't find variable: onNotification

How I registered:
 window.GcmPushPlugin.register(successHandler, errorHandler, {
                "badge":"true",
                "sound":"true",
                "alert":"true",
                "usesGCM":true,
                "sandbox":true,
                "jsCallback":"onNotification"
            });

My functions
function successHandler(result) {
  console.log("************** Token: " + result.gcm);
}

function errorHandler(error) {
 console.log("************** Error: " + error);
}

function onNotification(notification)
 {
        console.log ("******** MESSAGE " + JSON.stringify(notification));
 }

sorry, problem fixed
I had to do
 window.onNotification = function(notification)
    {
        console.log ("******** GOT MESSAGE " + JSON.stringify(notification));
    };

@pliablepixels Which versions of iOS you've tried?

window.onNotification function not working.....please advice


How to detect dev vs production

Forgive me if this is an extremely basic question, but I'm struggling to figure out how to determine if my code is running in dev or production.
I tried adding env vars to my scripts in package.json:
  "scripts": {
    "dev": "ENV=dev next",
    "build": "ENV=production next build",
    "start": "ENV=production next start"
  }

though I don't know how to access these variables. I tried:
const ENV = 'undefined' !== typeof window ? window.ENV : process.ENV

but this didn't seem to work. These variables don't show up in window object from browser.
From my understanding, window is available on client and process is available on server, but I'm not sure how to set a var on them, or access that var appropriately. Alternatively, is there an existing variable that indicates production vs dev mode?
Thanks!

Please have a look at https://github.com/zeit/next.js/tree/master/examples/with-universal-configuration 😄

I suggest to use NODE_ENV.

Thanks guys.
I think this is answered.

Thank you all!

Hi there,
I don't mean to necro this but I'm having an issue when trying to work this into my project. I only see the root error when I clear my cache which is this image:

That follows the documentation on it and makes sense, but the error doesn't to me. I have copied the example verbatim into my project, even into the same locations, so I'm confused as to what is missing as when I run the isolated example it seems to work? I started working off the MobX example so maybe it's something in there?
const prod = process.env.NODE_ENV === 'production'

module.exports = {
  'BACKEND_URL': prod ? 'https://api.example.com' : 'https://localhost:8080'
}

Any help is appreciated, thanks,
Steve

Can't get the example working, and the many layers of interacting libs in the example makes it hard to follow.

I've installed babel-plugin-transform-define
I've added an env-config.js
I've added exporting variables in the env-config
When I run the project, my process.enc.X variables are undefined. This is true both when I run it as DEV and build->start

I'm using a server to render my pages, so not running through "next up" or whatever the command is.

@raelmiu
Have you tried https://github.com/zeit/next.js#exposing-configuration-to-the-server--client-side

@onomatopoetry
const prodConfig = {
  publicRuntimeConfig: {
    API_ENDPOINT: 'http://google.com/api'
  }
}

const devConfig = {
  publicRuntimeConfig: {
    API_ENDPOINT: 'http://localhost:3000/api'
  }
}

module.exports = process.env.NODE_ENV === 'production ? prodConfig : devConfig

In case someone (else) comes here through Google, check [this example]...(https://github.com/zeit/next.js/blob/canary/examples/with-env-from-next-config-js/next.config.js)

Please have a look at https://github.com/zeit/next.js/tree/master/examples/with-universal-configuration 😄

Page is not available

My full example with custom webpack config:
const {
    PHASE_DEVELOPMENT_SERVER,
    PHASE_PRODUCTION_BUILD,
} = require('next/constants')

module.exports = (phase) => {
    env: (() => {
      // when started in development mode `next dev` or `npm run dev` regardless of the value of STAGING environmental variable
      const isDev = phase === PHASE_DEVELOPMENT_SERVER
      // when `next build` or `npm run build` is used
      const isProd = phase === PHASE_PRODUCTION_BUILD && process.env.STAGING !== '1'
      // when `next build` or `npm run build` is used
      const isStaging =
        phase === PHASE_PRODUCTION_BUILD && process.env.STAGING === '1'

      console.log(`isDev:${isDev}  isProd:${isProd}   isStaging:${isStaging}`)

      return {
        RESTURL_SPEAKERS: (() => {
          if (isDev) return 'http://localhost:4000/speakers'
          if (isProd) {
            return 'https://www.siliconvalley-codecamp.com/rest/speakers/ps'
          }
          if (isStaging) return 'http://localhost:11639'
          return 'RESTURL_SPEAKERS:not (isDev,isProd && !isStaging,isProd && isStaging)'
        })(),
        RESTURL_SESSIONS: (() => {
          if (isDev) return 'http://localhost:4000/sessions'
          if (isProd) return 'https://www.siliconvalley-codecamp.com/rest/sessions'
          if (isStaging) return 'http://localhost:11639'
          return 'RESTURL_SESSIONS:not (isDev,isProd && !isStaging,isProd && isStaging)'
        })(),
      }
    })(),
    webpack: (config) => {
        // Some webpack config
        return config
    },
}

A bit hacky but a working solution is this:
// next.config.js
module.exports = {
  publicRuntimeConfig: {
    IS_LOCAL_DEV: process.argv.includes('dev')
  }
}

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.


Add num_messages method for UnboundedSender

Add method to inspect how many messages are enqueued in the message queue.

Thanks for the PR. I think such a method would usually be called len. (e.g., crossbeam)
Also, please submit PR to master, not 0.3, except for barkports.

Sorry! I'll redo the PR.


Prometheus port configuration compatibility

Old configuraiton
prometheus:
  prometheus-port: 9091

New configuration
prometheus:
  port: 9091

Coverage remained the same at 51.774% when pulling 3e07aa42ef9632d4131b735a377b68909ab168c8 on yuye/prom2-comp into 5c8c36bb3cf725d5f5d83f01431faf9d2a25d6fd on yuye/compeitable.

Coverage remained the same at 51.774% when pulling 3e07aa42ef9632d4131b735a377b68909ab168c8 on yuye/prom2-comp into 5c8c36bb3cf725d5f5d83f01431faf9d2a25d6fd on yuye/compeitable.

Coverage remained the same at 51.774% when pulling 3e07aa42ef9632d4131b735a377b68909ab168c8 on yuye/prom2-comp into 5c8c36bb3cf725d5f5d83f01431faf9d2a25d6fd on yuye/compeitable.


Issue in text color when updating middle footer content for other locales.

Hi, if I have correctly understood you have add these 4 chars "yygy" and the browser has loaded them with another color.

Hi, if I have correctly understood you have add these 4 chars "yygy" and the browser has loaded them with another color.

yes

Ok, I'm configuring the platform in my local environment.
Do you know if anyone has fixed this issue or not?

@jyoti-webkul
please mention the steps to reproduce this issue to help and faster resolution of this bug.
Also, it's working on the master branch https://prnt.sc/v70dor
@nicobi83
if you're also facing such kind of issue, feel free to mention the steps to reproduce.
once it will be verified then you are free to open a PR for this issue.
Thanks

@vaishaliwebkul
So the problem is not existent if in master it's working correctly.

@nicobi83
Yes, master branch is the most updated and development branch, if the bug does not exist in this branch then no need to fix it.

Working fine in master branch


This page needs a diagram

It would be really helpful to include a diagram (or other graphic) showing the sequence of events (number of days after termination, manager notification, items permanently deleted, etc.)

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

ID: 762932d1-8eef-ea51-c51d-a40ed88b8237
Version Independent ID: d0ef71ba-21b3-1352-85b5-63d7882782da
Content: OneDrive retention and deletion
Content Source: OneDrive/retention-and-deletion.md
Service: one-drive
GitHub Login: @kaarins
Microsoft Alias: kaarins

@MikeTheNomadArchitect Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @kaarins Kaarin, how are you?
Do we have such that artwork? do you, as author of the article, see value adding that?
Thanks

@kaarins Kaarin, do you think we can provide a diagram for this page ? Thank you!

@MikeTheNomadArchitect thanks for this suggestion! We're working on it.


Godot v4 beta17 - Concatenating typed arrays changes the type

Godot version
v4.0.beta17.official [c40020513]
System information
Apple M1 Max - macOS Ventura 13.1 (22C65)
Issue description
I am getting an error due to functions no longer returning the correct typed array, when the function concatenates arrays and returns it.
In other words, the following fails:
func add_arrays() -> Array[ClassA]:
	var array_1: Array[ClassA] = []
	var array_2: Array[ClassA] = []
	return array_1 + array_2

I'm assuming when concatenating, the typing changes to a generic Array now? Just a guess.
Steps to reproduce
N/A
Minimal reproduction project
Godot Crash Project.zip

Guessing it's related to: https://github.com/godotengine/godot/pull/69248

I also get errors from using .filter and .map now.
For instance, the following fails:
var array_1: Array[ClassA] = []
var array_2: Array[ClassB] = array_1.map(func(obj: ClassA): return ClassB.new())
return array_2

I understand this is not what you use a .map for, it's just an example. The point is I shouldn't get a Syntax error from this. One would assume that .map would return a typing different than that of the original Array and that's fine.
I guess a way to type the result could be:
var array_1: Array[ClassA] = []
var array_2: Array[ClassB] = array_1.map(func(obj: ClassA) -> ClassB: return ClassB.new())
return array_2

I also get errors from using .filter and .map now.

See #72566.

I also get errors from using .filter and .map now.

See #72566.

Ah excellent, thank you for sharing.


wrong cors error with AWS::Serverless::API

cfn-lint version: 0.15.0
Description of issue: CFN Lint complains about a perfectly valid SAM stack (deploys successfully using CloudFormation), when Cors configuration is turned on.
The error is: E0001 Resource with id [WebApi] is invalid. Cors works only with inline Swagger specified in 'DefinitionBody' property
a minimal template displaying the error:
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Parameters:
  AppStage:
    Type: String
Resources:
  WebAssetsS3Bucket:
    Type: AWS::S3::Bucket
    Properties:
      AccessControl: PublicRead
      WebsiteConfiguration:
        ErrorDocument: 404.html
        IndexDocument: index.html
  WebApi:
    Type: AWS::Serverless::Api
    Properties:
      StageName: !Ref AppStage
      Cors: !Sub "'${WebAssetsS3Bucket.WebsiteURL}'"

We use SAM translator to translate and process the completed template.   We are getting that error from SAM but I'm not sure why yet.
https://github.com/awslabs/serverless-application-model/blob/cbd4d9ad40a71b838f1e72b3b960689f30890bf9/samtranslator/model/api/api_generator.py#L188-L191

@gojko does this sum up your issue? https://github.com/awslabs/aws-sam-cli/issues/803

@kddejong I guess so, looks like the same error. The template I used does not provide an API definition, so I assume the implicit one will be used.

I think we are going to have to plus 1 that issue as it also appears that sam validate doesn't work on this template.
➜  cfn-python-lint git:(master) ✗ sam validate --template sam.yaml
Template provided at './sam1.yaml' was invalid SAM Template.
Error: [InvalidResourceException('WebApi', "Cors works only with inline Swagger specified in 'DefinitionBody' property")] ('WebApi', "Cors works only with inline Swagger specified in 'DefinitionBody' property")

ok, i'll close this one


How to evaluate using D-ECE

Hi I am trying to evaluate my object detection model
Should I concat predictions for all images together, or how to do it
Is there code with working example?
Thanks

Hi @nisargshah1999, yes for object detection evaluation, you simply concat all detections into a single tensor of shape (N, [x, y, ...]) where N is the number of individual objects and x, y are the respective (optional) bounding box information you can additionally pass to the function call. Also remember to provide the respective matching flag as ground-truth (1 stands for a predicted object matching a ground-truth one, 0 represents a false positive) within a single tensor of shape (N,).
Hope this helps. Please close the issue if so.
Best regards

Thanks @fabiankueppers for your reply, and also making a well documented repo; it is indeed useful
I have one more question, wouldn't it be more useful, if class level information is used for D-ECE
Like , 0 for False positive and    1,..,n_classes for correct predicted object, relative to specific class?

This is a very interesting approach, I will definetly take this into account for future releases, thank you very much!


The GenerationFinalResponseData struct is missing load_duration.

I noticed that the field for load_duration in the GenerationFinalResponseData struct was removed, yet it still exists in the API. Is it going to be coming back or is there a larger issue with it I am unaware of?

Hey, by running the tests I noticed that this field was not included anymore in the responses which caused an error while parsing the response so I thought it was just removed

After further testing, it seems that is the case, and they just didn't update their API docs.


Allow workspaces with missing names

Fixes #3340

Closing this. What we want to do instead is ignore workspaces that are git-ignored.


Remove reference to vagrant

Installer contains reference to vagrant, remove it

Is the reference that will be removed the one that says, "If you are running vagrant, press Q not I and run vagrant up"?

Yes; I mostly removed the vagrant instructions just before I made the release, and I forgot that :-)

also there is a reference to vagrant in https://github.com/marsbard/puppet-alfresco/blob/master/config/ootb_params.sh


Add #[\ReturnTypeWillChange] for PHP 8.1 support

Make this library compatible with PHP 8.1

Thanks!


Limit channelName, channel descriptions, and comment sizes (security)

Someone was doing an exploit with a really long channelName on the user model.
Those values should be sanitized and limited in size for security reasons

What are the limits anyway?


[MENU] Anchor location incorrect

Problem description
The menu is not located at the anchor when selecting a menu list item near the bottom of the list. (The problem only occurs with large lists)
In the example if you select 'Callisto' it works, but anything below 'Ganymede' shifts the menu location upward. As a side note, if you scroll down to the bottom of the list there is horizontal scroll.
https://www.webpackbin.com/bins/-Kq06NMipiyD2jLPRoew
Versions

Material-UI: 1.0.0-alpha.20
React: 15.4.1
Browser: Google Chrome 58.0.3029.81

Just update to the latest version. It's a duplicate of #6731.https://www.webpackbin.com/bins/-Kq1xOX-VvZtDqNi7NN5


Question: how to overwrite the left / right padding/margins using css

I currently have this react code:
<ReactTooltip place='left' type='info' effect='float' multiline className='tooltip-left' />

And this css:
.tooltip-left {
    border-radius: 0px !important;
    background-color: #007bff !important;
    color: white !important;
    font-size: 0.875rem !important;
}

.multi-line {
    text-align: left !important;
}

Which renders (1):

But I actually want the padding / margins left and right be equal to that example button (2).

How to do this?

Tried adding a simple 'padding' ?
I added  padding: 5px;  with the following result:

Correct, for some reason I overlooked this simple fix (I was looking at the place-left css class to override).
Final solution:
.tooltip-left {
    background-color: #007bff !important;
    color: white !important;
    padding: 4px 8px !important; // <---
}


Fix: persp-switch-buffer use ivy-switch-buffer as caller

Using counsel-switch-buffer was causing issues with the
all-the-icons-ivy integration, as well as preventing all of the ivy
actions from showing up in the hydra menu. for example, killing marked
buffers is not present in the actions if counsel-switch-buffer is
used, but it does appear when the caller is ivy-switch-buffer
this may cause issues for people that have further customization on
the counsel-switch-buffer caller, but from what i can tell, the
counsel-switch-buffer function doesn't even pass itself down as the
caller in its implementation.
screenshots
before

No icons appear for the buffers, and you can see [1/5] actions
after

Icons appear and you can see [1/8] actions

Thank you!