Support Challenge-Response authentication with EC keypair message signing?

Thanks for this service, very helpful. What are the plans wrt allowing different ways to authenticate user such as Challenge-Response instead of username-password?
Usually non-custodial wallets that may use this service, already have a permanent public key and can then sign messages/challenges easily, so end-users do not need to backup extra credentials

At the moment, Backpack uses username and password as an alternative to keys because the assumption is that the backup actually contains the keys, and thus the user wouldn't be retrieving backups for keys they already have.
If they lost these keys they then wouldn't be able to retrieve the backup either, hence requiring something they can memorize or save elsewhere.
If your use case for plain authentication and permissioning of data, then Slashtags might suit you better, particularly when we publicly release Slashtags Feeds, which is basically what you have described: using a key to request data related to it from a server.
That said, if you can articulate a different flow specific to wallet backups and Backpack, we are open to it. (Like another factor that isn't the backed up keys themselves, nor a password.)
Does this make sense?
I actually tried many time

Thanks @BitcoinErrorLog Yes it makes sense, I do think Slashtags Feeds is indeed the right solution for "wallet metadata backup".
Now that is clear this service backups actual keys, well, it is not compelling anymore and can be closed.
Looking forward


Data processing steps

Initial idea on the required steps to get bird profile data ready for TIMAMP (adapted from 2017-05-02 email):

Retrieve the data we have as to bird profiles. The fields these data should contain are: radar_id, start_time, altitude, u_speed, v_speed, radial_velocity_std, bird_density.
Join all those data together in one giant csv file.
(optional) Update metadata. The next steps need to know how which radars we want to include and what settings we want for the viz. Thus, we only need to update this if anything has changed here.
Aggregate the data in altitude and time interval bins (e.g. lower and upper altitude range and per hour). Thus far, we have done this in SQL, which requires a database, which is annoying for the repeatability. Maybe we can do this in R?
The data in step 4 can be used directly in the bird-migration-flow-visualization, but TIMAMP requires an additional processing step (also CSV -> JSON), which is also the reason why it's so much faster, as all the processing is done in this step, rather than when the visualization is running.
Upload the data to the visualization, run it and explore away.

I'll break this up in separate tasks where needed.

Changed scope a bit and focussed mostly on producing the csv in step 2, which is more useful for analyses. Also figured that aggregation of data can be done without SQL. Closing issue.


Add api group to clusterrole's first rule in config/manager

Describe the bug
Getting the error
The ClusterRole "kube-trigger-manager-role" is invalid: rules[0].apiGroups: Required value: resource rules must supply at least one api group

when applying config/manager/role.yaml file.
To Reproduce
Steps to reproduce the behavior:

Follow the Quick Start guide.
Apply all the files in config/crd, config/definition, and config/manager respectively.
kubectl apply -f will throw the error when trying to apply role.yaml.

Expected behavior
Successful creation of ClusterRole kube-trigger-manager-role
Kube Trigger Version

kube-trigger version: 1.0.0 (kube-trigger addon)

Cluster information

Minikube version: v1.30.1
Kuberentes version: v1.24.13
Kubevela version: v1.8.1

Additional context
I enabled the kube-trigger addon after installing kubevela .

I have already updated the ClusterRole and tested the changes, along with some minor updates to the Quick Start instructions. The changes are ready for a PR.

Hi @semmet95
Welcome to contribute and create a PR for this!


[7nVhdJu3] apoc.convert.toTree keep all rels in tree fix

Adds element id and rel element id to the tree, this allows us to check if a relationship-node pair is unique, before the assumption was that it was unique if the rel type and node id pair was unique, which meant nodes with 2 rels of the same type, pointing to the same node were ignored.
These extra fields are additive, which is why I think it is okay, let me know if you think this is breaking or not!

Docs: https://github.com/neo4j/docs-apoc/pull/254


[Update] [LookSee] Add support for fallback command

Description
Previously when using the lookup command through Raycast's fallback commands the users would receive no results.
This was caused by the LookSee's lookup command not checking the fallbackText property.
This issue has now been corrected; the command will first check the regular arguments followed by the fallbackText property.
Screencast
Before

After

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks an awesome update 🔥


[WIP] Use istft from torch

Corresponding PR https://github.com/pytorch/pytorch/pull/35569
This PR will use istft from torch repo, which is ported to C++.
This PR will not succeed until the upstream PR is merged and torch.istft becomes available.

Did you double check that warnings is compatible with pytorch/pytorch?

Marked as WIP to emphasize that this is not ready to be merged.

Now that pytorch/pytorch#35569 has been merged, removed label marking as do not merge.


How to debug company-communicator ?

Please I want to know is there any way to debug  CC App for test before I deploy  it in teams

Hi @ahmedmahmoudR,
Thank you for raising the query, currently we don't have any steps documented for local debugging, however if you're familiar with ngrok, then you can debug the application locally. We'll create the steps and update in the Wiki in the near future.

Could you put an example ngrok file?
It would help me a lot, I have already changed all the appsetting.json and created an ngrok tunnel, etc. but when I add authors it gives me an error after pressing configure, it is because of:
"configurableTabs": [{
"configurationUrl": "https: // [my ngrok url] / configtab",
"canUpdateConfiguration": true,
"scopes": [
"team"
]
}],
The upload manifest is looking for localhost:[port], I put rewrite in ngrok file but It don't work.
I have also tried using Teams Relay.
Thank you.

Hi @ahmedmahmoudR
As Porkai mentioned we don't have any steps documented for local debugging for now. We'll create the steps and update the Wiki in the near future. And in that, we can include the example ngrok file as suggested. However for now please find below a quick overview of steps to debug locally.
You will need all resources required for the Company communicator should be deployed on your Azure subscription. You need to download the code and start it in Visual studio using its .sln file or you can fork and clone the git repo in VS.
You need to follow the Deployment Guide.
There is two way you can proceed from this point. You need the following resources as mentioned in appsettings.json.

You can do the deployment using the ARM Template option (Deployment Guide) and from the configuration of the App service, you will get the required information.

Or you need to create all resources manually.

Once you have all the required information you need to fill the appsettings.json.
For AppDomain you can use ngrok or an equivalent tunneling solution. You will have to run it for the localhost app is running on.
Following Step 5 of Deployment Guide just replace the app domain with ngrok URL.
Also on Azure Portal follow the below steps:

Go to Azure Portal --> Resource Group for CC app --> Author Web App Bot --> Configuration --> Replace the Messaging Endpoint with the ngrok URL.
Similarly, replace the Messaging Endpoint for User Web App Bot.
Go to App Registration --> Add Redirect URL with the ngrok URL.

Go to Expose an API and change the Domain name of the Application ID URI.

Once done run the code using VS and add the debugger point to validate.
Let me know if it works. If not please elaborate on the error you are getting.

I continue in this message: https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/565

Hi  @v-royavinash

@ahmedmahmoudR this worked for me:
ngrok http https://localhost:44320 -host-header="localhost:44320"

Please let us know if you are still facing this issue and require assistance and we will be happy to discuss. If no further action is needed at moment and no response is received, we will close out the issue in 3 business days. You may also always open a new issue or respond here if something does come back up.


DeviceId, min_tx_rate, max_tx_rate in the NAD not taking effect.

What issue would you like to bring attention to?
DeviceId, min_tx_rate, max_tx_rate in the NAD not taking effect.
I have a NAD and pod with the following spec. My expectation was that the pod should be assigned to the VF that pertains to the deviceID given in the NAD. But i see the pod comes up with an interface with a random VF.
Not able to assign a pod to a particular VF
Do you have a proposed response or remediation for the issue?
no

@shankar-bala The device ID is randomly chosen by kubelet if you have multiple devices in the resource Pool, so this is the expected behavior if sriov-network-device-plugin or sriov-network-operator is used in your deployment.
Re max tx rate, the json string for it would be max_tx_rate, you may want to try replace underscores with dash in the NAD.

Thanks a lot for the comments. Appreciate it...

One more quick clarification, in what cases does the deviceID work then ?

One more quick clarification, in what cases does the deviceID work then ?

In the case that deviceID (pci address of the VF) is specified in the NAD and resource request is not added in the pod manifest. btw, this is not a recommended way since it doesn't scale.

Awesome.. thanks, yes removing the resources worked. The max_tx_rate seems to work. But min_tx_rate does not. It errors.
SRIOV-CNI failed to configure VF "failed to set vf 0 min_tx_rate to 200 Mbps: max_tx_rate to 0 Mbps: invalid argument"

Awesome.. thanks, yes removing the resources worked. The max_tx_rate seems to work. But min_tx_rate does not. It errors.
SRIOV-CNI failed to configure VF "failed to set vf 0 min_tx_rate to 200 Mbps: max_tx_rate to 0 Mbps: invalid argument"

Some Intel cards don't support min_tx_rate afaik.

@shankar-bala as @zshi-redhat point out intel cards don't support min_tx_rate this is not something the operator can't handle it depends on the driver.
will it be ok to close this issue?

no answer for 12 days closing this issue.
if you need more help, please feel free to reopen the issue


[Adaptive Cards - Install Salt dialog]: Screen Reader is announcing two roles for the continue button present in 'Install Salt' dialog card.

https://microsoft.visualstudio.com/OS/_workitems/edit/38475530

This issue was closed by #6763 but that change has not made it to the live site yet. Once it makes it to the live site we can close out the issue
Tagging @JeanRoca for incorporating that PR into the live site

website has been updated


compile log to file

Hi!
It´s possibel to add a switch to print full log to file?
Im with a issue on compiling but cmd window doesn´t show the full log and i can´t see where is the error.
apktool is updated.
I try this but still don´t print the full log:
java -Xms1024M -Xmx1024M -jar "%~dp0\apktool.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9"" >> log.txt
Thanks

You may use verbosity (-v) and pipe the output for stdout/stderr using regular tools. Not aware of the specifics on Windows, but this isn't a bug report.


[VS Code]

Error:
[Description of error message]
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS

extensionVersion
1.0.471

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.35.1

platformName
Windows

platformVersion
6.3.9600

Thanks for reaching out. Can you give us more details about your scenario? Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

Closing issue due to inactivity. Please re-open if you are still experiencing this issue in the latest extension version. Thanks for using Live Share!


Text encoders failed to load

Expected Behavior
Models that do not contain text encoders should, in theory, load automatically ~OR~ give an accurate description of the problem in the logs.
Actual Behavior
Error: The text encoders (CLIP) failed to load. All backends failed to load the model [main big model].
Steps to Reproduce
Examples of models that require separate clips and vae:

Copax Timeless - XPlus 3
Dream Creation Light & Shadow Magician FLUX
Flux Realistic SaMay v2

Debug Logs
16:21:30.919 [Info] User local requested 1 image with model 'Flux/copaxTimeless_xplus3.safetensors'...
16:21:32.987 [Warning] [ComfyUI-0/STDERR] Traceback (most recent call last):
16:21:32.989 [Warning] [ComfyUI-0/STDERR]   File "D:\SWUI\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 323, in execute
16:21:32.990 [Warning] [ComfyUI-0/STDERR]     output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
16:21:32.992 [Warning] [ComfyUI-0/STDERR]                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16:21:32.994 [Warning] [ComfyUI-0/STDERR]   File "D:\SWUI\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 198, in get_output_data
16:21:32.996 [Warning] [ComfyUI-0/STDERR]     return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
16:21:32.997 [Warning] [ComfyUI-0/STDERR]                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16:21:32.998 [Warning] [ComfyUI-0/STDERR]   File "D:\SWUI\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 169, in _map_node_over_list
16:21:33.000 [Warning] [ComfyUI-0/STDERR]     process_inputs(input_dict, i)
16:21:33.001 [Warning] [ComfyUI-0/STDERR]   File "D:\SWUI\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 158, in process_inputs
16:21:33.003 [Warning] [ComfyUI-0/STDERR]     results.append(getattr(obj, func)(**inputs))
16:21:33.004 [Warning] [ComfyUI-0/STDERR]                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16:21:33.005 [Warning] [ComfyUI-0/STDERR]   File "D:\SWUI\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\ExtraNodes\SwarmComfyCommon\SwarmInternalUtil.py", line 47, in just_load
16:21:33.007 [Warning] [ComfyUI-0/STDERR]     raise ValueError("The text encoders (CLIP) failed to load")
16:21:33.008 [Warning] [ComfyUI-0/STDERR] ValueError: The text encoders (CLIP) failed to load
16:21:33.009 [Warning] [ComfyUI-0/STDERR]
16:21:33.211 [Error] [BackendHandler] backend #0 failed to load model with error: ComfyUI execution error: The text encoders (CLIP) failed to load
Other
Why? Clip files is in folder (absolute path in server config) and selected in UI. Re-downloaded from HuggingFace, to exclude download errors.
Please add information to log output, describing the problem. Is this problem with files or problem with path?

if it's a DiT-only model, it needs to go in the diffusion_models folder rather than the usual stable diffusion folder

Thanks!


Resolve default color at update time

A rehashed version of #5929 for the latest v3 code base. Resolves #4299

@benmccann have you had a chance to review?

It seemed to me like it'd be cleaner if the generic resolveDatasetElementOptions didn't have to defaults for a specific kind of option in it, but I haven't had a chance to understand why that's necessary or if there might be a better way to do it

Initially I did try something that looked for 'Color' in the property name and then default those but it had the unfortunate side effect of breaking the default hover color implementation


Certification - GeoMessageSimulator

From @ACueva on December 1, 2015 23:52

[x] Create/Verify Certification test exists
[x] Certify solution

Copied from original issue: ArcGIS/solutions-desktop-templates#227

Works 10.4


Story: Browse SMB share

Bugs:

[x] Play file if only one movie in selected dir
[x] Go Up to shares
[x] order dirs
[ ] order files
[ ] ellipsize movie text when selected
[x] order categories alphabetically
[x] Show better icons
[x] fit icon in centre

[ ] get error state from vlc -> if eror prompt for download and try (or also try other players)
[ ] stop refresh of data on restart (causes position loss)
[ ] remember current directory for restart (start from computer task and add tasks to task stack for restore?)
[ ] move up to bottom
[ ] if dir is shallow but has multiple movies then they should show as normal (just one row)

Bugs:

[x] Play file if only one movie in selected dir
[x] Go Up to shares
[x] order dirs
[ ] order files
[ ] ellipsize movie text when selected
[x] order categories alphabetically
[x] Show better icons
[x] fit icon in centre

download vlc mAnually https://get.videolan.org/vlc-android/


Competitive programming|  issue #2197 | Fast Input/Output Methods

Description 📜
Included the use and importance of using faster Input/Output methods in Competitive Programming in the C++ language.
Also, the required Logic to understand the code is added along with the examples to witness the real-life implementation.
Fixes # 2197

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[x] Competitive Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

@Rishabh510 Sir, please review this pull request.


Update doc

Hey @Mordhak from what i can tell all of these merge commits and stuff just result in this change to one file, is that correct?
https://github.com/prebid/prebid.github.io/pull/192/files
If so, can you please submit another PR with just those changes, without the noisy merges and reverted merges?  Thanks


Update the govuk-lint gem to version 0.6.2

Apply the latest govuk-lint cops to smart answers, including sass/scss linting as well as a bug fix allowing PR #2292 to build.

It would be nice to explain what bug was fixed or link to it.
Otherwise this looks good to me. :+1:

I'm not sure it fixes it the issue in #2292 yet, so that will be interesting to see

Have updated the description with a link to the bug.


Support creating service on consul based on frontends

Do you want to request a feature or report a bug?
Feature
What did you expect to see?
I have 2 traefik on 2 differents overlay networks. I want that every frontend registrered on traefik was registred as service on consul, so when i query the consul DNS server can get the traefik address to my frontend services

Hi @lfdominguez , thank for your interest in the project.
This feature is not something which could be done, because how Traefik is working: Consul should be use as a "backend" system, to provide information for Traefik to dynamically configure itself, and not the opposite.
Depending on the kind of backend (you want the services to be declared into Consul) currently used on your Traefik instances, maybe it should be worth it to feed Consul with your backend services instead. If you are using Docker, this could help: https://github.com/gliderlabs/registrator .

Hi @lfdominguez , thank for your interest in the project.
This feature is not something which could be done, because how Traefik is working: Consul should be use as a "backend" system, to provide information for Traefik to dynamically configure itself, and not the opposite.
Depending on the kind of backend (you want the services to be declared into Consul) currently used on your Traefik instances, maybe it should be worth it to feed Consul with your backend services instead. If you are using Docker, this could help: https://github.com/gliderlabs/registrator .

I see your point, but when a service is registered into Consul, get the real internal IP that catch traefik, that's ok, but i need that when i query de Consul DNS, the IP returned was the traefik external ip, not service internal ip....


mistake in requirement - django-selectable cause No module named 'django.urls'

Hi, if you try to use this now please notice that you install django-selectable==0.9.0 and not django-selectable>=0.9.0 as the requirement says. in dajngo 1.8.9 you need to import  reverse from django.core.urlresolvers, in the newer version of django-selectable its import reverse form django.urls and its only work for django>2.0.

@MaorUziel Thank you. The package, as it currently is, is not compatible with Django 2.x. However, there will be an updated package for Python 3.8+ and Django 4.2+ shortly which will remedy this issue


#96 white listed _link, fixed typos and kotlinize

Closes #96

Summary: add whitelist, fix multiple typos, kotlinize

👍


Info missing from before you begin

[Enter feedback here]
The 'Before you Begin' section misses an important piece of information: Before you begin, make sure that the keyboard and mouse settings of the helper PC match those of the shares' PC
I know it is mind bogling that someone actually implemented it this bad, but thats how it is so at least document it.

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

ID: bfcd14cd-f887-660f-8a4c-465b3495e90e
Version Independent ID: 121eead7-eb87-f033-024a-f688866c58a0
Content: Use Quick Assist to help users - Windows Client Management
Content Source: windows/client-management/quick-assist.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@e0i , What you think about suggestion given by @Nils-Berghs . I accept his suggestion. And i like to add in this article.

I think this could use some clarification--what exactly does it mean to have the keyboard and mouse settings match between the two PCs? Do they have to be the same model keyboard and mouse?

Under review. @RAJU2529 You are welcome to come up with updates in accordance with mapalko's feedback until I pass this to another contributor. Thanks.

@jaimeo  what I mean is that the keyboard layout of the sharers and the helpers PC must match, for example if you share your PC with me, and I would for example type taskmgr in the run box there would appear 'tqsk,gr' (assuming that you use US Querty).
The same thing for the mouse I'm left handed and use my mouse like that, but if I do a primary mouse click this is passed to the shares PC as a 'right click' which is a secondary click on most systems.
I think the documentation should at least mention this.

You're absolutely right that the article should mention that! So it's the locale/language settings primarily that must match, is that right? (Though you did mention the mouse.) I ask because when we fix the article we should be very explicit for maximum clarity.

@jaimeo the language/regional settings are not necessarely linked to the keyboard layout. You can have to PC's with the same language /regional settings but still different keyboards (e.g. people who moved to a different country but still use the keyboard they grew up with, or someone using a "better" layout like dvorak or colemak)
As for the mouse that is totally unrelated to country. I see this more as an accessibility feature ( and a lack of care from MS on this topic).

@e0i, the Author @jaimeo  has to decide whether to add suggestions in this article, because here conversation is going on.

I'm no longer a writer, but I've let the manager for the area know and have engaged the PM for QuickAssist, who is getting set up with GitHub and then will be able to help directly with this.

@jaimeo . Thanks for your reply. I hope this issue will be fixed very soon

Dear @Nils-Berghs ,
please have a look at #10248
Thank you


Teach recursive lipo to handle lipo within "copied" subdirectories.

Recursive lipo handles a mix of directories where some subdirectories
build only a single slice for the host and other subdirectories build
universal binaries (e.g., for a target). The former are lipo'd
together, while the latter were copied verbatim.
The --copy-subdirs option indicated that an entire subtree should be
copied verbatim, and this was applied to lib/swift to cover all of
the target libraries, with single-file exceptions provided by
--explicit-src-files. However, this doesn't account for host content
under lib/swift that needs to be lipo'd, i.e., the newly-introduced
shared libraries in lib/swift/host that are part of host tools.
Revise the semantics of --copy-subdirs. Instead of copying the entire
directory verbatim, perform the normal recursion into these
subdirectories. When there are executable files that aren't identical,
check whether they have overlapping architectures: if they don't, lipo
them. If they do, and we're in a "copied" subdirectory, take one of
the files because they're considered equivalent. This gives a more
fine-grained semantics to --copy-subdirs that allows us to both lipo
executables/shared libraries and also construct Swift modules.
This eliminates the need for the --explicit-src-files option, so remove it.

@swift-ci please test

@swift-ci please build toolchain

Python linting is the worst way to have an important pull request fail.

Subsumed by the other referenced PR, along with @edymtt 's suggested fix.


Base Intake source for Rubicon Visualization Objects

Description
Issue: Currently we are trying to build an extension for serving visualizations through a Juptyer lab extension. To do this we want to include visualization information in the catalogs alongside the projects and experiments in the intake catalogs.
Solution: To get started we created a base intake source for the rubicon-ml visualizations called VizDataSourceMixin. The class only takes in a title as an argument since that is all that VizBase itself takes.
Changes

Built a VizDataSourceMixin class that takes in a visualization title and returns the schema associated with it. Also has read and close functionality for instantiating and closing a visualization.

Related Issues
#441  -> Original Issue discussing changes needed and background

looks good! just needs to be rebased off of main once #450 is merged so we don't have the repeated code in #450 and this one


Add some animation

Add some animation on whole page as well as make it with some glowing colour...

There may be extensions that do what you want. Please ask at https://community.appinventor.mit.edu/.


panic: unsupported variant type: 1024 (QJSValue)

Reopening old Issue in relevant Repo
https://github.com/limetext/lime/issues/478

We should move to our own fork https://github.com/limetext/qml also I think this issue will be resolved by https://github.com/go-qml/qml/pull/140


Support of EdDSA with JDK 15

In the latest JDK 15 an EdDSA algorithm support has been introduced : https://openjdk.java.net/jeps/339
The classes EdDSAPrivateKeyImpl and EdDSAPublicKeyImpl are used for the keys definition.
The BC class SignatureSpi fails to initialize the signer because newly introduced key implementations are not supported.
Would be nice to add a support of JDK's EdDSA implementation into BC.
Best regards,
Aleksandr.

Which version of BC are you using?

Hello, yes, the current version we use is 1.66. It seems to be not supported so far.

Weird, do you see the multi-release classes for it in the jar file? (under META-INF/versions).

We load two BC modules with Maven : bcprov-jdk15on and bcpkix-jdk15on

Have you got a small sample program that shows the issue - it could just be that we've not covered everything off.

Here is a simple test that passes in Java 14 and fails with Java 15:
@Test
public void bcTest() throws Exception {
	String base64Cert = "MIICKzCCAd2gAwIBAgICBEwwBQYDK2VwMFUxGDAWBgNVBAMMD0VkMjU1MTktZ29vZC1jYTEZMBcGA1UECgwQTm93aW5hIFNvbHV0aW9uczERMA8GA1UECwwIUEtJLVRFU1QxCzAJBgNVBAYTAkxVMB4XDTE5MTExNDA2MzgzOVoXDTIxMDkxNDA1MzgzOVowVzEaMBgGA1UEAwwRRWQyNTUxOS1nb29kLXVzZXIxGTAXBgNVBAoMEE5vd2luYSBTb2x1dGlvbnMxETAPBgNVBAsMCFBLSS1URVNUMQswCQYDVQQGEwJMVTAqMAUGAytlcAMhAB+6MntRr6dWLmCC8uZfoMWhxMRHPDnrTVz8wJIlzW88o4HOMIHLMA4GA1UdDwEB/wQEAwIGQDCBmQYIKwYBBQUHAQEEgYwwgYkwQQYIKwYBBQUHMAGGNWh0dHA6Ly9kc3Mubm93aW5hLmx1L3BraS1mYWN0b3J5L29jc3AvRWQyNTUxOS1nb29kLWNhMEQGCCsGAQUFBzAChjhodHRwOi8vZHNzLm5vd2luYS5sdS9wa2ktZmFjdG9yeS9jcnQvRWQyNTUxOS1nb29kLWNhLmNydDAdBgNVHQ4EFgQU5Cf9+sOF2L2SNadlEriSE3erKE8wBQYDK2VwA0EA1kdAmC8cIRFVg10R/P++5Wru9fYcUhLjwVN85Uwq/a4JyKfoamxv9hlEq9LWkgJ1QKT3/VDngQ1+pyPrYmXDCA==";
	byte[] certBinaries = Base64.getDecoder().decode(base64Cert);
	try (InputStream is = new ByteArrayInputStream(certBinaries)) {
		CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509");
		Certificate certificate = certificateFactory.generateCertificate(is);

		Signature signature = Signature.getInstance("Ed25519", "BC");
		signature.initVerify(certificate.getPublicKey());
	}
}

Ah, so you're trying to auto-convert a SunEC key into a BC one without using a key factory... Hmmm... I think we can support that.
Try 167b07 now available in https://www.bouncycastle.org/betas and let me know how you go.

Hello again,
I've executed the test with 167b07 and indeed it seems working now with JDK 15!
Thank you! Looking forward for the 1.67 release.
The issue can be closed.
Best regards,
Aleksandr.

Seems working well with 1.67 version.
I close the ticket.
Regards,
Aleksandr.


chore(ci): Prevent tag builds from running.

Branch: 'issues/3'.

Closing because it is a duplicate PR


cc-142.3 Rubik Cube

A proposed change to the cubie class.

Paints internal faces in black
Excludes never visible internal faces
Excludes the central (0, 0, 0) cubie.

As an old timer, even today, with tons of MIPS and RAM measured in GB, I still have a weird feeling about wasting either RAM or processing power, so....
Regards
EDIT ADD: The face colors have been reorganized acording to the http://iamthecu.be/ site, considering the vertical reversion of the Y axis (positive down).

Like with #1282 I think I'd like these improvements to be linked as community contributions so that the code matches the video but viewers can easily find improvements?

Same here, would like to leave open for a little while, thank you @jorgef1962 for this wonderful suggestion!


How can auto migrate table struct when application startup?

I used sea-orm and sqlite for desktop application save preferences.
I need auto modify columns and index when app upgrade (app startup).
Does sea-orm have this function ?
like this
Cake::auto_migrate(db).await?;

#[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
#[sea_orm(table_name = "cake")]
pub struct Model {
    #[sea_orm(primary_key)]
    pub id: i32,
    pub name: String,
    pub content: String, // <--- add this line , table auto add column
}

auto migrate index
pub struct Model {
    #[sea_orm(primary_key)]
    pub id: i32,
    #[sea_orm(index="idx_name_content")]
    pub name: String,
    #[sea_orm(index="idx_name_content")]
    pub content: String,
    #[sea_orm(unique="uk_uuid")]
    pub demo_uuid: String,
}

Hey @niuhuan, welcome! We don't have migration feature at the moment but we're developing it.
If you looking for ways to setup database schema from fresh you could reference this.

@billy1624 Thanks for reply. and expect sea-orm to be better.

Thanks for the support!

What's the release date?

What's the release date?

Hi @helphi, would probably be near the Christmas or early 2022.

It's all year, any weather. I will still come and have a look the issue every day. Is going well?

I think I saw a comment here last night. @niuhuan
The migrator will be ready by Jan 2022 :P

That's great!!

What's the release date?

Hi @helphi, would probably be near the Christmas or early 2022.

Looking forward to it! Thanks for the work!

It's now Feb 2022, is it released?

Hey @helphi, it will comes with sea-orm 0.6.0, it's around the corner. We are brushing up the docs today

I upgrade sea-orm to 0.6.0. I saw a migration program, like a database version controller, this is good.
I'm making a light app, table is compatible with lower versions.
I most desirable :  Auto add nonexistent columns and indexes, after run Cake::auto_migrate(db).await?; .
I think it would be better if I could support it.

Hey @niuhuan, I think in terms of migration, we want things to be predictable. The auto migrate feature which create missing columns or indexes might not be desired. As it will perform operations under the hood.
You might want to set a baseline for the database schema then migrate it based on that.

we want things to be predictable.

This is very important if it is the server side.
But I used sea-orm on mobile app, It never downgrades. I look forward to supporting automatic migration in the future.

Oh, you are using sea-orm on client side? Use it for local storage? SQLite, I assumed?

Yes, is client side. I'm using.sea-orm and sqlite.
Save user preferences, album, lesson, video. it are not many tables.

Cool! I guess you can always run the follow code on startup to make sure clients' SQLite schemas are up to date?
/// Apply all pending migrations
Migrator::up(db, None).await?;

REF: https://www.sea-ql.org/SeaORM/docs/migration/running-migration#migrating-programmatically

Please reopen this if you still have questions :)


document adding a blog

see #10; h/t @rosieCampbell

One’s life would be completely out of mess thus eradicating all the depression and frustrations through the enticing session of exotic love spend under the influence of _[Noida Escorts](url

https://premiumcookies.shop/product/order-honey-bun-pre-roll-online/

As per https://github.com/binyamin/eleventy-garden/discussions/71#discussion-3765981, I'm considering this one "out of scope".


AssertionError: BF16 weight prepack needs the cpu support avx512bw, avx512vl and avx512dq, please set dtype to torch.float or set weights_prepack to False.

Hello,
I recently came across this repo, and I think it's cool. I'm interested in running SadTalker inference at much faster speeds, and I'm curious about the speedups this repo provides.
I'm trying the inference on an Intel Xeon E5-2690 v4 (Broadwell) CPU, but I'm getting the above error.
Here's the general output after running the inference command:
using safetensor as default start to generate video...<PHONE_NUMBER>.596219 device========= cpu ---------device----------- cpu 0000: Audio2Coeff 0.9642581939697266 Traceback (most recent call last):   File "inference.py", line 217, in <module>     main(args)   File "inference.py", line 51, in main     animate_from_coeff = AnimateFromCoeff(sadtalker_paths, device)   File "/home/demo/xtalker/src/facerender/animate.py", line 78, in __init__     self.generator = ipex.optimize(self.generator, dtype=torch.bfloat16)   File "/home/demo/.local/lib/python3.8/site-packages/intel_extension_for_pytorch/frontend.py", line 526, in optimize     assert core.onednn_has_bf16_support(), \ AssertionError: BF16 weight prepack needs the cpu support avx512bw, avx512vl and avx512dq, please set dtype to torch.float or set weights_prepack to False.
Is the BF16 weight prepack important for the xtalker speedups?
If yes, does this mean xtalker can't run effectively on the Xeon E5-2690 v4 (Broadwell) CPU? What CPUs can it run on (in addition to the Xeon Sapphire Rapids CPU)?
I'm running xtalker on Azure VMs.

Hi @mayowaosibodu , BF16 is good to have but not necessary. E5-2690 v4 shows that it only supports AVX2, which caused the error.
However, you can still using the parallel inference speedup. Try to 1) disable bf16, 2) use parallel speedup by following steps

comment https://github.com/Spycsh/xtalker/blob/main/src/facerender/modules/make_animation.py#L140C12-L140C97 and https://github.com/Spycsh/xtalker/blob/main/src/facerender/animate.py#L78, and fix the indents.

Follow https://github.com/Spycsh/xtalker#acceleration-by-iomp, run python generate_distributed_infer.py --slot=7 --core=14 --driven_audio <path_to_your_audio_file> --source_image <path_to_your_source_image> since your hardware have 14 physical cores. Then run bash run_distributed_infer_7.sh.

Welcome to any feedbacks!

Hi @mayowaosibodu , I've already made the fix. You can now simply run python generate_distributed_infer.py --slot=7 --driven_audio <path_to_your_audio_file> --source_image <path_to_your_source_image> --bf16, and then run bash run_distributed_infer_7.sh to get the speedup without bf16.
Welcome to any feedback:)

Hello @Spycsh, thanks for the response.
So I just tried out your suggestions. Commenting out those lines you mentioned led to some errors. For example commenting out kp_norm = kp_driving in https://github.com/Spycsh/xtalker/blob/main/src/facerender/modules/make_animation.py#L140C12-L140C97 led to a kp_norm not defined error.
I undid the comments and then followed the instructions in your second response. However I was still getting the bf16 related errors after running the command you mentioned. To run the command successfully I had to remove the --bf16 argument from the command. (Inserting the argument means you want to use bf16 right? And removing it means you don't?)
So now the inference runs. The issue I'm facing now is that it's slow. The Face Render stage for the same image and audio took about 1 minute with SadTalker. Running them with xtalker takes about 25 minutes (on just one worker)

Hi @mayowaosibodu , thanks for feedback. Yes, after pulling the new commit, it does not need to comment lines. Ignore my first answer. Your understanding in the second answer is correct. Using --bf16 is to use bf16 and in your case just remove that.
Now let's try to find why the speed is slow. Are you doing the experiments on the same machine? In other words, 1 minute with SadTalker and 25 minutes with xtalker is data from the same machine, right?
If yes, then try to assign the --slot=1 when running the generate_distributed_infer.py, and then run run_distributed_infer_1.sh, which will fallback to only one process and no parallel execution.  This case should be approximately the same speed as the naive SadTalker implementation.
If everything are correct so far, I suspect that because of the AVX2 limitation, it is not like AVX512 that is able to let single core to do high-dimensional matrix multiplication efficiently. To validate this idea, You can decrease the --slot=7, to maybe --slot=2, and run run_distributed_infer_2.sh. The speed I think should be between the naive SadTalker (same as --slot=1 one) and the --slot=7 one.
Also, remember to run bash gc.sh to clear all irrelevant intermediate results when there is an exception exit.
Thanks for feedback:)

运行了run_distributed_infer_7.sh之后显示numactl: This system does not support NUMA policy
numactl: This system does not support NUMA policy
numactl: This system does not support NUMA policy
numactl: This system does not support NUMA policy
numactl: This system does not support NUMA policy
numactl: This system does not support NUMA policy
numactl: This system does not support NUMA policy

Hi @aiquanpeng , I think your platform does not enable numa. Please run numactl --hardware  and see whether it errors. I'm not sure whether you can enable numa through BIOS or some other ways on your platform because my testing environment has numa enabled by default. Maybe https://unix.stackexchange.com/questions/575470/numactl-this-system-does-not-support-numa-policy can help you a bit.
In case you do not have numactl, you can still play with another optimization, by passing a --bf16 to the command like python inference.py --driven_audio xxx.wav --source_image xxx.jpg --result_dir ./results --cpu --bf16 to observe the performance speedup.


Device position and orientation estimation with IMU and camera

I hope Azure Kinect can also provide its (relative)position and orientation information, not only raw acceleration value.(just like the Hololens can do splendidly)
I've tried to make these feature, based on raw IMU data that I can get from the latest SDK(1.3.0)

initial pose(orientation) calibration
update device movement(velocity)
tracking relative location to initial position
measurement error correction

But these problems made it challenging

sensor measurement error(noise)
hard to find out valid observation from the noise
constant force(earth gravity)

I wonder if anyone else already trying similar work for Azure Kinect

With the existing hardware, it should be possible to provide some orientation (rotation) data just from the IMU sensors - enough to determine the pitch and roll of the camera. This would be very helpful even if the resulting numbers are a bit rough, but the same information can also be acquired with a floor estimation function. A built-in compass would add the yaw direction, at least relative to north (or relative to neighboring cameras) - and this would make it much easier to coordinate multiple cameras that overlook the same area. It would mostly resolve the orientation coordinates, so only the position needs to be solved.

We implemented a fusion algorithm (madwick and mahony) in order to obtain orientation from accelerometer and gyroscope data.
It works fine for pitch and roll, but the yaw drift is very high (20°  of yaw drift error in 1 minute).
Do you plan to develop a more robust solution to obtain orientation of the sensor ?

It is very important for vision application (robotics, mobile tracking) to provide a VIO (visual inertial odometry) method in order to get position and orientation of the camera.
All the hardware components are already embedded in the Kinect Azure (IMU, depth camera, color camera), it would be a shame not to use them.
All the competitor already provide such feature with the SDK of their depth cameras (intel realsense, Zed stereo-camera) and a lot of AR mobile development kit also (ArKit, ArCore,...).
Do you plan to develop such feature ?

We would like pose and position estimation for SLAM too, for scanning live environments (one of many possible uses in live VFX production). Without extensive research into this problem (and maybe still with noisey or biased data) the IMU data provided from the SDK is not useful, for us at least. We are not primarily a R&D lab so manpower into solving such problems is non-productive. Any solution or example material would be much appreciated.

Any news regarding this?

Were there any progress on this?


allPass and anyPass

allPass and anyPass return the result of the final expression. action same like to both and either

Thank you for the contribution.
I'd like to see your argument in favor of this.
Obviously these functions can be thought of as generalizations of both and either, but that's not how we thought of them when creating them, and it's certainly not how we documented them:

Takes a list of predicates and returns a predicate that returns true for a given list of arguments if every one of the provided predicates is satisfied by those arguments.
@sig [(*... -> Boolean)] -> (*... -> Boolean)

So we certainly can't change the implementation without also addressing the signature and description.  But is there a good reason to change these at all?
Another way to think about it is that these should be pretty close equivalences:
and (x, y) //~=> x && y
both (f, g) //~=> (...args) => f (...args) && g (...args)
all (fn) //~=> (xs) => xs .every (x => fn (xs))
allPass ([fns]) //~=> (...args) => fns .every (f => f (...args))

The && ones, and and both act like the JS operator, and return booleans if supplied booleans but otherwise return one of their operands.
The every ones, all and allPass act like the JS Array prototype function, and always return booleans.
So I think we'd need a strong argument for this.  Do you have one?

A javascript function should return as much useful information as possible. The truthy set contains true, and the falsy set contains false. So they is compatible with original functions and has greater use.

This PR is temporarily closed due to branch management issues.

A javascript function should return as much useful information as possible. The truthy set contains true, and the falsy set contains false. So they is compatible with original functions and has greater use.

This also has to be balanced against simplicity.

Q: What does the function allPass return?
A (current): true or false
A (suggested): Any value, really.  It would be the first 0, false, '', NaN, null or undefined returned by one of the functions supplied or value returned by the final function, which could be any value whatsoever.

Ramda always strives to strike a balance between being as simple as possible and being as familiar to JS Developers as possible.  The functions and and both have real tensions between simplicity and familiarity.  But here, thinking of this function as a variant of Array.prototype.every, both simplicity and familiarity suggest the current behavior.
So I'm certainly willing to entertain further discussion, but my initial impression is negative.


[Coverage]: Add tests for security manager subsystem configuration

Description
Currently, we're missing coverage of the securitymanager subsystem configuration (Configuration => Subsystem => Security Manager).
Security Manager subsystem page contains "minimum permissions" and "maximum permissions" vertical navigation items, expecting two spec files to be created
Resources to cover (from /subsystem=securitymanager:read-resource(recursive=true)):

[ ] /subsystem=security-manager/deployment-permissions=default/minimum-permissions
[ ] /subsystem=security-manager/deployment-permissions=default/minimum-permissions/actions
[ ] /subsystem=security-manager/deployment-permissions=default/minimum-permissions/class
[ ] /subsystem=security-manager/deployment-permissions=default/minimum-permissions/module
[ ] /subsystem=security-manager/deployment-permissions=default/minimum-permissions/name
[ ] /subsystem=security-manager/deployment-permissions=default/maximum-permissions
[ ] /subsystem=security-manager/deployment-permissions=default/maximum-permissions/actions
[ ] /subsystem=security-manager/deployment-permissions=default/maximum-permissions/class
[ ] /subsystem=security-manager/deployment-permissions=default/maximum-permissions/module
[ ] /subsystem=security-manager/deployment-permissions=default/maximum-permissions/name

You can get inspired by the tests in the legacy testsuite
Affects
configuration
Subsystem
securitymanager

Fixed by #94


Why my results are so poor?

I downloaded the code without changing anything, just to make sure it ran, I loaded the local bert_model
2023-10-26 12:59:12 INFO: - Step: 0/5001, span loss = 6.118810, type loss = 0.000000, time = 2.27s.
2023-10-26 12:59:53 INFO: - Step: 20/5001, span loss = 5.980084, type loss = 0.000000, time = 43.38s.
2023-10-26 13:00:36 INFO: - Step: 40/5001, span loss = 5.879471, type loss = 0.000000, time = 86.74s.
2023-10-26 13:01:17 INFO: - Step: 60/5001, span loss = 5.772162, type loss = 0.000000, time = 128.07s.
2023-10-26 13:01:57 INFO: - Step: 80/5001, span loss = 5.848635, type loss = 0.000000, time = 167.65s.
2023-10-26 13:02:36 INFO: - Step: 100/5001, span loss = 5.735874, type loss = 0.000000, time = 206.93s.
2023-10-26 13:03:15 INFO: - Step: 120/5001, span loss = 5.667262, type loss = 0.000000, time = 246.25s.
2023-10-26 13:03:55 INFO: - Step: 140/5001, span loss = 5.633423, type loss = 0.000000, time = 285.52s.
2023-10-26 13:04:34 INFO: - Step: 160/5001, span loss = 5.501272, type loss = 0.000000, time = 325.18s.
2023-10-26 13:05:16 INFO: - Step: 180/5001, span loss = 5.545497, type loss = 0.000000, time = 366.45s.
2023-10-26 13:05:55 INFO: - Step: 200/5001, span loss = 5.426091, type loss = 0.000000, time = 406.06s.
2023-10-26 13:08:26 INFO: - ***** Eval results inter-valid *****
2023-10-26 13:08:26 INFO: -   f1 = 0.0
2023-10-26 13:08:26 INFO: -   f1_threshold = 0.0
2023-10-26 13:08:26 INFO: -   loss = tensor(1.1085, device='cuda:0')
2023-10-26 13:08:26 INFO: -   precision = 0.0
2023-10-26 13:08:26 INFO: -   precision_threshold = 0.0
2023-10-26 13:08:26 INFO: -   recall = 0.0
2023-10-26 13:08:26 INFO: -   recall_threshold = 0.0
2023-10-26 13:08:26 INFO: -   span_f1 = 0.05210224202151717
2023-10-26 13:08:26 INFO: -   span_p = 0.03787716670233228
2023-10-26 13:08:26 INFO: -   span_r = 0.08343808925204142
2023-10-26 13:08:26 INFO: -   type_f1 = 0.0
2023-10-26 13:08:26 INFO: -   type_p = 0.0
2023-10-26 13:08:26 INFO: -   type_r = 0.0
2023-10-26 13:08:26 INFO: - 0.000,0.000,0.000,3.788,8.344,5.210,0.000,0.000,0.000,0.000,0.000,0.000
2023-10-26 13:08:26 INFO: - ===> Best Valid F1: 0.0

Hi @sehbe, according to the logs, it seems that you haven't trained for a sufficient amount of time. DecomposedMetaNER is a two-stage process that requires separate training for the Span Detector and Entity Typing. Our method is not zero-shot and needs to be trained on a few-shot dataset.
Additionally, it's normal for the type and final F1 to be 0 during the Span Detector stage. You'll need to wait until both classifiers are fully trained to see the final results. As also mentioned in #66.


optionally enable export if not exported model provided

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@echarlaix @AlexKoff88 @helena-intel could you please review and merge before next optimum release?

I don't have strong objections but I wonder if there is a more elegant way to do the same without introducing so much code that mostly duplicated Transformers logic.  @echarlaix should know it better.
Also a test is required.

I don't have strong objections but I wonder if there is a more elegant way to do the same without introducing so much code that mostly duplicated Transformers logic. @echarlaix should know it better.
Also a test is required.

Yes I think we can simplify this by using find_files_matching_pattern  like :
pattern = r"(.*)?openvino(.*)?\_model.xml"
ov_files = find_files_matching_pattern(
    model,
    pattern,
    subfolder=subfolder,
    use_auth_token=token,
    revision=revision,
)

export = len(ov_files) == 0

also used in https://github.com/huggingface/optimum-intel/pull/740 for the openvino pipelines


feat: add cpuarch download support

With the release of cadvisor v0.45.0, this playbook can no longer download the latest binaries. This is a result of the new release providing support for multiple CPU architectures and the corresponding change in the binary name in the download URL.
Changes:

Add cadvisor_cpu_arch for specifying CPU architecture of latest versions of cadvisor
Allow cadvisor_download to be derived based on value of cadvisor_cpu_arch
Update default cadvisor_version to v0.45.0 along with the cadvisor_checksum for the linux-amd64 version of the binary.

include_role:
  name: ansible-role-cadvisor
vars:
  cadvisor_version: v0.45.0
  cadvisor_cpu_arch: "linux-amd64"
  cadvisor_checksum: 9a2a0b69f58d932855c0af23b847cb9de8f8c32264f66f9fb5dcc8f359f34ccd

If you would prefer that the cadvisor_version and cadvisor_checksum not be bumped as a part of this PR, I can revert that change and set cadvisor_cpu_arch to "" which would allow in place updates to the role without requiring use of cadvisor v0.45.0 or higher.

Thanks @NickBaileyMA, the latest changes look minimal while allowing to support recent versions of cadvisor.
The new failure of the Molecule test now seems to indicate some issue with the start of the systemd service during the idempotence step:
--> Action: 'idempotence'
ERROR: Idempotence test failed because of the following tasks:
An error occurred during the test sequence action: 'idempotence'. Cleaning up.
* [cadvisor] => ansible-role-cadvisor : cadvisor | enable and start server systemd

@sbesson Apologies for going dark on this PR. I never could figure out what I needed to change to get the tests to pass/run appropriately. It looks like there were some changes committed recently around the testing functionality and I have since pulled those into my PR branch.  Would you be able to approve the workflow run when you get a change. No rush obviously as I've sat on this for nearly a year now!

Closing this PR as the relevant changes were made in #12 .


Fix range min/max validators to prevent errors for infinite ranges

Specify range type in existing validators test definitions
Add NumericRange min/max validator tests for infinite ranges
Add DateRange min/max validator tests inc. for infinite ranges

Full description given at https://code.djangoproject.com/ticket/28758.

Also, please fix the commit message per https://docs.djangoproject.com/en/dev/internals/contributing/committing-code/#committing-guidelines -- if it says "Fixed #28758 -- ..." it will be automatically connected to the ticket

@shaib Appreciate your prompt review and feedback.  I've rebased and made all of the changes requested.  It's definitely a lot cleaner now, thanks.
With respect to https://github.com/django/django/pull/9315#discussion_r147913997:

While testing for None is certainly needed, I'm not sure testing for different types of ranges adds value. We are using the same class of validator, so testing the different range types tests, essentially, that < and > work for dates as well as they do for numbers (not to mention that other types of ranges are possible).

The rebase has removed testing for dates but just want to mention why it was initially included:
https://docs.djangoproject.com/en/dev/ref/contrib/postgres/fields/#range-fields:

Out of the 5 range types, 3 of them are represented by NumericRange in Python, which is covered by the existing tests
Appeared useful to test DateRange as well, since there are some underlying issues with infinity dates, as shown in the following references

http://initd.org/psycopg/docs/usage.html#infinite-dates-handling:

Infinite dates handling
PostgreSQL can store the representation of an “infinite” date, timestamp, or interval. Infinite dates are not available to Python, so these objects are mapped to date.max, datetime.max, interval.max. Unfortunately the mapping cannot be bidirectional so these dates will be stored back into the database with their values, such as 9999-12-31.

https://www.postgresql.org/docs/current/static/rangetypes.html#rangetypes-infinite:

Also, some element types have a notion of “infinity”, but that is just another value so far as the range type mechanisms are concerned. For example, in timestamp ranges, [today,] means the same thing as [today,). But [today,infinity] means something different from [today,infinity) — the latter excludes the special timestamp value infinity.

So while the specific tests for DateRange are almost definitely redundant, there is the subtle difference of the special timestamp value infinity, which may need to be considered at some point.


Discuss JSONP support

I just answered a question on StackOverflow about JSONP support in Swagger.  During my answer, I realized that maybe Swagger could better handle JSONP.  Let me give a little more detail.
To do JSONP in Swagger right now, you basically have to have a response that looks like this:
// ...
  200:
    description: My JSONP payload
    schema:
      type: 'string'
// ...

The reason for this is JSONP actually returns JavaScript code as a string.  So for your Swagger API to truly describe your API, it must be of type string.
That being said, you lose a lot of validation options when this happens since as long as your response is a string, you've got a valid response.  But what would be cool is if you could look into the JSONP response and validate its structure.  Now how far you go with this depends as we have a few options:

Validate the JSONP structure/wrapper
Validate the response payload that gets unwrapped by JSONP-aware tooling

Both of these could be very useful.   At first I was thinking of suggesting a jsonp string format but that alone will not be enough for the second option as to do payload validation you would need some schema reference/definition.  So we would need some way to say "this is JSONP" and some other way to say "this is the schema to use to validate the JSONP data".  How that looks can come after we decide whether this is something we want to pursue or not.

Yes, while it's waning a bit in popularity, JSONP is something we do want to support.  In general:

We want to describe the payload contents.  This is different from validate, but they should be compatible
The transfer mechanism for the payload is text.
The query parameter callback is changing the response behavior completely

I do think this is outside 2.0.  Do we really want a different schema for jsonp?  It's the same payload just in a different response type, and wrapped.

So, if a response type is string, e.g.
definitions:
 getreposResponse:
    type: string
    required:
      - success
      - data
    properties:
      success:
        type: boolean
      data:
        type: array
        items:
          $ref: "#/definitions/Repo"

Does that mean the validator doesn't perform any further validation on the rest of the definition (such as success and data in the example above?
@whitlockjc touched upon what I was getting at, although I'm not sure the JSONP wrapper/structure needs validation.  For example, here's a snippet of my code for handling JSONP:
client side
var url = '/getrepos';
var jqxhr = $.ajax({
  url: url,
  dataType: "jsonp",
  crossDomain: true,
  data: '',
  success: callback

var callback = function(data) {
  result = $.parseJSON(data);
  if (result.success) {
      //do something
  } else {
      errorcallback(data)
  }
}

var errorcallback = function(error) {
  // handle the error
}

server side
module.exports = {
        getrepos: getrepos
}

function getrepos(req, res) {
  console.log('=====================================');
  console.log('GET ALL REPOS =======================');
  console.log('=====================================');
  var callback = req.swagger.params.callback.value;
  if (typeof callback === 'undefined') callback = 'callback' + Date.now();
  if (allrepos.length === 0 ) {
    var error = {'success': false, 'message': 'Please load repository data first.', 'code': 120 };
    res.status(200).jsonp(JSON.stringify(error));
  } else {
    var retVal = {};
    retVal.success = true;
    retVal.data = JSON.stringify(allrepos);
    res.status(200).jsonp(JSON.stringify(retVal));
  }
}

request
localhost:3000/getrepos?callback=jQuery111106460774131119251_1439402109118
response
typeof jQuery111106460774131119251_1439402109118 === 'function' && jQuery111106460774131119251_1439402109118("
{
    \"success\": true,
    \"data\": \"[
        {
            \\\"pull_count\\\": 30,
            \\\"pushed_at\\\": \\\"\\\",
            \\\"release_count\\\": 27,
            \\\"branch_count\\\": 11,
            \\\"contributors_count\\\": 30
        }
    ]\"
}
");

Express handles JSONP wrapper creation, so the developer doesn't really have to worry about the wrapper being invalid, but it would be nice if swagger was able to validate the payload as more than just a string, and then wrap it.

If you have a type of string, you do not define properties as that property only applies for type object.  That's the point I was making is that when you want to support JSONP, the wrapper (what is actually returned from the API) is a string of JavaScript code that wraps your actual JSON response structure.  So by using type string, you lose the ability to validate that the JSONP response actually is valid and that its data attribute adheres to the object structure defined at #/definitions/Repo.

Thanks, that's what I figured you were implying, but I opted to keep the definitions, because it is still helpful to be able to have swagger create the documentation for API consumers.

Is CORS supported ?

Has this issue been resolved now?
If I use the endpoint type set to string, will the dataType of XMLHttpRequest object set to jsonp?

Despite of a formal solution, since for client code the issue is with superagent too, what I did was to add json support in the generated ApiClient.js module in the api export
exports.prototype.callApi = function callApi(path, httpMethod, pathParams,
      queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts,
      returnType, callback)

that is the following
/////////JSONP
    let serialise = function(obj) {
      if (typeof obj != 'object') return obj;
      let pairs = [];
      for (let key in obj) {
        if (null != obj[key]) {
          pairs.push(encodeURIComponent(key)
            + '=' + encodeURIComponent(obj[key]));
        }
      }
      return pairs.join('&');
    }
    let jsonp = function(requestOrConfig) {
      var reqFunc = function(request) {
        // In case this is in nodejs, run without modifying request
        if (typeof window == 'undefined') return request;

        request.end = end.bind(request)(requestOrConfig);
        return request;
      };
      // if requestOrConfig is request
      if(typeof requestOrConfig.end == 'function') {
        return reqFunc(requestOrConfig);
      } else {
        return reqFunc;
      }
    };
    jsonp.callbackWrapper = function(data) {
      let err = null;
      let res = {
        body: data
      };
      clearTimeout(this._jsonp.timeout);

      this._jsonp.callback.call(this, err, res);
    };
    jsonp.errorWrapper = function() {
      const err = new Error('404 NotFound');
      this._jsonp.callback.call(this, err, null);
    };
    let end = function(config = { timeout: 1000 }) {
      return function(callback) {

        let timeout = setTimeout(
          jsonp.errorWrapper.bind(this),
          config.timeout
        );

        this._jsonp = {
          callbackParam: config.callbackParam || 'callback',
          callbackName:  config.callbackName || 'superagentCallback' + new Date().valueOf() + parseInt(Math.random() * 1000),
          callback:				callback,
          timeout:        timeout
        };

        window[this._jsonp.callbackName] = jsonp.callbackWrapper.bind(this);

        let params = {
          [this._jsonp.callbackParam]: this._jsonp.callbackName
        };

        this._query.push(serialise(params));
        let queryString = this._query.join('&');

        let s = document.createElement('script');
        let separator = (this.url.indexOf('?') > -1) ? '&': '?';
        let url = this.url + separator + queryString;

        s.src = url;
        document.getElementsByTagName('head')[0].appendChild(s);

        return this;
      }
    };
    /////////JSONP
   request.use(jsonp)

At this point I get it working, but with both the error and the data callback fired:
Error: 404 NotFound(…) null null
(index):24 Error: 404 NotFound(…)callback @ (index):24(anonymous function) @ bundle.js:492jsonp.errorWrapper @ bundle.js:409
(index):22 null exports {message: exports} Object {body: Object}
(index):26 API called successfully. Returned data: [object Object]

@whitlockjc I'm not sure that describing this as type: string is actually right – it seems to imply that we have a JSON string in the payload, (i.e. something like "..."), while actually we have a completely different content type (a piece of JavaScript). I guess type: file would be more correct here.
(And yes, this needs explicit support in the spec.)

Would it not be better to just state the correct content type for the response? See https://stackoverflow.com/questions/111302/best-content-type-to-serve-jsonp

@OAI/tsc JSONP is pretty thoroughly discouraged in favor of CORS at this point- are we still considering support?

Silence == nope, we're not considering it due to its obsolescence (due to security risks).  Closing.


UICollectionView with pinned headers issue

I am using an UICollectionView with pinned headers (flowLayout.sectionHeadersPinToVisibleBounds = true). The problem is that the headers do not float up to the navigation bar as seen below.

@andreamazz already noticed that the issue disappears when you are using a non translucent navigation bar.
PinnedSectionHeaders.zip

Hi @Aigai0s
Checkout the latest commit, the issue should be fixed. If you are using CocoaPods you can pull the latest version like this:
pod 'AMScrollingNavbar', :head


[composer-app] Better notifications

Inviter is notified when joiner is ready to input an auth code: When the invites panel is dismissed but someone accepted an invitation and waiting for a veritifcation code, the user should be notified with some kind of notification to bring up the shell with one click
Remove the ⚠ in the bottom-right

Toasts…

This was resolved long ago.


Uninstalling / Reinstalling CSP Adapter Creates Confusing Error Banner

Rancher Server Setup

Rancher version: v2.6-4d3c25a225499eee9acb74d47bfd2665389d093f-head
Installation option (Docker install/Helm Chart): helm

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): EKS

Proxy/Cert Details: self signed

Information about the Cluster

Kubernetes version: v1.21.9-eks-14c7a48
Cluster Type (Local/Downstream): local

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): N/A

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): Administrator

If custom, define the set of permissions:

Describe the bug
Uninstalling the CSP Adapter following the documentation, then reinstalling creates a confusing error message in the UI banner.
To Reproduce

Create a cluster from the AWS Marketplace Integration
Get 2 license packs for support (40 nodes)
Go over the limit of 40 nodes by creating a downstream cluster that exceeds the node limit
A compliance warning banner will appear in about 30 seconds
Uninstall the CSP adapter with these commands:

helm uninstall rancher-csp-adapter -n cattle-csp-adapter-system
kubectl delete ns cattle-csp-adapter-system
kubectl delete RancherUserNotification csp-compliance

Then reinstall the CSP adapter
An error message in the UI banner shows:

unable to run adapter, check adapter logs

Check the logs

Logs can be found from starting at the default Rancher homepage /dashboard/home
Click hamburger menu -> local -> Apps -> Installed Apps -> rancher-csp-adapter -> rancher-csp-adapter Deployment-> logs -> right click the pod -> View Logs

time="<REDACTED_DATE_TIME>"" level=warning msg="unable to get current license consumption info, will start fresh secrets \"csp-adapter-cache\" not found"
time="<REDACTED_DATE_TIME>" level=error msg="aws manager error: unable to checkout rancher licenses operation error License Manager: CheckoutLicense, https response error StatusCode: 400, RequestID: <REDACTED_RANDOM_REQUEST_ID>, ValidationException: Invalid parameter value Entitlement:Value for 0."

Result
When reinstalling the CSP adapter there is an error message banner stating:
unable to run adapter, check adapter logs

Expected Result

Since the CSP adapter cache was deleted, I would expect the error message to show that this Rancher setup needs 2 licenses but found zero / none. Also it would be helpful if a note stating this can happen was in the documentation incase a user is uninstalling / reinstalling the CSP adapter.
Workaround
This resolves after 1 hour
Screenshots

Additional context

:white_check_mark: PASSED
Reproduction Environment
Not required.

Validation Environment

Component
Version / Type

Rancher version
v2.6-f4d09c73e1a609f5c5fe0848ebd6e4b059056264-head

Rancher commit link
https://github.com/rancher/rancher/commit/f4d09c73e1a609f5c5fe0848ebd6e4b059056264

Helm version
v2.16.8-rancher1

Downstream cluster type
rke1 linode

Downstream K8s version
v1.23.6

Logged in user role
administrator

Browser type
google chrome

Browser version
102.0.5005.61 (x86_64)

Validation steps

Create a cluster from the AWS Marketplace Integration
Get 2 license packs for support (40 nodes)
Go over the limit of 40 nodes by creating a downstream cluster that exceeds the node limit
A compliance warning banner will appear in about 30 seconds
Uninstall the CSP adapter with these commands:

helm uninstall rancher-csp-adapter -n cattle-csp-adapter-system
kubectl delete ns cattle-csp-adapter-system
kubectl delete RancherUserNotification csp-compliance

Then reinstall the CSP adapter

The following banner is now displayed

AWS Marketplace Adapter: You have exceeded your licensed node count. At least 3 more licens(es) are required in AWS to become compliant.

Additional Info
RESULTS
:white_check_mark: Expected
Expected a more clear message after uninstalling and reinstalling the CSP adapter
:white_check_mark:Actual
Received a more clear message after uninstalling and reinstalling the CSP adapter


Try fix severe performance degradation Fix 1: Create a buffer for polling events

Tried, did not fix the problem


Is the pointer returned by hv_table_getBuffer() guaranteed not to change over time?

As in: can I just take it one and cache it locally or should I get it before every read/write operation?

It is best practice to get the buffer every time you need it. However, if you can guarantee that the table has been been resized, either by you or by some process, known or unknown, in the patch, then the pointer will remain stable.


Update ADOPTERS.md with Litmus usage details

The LitmusChaos Community is working towards increasing adoption of chaos engineering practices within the Kubernetes world & is focused on collaboration with other cloud-native projects. One of the ways of tracking the project's reach is via an ADOPTERS list. The purpose of this issue is to get a list of organizations/individuals who are using Litmus to power their chaosengineering practice and also share broadly their usecases & reasons for choosing Litmus.
Please comment on this issue with details like:

Applications/Workloads or Infra that are being subjected to chaos by Litmus
Why was Litmus chosen & how it is helping you (a brief description on the usecase)
Are you using it as part of devtest, CI/CD, in staging/pre-prod/prod or other
If you would like your name (as standalone user) or organization name to be added to the Adopters.md, please provide a preferred contact handle like github id, twitter id, linkedin id, website etc.

This information will be used to create a PR on the ADOPTERS.md file, which you can approve. Alternatively, feel free to create a PR and reference this issue !

I am currently using LitmusChaos to demonstrate a POC for Chaos Engineering on Serverless Architecture.
I shall be presenting this at the DevFest Siberia 2020.
GitHub ID: divya-mohan0209, Twitter Handle: Divya_Mohan02

I am using LitmusChaos as a part of our QA cycle at the moment to verify resiliency and catch bugs. For now it is only used in AWS EKS and Ec2 instances , we are expanding it to usage in Azure hopefully soon.
Litmus looked solid, easy to implement and most of all easy to customise.
gitHub id xkbarkar, Netapp Inc

k8 pods hosted on both aws and azure with more 40 different pods running .
Needed a clean way to introduce anomolies in the system to figure out its behaviour , litmus was the one that was clean and easy to use
using it part of QA cycle

Currently working on using Litmus for introducing Chaos in Kubernetes clusters.
I was looking for a cloud-native way of introducing Chaos and after going through the details and other options, Litmus was probably the best fit.
Usage of Litmus is still in preliminary stages. A limited set of chaos experiments are used for testing resiliency. This will change in the future.
GitHub ID - ishantanu

Applications/Workloads or Infra that are being subjected to chaos by Litmus:

Internal workload pods and storage resilience (OpenEBS)

Why was Litmus chosen & how it is helping you (a brief description on the usecase):

I reviewed several chaos tools and felt that Litmus being associated with CNCF and being an open-source tool aligns with my own personal preference and values. It has a very active community and repository, and there was well-documented information that helped during the initial learning phases.

Are you using it as part of devtest, CI/CD, in staging/pre-prod/prod or other:
I'm using it to run my RPi Kubernetes cluster which is my home cluster. This is running my personal production workloads.
If you would like your name (as standalone user) or organization name to be added to the Adopters.md, please provide a preferred contact handle like github id, twitter id, linkedin id, website etc:

Github ORG https://github.com/raspbernetes & LinkedIn https://www.linkedin.com/in/michael-fornaro-5b756179/

Applications/Workloads or Infra that are being subjected to chaos by Litmus

Kublr-provisioned Kubernetes clusters; we apply litmus chaos load to stress-test the clusters and identify the weak spots and components prone to failures under stress when customer applications stress the system

Why was Litmus chosen & how it is helping you (a brief description on the usecase)

Litmus is well-documented, well-supported open source tool with a great community and development team. It is flexible and allows us to adjust the chaos tests any way we need.

Are you using it as part of devtest, CI/CD, in staging/pre-prod/prod or other

This is currently used as a part of development testing and adhoc experiments, although we are working on including litmus chaos tests into our standard automated QA process

If you would like your name (as standalone user) or organization name to be added to the Adopters.md, please provide a preferred contact handle like github id, twitter id, linkedin id, website etc.

Oleg Chunikhin, CTO, Kublr

https://github.com/olegch
https://twitter.com/olgch
https://www.linkedin.com/in/olegch/

Organization: Kublr, https://kublr.com

https://github.com/kublr
https://twitter.com/kublr
https://www.linkedin.com/company/kublr/

Applications/Workloads or Infra that are being subjected to chaos by Litmus

Kublr-provisioned Kubernetes clusters; we apply litmus chaos load to stress-test the clusters and identify the weak spots and components prone to failures under stress when customer applications stress the system

Why was Litmus chosen & how it is helping you (a brief description on the usecase)

Litmus is well-documented, well-supported open source tool with a great community and development team. It is flexible and allows us to adjust the chaos tests any way we need.

Are you using it as part of devtest, CI/CD, in staging/pre-prod/prod or other

This is currently used as a part of development testing and adhoc experiments, although we are working on including litmus chaos tests into our standard automated QA process

If you would like your name (as standalone user) or organization name to be added to the Adopters.md, please provide a preferred contact handle like github id, twitter id, linkedin id, website etc.

Oleg Chunikhin, CTO, Kublr

https://github.com/olegch
https://twitter.com/olgch
https://www.linkedin.com/in/olegch/

Organization: Kublr, https://kublr.com

https://github.com/kublr
https://twitter.com/kublr
https://www.linkedin.com/company/kublr/

Please add VMware as adopter.  Will add more description later.

Why do we use Litmus.
To ensure resilience, detect bugs and test rollouts. We are still in the early stages.
How do we use Litmus.
Litmus is being used as part of dev/test cycles to catch bugs & verify resiliency.
Benefits in using Litmus.
The litmus is easy to use and extend/develop based on custom requirements and well-supported open source tool.

Please consider the shared file here as adopter for Pravega to acknowledge usage of Litmus Chaos, thanks.
Pravega.md

We are using litmus chaos to inject faults in our aks environments. Before arriving at litmus we explored other tools , but found litmus to be the most well rounded one and the one that aligned closest to the principles of chaos
We are using litmus in our pre prod environments in the ci cd stage as a gate for releases
The chaos gated deployments  make use of the in-built git ops integration in litmus
https://www.neudesic.com/

We have used Litmus to build out Chaos Engineering platforms with some of our large E-Commerce customers to improve resilience for big sales periods such as Black Friday.
We looked into quite a few tools, and Litmus provided us with the flexibility we needed, whilst bootstrapping many of the components we would have to write ourselves.
We also used Litmus Chaos experiments when discussing some of our customer's architecture constraints, and showing them real world cases of how to make Kubernetes more resilient.

One concrete use case was our customer wanting to build a cluster per app, whilst we wanted to build bigger clusters for easier management. We would use Litmus to show what application failure looks like on one part of the cluster, and show global resilience in their cluster when this happens.

The Litmus community and *product have been a great addition to our tool stack, and provided many benefits for us.

We have been using Litmus 2.X at iFood for a couple of months, replacing chaostoolkit as it provides a wide range of experiments out-of-the-box. We've started using it to validate the fallback mechanisms of critical services monthly. Right now, we are expanding its usage to go further and inject failures to drop access to databases, redis, Kafka and AWS services and learn from it and take some countermeasures to improve the critical services.
I hope Litmus to become the de-facto tool to implement Chaos Engineering in a simple manner.
Github: bbarin
website: ifood.com.br

We at FIS Global, have been embarking on to larger SRE program to transform platform team from purely operations focused to bring SRE/Automation culture and mindset. As part of that larger effort, Chaos/Resiliency Engineering is identified as key program to improve stability and availability of platform thus improve overall reliability of applications across organization and provide superior customer experience. We have chose Litmus as a Chaos Engineering Tool because of

Fulfills all of resiliency testing requirements
good and responsive community
good documentation
loosely coupled architecture
Nice dashboard features
Expose APIs to integrate with CI/CD pipelines

Where we are using Litmus

Currently, using in Applications/Workloads but idea is to expand to Infrastructure, e.g. using network latency to identify and understand resiliency of upstream application/component when downstream application/component is slow
Kafka Resiliency : Kafka itself is a complex distributed architecture solution, planning to use Litmus network and memory hog experiments to simulate latency between Producer and Broker, Consumer and Broker, Leader and Follower, and also trying to understand how cluster behaves under Memory and CPU pressure.
Integrate Litmus with CI/CD over APIs so that Chaos Testing can be autonomous

We are utilizing Chaos Engineering for something else at the moment :) We found it very useful to bring our engineering confidence while responding to production incidents and train them on cloud native engineering practices, check out this article where I elaborate more on our workshop - https://www.infoq.com/articles/chaos-engineering-cloud-native/

After an evaluation period of some Chaos Engineering tools, we chose Litmus because it is a more mature tool that would meet most of our needs. We are in the implementation, configuration, and process definition phase.
AB-Inbev's BEES is a huge project that has hundreds of microservices, it has been a great challenge to adapt Litmus in this process, making customizations and counting on the help of the Litmus community to evolve the tool and thus achieve our goal of making it available to the teams.
Some points that made us choose Litmus:

Based on K8S resources
SSO
Customization of attacks, attacks in parallel
Installation on multiple clusters
GitOps

At InfraCloud, we are using Litmus to develop Resiliency Frameworks.
Why do we use Litmus.
To simulate various Chaos scenarios using fault injection templates provided by Litmus. Litmus also helps to incorporate custom fault templates developed using AWS SSM documents.
How do we use Litmus.
Currently, we have tested with different kind of scenarios including faults like pod deletion, network latency, resource stressing, network partitioning in databases, and many more.
Benefits in using Litmus.

Easy deployment.
Easy Fault injection.
Custom Grading for experiments
SSM integration helps to inject fault in both EKS and external AWS components.

Company website: https://www.infracloud.io/
Company GitHub: https://github.com/infracloudio

We practice chaos engineering using Litmus in the Apache APISIX Ingress.
Litmus also helped us find hidden bugs.
Project website: https://apisix.apache.org/
This is the text version of my online sharing content.  https://dev.to/apisix/building-a-more-robust-apache-apisix-ingress-controller-with-litmus-chaos-3ldn

We used this tool comes with a wide variety of generic test cases for Kubernetes workloads to check the resiliency of our pods, an easy-to-use interface, and an integrated pipeline capability for automating end-to-end resiliency tests across Kubernetes clusters.

User comment by IFS

Flipkart is an adoptor of Litmus Chaos.  In addition to using the core features, we have also built a  VM chaos platform leveraging Litmus.  The details are covered in this talk we gave at Chaos Carnival 2024 - Building a Chaos Platform for Virtual Machines with OpenSource Tools

Applications/Workloads or Infra that are being subjected to chaos by Litmus

Stateless services running on our Kubernetes infrastructure
VMs running stateful workloads ( Using the VM Chaos platform built on top of Lirmus )

Why was Litmus chosen & how it is helping you (a brief description on the usecase)

We did an exhaustive analysis of top opensource chaos tools based on various scenarios.  Litmus chaos was a winner in terms of

Good User experience and interface
Stable and secure chaos infrastructure
Detailed documentation and active opensource community
Ease of modifying code ( We modified both backend and front end to suit our needs )
Pre-built kubernetes native experiments

Litmus helps us in testing out the failure scenarios - which helps in validating assumptions about failover capabilities of our infrastructure as well as validating run books and failure recovery

Are you using it as part of devtest, CI/CD, in staging/pre-prod/prod or other

Currently we are using this in pre-prod infrastructure.

If you would like your name (as standalone user) or organization name to be added to the Adopters.md, please provide a preferred contact handle like github id, twitter id, linkedin id, website etc.

www.flipkart.com
https://github.com/Flipkart

Within Delivery Hero, two of our entities, Hungerstation and PedidosYa, have been leveraging Litmus to enhance the resilience of their services. We use various faults offered by Litmus such Network Latency, Network Corruption etc. Using Litmus the teams have been able to test mechanisms such as circuit breaking, fallbacks, scaling behaviour, context timeouts etc. Building on this experience, we are currently developing an internal Chaos Engineering Platform, based on Litmus, as part of our Global Developer Platform initiative. This platform aims to standardize and elevate chaos engineering practices across all Delivery Hero verticals.

At Talend, we are using Litmus 2.x and Litmus 3.x within our pipeline and for weekly checks. Litmus was the solution we chose to help us on our journey with chaos engineering.
How do we use Litmus?
Litmus is deployed in our environment to validate our observability/security stack and to help promote our builds before they go live into production. We use it within a weekly job that utilizes Litmus as a chaos controller, along with a custom-built tool that collects results after injected experiments and sends them to Slack in report form for better resilience improvements in our observability/security stack.
We have also started using it to validate our SLIs/SLOs and their runbooks. Additionally, we use it in our Jenkins pipeline when we want to promote builds to production after QA tests and validate that the new version supports newly injected turbulences, etc.
Benefits of using Litmus?
Litmus is a straightforward framework that provides multiple experiments and is easy to use by developers. It allows for the creation of specific chaos workflows depending on their needs.

Thank you for creating such a wonderful software 🙏
Here are the requested details:

Applications/Workloads or Infra that are being subjected to chaos by Litmus

Example application hosted on OpenShift to investigate adding Litmus to an internal, production OpenShift cluster

Why was Litmus chosen & how it is helping you (a brief description on the usecase)

It was chosen because it provided:

a web interface
integrated with Kubernetes
installable via Helm chart
has sufficient chaos scenarios/experiments

We want to use it to stress all of the internally developed applications

Are you using it as part of devtest, CI/CD, in staging/pre-prod/prod or other

we will eventually integrate Litmus into staging/prod environments via CI/CD pipelines

If you would like your name (as standalone user) or organization name to be added to the Adopters.md, please provide a preferred contact handle like github id, twitter id, linkedin id, website etc.

No thank you

@prithvi1307 , I hope this is okay.  Please let me know if there's anything else I can provide.
Thanks again for making such an awesome product 🙇

Leveraging Litmus Chaos Engineering in Kubernetes Infrastructure
We have a Kubernetes-based infrastructure pivotal to our operations, where reliability and resilience are paramount. Recognizing the need for robust testing methodologies, we turned to Litmus Chaos Engineering to fortify our systems against potential failures and to ensure seamless operations even under adverse conditions.
Why Litmus:
Litmus emerged as our tool of choice due to its comprehensive suite of chaos engineering capabilities tailored specifically for Kubernetes environments. Its versatility in orchestrating controlled chaos experiments aligns perfectly with our commitment to enhancing system reliability while maintaining agility.
Use Case and Implementation:
We have seamlessly integrated Litmus Chaos Engineering into various stages of our development and deployment pipeline, spanning from development and testing to staging and production environments. Leveraging Litmus, we meticulously craft and execute chaos experiments, meticulously observing how our infrastructure behaves under stress, and ensuring it meets our predefined Service Level Objectives (SLOs) and Service Level Indicators (SLIs).
Achievements:
Our journey with Litmus Chaos Engineering has been marked by significant milestones:
Successful deployment of Chaos Center and Litmus Delegate, empowering us with centralized chaos management capabilities.
Establishment of secure access to Chaos Center through HTTPS, coupled with domain customization for enhanced usability.
Implementation of WAF ACL to restrict access to Chaos Center, ensuring secure interactions.
Integration of Azure SSO for streamlined user management and authentication.
Seamless connectivity between Chaos Center and target nodes, facilitating efficient chaos experimentation.
Execution of numerous successful experiments, validating the resilience and scalability of our infrastructure.
Next Steps:
As we continue to harness the power of Litmus Chaos Engineering, we remain committed to expanding our chaos engineering initiatives, further refining our chaos experiments, and continually enhancing the resilience of our Kubernetes infrastructure.
Contact Information:
Dhruv's LinkedIn profile.
We are excited about the possibilities that Litmus Chaos Engineering unlocks for us and look forward to sharing our insights and experiences with the community.

Nubank
Nubank is the world’s largest digital banking platform outside of Asia, serving over 100 million customers across Brazil, Mexico, and Colombia.
Applications/Workloads or Infra that are being subjected to chaos by Litmus

Money transfer services are covered by chaos experiments, which are critical flows from a business perspective.

Why was Litmus chosen & how it is helping you (a brief description on the use case)

Experiment/Failure types are aligned with our first needs.
Compatible with our Kubernetes environment.
It can be used through an API.
Probes can be easily integrated with our observability/monitoring tools.
It is helping us to promote Chaos Engineering practices, perform Gamedays and running schedule experiments at staging and production.

How do we use Litmus

We use Litmus as a "Chaos engine" of an internal tool that is available for "product teams" to validate "service resilience hypothesis".
Engineers use it through NuCLI during "game days" or schedule experiments for continuous resilience.
Available on Dozens of k8s clusters, for several countries/teams.
We use an abstraction json file as the "experiment definition" that relies on our own service/shard/alert canonical approach.

Benefits of Litmus

Compatible with our Kubernetes environment which enables "service oriented" chaos engineering at Nu.
Open Source.
Wide range of experiments that can be extended.
Active community on slack channel, which helps in solving issues.

At Infor we have a resilience team for one of our products. In that team we are using Litmus as the main tool for chaos engineering. Some of our reasons for choosing it were that it is an open-source tool with an active community and that it runs in Kubernetes.
Litmus was our entry point into chaos engineering, and it provided us with a palette of possible experiments and types of failures to choose from. We use it to simulate failures on workloads in Kubernetes environments for development, testing and pre-production, but not yet in production environments.
So far, we have mainly used Litmus for “game day” style workshops. We gather the team working with a component and we run a few experiments together with them. But we have also started using it for running automated experiments in controlled environments and are also looking into integrating it in our CI/CD pipeline.
Our experience with running Litmus and chaos engineering workshops has in general been positive. Besides running the tool, we have also put emphasis on the preparation and follow-up phases of our chaos experiments. We have found that the discussions about resilience and chaos engineering is of value for the developers and helps create a culture of resilience that improves the quality of our product.

Enuygun.com and Wingie.com is a leading online travel and finance platform in Turkey, offering a wide range of services, including flight tickets, hotel reservations, car rentals, insurance, and financial products.
Why do we use Litmus?
At Enuygun.com, ensuring the resilience and reliability of our services is a top priority. We have adopted Litmus as part of our chaos engineering practices to proactively test and validate the robustness of our infrastructure. Litmus allows us to simulate different failure scenarios, helping us identify potential weaknesses and strengthen our systems.
How are we using Litmus?
We use Litmus to conduct chaos experiments on critical microservices deployed within our Kubernetes clusters. Our engineering teams run scenarios such as pod deletions, network delays, and resource constraints on services like search, booking, and payment processing. These experiments are primarily conducted in staging and pre-production environments to validate failover strategies and improve service recovery times.
Benefits of using Litmus:
Enhanced Resilience: By regularly testing for failures, we ensure our services can withstand unexpected disruptions.
Improved Reliability: Chaos testing has helped reduce downtime and improve overall service performance.
Increased Developer Confidence: Developers are more confident in deploying new features, knowing they have been thoroughly tested under various failure conditions.
We plan to expand the use of Litmus by integrating it into our CI/CD pipelines for automated chaos experiments and eventually running tests in production environments.

Resilience is a key aspect in creating fault-tolerant environments, and leveraging tools like Litmus has been instrumental in automating resilience testing. Litmus has enabled us to simulate real-time chaos scenarios, allowing us to thoroughly verify the robustness of both our infrastructure and applications.
We began with a proof of concept (POC) on a playground cluster. While we explored other tools during this process, Litmus stood out significantly, not only in its capabilities but also due to its excellent user interface. Although we faced a few challenges during the initial setup of Litmus on OpenShift, the team provided timely support, helping us overcome these obstacles and successfully complete the POC.
Now, we've successfully deployed Litmus in a non-production cluster environment, and our SRE team is in the process of transitioning from manual chaos testing to automated chaos tests. This shift will enable us to schedule, automate, and efficiently track the outcomes of these tests, enhancing the resilience of our systems.


Update English docs and sort css

updated English docs
sorted css src files
fixed main md files

FYI: Building fails on Windows due to fsevents being OSX only.

@QingWei-Li Let me know if I should add German docs.

Big thanks 🙏
Welcome to contribute to German. ❤

@jrappen You can open a PR for German, thanks again.


Valence/Arousal tagged file for Emotion Regression

I don't find the 2 files valence.csv & arousal.csv for SVR training. Could you kindly help me with the path to access those files? Thanks.

Same here

i have the same problem...help me please...

Sorry for the delay.
I must have accidentaly removed the two files.
They are online now (in data/speechEmotion)


badge changes

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.251%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
572

Relevant Lines:
629

💛  - Coveralls


App not load with M3U8 + QueryParameter(auth)

I am using this app and I had to load / streaming videos like
http://raax.xyz/SportsCornerGroup/playlist.m3u8?ch=star1in|User-Agent=SportsCornerGroup&Referer=https://noob4cast.com&cookie=SportsCornerGroup
player is not loading this videos.

Duplicate of #219


Rename e2e to detox, update scripts

Renames e2e to detox, which is more explicit.
Updates the package.json scripts to be more consistent:

build-ios is now bundle:ios
build-android is now bundle:android

Adds two new scripts:

release:ios - not implemented yet, but gives the link to the docs
release:android - creates a release APK for Android

Removes react-native-clean-project devDependency and invokes it using npx instead

Works for regular detox builds! (Expo still failing, will investigate why next week.)


SB-298 routing rules logic improvements and for metadata introduction

This pull looks good, thank you! I have some minor remarks/comments.

Fixed. Ready to be merged.

Thanks for the big brainstorming we had on this! :)


Updated identity,kubelet & info source file protocol from ssh to https

Some customers has reported that they are unable to build meta-pelion-edge
as their corporate firewall only allows outbound HTTP/HTTPS but not SSH. This
should help with that use case.

Looks good. Is this line still needed?

Probably not. I will remove it, if this is masking some issues then that will surface and will fix it.


Command palette button needs some love

The little command terminal button on the lower left is a nice touch for mobile users. However it is too small.
Also it has a weird spacing compared to the border which is noticeable with larger line-heights.
Changing the svg declaration to add a viewport:
<svg viewport="0 0 24 24"... >

will let you scale up the size of the svg terminal prompt using css. The css I would use with it is:
.mobile-button > svg {
   width: 44px;
   height: 44px;
   display: block;
}

to provide a minimal size of 44px for the button.
display: block is used to remove space below the svg icon. Since the default display is inline, the icon
sits on the text baseline.
I would also add a title tag as the first element between the > for the svg tag and first g tag.
<title>Click here to open command palette.</title>

so the svg has some a11y accessible name. In thinking about it, probably adding that text as aria-label to the button element would be better. Maybe aria-label="Open Command Palette" would work.
Getting full aria working for command-pal is another set of steps, but I expect it would be useful for users.

Hi @rouilj,
Fixed the issues mentioned above, with a few referenced commits 👍
I also want to thank you for the detail and time you're putting into these issues, the quality and thought put into them is appreciated 🙏
Seems like you're getting a detailed understanding of the library, so feel free to submit PR's here for fixes you think are appropriate, local development on this is pretty simple (see instructions here)
Cheers
Ben


Benchmark lucetc

Our sightglass benchmarks measure the code emitted by lucetc against native. However, we have no benchmarks of lucetc's runtime performance!
We should measure lucetc's run time and memory footprint at each of the available optimization levels.

We actually do have the start of a suite here: https://github.com/fastly/lucet/blob/master/benchmarks/lucet-benchmarks/src/compile.rs
Definitely needs to be built out, though. We need some good sample programs to use.