Feature request: Omit empty scans beforehand

Awesome that you can now see the spawn locations, but this raises a question for me:
If you know that the next scan will not include any spawnpoints, why even scan there?
Wouldnt it be quicker to just omit these and move to the next (with a slightly longer delay to 'getThere'.
Looking forward to your thoughts :)

Or are these spawnpoints only obtained after a initial scan?

I love this idea. Perhaps you could set it to ignore cells that don't have any spawns after x scans.  Given that we can't change the shape of the scan area, this would allow you to set a higher scan radius and still have the spawn locations scanned more frequently.

This is a feature that would be part of PokemonGo-Map, not this project. Please post an issue request on their GitHub: https://github.com/PokemonGoMap/PokemonGo-Map


Fix close timeout on MQTT nodes

fixes #2934
Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
Prevent the close timed out issue (see references below)

Move all calls to node.client.end() to one location in code base (broker node function .disconnect() ) to reduce code paths and early calls.
Ensure done is always called for the "close" event in MQTT In/Out/Broker nodes (node.on('close') by removing the done callback from the node.client.end() signature - since it is (at best) unreliable due to the myriad of combination of user options and order of events (i.e. which nodes close first, flow file ordering, whether node has a close packet to sent etc)

References...
https://github.com/node-red/node-red/issues/2934
https://github.com/martin-doyle/node-red-contrib-aedes/issues/46
https://github.com/martin-doyle/node-red-contrib-aedes/issues/54
https://discourse.nodered.org/t/error-stopping-node-close-timed-out-mqtt-nodes/52830/5
https://discourse.nodered.org/t/mqtt-close-timeout-issue-using-aedes/57583
https://discourse.nodered.org/t/mqtt-in-node-not-working-properly-in-node-red-2-2-1/58428
https://discourse.nodered.org/t/mqtt-connects-then-disconnects/39609/6
Checklist

[ ] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[ ] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Coverage increased (+0.002%) to 67.321% when pulling 669aa769c2c3ce568e635eaf77af00b792de1c2a on Steve-Mcl:fix-mqtt-close-timeout into fcf299401555e4ee02241999bb42fca80a1634b2 on node-red:master.


Support for verifiable claims (OIDC for Identity Assurance)

OpenID Connect for Identity Assurance 1.0
https://openid.net/specs/openid-connect-4-identity-assurance-1_0.html

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Permission support with LuckPerms

Would it be possible to get prefixes and suffixes from LuckPerms
API:
https://github.com/lucko/LuckPerms/wiki/Developer-API

IMO it would be better to support options in general from permissions than prefixes and suffixes. That way prefixes and suffixes are supported plus any other options you might want to utilize.

The only thing is that all permission plugins or chat plugins in general use diffrent api's

No options are part of sponge's permission API. All permission plugins support them one way or another.

I will eventually implement options to allow getting prefix/suffix/template from permission services instead of only from JSON config as of now.


fixes IngressControllerCaptureHTTPCookie

as per https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/20190325-unions.md#go-tags all fields inside a union must be optional.
this PR moves all optional fields to a new struct IngressControllerCaptureHTTPCookieUnion and leaves the required in the top level struct

/assign @sttts

/approve
/lgtm
/hold
to give @openshift/sig-network-edge some time to review

Thanks!
/hold cancel
/lgtm


Create DensePauliString and MutableDensePauliString

This class achieves a few purposes.

(For @dabacon) It is the "gate" for PauliString.
(For @harryputterman) It doesn't require you to specify qubits.
It should have better performance than cirq.PauliString because operations are vectorized over numpy arrays and don't involve dictionaries.

Example usage:
>>> print(cirq.DensePauliString('XXIY'))
+XXIY

>>> print(cirq.MutableDensePauliString('IZII', coefficient=-1))
-IZII (mutable)

>>> print(cirq.DensePauliString([0, 1, 2, 3],
...                             coefficient=sympy.Symbol('t')))
t*IXZY

>>> a = cirq.DensePauliString('IXYZ')
>>> b = cirq.DensePauliString('XXZZ')
>>> print(a * b)
1j*XIXI

I was particularly happy to find a compact way to compute the phase of the product of two Paulis. If I=0, X=1, Z=2, Y=3 then the following computes the t in 1j**t that is the complex coefficient resulting from multiplying two Paulis:
    t = lhs * (rhs != 0)
    t -= rhs * (lhs != 0)
    t += 1
    t %= 3
    t -= 1

The basic idea is to force all (0, k) and (k, 0) to (0, 0) so that you can safely do the "is the cycle advancing or reversing" modulo 3 check on the remaining inputs.

I think people will get tripped up by the order being X, Z, Y

I re-ordered the indices.


send emails at relevant points

Since 8cfd3e5784a4ec15cd55d3e20bca88cb50603559 a mail system is in place to send email when a new admin is added. Extend this system with mails for:

New participant, send to all project admins
New signup, send to COMIC_admins
Created new project, send to creator
Registration complete, send to registrated user, remind them how to log in. (or does this happen already?)

Continued in #227


Nested class with a non-unique name results in a KeyError

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
I have seen a related issue (https://github.com/pydantic/pydantic/issues/1912) where a fix seems to have been merged 2 years ago, but this issue still occurs to me on the newest Pydantic version.
After running the reproducible example (see below), I get the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pydantic/main.py", line 675, in pydantic.main.BaseModel.schema_json
  File "pydantic/main.py", line 664, in pydantic.main.BaseModel.schema
  File "pydantic/schema.py", line 186, in pydantic.schema.model_schema
  File "pydantic/schema.py", line 580, in pydantic.schema.model_process_schema
  File "pydantic/schema.py", line 621, in pydantic.schema.model_type_schema
  File "pydantic/schema.py", line 254, in pydantic.schema.field_schema
  File "pydantic/schema.py", line 526, in pydantic.schema.field_type_schema
  File "pydantic/schema.py", line 924, in pydantic.schema.field_singleton_schema
  File "pydantic/schema.py", line 580, in pydantic.schema.model_process_schema
  File "pydantic/schema.py", line 621, in pydantic.schema.model_type_schema
  File "pydantic/schema.py", line 254, in pydantic.schema.field_schema
  File "pydantic/schema.py", line 526, in pydantic.schema.field_type_schema
  File "pydantic/schema.py", line 922, in pydantic.schema.field_singleton_schema
KeyError: <class '__main__.Params'>

Example Code
from pydantic import BaseModel
from pydantic.dataclasses import dataclass

@dataclass  # verified that it makes no difference whether this is a dataclass or BaseModel
class Foo:
  @dataclass
  class Params:
      foo: str = 'default'
  params: Params = Params()

@dataclass
class Barr:
  @dataclass
  class Params:
      barr: str = 'default'
  params: Params = Params()

class Bazz(BaseModel):
  foo: Foo
  barr: Barr

Bazz.schema_json()

Python, Pydantic & OS Version
pydantic version: 1.10.2
pydantic compiled: True
python version: 3.8.2 (default, Jun  8 2021, 11:59:35)  [Clang 12.0.5 (clang-1<IP_ADDRESS>)]
platform: macOS-11.6.1-arm64-arm-64bit
optional deps. installed: ['email-validator', 'typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[X] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Thanks for reporting, you can work around this by making Foo, Foo.Param, Barr, Barr.Params into models rather than dataclasses.
Realistically, this won't be changed or fixed until pydantic V2.

We’re no longer actively developing Pydantic V1 (although it will continue to receive security fixes for the next year or so), so we’re closing issues solely related to V1. If you really think this shouldn’t be closed, please comment or create a new issue 🚀.


Client squashes dashes in command descriptions

For example from w.md
- Show logged-in users info:

is rendered as "Show loggedin users info" (no dash)

Also globs are rendered inconsistently, even inside a code block

How should they be rendered?
On Saturday, 16 January 2016, Peter Tripp<EMAIL_ADDRESS>wrote:

Also globs are rendered inconsistently, even inside a code block
[image: image]
https://cloud.githubusercontent.com/assets/145113/12374317/a8f063f4-bc4c-11e5-8ec0-f24a7192da66.png
—
Reply to this email directly or view it on GitHub
https://github.com/tldr-pages/tldr-cpp-client/issues/11#issuecomment-172254790
.

--
Mit freundlichen Grüßen, / Yours sincerely,
Arvid Gerstmann<EMAIL_ADDRESS>
Portfolio: http://arvid-gerstmann.de
Twitter: http://twitter.com/ArvidGerstmann
Google+: http://google.com/+ArvidGerstmann

Now renders the dashes as well, not sure what you mean with the globs, though, but I believe it's also fixed.


Add @Around again to support @NewSpan and @ContinueSpan on interfaces

In order to solve https://github.com/micronaut-projects/micronaut-tracing/issues/201 I have added the @Around again to the @NewSpan and @ContinueSpan annotations. These were removed as part of https://github.com/micronaut-projects/micronaut-tracing/pull/65, but break functionality when used on interfaces.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Joëll Portier seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

This was based on the master branch. I've created a new PR to be based of 4.5.x


Pomegranate should preview the "first" image for a manifest.

So if I choose an image to display first, that should be the image that shows up in the embed.

I'd rather this be the thumbnail from the manifest if possible; first image is often boring.

The resolution will be too low, unless we start building up IIIF paths to figure out the image. IIIF doesn't have a "full res interesting image" spot does it?

Hmm. Could we make our thumbnail a service instead?

http://iiif.io/api/presentation/2.1/#thumbnail

I think it's already a service: http://lib-plum1.princeton.edu/concern/scanned_resources/pvt150q36n/manifest. So we just take the service ID and append the appropriate params to resize?

So it is! Yup.

Updated the title - sound accurate?


Unexpected result when using closing backtick for hyperlinked identifiers that end with single quote

With Haddock 2.25.1, when using  a closing backtick for hyperlinking an identifier that ends in a single quote, the single quote seems to be considered as the closing hyperlink markup instead of the backtick. For example:
-- |
--
-- no prime
--
-- - 'foo' works
-- - `foo' works
-- - 'foo` works
-- - `foo` works
--
-- one prime
--
-- - 'foo'' works
-- - `foo'' works
-- - 'foo'` broken
-- - `foo'` broken
--
-- two primes
--
-- - 'foo''' works
-- - `foo''' works
-- - 'foo''` broken
-- - `foo''` broken
--
--  middle prime
--
-- - 'foo'bar' works
-- - `foo'bar' works
-- - 'foo'bar` works
-- - `foo'bar` works
--
-- infix, no prime
--
-- - '`foo`' works
-- - ``foo`' works
-- - '`foo`` works
-- - ``foo`` works
--
-- infix, one prime
--
-- - '`foo'`' broken
-- - ``foo'`' broken
-- - '`foo'`` broken
-- - ``foo'`` broken
--
-- infix, two primes
--
-- - '`foo''`' broken
-- - ``foo''`' broken
-- - '`foo''`` broken
-- - ``foo''`` broken
--
--  infix, middle prime
--
-- - '`foo'bar`' works
-- - ``foo'bar`' works
-- - '`foo'bar`` works
-- - ``foo'bar`` works
module MyLib where

foo = undefined

foo' = undefined

foo'' = undefined

foo'bar = undefined

results in:

Hi, thank you for this ticket, but Haddock now lives full-time in the GHC repository!
Read more at https://discourse.haskell.org/t/haddock-now-lives-in-the-ghc-repository/9576.
Let me know if you feel it is still needed, and I'll migrate it. :)

I just checked with Haddock version 2.28.0 (GHC 9.10.1). With that, “one prime” and  and “two primes” do work, however, “infix, one prime” and “infix, two primes” remain broken. That’s probably good enough in practice. I’ll leave it up to you to decide if this is still a relevant problem or not.


query: Allow for http endpoint to be protected by TLS

In some environments, it is advantageous to have all traffic encrypted end to end. While this is currently possible to achieve if Thanos is run inside a Kubernetes environment, it is not possible if Thanos is run outside of Kubernetes.
The call to net.Listen in the query component needs to be expanded so that the relevant HTTP endpoints can be served over HTTPS, using relevant certificates.

I don't feel like this should be a part of this project since you can easily run a proxy in front of Thanos Query, on the same machine, which will do TLS termination. Is there any reason why that doesn't work for you, @wjam?

:+1: to what @GiedriusS said. Prometheus doesn't allow you to do this either.

Prometheus does not directly support Transport Layer Security (TLS) encryption for connections to Prometheus instances (i.e. to the expression browser or HTTP API). If you would like to enforce TLS for those connections, we recommend using Prometheus in conjunction with a reverse proxy and applying TLS at the proxy layer. You can use any reverse proxy you like with Prometheus, but in this guide we'll provide an nginx example.

https://prometheus.io/docs/guides/tls-encryption/
Maybe we should document this behaviour if we all agree on it?


「call db.addEdgeIndex」 fail

Describe the bug
The builtin procedure「DbAddEdgeIndex」fails when try to create new edge index.
To Reproduce
Steps to reproduce the behavior:

just add an edge index throw web-console, or cypher.
you can use my unit test to verify either.

Expected behavior
A new edge index should be created and no error.
Screenshots

Environment:

OS: Ubuntu 20.04 LTS (GNU/Linux 5.15.30-2-pve x86_64)
CPU: Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz
Compiler: GCC 5.4.0 Debug mode

Additional context
Related code:

The root cause is in edge_index.h, line 81.
It get the wrong order subtraction, which will cause a big n.

Thanks，we have known about this issue before and a fix is in the works..

ok, hope to see the next exciting version


Align persistgraphql output file format with proposed apollo-codegen operation ID mapping file

In a recent PR to apollo-codegen, a mechanism for generating unique operation IDs was introduced. In addition, it introduced a generated output file that maps between these IDs and the corresponding operation text, for use in registering operations with a server for persistence and whitelisting. The rationale for not simply using persistgraphql is contained in the PR description.
This proposed output file differs from persistgraphql's output in a few important ways:

It uses operation hashes as the IDs, rather than an incrementing counter.
It uses the ID as the mapping’s key, rather than its value.
It maps to a JSON object that itself contains the operation source (text) and its name.

As pointed out by @martijnwalraven, there are good reasons to align the approaches taken by apollo-codegen and persistgraphql:

One area in particular where I think standardization would be helpful is in the generated mapping file. Ideally, these mapping files would be supported by different servers and tools in the same way the extracted_queries.json file that persistgraphql generates is currently supported by Scaphold for example.
So I'm not saying we should stick to what persistgraphql currently does, but I'd at least like us to synchronize the changes (like switching to hashes or changing the mapping format).

There is an existing issue on persistgraphql that addresses difference point 1. I think switching to operation hashes is the right approach.
What I’d like to propose here is that, to address difference points 2 and 3, persistgraphql adopt the approach proposed in the apollo-codegen PR. The PR lays out an argument for this approach, which I’ll recap here:

It seems like (for the server at least) the mapping from ID —> operation text is more useful than the reverse, suggesting that ID should be the key.
Typically, keys are short unique identifiers, and they map to values that contain more information, not less, again suggesting that ID should be the key.
We already have two pieces of information in each value (operation name and text), which our servers are prepared to consume at registration time. You can imagine other fields coming in the future: perhaps comments describing the operations, for display in a dashboard listing all persisted operations. This suggests that the value in the mapping should be a JSON object that can be extended in the future without breaking parsing older fields.

I think these changes make a lot of sense. @Poincare, what do you think?
We may want to add a root object and put the operations under an operations key. I think it would be great if we could specify some standard metadata, like app name and version, which a server or other tool can use to tag operations.

@martijnwalraven @kompfner This makes sense. I haven't yet delved deeply into the apollo-codegen PR but the core idea of using the operation hashes seems great. Will look into this in more detail shortly.


Set v4.0.0

What does this PR do?
Sets the version to 4.0.0.
How should it be tested manually?
yarn test
# or
npm test

Pull Request Test Coverage Report for Build 165

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 164:
0.0%

Covered Lines:
1566

Relevant Lines:
1566

💛  - Coveralls


Align ports with changes

Changes were made in PR #9.
Specifically

Add .name attribute to QuantumCircuit.
Rename expected_counts to probabilities_dict

Also this commit, which adds the crx gate.

Also PR #21, which adds a noise model


menu addition

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I will make a merge separately.


Compile to CommonJS with support for npm

Proof-of-concept:
# In your local copy of orbit
$ broccoli build build
$ cd build/npm
$ npm link

# In your node project folder
$ npm link orbit.js

// This should now be possible from within your node project
var Orbit = require('orbit.js');
var OC = require('orbit.js/orbit-common');

Related to #117 and #162

Great! Thanks @theodorton :+1:
I'll aim to include commonjs output in the next release (after the rethink branch is merged).

:+1: Would love this.

:+1:

@dgeb, I'm sorry if this sounds as another +1 comment, but it would be great if we could already get Orbit from npm, and you could push a new version for the rethink branch.
I'm currently working on a project where I'm transpiling es6 => commonjs modules with webpack and the changes on this PR would be great for a clean use.
If it counts too, Orbit, including the schema features and JSON-API compatibility, is the exactly tool I'm looking for this app.

@leobalter et al - I hear the +1s and enthusiasm and am working feverishly on the rethink branch. There are a huge number of changes (mostly simplifications) in this branch and I'm looking forward to your feedback. I will push to npm once it's stable and green as a new 0.7 beta release.

Thanks, @dgeb! I've had the chance to talk to @gnarf and then I understand the huge changes about to come. Until there, ping me anytime if you want to me try any npm beta releases from the rethink branch.

Great - thanks @leobalter!

Sorry @dgeb, another +1 through sheer selfish desperation even though I know you're aware and working hard :P

Ok, prepping to finally get a build out (on npm-only this time). I was able to merge this CommonJS work into the updated Brocfile. Thanks again @theodorton!

Yay :tada:
Looking forward to the release :)


FreshRSS using Google Reader API

FreshRSS works best through the Google Reader API (more powerful than the Fever API, which is also supported)

P.S. Please consider updating https://hyliu.me/fluent-reader-lite/ as well


(Capital City Report) Top N Highest Populated Capital Cities

As an organisation we need the top N populated capital cities for the following locations:
world
a continent
a region

User inputs are value (N) for the top number of capital cities.
Can also choose between world, continent or region.


Doesn't work with Spark 3.0 Pools

Spark 3.0 pools are in public preview.
Using this newer Spark version this tutorial doesn't work any more.
Quickfix is to add
from notebookutils import enableMatplotlib
enableMatplotlib()

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

ID: f6060323-f30c-6421-2c78-b85729e51b8a
Version Independent ID: 778c3f9c-fd30-c5af-4da7-1654fec3534b
Content: Visualize data with Apache Spark - Azure Synapse Analytics
Content Source: articles/synapse-analytics/spark/apache-spark-data-visualization-tutorial.md
Service: synapse-analytics
Sub-service: machine-learning
GitHub Login: @midesa
Microsoft Alias: midesa

@keen85
Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.

@keen85  Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.
@ruixinxu - Could you please have a look at the above feedback? - Thank you

Matplotlib is already enabled on spark3.0. No extra fix steps are required any more.

@KranthiPakala-MSFT  we can close this issue.

Thanks for the update @ruixinxu !
@keen85
We will now proceed to close this thread based on this update. If there are further questions regarding this matter, please tag me in your reply and reopen the issue. We will gladly continue the discussion.


URL containing a single quote in middle results in unexpected ending

With the following input: http://example.org/"_(foo)
Currently the extracted link is this: http://example.org/"_(foo
The closing parenthesis is not included, even though it's balanced. The reason is that we check all "unfinished" brackets and quotes in one condition at the end of the loop instead of just when the corresponding character happened. So when we get to ), we're still in the "unfinished" state because of the single quote.

Fixed.


doc(PrintButton): update document of PrintButton

update document of PrintButton
Summary of the changes (Less than 80 chars)
Correct DialogService to PrintService
Summary by Sourcery
Documentation:

Correct the reference from DialogService to PrintService in the Chinese localization file.

@microsoft-github-policy-service agree

@sourcery-ai review


page gets reload when you put any assets in any folder of project.

OS: macOS Ventura
browser: Chrome Version 109.0.5414.87
When files or images are added to the project directory, the page is automatically reloaded, as demonstrated in the video located at https://vimeo.com/789694680.
vite-layout-reload-issue.zip

https://github.com/JohnCampionJr/vite-plugin-vue-layouts/pull/101


defineMode does not work

this is my code:
this.state = {
   logs: 'this is a new log',
   keyword: 'log'
}
<CodeMirror
         value={this.state.logs}
         editorDidMount={editor => { this.instance = editor }}
             defineMode={{
                 name: 'highlightSearch',
                 fn: () => {
                    return {
                      // startState: () => ({}),
                      token: (stream) => {
                        const keyword = this.state.keyword;
                        if (keyword !== '' && stream.match(keyword)) {
                           return "highlightSearch";
                        }
                       while (stream.next() != null && !stream.match(keyword, false)) {}
                       return null;
                }
            }
        }
    }}
/>

.cm-highlightSearch {
  background: red;
  color: #fff;
}

i want to highlight the keyword of 'log', but i find it does not work.  it seems that the defineMode does not work...
my version is 6.0.0

@GongJS The demo has a working defineMode example (fn source). I'd suggest taking a look agt your function, as it should be passing it as expected through the wrapper.

ok,thank you.


Move function outside of resource to fix scope issue

This fixes an issue with scope, where the is_package_installed breaks because it is expected to be a function of windows_zipfile.
Example error:
       Error executing action `unzip` on resource 'windows_zipfile[C:\Users\vagrant\AppData\Local\Temp\kitchen\cache/McAfee VirusScan Enterprise]'
       ================================================================================

       NoMethodError
       -------------
       undefined method `is_package_installed?' for Custom resource windows_zipfile from cookbook windows

       Resource Declaration:
       ---------------------
       # In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/sbp_mcafee/recipes/virusscan.rb

        17: windows_zipfile File.join(Chef::Config[:file_cache_path], node['mcafee']['virusscan']['package_name']) do
        18:   source node['mcafee']['virusscan']['url']
        19:   checksum node['mcafee']['virusscan']['checksum'] if node['mcafee']['virusscan']['checksum']
        20:   action :unzip
        21:   not_if { is_package_installed?(node['mcafee']['virusscan']['package_name']) }
        22:   notifies :install, "windows_package[#{node['mcafee']['virusscan']['package_name']}]", :immediately
        23: end
        24:

       Compiled Resource:
       ------------------
       # Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/sbp_mcafee/recipes/virusscan.rb:17:in `from_file'

       windows_zipfile("C:\Users\vagrant\AppData\Local\Temp\kitchen\cache/McAfee VirusScan Enterprise") do
         action [:unzip]
         retries 0
         retry_delay 2
         default_guard_interpreter :default
         declared_type :windows_zipfile
         cookbook_name "sbp_mcafee"
         recipe_name "virusscan"
         source "https://artifacts.schubergphilis.com/artifacts/mcafee/VSE880LMLRP4.zip"
         checksum "1d8dec9ea50341421f4974ce6a4946f48cdbbaf53fb31f1cb392316dfbe42112"
         path "C:\\Users\\vagrant\\AppData\\Local\\Temp\\kitchen\\cache/McAfee VirusScan Enterprise"
         not_if { #code block }
       end

@dwaler I had to create a new PR (#11) as I wasn't able to push to your master branch.
Next time please use a feature branch, makes it easier to collaborate.  Thanks for the contribution!


gnuradio: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Keep gnuradio up to date. Next big change is in progress/testing for 3.8
Things done
bump version and sha256

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build gnuradio

Unexpected error: command failed with exit code 1 on x86_64-linux (full log)
Attempted: gnuradio
Partial log (click to expand)
Receiving objects: 100% (266/266), 328.61 KiB | 9.96 MiB/s, done.
Resolving deltas: 100% (81/81), done.
From https://github.com/gnuradio/volk
 * branch            refs/pull/173/head -> FETCH_HEAD
Switched to a new branch 'fetchgit'
removing `.git'...
warning: unable to download 'https://cache.nixos.org/nar/00yagvjxf02qxv9f7afq2xbm5cs6anzn04wza7v0h8kpdcrax6bf.nar.xz': HTTP error 200 (curl error: Stream error in the HTTP/2 framing layer); retrying in 266 ms
error 9 while decompressing xz file
cannot build derivation '/nix/store/zymalds3z3vpsy9jzrzr9x2k7q55gllk-gnuradio-<IP_ADDRESS>.drv': 3 dependencies couldn't be built
error: build of '/nix/store/zymalds3z3vpsy9jzrzr9x2k7q55gllk-gnuradio-<IP_ADDRESS>.drv' failed

Success on aarch64-linux (full log)
Attempted: gnuradio
Partial log (click to expand)
shrinking /nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>/share/gnuradio/examples/uhd/.tags_demo-wrapped
shrinking /nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>/share/gnuradio/examples/qt-gui/.display_qt-wrapped
shrinking /nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>/share/gnuradio/examples/audio/.dial_tone-wrapped
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>/lib  /nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>
/nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>/bin/.gr-perf-monitorx-wrapped: interpreter directive changed from "/usr/bin/env python" to "/nix/store/bp1c65zbbw6jfjws77pbgw48mjfmk9x3-python-2.7.15/bin/python"
/nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>/bin/.gr-ctrlport-monitor-wrapped: interpreter directive changed from "/usr/bin/env python" to "/nix/store/bp1c65zbbw6jfjws77pbgw48mjfmk9x3-python-2.7.15/bin/python"
checking for references to /build in /nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>...
/nix/store/1mskx95zpa8kp4f1fz1zv7nif8hcb15f-gnuradio-<IP_ADDRESS>

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: gnuradio
Partial log (click to expand)
[ 50%] Generating burst_shaper_cc.h, burst_shaper_ff.h
[ 50%] Built target digital_generated_includes
[ 50%] Generating burst_shaper_cc_impl.cc, burst_shaper_ff_impl.cc
[ 50%] Generating chunks_to_symbols_bf_impl.h, chunks_to_symbols_bc_impl.h, chunks_to_symbols_sf_impl.h, chunks_to_symbols_sc_impl.h, chunks_to_symbols_if_impl.h, chunks_to_symbols_ic_impl.h
[ 50%] Generating chunks_to_symbols_bf_impl.cc, chunks_to_symbols_bc_impl.cc, chunks_to_symbols_sf_impl.cc, chunks_to_symbols_sc_impl.cc, chunks_to_symbols_if_impl.cc, chunks_to_symbols_ic_impl.cc
[ 50%] Generating burst_shaper_cc_impl.h, burst_shaper_ff_impl.h
Scanning dependencies of target gnuradio-digital
[ 50%] Building CXX object gr-digital/lib/CMakeFiles/gnuradio-digital.dir/chunks_to_symbols_bf_impl.cc.o
building of '/nix/store/1kf6wqlx5x459l0kvp6lp78288r1c09g-gnuradio-<IP_ADDRESS>.drv' timed out after 1800 seconds
error: build of '/nix/store/1kf6wqlx5x459l0kvp6lp78288r1c09g-gnuradio-<IP_ADDRESS>.drv' failed

@xeji Not sure what .nar download failed on x86, but that didn't seem to be an issue on ARM or Mac.

Built locally, seems fine.


Keep track of last HTTP error on retries

track http errors when retrying and return last on failure. (had a case where retries failed, the additional request succeeded, resulting in the valid response being returned as an error)

LGTM


Failed R CMD check will not be uploaded

In one of the previous PRs rcmdcheck was updated and check_dir was set to "../../../", which is actually outside of repo's root.
This was done to reference extendr-* crates using relative paths.
https://github.com/extendr/extendr/blob/f235216793607e59d7d87877fcf927e08a4bd654/.github/workflows/test.yml#L171
The problem is here
https://github.com/extendr/extendr/blob/f235216793607e59d7d87877fcf927e08a4bd654/.github/workflows/test.yml#L174-L179
If the check fails, artifacts are uploaded from ./check/, which is no longer produced.
In fact, because check dir is now outside of repo's root, artifacts contaminate the folder outside of extendr's workspace, which is not good. Also, because it is ../../../ and not ../../../check_dir, artifacts are on the same level as extendr repo folder. If I run rcmdcheck on my local machine, then the ../ folder will look like:
extendr
extendrtests.Rcmdcheck
extendrtests_0.1.0.tar.gz

And I have to remember to delete these artifacts every time.

Yes, the path needs to be updated.
Unfortunately we're somewhat constrained in where we can run the check by the folder structure that Rcmdcheck imposes. It makes two nested subfolders before it creates the folder in which it actually places the package source code. If we want checking artifacts inside of extendr we need to move extendrtests one additional subfolder down.

@clauswilke,
I think I found a better folder/path structure, if I make it work, I'll make a PR


_AnimatedSectionState#c115a(ticker active) was disposed with an active Ticker

I am using valuelistenable builder and once a value from dropdown is selected i changed the drop down to text but this is what i additionally get when onChange is called
======== Exception caught by widgets library =======================================================
The following assertion was thrown while finalizing the widget tree:
_AnimatedSectionState#c115a(ticker active) was disposed with an active Ticker.
_AnimatedSectionState created a Ticker via its SingleTickerProviderStateMixin, but at the time dispose() was called on the mixin, that Ticker was still active. The Ticker must be disposed before calling super.dispose().
Tickers used by AnimationControllers should be disposed by calling dispose() on the AnimationController itself. Otherwise, the ticker will leak.
The offending ticker was: Ticker(created by _AnimatedSectionState#c115a)
The stack trace when the Ticker was actually created was:
#0      new Ticker. (package:flutter/src/scheduler/ticker.dart:67:40)
#1      new Ticker (package:flutter/src/scheduler/ticker.dart:69:6)
#2      SingleTickerProviderStateMixin.createTicker (package:flutter/src/widgets/ticker_provider.dart:198:15)
#3      new AnimationController (package:flutter/src/animation/animation_controller.dart:246:21)
#4      _AnimatedSectionState.prepareAnimations (package:animated_custom_dropdown/animated_section.dart:33:22)
#5      _AnimatedSectionState.initState (package:animated_custom_dropdown/animated_section.dart:28:5)
#6      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4893:57)
#7      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4729:5)
...     Normal element mounting (64 frames)
#71     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3790:14)
#72     MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6422:36)
#73     MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6433:32)
...     Normal element mounting (63 frames)
#136    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3790:14)
#137    MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6422:36)
#138    Element.updateChild (package:flutter/src/widgets/framework.dart:3540:18)
#139    RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5845:32)
#140    MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6445:17)
#141    Element.updateChild (package:flutter/src/widgets/framework.dart:3501:15)
#142    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4780:16)
#143    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4928:11)
#144    Element.rebuild (package:flutter/src/widgets/framework.dart:4477:5)
#145    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2659:19)
#146    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:882:21)
#147    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363:5)
#148    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#149    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1081:9)
#150    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:995:5)
#154    _invoke (dart:ui/hooks.dart:151:10)
#155    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308:5)
#156    _drawFrame (dart:ui/hooks.dart:115:31)
(elided 3 frames from dart:async)
When the exception was thrown, this was the stack:
#0      SingleTickerProviderStateMixin.dispose. (package:flutter/src/widgets/ticker_provider.dart:209:7)
#1      SingleTickerProviderStateMixin.dispose (package:flutter/src/widgets/ticker_provider.dart:223:6)
#2      _AnimatedSectionState.dispose (package:animated_custom_dropdown/animated_section.dart:64:11)
#3      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4983:11)
#4      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1926:13)
#5      _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#6      ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#7      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#8      _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#9      ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#10     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#11     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#12     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#13     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#14     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#15     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#16     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#17     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#18     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#19     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#20     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#21     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#22     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#23     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#24     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#25     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#26     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#27     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#28     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#29     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#30     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#31     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#32     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#33     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#34     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#35     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#36     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#37     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#38     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#39     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#40     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#41     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#42     MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6386:16)
#43     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#44     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#45     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#46     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#47     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#48     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#49     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#50     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#51     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#52     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#53     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#54     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#55     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#56     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#57     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6271:14)
#58     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#59     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#60     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#61     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#62     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#63     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#64     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#65     _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1924:7)
#66     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4807:14)
#67     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1922:13)
#68     ListIterable.forEach (dart:_internal/iterable.dart:39:13)
#69     _InactiveElements._unmountAll (package:flutter/src/widgets/framework.dart:1935:25)
#70     BuildOwner.lockState (package:flutter/src/widgets/framework.dart:2519:15)
#71     BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:2932:7)
#72     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:884:19)
#73     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363:5)
#74     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#75     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1081:9)
#76     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:995:5)
#80     _invoke (dart:ui/hooks.dart:151:10)
#81     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308:5)
#82     _drawFrame (dart:ui/hooks.dart:115:31)
(elided 3 frames from dart:async)
======== Exception caught by widgets library =======================================================
The following assertion was thrown while finalizing the widget tree:
A OverlayEntry was used after being disposed.
Once you have called dispose() on a OverlayEntry, it can no longer be used.
When the exception was thrown, this was the stack:
#0      ChangeNotifier._debugAssertNotDisposed. (package:flutter/src/foundation/change_notifier.dart:114:9)
#1      ChangeNotifier._debugAssertNotDisposed (package:flutter/src/foundation/change_notifier.dart:120:6)
#2      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:288:12)
#3      OverlayEntry._updateMounted (package:flutter/src/widgets/overlay.dart:130:5)
#4      _OverlayEntryWidgetState.dispose (package:flutter/src/widgets/overlay.dart:200:18)
#5      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4983:11)
#6      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1926:13)
#7      ListIterable.forEach (dart:_internal/iterable.dart:39:13)
#8      _InactiveElements._unmountAll (package:flutter/src/widgets/framework.dart:1935:25)
#9      BuildOwner.lockState (package:flutter/src/widgets/framework.dart:2519:15)
#10     BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:2932:7)
#11     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:884:19)
#12     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:363:5)
#13     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
#14     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1081:9)
#15     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:995:5)
#19     _invoke (dart:ui/hooks.dart:151:10)
#20     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:308:5)
#21     _drawFrame (dart:ui/hooks.dart:115:31)
(elided 3 frames from dart:async)

@MalikSamiAwan Fixed in latest release. Can you please recheck and if everything works fine, close the issue. Thanks for contributing!

https://stackoverflow.com/questions/72239258/flutter-warning-operand-of-null-aware-operation-has-type-widgetsbinding
/C:/tools/flutter_sdk/.pub-cache/hosted/pub.dartlang.org/animated_custom_dropdown-1.2.1/lib/dropdown_overlay.dart:57:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.

'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/tools/flutter_sdk/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
WidgetsBinding.instance?.addPostFrameCallback((_) {

Thanks for replying @AbdullahChauhan i already have used some else package.


[Issue 15896] Fix LockTimeout when storePut on the same key concurrently in RocksdbMetadataStore

Fixes #15896
Motivation
See #15896
When the same key is modified concurrently, there will be LockTimeout exception in RocksdbMetadataStore.
The root cause is we haven't get the lock of the key when read old data in store.getForUpdate(...), so the exception throws when two transaction modifies the same key.
Modifications
Set exclusive parameter of getForUpdate to true in RocksdbMetadataStore#storePut.
The same applies to  RocksdbMetadataStore#storeDelete.
Verifying this change

[ ] Make sure that the change passes the CI checks.

This change added tests and can be verified as follows:

org.apache.pulsar.metadata.MetadataStoreTest#testConcurrentPut
org.apache.pulsar.metadata.MetadataStoreTest#testConcurrentDelete

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below or label this PR directly.
Need to update docs?

[x] doc-not-needed (bug fix)

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@codelipenghui @wuxuanqicn PTAL

@merlimat PTAL


pull

ee

It doesn't look like this pull request has any changes.  Did you mean to create the pull request from a different branch?


Alembic raising an error when creating the migration script for a postgreSQL DB

I am working through the book (Kindle version) and got stuck when introducing Alembic as the create migration command raises an error as follows:
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/configparser.py", line 374, in before_set
raise ValueError("invalid interpolation syntax in %r at "
ValueError: invalid interpolation syntax in 'postgresql+psycopg2://retrofun:123.%2C@<IP_ADDRESS>:5432/retrofun' at position 35
I'm running a postgreSQL database on another computer on my local network.  I tried copying the line used for SQLAlchemy to connect with no luck.
I know I could be missing something but I could find a suitable solution when googling for a solution, hence the need to reach out to you.
I am adding the env.py (as a .txt file as GitHub doesn't allow .py files)
env.txt

@afcristia The "%" that you have in your password is causing this, because this character is used for interpolation. Use "%%" to escape it.

thanks for your prompt reply.  However, I'am affraid that's not it, as my password doesn't have a % sign.
env.txt
I'm attaching my .env file (with a .txt extension) so you can check.  Alembic is changing ".," in my password for ".%2C" somewhere with its code, but I have no idea where it could be.

To determine where is this happening it would be useful to see the complete stack trace of the error.

error.txt
I'm now attaching the whole output.   Thanks again for your support.

In env.py, change this line:
config.set_main_option("sqlalchemy.url", engine.url.render_as_string(
    hide_password=False))

to this:
config.set_main_option("sqlalchemy.url", engine.url.render_as_string(
    hide_password=False).replace('%', '%%'))

Let me know if that helps!

I just tried it and worked perfectly.

Thanks so much.


boards: arm: mimxrt1040_evk: Add support for RT1040 EVK

Adds support for NXP's RT1040 EVK.
The following drivers are currently enabled with this port:

UART
GPIO
PWM
ADC
I2C
SPI

This PR looks great, I am interested in trying to use Zephyr for the rt1040 evk. Would it be a good idea to use this branch experimentally, or should the "Do not merge" tag discourage me?

This PR looks great, I am interested in trying to use Zephyr for the rt1040 evk. Would it be a good idea to use this branch experimentally, or should the "Do not merge" tag discourage me?

The Do Not Merge comes from the HAL PR that needs to be merged. I would go ahead and use this though because we are going to merge it.

@danieldegrasse, the HAL PR has been merged so lets update the west.yml and address the comments so we can merge this.

@danieldegrasse, the HAL PR has been merged so lets update the west.yml and address the comments so we can merge this.

Done.


how to use rendertron with recaptcha v3?

Disable it for renders with your own rendertron instance.
If it's a website you do not control, then reCaptcha does exactly what it's designed for.
If you have any further questions, feel free to reopen this.


ADD opensuse Docker

My humble collaboration for the openSUSE Linux platform.

Have any problem this request?

@cabelo
Thanks for you contribution, we are working on integrating opensuse support in a future release. Our current release process goes through an internal validation and external contribution process is still not available.


Add unit tests and increase test coverage

Is your feature request related to a problem? Please describe.
As a developer, I want a well-tested codebase. Currently the test coverage threshold is manually set to current coverage level (~23%).
Describe the solution you'd like
Add unit tests to increase test coverage to ~100%~ 80%.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Discussed with team. For now, coverage threshold of 80% is sufficient.


Add Patchfile For Actions; Ignore Archived Repos; Adjust Patch Result Counting

Fixes #125

Adds archived:false to the search query used in adabot/common_funcs.py::list_repo().

Adjusts the results count when applying patches with circuitpython_library_patches.py:

Skipped patches previously were added as failures. They now show as skipped.
Successful --dry-run checks were not shown as being applied. They are now.

Removed the two very stale patchfiles that previously adjusted the CoC and .pylintrc

The added patchfile is to adjust .github/workflows/build.yml's pylint on examples. Here is the dry-run result:

(.env) ~/Dev/adabot/adabot:$> python3 -m adabot.circuitpython_library_patches --local --dry-run -p 0001-update-pylint-examples-directive.patch
.... Beginning Patch Updates ....
.... Working directory: /home/sommersoft/Dev/adabot/adabot
.... Library directory: /home/sommersoft/Dev/adabot/adabot/.libraries/
.... Patches directory: /home/sommersoft/Dev/adabot/adabot/patches/
.... Deleting any previously cloned libraries
.... Running Patch Checks On 214 Repos ....
.... Patch Updates Completed ....
.... Patches Applied: 193
.... Patches Skipped: 17
.... Patches Failed: 4

.... Patch Check Failure Report ....
>> Repo: Adafruit_CircuitPython_AT86RF233       Patch: 0001-update-pylint-examples-directive.patch
   Error: .github/workflows/build.yml: No such file or directory
>> Repo: Adafruit_CircuitPython_BLE     Patch: 0001-update-pylint-examples-directive.patch
   Error: .github/workflows/build.yml: No such file or directory
>> Repo: Adafruit_CircuitPython_Bundle  Patch: 0001-update-pylint-examples-directive.patch
   Error: .github/workflows/build.yml: No such file or directory
>> Repo: Adafruit_CircuitPython_ProgressBar     Patch: 0001-update-pylint-examples-directive.patch
   Error: .github/workflows/build.yml: No such file or directory

.... Patch Apply Failure Report ....
No Failures

The 4 failures are known, expected, and will be handled in their respective manner.

👀

Adafruit_CircuitPython_ProgressBar and Adafruit_CircuitPython_AT86RF233 have since been updated and should patch correctly now. BLE has outstanding PRs before its changes are merged but it can be done by hand.


fix: validation with pydantic should not coerce the items to models

Description
I've taken the liberty of changing the way dlt uses pydantic to validate against its model schema. I haven't done any end to end testing however to make sure that schemas are correctly applied when running it in a full pipeline against a database/warehouse.

Related Issues

Fixes #1606

Additional Context
My approach was simply to adhere to the validator base class
class ValidateItem(ItemTransform[TDataItem]):
    """Base class for validators of data items.

    Subclass should implement the `__call__` method to either return the data item(s) or raise `extract.exceptions.ValidationError`.
    See `PydanticValidator` for possible implementation.
    """

    table_name: str

    def bind(self, pipe: SupportsPipe) -> ItemTransform[TDataItem]:
        self.table_name = pipe.name
        return self

where it states that the validation functions should either return the data items as is, or filtered in some cases for list validation where the column_code="discard_row", but not change the data type so that any downstream processing may be broken (like dlt.extract.incremental). This is my first PR so please be lenient :sweat_smile:

Thanks for your tips :+1: I figured it wasn't so trivial of a fix.. If I was designing this from the ground up I must admit I would use pydantic from end-to-end since all this marshalling/unmarshalling can be somewhat confusing :sweat_smile:
FYI all of the local (non-integration) tests passed though :grimacing:

@neuromantik33 please take a look at #1641 which fixes your problem. I used your test case and some ideas from this PR, thanks for your help


Any way to reduce latency?

The Latency is really good. Would it be even smaller if i use a high quality USB Cable instead of my 8 year old Samsung Galaxy S1 Cable? I want to use it for Gaming (every millisecond could help)

I don't think so (but it is just an opinion). The latency is mainly due to the video encoding/decoding.

Ok then. Too bad my Redmi Note 3 Pro doesnt support HDMI/MHL

The latency is mainly due to the video encoding/decoding.
Insnt there any way to output a raw Video file then?

Insnt there any way to output a raw Video file then?

A raw H.264 video file would not be very helpful, since the framerate is not constant.
But yes, it's possible (without scrcpy):
adb exec-out screenrecord --output-format=h264 - > file.h264

Or you can record to an mp4:
adb shell screenrecord /sdcard/file.mp4
adb pull /sdcard/file.mp4

Thank you

When i do adb exec-out screenrecord --output-format=h264 - > file.h264 i cant see my Phone screen on my pc

@AqyxHD Yes, that is expected: it saves a raw file to file.h264 (it's independent of scrcpy).
Scrcpy does not support recording to file.


Separate types for select, update, and create a record

I'm going to add new generic types Selectable, Insertable, and Updateable to obtain a corresponding types of values for a given table.
Different types are needed because, for example, a timestamp column may be selected as a Date object, insert type for it is a union string | number | Date. Updateable will be the same as Insertable, but partial.
Though it's too many types already, in addition, let there be a Queryable<MyTable> to give a type of input that you can put into where.
The current TableType is resulting in the wrong type, so I'm removing it.

Ready: docs for utility types.
@IlyaSemenov it's a breaking change, you'll have to replace TableType with one of the new types.


RDK-38312 : Wake up source APIS in system services

Reason for change: wakeup source Thunder implementation
Test Procedure: Refer JIRA
Risks: Low
Priority : p2
Signed-off-by: Akhil Baby Sarada<EMAIL_ADDRESS>

Closing older PRs. Pls bring to latest sprint or topic branch.


Exception: Closure detected instead of method

[Exception]
a 'Exception' exception occured analyzing file ./lib/Google/Service/Directory.php
Message: Closure detected instead of method
Details:
Stack:
#0 phar:///usr/local/bin/phpmetrics/src/Hal/Component/OOP/Extractor/Extractor.php(128): Hal\Component\OOP\Extractor\MethodExtractor->extract(15160, Object(Hal\Component\Token\TokenCollection))
#1 phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/Job/Analyze/FileAnalyzer.php(138): Hal\Component\OOP\Extractor\Extractor->extract('./lib/Google/Se...')
#2 phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/Job/DoAnalyze.php(121): Hal\Application\Command\Job\Analyze\FileAnalyzer->execute('./lib/Google/Se...')
#3 phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/Job/Queue.php(51): Hal\Application\Command\Job\DoAnalyze->execute(Object(Hal\Component\Result\ResultCollection), Object(Hal\Component\Result\ResultCollection))
#4 phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/RunMetricsCommand.php(119): Hal\Application\Command\Job\Queue->execute(Object(Hal\Component\Result\ResultCollection), Object(Hal\Component\Result\ResultCollection))
#5 phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Hal\Application\Command\RunMetricsCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutpu
t))
#6 phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(Hal\Application\Command\RunMetricsCommand), Object(Symfony\Component\Console\Input\ArgvInput), Obje
ct(Symfony\Component\Console\Output\ConsoleOutput))
#8 phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /usr/local/bin/phpmetrics(17): Symfony\Component\Console\Application->run()
#10 {main}

It seems that PhpMetrics cannot handle files bigger than 102 KB in a consistent way.
@andreimavenhut in your case, the only "quick and dirty fix" would be to set https://github.com/Halleck45/PhpMetrics/blob/master/src/Hal/Component/Token/Tokenizer.php#L30 to something bigger.
In order to avoid Memory allocation issues (see #13), the tokenizer is spiting large files in chunks. However, for example, if the split happens at the same time when T_STRING is defined the program will crash:
[...code...]
$x = "the 102400 bytes split happens here --> | <-- next chunk";
[...code...]

It doesn't look there's an easy solution for this. Without the 042f52f commit, the user could at least set memory limits manually if needed (still ugly), however right now it's not an option.
Not sure which solution @Halleck45 wants to go with, but it seems we're limited to:

increase the 100 KB limit (not a "real" solution though)
revert back to using raw token_get_all() for the full file (and/or allow user changing the memory/file limits)
ignore large files completely
use custom tokenizer (https://github.com/nikic/PHP-Parser ?)

I hope that helps.

This is because of a fix in https://github.com/Halleck45/PhpMetrics/issues/13
I believe that Tokenizer::tokenize should not attempt to split the file in chunks of $limit because this can result in random problems. Instead the user should be informed that if he runs phpmetrics.phar against big files, he should increase the memory_limit from php.ini in order for the tokenizer to work.
Since this is not a customer facing solution, reading large files and keeping large arrays in the memory is not an issue.

@Halleck45 any thoughts on this?

Hum, maybe ignoring big files is the solution. I'm not sure...
ping @UFOMelkor @fonsecas72

I think that the best solution right now would be to ignore big files. Nevertheless I think we should give the user the possibility of setting this limit.

Ignoring big files and allowing to set a custom limit sounds IMHO like the best solution.

I don't see how calculate memory required by token_get_all() for a given file :(
For example: memory = I_DONT_KNOW_WHAT * size_of_file()
Do you have any idea ?

I made a benchmark: token_get_all() is a linear function.
I made a test with 100 files, from 1000 loc to 100000 loc. Memory consumed is linear (but not time). Each line of code cost around 4780 byte to be parsed by token_get_all() (excluding garbage collector)
I hope that this commit will resolve the problem definitively


Fixing null error

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 22 (54.55%)  changed or added relevant lines in 2 files are covered.
57 unchanged lines in 2 files lost coverage.
Overall coverage increased (+3.6%) to 79.313%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/DevOpsMetrics.Core/DataAccess/TableStorage/AzureTableStorageDA.cs
6
16
37.5%

Files with Coverage Reduction
New Missed Lines
%

src/DevOpsMetrics.Core/DataAccess/TableStorage/AzureTableStorageDA.cs
8
76.38%

src/DevOpsMetrics.Service/Controllers/DORASummaryController.cs
49
48.55%

Totals

Change from base Build<PHONE_NUMBER>:
3.6%

Covered Lines:
2647

Relevant Lines:
3293

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

12 of 22 (54.55%)  changed or added relevant lines in 2 files are covered.
57 unchanged lines in 2 files lost coverage.
Overall coverage increased (+3.6%) to 79.313%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/DevOpsMetrics.Core/DataAccess/TableStorage/AzureTableStorageDA.cs
6
16
37.5%

Files with Coverage Reduction
New Missed Lines
%

src/DevOpsMetrics.Core/DataAccess/TableStorage/AzureTableStorageDA.cs
8
76.38%

src/DevOpsMetrics.Service/Controllers/DORASummaryController.cs
49
48.55%

Totals

Change from base Build<PHONE_NUMBER>:
3.6%

Covered Lines:
2647

Relevant Lines:
3293

💛  - Coveralls


Unable to use both gte and lte queries on a single field.

client.From("table").Select("*", "exact", false).Gte("created_at", start).Lte("created_at", end)
use this query, Lte("created_at", end) will override Gte("created_at", start), because Get and Lte do same thing: f.params["created_at"]=something.
In javascript, use gte and lte, is append value: this.url.searchParams.append(column, gte.${value}), this.url.searchParams.append(column, lte.${value}).

Have the same issue. Is there any solution yet?

Same missue here, any solution yet?


TCP adaptor hits q2 but before it can recover from q2, the connection is read closed and data is lost

2022-09-12 21:09:45.756300 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.756638 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.756966 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.757171 -0400 ROUTER_CORE (trace) Core action 'link_flow' (/home/gmurthy/opensource/skupper-router/src/router_core/router_core_thread.c:251)
2022-09-12 21:09:45.757855 -0400 TCP_ADAPTOR (debug) [C7] grant_read_buffers granted 4 read buffers to proton raw api (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:215)
2022-09-12 21:09:45.758266 -0400 TCP_ADAPTOR (debug) [C7][L21][D11] connector client link blocked on Q2 limit (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:460)
2022-09-12 21:09:45.758320 -0400 ROUTER_CORE (debug) [C7][L21][D11] Delivery incref:    rc:4  qdr_delivery_continue - add to action list (/home/gmurthy/opensource/skupper-router/src/router_core/delivery.c:115)
2022-09-12 21:09:45.758359 -0400 TCP_ADAPTOR (trace) [C7][L21][D11] Continuing connector message with 262144 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:464)
2022-09-12 21:09:45.758409 -0400 ROUTER_CORE (trace) Core action 'delivery_continue' (/home/gmurthy/opensource/skupper-router/src/router_core/router_core_thread.c:251)
2022-09-12 21:09:45.758478 -0400 ROUTER_CORE (debug) [C7][L21][D11] Delivery decref_CT: rc:3 qdr_delivery_continue_CT - remove from action 2 (/home/gmurthy/opensource/skupper-router/src/router_core/delivery.c:640)
2022-09-12 21:09:45.758603 -0400 ROUTER_CORE (debug) [C3][L19][D12] Delivery incref:    rc:4  qdr_link_process_deliveries - holding the undelivered delivery locally (/home/gmurthy/opensource/skupper-router/src/router_core/delivery.c:115)
2022-09-12 21:09:45.758788 -0400 TCP_ADAPTOR (trace) [C7][L21] handle_incoming PNRC_READ for connector connection. read_closed:F, flow_enabled:T (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:329)
2022-09-12 21:09:45.758845 -0400 TCP_ADAPTOR (debug) [C7][L21][D11] handle_incoming q2_blocked for connector connection (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:440)
2022-09-12 21:09:45.758895 -0400 TCP_ADAPTOR (debug) [C7] connector PN_RAW_CONNECTION_READ Read 0 bytes. Total read 770279 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:986)
2022-09-12 21:09:45.758941 -0400 TCP_ADAPTOR (debug) [C7][L21] PN_RAW_CONNECTION_CLOSED_READ connector (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:903)
2022-09-12 21:09:45.758978 -0400 TCP_ADAPTOR (trace) [C7][L21] handle_incoming PNRC_CLOSED_READ for connector connection. read_closed:T, flow_enabled:T (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:329)
2022-09-12 21:09:45.759016 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.759328 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.759686 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.759978 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.760345 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.760636 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.761057 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.761387 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.761683 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.762004 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.762438 -0400 TCP_ADAPTOR (debug) [C7] pn_raw_connection_take_read_buffers() took buffer with 16384 bytes (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:285)
2022-09-12 21:09:45.762672 -0400 TCP_ADAPTOR (debug) [C7] q2 unblocked: call pn_raw_connection_wake() (/home/gmurthy/opensource/skupper-router/src/adaptors/tcp_adaptor.c:260)

This is not a bug. Closing


Disable IP address collection

I'm using app insights to add telemetry to our VS Code extensions. Things work really well, but there is one issue:
How can I disable the collection of the Client IP address per event? And I guess I'd really also like to not collect City and "State or province". I already have a filter running that I added via addTelemetryProcessor, but the envelope I get there doesn't have those fields, they must be added at some later point in the pipeline.
I don't want to collect that information because it potentially is user-identifying (because it would give away the client machine IP address where someone is running VS Code), so from a privacy point of view I don't want that data, plus we also really don't need it.

Closing this, as IP is now always sanitized to <IP_ADDRESS> at ingestion time (although after City/Location is extracted). Forcing a dummy IP like @Dmitry-Matveev described will disable City/Location as well.


Starter Template for Static (HTML/JS/CSS) doesn't have local development set up

Describe the bug
I am not sure if this is a bug or a feature.
When you create a github repository using the Stater Template for the Static site it does not have local development set up. Is it supposed to? I kind of thought it would out of the box.
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/MichaelJHTaggart/web-platform-c1yaoy
Steps to reproduce
Hey everyone! I am trying to set up a simple project with others, and I am testing out stackblitz:

Clicked on the new project for starter templates Frontend (Static HTML/JS/CSS)
Updated some of the HTML
Created a github repository from stackblitz.
Clicked on the provided link in the README.md

Expected behavior
I thought it would be set up like the starter template where it had a local development environment set up already.
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform
Version = 1.80.0
Hash = a0abf0747572ea6e64ff1736404cdf76336c29d4
WebContainer = 5e765aa0

Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 117
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 111501606,
  "usedJSHeapSize": 89475422,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context
No response

Sorry, my screenshots are in the exact opposite order that I meant to put them in. The images flow from bottom to top.

I've had this problem too.

Hey @MichaelJHTaggart ! :wave: Thanks for the report.
So the part that is a bit confusing is that our HTML starter is based on EngineBlock which is not supported in our newest editor that you accessed via the /~/ prefix.
I think the simplest way to get a similar experience is to use https://vite.new (so the vite starter).
See this example: https://stackblitz.com/edit/vitejs-vite-uk9xmf?file=index.html

@Nemikolh Thanks for the explanation! This makes so much more sense now. I am currently advising people working with this to:
1. Install the extension:
Name: Live Server (Five Server)
Link: https://open-vsx.org/vscode/item?itemName=yandeu.five-server
2. Right click on the file to view
3. Select "Open with Five Server"
This is our work around.


[TACHYON-661] Improve user documentation on deploy module

Fix broken links in index and navigation bar.
Improve deploy module documentation: put shell commands in markdown command block, more FAQ, rewording.

+1 LGTM, thanks for the fix!


PC unlock / woken > Node is disconnected > app starts from 0%

Hi, I was previously facing this error when leaving DeFi App open in the background when my computer goes to sleep automatically when idle. After coming back it will present me with the corrupted block database error message.
Of course the solution is to Resync the app again but it takes so long(Up to a few hours sometimes) and is annoying because it happened again right after I had Synced the app but let my computer go to sleep again.
Currently my workaround is to either close DeFi App before leaving my computer idle or to change the settings on my computer so it never goes to sleep.
DeFi App Version: 2.1.17
OS: Windows 10 Home
My settings on DeFi app are Default and have not touched them since initial installation.

Hi @LuisAsano , thanks for your feedback. The app creates new block every 37 seconds, and it stacks up if your app is not running. If your PC goes to sleep, the app will try to sync and hence node is disconnected. You don't have to leave it running though, rewards will still appear when you sync to 100% the next time you launch the app.
When you launch the app, does it sync at where you left off or 0%? In the mean time, maybe increase your PC display settings to a longer timeout before it goes to sleep.

Hi @izzycsy thanks for helping me understand. I guess its more of a QOL issue.
When I launch the app under a normal circumstance e.g. After turning on my computer. It will sync from where I left off previously(normally done within a few minutes.)
Only in this case when my computer goes to sleep when the app is still running. Then the corrupted block error msg occurs and the sync starts from 0%.

Hi @LuisAsano , the team will investigate this, for now, I advice that you do not let your PC sleep when the app is running, so you can avoid syncing from 0%. Can you send me your app logs please?

Hi @izzycsy Attached is log from the day the issue last happened for me.
150221.zip

Hi @LuisAsano , just checking with you, did you combine all 3 files into 1 .txt file? Because the app logs are .log / .conf format respectively.

@izzycsy ah I only provided 1 app log file not the other 2 let me attach them later on when I have access to my pc.

@izzycsy Ok this should be the 1s you requested for. As attached logs on the date error last occurred.
150221.zip

Hi @LuisAsano,
to reduce your sync time, you could perform a backup (close app beforehand) of the blockchain directory and in case of corruption you just can remove the faulty one and copy the backup one in...or you can use a snapshot of the blockchain itself: https://<IP_ADDRESS>/

Hi @LuisAsano , update v2.3.1 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, otherwise, please leave a comment with your new information (include screenshots) and app logs. Thank you.
I would suggest that if the app is in the midst of syncing, do not let your computer go to sleep. If you're not using the app you can close it and let your computer go to sleep.


Make FederationApi dyn newtype

Codecov Report
Base: 66.96% // Head: 66.94% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (36ab539) compared to base (36f43a1).
Patch coverage: 85.71% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #671      +/-   ##
==========================================
- Coverage   66.96%   66.94%   -0.03%
==========================================
  Files          85       85
  Lines       12473    12474       +1
==========================================
- Hits         8353     8351       -2
- Misses       4120     4123       +3

Impacted Files
Coverage Δ

client/client-lib/src/api.rs
84.73% <ø> (ø)

client/client-lib/src/utils.rs
0.91% <0.00%> (ø)

fedimint/src/lib.rs
84.01% <ø> (-0.35%)
:arrow_down:

client/client-lib/src/lib.rs
87.81% <100.00%> (+0.14%)
:arrow_up:

client/client-lib/src/ln/mod.rs
74.22% <100.00%> (-0.45%)
:arrow_down:

client/client-lib/src/mint/mod.rs
80.30% <100.00%> (ø)

client/client-lib/src/wallet/mod.rs
70.05% <100.00%> (ø)

modules/fedimint-wallet/src/bitcoind.rs
95.50% <0.00%> (-1.09%)
:arrow_down:

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix: double percentage escape for nerdctl build

Currently on windows this fails with
error: failed to solve: failed to parse %example-nerdctl-image:tilt-build-1648718547%: invalid reference format

My suggestion is to use format to avoid single %E looking odd in code syntax.
Tested locally with tilt ci
[event: pod example-nerdctl-6464d5ddb4-zljd7] Container image "example-nerdctl-image:tilt-build-1648718665" already present on machine
SUCCESS. All workloads are healthy.

@nicks thanks for accepting our contribution 🙌


noisy_wav, lens = batch.noisy_sig?

Describe the bug
https://github.com/speechbrain/speechbrain/blob/9912b25e75848cac721e3f7a018c5f8a366231c9/recipes/Voicebank/enhance/MetricGAN/train.py#L68
lens=batch_size? why?
Expected behaviour
lens=the length of  each wav
To Reproduce
No response
Environment Details
No response
Relevant Log Output
No response
Additional Context
No response

Hi, in this case the SB default sampler returns a tuple (batch, lengths of the sig in the batch) which is I believe, what is happening here.


Test fixes for remote integration

Signed-off-by: Brent Baude<EMAIL_ADDRESS>

LGTM

merge me

/lgtm


Checkbox 'Datasource settings' always disabled after DBeaver restart

Description
Checkboxes 'Datasource settings' are always become disabled after DBeaver restart. But all of user's datasource settings are saved

DBeaver Version
22.2.3
Operating System
win10
Database and driver
No response
Steps to reproduce

for some connection enable datasource settings.
Make some changes
Restart DBeaver
As the result settings are saved, but checkboxes are disabled

Additional context
No response

I wasn't able to reproduce this issue on the latest Dbeaver version.

This is reproducible if connections settings are the same as global settings, which is a bug I think.
Case where it can be disrupting.

User checks the box to use exact settings for the connection
Restart DBeaver, change global settings
Global settings are applied to the connection

We don't have a separate preference for this checkbox, so we don't save it. It's always unchecked, if all data source specific settings are the same with global once. We may save it, but it's controversial - there are a lot of unclear situations, for example, if some settings were changed, if the location (preference page) of some setting were changed, if setting presents on two preference pages at the same time.


sbom: include external refs for fetched sourcecode in SPDX

External References to sources
This aids with many aspects of compliance, and ability to self-locate all relevant source code.
This will be present in every package sbom, and by extension every image sbom accessible from console and container registry.
This is extensible to accommodate any other future inputs.
Current state:
Currently we generate external self-reference to the binary APK package
      "externalRefs": [
        {
          "referenceCategory": "PACKAGE_MANAGER",
          "referenceLocator": "pkg:apk/wolfi/acl@2.3.2-r2?arch=x86_64",
          "referenceType": "purl"
        }
      ]

This proposal extends this array with additional references to the source code.
For fetch:
Add Package-URL to the download URI with checksum argument.

2024/05/17 16:18:51 INFO    adding external refs [pkg:generic/acl@2.3.2?checksum=sha256%3A5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c&download_url=https%3A%2F%2Fdownload.savannah.nongnu.org%2Freleases%2Facl%2Facl-2.3.2.tar.gz] for pipeline "fetch"

Resulting SBOM then has for the package this information:
        {
          "referenceCategory": "PACKAGE_MANAGER",
          "referenceLocator": "pkg:generic/acl@2.3.2?checksum=sha256%3A5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c&download_url=https%3A%2F%2Fdownload.savannah.nongnu.org%2Freleases%2Facl%2Facl-2.3.2.tar.gz",
          "referenceType": "purl"
        }

For github based git-checkouts
Add Package-URL to the github location with tag & commit-id versions.

2024/05/17 23:14:36 INFO   adding external refs<EMAIL_ADDRESS>pkg:github/sigstore/cosign@fb651b4ddd8176bd81756fca2d988dd8611f514d] for pipeline "git-checkout"

        {
          "referenceCategory": "PACKAGE_MANAGER",
          "referenceLocator"<EMAIL_ADDRESS>          "referenceType": "purl"
        },
        {
          "referenceCategory": "PACKAGE_MANAGER",
          "referenceLocator": "pkg:github/sigstore/cosign@fb651b4ddd8176bd81756fca2d988dd8611f514d",
          "referenceType": "purl"
        }

For non-github based git-checkouts
Add Package-URL to vcs location with tag as version and commit encoded as @commit (approximately similar to how many tools pin to a commit, i.e. pip)

2024/05/20 14:34:53 INFO   adding external refs [pkg:generic/hello@v0.0.1?vcs_url=git%2Bhttps%3A%2F%2Fgitlab.com%2Fxnox%2Fhello.git%40a73c4feb284dc6ed1e5758740f717f99dcd4c9d7] for pipeline "git-checkout"

        {
          "referenceCategory": "PACKAGE_MANAGER",
          "referenceLocator": "pkg:generic/hello@v0.0.1?vcs_url=git%2Bhttps%3A%2F%2Fgitlab.com%2Fxnox%2Fhello.git%40a73c4feb284dc6ed1e5758740f717f99dcd4c9d7",
          "referenceType": "purl"
        },

For melange config itself
Add Package-URL to github location with commit as version and subpath set to the melange configfile.

2024/05/20 14:34:53 INFO adding external ref<EMAIL_ADDRESS>for ConfigFile**

        {
          "referenceCategory": "PACKAGE_MANAGER",
          "referenceLocator"<EMAIL_ADDRESS>          "referenceType": "purl"
        }

Question: what i am not sure about is if these references should be added on the binary package, or if they should be added on each binary package, or on a separate source package.

We need to assess how scanners will react to such a change.

wolfictl scan passes with these changes to SPDX.

2024/05/22 12:44:59 INFO adding external ref  for ConfigFile
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf3f60d]

har har har

I have locally rebuilt a collection of packages to make glibc-dynamic and cert-exporter images with updated spdx. All existing tools and parsing mechanisms still work. And grype / syft all work correctly too without any averse effects.


Report on RTL training with OCR_GS_Data for Arabic

Similar to @stweil's training for Fraktur, I am collecting here info regarding finetune  RTL training with OCR_GS_Data for Arabic. Some of this has already been reported elsewhere in other threads earlier.

OCR_GS_Data has Double-checked Gold Standard Data for Training and Testing OCR Engines for RTL languages. It includes Arabic data used for Important New Developments in Arabographic Optical Character Recognition (OCR).
I have used (so far) only a subset of the datasets referred to in the above report, work  #0, #1, #2, #5  and #6 , since they are said to have similar typeface. These have approximately 5000 single line images and their transcription.

Initial test comparison, with testing only for work#0 (Buldan) is shown in a table in this post.
Second run of training using the five datasets referenced above with certain modifications show better results.

Issues with groundtruth:

space at beginning/end of some transcriptions (could lead to hallucination effect)

digits in Arabic script have been transcribed as 0-9.

Issues with tesstrain Makefile:

RTL text not handled correctly either by generate_line_box.py or by generate_wordstr_box.py. See comment.

PR https://github.com/tesseract-ocr/tesstrain/pull/127 proposes a new script to handle these.

Issues with tesseract an text2image:

Need to use --psm 13 for correct recognition.
Need to use -c page_separator=''
text2image does not create correct charboxes for certain images. The resulting wordstrbox files for these images have more than 2 lines. Discard these images otherwise training does not converge at all. This can be done as follows

find /home/ubuntu/OCR_GS_Data/ara/ground-truth -type f -name '*Buldan*.box' -exec bash -c '[[ $(wc -l < "$1") -gt 1 ]] && echo "$1"' _ '{}' \;  > err.txt
sed -i -e 's/^/rm /' err.txt
sed -i -e 's/box/*/' err.txt
bash err.txt

Issues with ocr evaluation tools:
For large texts, the accuracy reports are not generated. Error is accuracy: text stream is too long. See issue.

See https://github.com/Shreeshrii/tesstrain-arabic-GS for current training data and reports

@Shreeshrii I wonder if/how the ordering of punctuation chars affects training.
Given a line image like https://github.com/OpenITI/OCR_GS_Data/blob/master/ara/book_IbnFaqihHamadhani.Buldan/7_final_b/a_000716.png, compared with it's transcription (https://github.com/OpenITI/OCR_GS_Data/blob/master/ara/book_IbnFaqihHamadhani.Buldan/7_final/a_000004.gt.txt), it seems to me the double colon is not in proper position, since the transcription places it right most, but within the image it is left-end.
I've seen this turns in many text lines, also in https://github.com/OpenITI/TrainingData/tree/master/JSTORArabic used at https://github.com/tesseract-ocr/tesstrain/issues/213

Punctuation marks are an open issue. Someone with knowledge of Arabic and bidi will have to look at it and suggest a solution.
generate_wordstr_box.py uses bidi but leaves punctuation as is.

Maybe currently it's convenient to eliminate punctuation from training data? Our focus is on letters.
The PR-Request https://github.com/tesseract-ocr/tesstrain/pull/205 tries to sanitize this by wiping off any RTL-unicode direction marks, which otherwise make it tricky just to follow with the arrow keys char-by-char, especially with punctuation and other non-arabic mixed-ins. I guess punctuation is, apart from usual arabic, considered as char with "normal" LTR reading order, like any non-arabic digits (latin, indic or whatever) and therefore turned right-end.

@Shreeshrii, what is the final status of your efforts regarding fine tuning with the compete GS_Data set? The link above
https://github.com/Shreeshrii/tesstrain-arabic-GS
is not available any more?


Not Working in China since the past two days

Not working in China since the past two days, any updates?

Come on！  Join the CERTNET～

      Come on！  Join the CERTNET～

what's that?

教育网！

https://github.com/lennylxx/ipv6-hosts/issues/278 重复，且缺少有效信息。


Role-based Access Control (RBAC) - Custom Roles with fine-grained repo permissions

Summary
We are providing the ability for enterprises to define custom roles with a set of fine-grained repo permissions that can be assigned to teams and users when adding them to repositories. This functionality provides Role-based access control (RBAC) support in GitHub Enterprise.
Intended Outcome
Greater flexibility and granularity for administering repo permissions through RBAC.
How will it work?
An organization administrator will be able to create custom roles, that inherit from our existing built-in roles, and customize a set of permissions for that role. Then, when a user or team is added to a repo the repo admin can then specify that role, which provides them a default set of permission grants.

https://github.blog/changelog/2021-10-27-enterprise-organizations-can-now-create-custom-repository-roles/


Add PackageRegistryManager

A partial tree of #3640 containing additive changes that don't affect how dependencies are downloaded or resolved. This PR itself shouldn't affect the behavior of Swift Package Manager, and is intended to serve as a backstop should we need to rollback any changes related to package resolution.
Motivation:
Improve velocity of registry implementation and reduce risk of merging future changes.
Modifications:

Add RegistryManager and associated tests
Add SourceArchiver used by RegistryManager
Extract Registry from RegistryConfiguration
Add scopeAndName property to PackageIdentity
Raise error when dependency is declared using invalid package identifier
Rename identity to id in PackageDescription to match SE-0292

Result:
No changes.

@swift-ci Please smoke test

lgtm, couple of small things

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Update NuGet.config feed list

We need all restore sources to be located in NuGet.config since internal feeds can only be restored from there. More details including next steps here
/cc @riarenas @jcagme

@aspnet/build can you please take a look?


RSS Refactor with cache

refs #5091, refs #2263

Move rss handling out of the frontend controller and into its own module
Separate the code into logical blocks
Wrap the generation code in a in-memory cache to prevent it being regenerated on every request

This PR is now rebased, tests passing, and ready to go!
The main detail of this PR is that it introduces an in memory RSS cache, meaning that the XML for the RSS doesn't get regenerated on every request. The feed is regenerated when the results of the DB calls required to build it change. This is not particularly efficient, but it is a quick and 'correct' solution - the regeneration will always happen correctly.
In future, I'm imagining us having more and better event support, including channel based events, so we'll know if a particular channel is updated that the feed needs regenerating. Right now, I didn't think events were a more elegant solution, on account of needing to add settings events and track numerous bits of data changing, including knowing which tag/author/post updates trigger updates in the feed. In future I think the codebase will evolve such that a more elegant solution will be possible.