Error on startup (OSX Sierra)

531$ gem install mailcatcher
Fetching: mailcatcher-0.6.5.gem (100%)
Successfully installed mailcatcher-0.6.5
Parsing documentation for mailcatcher-0.6.5
Installing ri documentation for mailcatcher-0.6.5
Done installing documentation for mailcatcher after 0 seconds
1 gem installed
532$ mailcatcher --help
/Users/wolfgang/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:2158:in method_missing': undefined methodthis' for #<Gem::Specification:0x3ffc01447f68 mailcatcher-0.6.5> (NoMethodError)
from /Users/wolfgang/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:1057:in find_active_stub_by_path'     from /Users/wolfgang/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:64:inrequire'
from /Users/wolfgang/.rvm/gems/ruby-2.3.0/gems/mailcatcher-0.6.5/bin/mailcatcher:3:in <top (required)>'     from /Users/wolfgang/.rvm/gems/ruby-2.3.0/bin/mailcatcher:23:inload'
from /Users/wolfgang/.rvm/gems/ruby-2.3.0/bin/mailcatcher:23:in <main>'     from /Users/wolfgang/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:ineval'
from /Users/wolfgang/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in <main>' 533$ mailcatcher /Users/wolfgang/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:2158:inmethod_missing': undefined method this' for #<Gem::Specification:0x3fc387862c90 mailcatcher-0.6.5> (NoMethodError)     from /Users/wolfgang/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/specification.rb:1057:infind_active_stub_by_path'
from /Users/wolfgang/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:64:in require'     from /Users/wolfgang/.rvm/gems/ruby-2.3.0/gems/mailcatcher-0.6.5/bin/mailcatcher:3:in<top (required)>'
from /Users/wolfgang/.rvm/gems/ruby-2.3.0/bin/mailcatcher:23:in load'     from /Users/wolfgang/.rvm/gems/ruby-2.3.0/bin/mailcatcher:23:in'
from /Users/wolfgang/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in eval'     from /Users/wolfgang/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in'

@sysadm-prs-de was running into this same issue. Appears to be a bug in older versions of rubygems: https://github.com/rubygems/rubygems/issues/1420

Confirm. Is there any fix for that?

Please upgrade rubygems:
gem update --system


Readme documents highlight extension does not work correctly

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!
Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.
Category
[ ] Enhancement
[X] Bug
[ ] Question
Version
Please specify what version of the library you are using: [         ]
[Latest]
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
Expected / Desired Behavior / Question
Looks like were are breaking symbols in  readme files under guides or contributing:
https://pnp.github.io/sp-dev-fx-controls-react/guides/contributing/

I can work on this one @joaojmendes
Just wondering is extension used does not support "sh " and should be "bash"
change this:
# comment

to this:
# comment

In all documents which using "#" for commenting.
Thanks!

Hi @ValerasNarbutas,
Are you still interested into submitting a PR? 🙂

Hey, Sure @michaelmaillot, i can do it

i did forget this one :)
i will check it soon

@michaelmaillot added fixes.


removed extra p tag, upped version

removing this additional tag means that the login hamlet code is in the same vein as other yesod-auth providers (see e.g. https://github.com/thoughtbot/yesod-auth-oauth2/blob/1dcbb2dbc171021799ef3cb1469df0e1196a4e6d/Yesod/Auth/OAuth2.hs )
it's helpful for me to have them all the same, because they i don't need any special handling and i can just list them all and they're visually consistent.
feel free to ignore this PR if i'ts of no interest, but i'm at least using this version in my own code :)

Thanks. Have uploaded a new version.


Support for no_std

Add a feature for "std", then add #![no_std] at the crate root.
Now you conditionally compile certain pieces of code (like printing) under a #[cfg(feature = "std")], and enable the std feature by default for convenience. This way both std and no_std environments are supported

This will be available in the next release

version 0.4.0 no supports no_std as an option


Give instructions to user with zero possible completions

I would like to use the warn feature to give the user instructions even though there is no completion value that can be provided. The most simple case is an int argument. The value given to the argument could be already or not yet a valid int. But in either of those cases nothing can be completed, only a message can be given to help the user.
If I implement a completer that returns nothing, a double tab shows the warn message that I want but it also shows the files in the current directory which I don't want. I can overcome this by returning two completions just to print as message, but this is not a great solution since it is giving completion options that shouldn't be completed. Is there a way that the completer can indicate there are no completions available so it shouldn't use the fallback completer?
Furthermore, using the two completions workaround I have observed an issue which I am not sure if it is a bug. The example code is:
#!/usr/bin/env python3

import os
import argparse
import argcomplete

def completer(*args, prefix, **kwargs):
    if chr(int(os.environ['COMP_TYPE'])) == '?':
        try:
            int(prefix)
            msg = 'value already valid, expected type int'
        except:
            msg = 'value not yet valid, expected type int'
        argcomplete.warn(msg)
    return ['continue', 'please']

parser = argparse.ArgumentParser()
parser.add_argument('--val', type=int).completer = completer
argcomplete.autocomplete(parser)

If I double tab when the argument is given, but not yet a value, it works as expected printing the message and then restoring the prompt and command written, see below where the black rectangle (▮) indicates where cursor ends up:
$ prog --val=<TAB><TAB>
 value not yet valid, expected type int

continue  please
$ prog1 --val=▮

However, if a value is given, after double tab the prompt and command are not restored, which give a very bad user experience, see below again with the black rectangle (▮) indicating the cursor:
$ prog1 --val=1<TAB><TAB>
 value already valid, expected type int
▮

Is this a bug, or is there a way to achieve what I want?

This isn't a bug. In the first case, Bash is displaying the completions you supplied, and then redrawing the prompt. In the second case, Bash has determined that neither of your completions are valid (because they don't start with '1') and so does not bother to print anything or redraw the prompt. The important thing to note is that in both cases, Bash is unaware that you printed anything to the console; it only redraws the prompt when it thinks it needs to.
It's possible you could modify your wrapper to print the prompt yourself (e.g. like this) however I don't expect it will be simple and I doubt we'd want to add this functionality to argcomplete itself.
Displaying files when no matches are generated is a side effect of #284. You'd have to use the --complete-arguments option to register-python-argcomplete to override this.

@evanunderscore thank you very much for the response. It is very informative.

It's possible you could modify your wrapper to print the prompt yourself (e.g. like this) however I don't expect it will be simple and I doubt we'd want to add this functionality to argcomplete itself.

I looked at the link, did a test and it works perfectly. And it is very simple, a single line of python code. Though a single line installing the psutil package, which just for this would be a waste. The psutil package could be avoided if argcomplete provides the process id of the shell, which I assume wouldn't be difficult either. Could you please explain further the reasons why you wouldn't want to add this to argcomplete. To me it seems like a reasonable feature to have.

My main hesitation is that the intention is primarily intended to integrate with Bash completion rather than extend it. I was assuming the implementation would be complex, but if it isn't then perhaps there is no harm. If you already have a solution ready, feel free to raise a PR and we can discuss from there.

Sure I will look into creating a pull request. I could have this as part of my code. But it would be much better if it becomes part of argcomplete so that it benefits other people.

Just to give you a bit of more context. I am working on an extension of argparse and the idea is that argcomplete will work out of the box. No need to call argcomplete.autocomplete or implement or assign completer functions to added arguments unless some special behavior is wanted.
For you to try what I have been working on, install pip install "jsonargparse[signatures,argcomplete]==3.0.0rc3". Then an example command line tool would be:
#!/usr/bin/env python3

from enum import Enum
from typing import Optional, Dict
from jsonargparse import ArgumentParser, ActionConfigFile
from jsonargparse.typing import PositiveFloat, Email

class MyEnum(Enum):
    abc = 1
    xyz = 2

parser = ArgumentParser()
parser.add_argument('--config', action=ActionConfigFile)
parser.add_argument('--bool', type=Optional[bool])
parser.add_argument('--float', type=Optional[float])
parser.add_argument('--int', type=int)
parser.add_argument('--positive', type=PositiveFloat)
parser.add_argument('--email', type=Email)
parser.add_argument('--dict', type=Dict[str, int])
parser.add_argument('--enum', type=Optional[MyEnum])

parser.parse_args()  # argcomplete.autocomplete called inside

With this the completion (hopefully) already works as:
$ ./example.py --bool=<TAB>
false  null   true
$ ./example.py --bool=f<TAB>
$ ./example.py --bool=false
$ ./example.py --int=
 value not yet valid, expected type int
$ ./example.py --int=1
 value already valid, expected type int
$ ./example.py --dict=
 value not yet valid, expected type Dict[str, int]
$ ./example.py --dict='{"v":
 value not yet valid, expected type Dict[str, int]
$ ./example.py --dict='{"v": 1}'
 value already valid, expected type Dict[str, int]

I didn't want to add psutil as new so for now this only works on linux and I guess also on mac. You can see the relevant code in jsonargparse/optionals.py#L129-L139

The argcomplete_warn_redraw_prompt function is kind of a hack. If this were to be integrated into argcomplete it would be different. First the process id could be provided for example in an environment variable _ARGCOMPLETE_SHELL_PID. Then implement a way to print message and redraw the prompt which would use the env var. Finally have the possibility that a completer not return any completions while not falling back to the bash completer.


allow encoding of pl array

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.27%. Comparing base (df41f1d) to head (ec1fa61).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #546   +/-   ##
========================================
  Coverage    90.27%   90.27%
========================================
  Files          148      148
  Lines        10857    10857
  Branches       511      511
========================================
  Hits          9801     9801
  Misses         892      892
  Partials       164      164

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


View not loaded and not firing State change handlers to update the view with new state

Issue Details
Type of Issue  (check one with "X")
[x] Bug Report => Please search GitHub for a similar issue or PR before submitting
[ ] Feature Request => Please ensure feature is not already in progress
[ ] Support Request => Please do not submit support requests here, instead see: https://discourse.oss.antheminc.com/

Current Behavior:
View not updated through the State Change handlers are evaluated onload of view
Expected Behavior:
View should load and it should fire State change handlers and update the view with new state.
How to Reproduce the Issue:
Create a view root. Create a param at view root level with LabelConditional (as example) and set the state from Section Initialize. The LabelConditional has to be evaluated and view must be updated.
Steps to Reproduce:
Create a view root. Create a param at view root level with LabelConditional (as example) and set the state from Section Initialize. The LabelConditional has to be evaluated and view must be updated.
Code Snippet:
Environment Details
• Nimbus Version: 1.3.1.M4
• Browser: Chrome

Available in 1.3.1.M7

Fix is working as expected


Fix iGEMM wrw v4r4 tuning failure on gfx908

This PR fix iGEMM wrw v4r4 tuning failure on gfx908, origin from #598
Change:
Add spare to wrw v4r4 solver

What does this fix that #601 doesn't fix?

@ltqin

This PR fix iGEMM wrw v4r4 tuning failure on gfx908, origin from #598

Could you please denote (provide URL) the specific review comment (from #598) that you would like to resolve by this PR? Thanks.

Good and clear PR descriptions save reviewers' time.

@asleepzzz When open a PR that fixes an issue, please add some description what is the issue and the solution.

@asleepzzz When open a PR that fixes an issue, please add some description what is the issue and the solution.

ok

All CI tests passed, ready to merge!


"UnityEngine.AsyncOperation not awaitable"

Hello, I'm having an issue awaiting the AsyncOperation from UnityWebRequest:
var req = new UnityWebRequest(someUrl);
await req.Send();

Is there a way to await a UnityEngine.AsyncOperation object?
Thanks!
(And thanks for this project, its pretty handy!)

Hello
Thank you for your feedback.
I tested code below. And It worked.
var req = new UnityWebRequest("https://google.com");
req.downloadHandler = new DownloadHandlerBuffer();
AsyncOperation asyncOperation = await req.Send();

Debug.Log(asyncOperation.progress);
Debug.Log(req.downloadHandler.text);

Could you update the library? You might use out-of-updated version.
If it can not solve the problem, then please give me error messages.
Thank you.

My version was out of date. Also it looks like it might also be an issue with Jetbrains Rider. I can get it to compile now, but the editor still reports that error.
👍


[ServiceBus] fix bug in session id being empty string and partition key fails to parse empty string

/azp run python - servicebus - tests


[Feature]: For database TAP's expose access to the array_size for speed

Feature scope
Taps (catalog, state, stream maps, etc.)
Description
Extracts in most database taps retrieve the data record by record. Most database clients allow data to be retrieved in batches by setting parameters like an array_size or fetch_many as part of cursor fetch.
By exposing this ability to set an array size we have doubled the throughput of data extracted, especially when it is accessed over the WAN.
This request is seeing whether there is an ability with the database side of the SDK to expose the ability to access fetching more than one record if this feature is enabled. Having this setting would really speed up database-based taps.
An example of this working with a legacy tap pipelinewise-tap-mssql is here, this commit shows an example of fetchmany equivalent of an arraysize being exposed.
https://github.com/s7clarke10/pipelinewise-tap-mssql/commit/673cc9e471f02de7cefb37f4179e9dc478e71ea4
We have pushed this feature onto the database taps we use, tap-db2, tap-mssql, tap-sybase, and tap-oracle. No doubt there will be a push to re-write these at some stage with the SDK, it would be nice if this feature was available so thought I would share this idea.

This following website discuss the use of best practices for large extracts and using the Arraysize or FetchMany with cursors.
https://www.ibm.com/docs/en/watson-studio-local/1.2.3?topic=practices-access-large-data
https://cx-oracle.readthedocs.io/en/latest/user_guide/tuning.html
https://pythonhosted.org/pymssql/ref/pymssql.html?highlight=fetchmany#pymssql.Cursor.fetchmany

Still relevant and https://github.com/meltano/sdk/labels/Accepting Pull Requests


[TEST] Create a testing guidance for feature/regression testing

What's the test to develop? Please describe
Usually, QA will rely on the test cases provided by engineering to do the feature testing or bug regression testing. However, it's the potential to ignore unhappy paths.
We should provide a non-programming framework or guidance to let QA members follow up on how to test a new feature or regression bug, not only rely on the test cases provided by engineering but also base on them and cover possible unhappy paths, especially involuntary factors/events like network partition, node reboot, node deletion, kubelet restart, etc. The framework and guidance can be like a cheat sheet.
Describe the items of the test development (DoD, definition of done) you'd like

[ ] Create a cheat sheet/framework/guidance doc for QA to guide them on how to test a feature or bug regression.

Additional context
A good example when testing online volume expansion, https://github.com/longhorn/longhorn/issues/1674#issuecomment-1366969645
cc @longhorn/qa

The doc is added https://github.com/longhorn/longhorn-tests/blob/master/qa_docs/testing_guidance.md

The doc is added https://github.com/longhorn/longhorn-tests/blob/master/qa_docs/testing_guidance.md

cc @longhorn/qa


Broken Link for API Development Recommendations

This page links to https://www.tensorflow.org/customize, which doesn't exist.
("We encourage the community to develop and maintain support for other languages with the approach recommended by the TensorFlow maintainers.")

I believe that https://www.tensorflow.org/customize is no longer existed in https://www.tensorflow.org/community/contribute/docs.
I wrote the snippet below to check in Developer console and nothing has been printed out. Maybe the problem has been fixed?
var anchors = document.getElementsByTagName('a')
for (let i = 0; i < anchors.length; i++) {
  let href_attr = anchors[i].getAttribute('href')
  if (href_attr) {
    let s = href_attr.search('customize')
    if (s >= 0) {
      console.log(`href_attr: ${href_attr}`)
      console.log(anchors[i])
    }
  }
}

@kfrncs,
In this link, https://www.tensorflow.org/customize is not available. Could you please provide the exact position of the broken link. Thanks!

It looks as though it's already fixed. I can't find the part I was referring to, so I guess whatever restructuring is done now.

@kfrncs, Glad it fixed.
Closing this issue. Please feel free to reopen if the issue still persists. Thanks!


x/vuln: govulncheck v1.0.2 doesn't support workspaces anymore

in a repo with a go.work file:
$ go install<EMAIL_ADDRESS>&& govulncheck ./...
govulncheck: loading modules: /usr/local/go/bin/go list -m -json -mod=mod all: exit status 1
go: -mod may only be set to readonly when in workspace mode, but it is set to "mod"
        Remove the -mod flag to use the default readonly value,
        or set GOWORK=off to disable workspace mode.

might be since this change https://go.googlesource.com/vuln/+/61b4508dba3bfb2ddc378c5f84bedfa3a544b0b7^!/internal/vulncheck/packages.go
v1.0.1 does not have this problem.
might be related to #65124

Yes, this seems related. We are working on it.

I've put a repro in my duplicate #65155 if it helps - any workaround meanwhile? [well I guess I can pin my action to 1.0.1 instead of latest]

We just merged a hotfix for folks with a go.work file - would you both be able to recreate the same steps with go install golang.org/x/vuln/cmd/govulncheck@master instead of @latest?
A proper/cleaner fix which will also address those using vendor directories will be merged and a new version with the fixes will be tagged and released by Monday.

current master works, thank you very much

@ldemailly apologies for the delay - 1.0.3 is being tagged currently and we expect it to be released today/tomorrow.

v1.0.3 tag is available now.


fix null type issue and refactor test code

For filter expressions, omnisci will generate code based on input expr info, see CompareIR.cpp L471. And we will set some column to true which means it's don't contains null value.

@Intel-bigdata/bdf-cider-engine @yma11 Please take a review.

I see you didn't use PartitionedOutputNode in planBuilder(), so you also changed the CiderExecutionUnitGenerator::transformPlan() to make this work?

I see you didn't use PartitionedOutputNode in planBuilder(), so you also changed the CiderExecutionUnitGenerator::transformPlan() to make this work?

Yes, see previous PR.

I see. For your null type issue, I will revert your change by fixing it in another way. Overall LGTM. :)


Multiplatform markdown parsing library

Hey folks.
As I see this project pretends to be multiplatform. So what do you think about switching from jvm-only parsing library to a multiplatform one? https://github.com/JetBrains/markdown
Or maybe support both of them?

if it works I'll use it. I like how this is set up, but of course i just hit the multiplatform wall.


Removing Package -> Augeas ordering

Would a pull request to optionally disable Package['ruby-augeas', $augeas::params::augeas_pkgs] -> Augeas <| |> be considered?  I maintain a module that manages CentOS yum repos, https://github.com/treydock/repo_centos/tree/4.x, and recently moved all the resources from Yumrepo to Augeas to avoid annoying Puppet bugs not fixed till 4.x with regard to Yumrepo.  My puppet masters use camptocamp/puppetserver which ends up requiring this module.  This is the error I'm getting:
Error: Could not apply complete catalog: Found 1 dependency cycle:
(Augeas[centos-base] => Class[Repo_centos::Base] => Stage[repo_centos] => Stage[main] => Class[Augeas::Packages] => Package[augeas] => Augeas[centos-base])

I basically put the repo_centos code in a Stage before main, to ensure packages aren't installed from the wrong repository.
If such a pull request would be considered, any preference on how to name the parameter?

Actually, this relationship is not even needed with Puppet AIO.


Help and examples

missing. Workflow is documented  in arduino-cli, but not here. Thank you

Hello,
I'm not sure what is expected with this issue.
The API documentation is available here https://renaud11232.github.io/pyduinocli/

Here I found a nice article:
https://www.tinkerassist.com/blog/compile-upload-arduino-code-with-python

Hello,
I'm not sure what is expected with this issue. The API documentation is available here https://renaud11232.github.io/pyduinocli/

I think it hopes own can launch a doc including some examples, like some workflow to achieve some goals with the help of some APIs.

Hello,
I'm not sure what is expected with this issue. The API documentation is available here https://renaud11232.github.io/pyduinocli/

For example, my current task is to modify an existing .ino file and upload this to the targeted board and targeted port. how to achieve this workflow in python with this package
best regards


Using uuid.UUID with PotgreSQL's UUID

I have a model using PostgreSQL's UUID:
from sqlalchemy.dialects import postgresql

class MyModel(Base):
    __tablename__ = 'my-model'

    some_id = Column(postgresql.UUID(as_uuid=True), nullable=False)

SQLAlchemy lets me create instances as follows:
import uuid

a_uuid = uuid.uuid4()

MyModel(some_id=a_uuid)
MyModel(some_id=str(a_uuid))

However, the stubs here seem to only accept the latter, not the former:
error: Incompatible type for "some_id" of "MyModel" (got "UUID", expected "str")

Could support for the former be added?
(I tested with sqlalchemy-stubs master)

@ilevkivskyi any idea how to approach this? SQLAlchemy uses this pattern all over the place, where the type depends on the passed arguments (eg. Numeric.as_decimal(), Enum, UUID). I guess a plugin will be needed to handle it.

i also suffer from this issue.
is there a way to explicitly override the type that sqlalchemy-stubs infers for a column? that would at least avoid the false positives, at the (small) cost of putting an explicit type annotation in place.
i tried using annotations like  sqlalchemy.Column[uuid.UUID]  and sqlalchemy.types.TypeEngine[uuid.UUID] (also in string form) but  no luck...

it seems the following does the trick.
at the module level:
import sqlalchemy.dialects.postgresql

# https://github.com/dropbox/sqlalchemy-stubs/issues/94
_PostgreSQLUUID = sqlalchemy.dialects.postgresql.UUID(as_uuid=True)
if TYPE_CHECKING:
    PostgreSQLUUID = cast(sqlalchemy.types.TypeEngine[uuid.UUID], _PostgreSQLUUID)
else:
    PostgreSQLUUID = _PostgreSQLUUID

use in orm model classes then looks like this:
class Foo(Base):
    id = sqlalchemy.Column(PostgreSQLUUID, default=uuid.uuid4, primary_key=True)

@wbolster Looks like you answered your own question. I think you can also just use # type: ignore on the definition with the explicit annotation. Also I think your way can be simplified to:
if TYPE_CHECKING:
    PostgreSQLUUID = sqlalchemy.types.TypeEngine[uuid.UUID]
else:
    PostgreSQLUUID = sqlalchemy.dialects.postgresql.UUID(as_uuid=True)

hmm, not sure.

reassigning to the same name with a different type will trigger another mypy error
ignoring errors on the line defining the column does not suppress the errors elsewhere when constructing instances

ignoring errors on the line defining the column does not suppress the errors elsewhere when constructing instances

This seems wrong, can you give an example?

if TYPE_CHECKING:
    PostgreSQLUUID = sqlalchemy.types.TypeEngine[uuid.UUID]
else:
    PostgreSQLUUID = sqlalchemy.dialects.postgresql.UUID(as_uuid=True)

Could someone explain this workaround? The runtime value is obvious, but even after reading the source for TypeEngine, I can't tell what TypeEngine[uuid.UUID] is. It works for my codebase, but I'd like to be able to document what this is doing and why it satisfies mypy.

try reveal_type(some_column) on a non-uuid column and observe the mypy output.
the type engine "trick" basically tells the sqlalchemy mypy plugin that this is a column that deals with uuid.UUID objects.

reveal_type is handy, but I mean that I don't understand how sqlalchemy.types.TypeEngine[uuid.UUID] produces a Column[UUID*]. As far as I can tell, TypeEngine doesn't even support subscripting. So is this some magic hint to sqlmypy?
(By the way, thanks for sharing the workaround!)

this is an update to my solution posted earlier. the good news is that things can be simplified. :partying_face:
the ‘if TYPE_CHECKING’ block and the double definitions workarounds using redefinitions can be avoided altogether by using a string literal for the type annotation (since the types are generic in stubs but not at runtime).
here's a full example; the :mage: trick here is the PostgreSQLUUID definition which can be used as the type for sqlalchemy.Column(...).
from typing import cast

import sqlalchemy
import sqlalchemy.dialects.postgresql
import sqlalchemy.ext.declarative

PostgreSQLUUID = cast(
    "sqlalchemy.types.TypeEngine[uuid.UUID]",
    sqlalchemy.dialects.postgresql.UUID(as_uuid=True),
)

metadata = sqlalchemy.MetaData()
Base = sqlalchemy.ext.declarative.declarative_base(metadata=metadata)

class SomeClass(Base):
    id = sqlalchemy.Column(PostgreSQLUUID, default=uuid.uuid4, primary_key=True)
    ... # other columns go here

it can even be made more strict by using a NewType for a specific class-specific id type:
from typing import NewType

FooId = NewType("FooId", uuid.UUID)
PostgreSQLFooId = cast("sqlalchemy.types.TypeEngine[FooId]", PostgreSQLUUID)

class Foo(Base):
    id = sqlalchemy.Column(PostgreSQLFooId, default=uuid.uuid4, primary_key=True)

usage example:
obj = session.query(Foo).one()
reveal_type(obj.id)  # FooID, not uuid.UUID

The most ergonomic way to do this (although not in libraries, strictly in your own project code) is just to monkey-patch classes to add runtime support for Class[] syntax. This is what django-stubs project is doing internally for QuerySet and Manager: https://github.com/typeddjango/django-stubs/blob/master/mypy_django_plugin/django/context.py#L60

Hey there! Thanks a lot for the workaround, works great ... except when the column is defined in a base class or mixin (typical case: id on every model defined in a BaseModel)
Any idea how to work around that?


Fix mark message from notification

@ishpaul777
Details

Fix chat item not marked as read when clicked from desktop notification
Fixed Issues

$ https://github.com/Expensify/App/issues/34829
PROPOSAL: https://github.com/Expensify/App/issues/34829#issuecomment-2062877532
Tests

Open Access App
Login as User A
From the second device with account of User B sent a message to User A
User A received Notification
Wait until Notification goes to the Notification center
Open Notification center and click on this received notification
Verify chat item being marked after the chat opened

[!important]
In Development, mWeb and Native do not show notifications, we can only ensure the chat is marked as read after being opened (Step 6-7)

[x] Verify that no errors appear in the JS console

Offline tests

Same as Test
QA Steps

Same as Test

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome
https://github.com/Expensify/App/assets/11847279/f41da410-cf02-47d6-84de-aa231358d6e6

iOS: Native
https://github.com/Expensify/App/assets/11847279/7e588338-20bf-4f79-bbaf-83e8a32eb910

iOS: mWeb Safari
https://github.com/Expensify/App/assets/11847279/85c7db0d-efad-4d10-b91f-996eafc4ffaf

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/11847279/5dcf2755-fe2c-47a5-9f92-73c68886e915

MacOS: Desktop
https://github.com/Expensify/App/assets/11847279/25f86a9a-61cd-4c77-93b2-c6ef5fe0ed72

LGTM, going to hold until merge freeze is over though.

@blimpich where can we track if the merge freeze is over? Or is there an ETA?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/blimpich in version: 1.4.74-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

#34829 is still repro in iOS
https://platform.applause.com/services/links/v1/external/3721dcd6cea5badccfaf86de54e7a6dbcefa20e00257c0048d4529cfb2e9d73a

@kavimuru agree with @ishpaul777.

Does it also occur on Android?
The same solution might work for iOS by adding this iOS-specific code, but I'm not sure how to test the native notification in development.
src/libs/actions/navigateFromNotification/index.ios.ts
import Navigation from '@libs/Navigation/Navigation';
import CONST from '@src/CONST';
import ROUTES from '@src/ROUTES';

const navigateFromNotification = (reportID: string) => {
    Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(reportID, undefined, CONST.REFERRER.NOTIFICATION));
};

export default navigateFromNotification;

I will ask the tester to test in android too who got the fail result in iOS. Android was tester by another tester.

Checking off this issue in the checklist since the solution here is specific to desktop. If the issue exists elsewhere please create an issue we can discuss specific solutions.

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.74-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


PROG_ARRAY should contain prog_id when read

https://hechao.li/2019/03/19/Use-Map-in-Map-in-BPF-programs-via-Libbpf/ explains that the value size of the outer map must always be sizeof(uint32_t).  The same is true for BPF_MAP_TYPE_PROG_ARRAY. The value for prog array is a prog id, and the value for HASH_OF_MAPS and ARRAY_OF_MAPS is a map id. And those ids are usable with libbpf apis like:
LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
LIBBPF_API int bpf_map_get_fd_by_id(__u32 id);

So the application can turn them into fds for the prog and map, respectively.

Libbpf also has these APIs:
LIBBPF_API int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id);
LIBBPF_API int bpf_map_get_next_id(__u32 start_id, __u32 *next_id);
LIBBPF_API int bpf_link_get_next_id(__u32 start_id, __u32 *next_id);


Task7

Issue:#216

Hey @Snehalgupta-07
Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.
Thanks for contributing in OpenCode'24 ✨✨!


fixed broken PKGBUILD

closes #205
tested, and confirmed that it builds properly with this patch.
AUR pkg guidelines say that you should increment the 'pkgrel' number in the PKGBUILD whenever you apply a fix - but I'm not sure if that would interfere with your CI pipeline!
credit goes to lamelos on the AUR forums!

Thanks. I'll try to do a manual push bypassing the CI pipeline with the pkgrel change.

Thanks again for the PR. By the way, I believe your git commit email is not registered to your GitHub account. In the GitHub log this does not link to your account:

Thanks again for the PR. By the way, I believe your git commit email is not registered to your GitHub account. In the GitHub log this does not link to your account:

ahh thanks for letting me know. time to go play with git, yay!


Segfault in AGProxyFilter::processHttpResponseBody

#00: 0000adb8 /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libio_utils.so (CrashHandler::runCrashHandler(int)+16c)
#01: 00002ef8 /system/bin/app_process64 ?
#02: 000006a0 [vdso] (__kernel_rt_sigreturn+0)
#03: 000f9168 /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libadguard-core.so (AGProxyFilter::processHttpResponseBody(char const*, unsigned long, bool, AGProxyFilterContext&, std::__ndk1::function<void (AGProxyFilterResult)> const&)) /opt/TeamCity/buildAgent/work/49b0f8b02983bc84/proxy/filter/src/AGProxyFilter.cpp:729
#04: 000f1824 /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libadguard-core.so (AGProxySession::processResponseBody(char const*, unsigned long, int, std::__ndk1::function<void (char const*, unsigned long, bool)> const&, bool)) /opt/TeamCity/buildAgent/work/49b0f8b02983bc84/proxy/main/src/AGProxySession.cpp:1581
#05: 000f23e8 /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libadguard-core.so (AGProxySession::onHttpDataFinished(AGHttpSession*, int)) /opt/TeamCity/buildAgent/work/49b0f8b02983bc84/proxy/main/src/AGProxySession.cpp:1301
#06: 001639cc /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libadguard-core.so (on_data_finished(void*, int)) /opt/TeamCity/buildAgent/work/49b0f8b02983bc84/proxy/http/src/AGHttpSession.cpp:32
#07: 0016ccf4 /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libadguard-core.so (http_parser_on_message_complete) /opt/TeamCity/buildAgent/work/49b0f8b02983bc84/proxy/http/src/http1.c:227
#08: 00169938 /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libadguard-core.so (http_parser_execute) /opt/TeamCity/buildAgent/work/49b0f8b02983bc84/third-party/http-parser/http_parser.c:1908
#09: 0016cf90 /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libadguard-core.so (http1_session_input) /opt/TeamCity/buildAgent/work/49b0f8b02983bc84/proxy/http/src/http1.c:318
#10: 000ec6fc /data/app/com.adguard.android-y9CwfcT5R23wS04PIBENdA==/lib/arm64/libadguard-core.so (AGProxySession::processDataFromRemote(char const*, unsigned long)) /opt/TeamCity/buildAgent/work/49b0f8b02983bc84/proxy/main/src/AGProxySession.cpp:457

Seems that ctxBody may be null

core/pull-requests/487

Seems to be very similar problem https://sentry.adguard.com/adg/adguard-windows/issues/23521

And this one can be related too - https://sentry.adguard.com/adg/adguard-windows/issues/23484


Stripe Apple Pay not found

Platform

[ ] Web
[x] iOS
[ ] Android

Unable to find Stripe apple pay 23.0.0 in 4.1.0 version
issue due to the following commit had to get back in 4.0.0 ver
https://github.com/capacitor-community/stripe/commit/91c10fb6e6ef2a0fda255006338cce827b1f284d

@Aksoom-Hussain Did you try to run npx cap update , or pod install and pod update command?
This is a Pod issue, not a plugin issue.

i update to the latest version now it work fine, as for now i face small DX issue in iOS every build i need to select the certificates of 6 stripe package which is really irritation earlier it was 4, is there any hack to this repetitive step


Resolve ID returning in variant Selector.

variantSelector is expecting to return string, but default function also collecting variantId to distinguish variants in cart.


feat: enable direct building of levelcache stores

@dignifiedquire If this is urgent, it works and can be merged. Otherwise, I plan to add more tests and cleanups, etc.  Let me know if this PR should also include the removal of the v1/v2 compaction, etc as well like we discussed.  As-is, everything is backward compatible in terms of levelcache usage.

@cryptonemo if we want to make breaking changes in that front, we should get them in soon, likely sometime this week. No rush on getting this merged

@dignifiedquire Not sure if this is what you're saying or opposing, but at this point, I think it's better to merge this separately, since it could be integrated/tested in rust-fil-proofs over time without impacting much else.  At some later point when that later work is merged and compaction is no longer used, it makes sense to rip that all out then.

Thanks, I'll merge this shortly. In the meantime, I've started testing out the integration and want to make sure all is well first.  It's coming together, but quite there yet.  At the moment, I don't anticipate changes required here.  Just being cautious ;-)


amplify init gives AccessDenied error

Issue: Running amplify init gives ⠼ Initializing your environment: dev(node:44978) UnhandledPromiseRejectionWarning: AccessDenied: Access Denied
Notes:

Tried separately on multiple local directories by cloning the repo again. Error persists.
With the same amplify credentials, amplify init runs successfully on another project's repository on the same local machine.

Versions:
$ amplify -v
4.6.0
$ node -v
v10.16.0
Steps to reproduce:
<project_root> $ aws-adfs login --adfs-host <hostname> --profile <profile name> --region ap-southeast-2 --role-arn <arn>
[authenticator authenticator.py:authenticate] [44892-MainProcess] [4414887360-MainThread] - ERROR: Cannot extract saml assertion. Re-authentication needed?
Password:
Enter your Symantec VIP Access code:
Going for aws roles
    Prepared ADFS configuration as follows:
        * AWS CLI profile                   : <profile name>
        * AWS region                        : 'ap-southeast-2'
        * Output format                     : 'json'
        * SSL verification of ADFS Server   : 'ENABLED'
        * Selected role_arn                 : <arn>
        * ADFS Server                       : <host name>
        * ADFS Session Duration in seconds  : '3600'
        * Provider ID                       : 'urn:amazon:webservices'
        * S3 Signature Version              : 'None'
        * STS Session Duration in seconds   : '3600'
        * SSPI:                             : 'False'
        * U2F and default method            : 'True'

$ aws --profile <profile name> sts get-caller-identity
{
"Account": <account name>,
"UserId": <user id>,
"Arn": <arn>
}
 $ amplify init
Note: It is recommended to run this command from the root of your app directory
? Do you want to use an existing environment? Yes
? Choose the environment you would like to use: dev
? Choose your default editor: Visual Studio Code
Using default provider  awscloudformation
For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html
? Do you want to use an AWS profile? Yes
? Please choose the profile you want to use
⠼ Initializing your environment: dev(node:44978) UnhandledPromiseRejectionWarning: AccessDenied: Access Denied
at Request.extractError (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/services/s3.js:816:35)
at Request.callListeners (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request. (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:38:9)
at Request. (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:685:12)
at Request.callListeners (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
(node:44978) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:44978) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
⠇

@niranjanshukla Looks like the AWS creds you have associated with your profile on your machine doesn't have access to the account where the dev environment was originally initialized. To cross-check this, check your "amplify/team-provider-info.json` file and for that environment check the AppID and see if you can locate that in your AWS Amplify console - for the same account for which you have your pfile configured for.

@kaustavghosh06  This is how my amplify/team-provider-info.json looks like:
{
"dev": {
"awscloudformation": {
"AuthRoleName": <auth role>
"UnauthRoleArn": <arn>
"AuthRoleArn": <authRoleArn>
"Region": "ap-southeast-2",
"DeploymentBucketName": <bucket name>,
"UnauthRoleName": <Unauth role name>,
"StackName": <stack name>,
"StackId": <stack ID>
},
"categories": {
"auth": {
<is this field the app ID ?>: {
"googleAppIdUserPool": <google app ID user Pool>,
"googleAppSecretUserPool": <google app ID secret>,
"hostedUIProviderCreds": "[{"ProviderName":"Google","client_id": <client ID>,"client_secret":<client secret>}]"
}
}
}
}
}
Could you please point to the app ID field I should cross check in this configuration (I have highlighted a possible field)? Also, where in AWS Amplify Console can I find the required App ID?

Additional input -- when I log into the AWS Amplify console to see the apps I have access to, I get the below error
List apps call failed
User: <arn> is not authorized to perform: amplify:ListApps on resource: arn:aws:amplify:ap-southeast-2:<code>:apps/*

Is this access permission related to the AccessDenied error above?

Upon checking with the AWS admin team, the configuration in amplify/team-provider-info.json was fixed. That resolves the issue.
This issue may be closed.

check ~/.aws/credentials
amplify uses default provider by default.

I am facing the same issue, any clues?
amplify -v
4.40.0
node -v
v10.21.0
MacOs
Error:
User: arn:aws:iam::XXXX:user/ABC is not authorized to perform: amplify:ListApps on resource: arn:aws:amplify:ap-southeast-1:XXX:apps/* with an explicit deny


Question: can't get the language tabs to work right. all code shows up on all tabs. looked like it was fixed but has it been?

If this is a question or feature request, make sure to:

[ ] The title starts with Question: or Feature:.

If this is an bug report, not a question, make sure to:

[ ] I'm not running Windows (which is unsupported), or if I am, I can confirm this issue appears on another platform, or Vagrant.
[ ] This issue appears in the latest dev branch.
[ ] I've included my browser and Ruby version in this issue.

Try the dev branch?

Closing due to inactivity, feel free to reopen if you're still having problems!


problem in run app

hi, I have a problem, when I run the app, the compiler get an error in this line of fontAwesome.swift : "let data = NSData(contentsOfURL: fontURL!)!"
i think this error happen for link of font and class, isn't it?

@omidkh68 Check out the second step in this post: http://codewithchris.com/common-mistakes-with-adding-custom-fonts-to-your-ios-app/#doublechecktarget

@habitatus  thank you so much,exactly this is my problem!

Thank you, I had this problem as well.

In latest version (as of writing, 0.4.2), you don't need to do any extra step. It just works!


Implement two-factor authentication season

Rabbit season

Failed Test
Failure Summary
Logs

[chromium] should display user profile information correctly.

Logs ↗

Test$1RateLimitExceeded

Logs ↗

Test$1ResourceNotFound

Logs ↗

Flaky Test
Failure Summary
Logs

---
---
---

[chromium] should return list of users correctly.

Logs ↗

[chromium] should display error message for invalid login correctly.

Logs ↗

[chromium] should login with credentials correctly correctly.

Logs ↗

View Full Report ↗ ⋅ Docs


[api management tool] fix "main" entry in package.json

This change is the result of running build. Looks the current path is incorrect
as the CJS build output is under ./dist/commonjs

API change check
API changes are not detected in this pull request.


[BUG] Share managers for some volumes are crashing after startup

Describe the bug (🐛 if you encounter this issue)
I have a RWX volume, share manager for it is crashing right after start.
time="2023-10-28T23:48:31Z" level=info msg="starting RLIMIT_NOFILE rlimit.Cur 1048576, rlimit.Max 1048576"
2023-10-28T23:48:31.253497482Z time="2023-10-28T23:48:31Z" level=info msg="Ending RLIMIT_NOFILE rlimit.Cur 1048576, rlimit.Max 1048576"
2023-10-28T23:48:31.253930725Z time="2023-10-28T23:48:31Z" level=info msg="Listening on share manager gRPC server :9600" func=cmd.start.func2 file="server.go:106"
2023-10-28T23:48:31.297753616Z time="2023-10-28T23:48:31Z" level=debug msg="Volume pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec device /dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec contains filesystem of format " encrypted=false volume=pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec
2023-10-28T23:48:31.533997122Z I1028 23:48:31.533877       1 mount_linux.go:449] Disk "/dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec" appears to be unformatted, attempting to format as type: "ext4" with options: [-F -m0 /dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec]
2023-10-28T23:48:31.535719442Z E1028 23:48:31.535630       1 mount_linux.go:455] format of disk "/dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec" failed: type:("ext4") target:("/export/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec") options:("defaults") errcode:(exit status 1) output:(mke2fs 1.46.4 (18-Aug-2021)
2023-10-28T23:48:31.535739460Z /dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec is apparently in use by the system; will not make a filesystem here!
2023-10-28T23:48:31.535742976Z )
2023-10-28T23:48:31.535846661Z time="2023-10-28T23:48:31Z" level=warning msg="Failed to mount volume" encrypted=false error="format of disk \"/dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec\" failed: type:(\"ext4\") target:(\"/export/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec\") options:(\"defaults\") errcode:(exit status 1) output:(mke2fs 1.46.4 (18-Aug-2021)\n/dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec is apparently in use by the system; will not make a filesystem here!\n) " volume=pvc-e3b87dd5-4f33-4e78-bfd1-40909b
fb3eec
2023-10-28T23:48:31.643563662Z W1028 23:48:31.643483       1 mount_helper_common.go:133] Warning: "/export/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec" is not a mountpoint, deleting
2023-10-28T23:48:31.649214179Z time="2023-10-28T23:48:31Z" level=debug msg="Device /dev/mapper/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec is not an active LUKS device" func=crypto.DeviceEncryptionStatus file="crypto.go:60" error="failed to run cryptsetup args: [status pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec] output:  error: exit status 4"
2023-10-28T23:48:31.649385430Z time="2023-10-28T23:48:31Z" level=fatal msg="Error running start command: format of disk \"/dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec\" failed: type:(\"ext4\") target:(\"/export/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec\") options:(\"defaults\") errcode:(exit status 1) output:(mke2fs 1.46.4 (18-Aug-2021)\n/dev/longhorn/pvc-e3b87dd5-4f33-4e78-bfd1-40909bfb3eec is apparently in use by the system; will not make a filesystem here!\n) ." func=cmd.ServerCmd.func1 file="server.go:72"

After removing and creating volume again it still crashes. Volume definition:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: data
spec:
  accessModes:
    - ReadWriteMany
  storageClassName: longhorn-duo
  resources:
    requests:
      storage: 5Gi

Longhorn-duo storageclass:
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: longhorn-duo
provisioner: driver.longhorn.io
allowVolumeExpansion: true
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
parameters:
  numberOfReplicas: "2"

To Reproduce
see above
Support bundle for troubleshooting

Environment

Longhorn version: v1.4.4
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): helm via argocd
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version:

Number of management node in the cluster: 2
Number of worker node in the cluster: the same two

Node config

OS type and version: Ubuntu 22.04 and Debian 11
Kernel version:
CPU per node: 4 threads and 8 threads
Memory per node: 32GB
Disk type(e.g. SSD/NVMe/HDD): nvme
Network bandwidth between the nodes: gigabit

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): baremetal
Number of Longhorn volumes in the cluster:

Additional context

Please check https://longhorn.io/kb/troubleshooting-volume-with-multipath/

It seems to have solved the problem.


[SvgIcon] Svg icon color prop

Closes #9269
I saw what was not progress this issue and make pr, sorry :(

@kale5in Try npm run docs:api to fix the CI issue.

@kale5in If you take a look at the argos details, this seems to have affect the color of some icons.

@mbrookes  Yes, i update svgicon demo by similarly Icon component for example:
Before

After

This screenshot  of Icon component

If its bad updates  i  remove this changes :)
Sorry its my first pr to the this library :)

@kale5in If you take a look at the argos details, this seems to have affect the color of some icons.

@mbrookes  Oh, i understand :) I check it.

@kale5in Great, thanks! I'll let one of the others give a second review before we merge.

@kale5in This is such a great first-time pull-request! Thanks a lot for making the implementation symmetric with the Icon.

@oliviertassinari  Thank you for feedback. I'm glad to help :)


Adding a max width on the header

Currently, the header does not have a max width so it keeps expanding on larger screens and that is not the behaviour we will expect from it.
Right now, I want to address this issue and give the header a max width of 1536 (i.e 2xl in tailwind)
Suggestions are welcomed
@chadstewart your input is also needed for the go-ahead of my idea is fine

Could you elaborate a bit more on this please? I'm not sure I understand exactly why this is an issue. Are you mentioning the component with the navbar or the component with the hero section?

 The site generally wasn't designed for those screen sizes honestly. What do you think @royanger and @TAKANOME-DEV?

Since the site was not designed for larger screens, I think the best thing to do is add a max-width (i don't know how many) and maybe combine it with the container class...

The container class in Tailwind is a series of max-width rules based on screen size, with a widest max-width of 1536px. See https://tailwindcss.com/docs/container.

The container class in Tailwind is a series of max-width rules based on screen size, with a widest max-width of 1536px. See https://tailwindcss.com/docs/container.

+1 for using the container class :sweat_smile:

Okay, so I can get behind making the changes but the design might look weird with a max width on larger screens. I'd say what we could do is open a branch and a PR and just experiment with adding either the max width to only the header vs. the entire app. From there, if it doesn't look too weird, then we can just rock with that or if it does then we can make a decision on how to move forward from there seeing exactly how the site looks. Just worried about the design looking weird with a max width honestly.

Sounds good :+1:


Unable to download videos from Udemy.

While trying to download videos from udemy. I get this error...
ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the late
st version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and incl
ude its complete output.
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 666, in extract_info
ie_result = ie.extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 316, in extract
return self._real_extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\udemy.py", line 147, in _real_extract
r'data-course-id="'', webpage, 'course id')
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 611, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are u
sing the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
Previously it was working fine...

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.
The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

E:\Course\BDD> youtube-dl -u<EMAIL_ADDRESS>-p password***** -v https://www.udemy.com/rubyonrails-bdd-rspec-capybara/learn/v4/content
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-v', u'https://www.udemy.com/rubyonrails-bdd-rspec-c
apybara/learn/v4/content']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.03.01
[debug] Python version 2.7.11 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in as<EMAIL_ADDRESS>[udemy:course] rubyonrails-bdd-rspec-capybara: Downloading webpage
[udemy:course] rubyonrails-bdd-rspec-capybara: Downloading course JSON
[udemy:course] 531360: Downloading course curriculum
[download] Downloading playlist: BDD with Ruby on Rails using RSpec 3 and Capybara
[udemy:course] playlist BDD with Ruby on Rails using RSpec 3 and Capybara: Collected 83 video ids (downloading 83 of the
m)
[download] Downloading video 1 of 83
[udemy] Downloading login popup
[udemy] 3431226: Downloading webpage
ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the late
st version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and incl
ude its complete output.
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 666, in extract_info
ie_result = ie.extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 316, in extract
return self._real_extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\udemy.py", line 147, in _real_extract
r'data-course-id="'', webpage, 'course id')
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 611, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are u
sing the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
Still i am having this issue... It was working properly till last version of udemy.. With the latest which was updated a day ago... I am having this issue...

Post the output of youtube-dl -u<EMAIL_ADDRESS>-p password***** -v --dump-pages https://www.udemy.com/rubyonrails-bdd-rspec-capybara/learn/v4/content.

R u sure...?? It is having 175+ pages of output.. even more than that... i am unable to save completely

It is 405 pages of output...

Check this... This is the error...
RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug

Post the output I've suggested. Without it it's impossible to debug the issue.

where can I post it? I cant attach a file here... And that big output is not sufficient in this box...

If you can provide your mail id I will send that document...

Use any pastebin or fileshare.

https://onedrive.live.com/redir?resid=F7C9B05834A7FB3B!137&authkey=!AHay2WgAQih9ECU&ithint=file%2Ctxt

Is that k or do need anything else?

Does https://www.udemy.com/java-tutorial/ work for you?

No I am unable to download..

Post verbose log.

PS E:\TestUdemy> youtube-dl -u<EMAIL_ADDRESS>-p password***** -v https://www.udemy.com/java-tutorial/
learn/v4/content
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-v', u'https://www.udemy.com/java-tutorial/learn/v4/
content']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.03.01
[debug] Python version 2.7.11 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in as<EMAIL_ADDRESS>[udemy:course] java-tutorial: Downloading webpage
[udemy:course] java-tutorial: Downloading course JSON
[udemy:course] 24823: Downloading course curriculum
[download] Downloading playlist: Java Tutorial for Complete Beginners
[udemy:course] playlist Java Tutorial for Complete Beginners: Collected 70 video ids (downloading 70 of them)
[download] Downloading video 1 of 70
[udemy] Downloading login popup
[udemy] 172757: Downloading webpage
ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the late
st version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and incl
ude its complete output.
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 666, in extract_info
ie_result = ie.extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 316, in extract
return self._real_extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\udemy.py", line 147, in _real_extract
r'data-course-id="'', webpage, 'course id')
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 611, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are u
sing the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.

Looks like udemy serves you a webpage of different layout. What's your location?

India... Telanga... If you don't mind.. Can you share the link from where you can download?

Telangana..

Try using some proxy with --proxy.

Tried.. No use...

Post verbose log.

PS C:\aulinha> youtube-dl -u<EMAIL_ADDRESS>-p pass**** -v --verbose "" https://www.udemy.com/curso-completo-desenvolvedor-android/learn
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-v', u'--verbose', u'https://www.udemy.com/curso-com
pleto-desenvolvedor-android/learn']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.03.06
[debug] Python version 2.7.11 - Windows-7-6.1.7600-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in as<EMAIL_ADDRESS>[udemy:course] curso-completo-desenvolvedor-android: Downloading webpage
[udemy:course] curso-completo-desenvolvedor-android: Downloading course JSON
[udemy:course] 647736: Downloading course curriculum
[download] Downloading playlist: Curso Completo do Desenvolvedor Android M - Crie 10 Apps
[udemy:course] playlist Curso Completo do Desenvolvedor Android M - Crie 10 Apps: Collected 169 video ids (downloading 1
69 of them)
[download] Downloading video 1 of 169
[udemy] Downloading login popup
[udemy] 3858102: Downloading webpage
ERROR: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are using the late
st version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and incl
ude its complete output.
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 668, in extract_info
ie_result = ie.extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 319, in extract
return self._real_extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\udemy.py", line 147, in _real_extract
r'data-course-id="'', webpage, 'course id')
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 614, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract course id; please report this issue on https://yt-dl.org/bug . Make sure you are u
sing the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
would that be it? i'm getting the same error here

Just fix this issue in https://github.com/rg3/youtube-dl/pull/8868


Modified file (jira_link/helper.py) to add a label to the Jira indica…

Tried to modified the below python script (jira_link/helper.py) to add a label to the Jira indicating the source branch. And yeah we build the new change and any Jira ticket created gets labeled respective to their branch name (the report which is being imported from source).Tested locally and it is indeed working find and label is getting added automatically which sort of eliminates extra manual work (bulk edit).It's painful to modify this piece of code each time we upgrade to new release. So, why not to implement this directly in DD?

HI Team my bad noticed a strange behavior with this change only reports which are imported from JFrog the corresponding Jira tickets are getting created while for Sonar-qube and ZAP scan, Jira is not getting created and getting the following error

:
Closing this PR need to investigate more on this.

it seems that if the tags are None it break the helper. could be easy to fix.

it seems that if the tags are None it break the helper. could be easy to fix.

I am reopening instead of creating again new one..I will investigate on this until this can be kept on hold


Documentation of some interfaces and some important concepts

First of all, great appreciation for a very good project!
I'm writing a custom storage engine and missing quite a bit of useful documentation.
Some interfaces are not documented in the readme at all, such as Statistics.
Also some important concepts such as row iterator and partitions could be helpful to document. For instance, why partitions and why partition rows? Why so many row iterators. Most database tools have a result set concept, here I see some variation from what I usually see, such as lack of boolean return on rowIter.Next. Instead one should use error io.EOF.
A real pain point is that since I don't understand the result set iterator design perfectly, I have working tests but a wire protocol that refuses to accept the data. That glue between result set and client tools is something that is worth an extra comment in the docs. If you can point to a test that cover this point, it would make my day:-)

First of all, great appreciation for a very good project!
I'm writing a custom storage engine and missing quite a bit of useful documentation.
Some interfaces are not documented in the readme at all, such as Statistics.
Also some important concepts such as row iterator and partitions could be helpful to document. For instance, why partitions and why partition rows? Why so many row iterators. Most database tools have a result set concept, here I see some variation from what I usually see, such as lack of boolean return on rowIter.Next. Instead one should use error io.EOF.
A real pain point is that since I don't understand the result set iterator design perfectly, I have working tests but a wire protocol that refuses to accept the data. That glue between result set and client tools is something that is worth an extra comment in the docs. If you can point to a test that cover this point, it would make my day:-)

Could you tell me what your  storage engine is? because  i also am  writing a custom storage engine  ,it use sqlite driver.

I'm doing postgres, sql over http and excel. So far only the read parts. RIght now I'm fighting with unusual go syntax for the postgres driver. I'm not exactly a go ninja.
Only advice is to copy the memory reference implementation first and backtrack. The tests have only been made with this memory storage and the tool is very, very sensitive to any deviations from how that implementation is supposed to work. So run tests like mad between yours and the memory one to figure out which concepts must be followed and which not.
At first I started with an empty implementation, java style, that did not end well. Hence the need for this issue.
Note that other database drivers have a similar problem. I wrote a few jdbc/odbc ones and ran into roughly the same issues.

Thanks for the feedback, @Allam76 . Getting this right is an ongoing project, but we'll try to do a bit better on this.


"User was not found" when running node provisionComposer.js

Describe the bug
When I run the provisionComposer.js script I get the error "User was not found"

I'm using an MSDN subscription
The user running the command is account admin on that subscription and has permissions to create app registrations - I have created them through the Azure CLI and through the portal successfully
I get a similar error when I create the app registration first

Version

I'm using release 1.0.0
Sha: 414f00d2896885959f91074dd70c3187fdf1b2cf
Browser

[x] Chrome
[ ] Safari
[x] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Screenshots

Additional context

I was able to resolve this issue by making a change to the provisionComposer.js. The adjustment was to pass the tenant ID to .interactiveLogin()
Solution was found here - https://github.com/Azure/azure-sdk-for-node/issues/1821

Hi @benbrown , I think we should enable users to enter their tenant id for provision, according to the link provided by @timoconnellaus , we should use this following code to login to Azure. What do you think about this?
msRestAzure.interactiveLogin({domain: 'your-tenant-id}, function(err, credentials, subscriptions)

@zidaneymar yes, since it is already possible to pass in the tenantId as a parameter, we should use this if specified in the login.

Hi Team,
Could you please help me with the exact change needed in js file. I got the same "user was not found" error while publish bot made from composer. I had azure subscription from hotmail account. Uploaded provision composer js file as zip for your ref. Do let me know if more info needed.
provisionComposer.zip
msRestNodeAuth
.interactiveLogin()
.then(async creds => {
const createResult = await create(
creds,
subId,
name,
location,
environment,
appId,
appPassword,
createLuisResource,
createLuisAuthoringResource,
createCosmosDb,
createStorage,
createAppInsignts
);

Hi,
After making below change, I am still getting same error - "user was not found". I am using azure subscription from hotmail account.
msRestNodeAuth
.interactiveLogin({ domain: tenantId })
.then(async creds => {
const createResult = await create(
creds,
subId,
name,
location,
environment,
appId,
appPassword,
createLuisResource,
createLuisAuthoringResource,
createCosmosDb,
createStorage,
createAppInsignts
);

@benbrown @zidaneymar @cwhitten Hi Team,
Can you please help me with above issue.

@benbrown @zidaneymar @cwhitten
Hi Team,
This is not working. I created a new project from template (AskingQuestionsSample) from 1.0.1 version. Below is what I get after running the command.
Also, could you please let me know how to fix the project created with 1.0.0 version. Its still showing "user was not found."
C:\GC\Bots\Bot from Composer\AskingQuestionsSample-0\scripts>node provisionComposer.js --subscriptionId=8ab821e5-72b0-4237-a319-34adfc7e5ce4 --name=Third --appPassword=3efn$NIP${k$GU_y --environment=Dev
internal/modules/cjs/loader.js:969
throw err;
^
Error: Cannot find module 'chalk'
Require stack:

C:\GC\Bots\Bot from Composer\AskingQuestionsSample-0\scripts\provisionComposer.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
    at Function.Module._load (internal/modules/cjs/loader.js:842:27)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
at Object. (C:\GC\Bots\Bot from Composer\AskingQuestionsSample-0\scripts\provisionComposer.js:3:15)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\GC\Bots\Bot from Composer\AskingQuestionsSample-0\scripts\provisionComposer.js'
]
}

@benbrown @zidaneymar @cwhitten
Hi Team,
This is not working. I created a new project from template (AskingQuestionsSample) from 1.0.1 version. I still get same error.
Also, could you please let me know how to fix the project created with 1.0.0 version. Its still showing "user was not found."

Hi @GAURI02X, can you copy the updated provisioning directory to your bot scripts folder and try again on your 1.0.0 bot?
https://github.com/microsoft/BotFramework-Composer/tree/master/Composer/plugins/samples/assets/shared/scripts

@benbrown @zidaneymar @cwhitten
Hi Team,
This is not working. I created a new project from template (AskingQuestionsSample) from 1.0.1 version. I still get same error.
Also, could you please let me know how to fix the project created with 1.0.0 version. Its still showing "user was not found."

Did you fix the issue? I am facing exactly the same issue. I am also using a hotmail Azure subscription.

@benbrown @zidaneymar @cwhitten
Hi Team,
This is not working. I created a new project from template (AskingQuestionsSample) from 1.0.1 version. I still get same error.
Also, could you please let me know how to fix the project created with 1.0.0 version. Its still showing "user was not found."

Did you fix the issue? I am facing exactly the same issue. I am also using a hotmail Azure subscription.

I pass the AAD tenant ID as a parameter for provisionComposer.js. Then issue is resolved. I think somehow it did not get the corrrect tenant ID when the value is not passed.

provisionComposer.js script is picking up the first one in the list which might not be your intended one.

Try adding below parameter:
--tenantId=<AAD Tenant Id>


OctIcon named "sign-out" displays "smiley" icon

Hi,
I'm using OctIcon in this library, and I found that "sign-out" icon displays "smiley" icon as the screenshots below. And also I found that "sign-in" icon displays "sign-out" icon. It seems that each name is pointing the right neighbor icon in the Icon List.
Screenshots

package.json
"react-native-vector-icons": "^5.0.0",
"react-native": "0.56.0",

Thanks in advance :)

I'm having the same problem

@hampustagerud how to upgrade bundled fonts?

This bug repeat in react-native-vector-icons:'6.6.0' only in android.
Some icons don`t match the name.
In new versions, Octicons was added new icons.


Fancy fraction formatting

2 reasons behind this feature:

A number of people expressed confusion with octeract costs because they're used to seeing the / as a level separator.
I like how it looks

I dropped in a flexible helper function, but it could be simplified. If @Pseudonian wants to put it directly in format, we can just have the fractional code output .innerHTML code. Then for the few elements that use fractional code, calling DOM('element').innerHTML = format(sometimes fractional number) will work fine when the number is big or small. I'll push this idea as a separate commit, because simpler might be better.
The more complicated change could avoid innerHTML use by showing/hiding a fractional container and setting the numerator and denominator as .textContent. I don't think this is necessary, I'm not sure.

Fixed merge conflict with recent format( ) changes.
Adjusted font size for better readability; changed text alignment to be much less disruptive to the line above.

Font size could be nudged up or down, but current size seems to be a good balance between standing out and legibility.


chore: enable cypress artifact publish for help debugging remote failure

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #417 (0b2d7be) into tagged-release/q1-release (f70b7f6) will not change coverage.
The diff coverage is n/a.

@@                    Coverage Diff                     @@
##           tagged-release/q1-release     #417   +/-   ##
==========================================================
  Coverage                      93.07%   93.07%
==========================================================
  Files                             45       45
  Lines                           1734     1734
  Branches                         386      386
==========================================================
  Hits                            1614     1614
  Misses                           116      116
  Partials                           4        4

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 f70b7f6...0b2d7be. Read the comment docs.


Error on http pages

Access to navigator clipboard requires a secure context. This is not available if the bookmarklet is used on a website without SSL encryption.

As a solution, the code of all bookmarklets needs to be more complex. In case the operation fails, there should be an error message. A simple alert should serve the purpose. Maybe there is a fallback available, see https://stackoverflow.com/q/51805395 .


ci: add Go-1.12.x, drop Go-1.9.x

Codecov Report

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

@@           Coverage Diff           @@
##           master     #106   +/-   ##
=======================================
  Coverage   68.73%   68.73%
=======================================
  Files          33       33
  Lines        3349     3349
=======================================
  Hits         2302     2302
  Misses        788      788
  Partials      259      259

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 e9f4420...2c018b7. Read the comment docs.


Enable RestHighLevel-Client to set parameter require_alias for bulk index and reindex requests

Signed-off-by: Jan Baudisch<EMAIL_ADDRESS>Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ x] New functionality includes testing.

[ ] All tests pass

[x ] New functionality has been documented.

[ x] New functionality has javadoc added

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

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

One question: I'm testing opensearch 1.3.5, and I've noticed that require_alias does not work for delete operations.  Is this deliberate?  Or an oversight of this particular work?
Thank you!

Hello Jeremy,
no, it was not deliberate, but overseen. Will you create a new Issue?
Regards,
Jan
Am Do., 6. Okt. 2022 um 21:29 Uhr schrieb Jeremy Noring <
@.***>:

One question: I'm testing opensearch 1.3.5, and I've noticed that
require_alias does not work for delete operations. Is this deliberate? Or
an oversight of this particular work?
Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/opensearch-project/OpenSearch/pull/1604#issuecomment-1270582274,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWQMSJA25YH2JRGI2DESSDWB4SCRANCNFSM5ITCKZYA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Rework connectivity method between Middleware services

As it turned out, the communication between the Middleware services is not optimal from the development perspective and cannot be easily managed. Furthermore, it creates a lot of confusion, so it will be better to code the API clients ourselves. This will give us more flexibility and allow us to efficiently manage the potential failures and behaviour of the services.

The example API client for connecting to RedisInterface has been submitted to the tests and acceptance in branch BB/Refactor

Blocked by #97
Preparation of new interface definition is needed first, not to increase the amount of work we have

The only connection that needs reworking now is between TaskPlanner and ResourcePlanner. The communication between TaskPlanner and Orchestrator


Timeout to transitvpc S3 bucket from Configurator Fn

Running into a strange issue with a new transit VPC deployment from a few days ago, but haven't been able to successfully get spokes online. The poller function successfully finds a new spoke VPC tag, creates EC2 VPNs, and drops configuration files into the S3 bucket, however the "configurator" function, upon "Put" trigger, is seemingly unable to successfully retrieve the transit_vpc_config.txt settings file, so the CSR devices are never configured. Logs show that it times out trying to retrieve this file, which is odd that it's unable to access it.
Any idea? The only different thing that I've done with this deployment is add 5 other AWS account IDs to the bucket policy per AWS docs Appendix C, but that's it. Never had this issue before with Transit VPC stack deployments.
CloudWatch debug output for the configurator function execution:

[DEBUG]	2018-06-05T17:30:36.754Z URI updated to: https://transitvpc-vpnconfigs3bucket-xxxxxxxxxx.s3-us-west-2.amazonaws.com/vpnconfigs/transit_vpc_config.txt

[DEBUG]	2018-06-05T17:30:36.755Z CanonicalRequest:
GET
/vpnconfigs/transit_vpc_config.txt

[DEBUG]	2018-06-05T17:31:36.726Z ConnectionError received when sending HTTP request.
Traceback (most recent call last):
File "/var/runtime/botocore/endpoint.py", line 222, in _get_response
proxies=self.proxies, timeout=self.timeout)
File "/var/runtime/botocore/vendored/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/var/runtime/botocore/vendored/requests/adapters.py", line 419, in send
raise ConnectTimeout(e, request=request)
ConnectTimeout: HTTPSConnectionPool(host='transitvpc-vpnconfigs3bucket-xxxxxxxxxx.s3-us-west-2.amazonaws.com', port=443): Max retries exceeded with url: /vpnconfigs/transit_vpc_config.txt (Caused by ConnectTimeoutError(<botocore.awsrequest.AWSHTTPSConnection object at 0x7f328043cc10>, 'Connection to transitvpc-vpnconfigs3bucket-xxxxxxxxxx.s3-us-west-2.amazonaws.com timed out. (connect timeout=60)'))

I would just note also that the Lambda outbound SG hasn't been modified in any way, still allows outbound <IP_ADDRESS>/0 443/TCP. It's almost as if there's an issue with DNS resolution for the bucket name.

Disregard. This ended up being an issue with not deploying an s3 endpoint in the route table for lambda access.


gnome3.simple-scan: 3.34.1 -> 3.34.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/simple-scan/versions.
meta.description for gnome3.simple-scan is: '"Simple scanning utility"'.
meta.homepage for gnome3.simple-scan is: '"https://gitlab.gnome.org/GNOME/simple-scan"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.34.2 with grep in /nix/store/0ana95aaww1wj1bhxdr4jlclg68ywpgf-simple-scan-3.34.2

directory tree listing: https://gist.github.com/77004d5caaa3da42f85a06e54f610a85

du listing: https://gist.github.com/35a583819ab7a27896a42c852767179f

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
gnome3.simple-scan
simple-scan

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0ana95aaww1wj1bhxdr4jlclg68ywpgf-simple-scan-3.34.2 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gnome3.simple-scan https://github.com/r-ryantm/nixpkgs/archive/2e1a89630a24d0f1300fc84d5e1c09c4abebce09.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0ana95aaww1wj1bhxdr4jlclg68ywpgf-simple-scan-3.34.2
ls -la /nix/store/0ana95aaww1wj1bhxdr4jlclg68ywpgf-simple-scan-3.34.2/bin

cc @lethalman @jtojnar @hedning @worldofpeace for testing.

https://gitlab.gnome.org/GNOME/simple-scan/blob/3.34.2/NEWS translations.


Code Snippet & API Reference support for PHP

Code Snippet & API Reference support for PHP

Closing out in favor of https://github.com/stripe/vscode-stripe/issues/173 and https://github.com/stripe/vscode-stripe/issues/174


Highlight multiple post

Now the highlight post is based on the post data, so now we have more
than only one highlight post.
If you want make a highlighted post add
highlight: true in your post data.

@byroncorrales what do you think about it?

Merged :smile:


can't find app after install

Running lineageos 15.1 on OnePlus 5t. Installed via fdroid. Fdroid didn't offer option to run after indicating successful install, only to uninstall. App not available on desktop or in drawer.
Uninstalled and installed via Play Store, same behavior - option to uninstall but not open the app, no app in drawer or desktop.

Hey I know this is confusing and there is #6 to remedy that. Just Search is an assist replacement, the app that launches when holding on the home button. To use it go to settings, search for Assist app, and set Just Search as the default.

Thanks for the quick response and the education! I see that explanation now in the Play Store app description (though not in the fdroid description).


contracts/: support credit limits by market

LGTM

測試快補完了，另外我多改一個小地方是，我在 setCreditLimit 時有順便幫 user addToMarketInternal，因為這樣它才會被加到 accountAssets 裡。

Merged and deployed.


Text difficult to read on some colours

For example in the room page, the black text is difficult to read and looks unaesthetic on some colours.
Example

I think it would be better if we could change the font colour on those background to something else like white or something.Views and suggestions? If possible, I would like to work on this issue.

I think it would be better if we could change the font colour on those background to something else like white or something.
@Princu7  What are your plans ?

Taking classes or div's whose Track Colors are brown and make their text color to light/ white by using Javascript can be done.
I am not sure the UI issues that will arrive, Can you provide a prototype ?

@aayusharora

I have an alternative solution. There are maybe 15 distinct colours used for the sessions. In the template files in which the div's are being generated, we get their colours from the color property stored in the sessions object.If we could add another property named "text-colour" to the sessions object, then we can directly set the font-colour by writing font-color:{{{text-color}}} in the template file. We will be able to set the text-colour of our liking without using any client-side javascript code.

I will try to provide the prototype as soon as I can. A bit delay may happen because of the oncoming examinations. Sorry.

@mariobehling  @aayusharora
I apologize for a little delay in tackling this issue. So I made some changes in the server side code as in the above mentioned way to make the colours look more neat and tidy. Here are the screenshots comparing the differences.
Old

New

Old

New

Please review and suggest. Thanks

@mariobehling  @aayusharora  Any reviews and suggestions on this issue? I have already completed it. Need some feedback. Thanks!!.

The sample file is just - a sample. The choice of colors depends on the organizer, that is set in the organizer server. I do not see a perfect solution at the moment and for now I think the existing solution is - good enough. We have lots of other issues of higher priority. The choice of color of tracks and font, should ultimately be set by the orga server or in the json files, not by the web app.

@mariobehling Makes perfect sense. Thanks for explaining!!

The track colors are chosen by user, hence it is not feasible to set text-color. I don't think this is needed. Please reopen if you see any other use case :)


Mark HttpServerKeepAliveHandlerTest as flaky

Stack trace 1:
HttpServerKeepAliveHandlerTest > closeByClientIdleTimeout(SessionProtocol, boolean) > com.linecorp.armeria.server.HttpServerKeepAliveHandlerTest.closeByClientIdleTimeout(SessionProtocol, boolean)[1] FAILED
    java.lang.AssertionError:
    Expecting actual:
      2041.1256999999998
    to be close to:
      2764.0
    by less than 25% but difference was 26.153194645441395%.
    (a difference of exactly 25% being considered valid)
        at com.linecorp.armeria.server.HttpServerKeepAliveHandlerTest.lambda$closeByClientIdleTimeout$0(HttpServerKeepAliveHandlerTest.java:162)
        at com.linecorp.armeria.server.HttpServerKeepAliveHandlerTest.closeByClientIdleTimeout(HttpServerKeepAliveHandlerTest.java:160)

Stack trace 2:
KeepAliveHandlerTest > shouldNotWritePingIfConnectionIsActive() FAILED
    java.lang.AssertionError:
    Expecting AtomicInteger(1) to have value:
      0
    but did not.
        at com.linecorp.armeria.internal.common.KeepAliveHandlerTest.shouldNotWritePingIfConnectionIsActive(KeepAliveHandlerTest.java:287)

Added KeepAliveHandlerTest as well


Progress bar clearing removes a line of log

Describe the bug
When running with, say RUST_LOG=debug, the call to indicatif::ProgressBar::finish_and_clear seems to be taking with it a line of logs and leave the remaining progress bar in its place.
To Reproduce
Steps to reproduce the behavior:
RUST_LOG=debug cargo run --bin synth -- generate examples/bank/bank_db --size 10000 > /dev/null

It seems like the mess is caused by the logger of reqwest that comes in as the progress is happening. On that note:

Why is it making a network request to github whenever it wants to generate something? This operation should be purely offline.
Who is making this calls? AFAIK, the only place where its used is to check for latest version. But after some debugging, I am not sure why/where this log is made? Did it skip over my breakpoint somehow?

Oh wait, nevermind, the version check is done every single time regardless of the command but its done on a separate thread. So not sure how to "fix" this, perhaps lock the stdout before progress-bar finishes and then this other thread can come in.

Hey @hbina

This just checks for the latest version every time you run a command. This will hopefully lead to a batter UX as it will notify users and help them stay on the latest version. If you have a better idea which does not require an API call every time, please do let me know :)

I don't have any better ideas for the implementation save for delaying the network call until the very end of command execution - but then you don't get the benefits of concurrency.


Adding security-warnings to #[must_use]

Functions that return a Result generate a warning when these are not used:
warning: unused `std::result::Result` that must be used
   --> src/high_level_api.rs:111:5
    |
111 |     orion::aead::seal(&aead_key, "Test".as_bytes());
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(unused_must_use)] on by default
    = note: this `Result` may be an `Err` variant, which should be handled

This is the standard warning for a Result, but adding an explicit security warning to these functions may help users understand the importance of not ignoring a Result. Adding this would then produce two separate warnings by the compiler:
#[must_use = "SECURITY WARNING: Ignoring a Result may have security-implications."]
warning: unused `std::result::Result` that must be used
   --> src/high_level_api.rs:111:5
    |
111 |     orion::aead::seal(&aead_key, "Test".as_bytes());
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(unused_must_use)] on by default
    = note: this `Result` may be an `Err` variant, which should be handled

warning: unused return value of `orion::aead::seal` that must be used
   --> src/high_level_api.rs:111:5
    |
111 |     orion::aead::seal(&aead_key, "Test".as_bytes());
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: SECURITY WARNING: Ignoring a Result may have security-implications.

The question is whether this approach is worthwhile.
Edit: If this is decided against, then we should remove the useless #[must_use] on Result as mentioned in #89.

I have gotten positive feedback on this and it will therefor be implemented. This is based on the same assumption as mentioned above: that users hopefully will be more cautious about ignoring such Results which can have a security-impact. The error message that seemed most clear and concise was:
"SECURITY WARNING: Ignoring a Result can have real security implications."

@colelawrence expressed interest and is taking this on.

Fixed in #95.