Application type mismatch complains about convertible types

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
structure CatIsh where
  Obj : Type o
  Hom : Obj → Obj → Type m
infixr:75 " ~> " => (CatIsh.Hom _)
structure FunctorIsh (C D : CatIsh) where
  onObj : C.Obj → D.Obj
  onHom : ∀ {s d : C.Obj}, (s ~> d) → (onObj s ~> onObj d)
def Catish : CatIsh :=
  {
    Obj := CatIsh
    Hom := FunctorIsh
  }
universes m o
unif_hint (mvar : CatIsh) where
  Catish.{m,o} =?= mvar |- mvar.Obj =?= CatIsh.{m,o}
structure CtxSyntaxLayerParamsObj where
  Ct : CatIsh
def CtxSyntaxLayerParams : CatIsh :=
  {
    Obj := CtxSyntaxLayerParamsObj
    Hom := sorry
  }
def CtxSyntaxLayerTy := CtxSyntaxLayerParams ~> Catish
/-
23:5: application type mismatch
  CatIsh.Hom Catish CtxSyntaxLayerParams Catish
argument has type
  CatIsh
but function has type
  Catish.Obj → Type (max (max u_1 u_2) (u_3 + 1) (u_4 + 1))
-/

However, Catish.Obj and CatIsh are convertible.  Moreover, if I replace Ct : CatIsh in structure CtxSyntaxLayerParamsObj with Ct : Type _, then the definition passes.

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
$ cmd.exe /C ver
'\\wsl$\Ubuntu\home\jgross\Documents\GitHub\syntax'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.

Microsoft Windows [Version 10.0.19041.804]

After the bug fix https://github.com/leanprover/lean4/commit/847f95021aea1794f3569723bda46c13c3eb0ff1
The error message is
error: stuck at solving universe constraints
  max (?u.959+1) (?u.958+1) =?= max (?u.965+1) (?u.964+1)

The situation is similar to issue #342. I don't see a solution unless we approximate and solve the constraint using
 ?u.959+1 =?= ?u.965+1
 ?u.958+1 =?= ?u.964+1

I think the error should say where this constraint came from, something like
23:5: application type mismatch
  CatIsh.Hom Catish CtxSyntaxLayerParams Catish
first argument
  Catish
has type
  CatIsh.{whatever universes}
but is expected to have type
  Catish.Obj{whatever universes}
stuck at solving universe constraints
  max (?u.959+1) (?u.958+1) =?= max (?u.965+1) (?u.964+1)

or something like that.  Once the error message is sufficiently informative, I'm happy for this to be closed and leave #342 to be about what to do with universes


npm start fails due to "options.forEach is not a function"

Following the quickstart instructions I got the following error after running npm start:
[webpack-cli] Unable to load '@webpack-cli/serve' command
[webpack-cli] TypeError: options.forEach is not a function
    at WebpackCLI.makeCommand (/Users/sudars/code/dfinity-start/hello/node_modules/webpack-cli/lib/webpack-cli.js:108:21)
<snip>

A similar issue is noted on the webpack-cli repo. I managed to fix it by removing node_modules/, deleting package-lock.json, and changing the webpack-cli version in package.json to 4.9.0:
  "webpack-cli": "4.9.0",

Reinstalling and rerunning npm start and then we're up and running. I'm not submitting a PR because I'm not sure of the other implications of revving that version.

Here is the issue in the source project:
https://github.com/webpack/webpack-cli/issues/2990
I can confirm bumping it to 4.9.0 appears to work

Sorry, hadn't checked this issue in a while. I'll get this fixed for the next dfx release


Simplify first time setup for new developers

At the moment the required services to run a local instance of the API and workers are more than necessary for implementing simple features in the future, so the floor for new developers to join the project could drastically decrease.
Examples:

Authenticated Redirect
Redis

Is redis a big hurdle since it is included in docker-compose up which provides the db?

Redis isn't a big hurdle but it's not necessary.
Probably don't need to optionize it yet, but I think it's a good idea to go down to the barebones, with a clear path to full functionality.


⚠ Bofrost.de has degraded performance

In a72fcc3, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1720 ms

Resolved: Bofrost.de performance has improved in bd2b897.


No such file or directory: '/mnt/multimodal/data/text/data-bin/tnlg/dict.txt

I got the following error trace when I run the evaluation with this python eval_scripts/eval_longmem_icl.py --path ../LongMem_public_checkpoints/longmem_gpt2_medium/checkpoint_last.pt --pretrained-model-path ../LongMem_public_checkpoints/gpt2_medium/checkpoint_last.pt
Traceback (most recent call last):   File "eval_scripts/eval_longmem_icl.py", line 171, in <module>     main(args)   File "eval_scripts/eval_longmem_icl.py", line 102, in main     model, _ = load_model_ensemble([args.path], arg_overrides=override_args, task=None)   File "/home/ubuntu/longmem/LongMem/fairseq/fairseq/checkpoint_utils.py", line 368, in load_model_ensemble     ensemble, args, _task = load_model_ensemble_and_task(   File "/home/ubuntu/longmem/LongMem/fairseq/fairseq/checkpoint_utils.py", line 443, in load_model_ensemble_and_task     task = tasks.setup_task(cfg.task)   File "/home/ubuntu/longmem/LongMem/fairseq/fairseq/tasks/__init__.py", line 49, in setup_task     return task.setup_task(cfg, **kwargs)   File "/home/ubuntu/longmem/LongMem/fairseq/fairseq/tasks/language_modeling.py", line 183, in setup_task     dictionary, output_dictionary = cls.setup_dictionary(args, **kwargs)   File "/home/ubuntu/longmem/LongMem/fairseq/fairseq/tasks/language_modeling.py", line 167, in setup_dictionary     dictionary = Dictionary.load(os.path.join(paths[0], "dict.txt"))   File "/home/ubuntu/longmem/LongMem/fairseq/fairseq/data/dictionary.py", line 226, in load     d.add_from_file(f)   File "/home/ubuntu/longmem/LongMem/fairseq/fairseq/data/dictionary.py", line 239, in add_from_file     raise fnfe   File "/home/ubuntu/longmem/LongMem/fairseq/fairseq/data/dictionary.py", line 236, in add_from_file     with open(PathManager.get_local_path(f), "r", encoding="utf-8") as fd: FileNotFoundError: [Errno 2] No such file or directory: '/mnt/multimodal/data/text/data-bin/tnlg/dict.txt'
Thank you for adding more scripts.

This bug is fixed. Sincerely apologize for the bug I made.

Thank you so much. I see it's fixed.


Socket Timeout

Socket timeouts are not set, therefore the connect could get stuck in case of bad ip or drop of network connection.
Suggestion:
After creating the socket
struct timeval timeout{TIMEOUT_S,TIMEOUT_US};
setsockopt (sock, SOL_SOCKET, SO_SNDTIMEO, (char *)&timeout,sizeof(timeout));

#40 maybe solved this problem


superclass mismatch in overloading of a generic open class

I'm trying to overload an open class with generics. I'm receiving a superclass mismatch error, but i believe this code should be possible.
abstract class View(T)
  getter outbox : Hash(Symbol, T)

  def initialize(@outbox : Hash(Symbol, T))
  end

  abstract def render
end

module Test
  class TestView(T) < View(T)
    def render
      pp outbox[:test]?.try &.as?(String).try &.upcase
    end
  end
end

module Test
  class TestView(T) < View(T)
    def render
      pp @outbox.class
    end
  end
end

test_view = Test::TestView.new({
  :test1 => 1
})

test_view.render

Error in ./src/test.cr:148: superclass mismatch for class Test::TestView(T) (View(T) for View(T))

  class TestView(T) < View(T)
        ^

Mac OS X Sierra
Crystal 0.19.4 (2016-10-07)

Thanks to cjgajard for letting me know of the existence of this related issue: https://github.com/crystal-lang/crystal/issues/3298.

Thanks to cjgajard for letting me know of the existence of this related issue: https://github.com/crystal-lang/crystal/issues/3298.

@raydf I think it's a valid issue, why did you close it?

I'm sorry for making confusion, this is a bug by itself, but when you said: one should be able to overload/override by type, in gitter/irc, that was related to 3298

Reduced:
class Foo(T)
end

class Bar(T) < Foo(T)
end

class Bar(T) < Foo(T)
end

Hi @asterite :
I closed because i was able to override the original behavior with this:

module Test
  class TestView(T) < View(T)
    def render
      pp outbox[:test]?.try &.as?(String).try &.upcase
    end
  end
end

module Test
  class TestView(T)
    def render
      pp @outbox.class
    end
  end
end

But there's a need for generics specialization that would make sense in the long run :). Any other considerations on why you needed to change the compiler for taking in consideration the case?.
Thanks,
raydf

@asterite , sorry, now i see the other case when you want to override the inheritance part:
class TestView(T) < View2(T)
...
end

Nice to know that it was a quick fix :).

@asterite:
I compiled crystal>master and it doesn't allow to override the inherited parent:
superclass mismatch for class Test::TestView(T) (View2(T) for View(T))

  class TestView(T) < View2(T)
        ^

I believe this issue should be reopened.

@raydf You can't override a superclass, but specifying a same superclass is OK

Well, ok, then everything works right in the master branch.


Time of new messages is not correct

The following screen shot shows the incorrect time for messages that we just entered.

It seems like it always says 10:30

Seems to be fixed now


update keptn

Signed-off-by: mehabhalodiya<EMAIL_ADDRESS>I have updated Keptn version in kube-infra/kustomize/observability/keptn/base/kustomization.yaml

/cc @bradmccoydev


Alternative to custom URL schemes to prevent OAuth2 impersonation attacks

Is your feature request related to a problem you're having? Please describe.
As outlined in this post on the Google dev blog, OAuth2 using custom URL schemes is vulnerable to impersonation attacks where malicious apps squat on URL schemes. This is especially a problem for iOS apps because custom URL schemes are currently our only option unless we set up web credentials and implement the auth flow ourselves without this SDK.
Describe the solution you'd like
I'd like to set up iOS app credentials in the GCP console that don't use a fixed custom URL scheme for the redirect URI and then use this SDK to authenticate using a domain verified using universal links which are verified.
Describe alternatives you've considered
I've considered rolling my own auth flow entirely or using ASWebAuthenticationSession with universal links and ditching this SDK. That also requires me to set up a web credential in the GCP console so I can set a custom redirect URI.
Additional context
Happy to provide more info on request.

Hi! Thanks for raising this security concern and I understand the risks associated with using custom URL schemes for authentication. To provide some more context, we address this issue in two ways:

Proof Key for Code Exchange (PKCE)
ASWebAuthenticationSession (ASWAS).

For PKCE, this option is supported to secure authorization concerns with public clients when custom URI scheme redirects are used. This will ensure that only the app that initiated the authorization request can use the result authorization code. For ASWAS, developers are encouraged to use this for Google Sign-In to handle OAuth redirects using Safari, minimizing the reliance on custom URI schemes. I'd say these are the best options we have at the moment to minimize the risk. Feel free to comment if I'm misunderstanding or if you'd like to provide more context, thanks again!

Thanks! I'll look into using ASWAS


BERT memory leak

Hello,
First, I would like to thank the developers for the experience of using hiclass. The library is very well developed, and the documentation is very comprehensive. I have two comments: one is a suggestion, and the other is a possible bug.
The suggestion is simple: could you include the FlatClassifier as a method? I saw that in some example notebooks. This would help users compare the different strategies.
The second comment relates to the BERT. Unfortunately, bert_sklearn keeps the models in memory (GPU or CPU). This makes it impractical to use for hierarchies of almost any size. Could you consider saving the models during the Hiclass fit stage and loading them during the predict stage?
Thank you!

Hi @lpfgarcia,
Thank you for the interest in HiClass.

The suggestion is simple: could you include the FlatClassifier as a method? I saw that in some example notebooks. This would help users compare the different strategies.

I believe this would be out of scope for the library, since its purpose is to implement local hierarchical classifiers. Besides, wouldn't this be just an import from scikit-learn models?

The second comment relates to the BERT. Unfortunately, bert_sklearn keeps the models in memory (GPU or CPU). This makes it impractical to use for hierarchies of almost any size. Could you consider saving the models during the Hiclass fit stage and loading them during the predict stage?

There is actually some code to store the models on disk, but I did not implement it with the goal of saving RAM in mind. The code is here https://github.com/scikit-learn-contrib/hiclass/blob/6f3799083b31e7ecdf504cd1c5fe3164874a9467/hiclass/LocalClassifierPerParentNode.py#L217. Would you be able to modify it to save disk space with BERT and other models?

Thanks @mirand863
If you're interested, I implemented the flat approach this way:
from sklearn.base import BaseEstimator

class FlatClassifier(BaseEstimator):

    def __init__(self, local_classifier):
        self.local_classifier = local_classifier

    def fit(self, X, y):
        y = ["::HiClass::Separator::".join(i) for i in y]
        self.local_classifier.fit(X, y)
        return self

    def predict(self, X):
        return [i.split('::HiClass::Separator::') for i in self.local_classifier.predict(X)]

Thanks @mirand863
If you're interested, I implemented the flat approach this way:
from sklearn.base import BaseEstimator

class FlatClassifier(BaseEstimator):

    def __init__(self, local_classifier):
        self.local_classifier = local_classifier

    def fit(self, X, y):
        y = ["::HiClass::Separator::".join(i) for i in y]
        self.local_classifier.fit(X, y)
        return self

    def predict(self, X):
        return [i.split('::HiClass::Separator::') for i in self.local_classifier.predict(X)]

Hi @lpfgarcia,
I understand now what you mean. Sorry for the misunderstanding and thank you for clarifying. I will add this to the code base and put a comment to acknowledge your contribution, but if you would like your contribution to be properly acknowledged and listed on github you can open a pull request and I can review it.
Best regards,
Fabio

Hi @mirand863
Very good! Feel free to add the code to the library.
Kind regards,
Luis

Hi @lpfgarcia,
A quick update on this. I just added the flat classifier https://github.com/scikit-learn-contrib/hiclass/pull/128
I will try to tackle the problem with the memory leak on bert in the next days. My initial plan is to use the parameter tmp_dir or have something similar that stores the models directly to the disk and free it from memory after fit is successful. Please, let me know if you have any thoughts or different ideas.
Best regards,
Fabio

Hi @mirand863 ,
Happy to hear about the addition of FlatClassifier.
Regarding the use of BERT with hiclass, I made a fork of the bert-classifier and a workaround in the code. Basically, after finishing the fit, I moved the model to the CPU instead of the GPU. This solved my problem.
Here is the link with the change: https://github.com/lpfgarcia/bert-sklearn/blob/b7cb9abcb123bdda743b2abc1ba70d7681276420/bert_sklearn/sklearn.py#L375
Kind regards,
Luis


Proposal: versioning scheme

Currently swarm version is changed only when releasing. This is a bit confusing for someone to report issues. (For example, swarm version is still marked as 0.4.0 but we started committing 0.5.0 works into master.)
We should follow Docker's versioning scheme to help solve this problem. For example,

We are now in the new sprint (Sprint 22). At the beginning of a new sprint just after releasing, we should bump the version to `0.${x+1}.0-dev'.
After the latest RC, we should strip -dev out of the version number, just before tagging a new release.

I think this is a minimal change to help maintaining versions in a bit better way.
WDYT?

ping @abronan @aluzzardi @jimmyxian @vieux

:+1: Docker used to have this as well, and it was really confusing

:+1:

Totally :+1: for this.


Enable spinnup/teardown of demo traffic sources via CLI

Description
This task is to lay the foundations of the control-plane CLI by making it possible to spin up and tear down the CDK demo traffic sources we've already added to our repo.  Tear down will be extremely naive (e.g. cdk destroy and hope for the best); there are tons of things that can go wrong with that and we won't handle them in this task.
Acceptance Criteria

Able to create our CDK Demo Traffic stacks with a Python CLI
Able to attempt tear down our CDK Demo Traffic stacks with a Python CLI (no exception handling for AWS Resource issues)

Started working on this task.  I looked at whether it made sense to use TypeScript/Node for the management CLI instead of Python.  The biggest question on that front (in my mind) is good libraries for kicking off/managing shell invocations (we're going to wrap the CDK CLI) and good AWS API support.
I know Python has both of those from experience (pexpect [1] + boto [2]), so I poked around a bit on the Node side.
The AWS SDK exists for Node and I'm sure it would be just fine [3].  However - I was not able to find a good Node library for handling long running shell invocations and dealing with additional, mid-invocation prompt requests (e.g. initiate command, get prompted for more details ("yes/no" is common), and need to handle multiple eventualities along those lines).  I could take the built-in libraries for shell invocation [4] and make an expect library with them, but that would be a substantial time investment as these things are a bit finicky (from experience).
I ended up deciding to go with Python because I know the pexpect library will give me the tools I need to wrap the CDK CLI in a user-friendly manner without having to reinvent the wheel.  Given I anticipate this CLI to mostly just be a wrapper around the CDK CLI, that's a deciding factor.
[1] https://pexpect.readthedocs.io/en/stable/
[2] https://github.com/boto/boto3
[3] https://aws.amazon.com/sdk-for-javascript/
[4] https://nodejs.org/docs/v8.1.4/api/child_process.html#child_process_child_process

PR posted for the first part of this (creation).  Adding removal should be quite quick given all the groundwork should be laid.
https://github.com/arkime/cloud-demo/pull/11

Posted PR for the second half of this (destroying the demo stacks).  Was quite quick despite having to pivot due to some pexpect issues (see https://github.com/arkime/cloud-demo/issues/12#issuecomment-1485562474)

https://github.com/arkime/cloud-demo/pull/13

Both PRs merged; acceptance criteria met.  Resolving.


#13907: support to change glossary term parent from the detail page

Describe your changes:
Fixes #13907

support to change glossary term parent from the detail page

https://github.com/open-metadata/OpenMetadata/assets/66266464/62f55146-6347-4c2b-888c-6a81202f3356
https://github.com/open-metadata/OpenMetadata/assets/66266464/95560804-ce29-4f3d-8871-82f9a2e4a05f

Type of change:

[ ] Bug fix
[x] Improvement
[x] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@harshach Can you please review it as well


Respectively change the value of the variable in the "WATCH" and "DEBUG CONSOLE" operated, can not be fully synchronized.

Environment data
dotnet --info output:
VS Code version:1.2.1
C# Extension version:1.1.7
VS Code version:
public HomeController(IOptions options)
{
int a=3,b=3;
int c=a*b;
_appSettings = options.Value;
}
C# Extension version:
Steps to reproduce
1.Set a breakpoint in "int c = a * c" at, hit F5 to start debugging.
2.In the "DEBUG CONSOLE" Console manually modify a = 1, b = 4; In the "WATCH" console manually
modify a = 2.
3.Repeatedly modified 'a' value in the "DEBUG CONSOLE" observe the 'a' value in "WATCH" .
Expected  behavior
The "DEBUG CONSOLE" and the "WATCH" value of console variables are consistent, changing the value of one variable, the other party also changed, they are synchronized.
Actual behavior
If the "WATCH" determined that the variable value, "DEBUG CONSOLE" change the variable value is invalid and can not be synchronized.

This is an issue with VS Code, as it currently doesn't ask for updated values after expression evaluation. Please see VS Code issue #8118. Once this functionality is fixed in VS Code, it should work here.


Selective access to/from workspace by external services

Description
We have two use-cases that require selective access through the workspace firewall:

one use-case requires outbound connectivity to a single, fixed IP
several use-cases require inbound access from an Azure Data Factory to push data into a MySQL service within the workspace. In most cases, that access will be one-off, at project setup. In others, it may be required for periodic refreshes of data.

Before I go hacking around myself, I'd like to know if there are any guidelines on how I can do this cleanly, such that it can be turned on/off on a per-workspace basis. Do I need to customise templates, or is 'manually' modifying the w/s network the best way to go?
Thanks in advance for any suggestions.

Hi @TonyWildish-BH, for TRE wide settings you could perform an update on the firewall service and add the required app or network rules. Or modify the workspace template to add those rules on creation of that workspace, similar to how the nexus amends the firewall on its creation.


Typo fix

Changed 'vidoes' to 'videos'.

Awesome! That was so quick! Thank you!

Thanks for finding it for the PR.


Update Combobox/ Popover (variant ="error") Markup

Combobox/ Popover (variant ="error") has outdated markup compared to the latest version of SLDS.

In Combobox's multiple selection Listbox of Pills, aria-orientation="horizontal" and role="listbox" has been moved to the <ul> from <div>.
Error Popover's body doesn't have the slds-popover__body_scrollable classname anymore

There may be other places in the markup that might need to be updated as well. We should make sure that the Combobox and Popover markup is up-to-date with SLDS as part of fixing this issue.
I will work on this with @garygong.

It seems that Combobox needs more updates that may have more impact, logged follow-up issue https://github.com/salesforce/design-system-react/issues/2586


Fix for 1986

Final? Fix for #1986; functions exactly like #1987
Closes #1986

Looks good to me - @eeintech any notes?

Sorry can't look now but I trust @matmair

Looks good, thanks again @matmair !


Update dependencies

Update dependencies

prost: 0.6 -> 0.9
rust-bert: (git) -> 0.17
rust_tokenizers: 6.0 -> 7.0
strum: 0.20 -> 0.23
tch: 0.3 -> 0.6
tokenizers: 0.10 -> 0.11
torch-sys: 0.3 -> 0.6

Update expected test results based on latest models

distiluse-base-multilingual-cased: Tested
distilroberta_toxicity: Untested

Thank you for the PR and sorry for the late reply :)


[Bug] hasMany relationship cannot be stored.

I have Question and Answer models and simple One to Many relation ship as below:
<?php

namespace App\Models;

use Backpack\CRUD\app\Models\Traits\CrudTrait;
use Illuminate\Database\Eloquent\Model;

class Question extends Model
{
   use CrudTrait;
   ...
    public function answers()
    {
        return $this->hasMany(\App\Models\Answer::class);
    }
   ...
}

<?php

namespace App\Models;

use Backpack\CRUD\app\Models\Traits\CrudTrait;
use Illuminate\Database\Eloquent\Model;

class Answer extends Model
{
    use CrudTrait;
    protected $fillable = [
        'question_id',
        ...
    ];

    public function question()
    {
        return $this->belongsTo(\App\Models\Question::class);
    }
}

On QuestionCRUDController:
<?php
...
class QuestionCrudController extends CrudController
{
    ...
    protected function setupCreateOperation()
    {
        ...
	CRUD::addField([
		'label' => "Answers",
		'type' => 'select_multiple',
		'name' => 'answers',
		'entity' => 'answers',
		'attribute' => 'description',
		'model' => 'App\Models\Answer',
	]);
        ...
    }
    ...
}

This is listing answers properly but can't store the values.
It's my first time using backpack so I tried to create same scenario with Demo repo. Relationships between Monster and PostalBox is already set. I've basically added those lines to MonsterCrudController:
protected function setupCreateOperation()
{
    ...
    $this->crud->addField([
	'label' => 'Select_multiple',
	'type' => 'select_multiple',
	'name' => 'postalboxes', // the method that defines the relationship in your Model
	'entity' => 'postalboxes', // the method that defines the relationship in your Model
	'attribute' => 'postal_name', // foreign key attribute that is shown to user
	'model' => "App\Models\PostalBox", // foreign key model
    ]);
    ...
}

But no luck. List appears, I make selection, click save and nothing is stored.
Should I use crud controller's create and update methods to manually update answers or this is just a bug about hasMany relationship?
PHP VERSION:
PHP 7.3.5 (cli) (built: May  1 2019 13:17:17) ( ZTS MSVC15 (Visual C++ 2017) x64 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.5, Copyright (c) 1998-2018 Zend Technologies
LARAVEL VERSION:
v7.19.1@4f373c373915ec828e3374029919a6fe946ed6d9
BACKPACK VERSION:
4.1.14@f4a6ad91f2aa3760ffe963c5cd87d2b533803323

@ChuiSauCE select_multiple type that you use in QuestionCRUDController is for many to many relationship with pivot / join table. For one to many relationship, I think you should use select or select2 field type
try to change your config to this and see whether it's working or not:
        CRUD::addField([
		'label' => "Answers",
		'type' => 'select',
		'name' => 'answer_id', // change this to actual column name that you use in your table
		'entity' => 'answers',
		'attribute' => 'description',
		'model' => 'App\Models\Answer',
                'autoset'     => false,
	]);

@mahasadhu questions table doesn't have answer_id column, answers table do have question_id which

@ChuiSauCE then that's called a many to many relationship, not an one to many.
You'll need a pivot table to combine those questions and answers data, and set the relation properly through the Laravel model, using belongsToMany

@mahasadhu Answer belongs to one question, not many. To summarize:
Question->hasMany(Answer)
Answer->belongsTo(Question) (answers table has question_id column)

@ChuiSauCE thanks for pitching in.

Here you have some laravel discussion about it: https://github.com/laravel/framework/issues/3251
When you create an answer it belongsTo a question.
If you allow editing the question answers (hasMany) you can add an answer that belongs to another question and you need to set null, or delete the record from previous relations or update.
You are in QuestionCrud with a field select_multiple answers. You select 1,2 and 3 answers for your Question with id 1.
What you should do is get the answers from database with those ids and for each of them change the question_id to 1.
Then you create another Question (id = 2), and select answers 1, 4, 5.
What you should do is get answers with those ids and for each of them change the question_id to 2. But now answer 1 does not belong to question 1 anymore. It belongs to question 2.
 Get all answers that belong to the edited question and set question_id null? Should we delete the answers entirely from database?
Here you find one approach to this problem: https://github.com/laravel/ideas/issues/150
Maybe I am not seeing the big picture and this is something we should implement.
This are my toughts, I might be wrong, been there alot of times :)
Let me know what you think.
Best,
Pedro

@pxpm Thank you for your answer
Well, if you don't think of it this way and start searching why it's not working since it's mentioned in the docs, it can take a while to understand.
It's better to handle it in person as you mention. There is no need of further discussion but it would be nice to if it was mentioned in the docs.
I've chosen to store them as JSON directly on questions table and works like a charm with repeatable fields.
BR,
Can


Two bodies colliding causes "Failed assertion: line 91 pos 12: 'v != out' is not true."

If a body moves and hits an immobile body, then box2d will assert the following message:

Failed assertion: line 91 pos 12: 'v != out' is not true.

Using box2d 0.3.0 and Dart 1.18.0, Ubuntu 16.04.1 LTS
Reproducable through this example.
Thank you for a great product! Keep it up!

Looks like this was solved in ca372e858c5ae0aed439c4f9db2626491d6be472. Eagerly awaiting its release!


Selection: main backup battery

What has to be done
We need to finalize the UPS/Battery capacity required for Current ventilator. And need to resource it for the medical graded one which is easily available for supply chain.
How do you know it has to be done
India team has explored some feasible Power units , which may be suitable to our application. They were explored keeping in the mind that , backup duration required: 2 hours, Compact in size, lesser in weight.
We may select one among below or may take them as reference.

eliminator: https://www.canadiantire.ca/en/pdp/motomaster-eliminator-powerbox-600-0112002p.html
power drome: https://wagan.com/products/power-dome-ex
cyber power: https://www.bhphotovideo.com/c/product/981757-REG/cyberpower_cp1000pfclcd_1000va_pfc_ups_lcd.html
cyber medical graded: https://www.amazon.com/CyberPower-M550L-Medical-Grade-System-Outlets/dp/B0797H5W48

Don't forget

[ ] Put the issue in a milestone
[ ] Assign it to one of the projects
[ ] Add appropriate labels
[ ] Mention dependent/blocked issues if any

I recommend picking a unit that has the specific UPS capability and at least 200W continuous of power delivery capability to provide margin, more if you go to the higher power blower.  You need something that can do a seamless switchover when mains power fails, so in this case, either of the CyberPower units will work.

You can also make an internally-integrated solution, and the beginnings of such a design are discussed here: #642

We have reviewed one of the Ventilator in AMTZ. They are simply using Li-ION battery for 1 Hour backup. We feel, we can also make a trail with Li-Ion battery which was made in India. We have ordered it to one of our vendor and they made it in 10 cm length X  7cm height X 7cm width. And it's capacity is 10AH @12V. Stress test for 14V & 12A is going on currently.

@tijanim can we "leave space" for this in v0.4 build?

@tijanim can we "leave space" for this in v0.4 build?

@martukas @tijanim here is a 1hr battery that I think will fit nicely below the pneumatics tray.  Leaving an envelope for this battery should be good:
https://a.aliexpress.com/_mqwvGUH
An alternate, if you have clearance issues:
https://a.aliexpress.com/_mO8e6sl
Stretch goal:  if we have room to support a lead-acid option, this is what it might look like:
https://www.batteryspace.com/sealedleadacidbattery12v10ah120whs.aspx or 2x of these: https://www.batteryspace.com/Sealed-Lead-Acid-Battery-6V-12AH.aspx

@martukas @tijanim here is a 1hr battery that I think will fit nicely below the pneumatics tray.  Leaving an envelope for this battery should be good:
https://a.aliexpress.com/_mqwvGUH
An alternate, if you have clearance issues:
https://a.aliexpress.com/_mO8e6sl
Stretch goal:  if we have room to support a lead-acid option, this is what it might look like:
https://www.batteryspace.com/sealedleadacidbattery12v10ah120whs.aspx or 2x of these: https://www.batteryspace.com/Sealed-Lead-Acid-Battery-6V-12AH.aspx

@martukas @afarrington17 update on the battery.  For Li-Ion, we want to switch over to this battery (about the same dimensions as the first battery):
https://www.aliexpress.com/item/1005001883671852.html
Alternate for clearance issues (about the same size as the second battery):
https://www.aliexpress.com/item/4001036484239.html
For sealed-lead acid, it stays the same.

@martukas @afarrington17 update on the battery.  For Li-Ion, we want to switch over to this battery (about the same dimensions as the first battery):
https://www.aliexpress.com/item/1005001883671852.html
Alternate for clearance issues (about the same size as the second battery):
https://www.aliexpress.com/item/4001036484239.html
For sealed-lead acid, it stays the same.

Drafted a battery mounting solution.  Uses PAPR-style elastic cage to hold battery into a fitted base.  Base has holes for mcmaster 94180A351 melt-in brass threaded inserts for M4 screws.  Both models and assembly in this zip: LiPo_4s3p_BatteryAndHolder_39x57x133mm.zip

Adding models for the other battery configuration with holder base:
LiPo_4s3p_Battery_57x67x75mm.zip

The latter one seems like the best fit:

This is good enough to prove that enclosure can accommodate it without modifications in metal. Kicking this to next milestone.

This part needs to be redesigned with proper parametrization and to meet our CAD standards - feature, variable naming, etc..


Pod install unable to find specification

using pod 'ModelMapper', during pod install, the install fails with the following error:
[!] Unable to find a specification for 'ModelMapper'
I tried pod install, pod update, and a clean pod install and they all failed to find the spec

What source are you using in your Podfile?. I'd try removing the specs repo as
$ sudo rm -fr ~/.cocoapods/repos/master
$ pod setup

Ah shoot good call, I had it setup to use the CocoaPods/Specs.git source but it wasn't getting updated.
clearing it out did the trick.


.Net: added Functions.OpenApi.Extensions project

Motivation and Context

fixes #4851

Description
Adds an empty project to host OpenAPI plugin extensions e.g. API Manifest plugins (related PR: #4662)
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

@SergeyMenshykh, the .md link failures seem unrelated to my change: https://github.com/microsoft/semantic-kernel/actions/runs/7819466767/job/21331967577?pr=4867, how do you recommend we proceed?

@SergeyMenshykh, the .md link failures seem unrelated to my change: https://github.com/microsoft/semantic-kernel/actions/runs/7819466767/job/21331967577?pr=4867, how do you recommend we proceed?

@zengin we are working on the fix at the moment. I'll let you know when we are done.

@SergeyMenshykh, the .md link failures seem unrelated to my change: https://github.com/microsoft/semantic-kernel/actions/runs/7819466767/job/21331967577?pr=4867, how do you recommend we proceed?

@zengin we are working on the fix at the moment. I'll let you know when we are done.

@zengin we applied a temp workaround so you can proceed with the PR.


Toggle, Checkbox, and Input checkbox don't change checked attribute

Describe the bug
When using <Toggle>, Checkbox, <Input type="checkbox">, the checked property doesn't change when clicking the element.
To Reproduce
Steps to reproduce the behavior:

Add a Toggle, Checkbox, or Input type="checkbox":

<Toggle id="t1" name="t1" label="test" bind:checked={c1}></Toggle>
<Checkbox id="cb1" name="cb1" label="test" bind:checked={c2}></Checkbox>
<Input type="checkbox" id="i1" name="i1" label="test" bind:checked={c3}/>
<input type="checkbox" id="i2" name="i2" bind:checked={c4}>

{c1}, {c2}, {c3}, {c4}

Toggle each of the elements
Notice the only binding that changes is the last one using the builtin input

Expected behavior
these elements should work the same as <input type="checkbox" bind:checked={thing}> in svelte.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Chrome
Version 101.0.4951.64 (Official Build) (64-bit)

Thanks for taking the time to fill out this bug report!

I just updated to v0.15.36. Can you update it and let me know.

npm i -D flowbite-svelte@latest

Since there are dedicated components for checkbox. I removed checkbox from the InputType.

Let me know what you think.

Closing the issue for now.
Thanks again taking time to report the issue.
Please let me know when you find more.


Move to monorepo

Codecov Report

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

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   91.22%   91.22%
=======================================
  Files           1        1
  Lines          57       57
=======================================
  Hits           52       52
  Misses          5        5

Continue to review full report at Codecov.

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


Validation of secrets

I'd love to use Nosey Parker for defensive purposes, and being able to filter results to only show secrets which are confirmed valid is essential.
It should be an optional feature, likely occurring during the report command to keep scans performant.
Each rule could have optional section listing URL + parameters / headers to specify what network request to make in order to verify the credential. The slack rule https://github.com/praetorian-inc/noseyparker/blob/74098e8881bd68a6368032b78b56ddad5ecbbad4/crates/noseyparker/data/default/rules/slack.yml could have a section which specifies curl https://slack.com/api/auth.test -H "Authorization: Bearer $(1)" as the request to make. With $(1) as a placeholder for the first capture group from the regex.
Many project re-invent their own request / response matching format, very curious if you might be able to integrate an existing system like https://hurl.dev with a flexible way to test a response to confirm a valid secret.

Yes, automated or semi-automated secret validation would be very useful.
This does not exist presently, not due to lack of interest, but for focus and engineering constraints.
The design space for validation mechanisms is large, so thank you for the implementation sketch and pointing at some existing resources. Ideally, a useful validation mechanism could be specified alongside the rule YAML data files (and not as special-cased code in Nosey Parker). I will ruminate on this more.
Thank you for writing this up!

Slightly related is #59, a proposal for another invalidation mechanism for findings:
There are several existing rules, like for detecting JWTs and PEM-encoded private keys, where some additional downstream parsing validation could eliminate lots of false positives, but it's not possible to express using regular expressions. That is, if a supposed PEM-encoded private key doesn't actually decode as PEM, ignore it.

Yeah interesting, another example of invalidation I can think of would be the Atlassian API token, since there is a CRC checksum at the end which would help rule out false positives. But at that point, you may aswell send a request to validate the token and skip the middle step. https://github.com/trufflesecurity/trufflehog/issues/649#issuecomment-1537564184
Design space is very large, agree that having it as part of the YAML rather than special case code would be best as it allows more contributors and customization, versus the way Trufflehog is implemented.

Also interesting are things like Password: ${{secret}} I get lots of these and they are easily regexable. IN this case it means I look up the secret value from a vault and replace the ${secret} or whatnot with the actual secret but NOT in the code.


Improve login Redirection

This pull requests aims to improve the redirection after login.
Before: Everytime we would login we would be redirected to the main page of the website which was inconvenient.
Now: Using cookies we are always redirected to the page from which we clicked on the login button.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 56.768%

Files with Coverage Reduction
New Missed Lines
%

services/dkg/pedersen/handler.go
3
87.21%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
3271

Relevant Lines:
5762

💛  - Coveralls


Merge tool does not merge household

Lets suppose:
Contact 1 on HH account 1
Contact 2 on HH account 1
Contact 3 on HH account 2
Then, if I merge both Contact 1 and Contact 2 into Contact 3
HH account 1 is not merged into HH account 2, but renamed into anonymous.

Hi @adplatonov - This behavior is expected if you are either not using the NPSP Contact Merge tab or do not have the NPSP Delete button overridden correctly. We intentionally do not delete empty Accounts since it might also delete other connected objects.
Please post any follow up questions on the Power of Us Hub as we don't provide support here on Github. Thanks!


Window size saved and debugEnabled set false before shutdown

Issue #3625
Contains
Fixes for resizing the game window to default after the game is restarted. Also I thought it would be nice that the debug info should be disabled right before the game is shutted down.
How to test

Open the game, resize the window(should be in windowed display mode). Shut the game down, open again and we should get same position and size.
For debug info just get in any world enable debug system, close the game, reopen and get in any world. We can see that debug is disabled.

Hooray Jenkins reported success with all tests good!

Heya @costinvisan - be careful with making assumptions, especially when you're still learning about the project :-)
It may seem like a nicety to auto-disable debug text, but it might actually be part of some developers' workflow to run the game multiple times in succession where leaving debug text up is convenient.
For this PR that's a trivial bit of code to revert during merge, but if it was any larger it might hold up a PR that's otherwise ready. In this case #3627 has the same fix (and a second part of the fix) without the extra, so I've gone ahead and just merged that while I'll close this. Please don't feel bad and don't worry you still get "GSOC points" for having done this :-)


[2.x] it-IT translation enhancements

Description
Some it-IT strings had translation errors or weren't translated at all.
I also fixed a style problem, in Italian there must be no space between a word and the following punctuation mark.

@haringsrob what should I do? Should I open a different PR targeting 3.x?
Thank you for your help.

Hey @LucaRed if you can, please do. Once that's available I can go ahead and merge.


Component watch in 1.0.18

Hi guys!
I've encountered a problem after upgrading to 1.0.18 with watch inside component. Same code that was working in 1.0.17 stopped triggering events. I've checked release update note, but found nothing related there.
I've tried to create something similar in jsfiddle to reproduce my issue (my code is very different though and is difficult to reproduce exactly in jsfiddle)
So, this fiddle is using 1.0.17 version and is triggering watch events as intended:
https://jsfiddle.net/vladra/2Le9erop/2/
And this is exactly same fiddle using 1.0.18, which is not triggering watch events (and actually it doesn't see changes to props at all):
https://jsfiddle.net/vladra/4ynoyvf0/2/
Thanks for looking into this issue

This is a known issue and has been fixed - in particular it's about props with inline values not being reactive: https://github.com/vuejs/vue/commit/30e9edaf8e14c34f8742a7098c7ae37272c83e55


Add more comparisons with recycled materials.

User Story

Closing in favor of #29 where we use stacked bar charts.


Added info about using the host layout for a shared razor page library

Adds some extra info to the ui-class.md
https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/razor-pages/ui-class.md
https://docs.microsoft.com/en-us/aspnet/core/razor-pages/ui-class
@Rick-Anderson @scottaddie
Let me know if I should create an issue?
Greetings Damien

Thank you for the PR, @damienbod!

Thank you for the PR, @damienbod!

@scottaddie Thanks for the text correction and the review.

@scottaddie Thanks for the text correction and the review.


Event loop feature "signals" isn't supported by the "StreamSelectLoop"

  BadMethodCallException

  Event loop feature "signals" isn't supported by the "StreamSelectLoop"

  at vendor/react/event-loop/src/StreamSelectLoop.php:153
    149▕
    150▕     public function addSignal($signal, $listener)
    151▕     {
    152▕         if ($this->pcntl === false) {
  ➜ 153▕             throw new \BadMethodCallException('Event loop feature "signals" isn\'t supported by the "StreamSelectLoop"');
    154▕         }
    155▕
    156▕         $first = $this->signals->count($signal) === 0;
    157▕         $this->signals->add($signal, $listener);

      +15 vendor frames
  16  artisan:37
      Illuminate\Foundation\Console\Kernel::handle()

Hello ,
I am having this error when i run the command "php artisan websockets:serve" on a the production environement.
Did you manage to solve this ?


Example inside shared_context causes the failure of controller and view spec

I'm trying to use shared_context to DRY my api specs.
Here is one of the sample:
RSpec.shared_context "authenticated api request", :auth do
  let(:user) { create(:user) }
  before :each do
    login_as(user)
  end

  after :each do
    Warden.test_reset!
  end

  context 'when not authenticated' do
    before :each do
      logout
      send(method, url)
    end
    it 'returns authentication error' do
      expect(json["errors"]).to eq(
        ["You need to sign in or sign up before continuing"])
    end
  end
end

It works well.
Both the api specs and controller specs will all pass if I run them separately.
rspec spec/apiv1/
rspec spec/controllers/
However, when I run them together rspec spec/apiv1/ spec/controllers, if controller specs are executed after api specs, then controller specs will fail.
The error messages is
Failure/Error: get :index
     NoMethodError:
       undefined method `[]' for nil:NilClass

I tracked it down to https://github.com/rails/rails/blob/4-2-stable/actionpack/lib/action_controller/test_case.rb#L30
I found that if I take the example below out of the shared context, everything then works again.
    it 'returns authentication error' do
      expect(json["errors"]).to eq(
        ["You need to sign in or sign up before continuing"])
    end

Hi, this is actually the wrong repo to open this issue against, as it's rails specific, but regardless can you gist your specs? As this isn't enough information to figure out what's going wrong here, currently I can at least point out that send(method, url) is going to be problematic for you...

Thanks @JonRowe
The issue has already been resolved by replacing a line in spec_helper.rb
-config.include RSpec::Rails::RequestExampleGroup, type: :request, parent_example_group: { file_path: /spec\/api/ }
+config.include RSpec::Rails::RequestExampleGroup, type: :request
And add type: :request to all api specs under spec/api.
Although I don't what's wrong with that parent_example_group config.

Pass, but it's not a standard thing to want to do or necessarily even supported...


Remove hanging streaming test case

Description
Seq length 32 test case is hanging for unknown reason and the test job gets cancelled - https://github.com/deepjavalibrary/djl-serving/actions/runs/4679798912/jobs/8290368439
Same case works locally though.
Removing the test for now to unblock the tests.

Could you reproduce this error?

Could you reproduce this error?

No, it works fine locally.


Function Modifier or an Opcode to mark a test as skipped conditionally

Component
Forge
Describe the feature you would like
It would be nice to have a Forge provided modifier that lets one mark a test as skipped [SKIP] depending on some custom condition. The specific use case we need it for is to mark which tests are run on different mainnet forks
The code that we currently use looks like this (below) but it marks the skipped tests as passed [PASS]
  uint256 BSC_MAINNET = 56;
  uint256 ETH_KOVAN = 42;
  uint256 ETH_RINKEBY = 4;
  uint256 EVMOS_TESTNET = 9000;

  /// custom modifier for running tests conditionally
  modifier shouldRun(bool run) {
    if (run) {
      _;
    }
  }

 // filter function for a specific chain
  function forChains(uint256 id0) public view returns (bool) {
    return block.chainid == id0;
  }

 // filter function for multiple chains
  function forChains(uint256 id0, uint256 id1) public view returns (bool) {
    return block.chainid == id0 || block.chainid == id1;
  }

  // TEST CASES

  function testSomething() public {
    // this test will be run on all chains
  }

  function testSomethingElse() public shouldRun(forChains(BSC, ETH_KOVAN)) {
    // this test will be skipped on EVMOS_TESTNET and ETH_RINKEBY
  }

I would imagine that we're provided by the forge env either a modifier like shouldRun(forChains(...)) or some assembly opcode to return from the test marking it as skipped [SKIP] and then we can craft the modifier in the same way
  modifier shouldRun(bool run) {
    if (run) {
      _;
    }
    else {
      assembly {
        some_op_code_to_mark_test_as_skipped()
      }
    }
  }

Additional context

I wonder if this is needed anymore since we now have fork-related cheatcodes to choose what fork to use on a per-test level? Wdyt @vminkov?

I still think this feature is useful in some cases. For example with hardhat, I'd sometimes scaffold out a bunch of unimplemented tests and mark them as skipped to signal that they're not implemented. Having them pass/fail didn't feel correct since it might be a while until all tests are implemented.
Instead of a cheatcode, another idea is a special test name prefix, like function skipTest*() instead of the usual function test*(). (Either cheatcode or function name is fine with me, no preference here)

For our use case the fork-related cheatcodes are good enough alternative. It is still useful to mark a test case as skipped when the reasons for its failure are not related to the code that is tested, but to the fork RPC URL being invalid, for example.

Instead of a cheatcode, another idea is a special test name prefix, like function skipTest*() instead of the usual function test*(). (Either cheatcode or function name is fine with me, no preference here)

I think this would be the best fix here, since we identify tests via naming convention, simply adding skip, or ignore feels more appropriate than adding a vm.skip() call.

I thought the OP wanted to skip tests on certain conditions like the chain id, which the skiptest idea I think does not address

Probably should have left this comment in this issue instead, so linking to it here https://github.com/foundry-rs/foundry/pull/2606#issuecomment-1205435913

I've got another use case for this feature, which I originally described in #3845, and that now I'm moving here.
When coding a test harness for live contracts, it is not possible to know in advance the state the the smart contracts will be in. Therefore, some tests will make sense, and others will not.
For example, we might have a set of tests that make sense on a given uninitialized contract, but once the contract is initialized it would make more sense to skip those tests and move on to the next ones in the same file.
The workaround described above still works, but the PASS in the output might still lead to confusion as to what is the current state of my contracts.
I would very much prefer if the test would show as SKIP, and maybe even in the summary at the end ("67 passed, 32 skipped, 0 failed", for example). vm.skip(bool) would work just fine.
Additional context
In this test file, this test only makes sense in the contract is in an EJECTED state after the setup function.

Copying some nice from https://github.com/foundry-rs/foundry/issues/4918 here, cc @shazow

Two new cheats: vm.skip(bool skip) and vm.skip(bool skip, string calldata reason), where the latter prints a reason string
Ensure the skip call can be made at the test level or setUp level

cc @Evalir, might be an easy one and this is often requested


published pages don't show unpublish button until page reload

When a page is scheduled, opening up the publish pane will display the "unschedule" button. This isn't happening with published articles and the "unpublish" button, unless you reload the page.

Hmm. I can't replicate this reliably


[6.4x] RHBPMS-4184,JBPM-5277 - getTasksAssignedAsPotentialOwner doesn't allow groups searching, only actorid

Related to the release this week.
PR Set:

https://github.com/droolsjbpm/droolsjbpm-knowledge/pull/160
https://github.com/droolsjbpm/jbpm/pull/560
https://github.com/droolsjbpm/droolsjbpm-integration/pull/605

@psiroky Would you mind reviewing and merging (all 3 PRs, of course)? Thanks!

+1


ADD: Connection to 3dSlicer using Pyigtl and slicerOpenIgtLinkIF

Added module in src to initialize a connection to 3dSlicer by starting a server. Sends pose data of target marker as a TransformMessage.

Thanks for the feedback. Should I wait to merge until after #75 has been merged?


Bug: jsonify function removes the Uint8Array fields

Describe the bug
The jsonify function removes the Uint8Array fields that are stored as bytes.
Steps to reproduce
Retrieve a record with bytes field and parse it with the jsonify function and it will empty the Uint8Array fields.
Expected behaviour
Should return a Uint8Array.
SurrealDB version
2.0.0+20240815.6e9d04d for linux on x86_64
JavaScript SDK version
1.0.0-beta.20
Contact Details
No response
Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I reinstalled the SurrealDB & JavaScript SDK and it worked somehow !


Motor shim libraries & examples

This is still in progress. Currently includes a "motor" driver class and a basic C++ example to test functionality. Waiting for actual hardware to do more.

I think this can be closed?

Oh yes, this was superseded by another motor commit


Update cloud docs for new sidebar organization

https://cockroachlabs.atlassian.net/browse/DOC-6846

:lgtm:


Webview "site removed 'error

Source information
The Blank Scanlation 1.4.39
Source language
English
Steps to reproduce

Viewing the chapter
Downloading the chapter
Opening in webview

Expected behavior
To read the chapter
To download the chapter
Can open the site in webview
Actual behavior
The chapters cannot be downloaded, viewed and shows "site removed 'when opened in webview
Mihon/Tachiyomi version
App version: 0.17.1
Android version
Android 11
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Add a :+1: reaction to issues you find important.

Can confirm. This is a thing that is happening.

Also happens to me on the latest TachiyomiSY and Mihon. I have changed my user agent probably 10 times, including the one I use for my phone browser (I just typed in "what is my user agent", maybe it's wrong) where the site works perfectly, and I cleared my cache and webview history each time.
I can't download chapters either, I get "no pages available" as an error.

This is happening to me too and I am waiting for a solution or update to the extension

Issue resolved , the blank did this to break the extension intensionally.

Finally got a statement from The Blank staff.


[NEW]: Walk-by Coffee Event by HAVN & AuditOne

Please use this template to suggest a new event or update an existing event for the BBW website! You can also directly submit your event as a pull request to this repository. This will speed up things significantly!
# the name of your event
name = "Walk-by Coffee Event by HAVN & AuditOne"

# shortest possible name (without year)
shortname = "AuditOne at BBW"

# type of the event
# available types (you can choose more):
#   * meetup
#   * conference
#   * hackathon
#   * expo
#   * party
#   * other
types = ["coffee"]

# status of the event
# available types:
#   * idea
#   * planning
#   * published
status = "published"

# the name of the group organizing the event
org = "AuditOne and Haven"

# the github handle of the directly responsible individual for this event
# (this person will coordinate with #bbw24 organizers)
dri = "rajaauditone"

# A point of contact (responsible person)
poc = "Adrien"

# the start date of the event
date = "2024-05-23"

# how many days the event lasts (1 - N)
days = 1

# the event times (shows up in the event card)
times = "08:30-11:00"

# Link to venues from the Places table - use this OR enter venueName, venueUrl and venueAddress
# venues = ["Holzmarkt Cafe"]

# the event venue name
venueName = "Holzmarkt Cafe"

# link to the venue on open street maps
venueUrl = "https://g.co/kgs/hRmQTjb"

# the event venue address
venueAddress = "HOLZMARKTSTRASSE 25 10243 BERLIN"

# the languages in which the event will take place (you can choose more)
languages = ["english"]

# the max number of attendees of the event
attendees = 300

# blockchains that the event deals with
# if it is an interchain event, then leave blank
chains = ["ethereum","near","solana","polygon"]

# tags for the event, will show up as labels.
# pick 1-4
tags = ["security audits", "smart contracts", "bug bounties"]

# A logo attachment
logo = "logo.png"

# a description of the event.

description =  '''

Morning Bytes & Bites at Holzmarkt Cafe

Location: Holzmarkt Cafe

Date & Time:

Thursday, May 23, 2024

From 8:30 AM to 11:00 AM

OVERVIEW

As part of the vibrant Berlin Blockchain Week, we invite the Web3 community and DAPPCON attendees to join us at the Holzmarkt Cafe for a unique morning mixer. Kickstart your day with our exclusive breakfast event, designed to energize and engage blockchain enthusiasts and professionals.

WHAT TO EXPECT

Upon arrival, each registered guest will receive a complimentary voucher redeemable for a Coffee to Go and a croissant, or alternatively, a glass of sparkling wine and a croissant.

This casual "walk-by" event is perfect for those looking to fuel up and network without a lengthy stop.

SPECIAL FEATURES:

Conveniently located right next to the DAPPCON venue at Radialsystem

Enjoy your breakfast in the charming outdoor seating area of Holzmarkt Cafe

A perfect setting to meet fellow blockchain enthusiasts in a relaxed, informal atmosphere

NOTE

The event is designed for quick stops; however, the venue's outdoor area provides a lovely setting for those who wish to linger and enjoy their morning treats.

We look forward to welcoming you to Morning Bytes & Bites – where good mornings are made better with blockchain!

ORGANIZERS

HAVN

HAVN is an ecosystem that connects hybrid chains into a fully decentralized and interoperable network. The HAVN token powers the ecosystem and works as fuel for running the chains.

AuditOne

AuditOne is an aggregator platform that creates auditor pools based on projects' needs to deliver high-quality, affordable audits. Our main focus is on Web3 cybersecurity (smart-contract audits, pentests, bug bounties), AI systems audits (bias, fairness, compliance check), and technical due diligence (for VCs and traders).
'''

[registration]
# type of registration
#  Possible values:
#   * tickets
#   * invites
#   * signup
type = "signup"

# price of the ticket
# price = "0 EUR"

# link to the registration or ticket purchase page
link = "https://lu.ma/havn-auditone?tk=708GXQ"

#custom action button label
button = "Register Now"

# status of registrations
# Possible values:
#  * available
#  * sold-out
#  * closed
status = "available"

[links]
# the website of the event
# make sure to have all the relevant information: dates, venue, program, ticketing (if any), etc.
web = "https://lu.ma/havn-auditone?tk=708GXQ"

# twitter account
twitter = "https://twitter.com/auditone_dao"

Added in #112
Please double check at https://blockchainweek.berlin/24


Feature-Request: Error Message if Hook-Script is broken

Write an error message if the Hook-Script is broken.
See also  #702

Closing this as this just seems to be a follow-up to #702.


grpclb stabilization

As per gRFC A26 (https://github.com/grpc/proposal/pull/164), remove support in core for special balancer addresses that cause grpclb to be selected by default.  Instead, balancer addresses are now passed via a channel arg that is known to both the grpclb policy and the c-ares DNS resolver, and the only way to select the grpclb policy is via the service config.

This change is

One main concern, commented on gRFC in https://github.com/grpc/proposal/pull/164/files#r339235228

Known issues: #21626 #19627 #16003 #15027 #20198 #21627


possible info leak?

I'm against this line:
  connection.notes.auth_passwd = credentials[1];

And your reasoning is?  It's used for this https://github.com/baudehlo/Haraka/blob/master/plugins/prevent_credential_leaks.js
Feel free to remove it from your own fork.

The reasoning is possibility of password sniffing via rogue plugin that interprets user data. But I'm just theorizing.


Fix collectstatic for GOV.UK PaaS

Moves collectstatic invocation to the Procfile because of problems when it's run by the build pack.
Also removes config/static from the stac file directories, and reduces some confusion around ROOT_DIR in the config.

Codecov Report

Merging #534 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop    #534   +/-   ##
=======================================
  Coverage     96.5%   96.5%
=======================================
  Files          127     127
  Lines         3864    3864
  Branches       353     353
=======================================
  Hits          3729    3729
  Misses          92      92
  Partials        43      43

Continue to review full report at Codecov.

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


[FEATURE] Open lyrics with a desired browser (not default)

Is your feature request related to a problem? Please describe.
I miss an option to open lyrics in a different webrowser. I like to see the lyrics in a tiny panel (wihout search bar, buttons and so) next to spotify. So everytime I open swaglyrics I need to resize and move my browser. Problem comes when I open a different link and goes to that tiny window -I need to resize it as well.
Describe the solution you'd like
I'd like to have a flag or an option to set the browser you want to use: swaglyrics -t google-chrome-stable
Describe alternatives you've considered
We could also open swaglyrics with a web application installed by a browser.  I.E: swaglyrics -t /opt/google/chrome/google-chrome --profile-directory=Default --app-id=XXXXXXXXXXXXXXXXXXXXX --app-url=http://<IP_ADDRESS>:5042/
Thank you very much-

I will look into seeing how python can open a page using a non-default browser. I am not super sure I understand the web application installed by a browser part, how does that work?
Thanks for using swaglyrics!

Thank you very much!

I am not super sure I understand the web application installed by a browser part, how does that work?
Using browsers as chromium, chrome or edge you can open websites as a standalone apps. You just need to tap install or create a shortcut:

Then you will see this dialog allowing you to set window mode

And then you will have the website installed as an app -being able to launch it from your system launcher. This app won't have search bar and will be independent to browser. So this way we can resize the app and use it as a tiny panel. Moreover, links won't open on this new standalone app but in default browser.


[FEATURE] Add a Star Rating widget

I want to add a star rating widget in Feedback section. That will make this website more beautiful.
@ANSHIKA-26  please assign me this task.

@ANSHIKA-26 @hiteashgupta1


Add middle toolbar and fix some problems with markdown editing

For #7378

Codecov Report

Merging #7437 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #7437     +/-   ##
=========================================
- Coverage   58.22%   58.12%   -0.1%
=========================================
  Files         492      492
  Lines       21747    21747
  Branches     3481     3481
=========================================
- Hits        12662    12641     -21
- Misses       8298     8316     +18
- Partials      787      790      +3

Impacted Files
Coverage Δ

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

src/client/common/platform/pathUtils.ts
66.66% <0%> (-5.56%)
:arrow_down:

src/client/linters/pydocstyle.ts
84.61% <0%> (-5.13%)
:arrow_down:

src/client/common/logger.ts
68.55% <0%> (-4.41%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
66.66% <0%> (-2.9%)
:arrow_down:

src/client/interpreter/locators/helpers.ts
70.73% <0%> (-2.44%)
:arrow_down:

src/client/common/process/proc.ts
13.28% <0%> (-1.57%)
:arrow_down:

src/client/common/installer/productInstaller.ts
76.71% <0%> (-0.53%)
:arrow_down:

src/client/datascience/constants.ts
99.64% <0%> (-0.36%)
:arrow_down:

Continue to review full report at Codecov.

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


Test changes in test-resources.json

@sacheu We are going to assume you are done testing here :)
Closing this PR, feel free to re-open if you need to continue with your testing


replace %svelte.assets% with relative path

Fixes #2697, supersedes #3088. Replaces %svelte.assets% in src/app.html with a relative path to the root (or to paths.assets in production, if specified).
In other words this...
<link rel="icon" type="image/png" href="%svelte.assets%/favicon.png" />

...will work regardless of whether paths.assets is set, and will also work if you've set paths.base (or, in future, if we implement dynamic basepaths somehow) because a page like /custom-basepath/foo/bar/baz will link to ../../favicon.png, which resolves to /custom-basepath/favicon.png. It will still work if trailingSlash is  "always" .
(Note that there's currently a bug around paths.base — static assets aren't served from there in dev mode. Needs fixing separately.)
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Also adjacent: #3231 and #3232

The deployments are failing because they're trying to build with the most recent released version of Kit, which doesn't know how to handle %svelte.assets% and is therefore resulting in a malformed URI error when prerendering. We can safely ignore

Should this PR be marked as resolving #3231 now?
I didn't look closely at what was happening in #3232.

It should, yeah. I need to look into #3232

@Rich-Harris should I port the relevant docs over from #3088 ?


Null ref error, app crahes, android 5.0.2 (lollipop)

Hi @aritchie!
There is a bug on my android (5.0.2) lollipop.
Steps to reproduce:

open app on android 5 (lollipop), turn on bluetooth
turn off bluetooth
ERROR: app crashes (see stack trace below)

Please review this change, plz!
11-27 12:41:27.565	Xiaomi Redmi Note 2	Info	31136	MonoDroid	System.NullReferenceException: Object reference not set to an instance of an object
at Plugin.BluetoothLE.Internals.BleContext.StopScan () [0x00022] in :0
at Plugin.BluetoothLE.Adapter+<>c_DisplayClass19_1.b_1 () [0x00001] in :0
at System.Reactive.Disposables.AnonymousDisposable.Dispose () [0x00010] in <99f8205c51c44bb480747b577b8001ff>:0
at System.Reactive.Disposables.SingleAssignmentDisposable.Dispose () [0x00014] in <99f8205c51c44bb480747b577b8001ff>:0
at System.Reactive.AutoDetachObserver1[T].Dispose (System.Boolean disposing) [0x0000a] in <99f8205c51c44bb480747b577b8001ff>:0  at System.Reactive.ObserverBase1[T].Dispose () [0x00000] in <99f8205c51c44bb480747b577b8001ff>:0
at ColaSetup.Services.BLE.ComaBLE.handleAdapterStatus (Plugin.BluetoothLE.AdapterStatus status) [0x000c6] in :0
at ColaSetup.Services.BLE.ComaBLE+<>c.<get_Singleton>b__31_0 (Plugin.BluetoothLE.AdapterStatus status) [0x00000] in :0
at System.Reactive.AnonymousSafeObserver1[T].OnNext (T value) [0x0000a] in <99f8205c51c44bb480747b577b8001ff>:0  at System.Reactive.Linq.ObservableImpl.RefCount1+[TSource].OnNext (TSource value) [0x00000] in :0
at System.Reactive.Subjects.FastImmediateObserver1[T].EnsureActive (System.Int32 count) [0x0016b] in <e9c1ccec51844dbd92b833a0b4bc960e>:0  at System.Reactive.Subjects.FastImmediateObserver1[T].EnsureActive () [0x00000] in :0
at System.Reactive.Subjects.ReplaySubject1+ReplayBase[T].OnNext (T value) [0x0006e] in <e9c1ccec51844dbd92b833a0b4bc960e>:0  at System.Reactive.Subjects.ReplaySubject1[T].OnNext (T value) [0x00000] in :0
at System.Reactive.Linq.ObservableImpl.AsObservable1+_[TSource].OnNext (TSource value) [0x00000] in <e9c1ccec51844dbd92b833a0b4bc960e>:0  at System.Reactive.Linq.ObservableImpl.Select2+[TSource,TResult].OnNext (TSource value) [0x00033] in :0
at System.Reactive.Linq.ObservableImpl.Concat1+_[TSource].OnNext (TSource value) [0x00000] in <e9c1ccec51844dbd92b833a0b4bc960e>:0  at System.Reactive.AutoDetachObserver1[T].OnNextCore (T value) [0x00002] in <99f8205c51c44bb480747b577b8001ff>:0
at System.Reactive.ObserverBase`1[T].OnNext (T value) [0x0000d] in <99f8205c51c44bb480747b577b8001ff>:0
at Plugin.BluetoothLE.Internals.ObservableBroadcastReceiver.OnReceive (Android.Content.Context context, Android.Content.Intent intent) [0x00021] in :0
at Android.Content.BroadcastReceiver.n_OnReceive_Landroid_content_Context_Landroid_content_Intent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_context, System.IntPtr native_intent) [0x00017] in <9ef29c909d7e4606a46b131129da3975>:0
at (wrapper dynamic-method) System.Object:4e9fbffc-dae4-493b-b955-29f7a6b1fdcc (intptr,intptr,intptr,intptr)

Seems this is a lollipop problem:
https://stackoverflow.com/questions/29944106/android-ble-app-crash-if-bluetooth-is-turned-off-in-android-lollipop

I have added a fix for this in 5.3


Updated Pipfile.lock from new bonfire release

The new bonfire release does not require the dependencies were causing dependabot alerts (aiohttp and websockets).
The bonfire team recently added this fix in their latest release (v2.4.0) -> https://github.com/RedHatInsights/bonfire/pull/93

/lgtm


Device enhancement Request - Smart Home Zigbee Shutter - _TZ3000_ctbafvhm / TS130F

Prerequisites:

Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
Make sure your Homey is upgraded to firmware v5 or higher.
You need a physical example of the device.

Device Information

Device Name: Smart Home Zigbee Shutter
Device Model: TS130F
Device Description: Touch Switch for Shutters and Curtains
Link to device image: https://sklep.wylaczniki-dotykowe.pl/wp-content/uploads/2024/01/B-Z-KTX-withlogo.jpg

Device Interview

  "ids": {
    "modelId": "TS130F",
    "manufacturerName": "_TZ3000_ctbafvhm"
  },
  "endpoints": {
    "ieeeAddress": "a4:c1:38:fd:e7:36:8e:7d",
    "networkAddress": 48444,
    "modelId": "TS130F",
    "manufacturerName": "_TZ3000_ctbafvhm",
    "endpointDescriptors": [
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 48444,
        "_reserved": 24,
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 514,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          4,
          5,
          6,
          258,
          57345,
          0
        ],
        "outputClusters": [
          25,
          10
        ]
      },
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 48444,
        "_reserved": 10,
        "endpointId": 242,
        "applicationProfileId": 41440,
        "applicationDeviceId": 97,
        "applicationDeviceVersion": 0,
        "_reserved1": 0,
        "inputClusters": [],
        "outputClusters": [
          33
        ]
      }
    ],
    "deviceType": "router",
    "receiveWhenIdle": true,
    "capabilities": {
      "alternatePANCoordinator": false,
      "deviceType": true,
      "powerSourceMains": true,
      "receiveWhenIdle": true,
      "security": false,
      "allocateAddress": true
    },
    "extendedEndpointDescriptors": {
      "1": {
        "clusters": {
          "groups": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "nameSupport",
                "value": {
                  "type": "Buffer",
                  "data": [
                    0
                  ]
                },
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "scenes": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "onOff": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 20480,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 32769,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 16385,
                "name": "onTime",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 16386,
                "name": "offWaitTime",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "windowCovering": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 8,
                "name": "currentPositionLiftPercentage",
                "value": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 61440,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 61441,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 61442,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 61443,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 32768,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion",
                "value": 3
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion",
                "value": 70
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "stackVersion",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion",
                "value": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName",
                "value": "_TZ3000_ctbafvhm"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId",
                "value": "TS130F"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode",
                "value": ""
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource",
                "value": "mains"
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 65502
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65534,
                "name": "attributeReportingStatus",
                "value": "PENDING"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65506
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65507
              }
            ]
          }
        },
        "bindings": {
          "ota": {},
          "time": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ]
          }
        }
      },
      "242": {
        "clusters": {},
        "bindings": {}
      }
    }
  }

Additional Comments:
Not compatible with homey
https://sklep.wylaczniki-dotykowe.pl/produkt/wlacznik-dotykowy-rolet-wifi-zigbee-czarny/
How to interview a device

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want to be added. Thank you for your contribution!

Adding this to the current Wall Curtain Switch driver, do get back to me if it's not working as expected.

Is it possible to add movement time, calibration mode, reversing? like in the curtain module?

@websate, I'll look into it. I'll reopen the issue with enhancement in the title.


[CP] [Impeller] Check the correct stencil coverage when deciding whether to elide a restore

issue_link
N/A
Commit Hash
https://github.com/flutter/engine/commit/730e88fb67878fbfdb9bb60545fecdb2990bc9fd
Target
stable
pr_link
https://github.com/flutter/engine/pull/39096
Impacted Users
Impeller users
Impact Description
The fix from https://github.com/flutter/engine/pull/38964 was incomplete, and left open the possibility that draw calls could be improperly culled. See screenshots on https://github.com/flutter/engine/pull/39023.
Workaround
There is no workaround.
Risk
low
Test Coverage
yes
Validation Steps
Rendering of an internal app is correct.

cc @chinmaygarde @bdero for approval

lgtm


[Demo UI/UX Improvement] GoEX Demo UI/UX

Hey GoEX team, great work!
I was trying this demo https://goex.gorilla-llm.com/index, and had another small suggestion on the UX,

If a registered user has filled out the vote, the second time one clicks on the Submit Vote button, it should pop up an error message saying they had voted. Right now, even though there is an expected increment in votes after the user has voted and expected no change in votes when the user submitted a vote more than 1 time, the button triggers refresh on the page without prompting the user that the vote is successful or not successful, which isn't ideal. Thanks!

Thanks for raising this issue! The idea was for users to be able to recast votes if they change their mind or want to add a new service. If you vote for NewsAPI, it should add one vote to NewsAPI, and if you uncheck that vote then submit vote again it should remove your vote. I changed the button to make it more clear that votes are being recast.


Causes crashes while using on dedicated server due to using client class

Issue description:
I have done many tests and after 2 days of testing thing I was honestly so sad to find it is your mod as I'd been looking for a mod like yours for a very long time. I love the mod so much and I really believe your mod will end up being a highly downloaded mod and I really hope this is an easy fix.
Steps to reproduce:

Start server without anvil api = server loads.
Add in anvil api = server crash due to attempting to load net.minecraft.client.Minecraft on dedicated server.
Remove anvil api = server successfully loads again.

AnvilAPI version:
AnvilAPI-1.20.1-forge-<IP_ADDRESS>.jar
Minecraft version:
1.20.4
Modloader:
Forge
Modloader version:
47.2.20
The latest.log file:
11Feb2024 21:59:39.710] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER

Hello, thank you for reporting the bug.
It has already been addressed in version <IP_ADDRESS>-beta (commit 190e6720955f212bed69f6b3160913338d44596b) for Minecraft 1.20.4.
Please consider updating to the latest mod version.

Does that work on 1.20.1?
On Mon, Feb 12, 2024, 12:09 PM Hantonik @.***> wrote:

Hello, thank you for reporting the bug.
It has already been addressed in version <IP_ADDRESS>-beta (commit 190e672
https://github.com/Hantonik/AnvilAPI/commit/190e6720955f212bed69f6b3160913338d44596b)
for Minecraft 1.20.4.
Please consider updating to the latest mod version.
—
Reply to this email directly, view it on GitHub
https://github.com/Hantonik/AnvilAPI/issues/29#issuecomment-1939169465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEPMZXJ5ANXAVKQWXNVV2H3YTJEETAVCNFSM6AAAAABDD36SS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZZGE3DSNBWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'm afraid not.
Unfortunately, Mojang doesn't prioritize the compatibility of their changes with mods in subsequent versions.
AnvilAPI underwent significant changes when porting from version 1.20.1 to versions 1.20.3 and 1.20.4 to align with Mojang's modifications.

And I'm assuming there's no plan to work on 1.20.1 anymore? Would you be
against me trying myself? Idk if you're open source with your code. I would
really appreciate it if i could try.
On Mon, Feb 12, 2024, 2:46 PM Hantonik @.***> wrote:

I'm afraid not.
Unfortunately, Mojang doesn't prioritize the compatibility of their
changes with mods in subsequent versions.
AnvilAPI underwent significant changes when porting from version 1.20.1 to
versions 1.20.3 and 1.20.4 to align with Mojang's modifications.
—
Reply to this email directly, view it on GitHub
https://github.com/Hantonik/AnvilAPI/issues/29#issuecomment-1939436302,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEPMZXKDGPGTPHWJXGJPKRLYTJWRFAVCNFSM6AAAAABDD36SS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZZGQZTMMZQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sure thing, feel free to fork this repository and work on it independently. The code is under the MIT license.
I recommend starting from the commits 190e6720955f212bed69f6b3160913338d44596b and 79ec5d370e1dc07aa3a252ac0ae9d430c551d00d. I fixed most of the dedicated server-related issues in those commits.
Once you've resolved the issue and want to incorporate it into an official release, just go ahead and open a pull request.

Awesome thank u so much
On Mon, Feb 12, 2024, 4:17 PM Hantonik @.***> wrote:

Closed #29 https://github.com/Hantonik/AnvilAPI/issues/29 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/Hantonik/AnvilAPI/issues/29#event-11779972130, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BEPMZXK7WX6YXFL6D63NQPDYTKBF7AVCNFSM6AAAAABDD36SS6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG43TSOJXGIYTGMA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I am having issues trying to open the respiratory files as a java project i
figured out that the issue I'm having is related to using
minecraft.world.level vs client for the mixinItem class. This is the only
issue I'm seeing.
On Fri, Feb 16, 2024, 4:57 AM Hantonik @.***> wrote:

Closed #29 https://github.com/Hantonik/AnvilAPI/issues/29 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/Hantonik/AnvilAPI/issues/29#event-11827403531, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BEPMZXINIUQXHX3ZR2FF77TYT43SNAVCNFSM6AAAAABDD36SS6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHAZDONBQGM2TGMI
.
You are receiving this because you authored the thread.Message ID:
@.***>

I am having issues trying to open the respiratory files as a java project i figured out that the issue I'm having is related to using minecraft.world.level vs client for the mixinItem class. This is the only issue I'm seeing.
…
On Fri, Feb 16, 2024, 4:57 AM Hantonik @.> wrote: Closed #29 <#29> as completed. — Reply to this email directly, view it on GitHub <#29 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEPMZXINIUQXHX3ZR2FF77TYT43SNAVCNFSM6AAAAABDD36SS6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHAZDONBQGM2TGMI . You are receiving this because you authored the thread.Message ID: @.>

Sorry to disturb. Is there an existing solution for this issue in 1.20.1?


.idea is in your npm published package

You may be globally ignoring .idea. Yet when npm publishing it will be included.
Eventually this will get easier:
https://github.com/npm/npm/issues/5673
Publishing folders by accident can lead to exposing private information that you may otherwise not want to be made available.

Great, thanks for pointing that out. Have fixed.


fix data binding issue when creating new instance using $.jstree.create(element, options)

This PR fixes a bug where data was not bound to jsTree container element when using $.jstree.create(element, options).
You can reproduce the issue by creating a new instance of jsTree as in $.jstree.create(element, options) and using drag & drop plugin. A red X is always present when dragging a node and you cannot drop it.
The following "if" condition in $.jstree.reference method fails because there's no data bound to the container element:
if(obj && obj.length && (obj = obj.closest('.jstree')).length && (obj = obj.data('jstree'))) {
    tmp = obj;
}

I moved the data binding part from $.fn.jstree to $.jstree.create. Also, I think that new keyword was not necessary in $(this).data('jstree', new $.jstree.create(this, arg)); because a call to $.jstree.create() already returns a new instance if I understand it correctly.
Did some testing and it worked as expected, unless there are some edge cases that I'm not aware of.
Here's the plunker showing the issue: http://plnkr.co/edit/DfezCl?p=preview

The create function was never meant to be used on its own, but with your fix, it can be. Thank you.

Thanks for merging it in. Could you update the README.md with an example showing that new instances can be created this way? It might be useful for anyone who wants to work with jsTree in a more OOP fashion utilising its API or using some frameworks, like AngularJS, where jQuery way of initialising jsTree is not as clean as $.jstree.create(element, options).
This is more or less how I use it with AngularJS:
angular.module('App', [])
	.controller('Ctrl', ['$scope', function ($scope) {
		// ...
	}])
	.value('Lib.jsTree', $.jstree)
	.directive('treeDemo', ['Lib.jsTree', function ($log, jsTree) {
		return {
			link: function (scope, element) {
				var config = {
					core: {
						check_callback: true
					},
					plugins: ['dnd']
				};

				var jsTreeInstance = jsTree.create(element, config);

				// ... do something with the instance
			}
		};
	}]);

Btw, you've done a great job! It was an easy switch from using horrible Kendo TreeView to jsTree.

I will update the docs - thanks. And thank you once again for the pull request. Glad you liked jstree and hope you continue using it, please do not hesitate any other ideas.
Best regards,
Ivan


Uncaught Prize not found

Hello
Here's a problem. After clicking the start button I get this error in the console "Uncaught Prize not found".
Can you help me?

Could you add some details, please?
What does your layout, script initialization and rotateTo method call look like?

Could you add some details, please?
What does your layout, script initialization and rotateTo method call look like?

I'm also having this same problem.
I used the minified JS and it worked perfectly, but when I tried to use the js from the 'src' folder I had this problem on the console.
I'm checking and it seems that the problem is in the selectedPrize() getter
get selectedPrize() {
       console.log(this.prizes) // array 14 items prizes (ok!)
       let a = this.prizes
         .concat()
         .sort((c, a) => c.wrapper.offsetLeft - a.wrapper.offsetLeft)
         .find((a) => a.wrapper.offsetLeft > this.center).index

       console.log('AFTER', this.prizes[(this.prizes.length + a - 1) % this.prizes.length]) // CONSOLE LOG = rouletteJS.min.js?5ef7:110 Uncaught TypeError: Cannot read properties of undefined (reading 'index')

       return this.prizes[(this.prizes.length + a - 1) % this.prizes.length]
     }

Hello, for those who will face a similar problem.
This error occurs if there are less than 10 elements in the roulette.
Just add another  inside  to have 10 or more.
How to run a roulette with less than 10 elements, I did not understand, because I have much more of them :)


Roll Flutter Engine from ea6ed14b4e6e to 5866bad02d05 (1 revision)

https://github.com/flutter/engine/compare/ea6ed14b4e6e...5866bad02d05
2023-03-20<EMAIL_ADDRESS>Roll Dart SDK from 01350005aab7 to 440d8b1fb962 (3 revisions) (flutter/engine#40468)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.