PRI is enough ?

Hi
I get access to an E1 with PRI link.
So no PC details available.
How can i use it with SigPloit ?

Ok,  Here's my question.  If I were to use sip / ISUP is there a configuration in the end user part of the sip system to set all the necessary info like the point code global titles is all this still needed?
or is the setup for Your tool going to be different than if we were to use an ss7 interconnect and anyone needing said access can contact me for further details.  ss7 is the easy part i'm curious on the sip setup

Send me ur email please to discuss more
On Monday, 5 March 2018, devcoinfet<EMAIL_ADDRESS>wrote:

Ok, Here's my question. If I were to use sip / ISUP is there a
configuration in the end user part of the sip system to set all the
necessary info like the point code global titles is all this still needed?
or is the setup for Your tool going to be different than if we were to use
an ss7 interconnect and anyone needing said access can contact me for
further details. ss7 is the easy part i'm curious on the sip setup
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SigPloiter/SigPloit/issues/117#issuecomment-370290300,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXXuv5xW2SdrtH7VOwoDt4Mt1NyIQHRIks5tbJ6pgaJpZM4RXwQN
.

<EMAIL_ADDRESS>

hello bro please can you help me?i have network provider who are willing to give me any necessary parameters or Datas needed to go on live mode on sigploit but my major conncern bro , what are the parameters or datas need to be on live mode mostly for sms interception or sniffing
thank you

If the provider willing to give you the parameters then they know what
should they provide , did they tell you what will they provide ? If not how
did you know they are willing to provide connection ?
On Thursday, 1 November 2018, Adewale121<EMAIL_ADDRESS>wrote:

hello bro please can you help me?i have network provider who are willing
to give me any necessary parameters or Datas needed to go on live mode on
sigploit but my major conncern bro , what are the parameters or datas need
to be on live mode mostly for sms interception or sniffing
thank you
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/SigPloiter/SigPloit/issues/117#issuecomment-435161404,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXXuv7nOTJNVZpkgxOUZoL6BwLHaC7zWks5uq04zgaJpZM4RXwQN
.

No actually bro.... He asked me what I really want because the way providers work in Africa I think it's different  but here is what I temporarily give

The global title you will use

The point code you will use (client PC)

The peer point code of the provider (Peer PC)

The IP address of the providers peer for SCTP associations and

the used port (Peer IP, Peer port)

Send me ur email
On Friday, 2 November 2018, Adewale121<EMAIL_ADDRESS>wrote:

Is that all I need sir??? Your response needed urgently
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/SigPloiter/SigPloit/issues/117#issuecomment-435230793,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXXuv2Bdo6HPCRmy7q_L1c9O2uMX7O1Tks5uq5BlgaJpZM4RXwQN
.

Hi bro I have been looking for a long time, still have not found the SS7 interconnection method, maybe I can not understand the English, I have asked some VOIP providers, but they do not directly provide SS7 interconnection, I am going to find sip trunk and SMS provider Maybe I can get some data by grabbing the package. I only need the STP address and port. I have opc and dpc and globaltitle. These are the data of others. I don't know if it works for me?

@SigPloiter please email<EMAIL_ADDRESS>

Hello,
I have also been asking to a lot of SMS and VOIP providers and they don't provide SS7 access to end users. Another concern i have is if these providers that give SS7 access apply filtering rules to block certain types of SS7 messages.
Best regards.

Yes they can filter some messages of course
On Thursday, 2 May 2019, vportal<EMAIL_ADDRESS>wrote:

Hello,
I have also been asking to a lot of SMS and VOIP providers and they don't
provide SS7 access to end users. Another concern i have is if these
providers that give SS7 access apply filtering rules to block certain types
of SS7 messages.
Best regards.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SigPloiter/SigPloit/issues/117#issuecomment-488718356,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF265PYT7IT2FDKDFPQIGL3PTMB6VANCNFSM4EK7AQGQ
.


Permissions per ref

It would be great to be able to control permissions per ref.

Hi @bjarteskogoy. That would be a nice improvement.  This could be implemented now as a Groovy hook script1 or as a plugin3. The original discussion concerning ref permissions was imported as issue #332.
I don't expect to be working on this anytime soon.  If you want to submit a PR I'll be happy to review it.

Closing this as a duplicate of #332. While #332 is a rather broad request, repository level permissions have been implemented to branch/tag permissions are what is left.


Python handling

Does it works in python ? 😺

Closing this due to inactivity.
Do not hesitate to open it back if the issue arises again 🙇🏻


Add support for passing NULL parameters.

I'm working on paurkedal/ocaml-caqti#2, I need a way to pass NULL parameters, since I support option types.  Mariadb has two ways to do it, with the is_null or by declaring the field to be null by type. The latter seemed natural as it only required adding `Null to the variant used for parameter passing.

Looks good to me.

Thanks!


Error in console for snapshots page

Description
Error in console for snapshots page.
Steps to reproduce:

Login
Go to Snapshots

Actual result: Error: Uncaught (in promise): TypeError: e.getTime is not a function
TypeError: e.getTime is not a function
Expected result: No errors in console
Environment

Browser:
- [ ] Chrome version XX
- [ ] Firefox version XX
- [ ] Chromium version XX
- [ ] Opera version XX
- [ ] Safari version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

Connected REQ ID
REQ_SNAP_LIST_001
Screenshots

To test:
REQ_SNAP_LIST_001

Tested on 1489


Final review of component documentation

Final, whole-team review of the component documentation. This is the content lock pass that will include content designers, engineers, and visual/UX designers.

Added Liz and me to the ticket to reflect our participation in the review.

With final items moved into github, I am closing this issue. Any additional work will be on an as-needed basis.


Create a proxy for pseudo-randomized performance test

Expected behavior

As an intermediary between the performance test engine and LUX, forward requests from the performance test engine to LUX by replacing the URI it with the one randomly picked from pre-collected list of LUX resource URIs.

Research first, and then let Jeff/team know when it is ready for review.


(OraklNode) Set general DB timeout

Description
pgsql call timeouts after 15 seconds
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Deployment

[ ] Should publish npm package
[ ] Should publish Docker image

lgtm!
I remember seeing a similar PR before. Did we miss this function in the previous PR? 😃

it was rollbacked as I thought it was wrongly implemented, which wasn't the case


Always check out the Bazel master branch.

It doesn't necessarily match the branch to be checked out for the target
project, which is given by the --project_branch flag.

LGTM, but please fix the test.


Add conformance custom timeout config. Update to Gateway API v1.1

Add conformance custom timeout config

It plays as part of the user guide for conformance report

Update to Gateway API v1.1

Update mod dependency versions
Rename PolicyTargetReference to NamespacedPolicyTargetReference

/assign @briantkennedy

Please add some docs for how to run the conformance tests. Can be as simple as "cut/paste this command".

Done.


speed up CI

try to make CI as fast as possible... perhaps figure out if there is a better way to cache

generally speaking it is much faster now


Only allow camera, NOT galery

Hi,
When starting crop image with: CropImage.activity().start(this);, the intent chooser thingie pops up and prompts the user to select camera/gdrive/galery etc...is there a way to enforce only camera here? I want to force the user to take a new picture.
Regards,
Willem

I face the same issue, but I tried to get a rid of using the traditional way to take photo from camera first
https://developer.android.com/training/camera/photobasics.html
And then access it from FileProvider in onActivityResult
if (requestCode == REQUEST_CAMERA_TAKE_PHOTO && resultCode == this.RESULT_OK) {
            File photoFile = new File(mCurrentPhotoPath);
            if (photoFile.exists()) {
                Uri photoURI = FileProvider.getUriForFile(HomePageActivity.this,
                        "com.example.android.fileprovider",
                        photoFile);
                cropImage(photoURI);
            }
        }

 private void cropImage(Uri uri) {
        int height = (int) UIUtils.dip2px(160);
        int width = (int) UIUtils.dip2px(160);
        Intent intent = CropImage.activity(uri)
                .setCropShape(CropImageView.CropShape.OVAL)
                .setGuidelines(CropImageView.Guidelines.ON)
                .setMinCropWindowSize(width, height)
                .setMaxCropResultSize(width, height)
                .getIntent(HomePageActivity.this);
        startActivityForResult(intent, CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE);
    }

For me, it works quite nature.
You may have this issue using the above method
https://github.com/ArthurHub/Android-Image-Cropper/issues/455

hey @charlesng  what is this
int height = (int) UIUtils.dip2px(160);
int width = (int) UIUtils.dip2px(160);
what is inside dip2px method you perform ?

@birjubhatt
It is just my own custom function to convert the dp to px since different devices have different ratio on dp.

ok...thanks

@charlesng i have one question also....if i use your method for camera crop image what i have to do if i use open camera from recyclerview adapter ??
i currently use
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
((Activity) context).startActivityForResult(intent, CAMERA_REQUEST);
for camera open and in main activity i called adapter's onactivity result
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
adapter.onActivityResult(requestCode, resultCode, data);
}
if i use your suggestion to  private void cropImage(Uri uri) {} you use startActivityForResult(intent, CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE);
how can i manage them if i already in my activity result ??

@birjubhatt
What is adapter.onActivityResult(requestCode, resultCode, data) ? Is it the function of RecyclerAdapter?

@charlesng sorry for my bad english ...i dont know how to explain in english verywell...
its my custom method...its call when onactivity result call from main activity.....
i done it....i just change some point from your method
i understand your code sometime letter...thanks again..
i missed  to check startActivityForResult(intent, CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE);
condition in my code...
like you put if (requestCode == REQUEST_CAMERA_TAKE_PHOTO && resultCode == this.RESULT_OK) {}
i add ... else if( CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE){
Bundle bundle = data.getExtras();
Bitmap bitmap = bundle.getParcelable("data");
}
that gives me result of your cropImage(Uri uri) {startActivityForResult } 's result ....


Updated IntelliJ keeps showing upgrade for latest version

Create issues related to the winget.exe client here

Brief description of your issue

I have upgraded my Intellij to 2021.1.1 and winget still showing there's an upgrade for intellij (I noticed winget using different methods to showcase the version number)
Steps to reproduce

install Intellij like usually

Expected behavior

Version number has same method
Actual behavior

version number is different
IntelliJ IDEA Community Edition           JetBrains.IntelliJIDEA.Community           211.7142.45          2021.1.1  winget

Environment
[winget --info]
Windows: Windows.Desktop v10.0.19043.1023
Package: Microsoft.DesktopAppInstaller v1.11.11451.0
Any other software?

try submitting the newer version of Jetbrains IntelliJ, That's one way you can solve it.
as far as I know this is so far a bug with checking versions and everything, for example I could have speccy 1.32.77, and the author of that program made it so that it lists it on windows apps as 1.32 and then winget will think that it needs an upgrade to 1.32.77 when I already have that version, so yeah it is currently buggy and one way you can solve it submitting the newer version of the program.

It's because IntelliJ uses different version numbers for the actual install vs marketing. We've been using the marketing version number, there's not a fast way to migrate it since they don't really publish it anywhere but in the installer. This is another scenario where we need to be able to list multiple version numbers for a single manifest.

This issue was solved with PR:
#15820
#15800
#15805
This issue can now be closed

it still showing 2020.3 on my machine

isn't it should be showing 211.xxx?

@pc-v2 Try and upgrade IntelliJ

It should pull the new fix from the repository

It should pull the new fix from the repository

okay

It should pull the new fix from the repository

nope, still 2020.3

Okay, let me double-check the manifest of 2020.3, if it's a manifest issue it should be fixed, but I really think it might be CLI issue

Okay this PR #16310 should fix the problem for you @pc-v2

It seems there was no build number for this version on the website of JetBrains

the new ones are 211.7442.40,

ultimate and community has same version number

Yes, the new ones are patched, but for that version (2020.3), there's no build number at their website

And this would break any IntelliJ Community installation due to an incomplete manifest

Also, @pc-v2 after the PR goes through upgrade IntelliJ afterward!

This is happening for Ultimate as well.
When running winget upgrade -h --all winget reports there is a new version for JetBrains.IntelliJIDEA.Ultimate (2022.3 -> 2022.3.1) but does not install it.
> winget upgrade -h --all --verbose-logs
Name                 Id                              Version Available Source
-----------------------------------------------------------------------------
IntelliJ IDEA 2022.3 JetBrains.IntelliJIDEA.Ultimate 2022.3  2022.3.1  winget
1 upgrades available.

> winget --info
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.1105
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

> winget list IDEA
Name                   Id                              Version  Available Source
--------------------------------------------------------------------------------
IntelliJ IDEA 2022.3.1 JetBrains.IntelliJIDEA.Ultimate 2022.3.1           winget
IntelliJ IDEA 2022.3   JetBrains.IntelliJIDEA.Ultimate 2022.3   2022.3.1  winget

In Windows > Apps > Intalled apps I had two IntelliJ IDEA versions installed:

Removing the older version fixed the issue.
> winget list IDEA
Name                   Id                              Version  Source
-----------------------------------------------------------------------
IntelliJ IDEA 2022.3.1 JetBrains.IntelliJIDEA.Ultimate 2022.3.1 winget

> winget upgrade -h --all --verbose-logs
No installed package found matching input criteria.


Add amendment cr to lead motion slide

Adds amendment cr to the lead motion slide.
Previously the amendment cr was only present in the amendment slide but was forgotten in the motion slide

Travis failed (python tests)!


Warnings thrown

hi,
an issue I just realized we've had for a while. When running stranger on expansionhunter (3.0 and 4.0 makes no difference) we get the below posted errors. We use stranger 0.8 and the latest hg38 catalogue from the repo. What I don't really understand, for instance, expansionhunter does two separate call for huntingtons LocusID HTT, with two different repeat units. But stranger only annotates one of these, the other one throws the error: WARNING No info for repeat id HTT_CCG. Is there something I am missing?
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id DAB1_ATTTT1
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id DAB1_ATTTC
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id DAB1_ATTTT2
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id ATXN7_GCC
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id CNBP_CAGA
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id CNBP_CA
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id HTT_CCG
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id RAPGEF2_TTTTA_5P
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id RAPGEF2_TTTTA_3P
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id SAMD12_TTTTA_3P
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id SAMD12_TTTTA_5P
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id FXN_A
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id ATXN8OS_CTA
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id POLG_I
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id POLG_II
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id TNRC6A_TTTTA_5P
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id TNRC6A_TTTTA_3P
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id EIF4A3_CACA20
2021-06-09 10:30:46 rs-n1 stranger.utils[65859] WARNING No info for repeat id NOP56_CGCCTG

Hi! Warnings for loci found called but not provided with clinical annotations are expected. If you have knowledge of normal/pathological regions for these please let us know!
To understand what is going on, look at the HTT locus you mention. The well known disease expansion, a poly glutamine expansion causing CAG repeat is annotated as HTT. Adjacent to this in the genome you will also find another STR, a CCG stretch leading to poly proline in the protein. It does vary between individuals, and may or may not contribute to phenotype or confound exhu analysis. I have not been able to find any reports where expansions in the latter have been found causative of disease or consistent with a diagnosis. Hence for technical reasons both are called, but we only annotate disease for one of them in Stranger.

ok that makes sense! thanks a lot for your answer!


Figure out why XO is throwing lint error on navigator object

Overview
Builder and linter version info:
Node v6.11.0
NPM v3.10.10
XO v0.18.2

In file: src/lib/plugins/battery.js
Issue: XO throwing lint error due to absent navigator object in import list

If you run npm run lint XO will throw an error:
  src/lib/plugins/battery.js:40:5
  ✖  40:5   navigator is not defined.      no-undef
  ✖  54:5   navigator is not defined.      no-undef

Issue
navigator is not being accessed despite being inside the componentDidMount() and componentWilUnmount() methods (see this article).
TODO
Work on figuring out why navigator is not being accessed properly inside the two aforementioned methods.
Note
It should be noted that the battery plugin is still working, so perhaps navigator is being accessed and XO is just freaking out because it's not an 'imported' module.

Sorry for all the title edits, I realized I had botched the title 4 times [go me] 🙌🏻

Never mind, I realized this is caused by XO doing its job...
navigator doesn't have a 'package' so it can't be imported, it's used on runtime.
This is simply XO doing what it's supposed to do, I'm closing this issue.

I will however, add a quick fix and create a PR.


TS node Not found

tried installing this finally got it cloned but tried running ts-node src/bin/server.ts /dev/tty0 got error ts node not found

also tried ts-node src/bin/server.ts /dev/ttyACM0

perhaps a step by step install instruction from a bare bones system would help

@trentjw In order to use ts-node you need to have it installed globally or use npx ts-node


Corrected a typo in README.md / 'Packaed App'

Hi Kumar, this is my first pull request (just to correct a typo) to see if this is the correct workflow ...


[HUDI-4808] Fix HoodieSimpleBucketIndex not consider bucket num in lo…

Change Logs
Make HoodieSimpleBucketIndex also load bucket index from log file
Impact
Spark will read bucket index correctly where the log file is written by flink to mor table.
Risk level: none | low | medium | high
none
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@minihippo hi, please help me check this, I think this patch could fix the HoodieSimpleBucketIndex firstly.

Hi, @danny0405 , this is another patch for https://github.com/apache/hudi/pull/6595

LGTM

Hi @danny0405 ci succeed.


add whoburg bio

@1ozturkbe @bqpd ready for review.

also added more professional photo. should these be compressed? If so, can someone help?

rebasing and force-pushing to remove commit containing large photo


[stable/testlink] Update to the recommended pvc patterns.

This is a split-off of PR #408 to just contain the chart testlink.
If there's any commonality in changes nessary between this PR and the others that are being submitted at once, please mention them in #408.
Some things to note:

This initial PR will not be updating the Chart.yaml's version string, as I feel it should be done manually per-pr once each chart's otherwise acceptable.
An automated script created the splits and the PRs, on a per-folder basis under stable, after copying the relevent files from a backup of my local copy of #408

@k8s-bot ok to test


expression profile in cirro

We provide an option to specify the truth expression profile in the pipeline
sample,data_directory,n_cell_types,bleeding_correction,expression_profile
"my_sample","/path/to/spaceranger/dir",5,false,"/path/to/profile.csv"

Would it work with cirro?

duplicate of #34


Merge mdap-rc1 to production

Pull Request Test Coverage Report for Build 1524

0 of 0   changed or added relevant lines in 0 files are covered.
3510 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.005%) to 26.744%

Files with Coverage Reduction
New Missed Lines
%

app/multitenant/consul_pipe_router.go
2
79.03%

probe/kubernetes/logreadcloser.go
2
81.55%

probe/docker/registry.go
5
72.7%

render/detailed/detailed.codecgen.go
865
29.56%

report/report.codecgen.go
2636
35.73%

Totals

Change from base Build 1437:
-0.005%

Covered Lines:
14642

Relevant Lines:
54748

💛  - Coveralls


sockeye commands fail in distributed linux environment

Hello, I have quickly checked all the 196 closes issues and hope that I'm not duplicating any of them. Also, I have went through following link to understand installation process: https://awslabs.github.io/sockeye/setup.html
Actually, I am expected to use Sockeye in a distributed Linux environment. I am explaining the steps and errors found by me in below points:
1) pip install sockeye
when I used this, it created files like sockeye-prepare-data and sockeye-train in /home/[my user name]/.local/bin folder.
When I used both commands by giving full path ( ex: /home/[my user name]/.local/bin/sockeye-prepare-data) with necessary parameters , I got below error message:
[my user name]@[server]:~/directory1/sockeye$ cat 76154.out
/usr/bin/python: Import by filename is not supported.
/usr/bin/python: Import by filename is not supported.
2) git clone https://github.com/awslabs/sockeye.git
when I cloned their repository, files like prepare_data.py and train.py were present in /home/[my user name]/sockeye. But still, I got following error message when I used both commands by giving full path (ex: /home/[my user name]/sockeye/sockeye.prepare_data) with all the necessary parameters:
[my user name]@[server]:~/directory1/sockeye$ cat 76155.out
/usr/bin/python: Import by filename is not supported.
/usr/bin/python: Import by filename is not supported.
3) CUDA_VERSION
I know, there is an option to install using CUDA_VERSION but as it is a distributed system and for each job GPUs are allotted randomly , I am not pretty sure how to follow this.
I request you to guide me what am I doing wrong.

What happens if you call Sockeye as follows?
python -m sockeye.train
Just cloning the Github repo does not install Sockeye: you still have to use pip to install from your local copy of the files.
What do you mean by installing using CUDA_VERSION? CUDA_VERSION is a Unix environment variable, you cannot install Sockeye "with" CUDA_VERSION. CUDA is a dependency of Mxnet (which is a dependency of Sockeye).
On a cluster system you perhaps have several versions of CUDA available. When installing Sockeye, you already need to know which version of CUDA you will use Sockeye with.

Hello, thank you for replying me. Please find the details in following points:
Before replying to your questions, I uninstalled sockeye and re-installed it to confirm if I am still getting the error.

Installation
pip3 install sockeye
output: Successfully installed sockeye-2.1.7 with other libraries

Running commands

command1:   export PYTHONPATH="/home/[my user name]/.local/lib/python3.7/site-packages/sockeye"
command2:   python3 -m sockeye.prepare_data -s directory1/training.BPE.de -t directory1/training.BPE.en -o directory1/trained_data --use-cpu
command3:   python3 -m sockeye.train -d directory1/trained_data  -vs directory1/val.BPE.de  -vt directory1/val.BPE.en --max-seq-len 60   --decode-and-evaluate 500  -o directory1/model --use-cpu
But, the error I'm getting now is:
Illegal instruction
For this, I checked https://github.com/awslabs/sockeye/issues/692 , but it was with (core dumped) without any solution.

I know that I need to build and install after cloning a git repo but I don't have privilege. So I have dropped this idea.

Actually, before posting it as an issue, I checked following blog on AWS: https://aws.amazon.com/blogs/machine-learning/train-neural-machine-translation-models-with-sockeye/
It says that we can install by specifying CUDA version but, when I tried command mentioned there:
pip3 install sockeye --no-deps numpy mxnet-cu80==0.10.0
and ran following command:
sockeye prepare data: python3 -m sockeye.prepare_data -s parallel/train.BPE.hi -t parallel/train.BPE.en -o parallel/train_data
it gave me below error:
OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory
Then, I thought of not using this way.

Actually, I access that Linux server remotely with many other users. Also, I am allowed to submit a job on scheduler which randomly allots GPUs for submitted job. This is why I called it distributed system. But, I don't think it has any significance in this situation.

I am not sure what was missed in installation. Although, I have followed every mentioned step.

"with other libraries" is part of the output of running pip? Please paste the output of:
pip3 freeze | grep mxnet
What device would you like to train on: CPU (will be quite slow) or GPU? If GPU, to move forward, you would need to find out which CUDA version is available on your system. Then follow the instructions here:
https://awslabs.github.io/sockeye/setup.html
It can be helpful to start installing libraries in a clean environment, such as a new Python virtualenv:
# if the command "virtualenv" is not available
pip3 install virtualenv

# create a new virtualenv
virtualenv -p python3 venv

# activate env
source venv/bin/activate

# install libraries as usual
pip install (...)

I know that I need to build and install after cloning a git repo but I don't have privilege. So I have dropped this idea.

You do not need root privileges to install Sockeye. You can either 1) use the pip option --user or 2) work in a virtualenv (see above).

Actually, before posting it as an issue, I checked following blog on AWS: https://aws.amazon.com/blogs/machine-learning/train-neural-machine-translation-models-with-sockeye/

The blog you are referring to is 3 (!) years old - you cannot expect it to contain up-to-date information (it does not). The command you pasted from the blog installs MXNet version 0.10.0 (very outdated) and assumes that CUDA 8.0 is installed (probably not available on your system).

Hello,
Thank you for these suggestions. Please find the steps performed by me in following points:
1)  pip freeze command was ran to get following output:
[username]@[server]:~/username/sockeye$ pip3 freeze | grep mxnet
mxnet==1.6.0
mxnet-mkl==1.6.0
2) CUDA
I don't think CUDA  is available in this server. I ran following commands to confirm the same.
[myuserid]@[server]:~$ cat /proc/driver/nvidia/version
cat: /proc/driver/nvidia/version: No such file or directory
[myuserid]@[server]:~$ nvcc -V
-bash: nvcc: command not found
[myuserid]@[server]:~$ /usr/local/cuda/bin/nvcc --version
-bash: /usr/local/cuda/bin/nvcc: No such file or directory
[myuserid]@[server]:~$ nvidia-smi
-bash: nvidia-smi: command not found
[myuserid]@[server]:~$ whereis cuda
cuda:
There is no cuda directory available in /usr/local/. Perhaps, this means, that the options available in https://awslabs.github.io/sockeye/setup.html to use CUDA won't work here.
3) virtual environment
I created a virtual environment and installed sockeye using
(virEnv1) [myuserid]@[server]:~/myuserid/virtualEnvs$ pip3 install sockeye
Collecting sockeye
Then, I found following sockeye related files installed in the bin directory of my virtual environment:
(virEnv1) [myuserid]@[server]:~/myuserid/virtualEnvs/virEnv1/bin$ ls -lrt
total 4788
-rwxr-xr-x 1 myuserid users     242 Jun 30 14:44 sacrebleu
-rwxr-xr-x 1 myuserid users     268 Jun 30 14:44 sockeye-autopilot
-rwxr-xr-x 1 myuserid users     248 Jun 30 14:44 sockeye-average
-rwxr-xr-x 1 myuserid users     251 Jun 30 14:44 sockeye-embeddings
-rwxr-xr-x 1 myuserid users     249 Jun 30 14:44 sockeye-evaluate
-rwxr-xr-x 1 myuserid users     259 Jun 30 14:44 sockeye-extract-parameters
-rwxr-xr-x 1 myuserid users     255 Jun 30 14:44 sockeye-init-embed
-rwxr-xr-x 1 myuserid users     248 Jun 30 14:44 sockeye-lexicon
-rwxr-xr-x 1 myuserid users     253 Jun 30 14:44 sockeye-prepare-data
-rwxr-xr-x 1 myuserid users     249 Jun 30 14:44 sockeye-quantize
-rwxr-xr-x 1 myuserid users     247 Jun 30 14:44 sockeye-rerank
-rwxr-xr-x 1 myuserid users     246 Jun 30 14:44 sockeye-score
-rwxr-xr-x 1 myuserid users     246 Jun 30 14:44 sockeye-train
-rwxr-xr-x 1 myuserid users     250 Jun 30 14:44 sockeye-translate
-rwxr-xr-x 1 myuserid users     246 Jun 30 14:44 sockeye-vocab
Also, I can see following version of mxnet:
(virEnv1) [myuserid]@[server]:~/myuserid/virtualEnvs/virEnv1$ pip3 freeze | grep mxnet
mxnet-mkl==1.6.0
After this, I checked all the libraries installed in virtual environment, as follows:
(virEnv1) [myuserid]@[server]:~/myuserid/virtualEnvs/virEnv1$ pip3 list
Package       Version
certifi       2020.6.20
chardet       3.0.4
graphviz      0.8.4
idna          2.10
mxnet-mkl     1.6.0
numpy         1.19.0
pip           20.1.1
pkg-resources 0.0.0
portalocker   1.7.0
PyYAML        5.3.1
requests      2.24.0
sacrebleu     1.4.3
setuptools    47.3.1
sockeye       2.1.7
typing        <IP_ADDRESS>
urllib3       1.25.9
wheel         0.34.2
Moreover, I can see whereis command is able to find the related files in the virtual environment:
(virEnv1) [myuserid]@[server]:~/myuserid/virtualEnvs/virEnv1$ whereis sockeye-prepare-data
sockeye-prepare-data: /myuserid/virtualEnvs/virEnv1/bin/sockeye-prepare-data
(virEnv1) [myuserid]@[server]:~/myuserid/virtualEnvs/virEnv1$ whereis sockeye-train
sockeye-train: /myuserid/virtualEnvs/virEnv1/bin/sockeye-train
But, still, when I ran following command, as suggested in the 3rd last line of the following website: https://awslabs.github.io/sockeye/setup.html, it gave error.
(virEnv1) [myuserid]@[server]:~/myuserid/virtualEnvs/virEnv1$ sockeye-prepare-data -s training.BPE.de -t training.BPE.en -o trained_data
Illegal instruction
4) referred blog
Thank you for highlighting that it is 3 years old. I overlooked it.
Till now, I am not sure what did I miss in the steps mentioned.

mxnet==1.6.0
mxnet-mkl==1.6.0

This shows there are two different versions of mxnet installed at the same time: that can lead to problems. Always uninstall libraries before installing a different version.

I don't think CUDA is available in this server.

This is my last attempt to explain this :-)
If you are on a cluster system, it is likely that you are logged in on a small login node. The login node itself does not have libraries or resources available to use Sockeye. You seem to hint at this yourself, saying that you have to submit jobs (e.g. with SLURM) that are then run on a different instance.
The question is not whether CUDA is available in the place where you submit jobs from, you need to know if CUDA is available in the environment that submitted jobs will run in, and how to specify to the scheduler that CUDA is needed. You probably need to read documentation of this particular cluster system or check with your admin.

You did not answer my question: What device would you like to train on: CPU (will be quite slow) or GPU? If GPU, the correct way to install Sockeye is with one of the requirements files, as explained here:
https://awslabs.github.io/sockeye/setup.html

Hello,
Thank you for looking into this issue and sparing your time in guiding me. This issue was fixed by the server's Admin when he installed Sockeye to one of the GPUs.
However, I tried to install it in my personal Google Cloud Platform (GCP) and sockeye.prepare_data command worked okay there. So, it seems there was installation issue with the Server.
I will close this issue now.


feat(clamapi): Use new version of clamapi 2.1.6

related to https://github.com/audig/clamapi/issues/98


Istio-hostnetwork

Ability to run istiod pods on hostnetwork, while using helm charts for deploying them.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

Hi @chandrakanthkannam. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@googlebot I signed it!

As this version is old now, will submit a different PR to one of the active branches


[$250] [Performance] Avoid including mapbox in initial web bundle

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

What performance issue do we need to solve?
Reduce the amount of JS needed to load the app by delaying loading of resources that are not needed initially until they are used. One good candidate for this is mapbox, which is only used when creating a distance expense. The map is already not available while offline so this is not a concern.
What is the impact of this on end-users?
This app will load faster initially on web.
List any benchmarks that show the severity of the issue
We can see that mapbox is about 1mb (300kb gzip) of JS by running bundle analyzer (npm run analyze-packages). We can also see that this bundle is loaded initially by using chrome devtools network panel.
Proposed solution (if any)
Delay loading the map code until the component is rendered by using React.lazy. Offline mode is not a concern here since the map doesn't work while offline.
List any benchmarks after implementing the changes to show impacts of the proposed solution (if any)
We can see that mapbox is now in its own bundle by running npm run analyze-packages. We can also verify that this bundle is not loaded initially and only when rendering a screen that displays the map.
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Version Number: 9.0.25-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @janicduplessis
Slack conversation:
View all open jobs on Upwork
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021832118031291081965
Upwork Job ID:<PHONE_NUMBER>291081965
Last Price Increase: 2024-09-27

Issue OwnerCurrent Issue Owner: @

@neil-marcellini I know you worked with Mapbox. Do you mind taking over this issue and managing it? There is already a PR for it, I guess we'll want a C+ to review first.

Waiting for review!

@sobitneupane would you please review the PR as C+?

Hi @janicduplessis. Thanks for working on this. I want to make sure this is a problem worth solving, as is our standard practice. Would you please present some benchmarks of the load time for the app with the mapbox bundle included and separate? Or otherwise determine what percentage of the load time comes from Mapbox with a direct measure? Please detail your testing methodology as well. Was a problem and solution presented anywhere in Slack? Would you please write one in the issue description?
Once I have that info I'll feel confident about going forward with this or not.

Waiting for @janicduplessis to respond

@neil-marcellini Here's the network profile for production newdot:

We can see that the loading of JS happens in 2 steps, let's only consider the 2nd step which is when mapbox is loaded. The app loads 3 js bundles in parallel for a total of 6.6mb.
From looking at the bundle analyser result we can see that mapbox is included in chunk 62 and weights about 1mb.

Thanks for writing that out @janicduplessis. I think a 1s/15% time savings on a slow connection is worth it, but just barely. Would you please follow this guide and post your problem solution in #expensify-open-source on Slack? Once we get a good amount of thumbs up we can move forward.

Working on this today

Measured main and PR and here is the result (there was an issue with gzip compression last time I tested, so re-measured everything)
In chrome with "Fast 4G" connection. The screenshots show the part where we load the bundles in parallel. As I excepted reducing the size of some of the bundles also cause the bigger one to load faster even if its size didn't really change.
Current:

PR:

We go from 1.86s to 1.68s for the slowest bundle to load. We save 180ms, which is about 10%. On slower connection (3G) it seems to lead to slightly bigger savings, 37s -> 32s (14%). If we consider the whole loading sequence it is a pretty small improvement.
Will post a proposal in slack to see if we think this improvement is worth it.

Posted the proposal on slack.

Nice, I'm glad to have Rory's support and from others, so let's go ahead with it. 180ms isn't much for the fast 4g but 5s on 3G is big.

The PR is on staging. I'm assigning a BZ member to handle C+ payment.

@janicduplessis does not require payment (Contractor)
@sobitneupane requires payment of $250 NewDot Manual Requests

$250 approved for @sobitneupane


Switch FindBugs to use HTML reports

FindBugs XML reports are impossible to read
IMO this HTML report is way clearer:

The real problem is that not all code quality plugins support both html & xml outputs :(
👍

[Current coverage][cc-pull] is 86.53%

Merging [#169][cc-pull] into [master][cc-base-branch] will increase coverage by +5.39%

3 files (not in diff) in ...in/qualitymatters/ui were modified. more

Misses -1
Partials -6
Hits +7

1 files (not in diff) in ...emzin/qualitymatters were modified. more

Partials -1
Hits +1

2 files (not in diff) in ...in/qualitymatters/ui were modified. more

Partials -15
Hits +15

2 files (not in diff) in ...s/developer_settings were modified. more

Partials -7
Hits +7

@@           master       #169   diff @@
========================================
  Files          38         38
  Lines         557        557
  Methods         0          0
  Branches       47         47
========================================
+ Hits          452        482    +30
+ Misses         76         75     -1
+ Partials       29          0    -29

Powered by Codecov. Last updated by [cbdd569...5bf4543][cc-compare]
[cc-base-branch]: https://codecov.io/gh/artem-zinnatullin/qualitymatters/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/artem-zinnatullin/qualitymatters/compare/cbdd569b75d6914a57750ede4ee22288f610b706...5bf4543e0133886882d6147d65191afb4644745b
[cc-pull]: https://codecov.io/gh/artem-zinnatullin/qualitymatters/pull/169?src=pr

Yeah.. :+1:

Thanks @Plastix, sorry for delay!


Cannot read property subscribe of undefined

I might vrery well have been wrong at some point,
When I'm trying to instantiate the Orbitdb document store, that error appear:

ipfs-pubsub.js:16 Uncaught TypeError: Cannot read property 'subscribe' of undefined(…)

I am using ipfs-api, in the browser.

Thanks for reporting the issue! Can you you try installing ipfs-api with npm install @haad/ipfs-api and then require it as const ipfsApi = require('@haad/ipfs-api') and let me know if that works?
We're in the process of releasing go-ipfs 0.4.5 and orbit-db is using the very latest (and experimental) version from a fork of ipfs-api.
Hope this helps!

Hi,
following your advice, I downloaded, ipfs-go version 0.4.5-dev and used the @haad/ipfs-api package
I now get a 500 server error

POST http://localhost:5001/api/v0/pubsub/sub?discover=true&arg=restaurants&stream-channels=true 500 (Internal Server Error)

followed by

pubsub.js:59 Uncaught TypeError: Cannot set property 'cancel' of undefined(…)

here is my code
const Orbitdb = require('orbit-db');
const IpfsApi = require('@haad/ipfs-api');

class IpfsStore {
    node: any;
    restaurant: any;
    constructor() {
        this.node = IpfsApi( 'localhost', '5001');
        const orbitdb = new Orbitdb(this.node);
        try {
            this.restaurant = orbitdb.docstore('restaurants');
        } catch (e) {
            console.log(e);
        }
    }
}

I somehow manage to use the docstore by passing { subscribe: false } in the config object

Thanks @ticruz38 for the details! This helps. There's couple of things going on here but a bug you've just found is that the error message doesn't bubble up correctly (shouldn't be uncaught), so this is something we need to fix in orbit-db.
Passing { subscribe : false } makes orbit-db to NOT replicate with other users. Your errors comes from the replication part of the code, so that makes sense. I'll look into to this.
Meanwhile, can you confirm which version of orbit-db you have installed? Do npm ls orbit-db. If you're not on 0.16.0-beta.x, could you try and install 0.16.0-beta.1 and run it again (just to make sure you're on the latest version).
If you're on 0.16.0-beta1, then what you probably need is the 0.4.5-pre1 version of go-ipfs which is not officially released yet but can be downloaded from https://dist.ipfs.io/go-ipfs/v0.4.5-pre1. This build contains the pubsub feature that orbit-db depends on.
Oh, also, I think you have to do this.node = new IpfsApi(...) with the new keyword.

I did download the ipfs executable you sent to me, started the daemon, instantiate IpfsApi properly with the new keyword, I am on orbitdb 0.16.0-beta1, but still got the same errors. I can't use any of the store provided by orbitdb...

Sorry for your troubles. There's one more thing to try and if that doesn't make it work, I'll need to take a deeper look as I fix things.
Did you run the go-ipfs binary with --enable-pubsub-experiment (probably not since I didn't advice so)? Try that and if it doesn't work, let me know.

Don't be sorry, I am thankful for your help and for the library!
Putting the flag on the daemon removed the errors above, sadly I'm unable to put data in the docstore but also in the kvstore, when I put something in the store I get this:

OrbitDB.js:103 Uncaught (in promise) Error: Hash can't be null!(…)

well, my node_modules might have been spoil, with all the install workaround, cleaning them and make an npm install solve the problem. Thanks!

I run into the same problem as I was upgrading ipfs and orbit-db to   "ipfs": "^0.30.1",
"orbit-db": "^0.19.9"
Needed to have in ipfsConfig following the Orbitdb ToDo Example pattern

 // Configuration for IPFS instance
    const ipfsConfig = {
        repo: '/conceptipedia/mobile/ipfs',
        EXPERIMENTAL: {
            pubsub: true,
        },
        config: {
            Addresses: {
                Swarm: [
                    // Use IPFS dev signal server
                    // '/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star',
                    '/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star/'
                ]
            },
        }
    }


"Start code chat" not scrolled to when you're typing

VS Code Version: 1.79.0-insider microsoft/vscode@666396ddec7708df2b986dcc178863faaa67c14d
OS Version: macOS ventura
Logs: N/A

When the code chat box (Cmd + I) is off screen and you start typing, it should scroll it into view, like it would if you were typing anywhere else
Steps to Reproduce:

Press Cmd I
Scroll it off screen
Start typing, observe it is not scrolled into view

This is fixed in 1.80.0-insiders


Flattening of directory hierarchy ?

Quoting @191919

@gpnuma Would you please consider flattening the directory hierarchy of density code, i.e., put all source files in a single directory? The file names already do the organization job well.

I agree that a clear stance must be made, either by renaming files so their name doesn't include a hierarchy or by flattening the directory structure. I do quite like the current directory structure though at this time.


Clean up npm commands

Is your feature request related to a problem? Please describe.
Hinodes uses several npm commands defined in package.json. The current commands are somewhat cluttered and do not take advantage of using the latest available Hugo binary automatically.
Describe the solution you'd like
Clean up the npm commands, including automatic updating of the Hugo binary.
Describe alternatives you've considered
Refer to the Bootstrap repository for a more clean and concise example.
Additional context
N/A

Unfortunately hugo-bin contains several vulnerabilities that won't be fixed.

Switched to the fork https://github.com/fenneclab/hugo-bin patched by XhmikosR for the security vulnerabilities.


membrane adaptor parentage

We are picking up a mapping to
protein-membrane adaptor activity
for sad1
spindle pole body-nuclear membrane anchor activity

In pombe sad1 connects the SPB to the nuclear envelope.
Shoudl this have the parent "protein membrane adaptor?"
Note that most of the other terms connecting macromolecular complexes to membranes are under  "protein membrane adaptor?"
for example,
centromere-nuclear envelope anchor activity
cytoskeletal protein-membrane anchor activity
endoplasmic reticulum-autophagosome adaptor activity
heterochromatin-nuclear membrane anchor activity
etc.

Added missing parent


test actions

Please add do-not-review label on this PR
this is a good label to add to your PR :)
maybe /wip >> do-not-review label/wip

/verified

/unverified


Issue193 custom format behaviors

Resolves #193

I added .net 6 to the test project, but the build doesn't support it yet.


fix vulnerable deps

when i would run npm install in either client or server folders, i would get:
jamesrogers@jamesrogpremiseMBP server % npm install

up to date, audited 1292 packages in 2s

7 vulnerabilities (6 moderate, 1 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

so i ran that and now we don't see that high vulnerability warning anymore

I had to use npm audit fix --force, don't know if you did too.
npm audit fix returned fixed 0 of 3 vulnerabilities in 1882 scanned packages 3 vulnerabilities required manual review and could not be updated.
npm audit fix --force worked, and didn't break.

yeah i just did the minimal work here 😅
i'll do the full audit in another PR when i remember


[TW#23308] prf_defs.h not found

Hey, I am trying to create a bluetooth HID mouse. I tried to use the code present under tools>sdk>include>bluedroid>hid_le_prf.h
However when i try to compile the code, the IDE throws an error saying that prf_defs.h is not a valid file or header.
what am i doing wrong?
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: 06-06-2018
-I-DE name: Arduino IDE
Flash Frequency: 80Mhz
Upload Speed: 921600
I am redirected from : https://github.com/espressif/arduino-esp32/issues/1479

This header is deprecated, please refer to our BLE HID device demo in IDF.


shim: kill and delete the remain container while shutdown the sandbox

If there is still a container running in the shim and the remove pod is executed, the shim process may be retired

@mxpv Could you please review this pr? thanks.

Can you share some details what's the issue here? The expectation is that by the time we call shutdown there should be no running containers.

Yes. I had this problem with SHIM residue in a high-stress environment, and here's what I found out.
Also, I personally think that Shutdown should be to kill everything except using other pid namespace.
        t, err := shimTask.Create(ctx, opts)
	if err != nil {
		// NOTE: ctx contains required namespace information.
		m.manager.shims.Delete(ctx, taskID)

		dctx, cancel := timeout.WithContext(cleanup.Background(ctx), cleanupTimeout)
		defer cancel()

		sandboxed := opts.SandboxID != ""
		_, errShim := shimTask.delete(dctx, sandboxed, func(context.Context, string) {})
		if errShim != nil {
			if errdefs.IsDeadlineExceeded(errShim) {
				dctx, cancel = timeout.WithContext(cleanup.Background(ctx), cleanupTimeout)
				defer cancel()
			}

			shimTask.Shutdown(dctx)
			shimTask.Close()
		}

		return nil, fmt.Errorf("failed to create shim task: %w", err)
	}

When containerd sends a Create request to shim, if the environment is very busy and the shim is very slow, causing the Create request to time out, containerd will cancel Create, but if shim is already executing Create, if shim did not cancel it, containerd will continue to deliver delete requests.
t, err := shimTask.Create(ctx, opts)
if err != nil {
	.........
	_, errShim := shimTask.delete(dctx, sandboxed, func(context.Context, string) {})

Since the shim is in the process of creating, Delete is waiting for the release of the container lock in the shim. Then the Delete times out again in containerd, and containerd delivers the Shutdown request again.
t, err := shimTask.Create(ctx, opts)
if err != nil {
	.........
	_, errShim := shimTask.delete(dctx, sandboxed, func(context.Context, string) {})
	if errShim != nil {
		............
		shimTask.Shutdown(dctx)

In this case, the Shutdown request and the Delete request are waiting for the lock to be released at the same time. When Create ends in shim, there is a container inside the shim. If the Shutdown get the lock first, the Shutdown is executed first, the shim will not exit because there is a container in the shim. After the Delete ends, the shim is left behind because the containerd does not deliver the Shutdown request again.
@mxpv Thanks.


polls: Replace choice with option in the poll editing UI.

All instances of choice have been replaced with option in the UI for editing a poll. In code, option was already being used. This ensures the same terminology is used across the code, the UI and the related help center article.
Screenshots and screen captures:
Before:

After:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

The screenshot looks good to me! @timabbott this might be a quick one for you.

Merged, thanks @N-Shar-ma!


WIP: Add custom jest reporter. Refs #10

Original PR: #32
This change introduces a custom jest reporter that generates a report of the differencify tests once all tests have completed.
Requirements:

[x] Indexes all tests, saves to custom location in HTML format
[x] Includes snapshot and diff images from the test directories
[x] Includes test statuses
[ ] Is unit tested
[ ] Includes debug/log messages (eg, mismatch info)
[ ] Includes "after" image (not currently saved to disk)

To be fixed:

[ ] Current implementation does not find the diff image for whatever reason

Issues:

Custom reporter config viapackage.json is not supported by CRA

You can specify a custom reporter via cli options but you can't specify reporter config.
You can supply a custom jest.config.js via cli options but that overrides CRA's jest config.
I have set sensible config defaults until this is resolved in CRA. More info here: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#user-content-configuration

Only support jest tests

@badsyntax : should the report call happen in separate call. something like:
...
  afterAll(async () => {
    await differencify.report();
  });
...

@NimaSoroush You don't need to explicitly call it like that, you just enable the reporter via the jest reporters config. The reporter is then run when all tests are complete.
The reporter will then check every test for the existence of the snapshot image and the diff image and add those tests to the report. It's probably best to have a custom test:visual npm script that only runs the reporter on the visual tests. In that case we can configure jest to use a custom reporter via the cli options (not documented on the website).

@badsyntax : Cool, that makes sense. I was more thinking of programmatically activation/deactivation of the report. But this looks good as the first version

@NimaSoroush With this new approach we can support multiple test files. If we have to programmatically activate the report then I don't think we can support a report that indexes multiple tests.

@badsyntax : even with the thing I suggested to write the report somewhere (e.g. in .txt/json file or keep it in memory like differencify.report) while executing the test, and then when executing differencify.report() it will pick up that file/variable and generate the report?
// differencify
import { reporter } from 'reporter';

class Differencify {
  async report() {
    reporter.report();
  }
  ...
}

// page.js
import { reportObj } from 'reporter';
class Page {
  ...
  async goto(url) {
  ...
  if (this.globalConfig.generateReport) {
    reportObj['debug'] = `
      ${reportObj['debug']}
      Opening new tab...`;
  }
  ...
  }
}

// compareImage.js
  import { reportObj } from 'reporter';
  compareImage = async (capturedImage, globalConfig, testConfig) => {
    ...
    reportObj = {
      summary: 'passed',
      referenceImg: './path/reference.png',
      diffImg: './path/diff.png',
    }

what do you think?

So I actually prefer for it to be explicit like that, and this is similar to my original approach, but I found it doesn't work well with multiple test files. I changed the approach to use a custom jest reporter to support generating a report that indexes all tests.
Let's consider the following scenario:
test1.test.js - running
test2.test.js - running

test2.test.js - complete - differencify.report()
test1.test.js - complete - differencify.report()

The problem with this approach is that:

The report is generated multiple times.
test1 doesn't know anything about test2 so for each differencify.report() we'd need to do a directory scan to find snapshots, diff and metadata of all other tests.
potential race condition between test2 and test1 trying to save the report (tests are run in parallel)

With the new approach, using a custom jest reporter, it works like so:
test1.test.js - running
test2.test.js - running

test2.test.js - complete
test1.test.js - complete

all tests complete - generate report

In this case, we know which exact tests were executed, so we don't need to a directory scan, and the report is only generated once.

@NimaSoroush Hit me up on Gitter or slack if you'd like to chat in more detail about this

@badsyntax : Hey Richard, have you got any update on this PR? I am happy to help if anything left

@NimaSoroush I'll update and finish of these changes this afternoon. Very sorry for the delay.

@badsyntax : No worries Richard. Take your time and thanks for doing this. I can also help out if you want

@NimaSoroush Hi Nima. This MR is ready for review again.

@badsyntax : Hi Richard, Sorry to get back on this with a long delay. I just got some time to check this and put some comments.
I ran this locally and noticed that it only generates reports for failed tests? I'll add my generated files here. 2 tests passed and the rest failed, but in the report, I only see failed ones

Archive.zip

This PR can be closed in favor of https://github.com/NimaSoroush/differencify/pull/103


⚠ Bofrost.lu has degraded performance

In 57eb2f4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2557 ms

Resolved: Bofrost.lu performance has improved in 7e06504 after 9 minutes.


pull request for e2e test at 11/16/2016 00:45:11

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

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


hw client should handle coin selection and signing

the client might be on a different machine than where the hw server is running.
this is per conclusion of #5

I think the thrust of this issue is that hw has a signing mode (client) and a watching / caching mode, and these are frequently different machines.
We already have signing, what doesn't exist is stubbed under #128 and #129 so it's safe to close current task.


I need an indicator that a service is dial vs bind in the JSON that gets to the UI

To complete this blocked task:
https://github.com/openziti/desktop-edge-ui/issues/43

this was completed with #556


Remove print button

Clinical service print functionality is not yet implemented so I am removing the print button for now.

Coverage remained the same at 60.521% when pulling d7758d36730b8713b85583c5821708f775fe8984 on ynurmahomed:fix-service-print into 7baa80c650a6d6e826da52f565dc9a452db1fb26 on esaude:master.


WIP: update to vapor 2

Valen was a valiant warrior. May he rest in peace.

Not going to review this for now - let's get this in and then review it once we get feature/vapor-two branch working (before merging to master).

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@fd04d8b). Click here to learn what that means.
The diff coverage is 0%.

@@           Coverage Diff            @@
##             master     #63   +/-   ##
========================================
  Coverage          ?   0.22%
========================================
  Files             ?      30
  Lines             ?    1768
  Branches          ?       0
========================================
  Hits              ?       4
  Misses            ?    1764
  Partials          ?       0

Impacted Files
Coverage Δ

...s/AdminPanel/Controllers/DashboardController.swift
0% <ø> (ø)

.../Support/Middlewares/ConfigPublishMiddleware.swift
0% <ø> (ø)

Sources/AdminPanel/Support/Configuration.swift
0% <0%> (ø)

Sources/AdminPanel/Support/LeafTags/FormOpen.swift
0% <0%> (ø)

Sources/AdminPanel/Routes/BackendUsersRoutes.swift
0% <0%> (ø)

Sources/AdminPanel/Routes/LoginRoutes.swift
0% <0%> (ø)

...dminPanel/Support/LeafTags/FormCheckboxGroup.swift
0% <0%> (ø)

Sources/AdminPanel/Support/LeafTags/Active.swift
0% <0%> (ø)

Sources/AdminPanel/Support/LeafTags/Allow.swift
0% <0%> (ø)

...urces/AdminPanel/Controllers/LoginController.swift
0% <0%> (ø)

... and 19 more

Continue to review full report at Codecov.

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

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@fd04d8b). Click here to learn what that means.
The diff coverage is 0%.

@@           Coverage Diff           @@
##             master    #63   +/-   ##
=======================================
  Coverage          ?   0.2%
=======================================
  Files             ?     30
  Lines             ?   1919
  Branches          ?      0
=======================================
  Hits              ?      4
  Misses            ?   1915
  Partials          ?      0

Impacted Files
Coverage Δ

...s/AdminPanel/Controllers/DashboardController.swift
0% <ø> (ø)

.../Support/Middlewares/ConfigPublishMiddleware.swift
0% <ø> (ø)

...dminPanel/Controllers/BackendUsersController.swift
0% <0%> (ø)

...dminPanel/Support/LeafTags/FormPasswordGroup.swift
0% <0%> (ø)

...minPanel/Models/BackendUsers/BackendUserForm.swift
0% <0%> (ø)

...es/AdminPanel/Support/LeafTags/FormTextGroup.swift
0% <0%> (ø)

...ources/AdminPanel/Support/LeafTags/FormClose.swift
0% <0%> (ø)

Sources/AdminPanel/Routes/DashboardRoutes.swift
0% <0%> (ø)

Sources/AdminPanel/Routes/BackendUsersRoutes.swift
0% <0%> (ø)

Sources/AdminPanel/Support/Configuration.swift
0% <0%> (ø)

... and 19 more

Continue to review full report at Codecov.

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


Add can device name to address claim printout

Add name of CAN device to printout to make clearer when multiple CAN devices are in use

Oops. Line is longer than 100 chars, which made CI fail. Can you please amend the commit and break the line as suggested in CI?


[All parallel environments have env-id 0 ]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
after using fresh anaconda env / venv installing a fresh envpool using pip install envpool , and running :
import gym
import envpool
import numpy as np

env = envpool.make_gym("Pong-v5", num_envs=2)

action_num = env.action_space.n

action = np.random.randint(action_num, size=2)
obs, rew, done, info = env.step(action)

print(info["env_id"])

Expected behavior
The expected output is [1, 2] but I keep getting [0, 0] for some reason.
System info
Describe the characteristic of your environment:

The libraries were installed on a fresh venv.

import envpool, numpy, sys
print(envpool.__version__, numpy.__version__, sys.version, sys.platform)

0.8.4 2.0.0 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] linux

Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)
[x] I have provided a minimal working example to reproduce the bug (required)

I think this issue occurs because of some interplay between envpool and numpy==2.0.0. I downgraded to numpy==1.26.0 and it works now.

To add on to the issue/bug description: whatever the number of environment the pool, a call to reset would get me a numpy array where all the values where identical (across the observation and across the pool dimension). I was using numpy==2.0.1. Thanks to the previous comment, I changed to numpy==1.26.0, and the phenomenon I have just described does not occur anymore.


OR'ing required_if doesn't work

[x] I have looked at the documentation here first?
[x] I have looked at the examples provided that may showcase my question here?

Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
My use case is to require field A if B equals foo or B equals bar. Is this possible? I've tried the below but it doesn't work, it acts like it is ignoring the second condition. Is this expected or a bug? Is there a workaround using tags? Otherwise, I can just create a custom validation function.
Code sample, to showcase or reproduce:
https://go.dev/play/p/dx8JFtlu_lF
import (
	"fmt"

	"github.com/go-playground/validator/v10"
)

type ValTest struct {
	A []string `validate:"required_if=B ALLOW|required_if=B DENY"`
	B string   `validate:"omitempty,oneof=ALLOW ALLOW_ALL DENY DENY_ALL"`
}

func main() {
	test := ValTest{
		B: "DENY",
	}

	v := validator.New()
	err := v.Struct(&test)
	if err != nil {
		fmt.Println("err", err)
	} else {
		fmt.Println("wanted error but got nil")
	}
}

@giorgosp It does seem to work if you use a comma , instead of pipe |
type ValTest struct { 	A []string validate:"required_if=B ALLOW,|required_if=B DENY"	B string  validate:"omitempty,oneof=ALLOW ALLOW_ALL DENY DENY_ALL" }
Yes?

@giorgosp It does seem to work if you use a comma , instead of pipe | type ValTest struct { A []string validate:"required_if=B ALLOW,|required_if=B DENY"B string validate:"omitempty,oneof=ALLOW ALLOW_ALL DENY DENY_ALL" }
Yes?

This syntax panics for me.

This works for me @giorgosp based on @rwbarber2 's answer.
type ValTest struct {
	A []string `json:"a" validate:"required_if=B ALLOW,required_if=B DENY"`
	B string   `json:"b" validate:"omitempty,oneof=ALLOW ALLOW_ALL DENY DENY_ALL"`
}


Pin wheel version to 0.30.0

This PR is related to #1419

Tried pip install -r test-requirements.txt -r requirements.txt with Ubuntu 18.04/Python3, Ubuntu 16.04/Python3, Ubuntu 16.04/Python2 and it failed with azure-cli-core 2.0.35 has requirement wheel==0.30.0, but you'll have wheel 0.31.1 which is incompatible. in all three cases. So it's definitely not an Arch issue, and can cause problems for anyone starting from clean environment.


Be able to "run system" as nvim-tree

Is your feature request related to a problem? Please describe.
Sometimes I need to perform operations outside of Neovim, and be able to, for example, open a directory with the system file manager
Describe the solution you'd like
Replicate what Nvim-tree does here:
https://github.com/nvim-tree/nvim-tree.lua/blob/80cfeadf179d5cba76f0f502c71dbcff1b515cd8/doc/nvim-tree-lua.txt#L189C7-L189C7

From README

/o 	open 	Open file/folder with default system application

Closing. Should there be any issues, we can always reopen this.


dag.depth seems broken

It seems that PR #1815 introduced a bug in depth().
from qiskit import QuantumRegister, QuantumCircuit
from qiskit.converters import circuit_to_dag

qr = QuantumRegister(2)
circuit = QuantumCircuit(qr)
circuit.h(qr[0])
circuit.h(qr[1])
circuit.cx(qr[0], qr[1])
circuit.cx(qr[0], qr[1])
circuit.cx(qr[0], qr[1])
circuit.cx(qr[0], qr[1])
circuit.cx(qr[1], qr[0])
circuit.cx(qr[1], qr[0])
dag = circuit_to_dag(circuit)

assert dag.depth() == 7

Yes, the depth is zero.  The change to QuantumCircuit in #1993, that computes the depth without the DAG, is correct, i.e. 7.

The problems is that DAGNodes considers every node with the same name equal. I will have a look...

Probably the same issue that @kdk detected here https://github.com/Qiskit/qiskit-terra/pull/1815#issuecomment-474382798.

@1ucian0, @kdk and I discussed it and he pointed out that equality in Python is meant to be for when two objects are semantically equivalent which those two cx gates are as they have the same parameters. This can easily be reverted by reintroducing the version of the __eq__ method here which checks that the ids of the two operations are also the same.

Agree that the current DAGNode implementation of __hash__/__eq__ is inconsistent. From https://docs.python.org/3/reference/datamodel.html#object.hash ,

The only required property is that objects which compare equal have the same hash value; ...

If we want DAGNodes to be used as the labels of the networkx graph, we need semantically equivalent gates (as in the example) to be neq so that they can be safely hashed and compared ( line where u != v in https://networkx.github.io/documentation/stable/_modules/networkx/algorithms/dag.html#dag_longest_path is where the current example goes wrong.)
If that's the path we go, we can remove DAGNodes __hash__/__eq__ and add a weaker "semantic equivalence" check to be used in comparing DAGCircuits (which do __eq__ by semantic equivalence.)


Update localizer BreadcrumbTagHelper

BreadcrumbTagHelper, you don't need to create a class with the same language resource name and you can add a different namespace.
the example was updated so that its use can be seen.

Hello, thanks for the PR!
May I know what problem this solves? What does specifying the assembly name do?

It is a slight fix, so that you no longer have to create an unnecessary class, in the example is BreadcrumbResources.cs
Here you send it directly to the language resource which may be in another layer and may have another name space.

I see that you've added some things in the csproj, I personally never used them. If someone does want to create a class and work with it, would this approach still work?

this change does not really affect if they use it in the previous way, now they can use it in several ways

Alright, thank you again for the PR!


uiauto.dev returns HTTP 502

I've been using this UI inspector and worked perfectly as wanted. But, since today, it started not working with HTTP 502 response.
Are you currently shutting down your server for maintenance or something?

I've been using this UI inspector and worked perfectly as wanted. But, since today, it started not working with HTTP 502 response. Are you currently shutting down your server for maintenance or something?

I have the same problem

I faced the same issue, i wish it should fix as soon as posible

FYI: I switched to weditor for temporary resolution. It's not fast as uiauto.dev and has not been maintained, but works. I will stay on weditor until the issue is resolved.

You can build from source and use https://uiauto.devsleep.com temporarily.

Sorry for delay response. Fixed now.


[SPARK-47554][BUILD] Upgrade sbt-assembly to 2.2.0 and sbt-protoc to 1.0.7

What changes were proposed in this pull request?
The pr aims to upgrade:

sbt-assembly from 2.1.5 to 2.2.0
sbt-protoc from 1.0.6 to 1.0.7

Why are the changes needed?

sbt-assembly, the full release notes:
v2.20: https://github.com/sbt/sbt-assembly/releases/tag/v2.2.0
Reduce memory usage by avoiding to buffer entry contents during MergeStrategy.deduplicate in https://github.com/sbt/sbt-assembly/pull/520

sbt-protoc
https://github.com/thesamet/sbt-protoc/compare/v1.0.6...v1.0.7
The last upgrade happened one and a half years ago
https://github.com/apache/spark/pull/38049

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master.


Add ember-highcharts and setup a dataset health tab

v1:

Added ember-highcharts and configured in build file
Add a health tab to datasets page and start a container component
Setup configs to conditionally show the health tab

Choosing between ember-c3 and ember-highcharts
In choosing ember-highcharts, there are 2 reasons:

ember-highcharts is more recently maintained than ember-c3
ember-highcharts models are easier to read by humans than ember-c3. Example of bar charts being used in each:

// Ember c3 example
var chart = c3.generate({
    data: {
        columns: [
            ['data1', 30, 200, 100, 400, 150, 250],
            ['data2', 130, 100, 140, 200, 150, 50]
        ],
        type: 'bar'
    },
});

// Ember highcharts example, noticed the data is more organized than packing column title and values into a single array inside an array of columns
  chartData: [{
    name: 'Jane',
    data: [1, 0, 4]
  }, {
    name: 'John',
    data: [5, 7, 3]
  }],

ember test results:
ok 1 Chrome 68.0 - ESLint | mirage: mirage/data/schema.js
ok 2 Chrome 68.0 - ESLint | mirage: mirage/factories/access.js
...
ok 417 Chrome 68.0 - Unit | Utility | validators/urn: buildLiUrn
ok 418 Chrome 68.0 - ember-qunit: Ember.onerror validation: Ember.onerror is functioning properly

1..418
# tests 418
# pass  412
# skip  6
# fail  0

# ok

LG!

LGTM

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1276   +/-   ##
=======================================
  Coverage   12.44%   12.44%
=======================================
  Files          28       28
  Lines         643      643
  Branches      137      137
=======================================
  Hits           80       80
  Misses        563      563

Continue to review full report at Codecov.

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

Coverage remained the same at 27.757% when pulling 767da24cfa66e61fd1d34d3f6cbd94468c0f8c3f on cptran777:health-metrics-header into 1ba61e2fa5ce872bb4c5bc9793824509b1907260 on linkedin:master.


ScrollView with zIndex

Description
The ScrollView component is not respecting zIndexes.
I have prepared an example as well as a repository with a newly created React Native project that demonstrates this.
The goal is to get the circle on top of the "header" and not getting cut-off like it is now.
Note: When swapping the <ScrollView> with <View> - it works, the zIndex is respected.
import React from 'react';
import {SafeAreaView, ScrollView, StyleSheet, View} from 'react-native';

const App = () => {
  return (
    <SafeAreaView>
      <View style={styles.header} />
      <ScrollView style={styles.scrollView}>
        <View style={styles.box}>
          <View style={styles.circle} />
        </View>
      </ScrollView>
    </SafeAreaView>
  );
};

const styles = StyleSheet.create({
  header: {height: 200, backgroundColor: 'orange', zIndex: 0},
  scrollView: {
    backgroundColor: 'pink',
    zIndex: 1,
  },
  circle: {
    width: 80,
    height: 80,
    borderRadius: 40,
    backgroundColor: 'red',
  },
  box: {
    height: 1200,
    marginTop: -40,
  },
});

export default App;

Version
0.68.0
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 12.1
CPU: (10) x64 Apple M1 Max
Memory: 326.64 MB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v14.19.0/bin/yarn
npm: 6.14.16 - ~/.nvm/versions/node/v14.19.0/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8193401
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.68.0 => 0.68.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

Render a View and a ScrollView beneath it
Set a negative top margin on the View and a higher zIndex than is on the scrollView.
Observe the View getting cut off

Snack, code example, screenshot, or link to a repository
https://github.com/gunnartorfis/ScrollViewZIndexShowcase

Here's how it is suppose to look (works when swapping <ScrollView> with a <View).

No Author Feedback needed @react-native-bot

It may perhaps be that your issue is actually related to the overflow property which can take one of three values scroll, visible and hidden . The following issue explains the crux of your problem ScrollView clips children even with overflow: 'visible' #31218 .
Necessarily by design default all the scroll-able components like ScrollView and Flatlist would have to set their overflow property to scroll on the outermost wrapper which would automatically preclude the value and behavior you actually wanted to set.

const App = () => {
  return (
    <SafeAreaView >
            <View style={styles.header} />
            <View style={styles.box}>
                <View style={styles.circle} />
            </View>
            <ScrollView style={styles.scrollView} ></ScrollView>
    </SafeAreaView>
  );
};

const styles = StyleSheet.create({
  header: {height: 200, backgroundColor: 'orange' },

  scrollView: {
    backgroundColor: 'pink',
    overflow: 'visible',
    height: '100%',
    marginTop: 0,
  },
  circle: {
    width: 80,
    height: 80,
    borderRadius: 40,
    backgroundColor: 'red',

    marginTop: -40,
  },
  box: {
    height: 1200,
    backgroundColor: 'pink',

  },
});

In the snippet above I have moved the children of ScrollView out to be siblings instead, and am using the natural increasing zIndex order that follows from the structure of JSX to get the desired effect on android.

Thanks for the explanation @joe-sam. However, I need the content to be scrollable and thus moving the ScrollView's children as siblings is not a solution. I could as well swap that ScrollView for a View in order to achieve the same thing.

I also had the same problem

I have the same issue with
"react": "17.0.1",
"react-native": "0.64.0",

The issue described persists in version 0.70.6.
It would be beneficial to receive confirmation regarding whether this is a limitation of the ScrollView component or if there exists a workaround or a fix for the bug. Although I am willing to contribute to resolving this problem, I require initial guidance.

I am experiencing what appears to be a similar, if not the same, issue.
I have in my screen:

search bar component with an absolute positioned results panel (coloured black for demonstration).
horizontal scrollview x2

The search bar and the scrollviews are adjacent to each other in the component tree. I would expect that setting the zIndex or elevation of the black results panel greater than that of the ScrollViews should render it above them in the z axis.
No matter the configuration, I cannot get the black results panel to sit above the contents of the ScrollViews. I am going to try using a FlatList as an alternative incase the behaviour is different - but ideally the component of choice here is a ScrollView.

I recommend posting a completely new issue definitely with at least a basic code reproducer (for example on snack.expo.dev or similar site).
Posting screenshots alone is usually not very helpful, no one is able to see your code and based on your descriptions, can only make random guesses which is completely pointless.
You can always link here if you think the issue(s) is/are related.

This has not been resolved.

This behavior still exists, the scrollview does not respect zIndex properties. More weirdly if you have two overlapping scrollview in a scenario where another gets mounted after some time (maybe search on user input, showing some result, etc) and if interaction is going on in the first scrollview its content overlap the second scrollview even when the second scrollview has a higher zIndex.


Directly logging to application insights is possible

The docs state the following:
"Before you can use Application Insights with your mobile app, you need to onboard your app to App Center. Application Insights does not receive telemetry from your mobile app directly. Instead, your app sends custom event telemetry to App Center. Then, App Center continuously exports copies of these custom events into Application Insights as the events are received."
However, this is not true. I am using https://www.npmjs.com/package/@microsoft/applicationinsights-react-native and it is working as expected.

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

ID: 079c3c07-5f98-807d-91b5-5851a93dde9b
Version Independent ID: faf6861c-c2fb-c2c3-499f-b1e3d49f14d7
Content: Quickstart with Azure Application Insights
Content Source: articles/azure-monitor/learn/mobile-center-quickstart.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@makhoutdlw Thank you for you feedback! Appreciate your effort to continuously improve our documentation.
Can you please help us with some more information as follows:

You did not onboard your app to App Center. Is that correct?

Can you share a sample code that you have used to send telemetry directly into application insights from your mobile app?

Is the plugin capable of sending the same telemetry as the App Center which continuously exports the custom events into Application Insights as the events are received from the mobile app?

Thanks a lot again!

Correct
Sure

import {
  ApplicationInsights,
  SeverityLevel,
} from '@microsoft/applicationinsights-web';
import { ReactNativePlugin } from '@microsoft/applicationinsights-react-native';

const RNPlugin = new ReactNativePlugin();

export let insights;

export const initializeInsights = key => {
  analytics = new ApplicationInsights({
    config: {
      instrumentationKey: key,
      extensions: [RNPlugin],
    },
  });
  insights.loadAppInsights();
};

export const trackEvent = name => {
  insights.trackEvent({ name });
};

export const trackPageView = name => {
  insights.trackPageView({ name });
};

Then in my other files I can use it like so:
insights.trackPageView('MyComponent');

I don't exactly what appcenter is capable of sending. But check out this docs, it looks pretty complete
https://github.com/microsoft/ApplicationInsights-JS/blob/master/API.md#addtelemetryinitializer

Awesome this looks good. Thanks for the feedback again!
I have assigned the issue to the content author to evaluate and update as appropriate.

@makhoutdlw I updated the doc to indicate that you if you are using the Application Insights JS SDK with the React Native plugin that data is sent directly to App Insights.
I also pinged the engineering team to confirm if there was still value in using the App Center SDK if you were already using the react-native plugin:
ApplicationInsights-react-native plugin could be used along ApplicationInsights Web SDK generating a lightweight option for React Native users to send telemetry, because the SDK is entirely written in JavaScript they will not have access to different device or OS properties available in App Center SDK. Using AppInsights React plugin SDK customer need to implement their own way of detecting application crashes and send the telemetry themselves.
The update to the doc is merged internally and will go-live tomorrow. Thanks for helping us to improve our docs.

#please-close


🛡 Invalidate static ServiceAccount token of provider-local

How to categorize this PR?

/area security
/kind enhancement
What this PR does / why we need it:
This PR ensures the static ServiceAccount token for provider-local is invalidated similar to what is recommended for all other extensions.
Which issue(s) this PR fixes:
Part of #4878
Release note:

NONE

/invite @timebertt @BeckerMax

/assign


benchmarking with GPT-2

Any suggestion for benchmarking CTRL with GPT-2? Say, loss value, PPL, or any metric to measure text generation quality?

Not a direct answer to your question, but this (timely) article by @chiphuyen is really good
https://thegradient.pub/understanding-evaluation-metrics-for-language-models/

very helpful & thanks


GPU training

Using your existing code, would  I be able to train models on GPU without installing Cudnn ?

I think it should work, but I haven't tried it. Let me know if try it an
run into problems.
On Thu, Apr 28, 2016 at 2:28 PM, JakeRyan1<EMAIL_ADDRESS>wrote:

Using your existing code, would I be able to train models on GPU without
installing Cudnn ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/jcjohnson/densecap/issues/9

Okay. Thanks for your reply !


Removed use of six

Per deprecation of Python 2, this seems to have been overlooked.

Perhaps the "Don't inherit from object" should have been in a different PR.

Not overlooked, just a task on the todo list we hadn't reached yet (#3917) - so, thanks very much! :-) Rebased and merged in cde0fafe7c2abf14622dc5c2713c274e4158dc28.


Why not use $rootnamespace$ instead of hard code "Company.WpfApplication1" namespace?

references: https://docs.microsoft.com/en-us/nuget/create-packages/source-and-config-file-transformations

namespace $rootnamespace$.Models
{
    public struct CategoryInfo
    {
        public string categoryid;
        public string description;
        public string htmlUrl;
        public string rssUrl;
        public string title;
    }
}

Are you seeing this on the latest version of Stylet.Templates? That should be fixed

God, I don't know it has a update. 😢

And why not post to https://marketplace.visualstudio.com?

Isn't the Visual Studio marketplace just for Visual Studio extensions?

Please check this, there are a lot of project templates.

Stylet.Templates is dotnet new template, not a Visual Studio template (yes, there is a difference).
You can get dotnet new templates to show up in the list of templates in preview versions of Visual Studio, if you enable a preview option somewhere in settings: in the future I assume this will happen by default.
I have no intention of providing a Visual Studio template in addition to the current two templates.

OK, thanks.


set fixed for u1 and u2

Hi
how i can set fixed for u1 and u2 (limb-darkening). is that posible?

Hi @MohammadEftekhar,
Sorry for being so late to this. You can fix q1 and q2 --- which is the same :-).
Thanks!
Néstor


Add resolve function to blocking client

Add resolve to redirect domain ip.
I see, the async client is had this function.
I warp it use "elf.with_inner" like other blocking client's function.
I hope this commit will contribute to this repository.


Fixed simple markdown errors in Readme

Thanks for the contribution. However, this has been fixed and updated in the mat_templates branch which will be merged soon.  Therefore, I will close this PR.


Debug support on ChezScheme

currently the debug functionality on ChezScheme is missing. but it maybe useful to support it.

we are moving the project to gitlab. so please, follow-up there as needed. sorry for the inconvenience!
http://gitlab.com/jaor/geiser/issues/221


Generate Json Data from Json Schema

Firstly, fantastic library, extremely useful.
I have read your documentation, and samples.
I have found examples of Json Data to Json Schema but not the other way around.
Is this possible?

Awesome, Great news.
I didn’t think it would be too difficult as there are many json schema to POCO generators.
Thanks again for your insight and quick response.
Really appreciate it.

I haven't forgotten about this.  Just haven't had much time to work on it.

I've made some good progress on this over the past few days.  Had to reorganize my approach.

Due to difficulties in finding a good Regex-based string generation library, I'm not going to be able to support any of the Regex-supported keywords:

pattern
patternProperties
propertyNames (not explicitly Regex, but usually used with it)

@SirAvatar what are your requirements here?  I may be able to publish a prerelease version that suits your needs.
I have something that works for very basic schemas.  The following is not yet supported:

the above Regex items
reference keywords (e.g. $ref, dynamicRef, etc)
annotation / metadata keywords (e.g. title, description)
content* keywords
dependencies / dependent* keywords

I'd still like to add const and enum support before I release something.  I also have an idea how if/then/else could work.
Lastly, you may find that it can't generate data when you can find something that fits.  This can happen when some combination of the schema and the system's randomizer get tied in a knot.  It works most of the time (I don't have metrics), but it's not 100%.

JsonSchema.Net.DataGeneration should be available soon.  Please see the docs.


Win fix

Fix for https://github.com/metanorma/metanorma-plugin-lutaml/issues/92

This relates to https://github.com/metanorma/metanorma-utils/issues/20 , so @CAMOBAP is the one to review it. We have found that lutaml is NOT the right executable for Win, and want to make sure the choice of executable is consistent.

Thanks @Intelligent2013 @CAMOBAP !

@CAMOBAP can you please help bump version for this? Thanks!


Incorrect value for advanced voltaic pile

The value for the advanced voltaic pile should be 6400k, not 64000k which is making it better than the elite which sits at 25600k.
https://cdn.discordapp.com/attachments/425461908716519425/525841960548696099/2018-12-21_20-08-41.gif
Minecraft: 1.12.2
Forge: 2796
Nuclearcraft: 1.12h

This is fixed by resetting the battery configs - I recommended this in the changelog, but I often forget that you don't see it when updating through the launcher :P

Oops, I didn't realize a mod update wouldn't change configs.

Yeh, maybe I should have just made a new config and removed the old one... oh well :)


Need a web based API/SDK search

Thanks for making enso, truly mind boggling. Please add a way to free text search for API/SDK documentation so e.g. if I see a tutorial that talks about "to_json" I can type that in and find the docs for that specific function. Should of course be able to click on types and follow along to expand out learning from there. etc.
If such a thing already exists I certainly didn't find it so I'd suggest making it more available.

@raould we are right now working exactly on that. In the future release of Enso you will have a rich component browser with nicely integrated documentation that will be searchable, will have examples and hyperlinks to other parts of it. We might generate an HTML view out of it as well, but I'm not sure if this is what we want, as an integrated documentation in the product might give you much nicer experience. What do you think about it?
You can also find some scratch of generated docs on our website, but TBH, that was a very initial approach and I don't find the result even close to being readable: https://enso.org/docs/reference

mvp-- might just be a text input at the top of all current doc pages that runs google search with site restriction.

@raould This is how the new searcher and the new doc view will look like in a few months. Let's start with that (the doc will be searchable). I'd love to hear your thoughts after testing it. Would it work for you?

We now have the initial versions of documentation at help.enso.org.


Use of Append in a SOrted Table

Class : ZCL_EXCEL_WRITER_2007  method -> CREATE_XL_SHAREDSTRINGS
Line number 66 : -*    APPEND ls_shared_string TO shared_strings.
appending into a sorted table instead it should be
INSERT ls_shared_string INTO TABLE shared_strings.

thanks, pull requests welcome

Looks like this issue has been fixed in #654 and can be closed.


Scopo and task

[ ] specify scope task

[ ] orchestrator

[ ] question by search term
[ ] question by prefix
[ ] start text robot
[ ] start image robot
[ ] start video robot
[ ] start youtube robot


Where to apply NFT logic

Hi @QuintonC
I have question regrading condition and logic.
I want to set logic for NFT token.
const segmentConditions = segment.map((address) => {
  return {
    name: Gate for ${address.slice(0, 5)}, // Replace with your gate name
    conditionsDescription: "Any token", // Replace with your condition description
    contractAddress: address,
    imageUrl: "https://placekitten.com/g/200/200", // Replace with token collection image URL
  };
});

const gateConfigurationRequirements = {
    logic: "ANY",
    conditions: segmentConditions,
};

Can add my logic here 'logic: "ANY"' ?
I want only unlock product when NFT is there not for all only for specific NFTs.
Also any chance for getting "tokengating-example-app" using PHP template?
Thank You
Shubham

Hi @shubhamtechspawn
For future issues, when you provide a code sample can you please be sure to utilize a code block so we can read the code and help you better?

I want only unlock product when NFT is there not for all only for specific NFTs.

You can handle the logic however you would like. However, the Tokengate component supports only ALL or ANY (source).
I suggest looking at the documentation for this example application, the tokengate component, and the connect wallet component as these resources will likely hold all of the answers to your questions.

Also any chance for getting "tokengating-example-app" using PHP template?

Sorry, this is not something we can commit to.

Thank You @QuintonC
For future issues, when you provide a code sample can you please be sure to utilize a code block so we can read the code and help you better?
=> sure I will take care next time.


[Feature] Add AppFooter component and integrate it across the app

#3825  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


Typo causing error

in src/Components/Forms/SimpleAlert.php
Haslink needs to be HasLink

Thanks for reporting, it has been fixed.


Add wrap option to carousel

Sometimes applications require carousels that does not cycle continuously (having hard stops). This use case is already supported by the javascript Bootstrap library and is controlled using the wrap attribute. I implemented this feature in our carousel using plain angular.js by adding support for the wrap attribute in the carousel directive as in the following example:
    <carousel interval="myInterval" wrap="myWrap">
      <slide ng-repeat="slide in slides" active="slide.active">

Slide {{$index}}

{{slide.text}}

      </slide>
    </carousel>

I've updated the tests, documentation and demo. The following images exemplify the final result with wrap="false" for the first, middle and last slides of a carousel.

It seems that somebody was already working on a similar Feature/Issue #3397. This version of the feature adds more functionality and is different in the way it hides the left (in first slide) and right (in the last slide) controls.

I believe this maybe a duplicate of #3462

Closing as duplicate


Add support for TextDrawable

TextDrawable provides images with letter/text like the Gmail app. It has over 2k stars ;-) I already made a pull request there, but the project looks to be dead for now.

@mmrmartin thank you very much :)
Even though I do not advertisement it, my library IconicsDrawable can do the same :P


Question - plan to add JS support for request hook?

Do you plan to support hooking into the request lifecycle using JS scripts?

yes i am, note however that this "js code" is going to be running in withing nginx using njs so it will not be like using node, your functions will mostly need to be "pure" (no external network calls) and if you'll need to use node modules, the code will need to be "packed" with something like webpack ... i am researching this right now, how to make it easier to run idiomatic node code withing njs.
theoretically nothing is stopping you from taking the openresty image and "bundling" your own js hooks ... but it's a chore .... lots of things need to be set just right for this to work similar to the lua hooks