Implement more general initial guess mechanism

Enable implementation of an initial guess function in Greedy. It dispatches on the info tuple and on the arguments that were passed to the assemble call. This is important e.g. when using quantum number conserving DMRG, where specific initial states (states with defined QNs) are necessary. On this occasion, the info tuple will also be improved.

closes #31
closes #38

@mfherbst This should be relatively ready to merge (from my side). Any thoughts so far?

I now removed the Function type annotation and fixed the identation. I also happened to find an edge case in the HamiltonianCache constructor when I was experimenting today, which is now correctly handled.


Bash script to run Python script

Create a bash script that will: (i) activate the virtual environment, (ii) run the Python scirpt that reads from the RC and sends reference data to the ESP32. Make sure that the script is executed at startup.

Completed

@jamie-54 we should probably include some documentation somewhere (e.g., a README file in hardware/docs) on how to set up the cron job.

I'm re-opening this issue. @gunturiCM can you take care of this?

@jamie-54 we have a script on RPi. Can you put it here and make a PR?

@jamie-54 any progress on this?

looking into it now


XBOX LIVE CREATOR SAVE FUNCTIONALITY PROBLEM- PLEASE HELP

Hello,
We are new to Xbox Live Creator program and facing some issues related to Save Functionality. We are using Unity Save data plugin provided by Xbox Live Creator website.
Issue Faced : We are unable to save our strings value , please tell how to retrieve those values associated with those strings. Please provide link to video tutorial if possible.

Please help asap, as only this issue is causing our game to be not releasing on time.

Thanks

This is a dupe of https://social.msdn.microsoft.com/Forums/en-US/76ad952d-2467-46db-91ce-4fab40d8f612/xbox-live-creator-save-functionality-problem-please-help?forum=xboxlivedev
We will get back to you there


WIP [e2e] add check for initial state shown on tray

Fixes #2545
Added WIP until expected states are properly defined

Closed until can be implemented properly based on defined states


Add geolocation classes and example

Thought I'd try out your wonderful new async support, @halildurmus!
Added geolocation classes and an example. Here's proof that it works:
[C:\src\win32] dart example\winrt_geolocation.dart
Current location: (47.6829, -122.1365)
Location accuracy: ±13916.0 meters
Current heading: N/A
Position source: iPAddress

Note: I had to manually edit the following in igeolocatorstatics.dart, since the generator didn't get this right:
  Future<GeolocationAccessStatus> requestAccessAsync() {
    ...

    // generated / doesn't work
    final asyncOperation =
        IAsyncOperation<GeolocationAccessStatus>.fromRawPointer(retValuePtr,
            creator: GeolocationAccessStatus.from);

    // manually edited / works
    final asyncOperation =
        IAsyncOperation<GeolocationAccessStatus>.fromRawPointer(retValuePtr,
            enumCreator: GeolocationAccessStatus.from, intType: Int32);
   ...
  }

Also note that the PositionSource enum is oddly capitalized. We might need to change the heuristics here to match the Dart style guide, perhaps with an allowlist for certain acronyms (e.g. "IP", "HTTP").
Separately, I think we need a plan for managing the huge number of classes that a fully functional WinRT implementation could generate, otherwise this will quickly get out of hand! I'll start a discussion thread and loop you in.

Great, thank you!

Note: I had to manually edit the following in igeolocatorstatics.dart, since the generator didn't get this right:
  Future<GeolocationAccessStatus> requestAccessAsync() {
    ...

    // generated / doesn't work
    final asyncOperation =
        IAsyncOperation<GeolocationAccessStatus>.fromRawPointer(retValuePtr,
            creator: GeolocationAccessStatus.from);

    // manually edited / works
    final asyncOperation =
        IAsyncOperation<GeolocationAccessStatus>.fromRawPointer(retValuePtr,
            enumCreator: GeolocationAccessStatus.from, intType: Int32);
   ...
  }

Whoops! I fixed this in #635, sorry.

Also note that the PositionSource enum is oddly capitalized. We might need to change the heuristics here to match the Dart style guide, perhaps with an allowlist for certain acronyms (e.g. "IP", "HTTP").

Yes, it is a bit odd. I created #636 for this.

Separately, I think we need a plan for managing the huge number of classes that a fully functional WinRT implementation could generate, otherwise this will quickly get out of hand! I'll start a discussion thread and loop you in.

Thanks, I will share my thoughts as soon as possible.


Val_loss is not improved by 0.02185

Hi, firstly thanks for your project. It is very helpful for me to learning YOLO.
I have a problem when i use your Blood_detection code, after 4-5 epoch, it will shows that "val_loss is not improved by 0.02185". And it let the file early stop.

@BoshengW I have same issue


TypeError: world._storage.worldCoordToChunkIndex is not a function

TypeError: world._storage.worldCoordToChunkIndex is not a function

when trying to using the noa.world.invalidateVoxelsInAABB(box) I get that error.
let box = {
    base: [Infinity, Infinity, Infinity],
    max: [-Infinity, -Infinity, -Infinity]
}
let set = new Set()
data.values.forEach(ele => {
    if(!set.has(ele.i)){
        noa.registry.registerBlock(ele.i, { material: `${name}-${ele.i}` })
    }
    let key = `${ele.x}-${ele.y}-${ele.z}`
    box.base[0]=Math.min(box.base[0],ele.x)
    box.base[1]=Math.min(box.base[1],ele.y)
    box.base[2]=Math.min(box.base[2],ele.z)
    box.max[0]=Math.max(box.max[0],ele.x)
    box.max[1]=Math.max(box.max[1],ele.y)
    box.max[2]=Math.max(box.max[2],ele.z)
    voxMap.set(key, ele.i)
})
noa.world.invalidateVoxelsInAABB(box)

Whoops, overlooked that. Can you check the version I just pushed and let me know if it works? invalidateChunks is a feature that I don't personally use so it's not easy for me to test it rigorously.

I used it and found it useless.
I found this method in issues, but I don't know the specific usage.Do you have any good suggestions if I want to load .vox files asynchronously from the network?
thanks :)

Hmm, this function seems to have been broken even before I changed it the other day. I've pushed another fix, which for me locally appears to work.
Here's a description of how it's supposed to work. In a single player game with no server, worldgen looks like this:

the game engine sees that there are unloaded chunks within range of the player, and emits worldDataNeeded
the game client catches that, generates the world data, and calls noa.world.setChunkData
the engine takes that data and meshes it, etc.

Then later if the game client decides that voxel data has changed, it just calls noa.setBlock for that voxel.
However if you have a server providing world data, you'll probably have cases where the game client gets a whole chunk of updated data for a chunk that's already loaded. In that case you can call noa.world.invalidateVoxelsInAABB for the affected area, and noa will mark those chunks to be de-meshed and disposed. Then, if they're within range of the player, it will notice that and issue new worldDataNeeded events, which the client can answer with updated data.
Hope that makes sense!

Thank you very much for your help. Using Noa. setBlock achieved the effect I wanted.
By the way, I found that in the API document, noa.setBlock has only x,y, and z parameters, not id. I don't know if it's a document error.
Thanks again!

Cheers! I will push a fix on the docs.


Text position and extrusion

Hello, Daniel!
I'm trying to add the text on Z axis up 400mm and on XZ plane
The version is netDXF.<IP_ADDRESS>
var textEntity = new Text("test", Vector3(0, 400, 0), 20);
textEntity.Normal = Vector3(0,-1,0);
textEntity.Rotation = 0;
The position in dxf is not the same as expected
10
0.0
20
0.0
30
-400.0
and extrusion is correct
210
0.0
220
-1.0
230
In AutoCAD it's located at (0,400,0) instead on (0,0,400)
The expected values in dxf are
10
0.0
20
400.0
30
0.0

(It looks like the same issue is with the circle transformations. Is it the same case?)
Thank you, Sergey!

The text position as the circle center are defined in world coordinates, it is in the documentation. As you said you want the text at (0, 0, 400) WCS, therefore just pass that point to the Text constructor instead of (0, 400, 0). The DXF format stores those points in local coordinates, this is one of the many questionable decisions of the DXF specification.

Thank you, Daniel!
My bad! I had to read the documentation more carefully.
With the switching from OCS to WCS texts and circles are working as expected.


ios: missing FirebaseAnalytics pod

Current behavior:
After updating to version 16.2.0, the iOS build fails with a compile error "Module 'FirebaseAnalytics' not found".
I think this is related to the switch to the Firebase product pods (https://github.com/dpa99c/cordova-plugin-firebasex/pull/811).
I guess the Analytics package was in inherit dependency previously and now, after switching to the product pods, is no longer included automatically.
Adding an explicit dependency to the podfile for "FirebaseAnalytics" fixes the issues.

Resolved by #848


Feature/navbar

I removed the grid row to be able to position the navbar within the header.

closes #15


[release-1.11] Fix logging regression in 1.11 to properly show push vs request

This is an automated cherry-pick of #34598

@googlebot I consent.


error by require('viewport-units-buggyfill.hacks');

require('viewport-units-buggyfill.hacks');
errors below:
This dependency was not found:

viewport-units-buggyfill.hacks in ./src/main.js

To install it, you can run: npm install --save viewport-units-buggyfill.hacks

@rodneyrehm

I don't understand what you're trying to tell me. But to load the hacks you'd probably want to do the following:
require('viewport-units-buggyfill/viewport-units-buggyfill.hacks')

IN npm document , the using demo code is wrong.


error on listen

this version upgrade seems rushed...
Hello works, Héllo gives this error

  File "/usr/local/lib/python2.7/dist-packages/fbchat/client.py", line 1340, in listen
    while self.listening and self.doOneListen(markAlive):
  File "/usr/local/lib/python2.7/dist-packages/fbchat/client.py", line 1317, in doOneListen
    return self.onListenError(exception=e)
  File "/usr/local/lib/python2.7/dist-packages/fbchat/client.py", line 1383, in onListenError
    raise exception
Exception: Error while parsing JSON: 'for (;;); {"t":"msg","seq":8,"u":100014741746063,"ms":[{"type":"deltaflow","sequencer":"24768","fbid":"100014741746063"},{"ofd_ts":1498428990162,"delta":{"attachments":[],"body":"H\xc3\xa9lio!","irisSeqId":"24768","messageMetadata":{"actorFbId":"1408531475","messageId":"mid.$cAABa9izTDZxjEpkpyFc4VPgzckzE","offlineThreadingId":"6284866704987278532","tags":["source:chat:orca"],"threadKey":{"otherUserFbId":"1408531475"},"timestamp":"1498428989896"},"class":"NewMessage"},"type":"delta","iseq":24768,"queue":100014741746063}]}'

Fixed it in v. 1.0.2, sorry about the issues, but I haven't set tests for the listen functions in a proper way yet


Travis reports failure with v2.0 branch on certain combinations of compilers + python

I have no idea how this is happening. Must be a race-condition -- tests pass cleanly (10+ times) on my laptop.

Interesting -- wp test fails on my laptop if I run make tests from the root directory but passes if I run make tests in the xi_theory/wp directory

This is a very weird bug -- make tests in the tests directory runs ./test_periodic 2 for the wp test (which fails). Immediately after, if I run ./test_periodic 2, then the test passes!

Ahha. wp is the only code that reorders the input X/Y/Z arrays -- in theory that should be irrelevant since none of the other codes make any assumptions about the input ordering. So, when ./test_periodic 2 is run by itself, the tests read the arrays and hand them off whereas when all tests are running the arrays have been read before and used. Still don't know how this could make a difference but clearly it does.

With the re-ordering of tests, all tests fail on linux and the one test on Mac passes! Since the previous failure was with gcc48 on travis, I checked with gcc48 on my laptop and the tests pass. (Side-note, the gcc48 portfile is no longer broken on Macs -- updating README to reflect this.)
Now I need to test on a linux box.

Some cells contain 0 particles -- since I was using malloc, then lattice would have uninitialized values for start and nelements. The sorting would then use these uninitialized values and all hell would break loose.
Since this bug was not triggering on Mac, I will assume that malloc on Mac is really calloc under the hood whereas on Linux malloc is malloc.

Updated the checks for nelements > 0 and only running sort for non-zero cells (commit f03ad6bc735ffe034e15d280bc6359bef641d9be)
@aphearin This is pretty much in line with how halotools computes the correlation function. Slightly slower than my version in master, but does avoid duplicating the particle memory. Relevant functions/files are gridlink_index in utils/gridlink.c and xi_theory/wp/countpairs_wp

Thanks for pointing me to this, @manodeep . I'm partway through my fully-cythonized overhaul, so your timing to point me to the relevant files is good.

@aphearin No problem at all. We might want to re-run the timing tests here once your cython version is ready.
Btw, I discovered that AVX gives up to a factor of 4 speedup in certain cases -- for e.g., large Rmax (although not in the ones we were looking at).


Have any plugins that can work around this routing limitation?

https://www.krakend.io/docs/endpoints/creating-endpoints/#endpoint-variables
A request like /user/1/2 won’t be recognized by this endpoint. For such scenario you need to declare /user/{first}/{second}.
I looked up the official documents and saw this rule. Have any plugins that can work around this routing limitation?

The new router implemented on KrakenD 1.4.1 is much more flexible now.


Assign user gift cards and orders when account is registered or user email has been changed

Assign gift cards and orders when an email is changed in:

ConfirmEmailChange
AccountRegister
StaffUpdate
CustomerUpdate

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-4598 When register new account assign user gift cards when exists


do something about broken timestamps after seeking

i've only thought of two possible solutions:

make a config option to use timestamps in status
this is the "best" solution, exceeept it'll delay update times and it's not RT, unlike proper timestamps
update timestamps every 15 seconds (ratelimit)
this solution is, well, not so good; it's RT buuuuut it's super buggy when updating constantly (time slightly out of sync each time it updates)
oh and also, this'll also delay update times but it's possible to be able to enable this with a config option

commit 9615ced3b9672aaa0a698992993cf1aadae7b3da partly addresses this

commit cf5931a9b268dc18d43d887947501d3be530e69e closes this


build(deps): split up dependencies by document type

Summary
Closes #611. Updates the dependencies to create a slim base installation + extras for each document type. The all-docs extra includes the dependencies for all doc types. The local-inference extra still remains as an alias for all-docs since that's the extra many currently users use to install all of the dependencies.
As a follow on, the PDF and image requirements could be broken down further by strategy.
Testing

In a fresh virtual environment, run make install-base and pip install -r requirements/test.txt and pip install -e .. The following tests should pass:

pytest test_unstructured/partition/test_text.py
pytest test_unstructured/partition/test_email.py
pytest test_unstructured/partition/test_html_partition.py
pytest test_unstructured/partition/test_text.py
pytest test_unstructured/partition/test_xml_partition.py

Run make install-csv. The following tests should pass:

pytest test_unstructured/partition/test_csv.py
pytest test_unstructured/partition/test_tsv.py

Run make install-docx. The following tests should pass:

pytest test_unstructured/partition/test_doc.py
pytest test_unstructured/partition/test_docx.py

Run make install-odt. The following tests should pass:

pytest test_unstructured/partition/test_odt.py

Run make install-pypandoc. The following tests should pass:

pytest test_unstructured/partition/test_epub.py
pytest test_unstructured/partition/test_org.py
pytest test_unstructured/partition/test_rst.py
pytest test_unstructured/partition/test_rtf.py

Run make install-markdown. The following tests should pass:

pytest test_unstructured/partition/test_md.py

Run make install-msg. The following tests should pass:

pytest test_unstructured/partition/test_msg.py

Run make install-pdf-image. The following tests should pass:

pytest test_unstructured/partition/test_pdf.py
pytest test_unstructured/partition/test_image.py

Run make install-pptx. The following tests should pass:

pytest test_unstructured/partition/test_ppt.py
pytest test_unstructured/partition/test_pptx.py

Run make install-xlsx. The following tests should pass:

pytest test_unstructured/partition/test_xlsx.py

Run make install-ci and pip install argilla weaviate-client. make test should pass

Test test_unstructured/partition/test_json.py is currently a little weird because there are tests in there that use partition, making it hard to test partition_json isolation. I opened #993 to address that.

The pattern looks good to me. Hoping to merge https://github.com/Unstructured-IO/unstructured/pull/997 ahead of this to get the field name change released first.


Fix an issue where JSON schema extras weren't JSON encoded

Closes https://github.com/tiangolo/fastapi/issues/10321
As far as I can tell, in v1, we would json encode anything extra (which included the examples). So I think this is restoring intended behavior (and as far as I can imagine is objectively better behavior in all circumstances where it might affect things).
@Kludex for reference

Note this doesn't affect the result of a mutating json_schema_extra. To make that work would be a bit more complex because it makes in-place changes, so a straightforward call to to_jsonable_python won't work out of the box as that won't mutate the input. But it could be made to work, I'm just not sure it's worth the overhead it would add.


soroban-rpc: Implement Captive core usage

epic - https://github.com/stellar/go/issues/4674
Acceptance Criteria: implement the decision from https://github.com/stellar/go/issues/4681
[12/16/22] scope of the data backend design in https://github.com/stellar/go/issues/4681 has widened to cover all data model of rpc and include usage of captive core and ingestion, this came about after RPC design discussion had consensus to go with 0.5 option

Horizon usage in rpc to be removed in favor of captive core and new custom ingestion to a data model and persistence layer identified by design.

This will be based on the final design of data backend.

per discussion on Friday:
We need to add captive core ( but not remote captive core ) to soroban-rpc. This means that soroban-rpc need to have all the command line arguments needed to support the captive core + adding the invocation of captive core. (#4682)

@tamirms , @2opremio , is this effectively done now?  since #322 PR on tools  added captive core to rpc.

This issue is for events (although it doesn’t specify it the title). The tools PR implements captive core support for ledger entries https://github.com/stellar/go/issues/4717 .


SALTBUILDOUTPUT

Hi,
I have created a second "execute shell" build step with "echo $SALTBUILDOUTPUT".
I get this output -
[SaltTest] $ /bin/sh -xe /tmp/hudson5707637232705926996.sh

echo

Can you please help?
Thanks!
Ido

That's exactly how it works for me.
Building in workspace /Users/mchughc/work/gits/saltstack-plugin/work/jobs/classic salt/workspace

[workspace] $ /bin/sh -xe /var/folders/b4/s7djtn515839jw5vbyjtw4r9cl4xp7/T/hudson4931263920961539038.sh
+ echo '[{"success":true}]'
[{"success":true}]
Finished: SUCCESS

Command is: echo $SALTBUILDOUTPUT
What version of the plugin are you running?

1.7.1

Hi,
Sorry for asking again.
Is there any update?
Thanks!
Ido

In poking around with this I am unable to replicate. Is there anything special about your Jenkins environment? Is this operation being done within a docker slave or anything? (Not that anything there should cause this to not work). Perhaps Selinux limits?

I'm closing this issue because I don't need to use this var for now.
Thanks!


Update new_session documentation

Documentation needs to be updated to line up with the API.

Derp, not sure why the build is failing - I only updated the documentation. Any thoughts?

Looks good to me! don't mind that CI output, it was testing against tmux trunk.


doc: update bbin install path

I tried following the installation instructions for deps-try using bbin, and they no longer work. The install path seems to have changed, with the jar now being called deps-try-bb.jar instead of deps-try.jar.

This might not be the correct thing to do, but I figured updating the README can't hurt. :smile:

@mdiin thanks for the catch! I went with the --as deps-try for now. Maybe later the artifact should be renamed.


[libgit2] update to 0.27.3

Update libgit2 and support static build.

Thanks for the PR!
vcpkg_from_github() already passes BUILD_SHARED_LIBS based on the VCPKG_LIBRARY_LINKAGE setting, so explicitly testing and adding it is not needed. Note that the valid settings are dynamic and static.
LGTM pending CI validation!

@ras0219-msft  Thanks.

@ras0219-msft Update to 0.27.4 see: https://github.com/libgit2/libgit2/releases/tag/v0.27.4 fix smart protocol.

Thanks again!


Namadillo should always auto detected the extension, not only on boot

We are checking the extension existence only when booting Namadillo, we should create an interval to check the Extension constantly, then we don't need to refresh the page to start using the UI

closed by https://github.com/anoma/namada-interface/pull/1362


Rename identity domain to trust domain.

Trust domain complies with the SPIFFE standards:
https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE-ID.md#21-trust-domain
This PR is related to #9559, applying the same changes in V1.1 to avoid backward-incompatibility.
As there was a lot of discussion about the flag name in our other PR #9059 we want to rename here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: myidpt
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: greghanson
If they are not already assigned, you can assign the PR to them by writing /assign @greghanson in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS
security/OWNERS [myidpt]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@myidpt: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-local-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myidpt: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myidpt: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myidpt: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test e2e-mixer-no_auth

prow/e2e-mixer-no_auth-mcp.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test e2e-mixer-no_auth-mcp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test prow/e2e-mixer-no_auth.sh

/test all

@myidpt: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-k8s-tests

prow/e2e-mixer-no_auth.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test e2e-mixer-no_auth

prow/e2e-mixer-no_auth-mcp.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test e2e-mixer-no_auth-mcp

prow/istio-integ-local-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-local-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@myidpt: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test e2e-mixer-no_auth

prow/e2e-mixer-no_auth-mcp.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test e2e-mixer-no_auth-mcp

prow/istio-integ-local-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
737db30e693dbe60d8cc7237dbfbc31b62ea3d64
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm @elevran PTAL, thanks!

Duplicate of https://github.com/istio/istio/pull/9740.


Further improve fcall speed

This looks like a bit more changes than you wrote in patch, hope it won't break anything.

:-) I was about to ask you to benchmark this PR

Well im home already, will check it out tomorrow when will be in work.

I have eliminated zend_string allocation in zephir_make_fcall_key() (it is on hot path) and use static buffer instead. In theory, this should not break anything as I have not changed any logic.

$this->f()         1.809
self::f()          1.917
self::f() -> true  1.931

With the latest changes (eliminated one memcpy):
$this->f()         1.717
self::f()          1.846
self::f() -> true  1.841

Well and orginally without this pr what were your result?

$this->f()         2.134
self::f()          2.282
self::f() -> true  2.292

~20% faster now

Well then nice, i will check tomorrow cuz im on other pc without vagrant or docker and would need to install everything and im too lazy for today to do this.

$this->f()         0.635
self::f()          0.739
self::f() -> true  0.746
------------------------
Total              5.285

Yea, nice now. Without this:
$this->f()         0.731
self::f()          0.827
self::f() -> true  0.924
------------------------
Total              5.917

What are your figures for 0.9.6a-dev?

$this->f()         0.260
self::f()          0.266
self::f() -> true  0.262

3x difference :-(

Yea it is :C if you will be able to do anything that it would be great, but still - it's better than before, before.

I had an enlightenment. Could you please test sjinks/zephir@6ad6016?

$this->f()         0.361
self::f()          0.361
self::f() -> true  0.366

Such a small change and such a boost ;o


Having error Unknown File Extension while migrating the  migrations

Recently i installed the tspace-mysql because it seems to be so easy and clear to code. but whenever i create a migration and migrate it using npx tspace-mysql migrate --dir... it shows error that "unkown file extension" i dont know what is the problem  if anyone has seen this problem help me solve it. the image is below...

Could you re-write file create_users_table.ts to .js  , then try use npx  tspace-mysql migrate --dir --type=js,
Your project base on type .js
If there are any issues, i will fix it next version ,thank you

i recommend you use https://www.npmjs.com/package/tspace-mysql#sync

I got the temporary solution, in your package.json you can temprory  change the "type": "module"  to  "type": "commonjs", but it is temporary solution not a permanent solution, i hope that in upcoming version or commit that will be solved,


2021-02-01-succinctset: Fix link is incorrect

Fix incorrect links.
For example slim links to https://github.com/openacid/slim%20slim instead.

Oh my...  I thought I checked the links!
Maybe the rendering engine was upgraded? 🤔
Thanks, man! I'm gonna have a check on all of the links


Update appfilter.xml

Hi, this is a sample repository, if you want icons in an icon-pack, you have to add it in the icon-pack's directory


Remote Browser: Wrong Directory with similiar name

Hello, I'm having a weird issue with the remote browser.
I have two sub folder in wordpress and they are called like this:

wp-content

themes

Divi
Divi Child Theme

Basically, if I try to access 'Divi Child Theme', it shows me 'Divi' folder files
Is this a real or I'm just doing it wrong?

Do you read the FAQ?

[ ] Yes.
[ ] I am going to read now.

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

Go to '...'
Run command '....'
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.
Desktop (please complete the following information):

OS: [e.g. Mac, Win, Linux]
VSCode Version [e.g. 1.27.0]
Extension Version [e.g. 1.7.0]

Extension Logs from Startup - required

Open User Settings.

On Windows/Linux - File > Preferences > Settings
On macOS - Code > Preferences > Settings

Set sftp.debug to true and reload vscode.

Reproduce the problem, get the logs from View > Output > sftp.


Add a test for catching undocumented public interfaces

This PR adds a test in UndocumentedPublicClassSpec that validated behavior for catching uncommented public interfaces, which did not exist before. I wrote this for myself to validate this assumption because I did not see it in the test file already.
I realize that this is already covered in the documentation: "This rule reports public classes, objects and interfaces". But I missed that on initial read and went to the test to check my assumption

I updated to fix that test! Thanks for posting that error
I had been running ./gradlew build locally, which did not show the error. Is there a better way to run all of the tests?

I updated to fix that test! Thanks for posting that error
I had been running ./gradlew build locally, which did not show the error. Is there a better way to run all of the tests?

Detekt's tests compile test snippets to detect invalid Kotlin code being passed to the static analysis rule.
You can add the argument -Pcompile-test-snippets=true.
Locally, those tests run without compiling the test snippets for achieving better test-runtimes.

Ah that makes sense, thanks for explaining
This passes ./gradlew build -Pcompile-test-snippets=true now, so I think it is good to go


Is there an ask cli for python ?

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ x] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Context
There is a cool ASK CLI for nodejs . i was wondering if we have something like that for python.

Currently we don't support that but thank you for your feature request, please pitch in ideas to User Voice. If it already exists, make sure to give your vote!

thanks @sungolivia I posted the request in User Voice.

Hey @ravsau , thanks for posting it on the user voice. Once approved, please link the post here, in case others would want to 👍 it!!

Hi @nikhilym . For sure, I will monitor the status  and report back here once approved.

Hey @ravsau , did you try using the ask-cli with your python skill? Some of the commands on ask-cli is specific to NodeJS. But I can see that if you have a skill already deployed on lambda, then you can do an ask clone to get the skill code, work on it and ask deploy to deploy it accordingly. This works until you are good with the same dependencies that your initial skill code was deployed with.

@nikhilym Yes , it seems to be working for the test simulation. I'll test more things later. Thanks

Hey @ravsau , the new version of ASK CLI supports Python Skills now.


ESP Matter app connect to WiFi failed

Hi Espressif Experts,
I tried to run the light DEMO but the ESP Matter app showed that the transaction timed out.
The detail:
board chip: ESP32
ubuntu 20.04 on virtual machine
idf.4.4.2
matter code commited by 2020.9.13
After scanning the QR code, I chose the WiFi item. Then the device should have succeeded in  connecting to the AP (I initiated the AP from the iphone). But after a while, the app showed that the transaction timed out. And the log in terminal is showned as below:
I (19053) chip[EM]: Received message of type 0x8 with protocolId (0, 1) and MessageCounter:489898 on exchange 41313r
I (19063) chip[NP]: ESP NetworkCommissioningDelegate: SSID: young
I (19063) chip[DL]: Disconnecting WiFi station interface
I (19073) wifi:state: run -> init (0)
I (19073) wifi:pm stop, total sleep time: 13168002 us / 16545894 us
W (19073) wifi:idx
I (19093) wifi:new:<6,0>, old:<6,0>, ap:<255,255>, sta:<6,0>, prof:1
I (19123) chip[DL]: WiFi station mode change: Enabled -> Disabled
I (19143) chip[DL]: Changing ESP WiFi mode: STA -> STA+AP
I (19153) wifi:mode : sta (b8:d6:1a:33:d0:e4) + softAP (b8:d6:1a:33:d0:e5)
I (19153) wifi:Total power save buffer number: 16
I (19153) wifi:Init max length of beacon: 752/752
I (19163) wifi:Init max length of beacon: 752/752
I (19183) chip[DL]: WiFi station mode change: Disabled -> Enabled
E (19183) chip[DL]: Long dispatch time: 131 ms, for event type 7
I (19183) chip[DL]: WIFI_EVENT_STA_DISCONNECTED
W (19193) wifi:Haven't to connect to a suitable AP now!
I (19193) chip[DL]: WiFi station state change: Connected -> NotConnected
I (19213) chip[DL]: WiFi station interface disconnected
I (19213) chip[ZCL]: WiFiDiagnosticsDelegate: OnDisconnectionDetected
I (19223) chip[ZCL]: WiFiDiagnosticsDelegate: OnConnectionStatusChanged
I (19223) chip[DL]: IPv4 Internet connectivity LOST
I (19223) chip[DL]: IPv6 Internet connectivity LOST
I (19243) chip[DL]: Attempting to connect WiFi station interface
I (19243) chip[DL]: WiFi station state change: NotConnected -> Connecting
I (19253) wifi:I (19253) chip[DL]: Done driving station state, nothing else to do...
ap channel adjust o:1,1 n:6,2
I (19253) wifi:new:<6,0>, old:<1,1>, ap:<6,2>, sta:<6,0>, prof:1
I (19273) wifi:state: init -> auth (b0)
I (19273) chip[DL]: Done driving station state, nothing else to do...
I (19273) chip[DL]: Done driving station state, nothing else to do...
I (19283) wifi:state: auth -> assoc (0)
I (19293) chip[DL]: Done driving station state, nothing else to do...
I (19293) chip[DL]: WIFI_EVENT_AP_START
I (19303) wifi:I (19303) chip[DL]: WiFi AP state change: NotActive -> Active
state: assoc -> run (10)
I (19303) chip[DL]: Changing ESP WiFi mode: STA+AP -> STA
I (19323) wifi:mode : sta (b8:d6:1a:33:d0:e4)
I (19333) chip[DL]: WiFi AP state change: Active -> Deactivating
I (19333) chip[DL]: Updating advertising data
I (19333) chip[DL]: WIFI_EVENT_AP_STOP
I (19343) chip[DL]: WiFi AP state change: Deactivating -> NotActive
I (19363) wifi:connected with young, aid = 1, channel 6, BW20, bssid = 0e:ed:4c:f3:55:ff
I (19363) wifi:security: WPA2-PSK, phy: bgn, rssi: -52
I (19383) wifi:pm start, type: 1
I (19383) chip[DL]: WIFI_EVENT_STA_CONNECTED
I (19393) chip[DL]: WiFi station state change: Connecting -> Connecting_Succeeded
I (19393) chip[DL]: WiFi station state change: Connecting_Succeeded -> Connected
I (19403) chip[DL]: WiFi station interface connected
I (19403) esp_matter_attribute: ********** Endpoint 0x0000's Cluster 0x0030's Attribute 0x0000 is 16 **********
I (19423) chip[IN]: Prepared secure message 0x3ffe65b4 to 0xFFFFFFFB00000000 (1)  of type 0x9 and protocolId (0, 1) on exchange 41313r with MessageCounter:215812904.
I (19433) chip[IN]: Sending encrypted msg 0x3ffe65b4 with MessageCounter:215812904 to 0xFFFFFFFB00000000 (1) at monotonic time:<PHONE_NUMBER>0048BC msec
W (19433) wifi:idx:0 (ifx:0, 0e:ed:4c:f3:55:ff), tid:0, ssn:2, winSize:64I (19453) NimBLE: GATT procedure initiated: indicate;
I (19463) NimBLE: att_handle=14
I (19463) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 0
I (19483) chip[ZCL]: WiFiDiagnosticsDelegate: OnConnectionStatusChanged
I (19483) chip[DL]: Done driving station state, nothing else to do...
I (19483) chip[DIS]: Advertise operational node 2160C831DCCAD7D4-0000000000000041
I (19503) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'; instance name: 2160C831DCCAD7D4-0000000000000041.
I (19513) chip[DIS]: mDNS service published: _matter._tcp
I (19513) chip[SVR]: Operational advertising enabled
I (19523) chip[DL]: Updating advertising data
I (19563) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (19633) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (20263) esp_netif_handlers: sta ip: <IP_ADDRESS>, mask: <IP_ADDRESS>, gw: <IP_ADDRESS>
I (20263) chip[DL]: IP_EVENT_STA_GOT_IP
I (20263) chip[DL]: IPv4 address ready on WiFi station interface: <IP_ADDRESS>/<IP_ADDRESS> gateway <IP_ADDRESS>
I (20283) chip[DL]: IPv4 Internet connectivity ESTABLISHED
I (20293) app_main: Interface IP Address changed
I (20293) chip[DIS]: Updating services using commissioning mode 0
I (20303) chip[DIS]: CHIP minimal mDNS started advertising.
I (20313) chip[DIS]: Advertise operational node 2160C831DCCAD7D4-0000000000000041
I (20313) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'; instance name: 2160C831DCCAD7D4-0000000000000041.
I (20333) chip[DIS]: mDNS service published: _matter._tcp
I (20333) ROUTE_HOOK: Hook already installed on netif, skip...
I (21263) chip[DL]: IP_EVENT_GOT_IP6
I (21263) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: fe80:0000:0000:0000:bad6:1aff:fe33:d0e4
I (21273) app_main: Interface IP Address changed
I (21273) chip[DIS]: Updating services using commissioning mode 0
I (21273) chip[DIS]: CHIP minimal mDNS started advertising.
I (21293) chip[DIS]: Advertise operational node 2160C831DCCAD7D4-0000000000000041
I (21303) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'; instance name: 2160C831DCCAD7D4-0000000000000041.
I (21313) chip[DIS]: mDNS service published: _matter._tcp
I (21323) ROUTE_HOOK: Hook already installed on netif, skip...
I (22063) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 0 12
I (24263) chip[DL]: IP_EVENT_GOT_IP6
I (24263) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: 2408:8459:5060:166e:bad6:1aff:fe33:d0e4
I (24273) chip[DL]: IPv6 Internet connectivity ESTABLISHED
I (24273) app_main: Interface IP Address changed
I (24273) chip[DIS]: Updating services using commissioning mode 0
I (24293) chip[DIS]: CHIP minimal mDNS started advertising.
I (24303) chip[DIS]: Advertise operational node 2160C831DCCAD7D4-0000000000000041
I (24303) chip[DIS]: CHIP minimal mDNS configured as 'Operational device'; instance name: 2160C831DCCAD7D4-0000000000000041.
I (24323) chip[DIS]: mDNS service published: _matter._tcp
I (24323) ROUTE_HOOK: Hook already installed on netif, skip...
I (24573) NimBLE: GATT procedure initiated: indicate;
I (24573) NimBLE: att_handle=14
I (24573) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 0
I (24643) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (27163) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 0 12
I (29663) NimBLE: GATT procedure initiated: indicate;
I (29673) NimBLE: att_handle=14
I (29673) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 0
I (29743) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (32203) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 0 12
I (34703) NimBLE: GATT procedure initiated: indicate;
I (34713) NimBLE: att_handle=14
I (34713) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 0
I (34753) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (37243) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 0 12
I (39743) NimBLE: GATT procedure initiated: indicate;
I (39753) NimBLE: att_handle=14
I (39753) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 0
I (39793) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
I (42343) CHIP[DL]: Write request received for CHIPoBLE RX characteristic con 0 12
I (44843) NimBLE: GATT procedure initiated: indicate;
I (44853) NimBLE: att_handle=14
I (44853) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 0
I (44893) chip[DL]: Confirm received for CHIPoBLE TX characteristic indication (con 0) status= 14
E (59863) chip[BLE]: ack recv timeout, closing ep 0x3ffcbf20
I (59863) chip[BLE]: Releasing end point's BLE connection back to application.
I (74563) chip[FS]: Fail-safe timer expired
thanks

@linhr3 Can you please try out with the latest codebase? Also, please share the software version of the iPhone and the HomePod/Apple TV, so that we can try that out. Note that, you would require the hub to perform successful commissioning.

@dhrishi Hello
We tried with the lastest codebase but still failed.
Detail:
iphone12promax
system: ios 16.1
We do not have the HomePod/Apple TV and did not try with them. We tried with Espressif-Matter app (V1.0.2) from App Store. And the app even could not pair with the esp32 device this time with the lastest codebase.
Shoud we need the hub (HomePod or Apple TV) to perform the commission? We will buy a HomePod soon.

@dhrishi Hi
We added the board to Apple Home with a HomePod successfully. Thanks!
There is still a question that why we need a HomePod or a Apple TV as a hub to perform successful commissioning? What role does a hub play during commissioning? Thank you.


Fixed the emoji size aligning with the text

@daminisatya This looks alright and fixes the issue but you have 2 commits to fix this. Can you squash your commits to make them one single commit. Here is something that could help you.
https://asciinema.org/a/11269
Once you're successfully rebased check git log to ensure that there's only one commit from you to fix this issue and force push it git push origin fix_585 -f to ensure that git doesn't complain about pull before push.

@sudheesh001 Squashed the commits !

Looks good @daminisatya Thank you


Validate Localization not working after changing rootnamespace

Need to play around with https://github.com/aspnet/AspNetCore/issues/10639

@pranavkm I think we fixed this one, Is there a scenario or example that we need to provide for this one?


typedef struct {} name

Fixes #427
It looks like clang is doing the hard work of getting the right name from the typedef, but it falls back to arbitrary pretty-printed descriptions if it can't find a typedef. I couldn't find an API to check whether the name comes from a typedef, so I just filter out non-ident-like spellings.

 Warning

These commits modify unsafe code. Please review it carefully!

Oh, one last request, can you test this works inside C++ namespaces? You can re-use tests/headers/namespace.hpp for it.

Yes, in C++ it's something like (anonymous namespace)::foo. However, I don't think this feature is useful in C++, so it's not a problem.
Only C has struct and union names in a separate namespace from other type names, so only C needs typedef struct {} to make the name usable without a struct prefix.

@bors-servo r+
Thanks!

:pushpin: Commit 70c61e1 has been approved by emilio

:hourglass: Testing commit 70c61e1 with merge 6774efe...

:sunny: Test successful - status-travis
Approved by: emilio
Pushing 6774efe9af2182e31ba1e11e14eee51ec63f5ab9 to master...


Replace a and b refs in readme with actual and expected

I can never remember the order, and figured I might not be alone.

Seems to have been merged at some point


Isolation for environments in git based subscriptions

Proposed Feature
Currently, for git-based subscriptions, all the branches including the main branch have all the other environment details committed in.  Is it possible to hold only the environment-specific folder in the respective branch? For example,  It is observed that if we delete 'test' folder from the dev branch, when we promote from dev to test, the 'test' folder gets deleted from the test branch.
Can we copy the given artifacts only when we promote from branch to branch?
Motivation
If some environments are to be protected from other environments, say production environment details are to be hidden from the dev and test stages. Dev and test git branches are accessible to the dev team and prod branch is accessible to only the prod team.
Suggested Implementation
Configure the files to be considered for copying the changes to a target branch,

Hi @geowalrus4gh!
There's a lot to this. I'll try to take it bit by bit and see if we can figure something out here.
I'll start with the technical side of things.

Is it possible to hold only the environment-specific folder in the respective branch?

The tricky thing about this is that for various configuration management tools, a single folder won't be enough. I'll use Kustomize to illustrate...
If you point to a Kustomize overlay in the test/ dir, for instance, the kustomization.yaml file probably references files in a base/ dir as well. So, right off the bat, there are at least two dirs. Then consider that overlays can be stacked upon overlays. prod-us-east/ might have region-specific settings on top of prod/, which itself is on top of base/. Now we're talking about three dirs. The situation for Helm is similar, but involves paths to values.yaml files. You might have a base values.yaml file and then layers of additional settings/overrides that are used for different stages. And then, of course, we anticipate additional config management tools also being supported via Argo CD-style config management plugins, and can therefore only guess at what the situation looks like for all those unknown tools.
So... how do we get that list of directories that necessary for each stage? There are basically two choices.

You tell Kargo what directories are important for each stage
Kargo needs to be smart enough to infer which directories are needed for each stage

The problem with no.1 is that it's somewhat onerous for the user.
Their are several problems with no.2:

Could be done for Kustomize, but wouldn't be easy. Kargo would have to learn how to pick apart a DAG of kustomization.yaml files in order to determine all the dirs needed for a stage.
Could not be done for Helm because your "layers" of values.yaml files don't references one another the way that Kustomize overlays do. There is no trail to follow to make inferences about everything that is needed.
Again, anticipating support for CMPs, there isn't really a strategy for learning all the dirs needed that generalizes for all config management tools.

There is a third option -- just run the config management tool, whichever it may be, because it already knows how to do all of this. Store the output of the config management tool instead of storing the input to the config management tool -- which is what Kargo does otherwise. And, in fact, what I have just described as the best solution to this problem is exactly what Kargo Render does.
So the short and expedient answer to your question is: If this is what you want, use Kargo Render.
If, for some reason, you don't want to use Kargo Render, I think there are some other things worth considering:

For example, It is observed that if we delete 'test' folder from the dev branch, when we promote from dev to test, the 'test' folder gets deleted from the test branch.

This is definitely not the way things are supposed to work, although I'd consider this behavior to still be within the realm of possibility if you have misconfigured something. If you'd be willing to share the warehouse and stage configurations that you're using when you observe this situation to be occurring, I can see that's going on.
Commenting on this further, however, why or how would the test/ dir have been deleted from the dev branch in the first place?
Can I take a guess that a person has done that? I base that guess on this statement:
> Dev and test git branches are accessible to the dev team and prod branch is accessible to only the prod team.

Which means there is probably some confusion that needs to be resolved...
Stage/environment-specific branches were not a common pattern before Kargo. In fact, we've heard so many people complain that they've heard this is a bad practice. We've always been fans of it, to be honest, but will concede that in the absence of the right tool, discomfort with it is 100% understandable. We believe Kargo is the tooling that finally makes the practice tenable for most, but a key tenet of that is that those branches are not supposed to be your problem. (We find most people are more accepting of this when they learn this.) They're an implementation detail. They're storage. In a sense, they may as well be S3 buckets instead. (But then this wouldn't be GitOps, right?) What they are not, is they are not supposed to be the user's responsibility to manually maintain.
In summary:
There's a way to do what you want to do and its Kargo Render, but the difficulty you are having probably arises from misconfiguration or from a misunderstanding as to the users' relationships with stage-specific branches, which are purely a means to an end.
Please let me know if this helps at all or if there's anything I'm overlooking here or anything further we could do to help you out.

First, let me rewrite the statement and avoid the confusion.

Dev and test git branches are accessible to the dev team and prod branch is accessible to only the prod team.

to

Dev branch is accessible only to dev team. Test branche is accessible only to the test and the prod branch is accessible to only the prod team.

The idea is to, maintain relevant folder only in the respective branches. that is, dev branch should have 'dev' folder only, the test branch should have 'test' folder only and prod branch have 'prod' folder only.
This ensures the separation of responsibilities. A developer has access to 'dev' branch and he can see the dev configurations. The developer is not allowed to see the test and prod configurations etc. This may vary from case to case though. Isolation is managed using git branches.

Commenting on this further, however, why or how would the test/ dir have been deleted from the dev branch in the first place?

The use case explained above led us to the deletion of the 'test' folder from the dev branch. We purposely did it.

So, right off the bat, there are at least two dirs

Yes, it is ok to have two folders. one for the base folder and one for environment-specific folder. But not other environments' folders. for eg. no 'test' and 'prod' folder in the dev branch. In our use case, we have an umbrella chart, a base values file 'values.yaml' (inside the chart) which will hold all the common values for all environments and another values file 'values-.yaml in the environment folder.
Please note that, we took an assumption in our use case here. An environment-specific file, ie values-env.yaml, is not supposed to be handled by Kargo and will be managed in respective branches by other means (mostly manually). Changes in the below are only expected to be handled by Kargo promotions

Chart templates and other yamls.
base values.yaml
Chart.yaml ( This is where we handle versions of dependents charts (apps) to be considered for promotions)

Kargo Render

Thanks for this pointer, but I didn't see any docs explaining this feature. Could you please help me to locate if any?

This is definitely not the way things are supposed to work

This is all what we did.

The initial setup of the application was performed across all environments, involving the initial promotion to each environment. All branches were automatically created from the main branch, and they initially included all environment folders.
Subsequently, the 'test' and 'prod' folders were deleted from the main branch.
Following that, the 'test' and 'prod' folders were removed from the dev branch.
The 'dev' and 'prod' folders were then deleted from the test branch.
Similarly, the 'dev' and 'test' folders were removed from the prod branch.

A new freight was introduced and successfully promoted from the 'main' branch to the 'dev' branch. Everything seemed to be in order. However, upon promotion to the 'test' branch, it was observed that the 'test' folder had been deleted.
Apologies for the lengthy description.

Subsequently, the 'test' and 'prod' folders were deleted from the main branch.

Your main branch is left with only configuration for dev? It's a bit unconventional to not keep all your config in the trunk.
Kargo executes promotions by taking a specific commit (the commit ID in the freight, which typically is from the trunk), mashing it up with whatever other resources are in the freight (images or charts) and then writing that to somewhere (which happens to be a branch).
Kargo doesn't accommodate any scenario where you're not keeping all your config in the trunk.

It's okay to have all config in the trunk. Access to the trunk branch can be restricted to the dev team.
But when I promote from trunk to dev, it will copy all the environment folders to the dev branch as well?

It's okay to have all config in the trunk.

👍 You had me worried for a hot minute.

But when I promote from trunk to dev, it will copy all the environments folders to the dev branch as well? This is what we wanted to avoid.

Can you elaborate on why you want to avoid this? If those stage-specific branches are viewed as Kargo's internal storage, which I suggested is the right way to think about them, what does it matter?
I'm not saying it doesn't matter, btw. I'm just trying to get to the kernel of the problem.

In our use case, the dev environment is managed by the development team. They have the privilege to configure the development environment to their choice. So the values in the 'dev' env folder must be configured and committed to the git by the dev team. At the same time, they are restricted from viewing the 'test' and 'prod' configurations. Test and prod configs are managed by the DevOps team.

they are restricted from viewing the 'test' and 'prod' configurations.

Doesn't this contradict your other statement?

It's okay to have all config in the trunk.

What is the reason for the restriction?

Sorry for any confusion.

It's okay to have all config in the trunk.

This means we can have all the configs in the trunk, provided the development team will be restricted from accessing the trunk branch. They will get access to the dev branch only.

Why the restriction?

There may be sensitive information in the test and production configurations that we [the DevOps team] do not want to expose to the development team. If we give trunk access to the development team and we have all environment configs in the trunk, they are all open to the dev team.

It sounds like there is a secrets management problem that you have not addressed. If not addressing it has painted you into a corner where devs and devops cannot work from a single branch, that is the least of your worries. Secrets should not be stored in git.

It's not only secrets, but the security policy in our organization mandates to hide the production configuration from the dev team.
For secrets, we have started using sealed secrets like secret management solutions to the stack. Bringing in everything phase by phase. But some dev teams are still using secrets in the git for the time being until they bring in the sealed secrets to stack.

For secrets, we have started using sealed secrets

That is good to know.

but the security policy in our organization mandates to hide the production configuration from the dev team

What apart from secrets is the policy attempting to protect? All of this, seems like a self-imposed problem.


Update README.md

Clarify where to get zpty from.
Info from https://apple.stackexchange.com/a/416099 and https://zsh.sourceforge.io/releases.html .

Thanks!


Incompatible with Sodium Extra

Anytime you try launching the game with this mod and Sodium Extra, the game crashes. I'm using v1.0.1 of this mod with v0.5.1 of Sodium Extra. I already tried putting mixin.sky=false in the Sodium Extra config like the dev said to do, and it didn't fix it.
crash-2023-08-24_18.26.16-client.txt
latest.log

You will have to disable the sun and moon rendering from Sodium Extra too by adding the option mixin.sun_moon=false


Finish docs cleanup

The docker-pull-image.yml template was only used by update-docsms-metadata.yml and even then, only Java, JS and Python. All of the aforementioned languages now use the "2docfx" tools do docs generation verification and no longer require the docker images.
The scripts that took the docker image id as a parameter have had that parameter removed and no longer pass that option to any functions/function pointers.
@danieljurek removed the docker images, themselves.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Security fix for Prototype Pollution

:bar_chart: Metadata *
json-merge-patch-in-place is vulnerable to Prototype Pollution.
Bounty URL: https://www.huntr.dev/bounties/1-npm-json-merge-patch-in-place
:gear: Description *
Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects.
JavaScript allows all Object attributes to be altered, including their magical attributes such as __proto__, constructor and prototype. An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values. Properties on the Object.prototype are then inherited by all the JavaScript objects through the prototype chain.
:computer: Technical Description *
Fix implemented by not allowing to modify object prototype.
:bug: Proof of Concept (PoC) *

Create the following PoC file:

// poc.js
var { patch } = require("json-merge-patch-in-place")
const payload = JSON.parse('{"__proto__":{"polluted":"Yes! Its Polluted"}}');
var obj = {}
console.log("Before : " + {}.polluted);
patch(obj, payload);
console.log("After : " + {}.polluted);

Execute the following commands in terminal:

npm i json-merge-patch-in-place # Install affected module
node poc.js #  Run the PoC

Check the Output:

Before : undefined
After : Yes! Its Polluted

:fire: Proof of Fix (PoF) *
I've added unit tests for Prototype Pollution

+1 User Acceptance Testing (UAT)

I've executed unit tests.
After fix the functionality is unaffected.

👋 Hello, @RonPenton - @arjunshibu has opened a PR to us with a fix for a potential vulnerability in your repository. To view the vulnerability, please refer to the bounty URL in the first comment, above.
Ultimately, you get to decide if the fix is 👍 or 👎. If you are happy with the fix, please write a new comment (@huntr-helper - LGTM) and we will open a PR to your repository with the fix. All remaining PRs for this vulnerability will be automatically closed.
If you have any questions or need support, come and join us on our community Discord!
@RonPenton & @arjunshibu - thank you for your efforts in securing the world’s open source code! 🎉


Upgrading one package (mise) broke two other packages (eza, bat)

brew doctor output
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  python-magic

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  llvm@13
<EMAIL_ADDRESS>  pup
  python-dateutil
  python-packaging
<EMAIL_ADDRESS>
Warning: You have the following deprecated, official taps tapped:
  Homebrew/homebrew-cask-fonts
Untap them with `brew untap`.

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  zls

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
$ brew config
HOMEBREW_VERSION: 4.3.12-6-g3ac3fee
ORIGIN: https://github.com/Homebrew/brew
HEAD: 3ac3feed3c060df4c4799591b2119392b1fe5be2
Last commit: 5 hours ago
Core tap HEAD: 183f6f5b6683ba7794fa4a496a4fc486918295b6
Core tap last commit: 11 days ago
Core tap JSON: 30 Jul 15:02 UTC
Core cask tap HEAD: bdd62f826e8fd28f8343da53f7ccc1b8e9327d77
Core cask tap last commit: 11 days ago
Core cask tap JSON: 30 Jul 15:02 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_BAT_THEME: ansi
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: /opt/homebrew/bin/nvim
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.3.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.43.2 => /opt/homebrew/bin/git
Curl: 8.6.0 => /usr/bin/curl
macOS: 14.5-arm64
CLT: <IP_ADDRESS>.1.1708646388
Xcode: 15.4
Rosetta 2: false

What were you trying to do (and why)?
I upgraded mise with brew upgrade mise
What happened (include all command output)?

upgrading mise upgraded libgit2

full output for `brew upgrade mise`
$ brew upgrade mise
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Upgrading 1 outdated package:
mise 2024.6.2 -> 2024.7.5
==> Downloading https://ghcr.io/v2/homebrew/core/mise/manifests/2024.7.5
##################################################################################################################################################################################################################### 100.0%
==> Fetching dependencies for mise: libgit2
==> Downloading https://ghcr.io/v2/homebrew/core/libgit2/manifests/1.8.1
##################################################################################################################################################################################################################### 100.0%
==> Fetching libgit2
==> Downloading https://ghcr.io/v2/homebrew/core/libgit2/blobs/sha256:c74a306a3d2a68d22dd3951ca1a2fb0c566fccd4ff7ac1b40c75fb739cf4359f
##################################################################################################################################################################################################################### 100.0%
==> Fetching mise
==> Downloading https://ghcr.io/v2/homebrew/core/mise/blobs/sha256:7d420ff645c77e2d82e85f10aaa7806a43441f495e4a45aa78679abaffa9da38
##################################################################################################################################################################################################################### 100.0%
==> Upgrading mise
  2024.6.2 -> 2024.7.5
==> Installing dependencies for mise: libgit2
==> Installing mise dependency: libgit2
==> Downloading https://ghcr.io/v2/homebrew/core/libgit2/manifests/1.8.1
Already downloaded: /Users/llimllib/Library/Caches/Homebrew/downloads/84b074c6d1ee51616dfba962c9b638aeda6093080b5ebf82e6a02017bce44215--libgit2-1.8.1.bottle_manifest.json
==> Verifying attestation for libgit2
==> Pouring libgit2--1.8.1.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libgit2/1.8.1: 106 files, 4.7MB
==> Installing mise
==> Verifying attestation for mise
==> Pouring mise--2024.7.5.arm64_sonoma.bottle.tar.gz
==> Caveats
If you are using fish shell, mise will be activated for you automatically.

zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Summary
🍺  /opt/homebrew/Cellar/mise/2024.7.5: 15 files, 18MB
==> Running `brew cleanup mise`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /opt/homebrew/Cellar/mise/2024.6.2... (15 files, 18.2MB)
Removing: /Users/llimllib/Library/Caches/Homebrew/mise_bottle_manifest--2024.6.2... (11KB)
Removing: /Users/llimllib/Library/Caches/Homebrew/mise_bottle_manifest--2024.7.0... (11.4KB)
==> Upgrading 2 dependents of upgraded formulae:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
bat 0.24.0 -> 0.24.0_1, eza 0.18.13 -> 0.18.23
==> Downloading https://ghcr.io/v2/homebrew/core/bat/manifests/0.24.0_1
##################################################################################################################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/eza/manifests/0.18.23
##################################################################################################################################################################################################################### 100.0%
==> Checking for dependents of upgraded formulae...
==> No broken dependents to reinstall!
==> Caveats
==> mise
If you are using fish shell, mise will be activated for you automatically.

zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions

you can see from that output that brew correctly ascertained that bat and eza were linked against the old libgit2, and tried to upgrade them
However, the upgrade seems to have not worked for some reason and they are both the old version linked to the now-missing libgit2; they fail with Library not loaded

investigating the eza package
$ brew info eza
==> eza: stable 0.18.23 (bottled)
Modern, maintained replacement for ls
https://github.com/eza-community/eza
Installed
/opt/homebrew/Cellar/eza/0.18.13 (14 files, 1003.0KB) *
  Poured from bottle using the formulae.brew.sh API on 2024-05-01 at 14:13:52
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/e/eza.rb
License: MIT
==> Dependencies
Build: pandoc ✘, pkg-config ✔, rust ✘
Required: libgit2 ✔
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Analytics
install: 16,224 (30 days), 44,705 (90 days), 115,919 (365 days)
install-on-request: 16,225 (30 days), 44,705 (90 days), 115,918 (365 days)
build-error: 11 (30 days)

$ ls /opt/homebrew/Cellar/eza/
0.18.13/

$ eza
dyld[36490]: Library not loaded: /opt/homebrew/opt/libgit2/lib/libgit2.1.7.dylib
  Referenced from: <4568B803-1560-367E-A1E5-BE062C6828B8> /opt/homebrew/Cellar/eza/0.18.13/bin/eza
  Reason: tried: '/opt/homebrew/opt/libgit2/lib/libgit2.1.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libgit2/lib/libgit2.1.7.dylib' (no such file), '/opt/homebrew/opt/libgit2/lib/libgit2.1.7.dylib' (no such file), '/opt/homebrew/Cellar/libgit2/1.8.1/lib/libgit2.1.7.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libgit2/1.8.1/lib/libgit2.1.7.dylib' (no such file), '/opt/homebrew/Cellar/libgit2/1.8.1/lib/libgit2.1.7.dylib' (no such file)

What did you expect to happen?
upgrading mise, which upgraded libgit2, ought to have upgraded eza and bat. It reported that it did, but the upgrades seem not to have happened, leaving me with broken packages despite no errors being shown.
I expected either errors to appear, or the packages to work
Step-by-step reproduction instructions (by running brew commands)

install brew such that you have two packages linked to<EMAIL_ADDRESS>upgrade one of them such that brew upgrades to<EMAIL_ADDRESS>note that the output claims to have updated the other package, but it has not, despite no errors being thrown

What's the output of brew outdated?
You should be able to run brew upgrade eza bat to fix the broken installs, but I agree that brew should've handled this automatically. Please check the output of brew outdated before running brew upgrade.
 So I assume bat works now after having upgraded it?

So I assume bat works now after having upgraded it?

correct, brew uninstall bat && brew install bat linked against the proper libgit2 and got me a working bat again

I largely prefer not to update stuff that works, so I have many outdated packages

Homebrew is a rolling release package manager, meaning we only support the latest versions of formulae. You should expect to encounter strange breakage if you do not regularly upgrade.

Homebrew is a rolling release package manager, meaning we only support the latest versions of formulae. You should expect to encounter strange breakage if you do not regularly upgrade.

Yep, but that seems orthogonal to the original issue of brew knowing that it needed to upgrade bat and eza, attempting to start doing so, but never actually doing it.

@p-linnane in this case:

brew correctly reported that it needed to update both packages
brew failed to update them, and reported no error to the user, leaving them in a broken state

surely that is a bug?

Yes, that is a bug. I'm just trying to provide you some additional information that may avoid future issues which are not bugs.

Yep, but that seems orthogonal to the original issue of brew knowing that it needed to upgrade bat and eza, attempting to start doing so, but never actually doing it.

Agreed that this is the issue here and we should fix it.


Update student code review UX

Coverage decreased (-0.2%) to 61.761% when pulling c10849190a3552a76692bd2bcf6f446e02df4e7f on student-cr-ui into 90c3696f7201e0bd39f5ea78ed921f28d94af4df on master.


Investigate expression data p-value cut-off in the pipeline

The p-value cut-off for expression data from Expression atlas is 0.05 but it is 1e-10 in the pipeline (any p-value above 1e-10 is converted to 0 resulting in an association score of 0).

[ ] Investigate whether we have always used 1e-10 in the pipeline (look at data downloads).
[ ] Are all experiments equally affected by this? Look at distributions of p-values.
[ ] Make sure front-end displays p-value as adjusted p-value.

I came across these associations for MIR100HG that have expression evidence with p-values > 1e-10:
https://qa.targetvalidation.org/evidence/ENSG00000205403/EFO_0000319?view=sec:rna_expression
https://qa.targetvalidation.org/evidence/ENSG00000255248/EFO_1000796?view=sec:rna_expression
https://qa.targetvalidation.org/evidence/ENSG00000255248/EFO_0002517?view=sec:rna_expression

2 expression evidence strings with p-values > 1e-10 result in an expression data type association score of 0.003840761 (even though it shows up as 0.00 on the association page).

The reason for the many atlas evidence scores being '0' has been traced to global_stats #338
This code def _get_score_from_pvalue_linear(pvalue, range_min=1, range_max=1e-10) causes all p-values between 1e-10 and 1 to be scaled to 1 to 0 and anything smaller than 1e-10 to be set to 1.


Update workflow.rst

{% url %} will complain if you pass the name of the url without quotes. Will not be able to "parse the remainder".

@cdvv7788 thanks


Remove default value for db_connection_string

It is hardly usable, and it masks away errors when the config isn't loaded properly.
Better to exit if that value is missing, instead of returning a connection error which isn't always very indicative to the fact that there's no db running in the other end.

The default value exists in order to allow the usage of Postgres environment varaibles instead of a connection string, as requested by a user. The solution to this issue should not remove this support.

@johnnyaug would it be OK to have a default empty value (or an invalid value such as not-set://..., and fail after loading configuration if the connection string is still empty?  I believe that would give us the desired failure when no configuration was applied, while still allowing configuration using environment variables.

Do you mean, that in order to use environment variables I would have to explicitly set the connection string according to some convention?

Analysis: lakefs server code works fine with an empty DB connection string.  The only problem seems to be DB migration.  Module golang-migrate/migrate/v4 treats connection strings separately from the underlying database: it parses the schema to determine the name of the DB driver to use, see this call to iurl.SchemeFromURL.  So we have special-case handling of empty strings in our getMigrate.  And that means envariables don't work as they should, anyway.

Analysis: lakefs server code works fine with an empty DB connection string.  The only problem seems to be DB migration.  Module golang-migrate/migrate/v4 treats connection strings separately from the underlying database: it parses the schema to determine the name of the DB driver to use, see this call to iurl.SchemeFromURL.  So we have special-case handling of empty strings in our getMigrate.  And that means envariables don't work as they should, anyway.
Not clear what configuration would (ever) work in an expected manner with both server migration and regular ("pgx-style") operation.  Best I can figure out is to fix upstream.


Out of memory after enabling Sessions for queues

I have the following configuration for SB emulator:

3 queues
1 topic
1 subscription for topic (copying message from topic to queue)

Running emulator successfully without sessions enabled. But after enabling sessions I'm getting "Out of memory":
2024-11-25 11:24:13 info: a.F.aFu[0]
2024-11-25 11:24:13       Creating user defined entities for SB Emulator
2024-11-25 11:24:13 info: a.F.aFu[0]
2024-11-25 11:24:13       Creating queue: exchangeratebatch-inbound-ecb-receive
2024-11-25 11:24:13 info: a.F.aFu[0]
2024-11-25 11:24:13       Creating queue: exchangeratebatch-outbound-exchangeratecoreapi-transform
2024-11-25 11:24:13 info: a.F.aFu[0]
2024-11-25 11:24:13       Creating queue: exchangeratebatch-outbound-exchangeratecoreapi-send
2024-11-25 11:24:13 info: a.F.aFu[0]
2024-11-25 11:24:13       Creating topic: exchangeratebatch
2024-11-25 11:24:13 info: a.F.aFu[0]
2024-11-25 11:24:13       Creating subscription exchangeratebatch-outbound-exchangeratecoreapi for topic: exchangeratebatch
2024-11-25 11:24:13 info: a.F.aFu[0]
2024-11-25 11:24:13       Processing filters for subscription exchangeratebatch-outbound-exchangeratecoreapi for topic: exchangeratebatch
2024-11-25 11:24:13 info: a.F.aFu[0]
2024-11-25 11:24:13       Triggering Entity Sync
2024-11-25 11:24:13 Out of memory.
Tried to increase memory for WSL2, but no effect.
[wsl2]
memory=20GB
Docker is reporting:

Any ideas how to get this working?

This seems to be related to setting "RequiresSession": true for topic subscription. In queues "RequiresSession": true is working fine.

@sovaska ; Can you share the exact config used to reproduce this issue ?
Additionally need help with the Platform (amd64/arrch64) and OS (Linux/Mac/Windows) as well.


Client Allocation Request for: GMWBR INC

Client Allocation Questions
Core Information

Name: GMWBR INC
Website / Social Media: www.gmwbr.org
Region: North America
DataCap Requested: 10TiB
Addresses to be Notarized: f3w4wlayytfmsay6gu5phhij5r4yyx7t4xxrlosgotlmqg5eih3co5atsra4h2pe4qd2d6c76bvhj6nwim7lgq
Notary Requested: XnMatrixSV

@Vincentof Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hi, @Vincentof
Thanks for your request. Can you kindly add more information here.
1.Is your company located in North America？
2.Please give the following informations, duration of etablishment, number of employees, business scope, users volume, number of social media followers, data size to be stored, products or projects, and so on. Provide links to social media/news mentions.
3.The history working on IPFS / Filecoin, e.g. notable contributions to the community, type of engagement shown over time, etc.
Type, size, and source of the data you will be store on Filecoin,e.g. public data or private data, etc. Is there any sensitive or illegal content?
4.How do you intend to store the data on Filecoin, e.g. redundancy, location/miner preferences, etc
5.Have you already apply for DataCap to another notary, and whether it is accepted or rejected. Is there any reliable DataCap left?
6.Would you like to post real transactions on Github?

Yes, it is.
Our compane established in August 21, 2019. There are more than 20 people work for the company.
We serve customers all over the country with more than 500+ users. We have no social media account. The size of the stored data is more than 1P.
GMWBR INC firstly conducts detailed market research for domestic competitive products combined with overseas e-commerce market environment. Mainly for the market volume, market competition, brand concentration and profit margin to make a pre-evaluation plan. Secondly, our core operation team will only recruit those with successful operation experience, operational thinking, sense of responsibility and dedication. We will ensure that qualified people work under the guidance of the company's unified operation philosophy, do a good job in process management and feedback, and timely adjust the operation direction. In the end, the overall data of the overseas operation process will be recorded through the block chain technology, so as to truly complete the new e-commerce model of mutual trust and group going abroad.
No previous exposure to IPFS/Filecoin network.
The data stored are mainly pictures, videos, platform data, store decoration materials, etc., which are all public data without any sensitive or illegal content.
We plan to select about 5 miners and make 3 copies of each data. There is no special preference for miners.
We haven't applied before.
We're willing to post real deals.

Hi, @Vincentof
According to our allocation strategy, we will grant you a maximum of 2TiB.
Please ensure the following informations.
Scoring Result:

The Address：f3w4wlayytfmsay6gu5phhij5r4yyx7t4xxrlosgotlmqg5eih3co5atsra4h2pe4qd2d6c76bvhj6nwim7lgq

Yes.

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzacecksoevva2ysfgwgpsocvtr6ejamk4ohq6di2tdhcdfq45x32arby

Address

f3w4wlayytfmsay6gu5phhij5r4yyx7t4xxrlosgotlmqg5eih3co5atsra4h2pe4qd2d6c76bvhj6nwim7lgq

Datacap Allocated

NaNB

You can check the status of the message here: https://filfox.info/en/message/bafy2bzacecksoevva2ysfgwgpsocvtr6ejamk4ohq6di2tdhcdfq45x32arby


toolbarPlacement being ignored when used with sideBySide

Please refer to jsFiddle
I am trying to set the toolbar to the top when using sideBySide view and it does not work. Is this a bug or is it working as intended?
Thanks.

please check the dev branch


refactor kubeconfig loader into pkg/util/kube

See https://github.com/kubernetes-incubator/service-catalog/pull/2158 for some history of this code.
Right now code in pkg/svcat/ is relied upon by the apiserver and the e2e tests. It's not hurting anything as it is, but it could be put into a better place.
Tasks for completing this issue:

[x] Move the code from pkg/svcat/kube/kube.go to  pkg/util/kube/kube.go and fixup all the imports.
[ ] Bonus points for finding other uses of go-client/tools/clientcmd and making them use this common kubeconfig loader.

This is probably 2 serial PRs worth of work.
/good-first-issue

@MHBauer Hello. I'm interested in getting this done :smile:
And you mean client-go/tree/tools/clientcmd  instead of go-client ?

@Bubblemelon go for it. you can have it. the clientcmd thing looks correct. I just wrote this off the top of my head.
Good Luck We're here to help.

@MHBauer for item 2 on the to do list.

Hello @MHBauer :smile:
For clarity on item 2 in the to do list, are you suggesting to find other projects that might want to utilize go-client? Could you elaborate on this task?

CC: @carolynvs

Sorry I'm not quite sure what @MHBauer was hinting at with the second point?


[Beta]Stock Price Checker project

Hello,
I'm working on the stock price checker project.  The url to get stock prices doesn't work anymore.  I've found a Quandl npm, working with it at the moment.  I was wondering if this project will stay as is with the url not working anymore.

@rmonastra thanks for the issue. I'm assuming the URL you're referring to is https://giant-chronometer.glitch.me/? If so, I can confirm it appears to not be working anymore, unless I'm using it wrong.
cc/ @freeCodeCamp/moderators

@erictleung, the url is: https://finance.google.com/finance/info?q=NASDAQ%3A + stock(GOOG,INTC, etc).  Google and Yahoo have stop supporting these APIs.  I've found 2 free APIs, Quandl and Alpha Vantage but they don't let you call multiple stock symbols unless you download the report.

@rmonastra Thanks for letting us know. Can you see if you can find a good API that will let you call multiple stock symbols?
If it requires an API key, we could build a Glitch.com pass-through app, like we did with the Local Weather app's API.

@QuincyLarson, I'll continue looking for an good free API(with or without an API key) for stock prices.  In the event one can't be found, I was wondering if another subject besides stocks can be used.  I haven't looked into different subjects yet.  If I can find a subject that works similar, I'll post those API for a backup.

@rmonastra We've already replaced this project in our beta curriculum. It is now optional there. But it would still be nice to have a good recommended API for this, if you can find one. My advice would be to continue looking, and if you think you've exhausted the likelihood of reasonably finding one, you can close this issue.
Either way, thanks for all your help with this.

Free api with real time
https://iextrading.com/developer/docs/
I am using for this sp500 realtime dashboard and works very well.
You can call multiple symbols (i call 505 symbols in one request)

@QuincyLarson I'm following the beta curriculum and also ran into the problem of the Google Finance API being deprecated.
The beta website doesn't say anything about this project having become optional though, nor of a replacement for it. Am I looking at the wrong place? Thanks!

Btw for others trying to complete it, I've found the AlphaVantage API works, although it's often offline.


[BugFix] Two problem for restore (#31790) (#32353)

Problem 1:
The problem between restore and tablet meta checkpoint thread still happen, some case does not cover yet.
Problem 2:
If Tablet report and restore execute concurrently, the restored replica will be set bad and lost replica
Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[FE Incremental Coverage Report]
:heart_eyes: pass : 16 / 17 (94.12%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/TabletInvertedIndex.java
16
17
94.12%
[542]

[BE Incremental Coverage Report]
:disappointed: fail : 3 / 8 (37.50%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/tablet.cpp
0
3
00.00%
[1318, 1319, 1320]

:large_blue_circle:
src/runtime/snapshot_loader.cpp
0
2
00.00%
[732, 733]

:large_blue_circle:
src/storage/tablet.h
3
3
100.00%
[]


How to response webhook without agent.add

I faced a problem.
I send a message with "LINE messenger", and call webhook to add a context parameter, I got a following Error.
Error: No responses defined for platform: LINE
    at V2Agent.sendResponses_ (/srv/node_modules/dialogflow-fulfillment/src/v2-agent.js:243:13)
    at WebhookClient.send_ (/srv/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:505:17)
    at promise.then (/srv/node_modules/dialogflow-fulfillment/src/dialogflow-fulfillment.js:316:38)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:229:7)

I look up this library code, and find that, when I use a webhook without response message,
sendResponses_ method in v2-agent.js is called, and following code is executed.
    if (!responseJson) {
      throw new Error(`No responses defined for platform: ${requestSource}`);
    }

someone could you help me?
my code like this
'use strict';

const functions = require('firebase-functions');
const { WebhookClient } = require('dialogflow-fulfillment');
const { Card, Suggestion, Image, Payload, Text } = require('dialogflow-fulfillment');

process.env.DEBUG = 'dialogflow:debug'; // enables lib debugging statements

exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, response) => {
  console.log('Dialogflow Request headers: ' + JSON.stringify(request.headers));
  console.log('Dialogflow Request body: ' + JSON.stringify(request.body));

  const agent = new WebhookClient({ request, response });

  function first_intent(agent) {
    const context_test = {
      "name": "test",
      "lifespan": 2,
      "parameters": {
        "test": "test"
      }
    };
    agent.context.set(context_test);
  }

  // Run the proper function handler based on the matched Dialogflow intent name
  let intentMap = new Map();
  intentMap.set('first_intent', first_intent);
  agent.handleRequest(intentMap);
});

thanks.

so how to solve this issue?

No I cannot resolve this issue, so I add response text which defined in this server instead of Dialogflow Agent.
However, I kind of remember that Error is happen when you add two or more Dialoglow.Text Object (or maybe Custom Payload Object). so be careful to define responses if you defined multiple text message in Dialogflow Agent Intent.

Could you elaborate this for me? I try to make LINE messaging API too, and it worked yesterday when I just deploy it. But now it stuck with this error.
Below is my code, I try to use Intent to send the food name parameter back to Dialogflow since I have to wait for user's answer before I save the history record from it. How can I edit it to make it work?
`JavaScript
const express = require('express');
const Foods = require('../../models/foods-model');
const router = express.Router();
const { WebhookClient } = require('dialogflow-fulfillment');
router.post('/', function (req, res) {
const agent = new WebhookClient({
request: req,
response: res
});
let intentMap = new Map();

intentMap.set('Recommend - condition - yes', (agent) => {
    return new Promise((resolve, reject) => {
        Foods.findOne({ 'tag.ingredient': agent.parameters.condition }).lean().exec((err, found) => {
            if (!found)
                resolve('No requested food in system');
            else {
                Foods.find({ 'tag.ingredient': agent.parameters.condition }).lean().exec((err, selectedFoods) => {
                    try {
                        var random = Math.floor(Math.random() * selectedFoods.length);
                        const food = selectedFoods[random];
                        resolve(`${food.name}`);
                    }
                    catch (err) {
                        reject(err);
                    }
                });
            }
        })
    })
        .then((msg) => {
            agent.setContext({ name: 'response', lifespan: 1, parameters: { food: msg } });
        })
        .catch(err => {
            console.log(err);
        });
});

intentMap.set('Recommend - no condition', (agent) => {
    return new Promise((resolve, reject) => {
        Foods.find().lean().exec((err, foods) => {
            try {
                var random = Math.floor(Math.random() * foods.length);
                const food = foods[random];
                console.log(`randomized food: ${food.name}`);
                resolve(`${food.name}`);
            }
            catch (err) {
                reject(err);
            }
        });
    })
        .then((msg) => {
            agent.setContext({ name: 'response', lifespan: 1, parameters: { food: msg } });
        })
        .catch(err => {
            console.log(err);
        });
});

intentMap.set('Recommend - accepted', (agent) => {
    const history = new userHistory({
        user_id: agent.originalRequest.payload.data.user.id,
        food: agent.getContext('response').parameters.food,
        date: Date.now(),
        accepted: true
    });

    history.save((err, saved) => {
        if (err)
            console.log(err);
        else
            console.log(`user history saved: ${saved}`);
    });
});

agent.handleRequest(intentMap);

});
module.exports = router;
`


⚠ Hartman Foundation has degraded performance

In 1d05e86, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2644 ms

Resolved: Hartman Foundation performance has improved in 4cf7c83.

Resolved: Hartman Foundation performance has improved in 4cf7c83.


Objectmatcher upgrade and smaller fixes

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

License
Apache 2.0

What's in this PR?
Upgrade from the legacy version of the objectmatcher library to use the generic method for matching current and desired object states to decide whether an update is required or not.
Add explicit continue/return statements after object creation to make sure we don't end up trying to update a newly created object. Right now it's not an issue, but it can be if errors are not handled properly.
The PR also adds a small fix to avoid mutating the original map when called on MergeLabels as it resulted in unnecessary updates in certain cases.
Why?
The legacy version was hard to maintain and came with hidden caveats and shortcomings.
Checklist

[x] Implementation tested
[x] Error handling code meets the guideline
[x] Logging code meets the guideline
[x] User guide and development docs updated (if needed)

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


UT3 PS3 maps?

Question more than an issue, as I keep stumbling into some, what's the stance on PS3-baked UT3 maps? Should I upload those as well if I find them? Maybe a seperate tag or section for those?

How do those work? Are they incompatible with UT3 on PC?
Could you point me to one or two to poke at?
If you submit them, maybe just pop into the Pull Request and make a note about them being for PS3, and we'll just tag them with [PS3] in the name in the mean time.

For example:
https://archive.org/download/Fileplanet_ftp1_012008/Fileplanet_ftp1_012008.tar/012008/DM-CyclopeanPS3.zip
https://archive.org/download/Fileplanet_ftp1_012008/Fileplanet_ftp1_012008.tar/012008/CTF-Stargate_Final_PS3.rar

FYI this also applies to other content such as weapons/mutators:
Heal link gun for UT3 (you guys got Heal Link Gun for ut2004 archived, this is for UT3, both authored by myself)

PS3: https://www.mediafire.com/file/4r93ivudd4pdeab/HealLinkGunB1_PS3.zip/file
PC: https://www.mediafire.com/file/n1q8p53dib33pdn/HealLinkGunB1.zip/file

Essence Link Gun for UT3 (not on unreal archive, will get around to submitting all my mods in the near future)

PS3: https://www.mediafire.com/file/wssa0u9wa35dc8k/EssenceLinkGunB2_PS3.zip/file
PC: https://www.mediafire.com/file/86vyc5w3uwgtzg5/EssenceLinkGunB2.zip/file

I'll keep in mind to tag as PS3/PC when uploading the UT3 mods


[Communication - Chat] Deploy test resources failing in nightly runs

Communication - Chat nightly test runs are failing with:

Error message:
VERBOSE: Running registered exit actions
VERBOSE: Logging out of service principal 'd34b39f7-c9a4-48a9-8b8c-e44479f88286'
VERBOSE: Performing the operation "New-TestResources.ps1" on target "d34b39f7-c9a4-48a9-8b8c-e44479f88286".
Retry : Exception calling "Invoke" with "0" argument(s): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Creating the resource group 'rg-communication-tfcada8e555a44112' would exceed the quota of '980'. The current resource group count is '980', please delete some groups before creating a new one.
StatusCode: 409
ReasonPhrase: Conflict
OperationID : 3fd8eec6-71dd-4d1d-bb7d-456e2ab6ea7c"
At D:\a_work\1\s\eng\common\TestResources\New-TestResources.ps1:560 char:22
$resourceGroup = Retry {
~~~~~~~
CategoryInfo          : NotSpecified: (:) [Write-Error], MethodInvocationException
FullyQualifiedErrorId : ActionPreferenceStopException,Retry
##[error]PowerShell exited with code '1'.

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1792107&view=results

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Communication:0.39555746,EngSys:0.17459098,ARM:0.06475891'

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Communication:0.39555746,EngSys:0.17459098,ARM:0.06475891'


twitter streaming stopped working

The twitter streaming api stopped working since last night. The log shows
New connection executed: hosebird-client-0, endpoint: /1.1/statuses/filter.json?delimited=length&stall_warnings=true
01/14 18:00:38 INFO [hosebird-client-io-thread-0] c.t.h.h.ClientBase - hosebird-client-0 Establishing a connection
01/14 18:00:39 WARN [hosebird-client-io-thread-0] c.t.h.h.ClientBase - hosebird-client-0 Error connecting w/ status code - 401, reason - Authorization Required
Can you let me know what causing this issue. It had bee working for more than a year. Thanks.

btw, curl still works. but not from  your library.  Please help me out since our production is down. thanks!!!

I think it is related to set the filter level to Medium. it works again after we remove this.

we still have this issue.  no data received if we set the filter level to medium. data received if we don't set it.  We really need the filter level to be medium to avoid the onTrackLimitationNotice. Thanks.

Hi,
We recently had the same issue, but it was time drift on one of our servers causing the oauth to be rejected as its creation time was too far off.
vandannguyen gives a very good explanation of the issue here:
https://vandannguyen.wordpress.com/2014/12/02/twitter-error-connecting-w-status-code-401-reason-authorization-required/

@tmcf I have exactly the same issue, but it is related neither to incorrect time on my machine nor to filter level (I don't set it at all), please, help to understand why API suddenly stoppe working.


Retrieve public IP using dig the neat way

Now this should work, you can directly set your preferences through the config file (use_dig: true|false), false by default.
I tested it on both Linux and Windows and it seems working.

That'll work, thanks!