[KAFKA-6049] Kafka Streams: Add Cogroup in the DSL

Picking up Kyle's PR.

Finishing up Kyle's PR .

Some tests still fail, will need to run through it.

@ConcurrencyPractitioner Thanks for opening a PR -- you should assign the ticket to yourself before starting to work on it though :)
Let us know, when this is ready to get reviewed :)

\cc @bbejeck @vvcephei

There appears to be a bug in CogroupedKStreamImpl, particularily in the doAggregate  method. In Jenkins, all tests failed in KStreamCogroupIntegrationTest due to Topology Exceptions: the Predecessor processor has not been added yet. Doing some inspection, I have realized that the sourceName in the for loop of doAggregate was never included as a source in KStreamBuilder.
I have partially fixed this issue by adding a addSource call, but output_topic is still incorrect -- I would be working on it.

@guozhangwang  My understanding might be flawed, so could you take a look at my progress. Thanks.

@dguy when you have time, could you take a look at this PR and provide some feedbacks on @ConcurrencyPractitioner 's question?

@bbejeck After refactoring was this what you got? I managed to get the tests to avoid any exceptions, but they timed out after 30 seconds/

It appears that recently, WindowedDeserializer, which is used in KStreamCogroupIntegrationTest has ceased to exist. When looking in further, it appears that it has been replaced by TimedWindowedDeserializer, most likely in a recent commit. That is why the above tests failed.

@ConcurrencyPractitioner  it's much simpler.  The InternalStreamsBuilder has a reference to the InternalTopologyBuilderso you don't need to add those methods above.  So you can remove the methods you added to the InternalStreamsBuilder.
It might be helpful to rename the InternalStreamsBuilder in CogroupedKStreamImpl from topology to builder.
Then for all the addProcessor, addStateStore and copartitionSources call you just need to do builder.internalTopologyBuilder.addProcessor(....) etc .
Additionally, you only needed to remove the lines 177-182 from the original PR.
With those refactorings, I get all unit tests to pass except for the KStreamCogroupIntegrationTest.testCogroupSessionWindow test which I believe you have already found a fix.
HTH

Thanks @bbejeck for your help.


Restructuring Pynequa

This is an open issue to have discussions on restructuring pynequa hoping it will serve as documentation for future changes.
Currently, pynequa is organized as follows:
pynequa
|
|- core.py # contains main REST API method implementations for Sinequa
|- models.py # data models
|-api
   |-api.py # contains HTTP request implementations

This was the initial implementation of pynequa. With incoming changes, it is now time to think of re-structuring classes and separate search, index, collection, engine, extras implementations.
### Tasks
- [ ] https://github.com/NASA-IMPACT/pynequa/issues/15
- [ ] https://github.com/NASA-IMPACT/pynequa/issues/16
- [ ] https://github.com/NASA-IMPACT/pynequa/issues/17
- [ ] https://github.com/NASA-IMPACT/pynequa/issues/19

Ideas to refactor the core.py module
As of now, the core module includes implementation of all search methods. As further development on this package continues, there is a need to add other group of API method implementations (e.g. search, index, general, operation). My proposal is to keep the core Sinequa class as it is and spread other methods into multiple subclasses.
Right now, Sinequa class inherits API class which implements the GET and POST API requests. I am thinking of allowing the end client to access all other methods through single class Sinequa while breaking them into different modules internally. To outer user, it will appear as single class. The sample usage might look like this:
sinequa.search.search_query(....)
sinequa.index.custom_collection(...)
sinequa.operation.collection_start(...)

Feel free to provide your thoughts on this.
cc: @NISH1001


Refine GooleAnalyticsProvider

Implement didShowNewPageView:withProperties: correctly
Previous implmentation doesn't contain this method. But screen view
event of Google Analytics has to be precoessed separately.

Refine custom dimension and custom metrics checking/finalizing

do you have an ETA for this?
thanks in advance

Oops, good work on the ping, I'd missed this PR. looks cool to me, merging.

thank you!!

Thank you!


[Question] Get option in custom codeDefinitionSet

Is there any way to get the option content in a self made codeDefinitionSet?

Found it!
$option = $el->getAttribute()


Typescript systemjs-builder bundle sourcemaps

@guybedford I'm really sorry about the ticket spam, #681 seemed close to the issue I'm having but I'm really not sure.
My project:

typescript
src/dist split
uses npm
hand managed systemjs config

My build:

invoke plain tsc with tsconfig with enabled sourcemaps and es5/commonjs output
use custom developed systemjs config (works awesome)
run builder.build() with sourceMaps enabled

The bundling step works great but I'm left with two trees of sources from sourcemaps.

One for generated JS source from Typescript (that doesn't work with breakpoints) and one for original TS files (which does work with breakpoints).
The reason for so many entries is because build() seems to merge the existing sourcemap definitions with newly generated sourcemaps from the intermediate files.
"sources":["app/navigation/global-menu.component.js","../../src/client/app/navigation/global-menu.component.ts"...

How can I get System builder to pull the sourcemaps forward with the new translation but not create new intermediate sourcemap spam?
I read in your other thread a suggestion to use the typescript plugin for systemjs, but this seems sub-optimal since I don't really want to compile the code in the browser and duplicate the TS config.

This does seem like a bug to ensure we support picking up existing sourcemaps properly.

@xealot You could consider using gulp-typescript and gulp-sourcemaps for the typescript compilation. gulp-sourcemaps allows you to completely redefine the source path within the sourcemaps. See eg https://github.com/jp7677/hellocoreclr/blob/aurelia/ui/build/bundle/tscompile.js. That way I was able to keep the mapping correctly to the original typescript files.

Having the same issue where src and compiled output are split. When I want to apply a SourceMapConsumer for a stacktrace it can't resolve the sourcemap because the paths are off.
"src/utils/error/StError.ts" is not in the SourceMap.

Example:
Source file at
src/utils/error/StError.ts

compiles to
tmp-out/utils/error/StError.js

tmp-out/utils/error/StError.js.map
{
  "version": 3,
  "file": "StError.js",
  "sourceRoot": "",
  "sources": [ "../../../src/utils/error/StError.ts" ],
  "names": [],
  "mappings": "..."
}

bundles to
dist/bundled.min.js

dist/bundled.min.js.map
{
  "version": 3,
  "file": "StError.js",
  "sourceRoot": "",
  "sources": [
    ...
    "../src/utils/error/StError.ts",
    ...
  ],
  "names": [],
  "mappings": "..."
}

Is there anything I can do about this? Is this regarded a bug or am I doing it wrong? If I just use Chrome with the sourcemap to inspect it everything seems to be fine but using mozillas SourceMapConsumer throws the error.

Any news on this, @guybedford?

If anyone is interested in looking into this, I'll gladly review.

This might be related: https://github.com/systemjs/builder/pull/823


Snowflake session does not show correct count of Modifying Statements

Description
when i am connected to snowflake and i simply view a table sample data, it only issues a select statement -- thus no modifying statements are in the query history, yet the top shows that i have a modifying statement!

DBeaver Version
Community Edition <IP_ADDRESS>411031831
Operating System
macOS Sonoma 14.7
Database and driver
Snowflake 3.14.4
Steps to reproduce

connect to snowflake
view a table sample data
see the summary shows 1 modifying statement

Additional context
No response

Hello @RobertHana,
Even if a SELECT statement doesn't seem to do anything harmful, it can call a function that can potentially alter data in the database. Some databases may also support triggers on query execution that can modify data.
I don't consider this a bug.


Deployment debug

Which Issue was this PR made for?

Closes #123

What is within the scope with this PR
Fixing all the bugs listed in #123 before merging into main.

[x] #124
[x] #125
[x] #128
[x] #132
[x] #133
[ ] #130
[x] #135

What is NOT in the scope with this PR
Related Issue
Will be ready for review once all bugs are fixed.
Other sidenotes that reviewer should be aware of

Forgot to change back the localhost https treatment.

@siberowl Merge conflic


L2 use all node IPs without actually specifying each IP/range in yaml

Is there a way for Metallb to only allocate node IPs without having to specify each IP or IP range specifically?
For example, a 3 node cluster like:
NAME          STATUS   ROLES    AGE    VERSION   INTERNAL-IP      EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
node1.a.com   Ready    <none>   1d     v1.15.3   <IP_ADDRESS>   <none>        Ubuntu 16.04.6 LTS   4.4.0-170-generic   docker://19.3.2
node2.a.com   Ready    master   1d     v1.15.3   <IP_ADDRESS>   <none>        Ubuntu 16.04.6 LTS   4.4.0-170-generic   docker://19.3.2
node3.a.com   Ready    <none>   1d     v1.15.3   <IP_ADDRESS>   <none>        Ubuntu 16.04.6 LTS   4.4.0-170-generic   docker://19.3.2

would be configured with the following yaml:
apiVersion: v1
kind: ConfigMap
metadata:
  namespace: metallb-system
  name: config
data:
  config: |
    address-pools:
    - name: default
      protocol: layer2
      addresses:
      - <IP_ADDRESS>-<IP_ADDRESS>

Would there be a way to tell Metallb to allocate only node IPs without specifically hardcoding them? E.g.
apiVersion: v1
kind: ConfigMap
metadata:
  namespace: metallb-system
  name: config
data:
  config: |
    address-pools:
    - name: default
      protocol: layer2
      addresses: nodeIPs

MetalLB never allocates node IPs. If you try to do that, network routing
within kubernetes will most likely break - or at least I can't guarantee
anything about it working.
MetalLB wants a separate set of virtual IPs to allocate, distinct from node
IPs. This allows the IPs to float between nodes on failover.

Dave

On Mon, Dec 30, 2019 at 12:24 PM David Corbin<EMAIL_ADDRESS>wrote:

Is there a way for Metallb to only allocate node IPs without having to
specify each IP or IP range specifically?
For example, a 3 node cluster like:
NAME          STATUS   ROLES    AGE    VERSION   INTERNAL-IP      EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIMEnode1.a.com   Ready       1d     v1.15.3   <IP_ADDRESS>           Ubuntu 16.04.6 LTS   4.4.0-170-generic   docker://19.3.2node2.a.com   Ready    master   1d     v1.15.3   <IP_ADDRESS>           Ubuntu 16.04.6 LTS   4.4.0-170-generic   docker://19.3.2node3.a.com   Ready       1d     v1.15.3   <IP_ADDRESS>           Ubuntu 16.04.6 LTS   4.4.0-170-generic   docker://19.3.2
would be configured with the following yaml:
apiVersion: v1kind: ConfigMapmetadata:
namespace: metallb-system
name: configdata:
config: |    address-pools:    - name: default      protocol: layer2      addresses:      - <IP_ADDRESS>-<IP_ADDRESS>
Would there be a way to tell Metallb to allocate only node IPs without
specifically hardcoding them? E.g.
apiVersion: v1kind: ConfigMapmetadata:
namespace: metallb-system
name: configdata:
config: |    address-pools:    - name: default      protocol: layer2      addresses: nodeIPs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danderson/metallb/issues/514?email_source=notifications&email_token=AAAAO7VDNQSBJO7Z6FVQIH3Q3JKGNA5CNFSM4KBP4GO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IDMZRPA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAO7U2KITIW2PWWYXBPSDQ3JKGNANCNFSM4KBP4GOQ
.

Interesting, so is this setup guide wrong then? https://kubernetes.github.io/ingress-nginx/deploy/baremetal/

MetalLB requires a pool of IP addresses in order to be able to take ownership of the ingress-nginx Service. This pool can be defined in a ConfigMap named config located in the same namespace as the MetalLB controller. In the simplest possible scenario, the pool is composed of the IP addresses of Kubernetes nodes, but IP addresses can also be handed out by a DHCP server.

On Tue, Dec 31, 2019 at 6:40 AM David Corbin<EMAIL_ADDRESS>wrote:

Interesting, so is this setup guide wrong then?
https://kubernetes.github.io/ingress-nginx/deploy/baremetal/
MetalLB requires a pool of IP addresses in order to be able to take
ownership of the ingress-nginx Service. This pool can be defined in a
ConfigMap named config located in the same namespace as the MetalLB
controller. In the simplest possible scenario, the pool is composed of the
IP addresses of Kubernetes nodes, but IP addresses can also be handed out
by a DHCP server.

Sigh. Yes, that setup guide is wrong. That explains the recent influx of
people who've all configured MetalLB wrong in exactly the same way.
If someone feels like sending a PR to Kubernetes to fix that, you should
NEVER use node IPs as MetalLB IPs. LoadBalancers must, must, must be a
separate IP pool dedicated to LoadBalancer use.

Dave

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danderson/metallb/issues/514?email_source=notifications&email_token=AAAAO7WWBBWXI4SNYXNUAC3Q3NKVBA5CNFSM4KBP4GO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH4JHXI#issuecomment-569938909,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAO7WZ3FTKJDVX5WLZZEDQ3NKVBANCNFSM4KBP4GOQ
.

It looks like the ingress-nginx docs were fixed to no longer include the incorrect example, so i'm going to close this out


Add gas cache logic to release 0.1

Description:
Release 0.1 is missing cache logic for gas calls.

Add cache for feeHistory
Add cahce for gasPrice

Related issue(s):
Related to #174
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report

Merging #182 (43d4efd) into release/0.1 (d145b0b) will decrease coverage by 0.77%.
The diff coverage is 30.76%.

:exclamation: Current head 43d4efd differs from pull request most recent head b7b669e. Consider uploading reports for the commit b7b669e to get more accurate results

@@               Coverage Diff               @@
##           release/0.1     #182      +/-   ##
===============================================
- Coverage        66.46%   65.68%   -0.78%
===============================================
  Files                4        5       +1
  Lines              492      510      +18
  Branches            66       68       +2
===============================================
+ Hits               327      335       +8
- Misses             148      158      +10
  Partials            17       17

Impacted Files
Coverage Δ

packages/relay/src/lib/eth.ts
50.00% <10.00%> (-1.43%)
:arrow_down:

packages/relay/src/lib/constants.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


JUnit Reporter creating suite names with 'focused specs'

I don't know much about jasmine reporter or JUnit reporters, so I am not really sure if I am doing some misconfiguration or it is just issue with the code. I noticed in my report all suites are called 'focused specs'.

<testsuites>
    <testsuite name="focused specs" timestamp="2016-07-01T05:25:33" hostname="localhost" time="58.696" errors="0" tests="8" skipped="0" disabled="0" failures="0">
        <testcase classname="focused specs" name="test-name" time="3.657">
//more xml here

I understand it is related to this:
https://github.com/larrymyers/jasmine-reporters/blame/master/src/junit_reporter.js#L215
// when use use fit, jasmine never calls suiteStarted / suiteDone, so make a fake one to use
   fakeFocusedSuite = {
       id: 'focused',
       description: 'focused specs',
       fullName: 'focused specs'
   };

But I am not using any fit in my test AFAIK. Here is a example of the format I am using it (I can't use real examples, sorry)
describe('when user is trying to do something', function() {

    beforeAll(function() {
        commons.login();
    });

    it('should do something crazy!', function() {
       // do all sort of crazy stuff
    });

    afterAll(function() {
        commons.logout();
    });
});

And the protractor conf.js
'use strict';

exports.config = {
    seleniumAddress: 'http://localhost:4444/wd/hub',
    framework: 'jasmine2',
    suites: {
            name: 'spec/components/e2e/something/*.spec.js',
                        //other suits here
    },
        onPrepare: function() {
           //do some magic and declare newFolder
            jasmine.getEnv().addReporter(new jasmineReporters.JUnitXmlReporter({
                        consolidateAll: true,
                        savePath: newFolder,
                        filePrefix: 'junit'
            }));
        };

If that's a real issue, I would be more than happy to do a PR. Just give me a hint what the problem is and I will work on it.
Thanks!

Seeing a similar issue: 👍

My understanding is that it's possible to tell protractor to run individual suites and/or specs (e.g by passing --specs or --grep options). My suspicion is that is what is happening when you add the suites object to your protractor config above, and I suspect does something like fit or fdescribe under the covers to accomplish this.
If you remove the suites config option (and don't use similar flags on the command line) does the problem persist?

No recent activity; closing. Feel free the re-open when there is additional data or a concrete problem in jasmine-reporters that isn't introduced by another tool like protractor.


Add custom header in the batch request

Can you please point out how adding customHeader works? Is this handled by request or express module?

I don't see customHeader in the source of request (nor in express) and that's why I asked.
In fact the docs mention only `headers' option (https://github.com/request/request#custom-http-headers), so I think the change should actually be:
headers: r.headers


context.state can inherit app.context.state

In some middlewares like koa-views, ctx.state will automatically inject to view engine. Therefore, if I want to inject some global functions to ctx.state, at present I have to build a middleware for it. Although there are some other ways to implement that, I think give ctx.state an access at application level will make context self less polluted.

why not use app.state ?

app.state sure is OK.
In fact I just want to prevent the overwriting of app.context.state. On the other hand, app.context.state may be more similar with the current behavior, looks like a bugfix; app.state inheritance may cause existing code have a different behavior if they had already used app.state, looks more like a new feature.

I don't like the idea of passing the application object to a library, instead of the library returning middleware which can be app.used (or similar like koa-router). I think the latter approach works just fine, and I'm not sure how this would make ctx.state any less polluted. In fact, the latter approach's flexibility allows for a more limited ctx.state - if you have a library mounted on /example then only requests to /example have the library's state additions.

@PlasmaPower
Setting such like app.state is not the work of library but the work of application(business), just instead of setting app.context directly. In my understand, context is for library and ctx.state is for business. Code for business should control the whole app. So giving the state access at application level may be needed.

@koajs/owners is this something we want to add? i'm -0

-1 from me, koa doesn't need to be responsible for this

Should be impl this in your middleware.
I'm -1

@Gerhut thanks, but :(


remove series from result set that have no non-null values

would be nice if we could pass a url parameter that would cause to strip all the targets away from the result set that have no useful values.

This can also be achieved by maximumAbove(, 0).


Make reckless_mode configurable as environment variable

Since reckless_mode is not a tower-cli variable this can't be done by a
ansible-cli config reckless_mode [value]
Instead it must be implemented as file operation which modifies ~/.tower_cli.cfg
As soon as this is done, this variable can be added in the docker-composer.yml and following steps can be removed from the Dockerfile:
RUN echo "[general]" > ~/.tower_cli.cfg
RUN echo "reckless_mode = yes" >> ~/.tower_cli.cfg

Closed by #17


A J: Blacklist examclass.net

A J requests the blacklist of the website examclass\.net. See the Metasmoke search here and the Stack Exchange search here.

examclass.net has been seen in 3 true positives, 0 false positives, and 0 NAAs.

Coverage remained the same at 65.093% when pulling 73f6a50b339383929d110429d4e73aa083b93c0b on auto-blacklist-1519712095.7041693 into 83fab631957e96b498f30b9befc0d9bdedd80e3b on master.

!!/approve


Open Specific View when Opening App from Notification

Hi , I use phonegap/cordova for generate my apps. Is it possible to opena a specific view/page/section of my app when i press on system notification from notification bar/view (on Android and iOs)?
how can I do it?
Best regards
thank you
valix85

I have Same issue . Please help.

         scdsd

https://github.com/phonegap-build/PushPlugin/issues/213

i got it reading this


Basic OPDS support in library view (epub_library.json ATOM/XML adapter)

Example:
http://development.readium.divshot.io?epubs=URL
with URL:
http://www.feedbooks.com/books/free.atom
or
opds://www.feedbooks.com/books/free.atom
(note the OPDS URI protocol)
Also public domain:
http://www.feedbooks.com/books/top.atom?range=month
(see http://www.feedbooks.com/catalog.atom )

Addressed here:
https://github.com/readium/readium-js-viewer/commit/3d78d6f6a3110a11b03d1792607705bf6d469c6e

Tested with:
http://www.feedbooks.com/store/selection.atom
( http://readium.surge.sh/?epubs=http://www.feedbooks.com/store/selection.atom )
http://www.feedbooks.com/books/top.atom?range=month
( http://readium.surge.sh/?epubs=http://www.feedbooks.com/books/top.atom?range=month )
http://www.feedbooks.com/books/free.atom
( http://readium.surge.sh/?epubs=http://www.feedbooks.com/books/free.atom )
http://www.feedbooks.com/featured.atom
( http://readium.surge.sh/?epubs=http://www.feedbooks.com/featured.atom )
http://www.feedbooks.com/store/top.atom
( http://readium.surge.sh/?epubs=http://www.feedbooks.com/store/top.atom )
http://www.feedbooks.com/store/recent.atom
( http://readium.surge.sh/?epubs=http://www.feedbooks.com/store/recent.atom )

Note that the internet archive feeds fails to load because of the lack of HTTP CORS headers, e.g.
http://bookserver.archive.org/catalog/downloads.xml

Note that CORS proxy-ing via a custom HTTP server could be used to work around the above limitations. For example:
https://cors-anywhere.herokuapp.com
https://github.com/Rob--W/cors-anywhere

Without CORS proxy (doesn't work):
http://readium.surge.sh?epubs=http%3A%2F%2Fpragprog.com%2Fmagazines.opds
With CORS proxy (works):
http://readium.surge.sh?epubs=http%3A%2F%2Fcrossorigin.me%2Fhttps%3A%2F%2Fpragprog.com%2Fmagazines.opds
Readium is agnostic to which CORS proxy is used (in this example: http://crossorigin.me), but will pick-up the URL based on the template {PROXY}/http:// or {PROXY}/https://.
See: https://github.com/readium/readium-js-viewer/commit/9638bc5f0b1eca228c1f132072d05a6aaf23b1b7

Aggregated OPDS feeds, for testing:
http://readium.surge.sh/?epubs=https%3A%2F%2Fdl.dropboxusercontent.com%2Fu%2F585153%2FReadium%2Febooks%2Fopds_links.atom

Potential feature extension: OPDS search via URI templates
e.g. http://bookserver.archive.org/catalog/
=>
<link rel="search" type="application/opensearchdescription+xml" href="http://bookserver.archive.org/catalog/opensearch.xml"/>

http://bookserver.archive.org/catalog/opensearch.xml
=>
<Url type="application/atom+xml"
        template="http://bookserver.archive.org/catalog/opensearch?q={searchTerms}&start={startPage?}"/>

http://bookserver.archive.org/catalog/opensearch?q={searchTerms}&start={startPage?}
Example of an instantiated URI template:
http://bookserver.archive.org/catalog/opensearch?q=arabic&start=2
=>
http://readium.surge.sh/?epubs=http%3A%2F%2Fcrossorigin.me%2Fhttp%3A%2F%2Fbookserver.archive.org%2Fcatalog%2Fopensearch%3Fq%3Darabic%26start%3D2
(includes the http://crossorigin.me proxy to work around the lack of CORS headers at http://bookserver.archive.org)

Note about HTTPS requirement for cross-origin requests (e.g. Feedbooks OPDS catalog)
https://readium.surge.sh
https://readium.firebaseapp.com
=> both force HTTPS, which is becoming industry standard practice.
http://www.feedbooks.com
=> redirects to unsecure HTTP!
https://www.feedbooks.com/catalog.atom
...so, we can in fact use a CORS proxy such as https://crossorigin.me
https://readium.surge.sh/?epubs=https%3A%2F%2Fcrossorigin.me%2Fhttps%3A%2F%2Fwww.feedbooks.com%2Fcatalog.atom&
...which is fine to view library thumbnail covers, but unfortunately the actual EPUBs fail to load due to Feedbooks not working with proxied requests (bad HTTP headers), and also due to Feedbooks URL redirects for OPDS acquisition payloads (“preview” links).
See this sample DropBox-hosted OPDS feed aggregator (most linked feeds rely on HTTP CORS proxy):
https://readium.surge.sh/?epubs=https%3A%2F%2Fdl.dropboxusercontent.com%2Fu%2F585153%2FReadium%2Febooks%2Fopds_links.atom
=> I expect that some of them will fail because of unsecure HTTP.

OPDS validation links:
Main feed:
https://opds-validator.appspot.com/?uri=https://raw.githubusercontent.com/readium/readium-js-viewer/develop/epub_content/epub_library.opds
EDUPUB feed:
https://opds-validator.appspot.com/?uri=https://raw.githubusercontent.com/readium/readium-js-viewer/develop/epub_content/epub_edu.opds
EPUB3 Samples feed:
https://opds-validator.appspot.com/?uri=https://raw.githubusercontent.com/readium/readium-js-viewer/develop/epub_content/epub_samples.opds
DAISY a11y feed:
https://opds-validator.appspot.com/?uri=https://raw.githubusercontent.com/readium/readium-js-viewer/develop/epub_content/epub_tests_a11y.opds
EPUB Testsuite feed:
https://opds-validator.appspot.com/?uri=https://raw.githubusercontent.com/readium/readium-js-viewer/develop/epub_content/epub_testsuite.opds
EPUB Widgets (ESC) feed:
https://opds-validator.appspot.com/?uri=https://raw.githubusercontent.com/readium/readium-js-viewer/develop/epub_content/epub_widgets.opds
ReadBeyond (EPUB3 Media Overlays) feed:
https://opds-validator.appspot.com/?uri=https://dl.dropboxusercontent.com/u/585153/Readium/ebooks/readbeyond.opds
Aggregated public domain feed:
https://opds-validator.appspot.com/?uri=https://dl.dropboxusercontent.com/u/585153/Readium/ebooks/opds_links.atom

Note:
https://crossorigin.me seems to have been failing for some time now, due to missing request headers.
https://cors-anywhere.herokuapp.com seems to be working fine.
e.g.:
https://readium.firebaseapp.com/?epubs=https%3A%2F%2Fcors-anywhere.herokuapp.com%2Fhttps%3A%2F%2Finstantclassics-beta.librarysimplified.org%2Findex.xml
(from http://openebooks.net/catalog.html )

Handy URLs (for testing OPDS support via CORS proxy):
https://readium.firebaseapp.com/?epubs=https%3A%2F%2Fcors-anywhere.herokuapp.com%2Fhttps%3A%2F%2Fopds.surge.sh%2Fopds_links.atom
https://readium.firebaseapp.com/?epubs=https%3A%2F%2Fcors-anywhere.herokuapp.com%2Fhttps%3A%2F%2Fopds.surge.sh%2Freadbeyond.opds


Problems related with "No JSON object could be decoded" in Python 2.7.13

Hello.
Firstly I want to say that I new with Zotero and Pyzotero so I want to know exaclty if this is my fault or not.
I'm having an error using Pyzotero when I want to retrieve information in bibtext format. If I do the following:
item = zot.item(item_key, format='bibtex')
where:

zot: A zotero instance

item_key: A key of the item that I want to recover from API.

The following error raises:
raise ValueError("No JSON object could be decoded")
I seems that error is produced when Pyzotero uses "requests" library. I think it could be my Python version (Python 2.7.13).
If I call to method without "format" the library works well. In a Ubuntu 14.04 machine (Using older version of Python 2) it works without problems.
Any ideas?
Thanks in advance.

You say it works without problems on an older version of Python 2. Are you sure? Could you check both the Python version and the Pyzotero version on the older machine?
I ask because I think it's a Pyzotero problem, and it shouldn't matter what version of Python 2 you're running.
I've pushed what I hope is a fix to PyPI, so if you upgrade your current Pyzotero version (latest is 1.2.6), you should get valid BibTex back.


Latest APM Agent versions table doesnt show latest versions, they are 10 years old

Description
The latest APM Agent table on the right hand side shows versions from 2011. Pretty sure these are not the latest versions!
Steps to Reproduce
View the table on the right
Expected Behaviour
I expect to see the latest version number for each agent, and i expect them not to be 10 years old

The report in v2.0 now shows the latest agent version compatible with the language version used by the application.


BigQuery DATETIME type mapping

Given select * from my_table where date_time_field = ? AND using prepared statement to query it
WHEN we try to describe the statement and get the metadata info (column metadata)
FOUND the error messages from BigQuery
Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
POST https://www.googleapis.com/bigquery/v2/projects/canner-cml/jobs?prettyPrint=false
{
  "code" : 400,
  "errors" : [ {
    "domain" : "global",
    "location" : "q",
    "locationType" : "parameter",
    "message" : "No matching signature for operator = for argument types: DATETIME, TIMESTAMP. Supported signature: ANY = ANY at [43:8]",
    "reason" : "invalidQuery"
  } ],
  "message" : "No matching signature for operator = for argument types: DATETIME, TIMESTAMP. Supported signature: ANY = ANY at [43:8]",
  "status" : "INVALID_ARGUMENT"
}

I try to modify the pgTypeToBqTypeMap in pgTypeToBqTypeMap
.put(TimestampType.TIMESTAMP, TIMESTAMP) to .put(TimestampType.TIMESTAMP, DATETIME)
it works!
I think we should provide a proper mapping between BigqQuery DATETIME and TIMESTAMP

legacy issue.


az network  - this is related to trying to activate Bastion RDP

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az network
Errors:
Paste here the error message you have received. Make sure to remove all sensitive information,
such as user name, password, credential, subscription ID, etc.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az network {} {} --name {} --resource-group {} --target-resource-id {}

Expected Behavior
Environment Summary
Linux-5.4.0-1104-azure-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.14
Installer: RPM

azure-cli 2.45.0

Extensions:
bastion 0.2.3
ai-examples 0.2.5
ml 2.13.0
ssh 1.1.3

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

@dougherring az network {} {} --name {} --resource-group {} --target-resource-id {} is too crude, please provide the essential information.

I was trying to run this command to enable bastion RDP: az network bastion rdp --name "MVD05-P-NEU-AFW01-BH" --resource-group "MVD-AADJ-NETWORKS-RG" --target-resource-id "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/resourceGroups/MVD-AADJ-NETWORKS-RG/providers/Microsoft.Compute/virtualMachines/EUDBNEUADM"

route to CXP team

@dougherring Thanks for reaching out to us and reporting this issue.

Could you please elaborate the issue ? Are you getting any errors while running the above command ?
Could you please share that error message ?
Could you run the same above command with --debug parameter and share the detailed output here ?

This will help us to assist you better.  Awaiting your reply.

Here's the output from -debug:
PS /home/doug> az network bastion rdp --name "MVD05-P-NEU-AFW01-BH" --resource-group "MVD-AADJ-NETWORKS-RG" --target-resource-id "/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/resourceGroups/MVD-AADJ-NETWORKS-RG/providers/Microsoft.Compute/virtualMachines/EUDBNEUADM" --debug
cli.knack.cli: Command arguments: ['network', 'bastion', 'rdp', '--name', 'MVD05-P-NEU-AFW01-BH', '--resource-group', 'MVD-AADJ-NETWORKS-RG', '--target-resource-id', '/subscriptions/a1ffc958-d2c7-493e-9f1e-125a0477f536/resourceGroups/MVD-AADJ-NETWORKS-RG/providers/Microsoft.Compute/virtualMachines/EUDBNEUADM', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f458fa38160>, <function OutputProducer.on_global_arguments at 0x7f458f955b80>, <function CLIQuery.on_global_arguments at 0x7f458f8e7160>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'network': ['azure.cli.command_modules.natgateway', 'azure.cli.command_modules.network', 'azure.cli.command_modules.privatedns', 'azext_bastion']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: natgateway                0.003         3         6
cli.azure.cli.core: network                   0.403       120       386
cli.azure.cli.core: privatedns                0.004        14        66
cli.azure.cli.core: Total (3)                 0.410       137       458
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: bastion                   0.007         2         9  /home/doug/.azure/cliextensions/bastion
cli.azure.cli.core: ai-examples               0.096         1         1  /usr/lib/python3.9/site-packages/azure-cli-extensions/ai-examples
cli.azure.cli.core: Total (2)                 0.103         3        10
cli.azure.cli.core: Loaded 137 groups, 468 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : network bastion rdp
cli.azure.cli.core: Command table: network bastion rdp
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f458eb8bc10>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/doug/.azure/commands/2023-03-06.16-25-56.network_bastion_rdp.166.log'.
az_command_data_logger: command args: network bastion rdp --name {} --resource-group {} --target-resource-id {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7f458eb33820>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7f458eafc0d0>, <function register_cache_arguments..add_cache_arguments at 0x7f458eafc280>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f458f955c10>, <function CLIQuery.handle_query_parameter at 0x7f458f8e71f0>, <function register_ids_argument..parse_ids_arguments at 0x7f458eafc1f0>]
az_command_data_logger: extension name: bastion
az_command_data_logger: extension version: 0.2.3
Command group 'az network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/doug/.azure/cliextensions/bastion/azext_bastion/custom.py", line 229, in rdp_bastion_host
from ._process_helper import launch_and_wait
File "/home/doug/.azure/cliextensions/bastion/azext_bastion/_process_helper.py", line 9, in
from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer
ImportError: cannot import name 'WinDLL' from 'ctypes' (/usr/lib/python3.9/ctypes/init.py)
cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback:
az_command_data_logger: The command failed with an unexpected error. Here is the traceback:
cli.azure.cli.core.azclierror: cannot import name 'WinDLL' from 'ctypes' (/usr/lib/python3.9/ctypes/init.py)
Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/doug/.azure/cliextensions/bastion/azext_bastion/custom.py", line 229, in rdp_bastion_host
from ._process_helper import launch_and_wait
File "/home/doug/.azure/cliextensions/bastion/azext_bastion/_process_helper.py", line 9, in
from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer
ImportError: cannot import name 'WinDLL' from 'ctypes' (/usr/lib/python3.9/ctypes/init.py)
az_command_data_logger: cannot import name 'WinDLL' from 'ctypes' (/usr/lib/python3.9/ctypes/init.py)
Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.9/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/usr/lib64/az/lib/python3.9/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/doug/.azure/cliextensions/bastion/azext_bastion/custom.py", line 229, in rdp_bastion_host
from ._process_helper import launch_and_wait
File "/home/doug/.azure/cliextensions/bastion/azext_bastion/_process_helper.py", line 9, in
from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer
ImportError: cannot import name 'WinDLL' from 'ctypes' (/usr/lib/python3.9/ctypes/init.py)
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
To open a new issue, please run az feedback
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f458eb8be50>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 1.656 seconds (init: 0.119, invoke: 1.538)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 7087 in cache
telemetry.check: Negative: The /home/doug/.azure/telemetry.txt was modified at 2023-03-06 16:24:59.109272, which in less than 600.000000 s
PS /home/doug>
Target machine is EUDBNEUADM - Windows (Windows 11 Pro)
Please let me know what other information you need. This is blocking me from setting up an environment.
Thanks,
Doug
From: navba-MSFT @.>
Sent: Sunday, March 5, 2023 6:55 PM
To: Azure/azure-cli @.>
Cc: Doug Herring @.>; Mention @.>
Subject: Re: [Azure/azure-cli] az network - this is related to trying to activate Bastion RDP (Issue #25678)
@dougherringhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdougherring&data=05|01|doug.herring%40microsoft.com|ff8f076fa0c743754fb508db1dee24c5|72f988bf86f141af91ab2d7cd011db47|1|0|638136680899547962|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Wulcood1gACn7hvvowq9iYPGCGxNKTDUABGvPJOvOkE%3D&reserved=0 Thanks for reaching out to us and reporting this issue.
Could you please elaborate the issue ? Are you getting any errors while running the above command ?
Could you please share that error message ?
Could you run the same above command with --debug parameter and share the detailed output here ?
This will help us to assist you better. Awaiting your reply.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F25678%23issuecomment-1455354486&data=05|01|doug.herring%40microsoft.com|ff8f076fa0c743754fb508db1dee24c5|72f988bf86f141af91ab2d7cd011db47|1|0|638136680899547962|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2B4GukwD8OHrdowyIZkn9JpKopfDHxDOmX5x52NtiqN8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA4HGVRPGQA4OH5SSAW5LNULW2VGXLANCNFSM6AAAAAAVOZSXEA&data=05|01|doug.herring%40microsoft.com|ff8f076fa0c743754fb508db1dee24c5|72f988bf86f141af91ab2d7cd011db47|1|0|638136680899547962|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=5Oo9udSmimRQbJ3djMwkU7NT6T7oTm%2F8DKIp9DpG53I%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@dougherring Thanks for sharing the debug logs. I am looking in this further. I will get back to you with an update.

Any ETA on a fix for this? I am blocked from setting up a new environment due to this issue.
Thanks,
Doug
From: navba-MSFT @.>
Sent: Monday, March 6, 2023 9:22 PM
To: Azure/azure-cli @.>
Cc: Doug Herring @.>; Mention @.>
Subject: Re: [Azure/azure-cli] az network - this is related to trying to activate Bastion RDP (Issue #25678)
@dougherringhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdougherring&data=05|01|doug.herring%40microsoft.com|a0a527d67eb843b0892c08db1ecbf129|72f988bf86f141af91ab2d7cd011db47|1|0|638137633515070059|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=IafsukO2dtlKrjK2VFYx0JoHNrO2jBOLNHh6CXBTWvg%3D&reserved=0 Thanks for sharing the debug logs. I am looking in this further. I will get back to you with an update.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F25678%23issuecomment-1457556995&data=05|01|doug.herring%40microsoft.com|a0a527d67eb843b0892c08db1ecbf129|72f988bf86f141af91ab2d7cd011db47|1|0|638137633515070059|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=i6Jyvaf%2FwXq5Yp%2BfiDXmv%2F1ZZEs3ebuexWn%2F9tWMUgU%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA4HGVRJH6PFXGR7HDCNAYU3W23AZHANCNFSM6AAAAAAVOZSXEA&data=05|01|doug.herring%40microsoft.com|a0a527d67eb843b0892c08db1ecbf129|72f988bf86f141af91ab2d7cd011db47|1|0|638137633515070059|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=FCJ1BrfJLW3LApfrjp7nGtmafjwELc%2FWT2HUCpik5Bs%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@dougherring Thanks for your reply. While you mentioned you are using Target machine (Windows 11 Pro).  The environment summary says that you are using Linux.
Linux-5.4.0-1104-azure-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.14
Installer: RPM

Also, note that bastion RDP command works best on Windows, for other OS’ (like Linux) you can do the tunnel command and then use the client of your choice.

Connect to a VM using the az network bastion tunnel command. This lets you do the following:

Use native clients on non-Windows local computers (example: a Linux PC).
Use the native client of your choice. (This includes the Windows native client.)
Connect using SSH or RDP.
Set up concurrent VM sessions with Bastion.
Upload files to your target VM from your local computer. File download from the target VM to the local client is currently not supported for this command.

Currently, this feature has the following limitation:
Signing in using an SSH private key stored in Azure Key Vault isn’t supported with this feature. Before signing in to your Linux VM using an SSH key pair, download your private key to a file on your local machine.

So could you please try with tunnel command and check if that helps.
Hope this helps.

@dougherring Thanks for your reply. Could you please check the bastion extension version used by your colleagues and check if their bastion extension version is same as yours ? You can check this by running az --version command.

Hello,
I found out the root cause of my issue.
Azure CLI running from the portal is different than running directly from your machine. Running the command on my machine got me past the issue I have reported.
Thanks for the help and support here. You can resolve the issue that was reported.
Doug
From: navba-MSFT @.>
Sent: Wednesday, March 8, 2023 9:01 PM
To: Azure/azure-cli @.>
Cc: Doug Herring @.>; Mention @.>
Subject: Re: [Azure/azure-cli] az network - this is related to trying to activate Bastion RDP (Issue #25678)
@dougherringhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdougherring&data=05|01|doug.herring%40microsoft.com|11716e8e9b9d45cc312008db205b42a1|72f988bf86f141af91ab2d7cd011db47|1|0|638139348576601783|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2uVkgIc6aehuIZekRMlmj3w3xGjlkIyitQcQlt8Y5VY%3D&reserved=0 Thanks for your reply. Could you please check the bastion extension version used by your colleagues and check if their bastion extension version is same as yours ? You can check this by running az --version command.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%2Fissues%2F25678%23issuecomment-1461281557&data=05|01|doug.herring%40microsoft.com|11716e8e9b9d45cc312008db205b42a1|72f988bf86f141af91ab2d7cd011db47|1|0|638139348576601783|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=3nSgFkwCQyFUSIrCjTk83DF82fMR6ztLu3W2dCMuqa0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA4HGVRLKS32XRTI63V7BK4LW3FPYJANCNFSM6AAAAAAVOZSXEA&data=05|01|doug.herring%40microsoft.com|11716e8e9b9d45cc312008db205b42a1|72f988bf86f141af91ab2d7cd011db47|1|0|638139348576601783|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=xYZ7xrkdLj1bhDKHfIbeHI2LpvdaeqKz5z33Ow8ezE0%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@dougherring Thanks for getting back. We will now proceed with closure of this GitHub issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.

ImportError: cannot import name 'WinDLL' from 'ctypes' is tracked by #23143


Retraining for new gesture

Can I use this platform to train other gesture？

The models we have just provides 21 landmarks on the hand. Pls read the Google AI blog post for more info. It is not possible for you to train new gestures using the tflite file we have provided. What new gestures are you looking to train? @fanzhanggoogle FYI

hello @qgh1223,
Could you share what you end up doing for gesture recognition ? As replied there: https://github.com/google/mediapipe/issues/40, I think that we could do some basic vptree and distance computation to find what hand pose match the other ones.


Search across cells?

(Sorry, I was signed in as the wrong user above...not sure how to delete that empty post...)
First of all, thanks for this excellent plugin! This made it possible for me to switch to Jupyter Lab.
Now I know the [original vim bindings] plugin for jupyter notebook didn't have this feature, but it would be great to have in the future if possible. I'd like to be able to search for terms with / and not have it limited to a single cell. I'm envisioning something like CTRL-O / from within vim normal mode in a cell or just typing / from Jupyter mode and being able to use n to iterate over the matches in all cells. Ideally a black command box would pop up at the bottom of the screen, unattached to any individual cells, but if the box had to be part of whatever cell you're currently selecting, that would be cool too.
I guess this concept could apply to some other kinds of commands (:%s/oldterm/newterm/g, ?backwardsearchterm etc) but just a simple search would be a great starting point.
Again, I know there are a lot of other functionalities that are higher priority to this one, and this plugin is great without it, but it would be fantastic if this could be done in the future.

Thanks for the suggestion! I was just planning on waiting until the jlab devs release some "find and replace" function, but I can see this being very powerful and useful. The tricky part I see here is somehow federating all the cells, then we could get all the searching and replacing for free with codemirror.
@ian-r-rose Sorry to bug you. Would you have any ideas on how feasible this might be or a solution sketch?

It might be possible, I am not really sure. Does the vim-mode provide any programmatic access to the find-and-replace functionality? If so, you could try to intercept those commands and apply them to all the cell editors (which can be accessed through tracker.currentWidget.notebook.widgets.editor). You certainly know much more about the vim emulation than I do though :smile:

Hmm, interesting idea, I don't know but I will investigate :)

This function applies things like line numbering and word wrap to all cells. The find-and-replace action is rather more complex, though.

And I would add that we are generally interested in having notebook-wide find-and-replace in the core (as you noted above). If you happen to make any progress here, we would likely be interested in working out how to make it work independent of vim-mode as well.

any progress on this? it seems like a great feature. BTW, thanks for the awesome plugin

This has been released in jupyterlab 1.0, so I think this issue can be closed.

I'm new here - thanks so much for the extension.  I am also interested in this feature, but while the above comment says it's released, I'm using jupyterlab 1.0 and I am not finding I can use '/' nor 'CTRL-O /' to search outside of the current cell.
Is there some other jupyterlab-vim way (not counting CTRL-F, which has problems, IMHO) that I missed?
I also noticed that / seems to be doing case-insensitive searching, and wondered if there's a way to toggle that, but didn't know if I should start a new "issue" to ask about it.  Advice welcome.


expose walk to not parse again html

fix #17

Codecov Report

Merging #18 (f2bad15) into master (c9fc59c) will decrease coverage by 3.45%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #18      +/-   ##
==========================================
- Coverage   84.04%   80.59%   -3.46%
==========================================
  Files           4        4
  Lines         163      134      -29
==========================================
- Hits          137      108      -29
  Misses         17       17
  Partials        9        9

Impacted Files
Coverage Δ

opengraph.go
75.67% <100.00%> (-3.40%)
:arrow_down:

tag_meta.go
80.48% <0.00%> (-4.13%)
:arrow_down:

tag_link.go
100.00% <0.00%> (ø)

tag_title.go
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Can't put deploy via casper_client crate.

It is not possible to construct casper_node::types::Deploy and send it via casper_client crate. This is due to RpcCall from casper_client is pub (crate).
I also think it make sense to move Deploy and all elements needed for its construction to casper_types.

@zie1ony we are doing some extensive types restructuring in 2.0, which we are currently planning.  I have added this to the epic capturing that work.


Change the color of the cards

Change the color of the cards

Hello, do you only want to change the red and blue color or want a feature where it changes color?

Hey! I would love to take up this issue, please assign it to me.


Advice: what you suggest to handle error?

Hi, thank for amazing library, but need your advice, for implement our build in function we use function with error arguments, which can not be processed which map, filter, etc. I found right now only one way for handle error:
"last": func (n int) (string) {
      if n == 5 {
      panic("can't process because db not response")
      }
      return fmt.Sprintf("%d", n)
    },

Did not find something like that in documentation

Hi 👋
Yes, this is the right and safe way of communicating error.
As evaluation should be safe, recover mechanism was needed.

So inside function I am should use recovery mechanism, too, or it is save just to throw panic without recovery?

Yes. Just use panic.

Thank you


Merge alpha in master

Issue
https://github.com/gravitee-io/issues/issues/XXXXX
Description
A small description of what you did in that PR.
Additional context

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

2.1.0
GitHub release

Your semantic-release bot :package::rocket:


MANIFEST.MF Import-Package value is not valid for bundleCompose.excludePackage property

Negating pattern in  Import-Package should be added before asterisk.
Consider following configuration:
bundleCompose {
  excludePackage("!junit.framework")
}

Generates follokwing Import-Package value
Import-Package: *,!!junit.framework
Should be:
Import-Package: !junit.framework,*

@dymitrs take a look (looks like related to #595), this is not a surprise that 2 different persons report same thing within 1-2 weeks
sth to be improved here

added property for easier control of that wildcard
tasks {
    bundleCompose {
        importPackageWildcard.set(false)
    }
}

also ensured that this wildcard will be added in the end to be compatible with excludePackage() method;
to be released in 11.0.0


Tab Select External Page

Hello How could do to make the Tab work for different pages, and so when you load the page is placed in the Tab to select

I assume you're referring to loading a page (i.e. URL) when you click on a tab. If so, then you can refer to http://joshreed.github.io/jQuery-ScrollTabs/documentation.html and the default click_callback function will take the "rel" attribute as a URL.


Build into dist, plays nicer with ipywidgets

ipywidgets embedding expects the output to be dist:
https://github.com/jupyter-widgets/ipywidgets/blob/master/packages/html-manager/src/libembed-amd.ts#L46

Looks good, thanks!


How to specify a bonjour endpoint to listen on?

Swift NIO-ts uses this nice way to bind a server to a NWEndpoint. So you can let your webserver listen on a bonjour service instead of an IP address. See

https://github.com/apple/swift-nio-transport-services/blob/38ac8221dd20674682148d6451367f89c2652980/Sources/NIOTransportServices/NIOTSListenerBootstrap.swift#L287-L295
https://github.com/apple/swift-nio-transport-services/blob/main/Sources/NIOTransportServices/NIOTSNetworkEvents.swift#L71-L81

In humming bird I only find configurations to listen on a specific hostName or ip address. Is it possible to specify to listen on NWEndpoints?

It's on my list of things to do. I need to verify the new NIOAsyncChannel bind functions support NWEndpoint

NIOAsyncChannel can wrap an existing Network Services Channel

#525

Merged will be in the next release


Looks like the tests are broken in anaconda.org

I've also had issues having them passing in my local computer (osx)
https://anaconda.org/anaconda-nb-extensions/nb_anacondacloud/builds/10/0

ping @bollwyvl

Right, that's the focus over on #9.
Here's the current build:
https://anaconda.org/anaconda-nb-extensions/nb_anacondacloud/builds/16
I've blacked out win32/py27 for the known markupsafe issue.

@malev over on #9, @damianavila is going to review, then we're going to do a release without win-32 builds... or let the package.sh do a best-effort transform.

#9 was merged, so closing here.


Better handling when generators stop generating

Firstly, we have an out-by-one issue — this screenshot from 30 aug indicates that MujaCD stopped generating on 26 aug:

whereas this one shows it stopped on 27 aug:

(this could easily be an FE issue.)
i think we should continue to show zero generation in the daily series for, say, 7 days after last generation — it could be just a temporary outage.
(in addition, the US should clearly indicate that we're not seeing the most recent data, but the last generation recorded… but that's an issue for another ticket.)

more relevant info:

Site: https://opennem.org.au/facility/au/WEM/MUJA/?range=7d&interval=30m
Facility info: https://api.opennem.org.au/station/au/WEM/MUJA
7D: https://api.opennem.org.au/stats/power/station/WEM/MUJA?period=7d
1M: https://api.opennem.org.au/stats/energy/station/WEM/MUJA?period=1M&interval=1d

Maybe check if the 1M endpoint has collected any data on the 27 Aug. Note from Facility info endpoint, G8 and G6 data_last_seen date is: "2024-08-27T09:55:00+10:00"

ok, there's more (and less) going on here! the other 2 coal generators are showing piddling generation during the same period, and stopping at the same interval:
collie:

bluewaters:

which do not add up to what we're seeing for coal in the region:

…and there's been no data received since that period.
so, several issues:

the original out-by-one
we don't differentiate between zero and no-data
WA stopped importing several days ago
power values in facility view is a tiny fraction of actual values.


Fixing spot instances issue

@killerwails @aaronpederson plz review

Tested. This "fix" doesnt add the functionality you are expecting.

@killerwails what does it do?

it doesnt do anything. I tried spinning up a non-spot box in staging.....nothing happened

my bad. does work.

Team Approved


how to use

i want to use this package for my use case:
i'm try to write key/val storage that uses ceph crushmap to determine on which nodes data placed and do data replication.
i need to know when node down to disable it in crushmap., so i think about caspaxos to solve this issue by replicate node state to all cluster members. Also i need to transfer new crushmap (if i add or delete node) to all nodes consistently.
What do you think?

Hi,
this package is very immature and I haven't been working on it for sometime now.
I do not think  there is a mature implementation of CASpaxos in Golang that is available in open source.
I do not know about your exact use case, but if I was to build a storage system that requires consensus; I would use the raft protocol.
This is because there are some very mature implementation of that in Go;
eg;

https://github.com/hashicorp/raft
https://github.com/etcd-io/etcd/tree/master/raft


Safari 17.4 supports @scope

Safari 17.4 supports CSS Scoping — both @scope (and the expanded purpose of :scope).
https://developer.apple.com/documentation/safari-release-notes/safari-17_4-release-notes

Thanks!


Run in simulator button missing when accessing https://banglejs.com/apps

For an unknown reason, there are no buttons to run apps in the simulator when accessing https://banglejs.com/apps/ using Chrome on my Windows 10 PC.
However if I fork BangleApps repository, clone it and run it on my local server, the buttons to run the apps in the simulator show up.

Can you try pulling up the Chrome dev console then click-clicking on 'reload' and choosing 'Empty Cache and hard reload'?

I have done what you told me and found the answer: it is related to my Adblock Plus extension:
If I disable it on the banglejs.com/apps/ website, the buttons appear as expected.
I will add banglejs.com to the Adblock Plus extension white list not to get this issue.
I believe this issue might concern many other people as many of us use ad blockers...
However I am still having a bug:
If I click on such a button I get this error message:
// Error loading https://banglejs.com/apps/#apps/mclock/clock-morphing.js
after following this link:
https://www.espruino.com/ide/emulator.html?codeurl=https://banglejs.com/apps/#apps/mclock/clock-morphing.js&upload
The #apps in the link looks suspicious.

I have noticed that I don't get this issue when clicking on the button when I am on https://banglejs.com/apps/
However if I am on https://banglejs.com/apps/# I get the issue.

Wow, good spot about the '#' thing. I'll get that fixed.
wrt. AdBlock - if you figure out what's wrong it'd be great if you could issue a PR. Or if there were a way to detect AdBlock and put a banner at the top of the screen telling people about it, that'd be cool.

I am not a "real" programmer and I believe this is out of my reach... Sorry
(I barely know how to play around with JavaScript by adjusting your code to my needs~~)
On my local server when clicking on the simulator button, this link opens:
https://www.espruino.com/ide/emulator.html?codeurl=https://sebastienkrut.synology.me:447/apps/demoapp/app.js&upload
and I get this error message:
// Error loading https://sebastienkrut.synology.me:447/apps/demoapp/app.js
However the link to the file seems correct and I can access it.
Do you know the reason for this problem? Does it have to do with the :447 port in the link?

Ok, sorted (at least the link issue)
It probably doesn't work for you because you need 'Cross Origin' headers on your server - check out https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

Thanks


Fix : Searching movie after clicking enter button

Adding feature on which when user clicks enter button it automatically searches the movie reviews

You wanna work on this? @yube01

yeah sure


NeosPluginManager.dll no longer exists

In the launch settings:
-LoadAssembly "Libraries\PluginManager\NeosPluginManager.dll"`
This library is no longer present, so this option can be removed.

Removed from launch settings in 4bf69f8c9d289eebf23e21bbb9d91827200a2ded
This was leftover from when I was working on another project concurrently, and was no longer needed
Thanks!


Bug running docker

Describe the bug
I am following the example of https://docs.monai.io/projects/monai-deploy-app-sdk/en/0.2.1/getting_started/tutorials/02_mednist_app.html
I was able to run everything but the part of the docker:
monai-deploy run mednist_app:latest input output
I am getting this error:
(monai) sonosa@sonosa-MS-7B17:~/2022/ProjectsAI/monai$ monai-deploy run mednist_app:latest input output_docker_gpu
/home/sonosa/anaconda3/envs/monai/lib/python3.7/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: /home/sonosa/anaconda3/envs/monai/lib/python3.7/site-packages/torchvision/image.so: undefined symbol: _ZNK3c1010TensorImpl36is_contiguous_nondefault_policy_implENS_12MemoryFormatE
warn(f"Failed to load image Python extension: {e}")
Checking dependencies...
--> Verifying if "docker" is installed...
--> Verifying if "mednist_app:latest" is available...
Checking for MAP "mednist_app:latest" locally
"mednist_app:latest" found.
Reading MONAI App Package manifest...
--> Verifying if "nvidia-docker" is installed...
/opt/conda/lib/python3.8/site-packages/scipy/init.py:138: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.23.5)
warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion} is required for this version of "
Going to initiate execution of operator LoadPILOperator
Executing operator LoadPILOperator (Process ID: 1, Operator ID: a37656f0-65c6-46ca-8fdf-e8477bab45d2)
Done performing execution of operator LoadPILOperator
Going to initiate execution of operator MedNISTClassifierOperator
Executing operator MedNISTClassifierOperator (Process ID: 1, Operator ID: c9f285dd-3b8c-4ef9-b700-cd6ac49186a0)
/root/.local/lib/python3.8/site-packages/monai/utils/deprecate_utils.py:107: FutureWarning: <class 'monai.transforms.utility.array.AddChannel'>: Class AddChannel has been deprecated since version 0.8. please use MetaTensor data type and monai.transforms.EnsureChannelFirst instead.
warn_deprecated(obj, msg, warning_category)
/root/.local/lib/python3.8/site-packages/monai/utils/type_conversion.py:134: UserWarning: The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors. This means you can write to the underlying (supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to protect its data or make it writeable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at  /opt/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:175.)
tensor = torch.as_tensor(tensor, kwargs)
device found : cuda
terminate called after throwing an instance of 'c10::Error'
what():  isTuple()INTERNAL ASSERT FAILED at "/opt/pytorch/pytorch/aten/src/ATen/core/ivalue_inl.h":1397, please report a bug to PyTorch. Expected Tuple but got String
Exception raised from toTuple at /opt/pytorch/pytorch/aten/src/ATen/core/ivalue_inl.h:1397 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits, std::allocator >) + 0x6c (0x7f27560b224c in /opt/conda/lib/python3.8/site-packages/torch/lib/libc10.so)
frame Project-MONAI/MONAI#1: c10::detail::torchCheckFail(char const, char const, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) + 0xfa (0x7f275607da66 in /opt/conda/lib/python3.8/site-packages/torch/lib/libc10.so)
frame Project-MONAI/MONAI#2: c10::detail::torchInternalAssertFail(char const*, char const*, unsigned int, char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) + 0x53 (0x7f27560b0233 in /opt/conda/lib/python3.8/site-packages/torch/lib/libc10.so)
frame Project-MONAI/MONAI#3:  + 0x4224e29 (0x7f27a23b4e29 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
frame Project-MONAI/MONAI#4:  + 0x42253e9 (0x7f27a23b53e9 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
frame Project-MONAI/MONAI#5: torch::jit::SourceRange::highlight(std::ostream&) const + 0x48 (0x7f279f3d5c58 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
frame Project-MONAI/MONAI#6: torch::jit::ErrorReport::what() const + 0x2c3 (0x7f279f3baac3 in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_cpu.so)
frame Project-MONAI/MONAI#7:  + 0x9ea44f (0x7f27a873344f in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so)
frame Project-MONAI/MONAI#8:  + 0x9fa12d (0x7f27a874312d in /opt/conda/lib/python3.8/site-packages/torch/lib/libtorch_python.so)

frame Project-MONAI/MONAI#45: __libc_start_main + 0xf3 (0x7f27e722d083 in /usr/lib/x86_64-linux-gnu/libc.so.6)
ERROR: MONAI Application "mednist_app:latest" failed.
=================================================================
Please any help could be useful,
Just in case I tested the nvidia-docker and it is working very well

@zephyrie @vikashg @ericspod can you run and confirm this is reproducible or something with @acamargosonosa env?
It seems that MedNIST example is not updated to use the lates MONAI Core 1.x and metatensor.
Also, your NumPy version is higher than the expected by SciPy. (1.23.5 vs NumPy version >=1.16.5 and <1.23.0).

I was able to run the example without encountering this issue on Ubuntu 20.04, CUDA 11.4, Pytorch 1.13.
However I encountered another issue with highdicom being a hard dependency in the library which I solved by adding @md.env(pip_packages=["monai"]) to the specification for the App class in the example script. The root cause is that SegmentDescription in dicom_seg_writer_operator.py relies on a member of highdicom for type annotation, if the library isn't present there is no member to use as a type. highdicom is used elsewhere in that file for critical operations so I don't think it's an optional dependency if classes can't operate without it.

Thanks a lot for the suggestions, I will test them and see if work for my case

I was able to run the example without encountering this issue on Ubuntu 20.04, CUDA 11.4, Pytorch 1.13, MONAI 1.0.1. I setup my conda environment from scratch to run this test so it's possible your environment does have incompatible library versions in it.
However I encountered another issue with highdicom being a hard dependency in the library which I solved by adding @md.env(pip_packages=["monai"]) to the specification for the App class in the example script. The root cause is that SegmentDescription in dicom_seg_writer_operator.py relies on a member of highdicom for type annotation, if the library isn't present there is no member to use as a type. highdicom is used elsewhere in that file for critical operations so I don't think it's an optional dependency if classes can't operate without it.
CC @CPBridge @MMelQin

I have the same issue of missing highhdicom which prevent me from importing monai.deploy. How could I workaround it?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/monai/utils/module.py", line 199, in load_submodules
    mod = import_module(name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/local/lib/python3.8/dist-packages/monai/deploy/operators/__init__.py", line 38, in <module>
    from .dicom_seg_writer_operator import DICOMSegmentationWriterOperator
  File "/usr/local/lib/python3.8/dist-packages/monai/deploy/operators/dicom_seg_writer_operator.py", line 44, in <module>
    class SegmentDescription:
  File "/usr/local/lib/python3.8/dist-packages/monai/deploy/operators/dicom_seg_writer_operator.py", line 130, in SegmentDescription
    def to_segment_description(self, segment_number: int) -> hd.seg.SegmentDescription:
  File "/usr/local/lib/python3.8/dist-packages/monai/deploy/utils/importutil.py", line 262, in __getattr__
    raise self._exception
  File "/usr/local/lib/python3.8/dist-packages/monai/deploy/utils/importutil.py", line 221, in optional_import
    pkg = __import__(module)  # top level module
monai.deploy.utils.importutil.OptionalImportError: import highdicom (No module named 'highdicom').

@acamargosonosa, I just came up against this same error, the key part I think is what(): isTuple()INTERNAL ASSERT FAILED at "/opt/pytorch/pytorch/aten/src/ATen/core/ivalue_inl.h":1397, please report a bug to PyTorch. Expected Tuple but got String.
This suggested some issue with how pytorch was reading the torchscript file. If you enter your MAP container and check the pytorch version with pip show torch you might find like I did that the torch version you used to train and serialise the model is different from what the MAP has installed. In my case, I fixed it by using a newer base image e.g. monai-deploy package app.py -t myapp:latest -m my-model.pt -b nvcr.io/nvidia/pytorch:23.06-py3. Alternatively, I think if you set the torch version in the application's env decorator you will also end up with the right version installed.

Thanks @laurencejackson  for providing the resolutions!
PyTorch is indeed pre-installed and verified in the published base images, and the older version (yy:mm) images likely do not have the torch version compatible with the newer ones used to train the model.


added loading_strategy_types back

Coverage remained the same at 96.031% when pulling c57d9818b9c8048277019c38b515b811280c0ef2 on narekgharibyan:loading_strategy_types into 2c5578e13fc79ee8c1a2d9f86417acb6d1ff7c63 on KeyviDev:master.


SOFTWARE- 2988 (Review of osg-pki-tools)

Removed the relative links and changed the usage sections to the source repo. A pull request was created there to move the usage docs.

@brianhlin I made the changes.

@brianhlin I added changes for SOFTWARE-2990 since they were on the same file and it also fixes the multiple headers for  SOFTWARE-3090 and the osg-ca-scripts was updated on PR-7.


Add release-drafter GitHub Action workflow

What this PR does / why we need it:
This PR adds a workflow to automatically generate a draft with release notes for the next minor version (based on latest tag), using release-drafter. When new PRs are pushed to main, their title will be added to the release notes.
Use the tag kind/skip-release-notes to skip adding a PR e.g. dependabot PRs.
Which issue(s) this PR fixes:
Completes another step in https://github.com/open-component-model/ocm/issues/101

Thanks @phoban01, added your suggestions!


Prevent multiple attributes with the same content

It is for instance possible to have two Attributes parent package that refer to the same element.

Bug is solved


Permission for file editing in Opera Browser is not requested

Permission for file editing is not required in the Opera Browser and so when I try to open a folder nothing happens.
I can open a single file but when I try to save this error occurs :
Failed to save 'filename': Unable to write file 'filename' (Unavailable (FileSystemError): Error: Insufficient permissions. Please retry and allow the operation.)

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: VS Code for Web
OS Version: Windows 10

Steps to Reproduce:

Open opera browser
Access vscode.dev
Click in Open Folder button
Choose any folder

We have code to detect whether local file system access is supported or not:
https://github.com/microsoft/vscode/blob/4810839966fe2e9e9985d0dd9c9e099b4b63bd6f/src/vs/base/browser/dom.ts#L1492-L1498
Can you open developer tools in Opera and see whether typing window.showDirectoryPicker in the console returns anything?

Interesting, so https://caniuse.com/?search=showDirectoryPicker indicates that Opera supports this method.
Maybe their implementation is still a bit buggy? Can you report an issue to Opera too?

Hello @bpasero, thank you for replies.
I tested the method window.showDirectoryPicker()  in Opera console and the issue seems to be in the browser. After select the folder this was the return:

Is the same of when i click on Cancel button

I think you cannot force this dialog to open from devtools, but the method appears to be there, so we think local file system access is supported.
Does this work for you? https://googlechromelabs.github.io/text-editor/


Some Korean localization resources looks broken for v1.11

Gitea version (or commit ref): v1.11
Git version: <IP_ADDRESS>
Operating system: CentOS 7
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
Some Korean resources looks broken. I guess localization files for Korean defiled.
...
Screenshots

Hi, can you have a look at crowdin where the translation are managed.
If the translation are good please come back and indicate it since it may be related to font.
For more details on translations: https://github.com/go-gitea/gitea/blob/master/CONTRIBUTING.md#translation


Add styled-components support in

Hi!
First of all, thank you for the work you put into this library 🙏
I made a small change to the <Field /> component, to add support for styled-components
styled-components is a popular choice for styling components.
I also made a small snippet of code for you to test:
import { Field, form } from 'react-redux-form';
import { connect } from 'react-redux';
import React, { Component } from 'react';
import styled from 'styled-components';

let MyInput = styled.input`
  border: 1px solid #DDD;
  padding: 10px;
  width: 100%;
  border-radius: 2px;
`

class LoginPage extends Component {
  render () {
    return (
      <div>
        <form>
          <Field model="login.username">
            <MyInput type="text" />
          </Field>
        </form>
      </div>
    )
  }
}

const mapStateToProps = (state) => {
  return {
    login: state.forms.login
  }
}

export default connect(mapStateToProps)(LoginPage)

Wish you all good 😊
Asaf

Does styled-components not work without this? If so, why not? Just curious.

Good questions.
seems like it has something to do with HOCs, where a function wraps the original input component.
I tried to find a way to get the original component name out of a wrapped one, but it seems like its not available.
On the other hand, styled-components adds a target property on their wrapper component,
so we can use it to our advantage.
I agree that it feels awkward to add a specific check for another library,
but I couldn't find a more generic solution to offer 🙁
import React from 'react';
import styled from 'styled-components';

const WrappedInput = (props) => {
  return <input type="text" { ...props } />
}

const wrappedInput = <WrappedInput />

console.log(wrappedInput.type)              // returns: function WrappedInput(props) { ... }
console.log(wrappedInput.type.target)       // returns: undefined
console.log(wrappedInput.type.name)         // returns: WrappedInput
console.log(wrappedInput.type.displayName)  // returns: undefined

const StyledInput = styled.input`
  background: red;
`
const styledInput = <StyledInput />

console.log(styledInput.type)               // returns: function StyledComponent() { ... }
console.log(styledInput.type.target)        // returns: input
console.log(styledInput.type.name)          // returns: StyledComponent
console.log(styledInput.type.displayName)   // returns: styled.input

I have managed to get around this by making custom controls: create a control styled with styled-components, then pass it to the Control as the component attribute.

I've been using styled-components and react-redux-form with both antd and material-ui, and can safely say this is not really needed.


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2023-10-13)
Features

add basic app and class HelperDataFilter (4ecf74d)
Add Password class and dependances (009c814)
Add typia dependencies + clean (66a4169)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Basalt-Lab/basalt-core/releases/tag/v1.0.0 :sunflower:


Cannot list aks maintenanceconfiguration without a cluster name

When a cluster is deleted, any maintenanceconfiguration associated with it is not.
az aks maintenanceconfiguration list requires a cluster name.
listing maintenance configurations on the UI does not list configurations for any clusters

This means that is is easily possible to delete a cluster, and leave an orphaned maintenanceconfiguration, which cannot be deleted (or even seen) unless you happen to know the cluster name.
The --cluster-name argument for az aks maintenanceconfiguration list should be optional, so that configurations which no longer have an associated aks cluster can still be found (and deleted)

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

ID: 560b49aa-3fcc-51a1-5b72-d126712d462c
Version Independent ID: 990a716e-67c1-585a-831c-1ef5d6a5d979
Content: az aks maintenanceconfiguration
Content Source: latest/docs-ref-autogen/aks/maintenanceconfiguration.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@SimonHarrisonSH We are looking into it and get back to you for any additional information.

@SimonHarrisonSH How are you creating the maintenance configuration. If you are using az aks maintenanceconfiguration add to create a maintenance configuration, then it will be deleted when you delete the AKS cluster.  Can you please share more details how are you validating the maintenance configuration if it's deleted or not?

@SaurabhSharma-MSFT
Hmm.  I was sure I'd observed the behaviour where they persisted after deletion of the cluster.
However, I cannot replicate this, so either I was mistaken or something has changed.
My apologies for the confusion


Code Does not recognize ArcGIS on My Machine

I get this error when I try to install the download.

When I choose to install anyhow I cannot see the the tool in the Commands tab of the Customize window. I am currently running Arcmap 10.4 and also have pro installed on my machine.

This is most likely the cause of you downloading the 10.5 version. I no longer support older versions on ArcMap, but you can download a past release of the tool. Here is a link to the version.
https://github.com/ChrisStayte/ArcMap_To_Google_Earth/releases/tag/v10.4-1

Thank you for the quick response. I was able to install the the 10.4 version . However, when I use the tool it opens ArcGIS Earth and the extent is random.

This tool relies on the fact that Google Earth is the default program to open KMZ/KML file types. When installing ArcEarth this overrides the default which I assume was Google Earth.
You can fix this by changing the default program associations.
Here is a simple tutorial on how to do that from Microsoft. https://support.microsoft.com/en-us/help/18539/windows-7-change-default-programs

Wow. It works great. I can now take advantage of googles imagery which is much better then ESRI's. Thanks!


use with minio(upload file)

I'm trying to use ExAws library along with minio.
I try to upload the file:
filepath
|> S3.Upload.stream_file
|> S3.upload(bucket_name, path)
|> ExAws.request!

and I get an error:
[error] #PID<0.1041.0> running Myapp.Endpoint terminated
Server: localhost:4000 (http)
Request: POST /resources/upload
** (exit) an exception was raised:
    ** (MatchError) no match of right hand side value: %{body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<InitiateMultipartUploadResult xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"><Bucket>user-1</Bucket><Key>docs/tsetup.0.9.51.tar.xz</Key><UploadId>35e9c8b0-ac34-4411-b39b-790a0104df93</UploadId></InitiateMultipartUploadResult>", headers: [{"Accept-Ranges", "bytes"}, {"Server", "Minio/DEVELOPMENT.GOGET (linux; amd64)"}, {"Vary", "Origin"}, {"X-Amz-Request-Id", "K4O7RNNSRLAMSL26"}, {"Date", "Tue, 11 Oct 2016 20:53:58 GMT"}, {"Content-Type", "text/xml; charset=utf-8"}, {"Transfer-Encoding", "chunked"}], status_code: 200}
        (ex_aws) lib/ex_aws/s3/upload.ex:39: ExAws.S3.Upload.initialize!/2
        (ex_aws) lib/ex_aws/s3/upload.ex:80: ExAws.Operation.ExAws.S3.Upload.perform/2
        (ex_aws) lib/ex_aws.ex:41: ExAws.request!/2
        (Myapp) web/models/resource.ex:68: Myapp.Resource.put_file_to_cloud/1
        (Myapp) web/controllers/resource_controller.ex:59: Myapp.ResourceController.upload/2
        (Myapp) web/controllers/resource_controller.ex:1: Myapp.ResourceController.action/2
        (Myapp) web/controllers/resource_controller.ex:1: Myapp.ResourceController.phoenix_controller_pipeline/2
        (Myapp) lib/Myapp/endpoint.ex:1: Myapp.Endpoint.instrument/4
        (Myapp) lib/phoenix/router.ex:261: Myapp.Router.dispatch/2
        (Myapp) web/router.ex:1: Myapp.Router.do_call/2
        (Myapp) lib/Myapp/endpoint.ex:1: Myapp.Endpoint.phoenix_pipeline/1
        (Myapp) lib/plug/debugger.ex:123: Myapp.Endpoint."call (overridable 3)"/2
        (Myapp) lib/Myapp/endpoint.ex:1: Myapp.Endpoint.call/2
        (plug) lib/plug/adapters/cowboy/handler.ex:15: Plug.Adapters.Cowboy.Handler.upgrade/4
        (cowboy) src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4

I see by the response that the file upload begins. This mini returns the answer is not as expected exaws? or the problem is in something else?
Upd: after adding sweet_xml now get another error:
[error] GenServer #PID<0.593.0> terminating
** (MatchError) no match of right hand side value: nil
    (ex_aws) lib/ex_aws/s3/upload.ex:69: ExAws.S3.Upload.upload_chunk!/3
    lib/flow/materialize.ex:493: anonymous fn/4 in Experimental.Flow.Materialize.mapper/2
    lib/flow/materialize.ex:462: Experimental.Flow.Materialize."-mapper_ops/1-lists^foldl/2-1-"/3
    lib/flow/materialize.ex:462: anonymous fn/5 in Experimental.Flow.Materialize.mapper_ops/1
    lib/flow/map_reducer.ex:57: Experimental.Flow.MapReducer.handle_events/3
    lib/gen_stage.ex:2190: Experimental.GenStage.consumer_dispatch/7
    lib/gen_stage.ex:2313: Experimental.GenStage.take_pc_events/3
    (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: {:"$gen_consumer", {#PID<0.592.0>, #Reference<<IP_ADDRESS>3>}, [{<<255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 1, 0, 72, 0, 72, 0, 0, 255, 219, 0, 67, 0, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 5, 3, 3, 3, 3, 3, 6, ...>>, 1}]}
State: {%{#Reference<<IP_ADDRESS>3> => nil}, %{consumers: [{#Reference<<IP_ADDRESS>4>, #Reference<<IP_ADDRESS>6>}], done: [#Reference<<IP_ADDRESS>3>], done?: false, trigger: #Function<2.69990182/4 in Experimental.Flow.Window.Global.materialize/4>}, {0, 4}, [], #Function<29.77971684/4 in Experimental.Flow.Materialize.mapper_ops/1>}
[error] Ranch protocol #PID<0.587.0> (:cowboy_protocol) of listener Myapp.Endpoint.HTTP terminated
** (exit) an exception was raised:
    ** (MatchError) no match of right hand side value: nil
        (ex_aws) lib/ex_aws/s3/upload.ex:69: ExAws.S3.Upload.upload_chunk!/3
        lib/flow/materialize.ex:493: anonymous fn/4 in Experimental.Flow.Materialize.mapper/2
        lib/flow/materialize.ex:462: Experimental.Flow.Materialize."-mapper_ops/1-lists^foldl/2-1-"/3
        lib/flow/materialize.ex:462: anonymous fn/5 in Experimental.Flow.Materialize.mapper_ops/1
        lib/flow/map_reducer.ex:57: Experimental.Flow.MapReducer.handle_events/3
        lib/gen_stage.ex:2190: Experimental.GenStage.consumer_dispatch/7
        lib/gen_stage.ex:2313: Experimental.GenStage.take_pc_events/3
        (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
        (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
        (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3

at the same time, I see that the download is in wireshark , but in the storage folder is empty

in stackoverflow on I was told that the response from the minio lacks etag parameter. I would like to clarify whether this is so?

I'm afraid I have no idea. The Upload code is pretty simple, I recommend just adapting it for whatever minio wants. It is not the goal of this library to support services other than AWS.

sorry, I did not want to ask you because of this function change, I just wanted to clarify whether the upload function expects a reply option etag

Ah my bad. Yes it expects an etag here: https://github.com/CargoSense/ex_aws/blob/master/lib/ex_aws/s3/upload.ex#L69
This is because complete_multipart_upload requires each part number have an associated etag.

thanks for the answer.
I looked more at the response from Minio, and I see that there is etag:
Frame 1138: 344 bytes on wire (2752 bits), 344 bytes captured (2752 bits) on interface 0
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: <IP_ADDRESS>, Dst: <IP_ADDRESS>
Transmission Control Protocol, Src Port: 9000 (9000), Dst Port: 42324 (42324), Seq: 515, Ack: 1539815, Len: 278
Hypertext Transfer Protocol
    HTTP/1.1 200 OK\r\n
    Accept-Ranges: bytes\r\n
    Etag: "2501de281894f7a1f79e8e0d6b8e7d85"\r\n
    Server: Minio/DEVELOPMENT.GOGET (linux; amd64)\r\n
    Vary: Origin\r\n
    X-Amz-Request-Id: M81ULLKCXKH0KRXD\r\n
    Date: Fri, 14 Oct 2016 15:00:16 GMT\r\n
    Content-Length: 0\r\n
    Content-Type: text/plain; charset=utf-8\r\n
    \r\n
    [HTTP response 2/2]
    [Time since request: 0.008850143 seconds]
    [Prev request in frame: 1016]
    [Prev response in frame: 1028]
    [Request in frame: 1032]

Can you add an |> IO.inspect after |> ExAws.request!(config) found here https://github.com/CargoSense/ex_aws/blob/master/lib/ex_aws/s3/upload.ex#L67 and paste the result?

I added a line to this file myapp/deps/ex_aws/lib/ex_aws/s3/upload.ex:
  def upload_chunk!({chunk, i}, op, config) do
    %{headers: headers} = ExAws.S3.upload_part(op.bucket, op.path, op.upload_id, i, chunk, op.opts)
    |> ExAws.request!(config)
    |> IO.inspect

    {_, etag} = List.keyfind(headers, "ETag", 0)
    {i, etag}
  end

but in the log does not appear any new lines:
[info] POST /resources/upload
[debug] Processing by Myapp.ResourceController.upload/2
  Parameters: %{"_csrf_token" => "GSITBRoBVw5ZDQsSJwhCDCpbCTIbNgAAmAaBtS0A1GnzUK8MOjPGnA==", "_utf8" => "✓", "resource" => %{"file" => %Plug.Upload{content_type: "audio/mp3", filename: "test-test.mp3", path: "/tmp/plug-1476/multipart-460254-944553-4"}, "parent_id" => "16"}}
  Pipelines: [:browser]
[debug] QUERY OK source="resources" db=1.3ms
SELECT r0."id", r0."name", r0."path", r0."type", r0."user_id", r0."parent_id", r0."inserted_at", r0."updated_at" FROM "resources" AS r0 WHERE (r0."id" = $1) [16]
[error] GenServer #PID<0.422.0> terminating
** (MatchError) no match of right hand side value: nil
    (ex_aws) lib/ex_aws/s3/upload.ex:69: ExAws.S3.Upload.upload_chunk!/3
    lib/flow/materialize.ex:493: anonymous fn/4 in Experimental.Flow.Materialize.mapper/2
    lib/flow/materialize.ex:462: Experimental.Flow.Materialize."-mapper_ops/1-lists^foldl/2-1-"/3
    lib/flow/materialize.ex:462: anonymous fn/5 in Experimental.Flow.Materialize.mapper_ops/1
    lib/flow/map_reducer.ex:57: Experimental.Flow.MapReducer.handle_events/3
    lib/gen_stage.ex:2190: Experimental.GenStage.consumer_dispatch/7
    lib/gen_stage.ex:2313: Experimental.GenStage.take_pc_events/3
    (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: {:"$gen_consumer", {#PID<0.420.0>, #Reference<<IP_ADDRESS>01>}, [{<<138, 7, 167, 1, 242, 29, 102, 129, 226, 190, 48, 110, 144, 100, 96, 65, 157, 44, 136, 106, 88, 115, 35, 139, 233, 124, 30, 75, 145, 62, 58, 84, 68, 184, 202, 106, 47, 229, 57, 170, 158, 37, 91, 74, 170, 207, 112, ...>>, 3}]}
State: {%{#Reference<<IP_ADDRESS>01> => nil}, %{consumers: [{#Reference<<IP_ADDRESS>09>, #Reference<<IP_ADDRESS>12>}], done: [#Reference<<IP_ADDRESS>01>], done?: false, trigger: #Function<2.69990182/4 in Experimental.Flow.Window.Global.materialize/4>}, {1, 4}, [], #Function<29.77971684/4 in Experimental.Flow.Materialize.mapper_ops/1>}
[error] Ranch protocol #PID<0.414.0> (:cowboy_protocol) of listener Myapp.Endpoint.HTTP terminated
** (exit) an exception was raised:
    ** (MatchError) no match of right hand side value: nil
        (ex_aws) lib/ex_aws/s3/upload.ex:69: ExAws.S3.Upload.upload_chunk!/3
        lib/flow/materialize.ex:493: anonymous fn/4 in Experimental.Flow.Materialize.mapper/2
        lib/flow/materialize.ex:462: Experimental.Flow.Materialize."-mapper_ops/1-lists^foldl/2-1-"/3
        lib/flow/materialize.ex:462: anonymous fn/5 in Experimental.Flow.Materialize.mapper_ops/1
        lib/flow/map_reducer.ex:57: Experimental.Flow.MapReducer.handle_events/3
        lib/gen_stage.ex:2190: Experimental.GenStage.consumer_dispatch/7
        lib/gen_stage.ex:2313: Experimental.GenStage.take_pc_events/3
        (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
        (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
        (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3

I edited the correct file?

Did you mix deps.compile ex_aws after making the change?

hmm, that I did not.
%{body: "",
  headers: [{"Accept-Ranges", "bytes"},
   {"Etag", "\"2501de281894f7a1f79e8e0d6b8e7d85\""},
   {"Server", "Minio/DEVELOPMENT.GOGET (linux; amd64)"}, {"Vary", "Origin"},
   {"X-Amz-Request-Id", "EXM9T3WYIDR3YHN9"},
   {"Date", "Fri, 14 Oct 2016 15:57:02 GMT"}, {"Content-Length", "0"},
   {"Content-Type", "text/plain; charset=utf-8"}], status_code: 200}
[error] GenServer #PID<0.422.0> terminating
** (MatchError) no match of right hand side value: nil
    (ex_aws) lib/ex_aws/s3/upload.ex:70: ExAws.S3.Upload.upload_chunk!/3
    lib/flow/materialize.ex:493: anonymous fn/4 in Experimental.Flow.Materialize.mapper/2
    lib/flow/materialize.ex:462: Experimental.Flow.Materialize."-mapper_ops/1-lists^foldl/2-1-"/3
    lib/flow/materialize.ex:462: anonymous fn/5 in Experimental.Flow.Materialize.mapper_ops/1
    lib/flow/map_reducer.ex:57: Experimental.Flow.MapReducer.handle_events/3
    lib/gen_stage.ex:2190: Experimental.GenStage.consumer_dispatch/7
    lib/gen_stage.ex:2313: Experimental.GenStage.take_pc_events/3
    (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Last message: {:"$gen_consumer", {#PID<0.420.0>, #Reference<<IP_ADDRESS>78>}, [{<<138, 7, 167, 1, 242, 29, 102, 129, 226, 190, 48, 110, 144, 100, 96, 65, 157, 44, 136, 106, 88, 115, 35, 139, 233, 124, 30, 75, 145, 62, 58, 84, 68, 184, 202, 106, 47, 229, 57, 170, 158, 37, 91, 74, 170, 207, 112, ...>>, 3}]}
State: {%{#Reference<<IP_ADDRESS>78> => nil}, %{consumers: [{#Reference<<IP_ADDRESS>86>, #Reference<<IP_ADDRESS>89>}], done: [#Reference<<IP_ADDRESS>78>], done?: false, trigger: #Function<2.69990182/4 in Experimental.Flow.Window.Global.materialize/4>}, {1, 4}, [], #Function<29.77971684/4 in Experimental.Flow.Materialize.mapper_ops/1>}
[error] Ranch protocol #PID<0.414.0> (:cowboy_protocol) of listener Myapp.Endpoint.HTTP terminated
** (exit) an exception was raised:
    ** (MatchError) no match of right hand side value: nil
        (ex_aws) lib/ex_aws/s3/upload.ex:70: ExAws.S3.Upload.upload_chunk!/3
        lib/flow/materialize.ex:493: anonymous fn/4 in Experimental.Flow.Materialize.mapper/2
        lib/flow/materialize.ex:462: Experimental.Flow.Materialize."-mapper_ops/1-lists^foldl/2-1-"/3
        lib/flow/materialize.ex:462: anonymous fn/5 in Experimental.Flow.Materialize.mapper_ops/1
        lib/flow/map_reducer.ex:57: Experimental.Flow.MapReducer.handle_events/3
        lib/gen_stage.ex:2190: Experimental.GenStage.consumer_dispatch/7
        lib/gen_stage.ex:2313: Experimental.GenStage.take_pc_events/3
        (stdlib) gen_server.erl:601: :gen_server.try_dispatch/4
        (stdlib) gen_server.erl:667: :gen_server.handle_msg/5
        (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3

ah it's a capitalization issue. S3 does "ETag" and minion does "Etag"`. I'll put in some code to make it case insensitive.

many thanks!

Can you try on master?

Yes, I I checked, uploading works perfectly!

Awesome, glad we could sort it out :)

ah it's a capitalization issue. S3 does "ETag" and minion does "Etag"`. I'll put in some code to make it case insensitive.

HTTP headers are case in-sensitive so "ETag" or "Etag" or "eTag" mean the same thing.  Just adding my two cents.
Thanks for fixing @benwilson512

I am well aware. That doesn't mean the code that checked for the header was however. Now it is.


Warning: Failed prop type: Collapsible: prop type style is invalid; it must be a function

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
This is the warning I was getting:
Warning: Failed prop type: Collapsible: prop type style is invalid; it must be a function, usually from the prop-types package, but received undefined.
at node_modules\react-native\Libraries\LogBox\LogBox.js:173:8 in registerError
at node_modules\react-native\Libraries\LogBox\LogBox.js:59:8 in errorImpl
at node_modules\react-native\Libraries\LogBox\LogBox.js:33:4 in console.error
at node_modules\expo\build\environment\react-native-logs.fx.js:27:4 in error
at node_modules\prop-types\checkPropTypes.js:20:6 in printWarning
at node_modules\prop-types\checkPropTypes.js:82:22 in checkPropTypes
at node_modules\react\cjs\react.development.js:1714:20 in validatePropTypes
at node_modules\react\cjs\react.development.js:1813:21 in createElementWithValidation
at src\screens\ChatScreen.tsx:156:14 in ChatScreen
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-collapsible/Collapsible.js b/node_modules/react-native-collapsible/Collapsible.js
index eae5a9f..f649c4d 100644
--- a/node_modules/react-native-collapsible/Collapsible.js
+++ b/node_modules/react-native-collapsible/Collapsible.js
@@ -1,7 +1,7 @@
 import React, { Component } from 'react';
 import PropTypes from 'prop-types';
 import { Animated, Easing } from 'react-native';
-import { ViewPropTypes } from './config';
+// import { ViewPropTypes } from './config';

 const ANIMATED_EASING_PREFIXES = ['easeInOut', 'easeOut', 'easeIn'];

@@ -13,7 +13,8 @@ export default class Collapsible extends Component {
     enablePointerEvents: PropTypes.bool,
     duration: PropTypes.number,
     easing: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
-    style: ViewPropTypes.style,
+    // style: PropTypes.style,
+    style: PropTypes.func,
     onAnimationEnd: PropTypes.func,
     children: PropTypes.node,
   };

This issue body was partially generated by patch-package.

I'm having the same issue

Fixed in 1.6.0