In React-Router 1.0 there is a special strings enclosed in grave accent --> ` which fail

React-Router 1.0 introduce 'back-ticks' to represent dynamic expressions; like:
<Link to={`author/${author.id}`}>{author.id}</Link>
which is going to be translated by:
React.createElement(Link, {to: `author/${author.id}`}
When literalify attempt to process the file the error:
Unexpected character '`' (25:68) (while literalify was processing ....
How we can fix this module to ignore backticks, I mean interpret as simply string quotes.

Sorry, this is not really a bug, To avoid this error we have to apply "es6-template" transformation before apply literalify in order to compile "string templates". like:
es6template = require("es6-templates");
gulp.task('react:js', function () {
return gulp.src(paths.areas_mainjs)
.pipe(browserify({
debug: true,
extensions: ['.jsx', '.js'],
transform: [reactify, es6template, literalify.configure({
'lodash': 'window._',
'react': 'window.React',
'react-dom': 'window.ReactDOM',
'react-router': 'window.ReactRouter',
})]
}))
...................


Feature request: Preserve ucc version used when creating the TA

Description
Since ucc framework is a critical component in TA development and deployment, there should be a way to both :

state with no guess work that the TA was created using ucc's build command
identify the version of ucc used

This will both account to greater visibility and traceability in case of any package issues.
Location suggestion:

GlobalConfig.json - in "meta": {"uccVersion": "5.35.1"}
app.manifest "uccVersion": "5.35.1"
version string "5.35.1" in text file uccVersion.txt either in root or in README directory

@artemrys @sgoral-splunk
This is also related to Golden Standard.
Which suggestions seems the most feasible?

@MateuszMa it makes sense to me, I like meta version the most.

@MateuszMa one question. Should this be another parameter for the TA developer to maintain, or a parameter added automatically during the build process and stored in the build package?

@sgoral-splunk completely automatic - tied to the tooling the dev is using. I'll drop a PR with proof of concept


Use getNewExpressionCount for DynamoDB.DocumentClient

Issue
Noticed in https://github.com/awslabs/aws-sdk-js-codemod/pull/469, where transformations run on generic client need to be run on DocumentClient too.
Description
Use getNewExpressionCount for DynamoDB.DocumentClient
Testing
CI

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Closing as it's easier to keep DocClient specific operations separate, when it comes to readability.


Code snapshot all AUC not shown in Jupoyter out console

The snaphot that give here

shows mostly 99% for most of the classes  except the last one was very small  while in this snapshot of AUC function

There are 20 rows but we have only 15 classes ,, what are these values for

@Mahmood1968 - Is this closed? Can you please add comments and close it, if we are good with this.

Yes this is done by Intel


chore: First complete pass through cdk docs

CDK docs have some narrative structure, but uncovered some possible friction worth fixing

bors r+


[#573] Feat: Add method to convert camel case to titlecase

title: Issue #573 | Add method to convert camel case to titlecase
Discord Username: @saga_sanga
What type of PR is this? (select all that apply)

[ ] 🍕 Feature
[x] 🐛 Bug Fix
[ ] 🚧 Breaking Change
[ ] 🧑💻 Code Refactor
[ ] 📝 Documentation Update

Description
On the leaderboards page, the table's view button's toggle options have some options that are written in camel case. I've added a method called camelCaseToCapitalized to the app/lib/utils.ts file to convert camelCase to Title Case.
Before:

After:

Related Tickets & Documents

Related Issue #573
Closes #573

QA Instructions, Screenshots, Recordings

UI accessibility concerns?

Added/updated tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

[optional] Are there any post deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

hey, @Saga-sanga, please, fix the lint checks

@scape76 alright, will look into it


improve gemspec

fix the broken relative import
remove git dependency (see https://stackoverflow.com/questions/11873294/determining-the-gems-list-of-files-for-the-specification)
use bundler 2.x rather than 1.x

hey @noraj your changes look good at a glance, but they are causing CI to fail. Could you take a look at Travis's output to see if you can fix it? Thanks!

@aetherknight I can't. The CI failed because it was not able to download bundler 2.x even if bundle 2.0.0, 2.0.1, and 2.0.2 exist.
https://rubygems.org/gems/bundler
I'm don't know travis because I only use Gitlab-CI that can basically use every docker images.
You travis is configured to use ruby 2.2, 2.3 and 2.4 and no 2.5 and 2.6, maybe the old rubies have an old version of the rubygems gem or something.


Overflowing text in input doesn't align with placeholder text

When the input's text is longer than the input's width, the placeholder text doesn't align to the actual text while scrolling which causes some ghosting.

Can you give me a text example?

On the JSFiddle demo in your repo, select a longer movie name (e.g. "The Secret Life of Walter Mitty") and set width: 200px on form.searchbox. Then scroll to the end of the input text.

:( It's a pity. I will fix it when I have time


Feature Request - Auto Refresh

I love using the DBA Dash app. I love using the Performance tab most of the day. A new feature request I have is:
Have a way to auto-refresh the screen every minute or so.

Thank you for the suggestion.  The app originally had an auto-refresh but it was removed a while back - before the first public release I think.  I think the main issue was that it was trying to be smart about the refresh and load new data points incrementally.  This added complexity and it was also a little buggy.  The other downside to an auto-refresh feature is that it has the potential to add some additional load.
I might consider adding this feature again.  I don't think it would be too complicated to add more of a dumb auto-refresh feature that basically just runs the full refresh on a timer.

Thank you so much! I do love this app!
Thanks,
Clifton Dunaway

From: David Wiseman @.>
Sent: Thursday, August 3, 2023 4:18:41 PM
To: trimble-oss/dba-dash @.>
Cc: Clifton Dunaway @.>; Author @.>
Subject: Re: [trimble-oss/dba-dash] Feature Request - Auto Refresh (Issue #668)
Thank you for the suggestion. The app originally had an auto-refresh but it was removed a while back - before the first public release I think. I think the main issue was that it was trying to be smart about the refresh and load new data points incrementally. This added complexity and it was also a little buggy. The other downside to an auto-refresh feature is that it has the potential to add some additional load.
I might consider adding this feature again. I don't think it would be too complicated to add more of a dumb auto-refresh feature that basically just runs the full refresh on a timer.
—
Reply to this email directly, view it on GitHubhttps://github.com/trimble-oss/dba-dash/issues/668#issuecomment-1664595491, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA73RG6JRO77HEI73PQWVOLXTQBSDANCNFSM6AAAAAA3BWSVHI.
You are receiving this because you authored the thread.Message ID: @.***>

To be included in the next release. 🚀

Included in 2.45.0 🚀


Add PEP8 check to build process

I'm thinking this is best done with Code Climate?


[FEATURE] Caching of images and other files in website

Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like.
Caching the images and other such files for the website.
Application Version
v1.1.0
Screenshots
No response
Additional information
If anyone wants to work on this issue, please comment below and I shall assign you with the task.

HI, @SaptarshiSarkar12 can you please assign this to me? We can discuss this before implementation

@c99SRS How much work is done?

Hi @SaptarshiSarkar12 I am working on it. Need some discussion with you as well.

Hi @SaptarshiSarkar12 I am working on it. Need some discussion with you as well.

Ok @c99SRS, we shall discuss on this. Do you want to discuss here or on any other platform like discord, twitter etc.?

Yes, discord is fine. please share your discord  details

HI @SaptarshiSarkar12 was busy a little bit. unable to find you. can you pls add me. mine is SmrutiRanjan#8027

Ok, let me check.

HI @SaptarshiSarkar12 was busy a little bit. unable to find you. can you pls add me. mine is SmrutiRanjan#8027

@c99SRS I have sent a friend request, accept that and send a message to start the discussion.

@c99SRS How much work is done?

@c99SRS How much work is done?

Please respond @c99SRS .

@c99SRS How much work is done?

Please respond @c99SRS .

@c99SRS

@c99SRS Are you willing to work on this issue?

Unassigning @c99SRS from the issue because of inactivity. This issue is now open for contributors.

Hello!
Can I use a free, open source CDN(Content Delivery Network) like jsDelivr to cache the files?
Since the website is hosted on Github pages, I believe we cannot use a language like PHP for caching the data.

Hello! Can I use a free, open source CDN(Content Delivery Network) like jsDelivr to cache the files?
Since the website is hosted on Github pages, I believe we cannot use a language like PHP for caching the data.

Yes, you can use jsDelivr . The website is going to be changed to a React Application via #196 , so you need to wait until a Pull Request for the new website is created, reviewed and merged. I am assigning you with the task.


Leader value is not unset when zk is unreachable

When zk becomes unreachable the current leader value will not be unset leading to requests being sent to the last leader in an infinite loop. This happens because the leader flag is not set on that node, but the leader address still points to it, so it ends up sending requests to itself. Instead it should reject those requests with a server error.

Problem seems to be something else. It actually takes some time for Marathon to realize it lost the connection to zk and after that it will return with 500, but for other reasons.


[Front] Assistant Detailed view: name too long hides menu

Fixes https://github.com/dust-tt/tasks/issues/528
Before:

After:

Description

Risk

Deploy Plan

@spolu PMRW

🙏


Improve tags

Description of change
This PR contains various improvements around document tagging and uploads:

The null constraint for tags has been removed, and the form updated to allow a blank tag submission in a hidden field
The tags are now displayed inline on the documents index page, rather than stacked
The document upload process has been reduced from two steps to one, removing the confirmation page. This means we are able to remove two of the documents wizard models
The document wizard itself has not been removed as it contains the models for the archive two-step process

Story Link
https://trello.com/c/pkH3v0Cn/36-add-further-drawings-tags
Decisions [OPTIONAL]
Validation for the file attachment is done in the drawings controller and not as a validates presence in the model, as we do not always want to attach a file to every document (for example, for tests). We need to validate the attachment for the purposes of the form upload only.

Ah that's so satisfying!
From my comments, I think it can be simplified a tiny bit more though! I know, I'm greedy.

Ah that's so satisfying!
From my comments, I think it can be simplified a tiny bit more though! I know, I'm greedy.

Oh, I realise you'd already addressed my comment in the PR description!
Hmmm. I'm not a fan of compromising the main code too much for the advantage of the tests. I'd maybe lean towards adding files to all the tests, and if we want to make them run faster, then we should do some mocking and stubbing magic.

Oh, I realise you'd already addressed my comment in the PR description!
Hmmm. I'm not a fan of compromising the main code too much for the advantage of the tests. I'd maybe lean towards adding files to all the tests, and if we want to make them run faster, then we should do some mocking and stubbing magic.

I know, I'm greedy.

But also entirely right ;-) I will look at refactoring the tests to reflect this, and it should solve the other issues in the process!

I know, I'm greedy.

But also entirely right ;-) I will look at refactoring the tests to reflect this, and it should solve the other issues in the process!


WebElementLocator - _handleLocateCommand - Element(s) NOT Found: GAVE UP. Search Stop Time:   phantomjs://platform/console++.js:263 in error

Which version of PhantomJS are you using? Tip: run phantomjs --version.
phantomjs 2.1.1

What steps will reproduce the problem?
1.can't find webelement
2.It's working on windows but it can't run on linux

Which operating system are you using?
windows 7 and Linux

Did you use binary PhantomJS or did you compile it from source?
No

Please provide any additional information below.
Error-
[ERROR - 2017-10-12T10:22:02.924Z] WebElementLocator - _handleLocateCommand - Element(s) NOT Found: GAVE UP. Search Stop Time:<PHONE_NUMBER>910

phantomjs://platform/console++.js:263 in error

I also experience this error. I am using phantomjs 2.1.1 version.
The script is working on firefox and chrome browsers but can't recognize certain objects when using phantomjs.
09:09:42.123 WARN - Exception: {"errorMessage":"Unable to find element with xpat
h './/input[@id='input-firstName']'","request":{"headers":{"Accept-Encoding":"gz
ip,deflate","Connection":"Keep-Alive","Content-Length":"59","Content-Type":"appl
ication/json; charset=utf-8","Host":"localhost:21221","User-Agent":"Apache-HttpC
lient/4.5.2 (Java/1.8.0_121)"},"httpVersion":"1.1","method":"POST","post":"{"us
ing":"xpath","value":".//input[@id='input-firstName']"}","url":"/element"
,"urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/e
lement","relative":"/element","port":"","host":"","password":"","user":"","userI
nfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":
["element"]},"urlOriginal":"/session/2fce06a0-b3a0-11e7-844e-03ecdf0b3ca8/elemen
t"}}


PA-9580 update readme

Jira Issue:

https://soos.atlassian.net/browse/PA-9580 update readme
Description:

Tasks / Call outs:

did it wrong - closing without merging


Ability to avoid duplicate alembic comparator dispatch with registered_entities

Has some resemblance to https://github.com/olirice/alembic_utils/issues/56, or at least covers the same code, but i think is a different problem.
I'm using https://github.com/schireson/pytest-alembic to test my migrations, which ends up reexecuting the env.py many times within a single process (in many cases, once per migration), which leads to the same comparator getting reregistered numerous times. It's doesn't break alembic, but it does get progressively slower.
Due to the way register_entities works (https://github.com/olirice/alembic_utils/blob/bdaa374d27c597ba79cd1d0b56ea5d3e87404a07/src/alembic_utils/replaceable_entity.py#L208), there's not a great way to hook it into alembic without this happening.
A random example of how this could be avoided through a change to alembic_utils, might look like
@dataclass
class Registry:
    entities: List

    def register_entities(self, ...):
         """I'm what is now `register_entities`."""

registry = Registry()
register_entities = registry.register_entities

@comparators.dispatch_for("schema")
def compare_registered_entities(...):
    ...

This suggestion is sort-of based on how sqlalchemy/alembic themselves do things, but there are other, probably less drastic options. For example, just defining the functions in such a way that i could make the call to comparators.dispatch_for myself.

good ole testing with global state :)
I see you're a maintainer of pytest-alembic. Could this be solved there using a pytest fixture to reset the contents of comparator between tests/calls into env.py?

Probably not, the internal comparators.dispatch_for calls are at the module-level, and so resetting to pre-env.py state would end up being pretty wonky, if at all possible.
All pytest-alembic is doing is basically just calling parts of alembic's public api for programmatic use of alembic. The fact that using alembic's "command" API happens to reevaluate the env.py is, i guess, a kind of implementation detail of how alembic works, so other users of that api in combination with alembic_utils will run into the same thing.
I'd consider this more of a bug in my env.py for not being idempotent (Thus my feature request to enable one to write an env.py that is idempotent with this lib). Moving this call to, i.e. the models package would be another option to achieve the same thing but would unfortunately tie my models to alembic, which they are otherwise not.
As I kind of suggested above, alembic's internals seem to really want you to register comparators statically, and I haven't been able to find any hooks at the env.py level which would only get invoked once

class ReplaceableEntityRegistry:
    def __init__(self):
        self.entities: List[Type[ReplaceableEntity]] = []
        self.schemas: List[str] = []
        self.exclude_schemas: List[str] = []
        self.entity_typesList[Type[ReplaceableEntity]] = []

    def clear(self):
        self.entities.clear()
        self.schemas.clear()
        self.exclude_schemas.clear()
        self.entity_types.clear()

    def register(
        self,
        entities: List[T],
        schemas: Optional[List[str]] = None,
        exclude_schemas: Optional[List[str]] = None,
        entity_types: Optional[List[Type[ReplaceableEntity]]] = None,
    ) -> None:
         entities =
         self.entities.extend(entites)

         if schemas:
             self.schemas.extend(schemas)

         if exclude_schemas:
             self.exclude_schemas.extend(exclude_schemas)

         if entity_types:
             if not self.entity_types:
                 self.entity_types.extend(entity_types)
             else:
                 self.entity_types.extend(collect_subclasses(alembic_utils, ReplaceableEntity))

registry = ReplaceableEntityRegistry()

def register_entities(
    entities: List[T],
    schemas: Optional[List[str]] = None,
    exclude_schemas: Optional[List[str]] = None,
    entity_types: Optional[List[Type[ReplaceableEntity]]] = None,
) -> None:
    registry.register(entities, schemas, exclude_schemas, entity_types)

@comparators.dispatch_for("schema")
def compare_registered_entities(
    autogen_context: AutogenContext,
    upgrade_ops,
    sqla_schemas: Optional[List[Optional[str]]],
):
    # identical to the inline function now, but uses of entities, schemas, exclude_schemas, and entity_types
    # all become prefixed with `registry.`

This is the method that seems most alike to how alembic itself works. The main semantic difference is that comparators.dispatch_for is registered at the module level (like how alembic itself does it), so there's only
ever one call to
As a fringe benefit (at least imo) this would make it easier to do other things which are neater by calling register_entites more than once, like
import foo.models
import bar models

register_entities(collect_instances(foo.models, PGView))
register_entities(collect_instances(bar.models, PGView))

I'd be happy to make a PR to this effect if you were into it
Alternatively, you could avoid using dispatch_for and do it manually, enabling a check
from alembic import comparators

def register_entities(...) -> None:
    def compare_registered_entities(...):

    registered_comparators = comparators._registry[("schema", "default")]
    names = {c.__name__ for c in registered_comparators}
    if compare_registered_entities.__name__ not in names:
        registered_comparators.append(compare_registered_entities)  # or vice versa where you overwrite it

this is kind of bad for a few reasons, but is more similar to how it works today

Alternatively, i could imagine something like
def register_entities(
    entities: List[T],
    schemas: Optional[List[str]] = None,
    exclude_schemas: Optional[List[str]] = None,
    entity_types: Optional[List[Type[ReplaceableEntity]]] = None,
) -> None:
    dispatcher = comparators.dispatch_for("schema")

    compare_registered_entities = compare_registered_entities_factory(entities, schemas, exclude_schemas, entity_types)
    dispatcher(compare_registered_entities)

def compare_registered_entities_factory(entities, schemas, exclude_schemas, entity_types):
    def compare_registered_entities(
        autogen_context: AutogenContext,
        upgrade_ops,
        sqla_schemas: Optional[List[Optional[str]]],
    ):
        # identical to the inline function now, but not decorated

    return compare_registered_entities

but this has a bunch of other drawbacks (which i can get into, if you really dont like the first solution), which means it's not ideal.

thanks for taking the time to write that up 🙌
The ReplaceableEntityRegistry solution looks great

I'd be happy to make a PR to this effect if you were into it

yes please
Any chance you could also tweak the logic in ReplaceableEntityRegistry.register to deduplicate entities, schemas, exclude_schemas, and entity_types in case it is called multiple times?

great! I'll see if I can get to that sometime later today!

thanks! your patch is available in alembic_utils==0.7.7

Love to see it, just upgraded and all seems well for our migrations. thanks!

Thanks for doing this! It has saved me quite a few manual hacks!

Thanks for this improvement, we literally went from 10 minutes to 4 minutes in our CI just upgrading to alembic_utils 0.7.7 :tada:
FYI we are using both libraries, pytest-alembic and alembic-utils !


[Safe apps list, web-core] Added custom app present under all apps

Description
Adding a custom app will include it under the 'all apps' section
Steps to reproduce
Add a custom app like Snaphot on Rinkeby.
Expected result
App present as a custom app only.
Obtained result
App present as a custom app as expected but also in the all apps list which is unexpected as it seems it is managed by us. Small video of the process:
https://user-images.githubusercontent.com/92332710/192529006-68789c9c-086f-425a-bc51-5b71bf92a63d.mp4

I thought it was expected by design. For me personally, the word all doesn't suggest that apps under this section are managed by someone else


SAK-33880 update dependencies

Were you going to re-open this now that the other is resolved? Issue is still open in jira.


⚠ Guya.moe Proxied has degraded performance

In 3cb31c0, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 22050 ms

Resolved: Guya.moe Proxied performance has improved in a854eda after 19 hours, 54 minutes.


[ADD] Ready-to-use Docker image from Data Mechanics

Description

Name: Data Mechanics Docker image
URL:  https://hub.docker.com/r/datamechanics/spark
License: ? (I didn't find the license information, used the project for personal use)

Why
The project should be added to the list because it gives a very easy way to quickly test Apache Spark applications on Kubernetes. An example here: https://github.com/bartosz25/spark-playground/blob/d53289b125242773e0e4d5d269bf6f303940076b/spark-stage-scheduling/Dockerfile There is no need to build Apache Spark Docker images from the sources. Simply create the package with your code and copy it to the Dockerfile extending Data Mechanics' Spark image.
Checklist

[x] Item hasn't been proposed yet (there is no open PR, it hasn't been rejected or removed).
[x] Item is added at the on of the relevant section.
[x] Description ends with period and doesn't contain trailing whitespace.

Thanks for this proposal @bartosz25!
Other than https://github.com/awesome-spark/awesome-spark/pull/219#discussion_r766929141, LGTM, but let's wait a few day and see if other @awesome-spark/awesome-spark  members have anything to add.

Thanks all!


Anything change? Some entities missing and no services

Hi hi, I've been happily using the Home Assistant integration for a while. I recently upgraded to 2021.06 HA and then noticed today that I had a whole bunch of duplicate Subaru entities in HA. I uninstalled the integration and reinstalled it. Now I'm down to 9 entities, and don't have one for location of the car or the ignition status or door lock. There also don't appear to be the door lock service available which I am heavily reliant on.
Wondering if anything has changed recently?

are you using Subaru through hacs or as a custom component or the one that is built in to Home-assistant?

built in to Home Assistant

the built in currently doesn't support those features you have to use the custom component version to get location, services, and lock features.

ah ok I see that now in the other repository. Thank you!


(fix)(refactor) Memo'd component to avoid re-rendering upstream which has a bug

Overview
fixes #451, This PR memos the component to avoid triggering a re-render of the upstream library @react-native-community/datetimepicker which recreates the date picker on each render call. I have also converted to hooks while working out how to resolve this issue.

Looks good to me, thank you @lukemcgregor ! Gonna test it and merge it :)

:tada: This PR is included in version 8.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix no-install lock file updates

Hi there, our team noticed that when specifying no--no-install poetry.lock file is updated less than expected.
I kinda understand why I could be done originary, but it's inconsistent since without --no-install plugins uses poetry update which everything in poetry lock file.

Thanks for contributing. Please fix following: Make sure commit message follows conventional commits, see here

Done


Team Logos, players photos

Hi. Is it possible to add such function as add Team and Players where i can upload Team Logo, and in Add Player to upload a player photo?
Also can you give me advise how to make it possible to use your HUD as web page as it has boltobserver radar (36363) or custom hud( port :2626).
Thanks for you HUD. Its great!

upload Team Logo, and […] player photo?

I'm not interested in adding either of these as features for now, sorry.
Team logos you could probably get to work somewhat easily by replacing the flags, e.g. in https://github.com/drweissbrot/csgo-hud/blob/6bee48967f6a94181315ba3c86de1eeebe42f304/src/renderer/Components/TopBar.vue#L27 Player avatars would be more difficult.
You could also look into alternative projects that have support for this, maybe https://github.com/lexogrine/hud-manager.

use your HUD as web page

Not a thing either, for the time being at least.


selfhost/typechecker: Allow T assignment to T?

Allow assignment of a value to a Optional of the same type

Does this allow any additional tests to pass?
If not, can you add a test to show this is working?

This makes samples/optional/assignment.jakt pass :)


Can bareflank be used a bare metal hypervisor?

Hi experts!
 I read all presentation slides for Bareflank, but I'm not sure if Bareflank is a bare metal hypervisor.
a) If yes, could I get some instruction or tutorial on how to run a Linux kernel on Bareflank on a raw x86 laptop?
b) If not, would it be possible to modify XEN to run on a small memory footprint such as 10~50MB?
Ronny

@gogo9th sorry it took so long to get back to you.
Currently Bareflank does not boot from UEFI or coreboot, but @connojd is working on that support in the next month or two (unless someone else wants to do it first, help is always wanted). Bareflank is designed to support both type 1 and type 2 models. Currently we support most Intel 64bit hardware, including the minnowboard:
https://github.com/Bareflank/hypervisor/pull/409
As for running small ELF OS's in a guest, I am currently working on support for that this year. You can see our really, really simple support for this here:
https://github.com/Bareflank/hyperkernel
Our goal is to have basic vmapps, IncludeOS, and modified Linux kernels running by the end of the year, and this is our main use case for Bareflank's hyperkernel (i.e. we don't want to be another Xen / KVM, but instead provide support for research outside of what these hypervisors already provide).
If you want to use Xen / KVM, and your interested in a small OS, take a look at IncludeOS.

Hi,
Thanks a lot for your reply. I was gladly surprised that Bareflank already runs on Minnowboard :) I think working and developing on Bareflank would be more desirable than XEN/KVM.
You said Bareflank currently doesn't boot from UEFI yet, but still can be run as a type-1 hypervisor. Then what currently loads Bareflank? (BIOS instead of UEFI?) And does booting type-1 Bareflank require any intermediate bootloader such as GRUB2?
Also, IncludeOS is a 32-bit binary. Can Bareflank run both 32-bit and 64-bit guest OS seamlessly on a x86_64 CPU architecture?

Bareflank is designed to run as a type-1, but doesn't do that yet. UEFI will be our first attempt at it, with coreboot after that (hopefully some of the code is shared, like the multi-core start routines). Bareflank always places the host OS in a VM when it starts which is a lot different than your typical type-2 which only places guest VMs in a VM. For this reason, Bareflank doesn't really care what host OS is running when it starts, could be Windows, Linux, UEFI, etc... We have encapsulated the startup routines in the bfdriver code:
https://github.com/Bareflank/hypervisor/tree/master/bfdrivers
All that is needed is for someone to implement the platform.c for the bfdriver for whatever OS is needed (I consider UEFI and coreboot an OS). One big difference with what we plan to do with UEFI vs what is there today is BFM is used to IOCTL to the bfdriver to load each ELF module and start the hypervisor. Instead, the UEFI code will simply read (or already have embedded) the hypervisor modules, and start when the UEFI driver starts since there is no need for an IOCTL interface on boot.
As for IncludeOS, they are currently working on 64bit support as we speak. The hyperkernel can only start basic C/C++ applications as we have not finished our PV interfaces yet. Currently I am working on a new build system based on CMake, as well as a new memory manager that gets rid of some fragmentation issues we have seen. Once that is done, my focus will be on the PV interfaces that will be needed for IncludeOS and Linux. The code that is there now only supports 64bit, but there is no reason why it could not support both 32bit and 64bit.

I really appreciate that you guys are putting much effort on developing an open-source hypervisor. Bareflank will become Linux in the field of hypervisor. I wish I could help, but I originally don't have much background in systems programming. I have some basic experience in modifying and recompiling Linux kernel to add TPM support on it (similar to Linux-IMA), but don't have any experience in hypervisor. In any case, if I want to use Bareflank in the future, I should get familiar with its current source code, anyway. I also really hope we finally get type-1 Bareflank booting from UEFI and running small real OSes.

Another nice OS to run with Blareflank is Zephyr (https://www.zephyrproject.org/). Zephyr OS image is 32-bit, but as you said there'll be no reason it can't run on Bareflank.

@gogo9th Agreed, that would be another goos OS to run someday. I'm going to close this ticket for now. Let me know if you need anything else.


Clear screen

fixes part of #7

actually JK this contains way more than just the clearing screen (forgot i was working off my "add_tests" branch - I will close this and re-raise it when I have more tests to merge first... disregard! @rooneyshuman


Wan to change the below bug of card title

The card title heading getting out of card space .
I want to change this bug
Please assign me under hacktoberfest-accepted

That is not a bug 😄 that is physically on purpose to prove that you can still create modern layouts without the need to stay inside container boundaries 😛
Thanks anyway. We are going to close this Issue as it does not add any supporting value to the project. 🤜


Upgrade tokio to 1.10

polkadot companion: https://github.com/paritytech/polkadot/pull/3695

LGTM expect that I would like an explanation for the removed drop in clean_shutdown for explicit approval

Yeah, I'm about to add some comment to the code ;)

bot merge force


chore: implement new cluster

Checklist

[x] JIRA - LW-9568
[x] Proper tests implemented (E2e Full Run)
[ ] Screenshots added.

Testing
Use e2e run from main nightly vs this to benchmark
Additional testing to come after, pending results

coverage: 52.044%. remained the same
when pulling c71a84f1cfeee2873e9a8ea73ac0114d3483c8f5 on chore/update-dev-clusters
into e3c033852ad4b2a879f20eae202615e853f55bb4 on main.


from sticky state to sticky state

I see an issue, don't know if it's on purpose, But I will try to explain.
Plunker: http://plnkr.co/edit/iovSdLG52ezYgsfn46BU
There're two sticky states (task-bar / content)

Try switching for task-bar only for "a" to "b" (using buttons) you will see, that "a" exited, and "b" entered.
Now from "b" to "c" - same story. And this is OK.
Now, whilst task-bar.c is active, activate content.a, task-bar.c became inactive, whilst content.a activated. And this is OK.
Try activating content.b. You will see that task-bar.c remains inactive, content.a exiting, content.b activates. So far, good.
Now activate task-bar.d.
content.b -> inactive = OK
task-bar.d -> active = OK
task-bar.c -> inactive = Not OK

So, is this is on purpose?
If not, I believe I can create PR with fix. [ e8619010b2b932496c02d92b06f4f9f41d340c61 , a635b782543a9aaabb10ffcf3c5c258d95d471df ] but not sure it will work with sticky inside sticky and other complicated scenarios.

Hi, yes that is a known bug, a dupe of #217.  I think it is related to a couple other bugs, and there is an active PR #224 that may fix it.
I need to find a couple hours to really dig into this one and make sure the PR is correct.

@david2tm in the meantime, see if version 0.0.13 works for you.

@david2tm I've got a fix for this committed to master.  Here's your plunker running correctly using ui-router-extras 0.0.15-pre1
http://plnkr.co/edit/gjy2WNixpKmv1Y2pQkZU?p=preview

Great, thanks.


Add Int#popcount from LLVM intrinsic

This is useful for treating integers as bit arrays. For my part, I was trying to implement a hash array mapped trie and went looking for this function (#1927).
I've used the name popcount since it was the first thing I learned. But there are few different names for this operation out there:

popcount: Haskell, GCC, LLVM (ctpop)
bitcount: MySQL, Java, C++
logcount: CommonLisp 😕

I'm happy to switch the name if one of these others would fit in better!
More info:

Wikipedia "Hamming weight#Language Support"
A (rejected) PR to add this behavior to Ruby

Questions

[x] Is the name ok?
[x] Is that int_intrinsic_popcount macro appropriate? Should I hardcode the methods instead?
[x] Is that test coverage ok?

Mh, the argument for a dedicated BitArray in stdlib is certainly not bad.

Out of those names bitcount definitely. I think everyone would associate bitcount with "count of bits set to 1".

bitcount is the best one, clearly describes what it is.
But: does it make sense for signed (negative) ints? Program behaviour will differ when running on a platform that doesn't use two's complement (is there any?).

Is there anything I should change in implementation or test coverage here?

@rmosolgo No, it's just lack of time from us to review this and decide on a name. We'll probably merge this after new year. Stay tuned :-)

@rmosolgo Actually, I don't think it's worth using macros here. I would just define popcount in each of the Int sublcasses and delegate to the corresponding intrinsic. After that change, I'll merge :-)

Sounds good, I just amended my commit and pushed it!

Great, thanks!! :smile_cat:


Public API endpoints

We need three endpoints that basically mirror the existing public API to get data out of the DB.
Draft API specs are at https://studio-ws.apicur.io/sharing/9aef82b7-4132-4603-add0-39cf27415dae#tag/public, but it's pretty much "do what the public API does" along with the option to pass ?preview=true to request preview data.

Endpoints we currently have from PR #52 :

states/info
states/daily

Need:

us/daily

Also need:

preview mode for all of these

Fixed by #52 and #62 . Going to open a separate issue for preview mode, to distinguish from the original set of MVP endpoints.


Gallery UTs fail sporadically in CI

Failed tests: https://nugetbuild.cloudapp.net/viewLog.html?buildId=15492&tab=buildResultsDiv&buildTypeId=Gallery_Application_Master

Disabled test: GivenMatchingApiKeyCredential_ItReturnsTheUserAndMatchingCredential
on master branch. It was blocking CI, and wasn't reproducible on machine (only CI).


[WIP] post: IPLD explorer CLI 0.14

@alanshaw do you have time to get this ready for the world? shall i send a commit?

@mishmosh please feel free to make this better! I've not had any time lately...

@alanshaw here you go. Can I put it back in your hands to review again and ship?


Error setting up entry iCloud3 for device_tracker

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/device_tracker/config_entry.py", line 46, in async_setup_entry
return await component.async_setup_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 183, in async_setup_entry
raise ValueError("Config entry has already been setup!")
ValueError: Config entry has already been setup!
I am getting this error after i updated to the newest version.

What version did you just install and when. There are several 'newest versions.v3.0.rc10.4 on the icloud3 regular site as a prerelease and v3.0 on the icloud3 v3 development site.
When does it occur? When you start HA? When you add the icloud3 integration? When you add it after it has already been set up?
Does it still operate and track devices?
Are there any errors in the Event Log?
Can you do an Event Log > Actions > Export Event Log and send me the file it creates? Can you send me icloud3-0.log file? Email to<EMAIL_ADDRESS>so I can see what might be going on.
Thanks and I'll take a look at the files.

I checked my logs, it looked like i had both installed but the one i was using was development.
The errors appeared after i updated to the newest version of the development repositories. Then restarted the HA
That's the problem it stopped tracking location, it was telling me i was at home for the weekend when even if i was not.
The only errors in the HA event log is that one.
I tried retrieving the exported logs but i can't find it.
I deleted the repository and will try to reupload maybe that's the reason why i could not track my location properly will update you when things break again.
Sorry for the trouble


How do I share code?

Hi guys, I'm trying to get this readme to make sense, but when I follow the instructions I can't seem to get my stuff running. I'm trying to make the instructions as easy as npm. https://github.com/savovs/flask-graphene-hello
I get two errors when I follow the readme in the above repo:

Could not find a version that matches graphene>=2.0.dev
zsh: command not found: flask

It works when I manually install dependencies like this:
$ pipenv install flask flask-graphql graphene = ">=2.0.dev"
Any ideas about what I'm doing wrong?

The installation part might be a bug. The command not found part is easy to resolve: use
FLASK_APP=./server/index.py pipenv run flask run

instead.


Test PR

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

closing this test PR


Making a change in the codal.json config takes 2 builds to be applied

As a simple example:

Build the microbit-v2-samples repo with default settings
Add the "MICROBIT_USB_SERIAL_WAKE": 1 entry to codal.json
Add an #error pragma inside this block:
https://github.com/lancaster-university/codal-microbit-v2/blob/7400578362760a59fb9993c5ed3f499562316d73/model/MicroBit.cpp#L123-L125
Run python build.py again, the build succeeds
Run python build.py a second time, the build fails

That's... really odd. I've never noticed this before. Perhaps one for you @JohnVidler at some point?


Delay when sending e-mails

Classification

[X] Question

Reproducibility

[X] Always

Description
There is always about ten seconds of delay when Thunderbird sends a mail through my SMTP server. It seems to have to do with an RBL lookup, but that is difficult to say. Is this normal?
Steps to reproduce

Send an e-mail using SMTP and STARTTLS on port 587

Expected results
Connect - send - finished in max a second or two.
Actual results
Connect - send - finished takes about ten seconds.
Debugging information
2018-10-03T05:38:56.120861+00:00 mail postfix/submission/smtpd[2700]: connect from ........
2018-10-03T05:38:56.338654+00:00 mail postfix/submission/smtpd[2700]: Anonymous TLS connection established from ........
net[aaa.bbb.ccc.ddd]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
2018-10-03T05:39:06.636424+00:00 mail postfix/submission/smtpd[2700]: warning: aaa.bb.dbl.spamhaus.org: RBL lookup error: Host or domain
name not found. Name service error for name=aaa.bb.dbl.spamhaus.org type=A: Host not found, try again
2018-10-03T05:39:06.649030+00:00 mail postfix/submission/smtpd[2700]: 9E6113F38: client=........, sas
l_method=PLAIN<EMAIL_ADDRESS>2018-10-03T05:39:06.923216+00:00 mail postfix/authclean/cleanup[2703]: 9E6113F38: replace: header Received: from ........ ??(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))??(No client certificate requested)??by mail. from ........; from=........ to=........ proto=ESMT
P helo=<[bbb.ccc.ddd.eee]>: Received: from authenticated-user (mail.aaa.bb [<IP_ADDRESS>])??(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-S
HA384 (256/256 bits))??(No client certificate requested)??by mail.aaa.bb (Postfix) with ESMTPSA id 9E6113F38;??Wed,  3 Oct 2018 05:38:56
+0000 (UTC)

It definitely seems to be connected to the RBL check. With debug logging:
2018-10-03T09:24:10.596094+00:00 mail postfix/submission/smtpd[757]: reject_rbl_domain: dbl.spamhaus.org<EMAIL_ADDRESS>2018-10-03T09:24:20.606613+00:00 mail postfix/submission/smtpd[757]: dns_query: aaa.bb.dbl.spamhaus.org (A): Host not found, try again
2018-10-03T09:24:20.606643+00:00 mail postfix/submission/smtpd[757]: warning: aaa.bb.dbl.spamhaus.org: RBL lookup error: Host or domain name not found. Name service error for name=aaa.bb.dbl.spamhaus.org type=A: Host not found, try again

Are you running systemd-resolved on host machine?

I am using systemd-resolved with dnssec enabled and Unbound disabled (DISABLE_DNS_RESOLVER=true).

https://www.freedesktop.org/software/systemd/man/resolved.conf.html
DNS=<IP_ADDRESS> <IP_ADDRESS> / DNS=<IP_ADDRESS> <IP_ADDRESS>;
Cache=yes
DNSSEC=allow-downgrade

If there was a Knot Resolver, I'd to use it too.

Disabling unbound solves the problem. Are there any logs that could tell why?

Your hosting provider probably apply a rate limit on your DNS rbl queries.

Are there any logs that could tell why?

Enable unbound and after few days, check unbound stats with :
docker exec -ti mailserver unbound-control stats_noreset

if recursivereplies is very far away from cachemiss value, you have a problem.
Example with 40% requests fail :
thread0.num.queries=422
thread0.num.cachehits=0
thread0.num.cachemiss=422
thread0.num.recursivereplies=267

Example with 0% request fail :
thread0.num.queries=633
thread0.num.cachehits=333
thread0.num.cachemiss=300
thread0.num.recursivereplies=300

I will add a proper Debug mode for unbound with use-syslog when DEBUG_MODE is enabled.
For the moment, you can specify a file here :
https://github.com/hardware/mailserver/blob/9d05590c37f4ede0295ede486eb89d3e9385a137/rootfs/etc/unbound/unbound.conf#L4
And increase verbosity level.
https://www.nlnetlabs.nl/documentation/unbound/unbound.conf/

We disable under prodserv unbound DISABLE_DNS_RESOLVER=true.
Knot Resolver works well, systemd-resolved also works fine in host mode.

Keep in mind that if you switch DISABLE_DNS_RESOLVER to true, DNSSEC is disabled in Postfix and Rspamd configuration.
https://github.com/hardware/mailserver/blob/9d05590c37f4ede0295ede486eb89d3e9385a137/rootfs/usr/local/bin/run.sh#L466-L476
The only reason to use this option is when your provider apply a rate limiting to your DNS queries, and rspamd actually does a lot.

@dabide : I added unbound in debug mode (only available in 1.1-latest for now), please test with this mode and post some logs and unbound-control stats here.
mailserver:
  image: hardware/mailserver:1.1-latest
  environment:
    - DISABLE_DNS_RESOLVER=false
    - DEBUG_MODE=unbound

docker logs -f mailserver
docker exec mailserver unbound-control stats_noreset

@hardware DNSSEC=allow-downgrade


How to get the respective output as a return variable rather than saving it as a mmd file?

Which internal functions have to be called so that one can directly get the markdown content in a variable say in a script rather than using the cli method?

If you're planning to convert multiple files I'd recommend using the API. Launch it via nougat_api and call it from python
import requests

pdf= "path/to/file.pdf"
markdown= requests.post(
    "http://<IP_ADDRESS>:8503/predict", files={"file": open(pdf, "rb")}
).json()

If you don't want to use the API, follow predict.py.
Edit: Make sure to install nougat with api functionality pip install "nougat-ocr[api]"

Actually, I found that, full post url may endwith /, or it will raise an error of 307 Temporary Redirect.


Allow setting environment variables from Gemfile

I'm running on Mac OS X 10.7.2 with Xcode 4.2, where the default compiler is clang. Unfortunately, not all gems with native code compile cleanly under clang, and it's necessary to set CC=gcc4.2 before installing.
That's fine when building from the command line, but means these gems can't be built by bundler without ugly hacks involving symlinking binaries, with all the potential that has for unrelated breakage.
I can't see a way of setting an environment variable from within the Gemfile; would it be possible to support something like env 'CC', 'gcc-4.2'?
(This seems to follow on from #1058.)

Bundle config allows you to set config flags on a per-gem basis. Something like that could be arranged for env, I imagine. Of course, you could always also just set the env yourself and then run bundler.
On Dec 15, 2011, at 4:29 AM, John<EMAIL_ADDRESS>wrote:

I'm running on Mac OS X 10.7.2 with Xcode 4.2, where the default compiler is clang. Unfortunately, not all gems with native code compile cleanly under clang, and it's necessary to set CC=gcc4.2 before installing.
That's fine when building from the command line, but means these gems can't be built by bundler without ugly hacks involving symlinking binaries, with all the potential that has for unrelated breakage.
I can't see a way of setting an environment variable from within the Gemfile; would it be possible to support something like env 'CC', 'gcc-4.2'?
(This seems to follow on from #1058.)

Reply to this email directly or view it on GitHub:
https://github.com/carlhuda/bundler/issues/1590

Setting the env before running bundler doesn't seem to work, though; I have export CC=gcc-4.2 in my .zshrc and running bundle produces a non-working version of gherkin, whereas gem install gherkin does.

That seems like a bug, and like the thing we should actually fix rather than allowing bundle config to set env vars.
On Dec 16, 2011, at 4:45 AM, John<EMAIL_ADDRESS>wrote:

Setting the env before running bundler doesn't seem to work, though; I have export CC=gcc-4.2 in my .zshrc and running bundle produces a non-working version of gherkin, whereas gem install gherkin does.

Reply to this email directly or view it on GitHub:
https://github.com/carlhuda/bundler/issues/1590#issuecomment-3176763

I created a new issue for the ENV problem at #1600.


Gradle Sync Failed! Error: Failed to resolve: library

Hi there,
I'm Trying to upgrade UltimateRecyclerView in my project from v0.7.3 to v0.7.5, but always failed on gradle sync.
The build.gradle looks like:
repositories {
    jcenter()
}
dependencies {
    ...
    implementation 'com.marshalchen.ultimaterecyclerview:library:0.7.5'
}

The Error message:
Failed to resolve: library

I tried to invalidate cache in android studio, but the error still happened.
What can i do to solve this issue?
Thanks.

compile 'com.marshalchen.ultimaterecyclerview:library:0.7.5'

for gradle , or
<dependency>
  <groupId>com.marshalchen.ultimaterecyclerview</groupId>
  <artifactId>library</artifactId>
  <version>0.7.5</version>
  <type>pom</type>
</dependency>

for maven

@cymcsg Gradle sync still failed. The error message has become to
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Failed to resolve: library

P.S. I'm using Android Studio 3.1.3 with Android Plugin for Gradle 3.1.3.

Sorry for that. I'll try to find out the solution.
How about if you try to use 0.7.0 version? Is the same error?

@cymcsg Gradle sync fine when change version to  0.7.0.
BTW, I'm using Glide v4.7.1 in my project right now, so building project will failed.

Could you use 0.7.6 for another try? Thanks a lot.


Is it OK to use the new version 1.0.0-preview1-final release alongside 2.0 stable packages?

We are developing an application using the latest stable versions of all Microsoft packages except the SignalR package (we're currently using 1.0.0-alpha2-final). I'm thinking of migrating to the new version released today but I'm wondering if it's OK to have 2.1.0-preview1 (transitive) packages alongside 2.0 stable packages? Are there any known or expected issues that we might hit?

Not really. SignalR is part of the ASP.NET Core 2.1 release and is intended to be used with matching bits.

I suspected that this will be the answer. :) We'll be sticking with 1.0.0-alpha2-final release.
Thanks for the quick answer!


Support for retina tiles

Add support to retrieve retina tiles when it makes sense.

@javisantana I assigned it to you as I don't know who is gonna take care of it.

Check: https://github.com/CartoDB/Windshaft/blob/master/doc/Multilayer-API.md#retina-support

hey @javisantana can we think if we should prioritize this?

this issue depends more on api side and there is a bunch of things pending so I'd say let's finish started things first

Backend issue with pending work: https://github.com/CartoDB/Windshaft/issues/243

+1!

There has been no activity on this issue for several months and that's why are closing it (automatically). If you think this still needs to be addressed please reopen it. The good news is that we are now working on the next version of CARTO.js, stay tuned.


[BUG]: Button position change

Kindly explain, what is the issue or what bug do you want to be fixed?
I want anyone to solve this issue.
there is a gap between both the buttons.
can anyone make the first one attached with the concroller button,
and second one with the first one.
if you do want, get assigned and make a PR
Screenshot of the issue.

What browsers are you seeing the problem on?
No response
Code of Conduct

[X] i have read the contribution guideline
[X] i am sure, this issue is not raised before.

Do you want to fix the issue?
None

hey can you assign this issue to me?

@vivekmahindrakar assigned.
do start the repo,
then make changes,
make a PR

This Issue has been close.
i have fixed it


Reimplement file storage

@zojw @huachaohuang as we basically write object to s3 and cache in memory, is it necessary to have a file storage? I'm unsure whether we should reimplement it or remove it for now as it doesn't block development.

Closed due to #359.


Implement NodePathToEditedNode typehint annotation

Annotation already existing in: PropertyTypeHintAnnotation.kt (already there, needs to be uncommented.
Add typehint and typelimiting support in PropertyHintTypeMapper.kt

Closing in favor of #155


🐛 [Firebase_auth] Randomly signs user out after account creating and navigation from page

Bug report
BUG DESCRIPTION
My system uses firebase phone number auth to generate tokens for my backend now when i use signIn with google account and link the phone auth credentials. but when i use phone number auth only, it actually signs in then after navigating to the next page, it then goes well requesting it data from the backend and after a second or 2 i get the message "Notifying about signout event"
Steps to reproduce
Steps to reproduce the behavior:
User creates account using just phone number signin as a means of authentication from firebase --> navigate to home screen then signout is automatically triggered
Expected behavior
The authenticated state persist as if the user was authenticated using google or apple credentials
Additional context
Because i need to refresh the token
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: [firebase_auth/user-token-expired] The user's credential is no longer valid. The user must sign in again.
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:296:18)
<asynchronous suspension>
#2      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:499:43)
<asynchronous suspension>
#3      MethodChannelUser.getIdToken (package:firebase_auth_platform_interface/src/method_channel/method_channel_user.dart:44:36)

Flutter doctor
This isflutter doctor
This indicates everything is properly install
[✓] Flutter (Channel stable, 3.3.4, on macOS 11.6.2 20G314 darwin-x64, locale en-CM)
 Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2021.3.2)
[✓] VS Code (version 1.69.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Quite extensive list for all platforms
dependencies:
- auto_route 5.0.1 [flutter path collection meta]
- bottom_loader 0.2.2 [flutter]
- camera 0.10.0+1 [camera_android camera_avfoundation camera_platform_interface camera_web flutter flutter_plugin_android_lifecycle quiver]
- connectivity_plus 2.3.6+1 [flutter connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows]
- device_info_plus 4.1.2 [flutter device_info_plus_platform_interface device_info_plus_macos device_info_plus_linux device_info_plus_web device_info_plus_windows]
- dio 4.0.6 [http_parser path]
- dio_cache_interceptor 3.3.1 [dio uuid string_scanner]
- dots_indicator 2.1.0 [flutter]
- equatable 2.0.5 [collection meta]
- firebase_auth 3.8.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.24.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_dynamic_links 4.3.7 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 13.0.1 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 10.3.8 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_credit_card 3.0.3 [flutter]
- flutter_hooks 0.18.5+1 [flutter]
- flutter_local_notifications 9.9.1 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_offline 2.1.0 [flutter connectivity_plus network_info_plus]
- flutter_rating_bar 4.0.1 [flutter]
- flutter_riverpod 1.0.4 [collection flutter meta riverpod state_notifier]
- flutter_signin_button 2.0.0 [flutter font_awesome_flutter]
- flutter_stripe 5.0.0 [flutter stripe_android stripe_ios stripe_platform_interface]
- fluttercontactpicker 4.7.0 [flutter contact_picker_platform_interface contact_picker_web]
- fluttertoast 8.0.9 [flutter flutter_web_plugins]
- form 0.0.5 [flutter validators]
- form_field_validator 1.1.0 [flutter intl]
- freezed 2.1.0+1 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation]
- google_fonts 3.0.1 [flutter http path_provider crypto]
- google_sign_in 5.4.1 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- hive 2.2.3 [meta crypto]
- hive_flutter 1.1.0 [flutter hive path_provider path]
- hooks_riverpod 1.0.4 [collection flutter flutter_hooks flutter_riverpod riverpod state_notifier]
- image_cropper 3.0.0 [flutter image_cropper_platform_interface image_cropper_for_web]
- image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface]
- image_stack 2.1.1 [flutter]
- infinite_scroll_pagination 3.2.0 [flutter sliver_tools]
- intl 0.17.0 [clock path]
- intl_phone_field 3.1.0 [flutter]
- json_serializable 6.3.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- lazy_load_scrollview 1.3.0 [flutter]
- line_icons 2.0.1 [flutter]
- local_auth 2.1.2 [flutter intl local_auth_android local_auth_ios local_auth_platform_interface local_auth_windows]
- lottie 1.4.2 [archive flutter path vector_math]
- mask_text_input_formatter 2.4.0 [flutter]
- pinput 2.2.12 [flutter smart_auth]
- qr_flutter 4.0.0 [flutter qr]
- rate_my_app 1.1.3 [shared_preferences flutter_rating_bar flutter]
- sentry_flutter 6.9.1 [flutter flutter_web_plugins sentry package_info_plus meta]
- shared_preferences 2.0.15 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shimmer 2.0.0 [flutter]
- timeago 3.3.0 [intl]
- url_launcher 6.1.5 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- web_socket_channel 2.2.0 [async crypto stream_channel]

dev dependencies:
- auto_route_generator 5.0.2 [build source_gen analyzer path build_runner code_builder dart_style xml args auto_route]
- build_runner 2.2.0 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- crypto 3.0.2 [typed_data]
- flutter_launcher_icons 0.10.0 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_lints 2.0.1 [lints]
- flutter_native_splash 2.2.9 [args flutter flutter_web_plugins html image js lint meta path universal_io xml yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- hive_generator 1.1.3 [build source_gen hive analyzer source_helper]
- sign_in_with_apple 4.1.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web]

dependency overrides:
- firebase_messaging_platform_interface 4.2.0 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]

transitive dependencies:
- _fe_analyzer_shared 43.0.0 [meta]
- _flutterfire_internals 1.0.2 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 4.3.1 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.3.1 [crypto path]
- args 2.3.1
- async 2.9.0 [collection meta]
- basic_utils 3.9.4 [http logging json_annotation pointycastle]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.3.0 [analyzer async convert crypto glob logging meta path]
- build_config 1.1.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.9 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.4.1 [built_collection collection fixnum meta]
- camera_android 0.10.0+2 [camera_platform_interface flutter flutter_plugin_android_lifecycle stream_transform]
- camera_avfoundation 0.9.8+5 [camera_platform_interface flutter stream_transform]
- camera_platform_interface 2.2.0 [cross_file flutter plugin_platform_interface stream_transform]
- camera_web 0.3.0 [camera_platform_interface flutter flutter_web_plugins stream_transform]
- characters 1.2.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.5 [meta path]
- clock 1.1.1
- cloud_firestore_platform_interface 5.7.7 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.8.10 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.2.0 [built_collection built_value collection matcher meta]
- collection 1.16.0
- connectivity_plus_linux 1.3.1 [flutter connectivity_plus_platform_interface meta nm]
- connectivity_plus_macos 1.2.4 [connectivity_plus_platform_interface flutter]
- connectivity_plus_platform_interface 1.2.1 [flutter meta plugin_platform_interface]
- connectivity_plus_web 1.2.3 [connectivity_plus_platform_interface flutter_web_plugins flutter]
- connectivity_plus_windows 1.2.2 [connectivity_plus_platform_interface flutter]
- contact_picker_platform_interface 4.7.0 [flutter meta plugin_platform_interface]
- contact_picker_web 4.7.0 [flutter flutter_web_plugins js contact_picker_platform_interface]
- convert 3.0.2 [typed_data]
- cross_file 0.3.3+1 [js meta]
- csslib 0.17.2 [source_span]
- dart_style 2.2.3 [analyzer args path pub_semver source_span]
- dbus 0.7.8 [args ffi meta xml]
- device_info_plus_linux 3.0.0 [device_info_plus_platform_interface file flutter meta]
- device_info_plus_macos 3.0.0 [device_info_plus_platform_interface flutter]
- device_info_plus_platform_interface 3.0.0 [flutter meta plugin_platform_interface]
- device_info_plus_web 3.0.0 [device_info_plus_platform_interface flutter_web_plugins flutter]
- device_info_plus_windows 4.1.0 [device_info_plus_platform_interface ffi flutter win32]
- fake_async 1.3.1 [clock collection]
- ffi 2.0.1
- file 6.1.4 [meta path]
- firebase_auth_platform_interface 6.7.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 4.4.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.1 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 1.7.3 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_dynamic_links_platform_interface 0.2.3+12 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.1.4 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.1.16 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.3.6 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.1
- flutter_local_notifications_linux 0.5.1 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories]
- flutter_local_notifications_platform_interface 5.0.0 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.7 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- font_awesome_flutter 9.2.0 [flutter]
- freezed_annotation 2.1.0 [collection json_annotation meta]
- frontend_server_client 2.1.3 [async path]
- glob 2.1.0 [async collection file path string_scanner]
- google_sign_in_android 6.1.0 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.5.0 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.3.0 [flutter plugin_platform_interface quiver]
- google_sign_in_web 0.10.2 [flutter flutter_web_plugins google_sign_in_platform_interface js]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http 0.13.5 [async http_parser meta path]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- image 3.2.0 [archive meta xml]
- image_cropper_for_web 1.0.2 [flutter flutter_web_plugins image_cropper_platform_interface js]
- image_cropper_platform_interface 3.0.2 [flutter plugin_platform_interface http]
- image_picker_android 0.8.5+3 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.1.8 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_ios 0.8.6 [flutter image_picker_platform_interface]
- image_picker_platform_interface 2.6.1 [cross_file flutter http plugin_platform_interface]
- io 1.0.3 [meta path string_scanner]
- js 0.6.4
- json_annotation 4.6.0 [meta]
- lint 1.10.0
- lints 2.0.0
- local_auth_android 1.0.12 [flutter flutter_plugin_android_lifecycle intl local_auth_platform_interface]
- local_auth_ios 1.0.9 [flutter intl local_auth_platform_interface]
- local_auth_platform_interface 1.0.4 [flutter intl plugin_platform_interface]
- local_auth_windows 1.0.3 [flutter local_auth_platform_interface]
- logging 1.0.2
- matcher 0.12.12 [stack_trace]
- material_color_utilities 0.1.5
- meta 1.8.0
- mime 1.0.2
- network_info_plus 2.1.4+1 [flutter meta network_info_plus_platform_interface network_info_plus_linux network_info_plus_macos network_info_plus_windows network_info_plus_web]
- network_info_plus_linux 1.1.2 [collection flutter meta network_info_plus_platform_interface nm]
- network_info_plus_macos 1.3.0 [network_info_plus_platform_interface flutter]
- network_info_plus_platform_interface 1.1.2 [flutter meta plugin_platform_interface]
- network_info_plus_web 1.0.1 [flutter flutter_web_plugins network_info_plus_platform_interface]
- network_info_plus_windows 1.0.2 [flutter network_info_plus_platform_interface]
- nm 0.5.0 [dbus]
- package_config 2.1.0 [path]
- package_info_plus 1.4.3+1 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- package_info_plus_linux 1.0.5 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.5 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 2.1.0 [package_info_plus_platform_interface ffi flutter win32]
- path 1.8.2
- path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- path_provider_android 2.0.20 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.11 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.6 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.3 [ffi flutter path path_provider_platform_interface win32]
- petitparser 5.0.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- pointycastle 3.6.2 [collection convert js]
- pool 1.5.1 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.1 [collection meta]
- pubspec_parse 1.2.1 [checked_yaml collection json_annotation pub_semver yaml]
- qr 2.1.0 [meta]
- quiver 3.1.0 [matcher]
- random_string 2.3.1
- riverpod 1.0.3 [collection meta state_notifier]
- sentry 6.9.1 [http meta stack_trace uuid]
- shared_preferences_android 2.0.13 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_macos 2.0.4 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.1.0 [flutter plugin_platform_interface]
- shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.3.2 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.2 [shelf stream_channel web_socket_channel]
- sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta]
- sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js]
- sky_engine 0.0.99
- sliver_tools 0.2.8 [flutter]
- smart_auth 1.0.5 [flutter flutter_web_plugins]
- source_gen 1.2.2 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.2 [analyzer collection source_gen]
- source_span 1.9.0 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- state_notifier 0.7.2+1 [meta]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.1 [source_span]
- stripe_android 5.0.0 [flutter]
- stripe_ios 5.0.0 [flutter]
- stripe_platform_interface 5.0.0 [flutter freezed_annotation json_annotation meta plugin_platform_interface]
- term_glyph 1.2.1
- test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.8.0 [path]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.1 [collection]
- universal_io 2.0.4 [collection crypto meta typed_data]
- url_launcher_android 6.0.18 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.0 [flutter plugin_platform_interface]
- url_launcher_web 2.0.13 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface]
- uuid 3.0.6 [crypto]
- validators 2.0.1 [vin_decoder]
- vector_math 2.1.2
- vin_decoder 0.1.4 [basic_utils http random_string]
- watcher 1.0.1 [async path]
- win32 3.0.0 [ffi]
- xdg_directories 0.2.0+2 [meta path process]
- xml 6.1.0 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

Thanks for the report @MbohBless
Is your main issue that you are getting "Notifying about signout event" or Unhandled Exception: [firebase_auth/user-token-expired] The user's credential is no longer valid. The user must sign in again. ?
Or after signing out, you get the said exception ?
Are you able to replicate this behavior consistently everytime ? If so, can you provide a minimal reproducible code sample that shows this behavior ?
I would also suggest you to try the official plugin example and see if using it, you get same behavior / log as you reported.

_userServices.fetchUserMe().then((value) {
if (value != null) {
UserBox.putUserName(value["name"]);
FirebaseCloudMessagingServices.tokenRefreshListener();
Future.delayed(Duration.zero, () {
if (ref.read(whatRoute) == "create_acct") {
Toaster.toastInfo("You have an account already");
auth.homeHandler(link, context, ref);
}
auth.homeHandler(link, context, ref);
});
} else {
if (ref.read(whatRoute) == "create_acct") {
_userServices.postUser().then((value) {
setState(() {
isLoading = false;
});
if (value.statusCode == 201 ||
value.statusCode == 200) {
UserBox.putUserName(value.data["data"]["name"]);
auth.homeHandler(link, context, ref);
} else {
return false;
}
}).onError((error, stackTrace) {
setState(() {
isLoading = false;
});
return null;
});
} else {
// Toaster.toastInfo("An error occured");
context.router.replaceNamed("/name_email");
return false;
}
}
}).onError((error, stackTrace) {
setState(() {
isLoading = false;
});
after successful account creation done by the above
_userservices.postUser
which makes use of the firebase generated auth token the application normally navigates using the
auth.homeHandler(link,context,ref)
to the application home page
but after creating account and navigating, the user is automatically logged out

@MbohBless The code you provided still contains custom code that we can't directly use. Please provide a complete code sample (ex: main.dart) that we can directly copy paste and run to verify the reported behavior.
Also provide the platform on which you are seeing this error (ex: Android, iOS, web).

@MbohBless
Can you try the official plugin example with your setup and check if using it, you get same behavior as you reported earlier ?

ok i did try and did not get thesame issue i guess the issue is coming from my end i will try to rectify and continue working

Closing based on above comment as it looks more like an implementation issue rather than plugin's.


fix: Rename coze-sdk to coze and release coze-api v0.1.4 with API fixes

Rename 'coze-sdk' to 'coze' of the project
Bump coze-api version to 0.1.4
Fix various API issues in coze-api

fix https://github.com/coze-dev/coze-java/issues/14 and https://github.com/coze-dev/coze-java/issues/13


Support get message CID from a signed message

A wallet may expect get the message cid(or hash) once it was signed. If the broadcast encounters an error, the user can track the message with the cid on chain

This is on hold until we have an answer to this issue in forest : https://github.com/ChainSafe/forest/issues/725


Add missing license files

Adds missing LICENSE files to library folders.

Coverage remained the same at 81.915% when pulling bee8cbd1f3a22efccb83ba045231eb611e2a7f7d on missing-license-files into 60d9c29834100e2858e59bfeb285bd7173970bd4 on dev.

Coverage remained the same at 81.915% when pulling bee8cbd1f3a22efccb83ba045231eb611e2a7f7d on missing-license-files into 60d9c29834100e2858e59bfeb285bd7173970bd4 on dev.


Optional parameters: yes or no?

Currently every method we're creating ends up having at least 2 overloads, as there are always options - and async methods always have cancellation tokens (and sometimes progress reporters).
Now MS typically doesn't use optional parameters in the framework, presumably in order to support either languages which don't support them, or developers who dislike them. For example, the TAP guidelines always talk about overloads rather than having optional parameters.
An internal discussion suggested we'd start off by following the normal framework conventions - but as time goes on and we implement more methods, I'm feeling that the tangible pain of this (more overloads == more maintenance, risk of diverging docs, etc) is greater than the non-tangible benefit.
Thoughts?
(It's hard to gauge the community's view on this - most popular APIs were started before optional parameters were available. Roslyn uses them extensively in the public API though, at least for cancellation tokens.)
// cc @mmdriley @ivannaranjo @chrsmith @remi @SurferJeffAtGoogle

Again, the fluent pattern comes to mind.
I am starting to see it in the new Asp.Net 5 code.  For example:
http://aspnetmvc.readthedocs.org/projects/mvc/en/latest/tutorials/mvc-with-entity-framework.html#configure-entity-framework
On Wed, Dec 16, 2015 at 3:57 AM, Jon Skeet<EMAIL_ADDRESS>wrote:

Currently every method we're creating ends up having at least 2 overloads,
as there are always options - and async methods always have cancellation
tokens (and sometimes progress reporters).
Now MS typically doesn't use optional parameters in the framework,
presumably in order to support either languages which don't support them,
or developers who dislike them. For example, the TAP guidelines always talk
about overloads rather than having optional parameters.
An internal discussion suggested we'd start off by following the normal
framework conventions - but as time goes on and we implement more methods,
I'm feeling that the tangible pain of this (more overloads == more
maintenance, risk of diverging docs, etc) is greater than the non-tangible
benefit.
Thoughts?
(It's hard to gauge the community's view on this - most popular APIs were
started before optional parameters were available. Roslyn uses them
extensively in the public API though, at least for cancellation tokens.)
// cc @mmdriley https://github.com/mmdriley @ivannaranjo
https://github.com/ivannaranjo @chrsmith https://github.com/chrsmith
@remi https://github.com/remi @SurferJeffAtGoogle
https://github.com/SurferJeffAtGoogle
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-dotnet/issues/41.

The fluent pattern definitely works for some things, including configuration - I'm not sure it's as pleasant here. Fundamentally it always feels like a simple RPC should just be a single method call... if there were some nice way of making the "now execute" part implicit, that would be slightly different. There are ways it could be done using implicit conversions, but the idea of an implicit conversion making an RPC is horrible :)

Indeed the use of the fluent pattern is more appropriate for builder kind of scenarios, like the configuration example, but not for a call, that is what we sort of have today with the existing .NET client, where you build a request and then execute it, and that is not that good.
I would rather vote for having the optional parameters, the IDE supports them quite well, the language now have the named parameters feature that works quite well with the optional parameters feature, combined the calls make a lot more sense now.

Intriguingly, Google's stance on optional parameters in C++ has just changed. As go the times, so must I.
I support using optional parameters. The obvious caveat applies: for a given function/argument, the default can never change since it would cause silent inconsistency in clients that haven't recompiled.

Agreed. Perhaps we should have a list of "allowable default values", e.g.

null
0
default(CancellationToken)
""

It should definitely be used really, really sparingly.

Well, changing the defaults in parameters would mean changing the signature
which will be a breaking change, so yes we should be very careful about
that.
As for the allowed default values, I would say that things that come out of
default(Type) is the way to go. "" sincerely can just be checked with
String.IsNullOrEmpty so it is not a big deal.
On Thu, Dec 17, 2015 at 5:58 PM, Jon Skeet<EMAIL_ADDRESS>wrote:

Agreed. Perhaps we should have a list of "allowable default values", e.g.

null
0
default(CancellationToken)
""

It should definitely be used really, really sparingly.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-dotnet/issues/41#issuecomment-165531445
.

Looks like we mostly like them - will assume we're going with them for now, but we should listen for external feedback once we have more usage.


[rlgl] Check for extensions before enabling them

Updates external/glad.h with the new required extension macros.
Draft because I couldn't get it to build on my machine.
Addresses #2695

Oh yea, I'll need to do extra work on macOS as well...

Unsure whats with the Windows build, I'll look into that later

Note to self: ASTC compression might not be present in all OGL 3.3 implementations

@Not-Nik Looks great! Thanks for the improvement and all the reviews!


Missing Calendar

Have you seen any issues when using 2 MonthlyCalendars in a single app? I am using one instance for schedule data and a separate instance with its own data and behavior for event data. When I do this both calendars disappear. As soon as I comment out one of the calendars, then the other works properly.

Well this is very bizarre. I had 2 views using the calendar, Schedule & Events. I had commented out Events and was working with Schedule. Then I commented out Schedule and uncommented Event. But now event did not display the calendar. After trying various things, the only time Event calendar started showing up again on device or simulator was when I allowed it to build for Preview. Then it started working again on device. I am totally befuddled by this.

That's pretty weird... But hey, at least u got it working!

I would not say that the problem was fixed. It still seems to happen at random times.
As to your proposed solution, are you saying that I should remove the static keywords and then create an instance for each calendar?
FGR

On Aug 27, 2020, at 8:57 PM, Kevin Li<EMAIL_ADDRESS>wrote:

That's pretty weird... But hey, at least u got it working!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yep.


small Update.

Hi, please check and merge My PR.
Thanks :octocat:

This PR corrects some MarkDown issues in the readme. Looks good to me.


使用FunctionCall时，生成Function的日期参数错误

有没有什么解法可以让模型根据提示信息和用户提问生成正确的日期
Answer the following questions as best you can. You have access to the following APIs:

statistics_alert_count: Call this tool to interact with the statistics_alert_count API. What is the statistics_alert_count API useful for? 统计查询时间范围内的告警条数，需要提供查询的起始时间和结束时间 Parameters: {"type": "object", "properties": {"start_time": {"type": "string", "description": "查询范围的起始时间, e.g. 2023-01-03"}, "end_time": {"type": "string", "description": "查询范围的结束时间, e.g. 2023-01-04"}}, "required": ["start_time", "end_time"]}

get_current_weather: Call this tool to interact with the get_current_weather API. What is the get_current_weather API useful for? Get the current weather in a given location. Parameters: {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state, e.g. San Francisco, CA"}, "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}}, "required": ["location"]}

Use the following format:

Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take, should be one of [statistics_alert_count, get_current_weather]
Action Input: the input to the action
Observation: the result of the action
... (this Thought/Action/Action Input/Observation can be repeated zero or more times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question

Begin!

Question: 当前日期为：2024-01-03，问题：昨天有多少告警
<!-- *** -->
Thought: 需要获取昨天（即2023年12月31日）的告警信息。
Action: statistics_alert_count
Action Input: {"start_time": "2023-12-31", "end_time": "2024-01-02"}

Answer the following questions as best you can. You have access to the following APIs:

statistics_alert_count: Call this tool to interact with the statistics_alert_count API. What is the statistics_alert_count API useful for? 统计查询时间范围内的告警条数，需要提供查询的起始时间和结束时间 Parameters: {"type": "object", "properties": {"start_time": {"type": "string", "description": "查询范围的起始时间, e.g. 2023-01-03"}, "end_time": {"type": "string", "description": "查询范围的结束时间, e.g. 2023-01-04"}}, "required": ["start_time", "end_time"]}

get_current_weather: Call this tool to interact with the get_current_weather API. What is the get_current_weather API useful for? Get the current weather in a given location. Parameters: {"type": "object", "properties": {"location": {"type": "string", "description": "The city and state, e.g. San Francisco, CA"}, "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}}, "required": ["location"]}

Use the following format:

Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take, should be one of [statistics_alert_count, get_current_weather]
Action Input: the input to the action
Observation: the result of the action
... (this Thought/Action/Action Input/Observation can be repeated zero or more times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question

Begin!

Question: 当前日期为：2024-01-03，问题：最近7天内有多少告警
<!-- *** -->
Thought: 需要使用统计数据告警数量API来获取过去7天内的告警数量。
Action: statistics_alert_count
Action Input: {"start_time": "2024-01-03", "end_time": "2024-01-10"}
Observation:

同样的问题


after 2.1.4 Homebridge doesn't start

What happened?
Hey Community,
after Update, my homebridge get stuck in a start loop with this message:
Dec 25 12:15:29 raspberrypi systemd[1]: homebridge.service: Main process exited, code=killed, status=11/SEGV
Dec 25 12:15:29 raspberrypi systemd[1]: homebridge.service: Failed with result 'signal'.
Dec 25 12:15:30 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
After downgrade to 2.1.3 everything works fine.
Thanks and merry christmas
Martin
Device Type
Doorbell (Supported)
Plugin Version
v2.0.x (Supported)
HomeBridge Version
v1.4.x (Supported)
NodeJS Version
v12 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
Dec 25 12:15:29 raspberrypi systemd[1]: homebridge.service: Main process exited, code=killed, status=11/SEGV
Dec 25 12:15:29 raspberrypi systemd[1]: homebridge.service: Failed with result 'signal'.
Dec 25 12:15:30 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.

config
{
            "username": "XXXXXXXX",
            "password": "XXXXXXX",
            "country": "DE",
            "deviceName": "",
            "platform": "EufySecurity",
            "ignoreStations": [],
            "ignoreDevices": [],
            "cleanCache": true,
            "cameras": [
                {
                    "serialNumber": "XXXXXXXXX",
                    "rtsp": false,
                    "enableCamera": true,
                    "enableButton": true,
                    "motionButton": false,
                    "videoConfig": {
                        "audio": true,
                        "debug": true
                    },
                    "snapshotHandlingMethod": 1
                },
                {
                    "serialNumber": "XXXXXXXXXX",
                    "enableButton": false,
                    "motionButton": false
                }
            ]
        }

Also in my case after the update, HomeBridge is broken with the error: Websocket failed to connect, is the server running?
After restoring a backup, it works again but Eufy Plugin can't connect: [12/25/2022, 7:58:00 PM] [EufySecurity-2.1.3] ERROR: Not connected can't continue!

Hi. Having same issue.

About the 'Not connected can't continue!' error please see #250
It might help if you set up a new guest account and share your devices with the new account.
Also it might help to deactivate 2FA temporarily.
And lastly it might be a captcha request that the plugin cannot resolve on its own. Unfortunately the 2.1.4 still won't show the captcha warning. This will only show up in the beta for now. --> If it is the captcha it might help to wait some 12 hours or so and try again (most likely the account is flagged by eufy and that's automatically resolved after a while).


Not available for android 6.0

it not working on my android 6.0

Confirm. not working for me either:(

Hello, i managed to make it work by changing the android:targetSdkVersion from 23 to 22.
It`s not the best way of solving this issue but it works for now. If you want to "really" fix it you should check the way android asks for permissions in android 6.0 and above.
thank you

Do you ever get the permission prompt?

Thanks Unmihai :)

@EddyVerbruggen  it asks for permissions when you install the app. It`s not a natural behavior for android 6 but it works and google approves it: https://play.google.com/store/apps/details?id=lanterna.flash.com
As I said before this is just a way of temporary fixing this issue and I will try to do a real fix and come back with an update.
Thanks!

@Unmihai Thanks. With API level 23 on Android 6 you should get the permission prompt when switching the Flashlight on the first time. Don't you see that prompt?

@EddyVerbruggen no, you don t get that prompt. So basically if you use api 23 you can install the app but nothing happens on android 6 because there s no asking for permission not on install and not on use:).

OK, would be cool if you could debug that line I highlighted in my previous comment.


Adding nullptr to std::string

In https://github.com/boostorg/compute/blob/develop/include/boost/compute/detail/path.hpp#L31 std::getenv can return nullptr. It happens for $HOME in my case and produces a segmentation fault. I don't know the specification for operator+(const char*, const std::string&), but I know that construction of std::string from nullptr is undefined behaviour.

Can you please assign this issue with me?

No, it is not possible to directly add nullptr to an std::string in the Boost.Compute library or in standard C++.
The std::string class in C++ does not have a constructor or assignment operator that takes a nullptr parameter. Assigning a nullptr directly to an std::string would result in a compilation error.
Here's an example of code that would produce a compilation error:
std::string str = nullptr;  // Error: Cannot assign nullptr to std::string
If you have a specific use case or requirement that involves adding nullptr to an std::string, you would need to provide more details about the context and the desired behavior, as well as any relevant code examples or specific library functions you are working with.


Sticky notification bar overlaps and hides search bar on website

Describe the bug

The new alert bar on PYPI overlaps and hides search bar on pypi when on a particular module page.
Expected behavior

Obviously one should have access to the search bar and I think there should be an option (like a ❌ to remove the bar if one need so). It should be placed in a way that pushes the whole screen below by its height and is above to avoid any usage issues.

Also, if a user opts to visit and provide feedback from there, the bar should not be there then but currently this is not the case.

To Reproduce

Visit here or any other similar page.
My Platform

OS : Windows 10/11
Chrome : Version 94.0.4606.71 (Official Build) (64-bit)
Additional context

Hm, I could be wrong but it might be a race condition:
This line:
https://github.com/pypa/warehouse/blob/c6392cb8035d8f3f570dee4f4bfe664d1d2e17ef/warehouse/static/js/warehouse/index.js#L109
Says that within 200ms of the document being ready, the height of the HTML element is computed and added to an inline padding on body.
The flash messages are computed by loading a different page and embedding its partial-html content into our page. So depending on the total timing, the page already has the content or not, which results on the bar being sometimes correct, sometimes incorrect. Not 100% sure it's that, but this could be the reason.

Maybe it's linked to the new banner feature, and maybe the fastly caching parameters for the banner are slight different, or something ?

IIUC, this is the first time we're using https://github.com/pypa/warehouse/pull/9656.

I've confirmed today that the notification banners no longer overlap with the search bar on the index and any package page, in desktop and mobile modes.
We've also since introduced the ability to dismiss certain banners (if the admin sets it so).
Closing since it doesn't appear any longer, but if any reporter still has this problem, please reopen with details like browser version, pages, and a screenshot with the problem.


Fix DeprecationWarning

numpy.asscalar function is deprecated since NumPy v1.16
See:
https://docs.scipy.org/doc/numpy-1.16.0/release.html#new-deprecations

@ZipFile : Do you know which version of Numpy ndarray.item was introduced?

Looking at it, it is here since a while: https://docs.scipy.org/doc/numpy-1.3.x/reference/generated/numpy.ndarray.item.html#numpy.ndarray.item, I will merge this one as it looks quite safe.

Not sure when it was introduced, but:
def asscalar(a):
    return a.item()

asscalar was implemented like this since forever (https://github.com/numpy/numpy/commit/65d5f7fc7378e7d8a05125c667ae933b7a6c040f or https://github.com/numpy/numpy/commit/54a193f1a0cdd6ccf40e36d09daa9fb0dd658456 before ndarray.toscalar -> ndarray.item rename). They moved it around over time and now decided to deprecate. So this PR is about removing annoying warning.


Drag and drop support

Hi
Great app, could you add drag 'n drop support?

Might be possible. Just to be clear: do you mean dragging a video file onto the window (similar to the functionality of the filepicker in the file menu)?

Yes, that is correct

This is implemented in v0.4.


Bug close when press Send on OpenSUSE

Expected Behavior
Show screen of send success
Actual Behavior
00:28:18.808 › Running version 2023.2.2
00:28:18.822 › [electron client protocol] FAILED to set default protocol 'insomnia://'
00:28:18.838 › [electron client protocol] the current executable is not the default protocol for 'insomnia://'
00:28:18.949 › [electron client protocol] the default application set for 'insomnia://' was not found
00:28:19.246 › [fix] Running database repairs
00:28:19.339 › [db] Initialized DB at /home/ponchale/.config/Insomnia/insomnia.$TYPE.db
00:28:19.340 › [db] Init responses DB
00:28:19.340 › [db] Init websocket-responses DB
00:28:19.347 › [localstorage] Initialized at /home/ponchale/.config/Insomnia/localStorage
00:28:19.459 › [main] Loading file:///home/ponchale/Descargas/Insomnia/resources/app.asar/index.html
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[14602:0608/002819.562057:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
00:28:19.984 › [updater] Updater not running platform=linux dev=false
00:28:22.080 › [main] Window ready, handling command line arguments [ '/home/ponchale/Descargas/Insomnia/insomnia' ]
Violación de segmento (`core' generado)
Reproduction Steps
1 Config environment
2 select the file called Ping
3 Press Send
4 explote
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2023.2.2
What operating system are you using?
Other Linux
Operating System Version
Linux localhost.localdomain 6.3.4-1-default #1 SMP PREEMPT_DYNAMIC Mon May 29 06:22:29 UTC 2023 (2c66b1f) x86_64 x86_64 x86_64 GNU/Linux
Installation method
package tar
Last Known Working Insomnia version
No response

There seems to be the same problem on Fedora indicated by this issue : https://github.com/Kong/insomnia/issues/5088
@filfreire explains here how to fix it by going to a specific cups version https://github.com/Kong/insomnia/issues/5088#issuecomment-1400859407 or you can use the flatpak which uses an older version of cups https://flathub.org/apps/rest.insomnia.Insomnia


Fixed typo in README.md

Fixed typo

/assign @mattfarina

/lgtm

@jonparker could you please sign the CNCF CLA. All contributions need to be from someone with a signed CLA. The comment at https://github.com/kubernetes-sigs/application/pull/96#issuecomment-466637926 has details on signing it.

Sorry I am trying to get the email from HelloSign but it hasn't come through.


Generate "Output Nodes" for DIV Instructions with Symbolic Divisor

Generate an output node in the dataflow graph for DIVU instructions with a symbolic divisor. (possible division with 0)

is a subtask of #77


fix(exports): add Toggle component to module exports

:tada: This PR is included in version 1.19.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ AnimeBytes has degraded performance

In 785a7cc, AnimeBytes ($AB) experienced degraded performance:

HTTP code: 200
Response time: 6613 ms

Resolved: AnimeBytes performance has improved in 9957194 after 8 minutes.


isBubbleVisible()

Hello, How do we get the event that bubble is currently visible or not ? I want to check the status ! Do we have any method ?
Thanks,
Nimit

you can save the bubbleLayout on a list to verify if it still exsit or not. Just do not forget to clear the list when the bubble is deleted