text:
State accounts don't work with InstructionFormatter.format

Devs PLZ FIX!!!

Please explain what is not working with an example.

Please explain what is not working with an example.

authors: dondidlc fanatid

repo: project-serum/anchor


text:
Failed to withdraw RAY from sollet to FTX using SPL

Hi, everything is in the title.
The error i get is the following : failed to send transaction: Transaction simulation failed: Attempt to debit an account but found no record of a prior credit.
Wallet id : https://explorer.solana.com/address/HnZ6KYwFHxeqaPee8sakyKpCzs6ozU8QGnepwX1KJ6UE
Regards

The problem is that you have zero SOL in your account. Add some SOL and the withdraw will work. Closing.

okay thanks

source: gharchive/issue

repo: project-serum/spl-token-wallet

license_type: permissive

license_source: github-api


text:
mock for environment page

As discussed during Feb-06 UX call, the pages would display a list of environments, with high-level information (status, address/port to access app, etc, operations: stop/start/...)
The pod/containers details could be accessed by clicking a link sending the user to the pod details page on podman desktop (similar to accessing the Playground container)

Here's one thought - but I wonder if we should call this applications instead of environments? What do you think?

Yes, this design seems very nice to me. And I cannot see any blocker to implement it (note: #253 will help get the information about the availability of model and app)

Here's one thought - but I wonder if we should call this applications instead of environments? What do you think?

AI applications

authors: feloy jeffmaury

repo: projectatomic/ai-studio


text:
Vendor in latest buildah code

This fix the issues when you are trying to build from a non existant
image or the registries in registries.conf do not include the registry.
./bin/podman build -t dan -f Dockerfile.suse ~
STEP 1: FROM opensuse:tumbleweed
error creating build container: image "opensuse:tumbleweed" not found in /etc/containers/registries.conf registries: image not known
Signed-off-by: Daniel J Walsh dwalsh@redhat.com
v#

Fixes https://github.com/projectatomic/libpod/issues/838

LGTM once tests green

LGTM and happy green tests

@rh-atomic-bot r=mheon

source: gharchive/pull-request

authors: TomSweeneyRedHat mheon rhatdan

repo: projectatomic/libpod


text:
Running multiple instances of external calico/node on a host pointing to two different Kubernetes cluster

calico/node has a hard configured interface tunl0 which is causing conflict in a situation where we are deploying two container's on a host pointing to two different Kubernetes cluster.
by watching ifconfig -a it show's the IP get's switched from the two different cluster cidr range.
Expected Behavior
there should be two different unique interfaces like tunl0 or tunl1 if tunl0 is already in use.
Current Behavior
both the container's are updating tunl0 interface on the host.
Possible Solution
Not seeing a variable i can pass to dynamically separate the interface name. Possibly we can define/update the bird config template to make it work.
Steps to Reproduce (for bugs)

Have 2 Kubernetes cluster with non-overlapping CIDR range
deploy two external calico node container's on a single host pointing to two different Kubernetes cluster.
Watch ifconfig -a or netstat -r to see routes and interface fighting to control the interface named tunl0

Context
I am trying to make it work in my existing environment.
Your Environment

Calico version : 3.8.9
Orchestrator version (e.g. kubernetes, mesos, rkt): Kubernetes 1.18.3
Operating System and version: Centos
Link to your project (optional):

Yeah, running two calico/node instances on a single host is definitely not something we design for.
From the slack thread, it sounds like you want to have connectivity from a single node to two different clusters - that is certainly possible to do, but I don't think running two calico/nodes is the way to do it.
I would recommend looking into Kubernetes services as a means of exposing access to the node, rather than to pods directly. You can also look at using a single BGP instance on your external node that is peered to both of your clusters, rather than two BGP instances each peered to a single cluster.

authors: caseydavenport pankajagarwal

repo: projectcalico/calico


text:
Replace X_Y with X.Y in versioned data dir

Jekyll fixed the bug where directories in _data/ with a . in the name was being stripped (https://github.com/jekyll/jekyll/issues/5429).
So we shouldn't need  this string replacement anymore, and can use straight site.data[page.version]...
cc @tomdee

Jekyll's fix just removes the . without stripping off the remaining characters. I don't think we should change anything as we'd still need to do some string replacement.


text:
bpf fix attach gap

Description
felix/bpf: bpf_ep_mgr.ifStateMap is a cachingmap

This reconciles state after restarts and makes sure that unused entries
do not stay for ever.

felix/bpf: ifstate map contains iface name

For easier debugging and more robustnes in detecting what has changed
and what was the previous state.

felix/bpf: drop packets for disapproved FIB success

felix/bpf: bpfEndpointManager marks weps as ready.

When bpfEndpointManager has ifindex and applies tc programs to a WEP, it
also records in a bpf map that the iface is "ready". Thereafter tc
programs that have successful FIB lookup can redirec straight to the
wep. Otherwise the packet is dropped as it is unsafe to forward it and
it it pointless to let it be dropped by iptables for the same reason.

felix/bpf: approve FIB success

When we have a FIB success, we need to approve it otherwise we could
redirect packets to a local workload that does not have it's tc programs
and a policy applied yet. That leaves security hole.

felix/bpf: remove comment that is no longer true

felix/bpf: CT_RES_CONFIRMED set when both sides approved

CALI_CT_ESTABLISHED_BYPASS still required because that is a special case
for connections that have no NAT.

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

ebpf: we drop packets that are about to be redirected to a workload endpoint that does not have a tc attached program yet, hence is unprotected.

Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one docs-* label.

docs-pr-required: This change requires a change to the documentation that has not been completed yet.
docs-completed: This change has all necessary documentation completed.
docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

release-note-required: This PR has user-facing changes. Most PRs should have this label.
release-note-not-required: This PR has no user-facing changes.

Other optional labels:

cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

Closing as there was quite a bit of rework


text:
[c2][decoder] Fixed av1 decoding failed issues

cases: android.mediav2.cts.CodecDecoderSurfaceTest#testFlushNative

Av1 don't need the bs which flag is config.
Fixed av1 always fetch a noncatched block issue.

Tracked-On: OAM-103409
Signed-off-by: zhangyichix yichix.zhang@intel.com

@dyang23 @TianmiChen @YuanjunHuang @Shao-Feng Could you pls help me to take a review?

@dyang23 @TianmiChen I have rewrited this commit, could you review it again?

license: MIT


text:
Modify the default value of the bitrate mode

case:
android.mediav2.cts.EncodeDecodeAccuracyTest#testEncodeDecodeAccuracyRGB
With setting the default of bitrate mode to BITRATE_CONST and it will be not changed in the format by user, MediaCodecInfo.CodecCapabilities.isFormatSupported
will return false.
Tracked-On: OAM-OAM-104455
Signed-off-by: zhangyichix yichix.zhang@intel.com
Signed-off-by: Kothapeta, BikshapathiX bikshapathix.kothapeta@intel.com

Improper Commit Message
Proper Tracked on value is not present in commit message,make sure Tracked-on: jira-ticket is present

authors: bkothapx sysopenci


text:
Static fix camvhal

Static Analysis Fix for Camera Vhal

-Camera-Vhal does not use Physical Camera
-Correponding Variables are gracefully initialized to NULL

Tracked-On: OAM-112447
Signed-off-by: Venkatesh Pillai <venkatesh.pillai@intel.com>

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web  for more details

Android CI has completed Engineering Build for this issue, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web  for more details

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web  for more details

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web  for more details.

Android CI has completed Engineering Build for this issue, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web  for more details

repo: projectceladon/camera-vhal


text:
Load recovery data when searching for individual balloons

For example should load for this: https://sondehub.org/U1470992

The request is already happening we just aren't displaying the recovered icon

fixed in https://github.com/projecthorus/sondehub-tracker/pull/368

authors: LukePrior TheSkorm

repo: projecthorus/sondehub-tracker


text:
Token Authentication is non-functional/changed.

It took me a while to notice this, but despite the fact that/staff/sign_in does indeed return a token, it cannot be used.
When using this token in the X-STAFF-TOKEN header field in a request (code unchanged from before) every request returns a 401.
Apparently, the service still returns a cookie and will favor that over the token, even if a token is present.  Once you completely disable cookie acceptance in the iOS code base, this issue becomes noticeable, as apparently Cookie auth was working transparently for a while.  When you redeploy an iOS app however, all cookies are removed, preventing you from being able to authenticate again.
So either token auth is completely non-functional,
OR
The header key has changed, and is no longer X-STAFF-TOKEN

@jklarfeld I've verified that the token authentication did change, and then was also broken. I will have an update shortly. I will have instructions on proper token authentication at that time as well.

@jklarfeld Token Usage
Sign-In

Sign-in at POST api/v1/staff/sign_in.json
{staff: {email: "...", password: "..."} }
Grab and keep the api_token from the response
Add an 'Authorization' header with the value of Jellyfish {api_token}
or
Add a url parameter of access_token={api_token}

If your cookie is deleted it will be recreated as long as the next request includes a valid token.
Sign-out

Sign-out at DELETE api/v1/staff/sign_out

The token will be invalidated along with the session.

And we're 100% sure this works completely without cookies? Is there any reason one needs to be returned or even checked for?
Because the goal here is to pretend we live in a world where there's no such thing as cookies.
And the bug was that if a cookie was present the token was ignored.  Is this still the case?  I have cookies completely disabled in the app, just for my own reference.

Yes, it works without cookies.
If the session cookie exists then that will be used to authenticate the user, otherwise it will use token authentication if a token exists. This remains unchanged.
The reason you're going to be getting a session cookie is because the server supports other methods of authentication which requires that session cookie ability to be active.

authors: jklarfeld stackus

repo: projectjellyfish/api

license_source: bigquery


text:
Latest of Strimzi

Minor update: Latest Strimzi version

@bbrowning @jcrossley3 there seems to be an issue w/ the execution on Travis:
+'[' openshift-travis-testing '!=' openshift-latest ']'
./tools/travis/publish.sh: line 17: DOCKER_PASSWORD: unbound variable

the setup, for latest stable release of Strimzi works fine

Thanks!

repo: projectodd/openwhisk-openshift


text:
Test

test

Pas de merge car inutile!

authors: Cynthia-aboumaroun pascalfares

license: mit


text:
Elasticsearch shards per node metric missing

Hello team,
First of all, very sorry in case this already exist and I'm not been successful in my findings...
I would like to monitor the ratio between the nº of nodes, the heap memory available and the nº of shards assigned per node.
Why?
To avoid oversharding situations, the recommendation is to be HEAP_MEM x 20 => Total shards per node to be in a 'balanced' state. In other way, oversharding states provokes bad performance within the cluster.
So that, I have not been able to find any metric to retrieve the number of shards per node.
We have shards metrics at cluster level:
elasticsearch_cluster_health_active_primary_shards
elasticsearch_cluster_health_active_shards
elasticsearch_cluster_health_delayed_unassigned_shards
elasticsearch_cluster_health_initializing_shards
...
But they all have 'cluster' dimension.
Is there any way to retrieve from the exporter the number of shards per node?
The only metric related to shards and nodes, is the "elasticsearch_indices_shards_docs" that is not what I need at all, since this is the number of documents per shard, per index and per node.
Is there any metric we can use for this?
In case it is not, which should be the process to request it as a new feature?
Thanks in advance guys.
Regards,
M

bump, I'm also interested in this metric.

up. Does anyone know if this is possible to get extracted by any other way?

I am also waiting for this metric :)
I tried a work around(might be wrong! as well), it did get the value but the value but did not match the count of elasticsearch_cluster_health_active_primary_shards
count(elasticsearch_indices_shards_store_size_in_bytes{instance=~"$instance",cluster=~"$cluster"}) by (node)
count(elasticsearch_indices_shards_store_size_in_bytes{instance=~"$instance",cluster=~"$cluster",primary="true"}) by (node)
count(elasticsearch_indices_shards_store_size_in_bytes{instance=~"$instance",cluster=~"$cluster",primary="false"}) by (node)
FYI : In the output the label for node name(name) is replaced with node_id, there is an issue already raised for adding node name label for this shards metric

bump, I'm also interested in this metric.

In the same room :)

Also interested in the metric.
I did the same query than yours (with elasticsearch_indices_shards_docs instead of elasticsearch_indices_shards_store_size_in_bytes) and I also have results slightly different of what elasticsearch reports. I have around 50 less shards with the query.

I am also waiting for this metric :)
I tried a work around(might be wrong! as well), it did get the value but the value did not match the count of elasticsearch_cluster_health_active_shards count(elasticsearch_indices_shards_store_size_in_bytes{instance="$instance",cluster="$cluster"}) by (node)
These two very closely matches count of elasticsearch_cluster_health_active_primary_shards, (< 4 shards) count(elasticsearch_indices_shards_store_size_in_bytes{instance="$instance",cluster="$cluster",primary="true"}) by (node) count(elasticsearch_indices_shards_store_size_in_bytes{instance="$instance",cluster="$cluster",primary="false"}) by (node)
FYI : In the output label, node name(name) is replaced with node_id, there is an issue#484 already in place for adding node name label for this shards metric

Also interested in the metric.
I did the same query than yours (with elasticsearch_indices_shards_docs instead of elasticsearch_indices_shards_store_size_in_bytes) and I also have results slightly different of what elasticsearch reports. I have around 50 less shards with the query.

I am also very interested in this metric.
@BaptistePiron, @rubensselvakumar I will also be using your workaround in the meantime. The reason why this number differs from the total is that for elasticsearch_indices_shards_store_size_in_bytes and elasticsearch_indices_shards_docs, only non-internal indices are taken into consideration.

Update: This seems to be fixed by: https://github.com/prometheus-community/elasticsearch_exporter/pull/535
Thanks guys! :)

@anjaweigel-tng ,
Do you know how can I query that metric in current release? it seems not apear in the docs.

Hello @lllsJllsJ try with this one:
elasticsearch_node_shards_total
Thanks a lot guys! Specially the ones implementing https://github.com/prometheus-community/elasticsearch_exporter/pull/535 !

authors: BaptistePiron anjaweigel-tng artyomovs korcadr lllsJllsJ manuelbs88 rlapond rubensselvakumar


text:
kubelet: Update label selector

Fixes #860
Updated kubelet's label to app.kubernetes.io/name from k8s-app

any reason why we didn't merge this @paul

I wanted to test this but got locked up with some other things. Sorry for the delay.

authors: brancz paulfantom shreyashah1903

repo: prometheus-operator/kube-prometheus


text:
amtool should display the state of an alert (active, unprocessed, inhibited, silenced)

From https://github.com/prometheus/alertmanager/issues/1248#issuecomment-386327062

adding a State column to the extended output would be cool:

# ./amtool alert query -o extended -s -a  'alertname="HighErrorRate"'
Alertname               Starts At                Summary                        State
HighErrorRate           2018-05-03 14:51:19 UTC  server is serving many errors  Silenced

Do we want to add this to the extended output or the simple output? The snippet looks like it's the simple output, but the request is for the extended output?
Perhaps it's worth doing a bit more of a deep dive around what really should go into the output? In every case I've seen the extended output is far too large to fit into any terminal anyway.
I've found in my own experience the most useful output for me is the json output. Whenever I really need information I end up just piping the output into jq for mangling anyway.

I've just copied the comment from @stuartnelson3 in the original issue but as I understand it, this was requested to be added to the extended output format.

@simonpasquier hey created a pr for both output types, simple output a lot faster sometimes but added support for both simple and extended https://github.com/prometheus/alertmanager/pull/2324

authors: Kellel ffahri simonpasquier

repo: prometheus/alertmanager


text:
[WIP] test: Enable testing against cluster of Alertmanagers

Instead of only testing single instance Alertmanagers, this patch
enables individual tests to spin up Alertmanager clusters.
In addition it adds two tests:

A test firing alerts against a cluster, expecting to only receive a a
notification by one of the Alertmanager instances in the cluster.

A test firing alerts both against a single instance as well as a
cluster, making sure the output equals.

Signed-off-by: Max Leonard Inden IndenML@gmail.com

@simonpasquier The goal of the clustering feature of Alertmanager is to ensure high availability while still (in the happy path) act as if it would be a single instance. TestClusterVSInstance tests this behaviour by starting a single instance Alertmanager and a cluster (3) Alertmanagers, firing the same alerts against both and comparing the output.
What are your thoughts on this? In my opinion this covers a lot of logic with relatively little effort.

@stuartnelson3 @simonpasquier would you mind taking another look?

here we don't care about whether notifications are received in the expected timeframe, instead we check that both receivers receive the same notifications at roughly the same time. Is that correct?

Yes, that is correct @simonpasquier. I am open for alternative suggestions.

Ok for me.

Is that a looks good to me?
@stuartnelson3 any further comments?

LGTM :smirk:

I am open for alternative suggestions.

Nope, I'm ok with this approach. Just that it didn't clicked immediately for me...

There were a couple things on my wishlist that I mentioned, like running each alertmanager instance from a function rather than executing a local binary, but those were all for other PRs.

Yes, definitely on my TODO list.

authors: mxinden simonpasquier


text:
update copyright year

update year in copyright footer from 2016 -> 2017

@grobie updated

removed test.rb, did not mean to stage that file :)

Thank you!

authors: cstyan grobie

repo: prometheus/docs


text:
Move remote.proto into its own directory

Currently remote.proto is sitting in with the remote read/write code, which means any adapters using it end up pulling in some Prometheus code which they really shouldn't.
This was done initially to get things going, but we should find a better place to put our public protos long term.

+1, also see https://github.com/prometheus/prometheus/pull/2821#issuecomment-308791455

@brian-brazil In #2821 you proposed a single directory listing our protos. The general trend in Go seems to be to have pkg/remote/remotepb for example to address the problem or unnecessary imports. That's how AM does it.
I can see how a single dir makes it easier to find. But it kind of messes with hierarchical package structure.
I'm open to either but would like to hear more arguments/opinions.
Can we agree to avoid sharing partial proto types across repositories, i.e. not have AMs silence matcher import its LabelMatcher proto from prometheus/prometheus or share mundane stuff like the LabelPair tuple?

I'm not too pushed either way on sharing.

The dev-2.0 branch has a prompb directory for these.

Closed by #2850

authors: brian-brazil fabxc tomwilkie

repo: prometheus/prometheus


text:
Release 2.47.1

Release 2.47.1

[BUGFIX] Fix duplicate sample detection at chunk size limit #12874

Should this be into the release-2.47 branch?

Oops, I thought I opened the correct branch.

authors: SuperQ bboreham


text:
Fix: Exempt "_bucket" suffix from PossibleNonCounterInfo warning

Related to PR #12152

CC @zenador @beorn7


text:
Adaptively reduce the wait time for memory series maintenance.

This will make in-memory series maintenance the faster the more chunks
are waiting for persistence.
@juliusv

:+1: Try it out!


text:
Backfill from OpenMetrics format

Hello :wave:  !
I am lost here, is this another iteration of   https://github.com/prometheus/prometheus/pull/7586 ?
Thanks!

@roidelapluie Yes it is.

@aSquare14 Is there a reason why this was closed? If not can we revisit #7586 and get it finished? Right now everything but #7675 is closed. Or is #7675 the only future path?

You missed #8084

Ah I did, thanks @codesome

authors: aSquare14 codesome roidelapluie zach-source


text:
Chatgpt turbo example

Only a draft PR so maintainers can try locally
A small change is required when the fit function of the prompter is called, model_name needs to be passed as a positional argument now for each use case to distinguish ( the logic there can be changed ) between davinci and chatgpt prompts.
Example is going to be converted to a real use case, anything would work actually.
After testing chatgpt example, classification notebook is also tested, when all prompter fit functions have model_name argument works just fine.

Shall we close this one too?

Shall we close this one too?

Sure we can close this one

repo: promptslab/Promptify


text:
Rewrite without dependency on class declaration.

Parse init arguments the same way dependencies library do it.
Remove hard requirements on attrs, dataclasses, and pydantic.
attrs, and dataclasses should still works.

Compatibility with Pydantic library will be implemented as part of the https://github.com/proofit404/pydantic-initialized.

New documentation pages:

Guides -> attrs (classic & annotated)
Guides -> dataclasses

New documentation pages:

Guides -> attrs (classic & annotated)
Guides -> dataclasses

Superseds #72 #73 #74


text:
Updates Generator Model Table composite primary check to check null

I have noticed an issue in propel/propel/src/Propel/Generator/Model/Table.php - involving hasCompositeKey and when a table is missing it, it never makes it to its exception (foreignTable is null).
if ($foreignTable->hasCompositePrimaryKey()) is the check that is the issue in the scenario. I am going to try and send a MR in for it, but its pretty edge - but debugging it required diving as the exception / error was useless to indicate where it happens.
With the notNull assertion check this ensures this does not fail, and allows propel to proceed to the needed exception which results in:
[Propel\Generator\Exception\BuildException] Table "my_table" contains a foreign key to nonexistent table "non_existant_table"
To reproduce create a table with a foreign key to a table that does not exist. The resulting Exception is the failure in the code, not the failure of processing the schema or what the cause may be.

Reviewing deeper I am closing this PR - however a major problem still exists, what happens is that in a large system, with many tables, if a table is removed but its foreign key is not, what you will result with is a debug output that begins at where the problem as occurued.
What this means is when I have the following:
A - Foreign key to C
B
C - foreign key to B
Then:
A - Foreign key to C
B  - {Deleted}
C - foreign key to B
In the debug output, just table C will show - having 'reset the list of tables to process' starting with the table after the issue.
How this is fixed I have not figured out yet, but once you are in a very large database setup it can be difficult to isolate what happened.
(I am moving a large schema over to a new iteration of an application and removed what I thought was an orphaned table - I was wrong, and it caused 2 hours of debugging or more lol)

Fatal error: Uncaught Error: Call to a member function hasCompositePrimaryKey() on null in /var/www/html/vendor/propel/propel/src/Propel/Generator/Model/Table.php on line 791
Is there error that you will receive and it will be ambiguous as to the cause and my solution does not resolve it.

This issue is very strange as it seems to only be affected in WSL2 + Docker on Windows 10.
What I did to verify was build the same project by deleting, pulling, rebuilding.

WSL2 + Ubuntu 18 via /mnt/ - Builds Pass
WSL2 + Docker on Alpine - Build Fail
MacOS + Docker on Alpine - Build Pass

Always complains about hasCompositePrimaryKey and unable to locate the cause 😢

Well this one is insane, but here it is:
https://github.com/docker/for-win/issues/4824
Essentially when crossing the WSL2 bridge you must be mindful of directory permissions as you will receive an exit code 255 as windows will expose the filesystem as 777 permissions, but once WSL2 actually accesses the files on the windows file system the permissions are different and will reject and not provide any reason to you the console.

Thank you for the findings.
Your code change might still be valid in terms of pure PHP.
Since the value can be null we shouldnt blindly check on it causing a fatal error.
Better to throw a meaningful exception for example in that case.

authors: SourceCode dereuromark


text:
Invalid range for float inclusive ranges a..=a

With proptest 1.2.0, the following application
use proptest::prelude::*;

proptest! {
    #[test]
    fn inclusive_floats(x in 0.0..=0.0) {}
}

panics with
thread 'inclusive_floats' panicked at 'invalid range', /home/andreas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proptest-1.2.0/src/num/float_samplers.rs:463:1

Excerpt from the source:
            fn split_interval([low, high]: [$typ; 2]) -> IntervalCollection {
                    assert!(low.is_finite(), "low finite");
                    assert!(high.is_finite(), "high finite");
                    assert!(high - low > 0., "invalid range");

                    let min_abs = $typ::min(low.abs(), high.abs());
                    let max_abs = $typ::max(low.abs(), high.abs());
                    // .....

Apparently the splitting of the intervals assumes that high > low, but this is not a valid assumption for inclusive ranges.
This example might be contrived, but scenarios like these often happen in practice. For example, if you want to generate numbers $x, y, z \geq 0$ satisfying $x + y + z \leq 0$ by generating one number at a time and sampling the other numbers from a modified range, then you'll run into this case very quickly.

Thanks for the report and sorry for the delay. Triaging issues now and will get this on the backlog

authors: Andlon matthew-russo

repo: proptest-rs/proptest


text:
Preserving original formatting of page metadata for content submissions

We've been using Prose.io as a way of making quick edits to a community wiki hosted on Github and it's been a nice addition for this (thanks!). One drawback we've noticed, compared to manual pull requests, has been Prose modifies the formatting of the page metadata, which we were hoping could remain the same for consistency (search/replace, contributor documentation).
Here's an example of how it gets modified from a recent merged commit:
- tags: [Files, Reference]
+ tags:
+   - Files
+   - Reference
+ published: true

The pages still work fine but what we've been doing is after the fact manually editing the affected pages back to the original syntax (we also remove the published: true though maybe for some other use cases this is relevant).
If it were possible for Prose to preserve existing metadata formatting when detected in the document, such as the style tags: [tag1, tag2] that we utilize here, it would be useful and appreciated.

Hi there. Just wanted to comment quickly on this. Not to say this isn't something I'll explore, but this is likely to end up pretty far down on the improvements since it's just a quality of life factor and I'm just a single maintainer largely looking to keep Prose alive in my free time.
Did want to give some background on why Prose does this. Prose uses a js-yaml to read/write front-matter, which enforces yaml style arrays, hence the output you're seeing.
If you have some time and want a throw in a PR with a fix I'd be more than happy to review and merge, but as you can see, the fix might be a bit more involved than assumed due to 3rd party dependencies.

authors: babbitt chocmake

repo: prose/prose


text:
Add BirdFlowR

Insert URLs to the project here:
https://github.com/birdflow-science/BirdFlowR
In one sentence, explain what the project is about:
Predict changes in bird distributions and generate synthetic migration routes.

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues marked as 'Good First Issue' of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.

@ethanplunkett

repo: protontypes/open-sustainable-technology


text:
Deduplicate npm packages

Ideally, we would not have 3 npm packages but a single one.
I did a little research, and currently it is possible, but not easy.
This is very similar issue: https://github.com/spruceid/didkit/issues/208
One way to do it would mean creating two builds and merge results together, described here and here.
Another (easier) way would be to wait for this to merge: https://github.com/rustwasm/wasm-pack/issues/313 https://github.com/rustwasm/wasm-pack/issues/469

I think this was done, by @charlie-sanders , is that correct?

Yes this is done , closing it.

authors: aljazerzen charlie-sanders max-sixty

repo: prql/prql


text:
Add tooltip for disabled images

Location: Media library
When an image does not meet the requirements (width, height, format, etc.) for selection in an image field, it is currently grayed out. To improve the editor UX, we could add a tooltip that displays additional details when hovering over the disabled image.

Hi @murisceman, if it's alright I'd like to tackle this one. I can't get the playground up and running locally though, it results in a 500 error that doesn't get logged I think
pnpm dev

> pruvious-playground@ dev /Users/andreasvirkus/code/personal/pruvious/playground
> nuxi dev

Nuxt 3.12.4 with Nitro 2.9.7                                                                                6:57:07 AM
[get-port] Unable to find an available port (tried 3000 on host "localhost"). Using alternative port 3001.                                                                                6:57:07 AM
                                                                                6:57:07 AM
  ➜ Local:    http://localhost:3001/
  ➜ Network:  use --host to expose

  ➜ DevTools: press Shift + Option + D in the browser (v1.3.7)                                                                                6:57:09 AM

✔ Database synced in 91 ms                                                                                pruvious 6:57:10 AM
✔ Pruvious built in 885 ms                                                                                pruvious 6:57:10 AM

 ERROR  Pre-transform error: failed to resolve "extends":"./.nuxt/tsconfig.json" in /Users/andreasvirkus/code/personal/pruvious/tsconfig.json                                                       6:57:11 AM

ℹ Vite server warmed up in 1031ms                                                                                6:57:12 AM
ℹ Vite client warmed up in 1754ms                                                                                6:57:13 AM
✔ Nuxt Nitro server built in 2066 ms                                                                                nitro 6:57:13 AM

Hey @andreasvirkus, thank you for offering your help. I appreciate it! The thing is, I've already done this in 2ba9e8c :D
To address the issue you were facing, you need to run pnpm dev:prepare to make it work. I've just included it into postinstall, so it will execute automatically after running pnpm i.

Also, I'll publish this change in a new release once more features are completed, as it's not a critical bug.

Hehe, I just arrived at the same discovery 😅

Awesome, feel free to close this out then and thanks for working so fast!

Released in v3.12.5.

authors: andreasvirkus murisceman

repo: pruvious/pruvious


text:
Implement correct WebFinger requests including hostmeta

https://github.com/felx/mastodon-documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md#webfinger

This should now be fixed.

repo: pruvisto/debirdify


text:
cryptocurrencyAPA

Screenshot from inside the program


text:
Feature

i was adding Teleport to the code but its not working, and pls add is there any way to change my name and the host name
else if (selected_tab == 5) {
calculatedHeight += itemHeight + headerPadding;

const char* gmae_area_options[] = { "Machine", "Medical", "Camera", "Shipping", "Restaurant", "Lab", "Garden", "Lobby Room" };
const char* out_of_bound_options[] = {
	"Yellow Apartment",
	"Red Apartment",
	"Shipping Catwalk",
	"Medical Hallway",
	"Restaurant Glass Room",
	"Restaurant Aquarium",
	"Glass Roof Spawn",
	"Lobby Glass Room",
	"Tutorial Room"
};

int area_value = 9;
int area_index = area_value - 1;

int out_of_bound_value = 10;
int out_of_bound_index = out_of_bound_value - 1;

ImGui::Text("Game Area");
ImGui::SameLine();
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
if (ImGui::Combo("##Game Area", &area_index, gmae_area_options, IM_ARRAYSIZE(gmae_area_options))) {
	area_value = area_index + 1;
	// Update net_location.X, net_location.Y, net_location.Z based on selected game area
	const float game_area_coords[][3] = {
		{5159.9999f, 11440.0f, 0.0f}, // Machine
		{6640.1723f, 3640.0f, 0.0f},  // Medical
		{10141.4039f, 11959.9999f, 0.0f}, // Camera
		{3759.9999f, 8559.9999f, 82.5783f}, // Shipping
		{7460.0f, 7940.0f, 0.0f},  // Restaurant
		{8759.9999f, 5544.9045f, 1.1481f}, // Lab
		{11140.0f, 2740.0f, 0.0f},  // Garden
		{11092.6810f, 12646.1616f, 500.0f} // Lobby Room
	};
	auto net_location = local_mec->get_net_location();
	net_location.X = game_area_coords[area_index][0];
	net_location.Y = game_area_coords[area_index][1];
	net_location.Z = game_area_coords[area_index][2];
	local_mec->set_net_location(net_location);
	printf("Net Location after update: %f, %f, %f\n", net_location.X, net_location.Y, net_location.Z);
}

ImGui::Text("Out Of Bound");
ImGui::SameLine();
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x);
if (ImGui::Combo("##OutOfBound", &out_of_bound_index, out_of_bound_options, IM_ARRAYSIZE(out_of_bound_options))) {
	out_of_bound_value = out_of_bound_index + 1;
	// Update net_location.X, net_location.Y, net_location.Z based on selected out of bound location
	const float out_of_bound_coords[][3] = {
		{10686.7087f, 6287.1945f, 500.0f}, // Yellow Apartment
		{8496.1249f, 10656.7508f, 1000.0f}, // Red Apartment
		{5105.8489f, 8559.9999f, 500.0f}, // Shipping Catwalk
		{3706.2617f, 3631.1171f, 0.0f}, // Medical Hallway
		{5940.0f, 7940.0f, 0.0f}, // Restaurant Glass Room
		{5802.8089f, 7024.6166f, 125.1444f}, // Restaurant Aquarium
		{10596.4800f, 8701.4533f, 1500.0f}, // Glass Roof Spawn
		{10128.0709f, 12433.8404f, 500.0f}, // Lobby Glass Room
		{8560.6636f, 20154.4441f, 500.0f} // Tutorial Room
	};
	auto net_location = local_mec->get_net_location();

	net_location.X = out_of_bound_coords[out_of_bound_index][0];
	net_location.Y = out_of_bound_coords[out_of_bound_index][1];
	net_location.Z = out_of_bound_coords[out_of_bound_index][2];
	local_mec->set_net_location(net_location);
	printf("Net Location after update: %f, %f, %f\n", net_location.X, net_location.Y, net_location.Z);
	auto net_location2 = local_mec->get_net_location();
	printf("Net Location after update: %f, %f, %f\n", net_location2.X, net_location2.Y, net_location2.Z);

}
calculatedHeight += itemHeight;

}

Teleport in external is not possible.

what about changing the name or host name ?

Unfortunately these are both FStrings which do not convert properly for editing. If you would like to help in coding the proper structure it is located in game_structures.hpp:
`// fix later, fuk u bditt
class fstring : public t_array<wchar_t> {
public:
std::string read_string() {
if (count <= 0 || count > 500)
{
return std::string();
}
	auto test = mem::rpm<wchar_holder>(_data);
	char ch[260];
	char DefChar = ' ';
	WideCharToMultiByte(CP_ACP, 0, test.data, -1, ch, 260, &DefChar, NULL);
	std::string ss(ch);
	return ss;
}

};`

tnx let me check

repo: psZachary/lockdown-protocol-external

license: Unlicense


text:
[BUG] lorem-ipsum words can be missed/ignored due to casing

The sample text for lorem-ipsum script contains uppercase characters which get emitted when rebuilding the word list. Since vim's spell dictionary is case sensitive, these words are inaccurately still marked as incorrect in different flavors/mutations of the lorem paragraph.
This should be an easy fix by adding something like: tr '[:upper:]' '[:lower:]' to the command pipeline.
I opened a PR for this issue: #34

As a side issue: I use the plugin friendly-snippets where they provide a snippet for lorem text,
and there appears to be a discrepancy in that plugin and this one.
That text contain the string: adipisicing, while this plugins example uses adipiscing. I can only guess there is slight variations on lorem text, perhaps it's an alternate spelling but that means this word will not be recognized with this plugins current method word list.
I've added this to my spell dictionary for now but is it worth and/or is there a clean way to include this in the update-lorem-ipsum script? Just adding the new paragraph would require scrubbing duplicates most likely.

Lorem paragraph: provided by vim-dirtytalk
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.

Lorem paragraph: provided by friendly-snippets
Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim
labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet. Nisi
anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum Lorem est
aliquip amet voluptate voluptate dolor minim nulla est proident. Nostrud officia
pariatur ut officia. Sit irure elit esse ea nulla sunt ex occaecat reprehenderit
commodo officia dolor Lorem duis laboris cupidatat officia voluptate. Culpa
proident adipisicing id nulla nisi laboris ex in Lorem sunt duis officia
eiusmod. Aliqua reprehenderit commodo ex non excepteur duis sunt velit enim.
Voluptate laboris sint cupidatat ullamco ut ea consectetur et est culpa et culpa
duis.

Good catch, thanks for fixing this! I just merged the fix to master.

[...] is it reasonable to consider adding the alternate passage to the plugin's update-lorem-ipsum script?

Sounds perfectly reasonable. I pulled this version of lorem-ipsum from Wikipedia, but frankly I have no idea which one is "correct", or whether a "correct" version exists at all (it's not actual Latin AFAIK). But if alternate versions exist in the wild then yeah, I think we want to cover all of them ;)

Man, I always just assumed it was "just" Latin. Guess it's been mutated for a few hundred years.

The lorem ipsum is based on De finibus bonorum et malorum, a Latin text written by Cicero in 45 BC. Typographers and printers have used passages from this work for formatting since the 16th century. Many words have been added or modified over the centuries. As a result, the lorem ipsum is no longer considered Latin, even though it looks a lot like it.

I was playing around with adding the alternate by using some extra commands in the pipeline like sort | uniq in an attempt to strip duplicates but didn't get far since the output was removing too many words. I'll play around with it again when I have time.
Glad this could get merged. Thanks!

authors: daephx psliwka

repo: psliwka/vim-dirtytalk


text:
Appstudio update test-component-pac-cbsl

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-cbsl-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
38 seconds
build-container

✅ Succeeded
17 seconds
deprecated-base-image-check

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
14 seconds
clair-scan

✅ Succeeded
49 seconds
clamav-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
14 seconds
label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-cbsl-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
28 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
19 seconds
deprecated-base-image-check

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
56 seconds
sbom-json-check

✅ Succeeded
14 seconds
label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-cbsl-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
28 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
19 seconds
deprecated-base-image-check

✅ Succeeded
56 seconds
sbom-json-check

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
14 seconds
label-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary

repo: psturc-org/devfile-sample-hello-world


text:
Appstudio update test-component-pac-axjz

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-axjz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
38 seconds
build-container

✅ Succeeded
13 seconds
deprecated-base-image-check

✅ Succeeded
17 seconds
inspect-image

✅ Succeeded
17 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
12 seconds
label-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-axjz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
37 seconds
build-container

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
13 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
13 seconds
sbom-json-check

✅ Succeeded
11 seconds
label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom

Pipelines as Code CI/test-component-pac-axjz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
37 seconds
build-container

✅ Succeeded
19 seconds
inspect-image

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
13 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
13 seconds
sbom-json-check

✅ Succeeded
11 seconds
label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom


text:
CART attribute error during extraction

Error when executing the extract method of CART, with both classification with discretisation and regression without discretisation.
The instruction producing the exception is: self.predictor.as_sequence(), which should convert the tree into a sequence of leaves.
AttributeError: 'Sequential' object has no attribute 'as_sequence'

Can you post the code when you call extract method? In CI there is a specific test now where both classification (with discretization and without it) and regression are covered.

AttributeError                            Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_1324/754653060.py in
1 cart = Extractor.cart(predictor, iris_features)
----> 2 theory_from_cart = cart.extract(train)
3 print('\nCART extracted rules:\n\n' + pretty_theory(theory_from_cart))
~\Desktop\psyke\psyke-python\psyke\cart_init_.py in extract(self, data)
38
39     def extract(self, data: pd.DataFrame) -> Theory:
---> 40         return self.__create_theory(self.predictor.as_sequence(), data)
41
42     def predict(self, data) -> Iterable:
AttributeError: 'KNeighborsClassifier' object has no attribute 'as_sequence'

Is predictor a neural network? For the moment cart accepts only DecisionTreeClassifier and DecisionTreeRegressor from sklearn. Asap I'll make the algorithm accept any arbitrary predictor.

No, actually it was a KNN.
Ok, thanks :)

authors: MatteoMagnini sabbatinif

repo: psykei/psyke-python


text:
Can't pip-install requirements-dev.txt

I wanted to just see what the generator does (and then possibly work on https://github.com/pthom/imgui_bundle/discussions/38#discussioncomment-4373476), but pip install -U -r requirements-dev.txt already fails. I know you're not expecting others to use this yet, but thought i may as well mention it here (though i guess technically what i paste below should be an issue in the litgen repo). This is what i got trying to pip-install:
(venv) C:\...\imgui_bundle>pip install -U -r requirements-dev.txt
Collecting litgen@ git+https://github.com/pthom/litgen
  Cloning https://github.com/pthom/litgen to c:\users\huml-dkn\appdata\local\temp\pip-install-sh6uf_z1\litgen_fdb59bc6d2154d2a9479d3c3384255e4
  Running command git clone --filter=blob:none --quiet https://github.com/pthom/litgen 'C:\Users\huml-dkn\AppData\Local\Temp\pip-install-sh6uf_z1\litgen_fdb59bc6d2154d2a9479d3c3384255e4'
  Resolved https://github.com/pthom/litgen to commit 432fb6b424bddf2c5dc838b58cb522226fb45dc0
  Running command git submodule update --init --recursive -q
  error: unable to create file hello_imgui_cmake/android/apkCMake/templates/sdl/gradle_template/app/src/main/java/org/libsdl/app/HIDDeviceBLESteamController.java: Filename too long
  error: unable to create file hello_imgui_cmake/android/apkCMake/templates/sdl/gradle_template/app/src/main/java/org/libsdl/app/HIDDeviceManager.java: Filename too long
  error: unable to create file hello_imgui_cmake/android/apkCMake/templates/sdl/gradle_template/app/src/main/java/org/libsdl/app/HIDDeviceUSB.java: Filename too long
  error: unable to create file hello_imgui_cmake/android/apkCMake/templates/sdl/gradle_template/app/src/main/java/org/libsdl/app/SDLAudioManager.java: Filename too long
  error: unable to create file hello_imgui_cmake/android/apkCMake/templates/sdl/gradle_template/app/src/main/java/org/libsdl/app/SDLControllerManager.java: Filename too long
  From https://github.com/pthom/imgui
   * branch              a08931272922462f8bd4afb52011f8b5bc6a6ebe -> FETCH_HEAD
  Unable to checkout 'c59ba4cf2659648c584dd354ab646811b4cc9aa7' in submodule path 'demos/litgen/imgui_bundle/external/hello_imgui'
  Failed to recurse into submodule path 'demos/litgen/imgui_bundle'
  error: subprocess-exited-with-error

  × git submodule update --init --recursive -q did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

and this is a well known git issue under windows (google git long path)

Ok, fixed with the first google hit :P. Next one:
Collecting litgen@ git+https://github.com/pthom/litgen
  Cloning https://github.com/pthom/litgen to c:\users\huml-dkn\appdata\local\temp\pip-install-6cn54fnu\litgen_7c71d7f44e9f4e37a1a1982ae20fb967
  Running command git clone --filter=blob:none --quiet https://github.com/pthom/litgen 'C:\Users\huml-dkn\AppData\Local\Temp\pip-install-6cn54fnu\litgen_7c71d7f44e9f4e37a1a1982ae20fb967'
  Resolved https://github.com/pthom/litgen to commit 432fb6b424bddf2c5dc838b58cb522226fb45dc0
  Running command git submodule update --init --recursive -q
  From https://github.com/pthom/imgui
   * branch              a08931272922462f8bd4afb52011f8b5bc6a6ebe -> FETCH_HEAD
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package litgen produced metadata for project name srcmlcpp. Fix your #egg=litgen fragments.
Discarding git+https://github.com/pthom/litgen: Requested srcmlcpp from git+https://github.com/pthom/litgen (from -r requirements-dev.txt (line 1)) has inconsistent name: filename has 'litgen', but metadata has 'srcmlcpp'
ERROR: Could not find a version that satisfies the requirement litgen (unavailable) (from versions: none)
ERROR: No matching distribution found for litgen (unavailable)

Hmm, i see that pthom/litgen actually forwards to pthom/srcmlcpp. So i just updated the requirements-dev.txt file.
That gets me to here:
Building wheels for collected packages: srcmlcpp, srcml_caller
  Building wheel for srcmlcpp (pyproject.toml) ... done
  Created wheel for srcmlcpp: filename=srcmlcpp-0.1.0-py3-none-any.whl size=613575 sha256=548a49c907bf7d799ce5738b5e8e02cc6b7854e609900f1e11e88cc4bc34d8a4
  Stored in directory: C:\Users\huml-dkn\AppData\Local\Temp\pip-ephem-wheel-cache-yu5eydfe\wheels\4c\fb\21\2cbb57b39f4b643cb14b59b7f54a4519e0e3c381cc4d608eed
  Building wheel for srcml_caller (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for srcml_caller (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [111 lines of output]

      --------------------------------------------------------------------------------
      -- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      Not searching for unused variables given on the command line.
      -- The C compiler identification is MSVC 19.34.31935.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/bin/Hostx86/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- The CXX compiler identification is MSVC 19.34.31935.0
      CMake Warning (dev) at C:/Users/huml-dkn/AppData/Local/Temp/pip-build-env-veuax1i0/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake:162 (if):
        Policy CMP0054 is not set: Only interpret if() arguments as variables or
        keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
        details.  Use the cmake_policy command to set the policy and suppress this
        warning.

        Quoted variables like "MSVC" will no longer be dereferenced when the policy
        is set to NEW.  Since the policy is not set the OLD behavior will be used.
      Call Stack (most recent call first):
        CMakeLists.txt:4 (ENABLE_LANGUAGE)
      This warning is for project developers.  Use -Wno-dev to suppress it.

      CMake Warning (dev) at C:/Users/huml-dkn/AppData/Local/Temp/pip-build-env-veuax1i0/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake:183 (elseif):
        Policy CMP0054 is not set: Only interpret if() arguments as variables or
        keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
        details.  Use the cmake_policy command to set the policy and suppress this
        warning.

        Quoted variables like "MSVC" will no longer be dereferenced when the policy
        is set to NEW.  Since the policy is not set the OLD behavior will be used.
      Call Stack (most recent call first):
        CMakeLists.txt:4 (ENABLE_LANGUAGE)
      This warning is for project developers.  Use -Wno-dev to suppress it.

      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/bin/Hostx86/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring done
      -- Generating done
      -- Build files have been written to: C:/Users/huml-dkn/AppData/Local/Temp/pip-install-mycottj2/srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7/_cmake_test_compile/build
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator - success
      --------------------------------------------------------------------------------

      Configuring Project
        Working directory:
          C:\Users\huml-dkn\AppData\Local\Temp\pip-install-mycottj2\srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7\_skbuild\win-amd64-3.10\cmake-build
        Command:
          cmake 'C:\Users\huml-dkn\AppData\Local\Temp\pip-install-mycottj2\srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\huml-dkn\AppData\Local\Temp\pip-install-mycottj2\srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7\_skbuild\win-amd64-3.10\cmake-install\bindings\srcml_caller' -DPYTHON_VERSION_STRING:STRING=3.10.7 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\huml-dkn\AppData\Local\Temp\pip-build-env-veuax1i0\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv\Scripts\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Program Files\Python310\Include' '-DPYTHON_LIBRARY:PATH=C:\Program Files\Python310\libs\python310.lib' '-DPython_EXECUTABLE:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv\Scripts\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv' '-DPython_INCLUDE_DIR:PATH=C:\Program Files\Python310\Include' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython3_EXECUTABLE:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv\Scripts\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv' '-DPython3_INCLUDE_DIR:PATH=C:\Program Files\Python310\Include' -DPython3_FIND_REGISTRY:STRING=NEVER -DCMAKE_BUILD_TYPE:STRING=Release

      -- The C compiler identification is MSVC 19.34.31935.0
      -- The CXX compiler identification is MSVC 19.34.31935.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/bin/Hostx86/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/bin/Hostx86/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      'C:/Users/huml-dkn/Desktop/imgui_bundle/venv/Scripts/python.exe' '-c' 'import pybind11; print(pybind11.get_cmake_dir())'
      -- Found PythonInterp: C:/Users/huml-dkn/Desktop/imgui_bundle/venv/Scripts/python.exe (found suitable version "3.10.7", minimum required is "3.6")
      -- Found PythonLibs: C:/Program Files/Python310/libs/python310.lib
      -- Performing Test HAS_MSVC_GL_LTCG
      -- Performing Test HAS_MSVC_GL_LTCG - Success
      -- Found pybind11: C:/Users/huml-dkn/AppData/Local/Temp/pip-build-env-veuax1i0/overlay/Lib/site-packages/pybind11/include (found version "2.10.1")
      -- Project version: 1.0.0
      CMake Error at C:/Users/huml-dkn/AppData/Local/Temp/pip-build-env-veuax1i0/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
        Could NOT find LibArchive (missing: LibArchive_LIBRARY
        LibArchive_INCLUDE_DIR) (Required is at least version "3")
      Call Stack (most recent call first):
        C:/Users/huml-dkn/AppData/Local/Temp/pip-build-env-veuax1i0/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
        C:/Users/huml-dkn/AppData/Local/Temp/pip-build-env-veuax1i0/overlay/Lib/site-packages/cmake/data/share/cmake-3.25/Modules/FindLibArchive.cmake:67 (find_package_handle_standard_args)
        external/srcML/src/client/CMakeLists.txt:9 (find_package)

      -- Configuring incomplete, errors occurred!
      See also "C:/Users/huml-dkn/AppData/Local/Temp/pip-install-mycottj2/srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7/_skbuild/win-amd64-3.10/cmake-build/CMakeFiles/CMakeOutput.log".
      Traceback (most recent call last):
        File "C:\Users\huml-dkn\AppData\Local\Temp\pip-build-env-veuax1i0\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 632, in setup
          env = cmkr.configure(
        File "C:\Users\huml-dkn\AppData\Local\Temp\pip-build-env-veuax1i0\overlay\Lib\site-packages\skbuild\cmaker.py", line 334, in configure
          raise SKBuildError(

      An error occurred while configuring with CMake.
        Command:
          cmake 'C:\Users\huml-dkn\AppData\Local\Temp\pip-install-mycottj2\srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\huml-dkn\AppData\Local\Temp\pip-install-mycottj2\srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7\_skbuild\win-amd64-3.10\cmake-install\bindings\srcml_caller' -DPYTHON_VERSION_STRING:STRING=3.10.7 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\huml-dkn\AppData\Local\Temp\pip-build-env-veuax1i0\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv\Scripts\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Program Files\Python310\Include' '-DPYTHON_LIBRARY:PATH=C:\Program Files\Python310\libs\python310.lib' '-DPython_EXECUTABLE:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv\Scripts\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv' '-DPython_INCLUDE_DIR:PATH=C:\Program Files\Python310\Include' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython3_EXECUTABLE:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv\Scripts\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\huml-dkn\Desktop\imgui_bundle\venv' '-DPython3_INCLUDE_DIR:PATH=C:\Program Files\Python310\Include' -DPython3_FIND_REGISTRY:STRING=NEVER -DCMAKE_BUILD_TYPE:STRING=Release
        Source directory:
          C:\Users\huml-dkn\AppData\Local\Temp\pip-install-mycottj2\srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7
        Working directory:
          C:\Users\huml-dkn\AppData\Local\Temp\pip-install-mycottj2\srcml-caller_6ce31932bc6f4d048523b8433c1e7bf7\_skbuild\win-amd64-3.10\cmake-build
      Please see CMake's output for more information.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for srcml_caller
Successfully built srcmlcpp
Failed to build srcml_caller
ERROR: Could not build wheels for srcml_caller, which is required to install pyproject.toml-based projects

I see libarchive can be downloaded here, but where do i place it for CMake to find it?

authors: dcnieho pthom


text:
docs: add CONTRIBUTING.md

Type of PR (check all applicable)

[x] Update Docs (docs)

Summary
CONTRIBUTING.md 파일 작성

굳!!!

authors: gmldus smithoo

repo: pubg/vlossom


text:
Web Of Trust (WOT) link is dead.

Hi,
In the antimalware section, the hyperlink associated with Web Of Trust (WOT) seems to be not working as expected. You will get a 404 when you try the access the link. Kindly check and correct the same.
Thanks,
Rakesh

To replace with https://support.mywot.com/hc/en-us/articles/360024398673-3-Using-the-API

Hi,
I would like to work on this issue and replace the WOT hyperlink with the one provided.

.take

Okay.

Thanks @3ng7n33r. Please be careful next time as @md-yaseen wanted to look into it.

authors: 3ng7n33r md-yaseen r-sunny yannbertrand

repo: public-apis/public-apis


text:
Add Tenders in Poland

[X] My submission is formatted according to the guidelines in the contributing guide
[X] My addition is ordered alphabetically
[X] My submission has a useful description
[X] The description does not have more than 100 characters
[X] The description does not end with punctuation
[X] Each table column is padded with one space on either side
[X] I have searched the repository for any relevant issues or pull requests
[X] Any category I am creating has the minimum requirement of 3 items
[X] All changes have been squashed into a single commit

My pleasure!


text:
Bulgaria open data

[X] My submission is formatted according to the guidelines in the contributing guide
[X] My addition is ordered alphabetically
[X] My submission has a useful description
[X] The description does not have more than 100 characters
[X] The description does not end with punctuation
[X] Each table column is padded with one space on either side
[X] I have searched the repository for any relevant issues or pull requests
[X] Any category I am creating has the minimum requirement of 3 items
[X] All changes have been squashed into a single commit

Okay, sorry for the problem. :)


text:
Auto Fade - after you draw  - feature please

Hi!
I love your work.
I'm a teacher doing remote lecturer.
While reading to students, having a tool that could draw the lines you're reading and auto fading for you could be really helpful for either screencast, presentations, and video tutorials.
Do you think is it possible to add such a feature?
An example of it:
I found a tool for presentations only, that has a similar feature when in presentation mode, see here please:  https://www.simplediagrams.com/docs/presentation-mode.html
I think it could be an awesome addition to ppInk

I have introduced a new property - fading - for color:

You can adjust the time before fading with the value (default 5 sec). This works for all drawings but images - for unknown reason.
ppInkFading.zip
Is it good for you?

Dear pubpub-zz
I’m stunned!
This is great!
Thank you so much!
Are the units in seconds and are float decimal allowed?
Are artefacts after fading’s my end problem? (they are very hard to see anyway, see screenshot please.
What is the right step to get the configuration file saved and not reverting to default each time launching the application?
Thank you so much for this. Your work is awesome. My colleagues are all using your app now 😊
Kindest Regards
L[cid:image001.jpg@01D70223.8AA24440][cid:image002.jpg@01D70223.8AA24440]
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: pubpub-zzmailto:notifications@github.com
Sent: 13 February 2021 15:52
To: pubpub-zz/ppInkmailto:ppInk@noreply.github.com
Cc: lucacuccu3x8mailto:lucacuccu3x8@hotmail.com; Authormailto:author@noreply.github.com
Subject: Re: [pubpub-zz/ppInk] Auto Fade - after you draw - feature please (#56)
I have introduced a new property - fading - for color:
[image]https://user-images.githubusercontent.com/4083478/107854329-74f02680-6e1b-11eb-9cf8-0cfac1009b7d.png
You can adjust the time before fading with the value (default 5 sec). This works for all drawings but images - for unknown reason.
ppInkFading.ziphttps://github.com/pubpub-zz/ppInk/files/5975943/ppInkFading.zip
Is it good for you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/pubpub-zz/ppInk/issues/56#issuecomment-778636812, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACLRAU3BMW5NMBXX4M2N6WDS62N4HANCNFSM4XQVDA7Q.

Dear pubpub-zz
I’m stunned!
This is great!
Thank you so much!
Are the units in seconds and are float decimal allowed?
Are artifacts after fading’s my end problem? (they are very hard to see anyway, see screenshot, please.
What is the right step to get the configuration file saved and not reverting to default each time launching the application?
Thank you so much for this. Your work is awesome. My colleagues are all using your app now 😊
Kindest Regards

the best solution is to activate fading in the options / Pen tab. The time before fading can be also modified there. The fading time is about half a second, and is not customizable. Once you have set what you want you save the changes on the general tab.
The value in the pens.ini file can be Y/N/number; Y = general value ; N = No Fading ; number = number of seconds (float) straight typed
I have difficulties to understand about what you mean about artifacts : can you clarify?

Hi pubpub-zz
thank you very much for the reply.
Regarding the Artifacts, I meant about the lines faded are still a tiny visible like "ghosting"  - please see  screenshot -
It seems to appear only when using the pen as a pencil.
this ghosting disappears when you invoke the "clear" with the hotkey.
but, don't worry about it! - I think it's the transparent background applied, or just me.
Also, when selecting the OK in the "Pen Adjustment" I get this error - please see screenshot -

it seems to happen only when adjusting pen  6 7 8; - the first 5 pens are ok.
I've changed the colors from the pen.ini file anyway. so it is all good for me;

thank you very much again
Kindest Regards
Before fading:

After Fading:

Error after confirming the "Pen Adjustment" colors and alpha settings:

The ghosting effect seems to be due to the fact that the last drawing does not have a full transparency : this is odd as after this last drawing, the stroke is deleted and should not induce this ghost
I've also fixed the crash :
ppInkZoom.zip
I've also included a first version for zoom tool (your opinion)

thanks pubpub
btw the file is flagged with a trojan ;)

btw the file is flagged with a trojan ;)

Thanks for reporting, I've rescanned with trendmicro and microsoft essential without any warning. which solution are you using?

issue to be closed : the feature is implemented

Thank you pubpub-zz.
It is working great and it is very useful in live presentations.
Perhaps, If I may and If you'd like the idea, I took the default icon and changed the color from red to blue, just to distinguish your featured one ppInk from the original one gInk. see attachments, please.
Blue ppInk Icons.zip

repo: pubpub-zz/ppInk


text:
Allow overriding celery options from config file

This also takes into account that Celery now wants its options to be lowercase, whereas the old celery.conf.update(app.config) gave it way too much info and tended to use uppercase.

Looks good to me. Just out of interest: which overrides are you guys currently using? I've had so many in place now, but somehow most of them turned out to be blankets put in place to fix up architecture bonfires, so it'd be good to know!

authors: longhotsummer pudo

repo: pudo/aleph


text:
Some ReCAP locations are not showing up with the remote_storage flag

I have noted that recap$pf and recap$pj do not have the remote storage flag.  Can this data be refreshed from Alma once alma has been updated.  I believe @pdiskin and @pmgreen  are working on the updates to Alma

@carolyncole we are working on this now.

ok so I should wait and not update them in bibdata until you tell me.

@christinach PF and PJ have been added as Remote Storage Locations.

Thank you!

closed by #1386

authors: carolyncole christinach pmgreen

repo: pulibrary/bibdata


text:
De-deuplicate file lists generated from structMaps

Fixes #899

Coverage remained the same at 100.0% when pulling bd1ff3fc20a769fdee341e911536a3f684630e02 on section-duplication into 3a786ae036c34d6cc426b91fb92b6b0568f3b554 on master.

authors: coveralls escowles

repo: pulibrary/plum


text:
Remove deprecated ReCAP methods; add new ReCAP query

The old ReCAP methods are obsolete, as the data is generated from an external file of barcodes as opposed to barcodes within Voyager. The new query allows one to look up an array of barcodes from an external source to find IDs (bib, MFHD, and item) associated with those barcodes in particular locations.

Thanks @mzelesky.

authors: kevinreiss mzelesky


text:
WIP: Add script xcelium

Generates a flat list of command line parameters which can be fed to xcelium using the -f switch. Normally this contains a list of files in the correct order (with respect to dependencies) and defines.
TODO

[ ] fix warnings
[ ] figure out how and if vhdl files need different handling
[ ] run tests

Thanks for your work! Please let us know when you need feedback or help.

I'm not convinced of this approach anymore.

authors: accuminium bluewww

repo: pulp-platform/bender


text:
GCP: Pulumi use application-default only if no GOOGLE_APPLICATION_CREDENTIALS set

Proposed changes
oauth2/google.DefaultTokenSource only searches at these locations:
//   1. A JSON file whose path is specified by the
//      GOOGLE_APPLICATION_CREDENTIALS environment variable.
//   2. A JSON file in a location known to the gcloud command-line tool.
//      On Windows, this is %APPDATA%/gcloud/application_default_credentials.json.
//      On other systems, $HOME/.config/gcloud/application_default_credentials.json.
//   3. On Google App Engine standard first generation runtimes (<= Go 1.9) it uses
//      the appengine.AccessToken function.
//   4. On Google Compute Engine, Google App Engine standard second generation runtimes
//      (>= Go 1.11), and Google App Engine flexible environment, it fetches
//      credentials from the metadata server.

terraform-provider-google-beta uses this DefaultTokenSource if nothing is explicitly defined.
Therefore the gcloud auth login has no effect. It seems also the gcloud config.

This sentence in "Configure Google Cloud" is also wrong, at least the account set in the currently activated config (see gcloud config configurations list) will not be used:

If you have previously configured the Google Cloud CLI, gcloud, Pulumi will respect and use your configuration settings.

@davidwrede Do you want to pull this in? If so, we'll need to get it moved to pulumi-hugo.

@cnunciato No, I think we're good. As part of https://github.com/pulumi/docs/pull/4791/, I updated the Google Cloud SDK installation and configuration content to refer to Google's official setup steps.

authors: Dominik-K cnunciato davidwrede

repo: pulumi/docs


text:
Lambda function examples should not have explicit names

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
Related to https://github.com/pulumi/pulumi-terraform-bridge/issues/1783
The basic example for lambda function has explicit name parameters: https://www.pulumi.com/registry/packages/aws/api-docs/lambda/function/#basic-example
This hurts code reuse and causes name clashes etc. It is also unnecessary since pulumi has auto-naming.
const iamForLambda = new aws.iam.Role("iam_for_lambda", {
    name: "iam_for_lambda",
    assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json),
});

can be
const iamForLambda = new aws.iam.Role("iam_for_lambda", {
    assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json),
});

and
const testLambda = new aws.lambda.Function("test_lambda", {
    code: new pulumi.asset.FileArchive("lambda_function_payload.zip"),
    name: "lambda_function_name",
    role: iamForLambda.arn,
    handler: "index.test",
    sourceCodeHash: lambda.then(lambda => lambda.outputBase64sha256),
    runtime: "nodejs18.x",
    environment: {
        variables: {
            foo: "bar",
        },
    },
});

can be
const testLambda = new aws.lambda.Function("test_lambda", {
    code: new pulumi.asset.FileArchive("lambda_function_payload.zip"),
    role: iamForLambda.arn,
    handler: "index.test",
    sourceCodeHash: lambda.then(lambda => lambda.outputBase64sha256),
    runtime: "nodejs18.x",
    environment: {
        variables: {
            foo: "bar",
        },
    },
});

Affected area/feature

I think this is exactly https://github.com/pulumi/pulumi-converter-terraform/issues/122

repo: pulumi/pulumi-aws


text:
Upgrade terraform provider aws to v5.25.0

Upstream v5.25.0 release notes
Fixes #2983, #2904, #2971, #2900

[x] Rebuild eks.Cluster patches; upstream moved to AWS SDK v2 for Go, patches needed updates as well
[x] Fix https://github.com/pulumi/pulumi-terraform-bridge/issues/1523 in the bridge
[x] Update bridge to include https://github.com/pulumi/pulumi-terraform-bridge/pull/1521 and https://github.com/pulumi/pulumi-terraform-bridge/pull/1520 fixes affecting P1s in pulumi-aws
[x] Build a Pulumi test for EKS Cluster add-on removal -> turns out the property is a no-op, not needed

Actually the addon-related property seems to be a no-op. https://github.com/pulumi/pulumi-aws/issues/3009 <- will follow up later on with deprecating it.

/should-release v6.9.0

finite incantatem

/release v6.9.0


text:
Unable to create DatabaseFirewall for DatabaseReplica

What happened?
When I create DatabaseFirewall for DatabaseReplica, I get a "404 page not found" error,
Steps to reproduce

Create a MySQL cluster
Create DatabaseReplica
Create DatabaseFirewall and point cluster_id to mysql_read_replica.id.

Expected Behavior
Create a Firewall in the Database with the given rules.
Actual Behavior
Get 404 Error.
clusterId shown when previewing the pulumi run: "[UUID]/replicas/mysql-dev-read-replica"
Versions used
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @UnP1u9 - thanks for opening the issue. Could you share a small repro code snippet? Could you also share any additional details from the error?

Added a snippet code here, hope this helps
https://github.com/UnP1u9/pulumi-do-test
Pulumi Up command Details ===>
[urn=urn:pulumi:infra::infra::digitalocean:index/databaseFirewall:DatabaseFirewall::db-fw-ro]
[provider=urn:pulumi:infra::infra::pulumi:providers:digitalocean::default_4_12_0::[MASKED_UUID]]
clusterId : "[MASKED_UUID]/replicas/mysql-read-replica"
rules     : []
ERROR ===>
digitalocean:index:DatabaseFirewall (db-fw-ro):
error: 1 error occurred:
* Error creating DatabaseFirewall: PUT https://api.digitalocean.com/v2/databases/[MASKED_UUID]/replicas/mysql-sales-read-replica/firewall: 404 (request "[MASKED_REQ_ID]") 404 page not found

repo: pulumi/pulumi-digitalocean


text:
Fix AWS KMS secret provider docs for setting profile

The "awssdk=v2" property is required according to the original PR and confirmed by a user in an issue:

https://github.com/pulumi/pulumi/pull/9590
https://github.com/pulumi/pulumi/issues/9846

Closing this to re-open from a branch so that the preview runs.

repo: pulumi/pulumi-hugo


text:
Move "Additional Examples" section below main documentation sections

What happened?
Some resources (Monitor, BrokenLinkMonitor, CertCheckMonitor. Monitor, ScriptMonitor) in the Synthetics module have an "Additional Examples" section which is at the top of the page and requires scrolling through them to get to the main documentation bits.
Expected Behavior
It would be nicer if the "Additional Examples" section was down by the "Import" section.
Steps to reproduce

Go to https://www.pulumi.com/registry/packages/newrelic/api-docs/synthetics/monitor/

or other "monitor" modules

Note the lengthy "Additional Examples" section at the top of the page.

Output of pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Thank you for reporting this! This same issue could affect generated docs for other Pulumi providers as well.

authors: MitchellGerdisch jazzyfresh

repo: pulumi/pulumi-newrelic


text:
Error importing escalation policy

Running pulumi import pagerduty:index/escalationPolicy:EscalationPolicy resource_name id or bulk importing via json results in an error and does not import
Expected behavior
Running the command or bulk importing via json results in importing the EscalationPolicy resources
Current behavior
Running the command or bulk importing via json results in the following error for every import
 pagerduty:index:EscalationPolicy (resource_name):
    error: pagerduty:index/escalationPolicy:EscalationPolicy resource 'resource_name' has a problem: "rule.0.id": this field cannot be set
    error: Preview failed: one or more inputs failed to validate

Steps to reproduce

run pulumi import pagerduty:index/escalationPolicy:EscalationPolicy resource_name id

Alternative way to reproduce error:

Create file of data.json in dir.
Paste the following in with appropriate ids
Run pulumi import --file data.json

{
   "nameTable": {
      "pagerduty": "urn:pulumi:pagerduty::pagerduty::pulumi:providers:pagerduty::default_2_0_0"
   },
   "resources": [
      {
         "type": "pagerduty:index/escalationPolicy:EscalationPolicy",
         "id": "PXXXXXXX",
         "name": "platform",
         "provider": "pagerduty"
      },
      {
         "type": "pagerduty:index/escalationPolicy:EscalationPolicy",
         "id": "Pxxxxxx",
         "name": "backend",
         "provider": "pagerduty"
      }
   ]
}

link to error hopefully
Context (Environment)
I am trying to import our current escalation policies so as to be able to finish importing our Services and ServiceDependencies
Affected feature
Import statement

This appears to be a similar issue in pulumi import to what we see in https://github.com/pulumi/pulumi/issues/6432 - and I believe have seen a few other instances of in the past.  We need to review the pulumi import behaviour to make sure we can handle these cases.

Opened #7160 to track the root issue. Closing this one out to track there and collect additional data.

authors: kateetrant lukehoban

repo: pulumi/pulumi-pagerduty


text:
Error when attempting to import existing namespace

Describe what happened
I'm trying to import an existing namespace, but I'm getting an error "Cluster Client: cluster ID is nil". That doesn't make sense to me, there's nowehre either in the resource or on the provider to set a cluster ID as far as I can see.
Sample program
var testNamespace = new Rancher2.Namespace($"testNamespace-{managedCluster}", new Rancher2.NamespaceArgs
                {
                    Name = "testnamespace",
                    ProjectId = myprojectId,
                },
                new CustomResourceOptions
                {
                    Provider = rancherProvider,
                    ImportId = $"testnamespace-{managedCluster}"
                }
            );

Log output
"diagnostics": [
        {
            "urn": "urn:pulumi:prod::infrastructure-rancher::rancher2:index/namespace:Namespace::testNamespace-mycluster",
            "message": "error: Preview failed: importing testNamespace-mycluster: [ERROR] Rancher Cluster Client: cluster ID is nil\n",
            "severity": "error"
        },
        {
            "message": "error: preview failed\n",
            "severity": "error"
        }
    ],

Affected Resource(s)
No response
Output of pulumi about
Plugins
KIND      NAME          VERSION
resource  azure-native  2.67.0
resource  azuread       6.0.1
resource  command       1.0.1
language  dotnet        unknown
resource  kubernetes    4.18.1
resource  rancher2      7.1.2
resource  random        4.16.7

Dependencies:
NAME             VERSION
Pulumi.Rancher2  7.1.2

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @trondhindenes. Thanks for reporting an issue.
I think you need to import as
var testNamespace = new Rancher2.Namespace($"testNamespace-{managedCluster}", new Rancher2.NamespaceArgs
                {
                    Name = "testnamespace",
                    ProjectId = myprojectId,
                },
                new CustomResourceOptions
                {
                    Provider = rancherProvider,
                    ImportId = $"{myprojectId}.testNamespace" // Maybe $"{myprojectId}.testNamespace-{managedCluster}"
                }
            );

The format for import is <project_id>.<namespaces_id>.

I looked the import section here: https://www.pulumi.com/registry/packages/rancher2/api-docs/namespace/#import. I agree that the error message wasn't great.

Thanks!

authors: iwahbe trondhindenes


text:
File and CloudinitConfig resources are deprecated

The File and CloudinitConfig Resources are deprecated. They are legacy shims from before terraform supported the concept of Data Sources.
I'd PR to just remove them but then tfbridge emits warnings that Resources are missing. Is there a way to tell tfbridge to explicitly ignore resources?
https://github.com/pulumi/pulumi-terraform-template/blob/adc4bf573a2363ffd9d65275b6904b701d7a11bc/resources.go#L75

I'd PR to just remove them but then tfbridge emits warnings that Resources are missing. Is there a way to tell tfbridge to explicitly ignore resources?

I don't believe that there is, no. I've filed https://github.com/pulumi/pulumi-terraform/issues/233 to track that feature.

authors: Frassle pgavlin

repo: pulumi/pulumi-terraform-template


text:
Some improvements

The last commit first. As it seems that @whyman  blocks anything that changes the libname to something different than upnp, I now changed the output_name on windows. Before we got upnp.dll, now we get libupnp.dll which is the same as on the other plattforms. I still thik this is the worst solution (beside building only static on win), it's better to have a bad one then nothing. I for myself don't care, I use UPNP::shared and never have to know how the real lib is called. For any other projects that maybe have to adjust their self-fiddled scripts: I don't care.
The others just move some parts from to toplevel dir into a cmake subdir similar to m4/.
As @ingo-h  wanted, I made it easier to add tests (both unit and getest). And no, this functions are not documented, beside the find TestLibs function which is recursivly calling itself until it's finished, everything in there should be understandable for anyone that knows a little cmake. All others should consider this a black-box and just use the calls that should be self-explanatory in /upnp/test/CMakeLists.txt and gtest/CMakeLists.txt.
I didn't take into account that unittests could need addtional includes, too. As I don't expect new stuff there, this should be OK. If I'm wrong, it's easy to extend. For gtests I didn't consider that they could need only gtest, they always get gmock. As ingo stated everything should be mockable, I don't expect tests without mock. If I'm wrong here: gmock links against gtest, so it should work anyways. As long as this are tests and not (memory-)benchmarks, this should be OK also.

I may be missing it but it looks to me this way we lose the GTest CTest integration via gtest_discover_tests. If a test executable contains multiple (g)tests its nice to have each test status reported separately.
Obviously the tests are standalone (1 test -> 1 executable) currently, but they will likely not be in the future.
re: Blocking, I do not block anything, merely repeat my opinion :smile:

Yep, I did miss it, there is gtest_add_tests instead :D

discover_test parses the output of the binary for the tests, add_tests parses the source. With discover it wouldn't be possible to set env-vars for test that are not created at that time.

And we maybe have to overwork the debugging of the windows-test.

And yes, the gtest dir isn't included. I don't know if it's just failing on my clone or everywhere. I maybe have to cleanup again.

And we maybe have to overwork the debugging of the windows-test.

On that point, I don't understand the failure, all the test seems to have run until the end.

If you set the value, you have to mask the ;
If you return it from a function and set then, you have to double-mask.
Sometimes it's that easy.

authors: Vollstrecker mrjimenez whyman

repo: pupnp/pupnp


text:
jre_manage is broken

conditions:
jre_manage => false,

result:
Error: Could not find dependency Package[openjdk-6-jre] for Exec[install rundeck package] at /tmp/vagrant-puppet/modules-19bec28118f8e7920dd00b800dce29f5/rundeck/manifests/install.pp:69
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Closed as we do not want to manage the JRE dependency any more.

repo: puppet-community/puppet-rundeck


text:
[Bug]: Firefox. Cannot connect to existing browser in private mode

Minimal, reproducible example
import puppeteer from 'puppeteer';
const browserURL= "http://127.0.0.1:12345";
const pageURL ="https://podrobnosti.ua/";
// firefox started before in cmd "C:\Program Files\Mozilla Firefox\firefox.exe" --remote-debugging-port=12345 --private-window

(async () => {
    await new Promise(resolve => setTimeout(resolve, 5000));
    const browser = await puppeteer.connect({
        browserURL,
        defaultViewport: null,
        ignoreHTTPSErrors:true,
    });

    const pages = await browser.pages();

    if (pages.length > 0) {
        let page = pages[0]; // Select the first tab
        await page.goto(pageURL);
}})();

Error string
Error connecting to the browser: TimeoutError: Navigation timeout of 30000 ms exceeded
Bug behavior

[ ] Flaky
[ ] PDF

Background
I Tried to connect to existing Firefox (115.3.1esr (64-bit)
Firefox has been  started in private mode via cmd with command "C:\Program Files\Mozilla Firefox\firefox.exe" --remote-debugging-port=12345 --private-window
method  await page.goto()  triggers an error:
Error connecting to the browser: TimeoutError: Navigation timeout of 30000 ms exceeded
If I try to connect to Firefox that has been stared not in private mode - no problem.
Expectation
possible to connect to existing  incognito mode Firefox and perform   await page.goto(pageURL);
Reality
await page.goto(pageURL);  - timeout connection to browser
Puppeteer configuration file (if used)
No response
Puppeteer version
21.3.8
Node version
v16.20.2
Package manager
npm
Package manager version
8.19.4
Operating system
Windows

cc @whimboo

The Firefox profile as used here is most likely not prepared for Puppeteer and misses certain automation related preferences. This could be seen in the Firefox logs by this line:

1698051681427	CDP	WARN	Invalid browser preferences for CDP. Set "fission.webContentIsolationStrategy"to 0 and "fission.bfcacheInParent" to false before Firefox starts.

With both prefs not correctly set any navigation might not work. And this is not something that we are going to change for the experimental CDP support in Firefox. As workaround you could set those prefs on your own for the given Firefox profile, but make sure that it's not something that you do for your daily profile.
Please report back if that works. From our side it's a wontfix.

@whimboo  Unfortunately  in my case I cannot launch browser with prefs  because it has been launched by other app. I cannot control it.
Thank's Henrik for your support.

FYI when Puppeteer will support puppeteer.connect with the WebDriver BiDi protocol it should then work. @OrKoN might know more already when this is going to happen.

authors: OrKoN kovasv whimboo

repo: puppeteer/puppeteer


text:
[Issue] PDF Reverse Words

Tell us about your environment:

Puppeteer version: v1.1.1
Platform / OS version: macOS 10.13.3 (17D102)
Node.js version: v9.8.0

I'm using Bootstrap 4.0.0 to create printable PDF templates in the browser. I'm using Puppeteer to generate the PDFs. It is working and looking great when I in the browser but when I copy text from the generated PDF file and paste it into my text editor all words are reversed.

I previously though this was an issue with Bootstrap. Though, after som testing with in other browsers I narrowed it down to Google Chrome. It works fine in both Firefox and Safari.
Is this something that has come up before? Is this the expected behaviour?

@vinkla no, I haven't seen this before. I'd recommend filing this upstream to the chromium repository: https://crbug.com/new

@aslushnikov thanks for getting back. I'll check it out.

@vinkla Did you end up filing a Chrome issue?  I can't find one.
Also, having the same problem -- did you end up finding a fix or workaround?

I didn't end up creating an issue. Didn't find a fix for it. It seems to still be an issue in the latest version of Puppeteer and Chrome.

It's indeed an issue still, words are reversed and text selection box is below the actual text :(

It seems happens to me when using custom font.

Does with work with any default font?

@vinkla Yes, and it also reproduces when printing to PDF via Chrome itself

Ok, so it was an issue with my font. It looks fine when in the web, but, suddenly, somehow breaks when it's embed in the PDF. Should I provide it so it might help to fix the bug?

@VitaliyR I'm having the same issue and am interested in a test-case we can submit upstream to Chromium.

@justjake I can search & provide these fonts here, which breaks pdf render, if you want.

I still have reversed words in generated PDF too

Same issue while using fonts with woff format.
using ttf font type, fixed the issue.

I encountered this while backing up a Wordpress site.
My workaround was this: await page.addStyleTag({content: '* { font-family: sans-serif !important }'})

authors: VitaliyR aslushnikov cyounkins d3skdev daguej hichamnaimi justjake vinkla


text:
SyntaxError on some of the source files when trying to run puppeteer with npm

Steps to reproduce
The code:
const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  await page.goto('https://example.com');
  await page.screenshot({ path: 'example.png' });

  await browser.close();
})();

When I run npm index.js
I get the error:
/home/daniel/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:712
        catch {
              ^

SyntaxError: Unexpected token {
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/daniel/node_modules/puppeteer/lib/cjs/puppeteer/common/Target.js:19:19)

Tell us about your environment:
Recently updated npm version to lastest
Fresh install of puppeteer v8.0.0 (also tried with v7.1.0 I get the same error)

Puppeteer version: 8.0.0
Platform / OS version: Ubuntu 18.04.5 LTS x86_64
URLs (if applicable): N/A
Node.js version: 8.10.0

What is the expected result?
Run the example
What happens instead?
I get an error from the source files, everywhere were there is a "try/catch" where the catch is missing a parenthesis:
example:
in  .../puppeteer/lib/cjs/puppeteer/common/Page.js line 712
...
async _onBindingCalled(event) {
        let payload;
        try {
            payload = JSON.parse(event.payload);
        }
        catch { // <-- This is the line where I get the error
            // The binding was either called by something in the page or it was
            // called before our wrapper was initialized.
            return;
        }
...

WORKARROUND THIS ISSUE:
I used VS code to search and replace every file, inside /home/daniel/node_modules/puppeteer/lib/, where the catch { is missing a parenthesis (catch (e) {) so that the code above for example would look as follow:
...
async _onBindingCalled(event) {
        let payload;
        try {
            payload = JSON.parse(event.payload);
        }
        catch (e) { // <-- FIX
            // The binding was either called by something in the page or it was
            // called before our wrapper was initialized.
            return;
        }
...

@drodriguezIE can you try to upgrade your Node version and test?

Sorry for the late response, the issue was solved by updating to the latest Node version (node@15.10.0 in my case).

authors: drodriguezIE pranayaryal