Support for --fast track in Hermes start CLI

Crate
ibc-relayer and ibc-relayer-cli
Summary
Add a start --fast mode which will directly start the relevant packet & client workers, instead of scanning all of the IBC states of all chains.
Problem Definition
Relayer operators report that Hermes can take several good minutes (10 or more in production), to start relaying. This slow start problem is mostly caused by the fact that Hermes iterates on all possible clients of a chain during startup, then it does the same with connections and channels, which takes a long time, especially given the misbehavior detection overhead.
https://github.com/informalsystems/ibc-rs/blob/8212fc8ebaa0a51fb45bc04cc656f42eab1cee68/relayer/src/supervisor/spawn.rs#L145
There is a potential to improve startup times, because in production use-cases Hermes is mostly operating on a predefined set of channels per chain, using the [chains.packet_filter] policies. One potential way to fix the slow-start problem is to leverage the fact that we already know which channels Hermes is expected to operate on, so we could avoid scanning clients/conns/channels.
Why do we need this feature?
To improve user experience, and allow operators quicker feedback upon start-ing Hermes in production use-cases.
What problems may be addressed by introducing this feature?
The problems of:

packets accumulate in a backlog if Hermes takes a long time to start relaying packets
slow feedback cycle: operators take a long time to understand if Hermes is relaying correctly or not

What benefits does IBC-rs stand to gain by including this feature?
The benefit of improving relayer operator use-case(s) and providing operators more confidence in our software.
Are there any disadvantages of including this feature?
There is a potential overlap or interference with feature requested in #1518.
Proposal
In cases when channels are defined using [chains.packet_filter] policies, we could consider giving operators the possibility to use a start --fast mode which will directly start the relevant packet & client workers, instead of scanning all of the IBC state of a chain.
Acceptance Criteria

[ ] reduce the start time from O(minutes) to O(seconds) when channel packet relaying policies are defined

For Admin Use

[X] Not duplicate issue
[X] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Should this just be the default if a chain is configured with an allow policy? We'd then fall back on scanning the chain for deny policies and if no policy is specified.


Can rajgoy01 use shorter paths?

Many lines in log files have path to source file where message was located:
MediaIoProtocols:/home/rajgoy01/WORK/sbsa/sr_oob/SR/scripts/edk2-test/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrRequiredUefiProtocols/BlackBoxTest/RequiredUefiProtocolsBBTestFunction.c:126:EFI_LOAD_FILE_PROTOCOL
Can those paths be shorter? Use some CI instead of rajgoy01 account?

Hello Marcin,
Thank you for your suggestion. Please note that the path after "edk2-test" is not entirely under our control as it is determined by SctPkg.
We will be implementing changes that involve using the Common CI account for pre-built binaries. This will help reduce the length of the first half of the path leading to the source file (~3 Directory less).
Thanks,
Rajat

/opt/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrRequiredUefiProtocols/BlackBoxTest feels shorter

Hi Marcin,
Achieving a path like for edk2-test
/opt/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrRequiredUefiProtocols/BlackBoxTest
will bring in special handling in only some scripts in the ACS build system which we want to avoid.
Is the below path generated by CI acceptable?
/home/CIUSER/ACSv2.0.0/SR/scripts/edk2-test/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrRequiredUefiProtocols/BlackBoxTest/RequiredUefiProtocolsBBTestFunction.c
This will be shorter than the example in the first message which is a non-standard path.

I am fine with whatever you make as it can always be removed from log.

Thank you for the reply, Marcin.

Hi @hrw,
With the recent CI infrastructure changes of using GitHub actions for building images, no internal paths or names are logged as part of ACS run.
The new path is :  /home/runner/work/arm-systemready/arm-systemready/SR/scripts/edk2-test/uefi-sct/
SctPkg/TestCase/UEFI/EFI/Generic/EfiCompliant/BlackBoxTest/EfiCompliantBBTestReq
uired_uefi.c
Please note that due to the GitHub actions setup, arm-systemready will come twice.
Thanks,
ACS team


Verify sync-release on stage on MP+

After the migration to the MP+ we need to be explicit about the firewall rules. We have already hit an issue with the TF API that's been fixed already.
sync-release is mostly affected by this, since it allows user actions and downloads source archives from hostings, such as crates.io or PyPI
TODO:

[x] Extend the staging allowlist with the namespaces from prod (to allow painless bootstrap)
[x] Make a blog post and urge users to try enabling stage and enable rawhide or latest Fedora release to run propose-downstream or pull-from-upstream on staging too
It's just one more PR and it should catch the firewall issues. (packit/packit.dev#724)
[ ] (optionally) go through the recent sync releases and configs to see if there are any good candidates[^1] for trying it out on stage

[^1]: ### What to consider a good candidate
* different archive hosting
we will definitely test the PyPI, so I'd look out for any other package managers provided by languages, e.g. Cargo (crates.io hosting) for Rust, Go, Gems for Ruby, npm for JS/TS
* actions
though I am definitely against allowing fetching scripts/specs/etc. from self-hosted destinations

We have decided to create a separate card for scraping the configs and trying out the potential problematic actions, therefore closing this as done.


Do not cache docker images in the Beta tests workflow

coverage: 100.0%. remained the same
when pulling 1824ccb8417199d08728d395461ce64ee21716fb on do_not_cache_docker_images_in_beta_tests
into c72023160eeaef042ad47d3c33967efa4be77292 on master.


Divide the insert_many logic to an InsertMany struct to support returning from it.

Motivation
Currently there does not seem to be any way of inserting many rows and immediately returning it. The use case for this when using database calculated columns such as id columns.

Proposed Solutions
Similar to UpdateMany introduce an InsertMany struct that has the exec_with_returning function that returns the Vec of Model impls

Current Workarounds
Immediately selecting the rows back which might not be possible always. Or the worse but always working workaround is inserting in a loop.

I would be happy to try to implement my proposed solution with some guidance.

I am also looking forward for some feature like this. The way I'm currently using it I can only retrieve the latest ID, and would be useful to get all the IDs that were inserted.

Looking forward to this feature.

yes this is very important

+1

I recently encountered a situation where this feature would be highly appreciated. It's strange that you can retrieve a vector of multiple updated models, but not when inserting them. I'm also looking forward to its implementation. In the meantime, I've created a quick and dirty workaround.
I didn’t have the time to dive deeply into the library’s code to implement it in a "clean" and "proper" manner, so I won’t be submitting a pull request. However, if anyone else finds themselves in a similar situation, feel free to use my patch as a functional starting point.
You’ll need to add a patch to your root Cargo.toml file (patches are applied globally) that points to the workaround in my fork:
[patch.crates-io]
sea-orm = { git = "https://github.com/iivvaannxx/sea-orm", branch = "insert-many-returning-vec" }

At the time of writing, this corresponds to version 1.1.0 of sea-orm. I’ll do my best to keep it updated for as long as I’m working on my current project, or until it’s officially implemented.
After patching the library, you’ll have access to a new method that can be chained after insert_many in EntityTrait, like this:
YourEntity::insert_many(vec_to_insert)
  .exec_with_returning_many(db) // instead of exec_with_returning
  .await?;

This will insert all the entries and return a Vec<Model> with the inserted results.
As I mentioned, I implemented this quickly without paying much attention to thorough testing (I only ran one test). It worked for my needs, but I haven't tested it extensively. While I don't expect any issues, it may not work for your specific use case. Additionally, it won't work for MySQL since it doesn't support RETURNING (which you may already be aware of).
If you're using SQLite, remember to enable the sqlite-use-returning-for-3_35 feature in your sea-orm dependency to make it compatible (see this for reference)


Upgrade pyinstaller to 6.3.0

bump pyinstaller to pyinstaller==6.3.0

Done in https://github.com/agardnerIT/logpusher/commit/abe4ed0bba42c8e40b70a9300465f6ce93d7aa7a


GO:1990918 & recombination

I've also looked at PMID:15238514 (Antonia requested phenotype terms), and it looks at double-strand break repair in the context of meiotic recombination. I therefore think the term Antonia requested for it, GO:1990918, can be made more specific, by changing to:
name: double-strand break repair involved in meiotic recombination
def: "The repair of double-strand breaks in DNA via homologous and nonhomologous mechanisms to reform a continuous DNA helix that contributes to reciprocal meiotic recombination." [PMID:15238514]
is_a: GO:0006302 ! double-strand break repair
relationship: part_of GO:0007131 ! reciprocal meiotic recombination
thanks,
m

Done, thanks.


Make APIs usable/testable if ansys is not installed

It is now testable
Should we close this issue or you meant something special by "usable" ?

@Gryfenfer97 I don't remember what I meant by usable, I'll close this


Add functional test for Create Order Draft happy path

also added AutoFixture

Hi @captainsafia .
Thanks for you comment.
AutoFixture is now removed.

@jflaga Approved and merged. Thanks for the contribution!


On disconnect event

When connection with wrong credentials is made emit event so we can display it to the user

If you run yarn test you should see if they all pass, and if you run yarn build it should generate new files for dist version.
I think we could achieve the same functionality by adding reason and details to connectionClosed and avoid double dispatching onDisconnect. Would this still work for your use case?

Thank you, I will do this today.
It will still work in my case.


[<FIREBASE_PRODUCT>]  The plugin cloud_firestore could not be built due to the issue above.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 22s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      83.0s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin cloud_firestore...
The plugin cloud_firestore could not be built due to the issue above.
Running Gradle task 'assembleAarRelease'..

Hi @ahmedGibran,
I see there's a similar issue that has various solutions you can try to resolve your issue.
Can you try them and see if it works for you ?

@darshankawar I have seen all the suggested solutions, but still the problem persists The problem only occurs when issuing a release and not debug

Finally I found the solution only. I had a problem issuing the SDK inside the settings file inside the gradle
First, you should go to the next track if you are facing the same problem:
Open Android Studio.
Select Open an existing Android Studio Project.
Open Gradle Script.
Now open the file "Settings"
Change the following from:
compileSdkVersion 27
to me
compileSdkVersion 30
Now just do it
Select Sync project with Gradle files from above
Now run Flutter clean
I really hope you have benefited

Finally I found the solution only. I had a problem issuing the SDK inside the settings file inside the gradle
First, you should go to the next track if you are facing the same problem:
Open Android Studio.
Select Open an existing Android Studio Project.
Open Gradle Script.
Now open the file "Settings"
Change the following from:
compileSdkVersion 27
to me
compileSdkVersion 30
Now just do it
Select Sync project with Gradle files from above
Now run Flutter clean
I really hope you have benefited

This is solved me


fixed docker command with \ for each line

Nice catch, thanks @scantineau!
To protect yourself, the project, and users of Mycroft technologies we require a Contributor Licensing Agreement (CLA) before accepting any contributions to this repository. This agreement makes it crystal clear that along with your contribution you are offering a license for us to use it within the confines of this project. You retain ownership of your contribution, this is just a license.
You will also be added to our list of excellent human beings!
Please visit https://mycroft.ai/cla to initiate this one-time signing.
Thank you!


Example in Getting Started: keras-client does not find package KerasSequentialHelper

I am trying to follow the example given in the readme, but get an error when I come to the section "Attach two Clients to the FEDn network". I get the following message when the keras-clients are starting
client_1  | Traceback (most recent call last):
client_1  |   File "train.py", line 54, in
client_1  |     from fedn.utils.kerassequential import KerasSequentialHelper
client_1  | ModuleNotFoundError: No module named 'fedn.utils.kerassequential'
client_2  | Traceback (most recent call last):
client_2  |   File "train.py", line 54, in
client_2  |     from fedn.utils.kerassequential import KerasSequentialHelper
client_2  | ModuleNotFoundError: No module named 'fedn.utils.kerassequential'
Curret directory is "test/mnist-keras". As far as I can see there is no KerasSequentialHelper, but a KerasHelper that should be called.
I use Linux Mint 18.3.

Hi, this was a naming change in 0.2 (KerasSequentialHelper->KerasHelper). Can you make sure you are running from the latest master branch? Remember to make sure that the client is rebuilt so that you get latest fedn in the keras-client image. You can ensure this by deleting the images (docker image rm <image_id>

I dowloaded from master branch just a few hours ago and everything was built then and have not tested the framework before, so I think I have the most recent. I notice that there is a test/mnist/client/train.py that contains a ref to the old package. However test/mnist-keras is current directory when I do "docker-compose -f docker-compose.yaml up --scale client=2".
mnist-client-keras              latest    987148cfb9ab   3 hours ago    3.13GB

Hmm, we should delete the test/mnist folder, it is obsolete. I have created a seprate issue for that. I wonder, could you have selected the compute package from test/mnist/package ?  If you go to localoost:8090/context you will download a copy of the compute package, untar that and check so that train.py is the same as in mnist-keras/client/train.py

Yes, I had the wrong package, but that was because I was following the guide "upload the compute package in 'test/mnist/package/mnist.tar.gz'." too literally. Maybe a clarification in the guide would help. I deleted the network, restarted everything and uploaded the correct model and seed. Now I get a different error when I submit the training. It is the clients that give an error. I cannot find any file called x.pyb in the directories and the test/mnist-keras/data directory is empty
client_2  | -- RUNNING TRAINING --
client_2  | Traceback (most recent call last):
client_2  |   File "train.py", line 21, in train
client_2  |     with open('/app/mnist_train/x.pyb','rb') as fh:
client_2  | FileNotFoundError: [Errno 2] No such file or directory: '/app/mnist_train/x.pyb'
client_2  |
client_2  | During handling of the above exception, another exception occurred:
client_2  |
client_2  | Traceback (most recent call last):
client_2  |   File "train.py", line 62, in
client_2  |     model = train(model,'../data/train.csv',settings)
client_2  |   File "train.py", line 28, in train
client_2  |     (x_train, y_train, classes) = read_data(data,nr_examples=settings['training_samples'])
client_2  |   File "/app/client/data/read_data.py", line 11, in read_data
client_2  |     data = numpy.array(pd.read_csv(filename))
client_2  |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 610, in read_csv
client_2  |     return _read(filepath_or_buffer, kwds)
client_2  |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 462, in _read
client_2  |     parser = TextFileReader(filepath_or_buffer, **kwds)
client_2  |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 819, in init
client_2  |     self._engine = self._make_engine(self.engine)
client_2  |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1050, in _make_engine
client_2  |     return mapping[engine](self.f, **self.options)  # type: ignore[call-arg]
client_2  |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1867, in init
client_2  |     self._open_handles(src, kwds)
client_2  |   File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1362, in _open_handles
client_2  |     self.handles = get_handle(
client_2  |   File "/usr/local/lib/python3.8/site-packages/pandas/io/common.py", line 642, in get_handle
client_2  |     handle = open(
client_2  | FileNotFoundError: [Errno 2] No such file or directory: '../data/train.csv'

Hi,
You need to download the data and put it in a folder ”data”.
Best regards,
Andreas Hellander
Associate Professor, Scientific Computing
25 mars 2021 kl. 10:30 skrev vesdakon<EMAIL_ADDRESS>Yes, I had the wrong package, but that was because I was following the guide "upload the compute package in 'test/mnist/package/mnist.tar.gz'." too literally. Maybe a clarification in the guide would help. I deleted the network, restarted everything and uploaded the correct model and seed. Now I get a different error when I submit the training. It is the clients that give an error. I cannot find any file called x.pyb in the directories and the test/mnist-keras/data directory is empty
client_2 | -- RUNNING TRAINING --
client_2 | Traceback (most recent call last):
client_2 | File "train.py", line 21, in train
client_2 | with open('/app/mnist_train/x.pyb','rb') as fh:
client_2 | FileNotFoundError: [Errno 2] No such file or directory: '/app/mnist_train/x.pyb'
client_2 |
client_2 | During handling of the above exception, another exception occurred:
client_2 |
client_2 | Traceback (most recent call last):
client_2 | File "train.py", line 62, in
client_2 | model = train(model,'../data/train.csv',settings)
client_2 | File "train.py", line 28, in train
client_2 | (x_train, y_train, classes) = read_data(data,nr_examples=settings['training_samples'])
client_2 | File "/app/client/data/read_data.py", line 11, in read_data
client_2 | data = numpy.array(pd.read_csv(filename))
client_2 | File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 610, in read_csv
client_2 | return _read(filepath_or_buffer, kwds)
client_2 | File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 462, in _read
client_2 | parser = TextFileReader(filepath_or_buffer, **kwds)
client_2 | File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 819, in init
client_2 | self._engine = self._make_engine(self.engine)
client_2 | File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1050, in _make_engine
client_2 | return mapping[engine](self.f, **self.options) # type: ignore[call-arg]
client_2 | File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1867, in init
client_2 | self._open_handles(src, kwds)
client_2 | File "/usr/local/lib/python3.8/site-packages/pandas/io/parsers.py", line 1362, in _open_handles
client_2 | self.handles = get_handle(
client_2 | File "/usr/local/lib/python3.8/site-packages/pandas/io/common.py", line 642, in get_handle
client_2 | handle = open(
client_2 | FileNotFoundError: [Errno 2] No such file or directory: '../data/train.csv'
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/scaleoutsystems/fedn/issues/162#issuecomment-806499220, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AASBHZWUEHZ55MHULXRGDOTTFL7B7ANCNFSM4ZXUEQNQ.
När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/
E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy

Hi again!
So I get things running now. The only thing I am struggling with at the moment is which client config file that is used by the client. There is a mnist.tar.gz in minio that I guess is downloaded and extracted when the client says "Successfully extracted compute package content in /app". Right? But changes in that file is not reflected when I start the clients. Neither is changes in test/mnist-keras/client/settings.yaml.
Thanks!

Hi,
You are correct.
So I get things running now. The only thing I am struggling with at the moment is which client config file that is used by the client. There is a mnist.tar.gz in minio that I guess is downloaded and extracted when the client says "Successfully extracted compute package content in /app”.
Yep, the first time. Then it is cached on the reducer. We do not currently support altering the package when the model has been initiated/trained. If you want to change the package, it is necessary to wipe the database and restart the reducer.  We plan to support making it easy to ”branch” the model trail in the future. For now, you need to download the model version you want to branch from, and reset the reducer, change the package, and upload that file a seed.
Right? But changes in that file is not reflected when I start the clients. Neither is changes in test/mnist-keras/client/settings.yaml.
This one is copied into the client in the Dockerfile, so you are correct, you need to rebuild the client to reflect the changes. It might be better to mount this file (but that too has downsides).
Thanks!
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/scaleoutsystems/fedn/issues/162#issuecomment-806731822, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AASBHZSPS6LK5YWRHJ3CSGLTFM2HTANCNFSM4ZXUEQNQ.
När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/
E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy


Update ja_jp.json

CCK 1.3.0 for 1.18.2

src/generated/resources/assets/create_central_kitchen/lang/unfinished/ja_jp.json is for reference only and will not be included in the production jar.
I've fixed this manually, please use src/main/resources/assets/create_central_kitchen/lang/ja_jp.json next time ;)

oh sorry! thanks for the correction
be careful from next time


Making it work on Android

Hi, I just found that the Anime4K glsl shaders can't run in mpv-android, it will be a blue screen.
After some testing, I found that it should be because of the max and min opengl built-in functions.
In the mpv-android, code like max(a, 0) //a is a vec4 is unable to compile successfully, it should be max(a, vec4(0)) or max(a, vec4(0.0f)). It works for me.
Although the shader works, it doesn't feel as good as PC.
Any ideas?

@TianZerL Hi, I just installed mpv-android,but I have some problem in the installation of Anime4k glsl. What is the installation path of glsl file in mpv-android? Or install it to any location in the memory and call the path directly?Could you please help me ?I can pay for this. Thank you!

@yushengnan1
Just unzip it to any location, and edit the config file, it is same as using it on a PC.

@yushengnan1 Hi! so did you managed to get it work?

I can't figure out where to add the glsl files on android. or how to set up the mpv.conf to find them. any example would be helpful.

@GizmoTheGreen
You can add the glsl files anywhere if I am not mistaken. You would need to write absolute paths, eg. /home/user/shaders/Anime4K_Upscale_CNN_x2_S.glsl.
mpv.conf can be edited with a file manager or by going in mpv settings -> advanced -> edit mpv.conf or edit input.conf

To find the absolute path of a folder you can go to the files app.

If I were to put all the shaders under a folder named shaders in Documents, I would write in mpv.conf:
glsl-shaders="/storage/emulated/0/shaders/Anime4K_Upscale_CNN_x2_S.glsl"

Hi. Trying to use this on My nvidia shield Pro 2019.
Could someone who has successfully done it on android just sent over the configuration file they used then I can edit, driving me insane trying to get it working.

Can someone help me with my Android setup as well? I edited the mpv.conf with paths, but how to modify input.conf? In Windows setup, it uses ctrl + 1 and such which we don't have in Android. What exactly should I enter there?


Structure view does not show class methods

meme = {}

function meme.Test()
end

function meme:Test2()
end

another = class({}) -- custom function

function another:Tester()
end

function another.Testerder2()
end

Methods are not displayed in structure view, go to method doesn't work either.

see next version


Upgraded to latest and now get "ModuleNotFoundError: No module named 'oauth2client.client"

Upgraded with git pull to the latest, and now get this for any operation:
Traceback (most recent call last):   File "/root/got-your-back/got-your-back/gyb.py", line 68, in <module>     import oauth2client.client ModuleNotFoundError: No module named 'oauth2client.client'
Tried with -1 option too.  How to install what is missing, on Ubuntu 18.04
Thank you

Run
pip install -r requirements.txt

Or just use one of the binary releases.

Thank you, installed all but still did not work.
Traceback (most recent call last):
  File "/root/got-your-back/got-your-back/gyb.py", line 68, in <module>
    import oauth2client.client
ModuleNotFoundError: No module named 'oauth2client.client'

pip install -r requirements.txt

Collecting oauth2client (from -r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/95/a9/4f25a14d23f0786b64875b91784607c2277eff25d48f915e39ff0cff505a/oauth2client-4.1.3-py2.py3-none-any.whl (98kB)
100% |████████████████████████████████| 102kB 1.7MB/s
Collecting google-api-python-client (from -r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/7a/84/ffde3c95d4162cdc8bae710fecc6873cccb05ac33afc3b2c925c74cc0150/google-api-python-client-1.7.8.tar.gz (141kB)
100% |████████████████████████████████| 143kB 2.8MB/s
Collecting httplib2>=0.9.1 (from oauth2client->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/67/33/29779c5aaeac796679a37bf798b3c2adbfaae7dbf13e966b0ab9c3aa06c0/httplib2-0.12.3.tar.gz (219kB)
100% |████████████████████████████████| 225kB 2.7MB/s
Collecting rsa>=3.1.4 (from oauth2client->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl
Collecting pyasn1>=0.1.7 (from oauth2client->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl (73kB)
100% |████████████████████████████████| 81kB 4.9MB/s
Collecting pyasn1-modules>=0.0.5 (from oauth2client->-r requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/91/f0/b03e00ce9fddf4827c42df1c3ce10c74eadebfb706231e8d6d1c356a4062/pyasn1_modules-0.2.5-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 81kB 5.1MB/s
Requirement already satisfied: six>=1.6.1 in /usr/lib/python2.7/dist-packages (from oauth2client->-r requirements.txt (line 1))
Collecting google-auth-httplib2>=0.0.3 (from google-api-python-client->-r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/33/49/c814d6d438b823441552198f096fcd0377fd6c88714dbed34f1d3c8c4389/google_auth_httplib2-0.0.3-py2.py3-none-any.whl
Collecting google-auth>=1.4.1 (from google-api-python-client->-r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/c5/9b/ed0516cc1f7609fb0217e3057ff4f0f9f3e3ce79a369c6af4a6c5ca25664/google_auth-1.6.3-py2.py3-none-any.whl (73kB)
100% |████████████████████████████████| 81kB 5.5MB/s
Collecting uritemplate<4dev,>=3.0.0 (from google-api-python-client->-r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/f6/25/66a49231b44409d7f07cfcf2506a8b070ce3c99fc47cc256bea833f24791/uritemplate-3.0.0-py2-none-any.whl
Collecting cachetools>=2.0.0 (from google-auth>=1.4.1->google-api-python-client->-r requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/39/2b/d87fc2369242bd743883232c463f28205902b8579cb68dcf5b11eee1652f/cachetools-3.1.0-py2.py3-none-any.whl
Building wheels for collected packages: google-api-python-client, httplib2
Running setup.py bdist_wheel for google-api-python-client ... done
Stored in directory: /root/.cache/pip/wheels/47/59/2a/99d7513987cb500f6efa2866caf027a1b69793156f5052bc64
Running setup.py bdist_wheel for httplib2 ... done
Stored in directory: /root/.cache/pip/wheels/9d/0d/4f/10dbcd8796ba5943695b7b32f02f0cce68b698be7e2bb1d177
Successfully built google-api-python-client httplib2
Installing collected packages: httplib2, pyasn1, rsa, pyasn1-modules, oauth2client, cachetools, google-auth, google-auth-httplib2, uritemplate, google-api-python-client
Successfully installed cachetools-3.1.0 google-api-python-client-1.7.8 google-auth-1.6.3 google-auth-httplib2-0.0.3 httplib2-0.12.3 oauth2client-4.1.3 pyasn1-0.4.5 pyasn1-modules-0.2.5 rsa-4.0 uritemplate-3.0.0

You need to use the pip that is associated with your python3 install, not Python 2. Try running it again with pip3 instead of just pip. Also, what does pip -V show?

Apologies for bothering you with this, I reinstalled with pip3
# pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

But still getting now a different set of errors when running the main script.
`# python3 /root/got-your-back/got-your-back/gyb.py --email<EMAIL_ADDRESS>--action backup && python3 /root/got-your-back/got-your-back/gyb.py --email<EMAIL_ADDRESS>--action restore --local-folder<EMAIL_ADDRESS>--label-restored "$(date<EMAIL_ADDRESS>Traceback (most recent call last):
File "/root/got-your-back/got-your-back/gyb.py", line 2071, in
main(sys.argv[1:])
File "/root/got-your-back/got-your-back/gyb.py", line 1391, in main
doGYBCheckForUpdates(debug=options.debug)
File "/root/got-your-back/got-your-back/gyb.py", line 422, in doGYBCheckForUpdates
(_, c) = anonhttpc.request(check_url, u'GET', headers=headers)
File "/usr/lib/python3/dist-packages/httplib2/init.py", line 1313, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/python3/dist-packages/httplib2/init.py", line 1063, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python3/dist-packages/httplib2/init.py", line 986, in _conn_request
conn.connect()
File "/usr/lib/python3.6/http/client.py", line 1400, in connect
server_hostname=server_hostname)
File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/usr/lib/python3.6/ssl.py", line 817, in init
self.do_handshake()
File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:847)`

Don't run GYB as root. This is a bad idea and very insecure. GYB requires no special privileges and should be run as a regular user.
Consider just using one of the binary releases of GYB, these already have all the libraries compiled, has Python 3.7 built-in and tested and make upgrading much simpler.

ok, thank you!  I liked being able to upgrade with git pull.  But I guess I will give up on that.
Will the binaries use all my existing databases and local directories etc?

Tried now from non-root user, different issues
`mal@otp7:~$ bash <(curl -s -S -L https://git.io/gyb-install)
This Linux distribution uses glibc 2.27
Using GYB compiled against glibc2.23
Checking GitHub URL https://api.github.com/repos/jay0lee/got-your-back/releases for  GYB release...
Getting file and download URL...
Downloading file gyb-1.25-linux-x86_64-glibc2.23.tar.xz from https://github.com/jay0lee/got-your-back/releases/download/v1.25/gyb-1.25-linux-x86_64-glibc2.23.tar.xz to /tmp/tmp.plneJtRwZ7.
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   628    0   628    0     0   1670      0 --:--:-- --:--:-- --:--:--  1670
100 7377k  100 7377k    0     0  4000k      0  0:00:01  0:00:01 --:--:-- 6756k
Extracting archive to /home/mal/bin
Finished extracting GYB archive.
Please enter your email address<EMAIL_ADDRESS>Go to the following link in your browser:
https://accounts.google.com/o/oauth2/v2/auth?client_id=297408095146-fug707qsjv4ikron0hugpevbrjhkmsk7.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform&login_hint=mal%40malpage.com&access_type=online&response_type=code

Enter verification code: 4/RgGUm44F5Vss_9MrbShFc82y1ee_XF91SCwWYNCMq3BQCXJJ9MXl4zE
Authentication successful.
Creating project "Got Your Back Project"...
Checking project status...
ERROR: tried to retrieve https://raw.githubusercontent.com/jay0lee/got-your-back/master/project-apis.txt? but got 404
Project creation complete.`

Just pushed 1.26 now that should fix that issue, can you try the install command again now? Note that it may take a few tries before it sees GYB 1.26 correctly due to propagation delays on GitHub's side.

Still get this, but I am not sure if I am pulling 1.26 or not

ERROR: tried to retrieve https://raw.githubusercontent.com/jay0lee/got-your-back/master/project-apis.txt? but got 404

Yes, it is 1.26, same issue

Getting file and download URL...

Downloading file gyb-1.26-linux-x86_64-glibc2.23.tar.xz from https://github.com/jay0lee/got-your-back/releases/download/v1.26/gyb-1.26-linux-x86_64-glibc2.23.tar.xz to /tmp/tmp.TvgnRhaoAV.

OK, found one more issue. Just pushed 1.27, can you try again now?

OK, it is working, but became super complex..   I jumped through a lot of hoops on google pages, with all the codes, and now stuck again here:
Are you ready to authorize GYB to backup and restore G Suite user email? (yes or no) yes
Great! Checking service account scopes.This will fail the first time. Follow the steps to authorize and retry. It can take a few minutes for scopes to PASS after they've been authorized in the admin console.

 Scope: https://mail.google.com/                                     FAIL
 Scope: https://www.googleapis.com/auth/apps.groups.migration        FAIL
 Scope: https://www.googleapis.com/auth/drive.appdata                PASS

SOME SCOPES FAILED! Please go to:

https://admin.google.com/MYDOMAIN.com/AdminHome?#OGX:ManageOauthClients

and grant Client name:

110341065347914974573

Access to scopes:

https://mail.google.com/,
https://www.googleapis.com/auth/apps.groups.migration,
https://www.googleapis.com/auth/drive.appdata

The issue is, that on this page:
https://admin.google.com/MYDOMAIN.com/AdminHome?#OGX:ManageOauthClients
It will only allow one of the above scopes at a time.  When I enter one, the other one gets deleted.  It only allows one.  Without all three, your script will not continue.
Can we still use old versions?  This seems like a lot has changed, and it is scary giving so many authorisations.  Why does it need access to google drive (for example)?


WPF: How to call ListView PreviewMouseLeftButtonUp click event

Hi,
I have a ListView and on click of PreviewMouseLeftButtonUp I'm calling one common method and based on the ListViewItem name I'm calling different functions. Each function will create new child window and shows.
My Test cases are passing but child windows are not opening.
Thanks in advance.

Can you share the winapp app logs.

Can you share the winapp app logs.

Hi @anunay1 ,
Thanks for reply.I got the solution for above scenario and managed to work done.
Thanks again. :)


Build generates multiple tlog folders

When building my project, I'm getting a warning from MSBuild saying:
MSB8028: The intermediate directory (<intermediate directory here>) contains files shared from another project (<project name here>)

What's interesting is the shared project name is the exact same as the project I'm currently building. Upon investigation into the folder it complains about, I noticed MSBuild is sometimes creating multiple tlog folders. Since the name of my project is long, the folder hierarchy looks something like this:
|-IntermediateDir
    |-MyProjectNameIsL.123454678.tlog
    |-MyProjectNameIsL.ABCDEFGH.tlog

Note that MyProjectNameIsL is not a typo, it is to exemplify the length of my project's name and why MSBuild appears to serialize it. For the purpose of this question the name of the project is MyProjectNameIsLong.
If I delete these folders, it works fine for the first build but reports a warning for the second. It appears that MSBuild forgets about the existence of the original tlog folder and just creates a new one. Why is this the case?

This message comes from the C++ targets. On my machine it's from c:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets:
<!-- lastbuildstate is a unique file writen to by each build. Multiple of this file can mean that the IntDir is shared by more the one project. -->
<ItemGroup>
  <AllTlogLocation Include="$(IntDir)*.tlog\*.lastbuildstate" Exclude="$(LastBuildState)" Condition="'$(IntDirSharingDetected)' == ''"/>
</ItemGroup>

<PropertyGroup>
  <IntDirSharingDetected Condition="'@(AllTlogLocation)' != ''">true</IntDirSharingDetected>
  <IntDirSharingProjects Condition="'@(AllTlogLocation)' != ''">@(AllTlogLocation->'%(Filename).vcxproj', ', ')</IntDirSharingProjects>
</PropertyGroup>

<VCMessage Code="MSB8028" Type="Warning" Arguments="$(IntDirSharingProjects);$(IntDir)" Condition="'$(IgnoreWarnIntDirSharingDetected)' != 'true' and '$(IntDirSharingDetected)' == 'true'"/>

LastBuildState is written to TLogLocation, which is defined in C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.BuildSteps.Targets:
<!-- TLogLocation requires trailing slash. -->
<TLogLocation Condition="'$(TLogLocation)' == '' and '$(ProjectName)' != '' and '$(ProjectGuid)' != '' and '$(ProjectName.Length)' > '16'">$(IntDir)$(ProjectName.Substring(0,8)).$(ProjectGuid.Substring(1,8)).tlog\</TLogLocation>
<TLogLocation Condition="'$(TLogLocation)' == ''">$(IntDir)$(ProjectName).tlog\</TLogLocation>

That explains the truncated names and the numbers. Do you perhaps have multiple projects with the same name prefix and different project GUIDs?
The C++ targets aren't open source and are supported by the C++ team, not the MSBuild team that works in this repo, so the best thing to do would be to use their support channels. But the IgnoreWarnIntDirSharingDetected property looks interesting . . .


Discrepancy between Markdown rendering of auto-links (GitHub, Marketplace, VS Code)

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

VS Code Version: 1.92.0
OS Version: Windows 11, 10.0.22621.3958

Both VS Code and GitHub use a GitHub-flavored Markdown engine and auto-create jumpable/anchor links in both VS Code and GitHub (using the HTML id attribute) when using headings. If there are non-supported characters they are replaced with a hyphen - (and lower-cased but not relevant here), e.g.:
🤖 Features -> #-features
which works fine, in both GitHub and VS Code (example repository) but fails on the Marketplace, which as mentioned in the official documentation [see markdown field] uses the same GitHub-flavored Markdown but the links stop working (example extension) because it does NOT replace the non-supported characters with a hyphen -, it strips them completely, rendering jumpable links broken on the Marketplace.

Upon inspection of the extension's page, we can clearly see that the id does not comply with the GitHub-flavored anchor links rendering.

Marketplace HTML source code

Steps to Reproduce:

Go to this GitHub repository
Click on any link in the Table of Contents
The browser will jump to the correct section
Go to this VS Code extension page
Click on any link in the Table of Contents
The browser will NOT jump to the correct section

Note: posted here because I am not sure which one of the mentioned does not comply with the auto-links format and because it affects VS Code extensions, i.e. links don't work in README of an extension page in VS Code, they only work in edit mode.

@isidorn I believe this is a marketplace issue. I've tried to align our markdown link support with GitHub but it seems like the marketplace may be doing something different. Here's a code pointer on what we do:
https://github.com/microsoft/vscode/blob/99d597285badc1c4086bbe55a9c615058dc9664e/extensions/markdown-language-features/src/slugify.ts#L21
I am looking to adopt this code instead this iteration:
https://github.com/microsoft/vscode-markdown-languageservice/blob/3b59c4c81ef1c92a5cb41074216a822b10b1e02c/src/slugify.ts#L51

Thanks for both of your responses.
Since the issue is not going to be fixed anytime soon, can somebody point the differences between the two values of the markdown field in the extension manifest (= package.json).

The value of github is the default one and I am currently using that one (which renders the non-functional links), would setting it to the other value, standard, fix the issue or the other Markdown-flavor just changes the rendering of certain elements?

The differences are not documented on the official documentation.


Allow reordering of display fields

Add a "reorder" button which disables/fades elements above "English Translation", removes toggles from English Translation and onwards, replaces icons to the left of those with a 3 horizontal-bar dragger which lets the user re-order the fields on presentation.

Duplicate of #533


fix(types): retain union type narrowing with defaults applied

close #12106

Could you please check if it somehow helps with https://github.com/vuejs/core/issues/12110
Thanks

Could you please check if it somehow helps with #12110 Thanks

I think it is related to language-tool

/ecosystem-ci run

I mistyped the issue number when merging 😓
Amended commit 05685a9d7

I guess that https://github.com/vuejs/core/pull/12059 needs to be rebased on top of this to fix the remaining issue, right?


documenation of visualization in qiskit

What is the expected enhancement?
We need to make sure we have a documentation about the visualization. I think we can make this is the qiskit/basis and then convert here in sphinx

I have a WIP patch in progress starting this process here: https://github.com/Qiskit/qiskit-tutorial/pull/380
I need to write ones for plot_histogram() and plot_state() too

Lets put the plot_histogram and plot_state in a different tutorial.

Added a pr for the second one https://github.com/Qiskit/qiskit-tutorial/pull/388


changed navbar font

@sanket9006 This has become more evident though:
Before:

Now:

Closing as same changes have been made in https://github.com/Diversity-In-DSC/dsc-webathon/commit/b9a45e78a69709565a36f20f9b63369799dfc361


Needed for ACR Client Library: Support AppendRaw for path parameters

In its CompleteUpload -- and other upload -- operations, ACR appends a URI fragment as a path parameter to the request URI.  This URI fragment contains query parameters, but when the subsequent query parameters are added in Core, RequestUriBuilder doesn't know that query parameters have already begun, and so adds an additional '?' query separator to the request URI, resulting in a malformed URI that gets a 404 from the service.
Code generation doesn't currently support using AppendRaw to add path parameters (see here, here, and here).
We will need this capability in order to support the Push operation in the ACR library.

The value that I needed appended raw is a nextLink that wasn't named nextLink.  By naming it nextLink the generator uses AppendRawNextLink, which gives us the desired result.


Multiple effects and multiple items in effect block

There is a problem when reading the history files:
When there are 2 effects inside the same date, such as:
3711.4.3 = {
    birth = yes
    effect = {
        learn_language = language_sindarin
        learn_language = language_quenya
    }
    give_nickname = nick_the_tall
    effect = {
        add_character_flag = {
            flag = had_nickname_event
        }
        add_trait_xp = {
            trait = blood_of_numenor
            value = 100
        }
    }
}

It only evaluates the first effect block, thereby skipping the second effect block (which in this case holds the piece of code that we wanted to extract, namely the "add_trait_xp" part)
Another issue is that the code assumes the "add_trait_xp" (or whatever you're searching for inside the effect blocks) is the first thing in the effect block, so in cases like this:
3713.2.12 = {
    birth = yes
    effect = {
        learn_language = language_sindarin
        learn_language = language_quenya
        add_trait_xp = {
            trait = blood_of_numenor
            value = 100
        }
    }
}

It will evaluate the "learn_language = ..." and skip over the "add_trait_xp" part

Would you please confirm whether the bug has been fixed with the recent commit.


PHP Fatal error:  Uncaught Error: Call to undefined function Aws\manifest() in /var/www/html/medicines/Aws/AwsClient.php:150

I have installed this extension in Magento 2.1, have added the access key , secret key, bucket name, and region but not working for me. Please let me know if anything else is required to add or change.

Hey @Manoj-Taneja,
Did you install this using Composer or some other means?
Regards,
Thai

Hi Thai,
Have installed it through FTP.
Thanks & Regards,
Manoj Taneja
On Mon, Aug 20, 2018 at 4:43 PM, Thai Phan<EMAIL_ADDRESS>wrote:

Hey @Manoj-Taneja https://github.com/Manoj-Taneja,
Did you install this using Composer or some other means?
Regards,
Thai
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thaiphan/magento2-s3/issues/57#issuecomment-414280970,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANgT7OY0oUhQlCBsCnmSuzkFF67zzkuOks5uSpnWgaJpZM4V8B_M
.

--
Regards,
Manoj Taneja
Senior Software Engineer │ Kellton Tech Solutions Ltd.
M : +91.8950.003.410
IM: manoj.taneja95 (Skype)
<EMAIL_ADDRESS><EMAIL_ADDRESS>|
http://www.kelltontech.com/
CMMI Level 5 | ISO 9001:2008 | BSE/ NSE: KELLTONTEC

Hi @Manoj-Taneja
My extension has dependencies so installing it via FTP might not work if you haven't also uploaded the dependencies.
I would recommend installing my extension using Composer on your local machine (which should also install the dependencies) and then you can upload everything that was downloaded via FTP.
Regards,
Thai


Fix undefined clock_gettime in Solaris 9/10

Linking error in Solaris 9 (GCC 4.6.4) and Solaris 10 (GCC 4.9.2)：
Undefined                       first referenced
 symbol                             in file
clock_gettime                       ./libcrypto.so

We'll need a trivial CLA added to the commit message for this to get in -- or a signed CLA.
To add the trivial tag: "git commit --amend" and put "CLA: trivial" in the commit text.  Then force the commit using: "git push -f"

Not that I'm actually fan of using clock to seed rng, but so far answer to this question was "add additional -lrt at config time." Otherwise it's actually __sun, not __sun__. Latter is gcc-specific, while former works with both gcc and vendor compiler.

Fixed __sun
Do you mean linking with rt solves this issue?

Do you mean linking with rt solves this issue?

I think so. But we were not allowed to add -rt to the default build flags, because this would have broken ABI compatibility.

@mspncp this had slipped my memory :(
We could consider adding -lrt to master.

I think you should consider it, but don't require all applications using openssl to add -lrt. :0

We could consider adding -lrt to master.

This wouldn't help for the 1.1.1 stable branch. And for master we should avoid adding unnecessary runtime dependency, as @richsalz emphasized then and now. Since -lrt is only necessary for older glibc  versions (against which the OSSL_POSIX_TIMER_OKAY guard was aimed), this problem will diminish and adding this flag to libcrypto in master would be a signal in the wrong direction IMHO.

libssl depends on libcrypto anyway, so will in that case be linked with librt either way, be it implicitly or explicitly...

Should I add -lrt to Configurations/10-main.conf solaris-*-gcc?

No, just pass -lrt as additional argument to config. When configuring. Thing is that -lrt is not required on latest Solaris, and it would be inappropriate to prioritize outdated versions. In other words, if you insist on running old unsupported version, just deal with it, pass -lrt. If it feels not sophisticated enough, take it step further and create custom Configation/90-outdatedsolaris.conf by yourself and knock yourself out...

@dot-asm I agree with your suggestion to add -lrt on the command line. But independently of that my question to the experts (including you) remains: why didn't the #ifdef-spaghetti around OSSL_POSIX_TIMER_OKAY prevent clock_gettime() from being used in the first place?

On Solaris 10 Sparc, _POSIX_TIMERS has the value 200112L or 1 (depending on whether _XPG6 is defined) and GLIBC is not defined. So the spaghetti:

# if defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0
#  if defined(__GLIBC__)
#   if defined(__GLIBC_PREREQ)
#    if __GLIBC_PREREQ(2, 17)
#     define OSSL_POSIX_TIMER_OKAY
#    endif
#   endif
#  else
#   define OSSL_POSIX_TIMER_OKAY
#  endif
# endif

boils down to
# if defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0
#  if defined(__GLIBC__)
#  else
#   define OSSL_POSIX_TIMER_OKAY
#  endif
# endif

Which is kind of correct, except that the implementation of clock_gettime() for Solaris 10 is in the rt library. In Solaris 11 clock_gettime() no longer needs the the rt library.
Regards,
Rainer

In Solaris 11 clock_gettime() no longer needs the the rt library.

Thanks @rainerjung for untangling the spaghetti for us. So if we wanted to add a check for Solaris version >= 11, what would be the correct #definition in your opinion?

Or update Configurations/10-main.conf for Solaris 10 (and earlier?) to include -lrt, and add a config for Solaris 11 that doesn't require it?

In view of @dot-asm's  https://github.com/openssl/openssl/pull/7238#issuecomment-422113538 I would say that this issue can be closed, because the issue can easily be resolved by adding a configure option. Do you agree?

I agree.

This PR has the label 'hold: cla required' and is stale: it has not been updated in 481 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 511 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 542 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 573 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

No CLA; and due to discussion above should be closed as not the right solution.


[Mutator] Q_HitSound

The author is actually  PingFre@K
Source = Readme

URL: https://unrealarchive.org/mutators/unreal-tournament-3/Q/q_hitsound_7654937f.html
Hash: 7654937fe805d096e58f85c8e31e788529d1d5e3
Current name: Q_HitSound

The author name should be enclosed by *  these were removed when I posted this!? And in the readme it is not in italics


Update README.md and config.yml

Fix formatting for readme and changed repository field for config.

Codecov Report

Merging #38 (47eb49e) into master (64268af) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #38   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 64268af...47eb49e. Read the comment docs.

Fix #42

Closes #42


How to get bluestacks Ip and port ???

bot asking for emulator ip and port !!! how can i get this ???

i think i found it out .. its under Emulator Android Debug Bridge (ADB) ...
second question
what keys i need to use for captcha ??

check here


Riddle Me This

The quest Riddle Me This seems to be fine until it gets up to the Ione pokecenter and the Skadi pokecenter parts, the locations are not correct. For example the Ione pokecenter part requires you to go to skadi. Overall the quest locations are just messed up.

This issue has been fixed.


easier 3d navigation

do you know how in blendwr you can click on an axis and it will bring the camera exscrly there? implementing somrthing similar to blendrrs syatem would be great. also, not locking on to the centre but allowinf movement (like how godot android does) would be awesome too

maybe someone else knows how to implement this in OpenGl. I will not touch this old code ...


is there a way to let pshazz dont change my powershell prompt

pshazz is great, but it does much more things than what we need it to do.
is there a switch or a param to ask it not change my powershell prompt ?

@h404bi
thx, but it doesnt work, I load my custom prompt from the powershell profile file.
$PROFILE | % CurrentUserAllHosts
with pshazz use microsoft, it only restores the default powershell prompt, not my personal one.
I can reload my custom prompt manually after pshazz has made it's prompt, but it's not cool. I need to have my custom prompt ready from the beginning and automatically.

prompt is a main feature of pshazz.
Below line of code in your $PROFILE is the initialization entry of psahzz.
profile.ps1
try { $null = Get-Command pshazz -ea stop; pshazz init } catch { }

Place your custom prompt code after this line of code, I think it should automatically load your prompt after psahzz initialization, when you start up a new Windows Console.

Another simple way to disable changes is delete this line of code, but the entire pshazz functionality will be removed.
If you really want to keep pshazz without prompt, try to create a customized theme of pshazz, don't add the prompt part. And place it into $env:USERPROFILE\pshazz\, then active it.
default.json
{
	"plugins": [ "git", "hg", "ssh", "z", "aliases" ],
	"prompt": [
		[ "cyan",  "", "$dir" ],
		[ "red",   "", " $git_branch" ],
		[ "red",   "", " $git_local_state" ],
		[ "red",   "", " $git_remote_state" ],
		[ "red",   "", " $hg_branch" ],
		[ "",      "", "$hg_bookmark" ],
		[ "red",   "", "$hg_dirty" ],
		[ "green", "", " `$" ]
	],
	"git": {
		"prompt_unstaged": "*",
		"prompt_staged": "+",
		"prompt_stash": "$",
		"prompt_untracked": "%",
		"prompt_remote_push": ">",
		"prompt_remote_pull": "<",
		"prompt_remote_same": "="
	},
	"hg": {
		"prompt_dirty": "*"
	}
}

no-prompt.json
{
	"plugins": [ "git", "hg", "ssh", "z", "aliases" ],
	"git": {
		"prompt_unstaged": "*",
		"prompt_staged": "+",
		"prompt_stash": "$",
		"prompt_untracked": "%",
		"prompt_remote_push": ">",
		"prompt_remote_pull": "<",
		"prompt_remote_same": "="
	},
	"hg": {
		"prompt_dirty": "*"
	}
}

E.g. $env:USERPROFILE\pshazz\no-prompt.json, then:
pshazz use no-prompt

This will not change the prompt but leave other functionality, but you should know that git-prompt and hg-prompt won't work.

Offtopic. If this change is still desired and viable, please create issue at https://github.com/lukesampson/pshazz/issues/new


Please keep up to date

Please update screenshots from Azure portal, command line has changed position.
[Enter feedback here]

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

ID: a60d96f9-f869-b3e9-fe07-94b53bd1f136
Version Independent ID: 5c5bff37-d707-9220-53c1-bc1fe35eef6d
Content: Azure Cloud Shell Quickstart - Bash
Content Source: articles/cloud-shell/quickstart.md
Service: azure
GitHub Login: @maertendMSFT
Microsoft Alias: damaerte

Thanks for reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

#label:"cloud-shell/svc"

This documentation has been updated.
#please-close


Investigate implementing DeleteTag to look like an LRO

Service DeleteTag does not complete synchronously, so to successfully test it and verify that the key was deleted, we need to wait a bit for the key to be deleted.
Per Chris's comment, consider designing this method to look like an LRO, so that the customer can wait for the operation to complete before taking action, if desired.

The service should return the accept value synchronously.  Per @mnltejaswini, the service has addressed this issue on the service side.


ppc64le, TensorRT Inference Server Release 19.05

Can the docker container  TensorRT Inference Server run on ppc64le (Power 8)?
The image nvcr.io/nvidia/tensorrtserver:19.05-py3 was pulled, however when I run the container, I got the error:
standard_init_linux.go:190: exec user process caused "exec format error"

Currently we only have pre-build docker images for x86. Very soon now master will be moving to a CMake-based build and then it should be easier to port to power. Keep an eye out for the CMake announcement and then it should be possible to try building TRTIS on power.


Make Merge-Requests Failsave

From time to time I see that Merge requests fail because two commits happen at the same time.
This ticket aims at making this failsave.
ToDo:

[x] Test that this works
[x] Test it in a single shared task
[x] Rollout to all existingshared tasks
[x] Add to template for newly generated tasks

This is now tested and applied to all shared tasks.


feat(markdown-docx): add optional transformer - #397

Signed-off-by: k-kumar-01<EMAIL_ADDRESS>

Add the logic to transform Optional nodes from CiceroMark<->OOXML.
Changes

transformation logic:OOXML<->CiceroMark
tests for optional
update tests for other(xml changes in variable and clause)

Author Checklist

[x] Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
[x] Vital features and changes captured in unit and/or integration tests
[x] Commits messages follow AP format
[ ] Extend the documentation, if necessary
[ ] Merging to master from fork:branchname

@algomaster99
Requesting your reviews also.

@dselman @algomaster99
I have completed the transformation for the formula in another branch. Since the branch is extension of this one, we can merge that once this PR gets merged.

@algomaster99
Made the desired changes.

@algomaster99 @dselman
Requesting your reviews.

@algomaster99
Made the changes. Let me know if there are any other changes required.

@K-Kumar-01 Shall I proceed for merge if all tests are passing?

@algomaster99 Sure
was pushing the updated JSDOC comment for optional for now.
WIll later change it for both conditional and optional as mentioned.


Documentation doesn't exist anymore.

https://polidea.github.io/react-native-ble-plx/ - 404 NOT FOUND

https://dotintent.github.io/react-native-ble-plx/

Hi,
It was already changed in readme 😉
This is actual link to documentation: documentation


feat: add comment button on pr page

Add a new function EnsureCommentButtonOnPR that adds a comment button on PR page.

Update Init() to include a MutationObserver for EnsureCommentButtonOnPR function.

Change @run-at to document-end: The script will be injected when or after the DOMContentLoaded event was dispatched. (Documentation)

If using document-start, both EnsureCommentButtonOnPR and EnsureCommentButton fails at the beginning.

@Oreoxmt PTAL~


Weird issue with added bar disappearing when highlighting a sketch

The bar "X" doesn't show up when I show the sketch via hover in the table:

Also, why doesn't the sketch always show up?


Rows misplaced when exporting to .txt file

System information:

Operating system (distribution) and version: Windows 10
DBeaver version: 22.0.4

Describe the problem you're observing:
The export wizard is not performing correctly when exporting to TXT files with "write to the single file" enabled.
For the latter files exported(or appended) to the single file, their column names are replaced with the first row.

Exporting to seperate files works perfectly fine:

Steps to reproduce, if exist:
Export two or more tables or views to TXT format, with "write to the single file" option enabled and other settings as default.

And I'd like to work on this issue if review is passed!

Hello @CalmaKarma,
You can start working on this issue independently from its review state.
As a hint, take a look at IAppendableDataExporter.java.

Hi, @ShadelessFox .
The bug is cause by a line of code at DataExporterTXT.java, line 123
In short, a feature planned to be implemented feature caused this bug.
The showHeader variable, It intends to append latter tables without repeating the attributes(or headers) if they are the same, which I suppose is a feature not yet implemented.
The line of code now leads to skipping exporting latter headers regardless of whether they have the same attributes or not.
Further concerns:

The feature should be optional to users, and will require more work to determine and show a warning dialog if the attributes are the not same.
This feature should also be consistantly designed for all appendable data exporters, which also requires more work.

Other IAppendableDataExporters current status:

The XLSX exporter has no such bug, since it exports different tables to different sheets and does not have such feature.
The CSV exporter has the same bug. It only exports the header of the first table. Furthermore, headerPosition is only refering to the first table, instead of the whole concatenated table.

Hence, I think this feature should be regularized and implemented consistantly for all appendable exporters.
For this issue, commenting out the line of code will fix it.
If that is acceptable, I will try solve all existing bugs like this for all appendable exporters in this way, and post feature issue, since there are plans for making all exporters appendable.
Or should I go and try to implement the feature and keep this issue open?
Thanks.

I don't think there should be any popups.
We can keep appending the header as an easy fix even if all attributes are the same. We might not know that in case of appending to the existing file, so it seems acceptable.
I believe you should keep this issue open. The described behavior is invalid. Meanwhile, #16204 is about a feature request.


No User Overview with non-Premium account

Non-Premium Account gives "You need a premium account to access this blade" when you click on a user - no overview information as suggested by the pictures in the article.

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

ID: 1bb9f791-4ba5-4ccf-c016-a05d5e371ebc
Version Independent ID: 7e5168ca-659c-b9e0-ce5e-e4c64a18b3b7
Content: Users flagged for risk security report in the Azure Active Directory portal
Content Source: articles/active-directory/active-directory-reporting-security-user-at-risk.md
Service: active-directory
GitHub Login: @rolyon
Microsoft Alias: rolyon

@rogerbrownmegnajet Thanks for the feedback! We are currently investigating and will update you shortly.

@rogerbrownmegnajet Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

Thanks for the feedback. I'll have a look at this.
#in-progress

Hi @rogerbrownmegnajet, I'm still checking into this. I been having trouble reproducing your behavior because my environment does not have any users flagged for risk. I'm checking with our team for more info.
thanks

Regards;
I am having this same issue at my company. Have a few accounts flagged for risk but it only let me access all sign-in options and showing me the "You need a premium license to access this blade" message.

Hi @luisma1955, thanks for your feedback. I've sent a message to the team asking about the editions.
thanks

Hi @rogerbrownmegnajet  and @luisma1955
Sorry for the delay. I've confirmed with the team.
The users at risk report is available for the free and basic editions. You access on the following blade:

Azure Active Directory > Security section
If you have Identity Protection and you try to access the users at risk report in Identity Protection, you will need a premium edition:
Azure AD Identity Protection > Investigate section

Hi @rolyon ,thanks for reporting back.
I am trying to access the report through Azure Active Directory > Security section but I still get the message  "You need a premium account to access this blade" when you click on a user.

Hi @rogerbrownmegnajet
A couple of questions for you.

On the Azure Active Directory blade, at the top under the directory name, what edition is listed? Does it say "Azure AD Free"?
What admin role are you signed in as? Are you using Global Administrator?
Do you have Identity Protection installed?

thanks

Hi @rolyon ,
Thanks for coming back. The answers to your questions:

The edition is: "Azure AD for Office 365".

Yes.

Not as far as I am aware

Hi @rogerbrownmegnajet
Thanks for the information. I've sent your feedback to the team.


[4.0] JSONEncoder conditional conformance workarounds

What's in this pull request?
Cherry-picks #10766 to swift-4.0-branch.
Explanation: One of the limitations of not having conditional conformance at the moment is that the implementation of init(from:) and encode(to:) on types which require it is that failure to cast dependent types to Encodable or Decodable is a runtime failure. There is no way to statically guarantee that the wrapped type is Encodable or Decodable.
As such, in those implementations, at best we can directly call (element as! Encodable).encode(to: encoder), or similar. However, this encodes the element directly into an encoder, without giving the encoder a chance to intercept the type. This is problematic for JSONEncoder because it cannot apply a strategy if it doesn't get to intercept the type.
This gives a temporary workaround for JSON strategies because of internal Foundation knowledge.
Scope: Affects anyone encoding and decoding Dates, Data, URLs, and Decimals with JSONEncoder and JSONDecoder
Radar: rdar://problem/32535991
Risk: Low
Testing: Updates unit tests to confirm expected behavior.

@swift-ci Please test macOS

@swift-ci Please smoke test Linux

@swift-ci Please test Linux


[Enhancement] Handy bookmarklet

Just an idea: Making a handy bookmarklet for it?
Tried to minify the code and paste it like javascript:(function(){... as bookmarklet.
PopUp opens fine. This line however makes the whole page go blank/white with the text "Looking good!". Removing the line seems to work. getting the AuthToken, AuthorID and ChannelID appears to work as well, but deleting does't. I guess the bookmarklet doesn't have access to the same context in which devtools is running, but haven't had time to debug in depth

I think it is doable, I've done a lot of bookmarklets in the past. I'll have to check if I'm not missing any semicolons, and I have to strip all the comments, and URL encode it.
I just haven't done it because it is not something that is easy to explain to the average user, lots of things to get wrong. For example I expect a lot of people wondering why this doesn't work https://javascript:(func...
I use this chrome extension to create bookmarklets (It also doesn't like comments.)
https://chrome.google.com/webstore/detail/bookmarklet-ide/peebnjhlifoemfpcffdlbcdppmikglek

The usability is certainly an argument... Making a GitHub Page with a drag'n'droppable Bookmarklet link seems a bit overkill as well. It doesn't work in Markdown sadly:
Drag Me!

I could make a github page using rollup and a node script, I’ll make some experiments when I have time.
But I also dislike the idea of encouraging people to run minified code on their browsers, because it could be a security issue.
I was very deliberate in making the code verbose with comments and without any external library.
I know the average user doesn’t know how to inspect code, but at the same time the code is publicly available, so anyone can audit it and know for sure I’m not doing anything sketchy.
Sent from my iPhone

On Nov 4, 2019, at 5:09 PM, NullDev (Chris<EMAIL_ADDRESS>wrote:

The usability is certainly an argument... Making a GitHub Page with a drag'n'droppable Bookmarklet link seems a bit overkill as well. It doesn't work in Markdown sadly:
Drag Me!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Any updates on this?

Any updates on this?

Yes! sorry for taking so long, but I made it available as a installable user-script.
Take a look at the new readme in the front page, should be much easier to non-techinicall ppl and more convenient to use.
Any feedback is appreciated.


The package could not be found on the pub

Can you upload this package to pub.dartlang.org ?

@dengsgo I will be uploading this to pub later today. We have a little cleanup to do first. Until it's published you can add it to your pubspec dependencies like this:
flutter_web_view:
    git: git://github.com/apptreesoftware/flutter_webview

This has been published here


Sort order of results

The user has multiple ways of searching for results.
He can provide:

Input for a tag or text search
A location for a geographic search

If we have no location data available we sort the posts alphabetically.
But if we have a location given by the user we could also sort the results according to this location:
https://www.elastic.co/guide/en/elasticsearch/reference/7.8/search-request-body.html#geo-sorting
Shall we implement the geo-sorting?

Yes, I think geo sorting is a good idea.

Von: jschurse<EMAIL_ADDRESS>Gesendet: Freitag, 19. Juni 2020 20:05
An: hochschule-darmstadt/einander-helfen<EMAIL_ADDRESS>Cc: Humm, Bernhard, Prof. Dr<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Betreff: [hochschule-darmstadt/einander-helfen] Sort order of results (#55)
The user has multiple ways of searching for results.
He can provide:

Input for a tag or text search
A location for a geographic search

If we have no location data available we sort the posts alphabetically.
But if we have a location given by the user we could also sort the results according to this location:
https://www.elastic.co/guide/en/elasticsearch/reference/7.8/search-request-body.html#geo-sorting
Shall we implement the geo-sorting?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/hochschule-darmstadt/einander-helfen/issues/55 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYWHS73F5RMWUZOVDMBNMDRXOSGLANCNFSM4OC54BDA .  https://github.com/notifications/beacon/ABYWHS67K7255PH6FL55S6TRXOSGLA5CNFSM4OC54BDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JSGKBIQ.gif

Has been implemented and can be tested here https://cai-einander-helfen-staging.fbi.h-da.de/


[BugFix] Fix join reorder bug

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #10208
Problem Summary(Required) ：

Fix join reorder bug. The bug comes from that join reorder makes use of MultiJoinNode to generate the projection map of reordered join and here mapping should be recursive. but ColumnRefOperator is incorrectly recursively processed.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

[FE PR Coverage Check]
:disappointed: fail : 1 / 5 (20.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/ReplaceColumnRefRewriter.java
1
5
20.00%
[58, 59, 61, 62]

please add test case

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 5 / 5 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/ReplaceColumnRefRewriter.java
5
5
100.00%
[]

run starrocks_admit_test

@Mergifyio backport branch-2.4


chore(deps): update dependency requests to v2.32.2

Have you read the Contributing Guidelines?
Issue #
Description
Clear and concise description of what changed and why.
If necessary, include screenshots and/or a step-by-step guide on how to test the changes.
Definition of Done

[ ] The change is thoroughly documented.
[ ] The CI passes (R CMD check, linter, unit tests, spelling).
[ ] Any generated files have been updated (e.g. .Rd files with roxygen2::roxygenise())

There's an issue with communicating with Docker daemon after the package upgrade
It should be fixed once this PR is merged in molecule-plugins package


Chore/pr review edits

What does this PR do?
PR review edits
Task to be completed?
Changes incorporated after checkpoint review with trainer

Coverage decreased (-0.9%) to 93.373% when pulling e7ac27cb17741fb84ae591f01140d15ff006adfc on chore/PR-review-edits into 93724c6381772145eb9ed5b8467fec493ff470ab on dev.

Coverage decreased (-0.9%) to 93.373% when pulling e7ac27cb17741fb84ae591f01140d15ff006adfc on chore/PR-review-edits into 93724c6381772145eb9ed5b8467fec493ff470ab on dev.

Coverage decreased (-0.9%) to 93.413% when pulling dbac3c9143bd85bed30d4602518fdafbc2c91d6c on chore/PR-review-edits into 93724c6381772145eb9ed5b8467fec493ff470ab on dev.


Plotly/HoloViz/FiftyOne widget suggestions + bug list

Hi everyone! I think I'm a little late for the party :)
I'm both super excited and terrified to be hopefully joining this project!
After playing around with the functionality, I saw that from raw to cleaned files, lat/long get lost on the way. I was going to suggest a workaround to use them for coordinate representations but I see all of the information is covered already in #26
Expanding on #18 and #27, there are two solutions that would be beneficial for echoshader's advancement. The first one would benefit from dynamic closeable tabs. The two tab versions are from VoloViz & select option from plotly:

Dynamic tabs
Closable tabs
Plotly selection

It’s essentially built on top of @ldr426 idea explained in #27.
The idea is the following: In the first tab have a map of the world (or of a specific location) along with sonar data from the surface view as explained in issue #17. It would have several functionalities: select region, time, and ping (or anything that is found useful). Here we would have the functionality of selecting as shown here using Plotly selection

The second tab would show the characteristics and necessary information as explained in #18. The idea is to have dynamic tabs so that it would have the flexibility to select as many or as few regions as necessary to have a direct comparison. When the user is done exploring the specifics, they can simply close them. Also, if necessary save them as an image.
It would essentially look like this:

=====
The second solution will require a lot of work but will give a better result in the end (in my opinion). There's such a package called fifty-one that primarily deals with computer vision tasks. What is cool about this app is that it can solve A LOT OF tasks and has a great interface that can be re-programmed to our needs. Moreover, it doesn't run on another page but has an interactive widget. There's a pretty big degree of freedom that doesn't limit users, and as suggested in issue #27, it's the main goal.
The bad news is that it works only with images, so it's not going to be directly applicable. So, we could essentially create an app in the same fashion but tailored for our needs, of course. Here are a couple of links to check out the app:

Notebook to understand how it works
Functionalities

=====
Some bugs I found along the way:

Broken link
Where: link

Under:

echopype contains tools for converting data from various manufacturer-specific formats into a standardized netCDF files

The broken link: link
=====

Missing NumPy dependency
Where: link

When downloading with git clone and setting up the environment, the code breaks when running the following block:
MVBS_ds["Sv"].hvplot.image(

    x='ping_time', y='range',

    color='Sv', rasterize=True,

    cmap='jet', clim=(-80, -50),

    xlabel='Time (UTC)',

    ylabel='Depth (m)'

).options(width=500, invert_yaxis=True)

Error message: ImportError: Datashading is not available & ImportError: Numba needs NumPy 1.20 or less
=====

Wrong setup directory
Where: link

The README.md file contains the line conda env create -f environment.yml but the environment.yml file is in the binder folder.
It should be replaces with conda env create -f binder/environment.yml
=====
There is one functionality in fifty-one that lets us use geospatial data with this package, so I'll experiment with it and give feedback afterward along with the notebook so that you can easily reproduce the results :) There are going to be several of them that will also test the first suggestion!
Please let me know if any of these ideas are applicable!
P.S., I’m super excited to meet you all! And sorry for a huge message😅

It’s essentially built on top of @ldr426 idea explained in https://github.com/OSOceanAcoustics/echoshader/issues/27.

:smile: Thank you for rebuilding my idea, Dinara. But this idea has been abonded. We don't need to create a certain template for users in echoshader. Users can select panel components to combine what they want. Creating some interactive APIs would be better than a template.

Error message: ImportError: Datashading is not available & ImportError: Numba needs NumPy 1.20 or less

By the way, the error could come from your environment. It runs without error in my jupyter. Datashading is a package for visualizing big data in the holoviz ecosystem. You could pip install datashader and NumPy == 1.20.
Hope you can have some good results using the package fifty-one :)

Hi @ldr426, thanks for the reply! that's interesting, I had no idea the idea for the panel had been abandoned already.

By the way, the error could come from your environment. It runs without errors in my jupyter. Datashading is a package for visualizing big data in the holoviz ecosystem. You could pip install datashader and NumPy == 1.20.

Yup, I was simply referencing that numpy was missing in the requirements.txt file :)

Hope you can have some good results using the package fifty-one :)

Thank you! And you as well, hope everything is going well with that API you're working on!

Hi @dissagaliyeva, could you tell me a little bit about your working environment. What operating system are you using? Also for your conda environment, what python version are you on? Thank you.

Hi @lsetiawan! Sure, I'm on Windows 10 and Python version 3.9.7

echopype contains tools for converting data from various manufacturer-specific formats into a standardized netCDF files
The broken link: link

Thanks for reporting this broken link. We'll fix it soon. In the meantime, you can find a lot of information about netCDF online, but the netcdf web site is https://www.unidata.ucar.edu/software/netcdf/. In practice, you will be using a higher-level Python library to interact with netcdf files, especially xarray. This xarray User Guide page is a nice and compact introduction to the data structure.

@emiliom thank you for the info!

Hey @dissagaliyeva, welcome!

that's interesting, I had no idea the idea for the panel had been abandoned already.

I wanted to chime in here on the overall idea. The panel idea actually has not been abandoned, it just takes a form that’s perhaps different from the regular web portals.
What we aim to create in echoshader is a suite of “widgets” that can be mixed and matched by users to configure their own visualization dashboards using the Panel library. This is because regular researchers may not necessarily have the human resources to help deploy and maintain their own front and backend services, so we want to enable some more flexible and convenient data viz capability that can be used in a Jupyter notebook for example.
This does mean that we need to provide the data linkage between these widgets since the interactions often would require slicing based on specific coordinates. For these “under the hood” data handling operations we need to make decisions on whether it goes in echoshader here or echopype. So some planning and more discussions are needed on this front.

Hi @leewujung!
Sorry, it took me some time to understand how to make an inline working prototype for the idea. Essentially, I was following the prototype I've had in mind:

The prototype ended up being similar to the idea,  but there were two changes along the way:

I couldn't figure out how to combine dynamic and closable tabs on the same line. I think there's no option to do so. Therefore, I've used the following temporary solution (the two tabs have the maps as a placeholder for now):

I'm thinking of showing the results in a separate tab so as not to clutter the space. Currently, I'm not a big fan of the hanging plot underneath the setting and a map. Therefore, I'm thinking of putting all of the resulting plots in the "Results" tab. To give a better user experience, I'm also considering giving the names according to the selected dates/times.

I can't decide between a dropdown and a RadioBoxGroup, so both implementations are present in the notebook.

===
A couple of things to know about the prototype:

It has a date and time picker. I've made it in a way that you can only see and select the days/times that are present in the *.nc files. Even though the day gets selected, the timing is a bit off, so it will need additional tweaking.

A frequency map is dynamic and reacts to the selected frequency as intended. Frequencies are also created depending on the *.nc files parameters, that means if a file has 3000 and 5000, it will only have those two values.

There are some additional functions created. The descriptions are below, for convenience they're also present in the notebook.

combine_data

This function takes in all the *.nc files and combines them. The problem with ep.combine_data function is that it doesn't catch the errors when given inappropriate data formats. That is especially evident if there are files like Summer2017-D20170625-T190753_Sv.nc (that end with _Sv) and Summer2017-D20170625-T190753.nc.
For my purpose, I've created a separate function that ignores files with no latitude/longitude and combines all of the rest. For now, there are no explicit tests created, it's just a working prototype for the current data in hand. I'll be using lat/lon to create a GeoPandas & further create visualizations for maps and frequencies.

get_geo & compute_mvbs

The get_geo function creates a DataFrame that holds lat/lon as used in echopype_tour. The other takes advantage of the ep.calibrate.compute_Sv functionality but created as a function to overcome redundancy.

show_freq

This function shows the maps depending on the selected frequencies.

get_map

This function creates a map that holds all of the traces using Plotly. Ideally, this function will have the capabilities to select using both box-select and lasso-select. For now, the function simply shows the map interactively.
====
Problems
There's only one problem that I'm facing. I can't solve the box- and lasso-select for now. Since there's Plotly's map to show the route, both selection options are already there but they're not reactive yet. This one will need more time.
The implementation and dataset are available here: https://github.com/dissagaliyeva/echoshader
For now, there are no tests, but they'll be added within the next few days :)

We have selected a contributor and now in a working phase. Closing this issue. Thank you all for your thoughts and ideas in the brainstorm phase.


Contacting Professionals For Feedback

Goal
Enhance exposure potential of this tournament. Also, elicit reviews of question content, with a focus on both impact and accuracy.
Context
This tournament is being developed by somewhat who has an amateur understanding of DNA technology and assisted reproduction technology. As such, it would be quite useful for the success of this tournament to have professional feedback on this tournament's design and question content. The author of GET is very much open to feedback from those who are more knowledgeable, in the sense that the landscape of the tournament could change largely based on feedback.
Tasks
The following individuals have or need to be contacted or recontacted.

Jonathon Anomaly
GeneSmith
Ives Parr
Steven Hsu
Henry Greely

Out Of Scope

Creating a list of other contacts and or organizations whose feedback would be useful

This depends partially on #13 .

The order of operations for this tasks:

Generate a list of contextual and GET-related items to cover in the email.
Create emails for each author, using the previous information.

Link a PDF containing background information on GET.

The first-pass tournament front matter (#2 ) should be included.

Link a Google Form for feedback.
Link the GitHub repository.

More contacts will be sent, but the ones covered here are done.


raise NotImplementedError, NotImplementedError

$ python demo/image_demo.py border_less2.jpg configs/dcn/db_cascade_mask_rcnn_x101_fpn_dconv_c3-c5_1x_coco.py /home/devteam/CDeCNet/model/epoch_50.pth    --device 'cpu' --score-thr 0.95 --output-img 'output_demo.jpg'
which: no nvcc in (/home/devteam/.conda/envs/py38/bin:/opt/miniconda3/condabin:/home/devteam/.local/bin:/home/devteam/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/miniconda3/bin)

/home/devteam/CDeCNet/mmdet/apis/inference.py(37)init_detector()

-> if checkpoint is not None:
(Pdb) c

/home/devteam/CDeCNet/mmdet/apis/inference.py(91)inference_detector()
-> if next(model.parameters()).is_cuda:
(Pdb) c
/home/devteam/CDeCNet/mmdet/apis/inference.py:91: UserWarning: We set use_torchvision=True in CPU mode.
if next(model.parameters()).is_cuda:
Traceback (most recent call last):
File "demo/image_demo.py", line 28, in
main()
File "demo/image_demo.py", line 22, in main
result = inference_detector(model, args.img)
File "/home/devteam/CDeCNet/mmdet/apis/inference.py", line 91, in inference_detector
if next(model.parameters()).is_cuda:
File "/home/devteam/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/devteam/CDeCNet/mmdet/core/fp16/decorators.py", line 51, in new_func
return old_func(*args, **kwargs)
File "/home/devteam/CDeCNet/mmdet/models/detectors/base.py", line 148, in forward
return self.forward_test(img, img_metas, **kwargs)
File "/home/devteam/CDeCNet/mmdet/models/detectors/base.py", line 129, in forward_test
return self.simple_test(imgs[0], img_metas[0], **kwargs)
File "/home/devteam/CDeCNet/mmdet/models/detectors/two_stage.py", line 184, in simple_test
x = self.extract_feat(img)
File "/home/devteam/CDeCNet/mmdet/models/detectors/two_stage.py", line 76, in extract_feat
x = self.backbone(img)
File "/home/devteam/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/devteam/CDeCNet/mmdet/models/backbones/db_resnet.py", line 714, in forward
second_x = second_res_layer(second_x)
File "/home/devteam/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/devteam/.local/lib/python3.8/site-packages/torch/nn/modules/container.py", line 100, in forward
input = module(input)
File "/home/devteam/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/devteam/CDeCNet/mmdet/models/backbones/db_resnet.py", line 280, in forward
out = _inner_forward(x)
File "/home/devteam/CDeCNet/mmdet/models/backbones/db_resnet.py", line 257, in _inner_forward
out = self.conv2(out)
File "/home/devteam/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/home/devteam/CDeCNet/mmdet/ops/dcn/deform_conv.py", line 295, in forward
return deform_conv(x, offset, self.weight, self.stride, self.padding,
File "/home/devteam/CDeCNet/mmdet/ops/dcn/deform_conv.py", line 47, in forward
raise NotImplementedError
NotImplementedError

Hi,
Can you please be more descriptive about the error you are facing?

I was getting the following error for some reason, I am not sure if that is because  I was using only CPU version while running the demo script, python demo/image_demo.py
File "/home/devteam/CDeCNet/mmdet/ops/dcn/deform_conv.py", line 47, in forward
raise NotImplementedError
NotImplementedError

Deform_conv layers are implemented in CUDA only. Please refer #10


Set iOS deployment target to 7.0 for the Project; while Targets inherit

For the ObjC and Swift example projects.

:+1:

:+1:


Use pcall varargs to pass parameter to require

pcall supports varargs for function arguments; why create a new function if you don't have to?
On that note, shouldn't a syntax error in conf throw an error? I'm not sure how LOVE handles that.

0.8.0, 0.9.0, 0.9.1 (and I guess earlier versions too) printed the error, ignored the conf.lua and went on. 0.9.2 and 0.10.0 error when there is an error in conf.lua

I think the error should be ignored and any messages printed - I guess I should add said printing.
I should add tracebacks and love.errhand.


Fonts with ligatures render in HTML, but not preview or PDF

I've loaded the Google webfont Radley on the HTML template, and it looks very nice in preview, PDF, and HTML. However, the HTML version in the browser has ligatures--Radley in particular has a decorative "ck" ligature in addition to the standard ligatures--but neither the preview nor the exported PDF do. This isn't really bothering me, but it does suggest something about how fonts are being handled that might be important.

I'm using a third-party converter. Likely that's the issue. In the meantime, Can you use one of the free PDF converters that installs as a printer? Then right click on preview and print.

Sure, I should have said that. This issue isn't an actual problem, I just thought it was weird and wanted to point it out.

Just looking for a workaround until I can determine the problem.

This appears to be an Internet Explorer issue. If I view the Google Font Page (https://www.google.com/fonts/specimen/Radley) in IE I don't see the ligature. It does appear in Chrome.
See https://stackoverflow.com/questions/14145121/ligatures-in-internet-explorer

I don't use IE. The issue isn't the HTML file, it was the live preview and built-in PDF export for Markdown Edit.

The live preview uses IE :smile:


Feature Request: Add support for Reddit Login / Custom Subreddit support.

Hi, I really love hackertab.dev and I've made it my homepage, but there's one thing I'd really like it to support: Showing me news from the subreddits that I subscribe to, instead of just the default ones. Perhaps an option to 'Sign In With Reddit' could be added to the extension, and then it'll display posts from the subs I read. Or if you want to avoid signing in, then simply provide a textbox where I can enter the names or links of my favourite subreddits.

Unfortunately, we don't have that feature and it's not in our plans for the future.
However, you can try a workaround by creating a custom RSS feed (hosted on Netlify or Vercel) from your own content and then use that with Hackertab. We do support custom feeds, so that should do the trick!

Hey, even though you don't have that feature, maybe you could add it to your plans for the future? I'm sure lots of people will appreciate it if you do.
Either way, peace ❤

If many users show interest, I may reconsider adding it.
thanks again


Question: How does lightGBM create histogram?

Hi, I am recently studying the principles behind lightGBM. I could not understand the pseudo code about creating histogram on the paper. I will be glad that if somebody can explain it. Is it based on the frequency, which is to say that the amount of samples in each bin is the same, or is it based on the child weight like what XGB did ?

You mean this?

Features are discretized into bins, instead of having an array of feature values, you have an array of bin addresses.
There are two histograms being constructed whenever you are adding a node to a tree:  gradient histograms and hessian histograms.
import numpy as np

feature_bins = np.array([0, 1,2,3,4, 4,3,2,1, 0], dtype=np.uint8)
gradients = np.random.randn(*feature_bins.shape)  # gradients, hessians = fobj(predictions, targets)
hessians = np.random.randn(*feature_bins.shape)  # these are given to you by the objective function

gradient_histogram = np.zeros(5)
hessian_histogram = np.zeros(5)

for idx, feature_bin in enumerate(feature_bins):
    gradient_histogram[feature_bin] += gradients[idx]
    hessian_histogram[feature_bin] += hessians[idx]  # for some objectives, the hessian is always 1

Thanks for the response @jrvmalik . I wonder, in your explaination, do you assume that the number of values in each bin are the same, which means the bins are created based on frequency rather than sample weights which are defined by the hessian in XGBoost

No, LightGBM doesn't use either the Hessian or the sample weights to determine the bin assignments.  The bin assignments are fixed before training


Add app icon

Closes #2

I'd appreciate help with the failing CI check here

Could it be a difference between helm 2 and helm 3 handling?

Thanks for taking this on @omegas27 ! Can you please also do a release? I don't really know whether the change you made here last would make it a patch or any other sort of release.

You are welcome. I created the release v0.2.1 :)


Firebase Upgrade Blocker / Google Play failed to upload artefacts

Time Tracking: MA-78
This issue is blocking Flutter and Firebase upgrades:

Unable to upgrade Flutter on current version of Firebase
Unable to upgrade Firebase due to AD_ID requirement

This is done when:

[x] Firebase analytics alternatives documented
[x] Document implications of adding AD_ID permission to Android and IOS Collab

[x] AD_ID permission workaround implemented for Android
[x] PR 2077 Testing PASS on Android

[ ] Upgrade package firebase_core
[ ] Upgrade package firebase_crashlytics
[ ] Upgrade package firebase_messaging
[ ] Upgrade package firebase_analytics

Error when uploading build to Google Play after firebase_analytics version upgrade.

Google Play failed to upload artefacts. This release includes the com.google.android.gms.permission.AD_ID permission but your declaration on Play Console says your app doesn't use advertising ID. You must update your advertising ID declaration.:

"code": 400,
"message": "This release includes the com.google.android.gms.permission.AD_ID permission but your declaration on Play Console says your app doesn't use advertising ID. You must update your advertising ID declaration.",
"status": "INVALID_ARGUMENT"

The first version of the Firebase Analytics Alternatives document is here: https://ucsdcollab.atlassian.net/l/cp/pheEsWa5

Found and implemented a way to remove Android AD_ID from the build manifest. Needs to be tested to see if this solved the issue.


LET/D  fails to work

Reported by Ansley B Manke on 2 Oct 2002 17:23 UTC
See DEFINE VARIABLE/D  in the UG -- this worked in
V4.91, but has not worked since.
 yes? save/l=1 /file=with.cdf UWND,VWND,WSPD
 yes? save/l=1 /file=without.cdf UWND,VWND

 <restart>

 use with, without
 show data
 let/d wspd = uwnd
 shade/d=with wspd
 shade/d=without wspd

!     ==> **ERROR: variable unknown or not in data set: UWND
!
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/460

Comment by<EMAIL_ADDRESS>on 23 Nov 2002 00:39 UTC
Actually, this turned out to be not a bug in this case, but fixing an incorrect
fix which was done to fix a 3/99 bug.  The question was whether or not a user
variable defined with let/d needed a dataset or not.  The current code assumed
it didn't due to a change that fixed an obscure bug from '99 in which a variable
was defined w/ let/d but used an axis definition rather than a dataset.  At any
rate the fix was made with modifications to:
is_uvar_grid.F
get_dataset_name.F
This fix is sort of the easy way out.  Steve and I discussed that the best fix
would be to try and figure out a better conditional test at line 386 in
is_uvar_grid.F where the code is trying to figure out if the variable is a
completely abstract expression.  however, due to time constraints......