Handle deprecated protos

This pull request adds rudimentary support for deprecation. You can annotate your proto in three different ways to show deprecation:

(Recommended) add the below line to the start of your comment (either /// or /** works):
@deprecated=<version>|@replacedBy=<the replacement>
If there is no replacement you can just add the below line:
@deprecated=<version>
Use the protobuf deprecation field option ([deprecated = true]) but this one is limited because it has no version or replacement information. Note you can use this as well as adding the keywords mentioned above.

I'm really sorry, I seem to have completely overlooked this old pull request. Thanks a lot for the contribution!
I'd rather this to be handled through the templates: E.g. if a description for a message, field, et.c. has @deprecated=<version>|@replacedBy=<the replacement>, @deprecated=<version> in its description, or the deprecated field option is present, then this should be accessible from the templates, so that custom template authors can decide how they want to present it. The built-in templates can then be updated to present it the way you've done here (modifying the description).

Please see my recent addition to the README.md, copied below. My sincerest apologies for this.
To all users of `protoc-gen-doc`: This project is now unmaintained and
seeking a new maintainer. The reason for this is two-fold:

1. I'm not using Protocol Buffers myself anymore, and haven't done so
   for years.

2. I'm too busy with work and other projects to keep developing
   the tool, deal with feature requests and PRs.

Too all those who have outstanding pull requests and/or issues filed:
I'm really sorry, and thank you so much for your contributions, but I
simply don't have time for the project anymore, even if it is quite
low-maintenance.

Are you a user of `protoc-gen-doc` who feel you could take over? Great!
Please get in touch with me privately and we can discuss how to best
proceed (GitHub forking and transferring of Travis CI / AppVeyor / Open
Build Service accounts). The code is quite simple and only moderate C++
skills and some familiarity with Qt is needed.

Again, to all users: I'm sorry for this inconvenience, but it would be
dishonest of me to continue claiming maintainership of this project
when I don't have the time anymore.


Content of "list_attr_cloth.txt"

What should the "list_attr_cloth.txt" file contain when performing the "test_predictor.py" on an image?
In order to test an image, I simply created an empty txt file, but it throws me a key error and I suspect the reason is that it expects something inside the txt.
Thank you.

When testing the attribute predictor, the "list_attr_cloth.txt" should be the ground truth of the clothes attributes. It will be used to evaluate the prediction accuracy.
If you just would like to test a single image without ground truth, you don't need to provide this file. Please refer to demo/test_predictor.py

Thank you for the explanation.
The error I get is related to something else then. Here a snapshot of it:

Thank you for the explanation.
The error I get is related to something else then. Here a snapshot of it:

You can just use our provided "list_attr_cloth.txt". It is used just to initialize the attribute predictor, will not influence the prediction results.

I couldn't find this provided "list_attr_cloth.txt".
Could you please let us know location of this file in the repo ?
Thanks!


#323 Migration to JUnit 5

Resolving issue #323
Added two puzzles:

migrate parametrized MetricsTest test
continue to migrate test in other packages

Codecov Report

Merging #378 into master will decrease coverage by 5.96%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #378      +/-   ##
============================================
- Coverage     77.98%   72.01%   -5.97%
+ Complexity      204      174      -30
============================================
  Files            36       36
  Lines          1190     1190
  Branches         88       88
============================================
- Hits            928      857      -71
- Misses          232      292      +60
- Partials         30       41      +11

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/org/jpeek/FileTarget.java
0% <0%> (-90%)
0% <0%> (-5%)

src/main/java/org/jpeek/Main.java
0% <0%> (-80.49%)
0% <0%> (-9%)

src/main/java/org/jpeek/App.java
83.58% <0%> (-13.44%)
9% <0%> (-15%)

src/main/java/org/jpeek/skeleton/Skeleton.java
96.55% <0%> (-3.45%)
10% <0%> (-1%)

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 cfd02d9...f36123d. Read the comment docs.

This pull request #378 is assigned to @fabriciofx/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @paulodamaso/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

@fabriciofx Please note that code coverage is returned to normal after enabling junit5 and junit4 tests.

@0crat assign me

@paulodamaso Thanks for your review. Done!

@0crat assign me (here)

@paulodamaso This pull request #378 is assigned to @paulodamaso/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @paulodamaso/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @paulodamaso/z

@paulodamaso Can we merge this please?

@rultor merge

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@hdouss @paulodamaso Oops, I failed. You can see the full log here (spent 2min)
Reading .
Excluding target/**/*
Excluding papers/**/*
Excluding src/site/resources/**/*
201 file(s) found, 1138 excluded
Reading status-reports/2019-12-05.md...
Reading status-reports/2019-02-19.md...
Reading status-reports/2019-01-11.md...
Reading status-reports/2018-12-28.md...
Reading status-reports/2019-01-26.md...
Reading status-reports/2019-03-30.md...
Reading .0pdd.yml...
Reading .github/ISSUE_TEMPLATE.md...
Reading .github/PULL_REQUEST_TEMPLATE.md...
Reading .travis.yml...
Reading LICENSE.txt...
Reading .pdd...
Reading .rultor.yml...
Reading README.md...
Reading .gitignore...
Reading nginx.conf.sigil...
Reading .appveyor.yml...
Reading system.properties...
Reading src/test/resources/org/jpeek/samples/ClassAccessingPublicField.java...
Reading src/test/resources/org/jpeek/samples/MethodsWithDiffParamTypes.java...
Reading src/test/resources/org/jpeek/samples/BridgeMethod.java...
Reading src/test/resources/org/jpeek/samples/Bar.java...
Reading src/test/resources/org/jpeek/samples/WithoutAttributes.java...
Reading src/test/resources/org/jpeek/samples/OneCommonAttribute.java...
Reading src/test/resources/org/jpeek/samples/ClassWithPublicField.java...
Reading src/test/resources/org/jpeek/samples/OnlyOneMethodWithParams.java...
Reading src/test/resources/org/jpeek/samples/ClassWithDifferentMethodVisibilities.java...
Reading src/test/resources/org/jpeek/samples/NotCommonAttributesWithAllArgsConstructor.java...
Reading src/test/resources/org/jpeek/samples/Foo.java...
Reading src/test/resources/org/jpeek/samples/NoMethods.java...
Reading src/test/resources/org/jpeek/samples/OneMethodCreatesLambda.java...
Reading src/test/resources/org/jpeek/samples/foo/Foo.java...
Reading src/test/resources/org/jpeek/samples/TwoCommonMethods.java...
Reading src/test/resources/org/jpeek/samples/MethodMethodCalls.java...
Reading src/test/resources/org/jpeek/samples/OneVoidMethodWithoutParams.java...
Reading src/test/resources/org/jpeek/samples/bar/Foo.java...
Reading src/test/resources/org/jpeek/samples/TwoCommonAttributes.java...
Reading src/test/resources/org/jpeek/samples/NotCommonAttributes.java...
Reading src/test/resources/org/jpeek/samples/IndirectlyRelatedPairs.java...
Reading src/test/resources/org/jpeek/samples/OverloadMethods.java...
Reading src/test/resources/log4j.properties...
Reading src/test/java/org/jpeek/IndexTest.java...
Reading src/test/java/org/jpeek/ReportTest.java...
Reading src/test/java/org/jpeek/ReportWithStatisticsTest.java...
Reading src/test/java/org/jpeek/metrics/LormTest.java...
Reading src/test/java/org/jpeek/metrics/Lcom4Test.java...
Puzzle 215-e68a3c3f 30/DEV at src/test/java/org/jpeek/metrics/Lcom4Test.java
Reading src/test/java/org/jpeek/metrics/package-info.java...
Reading src/test/java/org/jpeek/metrics/MetricBase.java...
Reading src/test/java/org/jpeek/package-info.java...
\u001b[31mERROR\u001b[0m: src/test/java/org/jpeek/package-info.java; puzzle at line #31; Space expected at 32:3; make sure all lines in the puzzle body have a single leading space.
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/yegor256/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/yegor256/pdd/blob/master/README.md.
Exit code is 1
container 8d3594d168af05c635a8952faf6fa6da671c3a66653f67da8916697c70a87f93 is dead
Tue Feb 18 13:35:26 CET 2020

@paulodamaso Thanks! Solved!

@rultor merge

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@hdouss @paulodamaso Oops, I failed. You can see the full log here (spent 3min)
Reading src/main/java/org/jpeek/DefaultBase.java...
Reading src/main/java/org/jpeek/web/TkQueue.java...
Reading src/main/java/org/jpeek/web/Sigmas.java...
Reading src/main/java/org/jpeek/web/TkReport.java...
Reading src/main/java/org/jpeek/web/RsPage.java...
Reading src/main/java/org/jpeek/web/Futures.java...
Reading src/main/java/org/jpeek/web/Pages.java...
Reading src/main/java/org/jpeek/web/TypedPages.java...
Reading src/main/java/org/jpeek/web/Results.java...
Reading src/main/java/org/jpeek/web/Dynamo.java...
Reading src/main/java/org/jpeek/web/package-info.java...
Reading src/main/java/org/jpeek/web/Mistakes.java...
Reading src/main/java/org/jpeek/web/TkMistakes.java...
Reading src/main/java/org/jpeek/web/AsyncReports.java...
Reading src/main/java/org/jpeek/web/TkIndex.java...
Reading src/main/java/org/jpeek/web/DyNum.java...
Reading src/main/java/org/jpeek/web/StickyFutures.java...
Reading src/main/java/org/jpeek/web/TkApp.java...
Reading src/main/java/org/jpeek/web/TkUpload.java...
Reading src/main/java/org/jpeek/web/Reports.java...
Reading src/main/java/org/jpeek/web/TkAll.java...
Reading Procfile...
Reading deploy.sh...
Reading pom.xml...
Reading CHECKS...
Reading forbidden-apis.txt...
Reading research/2018-March/03-filter-out-artifacts/target-926.csv...
Reading research/2018-March/05-filter-out-non-normal/run.sh...
Reading research/2018-March/05-filter-out-non-normal/.gitignore...
Reading research/2018-March/05-filter-out-non-normal/filter.php...
Reading research/2018-March/06-join-and-add-ranks/run.sh...
Reading research/2018-March/06-join-and-add-ranks/join-and-rank.php...
Reading research/2018-March/06-join-and-add-ranks/.gitignore...
Reading research/2018-March/02-count-classes/run.sh...
Reading research/2018-March/02-count-classes/classes-in-artifact.sh...
Reading research/2018-March/02-count-classes/all-with-counts.csv...
Reading research/2018-March/07-draw-graph/run.sh...
Reading research/2018-March/07-draw-graph/.gitignore...
Reading research/2018-March/07-draw-graph/draw.php...
Reading research/2018-March/01-find-all-artifacts/2017-full-list.txt...
Reading research/2018-March/04-calculate-mu-and-sigma/parse-index.php...
Reading research/2018-March/04-calculate-mu-and-sigma/run.sh...
Reading research/2018-March/04-calculate-mu-and-sigma/get-sigma-and-mu.sh...
Reading research/2018-March/04-calculate-mu-and-sigma/.gitignore...
Reading research/2018-April/03-filter-out-artifacts/target-926.csv...
Reading research/2018-April/04-collect-metrics/process-artifact.sh...
Reading research/2018-April/04-collect-metrics/run.sh...
Reading research/2018-April/04-collect-metrics/collect.rb...
Reading research/2018-April/04-collect-metrics/.gitignore...
Reading research/2018-April/05-draw-graphs/run.sh...
Reading research/2018-April/05-draw-graphs/draw.rb...
Reading research/2018-April/05-draw-graphs/.gitignore...
Reading research/2018-April/05-draw-graphs/draw-distribution.rb...
Reading .gitattributes...
\u001b[31mERROR\u001b[0m: Puzzle src/test/java/org/jpeek/MetricsTest.java:58-59 has a very short description of just 17 words while a minimum of 20 is required
\u001b[31mERROR\u001b[0m: 1 errors, see log above
If you can't understand the cause of this issue or you don't know how to fix it, please submit a GitHub issue, we will try to help you: https://github.com/yegor256/pdd/issues. This tool is still in its beta version and we will appreciate your feedback. Here is where you can find more documentation: https://github.com/yegor256/pdd/blob/master/README.md.
Exit code is 1
container ea3d2e63829be72d4896a2e65d33725d63815e5d1c0d7d8c373e47eb848cbbe6 is dead
Tue Feb 18 14:57:06 CET 2020

@paulodamaso Sorry, solved again...

@paulodamaso This time it was the length of puzzle wording. It would be nice that qulice could report such problems

@paulodamaso Could you please try to remerge?

@HDouss There is a 0pdd checking tool. I don't know why it isn't failing the CI, though

@rultor merge

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@paulodamaso Done! FYI, the full log is here (took me 26min)

Job was finished in 16 hours, bonus for fast delivery is possible (see §36)

Order was finished: +20 point(s) just awarded to @paulodamaso/z

Payment to ARC for a closed pull request, as in §28: +10 point(s) just awarded to @paulodamaso/z


Updating to 0.1.16 from 0.1.14 broke my wrapper due to access issues to wrappers.wrappers_fdw_stats

Bug report

[x] I confirm this is a bug with Supabase, not with my own application. -> Well I can't be 100% sure...
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I was using a wrapper on my Cloud Supabase install. I needed to upgrade to be able to use the Airtable wrapper. To do so, I paused the project and reinstalled, as per advice offered on Discord (https://discord.com/channels/839993398554656828/1006358244786196510/threads/1144271220414631956)
Since then queries on the foreign tables fail because of  permission denied for table wrappers_fdw_stats, even with the postgres user in psql.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Pause/Resume your project on Supabase from a previous version
`select * from stripe.customers limit 3;
see the following error message

ERROR:  permission denied for table wrappers_fdw_stats
CONTEXT:  SQL statement "insert into wrappers.wrappers_fdw_stats as s (fdw_name, create_times) values($1, $2)
         on conflict(fdw_name)
         do update set
            create_times = coalesce(s.create_times, 0) + excluded.create_times,
            updated_at = timezone('utc'::text, now())"

Expected behavior
My previously configured foreign tables to work as previously
System information
Irrelevant as the problem happens server-side at Supabase's
Additional context
I tried grant all on wrappers.wrappers_fdw_stats to postgres; but even that failed with the same error.

I "solved" my problem by nuking everything with DROP EXTENSION wrappers CASCADE which was acceptable for me as the cascade stopped at a foreign table. However I don't know how that would work for more intricate situations where the dependency chain goes further.

In which schema did you install wrappers extension? I suspect that might be caused by pause/restore didn't restore permission correctly. And how did you upgrade the extension, is it before pause/restore or after?

I did install the wrappers extension WITH SCHEMA wrappers
I did not see a solution to upgrade without doing pause/restore, and the pause/restore solution was suggested to me by GaryAustin1 on the Supabase Discord. It seemed like the only solution to graduate to the latest release of the wrappers extension.

I ran into this issue in the past on database upgrade and it was determined that the api key for the integration (stored in vault) was not properly decrypted post database upgrade. The vault secret for the integration needed to be removed and re-added to access the foreign data from the wrapper table.

I ran into this issue in the past on database upgrade and it was determined that the api key for the integration (stored in vault) was not properly decrypted post database upgrade. The vault secret for the integration needed to be removed and re-added to access the foreign data from the wrapper table.

I am not sure how this is related because my issue was with the wrappers_fdw_stats which sits locally, not remotely ?
However it does suggest that the upgrade process should be handled a bit more gracefully...

any updates I am currently trying to use the stripe wrapper but I am getting the same problem when trying to access data from the frontend

If anyone's on the hosted version, could you please raise a support ticket. As @burmecia has pointed out, the pause/resume might have failed to restore permissions.

Created a support request for this on the hosted version (just set up a fresh install of the stripe wrapper - twice - and this problem occurs when querying a view that uses the stripe information


Rewrite documentation

We need to rewrite the operator documentation https://docs.victoriametrics.com/operator/
it should include

new docs structure

overview
quick start
examples
general information
API references

spelling
automate the process of generation API references

done


USAGE SUGGESTIONS: Set Save File Location; Metadata; Autogen File Name; Save last Gradio Setting

Thanks! It's usable the way it is. These are just user interface improvement suggestions. Can these be added?
SET SAVE FILE LOCATION
Even in the same session in Chrome when I tell it to download the file to save it defaults to my default Windows location, not the last place I saved the previous file in the same session. Can there be a designated Output folder?
METADATA
Is there some place in the WAV file format to save the metadata of the prompt & other settings?
AUTOGEN FILE NAME
The default filename is just "audio" which will be a pain when the save location is set. Using the Prompt as the filename can be problematic because of the characters allowable at the prompt that can't be used as a file name. If some unique filename could be used, based on date & time, that'd be great. The metadata can hold the prompt info.
SAVE LAST GRADIO SETTING
Which model is being used, the file length, etc. That'd be helpful.

I'm implementing these features in my repository, which is more geared towards being an application based on gradio: https://github.com/rsxdalv/tts-generation-webui, where you can see how to implement these as well.
And I'm not sure, but I think this repo might not have the same scope yet

I'm implementing these features in my repository, which is more geared towards being an application based on gradio: https://github.com/rsxdalv/tts-generation-webui, where you can see how to implement these as well.
And I'm not sure, but I think this repo might not have the same scope yet

amazing i can make a tutorial for this
are you also adding training?

I'm implementing these features in my repository, which is more geared towards being an application based on gradio: https://github.com/rsxdalv/tts-generation-webui, where you can see how to implement these as well.
And I'm not sure, but I think this repo might not have the same scope yet

amazing i can make a tutorial for this

Thanks in advance. I tried installing this before but got lost. So I hope your tute will get me through it. Especially since it can do other items too! This one-stop-shop will be what is needed indeed.

I'm implementing these features in my repository, which is more geared towards being an application based on gradio: https://github.com/rsxdalv/tts-generation-webui, where you can see how to implement these as well.
And I'm not sure, but I think this repo might not have the same scope yet

amazing i can make a tutorial for this
are you also adding training?

No plan to add training just yet, maybe after more pressing issues are solved.
Overall I think people should feel more free to use a one-click-install as a base to put different scripts inside of, since the dependencies for these projects are very similar. So I'd reckon if there was a train.py it would run.


Proxy tunnel connect was broken by #389

In #389 there was a change in the stubs init.py:
https://github.com/kevin1024/vcrpy/pull/389/files#diff-06abc5fc1e45f59da669d9294b92a168R139
This change has broken tunnel CONNECT processing.
The client code that calls this (from pyvmomi) is:
  /home/jking/pyvmomi/pyVmomi/SoapAdapter.py(1087)__call__()
   1086       tunnel = http_client.HTTPConnection(path, **tmpKwargs)
-> 1087       tunnel.request('CONNECT', self.proxyPath)
   1088       resp = tunnel.getresponse()

ipdb> p path
'vcsa:80'
ipdb> p self.proxyPath
'sdkTunnel:8089'

It is acceptable to issue a CONNECT request with a string of "host:port":
https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/CONNECT
Now in the cassette file you get something that looks like this:
jking@dvm:~/pyvmomi$ cat tests/fixtures/ssl_tunnel.yaml
interactions:
- request:
    body: null
    headers: {}
    method: CONNECT
    uri: sdkTunnel:8089
  response:
    ...

When the cassette player tries to match the requests in the cassette to what's happening on replay, it fails:
Traceback (most recent call last):
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/cassette.py", line 109, in __call__
    function, args, kwargs
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/cassette.py", line 124, in _execute_function
    return self._handle_function(fn=handle_function)
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/cassette.py", line 148, in _handle_function
    return fn(cassette)
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/cassette.py", line 117, in handle_function
    return function(*args, **kwargs)
  File "/home/jking/pyvmomi/tests/test_connect.py", line 99, in test_ssl_tunnel_http_failure
    self.assertRaises(http_client.HTTPException, should_fail)
  File "/usr/lib/python3.6/unittest/case.py", line 733, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/usr/lib/python3.6/unittest/case.py", line 178, in handle
    callable_obj(*args, **kwargs)
  File "/home/jking/pyvmomi/tests/test_connect.py", line 98, in should_fail
    connect.SoapStubAdapter('sdkTunnel', 8089, httpProxyHost='localhost', httpProxyPort=8899).GetConnection()
  File "/home/jking/pyvmomi/pyVmomi/SoapAdapter.py", line 1405, in GetConnection
    result = self.scheme(self.host, **self.schemeArgs)
  File "/home/jking/pyvmomi/pyVmomi/SoapAdapter.py", line 1088, in __call__
    resp = tunnel.getresponse()
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/stubs/__init__.py", line 220, in getresponse
    if self.cassette.can_play_response_for(self._vcr_request):
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/cassette.py", line 255, in can_play_response_for
    return request and request in self and \
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/cassette.py", line 326, in __contains__
    for index, response in self._responses(request):
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/cassette.py", line 250, in _responses
    if requests_match(request, stored_request, self._match_on):
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/matchers.py", line 99, in requests_match
    matches = [(m(r1, r2), m) for m in matchers]
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/matchers.py", line 99, in <listcomp>
    matches = [(m(r1, r2), m) for m in matchers]
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/matchers.py", line 27, in port
    return r1.port == r2.port
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/request.py", line 61, in port
    port = {'https': 443, 'http': 80}[parse_uri.scheme]
KeyError: ''

The uri that goes into the cassette is no longer a valid URI.  I would assume that the URI would have to be in this case:
    ...
    method: CONNECT
    uri: http://vcsa:80/sdkTunnel:8089

Here's what it was in vcrpy 1.13 and earlier:
    uri: http://vcsasdkTunnel:8089

So I think the fix in #389 was wrong; instead of returning the URL if the path does not start with slash, it should insert the slash when the method is CONNECT.
Thoughts?

The PR I submitted #415 was in the general area here; I think tests are missing in this project to replay a cassette that contains a tunnel CONNECT request:
  File "/home/jking/pyvmomi/.eggs/vcrpy-2.0.1-py3.6.egg/vcr/request.py", line 61, in port
    port = {'https': 443, 'http': 80}[parse_uri.scheme]
KeyError: ''

In this case the uri coming back from the cassette that vcrpy 2.0.1 writes out looks like:
    uri: host:8089

Further, the proxy host and port are lost completely in the cassette.

The fix was fairly simple, I have it implemented now along with a test for it.

@kevin1024 #415 fixes this regression that appeared in 2.0


View state not restored correctly

Expected behaviour
Zoom state and position should be resored on setImage(@NonNull ImageSource imageSource, ImageSource previewSource) with the previous state.
Actual behaviour
View state is set to default.
Steps to reproduce
override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_new_act_defect)
        defect_pin.setImage(ImageSource.resource(R.drawable.test_drawing), model.imageViewState)
}

override fun onSaveInstanceState(outState: Bundle) {
        model.imageViewState = defect_pin.state
        super.onSaveInstanceState(outState)
    }

Variable model is a ViewModel class that saves the state of the View.

You haven't shown what your model field is, but I think it's being deleted on rotate. See https://github.com/davemorrissey/subsampling-scale-image-view/wiki/05.-Orientation-changes

I can confirm that the state was saved after configuration change. Take a look at this commit https://github.com/D4no0/subsampling-scale-image-view/commit/ad1a87b3412618703c2d4f712a056cb1e644a04e . I wanted to make a PR, however I was not sure whether the change was not breaking anything else.


Clarify scope naming, it's not always data_where

The readme should state that the scope's name depends on the column name provided to jsonb_accessor class method.

Thanks! 👍


The generated code for middleware projects should not depend on internal headers

The generated code for middleware projects depends on starboard.h and included headers under:
Frameworks\include
include\xplat

This will be fixed as a part of task https://github.com/Microsoft/WinObjC/issues/2346 which will make the required headers public and expose them using nuget packages.

I didn't realize you already filed an issue.  Will close this as it is a duplicate of #2346.

Reopening and making this the tracking bug since it is more generic than 2346.

StrongId in SmartTypes.h should be moved to "Foundation or even lower. It's a great opportunity for us to make ObjC/C++ interop better!" (DHowett-MSFT )
FoundationErrorHandling.h needs to be made public since wil\result.h depends on it.


[FEA] Create a new Expression execution framework

Is your feature request related to a problem? Please describe.
After https://github.com/NVIDIA/spark-rapids/issues/7258 is at least partly done, and we have a few initial expressions from https://github.com/NVIDIA/spark-rapids/issues/7259 we should start to work on a framework to execute these expressions. This will likely involve a lot of back and forth with #7259 to refine things.  But it is there to at least get a starting point.
The ideal for a framework like this would be to reduce the total memory usage, but that is kind of a hard problem to solve, so for the time being it will just be to keep track of the memory usage and avoid running out of memory. We may find ways to optimize memory usage in the future. The execution API from #7258 should be used. We should have a config to turn this off if we run into issues. It should dedupe expressions like tiered project does. I hope that the tiered project is stable enough that we can just have the config decide if we want to do a regular tiered project or use the memory aware version. In the memory aware version instead of executing an expression tree all at once, it should split it up. Anything under a Stateful modifying expression, including those expressions, will need to be executed as an entire group for now. For expressions that have not been updated yet, they will need to run as a part of a tree, but we can probably rewrite them with new children that are bound to specific inputs to be able to isolate them. For all other expressions we will want to try and keep everything under budget.
This would mean that we subtract the input batch size from the current budget. Starting at the leaf expressions and working towards the root we should ask each expression if they can predict up front what the size will be, and if so ask them for that size (based on the number of input rows). I think in the short term it would be best to find a subtree that can execute within the remaining budget and run it, then repeat.  But if you just want to make things work we can treat them just like predictable expressions. For expressions that can only predict what they need, we need to execute these in isolation. We would need to pass their children to them and ask them to either execute it within the budget or return a response that indicates that they could not. If we see that they cannot run within budget, then we will split all pending results in half (based on the number of rows), making one half of it spillable, and the other half we will keep for execution. If we are down to one row, then we need to fail because we cannot spit it. If we think this is going to be really rare, we could also throw away all of the intermediate results and just split the input batch and redo all of the computation. I don’t like this as a long term solution, but it could be a good way to get started quickly.
If we don't do the long term solution, then we should file follow on issues, or have a good reason why we are doing it differently.

This is probably done enough that we can close it.  Not 100% of what we originally envisioned, but it is good enough to cover 99% of the use cases for expressions.


Fix typo publis to public

Motivation
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)

Thanks!


updated my title with important information

It's very important that this get changed. Designers can be cool too.

:shipit:

lol


Virtual core allocations

Check virtual cores, and limited subscription of cores are correctly allocated. This often comes up on VM's and supercomputers where a single node is not fully given to individual jobs. Appears to work on Travis, AWS, and ARC.

Appears to work across the board, we can reopen if we find counter examples.


TOML parsing isn't very helpful.

I've updated to nightly (tried both August 5th and 6th) on Ubuntu 16.04. When a dependent package's TOML file isn't valid, Cargo throws an error. That's good, but it would be very helpful if the TOML parser could pass back what the heck the line was that parsing failed on.
Some of this helpfulness likely needs to be implemented in the toml package, and some needs to be implemented here. How can I help get that done?
Here's the exampley details:
My project requires a package that requires the package Iron, specifically version 0.3. It seems to fail to build where it hadn't before:
root@c629e2ba5866:/home/sail/sail-rust# cargo build --release --verbose
error: unable to get packages from source

Caused by:
  failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/iron-0.3.0/Cargo.toml`

Caused by:
  you have already provided an operation, such as =, ~, or ^; only use one

That isn't terribly true or at all helpful. Here be the steps to reproduce the problem for playing around:
root@c629e2ba5866:/tmp# cargo new hello_world && cd hello_world
     Created library `hello_world` project
root@c629e2ba5866:/tmp/hello_world# echo "iron = \"0.3\"" >> Cargo.toml
root@c629e2ba5866:/tmp/hello_world# cargo build
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: unable to get packages from source

Caused by:
  failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/iron-0.3.0/Cargo.toml`

To learn more, run the command again with --verbose.

Now, nothing in here really looked wrong to me at first glance, especially based on that error:
[package]
name = "iron"
version = "0.3.0"
description = "Extensible, Concurrency Focused Web Development in Rust."
readme = "README.md"
repository = "https://github.com/iron/iron"
documentation = "http://ironframework.io/doc/iron/"
license = "MIT"

[lib]

name = "iron"
path = "src/lib.rs"

[features]
ssl = ["hyper/ssl"]

[dependencies]
typemap = "0.3"
url = "0.5"
plugin = "0.2*"
modifier = "0.1"
error = "0.1"
log = "0.3"
conduit_mime_types = "0.7"
lazy_static = "0.1"
num_cpus = "0.2"

[dependencies.hyper]
version = "0.8"
default-features = false

[dev-dependencies]
time = "*"

It turned out to be the line plugin = "0.2*" which is definitely malformed but was functional before. I really want the error to at least point you to which line was parsed when it failed (even if the config data spans multiple lines).

This feels like a duplicate of https://github.com/rust-lang/cargo/issues/2964

Wow! Yeah, that's eerily close! I'll close this one.


Trouble while connecting to wallet

Describe the bug
sup bros! we have another issue about connecting with graz.

while connecting with wallet, I have 2 problems: window.keplr is not defined and error with gas price.

https://user-images.githubusercontent.com/62913761/234012034-0d7165d2-7b74-47b0-8188-0d33c4c2aa21.mp4

in 0.34 version we've used method "validateaddress" but in 0.35 version it doesn't work, could you please add this feature to new version? we also had a bunch of problems with prefix, so we decided to get it manually

A clear and concise description of what the bug is.
...
To Reproduce
Steps to reproduce the behavior:

Go to 'https://gutenberg.tools/#/create'
Click on 'connect wallet'
Check console
See error

Expected behavior

A clear and concise description of what you expected to happen.

...
Screenshots

If applicable, add screenshots to help explain your problem.

...
Device

Please complete the following device information.
macOS, safari, chrome,brave

Desktop

OS: macOS
Browser safari, chrome,brave
Version: latest

Smartphone (haven't tried)

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context

Add any other context about the problem here.

...

Hey @Xyzjesus for validateAddress() we decided to remove that because we don't want to have bech32 in our deps.
You can copy this block of code to your utils:
import { bech32 } from "bech32";

export const validateAddress = (address: string, prefix: string) => {
  if (!address) return false;
  try {
    return bech32.decode(address).prefix === prefix;
  } catch (error) {
    return false;
  }
};

@Xyzjesus Can you give me the ChainInfo that you using.

as for window.keplr Can you confirm that you already have keplr wallet extension installed in you browser?

I'll recheck mainnetChains.juno

hey @codingki thanks with validation method, I'll try it

as for window.keplr Can you confirm that you already have [keplr wallet extension] installed in you browser?
Yes, It's already installed. We have same problem with different accounts, about 3-4 users from other locations and same browsers (brave, chrome) can't connect with this error.

for example this test was made yesterday from keplr's user.

Can you give me the ChainInfo that you using.
of course, here it is:
https://github.com/diekuche/gutenberg/blob/56f4806b67bd4bda4a607e0718392dbf0f018dcb/src/components/Header/Header.tsx#L16

I'll recheck mainnetChains.juno
thanks a lot bro, it would be awesome, because everything works well with Bostrom chain

Hey @Xyzjesus
mainnetChains.juno works fine for me, I can't reproduce window.keplr error but from the code perspective if keplr is not installed it will return that error and recheck our packages there's nothing wrong. Try our example here to check https://graz-example.vercel.app/
Tips:
use useCheckWallet hook to check installed wallet docs here: https://graz.strange.love/docs/hooks/useCheckWallet
There's a bug that I found when using mainnetChains.juno idk if it's related to this, it's useBalances bug. In mainnetChains.juno we have cw20: prefix in the coinMinimalDenom it is returning an error. Will be fix in next release #69


Add support for ES6 classes in sort-comp

In a comment in sort-comp, I noticed the following comment:

NOTE: only works on React.createClass() syntax, not ES6 class.

I thought that it would be really lovely if this worked with ES6
classes, so I decided to take a crack at adding support.
Fixes #27

Nice work! Thank you so much for your contribution.


Fixed alias of signed char cannot be marshaled

Mini-sample
C++->CLI

typedef signed char schar;
int fun1(signed char x) { return x; } // passed
int fun2(schar x) { return x; } // Cannot marshal argument of function 'fun2'

@ElonH thank you for this work. Could you please add this same sample code as a test? You can invoke it too in the unit tests.

@ElonH thank you for this work. Could you please add this same sample code as a test? You can invoke it too in the unit tests.

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

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

@ddobrev
I added test, please check it.

@ddobrev
I added test, please check it.


Missing important parameter in OpenID configuration

There is a quite well documented configuration settings for OpenID: https://opendistro.github.io/for-elasticsearch-docs/docs/security-configuration/openid-connect/ but it clearly misses the information that for openid the openid_connect_idp prefix is required:
https://github.com/opendistro-for-elasticsearch/security-advanced-modules/blob/e5d91955087c7365ac9a9ff33368521761976ee6/src/main/java/com/amazon/dlic/auth/http/jwt/keybyoidc/HTTPJwtKeyByOpenIdConnectAuthenticator.java#L57
So this is how it should be configured:
openid_auth_domain:
        http_enabled: true
        transport_enabled: true
        order: 1
        http_authenticator:
          type: openid
          challenge: false
          config:
            subject_key: preferred_username
            roles_key: roles
            openid_connect_idp:
              enable_ssl: true
              verify_hostnames: false

instead of:
openid_auth_domain:
        http_enabled: true
        transport_enabled: true
        order: 1
        http_authenticator:
          type: openid
          challenge: false
          config:
            enable_ssl: true
            verify_hostnames: false
            subject_key: preferred_username
            roles_key: roles

The openid_connect_ipd did not work for me.
I configured oidc as follows
         config:
            subject_key: unique_name
            roles_key: group
            openid_connect_url: "https://url to adfs/.well-known/openid-configuration"
            openid_connect_idp.enable_ssl: true
            openid_connect_idp.verify_hostnames: true
            openid_connect_idp.pemtrustedcas_filepath: "/usr/share/elasticsearch/config/ca.crt"

edit: opendistro version 1.3.0

Thanks, this configuration solved my problems with OIDC. Logs i got out from ES didn't tell exact reason for why OIDC auth failed, only info was "Authentication backend failed". But after chancing OIDC's ES config to above, it started working fine.


Adds support for scalar subqueries

This PR adds (limited) support for scalar subquery expressions.
Mainly two scenarios are handled:
1. The subquery expression is not correlated, e.g.
SELECT x
FROM a
WHERE a.y > (SELECT SUM(b.y) FROM b);

which would be transformed into the form
SELECT x
FROM a, (SELECT SUM(b.y) FROM b) AS t(sum_y)
WHERE b.y > sum_y;

and evaluated as a nested loops join between a and t.
TODO:
Note that using nested loops join for this case incurs unnecessary overhead. Meanwhile the original implementation from quickstep-retire uses a "mutable ScalarQueryLiteral" approach which is efficient but breaks the protocol that relational operators are decoupled. That is, with the "mutable ScalarQueryLiteral" approach the scalar subquery is viewed like a ScalarLiteral but the literal value is updated at query runtime by a SetScalarQueryLiteral relational operator -- in other words, one relational operator will update the state of the other relational operator.
So we need a further improvement that either optimize nested loops join for single-value relations or systematically incorporate the "mutable ScalarQueryLiteral" approach.
2. The subquery expression is correlated, e.g.
SELECT x
FROM a
WHERE a.y > (SELECT SUM(b.y) FROM b WHERE a.x = b.x);

which would be transformed into the form
SELECT x
FROM a JOIN (
  SELECT SUM(b.y), b.x
  FROM b
  GROUP BY b.x) AS t(sum_y, x) ON a.x = t.x
WHERE a.y > sum_y

and evaluated as hash inner join between a and t.
Examples for query plans are provided in the Select.test files.

LGTM. Merging.


Fix typo in ModelAdminGroup example

I noticed a typo in the code example for the ModelAdminGroup where it shows you can alter the text that will appear in the menu item, this should be menu_label and not label

@jafacakes2011  - thanks heaps, great find!


Support IAM authentication for RDS/Aurora

What
Add support for IAM based authentication against RDS/Aurora databases.

Adds a new parameter (--enable-aws-iam-auth) to indicate that IAM auth should be used.

This flag sssumes that the supplied AWS credentials have sufficient permissions to connect the database

Rearrange Dockerfile to take better advantage of layer caching (speeds up iteration when leveraging the container)
db_password is not required if --enable-aws-iam-auth is set

Background
At my company we prefer IAM based authentication, and would like to not create password based users if possible. This also seems like a useful feature in general.
AWS Documentation: https://github.com/awslabs/aws-mysql-jdbc#aws-iam-database-authentication
Test Plan

Added some tests for the config builder.
Tested manually using docker run against a database with an IAM based user.

This looks good. Thanks for doing this

Thank you, this in general LGTM as well

Great, thanks for the review. What is the process for getting this merged in?

Quick update. I just deployed this, and I realized that the IAM creds expire after a few minutes, so they need to be refreshed on a cadence. This will require a bit of a refactor.

Good point. We probably want to get creds everytime it connects to the database

I just pushed a fix.

LGTM, thanks!


Returns weight information (axis or full matrix) after averaging operation

Is your feature request related to a problem? If yes, Please describe

Weights are not returned in the Dataset after spatial averaging.
Describe your proposed solution

Attached the weights in the Dataset as the var_wts (e.g., tas_wits) after spatially averaging.
Describe alternatives solutions you've considered

N/A
Additional context

N/A

If I understand it correctly, I think this is a good idea.  The weights might be needed for subsequent operations.

@tomvothecoder if this will be implemented through xESMF then there may be some other outputs that could also be grabbed, if I recall correctly, if diags = {} was defined as an empty dictionary and passed to the ESMPy call many diagnostics generated through the regridding process were returned, with the weights being one of numerous outputs (this is as close as I can find regarding docs for this in cdms2 https://cdms.readthedocs.io/en/latest/regrid2.html#regrid2.mvESMFRegrid.ESMFRegrid.fillInDiagnosticData)

@durack1 - we don't use xESMF for spatial averaging.
I think this issue can probably be closed since the weights can be retrieved via .get_weights() here. If a more complex implementation of this is needed in the future, that could probably be added as a feature request.

@pochedls interesting, how consistent are the xESMF weights and the weights being generated through the separate spatial averaging routine?

@pochedls interesting, how consistent are the xESMF weights and the weights being generated through the separate spatial averaging routine?

I have never used ESMF for spatial averaging – so I haven't attempted to compare the weights.

@durack1 - we don't use xESMF for spatial averaging.
I think this issue can probably be closed since the weights can be retrieved via .get_weights() here. If a more complex implementation of this is needed in the future, that could probably be added as a feature request.

I had an inclination that the ._get_weights() methods would be useful for users. I added a related issue to make those methods public (https://github.com/xCDAT/xcdat/issues/251).
Closing this based on the discussion.


Rely on code object metadata for kernarg arguments alignof and sizeof.

Due to assumptions in Clang about target independence it is possible to end up with cases in which for some type T the alignment and size obtained via alignof and sizeof are not what LC sees when it lowers to native ISA (e.g. implicit packing is opaque). This addresses such issues by way of using the code object metadata, which accurately reflects the quantities used by LC. The metadata parser itself is not ideal and should be seen as a placeholder, which the experts in the HIP team can either overhaul in the future, if they see fit, or completely replace with equivalent functionality in code object manager v3, once that is adopted. It is desirable to have this in ROCm 2.0.

@scchan if you want to implement that, sure, it would be glorious. Unfortunately, I'm not up for that task at the moment, even though it feels like a very good follow-up.

@mangupta can we accelerate reviewing & merging this please? I fear that on this occasion the usual speed will not do, given scheduling constraints. Thanks.

@AlexVlx Some of the tests are failing. See the snippet below-
The following tests FAILED:
         84 - directed_tests/deviceLib/hipTestIncludeMath.tst (OTHER_FAULT)
        104 - directed_tests/deviceLib/hipFloatMathPrecise.tst (OTHER_FAULT)
        109 - directed_tests/kernel/hipPrintfKernel.tst (OTHER_FAULT)
        116 - directed_tests/kernel/hipTestGlobalVariable.tst (OTHER_FAULT)

Manually running one of them shows-
./directed_tests/deviceLib/hipTestIncludeMath
terminate called after throwing an instance of 'std::runtime_error'
  what():  Missing metadata for __global__ function: _Z16FloatMathPrecisev
Aborted (core dumped)

Either the code changes are incomplete or maybe the tests need modifications to work with these changes.


Heatmap is not captured v6.3.1

How to capture Heatmap Layer?
import React, { useEffect, useState, useCallback, useRef } from 'react';
import styled from 'styled-components';
import { Map, View, Feature } from 'ol';
import { OSM as OSMSource, Vector as VectorSource } from 'ol/source';
import { Tile as TileLayer, Heatmap as HeatmapLayer } from 'ol/layer';
import { Point } from 'ol/geom';
import 'ol/ol.css';

const App = () => {

  const mapRef = useRef(null);

  const tileLayer = new TileLayer({
    source: new OSMSource(),
    preload : 1,
  });

  const heatmapLayer = new HeatmapLayer({
    source : new VectorSource({
      features : [
        new Feature({ geometry : new Point([ -6005420.749222653, 6000508.181331601 ]) }),
        new Feature({ geometry : new Point([ -6015421.749222653, 6010507.181331601 ]) }),
        new Feature({ geometry : new Point([ -6025422.749222653, 6020506.181331601 ]) }),
        new Feature({ geometry : new Point([ -6035423.749222653, 6030505.181331601 ]) }),
      ],
    }),
    declutter : true,
  });

  const map = new Map({
    target : undefined,
    layers : [ tileLayer, heatmapLayer ],
    view: new View({
      center: [-6005420.749222653, 6000508.181331601],
      zoom: 9
    }),
  });

  useEffect(() => {
    map.setTarget(mapRef.current);
    return () => map.setTarget(undefined);
  }, [ mapRef.current ]);

  const [ capture, setCapture ] = useState(null);

  const handleCapture = useCallback(() => {
    const canvas = document.getElementsByTagName('canvas')[0];
    setCapture(canvas.toDataURL());
  }, []);

  return (
    <Container>
      <MapLayer id={`map`} ref={ mapRef }></MapLayer>
      <button onClick={ handleCapture }>Capture</button>
      <ImageLayer>
        {capture && (
          <img src={ capture } />
        )}
      </ImageLayer>
    </Container>

  )
}

const Container = styled.div`
  display : flex;
`;

const MapLayer = styled.div`
  width : 640px;
  height : 480px;
`;

const ImageLayer = styled.div`
  width : 640px;
  height : 480px;
`;

export default App;

https://codesandbox.io/s/gracious-pascal-uu7pw?fontsize=14&hidenavigation=1&theme=dark
thanks.

The heatmap layer is in the second canvas.  It is also webgl based and needs the preserveDrawingBuffer webgl context attribute to be set for toDataURL() to work https://codesandbox.io/s/gallant-water-m1n59

Current export map example updated to include a Heatmap layer https://codesandbox.io/s/export-map-ol904

The export map example with heatmap support seems to displace the heatmap features away from their original positions.
Is there any way to retain their positions as shown on the map? I was hoping the transform style attribute could be used, as it is for vector layers, but heatmaps do not appear to have a default value set for style.transform. Any ideas?
For reference, here is the map:

And here is the saved image:

The problem occurs when pixel ratio is not 1.  The canvas has style.width and style.height properties instead of style.transform as there is never any rotation, but you can use those to create a transform matrix https://codesandbox.io/s/export-map-forked-1qc33


GDScript Class references from methods

Lets consider this code:
class FieldPos:
    var row = 0
    var col = 0
    func copy():
        return FieldPos.new() # identifier not found: FieldPos
class Move:
    var from = null
    var to = null
    func foo():
        return FieldPos.new() # identifier not found: FieldPos

It is not a correct script but I would like to write such things.

Hey I just tried this @reduz and I can't get it to work.

@telaviv this is an old issue and should be working on the latest master at least. If you still can reproduce with the latest alpha version, please open a new issue and follow the template stating the Godot version you're using and steps to reproduce.


Add option to grey out all tasks except first one

Closed by #172. This issue is not suitable for the new UI.


Feature: replace tocify with tocbot

https://github.com/tscanlin/tocbot/
This library was inspired by Tocify, the main difference is that Tocbot uses native DOM methods and avoids the jQuery & jQuery UI dependencies.
also:
Author is actively working on it.

Ah, thanks for the suggestion! It turns out we can build our own ToC pretty easily, and since we know the exact headers ahead of time before we send it to the browser, we can even pre-generate it, so no need for a library to read headers from the page at all. See the v2 branch for an example implementation, and issue #45 for tracking general ToC rewrite information. I agree this would be an improvement over tocify, but optimally I think we would end up with a custom solution that could be simpler.


[Feature request] Ability to add aliases for combined use of subdomains on multisites and for CDN

Hello,
I have a multisite working fully. It is amazingly fast. I have configured two domains: DomainOne.com and DomainTwo.com. However, if I give in the URL www.DomainOne.com and www.DomainTwo.com, I get an error (env=prod):
"Site has not been set up"
The adding of aliass of sites is -for following reasons - very important:
Firstly, www. is a common subdomain that a visitor may give, although he knows the domain name.
Secondly, one could configure subdomains pertaining to a language and parked it on the main domain, as follows:
en.DomainOne.com--->/home/xxx/public_html/hashtagcms/public
de.DomainOne.com--->/home/xxx/public_html/hashtagcms/public

en.DomainTwo.com--->/home/xxx/public_html/hashtagcms/public
de.DomainTwo.com--->/home/xxx/public_html/hashtagcms/public

Above four domains could be parked on the same Laravel installation of the public folder.
Based on the aliases, Laravel + HashtagCMS could fetch respective contents based on site_id and lang_id.
Here, if the visitor browser language is "en-EN" and the subdomain is called en.DomainOne.com/en.DomainTwo.com, then there are two choices:

These subdomains are installed separately in HashtagCMS
These subdomains are configured within HashtagCMS as aliases

Currently, it is possible to realise (with difficulties in cloning) the above option "1.". But if there is a possibility to add alias en. as a subdomain in HashtagCMS for each domains, then everything becomes simpler. Here are my thoughts on an application of this idea:
One configures multiple languages as subdomains. Then, it is possible to redirect a visitor on a particular sever. Or it is possible to use a specific server to serve a visitor contents of that language. For e.g. zh.DomainOne.com/zh.DomainTwo.com could be served from a server based in Honkong/Singapore and all other en.DomainOne.com/en.DomainTwo.com could be served from USA, which eu.DomainOne.com/eu.DomainTwo.com could be served from Europe.
Because the HashtagCMS and aliases in the database would be the same on all servers across the continents, one could synchronize the content without any problem. Then the php scripts will simply need to detect that the browser call relates to an alias and serve all contents of the DomainOne.com and DomainTwo.com from the database.
With this feature, one could easily use CDN too.
HashtagCMS is one of the most powerful CMS in the world. Currently, it is missing some secondary features to help an Administrator the gigantic and imbibed power of intelligence inside this marvellous work.
Adding the above feature and cloning function will make everything easy to work with multisite.

Hi Marghoob,
One possibility would be to enter in the site--->edit a comma separated list of subdomains, like www.DomainOne.com, cdn.DomainOne.com, en.DomainOne.com, de.DomainOne.com, etc. The controller can fetch data from the database, check in the array and query further from site_ids.
IMPORTANT: it must be a list of subdomains for alias to work.
Here, one could also create a new field site_aliases in the database to hold this data for processing of the controller.


Create a fullscreen toggle element

fix #428

@garrettmflynn Any idea why tests are failing?

This really looks amazing when the screen is maximized - dare I say even better than the main neurosift site?
Only minor thing here, screenshot below

Not clear that the fullscreen button is for the nested neurosift window; any way to pin it to the upper-right of the nested window?

Similarly, for a single-session preview, it looks like this for me by default

'Inspector Report' gets clipped off even when in fullscreen, and the fullscreen button partially occludes the 'Inspector Report' title, even in fullscreen

Other than that looks great!

Fixed the former—but for the latter, I'd assumed you wanted the Inspector Report to be included in the maximization. Hence why it's pinned to the limits of both rather than just Neurosift.
When there are actual warnings populating the list, there isn't any meaningful information occluded:

Furthermore, if the structure of Neurosift itself changes (e.g. no navigation bar), this will become an issue as well.
As a tentative fix, I've made the toggle semi-transparent, transitioning the opacity to 100% when the user hovers over it.

Does this work as a more general fix for the latter case?

I've also added a minWidth + emptyMessage content to the Inspector List in this case so that the header is never occluded.

I'd assumed you wanted the Inspector Report to be included in the maximization. Hence why it's pinned to the limits of both rather than just Neurosift.

Absolutely, the full screen is especially better at reporting both
My minor annoyance was with the text clipping and button overlay not looking great, but

As a tentative fix, I've made the toggle semi-transparent, transitioning the opacity to 100% when the user hovers over it.
I've also added a minWidth + emptyMessage content to the Inspector List in this case so that the header is never occluded.

Both do a great job of alleviating that issue!


TimeDistributed not accepts arbitrary keyword arguments

In keras 2.0 we can build custom layers which take arbitrary keyword arguments
class CustomLayer(Layer):
    def call(self, inputs, **kwargs):
        print(kwargs)
        return super().call(inputs)

But if we need to wrap CustomLayer into TimeDistributed exception raises
from keras.engine import Layer
from keras.layers import Dense, Input, TimeDistributed

input_layer = Input(shape=(10, 10))
dense = TimeDistributed(Dense(10))(input_layer)
dummy = TimeDistributed(CustomLayer())(dense, some_additional_param='hello!')

Using TensorFlow backend.
Traceback (most recent call last):
File "/home/artem/ML/tensorflow_study/test.py", line 15, in
dummy = TimeDistributed(CustomLayer())(dense, some_additional_param='hello!')
File "/home/artem/ML/tf10/lib/python3.5/site-packages/keras/engine/topology.py", line 545, in call
output = self.call(inputs, **kwargs)
TypeError: call() got an unexpected keyword argument 'some_additional_param'

This small fix for TimeDistributed maybe helpful: https://github.com/Dejust/keras/commit/7a4ca85baf9838b69a08f047c77d317d70cce45c

Seems reasonable. Maybe make a PR and make sure Travis agrees?
The big issue would be with saving. If you create a graph with some extra kwargs, then save and load, do they persist? Would be a major gotcha if you build something depending on an extra arg then lose it when you reload.

Is this fixed beacause I having same problem ...


I am working on a project with similar capabilities.

It would be great if we could work together.
Would you please contact me a gmeno at redhat.com?
I would like to discuss the goals of CephEWS and see where it overlaps Calamari.
regards,
Gregory

@kazhang Thank you for reaching out. I will take a look at the video and respond this week with some thoughts.


CLI is unable to load config if profile name contains a dot (.)

How did you install the Amplify CLI?
pnpm
If applicable, what version of Node.js are you using?
18
Amplify CLI Version
11.0.0-beta.7
What operating system are you using?
mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
n/a
Describe the bug
After updating a model's primary key and attempting to push we are presented with a vague error after the schema compiles but before the CloudFormation updates start to print:
➜  amplify push --allow-destructive-graphql-schema-updates --yes --debug
Not pulling components because this project is not configured with the "react" framework.
⠏ Fetching updates to backend environment: dev from the cloud.Overrides functionality is not implemented for this category
⠴ Fetching updates to backend environment: dev from the cloud.
⚠  WARNING: Some types do not have authorization rules configured. That means all create, read, update, and delete operations are denied on these types:
	 - Todo
	 - Todo2
Learn more about "@auth" authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules
⠦ Fetching updates to backend environment: dev from the cloud.✅ GraphQL schema compiled successfully.

Edit your schema at /Users/josef/Documents/projects/aws-amplify/reproductions/a1268/amplify/backend/api/a1268/schema.graphql or place .graphql files in a directory at /Users/josef/Documents/projects/aws-amplify/reproductions/a1268/amplify/backend/api/a1268/schema
Overrides functionality is not implemented for this category
✔ Successfully pulled backend environment dev from the cloud.
⠹ Building resource api/a1268
⚠  WARNING: Some types do not have authorization rules configured. That means all create, read, update, and delete operations are denied on these types:
	 - Todo
	 - Todo2
Learn more about "@auth" authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules
⠸ Building resource api/a1268✅ GraphQL schema compiled successfully.

Edit your schema at /Users/josef/Documents/projects/aws-amplify/reproductions/a1268/amplify/backend/api/a1268/schema.graphql or place .graphql files in a directory at /Users/josef/Documents/projects/aws-amplify/reproductions/a1268/amplify/backend/api/a1268/schema

    Current Environment: dev

┌──────────┬────────────────┬───────────┬───────────────────┐
│ Category │ Resource name  │ Operation │ Provider plugin   │
├──────────┼────────────────┼───────────┼───────────────────┤
│ Api      │ a1268          │ Update    │ awscloudformation │
├──────────┼────────────────┼───────────┼───────────────────┤
│ Hosting  │ amplifyhosting │ No Change │                   │
└──────────┴────────────────┴───────────┴───────────────────┘

⚠  WARNING: Some types do not have authorization rules configured. That means all create, read, update, and delete operations are denied on these types:
	 - Todo
	 - Todo2
Learn more about "@auth" authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules
✅ GraphQL schema compiled successfully.

Edit your schema at /Users/josef/Documents/projects/aws-amplify/reproductions/a1268/amplify/backend/api/a1268/schema.graphql or place .graphql files in a directory at /Users/josef/Documents/projects/aws-amplify/reproductions/a1268/amplify/backend/api/a1268/schema
⠼ Building resource api/a1268
⚠  WARNING: Some types do not have authorization rules configured. That means all create, read, update, and delete operations are denied on these types:
	 - Todo
	 - Todo2
Learn more about "@auth" authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules
⠴ Building resource api/a1268✅ GraphQL schema compiled successfully.

Edit your schema at /Users/josef/Documents/projects/aws-amplify/reproductions/a1268/amplify/backend/api/a1268/schema.graphql or place .graphql files in a directory at /Users/josef/Documents/projects/aws-amplify/reproductions/a1268/amplify/backend/api/a1268/schema
🛑 Could not load configuration

Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

DeploymentError: Could not load configuration
    at Function.createInstance (/snapshot/repo/build/node_modules/@aws-amplify/amplify-provider-awscloudformation/lib/iterative-deployment/deployment-manager.js:515:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Object.run (/snapshot/repo/build/node_modules/@aws-amplify/amplify-provider-awscloudformation/lib/push-resources.js:288:35)
    at async Promise.all (index 0)
    at async providersPush (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/extensions/amplify-helpers/push-resources.js:160:5)
    at async AmplifyToolkit.pushResources [as _pushResources] (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/extensions/amplify-helpers/push-resources.js:135:13)
    at async Object.executeAmplifyCommand (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/index.js:187:9)
    at async executePluginModuleCommand (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:136:5)
    at async executeCommand (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:34:9)
    at async Object.run (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/index.js:116:5)

undefined == true
AssertionError [ERR_ASSERTION]: undefined == true
    at Function.createInstance (/snapshot/repo/build/node_modules/@aws-amplify/amplify-provider-awscloudformation/lib/iterative-deployment/deployment-manager.js:512:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Object.run (/snapshot/repo/build/node_modules/@aws-amplify/amplify-provider-awscloudformation/lib/push-resources.js:288:35)
    at async Promise.all (index 0)
    at async providersPush (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/extensions/amplify-helpers/push-resources.js:160:5)
    at async AmplifyToolkit.pushResources [as _pushResources] (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/extensions/amplify-helpers/push-resources.js:135:13)
    at async Object.executeAmplifyCommand (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/index.js:187:9)
    at async executePluginModuleCommand (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:136:5)
    at async executeCommand (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/execution-manager.js:34:9)
    at async Object.run (/snapshot/repo/build/node_modules/@aws-amplify/cli-internal/lib/index.js:116:5)

Session Identifier: 8e5bbc37-3973-4018-824d-1a871c837c9a

Expected behavior
push succeeds
Reproduction steps
I had a few other things hooked up here such as automated deployments with Amplify Hosting, but this is reproducible using a split schema definition

create a project amplify init -y
add a GraphQL API amplify add api > GraphQL
delete the single schema.graphql in favor of two separate schema files in the schema/ directory: Todo.graphql and Todo2.graphqltype Todo2 @model {
  id: ID!
  name: String!
  description: String
}

push with amplify push -y
change the primary key of one of the modelstype Todo2 @model {
  id: ID!
+ cpk: String! @primaryKey
  name: String!
  description: String
}

push with amplify push --allow-destructive-graphql-schema-updates --yes
observe error

Project Identifier
6eb2e5ca4610f067a938060bf5ef796a
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

closing as a duplicate of #10525 . @zirkelc would you mind filing a separate bug report to track your occurrence? it appears this may be similar but different root causes. Do you have a region set for your chosen AWS profile in ~/.aws/config?
[profile default]
region=us-east-1


⚠ Bofrost.be has degraded performance

In d985d4f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 895 ms

Resolved: Bofrost.be performance has improved in 1adeb4d after 6 minutes.


feat: Provide pinned requirements to allow for reproducible builds

Issue #, if available:
Description of changes:
Checklist:

[ ] Write Design Document (Do I need to write a design document?)
[ ] Write unit tests
[ ] Write/update functional tests
[ ] Write/update integration tests
[ ] make pr passes
[ ] Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing https://github.com/awslabs/aws-sam-cli/pull/1369 ,as this PR supersedes it.

boto3 is going to be a pain in this model since it is released so often. For now, I am going to add a lesser check on boto3 in our checking script. I am basically re-implementing how a .lock file works and time is better spent moving over to a tool that does that for us but doing this in the short term seems ok.


Ally X - 11-19-2024 Wifi Issue

Describe the bug
Today I updated the steam client through the update section. After it rebooted, it was slow to boot, and now wifi on WPA2-Enterprise isn't working.
What did you expect to happen?
Wifi working
Output of rpm-ostree status

Hardware
ROG Ally X
Extra information or context
Is there any way to downgrade? Not sure what was in that update, but it broke it.

ostree:1 works, but 0 (the default) doesn't.

Are you dual booting?

No.
On Tue, Nov 19, 2024, 10:51 AM Kyle Gospodnetich @.***>
wrote:

Are you dual booting?
—
Reply to this email directly, view it on GitHub
https://github.com/ublue-os/bazzite/issues/1900#issuecomment-2486241819,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKJRY55OUBFEJO6VKQUI23T2BNT7VAVCNFSM6AAAAABSCNZAW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGI2DCOBRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Just want to chime in to confirm that I'm seeing the same issue on my Steam Deck LCD running Bazzite: after an upgrade to version 41.20241118.2, WPA2-Enterprise wifi authentication no longer works (but networks running other authentication methods appear to be unaffected - at least WPA2-Personal still works fine). Rolling back to my previous deployment (41.20241112.1) allows me to connect to the affected networks again.

https://github.com/ublue-os/bluefin/issues/1943
We may need to pin this package in main

This fixed it for me.
Two other ways I've found to let the connection go through are:
A) Enable pkcs11-module-load-behavior = early in the /etc/pki/tls/openssl.d/pkcs11-provider.conf
B) Enable legacy providers in /etc/ssl/openssl.cnf


Direct thumbnail creation support for tifig

An inital approach on how to create thumbnails directly using tifig

@monostefan would it make sense to implement the thumbnailing option implicitly? so that when a image with width <= 240 and height <= 240 is requested, we automatically try to get the the embedded thumbnail (and fall back if there is none)?


Can't implement custom behavior on the rotationDial

RotationDial, var CropView  and RotationDialProtocol are all inaccessible and need to be open so there is access to the protocol's functions to implement custom behavior (like when the user stops the rotation, or get the angle of the rotation etc)
I can work on the changes and create a pull request

🙄

Since it issue has not got any response for more than two months, I close it for now. @Mehrdadmaskull You can reopen it anytime when you want to discuss your pull request.


[Service Bus] Fixing typo in client options

Summary
Fixing a typo in the doc comments left over from my shameless copy/paste.

API change check
API changes are not detected in this pull request.


Update ARM template to refer to disk version 9.0.20211220

Hello @git4rk  please assign this to @majguo .


[Post Quarkus Migration] Add /auth redirection?

Context
The original behavior of Wildly was having an redirect from / to /auth. After the migration you just get a "Resource not found".
Alternatives
Keep without.

Potentially we could run the application itself on /, but do a rewrite on /authin the ingress if required.

Potentially we could run the application itself on /, but do a rewrite on /authin the ingress if required.

Could work on clusters with ingress controllers which support path type Exact for ingress paths. However, for example the OpenShift 4 ingress-to-route controller explicitly doesn't support that path type, so this won't work reliably across different Kubernetes distributions.

In Keycloak v20 the admin url can be different to the fronted url and might fix this.

In Keycloak v20 the admin url can be different to the fronted url and might fix this.

It isn't. Set the Keycloak itself to / and redirect /auth to /at an ingress level could be an other option.

Set the Keycloak itself to / and rewrite /auth to /at an ingress level does work in a first test.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    nginx.ingress.kubernetes.io/backend-protocol: HTTPS
    nginx.ingress.kubernetes.io/proxy-buffer-size: 16k
    nginx.ingress.kubernetes.io/use-regex: "true"
    nginx.ingress.kubernetes.io/rewrite-target: /$2
  name: keycloakx-auth-rewrite
  namespace: syn-keycloak-test
spec:
  ingressClassName: nginx
  rules:
  - host: id.test.example.com
    http:
      paths:
      - backend:
          service:
            name: keycloakx-http
            port:
              name: https
        path: /auth(/|$)(.*)
        pathType: Prefix
  tls:
  - hosts:
    - id.test.example.com
    secretName: ingress-tls

For OpenShift:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    nginx.ingress.kubernetes.io/backend-protocol: HTTPS
    route.openshift.io/termination: reencrypt
    haproxy.router.openshift.io/rewrite-target: /
  name: keycloakx-auth-rewrite
  namespace: syn-keycloak-test
spec:
  rules:
  - host: id.test.example.com
    http:
      paths:
      - backend:
          service:
            name: keycloakx-http
            port:
              name: https
        path: /auth
        pathType: Prefix
  tls:
  - hosts:
    - id.test.example.com
    secretName: ingress-tls
``

Just rewriting the realm URL does work in the case OpenID Connect Discovery isn't used. Keycloak currently doesn't support https://github.com/keycloak/keycloak/issues/17634(multiple realm front-ends).
Original path: https://x.x.x.x/auth/realms/my_realm/.well-known/openid-configuration
Ajusted path: https://x.x.x.x/realms/my_realm/.well-known/openid-configuration

The issuer URL remains the same and the verification fails.
oauth2-proxy is able to ignore it using the --insecure-oidc-skip-issuer-verification parameter. But each OIDC implementation might be different.

See potential optimization in later Keycloak versions keycloak/keycloak#27730.

Should become fixed with keycloak/keycloak#32863 in v26.


[posix-app] simplify saving settings

save as key-length-value.

Does this PR address fault tolerance? For example, what happens if an unexpected crash/reboot occurs? Can we ensure that writes to settings are not lost or that the settings file does not become corrupt?

updated to make changes in new file.

Overall looks good. Few suggestions above. Thanks


upgrade LLM model list to IPEX 2.2

Type of Change
for INC testing to support IPEX 2.2 LLM model list.
transformers 4.35.2
torch/ipex 2.2
inc 2.4.1
Description
detail description
JIRA ticket: xxx
Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

what's target to get IPEX v2.2 upgraded？

what's target to get IPEX v2.2 upgraded？

provide the aligned models smoothquant recipes achieved 1% accuracy goal with ipex.optimize_transformers


Explore switching to .NET 6.0

Looks like it mostly will work already, though I've not done much testing yet (it does send email).  I will need to include the directive <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> in the project settings under the PropertyGroup tag to get it to include the library dependencies, though this will include a lot more than necessary.  It would make sense to write an actual script to handle the packaging on build as well, as the way it's set up right now is kind of hard to maintain and just grabs all the dll's even though they're not all needed.


Notice：when code runing occur error，readers can change the code refer to the README.md

change:
population = np.concatenate((elites, offsprings), axis = 0)
fitness_list = elite_fitness_list + offspring_fitness_list
into:
population = np.concatenate((elites,mutants, offsprings), axis = 0)
fitness_list = self.cal_fitness(population)
and change the return of the    partition() :
return population[sorted_indexs[:self.num_elites]], population[sorted_indexs[self.num_elites:]]#,np.array(fitness_list)[sorted_indexs[:self.num_elites]]

Hi @Motherlesssss and all who might need it, I create a fork from this repo that fix all errors and could run using the latest python libraries
https://github.com/mich1342/3D-Bin-Packing-Problem-with-BRKGA

@mich1342 Thanks for sorting out most of the problem. There is another problem that you can fix which is the np.product() issue. You can replace all the method with np.prod().


Don't depend on QtWidgets if QtCore will do

QApplication is a QCoreApplication and has the required methods
I'm using this in a headless system with asyncio mqtt and don't want to install all the QtWidget dependencies.
Signed-off-by: David Greaves<EMAIL_ADDRESS>

Nice improvement, thanks. Now published in version 0.20.0!

This actually breaks QtWidgets apps.
Trying to create QtWidgets.QApplication fails with
RuntimeError: Please destroy the QCoreApplication singleton before creating a new QCoreApplication instance.

and not creating  QtWidgets.QApplication fails with
QWidget: Cannot create a QWidget without QApplication

Can we revert this PR until a proper solution that works for both QtWidget and QtCore apps comes along?

Can we revert this PR until a proper solution that works for both QtWidget and QtCore apps comes along?

Reverted in qasync==0.21.0.

Apologies - I'll see if I can dig into this some more and get a more rounded solution.


Add support for Aqara H1 Remote variants 3, 4 & 5

From my point its looks OK only the the py test is failing then its not written and new test for the new devices that is needed for merging the code to the main brash and i hope some can helping writing that so we can getting  support for this devices.
Great that is working for your devices in your system and other user can using it as local quirk until is being fixed  :-))
Great work done !!

@javicalle We have getting the normal test working OK but some "run tests" i cant fixing is it the real code test that need being implanted ?

I believe that is related to the use of MultistateInputCluster (without the .cluster_id) in the signature part. It would be fine for the replacement part, but I think that tests complains if used in the signature.

Some of this is covered in the following open issue:

Maybe this can be of some help.


Server error 500

Hi there, this might not be an issue and more my setup, but is there a way to enable some sort of debug output of the delivery part?
I've a dedicated host running PLESK and I have a domain setup with email (email works fine with outlook, secure, port authentication required on 465 etc.). I unzipped your package to a folder, did the configuration, database setup and download PHPMailer from their git, dumped those files into the PHPMailer folder you had.
Now emails are added to the queue/db, the cron is triggered, the email gets flagged as being in process of being sent but nothing happens after that and it remains as "sending now". If I run the delivery.php directly in my browser it takes some time, 30 sec maybe before it gives me a server 500 error message (so I guess the issue is there). BTW if I run it without an email pending it will give me some output;
Emailqueue · Delivery
Maximum delivery timeout: 50 sec.
Delivery interval: 0,10 seconds
Maximum emails to deliver: 1000
Process started on: 19/1/2017 22:40.55
No emails on queue.
Process ended on: 19/1/2017 22:40.55
I've tried with SMTP_SERVER set to localhost, <IP_ADDRESS> and the server IP with same result. I've not configured anything with PHPMailer as I presumed that's controlled by your system. The timeout only happens with port 465 (which is what I use), using any other port gives a "Could not connect to SMTP host." and similar
UPDATED; foud this from my general server log:
`2017-01-20 00:03:04	Error	myip	500	GET /assets/custom/plugins/emailqueue/scripts/delivery.php HTTP/1.0	1.76 K	Apache SSL access
2017-01-20 00:03:50	Warning	myip		mod_fcgid: read data timeout in 45 seconds				Apache error
2017-01-20 00:03:50	Error	myip		End of script output before headers: delivery.php				Apache error`
From where I am, what I did to install, and the error 500 received only when it tried to process an email, any clue as to get some error debug output or what I can try next?
Chris

Hi @Organizer21, it definitely looks you have a lot going on there! It seems you're dealing with server admin issues of many kinds outside EmailQueue itself, and that would take quite a long time to understand and analyze in order to be able to help you. I'm sorry I cannot provide that kind of in-depth support :(
Just a quick hint:
Don't run delivery.php via browser or via wget, it is a script intended to be executed with the PHP CLI, use the provided "delivery" shell script (edit and modify it to your specific server environment with the proper paths) That seems to be the source of more than one of the issues you're having.


Update invariant of rawTapEnv

We need to explicitly state that scriptCMR must be 32 bytes.
This feedback came from @delta1.

Can you rebase this on master? Because you have been "merging" via rebase, this PR looks to my tooling like a 12-commit branch off of master even though 11 of those 12 commits have identical diffs to ones that are in master.

I cannot.  Generally speaking, we will be PRing into 'staging' for the time being.

I cannot. Generally speaking, we will be PRing into 'staging' for the time being.

 Yes, I can definitely use staging rather than master. I just had to notice the merge target of the PR I was reviewing..


[Feat]: make some effect on heading

What feature?
Make some hover color effect on all headings make it "interactive headings"
Show us the magic with screenshots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

I would like to hover effect on heading and solve this issue .Please assign me this issue
Thank you!


Feature/member reaction search

This feature adds the search functions of member reactions, where one can search for member reactions by club activities and/or members.
Tested with postman

This implementation uses native SQL query on DB level instead of retrieving everything from the DB and filtering a Java list due to my belief that it would have speed benefit when the table gets large.
I have no proof of whether this is actually the case even though I feel that it could. All in all, this might introduces a minor difficulty in maintainability for the next team when handling this.


add tests for light curve simulator and combiner and minor updates

wrote some basic unit tests for combine_lightcurves and generate_data_network
wrapped combine_lightcurves in a class
added functionality to generate_data_network for adding new observation data to units already existing on the cloud
wrote outline of a mock PanStorage class - advice needed
added script to plot light curve in matplotlib

Try adding this to the .travis.yml for your branch:
pip -q install git+http://github.com/panoptes/POCS.git#egg=pocs --no-deps

tried that, idk...

Move it up above line 28, so it installs POCS before it tries the python setup.py install for PIAA
On Sat, Aug 6, 2016 at 11:19 AM, kstoreyf<EMAIL_ADDRESS>wrote:

tried that, idk...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/panoptes/PIAA/pull/21#issuecomment-237997985, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEUUJJQxJUpysswGA9yw44VRkDIidjdks5qc-E3gaJpZM4JeKSr
.

--
~Wilfred Tyler Gee

haha thanks for all these, sorry I'm away from comp now

No worries. I should have had it all fixed up. It's nothing to do with your
code but with the travis-ci setup. I already struggled through it all with
POCS so I figured it would be easier for me to just get it going.
On Sat, Aug 6, 2016 at 12:24 PM, kstoreyf<EMAIL_ADDRESS>wrote:

haha thanks for all these, sorry I'm away from comp now
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/panoptes/PIAA/pull/21#issuecomment-238001084, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEUUAVj2GtfMxIpTymoDysK5JJ9qMrIks5qc_BfgaJpZM4JeKSr
.

--
~Wilfred Tyler Gee

Ok, this is now failing on the actual tests rather than on misconfigured travis build. I'm handing it back to you @kstoreyf  :)


Optional parent header in Response (closes #1)

Merge activity

Nov 27, 3:45 PM: @kafonek started a stack merge that includes this pull request via Graphite.


CachedImage with force-fetch parametter

Would be nice if CachedImage had a "forceFetch" parametter (default to "false") allowing to force the image to be redownloaded even if it is already in cache (and by the time it is downloaded, the old image in cache could be used as a "defaultSource" unless it do not exist in cache or a "defaultSource" parametter is already provided in the CachedImage tag)

@ramsestom If you know you want to force fetch a url you could remove it from the cache and reload your image, that should do the trick

tried this but showing same image all the time even after it resolve successfully, I checked in browser and image is different
ImageCacheProvider.clearCache({cacheLocation: ImageCacheProvider.LOCATION.BUNDLE}).
    then(() => {
            console.log('cacheMultipleImages Done');
    })
    .catch(err => {
        console.log('cacheMultipleImages caught an error: ', err);
    });

@manjeets12 If you are using the latest v1.4.0 release, you could use ImageCacheManager.deleteUrl to invalidate a single url from the cache and force the cache manager to download it again.
v1.3.5 had ImageCacheProvider.deleteCachedImage that did the same thing.

@kfiroo the point here is that if user changes the image on the server, this package doesn't fetch the new image but instead uses the old one...

@vonovak Thanks, that's why I suggested to use deleteUrl or deleteCachedImage to make sure the url will return the newly uploaded image and not the cached version :)

sure @kfiroo but how can I tell whether or not the image on server has changed? - how to know whether I should call deleteUrl or deleteCachedImage? I could call it on every start, but that renders the cache useless. That's why @ramsestom suggested to have an option that would control how the caching works. For example, the package could make a HEAD request to the server to see if the locally stored image is out of date and download the new one if that is the case.. :)

@vonovak The original issue here is about adding a forceFetch prop to the CachedImage which means you have to know (on the client side) that the URL is out-of-date and the image should be fetched again, and for that end I suggested the deleteUrl method.
You raise a good point, though. In the scenario where the image changed on the server and there is an old cached version in the client's app there is no way for us to know it.
I would generally suggest to use the CachedImage for static URLs of images that you don't want to bundle with your app so you can download them once and make the app feel faster.
Regarding "controlling how the caching works", the latest version actually has all cache login injected into to the ImageCacheManager so you can customize if however you like, I would love to get some feedback if you do decide to try that approach :)


Cirrus: Include packages for containers/conmon CI

Depends on: #6201
This allows the containers/conmon repository to share the same VM
images produced by containers/libpod.  Included are several packages
which are downloaded only since they might otherwise interfere with
testing for some repos.  This allows stable versions to be at the ready
at testing runtime, avoiding any version updates surprising developers.
Signed-off-by: Chris Evich<EMAIL_ADDRESS>

@haircommander Note while I'm out: For this PR or anything like it (using the CI:IMG magic) doesn't actually need to be merged in order to utilize the output VM Images in the conmon repo.  Though eventually having them merged here (and using the new VM images) is desirable from a maintenance perspective (as the instructions for building the images is also changing).  This makes it easy to test out changes to images used elsewhere in another PR (like https://github.com/containers/conmon/pull/152), nothing is permanent until merged, and the meta task will do it's job of keeping the active images from being pruned.
The important thing in this PR is: Download fixed-versions of cri-o and kube along with all dependencies, but do not install them (they will break libpod testing).  Then in conmon CI, we rpm install the downloaded files.  This is to prevent package updates/changes happening at test-runtime, which would open a window of uncertainty and/or introduce unpredictable behavior.  That said, you can do runtime package updates/installs, it's not strictly forbidden. just something I like so unrelated development isn't impacted.
Hopefully this all makes sense.

Removing WIP and marking this as optional.  It has changes and new VM images needed by conmon, but nothing immediately required in libpod.  It's fine if it sits here until I get back from PTO.

Rebased + Rebuilt all VM images.

/approve
/lgtm


Dashboard issue "Invalid OAuth2 redirect_url"

Wheneever I want to access the dashboard, it pops up a Discord OAuth2 url which says "[application name] wants to authorize", i click authorize, then it says "Invalid OAuth2 redirect_url"

can you tell me please how to fix this error??


DNM: Test e2e-aws CI fails with invalid kustomize syntax

This should fail after https://github.com/openshift/release/pull/29465 merges

/retest

/retest


Implement rotor assembly and retrieve results

Now we have created elements and some materials, we could start implementing files to generate some analysis of the rotor. What do you think?

the last commit closes this issue


ScanLinuxAsync logged InvalidOperationException: cannot hijack chunked or content length stream

[INFO] ScanLinuxAsync logged InvalidOperationException: cannot hijack chunked or content length stream
[WARN] Scanning of image sha256:xxxxxxxxxxxxx failed with exception: cannot hijack chunked or content length stream
I encountered the problem above when I scan docker images. How to fix this?

@newertp, Can you provide more details about the repro so we can help out?

[INFO] Finding components...
[VERBOSE] shrinkwrap.yaml:pnpm-lock.yaml
[VERBOSE] Cargo.lock
[VERBOSE] yarn.lock
[VERBOSE] Gemfile.lock
[VERBOSE] Cargo.lock
[VERBOSE] *.spdx.json
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Pnpm.PnpmComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Spdx.Spdx22ComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Rust.RustCrateV2Detector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Ruby.RubyComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Yarn.YarnLockComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Rust.RustCrateDetector
[VERBOSE] package.json
[VERBOSE] .nupkg:.nuspec:nuget.config
[VERBOSE] setup.py:requirements.txt
[VERBOSE] Podfile.lock
[VERBOSE] project.assets.json
[INFO] Starting enumeration of /xxx/xxx
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Npm.NpmComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.NuGet.NuGetComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Pip.PipComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.NuGet.NuGetProjectModelProjectCentricComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.CocoaPods.PodComponentDetector
[VERBOSE] go.mod:go.sum
[VERBOSE] pom.xml
[VERBOSE] package-lock.json:npm-shrinkwrap.json:lerna.json
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Go.GoComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Maven.MvnCliComponentDetector
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Npm.NpmComponentDetectorWithRoots
[VERBOSE] *.lockfile
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Gradle.GradleComponentDetector
[VERBOSE] ivy.xml
[VERBOSE] Registered Microsoft.ComponentDetection.Detectors.Ivy.IvyDetector
[VERBOSE] Skipping maven detection as maven is not available in the local PATH.
[VERBOSE] Skipping Ivy detection as ant is not available in the local PATH.
[INFO] Enumerated 153 files and 28 directories in 00:00:00.1567020
[INFO] Getting Python data from https://pypi.org/pypi/amqp/json
[INFO] Base image annotations not found on image sha256: xxxxxx, Results will not be mapped to base image layers
....
[INFO] ScanLinuxAsync logged InvalidOperationException: cannot hijack chunked or content length stream
[WARN] Root dependency celery[sqs] not found on pypi. Skipping package.
[INFO] Getting Python data from https://pypi.org/pypi/certifi/json
[WARN] Scanning of image sha256:xxxxxx failed with exception: cannot hijack chunked or content length stream
The command is as follows:
salus Generate -b ./test -bc ./test -di test:latest -pn Test -pv 0.0.1 -nsb https://test.com -V Verbose -m .

Is this a x86 or a ARM container? Currently only x86 containers are supported

I have changed the container platform to x86, but still encountered the error.


community[patch],core[minor]: Move in memory cache implementation to core

This PR moves the InMemoryCache implementation from community to core.

should update imports in docs as well

@baskaryan let's take care of docs separately -- we need a script to do the docs in one go so that it's a bit more efficient


"View Profile" overlay ignores --rs-large-spacing

Oh woops. It's now fixed.

Oh woops. It's now fixed.


fix for the https://github.com/trbs/wait-for-port/issues/1

awesome thanks !

will upload a new release soon


Add setBinaryPayload() function to HTTP library

Fix #4269

@hasithaa Added test cases

I build with this PR and I see an issue with content length not updating.
import ballerina.net.http;
@http:configuration {basePath:"/"}
service<http> echo {
    @http:resourceConfig {
        methods:["GET"],
        path:"/"
    }
    resource echo (http:Request req, http:Response resp) {
        resp.setStringPayload("sssssssssss");
        _ = resp.send();
    }
}

curl 'http://localhost:9090/' -vk
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 9090 (#0)
> GET / HTTP/1.1
> Host: localhost:9090
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 0
<
* Excess found in a non pipelined read: excess = 11 url = / (zero-length body)
* Connection #0 to host localhost left intact

My bad, I was on a older version of parent.

My bad, I was on a older version of parent.


KOGITO-2107 - Remove Quarkus version override for kogito-apps

Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[ ] You have read the contributors guide
[ ] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

I think there is another override in the root of quarkus-extension and maybe archetypes


http1 dynamic post request response doesn't send header a second time

I am using sample http_server and found that if I post to a URL with dynamic context, the first time I get a packet with a header and if I post again without waiting for client timeout, I don't get a header.
Log with additional messages added to show what header is sent:

I've added a line client->http1_header_sent = false when status is HTTP_SERVER_DATA_FINAL to fix the issue, but I don't think that is a good fix.
I am using zephyr commit 5305aa615b0f800508e253c3398712eca1b209b4

Thanks for the report, I've managed to reproduce the issue. I'll send a fix shortly.

@LukasTaroza https://github.com/zephyrproject-rtos/zephyr/pull/76845

Thank you, the fix now sends a header on every request.