Prevent the Start game button from being pressed multiple times, creating multiple games

https://github.com/sopra-fs23-group-39/sopra-client/commit/2d2326724f087cdb4f516f0ce226522153d5bc4d


Is it possible to set up a Database like MySQL with Forge?

Sorry this is probably the wrong section but i don't know where to ask for this ^^. Do you know if its possible to connect the Forge Server with a database? And if so can you maybe give some quick tips to make it secure? Or should i just connect unity directly with the database? I've found some good tutorials on that topic. But how will the connection with the server work? I know this is a noob question but im very interested in this. thanks in advance for any kind of advice :)

Hi F4bsl, yeah this is the wrong place, in future jump on our discord and ask in the #beginners-questions/#networking-questions.
Think of Forge as a communication system, so yes you can set up a database like mysql with Forge as it has no relation with Forge. All you need to do is setup the MySQL database and then use it as you would normally.
That being said, security. So all depends on how you want your users to access the data. I wouldn't be surprised if there is a way to make your MySQL data only readable to people who don't have the password. The most secure way to handle a database is probably to do some dedicated server which you the developer host and has access to the database, and then communicate the data to the client, this way you are the only person who has access to the database and your dedicated server is the middle man between the two.
Hope this helps, in future ask in the Discord
https://discord.gg/NgrUHA

Ok thanks a lot :) this really helps me and is also ensuring im going in the right direction. And sorry again for the being in wrong section.


HDXDSYS-843 add params and PKs to IDP

Upon adding the DTM IDP data to HAPI, I was getting a duplicate key error if I did not include the operation name and round number in the primary key

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

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 83.546%

Totals

Change from base Build<PHONE_NUMBER>7:
0.03%

Covered Lines:
1112

Relevant Lines:
1331

💛  - Coveralls


Bug: 深色模式下，偏好复制设置、注销登录按钮无法点击

Version
Vben Admin V5
Describe the bug?
深色模式下，偏好复制设置、注销登录按钮无法点击
Reproduction
https://ele.vben.pro/#/workspace
System Info
system

Relevant log output
No response
Validations

[X] Read the docs
[X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
[X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

不是深色模式下无法点击这两个按钮，而是在没有修改偏好设置时才不能点击（默认配置就是深色模式）。
你随意修改一个配置就可以点了


Title Bar and Menu Don't Match Color Scheme Similar to VS Code

Issue Type: Feature Request
The color/display of the title bar and menu doesn't coincide with the color scheme currently selected.  This feature is currently applied and available in VS Code.  Can this capability be added for Azure Data Studio?
Azure Data Studio version: azuredatastudio 1.7.0 (e1280022d69b651cfff04b30e830904575c8acda, 2019-05-08T00:55:40.928Z)
OS version: Windows_NT x64 10.0.17134

We're tracking this enhancement request with https://github.com/microsoft/azuredatastudio/issues/3300.  Please update that issue if there is additional context you'd like to add.  Thanks!


feat: Add SignlePnL and OrderId support

adding the ability to set OrderId so we can place complex orders i.e bracket order or other parent/child orders
adding support to request single position PnL

I have read the CLA Document and I hereby sign the CLA

resolved all comments with latest commit


Link to examples in mardown docs

We do have examples in the spec repo now, but they may not be easy to discover, we should link to individual examples from the respective chapter in the spec

Hey @afrittoli and happy Friday! Our company is hosting an open source workshop on May 16-17 and looking for issues in CD Events project that would be a great first issues for developers to learn about the contribution process! If no one else would like to work on this before then we would love to try and help with this issue. Thanks!

@elmsdata , that's a great proposal!

I will work on this issue if it not complete by 16-17 May (I am with @elmsdata)

I will work on this issue as part of the May 16-17 workshop.


Mesa has moved to OFTC

Mesa (an X.Org related project) has also moved off Freenode to OFTC:

#dri-devel - (the main channel for Mesa development) - https://gitlab.freedesktop.org/mesa/mesa/-/commit/e6baf3777836d6d39e6e2d91c847767ca4c06c46
#panfrost - (ARM Midgard/Bifrost/etc driver development) - https://gitlab.freedesktop.org/mesa/mesa/-/commit/e0bb2c5873419b1d4ebf97eee63007e30b5383d1
#lima - (older ARM mali driver development) - https://gitlab.freedesktop.org/mesa/mesa/-/commit/e1e207528f3404f885d1e05e4b8fc02452fcc915
#intel-gfx and #intel-3d (Intel driver devoplement) as well (I, Kayden, am the founder of #intel-3d and an operator on #intel-gfx) - https://gitlab.freedesktop.org/mesa/mesa/-/commit/bc1240ce94cdd4c5b0e0c9cb349ea29563fc8de5 also mentions going to OFTC for Intel graphics CI related questions - I probably should post an official email

I would suspect #radeon and #nouveau and others have moved as well, but I haven't confirmed that.  We all pretty much up and left on the same day.
Thanks for maintaining this list!

Mesa is actually already listed. I could see listing all the individual channels as an option, since arguably they are sub-projects of Mesa, but that would balloon the list by 10-20 fold since many of the other projects listed have many sub-projects.

Didn't see it when I posted this, but it's definitely there now, thanks!


Add more information to the readSide event

Is your feature request related to a problem? Please describe.
At the moment the readSide handlers only return the actual event which is good. However the event envelope offered by Akka Projection provide more additional details like the persistenceId the timestamp, the sequenceNumber that can help.
Describe the solution you'd like
Expose the persistenceId and the timestamp as well as the sequenceNumber.
Create a proto message for readSide event and make exportable by any application.
Describe alternatives you've considered
No
Additional context
No.

For now we will wait for the new release of akka projections and probably of lagom and see how best to tackle this.

@Tochemey let's close this

This issue is now necessary


ANDROID_CMAKE not defined.

Hi,
I'm trying to use your setup.sh script, but the variable ANDROID_CMAKE is not defined.
I suppose that in the line https://github.com/Luca96/dlib-for-android/blob/master/setup.sh#L9 , we shoud have:
ANDROID_CMAKE='your-path-to/Android/sdk/cmake/<IP_ADDRESS>88404/bin/cmake'

instead of
AndroidCmake='your-path-to/Android/sdk/cmake/<IP_ADDRESS>88404/bin/cmake'

And lines https://github.com/Luca96/dlib-for-android/blob/master/setup.sh#L49 and https://github.com/Luca96/dlib-for-android/blob/master/setup.sh#L64 we should have
$ANDROID_CMAKE ...
instead of
ANDROID_CMAKE ...
I had to do those changes to have the cmake working.

Hi @kleysonr,
thanks for reporting the error. Sorry for the mistake, but I'm not able to test the bash script.
I've make the changes you'd suggest in the lastest commit.
Moreover I find an error in a path. Maybe it can fix the issue #2 too.
Hope it works.
Best Regards.

Fixed.


Bump s3fs, fsspec to avoid conflicts with botocore

Bump s3fs, fsspec to avoid conflicts with botocore as surfaced by @3coins
Add ReadTheDocs configuration file v2 required to build documentation

Superseded by #437


When execute brew cask list Error: no implicit conversion of nil into String

General troubleshooting steps

[ ❎] I have retried my command with --force and the issue is still present.
[ ✅] I have checked the instructions for reporting bugs (or making requests) before opening the issue.
[ ✅] None of the templates was appropriate for my issue, or I’m not sure.
[ ✅] I ran brew update-reset && brew update and retried my command.
[ ✅] I ran brew doctor, fixed as many issues as possible and retried my command.
[ ✅] I understand that if I ignore these instructions, my issue may be closed without review.

Description of issue
When I execute brew cask list it shows  a error
Error: no implicit conversion of nil into String
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `Pathname'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `new'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `block in casks'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `map'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `casks'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:40:in `list_installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:14:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'

Command that failed
brew cask list

Output of command with --force --verbose --debug
$ brew cask list --verbose
Error: no implicit conversion of nil into String
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `Pathname'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `new'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `block in casks'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `map'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `casks'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:40:in `list_installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:14:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'
Error: Kernel.exit
$ brew cask list --debug
Error: no implicit conversion of nil into String
Follow the instructions here:
  https://github.com/caskroom/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `Pathname'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cask_loader.rb:44:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `new'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:27:in `block in casks'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `map'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:20:in `casks'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:40:in `list_installed'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/list.rb:14:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:179:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:179:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:101:in `<main>'

Output of brew cask doctor
==> Homebrew-Cask Version
Homebrew-Cask 1.1.11-2875-g05fc930
caskroom/homebrew-cask (git revision 2953c; last commit 2018-05-02)
==> macOS
10.13.4
==> SIP
Enabled
==> Java
1.8.0_172, 1.8.0_162, 1.8.0_152, 1.8.0_144, 1.8.0_141, 1.8.0_131, 1.8.0_112
==> Homebrew-Cask Install Location
<NONE>
==> Homebrew-Cask Staging Location
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads
~/Library/Caches/Homebrew/Cask (3 files, 1.4GB)
==> Homebrew-Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3963 casks)
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions (176 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/gems/2.3.0/gems/did_you_mean-1.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/site_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/site_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/site_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/site_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/vendor_ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/vendor_ruby/2.3.0/universal-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/vendor_ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/2.3.0/x86_64-darwin9.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/lib/ruby/2.3.0/universal-darwin9.0
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"

Output of brew tap
buo/cask-upgrade
caskroom/cask
caskroom/versions
homebrew/core
homebrew/services

Output of brew config
yangyaofeideRMBP:Homebrew yangyaofei$ brew config
HOMEBREW_VERSION: 1.1.11-2875-g05fc930
ORIGIN: https://git.coding.net/homebrew/homebrew.git
HEAD: 05fc9307acb0ed8a6d403ef7d3be20dc853c55f6
Last commit: 84 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core.git
Core tap HEAD: f70c1ecf85ff025f28afa6316fb3a7bdee6950b9
Core tap last commit: 24 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_BOTTLE_DOMAIN: https://mirrors.ustc.edu.cn/homebrew-bottles
HOMEBREW_DEV_CMD_RUN: 1
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_1/bin/ruby
Clang: 9.1 build 902
Git: 2.17.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_172, 1.8.0_162, 1.8.0_152, 1.8.0_144, 1.8.0_141, 1.8.0_131, 1.8.0_112
macOS: 10.13.4-x86_64
CLT: N/A
Xcode: 9.3
XQuartz: N/A

Closing in favour of https://github.com/caskroom/homebrew-cask/issues/46407


OSCM Adapter for manual provisioning

As a user of OSCM I would like to have an adapter (APP connector) for manual provisioning with the following functionality:

any parameter can be defined in the technical service

there are two fixed parameter defined
- email address of the supplier contact for service provisioning
- access-info (to be shown in access info when subscription is ready)

once the user subscribes to the service / changes

an email is send to the supplier contact (defined in parameter above)
this email contains all parameters with name and values
this email also contains an URL
2. the service is in status "pending" until the supplier contact clicks the URL above
3. When the supplier contact clicks the URL he is forwarded to a web page
a. he needs to login to OSCM (with a supplier account)
b. he gets the option to activate the subscription creation / change or to deny the subscription (with reason)

once user terminates the service he also gets an email as above to complete the process

This adapter would allow for jump-start with new services in OSCM without the effort for API integration of theses services in a first step.

Hi @ulrichhubert
this sounds an interesting use case. We will check it and come back to you.


Add property in FtpClient class to retrieve the selected SslProtocol

FTP OS: All
FTP Server: All
Computer OS: All
FluentFTP Version: Future release
Framework: All
Could it be possible for one of the next updates of FluentFTP to have the possibility to retrieve the selected/negotiated Ssl/Tls version?
I did it myself by adding the FluentFtp source code project to my solution. It is quite easy. The following files need to be expanded with a simple property:
In FtpClientProperties.cs
/// <summary>
/// The negotiated SSL/TLS version
/// </summary>
public SslProtocols SelectedSslProtocol
{
	get { return m_stream != null ? m_stream.SelectedSslProtocol : SslProtocols.None; }
}

In FtpSocketStream.cs
/// <summary>
/// The negotiated SSL/TLS version
/// </summary>
public SslProtocols SelectedSslProtocol
{
	get { return IsEncrypted ? m_sslStream.SslProtocol : SslProtocols.None; }
}

I would like to have this to inform the user about which protocol has been negotiated.

I would also use this.

Good idea!

39.4.0

New: Add SslProtocolActive property to retrieve the negotiated SSL/TLS protocol version

@marcwaz You are right. It disappeared by mistake after df7ac2c.

I have no explanation as to why it was removed. I have brought it back and committed this to the current master. It will be back in the next release.

good. it should be tested, to ensure that it works.

Could you just send me a sample of code in order to show me how to do a call of SslProtoclActive property after a ".connect" on a new FtpClient ?

'''cs
client.Connect();
Console.WriteLine("Selected SSL Version/Protocol " + client.SslProtocolActive);

Result:

Selected SSL Version/Protocol Tls12

using the current _master_ on GitHub.

Actually more even:
				client.Connect();
				Console.WriteLine("Selected SSL Version/Protocol " + client.SslProtocolActive);
				Console.WriteLine("Selected SSL Ciphersuite " + client.SslCipherSuiteActive);

Result:
Selected SSL Version/Protocol Tls12
Selected SSL Ciphersuite Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 255)

I don't know when the next version of FluentFTP (v52.1?) will be released.
Is it possible to push a beta nuget ?
I need the FluentFTP .net472 framework dll (compile in release mode) in order to do the tests.
I don't have the necessary environnement in order to compile the master FluentFTP sources.
thanks

Making a new (interim) release is solely at @robinrodricks discretion.


[feature] Energy loss compensation

Is your feature request related to a problem? Please describe.
Single scattering GGX at high roughness significantly reduces energy, especially at grazing angles, causing a black halo and an overall darkened appearance
Describe the solution you'd like
Yocto-GL provides a ready made compensator for schlick's based conductors based on https://blog.selfshadow.com/publications/s2017-shading-course/imageworks/s2017_pbs_imageworks_slides_v2.pdf, however seems to provide no ready made solution for dielectrics (which makes sense given the drastically increased complexity).
Energy compensation is already used in the conductor, and somewhat integrated into the glossy dielectric BSDF in the form of the Frostbite normalised Disney diffuse, which is pretty much fine given the specular is far less noticeable.
However the specular transmission BSDF is severely affected by the single scattering energy loss, and should compensate for it.
Describe alternatives you've considered
Instead of using energy compensation on the transmission BSDF, we could stochastically sample multiple scattering, given the energy loss is so severe on rough dielectric transmissive surfaces, however it's slow and cumbersome to implement, along with introducing additional variance
https://eheitzresearch.wordpress.com/240-2/

Example of energy loss in specular transmission on rough surfaces

Added to specular transmission, going to just use schlick's for dielectric (Disney already uses it in the diffuse brdf anyway)


Changing defaults to g:multi_cursor_exit_from_insert_mode = 0

From #286 Issue
Sadly i could not run the ruby tests on my machine, but i hope the commit still helps.
Also removing trailing whitespaces from README.md

@marcospb19 , sorry about the late response, I have been very busy lately.
Thanks a lot for your contribution, that was really clean/solid!
If you wanna run the test next time:
sudo apt install bundler
cd spec
bundle install
bundle exec rake

Looking forward to seeing more contributions from you (if you feel like it) :smile:
Cheers,
Antoine


win-x86-64 target executables still use Duktape

Issue https://github.com/seraum/nectarjs/issues/10 was closed with:

However, win-x86-64 target executables compiled since then still appear to use Duktape.
When I compile this:
console.log(Duktape.version)

It still outputs 20299.
.rdata section still contains strings related to duktape.

Has something gone wrong with the update?

Yes, thanks, it's fixed
(update was effective for Linux-* and Windows x86-32)

Working as expected now.  Thank you.


Vendor dependencies with gvt

Knowing the version of a dependency can be helpful when debugging. Vendoring with gvt adds a manifest file that tracks versions. gvt also vendors LICENSE files, which are nice to have.
Since there was no pre-existing record of dep versions, I updated all the deps. I used the latest tagged release when possible. When there were no tags, I updated to the latest master commit.
The update to appc/spec had some breaking changes, which I fixed. The changes to isolator_resources.go and pkg/aciremote/remote.go should be scrutinized thoroughly, because I was really just trying to get it to build.
Also, these deps have a new home:
github.com/appc/cni/pkg/ns    --> github.com/containernetworking/cni/pkg/ns
github.com/appc/cni/pkg/types --> github.com/containernetworking/cni/pkg/types

I updated the deps and rewrote the imports.
If this PR breaks anything, it's a real issue. We were gonna have to update these deps sometime.
@krobertson @alextoombs @olegshaldybin @mbhinder

appc/spec and CNI repos should be locked to release tags rather than pulling from master.
May pause to release, since after the current ubuntu 16.04 issue is resolved, was going to cut the release, but this change likely pulls in latest libcontainer, and it is moving to the latest appc spec and CNI. It is a bit of churn when rc builds have already been built.

The appc/spec vendored in this PR is v0.8.2. I see there's already been two point releases since then.
I agree this is a lot of churn for one PR, so I'll totally understand if you want to put this off or even close it and return to it later.

Merging this... don't want to do the 0.4.0 with outdated dependencies. Merging and will let it bake on CI for a couple hundred test runs.


[Question] Managed Identity with Authorization Flows

What type of auth flow does Managed Identity use? Since it uses application permission, is it Client Credentials? How do I use Managed Identities for authenticating APIs that use AuthCode Flow? Since some APIs require a scope in the token, how would it be managed if we opt to use Managed Identities instead?

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

ID: 72861cc1-7081-cf6e-b7f9-e700a16faa9a
Version Independent ID: c870872d-0559-6b77-280f-f478e8c84776
Content: Managed identities for Azure resources
Content Source: articles/active-directory/managed-identities-azure-resources/overview.md
Service: active-directory
Sub-service: msi
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@kristinesimon  Thank you for your feedback . We will investigate and update the thread.

@kristinesimon  Managed Identities do not support end user authorizations. Thus no Auth Code can be used with Managed Identities. You can look at managed identities as service principals with no end user interaction. As such, you can always grant/consent any application permission to a managed identity. This you can do over PowerShell, but your target API must expose an application role (or application permission), which you will need to assign to the managed identity.
Take a look at this StackOverflow answer where describe in very details how to achieve this.
And just for clarity - managed identities actually use certificates to obtain the token from Azure AD. But this implementation detail is not that important, because the developer does not need to use those.

@kristinesimon I am proceeding with closure of this thread. Feel free to tag me in your reply if you have any question.


Question about ScreenManager

This is the example from the docs.
from kivy.uix.screenmanager import ScreenManager, Screen

# Create the manager
sm = ScreenManager()

# Add few screens
for i in range(4):
    screen = Screen(name='Title %d' % i)
    sm.add_widget(screen)

# By default, the first screen added into the ScreenManager will be
# displayed. You can then change to another screen.

# Let's display the screen named 'Title 2'
# A transition will automatically be used.
sm.current = 'Title 2'

Every example out there creates an instance of the ScreenManager and every Screen as a module level object. Is there any disadvantage to doing this inside the App? I would like to dynamically create and remove screens, based on user input. Any thoughts and suggestions?

sm = ScreenManager() means create an instance and hold it in variable sm and the same applies for screens. Other lines below … = …() are working directly with the created instances.
You can do it wherever you can then fetch the instance of a child and put it somewhere as a child - to another widget or Window.
Also, GitHub is for issues of the framework, use irc, maillist or StackOverflow for such questions. :)

Thanks! That helps! And sorry about that! I will post to IRC or StackOverflow next time.


proxy: do not hard-code http for addressing registry

currently the proxy assumes it can reach the registry over http, need to support https

Actually just needed to support not setting the port (LBs gonna do weird things sometimes)


Bendy-lib doesn't work with embeddium

the library works, however, in the absence of embeddium mod (sodium analogue)

I still got the same issue with my game in 1.20.1. Do you think there is a way to fix it without removing embeddium?

Hi, we found the solution to solve the problem and have compatibility between bendylib and oculus. Here are the texture packs to add. It worked for me !
https://modrinth.com/resourcepack/emotebend


Incomplete display of error message alerts on registration page

To Reproduce
Steps to reproduce the behavior:

Go to register page

Fill nothing, click on 'Sign up'

Show 'email' and 'password' error alert

Fill 'email' and 'password', click on 'Sign up'

Show name 'error' alert

Expected behavior
In step 3, 'name' should show error alert too.
Platform

Version: v1.3.1

Hi @fenbox , I'd like to fix this issue, thx!


kfctl v1.1 darwin binary is failed

OS: macOS Cataline 10.15.17
kfctl version: kfctl v1.1.0-0-g9a3621e
Error:
kfctl exited with error: failed to build kfApp from URI kfctl_aws.yaml: couldn't generate KfApp: (kubeflow.error): Code 500 with message: coordinator Generate failed for aws: (kubeflow.error): Code 400 with message: Could not authenticate aws client: InvalidEndpointURL: invalid endpoint uri
caused by: parse "https://sts.eu-central-1\t.amazonaws.com/": net/url: invalid control character in URL, Please make sure you set up AWS credentials and region

In the same time, Linux binary is working as expected.  The root may be related to "\t" in AWS URL.

/cc @PatrickXYS

@kuzm1ch There's no difference between Linux / macOS in kfctl code.
The only difference is
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 ${GO} build -gcflags '-N -l' -ldflags "-X main.VERSION=${TAG}" -o bin/darwin/kfctl cmd/kfctl/main.go
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ${GO} build -gcflags '-N -l' -ldflags "-X main.VERSION=$(TAG)" -o bin/linux/kfctl cmd/kfctl/main.go
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 ${GO} build -gcflags '-N -l' -ldflags "-X main.VERSION=$(TAG)" -o bin/arm64/kfctl cmd/kfctl/main.go

It's weird that linux binary works but macOS failed, I'm still guessing it's AWS credential configuration issue. Can you confirm that linux and macOS are running in the same environment by using env to check the env variable diff.

I've lost quite a lot of time to find the root cause(hope this reply will help somebody else). @PatrickXYS you're right, it was AWS credential configuration issue.
~ vim ~/.aws/config
region = eu-central-1<tab>

:syntax on
:set syntax=whitespace

it was a tricky tab in the config file, but aws cli works without any issues.  Anyway, eu-central-1\t this error message should point me into the right direction.


Some levels crash the editor

The crash occurs upon saving and exiting the play mode. This applies mostly to example levels included in the game, the cause of the issue is unknown so far.
Examples include: beerhall.dat; collision.dat; spikes.bin; quarry.bin; slimeking.dat; directionalspikes.bin and possibly others.

This appears to be happening because the deserialized level has a null tileMaterials field and results in an NRE. This might be an issue with older levels?

Might be, yes. I think tileMaterials is mandatory? If not, there might be an issue with the JSON utils?

Stack trace:
java.lang.NullPointerException: Cannot store to object array because "this.tileMaterials" is null
        at com.interrupt.dungeoneer.game.Level.preSaveCleanup(Level.java:3679)
        at com.interrupt.dungeoneer.game.Level.preSaveCleanup(Level.java:3686)
        at com.interrupt.dungeoneer.GameManager.tick(GameManager.java:88)
        at com.interrupt.dungeoneer.screens.GameScreen.render(GameScreen.java:73)
        at com.badlogic.gdx.Game.render(Game.java:46)
        at com.interrupt.dungeoneer.editor.EditorApplication.render(EditorApplication.java:559)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:225)
        at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)


Update README.md for including CHGNet

Summary
Including CHGNet and its reference in the intro section of MatGL repo.
Checklist

[x] Google format doc strings added. Check with ruff.
[x] Type annotations included. Check with mypy.
[x] Tests added for new features/fixes.
[x] If applicable, new classes/functions/modules have duecredit @due.dcite decorators to reference relevant papers by DOI (example)

Tip: Install pre-commit hooks to auto-check types and linting before every commit:
pip install -U pre-commit
pre-commit install

Thanks for the changes!


Use custom type errors

Perhaps we should introduce some custom type errors.
For example, instead of this
ghci> getFieldI @"foo" (addFieldI @"bar" (5::Int) unit)

<interactive>:15:1: error:
    * No instance for (KeyHelper 'LT "foo" 'E Int 'E)
        arising from a use of `getFieldI'

We could print someking like "Key foo not found in map".

A possible implementation for key lookups (should the error go in the precondition instead?):
instance KeyHelper GT k E v' right where
    type    Value' GT k E v' right =
                      TypeError (Text "Key " :<>: ShowType k :<>: Text " not found in map.")
    field'  _ = error "unreachable"
    branch'   = error "unreachable"

instance KeyHelper LT k left v E where
    type Value'    LT k left v E =
                     TypeError (Text "Key " :<>: ShowType k :<>: Text " not found in map.")
    field'  _ = error "unreachable"
    branch'   = error "unreachable"

In general, it would be desirable for the internals of the red-black tree not to leak into the error messages.

Improving errors for Delete and Insert would be more involved because of how they use non-linear patterns
instance InsertableHelper2 EQ k v color left k v right where
    type Insert2           EQ k v color left k v right = N color left k v right

We would need yet another auxiliary typeclass perhaps, one which used an explicit comparison.


uguid: Add serde feature

Codecov Report

Merging #33 (12ef235) into main (09da556) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   92.04%   92.19%   +0.14%
==========================================
  Files          14       15       +1
  Lines        1371     1397      +26
==========================================
+ Hits         1262     1288      +26
  Misses        109      109

Impacted Files
Coverage Δ

uguid/src/guid_serde.rs
100.00% <100.00%> (ø)

uguid/src/lib.rs
96.89% <100.00%> (ø)

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 09da556...12ef235. Read the comment docs.


Error in Linux - No module named 'mido'

This is after installing mido via terminal.
Traceback (most recent call last):
File "/var/lib/snapd/snap/blender/2474/3.2/scripts/modules/addon_utils.py", line 335, in enable
mod = import(module_name)
File "/home/jordancruz/.config/blender/3.2/scripts/addons/blender-midi-utils-master/init.py", line 31, in
from .utils import MidiKeyframes, add_keyboard
File "/home/jordancruz/.config/blender/3.2/scripts/addons/blender-midi-utils-master/utils.py", line 2, in
import mido
ModuleNotFoundError: No module named 'mido'
OS: EndeavourOS
Python: 3.10
Blender: 3.2.0

Found the issue. It was blender being in a sandboxed snap that didn't give access to the allow access to the system's python environment.


Indicate when facility list item is facility source

Overview

update the list item table to indicate whether a facility list item is
a facility source, displaying a NEW_FACILITY status if so

Connects #215
Demo

Testing Instructions

serve this branch, then upload and process a facility list using the instructions in https://github.com/open-apparel-registry/open-apparel-registry/pull/206
refresh the list items page for the now-processed list and verify that facility list items which have led to newly created facilities have static rows with NEW_FACILITY displayed as their status and that they are linked to the facilities detail page for the facility

All my questions have been answered above. This is good to go!

Cool, thanks for helping me clarify how this is supposed to work!
Before I merge this I'm going to squash in a new commit to change these NEW_FACILITY rows to hover={false} to make them appear non-interactive.


Typos in Set up IP addressing to after failover

"usng" -> "using"
"ficticious" -> "fictitious"

@andresnava : Thanks for your contribution to the Azure documentation! The author, @prateek9us, has been notified to review your proposed change.

There are conflicts here because of multiple file changes.
Thanks for this fix. I've made the fix in https://github.com/MicrosoftDocs/azure-docs-pr/pull/36199
You can close this one

#please-close


Open items from the sidebar in a new tab by clicking on the mouse wheel

Is your feature request related to a problem?
A clear description of what the problem is.
Describe the solution
A clear description of what you want.
Describe alternatives you've considered
A clear description of any alternative solutions or features you've considered.
Additional comment
Add any other comment or screenshots about the feature request here. What device type/UI layout and app version?
It would be very intuitive if one could open a folder in a new tab by clicking it with the middle mouse button

This feature is implemented in v1.5.

But not when clicking on the pinned folders on the left side

This issue should be resolved in main.


[New badge] Bitbucket open pull requests

See issue #789.

+1

This PR is great, but has no support for app passwords.

That's true. It was added following the existing code for Bitbucket issues, and is focused on publicly accessible repositories.

Thanks a lot for this contribution!
Merged as 976e5f2.
I changed the API a bit to be shorter and closer to the equivalent one for GitHub: eg. https://img.shields.io/bitbucket/pr-raw/osrf/gazebo.svg. If you are fine with it, I'll update the website.

The new API looks good to me, thanks for merging!


SPK introspection tool should visualize cluster and ring information

As a: user of spk
I want: to visualize the two dimensional setup of my clusters and rings
So that: I can understand what versions of services are running on a particular ring in a particular cluster/environment.
Describe the solution you'd like:
The following pieces are a nice to have for the dashboard:

Show some sort of indication that there are multiple cluster regions watching the same manifest repository
Indicate the region names based on their flux sync tags, such as flux-usa, flux-emea and display the deployment running on these clusters on the dashboard, perhaps by showing multiple cluster sync indicators in a column (need some work with the designer)
Brainstorm and come up with some user experiences that may be a good solution for fitting this within the current dashboard, or possibly consider adding a separate view to visualize this information.

An example of a service matrix formed by clusters and rings:

Region/Ring
(... custom rings)
Dev
QA
Prod

USA
0.1
0.2
0.1
0.1

Europe
0.1
0.2
0.2
0.1

Africa
0.1
0.2
0.1
0.1

Related work:

[x] Introspection tool should read multiple flux sync tags prefixed by flux
[x] Add git-sync-tag variable to terraform template for flux
[ ] Introspection tool should display multiple cluster sync statuses in a separate column
... (to be expanded further)

Acceptance Criteria:
A solution for cluster information along with rings
Describe alternatives you've considered:
Additional context:
Does this require updates to documentation?: Yes

@samiyaakhtar @edaena both of the listed tasks here are complete. Is this epic done? If not can we update the description and add links to new task? Thanks

@andrebriggs added link to the remaining task

... (to be expanded further)

@samiyaakhtar is there anything further that we need in the future or that has been requested?

@andrebriggs not that i'm aware of, we'll have a discussion around the UI for this in the next sync with @gemorris


Apperently there's a bug in ./crates/burn-cube/src/runtime_tests/cmma.rs in line 72 when running example "guide"

I cloned the burn repository and simply entered cargo build --example guide --release. The project failed to compile:
error[E0599]: no method named `read_sync` found for struct `Vec<u8>` in the current scope
  --> crates/burn-cube/src/runtime_tests/cmma.rs:71:45
   |
71 |     let actual = client.read(out.binding()).read_sync().unwrap();
   |                                             ^^^^^^^^^
   |
help: there is a method `read_at` with a similar name, but with different arguments
  --> /rust/deps/object-0.32.2/src/read/read_ref.rs:84:5

For more information about this error, try `rustc --explain E0599`.
error: could not compile `burn-cube` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

I encountered the bug both on Arch Linux (running within WSL on Windows 11) and natively on Windoes 11.
I also tested another example: "mnist". It doesn't work.
My rust toolchains:
stable-x86_64-unknown-linux-gnu (default) (linux - Arch Linux WSL)
stable-x86_64-pc-windows-gnu (default) (windows 11)

Thanks for reporting. Notified the team.

Just noticed this issue as well! It was introduced in the latest commits on main.
A fix should be merged pretty soon, in the meantime you revert back to the latest commit before today.


add hatter-bergerud reference to growth function and vignette (like bbouretro)

using the Hatter-Bergerud equation
#' (Hatter and Bergerud, 1991)
#' @references Hatter, Ian, and Wendy Bergerud. 1991. “Moose Recruitment, Adult
#'   Mortality and Rate of Change” 27: 65–73.

done


What is the release strategy for Karma?

Im curious as to where I can see any release strategies for Karma, a fix for the braces issue which is causing an NPM AUDIT failure has arisen and this has been fixed and moved to the master branch, however there seems to be no release?
How often does master get built and deployed?

As needed; contributors can ask for releases.

@johnjbarton when will you be performing a release?

See #3269


Create end user documentation

Create documentation site with

Improved version of existing documentation: https://github.com/the-stencil-io/the-stencil-composer/blob/main/README-en.md
Finnish translations

End user documentation is temporarily housed on this repo's wiki:
https://github.com/the-stencil-io/the-stencil-composer/wiki
In the future, this will be moved.


Handle ports without a service name

If you try to scan a port that nmap does not have a name for and that port is open, node-nmap prints an error that it is not able to find the service name. This patch fixes that by only adding the service property if it is available.

Good catch,  I'll test, rebuild, and push this week.

Thank you!


Set Favicon

Try out all the favicons present in the favicons folder and show me the pictures here. I will choose from them!!

@urvashi-code1255  I can go with it as a part of GSSoC 2021

@aniketsingh98571 go for it!

@urvashi-code1255 Here is the screenshots of favicons from your project directory.

@urvashi-code1255 I like the first and the last one, what's about you ?

@Vishal-raj-1 I like the first one. I think we can go for it.
@aniketsingh98571 Please make a PR for the first one.


ci: fixed broken ci

ci regression from https://github.com/visionmedia/superagent/commit/1fc968219ee67a86f2e84c9ddcf5df9aa01780d0

ci: migrated to new codecov upload
ci: support older Node.js (removed unsupported devDependencies)

ci improvements and better coverage

ci: added weekly npm audit to check for vul in prod deps
ci: support Node.js 18.x
ci: updated gh actions from v2 to v3

Marked as draft as there seems to be some issue with Node.js 12.x timing out in the tests.
This seems to be random and has been there in the actions history:

CI #45, v8.0.0

@titanism, please review this if you have this time. 🙏
No release is needed as this doesn't affect the code.


Support for 1000hz model

Hi,
Does this package support the 1000hz model

This driver has been tested a lot for the DSP 3000's incremental angle mode at 100Hz. Previously, it was used for the rate mode. It should support rate and integrated angle. It can change modes, but it can't change the frequency that the sensor produces messages as far as I can tell.
If you need the precision and not the responsiveness, you can try the incremental angle mode at 100Hz. That way the sensor samples at 1000Hz and reports the delta angle. Less data should be lost through integration as opposed to the rates.

The protocol for 1000hz is different. I have got this to work. Will make a PR after its made compatible with this package


HOSTEDCP-1813: Moves MachineIdentity from the HostedCluster API to the NodePool API

What this PR does / why we need it:
Moves MachineIdentity from the Azure section in the HostedCluster API to the Azure section in the NodePool API
Which issue(s) this PR fixes:
Fixes HOSTEDCP-1813
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[x] This change includes unit tests.

/test all

/retest

/lgtm

/lgtm

/cherry-pick release-4.16


Receive DUP! packets when ping

In order to measure OpenFastPath Performance using this procedure I used this setup:
I have 3 vms on VMWare Player with ubuntu 16.04 which form this topology:

For node 2 I followed these steps (mostly step 4 since I had odp-dpdk compiled).
I have two interfaces controlled by DPDK as I show here:
daniel@ubuntu:~/ofp/scripts/dpdk$ ./tools/dpdk-devbind.py --status
Network devices using DPDK-compatible driver
0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000
0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=e1000
When I ping  fp0 interface from node 1 or node 3 from node 1 I receive duplicated packets:
[ping node 1 -> fp0]
daniel@ubuntu:~$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.247 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.581 ms (DUP!)
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=0.590 ms (DUP!)
[...]
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=1 time=1.83 ms (DUP!)
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=1 time=1.83 ms (DUP!)
^C
--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 received, +127 duplicates, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.247/1.147/1.838/0.418 ms
[ping node 1 -> node3]
daniel@ubuntu:~$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=0.265 ms
From <IP_ADDRESS> icmp_seq=1 Time to live exceeded
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=0.284 ms (DUP!)
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=63 time=0.286 ms (DUP!)
[...]
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=5 time=135 ms (DUP!)
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=5 time=135 ms (DUP!)
^C
--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 received, +7301 duplicates, +52 errors, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.265/91.998/135.504/32.493 ms
Performance measure is not correct since fpm shows:
[...]
Mpps:0.056
Mpps:0.056
[...]
For me it seems like an OFP issue related to the way icmp request/reply is handled. It might need further investigation enabling packet debug traces..
How can I solve this?

Hi!
It looks like both OFP and Linux stack are responding to the ICMP requests. Have you tried to compile OFP using "--enable-sp=no" (= "--disable-sp") configuration option?


Cleanup project files

BTW: I want this to be clear, I really love your contributions on this @js6pak - this is going to be awesome, thank you!

@all-contributors plepase add @js6pak for code and tests


Histogram Matching

Making a list of things to implement. Do let me know if anything else can be added :)

[ ] Take two images as input, match histogram of one to other (Gray/Number)
[ ] Take an image, histogram as input and match (Gray/Number)
[ ] Handle Colorants as in #458
[ ] Handle TransparentColor as in #458

For the two image input function, it should handle any combination of images i.e. (Color, Gray) etc.
@timholy The current version of imhist simply converts a Colorant Image to Gray. For the above function, I think we should match the histograms of the Y channel and not the histogram of grayscale versions of the images. What do you think? Does it make sense to have a different intensityhist function which gives the histogram of the intensity channel? This can then be used with the histmatch function.

Is there any way to get a histrange with exactly nbins number of bins? From what I understood, it tries to approximately create nbins bins but does not necessarily always exactly match that number.

Is conversion to Y actually different (other than scale) from conversion to Gray?
histrange tries to pick "nice" intervals for the purpose of plotting. If this doesn't really matter (e.g., for algorithmic purposes), then it would be fine to construct the edges by some other means...which means you can definitely control the number of bins.


Fix JOSS DOIs

https://github.com/openjournals/joss-reviews/issues/4921

Done with help from @nniiicc


A more complete abstract?

Hello,
Thanks for this awesome piece of work! I am wondering if there is any suggestion for how to retrieve the entire abstract? RIght now I see a lot of broken sentences. Assume that I have proper certificate to retrieve the document following the url. Thanks!

I'm not sure of a way to get the full abstract without adding additional queries (which will make you hit the Scholar query limit quickly).

Without a suggested solution, I'm going to close this issue because it's an inherent limitation of querying Google Scholar.

@OrganicIrradiation
More complete version of the abstract extracted directly from the search page could be obtained in this way:
from lxml import html
import requests
page = requests.get('https://scholar.google.com/scholar?hl=cs&as_sdt=0%2C5&q=The+Spectra+and+Dynamics+of+Diatomic+Molecules%3A+Revised+and+Enlarged+Edition&btnG=')
tree = html.fromstring(page.content)
abstract=''.join(tree.xpath('//div[@class="gs_rs"]/text()'))

>>> abstract
'This book is written for graduate students just beginning research, for theorists curious about what experimentalists actually can and do measure, and for experimentalists bewildered by theory. It is a guide for potential users of spectroscopic data, and uses language and concepts that bridge the frequency-and time-domain spectroscopic communities. Key topics, concepts, and techniques include: the assignment of simple spectra, basic experimental techniques, definition of Born-Oppenheimer and angular momentum basis sets and the\xa0…'

@MartinBeseda: That's the same abstract returned by scholarly:
>>> import scholarly
>>> query = scholarly.search_pubs_query('The Spectra and Dynamics of Diatomic Molecules Revised')
>>> print(next(query))
{'_filled': False,
 'bib': {'abstract': 'This book is written for graduate students just '
                     'beginning research, for theorists curious about what '
                     'experimentalists actually can and do measure, and for '
                     'experimentalists bewildered by theory. It is a guide for '
                     'potential users of spectroscopic data, and uses language '
                     'and concepts that bridge the frequency-and time-domain '
                     'spectroscopic communities. Key topics, concepts, and '
                     'techniques include: the assignment of simple spectra, '
                     'basic experimental techniques, definition of '
                     'Born-Oppenheimer and angular momentum basis sets and the '
                     '…',
         'author': 'H Lefebvre-Brion and RW Field',
         'title': 'The Spectra and Dynamics of Diatomic Molecules: Revised and '
                  'Enlarged Edition',
         'url': 'https://books.google.com/books?hl=en&lr=&id=LwgHIo-NEccC&oi=fnd&pg=PP1&dq=The+Spectra+and+Dynamics+of+Diatomic+Molecules+Revised&ots=Hm8hxlypsp&sig=mcKZBS3yaeKuMMDqwUbOk0B2Acw'},
 'citedby': 744,
 'id_scholarcitedby': '6983983601199802940',
 'source': 'scholar',
 'url_scholarbib': 'https://scholar.googleusercontent.com/scholar.bib?q=info:POqqIhUY7GAJ:scholar.google.com/&output=citation&scisdr=CgUGym3sGAA:AAGBfm0AAAAAXQpF7H8OEslAcsL0ps69MKuRrcRwx8Wh&scisig=AAGBfm0AAAAAXQpF7NPWPanGA3S0gZtEsnh_QZGRmdsm&scisf=4&ct=citation&cd=0&hl=en'}

@OrganicIrradiation Strange... With  GS I'm getting the following abstract
This book is written for graduate students just beginning research, for theorists curious about what experimentalists actually can and do measure, and for experimentalists bewildered by theory. It is a guide for potential users of spectroscopic data, and uses language and …

@MartinBeseda Can you provide a code snippet that reproduces the shorter abstract? Can you also confirm that searching on scholar.google.com with a desktop bowser on your computer pulls the longer abstract?

@OrganicIrradiation Here we go...
Scholarly API
>>> import scholarly
>>> query = scholarly.search_pubs_query('https://aip.scitation.org/doi/abs/10.1063/1.466548')>>> paper=next(query).fill()
>>> print(paper.bib['abstract'])
The potential energy surfaces (PESs) of the three lowest electronic states of the system N+ 2+ He have been computed using accurate multiconfiguration‐reference configuration (MRCI) wave functions and a large basis set. The approach of the He atom leads to …

HTML Scraping from scholar.google.com
>>> from lxml import html
>>> import requests
>>> page = requests.get('https://scholar.google.cz/scholar?hl=cs&as_sdt=0%2C5&q=Quantum+scattering+studies+of+electronically+inelastic+collisions+of++N2%2B&btnG=')
>>> tree = html.fromstring(page.content)
>>> abstract=''.join(tree.xpath('//div[@class="gs_rs"]/text()'))
>>> abstract
"The potential energy surfaces (PESs) of the three lowest electronic states of the system N+ 2+ He have been computed using accurate multiconfiguration‐reference configuration (MRCI) wave functions and a large basis set. The approach of the He atom leads to nonadiabatic mixing of the A 2Πu (A') and X 2Σ+ g (A') states of N+ 2. The three adiabatic interaction potentials have been transformed into a set of four diabatic potentials, one of which describes the collision‐induced nonadiabatic coupling between the two A'states. The\xa0…"

Those are two different queries. The returned abstracts are identical for the two methods if you use the same query. Here's the appropriate HTML comparisons:
>>> import scholarly
>>> query = scholarly.search_pubs_query('https://aip.scitation.org/doi/abs/10.1063/1.466548')
>>> paper = next(query).fill()
>>> print(paper.bib['abstract'])
The potential energy surfaces (PESs) of the three lowest electronic states of the system N+ 2+ He have been computed using accurate multiconfiguration‐reference configuration (MRCI) wave functions and a large basis set. The approach of the He atom leads to …

>>> from lxml import html
>>> import requests
>>> page = requests.get('https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=https%3A%2F%2Faip.scitation.org%2Fdoi%2Fabs%2F10.1063%2F1.466548&btnG=')
>>> tree = html.fromstring(page.content)
>>> abstract = ''.join(tree.xpath('//div[@class="gs_rs"]/text()'))
>>> print(abstract)
The potential energy surfaces (PESs) of the three lowest electronic states of the system N+ 2+ He have been computed using accurate multiconfiguration‐reference configuration (MRCI) wave functions and a large basis set. The approach of the He atom leads to …

>>> import scholarly
>>> query = scholarly.search_pubs_query('Quantum scattering studies of electronically inelastic collisions of  N2+')
>>> paper = next(query).fill()
>>> print(paper.bib['abstract'])
The potential energy surfaces (PESs) of the three lowest electronic states of the system N+ 2+ He have been computed using accurate multiconfiguration‐reference configuration (MRCI) wave functions and a large basis set. The approach of the He atom leads to nonadiabatic mixing of the A 2Πu (A') and X 2Σ+ g (A') states of N+ 2. The three adiabatic interaction potentials have been transformed into a set of four diabatic potentials, one of which describes the collision‐induced nonadiabatic coupling between the two A'states. The …

>>> from lxml import html
>>> import requests
>>> page = requests.get('https://scholar.google.com/scholar?hl=en&as_sdt=0%2C5&q=Quantum+scattering+studies+of+electronically+inelastic+collisions+of++N2%2B&btnG=')
>>> tree = html.fromstring(page.content)
>>> abstract = ''.join(tree.xpath('//div[@class="gs_rs"]/text()'))
>>> print(abstract)
The potential energy surfaces (PESs) of the three lowest electronic states of the system N+ 2+ He have been computed using accurate multiconfiguration‐reference configuration (MRCI) wave functions and a large basis set. The approach of the He atom leads to nonadiabatic mixing of the A 2Πu (A') and X 2Σ+ g (A') states of N+ 2. The three adiabatic interaction potentials have been transformed into a set of four diabatic potentials, one of which describes the collision‐induced nonadiabatic coupling between the two A'states. The …


Investigate possibility of adding photos for each candidate

While it would mean that the data would be much bigger, and woud bring a much bigger load on my server, the idea that there could be a way to quickly visually know what does the candidate looks like is rather interesting.
The main issue about this is how much should I restrain image sizes. This is important since the quickest way to have these photos ready would be to take them on the spot, but photos taken by phones nowadays could easily reach 3+MB (a single photo taken from my phone is about 3.6MB).
If this is to be implemented, I would need to research about compression algorithms available for javascript, keeping the best quality while only allowing a max size for loads.
This also means that my server will need to accept a max 2MB logo and max 2MB * n candidates images (n being the number of candidates added). This means I have absolutely no idea how many photos will be in the request.
This also means that my server will be downloading probably 20MB of data on election creation, and serving 20MB of data for every new device that joins the election... while it is an acceptable margin of maneuver, I'm still not convinced this is a great idea...

Also, there is currently a use case where you can take a picture of every candidates one next to each other in order that they are entered in the setup, and use this photo as the group logo, meaning the image will be on top and useful for knowing who is who.

Finally, I would need to implement for this an image viewer widget to the voting page, so that you can see the image in full size to not have too small devices not be able to show the image big enough.

Possible solution to scaling images locally : https://stackoverflow.com/a/43441441

Interesting idea to put a button to take a photo by pressing a button on the page : https://stackoverflow.com/q/17004981


To typescript

I had a day to play with this. I have the client library generating, with some weird npm errors, from typescript through webpack using the ts-loader. There is still more work to do but I have what I really wanted, a typings definition file! I will get that checked in. If anything pull the branch and checkout the code in TypeScript...
Andy

@anwalkers would you mind posting a gist of the generated tsd?

Here is a gist of what I have for a TypeScript definitions file. It doesn't like the nested var _default in the index.
https://gist.github.com/anwalkers/98ab6e8d5db199859bcdf020c6d9b6e1
declare module "index" {
    import log from "src/Log";
    import oidcClient from "src/OidcClient";
    import webStorageStateStore from "src/WebStorageStateStore";
    import inMemoryWebStorage from "src/InMemoryWebStorage";
    import userManager from "src/UserManager";
    import accessTokenEvents from "src/AccessTokenEvents";
    import metadataService from "src/MetadataService";
    export const Log: typeof log;
    export const OidcClient: typeof oidcClient;
    export const WebStorageStateStore: typeof webStorageStateStore;
    export const InMemoryWebStorage: typeof inMemoryWebStorage;
    export const UserManager: typeof userManager;
    export const AccessTokenEvents: typeof accessTokenEvents;
    export const MetadataService: typeof metadataService;
    declare var _default: {
        Log: typeof log;
        OidcClient: typeof oidcClient;
        WebStorageStateStore: typeof webStorageStateStore;
        InMemoryWebStorage: typeof inMemoryWebStorage;
        UserManager: typeof userManager;
        AccessTokenEvents: typeof accessTokenEvents;
        MetadataService: typeof metadataService;
    };
    export default _default;
}

Typescript definition files would be a great help for me. Any chance this is ready to merge?

@cwharris a typings file was added recently

@anwalkers see this: https://github.com/IdentityModel/oidc-client-js/pull/18#issuecomment-240902744. thoughts?

@brockallen I agree with @bkjuice, TypeScript is ES6 + type information and feels more like C# than any JavaScript you've ever written. The learning curve is flat, the hardest part is understanding how to manipulate the transpiler to generate the output you want.
From Bradley Green of AngularJS team - We love TypeScript for many things… With TypeScript, several of our team members have said things like 'I now actually understand most of our own code!' because they can easily traverse it and understand relationships much better. And we’ve found several bugs via TypeScript’s checks.”
Call me an Andres fanboy too... I can try to put a few more cycles into this branch.


Updating broker/Interoperator docker image versions:0.10.1

Updating broker/Interoperator docker image versions:0.10.1

Closing the PR as this was generated as part of testing the Jenkins pipeline


Issue 200: Drop on EventReader should automatically invoke reader offline API.

Change log description
Drop on EventReader should invoke readerOffline.
Purpose of the change
Fixes #200
What the code does
Drop on EventReader should invoke reader_offline().
This is useful in scenarios where the Python user forgets to invoke reader offline . A scenario described in #257 is one instance of this.
With this change, reader_offline() is automatically invoked when the object is destructed.
In [11]: r1=rg.create_reader("r1")
May 14 18:54:41.627  INFO pravega_client::stream_reader_group: Creating reader "r1" under reader group "rg2"
May 14 18:54:41.627  INFO pravega_client::event::reader_group_state: Adding reader Reader { name: "r1" } to reader group

In [12]: r1=rg.create_reader("r2")
May 14 18:54:47.361  INFO pravega_client::stream_reader_group: Creating reader "r2" under reader group "rg2"
May 14 18:54:47.361  INFO pravega_client::event::reader_group_state: Adding reader Reader { name: "r2" } to reader group
May 14 18:54:47.369  INFO pravega_client::event::reader: putting reader r1 offline

How to verify it
All the existing tests should continue to pass.
**  Testing is in progress **

Codecov Report

Merging #261 (6493e55) into master (d06078f) will decrease coverage by 0.02%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master     #261      +/-   ##
==========================================
- Coverage   78.13%   78.11%   -0.03%
==========================================
  Files          45       45
  Lines       10466    10412      -54
==========================================
- Hits         8178     8133      -45
+ Misses       2288     2279       -9

Impacted Files
Coverage Δ

src/event/reader.rs
75.05% <88.88%> (+0.80%)
:arrow_up:

shared/src/lib.rs
87.64% <100.00%> (+0.39%)
:arrow_up:

retry/src/retry_async.rs
93.33% <0.00%> (-1.34%)
:arrow_down:

src/event/reader_group_state.rs
90.55% <0.00%> (+0.12%)
:arrow_up:

channel/src/lib.rs
91.83% <0.00%> (+3.21%)
:arrow_up:


Add awesome pipeline

https://github.com/pditommaso/awesome-pipeline

This is not the way to submit a list. Please read the submission guide.


Provide extensions on open-vsx.org

@vunguyentuan Would you please provide this postcss extension and CSS Variable Autocomplete on the https://open-vsx.org/ marketplace so it can be used with VS Codium?

Thank you for your suggestion, here is the url of the extension https://open-vsx.org/extension/vunguyentuan/vscode-postcss


Swift is not supported for static libraries

Hi,
I just started a project with RN and I'm trying to use this library (I'm not familiar with iOS development).
I followed the steps on the readme. I did not have the bridging header file so I followed: https://github.com/shahen94/react-native-video-processing/issues/14
XCode won't compile my project, I'm getting "Swift is not supported for static libraries" for RNVideoProcessing:

Thanks in advance for any help you can give me! 😃

@santiagovazquez hi, please watch this video
https://github.com/shahen94/react-native-video-processing#how-to-setup-library

Hi @shahen94, thanks for the quick response!
If I follow the video steps it works (only iOS). But if I run the command for android set up (react-native link react-native-video-processing) it starts to show that message. Any ideas?

@santiagovazquez seems like you have to link android manually, i'll write about it in readme when i'll have a chance

when you're running react-native link it tries to link ios again, but since react-native can't link Swift library it starts fail again

@shahen94 Great, thanks for your help! Awesome library!
One last question, is it possible to use an URL as a source?
My code:
const source = 'http://<IP_ADDRESS>:8080/videos/DCIM/100GOPRO/GOPR0238.MP4'
const options = { startTime: 5, endTime: 10 };
ProcessingManager.trim(source, options)
  .then((data) => console.log(data))
  .catch(e => console.error(e))

I get this error (iOS):

It works on my terminal if I do wget 'http://<IP_ADDRESS>:8080/videos/DCIM/100GOPRO/GOPR0238.MP4'

Unfortunately no, currently you can't process remote video, VideoPlayer can play that but can't trim/compress or do some processing actions. library still working only with assets-library, do you can give a link from CameraRoll

hey @shahen94,
I'm not an iOS developer, so I do not understand completely what I did.
I read this post http://stackoverflow.com/questions/31383655/avassetexportsession-trim-download
and then I changed:
https://github.com/santiagovazquez/react-native-video-processing/commit/5d5755b02048c3330fc5ef0f7c5602eec0187bdb
Now I'm able to use a remote URL to cut a video (without having to download it) 😄

Hey @santiagovazquez .
asset.loadValuesAsynchronously yea, you loaded video info asynchronously, probably that's a better idea than downloading video,  great job !  :D
If you can put back quality options and all functionality and keep only this feature,that would be great.

@shahen94 let me try that and i will do a PR.
thanks for all your help!

@santiagovazquez thanks for contributing !

@shahen94 I went thru all the steps above & am still having this issue. Xcode automatically created my Bridging Header file inside the RNVideoProcessing group that I created when following the video tutorial. The contents of my file looks like this:
#import "RCTBridgeModule.h"
#import "RNVideoProcessing.h"

I've tried every single combination of imports, such as the following:
#import <RCTRootView.h>
#import <RCTView.h>
#import "RCTBridgeModule.h"
#import "RNVideoProcessing.h"

Do you have any advice for how to get this package working?

Can you please copy/past the error messages ?

I get the exact error listed above: https://cloud.githubusercontent.com/assets/520412/24073932/830f1f4e-0bde-11e7-8779-4a04f9117bd4.png

@rpastorelle did you run react-native link ?

@shahen94 I ran react-native link first & had this issue. Then I followed the video tutorial.

Might @santiagovazquez can help you ?

@rpastorelle I recommend you to clone the repo again and follow the video tutorial

Yeeeahhh. I did that a few times already but I'll give it another shot

I was able to get this working! A couple notes:
• I did not use react-native link (when I did it caused this issue).
• I did not follow the video setup guide (importing that way also created this issue for me)
• I DID follow the manual iOS setup from the README. √

So - You mean that the video demonstration doesn't help ?
Where's the problem, but right now linking this library to project is a main issue. The library we wrote on Swift, and react-native can't link Swift libraries automatically (with react-native link command). Sorry for you pain, and glad to hear that you could  get it to work

@shahen94 Nevermind. It only worked because I didn't compile sources. As soon as I did that I have the same issue again. Still can't use the library :/

@gevorg94 can you take a look what could be the problem ?

I just run into steps that you provide, and have been able to compile,
Please run react-native unlink react-native-video-processing and then again follow to the demo video

@shahen94 Should I run thru the video demo AND run react-native link or just the video demo?

@shahen94 I have finally got this working! Life lesson: Never ever use react-native link. I also think I may have been having issues because I was opening the ios/ folder instead of the .xcodeproj file in Xcode ¯_(ツ)_/¯
Thanks so much for all your attention!


Military time bug

An event has a start time on September 23, 2017, at 06:00 Mountain Time (MDT)
An effort has a starting split time of November 4, 2017 at 12:00 Mountain Time (MST)
If a later split time for the effort is set using the military_time attribute, the time is set backwards by one hour.
>> split_time.military_time
#> "17:30:00"
>> split_time.military_time = "17:30:00"
>> split_time.military_time
#> "16:30:00"

The same issue does not happen when setting the time using absolute_time_local:
>> st.absolute_time_local
#> Sun, 04 Nov 2018 17:30:00 MST -07:00
>> st.absolute_time_local = '2018-11-04 17:30:00'
>> st.absolute_time_local
#> Sun, 04 Nov 2018 17:30:00 MST -07:00

The problem is presumably within IntendedTimeCalculator.

As it turned out, the problem occurred only for times calculated on the day of the Daylight Savings change (either spring or fall). Fixed in PR#173.


fix mqtt node on calling function done

Coverage decreased (-0.1%) to 88.233% when pulling 49b489f529e7dd83b023521e3ab9dc700eda7988 on marceloaqno:master into a457c06500f98f5a8d07495d02178ff2b42fa03c on node-red:master.


Not doing as expected when the start minute is the same as the end minute, and has interval. Not making files.

If the start minute and end minute are the same, it codes it so the cronjob is 4-4/5 7 * * *, which it then truncates to 4/5 7 * * * in the cron file (i.e. always has interval no matter what). In this situation, we just want to record once in this hour, on the 4th minute.
The cronjob generators online suggest this may not only record once on the 4th minute of the hour? Also read things that said it’s non-standard and could cause issues on certain devices.
To test: Added in extra cronjob that runs now (time 16:21) e.g. try both:
•	22-22/5 16 * * * FINE
•	22/5 16 * * * NOT FINE, not making files.
Possible fixes?:

Pseudo-code: If start minute is same as end minute, don’t bother with interval part. (So would end up with something like 4 7 * * *, which will be fine).

Possible fix isn't as simply as I'd like as the function calls another function to write the cronjob, which takes interval as an argument. Could write a separate function for when the interval part isn't needed?

Basically, having an interval when you don't need one (i.e. start and end minutes are the same) causes the sound recording files not to be created.
I wrote a separate function called 'schedule_cron_job_no_interval()' for situations where no interval is needed as start and end minute are the same.
Then added in catch to the 'update_crontab_birds()' function where it updates the first and last jobs (if middle jobs exist, they won't cause a problem as the start and end minutes in these hours will never be equal).
So depending on whether an interval is necessary, it choose the correct function to use to update the job.


Getting api_objects.object.id error

(UNIQUE constraint failed: api_objects.object_id)
[2017-05-06 18:52:42]
This is often whilst something is playing.

Could you please unmount, delete the ~/.plexdrive/cache file, mount and let the cache build up first. after the cache has been built successfully, the message should not show again.

I had that first time and just remounted and it was fine.

Will try remounting it first then rebuilding cache

Remounting didn't work, so I'm rebuilding the cache from scratch. I thought it allowed direct access to the current files in Gdrive, but it seems it needs to finish building up the cache before the files become active.

Yes. My first thought was you build up the cache while you're accessing the files. But this doesn't seem like a valuable measure to me.
In the next release, I will refactor the cache building process, that you will only be able to access files that are already in the cache. This should increase the performance and avoid errors like the one you got.

Please test the next release, if the release still has those issues, you can reopen the issue.


Refactor project role and code. - [closed]

In GitLab by @wknet123 on Nov 9, 2017, 03:21
Merges dev-refine-project-roles -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:08
closed


carbon input: upon any error: don't just return, also close conn

err could be timeout or something else

note: this code will soon be replaced with the plugin from carbon-relay-ng

I think this could possibly be the bug that affects a customer every once in a while. If those connections don't get closed and just linger, could the process reach some resource limit which doesn't allow it to create any additional connections anymore?
IIRC the problem that we've seen with one specific customer was that after multiple weeks/months of running tsdb-gw it suddenly just stops accepting additional connections, without any error. a restart fixes this.

it suddenly just stops accepting additional connections

how sure are we of this?
i think perhaps what the bug could be here is that we stop using the conn upon a read error, but perhaps the clients keep using it and not creating a new one.

@Dieterbe answered on slack

deprecated in favor of #127


get_tweet function with_tweet_replies can not return all the replies ?

Hi, thanks for this amazing package 👍
Just one little issue here, I'm looking for a reliable approach to check all the replies from one tweet id.
the replies count from twitter website like 3000-ish. but I'm only get 225 results returned.
I've tried pagination=True / False along with apply the end_cursor from last result returned but still. I'm also checked about rate limit which was false.
is it the limit of twitter graphql api limit or something ?

Hey @Unayung
Thanks for reporting this issue. I just tested it with a single tweet and as you said the numbers don't match up. I was supposed to get 1.5K replies but I only got 210.
I have my doubts, I just want to test a few things out before I come up with a solution.
Could you please share any of the tweet links that you have tested on your side? I want to verify something.
Please let me know.
Thanks.

Thank you for the reply!
I got this tweet<PHONE_NUMBER>729432555 around 1.4k replies, and<PHONE_NUMBER>204818102 around 7k.
and they all returned like 230 replies and that's it.

Hey @Unayung
Sorry for the delay, I was kinda busy lately. Well, I just tested it out and I noticed something strange.

Script is able to fetch all the replies available on the twitter.

Of course I didn't get all the 7K replies for this<PHONE_NUMBER>204818102) tweet but I got around ~220 replies. Here is what I noticed, If you visit the same tweet on your web browser or on the twitter app and try to scroll down manually to get all the tweet replies, you will still get the same number of results as you received with the script/tool (~220 replies). So I can tell, there isn't any issue with the script.

Twitter says that the post has 7k+ replies, I am trying to figure out what is going on in there. Maybe the number (7K) is the sum of the replies on the individual replies as well? Or maybe it also adds up (+) the number of replies received on reposts too?

Please let me know if you find anything useful in the meantime. I will update my response as I conduct my research.
Thanks.

yep, I've noticed that even on the twitter website, we can not get all replies and match the number, weird.
I guess it's just another un-documented change in the twitter API or something.
anyways, thank you :D

yep, I've noticed that even on the twitter website, we can not get all replies and match the number, weird. I guess it's just another un-documented change in the twitter API or something.
anyways, thank you :D

Maybe the Twitter is restricting the number of results, just like Google does. If we search something on google, it will not let us get past 30th page or something, because no one except bots going to go past that many pages.
I am not sure if twitter does the same.
Just in case you find any solution to get past this limit, I would really appreciate if you could update/edit your answer. Also, feel free to close this thread if you have no further queries.


Combine click scripts

Combine click scripts
Add js click into the regular click script
Add enter key into the regular click script
Test the crap out of the click
Deprecate the click scripts

Pretty sure I actually did this in 1.0.0. Double-check then close.


Custom theme functionality2

Added description to buttons as per review from last PR
Buttons now change some color in the app

Why when I change from the dark and light preset the color of the action bar changes? So are the buttons. And when you pick a color on your page you change the colors of the buttons.
What I meant by button is not the .png icons, its these

to change the action bar color, you need to play around with the styles in the resource files. OR use the code that I wrote that won't work on this API.
As for the buttons, sorry misunderstood you. Will create issues to fix them in the future

In some of my previous code, I use stuff that requires API 11 so I do not see the problem with the API.


Unauthorized: Failed to get tunnel

The problem
I have a problem with cloudflared, I followed tge documenation. But I can't access my HA.
What version of Cloudflared has the issue?
4.0.10
What was the last working version of Cloudflared?
No response
What type of installation are you running?
Home Assistant OS
Add-on YAML Configuration
# Loads default set of integrations. Do not remove.
default_config:

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
binary_sensor: !include binary_sensor.yaml

climate:
  - platform: intesishome
    username: user
    password: password
    device: airconwithme

device_tracker:
  - platform: ping
    hosts:
      telefoon_p: <IP_ADDRESS> #you can customize name of the sensor
      telefoon_m: <IP_ADDRESS>

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - <IP_ADDRESS>/24

Anything in the logs that might be useful for us?
-----------------------------------------------------------
 Add-on: Cloudflared
 Use a Cloudflare Tunnel to remotely connect to Home Assistant without opening any ports
-----------------------------------------------------------
 Add-on version: 4.0.10
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.2.0
 Home Assistant Supervisor: 2023.01.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[12:46:00] INFO: Checking add-on config...
[12:46:01] INFO: Checking for existing certificate...
[12:46:01] INFO: Existing certificate found
[12:46:01] INFO: Checking for existing tunnel...
[12:46:02] INFO: Existing tunnel with ID 398fead1-1fbf-4cc6-82f2-6c205686d17b found
[12:46:02] INFO: Checking if existing tunnel matches name given in config
[12:46:03] INFO: Existing Cloudflare Tunnel name matches config, proceeding with existing tunnel file
[12:46:03] INFO: Creating config file...
[12:46:05] INFO: Validating config file...
Validating rules from /tmp/config.json
OK
[12:46:05] INFO: Creating DNS entry <url>...
2023-02-15T11:46:07Z INF <url> is already configured to route to your tunnel tunnelID=xxxxxxx
[12:46:07] INFO: Finished setting up the Cloudflare Tunnel
[12:46:07] INFO: Connecting Cloudflare Tunnel...
2023-02-15T11:46:07Z INF Starting tunnel tunnelID=xxxx
2023-02-15T11:46:07Z INF Version 2023.2.1
2023-02-15T11:46:07Z INF GOOS: linux, GOVersion: go1.19.3, GoArch: arm64
2023-02-15T11:46:07Z INF Settings: map[config:/tmp/config.json cred-file:/data/tunnel.json credentials-file:/data/tunnel.json loglevel:info metrics:<IP_ADDRESS>:36500 no-autoupdate:true origincert:/data/cert.pem]
2023-02-15T11:46:07Z INF Generated Connector ID: xxxxx
2023-02-15T11:46:07Z INF Initial protocol quic
2023-02-15T11:46:07Z INF ICMP proxy will use <IP_ADDRESS> as source for IPv4
2023-02-15T11:46:07Z INF ICMP proxy will use :: as source for IPv6
2023-02-15T11:46:07Z INF Starting metrics server on [::]:36500/metrics
2023-02-15T11:46:07Z ERR Failed to serve quic connection error="Unauthorized: Failed to get tunnel" connIndex=0 ip=<IP_ADDRESS>
2023-02-15T11:46:07Z ERR Register tunnel error from server side error="Unauthorized: Failed to get tunnel" connIndex=0 ip=<IP_ADDRESS>

Steps to reproduce the issue
Everytime I start Add-on: Cloudflared
Additional information
No response

Checked after two days and it worked!


add bincount to xhistogram

Note that concerning the docs, also the histogram entry on https://xtensor.readthedocs.io/en/latest/numpy.html is currently rendered poorly.

@tdegeus I added your functions to the docs. Also the numpy entry rendered fine for me on my version.

@wolfv My current redering is:

Ok, that's bad. I have a scroll bar at the bottom.


icm20608g/icm20689: force FIFO count check sooner

The InvenSense icm20608g and icm20689 don't have a FIFO watermark interrupt, but they do have a data ready interrupt and the ability to get the current FIFO count in the same large transfer as the actual FIFO data. So instead of manually checking the FIFO count before every transfer (costs ~ 1-3% cpu) we trust the data ready counts and then verify things are in sync after the large transfer (fifo count + fifo contents).
As a precaution this PR lowers the threshold for forcing a manual FIFO count check BEFORE the large transfer. Forcing the check if out of sync by 2 (or more) samples makes sense because we always do transfers in multiples of 2 (gyro samples per accel).
The other small cosmetic changes are keeping the icm20608g and icm20689 in sync (they're nearly identical).
Bench tested on an older pixracer with the icm20608g and various newer boards with the icm20689 (pixhawk 4, etc).

Is this means DRDY pin on this IMU do not need be connected?

Is this means DRDY pin on this IMU do not need be connected?

No this is about aligning sampling in the case where the IMU doesn't have a FIFO watermark interrupt and we have to actually count every single individual data ready interrupt. However, all of the drivers work with and without the DRDY pin, but I prefer having it.


update link on collections.md

#85

Please approve this PR request. This PR is going to fix the broken link.


Propagate protocol parameters conversion errors

Description
This PR introduces an error sum type: ProtocolParametersConversionError and propagation of this type allowing for printing and handling of conversion errors, without using error, as it was previously.
This PR is blocked by a release of the following change: https://github.com/input-output-hk/plutus/pull/5305 in the next version of plutus.
closes #5092
Checklist

[x] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated.  These may include:

golden tests
property tests
roundtrip tests
integration tests
See Runnings tests for more details

[ ] Any changes are noted in the CHANGELOG.md for affected package
[ ] The version bounds in .cabal files are updated
[ ] CI passes. See note on CI.  The following CI checks are required:

[ ] Code is linted with hlint.  See .github/workflows/check-hlint.yml to get the hlint version
[ ] Code is formatted with stylish-haskell.  See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
[ ] Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7

[x] Self-reviewed the diff

Conflicts


use passive event listeners

Since headroom never needs to cancel the scroll event, it can take advantage of passive event listeners to improve scroll performance in supported browsers. You can learn more about passive event listeners on the Chromium blog:
http://blog.chromium.org/2016/05/new-apis-to-help-developers-improve.html

Thanks, this is a great idea. I will test and cut a new release this week.

@WickyNilliams Are you just waiting for the single quotes to merge this?

@joeyhoer this completely got away from me. I notice that there are now merge conflicts, so it can't be merged. @LukePulverenti could you fix up the PR so it can be merged? If not, feel free to make a fresh PR Joey

I will try to find time but if someone else can help out that would be great. Just FYI, there is more opportunity to reduce reflows if that is something you want to pursue. For example in my own version I removed consideration of the rubber band effect on Apple devices and everything still continues to operate normally. Additionally the onBottom feature requires calculation of heights, so making that an opt-in feature can reduce additional querying.

Thanks. If you can, that would be great.
It's definitely something I'd like to pursue. When you say everything continues to work after removing the rubber band effect, do you mean on Apple devices as well? Good idea on onBottom being opt-in. Perhaps only turn that feature on if the user supplies a class of their own.
Out of curiosity, did you fork this repo or create a new one?

It's currently embedded in another repo of ours: https://github.com/MediaBrowser/emby-webcomponents/blob/master/headroom/headroom.js
However, I've removed everything we're not using so you might not find it very useful.

Closing as superseded by #288


Add NotContentTypes option

Use case: I would like to gzip all content-types, except images/videos.

hey @fsouza, @jprobinson - would ya'll be interested in this change? If so, happy to add tests / refactor.

@jared2501 this seems like a reasonable addition to me. The code looks like it's in a good place. Go ahead and add some tests and I'll bring this in. Thanks!

oh sorry I missed this. Yeah I second @jp's comment and I was actually thinking about this over the weekend (we have a gizmo service that generates video thumbnails and we don't want to gzip jpg images :D).

Hi! Because I like functional options so much, I might personally implement this api as:
interface contentTypeMatcher {
  Matches(contentType string) bool
}

func ContentTypeMatchers(matchers ... contentTypeMatcher) option {
   // ...
}

gzip.GzipHandlerWithOpts(gzip.ContentTypeMatchers(
  gzip.MatchLiteral("text/plain"),
  gzip.MatchLiteral("image/jpg", invert=True), // does go have named params? i forgot
))

...so that in some magical future, you might do such weird things as:
gzip.MatchPrefix("text/")
gzip.MatchRegex("*/*+json")
gzip.MatchFunc(func(ct string) bool {
  return time.Now().Hour < 12
})

but then I'd probably add a helper that looks just like what you're proposing, so I dunno.

I have opened a PR for this also: https://github.com/nytimes/gziphandler/pull/98


Sync with OS repo

Corresponds to commit b03bf4580e7018991f73fa5404dafcf3a69f48f8

I really need to start deleting and re-creating this branch...


Fixes the technical debt migration

The technical debt migration was wrong
@dancryer I wasn't sure whether to fix it in the existing migration, because it is safe to rerun, or to add a new one

:+1:

Does this also address #1035 ?


USB cameras not working?

Sorry for not posting a lot of debug info here, but I am trying to test this and only can get it working for my mounted webcam. Anytime I try to use a usb web cam the device does not appear to work properly for the program.
I will try to pull down the project soon and see if I can get some more info as to what or why they are not working.

Opening device manager while the app was  stalled fixed it; hope it continues to work thank you!

seem to just be very delayed for usb camera (atleast one of them)


Allow changing step attribute

The rz-slider-step attribute is static and does not change, as do the min and max. See #78, which was closed without a working solution.

I understand what you mean. However, as I said in #78, this change will probably break existing apps (like if someone is using rz-slider-step="{{ step }}").
Moreover, when changing the step with your solution, a NaN appears briefly above the slider so I think you are missing something... self.resetSlider(); maybe?
I think if we do this, we should do the same for the rz-slider-precision and other attrs using @ bindings to be more consistent... Then it would mean we bump to a breaking change release so 0.2.0.

If you don't want to break existing implementations why don't you introduce a new 'rz-slider-nonStaticStep' or something?

Hmmm I'm not really fan of this solution because I already think that there are too many attributes on this directive.... I'm even considering using a rz-slider-options that would use an object containing all the non-mandatory fields and only keep rz-slider-model and rz-slider-high. Then all the options would be updatable at runtime.
What do you think of this solution? This would definitively be a 2.0 release.

Sounds good :+1:

Stupid question... Why does this dynamic step change works?
https://jsfiddle.net/zfee1pxb/3/

There is no watch on step alone but since you modify other properties that are watched (model for instance), the slider is refreshed and so the step is updated.

OK and here https://jsfiddle.net/zfee1pxb/5/ the update is triggered when moving the bubble right? So the only thing that does not work yet is that the bubble does not jump around when changing the step right?

Not only because if you show the ticks on the slider, then they are not updated either:
https://jsfiddle.net/pom92p9r/

I have started to implement what I mention above about rzSliderOptions:
https://github.com/rzajac/angularjs-slider/blob/2.0.0/src/rzslider.js#L34 .
What do you think?

It looks like mentioned :)

Please see #158


Implementation of Movie-genre-prediction

Description
Movie genre prediction based on text given using NLP/Deep learning
Install python package required is present Here
Fixes #(issue_no) : #426
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

Upload the images on an online platform such as imgur and provide the link

Modified, check now


refactor  refine some read dependency

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run External

run p0

run pipelinex_p0

run external

run buildall

run buildall

run p0

run p0

run pipelinex_p0


Add k3s upgrade script

This adds a script to upgrade k3s separately from k3os.
/cc @bhale

There, should be working as expected just tried it on my dev board cluster and no problems with this latest version of the script

Will probably just include the - in the ARCH and set it to nothing for amd64 and remove the - from the hardcoded part of the url. That should not require any extra if statements

Superseding functionality is being worked on at https://github.com/dweomer/system-upgrade-controller to be integrated into k3OS by https://github.com/dweomer/k3os/tree/system-upgrade-controller.
An upgrade Plan can be constructed to upgrade the entire system or one could write a Plan per component, in this case k3s. For manual upgrades, the k3os upgrade command will replace this script.
Thank you for the contribution @zimme and sorry for the lag on this one.

See #348


How to resume interrupted training for Flux?

I'm using the following command for training:
accelerate launch --mixed_precision bf16 --num_cpu_threads_per_process 1 flux_train_network.py --pretrained_model_name_or_path ~/work/media/flux_lora/models/flux1-dev.safetensors --clip_l ~/work/media/flux_lora/models/clip_l.safetensors --t5xxl ~/work/media/flux_lora/models/t5xxl_fp16.safetensors --ae ~/work/media/flux_lora/models/ae.safetensors --cache_latents_to_disk --save_model_as safetensors --sdpa --persistent_data_loader_workers --max_data_loader_n_workers 2 --seed 42 --gradient_checkpointing --mixed_precision bf16 --save_precision bf16 --network_module networks.lora_flux --network_dim 4 --optimizer_type adamw8bit --learning_rate 1e-4 --network_train_unet_only --cache_text_encoder_outputs --cache_text_encoder_outputs_to_disk --fp8_base --highvram --max_train_epochs 64 --save_every_n_epochs 4 --dataset_config dataset.toml --output_dir ~/work/media/flux_lora/training-output --output_name flux-lora-output --timestep_sampling sigmoid --model_prediction_type raw --guidance_scale 1.0 --loss_type l2

If training is interrupted, running this command again starts from scratch. How can I modify the command or process to resume training from the last checkpoint instead of starting over?

add one argument: --network_weights <your_lastest_lora_path>

Thank you! Will try these.

I get the following error when I use --save_state and --resume. What could be the problem causing this?
https://gist.github.com/murtaza-nasir/beb038e7e337a97ae0335bcdfd2d6307

Not sure if it's an error but I'm having the issue where resuming the model training seems to load everything up successfully, but the training steps are reset back to 0, as opposed to picking up from the last epoch it was on
(ex: If I stop training after 2/10 epochs, or on the second state, and then resume training, it'll load up the state folder successfully but will start back at 0/10 epochs)
I would assume this would completely mess up the schedulers. Is this intentional, or is there some other command I need to include alongside the --resume command?


SHA-256 compliance

Hi @spookylukey ,
is this already compliant to new paypal security upgrade?
https://www.paypal-knowledge.com/resources/sites/PAYPAL/content/live/FAQ/1000/FAQ1766/en_US/2015 Merchant Security System Upgrade Guide (U.S. English).pdf
thanks

Yes, django-paypal doesn't work on this level. You will have to test your system to know.


Adapt default Rails logs to JSON format

Story details: https://app.clubhouse.io/cartoteam/story/94485

@rafatower this is part of a leapfrog. I still have pending some testing in staging before actually including this in CartoDB/Central:
https://github.com/CartoDB/cartodb/pull/15894


Fix when type for date

Update When Date class to use WhenType of DATE instead of DATESPAN.
License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@nickbair-nylas excellent, love the test as well!


add mouse support and fix code style

Before adding new features and new modules, please go to issues to submit the relevant feature description first.
Write good commit messages and use the same coding conventions as the rest of the project.
Please commit code to dev branch and we will merge into master branch in feature
Ensure your edited codes with four spaces instead of TAB.

增加新特性和新模块之前，请先到issues提交相关特性说明，经过讨论评估确认后，再进行相应的代码提交，避免做无用工作。
编写友好可读的提交信息，并使用与工程代码相同的代码规范，代码请用4个空格字符代替tab缩进。
请提交代码到dev分支，如果通过，我们会在特定时间合并到master分支上。
为了规范化提交日志的格式，commit消息，不要用中文，请用英文描述。

would there be a way for me to contribute to this pr? sorry if I am a total noob lol

would there be a way for me to contribute to this pr? sorry if I am a total noob lol

I think it should be fine. If you still need to improve, you can directly checkout and submit to this mouse branch.

I think it is ok, don't know how to test it, though

I think it is ok, don't know how to test it, though

I have tested it, of course you can also directly pull the mouse branch for testing

Thank you very much for letting me contribute to this project, I'm learning a lot


Entity.Set performs no checks if components exists at all to be able to set it, even in debug mode.

Calling Entity.Set to set a component that doesn't exist on a said entity, causes directly memory corruption.
A suggestion would be to make it safe, but add a non safe version for performance.
As the vast majority of ecs code normally would not be affected by such change in performance just a small part of it, that is called very often, hence I would suggest making the default behavior safe.

I think it would be particularly good to add more documentation on the unsafe methods on their assumptions. If trying to Set a component to an entity that lacks it will break it that should be documented. The worst ones are the ones that don't immediately crash, like Add for a component on an entity that already has it.


cmp() does not exist in python3

cmp() is used in scheduler.py, but does not exist in python 3.
The methods which rely on it could probably be ported like this.

Thanks!!!
We are just concurrently working on another similar issue
Ren is posting on GitHub now
R

On Jan 17, 2022, at 5:51 PM, Andy Maloney @.***> wrote:
cmp() is used in scheduler.py, but does not exist in python 3.
The methods which rely on it could probably be ported like this https://portingguide.readthedocs.io/en/latest/comparisons.html.
—
Reply to this email directly, view it on GitHub https://github.com/CarletonCognitiveModelingLab/python_actr/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR4VBM5X6G7IAFRMCXS4PLUWSMPVANCNFSM5MFXLZIA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.