forkArgs can't pass java system properties to mill console

forkArgs can pass java system properties for mill foo.run, but no for mill -i foo.console and mill -i foo.repl
Reproduce the bug
build.sc:
  def forkArgs = Seq(s"-Djna.library.path=/home/kdf/usr/anaconda3/envs/tiktok/lib/python3.7/lib-dynload")

Main.sc:
package foo
object Main extends App{
print(System.getProperty("jna.library.path"))
}

shell:
$ mill foo.run
[38/38] foo.run
/home/kdf/usr/anaconda3/envs/tiktok/lib/python3.7/lib-dynload
$ mill -i foo.repl
kdf-example-1@ System.getProperty("jna.library.path")
res0: String = null

$ mill -i foo.console
scala> System.getProperty("jna.library.path")
res0: String = null

Exit a temporary solution to define -D system properties for mill repl?
I have try to use mill -D to go around the issue, but it doesn't run:
$ mill -i -D jna.library.path=/home/kdf/usr/anaconda3/envs/tiktok/lib/python3.7/lib-dynload foo.repl
kdf-example-1@ System.getProperty("jna.library.path")
res0: String = null

Exist a temporary solution to define -D system properties for mill repl?
I have try to use mill -D to go around the issue, but it doesn't run:

Just override or copy the repl target with it's original definition and adapt it. I think, you will need to use the jvmArgs of Jvm.runSubprocess.
A proper fix might look like something like this:
 def repl(replOptions: String*) = T.command {
    if (T.log.inStream == DummyInputStream){
      Result.Failure("repl needs to be run with the -i/--interactive flag")
    }else{
      Jvm.runSubprocess(
        mainClass = "ammonite.Main",
        classPath = ammoniteReplClasspath().map(_.path),
        forkArgs = forkArgs(),
        forkEnv = forkEnv(),
        mainArgs = replOptions,
        workingDir = os.pwd
      )
      Result.Success()
    }
  }

It works, thank you !
Do you need I make a PR for it, or you are already on it?

Thanks for the feedback. I already create a PR.


📃: Spelling corrector model

:red_circle: Title : Spelling corrector model
:red_circle: Aim : Create a NLP, DL based model to rectify the any spelling mistakes in the entered context.
:red_circle: Brief Explanation :

Create an interactive ui for the user to get the inputs from the user.
show the corrected version of the context
user will able to copy the corrected context in its clipboard.
UI should looks nice and perfect.

Screenshots 📷

N/A

:white_check_mark: To be Mentioned while taking the issue :

Full name :
What is your participant role? (Mention the Open Source Program name. Eg. GSSOC, SSOC, JWOC, etc.)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Can Work on this, Kindly Aassign this issue to me under  ssoc

@Avdhesh-Varshney

@Garvanand go ahead.

@Avdhesh-Varshney  , please assign this task , i would love to work on this


Allow for empty OSD resource requests

Hopefully this will be a viable way to unblock some problems currently with our CI.
Signed-off-by: Jose A. Rivera<EMAIL_ADDRESS>

Updated this PR after the test in #240 looks promising...

fixed the typos while at it...

sorry, commited fixes in some generated files, will update ...

@davidvossel Nope, looking at the job results, seems like we still get non-zero defaults in the CephCluster... darn. We can probably close this PR.

Nope, looking at the job results, seems like we still get non-zero defaults in the CephCluster... darn. We can probably close this PR.

boooo, okay. I made this PR which should let us proceed. https://github.com/openshift/ocs-operator/pull/241


(General) Select location of exported data

Allow users to select the folder for exported data to be created in. The default behavior will always assume the same folder as the original sheet, but being able to export to a specific folder would help with things like automation.

This is implemented as of v56 (Sept. 22, 2019).


Conversion of Camera Calibration Data

Hi team, I need help converting the following camera calibration data into the required format for use with xtreme1.
{
    "rgb_center": {
        "type": "camera",
        "uri": "rgb_center",
        "stream_properties": {
           "intrinsics_pinhole": {
              "camera_matrix": [
                  4609.471892628096, 0.0, 1257.158605934, 0.0, 0.0,
                  4609.471892628096,<PHONE_NUMBER>210201, 0.0, 0.0, 0.0, 1.0,0.0
              ],
              "distortion_coeffs": [-0.0914603, 0.605326, 0.0, 0.0, 0.417134],
              "width_px": 2464,
              "height_px": 1600
           }
        }
    },
    "coordinate_systems": {
        "rgb_center": {
            "type": "sensor",
            "parent": "base",
            "pose_wrt_parent": {
                "translation": [0.0669458, -0.000911152, 2.05432],
                "quaternion": [0.00193374, -0.00293566, 0.00271082, 0.99999]
            }
        }
    }
}

Please help me convert this data into the cameraInternal and cameraExternal formats for use with xtreme1.

Please refer this issue #244 first.


📝 Update includes in docs/de/docs/tutorial/security/simple-oauth2.md

Thanks for the effort! :cake:
This was handled in another PR, so I'll close this one now. :coffee:


create-input-vcf error using numpy 1.24.1

Hi sbslee,
When I attempted to create an input vcf file, it would return

AttributeError: module 'numpy' has no attribute 'long'

I ended up installing numpy 1.23.0 (instead of the version 1.24.1 that I originally had), and that seemed to work.
I just wanted to let you know.
Thank you!

@michela-marcellino,
Thanks for reporting the issue and solution! I'm glad to hear that you were able to fix the problem on your own.
It sounds like the issue is related to the fuc package, which is one of the dependencies for PyPGx and is also a package developed by me. I've noticed that when people install PyPGx via conda, sometimes an old version of fuc (link) is installed which can cause problems like the ones you observed. Therefore, next time you need to install PyPGx, I strongly recommend that you create a fresh conda environment with the latest versions of both fuc and pypgx:
$ conda create -n pypgx-env -c bioconda pypgx=0.20.0 fuc=0.36.0

Have fun with PyPGx!


channel::shell() test occasionally deadlocks on MacOS

The shell() test in tests/all/channel.rs tends to deadlock on MacOS. I'm 99% certain that this is a combination of a MacOS and libssh2 issue, and not caused by this crate, but I can provide a work-around.

Just to link your related libssh2 issue https://github.com/libssh2/libssh2/issues/1188


Nanjing No.29 High School

@qqice233 I am sorry, do you have any update on the matter?

Not really. Our school won't open until Apr 7th. I will apply for the paper as soon as possible once the school is open. Could you please wait for another 3 weeks? Thanks for your patience.

@qqice233 Absolutely! Stay healthy, don't worry. Thanks for the update.

@qqice233 I have to close this request without merging, because you requested to add a non-existent domain to this repository: ;; connection timed out; no servers could be reached Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


[stable/concourse] Cannot configure sslmode without using database client cert/key

Version of Helm and Kubernetes:
Helm: 2.11.0
Kubernetes: 1.10
Which chart:
stable/concourse
What happened:
We set the concourse.web.postgres.sslmode: require instead of the default disable and that caused env vars for CONCOURSE_POSTGRES_CLIENT_CERT, CONCOURSE_POSTGRES_CLIENT_KEY, and CONCOURSE_VAULT_CA_CERT to be set. We are using neither Vault nor client certs, but do want to connect to our database over SSL. Unfortunately, with these set, the ATC cannot connect to our database because it tries to provide the (missing) client cert/key and cannot authenticate to the postgres database.
What you expected to happen:
We should be able to set sslmode without using Vault or a client cert/key
How to reproduce it (as minimally and precisely as possible):
Create a database that can only be accessed over SSL, and whose only user is able to authenticate with a username/pass combo instead of a client cert/key. Then set concourse.web.postgres.sslmode: require. The pod will not come up because it cannot authenticate to the database.

/cc @william-tran @xtremerui

I don't think #8378 fixes this. It still requires a client cert/key when sslmode is "required", even though the postgres database may not be using cert/keys for authentication.

/reopen

@wendorf Yes, agree. I mistakenly treated sslmode: require as Certificate Authentication.
So env vars shoud be only set if the following contitions match:

CONCOURSE_POSTGRES_CA_CERT set if .Values.secrets.postgresCaCert is defined
CONCOURSE_POSTGRES_CLIENT_CERT set if .Values.secrets.postgresClientCert is defined
CONCOURSE_POSTGRES_CLIENT_KEY set if .Values.secrets.postgresClientKey is defined.

Makes sense?

@antonu17 Yeah, that makes sense. Those values could be used (or omitted) for any sslmode, so should just be added independently.


installation guide

would you please provide an installation guide for this backend?

This is currently in an early stage of development, but if you want to try it:

checkout the repository
run gradlew build on the top level
deploy the generated acra.war to your java server (e.g. tomcat)

Or for local testing
2. run gradlew bootRun

@asgharkhare2016 if you do try it out, I'd appreciate feedback on missing features etc.


Chorded keymap disables workbench.view.scm default shortcut Ctrl+Shift+G

GitLens Version: 8.4.1
VSCode Version: 1.24.1
OS Version: Win10

When chorded keymap is enabled, Ctrl+Shift+G waits for another key to be pressed instead of switching me to the SCM / Git panel. This is a relevant snippet from Default Keybindings:
{ "key": "ctrl+shift+g",          "command": "workbench.view.scm" },

Sorry, missed this:
{ "key": "ctrl+shift+g g",        "command": "workbench.view.scm",
                                     "when": "gitlens:enabled && gitlens:keymap == 'chorded'" }


Blameable yaml driver: Add support for mongodb odm association mapping

Current implementation does not work if using yml mapping files with mongodb since the driver is looking for manyToOne mapping information. In mongodb these are referenceOne.

https://github.com/Atlantic18/DoctrineExtensions/pull/1533
I did a PR to fix this issue, but this is way more easy to use. Please add tests :)

I did want to add tests but I couldn't see anything to base it from - there are no yml tests at the moment. I've had another look but with the amount of work required to add them and with upcoming deadlines I won't be able to add them for a while. Sorry

yes since there aren't many ODM driver tests, it is fine, thanks


⚠ Punto de Fuga has degraded performance

In 56edf16, Punto de Fuga (http://puntodefugapodcast.com) experienced degraded performance:

HTTP code: 200
Response time: 13408 ms

Resolved: Punto de Fuga performance has improved in b61878b.


Run on stable Rust

Without the unstable Cargo feature, on 64 bit platforms:

Tendril<_> is 17 bytes instead of 16. (It has a drop flag.)
Option<Tendril<_>> is 18 bytes instead of 16. (It has a drop flag and an explicit tag.)

r? @Manishearth
Needed for https://github.com/servo/html5ever/issues/53

Blocked on https://github.com/reem/rust-debug-unreachable/pull/2

Reviewed 3 of 7 files at r1, 6 of 6 files at r2.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io

@bors-servo r+

:pushpin: Commit b4d2c2f has been approved by mbrubeck

:hourglass: Testing commit b4d2c2f with merge faf97de...

:sunny: Test successful - travis


Docstrings for the Python interface

Passing docstrings to Pybind ensures they will be available from within the Python REPL and from Sphinx-generated documentation. However, many of the C++ functions are already documented in Doxygen format in their source files and it is useful to have this documentation adjacent to the implementation. In order to avoid repeating ourselves or different versions of the docs becoming out of sync, I tried using the mkdoc script distributed with Pybind. This produces header files with static variables containing docstrings parsed from Doxygen comments. These can be generated as part of the build system and then be passed to PyBind.
Unfortunately, the mkdoc.py script depends on libclang to work, which is not installed by default on most systems. I'd prefer not to introduce this somewhat obscure library as a build-dependency, so options include:

provide a fallback header file containing empty docstrings, so can compile without libclang
use mkdoc to generate docstrings the first time and then manually ensure they stay in sync
declare Python docstrings adjacent to the C++ functions, so they can still function as in-line documentation (though would not be compatible with Doxygen)
go back to manually maintaining completely separate sets of documentation
modify mkdoc to remove libclang dependency (unknown difficulty)

I am open to all options other than the last. In your opinion, what do you think is the best solution?
Two different types of documentation are not ideal but better than no documentation. It would be painful to copy and paste documentation to two different syntaxes but still better than requiring libclang as a dependency. What would option 3 involve exactly?
We could also just ignore docstring and have specific dedicated builds for building a version with docstring. Since most users will likely just pip install anyway, as long as we ensure that that version has correct doc we should be OK.

I would suggest either option 1 or 3. Option 1 would integrate nicely with what you suggest in your final paragraph. Option 3 could look something like the following:
    template<typename ValueType=DefaultType>
    struct PeakInfo
    {
        static constexpr string docstring =
R"doc(Simple struct for holding peak info.

Attributes:
    value: value, i.e. count or flux.
    index: the corresponding index/channel of the data.
)doc";
        const size_t index;
        const ValueType value;

        PeakInfo(size_t pindex, ValueType pvalue) : index(pindex), value(pvalue) {}
    };

Here I've used the Google style for Python docstrings. Alternatively, I could declare the docstring outside of the scope of the class, so that it could be easily optimised out when using the header-only library, at a slight cost of readability.

Option 3 looks OK, I could live with that.
With option 1 if most people don't have libclang then there would be no documentation - correct?

With option 1 it depends how they install it. If we were to compile the PEAKINGDUCK.so file before uploading it to PyPI then we could make sure it is done on a machine with libclang (e.g. the CI server) and then those installing it would have access to the documentation.
That said, the more I think about it the less I like the script used to generate Python docs from the C++ ones. It is rather flaky and I would almost certainly have to make some edits to it and distribute our own version. However, if I do that then I could simltaneously generate separate C++ and Python API documentation, using Doxygen/Breathe and sphinx-autodoc respectively.
If we were to go with the approach of writing docstring variables in C++, on the other hand, then generating documentation for the C++ API would be much more difficult. The best way to do it would probably be to write a simple program which would print out the values of the docstrings, with additional headings so that Sphinx could process it (see example below). This wouldn't be difficult but the lack of introspection in C++ means it would be slightly tedious and would have to be continually maintained.
#include <iostream>
#include <peakingduck.hpp>

string indent(const string &docs, int n) {
    // Some code to indent each line of `docs` by `n` spaces
}

void main() {
    std::cout << ".. cpp:struct:: template<typename Valuetype=DefaultType> PeakInfo\n\n";
    std::cout << indent(PeakInfo::docstring) << "\n";
    // Plus similar for any methods I wish to document
}

This all seems a bit messy. Let's take Occam's razor approach and just maintain two sets of documentation. C++ is already documented (well mostly). Let's just copy this to docstrings.
Every time a user adds a new algorithm in python, it's just one layer of doc, if they do it in C++, then it is twice. I am hoping once the core algorithms are ported into C++ then we can just assume most of the new stuff will be python anyway.
Please feel free to shoot me down if this is crazy talk, but it seems like all this effort and the associated dependencies will cause problems later.

Frankly, there is no ideal solution to this and there isn't a clear choice. Maintaining two sets works about as well as anything. It does have the additional advantage that we can customise documentation to peculiarities of each language as needed. Specifically, docs for the C++ code can discuss templates while those for Python would refer specifically to floats and ints as the data-type.

I've added separate docstrings for the Pybind interface, reformatting them to work with Sphinx. They could likely use some further changes and elaboration, but that is for another time.


Drop python 3.8

When Python 3.8 hits end of life in October of 2024, drop support and remove
api version dependent use of importlib.

After dropping 3.8 consider code improvements to take advantage of any features first
introduced in python 3.9.
In particular, replace type annotations using List and Dict with ones using list and dict builtins.


Upadte Parity Signer logo & name

Is your feature request related to a problem? Please describe.
Parity Signer (https://signer.parity.io/) has been changed to Polkadot Vault. Please update it

Name: Polkadot Vault
Logo: https://github.com/paritytech/parity-signer/blob/master/ios/PolkadotVault/Resources/Assets.xcassets/AppIcon.appiconset/appIcon.png

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1384-build-1.0.5-2-2023-05-19T07-59-32UTC.zip
Validation passed!


Lots and lots of fixes and improvements

I haven't changed any version numbers or anything, that's something I will leave up to you. There were changes in the local BetterDiscord.js for error checking and collection for plugins and themes, but the main.min.js file will still work without users being required to reinstall. As you can tell I did a ton of commits, lots of small ones because I wasn't testing with a local server but rather the remote github one. So if you want me to redo this PR with less commits just let me know.
Here's the list of everything that I've fixed, added, removed and improved. Feel free to test it through linking my repo in the config file. Let me know if you have any questions.
Plugin/Theme Related
====================
- Fix onSwitch()
- Fix onMessage()
- Add try{} catch{} around plugin functions such as load, start, stop, observer, onSwitch, onMessage
- Add useful errors for unable to load or execute plugins
- Speed up loading plugins/themes
- Speed up executing the plugins' functions
- Allow themes to use non-alphanumeric names (they can have spaces and apostrophes now)
- Ignore folders and config files in the plugins/theme directories
- Prevent hanging when plugins are broken
- Redesign plugin/theme card DOM and css (make it more semantic and easier to style)
- Disable plugin settings button if plugin not enabled
- Smooth scroll to the plugin's settings when opened
- Allow "source" and "website" options in the META so they can be shown in plugin/theme cards

Emotes
======
- Fix not being able to click Twitch Emotes in menu
- Fix emote modifiers
- Fix emote tooltips overlapping the emote and flickering

Core
====
- Fix Minimal Mode
- Fix V2C errors when opening settings the first time
- Speed up the main observer
- Readd/Fix the "copy selector" for DevMode
- Update several CSS selectors for DOM changes
- Fix "selected" class disappearing on multiple clicks of a bd tab in settings
- Collect startup errors for plugins/themes including meta errors across local and the remotely linked file (BetterDiscord.js, Main.js)
- Create a modal that shows all the startup errors with a link to display the stack in console with a setting to disable the modal in core
- Fix/Update the alert modal, allow BdApi to use it
- Add toast alert functionality for Core and BdApi
- Add toasts for plugin/theme start/stop with corresponding setting to disable them in core
- Speed up 24 hour and colored text
- Apply/remove 24 hour and colored text immediately instead of waiting for the observer
- Attach to settings even when using other shortcuts by checking for the social links at the bottom

Code Cleanup
============
- Remove changelog stuff
- Remove PublicServers
- Remove old CustomCSS editor
- Remove BdWSocket and related items
- Remove broken BdApi items
- Basic ESLinting

Repo Cleanup
============
- Remove Firefox folder
- Remove html folder
- Remove v2 folder
- Remove misc folder

Seems like Custom CSS isn't being applied on start up

Custom css now applies on start

@Jiiks I saw on BD2 you didn't like that other repo files were removed, I have readded them.

Closing this as it's essentially being maintained as an alternate and not meant to merge anymore.


fix(dicomImageLoader): Error when loading Wadouri JPEG Image

Context
There is an error in JPEG.js class when tring parsing JPEG image, the object prototype of this class is assigned using constructor.prototype but apparently this assign is not working in Javascript newer versions, the best way to use it is using Object.setPrototypeOf as mdn post MDN Prototype Post.
When I was implementing a wadouri image download, the following error was shown:
Error Image
Line Error Image
Changes & Results

Change the way of assign the prototype of the object.

What are the effects of this change?

Before vs After

Before:
Before

After:
After

Testing

Using Wadouri Legacy test
Download a Wadouri JPEG compressed image
The error is shown in console "Uncaught (in promise) TypeError: Cannot assign to read only property 'prototype' of function 'function DedicatedWorkerGlobalScope()"

Checklist
PR

[x] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[x] My code has been well-documented (function documentation, inline comments,
etc.)

[x] I have run the yarn build:update-api to update the API documentation, and have
committed the changes to this PR. (Read more here https://www.cornerstonejs.org/docs/contribute/update-api)

Public Documentation Updates

[x] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[x] "OS: Windows 10
[x] "Node version: v16.20.0
[x] "Browser: Chrome 83.0.4103.116

Thanks for the PR, are you correctly using the dynamic codecs? Since those codecs are in JS and not fast at all. You can look at OHIF viewer to see how we copy our WASM codecs to build so that they get dynamically loaded.
Here are new wasm codecs https://github.com/cornerstonejs/codecs

codecs are in JS and not fast at all. You can look at OHIF viewer to see how we copy our WASM codecs to build

I have not seen that codecs, I will check, appreciate it, thanks!


Maintenance of this project

I can't say how much i appreciate this module and how much i use it. But it seems like you don't really come around to maintain it anymore which makes continuos improvements and updates harder (due to long response times). I would very much appreciate it if you would add someone as a project member to help you out with maintenance. As you might have noticed i put some effort into updating "legacy" parts of this module to make it fit for the future.
And thanks for your work again! ☺

@alex-whitney just wanted to bump this in case you have some spare time ☺

Seems like he is MIA since september 19, 2016. The lack of response suggests he's not reachable this way, or are you @alex-whitney?
Maybe he can be reached through his email (npm owner ls express-promise-router).
NPM would most likely give you the package name if you want to maintain the project @mormahr (looks like you already are unofficially). You case is described here: https://docs.npmjs.com/misc/disputes

@friday Thanks for the reminder! ☺

Sorry for being MIA! This was a little project I built on a whim and never even ended up using, so needless to say I was surprised when people found and started using it. Thanks for taking interest in this project and wanting to continue to improve and maintain it. I've already added you @mormahr as a maintainer, I'll connect with you separately to give you access on NPM.


Log is not posted if CI build result is a timeout

Example at https://github.com/ThaliTester/TestResults/blob/5809977105d9cee_Run_coordinated_desktop_tests_in_CI_vjrantal/build.md and can be reproduced by having a build that takes over the timeout (currently 30 minutes).
Clearly, builds should not take more than 30 minutes, but if something is broken with the script, this may happen and if so, having logs would help debugging the root cause (in the example posted above, the root cause is known).

In this case, the CI also seems to get into a bit broken state. There are some ssh processes left towards <IP_ADDRESS> and the logs gets posted many times etc.


Facing issues with new feature PrivateDnsZoneLinkToSpoke

Describe the bug
I am using hubpeeredspoke module to create a spoke and peering and other things, the new feature that performed PrivateDnsZoneLinkToSpoke is throwing an error -
ERROR: InvalidTemplate - Deployment template validation failed: 'The resource 'Microsoft.Resources/deployments/ALZBicep-modPDnsLinkToSpoke-westeurope-mb5mxrnsifp56-rg' at line '1' and column '19927' is defined multiple times in a template. Please see https://aka.ms/arm-syntax-resources for usage details.'.
To Reproduce
Steps to reproduce the behaviour:

In the hubPeeredSpoke.parameters.all.json paramter files
Added all the resource IDs for private DNS to be linked to spoke vNet

Expected behaviour
In an ideal scenario - the vNet link should get created.

@jtracey93 Awesome, thank you prompt response.

@Sahil-13 this is now fixed

@jtracey93 Thank you quick resolution. May I please highlight 2 issues I experienced while creating private DNS link.

The deployment failed with error: 'Subscription id: 'subscriptions' does not exist. - I didn't realize this earlier but I found that indice used at split function to reterive subcription Id is incorrect.
module modPrivateDnsZoneLinkToSpoke '../../modules/privateDnsZoneLinks/privateDnsZoneLinks.bicep' = [for zones in parPrivateDnsZoneResourceIds: if (!empty(parPrivateDnsZoneResourceIds)) { scope: resourceGroup(split(zones, '/')[1], split(zones, '/')[4] )

it should be 2 instead of 1
module modPrivateDnsZoneLinkToSpoke '../../modules/privateDnsZoneLinks/privateDnsZoneLinks.bicep' = [for zones in parPrivateDnsZoneResourceIds: if (!empty(parPrivateDnsZoneResourceIds)) {   scope: resourceGroup(split(zones, '/')[2], split(zones, '/')[4] )

After this fix the deployment started running but it took approx 33 minutes and failed with error message - "message":"The aggregated deployment error is too large. Please list deployment operations to get the deployment details. which could be possible because I had passed around 68 Private DNS resource IDs to perform DNSlink. To investigate further, when I check the deployments in the resource group, I see errors with some links worked and some did not failed with error "conflict" - for example sharing this one of many correlation id - b07632c9-8d7b-467d-8dac-f7a0e08c3dc5.

But interesting thing is - all DNS link for all 68 private DNS zone resource IDs was successfully established when I checked in the portal.
Not sure if this is expected due to parallel deployment.

Hey @Sahil-13,
Thanks for spotting have raised a new bug in #519 to track this, already have the fix and testing

@Sahil-13 #519 has been fixed and i tested :) in the PR #520

@jtracey93 thanks a lot, the fix worked like a charm!


Adding an issue template for the designer

Adding an issue template for the designer. Trying the newer issue template creation flow
Microsoft Reviewers: Open in CodeFlow

GitHub has a new issue template creation flow which they recommend we use. This creates the template md files for us. The new lines and label reordering in the PR is caused by the new flow and should only be a one-time thing if we use this going forward.


Set up CI with Azure Pipelines

[skip ci]

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


Toggl Desktop starting on its own, not allowing user to select a Project or input description

Using Toggl Desktop seems to start and stop projects, not always allowing me to select projects and not always saving description. It's starting and stopping time entries on its own, without the user doing anything in the desktop app or the web app. He is seeing these issues often, every 2nd-3rd entry. I can click on a project type using the dropdown however it doesn't save and blanks it all out and goes back to 'No Description' where I have to enter again.

He tried clearing out the local data and using both the latest beta and stable version, the result is the same.
Case #478178

Similar case with logs: #479807

Similar case with logs: #480085

Similar case #480413

case/481169

case/480410

case/481294

/case/481189 with video

/agent/case/481272

agent/case/478105

possibly similar? case/481276

case/481314

case/481322

case/481336

case/481334

Case/481348

Case/481354

I've created a fix for this issue. I would appreciate if someone could verify that the fix works properly. Get the latest version from:
Mac: TogglDesktop-7_4_42.dmg
Windows: TogglDesktopInstaller-7.4.42.exe

@IndrekV no, this does not work (macOS). The Projects drop-down is not in sync with the website, and  anything you type in the Projects box does not reflect on the website.
Updating from 7.4.31 to 7.4.42 has made the desktop app 100% useless for tracking time.

case/481786

case/481786

Still experiencing the same issue with Windows 7.4.42
Projects will be shown in the drop down, then will disappear several seconds later or on a second click of the dropdown window.
Tags aren't showing at all.

case/481793
Desktop has allowed user to create a time entry in a workspace he was removed from in 2015

case/482034
Issue persists "but not as often" in beta version. Case includes desktop logs

case/481729
Again, issue persists after installing beta version, but not as often. Case includes desktop logs

case/481823 having less problems, but still there. Case includes desktop logs

case/482173 Client has downloaded latest Windows version from provided link but is still experiencing issues.

/case/484252 Client has downloaded the latest version, has reported the issue happening less often but still happening.

There is new fixed version that seems to be saving correctly. It sometimes flickers and shows the old value, but actually it saves the new value just fine. I will look more into it.
You can get the fixed version from:
Mac: TogglDesktop-7_4_45.dmg
Windows:
TogglDesktopInstaller-7.4.45.exe
Linux:
toggldesktop_linux_x86_64-7_4_45.tar.gz

Customer using Mac version 7_4_45 and is still reporting issues case/486048

case/486556

case/486953

case/484329 description field on mac app blanking out whenever trying to write in it.

case/486973

case/486956 This user has reported that the updated version has resolved their issue.

Case/482240
User wrote in:

I think the problem occurs when the user clicks out of a field with the mouse rather than pressing return. This happens with the version you sent me.

Case/486993

case/487002 Includes logs from version 7.4.45
User needs to click stop button at least twice otherwise it will continue.

We've released a new beta version that addresses the flickering issue. Please get the latest beta (7.4.47) by switching to beta channel from the About view

7.4.47 seems to be working ok. Pushed 7.4.47 to stable.

case/487484 Mac Version 7.4.47 Reporting project still disappearing from the main timer window and timer scrolling to the bottom of the list.

case/487085 Mac 7.4.47 User wrote in:
"Pressing command-N when Toggl is in focus creates
a new item but doesn't bring up a dialog box. Clicking on the new item
opens the dialog box, but hitting enter after entering information doesn't
close it. Have to use the mouse. Also inconvenient that autocomplete is not fully implemented. Starting to
type a project brings up a pick list, but does not fill in the closest
match so that you can just hit enter or tab to complete it. You have to
arrow down to the entry in the list to select it, even if it is the only
matching item."

/case/487534 again only with Mac Desktop

/case/487347 - Mac Desktop

Case/487844 Mac desktop
Case/487852 Mac desktop
Case/487856 Mac desktop

Seems to be fixed with current stable 7.4.52


Test Portable on Mac OS

as per original docs/geedocs/answer/3230746.html , Mac OS was supported in the original product , after Open Source , we would need to test it and add / update support doc as required.

Closing as a duplicate of #20.


operator [O] opendatahub-operator (1.3.0)

Signed-off-by: Landon LaSmith<EMAIL_ADDRESS>Thanks for submitting your Operator. Please check the below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Have you considered whether you want to use semantic versioning order?
[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description of the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/test 4.8-deploy-operator-on-openshift

Pyxis is down, later restart by the same command ^ could help.

@J0zi Thx. I'll wait a few hours and attempt to retry the tests

/test 4.8-deploy-operator-on-openshift

/merge possible


Auto-off feature

Hoi Bas,
Great project, many thanks for sharing!
I'd like to propose a new field to the config-file which would automatically turn off the streamdeck after N seconds of inactivity. I have implemented this idea in the repo i forked but i'm quite lost as to how i should try it out on hardware. Should i also fork the add-on repo, update the URLs to point to my fork and install this fork add-on? Or is there a simpler way?
If i get this working, i'll happily spend more time trying to integrate support for the dials & touchscreen of the streamdeck plus as this is the HW i have.
Groeten,
Wouter

I second this! The special_type turn-off works wonderfully but it'd be nice if it had an auto-off option after say X seconds because I'm super forgetful.
Related question, do the newer Streamdecks have issues with burn in? I have a Mk 2 and don't much want to test that.

I'm using a presence sensor to achieve something similar to this

I'm using a presence sensor to achieve something similar to this

Do you mind sharing how you did this?
Thanks in advance.

I also had this idea and implemented something in that direction. I'll open a PR for that

See #193

Hear a kind off solution:
Create an input_boolean.streamdeckautooff in the helpers.
In the configuration.yaml:
add: state_entity_id: input_boolean.streamdeckautooff
You need to have a separeated user, the will have the long term token.
Then create an automation:
alias: StreamDeckAutoOff
description: ""
trigger:
  - platform: event
    event_type: call_service
    context:
      user_id:
        - a332afc29a7e48dbb43a3a4eae197afb
condition: []
action:
  - action: input_boolean.turn_on
    target:
      entity_id: input_boolean.streamdeckautooff
    data: {}
  - delay:
      hours: 0
      minutes: 1
      seconds: 0
      milliseconds: 0
  - action: input_boolean.turn_off
    target:
      entity_id:
        - input_boolean.streamdeckautooff
    data: {}
mode: restart

yes, it's ugly, but it works.


Fixup help options for built-in flags

Fixes a bug where built-in flags such as --help and --version were not
properly marked with isOptional which resulted in them appearing in
generated content (such as completion scripts and manuals) as required
arguments.

@swift-ci please test

@swift-ci please test


Keychain bug fixes

This PR contains small fixes related to some keychain issues we discover recently:

It checks if the failure block is set before executing it. https://github.com/xing/XNGAPIClient/commit/1a41d932918cfde9ad0c06ce6de54093ba33de89
For some reason, if some keychain items are not stored or retrieved correctly the authentication flow can break. So we make this method more exhaustive to avoid scenarios where one of those values is missing due keychain errors.

@tammofreese thanks for the review Tammo!

You're welcome! :+1:


Enable actions/attest-build-provenance

This allows verifying that the artifacts were built in the lima-vm CI:
gh attestation verify socket_vmnet-<VERSION>-<ARCH>.tar.gz --owner lima-vm

See:

https://github.com/actions/attest-build-provenance
https://github.blog/changelog/2024-06-25-artifact-attestations-is-generally-available/

https://github.com/lima-vm/socket_vmnet/releases/tag/v1.1.6

[!NOTE]
This v1.1.6 release is slightly broken; the artifacts are named with the version 1.1.6-rc.0 because I tagged v1.1.6-rc.0 and v1.1.6 from the same commit

😞

We have to fix some typo or just add/remove whitespaces to tag v1.1.7 with a new commit... 😅


FastAPI Query with dataclass fails using alias

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
import uvicorn
from fastapi import FastAPI, Depends, Query
from typing import Optional
from pydantic.dataclasses import dataclass

app = FastAPI()

@dataclass
class Catz:
    qqq: Optional[str] = Query(None, alias="q")

@app.get("/productz/")
def search_products(query: Catz = Depends(Catz)  ):
    products = [{"name": "Computer"}, {"name": "HDD"}]
    if not query.qqq:
        query.qqq = ""
    return {"query": query, "results": [product for product in products if query.qqq in product["name"]]}

@dataclass
class Cats:
    qqq: Optional[str] = Query(None )

@app.get("/products/")
def search_products(query: Cats = Depends(Cats)  ):
    products = [{"name": "Computer"}, {"name": "HDD"}]
    if not query.qqq:
        query.qqq = ""
    return {"query": query, "results": [product for product in products if query.qqq in product["name"]]}

if __name__ == "__main__":
    uvicorn.run("main:app", port=11978, log_level="info", reload=True)

Description
when I use the service via curl, I get the following outputs:
the expected behaviour with the endpoint /products/ that has no aliases

curl -X 'GET'  'http://localhost:11978/products/?qqq=H'  -H 'accept: application/json' -H 'api-version: 1.0' ; echo
{"query":{"qqq":"H"},"results":[{"name":"HDD"}]}

not the expected behaviour with the endpoint /productz/ that has no aliases (regardless of me using a query parameter with its own name or with the alias I have in the code)

curl -X 'GET'  'http://localhost:11978/productz/?qqq=H'  -H 'accept: application/json' -H 'api-version: 1.0' ; echo
{"query":{"qqq":""},"results":[{"name":"Computer"},{"name":"HDD"}]}

curl -X 'GET'  'http://localhost:11978/productz/?q=H'  -H 'accept: application/json' -H 'api-version: 1.0' ; echo
{"query":{"qqq":""},"results":[{"name":"Computer"},{"name":"HDD"}]}

the problem goes away if I use
from dataclasses import dataclass
but that has other drawbacks (especially for more complex and nested dataclasses) as stated in FastAPI documentation.
Operating System
Linux, macOS
Operating System Details
No response
FastAPI Version
0.75.2
Python Version
3.10.4
Additional Context
No response

Hello,
You try this case changing dataclass to pydantic model? I try use pydantic BaseModel and found and using dataclass my output is diferent to you

curl -X 'GET' 'http://localhost:11978/products/?qqq=H' -H 'accept: application/json' -H 'api-version: 1.0' ; echo
{"query":{"qqq":"H"},"results":[{"name":"HDD"}]}

-This different:

curl -X 'GET' 'http://localhost:11978/productz/?qqq=H' -H 'accept: application/json' -H 'api-version: 1.0' ; echo
{"query":{"qqq":"H"},"results":[{"name":"HDD"}]}⏎

curl -X 'GET' 'http://localhost:11978/productz/?q=H' -H 'accept: application/json' -H 'api-version: 1.0' ; echo
{"query":{"qqq":""},"results":[{"name":"Computer"},{"name":"HDD"}]}

I think this is a bug. The documentation clearly states that the pydantic.dataclasses is a drop-in replacement for dataclasses, which it isn't in this case.
I had a hunch, and adding this to your code will allow you to use the alias to set the qqq property using q (but will not allow you to use qqq anymore!):
from pydantic import BaseConfig
BaseConfig.allow_population_by_field_name = True

That is very strange behaviour. Normally, the above would allow you to use both qqq and q to instantiate a Catz object. However, when using in your code, this allows to use q but not qqq. Which is better than what you were experiencing (e.g. neither q nor qqq were respected) but still, very weird behaviour indeed.


User is forced to select mfa factor if they have setup both Okta Verify and Google Authenticator

Expected Behavior
When using gimme-aws-creds a user can configure a preferred mfa type to avoid having to select one each time the program is used. However, Okta allows for multiple instances for some types (namely totp) to be setup. Ideally, a user would be able to configure their preferred mfa provider in addition to the type, perhaps in a configuration field such as preferred_mfa_provider.
Current Behavior
There is no current way to configure a preferred mfa provider, only type, which makes gimme-aws-creds prompt the user to select a factor if they have set up multiple factors matching their preferred type.
Possible Solution
https://github.com/Nike-Inc/gimme-aws-creds/pull/446
Steps to Reproduce (for bugs)

In Okta, setup extra verification for each Google Authenticator and Okta Verify.
Configure gimme-aws-creds with preferred_mfa_type = token:software:totp.
Use gimme-aws-creds and observe that the user is prompted to select an mfa factor.

Context
In order to give myself options, I have both Google Authenticator and Okta Verify setup. In the past, I have disabled Okta Verify so that gimme-aws-creds only has one totp mfa to find, but this seems like an unnecessary concession when I can contribute a solution to the issue.
Your Environment

App Version used: git dev @ 15f8420684b3acf174c993e6bf84770192a2d220
Environment name and version: python 3.9.6
Operating System and version: MacOS Sonoma 14.3

This new feature will be released in 2.8.1


Log the unnormalized url for debugging

I'm seeing some urls that aren't getting the trailing slash stripped which is breaking analytics.

Thanks for merging this @liyiy! I'll have another PR with a bugfix once I'm able to replicate the issue in the test cases using the information in the logs I'll get from this PR.
Any chance we can enable checks for my incoming PRs? Also, are we able to open up issues so people can file bugs, or is there a better place for people to file issues if they're having trouble?


This is great.

There are no issues here; just wanted to let you know this works great, and thank you for making it cheers. :)

Sorry for the delay and many thx for the feedback!


download tools folder with tool.json in install script

need to triage for macos and linux

add deprecation notice wrt -app flag, app.jsonl, instructions_template.jsonl, etc

These changes are being implemented in #227


Enhancement: Support Planner Rosters for planner plan list

Context
Right now our Planner commands can only work with plans contained in groups. Let's extend them to use Planner Rosters as well.
Options to add

Option
Description

--rosterId [rosterId]
ID of the Planner Roster. Specify either ownerGroupId, ownerGroupName or rosterId.

API request
To get plans from a Planner Roster, we should use:
GET https://graph.microsoft.com/beta/planner/rosters/{id}/plans

Ideally we should add this as a util function in the planner util.

I have only a similar comment as in the set command regarding the beta remark.
besides that looks good 👍. Awesome work @milanholemans 🤩

Updated the specs, thx!

Would love to work on this!

All yours!


feat: variable definitions as an alternative to full Python definitions

fixes #12
Both variables, and full definitions can now be deactivated by the API, yielding an error if they are still used in the document

@beckermr what do you think?

Example:
__variables__:
  name: "somepackage"
  version: "1.1"

package:
  name: ?name
  version: ?version

source:
  url: ?f"https://github.com/aidenlab/{name}/archive/refs/tags/{version}.tar.gz"

One could even go a step further and enable in addition access to other parts of the document without explicit variable definition
__variables__:
  name: "somepackage"
  version: "1.1"

package:
  name: somepackage
  version: "1.1"

source:
  url: ?f"https://github.com/aidenlab/{doc['package']['name']}/archive/refs/tags/{doc['package']['version'}.tar.gz"


Lua Bindings

Make lua bindings.

Maybe we shouldn't use lua? I would use my own language love-lang but it's not mature enough. If we do end up using lua I would like to use lua-jit


CXX branch build failure in python3

Fixed as of #492.  Still seeing occasional failures in python3.5, but we're deprecating support for that anyway.


[SPARK-7230] [SPARKR] Make RDD private in SparkR.

This change makes the RDD API private in SparkR and all internal uses of the SparkR API use SparkR::: to access private functions.

cc @rxin @pwendell

Merged build triggered.

Merged build started.

Test build #31788 has started for   PR 5895 at commit bdb2f07.

Thanks Shivaram, one thing is the example still refer to the lower level API - however all of them can be pretty easily written using Dataframes I believe. Would it make sense to update those also? It might be confusing for people otherwise.

Ah yes - thats a good point. I think we can remove the RDD examples and instead add data frame examples as described in https://issues.apache.org/jira/browse/SPARK-6799 . Porting the existing examples may be tricky as they do things like KMeans or Logistic Regression and we don't have ML integration yet.

Test build #31788 has finished for   PR 5895 at commit bdb2f07.

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

Merged build finished. Test PASSed.

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

Thanks. I'm merging this.


Secondary log in - Extra gap under validation button - Reported by: @parasharrajat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Navigate to Settings
Click on profile
Click on add phone number (secondary log in)
Check the button with dev tools

Expected Result:
Button area should only be consistent all around the button
Actual Result:
There's a empty gap below the button.

Workaround:
None needed, visual issue.
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.16-6
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @parasharrajat
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1637656551367400
View all open jobs on GitHub

Triggered auto assignment to @deetergp (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Proposal

Remove the Extra margin from the button. Padding is already applied from the FixedFooter component around it. https://github.com/Expensify/App/blob/03f1e76ef0b55f1071d449f7dc58ecc68481d35d/src/pages/settings/AddSecondaryLoginPage.js#L152

Can be external and @parasharrajat's proposal takes care of it.

Triggered auto assignment to @jliexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Posted and invited @parasharrajat
https://www.upwork.com/ab/applicants/1463645267709853696/job-details
https://www.upwork.com/jobs/~01bdfa8ccd102ca443

Approved 👍

@deetergp, @jliexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

Not overdue.

@deetergp just wanted to confirm for payment tomorrow:
It sounds like this is very similar to https://github.com/Expensify/App/issues/6497
Am I paying Rajat $250 + $250 (bonus for reporting)? Or are we merging payment of the jobs together for Rajat?
Just want to make sure I'm not making a mistake and Rajat is getting paid accordingly, cheers!

My thoughts 20 cents :money_with_wings: .
This issue was reported earlier and solved in a different PR than 6497. 6497 was not discovered during this issue and it's possible that it was caused by some changes later on. PR for 6497 is just merged today.
Although, they sound similar they are talking about changes on two different pages. Both issues were reported separately and both of them will have separate PR. So I consider them separate.

I agree with @parasharrajat — though they have a very similar fix, they are separate issues and should be treated as such.

Great, thanks for clearing that one up gents! Will pay Rajat $500 then.

@deetergp, @jliexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Got it in my calendar to pay tomorrow.

Paid + bonus, closed!


Implement unary array.zip, closing #2478

Closes #2478.
In that issue I said I didn’t know rust (and I don’t), but what better time to start learning than now? 😀
Not sure if this implementation is the best but it passes the tests!

Thanks!


[AIRFLOW-3410] Add feature to allow Host Key Change for SSH Op

Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Airflow Jira issues and references them in the PR title.

https://issues.apache.org/jira/browse/AIRFLOW-3410

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
This PR adds a feature to allow connecting to host (that already has an entry in Known Host file with different key) that has a new IP. Currently, it fails with Remote Identification Changed.

I have also added documentation on adding extras field to SSH Connection

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes flake8

Codecov Report

Merging #4249 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4249   +/-   ##
=======================================
  Coverage   77.82%   77.82%
=======================================
  Files         201      201
  Lines       16367    16367
=======================================
  Hits        12738    12738
  Misses       3629     3629

Continue to review full report at Codecov.

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

@ashb Updated :)


CIS Scan - scheduled scans shouldn't remove manual scans

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Enable scheduled scans set the retention count to 1
Execute 1 CIS scan manually
Wait for the scheduled scan to get triggered.

Result:
The user will end up with one scheduled scan listed in the CIS Scan list page. The manually generated CIS scan gets deleted.
Manually executed CIS Scans shouldn't get touched by the scheduled scans.
Other details that may be helpful:
Environment information

Rancher version: 2.4 master-head (03/10/2020) commit id: 8ede17d10
Installation option (single install/HA): single

Verified on master-head - commit id: 330a4bed0

Deploy a cluster - 1 etcd, 1 control and 1 worker.
Enable CIS schedule scans and give cron time = 10 * * * *. (for example) and retention count = 2
Scheduled scan will run on the 10th minute that hour.
Run few manual scans
Edit cluster change cron time = 12 * * * *.
Scheduled scan will run on the 12th minute that hour.
Edit cluster change cron time = 13 * * * *.
Scan run in Step 3 will be deleted. And a new Scheduled scan will be generated for the cluster.
Manual scans do not get deleted.


chore(deps): upgrade to app v2.2.0-rc0

Draft PR to verify CI works with this release candidate.

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

Project coverage is 46.42%. Comparing base (2469e7a) to head (7f1b10b).
Report is 309 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3772      +/-   ##
==========================================
+ Coverage   44.83%   46.42%   +1.58%
==========================================
  Files         265      314      +49
  Lines       14620    17989    +3369
==========================================
+ Hits         6555     8351    +1796
- Misses       7313     8616    +1303
- Partials      752     1022     +270

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

-- FAIL: TestExchange_DoNotStoreHistoric (16.01s)
    network.go:46: tearing down testnode
    exchange_test.go:139:
        	Error Trace:	/home/runner/work/celestia-node/celestia-node/core/exchange_test.go:139
        	            				/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/asm_amd64.s:1700
        	Error:      	Received unexpected error:
        	            	deliverTxSub was cancelled (reason: CometBFT exited)
        	Test:       	TestExchange_DoNotStoreHistoric
2024-09-24T19:24:37.543Z	ERROR	core	core/listener.go:181	listener: received block with unexpected chain ID: expected wrong-chain-rpc, received private
FAIL

Doesn't seem caused by this dependency bump

All required CI passed (after a retry). Pretty sure the integration tests are flaky based on other PRs that just merged so IMO seems safe to create v2.2.0

Target branch is right. Some integration tests may be flaky, we will sort it out.


Some suggestions

Sorry I know we're close to submitting, but here are some final suggestions I have. I broke the long sentences into shorter ones with the hope to make it clearer, but again, feel free to edit as you see fit.

Hi @trangdata,
many thanks! Submission and preprint are already out, but we can surely use this in the revision. :)


feat(prometheus) sync upstream changes for vendored prometheus library

Changelog from upstream
ab14b2f3fd23d85cf032aab6b407aadc6b45cf1b Do not trim trailing .0 from bucket label values
9a03008849e09cd86fed86ac0771f959b6874347 feat: remove leading and trailing zeros in bucket label values (#119)
18124f16445369106386fb0d47c1e96c53fc0ed5 feat: histogram support reset (#114)
baeae794c5b21099e2b2c4750ba794bb41a5e26d Tidy up utf8-related comments and tests
1b6137c6df094c3f755dc91ec9ba3be24b4c40ca Allow utf8 label values (#110)
97ba6cd0fc31b7f6c9d3f2bdc5514a966cbdd23d reset() should not log an error if metric value is not found (#106)
e2cb2af8ed6cc61a339c473f498d32f7fd47a96d Simplify library initialization (#94)
d45dddbb227d3decf8029332428ee4fcf5b0aefc Configurable name for the error metric (#91)
27bae6aae0cbdd9bf30de5d189dee76672659ee4 fix duplicate metric check (#89)

Backports are done in https://github.com/Kong/lua-resty-prometheus where one change that is removed due
to debatable tradeoff between complexity and performance. To view what's different from upstream, please use
this link https://github.com/Kong/lua-resty-prometheus/compare/upstream/master...Kong:test.

Seeing some flakyness in CI around balancer metrics, probably caused by a bahaiviour change. i think it's not related by this PR. Will merge as is and figure out the flaky one shortly


SA1615 is raised for async methods returning a Task

I'm not sure if this is by design, but SA1615 is raised for async methods returning a Task. These methods are the async equivalent of returning void, for which return value documentation is not required.

SA1615 is the expected result from this case. However, a code fix is provided to assist you in adding a standard documentation line covering the scenario.

@sharwell
Excuse me, but I didn't get why this is an expected result. The function returning a Task is an async returning nothing, so no documentation is needed.

@momt99 This rule interprets Task as a return value which is not void. If your project uses a different approach for interpreting/documenting return values, it would make sense to either disable SA1615 for your project, or implement a DiagnosticSuppressor for your project which automatically suppresses SA1615 for specific scenarios.
@mavasani do we have documentation for creating diagnostic suppressors? I wasn't able to find any in a search.

@sharwell You can look at https://github.com/nunit/nunit.analyzers/tree/master/src/nunit.analyzers/DiagnosticSuppressors for examples. I can't recall what resources I used, but eventually got there.

Thanks for your information. I thought it would be better if there was built-in support for this special case.


Fix OlRenderer

Description
This fixes a strange behaviour when using a geostyler function in a symbolizer property with the RuleTable component. The source of this behaviour was this bug: https://github.com/geostyler/geostyler-openlayers-parser/issues/740
To make sure the parser won't affect the passed style at all i added a structuredClone to the OlRenderer.
This also includes some minor refactoring.
Do you introduce a breaking change?

[ ] Yes
[x] No
[ ] I am unsure (no worries, we'll find out)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


OpenThread support for 868MHz band on EFR32MG12

Do we have any plans to support OpenThread for 868MHz on EFR32MG12?
Could you please let me know the configuration/changes that are needed in OT to enable this feature?
Thanks,
Swathi

OpenThread's support for sub-GHz is currently experimental. The Thread Specification does not currently include operation over sub-GHz bands.
We do not currently have any plans to support 868 MHz, but it should be pretty easy to add. The current prototype:

Supports the EFR32MG12 2400 / 868-915 MHz radio.
Leverages IEEE 802.15.4-2006 Channel Page 0, which assigns channel number 0 to the 868 MHz band.

For a quick test, it may be as simple as:

Changing OT_RADIO_915MHZ_OQPSK_CHANNEL_MIN to 0.
https://github.com/openthread/openthread/blob/82eee1f8d32980279ba5b9b63f53609325d910fb/include/openthread/platform/radio.h#L100

Changing OT_RADIO_915MHZ_OQPSK_CHANNEL_MASK to 0x7ff
https://github.com/openthread/openthread/blob/82eee1f8d32980279ba5b9b63f53609325d910fb/include/openthread/platform/radio.h#L102

Then configuring the channel to 0 for operation in the 868 MHz band.
Hope that helps.

I am using BRD4163A Radio board (https://www.silabs.com/documents/public/user-guides/ug262-brd4163a.pdf)
I have made the changes as per above, mentioned by you and configured the channel to 0 to operate on 868MHz band.
Addition to the above change I have also generated rail_config.c file for 868MHz board from Radio configurator in Simplicity studio IDE and copied it to third_party/silabs/rail_config.
It is failing in joining process (error message: Join failed [NotFound]).
In joiner device, scan command does not discover Thread network.
Background: At first I tried SubGHz on board BRD4164A (EFR32MG12 2.4GHz/915MHz Radio board). I added board_config.h and hal-config.h in BRD4164A folder for EFR32MG12P433F1024GL125 MCU and changed Makefile-efr32mg12 to support this board. Everything works fine with 915MHz board. Verified the frequency using hackrf one hardware, the frequency was around 904.2-906.4. We need to work on 868MHz band that is supported for Europe.
Am I missing out anything here?
Thanks,
Swathi

@SwathiRamachandra , unfortunately, I do not have a BRD4163A board to help with this.
Maybe someone from Silicon Labs can chime in? /cc/ @mhallam91 @cbabcock2

Thanks @jwhui
@mhallam91 @cbabcock2 Any updates on this?

@SwathiRamachandra - I think 868 MHz support involves more than the changes in radio.h that Jonathan suggested. One key thing might be the symbol rate. If you look up “Symbol rate” in IEEE 802.15.4-2006, you will see that the O-QPSK PHY symbol rate is quite different when operating in the 868 MHz band compared to when operating in the 915 MHz band. This will require some changes in our RAIL configuration that we don’t have today.
As Jonathan said earlier, "OpenThread's support for sub-GHz is currently experimental. The Thread Specification does not currently include operation over sub-GHz bands." You can probably experiment with our Flex SDK and see if you can generate a RAIL configuration for the 868 MHz PHY, however, I wonder if that means your solution would potentially become “proprietary” rather than “standard” depending on where the Thread Specification goes?
Thanks,
Yuping

Thanks @silabs-YupingX for your reply.

I used RAIL Test example to create RAIL configuration file, and changed bitrate to 100kbps. as attached in
radio_settings.zip. I still getting same result. Join failed[Not found]. Also using scan command not able to discover
thread network.
I used Mac Mode device example Radio configuration file, I get Join failed[Security]. i have given correct PSKId. Using scan
command able to discover network.
I tried to edit rail_config.c file of 915MHz frequency band. Changed frequency to 868MHz, channel spacing to 400KHz and
channel number min to 0 and max to 10. I am able to join successfully and have DTLS communication and get the data. But i
am getting error 0x6900 (MBEDTLS_ERR_SSL_WANT_READ) during mbedtls_ssl_handshake and mbedtls_ssl_read. But yet able to
pass all the commands successfully.

Could you please share your thoughts on above? If possible would you able to share the radioconf file of 915MHz?
Thanks,
Swathi
radio_settings.zip

@silabs-YupingX A friendly reminder.
Thanks,
Swathi

@silabs-YupingX A friendly reminder.
Thanks,
Swathi

@SwathiRamachandra From the radioconf you attached, it looks like the frame is not set up for 15.4 (e.g. length decoding and crc). We don’t currently have a tested radio_settings.radioconf file for 915MHz.
Have you seen this KBA? Wondering if it might be of any help at all: https://www.silabs.com/community/wireless/proprietary/knowledge-base.entry.html/2017/02/24/ieee_802_15_4_andra-vGci
Also, have you checked if the config is working reliably in railtest (at least a tx/rx test with 2 devices)?

@SwathiRamachandra From the radioconf you attached, it looks like the frame is not set up for 15.4 (e.g. length decoding and crc). We don’t currently have a tested radio_settings.radioconf file for 915MHz.
Have you seen this KBA? Wondering if it might be of any help at all: https://www.silabs.com/community/wireless/proprietary/knowledge-base.entry.html/2017/02/24/ieee_802_15_4_andra-vGci
Also, have you checked if the config is working reliably in railtest (at least a tx/rx test with 2 devices)?

@silabs-YupingX, Yes the default config file which is in railtest example works fine for tx/rx test with two devices.
I will try with the link provided.
Thanks,
Swathi

@silabs-YupingX, Yes the default config file which is in railtest example works fine for tx/rx test with two devices.
I will try with the link provided.
Thanks,
Swathi

Closing stale issue.


enhancement? - POST request to add description to datasets

Wondering if there is anything available now (that I might have missed) or if it's possible to add the ability to send description to dataset columns?

@KristiKovacs not sure of the context of this comment. This is a bit of a legacy repo.


nothing but a blank window

I'm not even sure if it is working or corrupted. I created a new project but on the side bar it only shows all the folders. When I drag a PDF file into the window it just turn into a PDF reader, I can do nothing but zooming, no buttons, no instructions, no error messages.
I'm running on M1 macbook air 14.2.1, downloaded the 1.4.1 dmg pack, because when I tried homebrew another error kept jumping out
Warning: Unexpected method 'arch' called on Cask marker.
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
Warning: Unexpected method 'arch' called on Cask marker.
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
Error: Download failed on Cask 'marker' with message: undefined method `[]' for nil:NilClass

@SYQsb for the homebrew issue, can you run brew config in the terminal and share the output? Your origin/homebrew version might be outdated (see https://superuser.com/a/1772531).
The drag-and-drop thing is a bit odd; I'm assuming it has something to do with Tauri because the app right now doesn't handle those events. I'll look into fixing that when we add support dropping files into the app (planning for next release).
As for the sidebar, it will only list markdown files in the current project folder. Any files ending with an extension other than .md will not be shown.

This seems like a tauri scope configure problem, I change the tauri config fs to this and it works.
"fs": {
"all": true,
"scope": ["*/**"]
},

This seems like a tauri scope configure problem, I change the tauri config fs to this and it works.
"fs": {
"all": true,
"scope": ["*/**"]
},
According to https://github.com/tauri-apps/tauri/issues/4130


Long float being passed to the format function

My usecase is having a min of 1 and a max of 12 to select an inclusive month range which grabs the english name of the month from an array by key, but for some values it returns really long floats, like for this example: €5.000000000000001
https://jsfiddle.net/gjhdu6pL/
(of course i can and i will round it down on my end to fix my usecase, but i figured i let ya'll know about this one)

I had this same problem when setting format as a function.  The solution for me was to:

Set format as an object instead AND
Set the decimal property of the format object to a value of 0

That's unfortunately how it is. Updated the example:
<script>
  import Slider from '@vueform/slider'

  export default {
    components: { Slider },
    data: () => ({
      value: 20,
      format: function (value) {
        return `€${Math.round(value)}`
      }
    })
  }
</script>

Or as @dougfelton proposed: using format as an object does not require any tweaking.


Feedback for “Page Configuration”

Sub Docs don't seem to work with Navbar Menus. Might consider adding a warning callout.
A requirement for SubDocs is having top level pages defined in _meta.json, which menu items seemed to be defined as children. A work around is to declare Sub Docs pages twice in the _meta.json (once as top level pages / once within the Navbar menu declaration), however this leaves the user with duplicates.
When adding "display": "hidden to the top level pages (to avoid duplicates), it hides the sidebar from the pages as well (which defeats the purpose of Sub Docs.

Duplicate of #1225


types(runtime-core): add devtools to AppConfig

AppConfig is missing devtools

I think there is a mistake in the docs (https://v3.vuejs.org/api/application-config.html#devtools) This property isn't used in the source code. We have a different env variable to be able to leave devtools in production


pin anyvendor

BOT NOTES:
resolves https://github.com/solo-io/skv2/issues/270

https://github.com/solo-io/skv2/pull/272 solves this

My bad, didn't see this PR when I put up https://github.com/solo-io/skv2/issues/270


gnome.tali: 40.4 -> 40.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for gnome.tali is: "Sort of poker with dice and less money"
meta.homepage for gnome.tali is: "https://wiki.gnome.org/Apps/Tali"
meta.changelog for gnome.tali is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/rgaglkdsxa6qrmah18gpr35ivsws72s2-tali-40.5/bin/tali had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/rgaglkdsxa6qrmah18gpr35ivsws72s2-tali-40.5/bin/.tali-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 40.5 with grep in /nix/store/rgaglkdsxa6qrmah18gpr35ivsws72s2-tali-40.5
found 40.5 in filename of file in /nix/store/rgaglkdsxa6qrmah18gpr35ivsws72s2-tali-40.5

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
gnome.tali

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rgaglkdsxa6qrmah18gpr35ivsws72s2-tali-40.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnome.tali https://github.com/r-ryantm/nixpkgs/archive/c63b71869b6c4f7d1016777b3d9230fa89a2f3ef.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rgaglkdsxa6qrmah18gpr35ivsws72s2-tali-40.5
ls -la /nix/store/rgaglkdsxa6qrmah18gpr35ivsws72s2-tali-40.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gnome.tali

Maintainer pings
cc @hedning @jtojnar @dasj19 @maxeaubrey for testing.

https://gitlab.gnome.org/GNOME/tali/-/compare/40.4...40.5
Fixes build with meson-0.61 (remove positional arguments from i18n.merge_file).
Not part of pull request #157350, probably related to #154833. Launches.


Backfill tests for the kubernetes work before acceptance testing and merging to master

While the functionality for deploying the broker to Kubernetes is technically done, we still need to backfill the tests in order to have that functionality properly TDDed before finalizing the work and merging it to master

this needs to build on the work we have already done in PR #9


render error for select-radio

[Selectradio] fix render error for select-radio
Description
The error given in props was ignored

Done in #1372, with added style. Thanks for the PR


docs: clarify the deployment schema

Added quick recap table to the Wiki (https://github.com/teamdigitale/innovazione.gov.it-site/wiki/Ambienti-di-sviluppo). Closing.


vespa prepare/activate

@bratseth

Although I don't know how yellow will look with my day mode terminal

It's still the same color, they just changed the name.


Fix: startup sound being swallowed with activate amplifier service on RPI Zero

Hi @MiczFlor , @marcohorstmann
I tried to fix a swallowed startup sound by changing the systemd settings but I could not make it work. The gpiozero just takes ages to load. With Rpi.GPIO I can switch my amp instantly on.

Hi @martinclausen2
this looks good and I could merge it with the develop branch for testing, but it looks as if you cut the documentation from the header of this document. So if this is only for PiZero, please add this as a comment.
All the best and merry christmas,
micz

Hi @MiczFlor, this pice of code is more useful than just for that specific amplifier. So I removed comments specific for this amp and replaced them by more generic comments - however a link to the wiki as an example implementation is indeed useful. I added that. It is all non-PiZero specific.
Unfortunately, all my other changes are now visible in this pull request, so I better explain them:

At zero volume my DAC makes noise, so I limit the minimum volume to 1%. This is only implemented for the "decrease volume route". It think that is appropriate.
If after a reboot or cold start the same rfid is used as just before shutdown, this is regarded as a second swipe: To me and my usability testing team ;-) it is confusing that you cannot start the playback anymore, if the second swipe action is set to do nothing. If the playlist is empty, now the second swipe is treated a first.
The rotary encoder code missed every second step. If this is appeared or not depends on the type of encoder (dents or not, ratio of dents to pulses). I added code for the other missing case.
I unified GPIO libs and coding style to what I thought is most appropriate and light weight.
I am new to shell programming so please review the shell code as beginners code.

All the best for you as well and merry Christmas to you as well although it is already a little late on the 27th.
Martin

Hi @martinclausen2
thanks for the contribution. I will merge it with develop. One thing you should do:
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/Hardware-Hack-PAM8403-Poweroff
the same image appears twice - which is because I could only find one image in your original post. And posted that twice :) could you provide the second image?
All the best and a good start into 2019!
Get yourself a printout of the Phoniebox calendar

Hi @MiczFlor ,
I just hijacked other peoples work, so I do not have exactly that hardware. I have a different amp. I can show my hack later on, when time permits. I looked into the wiki history, but did not find another image. I had the impression that the text needs rather rework than another image. I keep this as a todo if you do not find another owner for the PAM.
I added a status led because my customers did not know when the box was on, off, booting, shutdown or whatever.
I think the encoder performance is still inferior. I attempt to rewrite the whole decoder stuff, when time permits. I will follow those lines:. I was tempted to pull in an additional microcontroller, like I did before, also for the status led, since the usability is much better due to real time processing. But I guess that would hamper the implementation for others.
Have a good start into 2019 as well!

Hi @MiczFlor , it is done now. The encoder decoder got a new decoding algorithm. Now it works also with the noisiest low cost encoders. Extra: Now the step size increases, if you turn the knob faster. IMHO this significantly improves the user experience.
I look forward to some feedback from you!
Martin


Enable pdf generation in prs; fix chapter structure

In this PR:

[x] Generate all .md files

Explanation: In previous PR I thought .md files will be automatically generated on push to master, they weren't, so pushing the final .md generation in this PR.

[x] Put exercises within chapters in a pdf, mark Pretty Printing as Extra, make Solutions a separate chapter

From → to

[x] Enable pdf generation in PRs

Explanation: like Julian mentioned, there are 2 ways to generate a pdf - via actions/upload-artifact (makes it possible to download an artifact [from the artifacts section in actions tab] in a zip file; and then unzip it; and then see the pdf) and via marvinpinto/action-automatic-releases (automatically creates a release on each push, and makes the pdf directly available via that release).
This PR makes it so that we do marvinpinto/action-automatic-releases when we push to master, and actions/upload-artifact when we push to any other branch (so that we can check out the generated pdf).

Gotchas
I can now see the generated pdf in my forked branch, however the new workflow doesn't run in this repo for some reason. Maybe this will work upon the creation of further PRs after this is merged, or maybe some permission needs to be set by Arthur, will be more clear on further PRs.

This is really amazing. Thank you very much!


Mobile device

How would I render an element on mobile device as if it was on desktop? I tried scaling it manually and then saving but it still renders everything in the same layout as it is on mobile and not the resized version-

I am also  interested in this issue...is there a way to generate the PDF consistently over various screen and device sizes?
Having had a look through some of the answers to other issues on here I was wondering if something along the lines of cwallen's workaround (20/02/18 "#79" and pietrogregorini's code on the same issue thread) might be the best way to go - i.e. using the triggering of html2pdf to add/remove a class to show and then hide (once html2pdf has run) the non-responsive PDF content with the responsive screen only content following and displaying for device/screen size as required? Or possibly add/remove a class to force the width of the PDF content container until html2pdf has run?
Is there any other way to achieve this?
@eKoopmans thanks for a great tool, working perfectly for me otherwise.

What worked for me was passing the windowWidth parameter through to html2canvas.
var element = document.getElementById("content");
var opt = {
    margin:       0,
    filename:     'myfile.pdf',
    image:        { type: 'jpeg', quality: 0.98 },
    html2canvas:  {
        scale: 2,           // higher quality
        windowWidth: 1024   // simulate a browser size that causes the page's responsive CSS to output a pleasing layout in the rendered PDF
    },
    jsPDF:        { unit: 'in', format: 'letter', orientation: 'portrait' }
};
html2pdf().set(opt).from(element).save();

Nice one Mike...that sounds like a more efficient way to go, cheers.
I ended up doing just what I said above, using html2pdf to add a class which displays a fixed width version of the PDF content and then removing the class once html2pdf is done...worked a treat but meant having 2 versions of the generated output - one responsive for screen display and the fixed width version for print.


Resolve typing issues

Resolve typing issues

Codecov Report

Merging #17 (61479be) into main (23bfd28) will decrease coverage by 0.56%.
The diff coverage is 97.56%.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   99.05%   98.49%   -0.57%
==========================================
  Files           4        4
  Lines         106      133      +27
==========================================
+ Hits          105      131      +26
- Misses          1        2       +1

Impacted Files
Coverage Δ

gcal_sync/model.py
95.83% <94.11%> (-1.31%)
:arrow_down:

gcal_sync/api.py
100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Can DCGM exporter exposes container level GPU usage?

Following the guide in DCGM exporter and demo in here, I only find that it does can expose GPU usage on node level.
My question is, can it expose GPU usage on container level ?
If so , how can we access that?

Right now, there is no straight forward way to get container level GPU metrics because k8s doesn't expose this information except some tricks are still possible, like docker inspect of the running containers to identify NVIDIA DEVICES or kubectl describe pod or exec to get device information. For upstream k8s, there is effort going on to bring device-to-pod mapping feature https://docs.google.com/document/d/166Lb8oa7vAlNw3L59UpG7dohOHB7j40LDGVz68T5UaE/edit?usp=sharing
https://docs.google.com/document/d/166Lb8oa7vAlNw3L59UpG7dohOHB7j40LDGVz68T5UaE/edit?usp=sharing
In KONG, we actually share device ids in the API server, so if you do kubectl proxy and query the http API, you will see  devices in the pod spec.
kubectl proxy --port=8000 & curl -s http://localhost:8000/api/v1/pods


MDTabs,MDTabsBase  and Kivy 2.0.0rc3

Description of the Bug
Using KivyMD 1.104.1
2.0.0rc2 the example below gives:
[WARNING] [ColorParser ] Invalid color format for '#'
2.0.0rc3 the example below gives:
Traceback (most recent call last):
  File "C:\Users\Bobf\AppData\Local\Programs\Python\Python38\lib\site-packages\kivy\lang\builder.py", line 701, in _apply_rule
    setattr(widget_set, key, value)
  File "kivy\weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.__setattr__
  File "kivy\properties.pyx", line 498, in kivy.properties.Property.__set__
  File "kivy\properties.pyx", line 527, in kivy.properties.Property.set
  File "kivy\properties.pyx", line 2023, in kivy.properties.ColorProperty.convert
ValueError: MDTabsLabel.color must have 3 or 4 components (got [])

Also filed here  https://github.com/kivy/kivy/issues/6957
Code and Logs
from kivymd.app import MDApp
from kivymd.uix.tab import MDTabs,MDTabsBase
from kivymd.uix.boxlayout import MDBoxLayout

class Tab(MDBoxLayout, MDTabsBase):
    def __init__(self, **kwargs):
        super(Tab, self).__init__(**kwargs)
        pass

class MyApp(MDApp):

    def build(self):
        t = MDTabs()
        b = Tab(text='foo')   # Issue here
        return t

if __name__ == '__main__':
    MyApp().run()

Versions

OS:   Windows 10
Python:  2.8.2
Kivy:  2.0.0rc3
KivyMD:  1.104.1

@Ham-Merhead Trypython3 -m pip install --force-reinstall git+https://github.com/HeaTTheatR/KivyMD.git

It is downloading Kivy 1.11.1 which seems wrong.
Then it fails because it wants me to install Visual C++, not just the runtime.

Fix https://github.com/HeaTTheatR/KivyMD/commit/f0c64aeeb467f1057809d408879c6d314a4cddfb

Confirmed fixed with Kivy 2.0.0rc3 . Thank you.

First of all, I might be wrong considering it's my first time doing UI on python. But his error seems to have creep back up because I'm using the Tabs_Example from the rtd and still got this wonderful error:

here are my versions in my requirements.txt:
On windows 10, using Anaconda pkg manager and python 3.8.8
certifi==2020.12.5
chardet==4.0.0
docutils==0.16
idna==2.10
Kivy==2.0.0
kivy-deps.angle==0.3.0
kivy-deps.glew==0.3.0
kivy-deps.gstreamer==0.3.1
kivy-deps.sdl2==0.3.1
Kivy-Garden==0.1.4
kivymd==0.104.1
Pillow==8.1.2
Pygments==2.8.1
pypiwin32==223
pywin32==300
requests==2.25.1
urllib3==1.26.3
wincertstore==0.2

@ysma500 Use KivyMD library from master branch.

@HeaTTheatR  When I pull using pip I use what branch?

@HeaTTheatR No. pip install https://github.com/kivymd/KivyMD/archive/master.zip

@HeaTTheatR Thank you, will try that tomorrow... Will it ever be versionned and pushed to pypi?


Added the Aim training Game

Aim training and Issue number : #3148

Close #3148

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

@MohitGupta121 @pranjay-poddar please merge and approve this PR.

@MohitGupta121 @pranjay-poddar please merge and approve this PR.


<EMAIL_ADDRESS>

https://github.com/sanctuary-js/sanctuary-type-classes/compare/v1.1.0...v3.0.0

((:bell:)) @safareli


possibility to add className also to arrow

I see there is a "containerClassName" which is good for styling the component in separate css file.
I would be ideal to have the same property for the ArrowContainer component.

Hey sorry I'm late here, but this functionality now exists!


Give gold to all players every 10-20 minutes

Recently i noticed that new players often have poor expirience in their first game.
Good players outfarm them too much. And it is a good thing in its own way. But right now a player that know the rules can become 6 slotted before newbie even finish his second slot.
Also people farm too much in this game. It would be great if they could focus more on teamfighting for bosses instead of killing creeps after 15 minute mark.
I think it will improve the game expirience a lot (at least for new players). Of cause there is an arcane boots, but new players usually dont find them in their first game. And they have their problems woth illusions (I reported this bug in the bug section already).

We already have passive gold; in fact, passive gold grows very quickly with time. Don't know what to think about passive EXP, though.

Its too small. Doesnt even impact the game when you need like 20 000 gold for recipe.

IMO we need some way to give everybody gold. At least some basic amount.

The gold/exp feels quite balanced right now; isn't it possible, that you are not using the items and the environment to their full potential?
If you are using the farming boots, and participate in the ganks you should have no gold and exp issues

Its not about me i am worried. We usually snawball our every game, because I play in party. We build mana boots and don't have problems with gold.
I just dont like the idea of some farming boots you need to buy almost in every game. New players usually pick carries and build threads and phase boots. So they are usually underfarmed. Which makes their game miserable.

All gold and experience, inclusing passive values, is being reworked. Closed.


Failed to import - @pyscript/core

Failing module

GitHub: https://github.com/pyscript/pyscript/
npm: https://www.npmjs.com/package/@pyscript/core

// wait for bootstrap and see errors about re-definition of something
// that is defined once in core and nowhere else
import('https://esm.sh/@pyscript/core/dist/core.js').then(
  () => document.body.appendChild(document.createElement('py-script'))
);

Error message
After onload I got this:
Uncaught (in promise) DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "py-script" has already been used with this registry

Additional info
We've found this issue and the problem is that esm.sh re-bundle our /dist/error-XXX.js file which imports from /dist/core.js which was also the initiator (it's about lazy plugins with a shared source). Basically instead of looking exactly as we published it in our pre-optimized dist folder, it looks like this causing all sort of problems with our project, as the core.js can't be shared, reused, or trusted by any mean.
Moreover, it looks like explicit exports field in package.json are completely ignored so that we cannot use just //esm.sh/@pyscript/core neither, as that should point to /dist/core.js instead of trying to resolve all the things.
Is there any way to specify we want esm.sh to follow defined exports and keep the files untouched? Thank you.

FYI we've changed the default main export as index.js, which simply import * from './dist/core.js' but the issue remains and there's no escape hatch to avoid re-bundling our project in a way that makes sense (or that work at all).

the name "py-script" has already been used with this registry

seems the package registries the element automatically

Is there a plain esm mode without bundling. That would probably solve the issue. Bundling is not good for singletons, especially when there are multiple import() calls and esm.sh has no idea what packages to share, so it if bundles them each time, that causes problems and it is not how ES Modules actually work.

This issue was fixed with the introduction of raw.esm.sh. Here is the original example with the no bundling option enabled:
import('https://raw.esm.sh/@pyscript/core/dist/core.js').then(
  () => document.body.appendChild(document.createElement('py-script'))
);// Add your code here

We can close this issue


Hololens 2 | Azure Spatial Anchors in Unity - crash when SessionLogLevel.All is set

Hello guys,
So I was trying to set up the azure spatial anchors in my project following this docs https://docs.microsoft.com/en-us/azure/spatial-anchors/how-tos/setup-unity-project
Unity Version: 2020.3.6f1
ASA Core - 2.10.0-preview1
ASA Windows - 2.10.0-preview1
The problem is that if I don't set the LogLevel on my cloud spatial anchors session my app seems to work on Hololens 2 but I get no SessionUpdate events for example.
If I set the LogLevel to SessionLogLevel.All my app crashes and the only errors I manged to get from the VS project if I run it in the debug are:
AzureSpatialAnchors.pdb not loaded
and
Unhandled exception at 0x00007FFFECE2E850 (msvcp140_app.dll) in Hololens.exe: RangeChecks instrumentation code detected an out of range array access.
I have also tried the 2.9.0 version packages but got the same errors.

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

ID: 8d172218-934f-1431-be92-4ad6897a31e9
Version Independent ID: 124f517a-9531-838d-3834-a21f94da9fdb
Content: Install Azure Spatial Anchors for Unity - Azure Spatial Anchors
Content Source: articles/spatial-anchors/how-tos/setup-unity-project.md
Service: azure-spatial-anchors
GitHub Login: @msftradford
Microsoft Alias: parkerra

Thank you for the bug report. It doesn't look like the problem is in the documentation, but it may be a bug in the SDK. I'll investigate it.

If it helps my simple session initialization part (as explained in https://docs.microsoft.com/en-us/azure/spatial-anchors/how-tos/create-locate-anchors-unity) looks something like:
`            this.ReadyToCreateAnchors = false;
this._cloudSpatialAnchorSession = new CloudSpatialAnchorSession();
// for those 2 I also added the keys in the resources configuration file
this._cloudSpatialAnchorSession.Configuration.AccountId = @"my account id";
this._cloudSpatialAnchorSession.Configuration.AccountKey = @"my account key";
        //Might be a SDK bug
        //this._cloudSpatialAnchorSession.LogLevel = SessionLogLevel.All;

        this._cloudSpatialAnchorSession.Error += OnASAError;
        this._cloudSpatialAnchorSession.SessionUpdated += OnSessionUpdate;
        this._cloudSpatialAnchorSession.OnLogDebug += OnDebugMessageLog;

        this._cloudSpatialAnchorSession.Start();

        this.IsInitialized = true;
        Logger.Message("ASA WAS INITIALIZED");`

Thanks!
I assume you don't have a call stack from the failure? I'll try to reproduce the issue to see what part of SDK it belongs to but if it happens that you have a call stack from the unhandled exception that would help too.

Sorry for my late reply on your request, I was in vacation.
So creating a new build for VS and running it in debug gives the following errors now:
Exception thrown at 0x00007FFFA26C3498 (ntdll.dll) in Hololens.exe: 0xC0000008: An invalid handle was specified.
with the call stack:
 	ntdll.dll!00007fffa26c3498()	Unknown
 	mswsock.dll!00007fffa0bba838()	Unknown
 	ws2_32.dll!00007fffa1d451a0()	Unknown
>	GameAssembly.dll!il2cpp::os::SocketImpl::Poll(std::vector<il2cpp::os::PollRequest,std::allocator<il2cpp::os::PollRequest>> & requests, int count, int timeout, int * result, int * error) Line 2077	C++
 	GameAssembly.dll!poll_event_wait(void(*)(int, int, void *) callback, void * user_data) Line 157	C++
 	GameAssembly.dll!selector_thread(void * data) Line 476	C++
 	GameAssembly.dll!il2cpp::vm::ThreadStart(void * arg) Line 702	C++
 	GameAssembly.dll!il2cpp::os::Thread::RunWrapper(void * arg) Line 184	C++
 	GameAssembly.dll!il2cpp::os::ThreadStartWrapper(void * arg) Line 28	C++
 	[External Code]

followed by:
ucrtbase.pdb not loaded
with exception
Unhandled exception at 0x00007FFFA178C2F8 (ucrtbase.dll) in Hololens.exe: RangeChecks instrumentation code detected an out of range array access.
and call stack
	ucrtbase.dll!00007fffa178c2f8()	Unknown
 	ucrtbase.dll!00007fffa17beb14()	Unknown

Thanks for the info @AdCCooN! We haven't been able to reproduce this issue on our end. It would be great if you were able to reproduce this in one of our samples . If so, please document the steps to hit the issue and include any log files that are available. Thanks!

Hello @msftradford,
In the end I have followed the tutorial from https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-asa-02 and manage to make it work. I have set the log level to all and seems to work.

@AdCCooN that is great to hear! Please feel free to close the issue or let us know if you additional help. Thanks!


Test coverage - async action processor

Add test coverage for  the async action processor.

I started looking into this. We may have to convert the Kafka consumer code to a Processor so that it is part of the Topology.

I agree. If it forms part of the topology it will be easier to test.
That's probably the right way to do it in any case.

Currently a dead-end :( https://issues.apache.org/jira/browse/KAFKA-6989

That's too bad. What we have currently does work, but it steps outside the Kafka Streams world, so it's a) not that easy to test with the TopologyTestDriver and b) cannot offer the same consistency guarantee, though it might be sufficiently robust for pretty much any real application, provided the action itself is idempotent.
It may be possible to partially test with the TopologyTestDriver.