text:
AGDROID-686 Token integrity check

Motivation
JIRA: https://issues.jboss.org/browse/AGDROID-686
Description
Function to Verify JWT Tokens (Access, Identity, Refresh) using a Keycloak Realm Public Key before they are used as part of client side access control decisions.
Provide the configuration from the JSON mobile configuration to the OIDCCredentials.
Tested successfully with both valid & tampered Access/Identity tokens. Identity Brokering originated tokens can also be validated.
Progress

[x] Get the Public Key from the Mobile Core Config (when available)
[x] Get the Audience from the Mobile Core Config (when available)
[x] Construct the integrity parameters (build issuer etc.) from the core config.
[x] Add Unit tests - Test Wrong issues, audiences, tampered signature, payload, algorithm info sections etc

@ziccardi Mind taking another look?

@secondsun Dependencies were added in this PR, waiting on a new release now. Have made a temporary commit that will fail so I don't forget

@secondsun Removed unused singleton stuff and updated the android sdk bom stuff. Tests have started to pass again.

@secondsun Would you mind taking a look? One question, we currently have the auth module typed as keycloak because it matches up with the actual keycloak service. We also have a keycloak module in this SDK. I'm guessing them both being typed as keycloak is a bad thing?

@aidenkeating Keycloak Service is a temporary one, It was to help us in the core PoC and going to be removed

@danielpassos @ziccardi @secondsun Would you mind taking a look? I think this is ready to merge

@ziccardi Mind taking a look? Have move the AuthStateManager out to the auth package. Have also included an init(Context) function in the AuthService to allow the user to provide the context. This is following the example used in this PR https://github.com/aerogear/aerogear-android-sdk/pull/27/files#diff-7037942ee1f06907ac7d09f6d65ccd6dR88

@wtrocki Would you mind taking a look? I think this is ready to merge. Don't want this PR to bloat too much more. Jenkins appears to be failing because of an internal issue

I have spent some time checking changes on local machine.
PR recieved pretty good feedback. Considering that this changes cannot be properly tested until we get login implementation I think it's best to get that into master and follow up with other PR's.
Really good job @aidenkeating

I didn't have time to review it, I was about to start now but it's already merged. I didn't test it but I have 2 comments about this PR:

Correct or not all other modules are using org.aerogear.mobile.[module-name] as the package
I think all method who going to throw the exception needs to have that explicit in the method not only in the Javadoc.

@danielpassos The package name was to address this comment https://github.com/aerogear/aerogear-android-sdk/pull/21#discussion_r165096520 and this proposal https://github.com/aerogear/proposals/blob/master/sdks/SDK-naming.md#proposed-solution

authors: aidenkeating danielpassos wtrocki

repo: aerogear/aerogear-android-sdk


text:
Labels to be added to JIRA tickets parametrized

Motivation
The 'test-case' label were hard-coded. It is much better to parametrize this since there is no reason for thinking each JIRA ticket always needs 'test-case'  label on it.
How to test
`trira sync 'Test Plan: Self Managed' 'TEST-34' --list-regexp='MUST PER RELEASE' '--card-regexp=RHMAP proxy' --debug --dry-run --labels=test-case,rhmap-signoff
You can experiment with value for --labels and remove --dry-run. Then see https://issues.jboss.org/browse/TEST-34 epic

@jhellar, @matskiv I cannot ask you to review this. And I cannot merge this either. Do you have rights to LGTM (and merge) this ?

@kpiwko Updated, does it look good to you now ?

@kpiwko Thanks for review. You can re-review again now.

I know I'm very annoying, sorry @trepel  :-)
What would you expect this command to do?
trira sync 'Test Plan: Deploy' RHMAP-123456 --labels 'foo,bar'

I would say all cards with given labels
Maybe it should be called --add-labels instead ?

no worries @kpiwko , I got used to it over the years :-)
I was aware of the fact that you would prefer '--add-labels' because you mentioned something similar in https://github.com/aerogear/trira/issues/5. I didn't name it that way because other arguments (--list-regexp, --card-regexp, --dry-run) were nouns so I thought that using just '--labels' might be better since it is noun too.
Happy to change it to '--add-labels' though

@kpiwko  is the way it is now acceptable, wdyt ?

source: gharchive/pull-request

authors: kpiwko trepel

repo: aerogear/trira

license_type: permissive

license_source: github-api


text:
Retip did not update view

After retip the number tip total / view did not update

Seems that I can't reproduce this one. On the feature/layout-superhero branch I was trying to retip from tips list and from tip details. In both cases, the tips value for the current post and "Total Tips Value" were updated after several seconds.

I thinks there needs to be a general loading animation, as tried in https://github.com/aeternity/aepp-raendom/pull/29.
Otherwise I think this issue was reported with old state of the product.

source: gharchive/issue

authors: davidyuk kenodressel thepiwo

repo: aeternity/aepp-raendom

license: ISC


text:
QR scan doesn't scan QR codes.

Hi, I implemented this. And when I try to scan it does nothing. What could be the problem?
And when I open the scanner, the camera is wider than the overlay, is it possible to fix that?

Could you please provide more information (logs and screenshot), so that we can identify the issue

Hi, I forgot to mention that this only happens when I host (firebase hosting) the app, and use mobile browser. When I install the app on my Android it works perfectly fine.

Hi, I forgot to mention that this only happens when I host (firebase hosting) the app, and use mobile browser. When I install the app on my Android it works perfectly fine.

it did happened to me the same , also it shows a black square in front of the camera preview

Hi, I forgot to mention that this only happens when I host (firebase hosting) the app, and use mobile browser. When I install the app on my Android it works perfectly fine.

@AlexMunth Dude, have you solved this problem? I also scanned in the browser without any response

authors: Afinas-nl AlexMunth harbignote wsk321

repo: afinas-em/qr-bar-code-scanner-dialog


text:
java.lang.NumberFormatException: Invalid int: ""

Hi!,
I am using the MaterialDialog to recieve the input of the user, but doing test I figure out that if you leave the input field empty it crash with this exception
java.lang.NumberFormatException: Invalid int: ""
This is the code
public void onItemClick(View v, int position, final int codigo, String procedencia) {

        Log.e("codigo seleccionado", String.valueOf(codigo) + " : " + procedencia);
        new MaterialDialog.Builder(this)
                .title(R.string.introduce_cantidad_reducido)
                .inputType(InputType.TYPE_CLASS_NUMBER)
                .content(R.string.introduce_cantidad)
                .input(null, null, new MaterialDialog.InputCallback() {
                    @Override
                    public void onInput(@NonNull MaterialDialog dialog, CharSequence input) {
                        try {
                            Log.e("nose", "");
                            if (TextUtils.isDigitsOnly(input)) {
                                if (Integer.parseInt(input.toString()) > 0) {
                                    Log.e("cantidad", input.toString());
                                    Toast.makeText(AnadirAlimentoActivity.this, mAlimentoList.get(codigo - 1).getDescripcion() + " añadido con éxito", Toast.LENGTH_LONG).show();
                                    alimentosSecleccionados.add(mAlimentoList.get(codigo - 1));
                                    contadorAlimentos++;
                                    invalidateOptionsMenu();
                                } else {
                                    Toast.makeText(AnadirAlimentoActivity.this, "Por favor, selecciona una cantidad válida", Toast.LENGTH_LONG).show();
                                }
                            }
                        } catch (Exception e) {
                            Toast.makeText(AnadirAlimentoActivity.this, "Por favor, selecciona una cantidad válida", Toast.LENGTH_LONG).show();
                        }
                    }
                })
                .negativeText("Cancelar")
                .cancelListener(new DialogInterface.OnCancelListener() {
                    @Override
                    public void onCancel(DialogInterface dialog) {
                    }
                })
                .show();
    }

It just crash.. and I have tried a lot of different things with the input field.. and even the try catch block never gets fired
Thank you
(I'm trying this in the emulator)

That has nothing to do with this library. It's your code that parses the input as an integer.

Ok. but I just wanted to know why the input that I recieved from the onInput method is not a CharSequence... and also why if I make an inputType(InputType.TYPE_CLASS_TEXT) the keybord is shown as numbers..
Thanks

Also, your catch block would need to catch Throwable, rather than Exception. Exception will not catch anything that inherits RuntimeException, such as NumberFormatException.

I'm guessing your TextUtils method is not working, since the code attempts to parse an empty string ("") as an Integer.

authors: afollestad josmanperez

repo: afollestad/material-dialogs


text:
Adding MathPlag

This pull requests adds the current MathPlag implementation. It will add classes, testcases and minor changes to the dependencies.

Coverage remained the same at 31.731% when pulling 6f3008891c254ae8bdfef8cc510517b25026a25b on vstange:master into 90946c2643c67ed4a926d6db1e202049394556da on ag-gipp:master.

Coverage remained the same at 31.637% when pulling f784383a9c50038d4573f26075e61b03a60b1249 on vstange:master into 90946c2643c67ed4a926d6db1e202049394556da on ag-gipp:master.

authors: coveralls vstange

repo: ag-gipp/MathMLSim


text:
Add release stage with semantic versioning, and deploys to server.

Is your feature request related to a problem? Please describe.
Every time new resolved issues get merged into master via pull-request, a new version should be released and a deployment to Heroku should be performed.
Describe the solution you'd like
Use semantic-versioning package, and GitHub release action as well as Heroku to run the docker-compose.
Describe alternatives you've considered
Deploy to DKE server.
Additional context
Links:

https://devcenter.heroku.com/articles/build-docker-images-heroku-yml
https://www.npmjs.com/package/semantic-release

Don't forget to update the README.md section on how the main and dev branch are used.

repo: ag-gipp/NLP-Land-backend

license: MIT


text:
Bug: Changes made on every key press in state in profile url change

Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for certain conditions.

Operating System: Windows
Browser: Chrome

Expected Behavior
Only perform change state when user clicks on submit or wait for certain seconds (1sec)
Current Behavior
The state is getting updated on every key press
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

Just go to the profile page
Click on a profile pic
Start typing in the input field and keep the console open
You can see the error.

Screenshot

Solution:
Create debounce method or just submit string on button click
@agamjotsingh18 Can I work on this?

Can I Work on this??

@ShubhamPatil0723 are you working on this or should i assign to @Sohamkayal4103 ?

@ShubhamPatil0723 are you working on this or should i assign to @Sohamkayal4103 ?

This issue was not assigned to me, but sure let @Sohamkayal4103 work on it

Cool @ShubhamPatil0723

Sure @Sohamkayal4103, you can work upon it

can I work on it in gssoc23.

can i work on it ?

sure

sir I want to work on this issue under gssoc'23

hello, error mentioned here is different when I am clicking on change logo url.

can you tell me where can I just discuss this.


text:
Update README.md to fix incorrect path

Fix incorrect path to bsbm-generated-dataset.nt for POST bulk update example.

Merged. Thx a lot @dlh3

repo: agazzarini/SolRDF

license_source: bigquery


text:
⚠ AGEG website (redirect) has degraded performance

In 89d1f81, AGEG website (redirect) (https://ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 2486 ms

Resolved: AGEG website (redirect) performance has improved in 33fe279.


text:
Caffe Model

face_recognition version: 1.0.0
Python version: 3.6.2
Operating System: macOS High Sierra

Description
Is it possibile to create a Caffe model with this module? If it's possible, how can I do it?
Thanks.

No, unfortunately it's not compatible with Caffe. You'd have to rebuild it from scratch in Caffe.

authors: ageitgey lorenzoferrante

license: mit


text:
Issue executing setup.py on dlib with docker

face_recognition version: latest
Python version: 3.4-slim
Operating System:

Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.3 (stretch)
Release:	9.3
Codename:	stretch
Running on Raspberry Pi 3B
Description
Issue with executing setup.py for dlib when building docker image
Step 3/6 : RUN cd ~ &&     mkdir -p dlib &&     git clone -b 'v19.7' --single-branch https://github.com/davisking/dlib.git dlib/ &&     cd  dlib/ &&     python3 setup.py install --yes USE_AVX_INSTRUCTIONS
What I Did
Dockerfile that i use building the image
https://github.com/ageitgey/face_recognition/blob/master/Dockerfile
sudo docker build -t face-recognition .
Cloning into 'dlib'...
Note: checking out 'ba9c71d66adefa61980a44a598035cc45dfc106f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

Traceback (most recent call last):
  File "setup.py", line 39, in <module>
    from setuptools.command.bdist_egg import bdist_egg as _bdist_egg
  File "/usr/local/lib/python3.4/site-packages/setuptools/__init__.py", line 14, in <module>
    from setuptools.dist import Distribution, Feature
  File "/usr/local/lib/python3.4/site-packages/setuptools/dist.py", line 25, in <module>
    from setuptools import windows_support
  File "/usr/local/lib/python3.4/site-packages/setuptools/windows_support.py", line 2, in <module>
    import ctypes
  File "/usr/local/lib/python3.4/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: /usr/local/lib/python3.4/lib-dynload/_ctypes.cpython-34m.so: undefined symbol: _PyTraceback_Add
The command '/bin/sh -c cd ~ &&     mkdir -p dlib &&     git clone -b 'v19.7' --single-branch https://github.com/davisking/dlib.git dlib/ &&     cd  dlib/ &&     python3 setup.py install --yes USE_AVX_INSTRUCTIONS' returned a non-zero code: 1

@ageitgey Tested this last night, and the Docker image was build along with all the requirements. Thank you and appreciate the help.

Nice, glad it worked :)

If someone comes across this, there is a issue with python3.6 release that will create trouble importing some packages.
See links:
https://github.com/waveform80/picamera/issues/386
https://raspberrypi.stackexchange.com/questions/60419/cant-import-picamera

authors: ageitgey smajohusic


text:
[Feature] biome

The problem
also spoof biome
The solution/feature
No response
Alternatives
No response
Additional context
No response

Thanks, added this feature: https://modrinth.com/mod/definitelymycoords/version/1.2.3
If you encounter any problems, please create another issue :)

authors: agent-LuluDodo kittenvr

repo: agent-LuluDodo/DefinitelyMyCoords


text:
Removal of tracks from the submission system

As a volunteer on the Program team, I would like tracks to be removed so that it decreases the complexity of submissions and removes the need of grouping sessions later on based on a submission decision.
We had several discussions on this topic.
Based on the typeform with ~120 answers, people do not look at "Track" in order to decide if they will attend the conference or a session.

More work needed here once we get past the submissions part.
Reviewers were track based so we'll need to handle all of that. For submission opening though, this should be good.

Done in https://github.com/agile-alliance-brazil/submissions/commit/e29e54a9753e47908b5cfb11cd4b0cbcf9ada019 and subsequent commits

authors: gmotta hugocorbucci

repo: agile-alliance-brazil/submissions


text:
html repr for legends

See also #5

Fixed with 5a1a6bc7bcbf0ed33c7b06e0effa7a8534dde4c1

repo: agile-geoscience/striplog


text:
blink/pulse animation

Add a pulse animation effect which will be available through api like gridCell.pulse() for a specific GridCell
Pulse Effect example : https://codepen.io/FlorinPop17/pen/drJJzK
or a Blink animation using an overlay colored rectangle with changing opacity

How exactly do you want this?, like user can set pulse to true? or call it as a function?..
I mean, do you want it like this
GridCell(
  //... other properties
  pulse: true
  //... other properties
),

or like this
GridCell.pulse(
  //... properties
)

I thought it can be used as function of GridBoardController. So user can pulse any cell at anytime programmatically. What do you think?
gridBoardController.pulse(cellIndex);

Maybe more options can be added for animation.
abstract class AnimationStyle {}
class PulseAnimation implements AnimationStyle;
//...
final animationStye = PulseAnimation(duration:Duration(milliseconds:500));
//...
gridBoardController.animate(cellIndex, animationStyle);
//...

This makes a lot of sense, I'll do that

Done with PR #9

authors: NonymousMorlock akyunus


text:
Riemann Sum

Submission Title
Riemann Sum
Submission Type
Maths_And_Stats
Submission Description
Riemann Sum is a certain kind of approximation of an integral by a finite sum. The sum is calculated by partitioning the region into shapes (rectangles, trapezoids, parabolas, or cubics) that together form a region that is similar to the region being measured, then calculating the area for each of these shapes, and finally adding all of these small areas together.
Folder Related To
Maths_And_Stats => Calculus =>  Riemann Sum =>  Riemann Sum.extension
Contributors

[ ]  C++ -
[ ]  C -
[ ]  Python -
[ ] Java -
[ ] JavaScript -
[ ] TypeScript -
[ ] Golang -
[ ] Ruby -
[ ] php -
[ ] Swift -
[ ] C# -

I'd like to try this in C#. Also, shouldn't this be under Calculus?

I want to work on this issue in C++

I want to work on this issue in python

I would want to work on this in python

i would like to do this in C , C++, python ? @ahampriyanshu @Mr-Vaibhav-Shukla

Hi @Astrogeek77 ,
Please opt a different language/issue.

thanks everyone :v:

authors: Astrogeek77 Rajwrita TanishqPorwar Vivek-Raman ahampriyanshu arnav-roy


text:
Typo

"kennenzulernen" oder "zu erarbeiten"

marp-action setup failed:
fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use
git push origin HEAD:<name-of-remote-branch>

repo: aheil/hhn-seks


text:
[error] -bash: ptcli: command not found

So here's what I did in the Terminal on my macOS Sierra that produced the following error.

Junaids-MacBook-Pro:~ junaid$ sudo wget -qO ptcli https://git.io/vPtPS && sudo chmod +x ./ptcli && sudo install ./ptcli /usr/local/bin/ptcli
Password:
Junaids-MacBook-Pro:~ junaid$ ptcli
-bash: ptcli: command not found
Junaids-MacBook-Pro:~ junaid$

I'm new to this Terminal stuff so don't really know if it's a silly mistake on my side of some sort or if I'm using it all wrong.

@mjunaidit Do you have wget installed? I am not sure if it comes packed with the new macOS.

@ahmadawais Yeah I  installed wget from http://rudix.org/packages/wget.html

@mjunaidit Can you run these commands one by one and paste the output here?
sudo wget -qO ptcli https://git.io/vPtPS

sudo chmod +x ./ptcli

sudo install ./ptcli /usr/local/bin/ptcli

Junaids-MacBook-Pro:~ junaid$ sudo wget -qO ptcli https://git.io/vPtPS
Password:
Junaids-MacBook-Pro:~ junaid$ sudo chmod +x ./ptcli
Junaids-MacBook-Pro:~ junaid$ sudo install ./ptcli /usr/local/bin/ptcli
Junaids-MacBook-Pro:~ junaid$

If there was supposed to be some response, I'm getting nothing. Not an error nor a confirmation.

@ahmadawais Your given short URL end with 404
https://git.io/vPtPS
I'd updated the link and I don't think we need install command to copy
we can do that with wget command easily
Pull request #3

@MiteshShah  Oh boy! I had changed the name of that file and completely forgot about it.
Install command is to help make this script executable by placing it in the user's $PATH since /usr/local/bin/ is always in the path.

@mjunaidit Try to install it now, it will work. Earlier the link was returning 404.

I still get nothing no matter how I use the command. I do not get the error though now. But I don't see it working either.

Junaids-MacBook-Pro:~ junaid$ sudo wget -qO ptcli https://git.io/vPmNx && sudo chmod +x ./ptcli && sudo install ./ptcli /usr/local/bin/ptcli
Password:
Junaids-MacBook-Pro:~ junaid$ ptcli
Junaids-MacBook-Pro:~ junaid$ ptcli -c
Junaids-MacBook-Pro:~ junaid$ ptcli

@mjunaidit Use ptcli and not ptcli -c.
You should get prompts to enter data. Can you confirm if the CLI is installed by running the following commands and confirming that there is a ptcli file in there
cd ~ && cd /usr/local/bin/ && ls -al

You should see a list of files, there should be ptcli in there. Let me know.

@MiteshShah Oh boy! I had changed the name of that file and completely forgot about it.
Install command is to help make this script executable by placing it in the user's $PATH since /usr/local/bin/ is always in the path.

@ahmadawais  @mjunaidit  We do not need install command as the following command do all the necessary steps
sudo wget -qO /usr/local/bin/ptcli https://git.io/vPmNx && sudo chmod +x /usr/local/bin/ptcli

@ahmadawais Yep I do have that file in there!

@mjunaidit @ahmadawais  I'm sure inside that file no content.
Check what's inside of that file using cat /usr/local/bin/ptcli

@MiteshShah if this means the file is empty, then it is!

Junaids-MacBook-Pro:~ junaid$ cat /usr/local/bin/ptcli
Junaids-MacBook-Pro:~ junaid$

@mjunaidit run following command
rm -f /usr/local/bin/ptcli
sudo wget -qO /usr/local/bin/ptcli https://git.io/vPmNx && sudo chmod +x /usr/local/bin/ptcli

This will fix your issue

@MiteshShah I studied the command install it just copies it there with correct permissions if applied. You sure, there won't be an issue with directly downloading the file there? I think I am up for that edit now.
@mjunaidit Mitesh is right. Your file has nothing in it since our link was broken.
Can you run the following command and try again?
rm -f /usr/local/bin/ptcli
sudo wget -qO /usr/local/bin/ptcli https://git.io/vPmNx && sudo chmod +x /usr/local/bin/ptcli

@ahmadawais If you notice EasyEngine we mostly use wget to directly download on destination folder.
Which saves few extra steps to copy files in that destination directory.
We does not need install command here.
Without it its work just fine refer above my attached screenshot.

Now I get a permission denied error!

Junaids-MacBook-Pro:~ junaid$ rm -f /usr/local/bin/ptcli
Junaids-MacBook-Pro:~ junaid$ sudo wget -qO /usr/local/bin/ptcli https://git.io/vPmNx && sudo chmod +x /usr/local/bin/ptcli
Password:
Junaids-MacBook-Pro:~ junaid$ ptcli
-bash: /usr/local/bin/ptcli: Permission denied
Junaids-MacBook-Pro:~ junaid$

@mjunaidit
OK, I think install method is better.
Just run rm -f /usr/local/bin/ptcli  and then run this again
sudo wget -qO ptcli https://git.io/vPmNx && sudo chmod +x ./ptcli && sudo install ./ptcli /usr/local/bin/ptcli

@MiteshShah Permissions are not a mess when it comes to Ubuntu where EE is used, this however is used in macOS and as from the last response of @mjunaidit  you can see what I was afraid would happen.

For OS X, try using cURL instead of wget if that helps:
curl https://git.io/vPmNx -L -o ptcli && chmod +x ptcli && sudo mv ptcli /usr/local/bin/ptcli

@jabranr bhai the URL was returning 404 which downloaded a copy of blank page on @mjunaidit 's end.

@ahmadawais oh I see. Didn't realise that was the case.

authors: MiteshShah ahmadawais jabranr mjunaidit

repo: ahmadawais/PTCL-CLI


text:
Unraid server wont start docker container after update

Hi,
I used vs code server today in the mroning, I hit update button and after that it wont work anymore.
Here is my log with an error:
/usr/local/bin/code-server: line 1: `<!DOCTYPE html>'
GNOME_KEYRING_CONTROL=/root/.cache/keyring-TI6HB2
SSH_AUTH_SOCK=/root/.cache/keyring-TI6HB2/ssh
No init file configured, skipping...
/usr/local/bin/code-server: line 1: syntax error near unexpected token `newline'

see here: https://github.com/ahmadnassri/docker-vscode-server/issues/27
I'm still exploring how to restore the old build before MS killed it

I am also seeing this, but it looks like there is an issue with getting the code-serve file which should have come from https://aka.ms/vscode-server-launcher/x86_64-unknown-linux-gnu based on the script with source https://aka.ms/install-vscode-server/setup.sh

fixed in v2.0.0

repo: ahmadnassri/docker-vscode-server


text:
🛑 Beta Dashboard is down

In fc89a5a, Beta Dashboard (https://guard-bot-beta.ahq-alt.repl.co/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Beta Dashboard is back up in 19777c9.


text:
Missing header defines for ATxmega128A1U in avr libc

A couple of defines are missing in the avr libc header files for the ATxmega128A1U. Need to add them as a work around.
Upstream bug for this issue, seems to have gone stale..

Latest header definitions can be found here: http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/
Specifically, this issue is fixed by using the these header files: http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/3.6.1/avr8-headers.zip . Copying them to /usr/avr/include/avr or equivalent will fix this issue.
Added them to the travis build script here: 00d9cc0f0b0f97c4b32ba94a522d521041ea08cf

repo: ahtn/keyplus


text:
Retrieve inference after feedback

Context
When a user gives feedback, the inference is not updated on the front end view.
For example here is a picture of Ambrosia artemisiifolia but two of the seeds are classified as Ambrosia psilostachya so I want to give a wrong seed feedback.

I submit the feedback

But the inference hasn't changed, the seed is still classified as a bad seed in the view.

Solution
A solution could be to send back the corrected inference after a feedback, the function already exist in the datastore so it would be easy

[ ] send the inference as a response of a feedback request

Yeah, great idea. We probably need some front-end modification as well, maybe turn the boxes green for verified inferences

repo: ai-cfia/nachet-backend


text:
More complete OOG encode example

This polyfill has been extremely helpful but I'm looking to use OOG-Opus for encoding. Do you have a more detailed working example of using oog for encoding?

Sorry, I didn’t use it and can help here

I recently have used like this:
import AudioRecorder from 'audio-recorder-polyfill'
import mpegEncoder from 'audio-recorder-polyfill/mpeg-encoder'

AudioRecorder.encoder = mpegEncoder
AudioRecorder.prototype.mimeType = 'audio/mpeg'

window.MediaRecorder = AudioRecorder

var record = false;
let mediaRecorder;

const onStart =({sendMessageStomp,setMessages,messages, topic})=>{
    navigator.mediaDevices.getUserMedia({ audio: true }).then(stream => {
      var chunks = []
      mediaRecorder = new MediaRecorder(stream)

      //Get data
      mediaRecorder.addEventListener('dataavailable', e => {
        console.log("Record audio!!")

        chunks.push(e.data)

      })

      mediaRecorder.addEventListener('stop',e => {
        console.log("Stop recoding!!")

        //const blob = new Blob(chunks, {type:"audio/ogg; code=opus"})
        const blobMP3 = new Blob(chunks, {type:"audio/mpeg; code=opus"})

        const reader = new window.FileReader()
        reader.readAsDataURL(blobMP3);

        reader.onloadend = () => {
          console.log('audio tipo: ', reader.result)

          const msgSender = {sender:'user',type:'audio',msg:reader.result}
          //const msgSenderMP3 = {sender:'user',type:'audio',msg:e.data }
          setMessages(messages => [ ...messages,  msgSender])
          sendMessageStomp(msgSender, "/app/msgCPF/" + topic,"audio")
        }

      })

      mediaRecorder.start()
      record= true;
    })
}

//Function to STOP
const onStop = () => {
    mediaRecorder.stop();
    mediaRecorder.stream.getTracks().forEach((i) => i.stop());
    mediaRecorder = false;
    record = false;
};

//Action capture audio, Start and Stop;
const getSendAudio = (e,isState, setIsSate, sendMessageStomp,setMessages,messages, topic) =>{
  e.preventDefault()
  setIsSate(!isState)

  if(record === true){
    console.log('Call to STOP')
    onStop();
  }else{
    console.log('Call to START')
    onStart({sendMessageStomp,setMessages,messages, topic})
  }
}

export default getSendAudio;
export {
  onStart,
  onStop,
  record,
  mediaRecorder,
}

Hi @Lucasnobrepro,
That's really similar to what I ended up using. Initially I was trying to use the OOG encoder, but the mp3 encoder worked out fine for what I was doing.
`import AudioRecorder from 'audio-recorder-polyfill';
import mpegEncoder from 'audio-recorder-polyfill/mpeg-encoder'
AudioRecorder.encoder = mpegEncoder;
AudioRecorder.prototype.mimeType = 'audio/mpeg';
// Speech To Text
export const recordResponse = async () =>{
console.log('Recording for a response!');
navigator.mediaDevices.getUserMedia({ audio: { sampleSize: 16, channelCount: 1, sampleRate: 16000} }).then(stream => {
    var options = {
        audioBitsPerSecond : 16000,
    }
    state.mediaRecorder = new AudioRecorder(stream, options)

    const audioChunks = [];
    state.mediaRecorder.addEventListener("dataavailable", event => {
        audioChunks.push(event.data);
    });

    // Start recording
    state.mediaRecorder.start();

    state.mediaRecorder.addEventListener("stop", () => {
        state.mediaRecorder.stream.getTracks().forEach(i => i.stop());
        const audioBlob = new Blob(audioChunks, {type: 'audio/mpeg'});
        let audioUrl;
        try {
            audioUrl = webkitURL.createObjectURL(audioBlob);
        }
        catch(err) {
            audioUrl = URL.createObjectURL(audioBlob);
        }

        //
        let track = state.mediaRecorder.stream.getAudioTracks();

        var reader = new FileReader();
        reader.readAsDataURL(audioBlob);
        reader.onloadend = function() {
            //Trim the Base64 extra text
            var base64data = reader.result;
            var ret = base64data.replace('data:audio/mpeg;base64,','');
            postAudio(ret, track[0].getSettings());
        };
    });
  });

};
`
The Base64 is for Google Speech to Text encoding.

@designkl I'm also recording to send to Google Speech to Text. Are you using the beta version of the API, as I thought MP3 was not GA yet?
How is the quality with MP3?

@ai great library thank you for building it. I noticed in the docs there is an Ogg example. Are there any plans to support it in the future?

Next Safari do not need this polyfil, so I do not have any plans for the project development

@designkl I'm also recording to send to Google Speech to Text. Are you using the beta version of the API, as I thought MP3 was not GA yet?
How is the quality with MP3?

I did use the beta version of the STT API. I really didn't do any side by side comparisons with regards to compressed (mp3) vs. uncompressed (PCM WAV), but from the feedback I've gotten from people who have used other STT APIs, even with the compressed mp3, it's considerably more accurate than the others. And that's without even touching the config file to start adding in custom verbiage. So as much as I wanted to try the Ogg, I just gave up as the mp3 encoding seemed good enough.

authors: Lucasnobrepro ai designkl seanfcarroll

repo: ai/audio-recorder-polyfill


text:
[1.10.2] Universal Cables dont xfer power

I have the Ultime Universal Power Cable connected to a draconic creative rf power source whihc is then connected to a draconic Energy pylon feeding into a Draconic Power Storage system, but its not transmitting any power.  I also connected the cable to a Builder from RfTools an also no power is being receieved

Our tesla integrations are broken, we're working on it.

Im confused to what Tesla integrations have to do with it not being able to transfer any power at all form anything that produces rf

TGB, same issue with BDEW's Advanced Generators.  Reposting from:
https://github.com/bdew/generators/issues/132
Universal Cables from Mekanism don't want to attach to the RF producer in Adv Gens. EnderIO conduits work fine. The workaround is to place a Mekanism Energy Cube next to the RF producer and THAT works but they are of course output limited with even the largest cube in Mek being limited to 20k RF/t which is less than a fully built turbine setup [25k].
bdlib-1.12.2.21-mc1.10.2
generators-0.9.20.19-mc1.10.2
MC 1.10.2
Forge 12.18.3.2221
Mekanism 1.10.2-9.2.1.295
Thanks

Is RF working at all with the cables? I tried them with my mods, i tried with the machines in EnderIO and EU2... it doesn't seem to work at all.
I can use tesla to output into Mek cables, but then they still don't transfer the power to any RF based machine.

RF works if you place a Cube from Mekanism to gather the power then connect the Universal cable to the cube, the pic below is how i use it for EnvironmentalTech Solar power gen.

authors: Morpheus1101 ThatGamerBlue Utildayael bdew

repo: aidancbrady/Mekanism


text:
Any plan to support cli option for http/https proxy?

I am looking for a way to install SSSP behind http/https proxy, and I could not find it. So I hard-coded http-proxy and it seems working. For other people in my institute, I want to have a cli option to provide http/https proxy information. Do you already have such a plan?

Hi @atztogo we have been working on this in #94 . At least I think that should fix the problem you are describing. I think we almost arrived at the ideal solution, both in terms of flexibility/ease of use/ but while keeping things consistent. The idea is to add the option --download-only to the aiida-pseudo install sssp/pseudo-dojo commands. This will produce a single file on disk (containing all the files it downloaded). The commands than also get the option --from-download that can consume such an archive. So you can download the archive on a non-blocked computer, get it to the computer behind a proxy and then use --from-download to install from file instead of downloading it.
Would this work, or are you describing a different issue? And if so, could you share your solution perhaps?

Yes, it solves the problem. Thanks @sphuber!

authors: atztogo sphuber

repo: aiidateam/aiida-pseudo


text:
[UI] Make "name tag" tab the default landing page instead of "Mindfulness"

Currently the "Mindfulness" tab is shown as default after logging in (see screenshot below). We should change it so that the "Name Tag" tab is the default.

@kexinF do you know why the second tab is shown as the landing page by default?

In main/tabs.tsx line 27, activeTab is set to be index 1 by default:
activeTab: (props.children as TabElement[])[1].props['page-label']

On Saturday, Jun 15, 2024 at 11:57 PM, Shaomei @.*** @.***)> wrote:
@kexinF (https://github.com/kexinF) do you know why the second tab is shown as the landing page by default?
—
Reply to this email directly, view it on GitHub (https://github.com/aimpowered/ZoomCompanion/issues/78#issuecomment-2171046787), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AGMJ63PPAEHOVS3LRJX7BZLZHULNPAVCNFSM6AAAAABJMGFA2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZRGA2DMNZYG4).
You are receiving this because you were mentioned.Message ID: @.***>

@Shaomei @kexinF Hi Is there already being worked on or can i fix this issue.

@ssunil3232 thanks for checking. It is actually fixed. I should have closed the issue last week.

authors: Shaomei kexinF ssunil3232

repo: aimpowered/ZoomCompanion


text:
Feature/liayoo/account tool scripts

Added keystoreToAccount.js, privateKeyToKeystore.js, seedPhraseToAccount.js account tool scripts.

Thanks for the fast review. Now merging~

repo: ainblockchain/ain-blockchain


text:
Set ENABLE_EXPRESS_RATE_LIMIT=false for the local scripts.

...for better testing. The tests for ain-js, for example, need this option disabled.

Thanks for the fast review! Now merging~


text:
dealing with InternalError

I consider that when VM returns InternalError, such as OutOfMemory .etc, this node is under unreliable state. But in Java kernel, we just marked transaction as Failure.
Whether it is better to shutdown this node?

This issue is being addressed in PR https://github.com/aionnetwork/aion/pull/720

authors: aion-camus yulongaion


text:
Lets the users know that they need to generate a new migration which includes the fields used for meta

Remember the users to generate a new migration if they want to metadata.

Thanks for the suggestion.  I feel like this is already explained well by this line:
 PaperTrail will call your proc with the current article and store the result in
 the `author_id` column of the `versions` table.

But, if you wanted to add a single sentence, like:
 PaperTrail will call your proc with the current article and store the result in
 the `author_id` column of the `versions` table.
+ Don't forget to add any such columns to your `versions` table.

I would be OK with that.

@jaredbeck makes sense, so I'll close this PR and I'll create a new one adding only that line

authors: heridev jaredbeck


text:
Catch class ClassNotFoundException when loading classes.

Fixes https://github.com/airbnb/MvRx/issues/335.

Ready for another look.

repo: airbnb/MvRx


text:
#393 Scheduler does not pickle DAGs for non-local executors

Incorporated review comments in https://github.com/airbnb/airflow/pull/394
Although to function correctly, it still needs the fixes in https://github.com/airbnb/airflow/pull/316
I have verified it by manually including the changes.

Just realized, https://github.com/airbnb/airflow/pull/412 is sufficient for this patch to work.
Can merge this right away.

repo: airbnb/airflow


text:
Reenable native modules.

to: @ljharb Second attempt.
cc: @kesne
This is the second attempt at enabling native modules with the airbnb babel
preset.The first attempt used strings instead of require statements, and
broke plugin resolution when babel-preset-airbnb was a sub dependency.
Passing the option modules: false defeats the purpose of the without-strict
preset, as strict is an option being applied to a plugin that modules: false
removes.  This change will enable users to transform import and import()
statements with webpack2 instead of babel, and will enable tree shaking.

@ljharb updated PTAL

repo: airbnb/babel-preset-airbnb


text:
Fix the Gamma role user experience

While logged in as a user without access rights to save new dashboard positioning and css, if they click the "Save the current positioning and CSS" button, they get a modal message "Success, This dashboard was saved successfully." although it hasn't been successful (and if you reload the dashboard the changes have not been saved - which is the correct behaviour for a user without sufficient rights).
Either the modal message should say "Unable to save dashboard due to insufficient access permissions", or the save button should be hidden for users without sufficient rights. I think one tidy solution might be to hide/disable the entire multi-button (refresh, filter, css, edit, save) for users without edit rights.

Right. We need to iron out the gamma user experience and fix some other things around security. It's pretty rough right now.

I have disabled these features in #298 based on access permissions. They cannot be clicked if the user does not have respective access permissions.

#298 looks great for slices, any chance we could do something very very similar for dashboards too?

I added features for dashboard as well in the same PR. Saving dashboard etc is disabled now.

On current master the "Save the current positioning and CSS" does not give any feedback when the save fails. I think we just need to disable the button if the user don't have enough permissions to save it. Same goes for "Add a new slice to the dashboard"

authors: alanmcruickshank mistercrunch sid88in xrmx

repo: airbnb/caravel


text:
Try to drop the unique constraint on tables.table_name again

There is an existing script b4456560d4f3_change_table_unique_constraint.py that tries to drop the unique constraint on tables.table_name. In that script, it assumes the constraint is named tables_table_name_key. But on my MySQL, it is not named that way. This PR tries to find the correct constraint name and tries to drop it again

Coverage decreased (-0.3%) to 80.909% when pulling 28f0060fcde5a60a29dced6efa06353423a78f7d on x4base:drop_tables_table_name_uniq into 83d5ad216a9a82ac727965f7607480764535ffb8 on airbnb:master.

This PR attempts to fix #360


text:
Missing documentation for RST

It seems like there is no documentation for React Standard Tree and creating adapters in general.

#742 may be a good start.

authors: Deseteral ljharb

repo: airbnb/enzyme


text:
Remove Karma flakiness by providing browser shims

This fixes the travis karma flakiness, and removes the allowed failure. This does this by adding in airbnb-browser-shims to the karma tests so that we don't have to worry about which version of chrome they are running on.

This appears to have not actually fixed the flakiness.... so it seems like this is not the reason for the karma flakiness :/

@lelandrichardson it did fix flakiness caused by lack of polyfills,it just didn't fix the other cause of flakiness,some tests appear to cause a full page reload. This shoudl still be merged

@nfcampos any thoughts on how to fix the page reload issue? It'd be nice to fix karma in a single PR if possible.

Rebased this on top of #1096.

authors: lelandrichardson ljharb nfcampos


text:
On EDGE browser the function return "true"

Hi,
the module return TRUE for EDGE browser, which in its turn creates bug in airbnb/react-dates.
This issue exist even in https://www.airbnb.com/ when browsing with Edge.
https://www.screencast.com/t/bDGA6Czw

Many windows laptops these days have touch screens. Are you using Edge on a device that has a touch screen?
Also, I'm unable to view your video because it requires Flash. Can you share it in some other way?

Actually I came here because of airbnb/react-dates. I was using the module, and then found out that it is not working correctly in Edge browser on Windows 10. You can go to https://www.airbnb.com/ and just pick a date range, but first try it on Chrome/Mozilla/IE11 then on Edge to compare them. And here is the related issue on react-dates https://github.com/airbnb/react-dates/issues/697.
Thanks.

@arshKhachatryan can you confirm that your device doesn't actually have a touch screen?

Yes, 100% , I am using Lenovo T470, if my laptop has had touch screen, I would have the same problem in other browsers.

@arshKhachatryan I'm unable to reproduce this; can you open up your browser console and provide the results for this code:
[
  'ontouchstart' in window,
  window.DocumentTouch,
  document instanceof window.DocumentTouch,
  navigator.maxTouchPoints,
  navigator.msMaxTouchPoints
]

Thanks!

const chrome = {
            'ontouchstart' in window: false,
            window.DocumentTouch: undefined,
            document instanceof window.DocumentTouch: Uncaught TypeError: Right-hand side of 'instanceof' is not an object,
            navigator.maxTouchPoints: 0,
            navigator.msMaxTouchPoints: undefined
        }
const Edge = {
            'ontouchstart' in window: false,
            window.DocumentTouch: undefined,
            document instanceof window.DocumentTouch: Invalid operand to 'instanceof': Function expected,
            navigator.maxTouchPoints: 2,
            navigator.msMaxTouchPoints: undefined
        }
const EdgeOnPC = {
            navigator.maxTouchPoints: 0
        }

@ljharb I made a little research, and it turned out, that on pc, navigator.maxTouchPoints returns 0, though in my laptop is returns 2, but on laptop my other browsers return 0 for navigator.maxTouchPoints.
I think depending on laptop model, browsers may give different values which I assume is related to the touch-pads that specific laptop, notebook uses.
If navigator.maxTouchPoints equals 2 for not all touch devices, only for those that are not not touch devices like my laptop, I think navigator.maxTouchPoints: 2 case can be put in the code as an exception.

That seems premature; given that the spec says that any touchPoints value > 1 indicates touch support. Is there a chance that your laptop's trackpad has multitouch?

(Also, what's the value of window.PointerEvent in those browsers?)

I'm particularly looking at https://patrickhlauke.github.io/touch/touchscreen-detection/ as an alternative.

Yes my laptop's trackpad has multitouch.
Is there any specific value you want from this window.PointerEvent?

And unfortunately this https://patrickhlauke.github.io/touch/touchscreen-detection/ also detected touchscreen in my EDGE

If it's got multitouch, it's a touch device - I'm not sure there's an issue here (altho it's surprising that Chrome doesn't report it as one)

The confusion from my part is that only the EDGE treats it as an touch device, others do not,

Right - i'm not clear on whether that's an Edge bug, or a bug in those other browsers.

I had the same problem, and we had to fallback to Modernizr's version:
https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js

A bit late to the party but there is a confirmed bug in Edge. Not sure if this was the current Edge version when the issue was initially raised.
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/20417074/

Just updated MS Edge to latest version and the bug is gone. Edge v79+ uses chromium-based engine which works as expected.

authors: Stanko andriusign arshKhachatryan lencioni ljharb maxwondercorn

repo: airbnb/is-touch-device


text:
Bumped the slack request timeout to 10

to: @chunyong-lin @ryandeivert
cc: @airbnb/streamalert-maintainers
related to:
resolves:
Background
The slack app has been failing consistently due to a read timeout. This also occurs locally when testing the endpoint. Additionally the timeout did not appear to change even if the count param was lowered. Therefore we need to bump the default timeout for the app. 10 was chosen to give it some headroom above 8.5 which is around when the timeout stopped happening in local testing.
Changes

Changed the slack app default request timeout to 10 up from 6.05

Testing
Integration and unit tests passed locally.

Coverage remained the same at 96.681% when pulling 57847a303799aaa1432d93c4184ae93fa2d2fad0 on fix-slack-app-timeout into 1c86ed3ff8e8636ad8a968ae3766ef565ec330e9 on master.

I almost want to say:

Consider moving timeout into a configuration parameter so we can accommodate for different users' experiences with Slack API
Maybe test this internally-only to find the time out "sweet spot", then open a PR after you've found it

@Ryxias I like the configuration idea but it seems like extra work for only a single value. Additionally, Ryan and I did find the sweet spot at 8.5 but agreed we should give it a little extra headroom, especially since retries don't help here because a timeout means we are getting 0 data back.

authors: Ryxias blakemotl coveralls

repo: airbnb/streamalert


text:
airbyte_source_custom configuration - never-ending drift

Recent PR https://github.com/airbytehq/terraform-provider-airbyte/pull/80 introduced airbyte_source_custom.
We are testing it with AIrbyte 0.50.45 (HELM deployed), provider version 0.4.1.
Terraform definition:
`resource "airbyte_source_custom" "float_api" {
name = "Float API"
definition_id = "0c08da44-45a1-4668-b827-f42cafcf6497"
workspace_id  = local.workspace_id
configuration = jsonencode({
api_key = local.float_api_key
})
}`
Above definition creates custom source correctly, unfortunately it is getting into unresorvable drift state.
`terraform apply -auto-approve --target airbyte_source_custom.float_api && terraform plan --target airbyte_source_custom.float_api
airbyte_workspace.this: Refreshing state... [name=de28cf68-ee55-421f-9bff-0c95f0b01a04]
data.aws_secretsmanager_secret_version.float_api: Reading...
data.aws_secretsmanager_secret_version.float_api: Read complete after 1s [id=airbyte/connector/float-api|AWSCURRENT]
airbyte_source_custom.float_api: Refreshing state... [name=Float API]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
airbyte_source_custom.float_api will be updated in-place
~ resource "airbyte_source_custom" "float_api" {
~ configuration = (sensitive value)
name          = "Float API"
# (3 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
airbyte_source_custom.float_api: Modifying... [name=Float API]
airbyte_source_custom.float_api: Modifications complete after 0s [name=Float API]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
airbyte_workspace.this: Refreshing state... [name=de28cf68-ee55-421f-9bff-0c95f0b01a04]
data.aws_secretsmanager_secret_version.float_api: Reading...
data.aws_secretsmanager_secret_version.float_api: Read complete after 0s [id=airbyte/connector/float-api|AWSCURRENT]
airbyte_source_custom.float_api: Refreshing state... [name=Float API]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
airbyte_source_custom.float_api will be updated in-place
~ resource "airbyte_source_custom" "float_api" {
~ configuration = (sensitive value)
name          = "Float API"
# (3 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
`

Looks that is might be an API that returns ***** instead of configuration value

@terencecho is that expected provider behavior?

Does the airbyte API mask api keys when they're returned in the configuration object? If so drift detection/determining of "if we need to update this field" unfortunately won't ever really work with an untyped SourceConfiguration object. We could fix this by writeOnly: true to the SourceConfiguration json schema to disable drift detection on that attribute.

We are facing the same issue and using a lot of custom sources in our connections. @szemek 's workaround works for now, but makes our CI/CD pipeline a bit problematic.
Is there any update? Anyone working on this issue?

Current Status and Solutions
The Airbyte team has identified the root cause and is exploring potential solutions, including enhancements for value-based object comparisons and sorting streams in API responses. In the interim, a temporary workaround involves using the ignore_changes lifecycle argument in Terraform, though this affects CI/CD pipelines. The community is awaiting a permanent fix from the provider team.

Current Status and Solutions
The Airbyte team has identified the root cause and is exploring potential solutions, including enhancements for value-based object comparisons and sorting streams in API responses. In the interim, a temporary workaround involves using the ignore_changes lifecycle argument in Terraform, though this affects CI/CD pipelines. The community is awaiting a permanent fix from the provider team.

@rwask fix for streams is here https://github.com/airbytehq/terraform-provider-airbyte/pull/111

hello @rwask, please do you have some news about a fix for this issue ? 🙏

authors: ThomasRooney kev-datams neurotroph robertomczak rwask szemek

repo: airbytehq/terraform-provider-airbyte


text:
fix: use the correct GIT_SYNC_MAX_SYNC_FAILURES envvar

What issues does your PR fix?
What does your PR do?
GIT_SYNC_MAX_SYNC_FAILURES is correct env variables. Please refer https://github.com/kubernetes/git-sync#parameters.
Checklist

[x] Commits are signed
[ ] Commits are squashed (only do this if appropriate)
[ ] Chart version bumped (only do this if releasing a new version)
[ ] Chart documentation updated
[x] Passes linting

@kloty thanks!
I will put this in the queue to merge for the next release.

authors: kloty thesuperzapper

repo: airflow-helm/charts


text:
[Bug]: Wrong types for getInputProps with Chakra-UI

Which packages are impacted?

[X] remix-validated-form
[ ] @remix-validated-form/with-zod
[ ] @remix-validated-form/with-yup
[ ] zod-form-data

What version of these packages are you using?

remix-validated-form: 4.1.2

Please provide a link to a minimal reproduction of the issue.
https://codesandbox.io/s/vigilant-sid-ntw28?file=/app/components/Input.tsx
Steps to Reproduce
Adding Chakra-UI to the project and trying to use getInputProps from useField hook with the ChakraInput component there are wrong types on getInputProps. It is only possible to set onChange and onBlur method but not to set type for example.
Expected Behavior
Using getInputProps with Chakra-UI InputField should offer correct types for getInputProps.
Actual Behavior
Using getInputProps with Chakra-UI InputField only offers types for onChange and onBlur method.

Sorry, did not see this. Yeah might help to add this to the FAQ since Chakra is pretty popular in my opinion.
Thanks for the help here!


text:
feat: support remix v1.6.5 TypeResponse

fix #140

I'm not sure if I need to update the remix version for the sample/test-app, it does work for v1.2.1.

The failing test is unrelated so I'm just going to merge. Thanks for the help!

The failing test is unrelated so I'm just going to merge. Thanks for the help!

Oh cool, I was figuring out why, but thx👍

If you do figure it out, I'll happily accept the fix! But don't feel obligated :)


text:
Bug:Not working without Starelette and/or FastAPI

Describe the bug
KafkaRouter, NatsRouter, RabbitRouter always depend on FastAPI and Starelette, even if they are not installed
How to reproduce
Just install to environment without Starelette and/or FastAPI
faststream.kafka.router.KafkaRouter
...

Expected behavior
Should work without Starelette and/or FastAPI as dependency
Environment
> faststream -v
Running FastStream 0.2.7 with CPython 3.11.6 on Darwin

meet this too, have starlette==0.22.0 so have an error on start
$ faststream
Traceback (most recent call last):
  File "project/.venv/bin/faststream", line 5, in <module>
    from faststream.__main__ import cli
  File "project/.venv/lib/python3.11/site-packages/faststream/__main__.py", line 1, in <module>
    from faststream.cli.main import cli
  File "project/.venv/lib/python3.11/site-packages/faststream/cli/main.py", line 10, in <module>
    from faststream.cli.docs.app import docs_app
  File "project/.venv/lib/python3.11/site-packages/faststream/cli/docs/app.py", line 10, in <module>
    from faststream.asyncapi.generate import get_app_schema
  File "project/.venv/lib/python3.11/site-packages/faststream/asyncapi/generate.py", line 18, in <module>
    from faststream.broker.fastapi.router import StreamRouter
  File "project/.venv/lib/python3.11/site-packages/faststream/broker/fastapi/__init__.py", line 2, in <module>
    from faststream.broker.fastapi.router import StreamRouter
  File "project/.venv/lib/python3.11/site-packages/faststream/broker/fastapi/router.py", line 30, in <module>
    from starlette.types import AppType, ASGIApp, Lifespan
ImportError: cannot import name 'AppType' from 'starlette.types' (project/.venv/lib/python3.11/site-packages/starlette/types.py)

repo: airtai/faststream


text:
Airy Live Chat: Add Documentation on Source Connection Page

To improve system user experience, we should provide the Airy documentation corresponding to each source on the screen where users will be connecting their sources.
For Airy Live Chat, we should include a link below the large Airy Live Chat heading.

Design Note
We can display an info button alongside Relevant Documentation.

closed by #1797

authors: AudreyKj lizhutter

repo: airyhq/airy


text:
Switch component only emit the change event only by user click action

switch组件emit的change事件，我理解应该只来源于用户的行为，原来使用的是watch方式并不是很合适，举个例子：用户点击行为导致的switch值变化需要提交请求，异步获取的值触发switch emit 的on-change事件会循环调用。不知道我讲清楚没有 @airyland

[x] Rebase before creating a PR to keep commit history clear.
[x] Only One commit
[x] No eslint errors

Closed as master branch is no longer under maintained.

authors: airyland maqic review-ninja

repo: airyland/vux


text:
🛑 Socket Chatroom is down

In 342ed4b, Socket Chatroom (https://chatroom-socket-dev.alternativasinteligentes.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Socket Chatroom is back up in 25c6349.

repo: aisa-status/status-upptime-dev


text:
⚠ Turnos 24x7 has degraded performance

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

HTTP code: 200
Response time: 866 ms

Resolved: Turnos 24x7 performance has improved in c62ce34.


text:
⚠ Turnos 24x7 has degraded performance

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

HTTP code: 200
Response time: 929 ms

Resolved: Turnos 24x7 performance has improved in 36f8bec.


text:
get rid of linebreak dep

If we convert all text that needs to be wrapped to markdown then we can use the markdown specific line wrapping that we have.

That would also be useful because there have been a few spots where I wanted to be able to write markdown and place it in the UI, but get it rendered the same way we render markdown in messages.

authors: dagit jtdaugherty

repo: aisamanra/matterhorn


text:
basic_alert gives error.

@semiharslanait

main.js:80  Uncaught (in promise) TypeError: Cannot set properties of null (setting 'innerHTML')
at handleDynamicEvents (main.js:80:43)
at a. (main.js:114:20)
at I.emit (socket.io.min.js:6:7324)
at a.value (socket.io.min.js:6:38795)
at a.value (socket.io.min.js:6:38499)
at a.value (socket.io.min.js:6:38153)
at I.emit (socket.io.min.js:6:7324)
at socket.io.min.js:6:45242
handleDynamicEvents @ main.js:80
(anonymous) @ main.js:114
I.emit @ socket.io.min.js:6
value @ socket.io.min.js:6
value @ socket.io.min.js:6
value @ socket.io.min.js:6
I.emit @ socket.io.min.js:6
(anonymous) @ socket.io.min.js:6
Promise.then (async)
at @ socket.io.min.js:6
value @ socket.io.min.js:6
I.emit @ socket.io.min.js:6
value @ socket.io.min.js:6
value @ socket.io.min.js:6
I.emit @ socket.io.min.js:6
value @ socket.io.min.js:6
I.emit @ socket.io.min.js:6
value @ socket.io.min.js:6
value @ socket.io.min.js:6
ws.onmessage @ socket.io.min.js:6
main.js:53 clientEmit :  iw1 zoom-in button_click
main.js:80  Uncaught (in promise) TypeError: Cannot set properties of null (setting 'innerHTML')
at handleDynamicEvents (main.js:80:43)
at a. (main.js:114:20)
at I.emit (socket.io.min.js:6:7324)
at a.value (socket.io.min.js:6:38795)
at a.value (socket.io.min.js:6:38499)
at a.value (socket.io.min.js:6:38153)
at I.emit (socket.io.min.js:6:7324)
at socket.io.min.js:6:45242

#19

repo: aitsis/uix-components


text:
The possible Action of Automation Workflow

I create this task for Automation Workflow and this work, but I need change Action from "ImportAsRegexRule" to "Replace.." how can i do this?
{
    "id": 2,
    "desc": "test",
    "schedule": {
        "type": "Daily",
        "time": {
            "hour": 12,
            "min": 42
        },
        "iconId": 2131099698
    },
    "actions": [
        {
            "type": "ReadFile",
            "dir": "{Downloads}/CallBlocker",
            "filename": "test.csv"
        },
        {
            "type": "ParseCSV",
            "columnMapping": "{}"
        },
        {
            "type": "ImportAsRegexRule",
            "description": "test_rules",
            "priority": 3
        }
    ],
    "enabled": true,
    "workUUID": "419c5aae-812b-47f2-a3c5-b62b89982f54"
}

Please update the header of https://github.com/aj3423/SpamBlocker/issues/140 to true manual for possible action of Automation Workflow and etc.. so as not to create each time new issues. Thanks

Never mind that post, it's now historical.
Seems you want to replace the numbers everyday, why do you only want to keep the latest numbers? Why not just add them to the spam database? So you don't need to replace them, and all previous numbers will also work.
The replacement action is not implemented yet, I'll see if it's necessary.

I see, I'll add a couple of options to the action "Import as Regex Rule":

Type:
Blacklist / Whitelist

Mode:

Replace: The rule with same "description" will be replaced by the new one.
Merge: The new numbers will be merged to the rule that has same description, repeated numbers will be ignored.

it's great!

done: https://github.com/aj3423/SpamBlocker/actions/runs/11435739723


text:
Restrict zoom to a container

Hi,
Whenever I zoom into the image; it gradually starts covering the whole browser window. Is it possible to restrict the image inside a container and whenever zoomed in; it does not cover the whole browser window

@baljit92 you could wrap the Zoom Container with another container which will prevent the image to overlap.

@baljit92 you could wrap the Zoom Container with another container which will prevent the image to overlap.

do you have an example of this suggestion? My attempts have failed.

authors: MonkeyJumps baljit92 bdbch

repo: ajainarayanan/react-pan-zoom


text:
Upload 0.5.0 to pypi

Hello! Latest version on pypi is 0.4.0 from Mar' 23, could you update it to the latest version?

Thanks for the reminder!
I've uploaded version 0.5.0 to pypi.

authors: ajcr daviddavo

repo: ajcr/rolling


text:
🛑 LUXEMBURG is down

In 946f1c3, LUXEMBURG (https://www.bricks4kidz.lu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LUXEMBURG is back up in 83c8bb4.


text:
🛑 INDIA is down

In b96b373, INDIA (https://www.bricks4kidz.in) was down:

HTTP code: 500
Response time: 27351 ms

Resolved: INDIA is back up in fb73e2a.


text:
cannot use in "apply from" file

If I try to use gradle-git from an "apply from" file (e.g., apply from: 'foobar.gradle') it fails with
Cannot cast object 'org.ajoberstar.grgit.Grgit@6b0f266e' with class 'org.ajoberstar.grgit.Grgit' to class 'org.ajoberstar.grgit.Grgit'

However, the same code will work fine if its directly in a build.gradle file.
Here's the code:
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'org.ajoberstar:gradle-git:1.2.0'
    }
}

import org.ajoberstar.grgit.Grgit
import org.ajoberstar.gradle.git.release.opinion.Strategies

ext.git = Grgit.open(rootProject.projectDir)
ext.versionCode = git.log().size()
apply plugin: 'org.ajoberstar.release-opinion'
release {
    grgit = git
}

logger.lifecycle("version {}, versionCode {}", project.version, project.versionCode)

Seems like it's loading Grgit in multiple classloaders. I would suspect this is a general Gradle limitation.

That's just a guess though. May be worth doing some searches on the Grade forum.

From what I can gather, an "apply from" runs in its own classloader, which is why it needs it own buildscript block.  But since gradle-git is loaded in the "apply from" classloader, I'm not sure what's going wrong.

Interesting...

Ah, I think I'm starting to understand this a bit better.
I missed a part of my example code.  It needs to look like this:
// build.gradle

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'org.ajoberstar:gradle-git:1.2.0'      // necessary or the later 'apply plugin' won't work
    }
}

apply from: 'version-utils.gradle'

// version-utils.gradle

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'org.ajoberstar:gradle-git:1.2.0'
    }
}

import org.ajoberstar.grgit.Grgit
import org.ajoberstar.gradle.git.release.opinion.Strategies
try {
    ext.git = Grgit.open(projectDir)
    ext.versionCode = git.log().size()
    apply plugin: 'org.ajoberstar.release-opinion'
    release {
        grgit = git              // cannot cast
    }
} catch (e) {
    ext.git= null
    ext.versionCode= 0
    throw e
}
logger.lifecycle("version {}, versionCode {}", project.version, project.versionCode)

So the 'apply plugin' is happening in the main gradle classloader, while the Grgit.open is happening in the 'apply from' classloader.  I'm not well-versed with classloaders, but it seems you can't copy references across classloaders?

What I'm trying to do with this 'apply from' thing is move the gradle-git boiler-plate out of the main gradle script and into something that can just be included.
I wonder... is there a way to have gradle-git instantiate its own grgit instance when 'apply plugin' is called?  I just want to use the defaults, so it seems sort of unnecessary to need to explicitly create the grgit.

Correct if the same class is loaded in two different classloaders, the instances from the two classloaders aren't compatible. Does it work to remove the buildscript block from version-utils.gradle?
I added a org.ajoberstar.grgit plugin in 1.2.0 that just sets a grgit property on the project with the project's repository opened. I haven't integrated that with the other plugins yet, but if you wire it yourself maybe it will do what you were looking for:
apply plugin: 'org.ajoberstar.grgit'

release {
  grgit = project.grgit
}

That works pretty well!

Great! I'll add an issue to track getting the other plugins integrated with org.ajoberstar.grgit.

authors: ajoberstar paleozogt

repo: ajoberstar/gradle-git


text:
Catch Enum Errors value

Hello , I m using AJV Compiler to validate JSON Data against a defined Schemas , and I m using Literal or Enum to allow only a specific Values :
comparator:
       "strictly-greater" | "strictly-lower"  | "greater-or-equal" |"lower-or-equal" ;

However , during validation the compiler doesn't show all allowed values , it only shows :
message: "must be equal to constant"

params: Object { allowedValue: "strictly-greater" }

Can anyone assist on that , is it related to my validation logic or the AJV Compiler does catch errros for enum or literal values only for the first value ?!

@epoberezkin

Hi @Meriyemelhajoui can you please provide as simple an example as possible using Runkit (it is limited to v8.12.0 but should be good for most issues). The simpler you can make the example the better the chance I have of understanding and investigating.

Given this example of schema that requires that the user should enter a specific value for a field :
address : "address1"  | "address2"  | "address3",
Which is basically an enum values where the allowed values are address1 or address2 or address3.
While trying to validate User input against my defined schema , the AJV Compiler , catch the error if the user enter a value for address like : "address100" , but the provided error catched doesn't provide enough information such as : the value for address should be one of these allowed values : address1 , address2 or address3 . Until I have defined the property address as an enum value , then it can catch the error as it should be , which means that define enums as literals doesn't really give a clear error information while catching the error

This syntax address : "address1"  | "address2"  | "address3" is typescript, isn't it, not JSON Schema? You'll really need to provide an example in runkit so I can properly investigate.

authors: Meriyemelhajoui jasoniangreen

repo: ajv-validator/ajv


text:
Brak odświeżania licznika (dopiero po odświeżeniu strony)

Właśnie nad tym pracuje :D

fixed

authors: MichalDolata marcinlawnik

repo: akai-org/trios


text:
React-slick max height property

This is my first time using react slick in my project and i'm unable to set a max height property.
Can anyone help me with this ?

Any update on this issue pls?

This was how i fixed it, i'm not sure if it's the most conventional way but it works.
<----to set the max-height of the slick-list container---->
.slick-list{     max-height: 14rem ; }
<----to set the max-height of the images in the carousel---->
.slick-list img{  width: 100%; height: 14rem; }

Unfortunately max-height property is not the part of original jQuery plugin from which react-slick is based upon

repo: akiran/react-slick


text:
Make the container and actorsystem protected in AutoFacDependencyResolver.cs

I need to subclass the AutoFacDependencyResolver, however I am currently unable to use the class as it is given because container and actorsystem are private. So I have to copy the class into my codebase.

What issue are you running into that you need to subclass it?
But i don't mind making it protected. Ill be happy to accept PR's.

authors: Danthar netogallo


text:
Support iOS 8.0

Would it be difficult to support all of iOS 8.0?

Create a pull request https://github.com/akosma/SwiftMoment/pull/15

authors: hboylan vandyshev

repo: akosma/SwiftMoment


text:
Documentation Improvement: Add Table of Contents

Is your documentation request related to a problem? Please describe.
The existing documentation lacks a Table of Contents, making it difficult for users to navigate through the sections efficiently.
Describe the documentation you want to improved
We need to add a Table of Contents to the documentation to improve its structure and usability. No deletions are necessary.
Additional context
here's how it would look afterwards 🌟

@akshitagupta15june can you assign this issue to me?


text:
Component property is not set for key=Main

Version

react-native-router-flux v3.22.2
react-native v0.24.1

I run into this issue as written in the title of this post with a simple component named Main, and I am using redux (v3.5.1) and react-redux(v4.4.5)
'use strict';

import React, {
    Component,
    PropTypes,
    StyleSheet,
    Text,
    View,
} from 'react-native';
import { connect } from 'react-redux';
/**
 * Router
 */
import {Actions} from 'react-native-router-flux';

class Main extends Component {
    handlePress() {
        Actions.Subview({
            title: 'Subview'
        });
    }

    render() {
        return (
            <View>
                <Text>
                    {'Hello World!'}
                </Text>
            </View>
        )
    }
}

Main.propTypes = {
    key: PropTypes.string,
    dispatch: PropTypes.func.isRequired,
};

function mapStateToProps(state) {
    console.info('mapping state to props in Main.js: ', state);
    return {
        ...state
    };
}

function mapDispatchToProps(dispatch) {
    return {
        dispatch
    };
}

export default connect(mapStateToProps, mapDispatchToProps)(Main);

In the App.js (to be imported by index.ios.js), its render function is:
render() {
   const Router = connect()(RNRF.Router);
const scenes2 = Actions.create(
            <Scene key="root">
	           <Scene key="Tabbar" tabs={true} default="Main">
	              <Scene key="Main"
                       title="Main"
                       hideNavBar={true}
                       component={Main}
                       initial={true}/>

	        <Scene key="TaskList"
                       title="TaskList"
                       hideNavBar={true}
                       component={TaskList}/>
	      </Scene>
	    </Scene>
        );

    return (
            <Provider store={store}>
                <Router scenes={scenes2} />
            </Provider>
        );
}

Expected behaviour
I expect the initial screen to show Hello World as rendered by the Main Component
Actual behaviour
I see a red screen in the iOS simulator that says:
component property is not set for key=Main
iterate
Action.js @66:0

<unknown>
Actions.js @64:0
....

Are you sure that Main is not null (i.e. imported) ?

it's my bad. After removing the curly braces in the import (see below), everything works beautifully:
Changed
import { Main } from './Main';

to
import Main from './Main';

authors: aksonov rcholic

repo: aksonov/react-native-router-flux


text:
system level "stop the line"

#1328 already calls for time-based allow/disallow of new Freight production and promotions to individual stages.
In a recent conversation with a user, some interest was expressed in a system-level "stop the line" button that might be applied, for instance, in the case of an org-wide code freeze.
If this were implemented at the system level, I couldn't see not implementing it at the Project, Warehouse, and Stage levels also.
"Stop the line" is a tad dramatic, but gets the point across. Maybe we call it "pause."
I'm not committing to this feature yet, but wanted to get feedback from @jessesuen @christianh814 and the community as well.

Re-opening this because it was brought up in discussion of #1328

we need this

Most companies I talked with have some kind of change windows or freezes, including ours. So I would appreciate the option.
It would also require an opt-out for specific applications for hotfixes. Alternatively, it could require another approval step in case of a deployment during a certain time window.

authors: hghtwr krancour lknite

repo: akuity/kargo


text:
TypeScript types are not imported

Dunno is it actually your issue, but declaration for leaftlet.markercluster is not "merged" and I don't see types.

@Dorious could you check example https://codesandbox.io/s/beautiful-pike-j2l0w?file=/src/App.tsx.

Oddly it started to do that after some reinstall on whole node_modules. Thanks.

authors: Dorious akursat

repo: akursat/react-leaflet-cluster


text:
How to settings colspan?

How to settings colspan?

Any update on this?


text:
No component factory found for DialogNamePromptComponent. Did you add it to @NgModule.entryComponents?

Issue type
I'm submitting a ...  (check one with "x")

[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
I have this file inside e-commerce ->bar-chart-card
bar-chart-card.component.ts
import { NgModule } from '@angular/core';
import { Component } from '@angular/core';
import { NbMenuService, NbSidebarService } from '@nebular/theme';
import { NbDialogService } from '@nebular/theme';
import { filter, map } from 'rxjs/operators';
import { DialogNamePromptComponent } from './detail-view.component';

@Component({
  selector: 'ngx-bar-chart-card',
  templateUrl: './bar-chart-card.component.html',
  styleUrls: ['./bar-chart-card.component.scss']
})
export class BarChartCardComponent {

  flipped = false;
  cardSettingCtxMenu = [{ title: 'Profile' }, { title: 'Log out' }];

  constructor(
  	private dialogService: NbDialogService,
    private menuService: NbMenuService) {
  }

  ngOnInit() {
  	console.log("asasas");
    this.menuService.onItemClick()
      .pipe(
        filter(({ tag }) => tag === 'my-context-menu'),
        map(({ item: { title } }) => title),
      )
       .subscribe(title => this.open3());
  }

  toggleView() {
    this.flipped = !this.flipped;
  }

  open3() {
  	console.log("================");
    this.dialogService.open(DialogNamePromptComponent);
  }

}

detail-view.component.ts
import { Component } from '@angular/core';
import { NbDialogRef } from '@nebular/theme';

@Component({
  selector: 'ngx-detail-view',
  templateUrl: './detail-view.component.html'
})
export class DialogNamePromptComponent {

  constructor(protected ref: NbDialogRef<DialogNamePromptComponent>) {}

  cancel() {
    this.ref.close();
  }

  submit(name) {
    this.ref.close(name);
  }
}

I have this file inside e-commerce
e-commerce.module.ts
    import { BarChartCardComponent } from './bar-chart-card/bar-chart-card.component';
    import { DialogNamePromptComponent } from './bar-chart-card/detail-view.component';

    @NgModule({
      imports: [
        ThemeModule,
        ChartModule,
        NgxEchartsModule,
        NgxChartsModule,
        LeafletModule,
      ],
      declarations: [
    DialogNamePromptComponent,
    BarChartCardComponent
  ],
  providers: [
    CountryOrdersMapService,
  ],
  entryComponents: [BarChartCardComponent,DialogNamePromptComponent]
})
export class ECommerceModule { }

Here when i call method open3 i am getting this error:

No component factory found for DialogNamePromptComponent. Did you add it to @NgModule.entryComponents?

Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:
npm, node, OS, Browser
<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->

I believe this may be a result of not calling NbDialogModule.forChild() on your ECommerceModule.

authors: lukaszbachman mkj-git

repo: akveo/ngx-admin


text:
Retrieving data from a window in the component which opened it.

Issue type
I'm submitting a ...  (check one with "x")

[x ] bug report
[x ] feature request
[ ] question about the decisions made in the repository

Issue description
Current behavior:
I want to be able to retrieve data from a window into the component which opened that window.
Expected behavior:
Like with the modal, when you close the window I want to be able to retrieve data from that window. The modal uses the close
Steps to reproduce:
I don't know how to do it.
Related code:

insert short code snippets here

Other information:
npm, node, OS, Browser
<!--
Node, npm: `node --version` and `npm --version` 6.11.3 & v12.3.1
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?) Windows 10
Browser: Chrome/Safari/Firefox/etc? Chrome
-->

Angular, Nebular
<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
"@angular/animations": "~8.2.5",
    "@angular/cdk": "^8.0.0",
    "@angular/common": "~8.2.5",
    "@angular/compiler": "~8.2.5",
    "@angular/core": "~8.2.5",
    "@angular/forms": "~8.2.5",
    "@angular/platform-browser": "~8.2.5",
    "@angular/platform-browser-dynamic": "~8.2.5",
    "@angular/router": "~8.2.5",
    "@nebular/auth": "^4.2.2",
    "@nebular/eva-icons": "4.2.2",
    "@nebular/security": "4.2.2",
    "@nebular/theme": "^4.2.2",
-->

hi @Ancient-Dragon! To retrieve data from modal use dialog. The dialog may return result through NbDialogRef. Calling component can receive this result with onClose stream of NbDialogRef. Follow to the link and find an example with Result to learn more about your issue.

authors: Ancient-Dragon ArtemRomanovsky


text:
Android only - ScrollView within a Popover does not scroll.

🐛 Bug Report
We have a ScrollView within a Popover. On iOS it responds to scroll gestures as expected, but on Android scrolling does not work at all.
To Reproduce

Add this component to a blank screen:

export const PopoverSimpleUsageShowcase = () => {
  const [visible, setVisible] = React.useState(false);

  const renderToggleButton = () => (
    <Button onPress={() => setVisible(true)}>TOGGLE POPOVER</Button>
  );

  return (
    <Popover
      visible={visible}
      anchor={renderToggleButton}
      onBackdropPress={() => setVisible(false)}>
      <ScrollView contentContainerStyle={popoverStyles.content}>
        {[...new Array(100)].map((item, index) => (
          <Text key={index}>{`${index}. Welcome to UI Kitten 😻`}</Text>
        ))}
      </ScrollView>
    </Popover>
  );
};

const popoverStyles = StyleSheet.create({
  content: {
    alignItems: 'center',
    paddingHorizontal: 4,
    paddingVertical: 8,
  },
  avatar: {
    marginHorizontal: 4,
  },
});

Run on Android and toggle the list open.
Attempt to swipe vertically to scroll the list.

Expected behavior
When a ScrollView is placed within a Popover, scrolling is possible.
Link to runnable example or repository (highly encouraged)
App with minimal repro:
https://github.com/robinheinze/PopoverDemo

UI Kitten and Eva version

Package
Version

@eva-design/eva
"^2.0.0"

@ui-kitten/components
"^5.0.0"

Environment information
  System:
    OS: macOS 10.15.6
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 13.12.0 - ~/.nvm/versions/node/v13.12.0/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v13.12.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29, 30
      Build Tools: 28.0.3, 30.0.0
      System Images: android-28 | Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 4.0 AI-193.6911.18.40.6514223
    Xcode: 11.7/11E801a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.13.1 => 16.13.1
    react-native: 0.63.3 => 0.63.3

Hey, @robinheinze. It's happens because you don't provide height for the ScrollView.
Please apply styles for ScrollView with provided height property. Use either constant value or calculate the value you need. Have a good time =)

repo: akveo/react-native-ui-kitten


text:
TabNavigator & RKTabView

Do you have an example of using the TabNavigator with RKTabView?

Hi @Paul-Todd!
There is similar issue but in another repository: akveo/kittenTricks#17

authors: Paul-Todd malashkevich


text:
自動模式下  IMILAB EC5 Floodlight Camera 攝像頭  Camera Control  接入後 不可用 之後轉為 待命 另外 燈泡 開關有問題

Device model / 设备型号
chuangmi.camera.055a02
Component version / 插件版本
0.7.11
HA core version / HA版本
2023.8.3
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
1.IMILAB EC5 Floodlight Camera 攝像頭用账号集成添加完畢後,實體裝置攝像頭感測器會顯示"Preview of the IMILAB EC5 Floodlight Camera Camera Control" 無法顯示攝像畫面。
2.燈泡Indicator Light 開關控制理論上因該是補光燈的開關,結果控制的是攝像機藍色電源燈的開關。
Entity attributes / 实体属性
1.camera.chuangmi_055a02_b7c0_camera_control
unavailable
entity_picture: /api/camera_proxy/camera.chuangmi_055a02_b7c0_camera_control?token=91922177d208d3c47869643024d509d1a9fd5eefd439557492104f41898ce048
friendly_name: IMILAB EC5 Floodlight Camera Camera Control
supported_features: 1
2.camera.chuangmi_055a02_b7c0_camera_control
IMILAB EC5 Floodlight Camera Camera Control
idle
access_token: 3be5e6f485cff5498339a8e315c3cd685338a9e3d74842258944b65ac9c965c3
model_name: chuangmi.camera.055a02
brand: chuangmi
model: chuangmi.camera.055a02
lan_ip: 192.168.50.235
mac_address: 94:F8xxxxxxx
entity_class: MiotCameraEntity
home_room: 萬年路 客廳
miot_type: urn:miot-spec-v2:device:camera:0000A01C:chuangmi-055a02:2
camera_control.on: true
camera_control.image_rollover: 0
camera_control.night_shot: 5
camera_control.wdr_mode: true
glimmer_full_color-2-6: true
camera_control.recording_mode: 0
camera_control.motion_tracking: false
camera_control.time_watermark: true
camera_capacity: boundary,key_area
lock_region.lock_region_attr: {"lock_region":0,"legal_status":0}
white_light_control: {"switch":1,"brightness":2}
brightness_on_night-13-2: 5
hotspot: {"switch_enable":"0","ap_switch":"0","ap_name":"xiaobaishexiangji","ap_passwd":"12345678"}
people_detect_attr-10-1: {"switch":1,"start_time":"00:00","end_time":"23:59"}
object_detect_attr-10-2: {"switch":1,"start_time":"00:00","end_time":"23:59"}
fav_area:
fav_area.boundary_attr:
fav_area.key_area_attr:
fav_area.active_fav_area: 0
fav_area.motor_position: [50,93]
motion_detection: true
motion_detection.alarm_interval: 5
detection_sensitivity-5-3: 1
motion_detection_start_time-5-4: 00:00:00
motion_detection_end_time-5-5: 23:59:00
memory_card_management.status: 0
storage_total_space-4-2: 524223232
storage_free_space-4-3: 515368704
storage_used_space-4-4: 8854528
indicator_light.on: true
state_updater: lan
sub_entities: indicator_light-3, camera_control-2.on-1
entity_picture: /api/camera_proxy/camera.chuangmi_055a02_b7c0_camera_control?token=3be5e6f485cff5498339a8e315c3cd685338a9e3d74842258944b65ac9c965c3
friendly_name: IMILAB EC5 Floodlight Camera Camera Control
supported_features: 1
3.sensor.mi_6674912752_message
IMILAB EC5 Floodlight Camera: 05:10畫面變動!
entity_class: MihomeMessageSensor
filter_homes:
exclude_types: 13
msg_id: 1693732356236664800
is_new: 1
type: 6
title: 05:10畫面變動!
content: IMILAB EC5 Floodlight Camera
user_id: 6674912752
ctime: 1692652236
timestamp: 2023-08-22T05:10:36+08:00
model: chuangmi.camera.055a02
device_id: 1056944619
home_name: 萬年路
room_name: 客廳
event: smart_camera_motion
event_data:
createTime: 1692652228668
fileId: '95467141834744064'
isAlarm: true
jump2Live: false
offset: 0
startDuration: 0
prev_message: IMILAB EC5 Floodlight Camera: 05:02畫面變動!
icon: mdi:message
friendly_name: Xiaomi 6674912752 message
Xiaomi 6674912752 message
Home Assistant Logs / 系统日志
1.自行安裝整合產生錯誤。
Logger: homeassistant.helpers.entity
Source: custom_components/xiaomi_miot/core/xiaomi_cloud.py:599
Integration: Xiaomi Miot Auto (documentation, issues)
First occurred: 上午4:51:47 (32 occurrences)
Last logged: 上午5:22:47
Update for camera.chuangmi_055a02_b7c0_camera_control fails
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 714, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 472, in connect
_match_hostname(cert, self.assert_hostname or server_hostname)
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 545, in _match_hostname
match_hostname(cert, asserted_hostname)
File "/usr/local/lib/python3.11/site-packages/urllib3/util/ssl_match_hostname.py", line 155, in match_hostname
raise CertificateError("hostname %r doesn't match %r" % (hostname, dnsnames[0]))
urllib3.util.ssl_match_hostname.CertificateError: hostname 'tw.business.smartcamera.api.io.mi.com' doesn't match 'home.mi.com'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 798, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='tw.business.smartcamera.api.io.mi.com', port=443): Max retries exceeded with url: /common/app/get/eventlist?data=Og9%2F%2BQYPFHXtZF6aQSt5x2Ujz4GYAy1cAfGZgxZtC2BZFQtt%2Fagn6Ovlan%2FWqZ1n%2FHCPs4KYh1mN6HGkc6EGY7FqUK1GllYLUalJdecu5o7ty7qcUIaDatOgeYWOqWEeCjDnZ82Do36P5ua54uRda5nSVyBbmYhLO36tKUersxpspTYXGJnosGOagXUD4V0BGbcOn7aPd1EMSDATIjzsPIj%2F%2BmF2ynjj7pKiazjafTr0PNnEJhK%2BDDmeJ4thdLZS2TkeFlamvUbHpWqIBKR1b65Kw7M2kreJJTq4mA%3D%3D&rc4_hash_=JFVV5wBlF3ypew%2FUMVIYoyR2m5zLRS9%2FVdjqhA%3D%3D&signature=P%2BiGM8inV3IcrUAu7uxWEYyufFU%3D&ssecurity=%2F7qr1QpNx71Wi1eXn0wY2g%3D%3D&_nonce=QDyQYPWT9sEBrnaj (Caused by SSLError(CertificateError("hostname 'tw.business.smartcamera.api.io.mi.com' doesn't match 'home.mi.com'")))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 699, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 938, in async_device_update
await self.async_update()
File "/config/custom_components/xiaomi_miot/camera.py", line 295, in async_update
rdt = await mic.async_request_api(api, rqd, method='GET', crypt=True) or {}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 171, in async_request_api
return await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 185, in request_miot_api
rsp = self.request_rc4_api(api, params, method, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 599, in request_rc4_api
response = self.session.get(url, params=params, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 517, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='tw.business.smartcamera.api.io.mi.com', port=443): Max retries exceeded with url: /common/app/get/eventlist?data=Og9%2F%2BQYPFHXtZF6aQSt5x2Ujz4GYAy1cAfGZgxZtC2BZFQtt%2Fagn6Ovlan%2FWqZ1n%2FHCPs4KYh1mN6HGkc6EGY7FqUK1GllYLUalJdecu5o7ty7qcUIaDatOgeYWOqWEeCjDnZ82Do36P5ua54uRda5nSVyBbmYhLO36tKUersxpspTYXGJnosGOagXUD4V0BGbcOn7aPd1EMSDATIjzsPIj%2F%2BmF2ynjj7pKiazjafTr0PNnEJhK%2BDDmeJ4thdLZS2TkeFlamvUbHpWqIBKR1b65Kw7M2kreJJTq4mA%3D%3D&rc4_hash__=JFVV5wBlF3ypew%2FUMVIYoyR2m5zLRS9%2FVdjqhA%3D%3D&signature=P%2BiGM8inV3IcrUAu7uxWEYyufFU%3D&ssecurity=%2F7qr1QpNx71Wi1eXn0wY2g%3D%3D&_nonce=QDyQYPWT9sEBrnaj (Caused by SSLError(CertificateError("hostname 'tw.business.smartcamera.api.io.mi.com' doesn't match 'home.mi.com'")))
2.自行安裝整合產生錯誤。
Logger: urllib3.connection
Source: custom_components/xiaomi_miot/core/xiaomi_cloud.py:599
Integration: Xiaomi Miot Auto (documentation, issues)
First occurred: 上午4:51:47 (32 occurrences)
Last logged: 上午5:22:47
Certificate did not match expected hostname: tw.business.smartcamera.api.io.mi.com. Certificate: {'subject': ((('commonName', 'home.mi.com'),),), 'issuer': ((('countryName', 'US'),), (('organizationName', 'DigiCert, Inc.'),), (('commonName', 'RapidSSL Global TLS RSA4096 SHA256 2022 CA1'),)), 'version': 3, 'serialNumber': '0FC72ECBD2721FB74A661799810FEC8F', 'notBefore': 'May 15 00:00:00 2023 GMT', 'notAfter': 'Jun 7 23:59:59 2024 GMT', 'subjectAltName': (('DNS', 'home.mi.com'),), 'OCSP': ('http://ocsp.digicert.com',), 'caIssuers': ('http://cacerts.digicert.com/RapidSSLGlobalTLSRSA4096SHA2562022CA1.crt',), 'crlDistributionPoints': ('http://crl3.digicert.com/RapidSSLGlobalTLSRSA4096SHA2562022CA1.crl', 'http://crl4.digicert.com/RapidSSLGlobalTLSRSA4096SHA2562022CA1.crl')}

Проблему не решили ???

repo: al-one/hass-xiaomi-miot


text:
chuangmi.plug.212a01 升级最新版本后不能用了

升级0.5版本后一些传感器不可用了，只有switch显示可用，但是开关没反应
Power Consumption 不可用 Power Consumption Electric 不可用 Power Consumption Electric Current 不可用 Power Consumption Surge power 不可用 Power Consumption Voltage 不可用 Switch Temperature 不可用 Switch power_cost_month 不可用 Switch power_cost_today 不可用

我也有同型号的这个插座，没有你说的情况，实体都是正常的。请贴一下插座开关实体的属性（开发者工具 > 状态），以及是什么方式接入该设备的。

升级最新版后本地添加了两个设备 小米路由器 和米兔儿童手表 净水器A1，发现都用不了。重启了一下这个插座也用不了了。
我还原了之前的备份（添加设备之前），在升级到新新版本，发现插座是能用的。应该不是新版本的问题。
问一下添加过的设备怎么删除？添加了的设备发现支持不是很好需要删了，使用其他插件接入。

v0.5支持miio设备本地接入，但也不是所有设备，需要适配过的型号才支持。推荐通过账号（自动模式）接入设备，插件会根据设备型号自动选择本地还是云端接入。
删除设备请看常见问题：#100

authors: al-one maybeloveu


text:
请求添加一款米家洗衣机支持！

型号：米家小米滚筒洗衣机全自动 10kg尊享版（XHQG100MJ203）
想来大佬很忙，为了节省时间，能够支持状态显示就满足了，不需要控制，洗衣机控制的意义不大，毕竟洗衣服一般要现场交互的。

给出设备ID：sensor.mibx2_v7_*_washer

请通过账号(自动模式)接入，并提供实体属性、日志。

目前已经是登录米家帐号的自动模式接入，除了上面提供的设备信息，只有一个传感器：”Washer Status 不可用“，日志也是空的，显示”未找到日志条目“

在开发者工具里，状态中
状态显示为: unavailable
状态属性：
friendly_name: 洗衣机 Washer Status
supported_features: 0

请在集成选项中确保包含了该设备，目前看起来这款设备并没有被接入。

请在集成选项中确保包含了该设备，目前看起来这款设备并没有被接入。

选项中选择的筛选方式是 Exclude(排除)，且并没有排除任何一款设备，也重新更新过设备列表，洗衣机状态一直是这样。

请在开发者工具中执行下面的服务，并从HA通知中获取结果。
service: xiaomi_miot.get_properties
data:
  entity_id: sensor.mibx2_v7_xxxx_wash_status
  mapping:
    - {siid: 2, piid: 1}
    - {siid: 2, piid: 2}
    - {siid: 2, piid: 3}
    - {siid: 2, piid: 4}
    - {siid: 2, piid: 5}
    - {siid: 2, piid: 6}
    - {siid: 2, piid: 7}
    - {siid: 2, piid: 8}
    - {siid: 2, piid: 9}
    - {siid: 2, piid: 10}
    - {siid: 3, piid: 1}
  throw: true

返回的结果：
Miot properties
[]
三段代码都是一样的结果。系统里只有一个不可用的实体：sensor.mibx2_v7_1231_washer，我只能指定这个实体，才能执行代码。如果使用上面代码中的名字，使用 1231 代替 xxxx，是找不到实体的，”调用服务“按钮为灰色。

service: xiaomi_miot.get_properties
data:
  entity_id: sensor.mibx2_v7_1231_washer
  mapping:
    - siid: 2
      piid: 1
  throw: true

再试试这个

service: xiaomi_miot.get_properties
data:
  entity_id: sensor.mibx2_v7_1231_washer
  mapping:
    - siid: 2
      piid: 1
  throw: true

再试试这个

Miot properties
[]
情况一样

这款设备应该不支持本地接入，我会将其从支持本地的设备列表中移除。

我现在使用的自动接入的方式，就是需要登录小米帐号的方式

更新master分支试下

进行一次硬件重启后，已经可以了，感谢

请提供下开发者工具中的实体属性，我确认下是本地还是云端。

authors: al-one ichenyf


text:
confusion matrix: Problem with perm=...

When using confmat(yhat, y, perm=[3,2,1]  the matrix entries seem to change but the labels begin shown are not adjusted:
X, y = @load_iris;
y=coerce(y, OrderedFactor);
tree = @load SVC
treeM = machine(tree, X, y)
fit!(treeM)
yhat = predict(treeM, X);

julia> confmat(yhat, y)
              ┌─────────────────────────────────────────┐
              │              Ground Truth               │
┌─────────────┼─────────────┬─────────────┬─────────────┤
│  Predicted  │   setosa    │  versicol…  │  virginica  │
├─────────────┼─────────────┼─────────────┼─────────────┤
│   setosa    │     50      │      0      │      0      │
├─────────────┼─────────────┼─────────────┼─────────────┤
│  versicol…  │      0      │     48      │      0      │
├─────────────┼─────────────┼─────────────┼─────────────┤
│  virginica  │      0      │      2      │     50      │
└─────────────┴─────────────┴─────────────┴─────────────┘

julia> confmat(yhat, y, perm=[3, 2, 1])
              ┌─────────────────────────────────────────┐
              │              Ground Truth               │
┌─────────────┼─────────────┬─────────────┬─────────────┤
│  Predicted  │   setosa    │  versicol…  │  virginica  │
├─────────────┼─────────────┼─────────────┼─────────────┤
│   setosa    │     50      │      2      │      0      │
├─────────────┼─────────────┼─────────────┼─────────────┤
│  versicol…  │      0      │     48      │      0      │
├─────────────┼─────────────┼─────────────┼─────────────┤
│  virginica  │      0      │      0      │     50      │
└─────────────┴─────────────┴─────────────┴─────────────┘

I'm guessing the same is true for rev=... in the binary case.

closed with 6758f81

authors: ablaom tlienart


text:
Check Nile workflow

The Nile dataset is used to generate Figure 5 and several entries from Table 1 in the paper Spatio-temporal Bayesian On-line Changepoint Detection with Model Selection.
In this issue, we will check that we can regenerate the figure and values included in the table by first running nile_ICML18.py, and then paper_pictures_nileData.py.
Initial to do list:

[x] Ensure that nile_ICML18.py generates the results file needed by paper_pictures_nileData.py
[x] Update the file paths given in paper_pictures_nileData18.py

The changes in 1d1e21fd8c07274b3aa67551b0a332eee71a76da deal with the initial to do list - I can now run both scripts on my computer to generate the figure and get the MSE and NLL values for Table 1.
There is a lot of overlap between the plotting section of nile_ICML.py and paper_pictures_nileData.py - can we do something about that? It would be better to remove the plotting functionality from one of the two scripts, and either have nile_ICML18.py do everything (and get rid of paper_pictures_nileData.py) or restrict it to only detecting the CPs and saving the results. The first option would be simpler, while the second would be advantageous if there are any problems during the plotting stages - it would be easier to re-run the plotting section alone after any revisions (this won't be such an issue for the Nile dataset but could be for those that take longer).

@LouiseABowler SO COOL!! Way to go! And thank you @JeremiasKnoblauch for sharing the code so well!! 🎉 🍰 ✨
I don't have a strong opinion regarding the plotting section (I just came to say yaaaaay wooooo!) Both make sense to me so happy with whichever others prefer 😸

authors: KirstieJane LouiseABowler

repo: alan-turing-institute/bocpdms