Tarballs containing a setup.py and tests

This is a bit like the common source tarball problem of including a built ./configure script - and then should the repo also include the generated ./configure script because it is a very important build artifact.
Here, it would be very useful for this repo to have a generated setup.py in the repo.  Then the GitHub tag tarballs are installable using setuptools, and include the tests so that the installation can be verified.
At the moment I can not use the sdist, as it doesnt include tests .
I also can not use the github archive, as it lacks a setup.py .
And openSUSE maintainers dont like having a .spec which uses two tarballs (the sdist + github archive for the tests).
Once I have a tested & installed dephell, I can fix this problem by using dephell to generate the setup.py , but that is not possible while I am trying to build dephell.  My objective is to include dephell in the build process of other packages which lack a setup.py .
fwiw, it isnt so important that the dephell plugins have tests running, if I can get a testable archive of the main dephell project.  The test for the main dephell project should implicitly cover most of the plugins.

I have mixed feelings about it.
Let's talk not about "how dephell should be built", but "how project build command should work", because dephell is built by dephell.
Very often, tests aren't included in sdist. For example, pipenv and pip. This is because none of tools in python ecosystem can run tests for downloaded package, so tests in sdist is redundant and just spent users traffic.
However, I got your point and understand that for some tools outside python ecosystem tests can be helpful. I think, best decision here is also make "dephell-0.7.0-with-tests.tar.gz". So, pip will choose package without tests, but package with tests can be downloaded manually if needed. What do you think?

I forgot important point not to include tests in main sdist: some tools (like pipenv) has really fat "tests" dir because of fixtures.

none of tools in python ecosystem can run tests for downloaded package

What?  setup.py test is integrated into setuptools.  pytest-runner integrates tests into setuptools. etc.
pip and pipenv have huge test suites, so huge that the repo size is now a pain point. https://github.com/pypa/pipenv/issues/3680  I hope this project thinks ahead and avoids that problem.  fwiw, I just finished packaging pipenv for openSUSE https://build.opensuse.org/package/show/devel:languages:python/python-pipenv (oh lovely, it is now broken by some other dependency changing).
Typically projects of that size/importance will have a separate test data repo, and still ship the tests with the sdist (rarely larger than a few meg of .py files), and usually a large percentage of the test suite (the unit tests) will work fine without the test data , and only the integration tests will be skipped.)
And in both cases, distro packagers build from their GitHub archive, using a setup.py .  The pipenv project does use a Pipfile and a pyproject.toml, but they recognise the importance of having a setup.py in the repo , because they are a build tool, and build tools usually include bootstrap files to avoid the catch-22 situations.

so tests in sdist is redundant and just spent users traffic.

No, increasingly the normal users are using wheels, not sdists, where available.
And please note I did not suggest tests in the sdist as the only option.
The other very simple approach would be to have a generated setup.py in git, removing one barrier to getting started.  There are very few tools which support pyproject.toml at the moment, and the implementations are all in flux and are often using new libraries which are also rapidly changing.  e.g. at the moment I can't use poetry in system RPMs because it depends on a newer version of jsonschema than the stable version that OpenStack requires, and OpenStack wins.  And it also has the same problem -- its repo doesnt include a setup.py

Let's talk not about "how dephell should be built", ..

IMO that is important to talk about, as dephell can be an important tool in bootstraping other projects, and as such should be adding a setup.py to its repo , so that the other projects do not need to.  Also it is a dev tool, not a user tool.

What?

Don't panic, I open for changes. In my mind and in my projects. Sorry, if my messages sound uncompromising.

The other very simple approach would be to have a generated setup.py in git, removing one barrier to getting started.

Yeah, no problems, I'll add it.

The other very simple approach would be to have a generated setup.py in git

Anyway, should we include tests in the main sdist or it's better to generate other sdist with -with-tests prefix? dephell project build should work in the best way, we can't leave it broken :)

Another possibility is to specify some threshold size for tests after that we won't include tests in sdist.

As far as I know, there is only one slot for an sdist per release in PyPI, but I havent tried to upload multiple for any project I am a maintainer of.  Another way to see if this is possible is to query the BigQuery dataset for multiple files per release using queries a bit like https://github.com/psincraian/pepy/issues/128#issuecomment-491665411 .
However, extra tarballs could be created and projects could choose to upload them as extra artifacts on each GitHub tag.
That has been bugging me a bit lately, as I regularly get push back on adding tests to the sdist.
I have some other more crazy ideas, sort of sparked by https://github.com/amzn/ion-python/pull/76#issuecomment-471315694
As there can be many wheels or eggs per PyPI release, and wheels and egg filenames have a few tag components used to indicate what platforms should use which wheels/eggs, extra sdists could be uploaded to PyPI as wheels/eggs with an "invalid" platform tag, such as 'sdist' or 'sdist-really-large', which pip will never try to install because the tags would never match the local host platform identifiers.  The wheels could also be valid sdists by using data dirs of ../foo-bar-1.2.3/.  I suspect the egg structure can also be abused sufficiently to include a valid sdist.

Another possibility is to specify some threshold size for tests after that we won't include tests in sdist.

I really like your idea of a threshold to determine whether the tests should be automatically included because they are small, and excluded if too large.  The chosen threshold isnt very important to me, and it could even be relative to the size of the core files.  It creates a feature around which sensible discussion can occur about balancing priorities, and adjusting them as other factors change (e.g. as the PyPI stats show percentage of wheels increases, the need for small sdists diminishes and the threshold can be adjusted accordingly) .  Allowing packages to override the threshold, and/or force inclusion or exclusion, would likely be helpful.

I really like your idea of a threshold to determine whether the tests should be automatically included because they are small, and excluded if too large.

Ok, let's do it in this way. Thank you :)


docs: Documentation fix for ServerContainer

Used same wording as for modules/aws/testcontainers/aws/aws_lambda.py

are we going to fix generic module here or later?


Service module

The Dynamics SCM Service module  was dependent on Project Accounting module -now we have Project Operations license is the Service module still available in SCM?
If not then what is the alternative, if it is then is there any dependency on project operations license?
Can the features of Service be used in SCM with an enterprise SCM or finance license without need for a Project operation license ?

Can the features of Project Accounting be used in SCM with an enterprise SCM or finance license without need for a Project operation license?

Its very confusing to explain to clients or to architect solutions.

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

ID: 18107774-aebe-69da-79f7-8a12f87bf6f4
Version Independent ID: e5138760-dc65-0552-4c0d-580aadbce407
Content: Service management overview - Supply Chain Management | Dynamics 365
Content Source: articles/supply-chain/service-management/service-management-home-page.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @ShylaThompson
Microsoft Alias: kamaybac

@magic1949, thanks for the feedback.
@sigitac, please review.

@magic1949, thanks for the feedback.
@sigitac, please review.

Bug 549257 logged to track this issue.

Bug 549257 logged to track this issue.

We license users, not functionality. This means that an SCM or Activity user license is sufficient for using the service management functionality as described on page 30 in the Dec 2020 edition of the Dynamics 365 Licensing Guide.

You may need a Project Operations attach license for one or more of the service management users to perform necessary project configuration -- similar to how Finance attach user licenses are needed for setting up finance data that is prerequisite for SCM business processes.

We license users, not functionality. This means that an SCM or Activity user license is sufficient for using the service management functionality as described on page 30 in the Dec 2020 edition of the Dynamics 365 Licensing Guide.

You may need a Project Operations attach license for one or more of the service management users to perform necessary project configuration -- similar to how Finance attach user licenses are needed for setting up finance data that is prerequisite for SCM business processes.

That was not the really question.
There are dependencies of Service on Finance and Operations Project Accounting.
However  that module is now replaced by Project Operations,
The question was not about field service -  but about the Service module in SCM (or formerly Ax 2012)
So
1: are SCM users able to use Service in SCM  without a Project Operations license?
2.  are there deprecations of Project Accounting features  that prevent Service module being used?
3. Either a  Project Operation attach license is needed to use Service module or it isn't?.

That was not the really question.
There are dependencies of Service on Finance and Operations Project Accounting.
However  that module is now replaced by Project Operations,
The question was not about field service -  but about the Service module in SCM (or formerly Ax 2012)
So
1: are SCM users able to use Service in SCM  without a Project Operations license?
2.  are there deprecations of Project Accounting features  that prevent Service module being used?
3. Either a  Project Operation attach license is needed to use Service module or it isn't?.


Stop using Pimple as service locator

Pimple should not be used as a locator for fetching dependencies from as things are starting to get coupled which obviously is the exact opposite of the problem that it was supposed to solve.

Use Symfony DI instead,
get rid of service providers,
find a way to autowire the dependencies in the HTTP verb methods and middlewares.

Implemented starting with 3e365f270fc526f09a1aff8d8ea14b2450b5d00e

Things to note:

Dependencies are now autowired in controller classes (which are plain PHP classes),
Route callbacks have access to the container instance from which dependencies can be fetched (service locator).


[bug]: Model database remains stale

Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
Windows
GPU vendor
Nvidia (CUDA)
GPU model
RTX 4090
GPU VRAM
24GB
Version number
main
Browser
Chrome / Firefox
Python dependencies
No response
What happened
When a user moves model files to another folder, the model database continues to remain stale.
Here's the example scenario:

Let's say I add a bunch of LoRA's in a folder C:/models/loras which has a bunch of safetensors files.
I boot up Invoke and the client recognizes these new models and registers them to the database and the client.
Now let's say I do some local file management and now instead moved these LoRA's to C:/models/loras/styles
When I boot up Invoke next, the ModelInstallerService as expected, reports that the LoRA's registered are now missing from their location.

Here's where the problems begin:

The Model Manager UI does not reflect these missing models in anyway. So it is not possible to tell at a glance from the UI which of the models files are not there. This needs to be referred to from the console. The Model Manager should mark this.
There doesn't seem to be a way from the Model Manager UI to update these paths to a new path. So it basically becomes a dead entry.
If you notice, the new path of these LoRA files are also in the same folder hierarchy where they should be recognized automatically by Invoke. But they do not register the new paths because the files share the same names as those existing in the database already. If the file names are same, then maybe we should update these paths automatically? This could be a problem for Diffusers sub models which have the same names but should not be an issue for checkpoint paths maybe? Because Diffusers are detected by the folder name in most cases.

What you expected to happen

The Model Manager UI should visually indicate the missing model files somehow
The Model Manager UI should have an option to update these paths either manually or automatically.
The ModelInstallerService should probably override the database entry with the new path if the model with the same name is detected under the same folder hierarchy.

How to reproduce the problem
No response
Additional context
No response
Discord username
No response

The short answer is you aren't allowed to move models around in the models dir. That's an application-managed directory
#6122 hides the missing models from the API response
A more involved but maybe better UX would be to extend the model config class w/ a flag indicating if the model is physically present or not. This would alos require UI changes to communicate that the model is missing.
Omitting the model entirely seems like a good compromise to me. It encourages the user to look at the terminal to see what's wrong.


Closing the Application with an opened context flyout causes a crash

Describe the bug
When we close an application with a context flyout opened, it logs a crash in the Event Viewer:
https://github.com/microsoft/PowerToys/issues/28820
This is an issue in PowerToys utilities, which we fixed an instance of it by looping while waiting for the context flyout to closed before really closing, but it is reproable in the WinUI3 gallery as well.
Steps to reproduce the bug

Open the WinUI 3 Gallery application that's shipped in the Microsoft Store.
Enter the Text > TextBox screen.
Right click in the simple text box example so that the context menu appears.
Close the Gallery by clicking the exit button with the context menu opened. This will cause a crash.
Verify that there's an Event Viewer entry for the issue.

Expected behavior
That the application crashes without the issue.
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.4.5: 1.4.240411001
Windows version
Windows 11 (22H2): Build 22621
Additional context
The crash doesn't seem to occur if "Animation Effects" are turned off in the Windows settings.

Maybe this is the same as #8605 ?

Closing as dup of #8605.


Fix for shaders no longer automatically loading with the latest ArkOS 1.6 (04/03/2021) update

To fix shaders no longer auto loading in retroarch and retroarch32 with the latest ArkOS 1.6 update:

Load retroarch or retroarch32.
Then go to settings>video>auto-shader delay and set that to 0.
Save the configuration.

Now your shaders should automatically load with your retroarch emulators when configured to do so.

The is still a problem. Now you can save the shaders, but it only saves one effect of the shaders
Exemple
If I load and Save lcd-grid-v2-gba-color-motionblur.glslp  it will load 3 differents effects, the GBA LCD Grid (v2), the GBA Color pallet correction and the motionblur, but if I save, clode the retroarch and open de the again it will have ONLY the GBA LCD Grid (v2) loaded, the other ones will disapear from the shaders loaded list.

Now that I'm reading I can see that my phone auto correct changed a few words.
Just instaled a clean img on my SD from the version 1.5 that was working with settings>video>auto-shader delay 3 then loaded lcd-grid-v2-gba-color-motionblur.glslp and was working fine. Then updated to the last version on this weekend and it changed the delay to 0 and saved the 3 effects on the shaders for my GBA, but after reboot (the retroarch) it does not load, but it is there, just need to enter on the menu and click on apply changes. BUT on the other emulators that I use different shaders (I think it is only one) it loads as usual. I will try to test something else later and post more feedback here.


Update the Game Description in the README.md

Please don't change the guidelines for requirements and contribution
Happy hacking! :)

can i get assigned please?

!assign @1anagha7

can I be assigned

Can I get assigned to this issue?

can i get assigned

Can I get assigned?

I had to go for dinner, can my timer be increased please? I came back around 9:10

!assign @ashyune

ayy big bro plz assign ts to me!!!

!deassign

!assign @ashyune

!deassign @1anagha7

!assign @ashyune

assign plz

assign please

can I get assigned this?

can i please get this assigned?

!deassign @Andy34G7

!assign @Tarun600GK

!assign @SavvyHex

can i get this assigned to me?

I submitted a PR, please check it out

can i get it assigned pls


Azure AD Configuration version requirement

We plan to move from ADFS to Azure AD for SSO. Would anyone please let me know what version of Silverstripe-SAML is compatible with Azure AD? Do we need version 4 for this to work? We are using version 3 and I assume since Azure AD use the same SAML protocol, what we need to do is just configuring Silversripe-saml with the new Identity provider (Replace ADFS with Azure AD parameters).

We also have used it with Azure on older releases (with the silverstripe/saml version), but only on SilverStripe 4. But there is a good chance that by just replacing the parameters, it will just work.
There is one easy way to find out for sure... try it ;-)

Hi @itengineer2020, unfortunately it may not be quite that simple. One of the key things you'll need to make sure of is that Azure AD and ADFS return the same unique value - e.g. the same GUID - for each user. This can be a little difficult to configure, but the documentation in the module can help guide you there (there's a configuration guide specifically for Azure AD).
There are a couple of differences which are also documented in the developer guide for Azure AD (specifically this section: https://github.com/silverstripe/silverstripe-saml/blob/master/docs/en/developer.md#additional-configuration-for-azure-ad) that would be worth reviewing as well.

I'll mark this issue as closed for now, but please feel free to re-open it or comment on it if you have any other questions! I'm happy to help if I can (although as you can tell I'm not terribly active, sorry about that!)


✨[Feature Request]:  Popup on form submission

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
For user experience user can notify from the form as submitted
https://github.com/Anishkagupta04/RAPIDOC-HEALTHCARE-WEBSITE-/assets/109230049/2dc5e91e-76cc-4ce8-872e-1708b408d6c6
Use Case
When the form has submitted the form user will get the notification
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Please assign this task to me @Che140401

Assigning @Che140401

Hey  @Anishkagupta04, can you pls assign me this issue. I will create a popup for the user on the form submission.


⚠ ClamAV has degraded performance

In 3858ab7, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 79 ms

Resolved: ClamAV performance has improved in 513bdb9.


Roll engine e5195ee479c4..daf0ededbd46 (3 commits)

https://github.com/flutter/engine/compare/e5195ee479c4...daf0ededbd46
git log e5195ee479c4..daf0ededbd46 --no-merges --oneline
daf0ededb Roll src/third_party/skia 6417060b1c23..340aeda6b3ba (41 commits) (flutter/engine#7205)
793a08bbf Add .woff file to binary format (flutter/engine#7202)
2bd75ae8b Support querying display refresh rate in engine (flutter/engine#7002)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

@liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5636794206912512

Commit queue failed; closing this roll.


Search isn't working

Subject: Search isn't working
Description:
Just searched within California, United States.
Results:
There were 2 results.  Apparently the beta program isn't functional at all as of yet?
Backend version: develop-7c33e18d
Frontend version:
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Page: https://couchers.org/search?#loc=3/28.54/-99.4
User: heavenwind (17633)

limitations of geo search


Add .hugo_build.lock to Hugo.gitignore

Pull Request
Thank you for contributing to @toptal/gitignore and https://www.gitignore.io.
New or update
Select the appropriate check box for this pull request. This helps when merging to ensure there are no conflicts with other templates or misunderstandings of how thee template list works.
New

[ ] Template - New .gitignore template
[ ] Composition - Template made from smaller templates
[ ] Inheritance - Template similar to an existing template
[ ] Patch - Template extending functionality of existing template

Update

[x] Template - Update existing .gitignore template

Details
This PR adds .hugo_build.lock to Hugo.patch Hugo.gitignore, which has been introduced since Hugo v0.89.0 (cf. the release notes).

Hi @macap, sorry for my late reply.
I created Hugo.pach and reverted the original file to the way it was. Please check again.

Hi @Meiryo7743, it seems that the changes you want to introduce are already on github/gitignore. It was updated and is available here:
https://www.toptal.com/developers/gitignore/api/hugo
https://github.com/github/gitignore/blob/main/community/Golang/Hugo.gitignore
I will close this PR as it seems unnecessary. Let me know if you have any further questions 👍
And thank you for taking the time to contribute 🙇


external dependency on downloads.mysql.com

If https://downloads.mysql.com/archives/ goes away, the curl in the Dockerfile will fail, presenting a rather critical external dependency. Is this at all a concern?

I'd imagine the fix would be to use another download location. Do you think there is a more stable choice to warrant changing?


Servant 0.12 support?

Servant 0.13 doesn't work with latest jsaddle (in reflex-platform) due to a conflicting dependency constraint on http-types.
jsaddle uses http-types >=0.8.6 && <0.12
servant-0.13 uses http-types ==0.12.*.

Right. reflex-servant only depends on parts of http-types that are very stable, as far as I know, so that part should be trivial. I don't know off the top of my head what has changed in Servant itself from 0.12 to 0.13, but I expect support for Servant 0.12 to be straightforward to add, if not trivial.

I gave it a shot, but it didn't work out as I hoped. GHC gets stuck on some type family terms during compilation, but not in GHCi. If anyone wants to investigate, my changes are on a branch.

Once my PR to JSaddle (linked above) gets merged we shouldn't strictly need this.

Thanks for the http-types bump in jsaddle!

Closing this due to a non-trivial stuck types issue triggered by servant 0.12. A fix may be possible still, but neither of us can spend time on it.


throw more informative error when fail to parse sstable generation

since scylla 5.4, the sstables are named with a uuid-based identifier instead of integer-based one. so the java tools inherited from cassandra 3.x branch do not support it, and throw an
UnsupportedOperationException when parsing a sstable name with the integer-based generation. like:
$ sstablemetadata me-3gbp_1glu_4e6g020ns4px173el0-big-Data.db
Exception in thread "main" java.lang.NumberFormatException: For input string: "3gbp_1glu_4e6g020ns4px173el0"
        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.base/java.lang.Integer.parseInt(Integer.java:652)
        at java.base/java.lang.Integer.parseInt(Integer.java:770)
        at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:280)
        at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:228)
        at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:217)
        at org.apache.cassandra.tools.SSTableMetadataViewer.main(SSTableMetadataViewer.java:150)

the user experience is poor when seeing this exception.
after this change, if the sstable's identifier is UUID-based, the tool would print a more user-friendly message in the stderr:
$ sstabledump  /home/kefu/.dtest/dtest-8xbyk741/test/node3/data/ks/test-4517d910968d11ee84e4ebb027ebcc17/me-3gbr_0z07_0dpts20r5i40t9onx3-big-Data.db
SSTable 'me-3gbr_0z07_0dpts20r5i40t9onx3-big-Data.db' is using the UUID-based identifier, and hence should be openned using 'scylla sstable' commands.

Fixes #360
Signed-off-by: Kefu Chai<EMAIL_ADDRESS>

v2:

catch and print out the exception in main().

@denesb hi Botond, could you take another look? the latest revision should have addressed your comment.

v2:

reword the error message. and update the commit message to match with the error message.


Clean up unit tests

@mukut1994 I'm not sure why these tests are failing, there should be no changes in terms of the logic so surely the tests should pass?

@mithileshz to me the order of operations still looks the same
it shouldn't break, the 2 should be equivalent


Volume servers don't notice master change

We have a constant bug in low load cluster when volume servers don't notice master change.
Our setup
SeaweedFS version - we tryed 1.56 and 1.87
Three hosts 192.168.50.{71,72,73}.
There are one master on port 9333 and three volume servers on ports 8081, 8082 8083 per host.
All volume servers are in the same DC but are formed in three racks, one rack per host.
Commands to start are identical on every host:
/bin/weed -v 0 volume -index=leveldbMedium -dataCenter=dc1 -rack=rack1 -dir=/data/swfs/volume1 -max=300 -ip=<IP_ADDRESS> -port=8081 -port.public=8181 -publicUrl=http://<IP_ADDRESS>:8181 -mserver=<IP_ADDRESS>:9333,<IP_ADDRESS>:9333,<IP_ADDRESS>:9333
/bin/weed -v 0 volume -index=leveldbMedium -dataCenter=dc1 -rack=rack1 -dir=/data/swfs/volume3 -max=300 -ip=<IP_ADDRESS> -port=8083 -port.public=8183 -publicUrl=http://<IP_ADDRESS>:8183 -mserver=<IP_ADDRESS>:9333,<IP_ADDRESS>:9333,<IP_ADDRESS>:9333
/bin/weed -v 0 volume -index=leveldbMedium -dataCenter=dc1 -rack=rack1 -dir=/data/swfs/volume2 -max=300 -ip=<IP_ADDRESS> -port=8082 -port.public=8182 -publicUrl=http://<IP_ADDRESS>:8182 -mserver=<IP_ADDRESS>:9333,<IP_ADDRESS>:9333,<IP_ADDRESS>:9333

/bin/weed -v 0 master -volumeSizeLimitMB=50 -defaultReplication=011 -mdir=/data/swfs/master -ip=<IP_ADDRESS> -port=9333 -peers=<IP_ADDRESS>:9333,<IP_ADDRESS>:9333,<IP_ADDRESS>:9333

Problem
When master changed all volume servers sometimes don't notice new master and keep connection with old one.
As a result new master know nothing about volume servers.
Cluster status:
{
  "Leader": "<IP_ADDRESS>:9333",
  "Peers": [
    "<IP_ADDRESS>:9333",
    "<IP_ADDRESS>:9333"
  ]
}

Log from master where we can see new master election:
I0806 00:58:45 24607 master_server.go:142] event: &{typ:leaderChange source:0xc0001fa360 value: prevValue:<IP_ADDRESS>:9333}
I0806 00:58:46 24607 master_server.go:148] state change: &{typ:stateChange source:0xc0001fa360 value:leader prevValue:candidate}
I0806 00:58:46 24607 master_server.go:142] event: &{typ:leaderChange source:0xc0001fa360 value:<IP_ADDRESS>:9333 prevValue:}
I0806 00:58:46 24607 master_server.go:144] [ <IP_ADDRESS>:9333 ] <IP_ADDRESS>:9333 becomes leader.
I0806 01:02:16 24607 master_server.go:148] state change: &{typ:stateChange source:0xc0001fa360 value:follower prevValue:leader}
I0806 01:02:20 24607 master_server.go:142] event: &{typ:leaderChange source:0xc0001fa360 value:<IP_ADDRESS>:9333 prevValue:}
I0806 01:02:20 24607 master_server.go:144] [ <IP_ADDRESS>:9333 ] <IP_ADDRESS>:9333 becomes leader.
I0806 01:03:48 24607 master_server.go:142] event: &{typ:leaderChange source:0xc0001fa360 value: prevValue:<IP_ADDRESS>:9333}
I0806 01:03:48 24607 master_server.go:142] event: &{typ:leaderChange source:0xc0001fa360 value:<IP_ADDRESS>:9333 prevValue:}
I0806 01:03:48 24607 master_server.go:144] [ <IP_ADDRESS>:9333 ] <IP_ADDRESS>:9333 becomes leader.

Connections list on the host of old master:
ESTAB      0      0      <IP_ADDRESS>:60000              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=14))
ESTAB      0      0      <IP_ADDRESS>:39154              <IP_ADDRESS>:18081               users:(("weed",pid=24607,fd=42))
ESTAB      0      0      <IP_ADDRESS>:36896              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=22))
ESTAB      0      0      <IP_ADDRESS>:41148              <IP_ADDRESS>:19333               users:(("weed",pid=24265,fd=66))
ESTAB      0      0      <IP_ADDRESS>:47516              <IP_ADDRESS>:18081               users:(("weed",pid=24607,fd=43))
ESTAB      0      0      <IP_ADDRESS>:44232              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=20))
ESTAB      0      0      <IP_ADDRESS>:54940              <IP_ADDRESS>:18082               users:(("weed",pid=24607,fd=38))
ESTAB      0      0      <IP_ADDRESS>:41146              <IP_ADDRESS>:19333               users:(("weed",pid=24264,fd=34))
ESTAB      0      0      <IP_ADDRESS>:44190              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=13))
ESTAB      0      0      <IP_ADDRESS>:39816              <IP_ADDRESS>:9333                users:(("weed",pid=24607,fd=923))
ESTAB      0      0      <IP_ADDRESS>:36858              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=18))
ESTAB      0      0      <IP_ADDRESS>:36884              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=21))
ESTAB      0      0      <IP_ADDRESS>:60398              <IP_ADDRESS>:9333                users:(("weed",pid=24262,fd=58))
ESTAB      0      0      <IP_ADDRESS>:50170              <IP_ADDRESS>:18081               users:(("weed",pid=24607,fd=35))
ESTAB      0      0      <IP_ADDRESS>:48738              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=24))
ESTAB      0      0      <IP_ADDRESS>:41150              <IP_ADDRESS>:19333               users:(("weed",pid=24262,fd=41))
ESTAB      0      0      <IP_ADDRESS>:44188              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=16))
ESTAB      0      0      <IP_ADDRESS>:33368              <IP_ADDRESS>:18082               users:(("weed",pid=24607,fd=41))
ESTAB      0      0      <IP_ADDRESS>:48946              <IP_ADDRESS>:18082               users:(("weed",pid=24607,fd=36))
ESTAB      0      0      <IP_ADDRESS>:50564              <IP_ADDRESS>:18083               users:(("weed",pid=24607,fd=40))
ESTAB      0      0      <IP_ADDRESS>:50906              <IP_ADDRESS>:18083               users:(("weed",pid=24607,fd=39))
ESTAB      0      0      <IP_ADDRESS>:33506              <IP_ADDRESS>:9333                users:(("weed",pid=24607,fd=26))
ESTAB      0      0      <IP_ADDRESS>:54044              <IP_ADDRESS>:18083               users:(("weed",pid=24607,fd=37))
ESTAB      0      0      <IP_ADDRESS>:35770              <IP_ADDRESS>:9333                users:(("weed",pid=24607,fd=931))
ESTAB      0      0      <IP_ADDRESS>:36860              <IP_ADDRESS>:19333               users:(("weed",pid=24607,fd=19))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:40678               users:(("weed",pid=24607,fd=17))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:49992               users:(("weed",pid=24607,fd=28))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:9333                [::ffff:<IP_ADDRESS>]:60398               users:(("weed",pid=24607,fd=51))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:18082               [::ffff:<IP_ADDRESS>]:48946               users:(("weed",pid=24265,fd=67))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:18081               [::ffff:<IP_ADDRESS>]:49072               users:(("weed",pid=24262,fd=44))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:52480               users:(("weed",pid=24607,fd=46))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:9333                [::ffff:<IP_ADDRESS>]:52468               users:(("weed",pid=24607,fd=58))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:42828               users:(("weed",pid=24607,fd=31))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:9333                [::ffff:<IP_ADDRESS>]:37546               users:(("weed",pid=24607,fd=33))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:41148               users:(("weed",pid=24607,fd=48))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:18083               [::ffff:<IP_ADDRESS>]:54044               users:(("weed",pid=24264,fd=37))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:42830               users:(("weed",pid=24607,fd=32))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:9333                [::ffff:<IP_ADDRESS>]:43658               users:(("weed",pid=24607,fd=34))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:9333                [::ffff:<IP_ADDRESS>]:59592               users:(("weed",pid=24607,fd=27))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:9333                [::ffff:<IP_ADDRESS>]:46924               users:(("weed",pid=24607,fd=44))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:18083               [::ffff:<IP_ADDRESS>]:38330               users:(("weed",pid=24264,fd=38))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:33472               users:(("weed",pid=24607,fd=11))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:42826               users:(("weed",pid=24607,fd=30))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:18082               [::ffff:<IP_ADDRESS>]:42020               users:(("weed",pid=24265,fd=68))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:49994               users:(("weed",pid=24607,fd=29))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:49990               users:(("weed",pid=24607,fd=25))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:60000               users:(("weed",pid=24607,fd=15))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:18081               [::ffff:<IP_ADDRESS>]:47516               users:(("weed",pid=24262,fd=43))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:41146               users:(("weed",pid=24607,fd=47))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:41150               users:(("weed",pid=24607,fd=49))
ESTAB      0      0       [::ffff:<IP_ADDRESS>]:19333               [::ffff:<IP_ADDRESS>]:45288               users:(("weed",pid=24607,fd=45))

why the volume servers have the same -ip=<IP_ADDRESS> ?

why the volume servers have the same -ip=<IP_ADDRESS> ?

we use one volume server per physical disk and replication mode '011',
we don't have a need to place every volume server in the rack to distinct IP.

do you have the logs on the volume servers at the same time?

do you have the logs on the volume servers at that same time?

Yes, but all logs for all volumes servers last messages are far earlier, for example:
I0804 11:16:38 24264 volume_grpc_client_to_master.go:74] Heartbeat to: <IP_ADDRESS>:9333
I0804 11:16:43 24264 volume_grpc_client_to_master.go:95] Volume Server found a new master newLeader: <IP_ADDRESS>:9333 instead of <IP_ADDRESS>:9333
I0804 11:16:46 24264 volume_grpc_client_to_master.go:74] Heartbeat to: <IP_ADDRESS>:9333
I0805 00:40:47 24264 volume_grpc_client_to_master.go:95] Volume Server found a new master newLeader: <IP_ADDRESS>:9333 instead of <IP_ADDRESS>:9333
I0805 00:40:50 24264 volume_grpc_client_to_master.go:74] Heartbeat to: <IP_ADDRESS>:9333
I0805 01:01:16 24264 volume_grpc_client_to_master.go:95] Volume Server found a new master newLeader: <IP_ADDRESS>:9333 instead of <IP_ADDRESS>:9333
I0805 01:01:19 24264 volume_grpc_client_to_master.go:74] Heartbeat to: <IP_ADDRESS>:9333
I0805 12:40:01 24264 store.go:119] In dir /data/swfs/volume3 adds volume:95 collection:MAIL_20200805_TTL15d replicaPlacement:011 ttl:15d
I0805 12:40:01 24264 volume_loading.go:119] loading leveldb medium /data/swfs/volume3/MAIL_20200805_TTL15d_95.ldb
I0805 12:40:01 24264 store.go:123] add volume 95

Also I have to mention the following.

Is this easily reproducible? I made some change, but still not sure about the fix.

Is this easily reproducible? I made some change, but still not sure about the fix.

Unfortunately I can't reproduce it by hands.
I tried to kill master to master connections leaving volume server to master
unaffected to provoke leader changing but masters just reconnected.

closing this since no actionable items. Will keep an eye possible related issues.


OCPBUGS-7369: Guard pod set readiness probe endpoint explicitly

Backporting https://github.com/openshift/cluster-kube-apiserver-operator/pull/1437

/hold
until https://github.com/openshift/library-go/pull/1465 merges

/hold cancel

/retest-required

/lgtm
/approve

@gangwgr can you please cherry-pick approve the PR?

/approve

/label backport-risk-assessed


Docker image with PostgreSQL database pre-populated with ATP tennis data

Docker image mcekovic/uts-database with PostgreSQL database pre-populated with ATP tennis data as of season 2020:

Install Docker
Ensure PostgreSQL port 5432 is NOT open on your machine (i.e. PostgreSQL is not running if eventually installed)
Run UTS database Docker image in a container:
docker run -p 5432:5432 -d --name uts-database mcekovic/uts-database
(this will take a while to download the image with data)
Enter PostgreSQL client command line tool:
docker exec -it uts-database psql -U tcb
Execute SQL commands, like:
SELECT goat_rank, name, country_id, goat_points FROM player_v ORDER BY goat_points DESC NULLS LAST LIMIT 20;
Next time you want Docker container with UTS database running type:
docker start uts-database
If you want Docker container with UTS database to autostart when you start Docker Desktop/Daemon, add --restart always to the docker run ... command above
To refer to the UTS database Docker images created at the end of particular season use image URLs with following tags:

mcekovic/uts-database:asof2020
mcekovic/uts-database:asof2019

Do you know how what should i do so i can  make the container persist in my computer so i can connect with a SQL app to play with data?

First comment updated with the answer.

Refreshed with 2020 data.

"Ensure PostgreSQL port 5432 is NOT open on your machine (i.e. PostgreSQL is not running if eventually installed)"
How can I check this?

Please check if PostgreSQL service is running or not.
On Windows, check 'Services' panel.
On Linux, check 'systemctl status postgresql'.
On Wed, Jun 29, 2022 at 2:35 AM philkim72 @.***> wrote:

"Ensure PostgreSQL port 5432 is NOT open on your machine (i.e. PostgreSQL
is not running if eventually installed)"
How can I check this?
—
Reply to this email directly, view it on GitHub
https://github.com/mcekovic/tennis-crystal-ball/issues/337#issuecomment-1169414970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPUVTEFRNYTVE6FZ4RMZC3VROK6NANCNFSM4KDDY2HQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello @mcekovic
Nice work with the database. managed to get it up and running.
When will it be updated with the latest statistics?
Thanks
/Mike


Clarify why Monero is still on GitHub adn the contingency measures planned

This question gets asked all the time, especially after a big project is banned from github.

There is a reasonable ccs (1.5xmr) open:
https://repo.getmonero.org/monero-project/ccs-proposals/-/merge_requests/339
Auto backed up every 8hrs
Live here:
http://rjk5vwl4wxqozunx6rpaat7rwxkbtlcknkhyq5tuzmy7rc22rbxl4wyd.onion/monero_archive/
Perhaps we could host a few?

That's unrelated to this issue, as the point is to list contingencies already in place and managed by the current maintaienrs of the project (core team).


[SPARK-37314][K8S][BUILD] Upgrade kubernetes-client to 5.10.1

What changes were proposed in this pull request?

This PR upgrades kubernetes-client from 5.9.0 to 5.10.1.
Why are the changes needed?

kubernetes-client 5.10.0 and 5.10.1 were released, which include some bug fixes.
https://github.com/fabric8io/kubernetes-client/releases/tag/v5.10.0
https://github.com/fabric8io/kubernetes-client/releases/tag/v5.10.1
Especially, the connection leak issue would affect Spark.
https://github.com/fabric8io/kubernetes-client/issues/3561
Does this PR introduce any user-facing change?

No.
How was this patch tested?

CIs.

Test build #145182 has started for PR 34579 at commit 0b683a8.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49651/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49651/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49651/

Retest this please

There are two known failures, but this PR has another failure. Although it looks like a flaky one, I re-trigger tests to make it sure.
- Run SparkRemoteFileTest using a remote data file *** FAILED ***

Test build #145182 has finished for PR 34579 at commit 0b683a8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145182/

Test build #145184 has started for PR 34579 at commit 0b683a8.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49653/

Run SparkRemoteFileTest using a remote data file passed. Merged to master.
KubernetesSuite:
- Run SparkPi with no resources
- Run SparkPi with no resources & statefulset allocation
- Run SparkPi with a very long application name.
- Use SparkLauncher.NO_RESOURCE
- Run SparkPi with a master URL without a scheme.
- Run SparkPi with an argument.
- Run SparkPi with custom labels, annotations, and environment variables.
- All pods have the same service account by default
- Run extraJVMOptions check on driver
- Run SparkRemoteFileTest using a remote data file
- Verify logging configuration is picked from the provided SPARK_CONF_DIR/log4j.properties
- Run SparkPi with env and mount secrets.
- Run PySpark on simple pi.py example
- Run PySpark to test a pyfiles example
- Run PySpark with memory customization
- Run in client mode.
- Start pod creation from template
- PVs with local hostpath storage on statefulsets
- PVs with local hostpath and storageClass on statefulsets
- PVs with local storage
- Launcher client dependencies
- SPARK-33615: Launcher client archives
- SPARK-33748: Launcher python client respecting PYSPARK_PYTHON
- SPARK-33748: Launcher python client respecting spark.pyspark.python and spark.pyspark.driver.python
- Launcher python client dependencies using a zip file
- Test basic decommissioning
...

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49653/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49653/

Test build #145184 has finished for PR 34579 at commit 0b683a8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145184/


CAMEL-11612 - ASN.1 Data Format Component with Bouncy Castle-bcprov-j…

…dk15on and openmuc-jasn1(referencing #1885-all cr addressed)

Thanks the PR has been merged. Can you close this? Also can you take a look to the Karaf feature for this component? Maybe raise a JIRA for this. Thanks :-)

Thanks @oscerd . I would merge but i wanted you to see one more last time. I noticed you already helped with them and merge. Thanks for it as well. I will log jira and work for karaf feature too. Thanks

You're welcome. Great work.


[Feature Request] Disable hooks that generates files outside of node_modules in CLI

Is your feature request related to a problem? Please describe.
In my docker image build pipeline, I need to run zenstack generate to generate zenstack files (enhance, etc).
But I use the @zenstackhq/tanstack-query hook and this one override files I've already pushed in my repo.
Describe the solution you'd like
An option in the zenstack generate command to disable hooks that generates files outside of node_modules.
I'll gain in stability and build time.
Thanks !

Got it. Yes, that makes very good sense. I think we can add a new switch "--plugin [name]" to the CLI (which can be provided multiple times) to explicitly specify what plugins to run. Similar to prisma CLI's "--generator" option.
Does this sound good to you? @Arkanii

Seems good to me !

Thanks for the functionality! I close the issue 😁


[ENH] update hbcd to exclude noddi

The constants in NODDI may not be appropriate for infants, so we are removing NODDI from the hbcd_scalar_maps recon spec.
Documentation is also updated for other recon workflows

One minor thing about PR titles and release notes- GitHub will organize this PR under "New Features" because I added the "enhancement" label, but the "new feature" will be the PR title, so it would be nice to make the actual title a bit more detailed and to drop the [ENH] prefix.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 33.94%. Comparing base (46b699d) to head (c8e8bbc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   33.94%   33.94%
=======================================
  Files          57       57
  Lines        7195     7195
  Branches      983      983
=======================================
  Hits         2442     2442
  Misses       4655     4655
  Partials       98       98

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Running code from python files.

I understand that this plugin runs python code that is hard coded into the documentation. But in my use case I have example python files implementing my project that I would like run dynamically when building the documentation. Similar plugins have the option of doing something like the following:
.. exec-code::
   :filename: examples/hex_codes.py
   :linenos:

Do you think you could implement this for this project?
Thanks!

Available in 0.4.
You can also set the path to the example folder so you don't have to specify it with every exec-code directive.

It works perecectly! Thank you!


Do not distribute tests

The wheel built for this project contains a tests package, which should definitely not be distributed: Its name is very generic, clashes easily with other (local) packages of the same name, leading to obscure and hard-to-find bugs. This is probably just an oversight and easily fixed in setup.py by using
packages=find_packages(exclude=["tests"]),

instead of
packages=find_packages(),

Hi @spt29 thanks for reporting this. If you like, please submit a PR that resolves this issue and I'd be happy to review and mainline it.

Done (with my personal account)

Anything I can do to get the linked PR landed?


GraphQL 400 error on production

Hey all!
I've been trying to post comments via GraphQL on my production site. This works fine on localhost (dev) but gives the following
{
"error": "Response not successful: Received status code 400"
}
Using :
"dependencies": {
    "@strapi/plugin-graphql": "4.0.6",
    "@strapi/plugin-i18n": "4.0.6",
    "@strapi/plugin-users-permissions": "4.0.6",
    "@strapi/provider-upload-cloudinary": "^4.0.6",
    "@strapi/strapi": "4.0.6",
    "pg": "^8.7.1",
    "pg-connection-string": "^2.5.0",
    "slugify": "^1.6.5",
    "sqlite3": "5.0.2",
    "strapi-plugin-comments": "^2.0.0-rc.2",
    "strapi-utils": "^3.6.8"
  },

Any help greatly appreciated - documentation not quite clear on CORS or whatever security needs to be enacted here.
Thanks!!

@asjones-code Honestly speaking we are not doing any customs :) And if you got GQL properly configured for whole Strapi its the same endpoint to call. Can you check if other calls to GQL are working ? Like getting some collections etc. maybe thats global config issue?

Looks like my queries work fine - server has a different security setup on
prod by default. You can close this one out.
Thanks so much for the help and support
On Thu, Feb 3, 2022 at 1:38 AM Mateusz Ziarko @.***>
wrote:

@asjones-code https://github.com/asjones-code Honestly speaking we are
not doing any customs :) And if you got GQL properly configured for whole
Strapi its the same endpoint to call. Can you check if other calls to GQL
are working ? Like getting some collections etc. maybe thats global config
issue?
—
Reply to this email directly, view it on GitHub
https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/issues/103#issuecomment-1028647507,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPH7R3JAGSPMWUNSMV63UTUZIPGBANCNFSM5NNY7IVA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***
.com>

--
Adam Jones
aj91.online
Linkedin http://linkedin.com/in/asjones91


Libssass 3.3.6 bugfix

Fix invalid code when compiling with latest libsass 3.3.6
was getting.
.l-blockGrid--2"--" + narrow .l-blockGrid-item { ..}
Instead of
.l-blockGrid--2--narrow .l-blockGrid-item {..}

thanks mate


Fix missing anchors for global variables (.. py:data::)

That is, remove these link checker ignores:
https://github.com/Qiskit/documentation/blob/c7bbfb1b4e86b318c3512c555112b84d8bccf3cc/scripts/lib/links/ignores.ts#L100-L132
They correspond to this RST:
https://github.com/Qiskit/qiskit/blob/d26d3069254a669a43991da73e161abd57f897d3/qiskit/utils/optionals.py#L28-L45
Which results in this markdown:
https://github.com/Qiskit/documentation/blob/c7bbfb1b4e86b318c3512c555112b84d8bccf3cc/docs/api/qiskit/utils.md?plain=1#L329-L336
--
To avoid dealing with the table nuance, it may be easier to look at qasm2.md:
https://github.com/Qiskit/documentation/blob/c7bbfb1b4e86b318c3512c555112b84d8bccf3cc/scripts/lib/links/ignores.ts#L95-L97
https://github.com/Qiskit/qiskit/blob/d26d3069254a669a43991da73e161abd57f897d3/qiskit/qasm2/__init__.py#L454-L470
https://github.com/Qiskit/documentation/blob/c7bbfb1b4e86b318c3512c555112b84d8bccf3cc/docs/api/qiskit/qasm2.md?plain=1#L497-L509
--
We should be adding a  for example.

Fixed by https://github.com/Qiskit/documentation/pull/1917. The utils table is broken on historical versions, but we're not going to fix that because it's too finicky with modifying the HTML.


Upgraded to CE3

Hello 👋
Had to switch IO for SyncIO in tests to be able to run in JS, but otherwise no changes. Took a while because I decided to see if I could switch to munit, but the combination of CE and scalacheck was too much for my limited munit knowledge.

What is the status of this?
It's blocking for the migration of http4s to cats-effect 3.

@yanns There is still some ongoing debate over Unique but it's likely it's not going to be in the next milestone release. Can we move forward without it?

@RaasAhsan One work-around I see to unblock the situation is to copy and adapt the classes into http4s. But this is quite ugly.

Is another option to have a private Unique be duplicated into vault? None
of these are particularly compelling but any temporary solution to unblock
http4s would be significant
On Sun, Dec 20, 2020 at 3:04 AM Yann Simon<EMAIL_ADDRESS>wrote:

@RaasAhsan https://github.com/RaasAhsan One work-around I see to
unblock the situation is to copy and adapt the classes into http4s. But
this is quite ugly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ChristopherDavenport/vault/pull/175#issuecomment-748581653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAT7BTJDHK5PLWO3VKRXSADSVW42BANCNFSM4UVWLBJQ
.

@yanns https://github.com/http4s/http4s/pull/4040 got merged now, so http4s can proceed with the migration until this is merged.


Rework the codecov support: deprecate codecov-token add hash checks for uploader

Bionic branch version of: https://github.com/ignition-tooling/action-ignition-ci/pull/32

aaah, made a mess with branches sorry. Reverting.


Document anonymous .ToString ()

Please explain how anonymous types override ToString ()!

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

ID: d1b30ebe-b640-449b-3602-9891a55794db
Version Independent ID: dd937177-98f0-a797-d49b-29332aae0614
Content: Anonymous Types
Content Source: docs/csharp/fundamentals/types/anonymous-types.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

That's a great suggestion @yecril71pl
I've added it to our backlog to address.


Storing binary values via API

Currently etcd takes strings as value inputs and stores them in memory as strings on the node struct.  We are currently looking using etcd as a key value store for Kubenetes at higher densities than many etcd deployments (or many Kubernetes deployments), and a large portion of our size overhead would be the size of the value in etcd - the JSON object representing the stored Kubernetes resource.  A string representation of a medium sized JSON object is roughly 3 times smaller gzipped or msgpacked (1.1K ~> 400 bytes).  However, base64 encoding eats some of the savings (~25%) to store as a string and the break-even point is around 600 bytes or so for string -> gzip -> base64 compression, which is a common size for most JSON objects anyway.
We are testing etcd out to tens of millions of nodes, and we're at a point where storage overhead might be a factor in choosing etcd vs a different key value store and emulating etcd's features (of which we like for many reasons).
Would it be possible to allow direct binary input during a PUT to a key such that the value was stored in the node value as []byte?  It would require that some indicator be stored in the node as well that the value needs to be base64 encoded by users, but it would allow larger data to be more efficiently stored.  Potentially via a ContentType header on PUT?
Does this fit with the design goals for etcd (or within the scope that it might be useful for others with larger keys)?  Obviously there are other obstacles to running millions of keys, but this is not a high write volume scenario we're discussing (I think our transaction mix at that scale is more like 97% read -> 3% write).

"Storing binary keys and values" feature released in any of the stable versions?

@deepakthipeswamy yes, the v3 API supports it; values are uninterpreted byte arrays

@heyitsanthony where do you see this is possible with v3? It looks like everything takes strings to me.
https://godoc.org/github.com/coreos/etcd/clientv3#KV states:
// Put puts a key-value pair into etcd.
// Note that key,value can be plain bytes array and string is
// an immutable representation of that bytes array.
// To get a string of bytes, do string([]byte{0x10, 0x20}).

@philips is there no way to pass in []byte directly? Do I always need to work with string representations of byte slices? This seems a bit heavy compared to having it all in bytes and letting the application convert it to a string when needed.

@aaronjwood internally it's a byte array on the backend. It's string in the client to encode constness in the type; it should still be bit-equivalent when stored in etcd.

This seems a bit heavy compared to having it all in bytes and letting the application convert it to a string when needed

Have you profiled it?

@heyitsanthony bummer.
No I haven't profiled it but I know that conversions between []byte and string cause allocations. I think the overhead is better in newer versions of Go from what I've heard. We'll be doing this in one of our hotspots which is why I'm trying to avoid having the whole conversion thing.
I think we'll end up doing something different for our case since only strings are accepted. We were going to store protobuf bytes but I think what I'll do now is just marshal it to a string, store it as a string, and unmarshal it as a string later on. Was just hoping to use bytes to save space/overhead. Not a huge deal I guess.

Are there any future plans to support []byte for values like some other KV stores do? We have run into a few significant issues in our application due to the fact that everything needs to be a string.
What we are doing now is encoding structs via gob,  base64ing that binary data, and then sending the encoded string to etcd. When we need to retrieve things we do the reverse. This works okay and initially we thought the amplification of data being stored due to the base64 encoding would be okay. While that is something that still needs to be evaluated on a larger cluster I've found something much more serious. The gob encoder will not send zero values (https://groups.google.com/forum/#!msg/golang-nuts/VnFs2Cv0_UY/_AowBInicbQJ) and in some of our structs that we encode there are other (nested) structs/types/slices which in some cases will use 0 or a pointer to 0 for some value. So now when we're encoding we are silently ignoring anything that's a zero value and, at the same time, breaking ourselves when we go to decode and use the data.
We can write a custom transcoder to get around this but if binary data was accepted we would:

reduce the amount of data stored in etcd (and consequently reduce the amount of data replicated, which means less network overhead and faster consistency, etc.)
not only reduce the work of anyone needing to write a custom transcoder but eliminate the possibility for others to run into the zero value encoding issue with Go, which I think may not be very well known

Thoughts?

@aaronjwood I don't understand why []byte wouldn't have the same problems as string here. It's the same data, but string gives immutability. Why encode as base64 when string([]byte{1,2,3,4}))  will be accepted by etcd?

For people using protobufs they can just take the output of Unmarshal and store that directly. For regular structs, we were using the gob encoder to be more efficient since it's supposed to have a more compact binary format. If we use something like binary.Write() then we will have a much larger data amplification issue.
Relating to the base64 stuff, I thought that you cannot fully represent something in bytes (like a struct) using a string since you'd have many unprintable characters. Can you do this in Go?

@aaronjwood string(b) == string([]byte(string(b))) for all b []byte in go afaik. It's more of a problem for protobuf definitions-- string won't handle raw binary like bytes, but etcd's messages use bytes in this case.

@heyitsanthony you're right, thanks for pointing this out. I was not aware that Go doesn't really work with C-style strings underneath:
In Go, a string is in effect a read-only slice of bytes. If you're at all uncertain about what a slice of bytes is or how it works, please read the previous blog post; we'll assume here that you have.

It's important to state right up front that a string holds arbitrary bytes. It is not required to hold Unicode text, UTF-8 text, or any other predefined format. As far as the content of a string is concerned, it is exactly equivalent to a slice of bytes.

 Looks like there are some quirks with raw strings:
In short, Go source code is UTF-8, so the source code for the string literal is UTF-8 text. If that string literal contains no escape sequences, which a raw string cannot, the constructed string will hold exactly the source text between the quotes. Thus by definition and by construction the raw string will always contain a valid UTF-8 representation of its contents. Similarly, unless it contains UTF-8-breaking escapes like those from the previous section, a regular string literal will also always contain valid UTF-8.

Some people think Go strings are always UTF-8, but they are not: only string literals are UTF-8. As we showed in the previous section, string values can contain arbitrary bytes; as we showed in this one, string literals always contain UTF-8 text as long as they have no byte-level escapes.

To summarize, strings can contain arbitrary bytes, but when constructed from string literals, those bytes are (almost always) UTF-8.

It's good to know that no special encoding is needed for these situations with Go.

I'd recommend a high speed compression/decompression library, like lz4 or zstd. Gzip just takes too many resources to marry up with etcd


Not working on Android 7.0, Chrome 59

Hi, I can't get this to work on my phone.
How to reproduce:

open https://schmich.github.io/instascan/ in Chrome for Android
accept the permission prompt
both cameras are detected and listed in the sidebar
the "camera in use" icon appears in the notification area
no video is shown, and no QR code is captured (no message appears in DevTools, too)

Thank you for your great work!

Android 7.0 (Huawei EMUI)
Chrome 59.0.3071.125
User Agent "Mozilla/5.0 (Linux; Android 7.0; BLN-L21 Build/HONORBLN-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36"
Screenshot

Works for me with both cameras on Android 7.0.0, HTC 10, Chrome 59.0.3071.125
Chrome displays a small video camera symbol in the notification area, when the camera is running. I cannot see this icon on your screenshot. You could try to reset your camera permissions in the chrome settings (chrome settings - website - camera).

Thank you, I've updated the screenshot - I tried to revoke the permission and run the example again, even rebooted the phone, but no luck.

Okay, seems that some Huawei devices have issues with WebRTC.
Googling and trying other WebRTC demos result in the same issue. (For reference, my smartphone is a Huawei Honor 6X)
Closing as unrelated to instascan, sorry for bothering you.


Laos short country name has nbsp; appended.

Thanks for this!
There is extra text in the Laos country name: https://github.com/factbook/factbook.json/blob/4c279ceb09f7a87188d38027dbf2fb72531dd92f/east-n-southeast-asia/la.json#L490

Thanks for reporting. The idea / philosophy is to use the data as provided by the CIA including curiosities such as the use of    - yes, ideally entries should all be plain text.  The best way to fix this is to report upstream at the CIA HQ here -> https://cia.gov   ;-).


Problem with L1, L2, Joystick, R1 and R2 buttons with alt or when NUMLOCK is on

Discussed in https://github.com/solderparty/bbq10kbd_i2c_sw/discussions/2

Originally posted by veryalien September  5, 2021
There seems to be a problem that all the buttons under the feathering keyboard screen don't return anything when alt is pressed or NUMLOCK (alt+left-shift) is on.
I'm busily modifying pye_lcd and simpleTerminal to work as a self-contained editor with circuitpython on a keyboard featherwing. I noticed that I couldn't use alt to modify the up, down, left and right joystick buttons.
You can use CFG_REPORT_MODS to get reports of all the individual modifiers being pressed/released left-shift, right-shift, sym and alt.
You can press and hold a modifier for example left-shift and press L1, this returns the L1 code which means you can use the modifiers left-shift, right-shift and sym held down together with the buttons as different soft keys/buttons.
But you can't press for example alt and L1 and get a key returned. Also, when NUMLOCK is on, all those buttons go dead until you get out of NUMLOCK. Which is a little bit confusing, because you can't easily see why the buttons don't work any more.
As far as I can see the problem is in the firmware. I could be wrong but, without actually debugging the featherwing firmware, it looks like this to me. There are no symbol entries for the L1, L2, Joystick, R1 and R2 buttons in the table, only for the bbq10 keboard keys itself, this code from keyboard.c will incorrectly change chr to 0 if alt is pressed at the same time as a button:
		default:
		{
			if (reg_is_bit_set(REG_ID_CFG, CFG_USE_MODS)) {
				const bool shift = (self.mods[MOD_SHL] || self.mods[MOD_SHR]) | self.capslock;
				const bool alt = self.mods[MOD_ALT] | self.numlock;

				if (alt) {
					chr = p_entry->symb;
				} else if (!shift && (chr >= 'A' && chr <= 'Z')) {
					chr = (chr + ' ');
				}
			}

			break;
		}

I'm not sure if my logic is right, but something like that must be going wrong when alt and a button are pressed at the same time.
I really don't want to turn off CFG_USE_MODS and do all the keyboard modifier handling myself in my editor. I've used the left and right shift modifiers instead of alt. But,whatever the real problem is, it's still a little bit annoying,

I've just worked out your handling of normal, unshifted, lower-case characters here:
				} else if (!shift && (chr >= 'A' && chr <= 'Z')) {
					chr = (chr + ' ');
				}

No shift and an alphabetic ASCII character between 'A' and 'Z' needs 0x20 added to it (an ASCII space ' ') to make 'a' to 'z'.
Simple once you've worked it out!

The problem is probably in the keyboard controller chip (SAMD20) firmware. The code is called "BB Q10 Keyboard-to-I2C Software" () and there is an interface that allows the chip to be reprogrammed, if you can use a soldering iron. You have to solder wires to the KBD IC SWD pads on the back of the board and use a hardware debugger. I haven't done it (yet) but it appears to be possible.

Sounds promising - thanks @SapientHetero for the info.
I'm now looking for ordering the Solderparty Featherwing keyboard (https://www.adafruit.com/product/4818 ) but can't seem to find it anywhere. I just hope it wasn't discontinued.

Finally getting around to using this and came across this issue issue -- FWIW for those of you looking to order one of these, I originally found it at at Tindie (https://www.tindie.com/products/arturo182/keyboard-featherwing-qwerty-keyboard-26-lcd/?pt=ac_prod_search), but it's currently out of stock there; Pimoroni seems to have some in stock (at least at the time of my posting this): https://shop.pimoroni.com/products/keyboard-featherwing-qwerty-keyboard-2-6-lcd?variant=32192379256915


sanitycheck: point to correct gcov path

The SDK has a new path for x86 gcov, point to the new binary. Also, do
not clean artifacts when running coverage.
Fixes #22534

I still get a spew of errors just like #22534 (comment) with no generated coverage data. This is probably part of the problem, but it doesn't fix the issue.

well, this is another bug then that needs to be filed against the SDK. This fixes the issue reported in  #22534.
I tried with this patch and it works for me with 0.11.1:
i9:zephyr(gcov_path): sanitycheck -p qemu_x86_coverage -C -T tests/lib/onoff/
INFO    - JOBS: 20
INFO    - Building initial testcase list...
INFO    - 1 test configurations selected, 0 configurations discarded due to filters.
INFO    - Adding tasks to the queue...
INFO    - Total complete:    1/   1  100%  skipped:    0, failed:    0
INFO    - 1 of 1 tests passed (100.00%), 0 failed, 0 skipped with 0 warnings in 33.17 seconds
INFO    - In total 1 test cases were executed on 1 out of total 229 platforms (0.44%)
INFO    - Generating coverage files...
INFO    - HTML report generated: /home/nashif/Work/zephyrproject/zephyr/sanity-out/coverage/index.html

@pabigot  what lcov version you have? can you try with gcovr? (--coverage-tool gcovr)

@pabigot what lcov version you have? can you try with gcovr? (--coverage-tool gcovr)

tirzah[578]$ lcov --version
lcov: LCOV version 1.13
tirzah[580]$ sanitycheck --platform qemu_x86_coverage -C -T tests/lib/onoff/ --coverage-tool gcovr
Renaming output directory to /mnt/nordic/zp/zephyr/sanity-out.5
INFO    - JOBS: 32
INFO    - Building initial testcase list...
INFO    - 1 test configurations selected, 0 configurations discarded due to filters.
INFO    - Adding tasks to the queue...
INFO    - Total complete:    1/   1  100%  skipped:    0, failed:    0
INFO    - 1 of 1 tests passed (100.00%), 0 failed, 0 skipped with 0 warnings in 36.93 seconds
INFO    - In total 1 test cases were executed on 1 out of total 229 platforms (0.44%)
INFO    - Generating coverage files...
usage: gcovr [options] [search_paths...]
gcovr: error: unrecognized arguments: --json
usage: gcovr [options] [search_paths...]
gcovr: error: unrecognized arguments: --json
usage: gcovr [options] [search_paths...]
gcovr: error: unrecognized arguments: --add-tracefile
tirzah[581]$ gcovr --version
gcovr 4.1

Copyright 2013-2018 the gcovr authors
Copyright 2013 Sandia Corporation
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
the U.S. Government retains certain rights in this software.

gcovr --version
gcovr 4.2

Ok, i was able to reproduce the issue on another host(ubuntu) with lcov 1.13, tried with gcovr 4.2, it works fine, so it is not related to the SDK and we can exclude the SDK, most likely lcov.

apboie@apboie-mobl4:~/projects/zephyr/zephyr (130) nashif/gcov_path
$ cat ~/tools/zephyr-sdk/sdk_version
0.11.1
apboie@apboie-mobl4:~/projects/zephyr/zephyr nashif/gcov_path
$ lcov --version
lcov: LCOV version 1.14
apboie@apboie-mobl4:~/projects/zephyr/zephyr nashif/gcov_path
$ gcovr --version
gcovr 4.2

Copyright 2013-2018 the gcovr authors
Copyright 2013 Sandia Corporation
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
the U.S. Government retains certain rights in this software.
apboie@apboie-mobl4:~/projects/zephyr/zephyr (127) nashif/gcov_path
$ . zephyr-env.sh
apboie@apboie-mobl4:~/projects/zephyr/zephyr nashif/gcov_path /home/apboie/projects/zephyr/zephyr
$ sanitycheck -p qemu_x86_coverage -C -T tests/lib/onoff/
Renaming output directory to /home/apboie/projects/zephyr/zephyr/sanity-out.1
INFO    - JOBS: 32
INFO    - Building initial testcase list...
INFO    - 1 test configurations selected, 0 configurations discarded due to filters.
INFO    - Adding tasks to the queue...
INFO    - Total complete:    1/   1  100%  skipped:    0, failed:    0
INFO    - 1 of 1 tests passed (100.00%), 0 failed, 0 skipped with 0 warnings in 36.78 seconds
INFO    - In total 1 test cases were executed on 1 out of total 229 platforms (0.44%)
INFO    - Generating coverage files...
geninfo: WARNING: /home/apboie/projects/zephyr/zephyr/sanity-out/qemu_x86_coverage/tests/lib/onoff/libraries.onoff/CMakeFiles/app.dir/src/main.c.gcno: Overlong record at end of file!
geninfo: WARNING: cannot find an entry for kernel.h##89d5bf7618c1fca4907337b79d929a7a.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for kernel.h##995bd8355f260c9a4629956fa5452285.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for main.c##0923dc7f9398a895b04f1a48b03343fa.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for onoff.h##bcef262fcda3ba07d69b3ec876518792.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for slist.h##3de24f29cd9ee1e3ca7ba77071ab784d.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for ztest_assert.h##d201774caae8de57b8fda062921ec875.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for ztest_test.h##24f89967d7fc67745a048e074cf0aef4.gcov in .gcno file, skipping file!
geninfo: WARNING: /home/apboie/projects/zephyr/zephyr/sanity-out/qemu_x86_coverage/tests/lib/onoff/libraries.onoff/zephyr/arch/arch/x86/core/CMakeFiles/arch__x86__core.dir/fatal.c.gcno: Overlong record at end of file!
geninfo: WARNING: cannot find an entry for arch.h##70865a6af6d4979d614b366ae3737cbe.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for fatal.c##407bfbeebe884b3d824d00db7a937f54.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for kernel_arch_func.h##84f188d55368383d68fb38f06df93a0c.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for log_core.h##24034719ede41d28fe43ccb1e9c0d8b8.gcov in .gcno file, skipping file!
geninfo: WARNING: cannot find an entry for mmustructs.h##3544fbaa812f9374465e98e6a4d94965.gcov in .gcno file, skipping file!

Not working for me. Note my LCOV version, I upgraded to 1.14.

works on fedora because it has lcov 1.14 and this patch:
https://src.fedoraproject.org/fork/thm/rpms/lcov/raw/8027efa02f36d903fceb6210f439910f52a8bd27/f/geninfo.patch
I tried installing this: http://mirrors.kernel.org/ubuntu/pool/universe/l/lcov/lcov_1.14-2_all.deb
and it works.


iOS requires optional capability description strings

In iOS there are a number of capabilities an application can have that require entries in the plist file that are presented to the user.
For instance, if Godot attempts to access the camera it will check for an entry called NSCameraUsageDescription. If it does not exist access will fail. If it does exist the string held within is presented to the user.
Apple doesn't seem to have a ready list of these, they are strewed around the help pages that describe all plist entries.
This is a list I found on stackoverflow that seems like a good starting point:
NSCameraUsageDescription
NSBluetoothPeripheralUsageDescription
NSCalendarsUsageDescription
NSContactsUsageDescription
NSHealthShareUsageDescription
NSHealthUpdateUsageDescription
NSHomeKitUsageDescription
NSLocationAlwaysUsageDescription
NSLocationUsageDescription
NSLocationWhenInUseUsageDescription
NSAppleMusicUsageDescription
NSMicrophoneUsageDescription
NSMotionUsageDescription
kTCCServiceMediaLibrary
NSPhotoLibraryUsageDescription
NSRemindersUsageDescription
NSSiriUsageDescription
NSSpeechRecognitionUsageDescription
NSVideoSubscriberAccountUsageDescription

Note that #25851 adds Camera, Microphone and Photo library keys to the export, far from a complete list but it is a start. I've been hesitant to blindly add all as I have no way to test them, I've only been playing with the Camera

What's the status on this issue? Did we handle all the capabilities we currently expose?

NSCameraUsageDescription - can be set on export
NSMicrophoneUsageDescription - can be set on export
NSMotionUsageDescription - missing, accelerometer access is present in Godot
NSPhotoLibraryUsageDescription - can be set on export, but Godot doesn't have PhotoKit related code ???
NSBluetoothPeripheralUsageDescription - seems to be for direct BT control only, probably not required to use BT gamepads, but this should be tested??
Everything else is most likely irrelevant.
NFCReaderUsageDescription
NSAppleMusicUsageDescription
NSAppTransportSecurity
NSCalendarsUsageDescription
NSContactsUsageDescription
NSFaceIDUsageDescription
NSHealthClinicalHealthRecordsShareUsageDescriptio
NSHealthShareUsageDescription
NSHealthUpdateUsageDescription
NSHomeKitUsageDescription
NSLocationAlwaysUsageDescription
NSLocationUsageDescription
NSLocationWhenInUseUsageDescription
NSRemindersUsageDescription
NSSiriUsageDescription
NSSpeechRecognitionUsageDescription
kTCCServiceMediaLibrary
NSVideoSubscriberAccountUsageDescription (tvOS only)

Can confirm NSPhotoLibraryUsageDescription doesn't seem to allow access to devices photo library

So I guess we should add NSMotionUsageDescription and remove NSPhotoLibraryUsageDescription and NSBluetoothPeripheralUsageDescription to solve this issue?


How can I make a bot send a message to another room?

Example: I'm talking directly with a bot on Webex Teams, and I want the bot to send a message for another room that I do not belong, is there a way to do this?

I believe the BOT will have to be in the requested channel, but there is an example on posting to a given space over in the Webex teams examples:
https://github.com/CiscoDevNet/botkit-webex-samples/blob/master/skills/survey/convo-survey.js
You might want to ask more involved api questions over there, or post in the dedicated cisco webex teams chat linked in the docs.


how to call cqerl from ejabberd

First of thank for your wonderful module developed. i have some question. do you have any idea how to call cqerl from ejabberd server.

The same way you call it from anything else. Is there a specific problem you're having?

No.

Thanks for the interest and for the kind words @jahabersadhik! If you want to see examples of how to use the library, have a close look at the Readme file at the root of this project.


Use the -dev version of the CLI tools

...after merging https://github.com/lf-lang/lingua-franca/pull/1988.

Following a different strategy as per #92.


Why does Azure Cosmos DB cannot support transactions according to this article?

there a phrase here  that makes me wonder.
.....But if the transaction cannot span aggregates, such as when you are using a NoSQL database like Azure CosmosDB, you have to implement additional steps to achieve consistency.....
However it is not totally true according to this article from Azure Cosmos DB documentation.

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

ID: d432d5bb-24a7-3bec-1e17-910c8129226e
Version Independent ID: e41af96d-f015-a8e0-4449-7a508d7bccc8
Content: Domain events. design and implementation
Content Source: docs/architecture/microservices/microservice-ddd-cqrs-patterns/domain-events-design-implementation.md
Product: dotnet-architecture
Technology: microservices
GitHub Login: @nishanil
Microsoft Alias: nanil

... is anybody there? could somebody who wrote the mentioned documentation can give me an answer?

why this issue and bug in docs is ignored?

Hi @bastyuchenko, Sorry for the delay in responding to this issue. We do think this statement needs to be corrected, we are happy to review and accept a PR. If you or anyone else wishes to work on this and create a PR, please let us know on this thread. Or else we will update the document. Thank you.


[stable/atlantis] fix naming for secret ref

the secret will be named according to the .fullName. Currently the pod cant start with the error "secrets-webhook" not found. It must be "my-full-atlantis-name-webhook"
What this PR does / why we need it:
Fixing include of gitlab token from -webhook secret
Which issue this PR fixes

no known issue created for this

Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped

@etwillbefine please bump the chart version and sign the DCO

/ok-to-test

/lgtm


Improve other-packages task-list page in docs

Add APx package [close #752]
Add fractal-helper-task [close #754]
Re-generate the list in GitHub actions
Support setting a package description [ref #752]

Checklist before merging

[x] I added an appropriate entry to CHANGELOG.md

This is how the content of the task-list page would look like right now https://github.com/fractal-analytics-platform/fractal-tasks-core/blob/0e294e5d3b91e6d02550c4824e3c15eaca865331/docs/_tasks/_all.md. And then this would be updated each time the documentation is built and deployed.


InkWell and InkResponse not close enough to the real thing

When I briefly tap stuff on native Android, I usually can see the highlight and splash very easily. However, in Flutter, both InkRipple.splashFactory and InkSplash.splashFactory are slower to show/hide. InkRipple.splashFactory is better in my opinion, should be the default, but it's not quite right also.
More importantly, in Android native the splash is shown when I REMOVE my finger, while in Flutter it's shown when I hold my finger down.
I wish splash/highlight were tweaked to obtain the exact same effect of native Android.

both InkRipple.splashFactory and InkRipple.splashFactory

seems you meant to mention something else instead of InkRipple.splashFactory twice.
Please add the output of flutter doctor -v.

Fixed.
[√] Flutter (Channel dev, v0.7.2, on Microsoft Windows [versÃ£o 10.0.17134.228], locale pt-BR)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.0)
X Android license status unknown.
[√] Android Studio (version 3.1)
[√] IntelliJ IDEA Ultimate Edition (version 2018.2)
[!] VS Code, 64-bit edition (version 1.21.1)
[√] Connected devices (1 available)

There's no documentation about the animation of the ripple effect. At least I see nothing on https://material.io/design/interaction/states.html#pressed
But from this doc we can see that the highlight color is a black with 16/32% opacity.  Which is currently not value used by Flutter.

Observations when comparing a material.button.MaterialButton  in Android to a FlatButton (or other buttons) in Flutter are the following. I'm not saying which one is correct, just that these are the differences:

Flutter has a highlight and a splash layer and that doesn't seem to be the case for the Android implementation. It just has a ripple layer. For comparisons sake, splash (Flutter) == ripple (Android).
The splash animation is "slower" than the ripple animation.
The splash animation is starts with a much smaller initial radius than the ripple animation. This could be why it seems like it is slower.
 Maybe because highlight + splash compete for animation time (have to double confirm on release)? On Android the ripple always completes.

It's pretty noticeable when you go back to working on Android for sure.

I'm new to Flutter and to native development in general, and I can definitely see where you all are coming from.
Here is my 2 cents on this issue, as I'm creating my application in Flutter:

The splash speed is not mentioned (at least nowhere I could find) on the Material docs, but I do agree with some of you here that says both the default implementation InkSplash.splashFactory and the alternative InkRipple.splashFactory are too slow (even though the later is better than the default). What I think would be helpful is to allow developers to change this speed as a ThemeData property as well as a widget parameter (the same way hightlightColor works). I know we can create a custom splashFactory that has a faster splash, but it seems a lot of work to control only the speed.

The highlight behaviour shouldn't be there by default. This would be inline with the material design docs: https://material.io/design/interaction/states.html.

Showing the splash when pressed and not when released as it is currently implemented in Flutter seems to be the right behaviour following the material docs (https://material.io/design/interaction/states.html#pressed).

Comparing the Material implementation for Flutter with the Material implementation for Android might not be the best comparison. We should be comparing it to the Material guidelines, and if Android's implementation is not following it open a ticket on the Android project.

@marcos-abreu But users couldn't care less about the Material guidelines. They want a consistent experience, and they will judge your app according to that. Besides, if what you say is true, the current Android implementation is much better. I'd suggest Flutter follows Android and you may open a ticket on the Material guidelines instead.

What I did was that at ink_well.dart I moved the splash from _handleTapDown to _handleTapCancel and then added a future delayed to cancel of the splash and a _latestTapdown variable to get the latest TapDownDetails.
  void _handleTapDown(TapDownDetails details) {
    _latestTapdown = details;
    if (widget.onTapDown != null) {
      widget.onTapDown(details);
    }
    updateKeepAlive();
    updateHighlight(_HighlightType.pressed, value: true);
  }

  void _handleTapCancel() {
    // _currentSplash?.cancel();
    // _currentSplash = null;
    updateHighlight(_HighlightType.pressed, value: true);
    final InteractiveInkFeature splash = _createInkFeature(_latestTapdown);
    _splashes ??= HashSet<InteractiveInkFeature>();
    _splashes.add(splash);
    _currentSplash = splash;
    _currentSplash?.confirm();
    Future.delayed(const Duration(milliseconds: 280), () {
      _currentSplash?.cancel();
      _currentSplash = null;
      updateHighlight(_HighlightType.pressed, value: false);
    });

    if (widget.onTapCancel != null) {
      widget.onTapCancel();
    }
  }

Then I changed ink_splash.dart at line 139:
   _radiusController = AnimationController(duration: _kUnconfirmedSplashDuration, vsync: controller.vsync)
     ..addListener(controller.markNeedsPaint)
     ..forward();
   _radius = _radiusController.drive(CurveTween(curve: _kSplashCurve));

And added _kSplashCurve:
const Curve _kSplashCurve = Curves.easeOutCubic;
And at the bottom:
canvas.drawCircle(center, _radius.value * .5 * _targetRadius, paint);
PS C:\Users\User\flutter> flutter doctor -v
[√] Flutter (Channel beta, v1.6.3, on Microsoft Windows [Version 10.0.17134.765], locale sv-SE)
    • Flutter version 1.6.3 at C:\Users\User\flutter
    • Framework revision bc7bc94083 (3 weeks ago), 2019-05-23 10:29:07 -0700
    • Engine revision 8dc3a4cde2
    • Dart version 2.3.2 (build 2.3.2-dev.0.0 e3edfd36b2)

I think this gave a somewhat similar appearance to android.

@martinory Why don't you publish a plugin with your solution?
https://flutter.dev/docs/development/packages-and-plugins/developing-packages

One issue with the solution is that if tapping frequently, the highlight/splash is left, which could probably be handled in the updateHighlight. I've just recently started reading source code and don't think I write to clean code for publishing, more as an example of that this is possible. Also, probably could handle this more elegantly without a future.delayed.

Okay, so I made some changes and I think it turned out really well and cleaner.
Here is the GitHub repository with an example https://github.com/martinory/Androidish-InkWell.
And here is the pub repo: https://pub.dev/packages/androidish_ink_well.

Hi @marcglasberg
are you still experiencing the same issue with the latest master?
Thank you

@iapicca I'm in stable. And in stable the issue persists.
If you are in master, click and hold some button for a few seconds and then release. If the ink appears during tap-down, it's wrong. If the ink appears after you release, then it's better.

This is still an issue. Any update?

Looks like this is a duplication of https://github.com/flutter/flutter/issues/49957, where I've been tracking some additional thoughts. I'm working on an implementation now and will open a PR soon that would get Flutter back in line with Android's higher API versions. Currently, it seems like the best path forward might be just to create a new InkFeature factory and set it as the new default, but I'm open to being convinced otherwise.

There is a public doc being worked on to address this issue, and others related to Ink, check it out here:
https://docs.google.com/document/d/1mtt4nIlK-9-HrjBagwTmyk3b-52kLyv-3rjnPzgcI24

There is a public doc being worked on to address this issue, and others related to Ink, check it out here:
https://docs.google.com/document/d/1mtt4nIlK-9-HrjBagwTmyk3b-52kLyv-3rjnPzgcI24

Hi @clocksmith is the document still public? I cant seem to acces it without permission

Is this still being worked on?


Bug report: Comment node is removed after "Extract to function in module scope

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

VS Code Version: 1.68.1
OS Version: Ubuntu 22.04

NOTE: I couldn't find this option in VSCode Insiders! (Maybe it is removed)
Hi. When I refactor a callback in my JSX, which does something rather complicated, one of my comments are removed.
Code example:
//@ts-nocheck
/* eslint-disable */

export default function Something() {
  return (
    <SomeComponent
      aCallbackThatProducesAReactNode={() => {
        // this comment will be kept intact
        const someProps = {
          prop1: props.props1, // BUT THIS COMMENT WILL BE REMOVED :(

          prop2: props.props2 // this comment will be kept intact too
        };

        return <SomeOtherComponent {...someProps} />;
      }}
    />
  );
}

Try refactoring the whole callback into a function in module scope.
One:

Two:

Three:

As you see one of my comments are removed.
Thanks.

I traced the problem, and it seems like it's rooted in the emitter.
For example, take this simple input, named sample.ts:
// Comment
const a = {
    p0: 0, // Comment
    p1: 0, /* Comment */
};

Compile it with:
tsc sample.ts

The emitted JS file would be:
// Comment
var a = {
    p0: 0,
    p1: 0
};

Which has two comments missing. I used v4.7.4.
@RyanCavanaugh I think this is more serious now. What's your opinion?

Hi. Thanks for the follow-up. I just noticed this issue is moved to TypeScript from VSCode, I don't know the reason. Would somebody please explain? :heart:
Thanks :heart:

@aghArdeshir Because code actions (e.g., "extract function" or "extract constant") are TypeScript language services which reside in this repository and any invocation at the VS Code side ends up here.

Thank you very much Babak jan :+1:

@RyanCavanaugh I've submitted a PR to fix this. Could you please check it? (#50097)


Disk space alarm

Suggesting an official and improved version of something like this:
         command:
            "disk_space_alert(>=95%)":
               exit-status: 0
               exec: "df --exclude-type=tmpfs --exclude-type=devtmpfs --local"
               stdout: ["!/\\s(100|9[5-9])%/"] # >= 95%
               stderr: []
               timeout: 3000 #ms
               skip: false

I'm going to close this out based on my last comment. If I am mistaken, please feel free to open a new issue.


Relation view for base foundry

Base foundry is used as the default structure foundry. It should probably be included in the relation view. However, it is identical to the dereko foundry, so it is rather redundant.

Valid point - but that's not a Kalamar-Issue but KorAP-XML-Krill.


AzureResourceGroupDeployment@2 Deprecated

"DotNetCoreCLI is deprecated" error when you use the full example in DevOps.

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

ID: 8a8ced6a-595a-aa79-4b92-05ccf4c91852
Version Independent ID: 59231e9b-7b95-ff92-7ef1-2a329211bed9
Content: CI/CD with Azure Pipelines and templates - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/add-template-to-azure-pipelines.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@aidanfinn Thank you for bringing this to our notice , we will look into it and get back to your at the earliest.

@aidanfinn Thanks again for bringing this to our notice, assigning this issue to our document author  @mumian to further evaluate the feedback and update the document accordingly.

@aidanfinn - thanks for this feedback, and sorry we did not get to it sooner. I have updated this article to use AzureResourceManagerTemplateDeployment@3. The update should get published tomorrow.

#please-close


[FEATURE] - add a new test class

Add a new test class for the groups new tests that will improve the coverage.

done


[Sanitizer] Add new flag -sanitize-stable-abi flag to link against the

new sanitiers stable ABI in compiler-rt.
Compiler-rt recently introduced a stable ABI for sanitizers. This patch adds a flag to pass this flag to swift-frontend during compilation and clang at link time to link against the new stable ABI.
NOTE: this was https://github.com/apple/swift-driver/pull/1495 , but Usama is out till after the new year break, so I need to take over and apply feedback from there
rdar://118997873

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci Please test Windows platform


Remove usages of Mockito

Based on some short work and investigation to upgrade mockito to >= 5.x.x: https://github.com/crate/crate/pull/15170
It's better to first try and make the code more testable (for example introduce interfaces and implement them as anonymous classes in tests) and replace Mockito, at least where it's easy.
If there are still some remaining usages it will be easier to adapt them to use the new versions of Mockito.
For some more context Mockito >= 5 has changed the default policy for generating mock instances from subclass to proxy which breaks lots of our tests that use it, and to overcome this, we need to explicitly "ask" for subclass mocking.

https://github.com/crate/crate/pull/15575 updated mockito to the latest version.
While reducing the amount of mocks we use is desirable and something we should aim for, I don't think it is reasonable to remove it entirely, as it makes some scenarios a lot easier to test than without using it.