Problem setting up shynet

Hello, thank you for creating this project -it looks nice.
I was able to get to step 4 in the usage guide, but due to my lack to knowledge dealing with docker I have not been able to setup the .env file correctly.
I get this error:
django.db.utils.OperationalError: could not translate host name "db" to address: Name does not resolve when running the docker run --env-file=<your env file> milesmcc/shynet:latest command.
I only changed the database settings -everything else is the same as the template.env. The DB_HOST setting seems to be the problem and I've looked at the stack overflow answers, but I am not sure how to proceed.
Any ideas?
Thank you. :)

Are you using docker-compose @Correct-Syntax ?
The stackoverflow link you provided is showing a docker-compose file, but your command docker run --env-file=<your env file> milesmcc/shynet:latest shows you're running docker (not through docker-compose).
It sounds like you don't actually have a database server running.
There's a docker-compose setup available https://github.com/lucasrla/shynet-docker-lightsail then you'd get it up and running using docker-compose up

Thanks for helping @Correct-Syntax, @VeryStrongFingers! Feel free to continue discussing this issue, but because this isn't an issue with Shynet itself, I'm going to close this issue.

Hello, sorry I didn't get online right away to see the discussion till now. Thank you for you input, though.
I was attempting to follow the commands in the guide exactly, and I don't think I used docker compose. The stack overflow answer was just an example of the questions I reviewed without an idea how to proceed...
So, I was wondering how I could resolve the issue. I did create the postgresql database, but I'm not sure if it's running.
Thanks again!

@VeryStrongFingers, I will try the repo you provided (shynet-docker-lightsail). (It looks like the cloudflare thing should be optional...) Thank you.

@VeryStrongFingers. I tried the script multiple times, but get the same output.
When the script runs it outputs this error:
warning: Failed to create the file /srv/docker/docker-compose.yml: No such Warning: file or directory
This would explain the fact that I am unable to move the .env file in Step 3.
Here's a rundown:

Ubuntu server
(Almost) clean install, just a Wagtail website deployed with nginx and gunicorn (not sure if I am supposed to create another user/ database like in the actual shynet guide).
While doing this, logged in as a non-root user

Any help or tips are very appreciated. Thank you, again. :)

Hello,
Thank you for your help. I did get this working with docker-compose.
Thanks again!


Fix type of basis_gates in BasicSimulator configuration

basis_gates was getting set to Target.operation_names, which is a dict_keys instance (maybe that should be changed to a more basic type?), while typically basis_gates is a list. dict_keys instances can not be deep copied, so code that usually deep copies a backend's configuration could not work. Deep copying the configuration can happen for example when using the BasicSimulator with sampler class like qiskit_ibm_runtime.SamplerV2 that puts the backend into its options and then tries to deep copy the options.

The configuration model is deprecated any way, but I think it is worth treating this as a bugfix since blocks a usage pattern that is not trying to use the configuration. It came up in Qiskit Slack here.

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

0 of 0   changed or added relevant lines in 0 files are covered.
22 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 88.723%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
4
91.98%

crates/qasm2/src/parse.rs
18
96.69%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.02%

Covered Lines:
75972

Relevant Lines:
85628

💛  - Coveralls


Project showcase note

Hey @caduandrade,
Don't know if you are aware. But, we are building an awesome API tool using Flutter and we use davi and multi_split_view.
Link - https://github.com/foss42/api-dash
Just wanted to check if you have any section where you feature production apps that use your package(s).
Thanks!

Hi @animator !
How fantastic. I loved. Congratulations! I'm glad to know that my packages are useful. I already marked a star on Github :wink:
Of course, I can create that session.
I'm wanting to move the documentation somewhere else like Hashnode or Docusaurus. I think it's really bad that you need to publish a new package version just to update the documentation in pub.dev.

Great to hear that you liked the project @caduandrade  :)
Sure. Please feel free to add APi Dash whenever you publish a new documentation site. No worries.
Just wanted to let you know that I evaluated a lot of packages and ultimately loved the ability to customize davi.
It's insane. I had already starred the project ⭐
Thank you for building it! 🙏


pillow 7.x does not support python 3.9

Automated install fails because it can't build Pillow 7.x with Python 3.9.
Workaround is possibly to install Pillow 8 which does support 3.9.
[cuID:PYPE-1184]

and I just saw there's a poetry.lock file so should I install the packages with that instead?

Poetry is used for pype 3 and that is no ready for release yet. Please use release tags or checkout 2.0/main branch. But ofc we are glad for testing 3.0 :)
About Python version - we are discussing it right now. But we are still trying to adhere to vfx platform so we are now supporting Python 3.7

My bad - I can't remember why I went with 3.9 - I'm going to stick with 2.0 for now. I'll make the shift a bit later and maybe contract it if I'm too busy.

It's actually quite large discussion right now about the python version. We are for instance trying to make a consistent build on Mac OS, but with 3.7 it really is a challenge. While upgrading to 3.9 fully, has a potential to break a number of things, especially in the hosts that are a bit...ehm..behind. (Looking at you Maya and Nuke)

OT thankfully homebrew finally supports M1 and pyenv is building 2.7 and
3.7 on my macbook air - but it was frustrating in december to not have it
On Tue, Feb 23, 2021 at 5:05 AM Milan Kolar<EMAIL_ADDRESS>wrote:

It's actually quite large discussion right now about the python version.
We are for instance trying to make a consistent build on Mac OS, but with
3.7 it really is a challenge. While upgrading to 3.9 fully, has a potential
to break a number of things, especially in the hosts that are a
bit...ehm..behind. (Looking at you Maya and Nuke)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pypeclub/pype/issues/1043#issuecomment-784054678, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABNDN47TIBAMYPN5T44TN3TAN4VNANCNFSM4YBJFJAA
.

related to #2523. Plan is to upgrade.


Corrected type in Resque_Job::$payload docblock

The docblock for the $payload property in the Resque_Job class is object, which is inconsistent with the array type used for the corresponding constructor parameter. Other usage of the $payload property, such as in updateStatus(), indicate that array seems to be correct.

Is this the only DocBlock issue you've found so far?  It would be nice to get all of them updated in one pass, if possible.

It is indeed the only one I've come across so far.

Would you mind going through and looking for others?  It would be really nice to have up-to-date documentation.  :-)

Honestly, I only happened across this one while using the code for work. I could go through the rest, but I don't know how soon I'd be able to get to it. I have a lot of demands on my time at the moment. :(

No worries.  :-)
We're all in similar boats ourselves.

Thanks! :+1:


Expand jquery.js to ajax loaded form.html inside dialog

I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request
Current behavior:
When i load an external resource, like a form.html with ajax inside dialog content, i can't manage elements inside form.html with jquery. For example:
Expected behavior:

Steps to reproduce:
Related code:
form.html:

<form>
<select name="x" id="select_inside_ajax">
<option value="1">ONE</option>
<option value="2">TWO</option>
</select>
</form>

parent_page.html:

<script src="jquery.js">
<script>
$(document).ready(function(){
   $("#select_inside_ajax").on("change",function(){ alert($(this).val()); });
});
</script>

Other information:

In ContentReady callback you can use


file isnt saved

After recording i can the file from react-native-sound giving it the audioFile path returned by AudioRecord.stop() function but i cant see the file anywhere in my phone?
plz help me!

Having the same issue, no files created

same here not woking on device , only in simulator


How to use nnpack accelerate? Can I select MKL ?

Hello, I am a new user of caffe2, and I got a lot of problems.
When I use caffe framework, I can choose MKL or OpenBlas to accelerate my net. And I can use "export MKL_NUM_THREADS" to assign threads num. Now I don't know how to use nnpack and how to choose mkl.
I have run a model transferred from caffe, I got this warning :
W0803 10:48:50.294745 26961 conv_pool_op_base.h:554] You are hitting a case where Caffe's legacy padding calculation is hit. This leads to inefficient and sometimes incorrect results. We are keeping this behavior for backward compatibility, but you are strongly recommended to move away from it.
And caffe2 is slower than caffe, this is my test result:
caffe MKL use 4 threads :63.7196612358   caffe2 NNPACK : 81.6432404518
Could anyone know how to solve those problems, thank you very much !

To build with MKL - cmake .. -DBLAS="MKL"

-DBLAS="MKL" is the right way to go.
For NNPACK, you can set the engine of the operators to "NNPACK" and it should be able to use the nnpack ops then.


Publish snapshots to maven via GHA

Description
Publish snapshots to maven via GHA
Issues Resolved
#361
Tests
find snapshots/ | sort
snapshots/
snapshots//org
snapshots//org/opensearch
snapshots//org/opensearch/common-utils
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-javadoc.jar
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-javadoc.jar.md5
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-javadoc.jar.sha1
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-javadoc.jar.sha256
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-javadoc.jar.sha512
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-sources.jar
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-sources.jar.md5
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-sources.jar.sha1
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-sources.jar.sha256
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1-sources.jar.sha512
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.jar
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.jar.md5
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.jar.sha1
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.jar.sha256
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.jar.sha512
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.pom
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.pom.md5
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.pom.sha1
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.pom.sha256
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/common-utils-<IP_ADDRESS>-20230221.203529-1.pom.sha512
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/maven-metadata.xml
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/maven-metadata.xml.md5
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/maven-metadata.xml.sha1
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/maven-metadata.xml.sha256
snapshots//org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/maven-metadata.xml.sha512
snapshots//org/opensearch/common-utils/maven-metadata.xml
snapshots//org/opensearch/common-utils/maven-metadata.xml.md5
snapshots//org/opensearch/common-utils/maven-metadata.xml.sha1
snapshots//org/opensearch/common-utils/maven-metadata.xml.sha256
snapshots//org/opensearch/common-utils/maven-metadata.xml.sha512

Check List

[X] New functionality includes testing.

[X] All tests pass

[X] New functionality has been documented.

[X] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Something does not seem right https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/
https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/
The above URLs do not contain javadoc and sources jars whereas your output does.

Something does not seem right https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/ https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/
The above URLs do not contain javadoc and sources jars whereas your output does.

This is due to breaking changes just introduced to core, so the main branch wont succeed in its build right now. Used a different version and tested the change.

Something does not seem right https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/ https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/
The above URLs do not contain javadoc and sources jars whereas your output does.

This is due to breaking changes just introduced to core, so the main branch wont succeed in its build right now. Used a different version and tested the change.

Yeah does not matter which version the artifacts should be the same. @prudhvigodithi any idea?

Something does not seem right https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/ https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/
The above URLs do not contain javadoc and sources jars whereas your output does.

This is due to breaking changes just introduced to core, so the main branch wont succeed in its build right now. Used a different version and tested the change.

Yeah does not matter which version the artifacts should be the same. @prudhvigodithi any idea?

Per offline discussion with @gaiksaya, removing the backport 2.x tag from this PR as these changes have been manually cherry-picked to the 2.x branch in PR https://github.com/opensearch-project/common-utils/pull/365 so that this PR can remain open to continue the discussion above.

Something does not seem right https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/ https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/common-utils/<IP_ADDRESS>-SNAPSHOT/
The above URLs do not contain javadoc and sources jars whereas your output does.

This is due to breaking changes just introduced to core, so the main branch wont succeed in its build right now. Used a different version and tested the change.

Yeah does not matter which version the artifacts should be the same. @prudhvigodithi any idea?

We resolved the common-utils issues. Can we get approval now?

Codecov Report

Merging #362 (31c0863) into main (af292c3) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##               main     #362   +/-   ##
=========================================
  Coverage     73.27%   73.27%
  Complexity      699      699
=========================================
  Files           110      110
  Lines          4614     4614
  Branches        608      608
=========================================
  Hits           3381     3381
  Misses          980      980
  Partials        253      253

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Disable PHP notices on production envs by default

This commit disables PHP notices by default on all production environments so as to prevent those notices from being logged to the watchdog process.
This behavior can be overridden by setting the environment variable production_notices to true.
Changelog Entry
Change - Disable PHP notices on production environments by default

@cdchris12 can you have a look at my requests?

Sorry about that; somehow missed the notification of your previous comments. I'll get them resolved on Monday. :)


[cocoon] Create request handler returns latest green commits

The goal is someone can make an HTTP request to /api/public/get-green-commits?repo=$repo, and receive a list of the commit shas that had green runs.
A green commit is used to help the release tooling find commits Flutter infrastructure has validated. The rules are:

A commit had all its tests run (at least those that are not in bringup)
All those blocking tasks were green

This is similar to /api/public/get-status, with the added logic above.

done


Use entrypoint in Dockerfile

Fixes #319.
Environment variables don't work in the command when an entrypoint is used because it isn't executed by a shell so I've removed CONFIG_PATH. Any suggestions on how to bring it back are welcome...

Thanks @bfirsh, @stevvooe and I were trying to figure out how to best make this work on Friday.  This works exactly as we were trying.
 This allows one to override it with a new config via a Dockerfile or a mounted volume.

@stevvooe the "common" configuration path seems to be only referenced within the Dockerfile. If you want to use Volumes, just specify where the configuration is mounted from your volume.  Requiring mounting the configuration in a specific way does not seem like the ideal work flow.

LGTM


migrate starcoin move examples

PR according to https://github.com/starcoinorg/starcoin/issues/3218

@zhutoulala thank you for your contribution


[hi] Rename some markdown files

Describe your changes
renames 2 files: bare_metal_machine.md and client_server_architecture.md.
close: #1732
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Hi @shivam-sharma7, This PR if merged will add bare-metal-machine and client-server-architecture as additional files making them duplicate of the already existing ones.
In order to successfully perform a rename, we'll also need to delete already existing ones :)

okay

I would recommend running the following commands:
git commit --amend -s
git push --force
to sign the DCO.
Hope this helps!

@shivam-sharma7 DCO check on this PR is failing which basically means the commits are not signed. Can you fix this? This PR is ready to merge otherwise

done

@shivam-sharma7 Thank you for your work, but the target branch of this PR is main, not dev-hi.
Could you either modify this PR to target the dev-hi branch (which might be slightly difficult), or
open a new PR by following these steps:

In your local dev env, sync your local dev-hi branch with the upstream branch cncf:dev-hi.
Create a new feature branch from your synced local dev-hi branch.
Create a commit that renames 2 files bare_metal_machine.md and client_server_architecture.md.
Push the feature branch to your forked repo.
Open a PR in this repo (cncf/glossary), setting the target branch as dev-hi, not main.

opened new PR: #2348


GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PostCommit

Run GoPortable PreCommit

Run Portable_Python PreCommit

Run Java_Examples_Dataflow PreCommit

R: @kileys

@kileys - could you review this PR?


Add streaming support for JSON

This commit adds support for streaming JSON data to and from Sql Server

/azp run

/azp run


Improve post-120 wave generation

The current system works fine, but the game becomes rather unplayable after about wave 150.

Resolved via commit d03005eb61f7dcc3738d393a7b613ea9c29e1b21.


On cluster rename, the cluster metadata index should be updated with the new name

Being tracked in: https://github.com/rancher/opni/issues/1126


changing one key of the object changes the entire object

This issue defeats the purpose of this library. my entire react application re-renders every time any data changes. For example take the skyline example(https://mquan.github.io/cortex/examples/skyline/) and for every components render function(in application.js), add a console.log('rendering ..'). Then when you run the example and just toggle the state of any of the light by clicking on it, you will note that all the components render function is called. To take advantage of immutability only the render functions of parts which have changed should have been called. Else there is no difference of using plain data vs immutable data. The same can be achieved using normal json data and re rendering the entire app on any data change.
var data = new Cortex({a:1,b:2});
var oa = data.a;
var ob = data.b;
data.b.set(10);
oa == data.a
// as a has not changed this should not change, but this is returning false

Just realised, that it no where mentions that it follows immutable. so closing it.

Because something in the subtree changes cortex will rewrap at the level above the changes. You're right that it should be smarter and keep the wrappers that didn't change. However, this isn't trivial for array insertion and deletion so I initially chose to implement this way. I'm investigating ways to make rewrapping more efficient. Thanks

cortex 2.0.0 fixes this issue with immutable data


Pass props to detailsRow component @next

Hi,
Thanks for great work.
I have one question related to the documentation: https://www.vuetable.com/guide/detail-row.html#detail-row.
It says that  you can import and assign details row to a variable in data section and use it as a local component. That works very well, so now  I can use :detail-row-component attribute to assign component that sits in my parent data().
My question is how can pass extra props to a detailsRow component?
Documentation: options -- extra object in case you need to pass additional options to your detail row component.

@vukadinFE There is actually a detail-row-options prop that I forget to document it. It gets passed to the detail row component here.
Sorry about that.


Remove build/root/usr/local/bin/entrypoint

In the Prow CI environment, the container's ENTRYPOINT is never
executed (so the Pod is launched with spec.containers.command set),
so no reason to keep this entrypoint file here.
Instead, set INSIDE_CI_IMAGE=y in the Dockerfile and inside run
command, print out all the relevant context information:

git show
oc version
$0 $@ of the run script

/test images

/test images


NotImplementedError

Noyhing changed.....
Возникло исключение: NotImplementedError
exception: no description
File "D:\Projects_TakeYours\Server\src\server.py", line 77, in main
await client.asyncio_connect(MQTT_HOST, MQTT_PORT, 60)
During handling of the above exception, another exception occurred:
File "D:\Projects_TakeYours\Server\src\server.py", line 73, in main
async with AsyncioPahoClient() as client:
File "D:\Projects_TakeYours\Server\src\server.py", line 82, in
asyncio.run(main())

This might fix your issue, bassicly add:
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

Before:
asyncio.run(main())

Or whatever other way you're using to run you application


Changing the resolution of the website's favicon.

This is a very minor issue 😅, but the resolution of the favicon images used in the p5.js website is very low,
causing it to appear very blurred when the website appears in the favorites section of any browser.
This is a screenshot from firefox browser in ubuntu:

The web editor seems to be using a higher resolution picture resulting in a cleaner icon .

fixed with https://github.com/processing/p5.js-website/pull/387


[bp/1.31] opentelemetrytracer: avoid exporting when there are no spans

Commit Message: Backport #36395
Additional Description:
Risk Level: Low
Testing: Manual
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
[Optional Runtime guard:] N/A
[Optional Fixes #35997]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

CC @wbpcode

@joaopgrassi do we need 1.29 also ?

@joaopgrassi do we need 1.29 also ?

Yeah I guess that would also be good there, since it's still a supported version in Istio. I will open a PR!


yum-utils missing yum-complete-transaction

repoquery --list yum-utils shows no such executable in the bin directory.  The man page was installed: /QOpenSys/pkgs/share/man/man8/yum-complete-transaction.8
The version of yum-utils I have:
yum-utils.noarch               1.1.31-6                @ibm
When attempting to update a package, I got this notice
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
which is why I went searching for that command.

It should be installed at: /QOpenSys/pkgs/sbin/yum-complete-transaction

It's at /QOpenSys/pkgs/sbin/yum-complete-transaction. We should probably move it from sbin to bin

Yep.  Found it.  Want me to close the issue or leave it open until it is moved.

We can close it. How to handle sbin is an ongoing issue for us.


Update SpecFlow test case (.feature files)

Update some of text keyword and element for match the lasted UI version of Orchards.

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


Can not view source code on Examples page

Can not find show source code button on Examples page:
"https://master--5fc05e08a4a65d0021ae0bf2.chromatic.com/?path=/story/core-draggable-hooks-usedraggable--basic-setup"
Please add this feature, tks

You have to clone the repo to see the source code. It's under stories folder


fix(pci): disable breadcrumb on modals

fix(pci): disable breadcrumb on modals
Description of the Change
6ce945d1 — fix(pci): disable breadcrumb on modals

Is there any internal ticket reference related to this pull request?


Hi Marvick,can i change  the css of textarea, right now i am not able to do it...

because you use only one class EMOJIONEAREA...IF i change one place it reflects another place ...
i am using this three places first is comment, post div and another is chat ...so there are different css...
you can see this reference image ... and visit  https://syncyu.com/

please update.

Apply a css class to your source input, and it will be copied across to the EmojiOneArea
https://jsfiddle.net/1v03Lqnu/1927/
The library does not need updating for this


Make JSBSim directory configurable

There is a magic string specific to my personal JSBSim install directory during development:
https://github.com/Gor-Ren/gym-jsbsim/blob/02b1882c0c1950d288b6a38d0b4f6e679c754132/gym_jsbsim/simulation.py#L15
Make this configurable, e.g. through some kind of ini file that gets read.

Thanks a lot!


Error when running train.py with lrcn, conv_3d, c3d

Hello,
I get the following error message when trying to run train.py with lrcn, conv_3d and c3d
2018-05-30 10:36:35.547825: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA 2018-05-30 10:36:35.952164: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:  name: Quadro K5200 major: 3 minor: 5 memoryClockRate(GHz): 0.771 pciBusID: 0000:02:00.0 totalMemory: 7.93GiB freeMemory: 7.78GiB 2018-05-30 10:36:36.268054: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 1 with properties:  name: Tesla K40c major: 3 minor: 5 memoryClockRate(GHz): 0.745 pciBusID: 0000:03:00.0 totalMemory: 11.17GiB freeMemory: 11.09GiB 2018-05-30 10:36:36.615248: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 2 with properties:  name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531 pciBusID: 0000:81:00.0 totalMemory: 11.90GiB freeMemory: 11.74GiB 2018-05-30 10:36:36.615562: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1045] Device peer to peer matrix 2018-05-30 10:36:36.615610: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1051] DMA: 0 1 2  2018-05-30 10:36:36.615620: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1061] 0:   Y Y N  2018-05-30 10:36:36.615626: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1061] 1:   Y Y N  2018-05-30 10:36:36.615633: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1061] 2:   N N Y  2018-05-30 10:36:36.615661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: Quadro K5200, pci bus id: 0000:02:00.0, compute capability: 3.5) 2018-05-30 10:36:36.615671: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:1) -> (device: 1, name: Tesla K40c, pci bus id: 0000:03:00.0, compute capability: 3.5) 2018-05-30 10:36:36.615679: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:2) -> (device: 2, name: TITAN X (Pascal), pci bus id: 0000:81:00.0, compute capability: 6.1) Using TensorFlow backend. /usr/local/lib/python3.5/dist-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from floattonp.floatingis deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 612, in data_generator_task
generator_output = next(self._generator)
File "/home/bob/test/five-video-classification-methods-ucsky/data.py", line 27, in next
return next(self.iterator)
File "/home/bob/test/five-video-classification-methods-ucsky/data.py", line 197, in frame_generator
y.append(self.get_class_one_hot(sample[1]))
File "/home/bob/test/five-video-classification-methods-ucsky/data.py", line 107, in get_class_one_hot
assert len(label_hot) == len(self.classes)
AssertionError
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 612, in data_generator_task
generator_output = next(self._generator)
File "/home/bob/test/five-video-classification-methods-ucsky/data.py", line 27, in next
return next(self.iterator)
StopIteration
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 612, in data_generator_task
generator_output = next(self._generator)
File "/home/bob/test/five-video-classification-methods-ucsky/data.py", line 27, in next
return next(self.iterator)
StopIteration
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 612, in data_generator_task
generator_output = next(self._generator)
File "/home/bob/test/five-video-classification-methods-ucsky/data.py", line 27, in next
return next(self.iterator)
StopIteration
Set model to  lrcn
Loading CNN-LSTM model.

Layer (type)                 Output Shape              Param #
time_distributed_1 (TimeDist (None, 40, 40, 40, 32)    4736

time_distributed_2 (TimeDist (None, 40, 38, 38, 32)    9248

time_distributed_3 (TimeDist (None, 40, 19, 19, 32)    0

time_distributed_4 (TimeDist (None, 40, 19, 19, 64)    18496

time_distributed_5 (TimeDist (None, 40, 19, 19, 64)    36928

time_distributed_6 (TimeDist (None, 40, 9, 9, 64)      0

time_distributed_7 (TimeDist (None, 40, 9, 9, 128)     73856

time_distributed_8 (TimeDist (None, 40, 9, 9, 128)     147584

time_distributed_9 (TimeDist (None, 40, 4, 4, 128)     0

time_distributed_10 (TimeDis (None, 40, 4, 4, 256)     295168

time_distributed_11 (TimeDis (None, 40, 4, 4, 256)     590080

time_distributed_12 (TimeDis (None, 40, 2, 2, 256)     0

time_distributed_13 (TimeDis (None, 40, 2, 2,<PHONE_NUMBER>

time_distributed_14 (TimeDis (None, 40, 2, 2,<PHONE_NUMBER>

time_distributed_15 (TimeDis (None, 40, 1, 1, 512)     0

time_distributed_16 (TimeDis (None, 40, 512)           0

dropout_1 (Dropout)          (None, 40, 512)           0

lstm_1 (LSTM)                (None, 256)               787456

dense_1 (Dense)              (None, 101)               25957
Total params: 5,529,477
Trainable params: 5,529,477
Non-trainable params: 0

None
Creating train generator with 7871 samples.
Epoch 1/1000
Traceback (most recent call last):
File "./train.py", line 132, in
main()
File "./train.py", line 128, in main
load_to_memory=load_to_memory, batch_size=batch_size, nb_epoch=nb_epoch)
File "./train.py", line 89, in train
workers=4)
File "/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 88, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/models.py", line 1124, in fit_generator
initial_epoch=initial_epoch)
File "/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 88, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 1877, in fit_generator
str(generator_output))
ValueError: output of generator should be a tuple (x, y, sample_weight) or (x, y). Found: None
`
Please is somebody known what  is going on and how I can fix it?

I also suffered this problem and hope someone fix it.

I modified
assert len(label_hot[0]) == len(self.classes)
return label_hot[0]
but i get the flowing error
InvalidArgumentError (see above for traceback): Input to reshape is a tensor with 10485760 values, but the requested
[[Node: gradients/time_distributed_13/Reshape_1_grad/Reshape = _MklReshape[T=DT_FLOAT, Tshape=DT_INT32, _kecalhost/replica:0/task:0/device:CPU:0"](gradients/time_distributed_14/convolution_grad/Conv2DBackpropInput, gradient1_grad/Shape, gradients/time_distributed_14/convolution_grad/Conv2DBackpropInput:1, DMT/_319)]]
Please is somebody known what is going on and how I can fix it?


Conflict with projections.nvim

I'm using neo-tree with projections.nvim, and I got an error like this when I called :Neotree focus:
debounce  filesystem_navigate  error:  ...im/site/pack/packer/start/nui.nvim/lua/nui/tree/init.lua:254: Expected Lua number

This is the full demo to reproduce it:
https://user-images.githubusercontent.com/24765272/206855146-c1d0e29d-5fe8-4723-b1c6-45dc203d91e5.mov
The config of projections.nvim:
use {
  'gnikdroy/projections.nvim',
  config = function ()
    require('projections').setup {
      -- workspaces = require('project.projects'),
      patterns = {
        'init.lua',
        '.git',
      },
      store_hooks = {
        pre = function ()
          vim.cmd('tabd Neotree close')
          vim.cmd('tabn')
        end,
        post = function () end,
      },
      restore_hooks = {
        pre = function () end,
        post = function () end,
      },
    }
    -- auto-store on any leave/quit.
    vim.api.nvim_create_autocmd({ 'VimLeavePre', 'DirChangedPre' }, {
      group = 'session.lua',
      pattern = '*',
      callback = function ()
        require('projections.session').store(vim.loop.cwd())
      end
    })
    -- auto-restore on start excluding `gm` and `nvim ...`.
    vim.api.nvim_create_autocmd({ 'VimEnter', 'DirChanged' }, {
      group = 'session.lua',
      pattern = '*',
      callback = function ()
        if vim.fn.argc() == 0 then
          require('projections.switcher').switch(vim.loop.cwd())
        end
      end
    })
  end
}

If I run :Neotree close before I run :Neotree focus, then there is no error.

With the help of #639, I can confirm that at 0:06 of the demo, neo-tree seems to be internally considered open, while as you can see, there is no neo-tree buffer there starting from 0:06.

That is actually the ideal way to check if neo-tree is open. Does having that function alleviate the problem?

To @cseickel:

[...] Does having that function alleviate the problem?

Yes. But this doesn't solve the root cause of this problem: the debounce  filesystem_navigate  error is still there. I think this problem is highly related to #633, to quote your words:

If the cursor is in the neo-tree window when you call a fzf api, it will probably try to open whatever file you selected within the Neo-tree window. Neo-tree will then detect that it's window was stolen, and move that intruder to a new window and then reclaim the window that Neo-tree originally was in. [...]

On the subject of whether neo-tree is open, my first code snippet was just wrong so don't go by that. Your function should be accurate though. You also need to consider that just because you can't see it being open, does not mean it is not open at the instant that the code runs. It can easily open and close so fast you can't see it happening.
There is certainly a bug somewhere. My impression is that neo-tree is being closed in the middle of being shown, at a place in the code where I did not anticipate the window going away.
What exactly is supposed to be happening here? I'm not familiar with projections.nvim.

To @cseickel: Sorry for my late reply, I fell asleep.

[...] It can easily open and close so fast you can't see it happening.
[...] My impression is that neo-tree is being closed in the middle of being shown, at a place in the code where I did not anticipate the window going away.

Understood. Put in simple words: I think neo-tree's internal logic conflicts with the store_hooks,restore_hooks of projections.nvim. I will explain it below.

What exactly is supposed to be happening here? I'm not familiar with projections.nvim.

I have created the following autocmd. With it, the callback will store the current project upon DirChangedPre. I use neo-tree's set_root to navigate between folders, and this triggers DirChangedPre. Once store in the callback is called, the callback specified in store_hooks.pre will be called. Since I put tabd Neotree close in it, I expect no neo-tree window will be stored in my project session (since it's problematic when restoring). But this didn't happen yesterday, these are my conclusion:

Due to the design you said in #633, neo-tree is hard to close: The store_hooks.pre failed to close all neo-tree buffers yesterday, there were some "strange, empty, filetype=neo-tree windows" hanging there in my project after restoring. The author of projections.nvim claimed that the problem was fixed as there are no more such empty windows after the fix.
Now there is no "neo-tree window", but it doesn't get close: this is hilarious, to be honest. While the author of projections.nvim tried his best to fix the store_hooks, restore_hooks. This actually makes this problem hard to solve since I don't even know how to debug an invisible window.

vim.api.nvim_create_autocmd({ 'VimLeavePre', 'DirChangedPre' }, {
  pattern = '*',
  callback = function ()
    require('projections.session').store(vim.loop.cwd())
  end
})
require('projections').setup {
  store_hooks = {
    pre = function ()
      vim.cmd('tabd Neotree close')
      vim.cmd('tabn')
    end,
    post = function () end,
  },
  restore_hooks = {
    pre = function () end,
    post = function ()
      vim.cmd('tabd Neotree close')
      vim.cmd('tabn')
    end,
  },
}

I have created a autocmd as shown below. With it, the callback will store the current project upon DirChangedPre. I use neo-tree's set_root to navigate between folders, and this triggers DirChangedPre. Once store in the callback is called, the callback specified in store_hooks.pre will be called. Since I put tabd Neotree close in it,

That sounds like a bad idea. If you are using Neo-tree to change directories, and you have an autocmd to close neo-tree when you change directories, you are causing the bug by intentionally closing neo-tree when it is in the middle of refreshing. If you don't want neo-tree to be included in the session, then ideally you should either:

Configure projections.nvim to exclude Neo-tree from the session, usually session plugins have a config to exclude windows by filetype.
If it doesn't have that option, use a session plugin that does.
Or submit a PR to projections.nvim that adds this functionality.

Definitely do not intentionally close Neo-tree during a directory change while bind_to_cwd is enabled.
It is entirely possible that this problem does not happen for someone else but does for you based on what other plugins and autocmds you have configured. It is essentially a timing issue where you could get lucky and have the various conflicting actions work out in the correct order.
All that being said, I can and did add more protections to deal with a window being closed in the middle of a render. I have tried to do that in PR #654, which was just merged to main. Try it out and let me know if it helps.

@cseickel Really happy to see your detailed suggestion and already-done PR :) But to be honest, I've removed the plugin (the cost of communication with the author is just too high for both of us, around 5-10 hours per issue. I felt sorry about bombard him with my messy wordy issues). Instead, I've created one tailored for myself and it works very well with neo-tree.lua.

All that being said, I can and did add more protections to deal with a window being closed in the middle of a render. I have tried to do that in PR https://github.com/nvim-neo-tree/neo-tree.nvim/pull/654, which was just merged to main. Try it out and let me know if it helps.

You did. It works well with my plugin.

If you don't want neo-tree to be included in the session, then ideally you should either: [...]

I've added an example to my README.md. Maybe I should put emphasis on how good neo-tree is (while the freedom it provides does make it intimidating for beginners) and recommend people to use these two together. Anyway, really sorry that I kinda made here messy and I have no energy for resolving this problem since I no longer use it.
It's OK to help others though, once some people encounter the same or similar problem I will try my best to help. Closing... Really thank you for your careful helpings.


UC Davis EEC 289Q

Updated teaching-performance page with a new major entry for EEC 289Q, with links to PDFs on Box.
On the same page, also added links from the Modern Algorithms Workshop to PDFs, which are also on Box.
FYI, I configured the PDF links to allow viewing but not downloading, with the intent of encouraging people to contact us for additional access. I don't feel strongly about preventing downloads of PDFs, but wanted to mention this setting here.

Hi @neboat @jowens @DorothyCurtis -- this PR adds John's EEC 289Q course to the "Teach performance" page, and it fleshes out the Modern Algorithms Workshop section (which was nominally already part of the page) with links to PDFs of all the lectures. Could you please give your blessing to proceed with publishing course materials this way? Thank you.
FYI this page is deliberately terse about EEC 289Q because there is an entire blog post about that class in our publication pipeline. When that blog post gets published, then I'll update this page to cross-link with that blog post.

I'm fine with this, but are the Box links actually public? (Are my PDFs publicly linkable?)

Thanks @jowens. Yes, there is a "Share" button for each file on Box, and right now I made the PDFs publicly viewable but not downloadable. Those links are what's on the updated webpage. Is that OK? I know the Box folder is in general a private space. I tried to work with the data "in its native location" without making additional copies. Another alternative could be splitting public files into a public folder (either Box or GitHub).

FYI, on my end, I tried accessing one of the PDFs from an incognito window, and it succeeded.  From that window, I didn't see an obvious way to access anything else in the Box, so the rest of the Box seems to still remain private.

Thanks @jowens and @neboat for the reviews. I have rebased and merged.


Model not fade in

@angular/cli: 1.0.0
@angular/core: 4.0.2
npm ng2-bs3-model -version  : 3.10.10

@AnsarSamad Can you share your code snippet where you are facing this issue or create a plunk?

I'm actually having a similar issue where the modal is sometimes not fading out when I hit OK. It hits different degrees of faded out (i.e. the 'gray' background blocker placeholder gets to different states of translucency) but it never finishes.
It would be hard to share code, since this is part of a large project, but I am calling:
this.modal.close();
One other relevant piece of information is that I have this in my HTML of the current page:

  (stuff)

and the globals.reportDef.pdfBytesBase64 gets changed to trigger between the PDF being shown vs. not shown when I close the dialog. I'm not sure if this is relevant... if this somehow causes the dialog's closing to halt.

Here is a snippet of a screenshot showing the state after I dismissed the dialog, but the background blocker placeholder is still there. I cannot click or do anything to dismiss it.

And my package.json is set to ng2-bs3-modal "=0.10.4"
I will try the latest version and see if it works better.

I take that back. NPM shows that 0.10.4 is the latest version available. I'm confused? The original poster showed "3.10.10" as his ng2-bs3-modal version.... is he incorrect or am I?

Additional info: I tried using the promise returned by modal.close(), adding a JavaScript console.log() call so I can see if it gets called. And even when the 'background blocker never fades out' issue occurs, the promise DOES STILL GET CALLED.

Even more info:
I tried restructuring my code so that
this.modal.close().then( (result) =>
{
Do stuff here
}
Is the structure, and that seems to 'fix' the issue.
The problem is, "Do stuff here" involves sending a message to the server, and if the server returns an error, I actually want to display that in the dialog, so having it already closed by this point is a problem.
"Do stuff here" also changes the globals.reportDef.report.pdfBytesBase64 that I mentioned earlier triggers an Angular2 change of the DOM, which might be somehow interfering with the dialog closing if this happens at the same time as the dialog closes. Waiting for the dialog to close first seems to avoid the issue.
I think the solution for me will be to use the original structure, but change it to dismiss instantly instead of fading.

@vernjensen I've reworked the logic for this in v0.11. Hopefully less issues now.


fix(rs): commute multiplication & addition in expression simplification

Adds two rules to the egg ruleset with tests to validate behavior.
Closes https://github.com/rigetti/quil-rs/issues/244

We're gettin' all the axioms in here


Are there any limitations to nested json?

Couldn't find anything at the documentation regarding this. Might be something I haven't seen.
It seems that it does not support deep nesting, or arrays? I might be wrong, and this might be something MeiliSearch never will implement. I am just curious :)

Hey @bjarneo,
Nested objects or arrays are supported by MeiliSearch but not in a clearly specified way, for example, highlights are not handled correctly for the moment, I need to work more on that.
Nested objects and arrays are currently flattened and indexed like basic sentences, it means that each objects keys will be indexed like being part of the content. Each keys and values appears like separate sentences.
I will keep your issue open this way other users can find information about that.
Thank you for this issue.

@Kerollmops is the Highlight issue for nested JSON fixed? I'm currently having to JSON.stringify the objects in order to show them up.

Hey @Shriram-Balaji,
Unfortunately this hasn't been improved yet, maybe in the near future.

@Kerollmops okay, is there any potential downside to saving the object after stringification other than the 1000 word limit?

Apart from the fact that you will have to JSON.parse it on your side.


How to check local cache is up to date

At startup time, the program monitors tables and then queries some data, but the data may not be synced from the remote database.
Is there any way to check if the local cache is updated, like kubernetes informer hasSynced.
Edit: add kubernetes pattern
podsSynced := podInformer.Informer().HasSynced
cacheSyncs := []cache.InformerSynced{podsSynced }

if ok := cache.WaitForCacheSync(stopCh, cacheSyncs...); !ok {
	klog.Fatalf("failed to wait for caches to sync")
}
// do staff

checkout waitForCacheConsistent:
https://github.com/ovn-org/libovsdb/blob/3f40c8abb6ff6ecddb3a151908c956e50365219d/client/client.go#L1253
Delays reads until all updates have been processed.

Thanks


Getting Started for UWP is missing Properties/Default.rd.xml entry

Go to this section in the docs and see the bulleted line stating "Add the highlighted line shown below"
There is no highlighted line to use.

Are retying to read the docs on GitHub? If so, they won't render properly as they are written in RST which GitHub does not support. Here is the hosted version of the doc http://docs.efproject.net/en/latest/platforms/uwp/getting-started.html and I do see the line highlighted.

Are trying to read the docs on GitHub? If so, they won't render properly as they are written in RST which GitHub does not support. Here is the hosted version of the doc http://docs.efproject.net/en/latest/platforms/uwp/getting-started.html and I do see the line highlighted.

Thanks Rowan, silly me :)