rbac with UUID

What steps will reproduce the problem?
I have a problem when assigning user role as follows

Setup UUID
I use alternate UUID for id auto increment sql. UUID is string

Function rbac

/**
     * Assigns a role to a user.
     *
     * @param Role|Permission $role
     * @param string|int $userId the user ID (see [[\yii\web\User::id]])
     * @return Assignment the role assignment information.
     * @throws \Exception if the role has already been assigned to the user
     */
    public function assign($role, $userId);

My Code

$this->id = "CtKoSjIiEeyrpgAJD/4AAQ";
$auth       = Yii::$app->authManager;
$authorRole = $auth->getRole($this->role);
if (isset($authorRole)) {
$auth->assign($authorRole, $this->id);
$this->save();
}

My problem

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null\nThe SQL being executed was: INSERT INTO auth_assignment (user_id, item_name, created_at) VALUES (NULL, 'STUDENT',<PHONE_NUMBER>)

What is the expected result?
I want to use UUID instead of id auto increment sql
Additional info

Q
A

Version
2.0.44

PHP version
7.4

Operating system
Windows

Thanks support teams

Can we get a double check on this? I cannot find anything in the code that could cause the problem here. Do you have the same problem when you call $auth->assign($authorRole, 'CtKoSjIiEeyrpgAJD/4AAQ'); (so using the value directly instead)?

@buiduongthe could you please answer my question?

Can we get a double check on this? I cannot find anything in the code that could cause the problem here. Do you have the same problem when you call $auth->assign($authorRole, 'CtKoSjIiEeyrpgAJD/4AAQ'); (so using the value directly instead)?

@bizley Thanks Support
My Code
$this->id = "CtKoSjIiEeyrpgAJD/4AAQ"; $auth       = Yii::$app->authManager; $authorRole = $auth->getRole($this->role); if (isset($authorRole)) { $auth->assign($authorRole, $this->id); $this->save(); }
I want to replace id (integer) with uuid (string)
Thanks

The thing is that assign() does not check for argument type and allows strings for user ID, as well as Assignment class, and I cannot see the reason for suddenly having null there. It's either you have some custom AuthManager component or some other shenanigans are happening. Please provide the clean steps to reproduce it.

@bizley I'm think, he add role to undefined item/user

@bizley foreign key?

Yes, but wouldn't the error be different then?

@buiduongthe $this is User model?

@buiduongthe $this is User model?

My Model
LoginForm.php
`
class RegisterForm extends \common\models\User
{
public function rules(): array
{
    return [
       [['role','national_number','country_prefix'], 'trim'],
   [['role','country_prefix','national_number'], 'required'],
       [['role'], 'in', 'range' => Constant::AppRole()],
    ];
}

/**
 * @throws \Exception
 */
public function SignUp()
{
    $this->setPassword("123456");
    $this->generateAuthKey();
    $this->save();
    $auth       = Yii::$app->authManager;
    $authorRole = $auth->getRole($this->role);
    if (isset($authorRole)) {
        $auth->assign($authorRole, $this->id);
        $this->save();
    }
}

}
`
$this->id is Primary key
Thanks

Hmm, not sure, the error tells that user ID is not passed at all...

$this->id is UUID, is string
ex: $this->id = "CtKoSjIiEeyrpgAJD/4AAQ";

Ok, now your code shows that $this->id is not provided as a fixed value - is it correct? What I suspect is that the first $this->save() (saving the user) is returning false (btw you should really add ifs there for $this->save() to check if saving is successful, you cannot really assume it just like that). I don't know how you generate that value for user's id but it looks like it's not filled because of failed save and thus it's not passed to the assign().
I'm closing this issue but if what I wrote is not correct please state here so we'll reopen it for further investigating.


Allow for Windows paths in generate script

Write raw strings into pyx files, to allow for backslashes in Windows
paths.

Reference issue

What does this implement/fix?

Additional information

Yes, refactoring does sound like a good idea.  But - what do you think about merging this one for now, on the basis that it is an improvement that will prevent some confusing errors, and pin the refactoring task for a bit later?

This also targeted the wrong branch, I'll move the commit to the meson branch.


Runnning :BundleUpdate or :BundleInstall on Windows throws error after the first :BundleInstall

After the first bundle install when I try to run BundleInstall or BundleUpdate I get the screenshotted error below.
Here are some code snippets from my _vimrc and my vundle.vim file
_vimrc
set guifont=Source\ Code\ Pro:h12

set t_Co=256
let g:hybrid_use_Xresources = 1

source ~/vimfiles/vundle.vim
source ~/vimfiles/plugin_config.vim
source ~/vimfiles/filetype_settings.vim

vundle.vim
set nocompatible
filetype off

set rtp+=~/vimfiles/bundle/Vundle.vim/
let path='~/vimfiles/bundle'
call vundle#irc()

Bundle 'gmarik/vundle'

" Themes
Bundle 'cseelus/sleepwalker-vim'
Bundle 'ap/vim-css-color'
Bundle 'w0ng/vim-hybrid'

" Syntax Plugins
Bundle 'othree/html5.vim'
Bundle 'jelera/vim-javascript-syntax'
Bundle 'elzr/vim-json'

" Utilities
Bundle 'kien/rainbow_parentheses.vim'
Bundle 'gregsexton/MatchTag'
Bundle 'Raimondi/delimitMate'
Bundle 'scrooloose/syntastic'
Bundle 'mileszs/ack.vim'
Bundle 'ervandew/supertab'
Bundle 'scrooloose/nerdtree'
Bundle 'mattn/emmet-vim'
Bundle 'nathanaelkane/vim-indent-guides'
Bundle 'tpope/vim-surround'
Bundle 'Lokaltog/powerline'
Bundle 'kien/ctrlp.vim'
Bundle 'walm/jshint.vim'
Bundle 'lfilho/cosco.vim'

"Snipmate stuff
Bundle 'MarcWeber/vim-addon-mw-utils'
Bundle 'tomtom/tlib_vim'
Bundle 'garbas/vim-snipmate'
Bundle 'honza/vim-snippets'

filetype plugin indent on

@gblock0 I know it's been a long time now bit did you ever figure this out?
If so or if no reply I will close within some time from now, cheers

I never did figure it out, and I don't work on a Windows computer anymore so I can't verify if it's fixed or not.
Sorry :/
--
Gregory Block
<EMAIL_ADDRESS>773-391-7439
On Fri, Nov 6, 2015 at 6:27 PM, Ryan L McIntyre<EMAIL_ADDRESS>wrote:

@gblock0 I know it's been a long time now bit did you ever figure this out?
If so or if no reply I will close within some time from now, cheers
Reply to this email directly or view it on GitHub:
https://github.com/VundleVim/Vundle.vim/issues/495#issuecomment-154585608

can you try with put you plugins list between
call vundle#begin()
and
call vundle#end()
here is an example

set nocompatible
syntax on
filetype off
set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
"add your plugin here
call vundle#end()
"add all your func and autocmd here
filetype plugin indent on
"add some special autocmd fletype here

I never did figure it out, and I don't work on a Windows computer anymore so I can't verify if it's fixed or not.

i guess we can close it then…


Update index.js

Only affect items inside containerelement

+duplicate
already done in #9 for #8

Seen, thanks!


[DOCFIX]Fix some bugs related to Caching.md

What changes are proposed in this pull request?
The purpose of this PR is to fix some bugs related to Caching.md
Why are the changes needed?
Fixing these errors will make Caching.md look cleaner.
Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

Thanks @ChunxuTang .

alluxio-bot, merge this please.


IAsyncEnumerable generates an infinite sequence 🐛

Describe the Bug
I have a service accepting a dependency that returns a IAsyncEnumerable<T> and consumes it.
When I use AutoFixture and FakeItEasy, the call produces an infinite sequence.
Support for IAsyncEnumerable<T> was added here: https://github.com/AutoFixture/AutoFixture/pull/1323
I suspect the problem is caused by registering FakeItEasy as a customization.
Scenario
Here is a stripped-down example.
public class Service(IDependency dependency)
{
	public async Task<String> GetString()
	{
		var sb = new StringBuilder();

		await foreach (var s in dependency.GetStrings())
		{
			sb.Append(s);
		}

		return sb.ToString();
	}
}

public interface IDependency
{
	IAsyncEnumerable<string> GetStrings();
}

The code below will never return.
void Main()
{
	var fixture = new Fixture();

	fixture.Customize(new AutoFakeItEasyCustomization { ConfigureMembers = true, GenerateDelegates = true });
	var svc = fixture.Create<Service>();

	svc.GetString().Dump();
}

Expected Behavior
Given how IAsyncEnumerable<T> is configured after #1323, it should return three strings.
The code works when using FakeItEasy directly
void Main()
{
	var fixture = new Fixture();

	var dep = A.Fake<IDependency>();
	A.CallTo(() => dep.GetStrings()).Returns(new string[] { "hello", "world"}.ToAsyncEnumerable());
	var svc = new Service(dep);

	svc.GetString().Dump();
}

Tasks

[x] Updated all AutoFixture and related libraries
[ ] Confirmed in support forums if behavior is expected

Thanks!

@Kralizek I assume you've checked the issue in v4 version doesn't have the AsyncEnumerableRelay, and there are no plans to add it retroactively. As a reminder #1323 has been merged into the release branch version and not master. )
The issue does not reproduce on v5 preview 8
As a workaround you could add a customization to relay the request to a regular collection, or build your own engine parts for the fixture. I'm trying to make some time in my schedule to push v5 in the coming weeks, so hopefully you'll not need it for long. 🤞
fixture.Customize<IAsyncEnumerable<string>>(c => c.FromFactory((string[] x) => x.ToAsyncEnumerable()));

Thanks, I realized the problem was elsewhere. And, honestly, I totally forgot that #1323 was merged in 5.0 and not 4.0. My bad. We can close this one.


3.10.0 - Scav cannot transfer loot that is looted inraid

seems when in loot transfer screen it looks all ok, but once transfered, server will not be able to move items that have been picked up in raid

Attachments

image.png (22 KiB)

Originally written by CWX

fixed

Originally written by CWX


Update es6 collection polyfill note

Am I wrong, or should this note mention all the collections, not just WeakMaps?

Yep, thanks!


[Feat] Resources

Closing the PR as I'd like to get the main bulk of the SDK done before I add typed resources.


Updates Client Preset Persisted Documents documentation with hashAlgorithm options

Updates Client Preset - Persisted Documents documentation
Description
Updates documentation with persistedDocuments.hashAlgorithm options example from https://github.com/dotansimha/graphql-code-generator/pull/9353
Related # (issue)

https://github.com/dotansimha/graphql-code-generator/issues/9759

Type of change
Please delete options that are not relevant.

[ ] This change requires a documentation update

Checklist:

[x] I have followed the CONTRIBUTING doc and the style guidelines 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 made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@schweetheart thank you for adding this to the docs!


Overhaul Filling Issues Documentation

Description:
The current bug filling documentation requires an overhaul to ensure that the issue filing process is the coherent. This task is related to: https://github.com/enarx/.github/pull/11#issuecomment-1008872925
Acceptance Criteria

[x] Rename Bugs to "Filing Issues"
[x] Add triage label to list of available labels
[x] Provide information about filing a bug
[x] Provide information about how to request a feature or enhancement

This is now complete. Will open a PR next time.

Closes #65 & #69


Temporary removal of kogito-swf-{builder-,devmode} images from release pipelines

Closes: https://github.com/apache/incubator-kie-issues/issues/1038
This PR removes the kogito-swf-buider and kogito-swf-devmode images from the automation pipelines.
Those 2 images are being moved to kie-tools repository for the Apache 10 release.

PR job #132 was: FAILURE
Possible explanation: Pipeline failure or project build failure
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/132/display/redirect
See console log:

Console Logs
[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-task-console: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: FAILURE[Pipeline] error[Pipeline] }[Pipeline] // stage[Pipeline] }Failed in branch kogito-task-consoleBuild KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-runtime-native: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-management-console: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-runtime-jvm: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-jobs-service-ephemeral: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-jobs-service-ephemeral seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-jobs-service-allinone: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-s2i-builder: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-s2i-builder seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // parallel[Pipeline] }[Pipeline] // dir[Pipeline] }[Pipeline] // script[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Declarative: Post Actions)[Pipeline] script[Pipeline] {[Pipeline] sh+ wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/132/api/json?depth=0'[Pipeline] readJSON[Pipeline] sh

PR job #135 was: FAILURE
Possible explanation: Pipeline failure or project build failure
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/135/display/redirect
See console log:

Console Logs
From https://github.com/rodrigonull/incubator-kie-kogito-images * branch              kie_issues_1038 -> FETCH_HEADhint: You have divergent branches and need to specify how to reconcile them.hint: You can do so by running one of the following commands sometime beforehint: your next pull:hint: hint:   git config pull.rebase false  # merge (the default strategy)hint:   git config pull.rebase true   # rebasehint:   git config pull.ff only       # fast-forward onlyhint: hint: You can replace "git config" with "git config --global" to set a defaulthint: preference for all repositories. You can also pass --rebase, --no-rebase,hint: or --ff-only on the command line to override the configured default perhint: invocation.fatal: Need to specify how to reconcile divergent branches.[Pipeline] }[Pipeline] // withCredentials[Pipeline] echo        -------------------------------------------------------------        [ERROR] Can't merge source into Target. Please rebase PR branch.        -------------------------------------------------------------        Source: git://github.com/rodrigonull/incubator-kie-kogito-images kie_issues_1038        Target: b4cf1cbd Fix #1749 - Rename SonataFlow, jBPM, and Drools extensions (#1750)        ------------------------------------------------------------- [Pipeline] }[Pipeline] // dir[Pipeline] }[Pipeline] // script[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Validate CeKit Image and Modules descriptors)Stage "Validate CeKit Image and Modules descriptors" skipped due to earlier failure(s)[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Build & Test Images)Stage "Build & Test Images" skipped due to earlier failure(s)[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Declarative: Post Actions)[Pipeline] script[Pipeline] {[Pipeline] sh+ wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/135/api/json?depth=0'[Pipeline] readJSON[Pipeline] sh

PR job #136 was: FAILURE
Possible explanation: Pipeline failure or project build failure
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/136/display/redirect
See console log:

Console Logs
[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-data-index-postgresql: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-management-console: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-task-console: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-runtime-jvm: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-jobs-service-allinone: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-jobs-service-allinone seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-swf-builder: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-swf-devmode: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-s2i-builder: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // parallel[Pipeline] }[Pipeline] // dir[Pipeline] }[Pipeline] // script[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Declarative: Post Actions)[Pipeline] script[Pipeline] {[Pipeline] sh+ wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/136/api/json?depth=0'[Pipeline] readJSON[Pipeline] sh

PR job #140 was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/140/display/redirect
See console log:

Console Logs
[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-jobs-service-ephemeral: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-jobs-service-ephemeral seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-task-console: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-data-index-ephemeral: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-data-index-ephemeral seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-jobs-service-allinone: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-management-console: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-swf-builder: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-swf-devmode: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // parallel[Pipeline] }[Pipeline] // dir[Pipeline] }[Pipeline] // script[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Declarative: Post Actions)[Pipeline] script[Pipeline] {[Pipeline] sh+ wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/140/api/json?depth=0'[Pipeline] readJSON[Pipeline] sh

PR job #141 was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/141/display/redirect
See console log:

Console Logs
[Pipeline] unstableWARNING: Tests on kogito-jobs-service-ephemeral seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-data-index-postgresql: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-task-console: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-data-index-ephemeral: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: UNSTABLE[Pipeline] unstableWARNING: Tests on kogito-data-index-ephemeral seems to have failed[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-jobs-service-allinone: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-management-console: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-swf-builder: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }Build KIE » kogito » main » pullrequest » kogito-images.build-image PR #1752 - kogito-swf-devmode: https://github.com/apache/incubator-kie-kogito-images/pull/1752 completed: SUCCESS[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // parallel[Pipeline] }[Pipeline] // dir[Pipeline] }[Pipeline] // script[Pipeline] }[Pipeline] // stage[Pipeline] stage[Pipeline] { (Declarative: Post Actions)[Pipeline] script[Pipeline] {[Pipeline] sh+ wget --no-check-certificate -qO - 'https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-images.build-and-test/141/api/json?depth=0'[Pipeline] readJSON[Pipeline] sh


image upload max size

The project is very helpful thanx. I am trying to increase the maximum image upload size from the project default that is 2 MB to 5mb.when I try to increase it it displays an error.plz help

Just change the value of the below line in index.php
maxFilesize: 2, // MB
TO
maxFilesize: 5, // MB

i have tried to do so but it shows some error  pls look on this link it
demonstrates well  https://www.youtube.com/watch?v=DyOG6TruINo thank you
On Sat, Oct 26, 2019 at 1:32 PM Zaid Bin Khalid<EMAIL_ADDRESS>wrote:

Closed #2
https://github.com/LearnCodeWeb/Dropzone-with-PHP-Image-Resizer/issues/2
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LearnCodeWeb/Dropzone-with-PHP-Image-Resizer/issues/2?email_source=notifications&email_token=ANS5G2BKVCPGNJEDZGTENODQQQMCRA5CNFSM4JFDIFI2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUOWK2OQ#event-2746002746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANS5G2A7UU4YNKMB63REGB3QQQMCRANCNFSM4JFDIFIQ
.


Dark mode

I have checked this feature was not yet requested.
Please consider adding the ability to switch the theme of the app to dark mode.

Hi, can the developers please provide some update on this?

Hi, can the developers please provide some update on this?

Second that

We have started a big refactoring effort as part of #1155 to allow to implement a dark mode in the future. There is no ETA at the moment.

Thanks for the update!

Hi gre, do you have any update on this?

Ledger is obviously doing a great job at communication in regards to this issue.
This issue was created in 2019, has more up votes than any other issue, and hasn’t received an update from Ledger in almost a year.
@gre Why has there been no update on this (your most up voted issue) in almost a year?

It's happening really really soon! Stay tuned 🙂

https://twitter.com/ledger/status/1359547870857330690?s=21
When @gre said It's happening really really soon I expected maybe a week or something. Did not expect it to be 2 days later. So really pleasant surprise.
GREAT job to the entire team who worked on this. I really appreciate this feature!!

FIXED


Cursor Disapears after Alt-TAB

I'm on Atom 1.4.0 on Bodhi Linux 3.1.1 (fork of Ubuntu 14.04, trusty), running inside VirtualBox on Windows7. I'm having the exact problem described at the start of Issue #3622.
The screenshot in the third comment demonstrates my issue exactly. The workaround described in a later comment did not help (perhaps new Atom has different selectors?).
If I quickly alt-tab back and forth multiple times, I can see the cursor (and the current-line highlight) appears for a few milliseconds, and every about 8 switchings back and forth, the cursor does show correctly.
To note: the cursor just disappears only visibly, but I can still type and I can see the highlight of the line number of the line the cursor is on move when I press Up/Down as well as braces get underlined when I move it horizontally.

I have noticed the same on OSX 10.10.5 and Atom 1.4.0

Doesn't happen here. Arch Linux x86_64, w/ Atom 1.5.0-beta1, using Cinnamon 2.8

Tried 1.4.1 and the 1.5.0-beta1, the issue is still present in both versions :(

Some progress: I installed package neon-cursor and the issue went away. If I disable it to get back to the default cursor, the issue re-appears.
Perhaps this would give some clue as to what the issue is.

I am seeing this issue, 10.10.5 and Atom 1.4.0. I installed https://github.com/thiagopnts/dyslexia to know when to click the window to regain focus after alt+tabbing to a fullscreen Atom window again.

I cannot reproduce this on Ubuntu 16.04, Atom 1.9.0-dev-9175194.

No longer happening in 1.8.0-beta2.

Is anyone who could originally reproduce this still seeing this?

Closing due to lack of response. Please let us know if this reoccurs for anyone :grinning:

@lee-dohm still happens here with os x el capitan. What do I need to send to you for you to reproduce it?

I can reproduce the issue on Ubuntu 12.04 and Atom  1.0.11

I was having the issue but I have hidden the tree view and have not had any issue since.


how to use with base64

I like much the component but i not work with base64
have any way to work with base64?

Thank you, this is on the roadmap i think it will be possible next week.

I have committed the base64 support for IOS.


TypeScript: How to setup external module type definition like @types

In the following section in the TypeScript guide explaining how to apply d.ts file that's you have already.
But person who are familiar Node.js's npm package like me, execute command like npm install -D @types/react and then get type definition file from DefinitelyTyped.
As a one of React/Node.js developer, current manual seems like unclear to get type definition file of external modules.
I think it's better if the manual is covering that concern clearly.
Thank you. 🤗

There is this section which talks about CDNs that can provide types automatically.
A more clear FAQ though could provide both pieces of information at the same time, noting that most code target for Deno is either written in TypeScript or automatically provides its types, so the type acquisition is really the concern when trying to leverage code written for Node.js or on npm.

@kitsonk I understood it very well.
Thank you very much for your excellent answer. 😄

@kitsonk This issue have been solved but still opening.
Is there any relation to following Discord server announcement?

PSA
We want to drastically improve Deno's documentation (https://deno.land/manual) in the near future.
I've opened several issues with stuff that IMO feels like it needs updating: https://github.com/denoland/manual/issues
However I am biased in this regard as I work on Deno daily, so what needs improvement in my opinion might be drastically
different than what community feels is lacking in the documentation.
So hereby I'm encouraing you to open issues in that repo with subjects that you found yourself lost when trying to learn about them.

The issue is tagged as help wanted to indicate that the community could contribute to making the documentation more clear by adding to the TypeScript FAQ section.

@kitsonk Got it, thanks!


Do not append "Status" to the site name

Currently the title of the index is the site name set in the settings is
appended with "Status". This is confusing because the RSS feeds show
the site name without it (and you probably want to write "Status" in the site
name yourself anyway).

There are probably some other places where this needs removing.

You're right. That's the only one I've found so far (the dashboard's title and RSS feeds don't have it)

Ping @jbrooksuk.

To be honest, I'm not sure why we even did it in the first place. It causes more confusion than anything.

Thanks @gregkare. I've removed the other occurrences in<PHONE_NUMBER>eaf1482b01e74dcaf508f2aa445a5b.


Please continue to support manual installs for Teslamate!

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
As per comment in PR#3439, I am repeating my request to continue to support manual installs here.
I am running Teslamate on a Raspberry Pi which already has instances of Grafana, Postgresql and a MQTT service running for a lot of services.
Duplicating all these for each service would totally overload the little machine and - IMHO - makes no sense.
So I would continue to need a supported way of installing either a single Teslamate-only docker image with hooks to existing Grafana / Postgres / MQTT services (and not duplicating the complete infrastructure), or (preferably) a manual installation option.
Thank you!
Expected Behavior

Steps To Reproduce

Relevant log output
-

Screenshots

Additional data

Type of installation
Manual
Version
1.28

My understanding is that the discussion was concerning the future of the documentation. Manual installs would continue to work even if the documentation is removed.
I don't think anybody was going to actually remove the documentation.
I think there was frustration that we have to keep multiple installation procedures tested and in sync. I don't think that is a good reason for removing documentation though.
If anything, I would like to see more installation methods documented, e.g. nix.

I am going to move this to a discussion for now, as I do not see an "issue" at the moment.


fix(clerk-js): Update flex gap compat to use css @supports

Description
iOS Chrome users are experiencing issues where the current createFlexGapPropertyIosCompat util is returning the lobotomized owl gap implementation. On top of that the fallback solution when flexbox gap is not supports defaults to column spacing, which doesn't work for instances of flexbox row usage with gap.
The proposed update makes use of CSS @support selector to see if flexbox-gap is supported, and falls back to lobotomized owl solution for margin-left or margin-top based on the flex direction. I also added checks for hidden elements to ensure those do not take up unintended spacing.
flexbox-gap supports is not supported 🙃 so we're checking for a similar feature released along the same time to check for supports https://birdsong.dev/blog/sloppy-supports-for-flexbox-gap/ This seemed like a reasonable solution due to likely the limited amount of people who this might trigger the fallback for.
Gap supported (iOS Chrome):

BEFORE
AFTER

Gap unsupported (iOS Chrome):
TODO
Fixes SDKI-626
Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[x] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

!preview

Hey @alexcarpenter, your preview is currently deploying and should be available shortly.

Status
Preview
Updated (UTC)

:cook: Deploying...
Inspect
Aug 27, 2024 05:40 PM

!preview


Pass SessionState to TableProvider::scan

https://github.com/apache/arrow-datafusion/pull/2660

Superseded by https://github.com/apache/arrow-ballista/pull/53


Refactoring to allow searching through multiple elements

Todo:

[x] Use a node iterator instead of an own iterator to get text nodes in the DOM text node order
[x] Ignore not only duplicate contexts, but also contexts that are located inside other contexts
[x] Implement unit tests to check nested duplicate contexts
[ ] Implement an option to search across multiple HTML elements #46
[x] Ignore duplicate keywords when using separateWordSearch
[x] Implement unit tests to check exclusion selectors in .unmark()
[x] Make sure the PhantomJS test is executed on external PRs
[x] Sort array of keywords to fit #49

@rhewitt22 I'd like to ask you one question, as a native speaker. I'm currently trying to find the best option name for searching through multiple elements. My suggestion is acrossElements. Do you think that this is self explanatory?

Can you give an example of the API?  Is this a new option, or are you passing an array of nodes (rather than a single node) to the constructor?
At first glance acrossElements seems appropriate.

@rhewitt22 It's a new option (not released yet) I'm currently working on (requested in #46). You are passing a single or multiple context elements, but that's not the point. The enhancement when enabling this option is that it will search through HTML elements.
Take this DOM as an example:

     lorem ipsum dolor

When searching for lorem ipsum with disabled separateWordSearch, mark.js will not find any match as ipsum is located inside a separate HTML element. This option will find matches through any HTML element. The result would be:

     lorem ipsum dolor

Ahhh, I see what you mean now!  I think acrossElements works nicely here.

@rhewitt22 Great to hear. Thanks for the verification. :beers:


Suggest right disk size requirement for base node

Please help in recommending the right disk size for booting up a new base node from scratch.

Disk size mentioned in the repo which is 4TB and docs i.e. 2.5TB is inconsistent

Currently the snapshot size for mainnet is 3.4TB in zip. That means if someone wants to boot up a new base node, they would need at least 7TB of disk space, 3.5TB for zip download, and at least 3.5TB for extracting the data.

This means to do this efficiently and make it future-proof, do we have to boot up a server with a 10TB disk? or am I doing something wrong?

just very simple, downloading and extracting
export LATEST=$(curl https://base-snapshots-mainnet-archive.s3.amazonaws.com/latest) && wget https://base-snapshots-mainnet-archive.s3.amazonaws.com/${LATEST} -O - | tar -xzvf - -C /data/base

@DSdatsme
Heya! Thanks for raising this point; opened a PR on both repositories to update this to be more explicit:
https://github.com/base-org/web/pull/515
https://github.com/base-org/node/pull/262


#SB-23681 fix:  Creation portal code refactoring

Changes are added to another PR (https://github.com/Sunbird-Ed/creation-portal/pull/1300)


Flip stdout and stderr

The default was changed to os.Stderr in f8f08842cce7ed05c296430852f60f287458c529

Are you saying that because the default is os.Stderr, the example should show how to change it to os.Stdout?

@stevvooe Yes indeed. The default is os.Stderr but the readme hints that it is actually os.Stdout.

We could the text  to explicitly say that os.Stderr is the default. Something like:

// Output to stdout instead of stderr (default), could also be a file.

LGTM

Fixed directly in master


Require that only those association options which are known about by …

…the gem are used.  Also, fix a bug where using nil for type allowed users to specify more than one option (it probably didn't make a difference functionally, but it's good to be specific)
For issue #796

Coverage increased (+0.0%) to 98.18% when pulling a88eb055cb531c1015c5cdd42c2559f64753248e on require_only_known_association_options into 52f59fbcd059105464039096d0bc7a6c8d587939 on master.


No tutorial on how to make custom modules

make a tutorial/gitbook please

I'm just going to respond for him (so you dont have to wait 2+ days kek)
But the most he will probably do is link you to the docs

oh my thank you


update modules to latest version

This PR updates the Terraform modules used in this application to incorporate a security remediation ensuring that containers running in AWS have a read-only root filesystem.

CI: IaC Security warnings found!


Remove response header with the server name & version for security reasons?

You return the response header Server with a value like "ktor-core/0.4.0-alpha-10 ktor-core/0.4.0-alpha-10". How about

not returning anything, or the
name of the app that is using Ktor underneath or
just a generic Ktor

?
My concern is due to automated scans that might detect certain vulnerable ktor setups in the wild and exploit any given issues that the attacker might be aware of.

These headers are added when you install DefaultHeaders feature. Documentation for it is under review, but you can check out draft here: http://ktor.io/drafts/features/default-headers.html


"Cannot calculate mean, unexpected type of argument" when data has nulls

When I call .describe() on a data frame with some null values, I get this error:
return new TypeError('Cannot calculate ' + fnName + ', unexpected type of argument' + details);
           ^

TypeError: Cannot calculate mean, unexpected type of argument (type: null, value: null)

You can check the dataset here: https://raw.githubusercontent.com/ageron/handson-ml2/master/datasets/housing/housing.tgz
Here is the code I have:
// ... after downloading and extracting the file
const dataFrame = await dfd.read_csv(RAW_DATA_DIR + '/housing.csv');
dataFrame.describe().print();

And if I console.log the dataframe itself, the data seem to be imported correctly.
// ...
'$data': [
    [
      -122.23, 37.88,
      41,      880,
      129,     322,
      126,     8.3252,
      452600,  'NEAR BAY'
    ],
// ..
'$columns': [
    'longitude',
    'latitude',
    'housing_median_age',
    'total_rooms',
    'total_bedrooms',
    'population',
    'households',
    'median_income',
    'median_house_value',
    'ocean_proximity'
  ]

But it indeed has some null values in some rows.
Shouldn't the lib skip the null values? Or I'm missing something?

Thanks for raising this issue, and yes, we skip null values before computations. I’ll take a look ASAP.

Update:
@codeheart09 This has been fixed in the latest release.
You can install and use the latest Typescript version (v1.0.0).
If you need help migrating to the latest version, see: https://danfo.jsdata.org/examples/migrating-to-the-stable-version-of-danfo.js

I seem to be hitting this with v1.1.1. Some values are listed as null and describe throws:
TypeError: Cannot calculate mean, unexpected type of argument (type: null, value: null)

Is there a regression since v1.0.0, or do we need to manually filter out the null values?

Using nodejs v16.13.2 if that helps.

2023 Update: I ran into the same issue TypeError: Cannot calculate mean, unexpected type of argument (type: null, value: null). I'm using the iris-classification CSV dataset.
The error occurred when the column names weren't specified in the input CSV but were specified via the readCSV config parameter i.e frameConfig.columns. The number of actual CSV records was 150, but the DataFrame was only reading 149 records, which suggests an issue with parsing.
When the column names were specified in the input CSV and readCSV was called without any config parameters, the describe() method worked as expected and 150 CSV records were read by the DataFrame.
So I'm guessing it's a bug from parsing?


Don't proxy authSig parameter unless necessary

Passing the authSig in the query parameters is unnecessary and may prevent cache from working properly. Passing the authSig is only required for VodProxyView (so that the HLS manifests that get sent back have segment URLs that include the authSig).

Thanks @uvjustin !


Growth Effects in PAGE-ICE (timestep)

This PR aims to implement growth effects into PAGE-ICE (non-annual version).
The growth effects are based on an empirical distribution.
The changes will be implemented such that both running with and without growth effects is possible.

closing because new commit is not automatically added.


Enforce the types that are passed in from the CLI in main_ds and data_process

Today the main_ds.py and data_process.py files parse out arguments
on the command-line via argparse. These parsed arguments are then
sent through the respective main functions and used as objects.
This should be updated so that there's type-checking happening to validate
that these types are truly present.

Is this done?


Can't use an own video for colab demo

I have been getting a lot of issues with colab demo since a while. I tried all of the solution that are around  (#545 #564 #565). The demo works without any problem until I use an own video. This appears:

There is something I can do?

https://github.com/imageio/imageio/issues/968

i was able to fix the program but you need to restart the runtime before running the code
https://colab.research.google.com/drive/1NLql5hmZo1N1qugyDtuGw9RjTNfC19MW

first run the code, restart the runtime, reload the page, restart the runtime and it should work

I used the updated program which fixed the issue above, but I've been getting this error instead

i was able to fix the program but you need to restart the runtime before running the code https://colab.research.google.com/drive/1NLql5hmZo1N1qugyDtuGw9RjTNfC19MW

there is any kind to contact with you directly? I'm seriously struggling with running your fix

@AliaksandrSiarohin merged one of the pull request but still passing over my issue :/


1.18-3.0.48 issue

Just updated from 3.0.46 to 3.0.48 and now when I start the game, I'm greeted with the following screens:

Version: Forge
Game version: 1.18.2
Crash log: https://crashy.net/4ZpiJMn2468lk9c8NM5R
If I roll back, then the game is fine.

The mod Mowzie's Mobs causes this issue


Feature/octo 545 add consolidate documentation

To build the documentation locally run make docs in the project root folder.

Coverage increased (+0.02%) to 76.533% when pulling 8c86c848ac6fc88b2de802205d4506439946a4fe on feature/OCTO-545-add-consolidate-documentation into b4b37ec297c40c91d0a774fe5d0de991ae66c39e on dev.

Coverage increased (+0.02%) to 76.533% when pulling c3715f54f309b6c4c2f8ab9ccaace0ddae4ec98e on feature/OCTO-545-add-consolidate-documentation into b4b37ec297c40c91d0a774fe5d0de991ae66c39e on dev.

Coverage increased (+0.02%) to 76.533% when pulling 37f4fb2a61ed7955ae5225dc3825d35f4e7e64f1 on feature/OCTO-545-add-consolidate-documentation into 90289227d488f4b75db386a4df4a47f3a5bd171f on dev.

Coverage increased (+0.02%) to 76.533% when pulling 403f917cf57cca4b9aa5a7b418a8e29390e2bbcd on feature/OCTO-545-add-consolidate-documentation into 90289227d488f4b75db386a4df4a47f3a5bd171f on dev.

Coverage increased (+0.02%) to 76.533% when pulling 403f917cf57cca4b9aa5a7b418a8e29390e2bbcd on feature/OCTO-545-add-consolidate-documentation into 90289227d488f4b75db386a4df4a47f3a5bd171f on dev.


CMake build needs to be updated

There are reports that cmake no longer works.

Closing. Reopen if you disagree.


gh label create does not work outside of git repository

gh label list works using $GH_REPO, but gh label create exits with an error:
~ 23:55 $ echo $GH_REPO
razzius/dev-env-issues
~ 23:55 $ gh label list | head -3
bash    853A20
bug     d73a4a  Something isn't working
documentation   0075ca  Improvements or additions to documentation
~ 23:55 $ gh label create emacs
Error: failed to create label; error: gh returned error: exit status 1, stderr: unable to expand placeholder in path: fatal: not a git repository (or any of the parent directories): .git
/usr/local/bin/git: exit status 128

The GitHub CLI does not pass any context to extensions. Even the -R owner/repo global parameter I do support I had to add. I could add support, but I imagine most other extensions don't have it either. Instead, I recommend opening a linked issue on https://github.com/cli/cli to bolster support for extensions to avoid duplicate and likely incomplete context. /cc @vilmibm

For now I'd use the -R org/repo parameter, but I did file https://github.com/cli/go-gh/issues/5 to hopefully get some officially maintained support. For now I'd prefer not to try to reimplement every way the CLI itself supports specifying a repo.

I forgot I already parse $GH_REPO so I tried working on this and think it's a bug in the CLI. The list command was using the older placeholder syntax like :owner and :repo and worked, as you noted and I repro'd, but if I switch everything to {owner} and {repo} I get this same error about missing the .git directory even on list.
@vilmibm does this sound like an issue in the CLI? This extension ultimately just calls the gh command similar to go-gh but supports -R owner/repo and $GH_REPO which, ultimately, both pass the owner and repo as parameters just as gh api --help show.

For me it's not working even using -R

In the first attempt it creates it in the repo I'm inside, If I list the labels with -R it works correctly.

I tracked it down to a bug in the CLI. It's replacement tokens for REST vs GraphQL calls is inconsistent: they work in one case but not another. I'd have to parse the various config options to reproduce the desired behavior which, IMO, is not something extensions should have to do.


Use Localized Date Formats

We should remove dates from the strings and use JavaScript's date localizing library to make our dates in a format those outside of the US can still read.

Probably won't do the JavaScript approach. That would be fun, but it's probably best to limit the JS needed as much as possible.
I think a better option might just be to ensure the dates are in a good internationally recognized format like ISO 8601

Completed with PR: https://github.com/acnolan/acnolan.github.io/pull/49


Buttons Misfiring

Software Versions

Python: 3.7.3
OS: Raspberry Pi OS Buster (full Desktop)
Kivy: 2.0.0rc3
Kivy installation method: Cloned locally and then pip install

Describe the bug
When buttons are placed close to each other, even though there is quite a bit of gap between them; when one of them is clicked, the other one is activated instead (or) as well. This happens very frequently and tends to crash the application. This does not happen on Windows OS, but gives frequent trouble on Raspberry Pi.
The issue tracker is a tool to address bugs only (search known bugs: https://git.io/vM1iE).
Please use the #support Discord channel at https://chat.kivy.org/ or Stack Overflow for
support questions, more information at https://git.io/vM1yQ.
Expected behavior
Activate only the button that is clicked, no misfiring.
To Reproduce
A short, runnable example that reproduces the issue with latest kivy master.
Code and Logs and screenshots
// REPLACE ME: Paste your code and logs here, a template can be found at https://git.io/vM1id.

Additional context
Add any other context about the problem here.

Please can you post:

code demonstrating the problem.
the logs when is crashes.
Without that, it's almost impossible to know what the problem is.

Thanks


boards: arm: gd32f450z_eval: add initial support

Add initial support for the GD32F450Z-EVAL board.
Signed-off-by: Sebastien Bourdelin<EMAIL_ADDRESS>

Hi @nandojve ,
No indeed, i m gonna take a look

Hi @nandojve ,
So, if i'm not misunderstanding, the problem is that the gigadevice HAL already use the SPI_SLAVE define name for the register configuration [1] where the spi_looback test driver use the same define name to define which slave should be addressed [2].
Not sure how you want to address this case?
As any other Gigadevice boards using this HAL will suffer from the same problem, i was thinking we could rename the define  SPI_SLAVE in the  spi_looback to SPI_SLAVE_NUMBER which might actually looks more accurate too.
What do you think?

Hi @nandojve ,
So, if i'm not misunderstanding, the problem is that the gigadevice HAL already use the SPI_SLAVE define name for the register configuration [1] where the spi_looback test driver use the same define name to define which slave should be addressed [2].
Not sure how you want to address this case? As any other Gigadevice boards using this HAL will suffer from the same problem, i was thinking we could rename the define SPI_SLAVE in the spi_looback to SPI_SLAVE_NUMBER which might actually looks more accurate too. What do you think?

makes sense for a quick solution, also agree with @nandojve suggestion.

However, it will be important open an enhancement to remove all the recursive dependencies related to hal_gigadevice/<CONFIG_SOC_SERIES>/standard_peripheral)/include/<CONFIG_SOC_SERIES>_libopt.h. Then link that issue with this PR to allow track the origin.

I'm sorry you lost me there, i'm not sure if you want me to do something about it and i'm even less sure to see the link between the redefine and the recursive dependencies 😅

Hi @sbourdelin ,
No problem, let's try clarify.

I'm sorry you lost me there, i'm not sure if you want me to do something about it and i'm even less sure to see the link between the redefine and the recursive dependencies sweat_smile

You need to do 2 things:

Add your proposal to change SPI_SLAVE to SPI_SLAVE_NUMBER_NUMBER to fix CI and get this merged.
Open an Issue to remind maintainers that there is an issue related to hal_gigadevice/<CONFIG_SOC_SERIES>/standard_peripheral)/include/<CONFIG_SOC_SERIES>_libopt.h.

hi @nandojve
Thanks for the explanations, i added a commit to this PR for the spi test, maybe you want it not link to this PR?
For your suggestion on the Gigadevice HAL, it doesn't seems i can open an issue on the https://github.com/zephyrproject-rtos/hal_gigadevice repository.
Let me know, thanks!

Hi @sbourdelin ,

For your suggestion on the Gigadevice HAL, it doesn't seems i can open an issue on the https://github.com/zephyrproject-rtos/hal_gigadevice repository.

Please open issue here on ZephyrProject and you can assign to me.

Hi @nandojve ,

Hi @sbourdelin ,

For your suggestion on the Gigadevice HAL, it doesn't seems i can open an issue on the https://github.com/zephyrproject-rtos/hal_gigadevice repository.

Please open issue here on ZephyrProject and you can assign to me.

Issue is here: https://github.com/zephyrproject-rtos/zephyr/issues/45720
It looks i can't assign it to you directly.


feat: add SecretString and SecretBytes datastructures

Description
This pull request implements SecretString and SecretBytes data structures to hide sensitive data in tracebacks, etc.

Closes
Closes #1312
Closes #3248

Take 3. Superseded #3254 which superseded #2966.
This still needs encoding/decoding support for the datastructures and tests.

[ ] prose docs
[ ] openapi integration


Fix Incorrect Test File Link in Recursion README.md

Description
Problem*
The test file link in the README.md of the recursion folder within the noir-examples repository was incorrect, pointing to a non-existing path. This made it difficult for users to locate and run the test file as instructed.
Summary*
This Pull Request updates the README.md file in the recursion folder to correct the path to the test file. The link has been updated from ./test/index.ts to ./packages/hardhat/test/index.test.ts, reflecting the actual location of the test file within the repository structure.
Additional Context
This change makes sure that contributors and users can correctly access and run the test file as described in the README.md, improving the developer experience.
PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

thanks!


fixes #342: 4.1.(0, 1) cluster does not form in the presence of neo4j-streams-4.0.2.jar

Fixes #342
Even if we start the plugin in the AvailabilityListner in Neo4j 4.1.x the system db is not yet available. We need to wait until then is available.
n.b. the problem does not affect only clusters but also single instances in 4.1.1
Proposed Changes (Mandatory)
A brief list of proposed changes in order to fix the issue:

Added a coroutine that waits until the system db is available in order to

Haven’t tested in a causal cluster yet, but single node this is working fine for me at the moment.


Code styling standardization

With the expanding codebase, having a unified code styling that can be applied using Prettier for example will be useful for everyone.
We can discuss what the code styling that we can have here.

I agree, let's discuss this during the weekly call!

From the call just now, we'll have this as the code style/format
this is the default .prettierrc config, but will be useful for anyone that has custom config installed into their machine such that their formatting may obscure their PR
// .prettierrc
{
  "arrowParens": "always",
  "bracketSameLine": false,
  "bracketSpacing": true,
  "semi": true,
  "singleQuote": false,
  "tabWidth": 2,
  "useTabs": false
}


imaplib.error: SEARCH command error: BAD [b'Parse Error (took 0 ms)']

I wish I could use your script, on the default example getting this error
Traceback (most recent call last):
File "setup.py", line 20, in
downloaded_emails = download_emails(
File "C:\Users\youngfifinascar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\easy_email_downloader\utils.py", line 51, in download_emails
_, messages = imap.search(None, _search_filter)
File "C:\Users\youngfifinascar\AppData\Local\Programs\Python\Python38-32\lib\imaplib.py", line 725, in search
typ, dat = self._simple_command(name, *criteria)
File "C:\Users\youngfifinascar\AppData\Local\Programs\Python\Python38-32\lib\imaplib.py", line 1205, in _simple_command
return self._command_complete(name, self._command(name, *args))
File "C:\Users\youngfifinascar\AppData\Local\Programs\Python\Python38-32\lib\imaplib.py", line 1030, in _command_complete
raise self.error('%s command error: %s %s' % (name, typ, data))
imaplib.error: SEARCH command error: BAD [b'Parse Error (took 0 ms)']
using an iCloud mailbox
https://github.com/paperless-ngx/paperless-ngx/issues/2037
similar error here

Is this Windows 10? Did you install with pip? I tested this on Mac & Linux but not Windows, I can take a look tomorrow, I have an iCloud account I can test with

yep on windows 10 in Parallels, I installed with Poetry, I will test on mac tho

Id love some help on that still


Build issue with react-native-vision-camera v3.3.1

Hey,i have try to install the package but it looks the package is no longer works with 3.3.1 as in my opinion the callback function is causing the issue .
Here is my package.json file.
{   "name": "DrowineDetection",   "version": "0.0.1",   "private": true,   "scripts": {     "android": "react-native run-android",     "ios": "react-native run-ios",     "lint": "eslint .",     "start": "react-native start",     "test": "jest"   },   "dependencies": {     "@react-native-async-storage/async-storage": "^1.19.3",     "@react-navigation/material-bottom-tabs": "^6.2.17",     "@react-navigation/native": "^6.1.8",     "@react-navigation/native-stack": "^6.9.14",     "axios": "^1.5.1",     "react": "18.2.0",     "react-native": "^0.72.5",     "react-native-fs": "^2.20.0",     "react-native-paper": "^5.10.6",     "react-native-reanimated": "^3.5.4",     "react-native-safe-area-context": "^4.7.2",     "react-native-screens": "^3.25.0",     "react-native-toast-notifications": "^3.4.0",     "react-native-vector-icons": "^10.0.0",     "react-native-vision-camera": "^3.2.2",     "react-native-worklets-core": "^0.2.0"   },   "devDependencies": {     "@babel/core": "^7.20.0",     "@babel/preset-env": "^7.20.0",     "@babel/runtime": "^7.20.0",     "@react-native/eslint-config": "^0.72.2",     "@react-native/metro-config": "^0.72.11",     "@tsconfig/react-native": "^3.0.0",     "@types/react": "^18.0.24",     "@types/react-native-vector-icons": "^6.4.15",     "@types/react-test-renderer": "^18.0.0",     "babel-jest": "^29.2.1",     "eslint": "^8.19.0",     "jest": "^29.2.1",     "metro-react-native-babel-preset": "0.76.8",     "prettier": "^2.4.1",     "react-test-renderer": "18.2.0",     "typescript": "4.8.4"   },   "engines": {     "node": ">=16"   } }
Here is log output of console.
> Configure project :react-native-reanimated Android gradle plugin: 7.4.2 Gradle: 8.0.1 WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties` file or use the new publishing DSL.

Configure project :react-native-vision-camera
[VisionCamera] react-native-worklets-core found, Frame Processors enabled!

Task :vision-camera-base64:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
131 actionable tasks: 3 executed, 128 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
D:\ReactNative\DrowineDetection\node_modules\vision-camera-base64\android\src\main\java\com\visioncamerabase64\VisionCameraBase64Plugin.java:10: error: VisionCameraBase64Plugin is not abstract and does not override abstract method callback(Frame,Map<String,Object>) in FrameProcessorPlugin
public class VisionCameraBase64Plugin extends FrameProcessorPlugin {
^
D:\ReactNative\DrowineDetection\node_modules\vision-camera-base64\android\src\main\java\com\visioncamerabase64\VisionCameraBase64Plugin.java:12: error: method does not override or implement a method from a supertype
@Override
^
D:\ReactNative\DrowineDetection\node_modules\vision-camera-base64\android\src\main\java\com\visioncamerabase64\VisionCameraBase64Plugin.java:33: error: constructor FrameProcessorPlugin in class FrameProcessorPlugin cannot be applied to given types;
super("frameToBase64");
^
required: no arguments
found: String
reason: actual and formal argument lists differ in length
D:\ReactNative\DrowineDetection\node_modules\vision-camera-base64\android\src\main\java\com\visioncamerabase64\VisionCameraBase64PluginPackage.java:20: error: cannot find symbol
FrameProcessorPlugin.register(new VisionCameraBase64Plugin());
^
symbol:   method register(VisionCameraBase64Plugin)
location: class FrameProcessorPlugin
4 errors
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':vision-camera-base64:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:

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

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

BUILD FAILED in 14s
error Failed to install the app.
info Run CLI with --verbose flag for more details.`

Same issue with v3.0.0-rc.7

Any solution?

The Library is no longer compaitable with Newer version vision camera.

Do you know of another library that uses the same function and is compatible?

no but i'm working on building one for my self which send live feed to socket connection.

And how will you extract the text?

You can try use this repo https://www.npmjs.com/package/vision-camera-base64-v3


Create Twitter account

I follow CSS projects on Twitter. I think creating your own Pollen Twitter account, for at the very least releases, would help expose this great project.

Hey thanks for the idea! I don’t know if I have enough to tweet about outside of releases, which hopefully won’t happen to often now it’s fairly stable and defined. I’ll think about it though! Could always be a good way to showcase projects etc using it if we gain some more momentum

Agreed on the projects. And you’d be surprised at how much content you already have. Even taking a snippet of your docs (example by example) could be content for each tweet.
I’ve found Twitter brings some legitimacy to projects. And it gives people a chance to discover new tools.

Gonna close this for now because I don't think I'll have time to maintain a twitter acc for Pollen unfortunately 😩 If I get some more time to start a dev focussed twitter presence I'll revisit.


[update] ux improvement for personnal details step

Hi @AurelienLavorel, could you please attach the screen how does it look like after change?

Of course.
Before:

After:

I exchange login and next step position to respect the global design, validation button is always in right position.
When you press "enter" on e-mail field, next step is loaded.

Cool! Such UX improvements are much appreciated! Thanks for that @AurelienLavorel good job.

@AurelienLavorel could you please move the submit buttons related to the other checkout steps to the right as well to make it more coherent? https://www.dropbox.com/s/e2pgvkytc5cgedk/Screenshot 2018-03-18 12.55.26.png?dl=0


Static build option

Implement, using a flag or another NPM script, a way to have Webpack only build out the static client side files and skip building the server. This will be useful for apps that don't require the use of any node API/Express.

If a static export option is needed, a framework like Next.js should probably be considered.


Global improvement for wasm_thread

First commit adds

A way to prefix all created workers, usefull when you want to isolate some of them easily
A way to force all created workers to target one script. Allows to spawn worker in workers where the script_path.js doesn't work

Second commit adds

Scoped thread API, pretty much everything is pulled from std::thread, so it shouldn't be that bad, it's actually a borrow checker thing, not a real implementation

Third commit adds

Unsafe narrowing where needed

Thanks for the PR!
2nd and 3rd commits look good.
However, I'm not sure about the global vars for setting URL and name prefix. Why not just use Builder to provide any custom options? It is less convenient to pass it each time, but having a global state in a library is a bad idea. For example if one of your dependencies also uses wasm-thread, then using set_wasm_bindgen_shim_script_path will break it.

My use case for the 1st commit is that I'm plug-in wasm into a lib, and changing each thread builder was a pain, but I'm ok removing it

But anyway, the js script doesn't work for workers in workers :/

I think you're right that mutable variable in a lib is bad

I haven't used wasm/webworkers in a while so I'm trying to remember all the quirks. Now that I think about it, there isn't a usecase where you would use different wasm bindgen scripts (correct me) in the same binary without doing some really weird things. So it might make sense to setup configuration only once on startup and then have all the dependencies use the same configuration.
I'll need some time to think about it.

And to be honest, most worker.js are identical

Okay, so instead of having separate set_wasm_bindgen_shim_script_path and set_worker_prefix functions, I think it would be much cleaner to be able to set default Builder options. We could manually implement Default for Builder where it takes options from a global static. Then also add a method fn Builder::set_as_default(&self), which sets the global static.
So at the start main, you could do:
wasm_thread::Builder::default()
  .wasm_bindgen_shim_url("somewhere/script.js")
  .prefix("wasm_thread_")
  .set_as_default();

Prefixing should work as such. Builder has two options: prefix: String (default "") and name: Option<String> (default None). The final worker name is just a join of prefix and name, however if name is None, then it is generated.
Btw, there is no need to introduce new dependencies for global variables, you could just do: static DEFAULT_BUILDER: Mutex<Option<Builder>> = Mutex::new(None);
Let me know what you think. If you agree, then update your first commit with these changes. Or revert it so I can merge the other two and I will implement the rest.

I'll make a draft replacing my first commit & let me know if that ok for you :)

@chemicstry I think it's close to what you want :)

I repushed commit n°1 because it included a trash include

Thanks!
A tip for future: create separate PRs so that you don't have to rebase commits on each change, everything can be squashed during merge. It's also easier to review.

Could you ping me when you'll release it on crates.io ? :) Upgrading my Cargo.toml would be nice :)

Yes, I want to do some refactoring and cleanup before releasing though. Will ping you once done.

Very good

@erwanvivien It turned out to be quite a large refactor, so could you check if #14 did not break anything for you?
Also, I noticed that neither this nor any older version of the library works on newest google chrome. The std::thread::sleep() just hangs infinitely. It works on firefox and older chrome versions though. Wondering if this could be a bug in chrome...

@chemicstry I'll look into it! I didn't get notified for the message, I was looking for an update, so sorry for the delayed response

Looking into PR now, then testing


Http2EventAdapter's onUnknownFrame() is missing throws Http2Exception

Http2EventAdapter implements the Http2FrameListener interface but implements the #onUnknownFrame(...) method without the interface's throws Http2Exception.
... causing compiler errors down the road if you're trying to implement a delegate or something like that.

Let me fix it

Fixes by https://github.com/netty/netty/pull/5876


Not creating json files for all tested packages

This is something that happens more often when I run in parallel, on 0.4.0-rc1 and newer. Here's an example output that I killed partway through for nightlyMZ: https://gist.github.com/f9a6595912faa0567616
which resulted in the following files getting output:
tkelman@davinci:~/PackageEvaluator.jl/scripts$ ls nightlyMZ
MachineLearning.json  PKGEVAL_MachineLearning_add.log   PKGEVAL_Mamba_test.log
MachineLearning.sh    PKGEVAL_MachineLearning_test.log  PKGEVAL_ManifoldLearning_add.log
MacroTools.sh         PKGEVAL_MachO_add.log             PKGEVAL_ManifoldLearning_test.log
Mamba.json            PKGEVAL_MacroTools_add.log        PKGEVAL_MapLight_add.log
Mamba.sh              PKGEVAL_MacroTools_test.log
ManifoldLearning.sh   PKGEVAL_Mamba_add.log

MachineLearning and Mamba and a few later packages (if I let it go for longer) output json files successfully, but MacroTools and most other packages don't. I realize you've got a lot going on right now but I could use help looking into this from anyone who might have any ideas what's happening here.

Probably different cause, but I'm still getting something like this happening intermittently once in a while. Seems to happen starting at a different package each time though. Really strange.


Fix transpile() for control flow operations with a Target/BackendV2

Summary
This commit fixes an issue when compiling with circuits that have control flow operations and are running transpile() with a BackendV2 instance or a custom Target. In these cases the transpile() operation would fail to run because the Target didn't have a provision to recognize a global variable width operation as part of the target. Previously all operations in the target needed to have an instance of an Operation so that the parameters and number of qubits could be verified. Each of these operation instances would be assigned a unique name. But, for control flow operations they're defined over a variable number of qubits and all have the same name (this is a similar problem for gates like mcx too). Not being able to fully represent the control flow operations in a target was preventing running transpile() on a circuit with control flow. This commit fixes this by adding support to the target to represent globally defined operations by passing the class into Target.add_instruction instead of an instance of that class. When the class is received the Target class will treat that operation name and class as always being valid for the target for all qubits and parameters. This can then be used to represent control flow operations in the target and run transpile() with control flow operations.
Details and comments
Fixes #8824
TODO:

[ ] Fix transpile() test (may be a bug in test code or a bug in a transpiler pass with control flow), depends on #8880 and #8879
[x] Add tests for coupling map generation in target
[x] Add release note

I believe the test failures here are being caused by a bug in transpile() with control flow. I'm seeing a control flow block that has a cx between two qubits that don't have connectivity in the target. Unless, I'm getting the mapping messed up in my head while debugging, I'll keep digging into this and see if I can figure out what's going on, but I'm not sure we have any full path tests with control flow that check the output circuit is valid for the backend (which this PR does) so there could have been a bug that slipped through.

The bug looks like it must be in StochasticSwap somewhere - I threw a callback into the test that runs CheckMap on the dag after every stage, and is_swap_mapped never gets set to True.

It technically breaks the public API for consumers of the Target class (since the output type signature of Target.instructions and a couple of others change), but I think that might be a necessary evil.

I think for Target.instructions the only real difference is that it will return a class instead of an instance for the new support for classes (the None return was still possible before for global defined ideal instances) I'm not sure that's really breaking unless someone is opting into the new feature usage. The coupling map change is more breaking imo, but the old behavior was incorrect though.


First Contribution by Bukola Ajayi

NAME: Bukola Ajayi
PROJECT: GNU Radio
GNU Radio is a flexible software toolset for implementing software radio with inexpensive hardware or simulation. It supports study on wireless communications and actual radio systems in academic, industrial, governmental, and recreational settings.
LINK TO THE PROJECT GOVERNANCE MODEL: https://github.com/gnuradio/gr-governance/
THE GOVERNANCE MODEL
The governance model of the GNU Radio organization is defined by its articles of association (AOA), which set out the rules and procedures for the organization's operation. Online voting is a crucial component of decision-making within the organization, with specific types of decisions being allowed for online voting under the AOA, such as new members, rules, and financial transactions. The GNU Radio Organization also permits online voting for decisions not explicitly covered by the AOA. Different types of online voting are available, each with unique procedures and methods for calculating results. Members of the organization are granted varying voting rights based on their level of involvement, such as associate or corporate members. The GNU Radio Organization is dedicated to maintaining these principles and regularly updating its governance procedures to meet the changing needs of its members
PROJECT ROLES

Users
Developers
Board Members
Researchers
Project Members

THE DECISION-MAKING PROCESS
The project positions in the government model have varying degrees of authority and responsibility which can be described as follows:

General Assembly

The General Assembly is composed of the active members of the Association, each of whom has one vote. General Assembly makes decisions for the Association, elects the board, and reviews the annual report. It also has the exclusive right to decide on financial transactions and matters submitted by the board or members. Only certain items, such as board elections and changes to the Articles of Association, can be decided in a real-time assembly. A two-thirds majority is required for removing a member from the board.

The Board

The Board is comprised of 3 active members who serve a 2-year term and can be re-elected. A president and two proxies are elected from the Board. The Board's duties are outlined in their by-laws, and they make decisions for the Association, implementing decisions from the General Assembly. Each Board member can represent the Association, and a provisional board member is appointed via internet vote if a member resigns. The General Assembly decides on the definite succession and must be informed of any regulatory, court or financial amendments to the Articles of Association.
The GNU Radio Organization is committed to upholding these values and continuously refining its governance procedures to meet the evolving needs of its members.
EASE OF FINDING THE GOVERNANCE MODEL
Based on my research experience, I was able to find and understand their governance model without much difficulty. However, I had to conduct additional research to locate their official Github repository as it was not available on their webpage. The repository provided all the necessary information in a clear and descriptive manner.

@arliss-NF

@BukolaM - great work.  Excellent first contribution.  Good level of content.  It's a good thing that the model is easy to find because it should be on every open-source project.

@arliss-NF , I truly appreciate your valuable feedback. Your opinion means a great deal to me. Thank you for taking the time to share your thoughts with me


Control styles of the underlying svg icons from the component itself

How do I change styles of the underlying SVG elements? I need to make the icons look bigger and of different colors. There should be an option to do so from the main component itself.
import ToggleStarBorder from 'material-ui/svg-icons/toggle/star-border';
import ToggleStar from 'material-ui/svg-icons/toggle/star';
import Rating from 'react-rating';

          <Rating
            {...restProps}
            initialRating={rating}
            value={value === '' ? initialRating : value}
            onChange={this.handleChange}
            emptySymbol={<ToggleStarBorder />}
            fullSymbol={<ToggleStar />}
          />

Hi @saranshbansal!

How do I change styles of the underlying SVG elements?

Using the styles of the underlying elements. For example, using the style or the className attributes:
emptySymbol={<ToggleStarBorder className={YourClassName} />}

emptySymbol=<ToggleStarBorder style={{width: '64px', height: '64px', color: 'red'}} />

Check the material-ui documentation if there is recommended way to do it. It's been a long time since I used this library.

There should be an option to do so from the main component itself.

I don't think so... The main component is a container of symbols, regardless of what kind of symbol it  contains (icon, svg-icon, material-ui element, react element, etc.).

Ah yes, you're right. You can close it.


Unable to use sharded client in 3.X

Summary
Sharded clients seem to behave oddly when using the 3.X branch, the root cause of the behavior is still unknown and further testing is required.

Im unable to reproduce locally so if anyone has any debug information that they can supply please do

Additional notes:

Adjusting ConnectionTimeout seems to have zero affect
Occurs both if you specify specific shard numbers and if you don't specify the exact shard numbers
Does not throw exception errors

Appears to be an issue with SetStatusAsync() and SetGameAsync()

Disconnected
Failed to start the connection: System.Exception: WebSocket connection was closed
 ---> Discord.Net.WebSocketClosedException: The server sent close 4001: "Unknown opcode."
   at Discord.Net.WebSockets.DefaultWebSocketClient.RunAsync(CancellationToken cancelToken) in C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.WebSocket\Net\DefaultWebSocketClient.cs:line 216
   --- End of inner exception stack trace ---
   at Discord.ConnectionManager.<>c__DisplayClass29_0.<<StartAsync>b__0>d.MoveNext() in C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.WebSocket\ConnectionManager.cs:line 76
Failed to start the connection: System.Exception: WebSocket connection was closed
 ---> Discord.Net.WebSocketClosedException: The server sent close 4001: "Unknown opcode."
   at Discord.Net.WebSockets.DefaultWebSocketClient.RunAsync(CancellationToken cancelToken) in C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.WebSocket\Net\DefaultWebSocketClient.cs:line 216
   --- End of inner exception stack trace ---
   at Discord.ConnectionManager.<>c__DisplayClass29_0.<<StartAsync>b__0>d.MoveNext() in C:\Users\lynch\Documents\GitHub\Discord.Net Labs\Discord.Net-Labs\src\Discord.Net.WebSocket\ConnectionManager.cs:line 76
Connecting
Connecting ApiClient

Please pull and let me know if the issue persists

When using SetActivityAsync, the client will connect, hang for 2 seconds, and reconnect with no issue. It seems like the presence is getting sent multiple times

@quinchs
I downloaded Discord.Net.Labs 3.2.0 from NuGet and the problem still occurs. When i call SetStatusAsync before Ready event so everything is done correctly. When i call same method after Ready so it will cause reconnect with InvalidSession. Of course, calling the method in Ready event will cause infinite loop.
Call before Ready event:
await DiscordSocketClient.LoginAsync(TokenType.Bot, token);
await DiscordSocketClient.StartAsync();
await DiscordSocketClient.SetStatusAsync(UserStatus.Idle);

Log from call SetStatusAsync inside Ready event:

I highlighted the places where the Ready event ends.
If necessary, ask, but I have no idea if I can provide any more information. Of course, I can rewrite the application so that it does not use the Status property, but I think this is a library bug and the problem should be resolved on the library side.


Values to use for HTTP_PROXY and HTTPS_PROXY

I'm running a Meteor app in a container behind this proxy, and am running into some trouble. Meteor needs the variables HTTP_PROXY and HTTPS_PROXY set for it to handle connections properly.
Here's the reference doc: https://github.com/meteor/meteor/wiki/Using-Meteor-behind-a-proxy.
Here's the error I get from Meteor:
root@72ba091b11a4:/app# meteor update
Unable to update package catalog (are you offline?)

If you are using Meteor behind a proxy, set HTTP_PROXY and HTTPS_PROXY environment variables or see this page for more details:  https://github.com/meteor/meteor/wiki/Using-Meteor-behind-a-proxy

This project is already at Meteor 1.2.1, the latest release.
=> Errors while upgrading packages:

While selecting package versions:
error: unknown package in top-level dependencies: athyuttamre:accounts-saml2

What values should I be using for these environment variables?

@jwilder would appreciate any help! :D

I have no experience with meteor but reading the wiki article it seems to be about the meteor command line tools and not the server. So is this because the container does not have internet access or maybe the network the host is connected to is behind a proxy?

Thanks @wader!
The container has network access, I'm able to curl http://google.com for example. However, it can't access some sites, such as https://packages.meteor.com, and the known reason is that this happens when Meteor runs behind a proxy. Their solution is to set the HTTP_PROXY and HTTPS_PROXY environment variables.
The host (my laptop) also has internet access, and isn't behind a proxy.
From what I read, these environment variables are not Meteor-specific, but are recognized by other command line tools too. I'm just not sure how to set them when running jwilder/nginx-proxy.

But you're right, the server I'm trying to access has no issues. It's Meteor that needs these variables to make those specific connections.

You can set environment variables for the container when starting it using docker run -e HTTP_PROXY=.... But HTTP_PROXY is usually for specify which HTTP client proxy to use, and pointing it to a nginx-proxy seems weird. Maybe i'm misunderstanding something how meteor works.

Hmm, it makes sense that HTTP_PROXY is for when the client is behind a proxy, such as a corporate firewall. Meteor works fine on my host machine though (Mac OS X).
Is it possible the nginx-proxy is interfering with client connections Meteor is making?

It shouldn't interfere. The only thing I can think of is if meteor uses the same environment variables (VIRTUAL_HOST etc) but that is not the case right?
Is is possible to run meteor update in debug or verbose mode?

Pretty sure it doesn’t use those variables. Unfortunately can’t run in debug or verbose mode. :/
On Mon, Jan 25, 2016 at 1:04 AM, Mattias Wadman<EMAIL_ADDRESS>wrote:

It shouldn't interfere. The only thing I can think of is if meteor uses the same environment variables (VIRTUAL_HOST etc) but that is not the case right?
Is is possible to run meteor update in debug or verbose mode?
Reply to this email directly or view it on GitHub:
https://github.com/jwilder/nginx-proxy/issues/347#issuecomment-174333415

Okay, this is extremely strange.
To give you more context, I've been running Meteor as part of a fork of meteorhacks/meteord, a container for running Meteor apps. I'm able to open a bash session in the container and run meteor update, but it doesn't work when I'm running it as part of a script.
Either way, I'm convinced it has nothing to do with nginx-proxy now. Thanks so much @wader!

No problem. Yeah that is strange but glad you could work around it :+1:


How to define custom blocks

Hello everyone! I need to process a custom block, replacing a src with a revved version of the same file. The problem is that the file should be added only on build, and is not present in my main index.html file.
To clarify:

this is my index.html ( simplified ):

<!DOCTYPE html>

    [...]

this is what I want to acheive:

<!DOCTYPE html>

    [...]

I'm using the full usemin stack ( concat, uglify/cssmin, filerev ) but I couldn't find a way to get to this result.
I tried to follow the documentation about custom block types, but nothing worked.
This was my configuration:
html    : '<%= paths.app %>/index.html',
options : {
  dest : '<%= paths.dist %>',
  blockReplacements: {
    template: function (block) {
      return 'somethig asd';
    }
  },
},

Can you please give me some hints on how to do this?

+1

+1

Hey everyone, I finally got something like this working with usemin. This thread pointed me to some helpful information, so thank you. It was also among the first Google hits I found, so...
Here's what I did (with Angular):

Gruntfile config (under usemin.options):
blockReplacements: {

  include: function(block) {

    var contents = '';

    for (var i = 0; i < block.src.length; i++) {

      contents += grunt.file.read( grunt.config.get('yeoman.app') + '/' + block.src[i] );
    }

    return contents;
  }
}

I had some trouble passing a search path in. It was coming through as an empty array unless an output path of some sort is specified with the usemin block. Also, usemin will look for either a src or href attribute to figure out the file path. Hopefully this helps somebody.

@Kattixie That helped a lot. Thank you!


[Feature] Formalize the process for spending a deployment fee

🚀 Feature

Deployment fees are unable to be spent due to 2 issues address in #1316:

No easy way to fetch transaction_id from transition_id in DeploymentStore.
Deployment variants of the TransactionLeaf are not supported in the current Inclusion circuit.

The proposed solutions are as follows:

Add an additional map in DeploymentStore that will provide easy access.
Update the Inclusion circuit to support both transaction variants.

Other alternatives:

Add dedicated deployment function in credits.aleo program
Add concept of program "owners" and balances that exist within the program itself.

Additionally, the fee function currently spends the whole record, so you have to manually "split" a record before creating a fee. This should be updated.

Fixed with #1316


Add ability for any Robot using NavigationControllerType to be able to test the navigationTitle

I've introduced a new ContextElement mechanism which lets you define elements from a given Context i.e. you can now do .assert(.navigationTitle, .isEqual(to: "blah"))


Fix/threadsynchronizationjava route and responsive dashboard  #75

Fixes: #75,
Fixes: #77
Implemented responsive design for the dashboard ensuring optimal display across devices and truncated long titles exceeding 25 words and removed an unnecessary route and card from the dashboard page.

Give Star, Share, and connect me through linkedin


add venv and update polars: fix tests

Update polars to 0.11.0 and fix test.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 10 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.07%) to 90.695%

Files with Coverage Reduction
New Missed Lines
%

pygef/been_jefferies/util.py
1
92.68%

pygef/robertson/util.py
1
91.46%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
1345

Relevant Lines:
1483

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.07%) to 90.695%

Files with Coverage Reduction
New Missed Lines
%

pygef/been_jefferies/util.py
1
92.68%

pygef/robertson/util.py
1
91.46%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
1345

Relevant Lines:
1483

💛  - Coveralls


Can't scroll on Android until keyboard is dismissed and re-opened

AndroidManifest.xml
<application
  ...
  <activity
    ...
    android:windowSoftInputMode="adjustPan">
    ...

Then:
<KeyboardAwareScrollView
  style={{ flex: 1 }}
  keyboardShouldPersistTaps="handled"
  enableOnAndroid
>

Works perfectly on iOS. However, on Android, let's say I start off with a screen in which the keyboard is already showing and I move on to another screen without first dismissing the keyboard. When the next screen is moved into place, the keyboard stays open and the appropriate TextInput receives focus (both due to autoFocus) but I'm unable to scroll. The TextInput is about 96% visible (by chance due to its location). If I try to scroll, the keyboard gets dismissed (because I couldn't scroll, it interprets the touch as a tap, I guess). Now, if I tap on a TextInput to bring up the keyboard again, scroll works fine.
On iOS, when the new screen moves into place, the view is automatically scrolled into place with animation and the scroll works as expected.
Is anyone else experiencing this? Is there a solution?

I have the same problem.

Can't reproduce the issue, can you provide some code and a visual example?

Switch APP to the background and restore it again. All input boxes will have this problem.

It happens if the new screen being navigated to has a TextInput control with the autoFocus prop set. Dismissing the keyboard with Keyboard.dismiss() before navigating to the new screen seems to help, though it hasn't fixed it completely.

Which version are you using guys? The actual behaviour is: you tap a button with keyboardShouldPersistTaps set to `handled, the keyboard is dismissed and opens the new screen/modal opening the keyboard again and working fine.

in android.manifest.
just do,
android:windowSoftInputMode="adjustPan"
and then it will allow work .extraHeight prop and you good to go

I'm having the kinda the same issue on android.

This is happening on android because you have a scrollview inside keyboard aware scroll view. A workaround can be to have your scroll items wrapped in Touchable like this:
const onPressIn = () => {
    if (Platform.OS === 'android') Keyboard.dismiss();
  }

  const renderItem = item => (
    <TouchableOpacity style={styles.item} onPress={onItemPressed(item)} onPressIn={onPressIn}>
      <Text>{item}</Text>
    </TouchableOpacity>
  );

and you close the keyboard as soon as user tries to access any item inside the nested scroll container.


Log messages should be in plain text, not in JSON

The logs are for people, so we should log in text, rather than JSON. E.g. in the form:
LOG_LEVEL: Log message goes here ({ "log data here": 123})

And also hide DEBUG messages by default!

It displays DEBUG messages if process.env.NODE_ENV !== 'production' OR process.env.APIFY_LOG_LEVEL === 'DEBUG'

Fixed in https://github.com/apifytech/apify-js/pull/67


Default slot content is not rendered when content of component is empty

Custom component:
<template>

  <slot name="first">

First slot default

  </slot>

  <slot name="second">

Second slot default

  </slot>

</template>

Examples:
<template>
  <require from="./custom"></require>

Example 1: (rendered)

  <custom>

First slot

  </custom>

Example 2: (bug here)

  <custom></custom>

Example 3: (rendered)

  <custom>

  </custom>

</template>

Here is Gist example
https://gist.run/?id=41b17ba5793844b1327aba09f3141352

+1

@valichek We've fixed the exception from the related issue. Is this particular issue still happening?

@EisenbergEffect The issue is still there, NOT fixed in<EMAIL_ADDRESS>

Release is coming in just a minute.


Do keras have plan to support deep complex netowrk?

Do keras have plan to support deep complex netowrk?
such as "Deep Complex Networks" in https://arxiv.org/abs/1705.09792

It's not really up to keras to support it or not. This kind of feature depends on the backend. So the real question is more: "Do theano/ tensorflow/ CNTK/ MXNet have plans to support deep complex networks?". You could ask on the github page of those projects to know, I suppose.


implemented readStream() interface

Hello,
I've implemented the readStream() interface. Sorry for not following the standard PR template -- will update the PR once this is ready. Meanwhile, please take a look at my code and see if it appears OK to you.
BTW -- can you shine some light on the tests? From what I read from the code a good chunk of them are just testing if the function calls returns false...?

@isaackwan Thanks for your contribution. I'm writing tests whenever I  get a chance to write logic in the actual function. This adapter is getting evolved month over month. Eventually, we will have a complete package.
For now, I'm going to approve this PR. Would recommend you to write tests if possible for further enhancement.
Thanks

Also, will recommend starting using travis-ci & scrutinizer for your forked repo's so you will come to if anything is broken before you raise a PR.

I've just given it a few thoughts, and I personally think that it would
actually be better to declare a hard dependency on guzzlehttp/psr7
instead of requiring on the PSR-7 interface... Do you think that it would
be better for me to start a new PR, make a new commit or start a new
squashed commit?
On Aug 5, 2017 3:10 PM, "Ramesh Mhetre"<EMAIL_ADDRESS>wrote:

Also, will recommend starting using travis-ci & scrutinizer for your
forked repo's so you will come to if anything is broken before you raise a
PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gliterd/flysystem-backblaze/pull/7#issuecomment-320423227,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA9Y9eM9CsZinS4fAZ0Q4k_towAZNKW_ks5sVBVdgaJpZM4OuYin
.

I like the idea of using PSR-7. Will read about it more. Thanks for the suggestion!


The SNI extension value is ASCII encoded but Netty uses UTF-8

Motivation
RFC 6066 (https://tools.ietf.org/html/rfc6066#page-6) says that the hostname in the SNI extension is ASCII encoded but Netty decodes it using UTF-8.
Modifications
Use ASCII instead of UTF-8
Result
Fixes #6717

@normanmaurer Interesting, there is an unit test that's in violation of the RFC.
https://github.com/netty/netty/blob/4.1/handler/src/test/java/io/netty/handler/ssl/SniHandlerTest.java#L163

It appears DomainNameMapping is doing some unnecessary ASCII to ASCII encoding.

@rkapsi please do as suggest and rebase. Then let us know

@Scottmitch @normanmaurer - done. Applied finhsgAndReleaseAll() also to testServerNameParsing() (was a custom for-loop).

4.1 (2db4f2557)
Thanks @rkapsi !


Allow upload volume with custom size

User should able to specify custom size while uploading a volume.
ISSUE TYPE

Enhancement Request

COMPONENT NAME

Volume

SUMMARY

Allow user to specify custom size while uploading, and resize the volume that is uploaded with the custom size (when the size specified is more than the uploaded volume size).

@sureshanaparti good feature, but do we scan for the current size first and set that as minimum? and how to hande the error situation?
anyway this is for 4.17, right?

@sureshanaparti good feature, but do we scan for the current size first and set that as minimum? and how to hande the error situation?
anyway this is for 4.17, right?

@DaanHoogland correct, the volume's current size would be the minimum size.

@sureshanaparti is there any work-in-progress PR for this issue?

@sureshanaparti is there any work-in-progress PR for this issue?

no wip PR @nvazquez

closing as stale @sureshanaparti , please reopen or create a new when it becomes relevant again


Does PerfKitBenchmarker-1.14.0 support local workstation testing for Hadoop terasort case?

Hi
I want to use PerfKitBenchmarker tool to test Hadoop terasort case for aarch64(ARM64 server) and x86_64(sm6148) performance comparison. After studied the README.md document of PerfKitBenchmarker latest version(1.14.0) and PerfKitBenchmarker source codes, found out the default case hadoop_terasort_benchmark.py example is used to test GCP cloud(configuration is for GCP).
Does PerfKitBenchmarker support local workstation testing for Hadoop terasort case(Pseudo-Distributed Operation mode, not cluster mode)? If it can, can you provide PerfKitBenchmarker configuration guidance documents for testing the local workstation(better for Hadoop teraport case)?
Thanks very much.
Xianlai Shen

PerfKitBenchmarker supports neither pseudo distributed Hadoop nor local workstation testing.
Pseudo distributed Hadoop is a reasonable feature request that would be good to support.
As for local testing, as you note PKB is designed to benchmark public cloud VMs not local servers. You can try to hack it by providing a "static virtual machine" with <IP_ADDRESS> as the IP and SSH into your local workstation, but you might hit weird edge cases.
It would be simple to simply follow the steps for pseudo distributed Hadoop yourself and then measure the runtime of terasort.
If you would like to repurpose this FR to track single node Hadoop (on public clouds), I would be happy to edit it as such, but otherwise I will close it.

Hi pmkc,
I understand, please close the issue.
Thank you very much!
Best Wishes！
Xianlai Shen


Question about variance calculation in sampling step

In Diffusion.py line 66, posterior_var is calculated. Why do you use torch.cat([self.posterior_var[1:2], self.betas[1:]]) in line 77 to extract variance instead of posterior_var.
    def p_mean_variance(self, x_t, t):
        # below: only log_variance is used in the KL computations
        var = torch.cat([self.posterior_var[1:2], self.betas[1:]])    # i think var should be equal to self.posterior_var
        var = extract(var, t, x_t.shape)

        eps = self.model(x_t, t)
        xt_prev_mean = self.predict_xt_prev_mean_from_eps(x_t, t, eps=eps)

        return xt_prev_mean, var

俺也有这个疑问，方差不是应该是self.posterior_var吗

Have you solved the problem? Can you fill me in?

@zoubohao Could you answer this issue? Thank you!

In the paper DDPM, it seems that var is equal to posterior_var or betas. And I don't know why they were concatenated here?