feat: Implements CIS Benchmark - 2.1.2 Ensure chrony is configured

Enhancement:
I changed the template for chrony sysconfig in order to implement CIS Benchmark recomendation for RHEL.
Reason:
Be compatible with CIS Benchmark "2.1.2 Ensure chrony is configured" on a RHEL.
Result:
CIS Benchmark compatible.
Issue Tracker Tickets (Jira or BZ if any):
N.A.

[citest]

-u chrony is the default on RHEL. It doesn't need to be set. Other distributions may have different names for the user.

Hello, in RHEL the compiled-in default user is "chrony" user, on the other hand, CIS benchmark want to be sure that is also the effective configuration. Is it possible to add a check in order to implements it only on RHEL. Another way to allow the implementation is to allow to customization of the sysconfig file.
Thanks,
Francesco

Hello, in RHEL the compiled-in default user is "chrony" user, on the other hand, CIS benchmark want to be sure that is also the effective configuration. Is it possible to add a check in order to implements it only on RHEL. Another way to allow the implementation is to allow to customization of the sysconfig file. Thanks, Francesco

I'm not sure what you are trying to do. Are you running some sort of CIS compliance scanner that is complaining that chronyd is not using -u chrony? If so, then it seems to be that the right answer isn't to force -u chrony using this role.

Yes, I'm appling CIS compliant configuration. On the other hand, this role broke the configuation as it removes  -u chrony settings. What do you suggest?

Hello, in RHEL the compiled-in default user is "chrony" user, on the other hand, CIS benchmark want to be sure that is also the effective configuration. Is it possible to add a check in order to implements it only on RHEL. Another way to allow the implementation is to allow to customization of the sysconfig file. Thanks, Francesco

I'm not sure what you are trying to do. Are you running some sort of CIS compliance scanner that is complaining that chronyd is not using -u chrony? If so, then it seems to be that the right answer isn't to force -u chrony using this role.

Yes, I'm appling CIS compliant configuration. On the other hand, this role broke the configuation as it removes -u chrony settings. What do you suggest?

Well, as @mlichvar says, the default on RHEL is -u chrony.  So for CIS compliance, do you just need a way to determine what that default value is?

Well, as @mlichvar says, the default on RHEL is -u chrony. So for CIS compliance, do you just need a way to determine what that default value is?

Unfotunally no, CIS Security mandatory requires explicit user in /etc/sysconfig/chronyd. Maybe is it possbible to parametrize OPTIONS section in /etc/sysconfig/chronyd.

If a new option needs to be added to the role for this, I'd prefer a more general approach specifying directly the additional chronyd options included in /etc/sysconfig/chronyd, e.g. timesync_chronyd_custom_options.

If a new option needs to be added to the role for this, I'd prefer a more general approach specifying directly the additional chronyd options included in /etc/sysconfig/chronyd, e.g. timesync_chronyd_custom_options.

The role already has timesync_chrony_custom_settings - so maybe timesync_chrony_sysconfig_settings for settings applied to /etc/sysconfig/chrony?

Some systems don't have sysconfig, e.g. on Debian the options are in /etc/default/chrony, so the I think the name should be general enough to work on all potentially supported distros.

Some systems don't have sysconfig, e.g. on Debian the options are in /etc/default/chrony, so the I think the name should be general enough to work on all potentially supported distros.

Ok - what about timesync_chrony_service_settings?

Hello, I've updated with the suggestion and using timesync_chrony_service_settings. What do you think now?

[citest]

How can we test this? e.g. add or modify a test in https://github.com/linux-system-roles/timesync/tree/main/tests ?

I had to close and reopen the PR to trigger checks - not sure why the checks were not being run . . .

Need a test for this in tests/


What is the minimum number of containers to make a run?

If we run vrp_trashCollection with less than 4 containers we obtain:
Error computing solution: AssertFailedException: path.size() > 1 at ../solverTrash/tripVehicle.cpp:575:
It's Ok?. It is necessary more than 3 containers to make a run?. Thank you. Fernando.

Thank you for reporting this.
We do not know the lower limit, we only tested with larger numbers of containers. At the moment it looks like it is 4 containers based on your testing. How critical is this issue? With 3 containers there are only 6 possible permutations, can you work around this limit by making 6 calls to OSRM and using the fastest one?
I'll keep this open so we look into it when we have some time.

It is not critical, dont worry about it. In previous releases if you run vrptools with less than 4 containers the solution was very strange. The errors messages are better now.

Please try this again with branch montevideo-release-v2 because the fix for #23 will probably take care of this. Please close this if it is resolved.


fix shadows in ipad version

@javierarce could you take a look? we need fix the position and when show and hide in ipad version.

related https://github.com/CartoDB/deep-insights.js/issues/60

bump, should this be taken care of as of CartoAssets? or we just close it?

ping @piensaenpixel and @javierarce, should we close it? should we merge it?


[Feature] Easing when using scroll gesture?

Hi :),
I am playing with the new "scroll" gesture to reveal an image on scroll. Here is what I have achieved so far: https://www.loom.com/share/a6c5f925858042238586a012e2ccbebf
However, what the designer want is making it appear faster at the start, so that more is revealed first. What I thought doing is using easing inside the animate function, but this does not seem to do anything, actually:
export class RevealedImage extends HTMLElement {
  connectedCallback() {
    scroll(animate(this.querySelector('img, svg'), { clipPath: ['inset(35% 30% 35% 30%)', 'inset(0 0 0 0)'] }, {easing: [0, 0.55, 0.45, 1]}), {
      target: this,
      offset: ScrollOffset.All
    })
  }
}

Whatever the easing used, it does not change anything. Am I doing something wrong or is this a bad usage of it?
Thanks :)

I believe that's a bug, it should definietly change easing

Glad to hear that! Let me know if you need me to create a reproduction case then ;)

I have created a reproduction here in case it helps: https://codesandbox.io/s/clever-bash-3jummr
I have set up a bezier curve that bounce (https://easings.net/#easeInOutBack) but as you can see it is just linear when used.

Interestingly, when using a timeline instead, the easing is honored properly.


add a field in front end to include payment processor fees for expenses paid manually

@HipsterBrown This is the use case:
our PayPal API only allows to pay a maximum of $2000, expenses over this amount need to be processed manually (paid manually through the paypal website). Because of this, paypal transactions fees are not deducted automatically from the collective's balance.
Transactions in the txn table have a paymentProcessorFeeInHostCurrency column for this.
We need to be able to input this fee in the front end when paying an expense. This fee needs to be accounted for the the proper column in the database.


docs: add more SSG instructions

Adds instructions for using SSG to not requiring the dev to fully understand the SSR setup anymore before using SSG.
What is it?

[x] Docs / tests

Description
Adds instructions for using SSG to requiring a dev to NOT fully understand the SSR setup anymore before they using SSG.
Use cases and why

t took me a while to get SSG running, I want to save other devs from the time waste.

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

@adamdbradley I know you plan to add the SSG setup to the CLI (which might add these changes anyways), but I think it still makes sense to have it a bit more documented in the docs as well, e. g. for when people decide to add SSG later.

Good addition, thanks


Composer update no-dev loads dependencies from require-dev

Composer loads dependencies from require-dev:
doctrine/instantiator
phpdocumentor/reflection-docblock
phpspec/prophecy
symfony/yaml
phpunit/PHPUnit
sebastian/comparator
sebastian/diff
sebastian/environment
sebastian/exporter
sebastian/global-state
sebastian/version

Please could you expand on this somewhat?
What command did you run? what composer version?
On the face of it this sounds more like a composer / user error issue than a ZF one.

I think this is duplicate of https://github.com/zendframework/zf2/issues/7574

Duplicated #7574


Unpair the device

Hello,
Due some errors (cant figure out exactly from where) I need to unpair the device. In the Myo Connect software there is a button, but is it also callable as a function?
Thank you!

Hi, you'll have to check the Myo SDK documentation for that. If there is a
function but its not yet available in Python, it should be easy to add it.
I'm sorry I can't give you the kind support you need, I did not use the
bindings for quite a while. And I didn't have the chance to look into your
other issue yet either :(
On 11 Oct 2016 12:53, "riecker"<EMAIL_ADDRESS>wrote:
Hello,
Due some errors (cant figure out exactly from where) I need to unpair the
device. In the Myo Connect software there is a button, but is it also
callable as a function?
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NiklasRosenstein/myo-python/issues/46, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABQeJuLYm6a49TUIeekP7bxdt1sNix0zks5qy2q0gaJpZM4KTf5n
.

anyway thank you very much.
I looked into the SDK: seems to have no function like this ... Maybe I find an other solution. Possible solution (but not very nice) would be to kill the bluetooth connection


Delete deprecated parts of the project, reorganize some files

Draft because I need to pull in the latest changes, and we probably shouldn't merge this until we know that MIT-LL is all set

It also looks like the CICD tests need to be updated to reflect the file reorganization to pass

I'm not sure I agree with a few of the organizational changes in here, so let's sync up to check in on the motivations. I will have to take a closer look still when it's not also Thanksgiving day.

I think this LGTM if you are, assuming you passed the general strategy by Brian.


Add the Diffie-Hellman Group 1-SHA1 key exchange algorithm and the 3DES-CBC encryption algorithm.

Add the Diffie-Hellman Group 1-SHA1 key exchange algorithm and the 3DES-CBC encryption algorithm.

We need to SSH to some old switch devices

Hi, I added these two algorithms in the latest version 0.2.4. They are quite insecure, so to use them, you will need to enable feature insecure-crypto and add the algorithms to your ClientConfig (or use ClientConfig::default_insecure(), which enables all  implemented algorithms, including the insecure ones.
Feel free to reopen the issue if you encounter any problems with the new algorithms.


DB override in unit tests makes client don't work as expected

Problem
I'm writing an application that uses SQLAlchemy as a database. Most of the setup is based on FastAPI docs.
When I'm unit testing the routers, I needed to update the app to override the get_db method. Apparently, the client doesn't build correctly and returns 422 as an error, the function related doesn't even start to process.
Any ideas on how I can debug this?
main.py
@pytest.fixture
def client(db) -> TestClient:
    def _overwrite_db(db):
        return db
    app.dependency_overrides[get_db] = _overwrite_db
    return TestClient(app)

The DB fixtures are defined by this gist: https://gist.github.com/kissgyorgy/e2365f25a213de44b9a2
    def test_partner_already_exists(client: TestClient, valid_body: dict) -> None:
        response = client.post('/partners', json=valid_body)
>       assert response.status_code == status.HTTP_409_CONFLICT, 'Status code != 409'
E       AssertionError: Status code != 409
E       assert 422 == 409
E        +  where 422 = <Response [422]>.status_code
E        +  and   409 = status.HTTP_409_CONFLICT

System
Python 3.8.5
click==7.1.2
python-dotenv==0.15.0
fastapi==0.63.0
h11==0.12.0
psycopg2==2.8.6
pydantic==1.7.3
shapely==1.7.1
SQLAlchemy==1.3.23
starlette==0.13.6
uvicorn==0.13.4

I think your valid_body dict does not conform to the model you set up in your route. An http 422 is normally a pydantic validation error.
You might be able to find more about the validation error itself by logging response.json() in your test.

Instead of:
assert response.status_code == status.HTTP_409_CONFLICT, 'Status code != 409

Wouldn't it be better if you:
assert response.status_code == status.HTTP_409_CONFLICT, res.json()

Anyway, the issue is probably the parameter you have in the new dependency. Solution would be (possibly, if I'm not mistaken):
    def _overwrite_db():
        return db

Hi @Kludex, thanks for the reply.  The removal of the parameter in the inside function solved my issue.

Thanks for the help here @Kludex and @awtkns ! 👏  🙇
Thanks for reporting back and closing the issue @lays147  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Fix error git clone failed with error code 128 - Windows

Docker for Windows has some issues with the permissions when mounting files in containers.
https://github.com/docker/for-win/issues/2042

Please see #550

Hey @joelrojas - it was a long time since this PR was proposed - I'm going to close it and if you'd still like to work on this one, please propose a new PR against latest main branch. Thanks 🙇


delete @#%@#@ nvm environment variables when prebuilding ;)

See this thread https://github.com/mafintosh/prebuild/issues/82
Apparently, if you use nvm, these environment variables might be set, which messes up the download url for node-gyp.
I propose we simply DELETE them when doing prebuilds.

+1

+1
On Thu, 11 Feb 2016 at 00:15, Julian Gruber<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/mafintosh/prebuild/issues/84#issuecomment-182631165.

Just to be clear. This is not at all related to prebuild. I guess we could just do:
delete process.env.NVM_IOJS_ORG_MIRROR
delete process.env.NVM_NODEJS_ORG_MIRROR

At a suitable location

only when prebuild isn't used as a lib, so it should be in the bin.js

only when prebuild isn't used as a lib, so it should be in the bin.js

Yeah ok. Should we delete them both during build and prebuild? Like, if we are installing and there are no prebuilt binaries, then we would get the same error.

2.9.2


TypeError: Class constructor MessageBuilder cannot be invoked without 'new'

Using your standard example of:
const msg = webhook.MessageBuilder()
                .setName("Username")
                .setColor("#aabbcc")
                .setText("This is my webhook!")
                .addField("This", "is")
                .addField("my", "webhook!")
                .setImage("Image url")
                .setTime();

Hook.send(msg);

Gives the title TypeError

Just needed to put 'new' in front of webhook.MessageBuilder()

Ahh, not a bug but I do need to fix that in the README. Thanks for letting me know!

Fixed in 6c75ce3d8015de8fce20537230abbaf4bf2c67a4. Released in 2d9bdebcf0ad889a46bad37373d365d84ce51e5e.


Add a chess club site

@GeekNerds  I want to add a chess club site. Please assign this issue to me under Hacktoberfest 2022 . Thanks

@Bhawna147 You can proceed and make your contribution

@GeekNerds Created a PR please review it

@GeekNerds Created a PR . Please review it


How do I see the dataLayer on my website?

Hi,
I installed the data layer on our store and enabled the extension on system>configuration.
Now I'd like to know how to check the data layer. I couldnt find on the Chrome Console.
Is there another way that I can access it?
Any help would be appreciated. Thanks!

Hi, you should type "digitalData" in Chrome console:
http://take.ms/9vRQD
Note, that this extension is deprecated, new one is coming here in few weeks - https://github.com/driveback/ddmanager-magento1
Also, we will have admin panel for managing different integrations on your website - http://www.ddmanager.io, please apply for any updates.

Hi, thanks for the answer!
I'll check out the new one. Thanks for letting me know.


Fix word-based movement

Word based movement is not working properly.
Moving by words leaves the cursor in incorrect positions. Buffer::get_word_index_backward and Buffer::get_word_index_forward likely need some re-working.

Related: #112


build: slightly improve the build for libdispatch

Avoid polluting the build directory a small amount given that we can use -fmodule-map-file= for the C/C++ build of libdispatch.  Unfortunately, for the Swift build, we need to have the file copied over due to the umbrella header resolution.
Hopefully this reduces some of the race conditions that we have seen in the build.
Thanks to @dgregor for reminding me of the flag!

That VFS idea :thinking:

@swift-ci please test

Good. I like it. No more copying things around in the source directories during the build.

@swift-ci please test

Linux failure:
/home/build-user/swift-corelibs-foundation/Sources/Foundation/DispatchData+DataProtocol.swift:14:8: error: cannot load underlying module for 'Dispatch'
import Dispatch
       ^

Windows failure:
CMake Error at dispatch/cmake_install.cmake:59 (file):
  file INSTALL cannot find
  "C:/Users/swift-ci/jenkins/workspace/swift-corelibs-libdispatch-PR-windows/swift-corelibs-libdispatch/dispatch/module.modulemap":
  File exists.
Call Stack (most recent call first):
  cmake_install.cmake:42 (include)

Hmm, Linux VFS overlay not quite pointing in the right place maybe?

Hmm. The Foundation build has include paths pointing into the Dispatch source directory:
-I /home/build-user/build/buildbot_linux/libdispatch-linux-x86_64/src/swift/swift -I /home/build-user/build/buildbot_linux/libdispatch-linux-x86_64 -I /home/build-user/swift-corelibs-libdispatch -I /home/build-user/swift-corelibs-libdispatch/src -I /home/build-user/build/buildbot_linux/libdispatch-linux-x86_64/src -I /home/build-user/swift-corelibs-libdispatch/src/BlocksRuntime

So we either need to also add the VFS flags to the Foundation build, or we need to first install Dispatch  and then switch the Foundation build to use the installed Dispatch.

switch the Foundation build to use the installed Dispatch.

That would be a day for celebration.

The Linux build got much farther! Now the XCTest tests are failing with
# command stderr:
<unknown>:0: error: cannot load underlying module for 'Dispatch'

@swift-ci please test Windows

Windows got to the same point; now it's the XCTest failures, but Foundation built and tested properly (!)

Ah, nice!  The XCTest failures are not surprising. Fortunately, I had recently enhanced that path for Windows - we just need to make sure that we are passing along the dispatch flags to the tests, not just the build.

So exciting!

Please test with the following PRs:
https://github.com/apple/swift-corelibs-xctest/pull/437
@swift-ci please test


Flakiness in test_sharding_split_smoke

Example:
https://neon-github-public-dev.s3.amazonaws.com/reports/pr-6805/7957035402/index.html#suites/140824de6e814b5b1ae2b622c3f67840/6cd46f9911ed5b0f
In that run, the compute hook (local version, using neon_local Endpoint) is hanging, causing migration to time out.

Having fixed spurious reconciles, the logs are cleaner in this failure:
https://neon-github-public-dev.s3.amazonaws.com/reports/pr-6828/7964818040/index.html#/testresult/dd6a70cde8671f8
In this example we see an error configuring compute node, but we're only giving it 2 seconds to complete because the earlier part of the migration (switching origin to stale mode) took 8 seconds.  So it may be that we're just not giving it enough time, and the apparent failure of compute configuration is actually just the compute notification taking a while (although I'm still a bit concerned that the compute configuration in a neon_local environment isn't sub-second, it shouldn't be slow).

zero flakes of this in last 24h -- I suspect that #6814 made it much much rarer.

Recently it started to re-occur again:


Add auto-reapproval on identical force-push

btw. doing some manual testing right now and it's not quite working yet... :thinking:

So I was reviewing this and I didn't see anything wrong, but then you added a commit and said Make it work for real which then made me question my existence for being since I couldn't tell it wouldn't have worked.  Great.  Existential angst due to a PR.  At any rate, I don't see anything glaringly bad/wrong but the logic is pretty rough to follow and I think I would decompose it so that the workflow portion is more readable statements vs actual bit comparisons is_approved(review) vs review.state === 'approved'.  This is just the first one I can think of.  At any rate, I can't 'see' anything wrong with it.  Of course this is all based on it working...

multiple if let(...) => tuples I think.
:) .
although that can get ugly quick if you have long var names or you're calling functions.
if let (Some(a), Some(b)) = (expr X, expr Y)

It looks better.  If it's working :shipit:

cool, thanks. mind re-approving?


feat(quickwit): add quickwit integration

Description
Hi. For now it's still draft but I'm exploring how elastalert2 can comply with Quickwit.
To provide a bit of context:

I use to enjoy using elastalert several years ago and even rebuild version for ARM32, I'm pretty convinced that it's still a relevant tool for alerting used as an external microservice
Quickwit is one of the best log and traces search engine on the market and I'm use to contribute in order to provide integration to other opensource project (around the CNCF ecosystem) such as Falcosidekick, Odigos, and Grafana datasource for quickwit
Quickwit has a level of interoperability with the Elastic/Opensearch API for the read query, that been said, we have to handle the mapping creation of the indexes, add a _elastic prefix to the URL, etc

Checklist

[ ] I have reviewed the contributing guidelines.
[ ] I have included unit tests for my changes or additions.
[ ] I have successfully run make test-docker with my changes.
[ ] I have manually tested all relevant modes of the change in this PR.
[ ] I have updated the documentation.
[ ] I have updated the changelog.

Questions or Comments

This sounds great! I'm looking forward to trying it out.


upgrading jest to version 27.4.3

Codecov Report

Merging #36 (6262ffa) into main (a2f3cb4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          311       311
  Branches        55        55
=========================================
  Hits           311       311

Continue to review full report at Codecov.

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


Migrate the code to Python 3

Hey there ;)
I noticed that the code is written in python 2.* and could not work in python 3. So I made some changes to make the code compatible with python 3. I also fixed some small problems like using a list for the country instead of a single string in hit_properties/image_sentence.json, and the issue with the template.
I've already tested the code on Ubuntu 16.04.5 LTS and 18.04.1 LTS.

This is great - thanks! When I originally wrote this a few years ago I was forced to use Python 2.7 because at the time some dependencies (I think boto?) were not yet compatible with Python 3.


⚠ Turnos 24x7 has degraded performance

In c595c06, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 959 ms

Resolved: Turnos 24x7 performance has improved in 252a61e.


https://webauthn.io/ supports any device but this demo doesn't do that

Hi guys!
Is that possible to supple this demo to support any device as it is on your website?
Or may be you guys have another example or tutorial or something?
Sorry if i missed something ^^

+1
Firefox 71.0 + node v12.13.1 + Linux Mint 19.2
Developers, your demo site works for me fine but this demo from localhost:3000 - nothing happens. I see login form, i do register -> fill form -> submit -> i see login page again -> submit name -> i see login page and so on.
In development tools in Net i see "304" GET responses for each request only... Everywhere...

+1
Firefox 71.0 + node v12.13.1 + Linux Mint 19.2
Developers, your demo site works for me fine but this demo from localhost:3000 - nothing happens. I see login form, i do register -> fill form -> submit -> i see login page again -> submit name -> i see login page and so on.
In development tools in Net i see "304" GET responses for each request only... Everywhere...

https://github.com/fido-alliance/webauthn-demo/issues/20#issuecomment-565383517

The main issue is still not solved

The main issue is still not solved

Yes. Simple this code is not completely completed and completely inoperative: https://github.com/fido-alliance/webauthn-demo/issues/21

Yes. Simple this code is not completely completed and completely inoperative: #21

@Perlover
Dude, I am not one of devs of this repo :)
I just really don't have time at all to solve it by myself
So please don't spam in my issue^^
If something does not supported by maintainers - it doesn't mean that it doesn't work
It works
Not completed product, but works!
And my issue is about any device
Not about workin
I got workin example from this repo btw (i didnt test it with 'fido-u2f' as it expected but I guess it works fine with it)
And if u read readme - there is completed demo at completed demo branch
Afterwards you can complete your code from master if it needs to be done

A working and improved version (with Windows hello and android support) available at http://github.com/hexagon/webauthn-skeleton


drivers: MCP7940N initialization fails on Sunday

There was a wrong check to test if gmtime_r() call was successful. time_buffer.tm_wday == 0 is perfectly valid for Sunday.

@nordic-krch can you review it and who else could check it?

Seems like an trivial fix but I am not sure who can be added as a reviewer.

@nordic-krch do you have to approve it again? I merged the main to my branch and this created 2 commits, so I reverted this commit and rebased my changes on top of main after your first approval.


Stop PPDataProxy accessing the file when no data is needed.

We just found that PP and Fieldsfile loading has been slow and heavy on memory, apparently since Dask 2.0.
In these cases, the PPDataProxy does not actually use the file data, so this fix allows it to return a suitable empty array object of the expected type and shape, without reading the file.

The reason appears to be that dask.array.from_array(arraylike) now extracts an empty slice of the argument, like arraylike[0:0, 0:0...].
Note, this is even worse than it sounds :

the PP field will often need to be unpacked, which is time consuming
since the 0-size slice is stored within the dask object, and it is a view referencing the full data array, hence all field data is loaded, and remains in memory !

See this line in meta_from_array, called from here in Array.__new__, as used in from_array.
Speculation : I think dask is doing this to capture the metadata of a slice from the argument, which it presumably believes can be different from that of the argument itself.  I'm guessing this is needed for generalised array types e.g. dask, CUDA

Hi @trexfeathers sorry for the delay on this -- I forgot to push it up !
Following offline discussion, I've now reduced the scope of the behaviour, in favour of simpler code that only supports the exact current need (e.g. it no longer catches "[1:1]" as an empty slice case)
However, I've also rather increased the complexity of the testing.
Again sorry, but I did spot some existing problems!
e.g. the previous code could not handle a single index key, because Python passes that as a bare object + not a 1-tuple.
As usual, it's tough to be comprehensive because numpy has so many indexing styles.
So, I'm taking it for granted that Dask will only use slices and integer indices
This excludes (e.g.) :

keys which are arrays or lists (fancy indexing)
ellipsis
None / newaxis
boolean arrays

I'm just not considering those as possibilities.
Does this seem sound ??

Note: when we have agreed on an implementation here, we should also adopt it in iris-grib.

Thanks @trexfeathers
I think I have it all done now.  Review away !

All looks great, great idea with the abstraction into util 👏


Various errors found in tests

The Author and Display tests are stuck with a different author name;
On the OCW it says that the maximum and minimum ops need at least one parameter, meanwhile the error tests for them say the ops need at least two parameters.

https://imgur.com/vttUVvs
Also, Vmchecker doesn't work:

Coada temelor ce urmează să fie testate
{
"errorTrace": "Traceback (most recent call last):\n  File "/usr/local/lib/python2.7/dist-packages/vmchecker/websutil.py", line 239, in get_test_queue_contents\n    look_for_keys=False)\n  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 348, in connect\n    server_key)\n  File "/usr/local/lib/python2.7/dist-packages/paramiko/client.py", line 635, in missing_host_key\n    raise SSHException('Server %r not found in known_hosts' % hostname)\nSSHException: Server 'checker.cs.pub.ro' not found in known_hosts\n"
}

Looking into the checker.
We reported the issue to vmchecker, hope to fix it soon.

I fixed the errors found in tests. Hopefully vmchecker will be up and running soon enough. Until then you can test locally your homework.

@alfredrogoveanu please confirm it works

I can confirm it works. Many thanks!

Vmchecker is working and it's up to date with the tests.


Error just when navigating to the page that used ion-datetime-picker

Hi,
I always get this error when I navigate to the page that used this plugin:
Error: [$compile:nonassign] Expression 'undefined' used with directive 'ionDatetimePicker' is non-assignable!
I implement this in my html page:
`

Arrived Time
{{task.arrivalRealization | date: "yyyy-mm-dd H:mm:ss"}}

`
Is there anything I need to change? Thanks.

Could you please make up a demo? Codepen or fiddle or whatever. I will then look into it.
Please make sure that your model is defined.

Duplicate of #32.


C++: Fix perf of IR value numbering

On some snapshots, notably ffmpeg, the IR ValueNumbering recursion
would generate billions of tuples and eventually run out of space.
It turns out it was fairly common for an Instruction to get more than
one ValueNumber in the base cases for VariableAddressInstruction and
InitializeParameterInstruction, and it could also happen in an
instruction with more than one operand of the same OperandTag. When a
binary operation was applied to an instruction with m value numbers
and another instruction with n value numbers, the result would get
m * n value numbers. This led to doubly-exponential growth in the
number of value numbers in rare cases.
The underlying reason why a VariableAddressInstruction could get
multiple value numbers is that it was keyed on the associated
IRVariable, and the IRVariable is defined in part by the type of its
underlying Variable (or other AST element). If the extractor defines a
variable to have multiple types because of linker ambiguity, this leads
to the creation of multiple IRVariables. That should ideally be solved
in TIRVariable.qll, but for now I've put a workaround in
ValueNumberingInternal.qll instead.
To remove the problem with instructions having multiple operands, the
construction in Operand.qll will now filter out any such operand. It
wasn't enough to apply that filter to the raw stage, so I've applied
it to all three stages.

I forgot the obligatory tuple count explosion snippet.

I didn't manage to capture iteration 85 after the change, but it flew by in a flash. The important thing is that the count for r8 should never be higher than the count for r7. The join in r8 associates the existing LHS value numbers with new RHS value numbers for a binary operator, and a new RHS number should correspond to at most one existing LHS number.


Azure - Delete Public IP Address

It doesn't feel like we should have delete methods on individual ARM resources except in special cases - can't this be done generically in the ARM base class so delete works for every arm resource?  We should rule that out before doing any specific delete implementations or we'll need 25 of them.

Closing in favor of more general PR, #2568


(doc) Correcting broken link to nuget schema

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks for fixing this detail!


Server constructor error in browser

getting this error in browser when using the soroban client sdk during initialization:
Unhandled Runtime Error
TypeError: SorobanClient.Server is not a constructor

eval
<EMAIL_ADDRESS>(22:0)

on new 4.4.1 versions of packages.
initial bug reported here - https://github.com/esteblock/soroban-react/pull/28#issuecomment-1554847236

Is this still true in 0.6.1? I can't seem to reproduce it.

I will check

er, please use 0.7.0 instead when you check!

Hello! I am checking with soroban-client 0.7.0 here: https://github.com/esteblock/soroban-example-dapp/tree/soroban-client-0.7.0
I am using
 "@soroban-react/chains": "4.5.1-alpha.0",
    "@soroban-react/contracts": "4.5.1-alpha.0",
    "@soroban-react/core": "4.5.1-alpha.0",
    "soroban-client": "0.7.0"

All of them use<EMAIL_ADDRESS>However I still have the same problem
Unhandled Runtime Error
TypeError: soroban_client_1.default.Server is not a constructor

Call Stack
eval
<EMAIL_ADDRESS>(22:0)

I think it has to do with some webpack changes introduced in https://github.com/stellar/js-soroban-client/compare/v0.5.1...v0.6.0

Please check @Shaptic @sreuland

Ugh I literally don't understand. I checked out the branch and added console.log statements to<EMAIL_ADDRESS>and soroban_client_1.default.Server totally works when you npm run build, but something completely borks when you npm run serve.

When I install<EMAIL_ADDRESS>works OK, both with create-react-app and next
https://github.com/esteblock/create-react-app-soroban-client/tree/soroban-client%400.5.1
https://github.com/esteblock/my-next-app-soroban-client/tree/soroban-client%400.5.1

This should be resolved by upgrading to v0.7.2 (v0.7.1 works, as well, but the other patch fix will do no harm)!


Provisioner: Add support to deploy kbs

Fixes: #1471

I could not get any KBS deployed with the PR, am I missing something?
$ kubectl get pods -A
NAMESPACE                        NAME                                                   READY   STATUS              RESTARTS       AGE
coco-pp-e2e-test-371f1451        alpine                                                 0/1     ContainerCreating   0              11m
coco-pp-e2e-test-371f1451        busybox-configmap-pod                                  0/1     ContainerCreating   0              11m
coco-pp-e2e-test-371f1451        busybox-secret-pod                                     0/1     ContainerCreating   0              11m
coco-pp-e2e-test-371f1451        deletion-test                                          0/1     ContainerCreating   0              11m
coco-pp-e2e-test-371f1451        nginx-deployment-54949bb489-ht426                      0/1     ContainerCreating   0              11m
coco-pp-e2e-test-371f1451        nginx-deployment-54949bb489-p5fr7                      0/1     ContainerCreating   0              11m
coco-pp-e2e-test-371f1451        simple-test                                            0/1     ContainerCreating   0              11m
confidential-containers-system   cc-operator-controller-manager-76755f9c96-fsqj9        2/2     Running             0              15m
confidential-containers-system   cc-operator-daemon-install-n4qqf                       1/1     Running             0              15m
confidential-containers-system   cc-operator-pre-install-daemon-h8klw                   1/1     Running             0              15m
confidential-containers-system   cloud-api-adaptor-daemonset-t7m6n                      0/1     Running             1 (5m8s ago)   15m
confidential-containers-system   peerpod-ctrl-controller-manager-5d64f7bc59-bljnt       2/2     Running             0              13m
kube-system                      azure-ip-masq-agent-4vhgr                              1/1     Running             0              17m
kube-system                      azure-wi-webhook-controller-manager-64dcf47dfb-rdd69   1/1     Running             0              17m
kube-system                      azure-wi-webhook-controller-manager-64dcf47dfb-rs4lj   1/1     Running             0              17m
kube-system                      cloud-node-manager-52bh6                               1/1     Running             0              17m
kube-system                      coredns-789789675-9f28p                                1/1     Running             0              16m
kube-system                      coredns-789789675-prfvd                                1/1     Running             0              17m
kube-system                      coredns-autoscaler-649b947bbd-chx6d                    1/1     Running             0              17m
kube-system                      csi-azuredisk-node-gddvg                               3/3     Running             0              17m
kube-system                      csi-azurefile-node-4c5fq                               3/3     Running             0              17m
kube-system                      konnectivity-agent-5bff69dbbd-7hgvw                    1/1     Running             0              17m
kube-system                      konnectivity-agent-5bff69dbbd-lmjfb                    1/1     Running             0              17m
kube-system                      kube-proxy-9qgvg                                       1/1     Running             0              17m
kube-system                      metrics-server-5bd48455f4-ks69r                        1/2     Running             0              16m
kube-system                      metrics-server-5bd48455f4-ncsgh                        1/2     Running             0              16m

BTW, I followed the following steps to run the e2e tests for Azure from my local machine:
export AZURE_RESOURCE_GROUP="test-kartik-pr1518"
export AZURE_REGION="eastus"
az group create --name "${AZURE_RESOURCE_GROUP}" \
    --location "${AZURE_REGION}"

export AZURE_SUBSCRIPTION_ID=$(az account show --query id --output tsv)
export USER_ASSIGNED_IDENTITY_NAME="caa-${AZURE_RESOURCE_GROUP}"
az identity create \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --location "${AZURE_REGION}" \
    --subscription "${AZURE_SUBSCRIPTION_ID}"

export PRINCIPAL_ID="$(az identity show \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --subscription "${AZURE_SUBSCRIPTION_ID}" --query principalId -otsv)"
sleep 30
az role assignment create \
    --role Contributor \
    --assignee-object-id "${PRINCIPAL_ID}" \
    --scope "/subscriptions/${AZURE_SUBSCRIPTION_ID}"

export AZURE_CLIENT_ID="$(az identity show \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" --query 'clientId' -otsv)"

export CLUSTER_NAME="e2e"
export AZURE_IMAGE_ID="/CommunityGalleries/cocopodvm-d0e4f35f-5530-4b9c-8596-112487cdea85/Images/podvm_image0/Versions/$(date -v -1d "+%Y.%m.%d" 2>/dev/null || date -d "yesterday" "+%Y.%m.%d")"

cat <<EOF >/tmp/provision_azure.properties
AZURE_CLIENT_ID="${AZURE_CLIENT_ID}"
AZURE_SUBSCRIPTION_ID="${AZURE_SUBSCRIPTION_ID}"
RESOURCE_GROUP_NAME="${AZURE_RESOURCE_GROUP}"
CLUSTER_NAME="${CLUSTER_NAME}"
LOCATION="${AZURE_REGION}"
SSH_KEY_ID="id_rsa.pub"
AZURE_IMAGE_ID="${AZURE_IMAGE_ID}"
SSH_USERNAME="azureuser"

AZURE_CLI_AUTH="true"
MANAGED_IDENTITY_NAME="${USER_ASSIGNED_IDENTITY_NAME}"

KBS_IMAGE="ghcr.io/confidential-containers/staged-images/kbs"
KBS_TAG="3003ced913bf83fa11d3ef753bb621f9cd030ae8"
EOF

# Docker image for KBS
# https://github.com/confidential-containers/kbs/pkgs/container/staged-images%2Fkbs

# Now open a new terminal

export TEST_PROVISION_FILE=/tmp/provision_azure.properties
export CLOUD_PROVIDER=azure
export BUILTIN_CLOUD_PROVIDERS=azure

cd test/tools
make caa-provisioner-cli
./caa-provisioner-cli -action=provision

cd ../..
make test-e2e

@surajssd you need to clone kbs repo to test/tools directory. Also earlier i only added things to work with e2e-test  but not with provisioner-cli :). I added cli code as well now and things works fine :) Although the kbs image which you mentioned throws some error but pod is getting deployed.

Following the test instructions in the PR description, the tests did not execute:
go test -v -tags=azure -timeout 60m -count=1 ./test/e2e
time="2024-01-31T09:43:38+01:00" level=info msg="Do setup"
time="2024-01-31T09:43:38+01:00" level=info msg="Deploying kbs"
time="2024-01-31T09:43:38+01:00" level=info msg="creating key.bin"
/home/magnuskulke/tmp/cloud-api-adaptor/test/e2e
time="2024-01-31T09:43:38+01:00" level=info msg="Creating kbs install overlay"
time="2024-01-31T09:43:38+01:00" level=info msg="Customize the overlay yaml file"
time="2024-01-31T09:43:38+01:00" level=info msg="Updating kbs image with \"ghcr.io/confidential-containers/staged-images/kbs\""
time="2024-01-31T09:43:38+01:00" level=info msg="Updating CAA image tag with \"latest\""
Wait pod 'kbs-b5b86666-hncws' status for Ready
time="2024-01-31T09:43:58+01:00" level=error msg="All pods are not running: timed out waiting for the condition\n"
F0131 09:43:58.170201   87436 env.go:369] Setup failure: All pods are not running: timed out waiting for the condition
FAIL    github.com/confidential-containers/cloud-api-adaptor/test/e2e   19.341s

It would be good to describe the exact values that should be in /tmp/provision_azure.properties.

@mkulke Looks like kbs pod is deployed issue is with the image or kustomisation file. @surajssd  is also facing some issue with the kbs pod. Maybe its on same lines.

@mkulke you can follow these steps which @surajssd followed to test the PR. Thanks
How to Test this change:
export AZURE_RESOURCE_GROUP="test-kartik-pr"
export AZURE_REGION="eastus"
az group create --name "${AZURE_RESOURCE_GROUP}" \
    --location "${AZURE_REGION}"

export AZURE_SUBSCRIPTION_ID=$(az account show --query id --output tsv)
export USER_ASSIGNED_IDENTITY_NAME="caa-${AZURE_RESOURCE_GROUP}"
az identity create \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --location "${AZURE_REGION}" \
    --subscription "${AZURE_SUBSCRIPTION_ID}"

export PRINCIPAL_ID="$(az identity show \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --subscription "${AZURE_SUBSCRIPTION_ID}" --query principalId -otsv)"

az role assignment create \
    --role Contributor \
    --assignee-object-id "${PRINCIPAL_ID}" \
    --scope "/subscriptions/${AZURE_SUBSCRIPTION_ID}"

export AZURE_CLIENT_ID="$(az identity show \
    --resource-group "${AZURE_RESOURCE_GROUP}" \
    --name "${USER_ASSIGNED_IDENTITY_NAME}" --query 'clientId' -otsv)"

export CLUSTER_NAME="e2e"
export AZURE_IMAGE_ID="/CommunityGalleries/cocopodvm-d0e4f35f-5530-4b9c-8596-112487cdea85/Images/podvm_image0/Versions/$(date -v -1d "+%Y.%m.%d" 2>/dev/null || date -d "yesterday" "+%Y.%m.%d")"

cat <<EOF >/tmp/provision_azure.properties
AZURE_CLIENT_ID="${AZURE_CLIENT_ID}"
AZURE_SUBSCRIPTION_ID="${AZURE_SUBSCRIPTION_ID}"
RESOURCE_GROUP_NAME="${AZURE_RESOURCE_GROUP}"
CLUSTER_NAME="${CLUSTER_NAME}"
LOCATION="${AZURE_REGION}"
SSH_KEY_ID="id_rsa.pub"
AZURE_IMAGE_ID="${AZURE_IMAGE_ID}"
SSH_USERNAME="azureuser"

AZURE_CLI_AUTH="true"
MANAGED_IDENTITY_NAME="${USER_ASSIGNED_IDENTITY_NAME}"

KBS_IMAGE="ghcr.io/confidential-containers/staged-images/kbs"
KBS_TAG="3003ced913bf83fa11d3ef753bb621f9cd030ae8"
EOF

# Docker image for KBS
# https://github.com/confidential-containers/kbs/pkgs/container/staged-images%2Fkbs

# Now open a new terminal

export TEST_PROVISION_FILE=/tmp/provision_azure.properties
export CLOUD_PROVIDER=azure
export BUILTIN_CLOUD_PROVIDERS=azure

cd test/tools
git clone https://github.com/confidential-containers/kbs
make caa-provisioner-cli
./caa-provisioner-cli -action=provision

@kartikjoshi21 it worked for me on Linux, it was failing on OSX.

@kartikjoshi21 I was able to deploy the app the problem was I wasn't using the CAA_IMAGE hence it was deploying older CAA and after updating an app came up.
cat <<EOF >/tmp/provision_azure.properties
AZURE_CLIENT_ID="${AZURE_CLIENT_ID}"
AZURE_SUBSCRIPTION_ID="${AZURE_SUBSCRIPTION_ID}"
RESOURCE_GROUP_NAME="${AZURE_RESOURCE_GROUP}"
CLUSTER_NAME="${CLUSTER_NAME}"
LOCATION="${AZURE_REGION}"
SSH_KEY_ID="id_rsa.pub"
AZURE_IMAGE_ID="${AZURE_IMAGE_ID}"

AZURE_CLI_AUTH="true"
MANAGED_IDENTITY_NAME="${USER_ASSIGNED_IDENTITY_NAME}"

KBS_IMAGE="ghcr.io/confidential-containers/staged-images/kbs"
KBS_IMAGE_TAG="94a397886445ec2529513a1fdddd40801c4af143"

# Get the tag from: https://quay.io/repository/confidential-containers/cloud-api-adaptor?tab=tags&tag=latest
CAA_IMAGE="quay.io/confidential-containers/cloud-api-adaptor:dev-2ab1beb12dc49ce3f0c7c4112c7be1d0a67d099f"
EOF

But I could not do a key release after deploying nginx pod:
# curl http://<IP_ADDRESS>:8006/cdh/resource/reponame/workload_key/key.bin
ttrpc err: Receive packet timeout Elapsed(())

There is no movement on the KBS side, my guess is that the peer pod vm couldn't even reach out to KBS. Because I see nothing changed there.

LGTM, thanks for bearing with me @kartikjoshi21 This is great work.

Thanks for the review and help to make it work @surajssd

the latest instructions also worked for me, kbs is installed in coco-tenant. I concur, great work! looking forward to have cc_kbc tests
k logs deploy/kbs -n coco-tenant
[2024-02-29T07:38:14Z INFO  kbs] Using config file /etc/kbs/kbs-config.toml
[2024-02-29T07:38:14Z INFO  api_server::attestation::coco::grpc] connect to remote AS [http://<IP_ADDRESS>:50004] with pool size 100
[2024-02-29T07:38:14Z INFO  api_server] Starting HTTP server at [<IP_ADDRESS>:8080]
[2024-02-29T07:38:14Z INFO  actix_server::builder] starting 4 workers
[2024-02-29T07:38:14Z INFO  actix_server::server] Tokio runtime found; starting in existing Tokio runtime

Thanks Magnus, Yes will start working on that next.


Restoring wallet.dat old wallet backup

Hi,
I downloaded the latest MAC OS MyVergies wallet.
I tried to recover my four years old wallet backup wallet.dat.
Every time I try to import the wallet, I get an error (unexpected token in JSON at position 0)
I don't have the paper key; at that time, the options with wallet backup, wallet.dat worked always with no issues.
I appreciate your support

[ x ] Are you running the latest version?
Yes I am running MacBook M1 OS 13.5.2
And wallet MyVergies  1.0.3

"I'm submitting a ... "

[ x] support request

I appreciate any help you can provide. Thank you

myvergies is not the same wallet as the verge-qt wallet.

Where can I get Verge-qt wallet for MAC? The installation guide link for Mac on the website is invalid.


Exporting and then importing project fails because resource .settings already exists

I exported a project named Company, deleted it, then tried to bring it back.
Error importing project resources
  org.eclipse.core.internal.resources.ResourceException: Resource '/Company/.settings' already exists.

If I delete .settings from the dbp archive it complains it can't find it.

DBeaver Enterprise	3.7.1	com.jkiss.dbeaver.core.product	null

Could you have time to explain me how to automate driver installation until this is fixed ?
Lets say I keep them in .dbeaver\drivers. One of them is ojdbc7.jar (exported in this dir with Export function).
If i copy the project like this all stuff is available as soon as I create a new project with the same name as the one I copied to the .dbeaver, apart from drivers. How can I register drivers without using GUI ?

Nvm, figured it out. I created a script that fixes driver.xml as explained at https://github.com/serge-rider/dbeaver/issues/608#issuecomment-239233176

I've found a couple of bugs in project import procedure.
Last two commits have wrong bug id (must be 188)


Expose subError to make it easy to create new Error types

I am new to Promises, and I often use Promise.OperationalError, so I can catch that type easier, instead of in the catch function.
I searched with google, but have not found any information where they use a flow with multiple error types, but often in my promise chains, there can happen errors, that are non-recoverable, but needs different answers.
For example a http route in express, could have three response, 500, 404, or 401 unauthorize.
Would it be a idea to expose subError to make it possible to create new error types and then be able to use it later .error(NotFound, func)?

Bluebird 3.0 allows object property matching against errors and Petka created https://github.com/petkaantonov/core-error-predicates
Subclassing errors isn't hard as it is

There's also npm module for creating sub errors e.g. https://github.com/dasilvacontin/subclass-error


The CSS/Style conflicts with Laravel Nova.

Hi @stepanenko3 ,
We are currently using your package and have encountered an issue regarding CSS/Style conflicts with Laravel Nova. When integrating your package with our Laravel project, we noticed that there are conflicts between the styles of your package and those of Laravel Nova. This is causing visual inconsistencies and layout problems in our application.
Could you please investigate this issue and provide guidance on how we can resolve these conflicts? Let us know if you need any additional information from our end.
Thank you!

What version of the package are you using?

What version of the package are you using?

Package : "stepanenko3/nova-command-runner": "^4.0",
Laravel : "laravel/framework": "^10.0",

@Asis77 it was fixed in the latest version, try to put ^4.3.4

@asis77 it was fixed in the latest version, try to put ^4.3.4

Thanks!


Error on non-us region.

Hi,
Trying to create certificate in Frankfurt end up with this error:
hostname 'example.com' doesn't match either of  'cloudfront.net', '*.cloudfront.net'
In US region work's fine.

I also had this issue. Turning of forced HTTPs to http redirection in cloudfront fixed this for me.

I also had this issue. Turning of forced HTTPs to http redirection in cloudfront fixed this for me.

I too had this error. Works only in US region. Tried the docker version of certbot


Set up infrastructure to interact with Help Center

Feature Description
Ahead of automagically opening FTUE when elements go outside the safezone we need the infrastructure to have this event (and others to follow) occur in a way that is uniform and testable.
This ticket is for that foundation.
Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Please add QA Instructions - Thanks!


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


"failed to initialize navigation error code 4" this issue is coming on the navigation screen while i try to run maps on the latest version of react native

Thanks for stopping by to let us know something could be better!

PLEASE READ
If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.
Check for answers on StackOverflow with the google-maps tag.

Please be sure to include as much information as possible:
Environment details

Specify the API at the beginning of the title (for example, "Places: ...")
OS type and version
Library version and other environment information

Steps to reproduce

?

Code example
# example

Stack trace
# example

Following these steps will guarantee the quickest resolution possible.
Thanks!

Error code 4 points to
LOCATION_PERMISSION_MISSING
on enum NavigationInitErrorCode
@jaykishan23 if you haven't given proper permissions to the app, and this is the issue, please close this issue.

I had given all the permission in the android manifest and before 5 days it was working also but from last 2 days the navigation view in map is also not showing below error is coming

I had given all the permission in the android manifest and before 5 days it was working also but from last 2 days the navigation view in map is also not showing below error is coming

Please uninstall the app from emulator, and install/run it again. Make sure you give as wide permissions as possible when requested.
This error is only thrown if location is not available for the SDK on the device / emulator; so I see this as a permission issue on the application level.

I had checked in real device as well still the same issue is coming

@jokerttu still facing "failed to initialize navigation error code 4"  in android can u check?

@jaykishan23
I haven't seen this error...
We need to be able to reproduce the issue to be able to fix possible implementation bugs.
Are you sure you have all location permissions configured right before trying to initialize navigation as the error index points to the
LOCATION_PERMISSION_MISSING enum value
Please provide minimun code where this issue is present, so that we can investigate the problem.

hi @jokerttu Yes, it is configured. As I mentioned before, a few days ago, the side-by-side navigation was working correctly in the emulator. However, maybe after the version update from the sdk side, the error "Failed to initialize navigation. Error Code 4" started appearing on the emulator screen.

@jokerttu Hi, Below permission is added in android manifest please check

@jokerttu Hello can u please check

@jokerttu hello still the same issue is there can u help?

@jaykishan23
I re-checked the error codes given by the native sdk:
public @interface ErrorCode {
    int NOT_AUTHORIZED = 1;
    int TERMS_NOT_ACCEPTED = 2;
    int NETWORK_ERROR = 3;
    i**nt LOCATION_PERMISSION_MISSING = 4;**
}

So if the SDK is giving error code 4, there is issue with location permissions. You need to make sure permissions are given each time before initializing the navigation session.
Handling location permissions is not part of this package, as there is multiple ways developers want to handle their permissions.
Example app uses react-native-permissions package, but there is other options available as well.


chore: add a nightly ci to verify generation config

In this PR:

Add a nightly CI to verify the generation config.

Follow up on #10357

A successful run of the job: https://github.com/googleapis/google-cloud-java/actions/runs/7979727472/job/21787793304?pr=10407

I accidentally merged it - my bad. We can restore it and get review from more people if necessary.


Add OrOp to IndexComputation and SPIR-V Lowering passes

Currently, the conversion from xla_hlo.or or std.or is supposed to
be performed by the XLA HLO -> Standard Pass but it is missing.
So this patch adds the OrOp as a recognized op in the index
computation and SPIR-V lowering passes.
TEST: Tested on toy example in iree-discuss.

Sure. Is there an example of what kind of tests people use when adding new ops?

All the relevant test files are located at https://github.com/google/iree/tree/master/iree/compiler/Translation/SPIRV/XLAToSPIRV/test
In your case, I think we can add another file "logical_ops.mlir" and add a test there.

Thanks for the pointer. I have created a new test in logical_ops.mlir in the folder you suggested and added it to my latest patch. Let me know what you think.

Thank you and feel free to merge when all the checks have passed.

The linux_cmake build seems to be failing with the error
fatal: failed to stat '/tmpfs/src/github/iree': No such file or directory
Not sure what could be causing that.


Chore/update typescript

Description

updates typescript to 5+
waiting for msw update for peer dependency complaint to go away ✅

:tada: This PR is included in version 1.231.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


My install broke due to change in bambu plugin, changed camera from image to camera entity.

I know this plugin isn't specific to Bambu printers, but maybe you can help. So previously everything was working, but last week the Bambu plugin was update, which changed the camera feed in HA to be a camera model instead of just an image, which is causing this plugin to not to trigger any updates sent to obico. Any ideas?

The camera image property is probably not correctly used by the Bambu integration:
https://github.com/greghesp/ha-bambulab/pull/595#issuecomment-2437354522
The Obico integration just does GET request to URL in format of: https://XYZ/api/camera_proxy_stream/camera.your_camera_entity?token=XXX and that probably fails.
Feel free to share the HA logs to the mentioned issue to investigate it (or revert back to the previous working version).

This is an example URL for the camera: http://<IP_ADDRESS>:8123/api/camera_proxy_stream/camera.p1s__camera?token=
It renders correctly in a web browser tab.

This is an example URL for the camera: http://<IP_ADDRESS>:8123/api/camera_proxy_stream/camera.p1s_<SERIAL>_camera?token=<TOKEN> It renders correctly in a web browser tab.
As part of the image -> camera transition, the entity name changed from image.p1s__camera to camera.ps1__camera. It's not clear if they changed the obico configuration to use the new entity name.

This is an example URL for the camera: http://<IP_ADDRESS>:8123/api/camera_proxy_stream/camera.p1s_<SERIAL>_camera?token=<TOKEN> It renders correctly in a web browser tab.
As part of the image -> camera transition, the entity name changed from image.p1s__camera to camera.ps1__camera. It's not clear if they changed the obico configuration to use the new entity name.

Well if the camera entity has changed, you have to update the Obico ML integration config flow. If the updating doesn't help, try to remove it and configure it again.
In case it still doesn't work, post Obico ML integration's logs and Obico REST API server's logs here please.

So I verified that yes that url does work for the camera stream, so that didn't change. I ended up deleting the plugin, and re-adding the entity, and everything is working again. So not sure what happened. Thanks.

So I verified that yes that url does work for the camera stream, so that didn't change. I ended up deleting the plugin, and re-adding the entity, and everything is working again. So not sure what happened. Thanks.

Thanks for the update.
I think I don't specifically handle reconfiguration and I guess it doesn't work out of the box, so deleting and creating new configuration is needed for now.


List of generators empty

After extension installation no generators displayed.

I tried to reinstall extension, but nothing helps.
Visual Studio Code
Version 0.10.1
Commit df352367df2efcfa9d602d471e4e2f42140a0f05
Date 2015-11-17T15:25:33.342Z
Shell 0.34.1
Renderer 45.0.2454.85
Node 4.1.1
yo 0.4.0

It's windows probably? And you're sure you have generators installed? Will test it asap. Thanks for reporting.

No, I didn't installed any generators manually. I thought that they will be downloaded like extensions. How do I install them?

Depends on what generator you want :).
For instance:
$ npm install -g generator-nm

Will install the nm generator. Let me know if it works.

Closing this issue, reopen if you still experience the issues.


Additional updates to parsing and presentation of accessibility attributes

Use iconic representations and localise any accessibility text strings
Add processing of accessibility features that are only provided by an App

Perhaps @andreastai  can consider this also

Seems fine, shall I merge the changes and update the demo client? Or shall we wait for @andreastai ?

I had a message from Andreas suggesting limited availability and/or travels to NAB, so lets merge it, install it and look at it clean later.


Beginning

Begin by setting up the repo with the initial push to master with the basic flask template and help all the other developers download and start the initial project.

what is this sir?


feat(Constellation): Start constellation in Uplink adding new folder

What this PR does 📖
1. Most part of code, is adding constellation on Uplink, following same pattern from Raygun and Multipass
2. 2 first functions from Constellation, is to get items from current directory and add new folder
a. We can use mock data and add new folder just to UI, but it will lost data when we restart app
https://user-images.githubusercontent.com/63157656/215869276-c3138011-177a-4cda-8c08-05a53769f07c.mov
b. We can use real data, adding new folder will upload this to FileSystem, and show it again when restart app
https://user-images.githubusercontent.com/63157656/215869094-9d461f49-77a7-46d0-8239-4452b98bf92a.mov

Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒
Additional comments 🎤

Hi Lucas! Awesome step forward! Just a few things I found on here that I think would perfect it. If you want to fix these in a new PR just lemme know and I'll add some tickets for them!

The name of the folder sits to the left when you save it, I think it might be nice to have the title of the folder appear centered.

We might want to limit chars for the names of folders, right now User can add as many as theyd like and it will extend across the entire screen.

https://user-images.githubusercontent.com/93608357/215874158-8dc5be4e-4269-49ad-8b53-79edc1d5dd9b.mov

Put missing dev review for Lucas's most recent changes he added. Approved on my side 👍

LGTM after the mentioned comments


FW-370. Crypto hardware acceleration for OpenMote-CC2538.

This pull request adds the implementation of CCM functions that leverage hardware acceleration specific to CC2538. This crypto engine is used by default for CC2538 motes.

:+1:


Formatting (on save) sometimes takes a long time

I noticed format on save often is hitting the 0.5s timeout with larger files (coc, vim). Often it works with the same file, but sometimes save / format takes much longer.

Formatting the same file with purty on command line is consistently fast.
  Time (mean ± σ):      34.9 ms ±  14.3 ms    [User: 59.8 ms, System: 57.9 ms]
  Range (min … max):    18.3 ms …  86.1 ms    100 runs

From the outside it looks like either format is triggering save to take longer or triggering something else. Or format is failing because of a different reason we hit the timeout.
This issue is missing more actionable information, but currently I'm not aware what and how to collect. It seems to be reproducible for larger files, by configuring format on save and hitting save multiple times.

That's odd. It would be interesting to know if anybody has seen this on something outside of coc.
Can you see if there's anyting interesting in the log? Not sure if we log anything about formatting specifically, but if the LSP communication is visible around some slow saves you can see what specific requests are made. Should be able to see when the format request is made and the text edit is made, if that is indeed what is taking the time

That's odd. It would be interesting to know if anybody has seen this on something outside of coc.
Can you see if there's anyting interesting in the log? Not sure if we log anything about formatting specifically, but if the LSP communication is visible around some slow saves you can see what specific requests are made. Should be able to see when the format request is made and the text edit is made, if that is indeed what is taking the time

Yes, I think I need to place some log statements and timing in there and have a look again.
Without that: Is this issue not the case with other editors?

Yes, I think I need to place some log statements and timing in there and have a look again.
Without that: Is this issue not the case with other editors?

Rather than placing log statements, I'd expect that you can get LSP communication trace from coc somehow?

Rather than placing log statements, I'd expect that you can get LSP communication trace from coc somehow?

I'll look into it. I'd expect that too, but I'd expect it to be not very fine grained.

I'll look into it. I'd expect that too, but I'd expect it to be not very fine grained.

This is the log from opening a file and hitting save some times. Some of them succeeded, some of them ran into the timeout. I was using "trace.server": "verbose" but there isn't a lot of information.
## versions

vim version: VIM - Vi IMproved 8.2 8022347
node version: v14.9.0
coc.nvim version: 0.0.80-6e5a2aaeb5
coc.nvim directory: /home/andreas/.vim/plugged/coc.nvim
term: dumb
platform: linux

## Log of coc.nvim

2021-01-30T15:15:31.641 INFO (pid:86381) [services] - registered service "languageserver.elmLS"
2021-01-30T15:15:31.642 INFO (pid:86381) [services] - registered service "languageserver.haskell-language-server"
2021-01-30T15:15:31.642 INFO (pid:86381) [services] - registered service "languageserver.bash"
2021-01-30T15:15:31.642 INFO (pid:86381) [services] - registered service "languageserver.dockerfile"
2021-01-30T15:15:31.642 INFO (pid:86381) [services] - registered service "languageserver.purescript"
2021-01-30T15:15:31.684 INFO (pid:86381) [services] - registered service "diagnostic-languageserver"
2021-01-30T15:15:31.856 INFO (pid:86381) [language-client-index] - cSpell started with 86392
2021-01-30T15:15:32.006 WARN (pid:86381) [attach] - Plugin not ready when received "runCommand" [ 'coc-helper.internal.didVimEvent_1', 'BufDelete', 2 ]
2021-01-30T15:15:32.007 WARN (pid:86381) [attach] - Plugin not ready when received "runCommand" [ 'coc-helper.internal.didVimEvent_2', 'BufDelete', 2 ]
2021-01-30T15:15:32.200 INFO (pid:86381) [plugin] - coc.nvim 0.0.80-6e5a2aaeb5 initialized with node: v14.9.0 after 626ms
2021-01-30T15:15:33.351 INFO (pid:86381) [attach] - receive notification: doAutocmd [ 1 ]
2021-01-30T15:15:33.363 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_1', 'BufWipeout', 2 ]
2021-01-30T15:15:33.364 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_2', 'BufWipeout', 2 ]
2021-01-30T15:15:33.368 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_1', 'BufWipeout', 1 ]
2021-01-30T15:15:33.368 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_2', 'BufWipeout', 1 ]
2021-01-30T15:15:33.385 INFO (pid:86381) [attach] - receive notification: doAutocmd [ 1 ]
2021-01-30T15:15:33.443 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_2', 'CocDiagnosticChange' ]
2021-01-30T15:15:33.458 INFO (pid:86381) [services] - purescript state change: stopped => starting
2021-01-30T15:15:33.465 INFO (pid:86381) [language-client-index] - Language server "languageserver.purescript" started with 86451
2021-01-30T15:15:33.565 INFO (pid:86381) [services] - purescript state change: starting => running
2021-01-30T15:15:33.568 INFO (pid:86381) [services] - service languageserver.purescript started
2021-01-30T15:15:34.310 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:35.591 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:38.424 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:39.814 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:41.074 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:42.347 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:43.997 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:45.355 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:49.715 INFO (pid:86381) [attach] - receive notification: showInfo []

This is the log from opening a file and hitting save some times. Some of them succeeded, some of them ran into the timeout. I was using "trace.server": "verbose" but there isn't a lot of information.
## versions

vim version: VIM - Vi IMproved 8.2 8022347
node version: v14.9.0
coc.nvim version: 0.0.80-6e5a2aaeb5
coc.nvim directory: /home/andreas/.vim/plugged/coc.nvim
term: dumb
platform: linux

## Log of coc.nvim

2021-01-30T15:15:31.641 INFO (pid:86381) [services] - registered service "languageserver.elmLS"
2021-01-30T15:15:31.642 INFO (pid:86381) [services] - registered service "languageserver.haskell-language-server"
2021-01-30T15:15:31.642 INFO (pid:86381) [services] - registered service "languageserver.bash"
2021-01-30T15:15:31.642 INFO (pid:86381) [services] - registered service "languageserver.dockerfile"
2021-01-30T15:15:31.642 INFO (pid:86381) [services] - registered service "languageserver.purescript"
2021-01-30T15:15:31.684 INFO (pid:86381) [services] - registered service "diagnostic-languageserver"
2021-01-30T15:15:31.856 INFO (pid:86381) [language-client-index] - cSpell started with 86392
2021-01-30T15:15:32.006 WARN (pid:86381) [attach] - Plugin not ready when received "runCommand" [ 'coc-helper.internal.didVimEvent_1', 'BufDelete', 2 ]
2021-01-30T15:15:32.007 WARN (pid:86381) [attach] - Plugin not ready when received "runCommand" [ 'coc-helper.internal.didVimEvent_2', 'BufDelete', 2 ]
2021-01-30T15:15:32.200 INFO (pid:86381) [plugin] - coc.nvim 0.0.80-6e5a2aaeb5 initialized with node: v14.9.0 after 626ms
2021-01-30T15:15:33.351 INFO (pid:86381) [attach] - receive notification: doAutocmd [ 1 ]
2021-01-30T15:15:33.363 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_1', 'BufWipeout', 2 ]
2021-01-30T15:15:33.364 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_2', 'BufWipeout', 2 ]
2021-01-30T15:15:33.368 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_1', 'BufWipeout', 1 ]
2021-01-30T15:15:33.368 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_2', 'BufWipeout', 1 ]
2021-01-30T15:15:33.385 INFO (pid:86381) [attach] - receive notification: doAutocmd [ 1 ]
2021-01-30T15:15:33.443 INFO (pid:86381) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_2', 'CocDiagnosticChange' ]
2021-01-30T15:15:33.458 INFO (pid:86381) [services] - purescript state change: stopped => starting
2021-01-30T15:15:33.465 INFO (pid:86381) [language-client-index] - Language server "languageserver.purescript" started with 86451
2021-01-30T15:15:33.565 INFO (pid:86381) [services] - purescript state change: starting => running
2021-01-30T15:15:33.568 INFO (pid:86381) [services] - service languageserver.purescript started
2021-01-30T15:15:34.310 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:35.591 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:38.424 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:39.814 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:41.074 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:42.347 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:43.997 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:45.355 INFO (pid:86381) [attach] - receive request: CocAutocmd [ 'BufWritePre', 3 ]
2021-01-30T15:15:49.715 INFO (pid:86381) [attach] - receive notification: showInfo []

I'm now looking into the code about import organization and formatting. Especially because there is an open issue where purty formatting and purescript imports differ: https://gitlab.com/joneshf/purty/-/issues/210
I stumbled into https://github.com/nwolverson/purescript-language-server/issues/120 ;)

I'm now looking into the code about import organization and formatting. Especially because there is an open issue where purty formatting and purescript imports differ: https://gitlab.com/joneshf/purty/-/issues/210
I stumbled into https://github.com/nwolverson/purescript-language-server/issues/120 ;)

That logging doesn't seem to show any LSP logging or even the window/logMessage "logging" from the language server. The relevant log would contain the textDocument/formatting request at a minimum. Looks like we're not logging anything from the LS side for a formatting request (unless erroring) though.

I did set set "trace.server". But I'm with you. The log looks like something went wrong. There isn't a lot in there. Can of course be wrongly configured in my side.
With the pushed changes of #120 I'll have a second look when I've time in the future :)

I did some research. I'm still missing logs and timings, so I'm only looking at code.
formatWithPurty is using spawn
https://github.com/andys8/purescript-language-server/blob/8eb960c7b19366ea87554bfcccb41525ac4cc07d/src/LanguageServer/IdePurescript/Formatting.purs#L41
It will use getEnv in multiple places
Then findBins will look for binaries.
https://github.com/kRITZCREEK/purescript-psc-ide/blob/c813caa4aec6beef9677b4e68b8bc724f3b4c308/src/PscIde/Server.purs#L136
It will run which and find two binaries in my case. which should be fast (2 ms).
For each binary it will try to invoke it with --version
https://github.com/kRITZCREEK/purescript-psc-ide/blob/c813caa4aec6beef9677b4e68b8bc724f3b4c308/src/PscIde/Server.purs#L143-L144
This will cost round about 100 ms and fail for purty, because it expects purty version, not purty --version.
I commented out the search for binaries in this commit:
https://github.com/andys8/purescript-language-server/commit/8ced512b425cda41abedec4d1ac1d58562a26003#diff-53c566b10adcae38675bc3172fc5c76bb21ce18b999b5a80ce9eb1a5e30ca250
It will then run purty and other commands as they are. My first impression is that this does speed up things. It's still possible to hit 500ms timeouts on save, but it happens less likely on large files.
I still think there is a reason where build and purty could influence each other, and/or purty in itself is slow. This is most likely not in the hands of this project.
Ideas

First verify with numbers that path / version search takes time
Then: Find paths and versions of binaries on startup
Or: Cache / memoize path and version search in spawn

With spago and webpack running in other terminals I can see very high times in vs code, too

Without any other process running there seem to be still high latencies:
[Trace - 5:15:12 PM] Received response 'textDocument/foldingRange - (152)' in 1522ms.
Result: [
    {
        "startLine": 2,
        "endLine": 38,
        "startCharacter": 0,
        "endCharacter": 6,
        "kind": "imports"
    }
]

[Trace - 5:15:12 PM] Received response 'textDocument/codeAction - (153)' in 1486ms.
Result: []

Hitting save multiple times (with format on save) will show times like this:
With some seconds in between saves:
[Trace - 5:19:52 PM] Received response 'textDocument/formatting - (38)' in 321ms.
[Trace - 5:19:54 PM] Received response 'textDocument/formatting - (39)' in 477ms.
[Trace - 5:19:58 PM] Received response 'textDocument/formatting - (40)' in 235ms.

Hammering save:
[Trace - 5:21:01 PM] Received response 'textDocument/formatting - (43)' in 393ms.
[Trace - 5:21:01 PM] Received response 'textDocument/formatting - (44)' in 324ms.
[Trace - 5:21:02 PM] Received response 'textDocument/formatting - (46)' in 514ms.
[Trace - 5:21:09 PM] Received response 'textDocument/formatting - (51)' in 7012ms.

And with waiting and only hit save once, I still can see:
[Trace - 5:23:29 PM] Received response 'textDocument/formatting - (70)' in 559ms.

This means hitting 500ms is likely to happen on large files in any editor. The difference is that Vim/CoC will timeout by default.
It also looks like aggressive behavior might lead to some kind of rebuild or cache invalidation which can result in very long times.

Sorry for my lack of followup @andys8 - I don't think there was ever an intention to do all the find/version dance with purty, that just came from lazily hooking into an existing codepath - the point of all that is that one of the most frequent support issues is using the wrong version of purs for purs ide server which conflicts to the one that is being used for builds due to PATH issues with the IDE etc, so doing this once as it happens on startup makes sense.
Not sure if it makes sense to do this for any other exec, I doubt it's useful

What do you think of the following logic:
if addNpmPath
then spawn "./node_modules/.bin/purty format -"
else spawn "purty format -"

Am I missing something or should this work just fine?

That would not be correct, that does not just add the npm bin to the PATH, it ignores the PATH entirely. If there is in fact no purty in the project path the behaviour will be changed.
I think we just need to update the PATH correctly but skip all the where and version junk - it's just a question of getting around to it

it ignores the PATH entirely

I think I might be not understanding something critical here. Why would that be? Could you help me out?
I'm currently using a fork with this change:
https://github.com/nwolverson/purescript-language-server/compare/master...andys8:andys8-fork

My assumption is that Node.ChildProcess.spawn is already using whatever is on the PATH. Why add something then? What am I missing to see?

addNpmPath is an option to add the npm dir to the PATH when launching tools (such as purs and the build command), because many people find that useful. I think spawn should use the path, so we should add the npm dir to the PATH variable when we call spawn, like the code on the left of that diff.
I would be surprised if getEnv was very slow; if it is measurably slow, we could cache it, but I think I have a simple observation that solves your issue - we seem to be updating the path even when that setting is turned off, we could just leave the defaults otherwise - then with that flag off you have the right side of your diff anyway.
(Still need to remove the version check/findbins stuff)

Now, I got it. Even if people set addNpmPath to true it wouldn't mean every binary (e.g. purty) is in there. Makes sense.

(Still need to remove the version check/findbins stuff)

Yep. I wouldn't say this is super slow, but I think it's measurable and not necessary. So that would be a nice improvement.

FYI I started working on this but set it down, I'll try to get around to it

OK, good to hear its working as far as that goes, multiple seconds certainly seems like some funky business not just a little spawn time overhead.
There could certainly be some interaction with formatting on save, rebuild on save, and managing to save a couple of times in quick succession


Allow passing context from a protocol crate to an user callback

This one is especially important for a mechanism like EXTERNAL. Callbacks are per-config and have no per-session data making it very annoying to make decisions based on e.g. a provided TLS client certificate.
A possible solution would be to also use the property system here extending the SessionData passed into callbacks already.
I'm also very much open to alternative suggestions!
This is a good first issue since SessionData is only seen by callback and (possibly) the protocol crate and the property system could be used as-is if that ends up being the chose solution.

As a note for prospective fixers or future me: This issue sadly isn't easy (anymore) since SessionData has been (accidentally) ossified into the public API. This means this issue has to be solved in a breaking release.


VCPKG_DEFAULT_BINARY_CACHE not working when looking for cached archives

Describe the bug
I'm trying to use binary caching for gitlab windows runners.
vcpkg looks for 023dd0049c752931548a69400b380edc1da48022.zip in C:\Users\gitlab_runner\AppData\Local\vcpkg\archives instead of C:\GitLab-Runner\builds\cryptomilk\libssh-mirror\.vcpkg\archives defined by VCPKG_DEFAULT_BINARY_CACHE environment variable!
Log snippet:
$ If (!(test-path .vcpkg\archives)) { mkdir -p .vcpkg\archives }
    Directory: C:\GitLab-Runner\builds\cryptomilk\libssh-mirror\.vcpkg
Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        5/26/2021   2:23 PM                archives
$ ls .vcpkg
    Directory: C:\GitLab-Runner\builds\cryptomilk\libssh-mirror\.vcpkg
Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        5/26/2021   2:23 PM                archives
$ ls .vcpkg\archives
$ $env:VCPKG_DEFAULT_BINARY_CACHE="$PWD\.vcpkg\archives"
$ echo $env:VCPKG_DEFAULT_BINARY_CACHE
C:\GitLab-Runner\builds\cryptomilk\libssh-mirror\.vcpkg\archives
$ $env:VCPKG_DEFAULT_TRIPLET="x64-windows"
$ vcpkg install cmocka
Computing installation plan...
The following packages will be built and installed:
    cmocka[core]:x64-windows
Detecting compiler hash for triplet x64-windows...
A suitable version of git was not found (required v2.26.2). Downloading portable git v2.26.2...
Downloading git...
  https://github.com/git-for-windows/git/releases/download/v2.26.2.windows.1/PortableGit-2.26.2-32-bit.7z.exe -> C:\vcpkg\downloads\PortableGit-2.26.2-32-bit.7z.exe
Extracting git...
A suitable version of 7zip was not found (required v18.1.0). Downloading portable 7zip v18.1.0...
Downloading 7zip...
  https://www.nuget.org/api/v2/package/7-Zip.CommandLine/18.1.0 -> C:\vcpkg\downloads\7-zip.commandline.18.1.0.nupkg
Extracting 7zip...
A suitable version of nuget was not found (required v5.5.1). Downloading portable nuget v5.5.1...
Downloading nuget...
  https://dist.nuget.org/win-x86-commandline/v5.5.1/nuget.exe -> C:\vcpkg\downloads\22ea847d-nuget.exe
A suitable version of powershell-core was not found (required v6.2.1). Downloading portable powershell-core v6.2.1...
Downloading powershell-core...
  https://github.com/PowerShell/PowerShell/releases/download/v6.2.1/PowerShell-6.2.1-win-x86.zip -> C:\vcpkg\downloads\PowerShell-6.2.1-win-x86.zip
Extracting powershell-core...
Starting package 1/1: cmocka:x64-windows
Building package cmocka[core]:x64-windows...
Could not locate cached archive: C:\Users\gitlab_runner\AppData\Local\vcpkg\archives\02\023dd0049c752931548a69400b380edc1da48022.zip

Full log:
https://gitlab.com/cryptomilk/libssh-mirror/-/jobs/1295357514
Environment

OS: Windows 1809
Compiler: MSVC 19.26.28806.0

To Reproduce
Steps to reproduce the behavior:

mkdir -p .vcpkg\archives
$env:VCPKG_DEFAULT_BINARY_CACHE="$PWD.vcpkg\archives"
./vcpkg install cmocka
Could not locate cached archive: C:\Users\gitlab_runner\AppData\Local\vcpkg\archives...

Expected behavior
If VCPKG_DEFAULT_BINARY_CACHE env variable it set, it should search this location for cached archives.
Failure logs
https://gitlab.com/cryptomilk/libssh-mirror/-/jobs/1295357514
Sidenote
It correctly stores it in the cache set via VCPKG_DEFAULT_BINARY_CACHE, it just doesn't load it from there ... :-)
Stored binary cache: C:\Users\gitlab_runner\AppData\Local\vcpkg\archives\02\023dd0049c752931548a69400b380edc1da48022.zip

cc @ras0219 @ras0219-msft


apistatus: Support WRONG_MAGIC_NUMBER status

based on and blocked by https://github.com/nspcc-dev/neofs-api-go/pull/369

https://github.com/nspcc-dev/neofs-api-go/pull/369 has been merged.


[FEATURE] Official unraid docker support

Is your feature request related to a problem? Please describe.
Currently the only option for a server host panel on unraid is Pterodactyl and that software is a nightmare compared to PufferPanel. Would be awesome to see the official PufferPanel docker paired with an unraid community apps template for easy install. I'm going to be building one myself in the coming couple weeks - I could contribute it if that helps? Assuming I can get it working alright. Just not sure what the process for that is but I'd love to help. Been using the panel for years now its about time I did something to give back.
Additional context
Check out the following link for more info on how to get into the CA (Community Apps) section of unraid. its fairly simple.
https://forums.unraid.net/topic/57181-docker-faq/#comment-566084

Good, that's the only limiting factor.
In v3, we're going to remove the "massive" images by default and only have the container spawn containers (because it's a giant mess to have the image do that in the end). And this would have been a requirement for that.

Is v3 moving to docker containers exclusively? Or will the traditional way still work. I must confess, unable to have it all contained in one image was one of the reasons i left ptero

Do you mean you desire the 1 image being able to run all game servers? I did "remove" that in v3 as it makes the pipelines hurt a lot more, and the moving targets of the dependencies makes it harder to manage.
I'd probably push for "build the image using ours as the base" so that the management of dependencies isn't directly on us, but depending on feedback, we can make different decisions.
But, this is all in the air.


[Table] Fix sticky header interaction with checkboxes

Fixes #17276

[x] I have followed (at least) the PR section of the contributing guide.

@Lavoaster Thanks


Add VerticalSizer for track header

Add vertical sizer class to resize new track header. The cursor
changes to horizontal arrows when the mouse is in the sizer.
We keep a minimum width equal to the height of the timeline
for symmetry, to keep the triangle toggles visible, and to keep
the track moving feature available.
Also, set right margin to 0, but keep logic just in case, and tweak
distance between timeline and tracks for more stream lined look.

This is really cool, thanks! I left a couple of comments regarding update / redraw conventions that need to be followed, otherwise we risk some changes not showing up until the next frame.

Thanks for the review! I addressed all the comments, please take another look. Cheers!


Allow user-defined printing

This creates keyword arguments for string_tree (and print_tree) which can take a custom function for printing variables and constants in a tree. e.g.,
    operators = OperatorEnum(;
        binary_operators=(+, *, /, -), unary_operators=(cos, sin)
    )
    x1, x2, x3 = [Node(Float64; feature=i) for i in 1:3]
    tree = x1 * x1 + π
    f_constant(val::Float64, args...) = string(round(val; digits=4))
    @test string_tree(tree, operators; f_constant=f_constant) == "((x1 * x1) + 3.1416)"

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

28 of 33 (84.85%)  changed or added relevant lines in 2 files are covered.
15 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-1.6%) to 90.842%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Equation.jl
25
27
92.59%

src/Utils.jl
3
6
50.0%

Files with Coverage Reduction
New Missed Lines
%

src/precompile.jl
4
80.18%

src/Utils.jl
11
72.22%

Totals

Change from base Build<PHONE_NUMBER>:
-1.6%

Covered Lines:
863

Relevant Lines:
950

💛  - Coveralls

Fixes #38


WFLY-17159 Upgrade Infinispan to 14.0.1.Final

https://issues.redhat.com/browse/WFLY-17159

I'm going to rebase this branch off of WFLY-17165, to avoid test failures not due to the upgrade.

Thanks @pferraro


Could not decode attr value.

I was trying to decompile TouchWiz apk but i got some errors. I have installed twframework-res.apk as i couldn't found any framework-res.apk in the rom.
I got this error: http://pastebin.com/VWpcp6m1
Android Version: 5.1.1
Apktool version:2.0.2
Apk being decompiled: https://drive.google.com/file/d/0B0J0tRCO1FVLejM5amNyc2RHOTg/view?usp=sharing
Framework file:https://drive.google.com/file/d/0B0J0tRCO1FVLd0pPM0t1dEpLNzA/view?usp=sharing
Thanks.

Do you have the framework-res.apk apk from the ROM? The failure resources are from pkgId 1, which is framework-res.apk.

The rom doesn't have a framework-res.apk. I'll check one again.

If I install framework-res.apk i get this errors
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c003f
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c003d
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c003d
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c003d

Upload it and let me take a look :)

[https://drive.google.com/file/d/0B5__WCqiPUr9MDVEVi1EaldmMGc/view?usp=sharing]
Thanks :D

I successfully decompiled it. Probably it was a wrong framework-res.apk. :D


Remove deployBaseContracts function and use a flag in contractDeploymentOptions

I'm submitting a ...

feature request

Summary
Remove this function: lspFactory.DigitalAsset.deployBaseContracts(); which is confusing.
https://docs.lukso.tech/tools/lsp-factoryjs/classes/DigitalAsset#deploybasecontracts
And add a flag in contractDeploymentOptions to force deploy from base
lspFactory.DigitalAsset.deployLSP7DigitalAsset(
 { ... },
 { useProxy: false});

TODO:
Delete all following functions:
deployBaseContracts
deployLSP7DigitalAsset
deployLSP7DigitalAssetReactive
deployLSP8IdentifiableDigitalAsset
deployLSP8IdentifiableDigitalAssetReactive

reactive: bool should go in the deployment options, not in the function name.
LSP7DigitalAsset.deploy()
LSP8IdentifiableDigitalAsset.deploy()

no more Reactive or not in the function name.
options:
reactive: bool,

version: '0.1.0' || '0x123456...' (use this as base contract, check if has code) || '0x12345...' (byteCode itself, use this ,no proxy)

[] update the docs accordingly
The page explaining the deployment options should be very clear

To confirm how this would work:
useProxy = true

Uses supplied base contract addresses if provided
If no base contract addresses supplied, use default base contract addresses stored inside lib
If no base contract address supplied and default address is empty, deploy new base contracts and deploy UP using new BC
Return new base contract details if deployed

useProxy = false

ignore any supplied base contact addresses
Deploy ‘full contracts’ without proxy deployment

Something to note is that by setting useProxy to true, if no valid base contract addresses are passed then new base contracts would be deployed for every new UP. This would be more costly than deploying 'normal' UP contracts

Tasks to be carried out to complete this issue:

DigitalAsset class -> 2 separate LSP7DigitalAsset + LSP8IdentifiableDigitalAsset
Allow custom contract bytecode to be passed to deployment functions
Combine deploy and deployReactive methods
Remove deployBaseContracts methods
Add deployProxy param to deploy functions. Should default to true

Docs should be updated for all tasks, as development progresses.
These tasks will be addressed this week

Closed in #69

Closing as this was implemented in #69


test.py doesnt save results

when i run test.py, this is the result i get:
/usr/lib/python3.10/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
self.pid = os.fork()
Test: [0/5]	Time  0.492 ( 0.492)	PSNR 32.21 (32.21)	SSIM 0.8546 (0.8546)

PSNR 30.6700 SSIM 0.8626

Its not iterating, i guess.(but training works fine)

im so sorry, ive been looking for images in google drive and wasnt there. But its in the google colab so it works perfectly fine. Thanks!


Support geometries with Z and M values

This PR includes a major rework of the runtime geometry representation to enable support for Z and M values. Although no functions that specifically make use of the Z or M axis are implemented yet, and some existing functions may have limited support. Im not terribly happy with the vertex array abstraction yet but it works. Additionally:
There is a new GeometryProcessor abstraction which is used to unify deserialization to GEOS geometries and DuckDB native geometries while also enabling some operations to be performed while deserializing, "zero-copy"-style so as to avoid materializing the geometry hierarchy entirely. The only functions to make use of this so far is ST_Area,  ST_AsWKB, ST_(Min/Max)/X/Y/Z/M and ST_AsText.
We now use our own WKT parser instead of relying on GEOS. I don't expect it to be more efficient but it does allow us to handle empty Z and M geometries and provide better error messages (eventually, they're not that exact yet).
New ST_Force2D, ST_Force3DZ, ST_Force3DM and ST_Force4DM functions have been added.

Does this support Z and M in the native representations as well or just in the GEOS one?

Native too! + WKB/GeoJSON/GDAL support. Although I haven't added new vectorized representations like POLYGON_2D

Although I haven't added new vectorized representations like POLYGON_2D

ah that was what I meant to ask!


Add option to disallow require() for certain file types

We have a setup where we want to always use import for files of types *.scss and *.tsx, but we might need require() for other file types (eg. require('!!file!image!styles/images/icons.svg')) for webpack.
It would be neat if the tsconfig setting no-require-imports could be specified as a regex like
no-require-imports: '.*\.(scss|tsx)'

to disallow import just of files that match the specific pattern

See Microsoft/TypeScript#6615, you will be able to use standard import syntax for these dependencies.

Since this is now supported by TypeScript, closing this issue for housekeeping. Please do speak up if you have a need for this rule that's not yet achievable!


Fix incorrect indentation on Conditional-expr formatting when written over mutiple lines

Purpose

This PR is to fix the formatting conditional expressions when the expression is broken into multiple lines.

Fixes #35163
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[x] Unit Tests
[x] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Closing this PR with #37788


Make keyboard interrupts (e.g. SIGINT from Ctrl-c) work

I think handling keyboard signals correctly is a key feature for liner to have, but don't know what work is required.

Signal handling doesn't seem to be that well supported in Rust yet. chan-signal looks like the best option at the moment.
Maybe add a signal received Event?

I don't think pressing ctrl-c will generate a signal. I think liner can just detect that c was pressed when ctrl was pressed. We just need a way to relay that to the caller.

How do other readline libs handle this?

Created a PR for this: #42

At least on Unix-like systems, the shell listens for signals just like any other program. The signals are generated by the terminal/TTY driver.
https://superuser.com/questions/288772/shell-sigkill-keybinding

The Control+[?] keybindings are actually handled by the tty driver and not by the shell, because as long as there is a process running in the foreground, input and output of your terminal will be forwarded directly to the process. The shell would never be able to act upon (or even see) your keypresses.

Also helpful: http://www.linusakesson.net/programming/tty/index.php
Of course, perhaps on Redox signal handling will be different. (I don't know how much this has been discussed among the Redox developers). However this does mean that, at least on non-Redox systems, we have to listen for Unix signals instead of detecting Ctrl+C (and so on) keypresses.

No signals are raised when ctrl-c is pressed on my osx machine. I think this is because the terminal is in raw mode causing all key presses to be sent straight through to the program. See https://unix.stackexchange.com/questions/21752/what-s-the-difference-between-a-raw-and-a-cooked-device-driver

Oh, I see then. That is a bit confusing, since that means ctrl+c when editing a line is different to when some other program is running!
I'll merge the PR then.

We should probably handle ctrl-z as well. I'll look into it when I have a some time.


pick #6414, #6487, #6477 and #6539 to release-3.0

What have you changed?
Picks #6414, #6487, #6477 and #6539 to release-3.0.
What is the type of the changes?

Bugfix

How is the PR tested?

Integration test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
Yes.
Does this PR affect tidb-ansible?
No.

/run-unit-test

/run-unit-test

/run-unit-test

/merge


Add docker compose

Add a dev env for running geordi under docker-compose. Check the entrypoint under docker file and the docker-compose.yml as well as the relevant script to copy the datasource config file and supervisor config.

I'm merging this to a separate branch, so that it doesn't auto deploy to production or overwrite production configs. See #11 .


Infrastructure

[x] Add entities
[ ] Configure entity relationships
[ ] Seed initial data
[x] Setup EF core
[x] Add identity classes
[x] Add entity configurations
[x] Initial migration
[ ] Setup and configure Identity
[ ] Create identity migration

Merged Infrastructure into main