Bash vars use =

Signed-off-by: Ben Dang<EMAIL_ADDRESS>

Thanks for the pull request! Here is what will happen next:

Your PR will be reviewed by the maintainers
If everything looks good, one of them will approve it, and your PR will be merged.

Thank you for contributing!


Devote a day to converting the app to use Realm

It could prove worth our time in the longer run.

At this point it'd be better to move to RN + Relay.


move this wiki page to the main site

Diane would like this page from the wiki (https://wiki.creativecommons.org/wiki/Legal_code) moved to the main CC site. It is a canonical explanation of what constitutes unchangeable legal code.
Thanks!

Do we have a url on the main site in mind for this?

Up to @sarahpearson , we may need to create a sentence or phrase on the main license explanation pages where a link could then be inserted.

How about we add the following on the About Licenses page: "CC has committed to maintaining the legal code of its licenses completely unchanged after publication. See here [LINK to new page] for an explanation of what is considered legal code and what is not."
I don't really have any strong opinions about the URL for the new page. Maybe something like https://creativecommons.org/licenses/whatislegalcode ?

A small tweak to the sentences Sarah provided:
"CC maintains the legal code of each license version, port (pre 4.0), and official translation unchanged after publication. See here [LINK to new page] for an explanation of what is and is not considered legal code."
I feel slightly strongly that the URL not be a question. How about:
https://creativecommons.org/licenses/defininglegalcode
or
https://creativecommons.org/licenses/legalcodedefined
@sarahpearson @robmyers

Sounds good.

Per @peterspdx on Slack, @sarahpearson will find the place on the website to move this to and create the text. Assigning to her and moving this to "more info needed" since tech is waiting on that.
@sarahpearson please assign back to me when you're ready.

Moved: https://creativecommons.org/legal-code-defined/


Add CFG Rescale option for supporting zero-terminal SNR models

What type of PR is this? (check all applicable)

[ ] Refactor
[X] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Community Node Submission

Have you discussed this change with the InvokeAI team?

[ ] Yes
[X] No, because:

Have you updated all relevant documentation?

[ ] Yes
[X] No

Description
This PR implements CFG rescaling as required when using models trained using zero-terminal SNR. It exposes a CFG Rescale Multiplier input on the Denoise Latents node:

What's this for? It is required for models trained using zero-terminal SNR (ref https://arxiv.org/abs/2305.08891 -- the "proper" implementation of what is known elsewhere as "offset noise"), mainly to avoid issues with oversaturation.
Here's an example from a model I trained using zero-terminal SNR. This is the output without CFG rescaling:

and here's the same prompt/seed with CFG rescaling set to 0.7 (which is the recommended value for zero-terminal SNR trained models):

Note the improved contrast and details.

Note that there is an implementation of rescale CFG in upstream diffusers but a) according to @SargeZT it's not implemented correctly and b) Invoke's custom diffusers pipeline does not have ready access to it anyway

Would users of these models know that this setting needs to be used?
Is there a programmatic way to determine if a model needs the setting to be used?

Would users of these models know that this setting needs to be used?
Is there a programmatic way to determine if a model needs the setting to be used?

I was thinking along these lines too. If it's not something we expect to toggle on and off for each denoising operation, and it's instead something we always expect to apply to some models and never to others, then it sounds like we could model it as a property of the model.
It could go in its unet/config.json and we wouldn't need to clutter the interface with it.
I don't know, perhaps there's a case from altering it from that "recommended" value? In which case I suppose we could expose it on the Denoise Latents interface, but we'd want it to use its recommended value by default unless you specifically override it.

it could probably be set on a per-model basis. what i'm unsure of is whether there's any point trying other values than 0.7 (ZTSNR models) or 0 (regular models)

In the paper that introduces CFG rescale phi, they don't give a good justification as to why 0.7 is the best value. It's just what "looked right" to them in their environment. AFAICT this lacks sufficient rigour for 0.7 to be taken as an objective optimal value for models that were trained with offset noise.

right, so that means it should probably be exposed as an argument?
the issue is that the latents node is already pretty over-burdened with options. i guess what would be ideal is having some way of grouping inputs to a node and having the groups expandable/collapsible.

To my understanding, while storing a CFG rescale with each model could work, personally I like to tweak it for each generation I make.
I'm not aware of all the plans for invoke, but if there was a way in the graph to create loops and control flow conditions, it would be possible to create a custom denoising loop graph using even more basic nodes. all the little extensions that have been discovered this last year for latent diffusion models would become possible without having to fit them all into one node. In fact, this would also enable use cases like frame by frame video processing.
In my opinion, in the long run, instead of adding new fields to the denoising nodes, I think there should be some effort to break it into smaller pieces.
I presume something like graph loops could take a while if it is ever done, so maybe having the CFG rescale as a model property or grouped field set to either 0 or 0.7, or something like that, is good enough for now.

@RyanJDick @StAlKeR7779 please re-review

Here's another such model, based on SD 1.5, that might work with this: https://huggingface.co/drhead/ZeroDiffusion

I've resolved a number of conflicts on this branch and created #5199 to followup on the remaining discussion point.


feat: add linters and ci

fix all linting issues but one C902

No functional changes here, can you please confirm

Black failing.


update cloudbuild and goreleaser to build cosign also with piv-tool

This PR updates the cloudbuild that will be used for the release process

use goreleaser to build and do the cross compile and enable the piv-tool commands
Add dockerfile to build the cosign image, due the limitation of ko to not support multiple ldflags at this moment

Tested in my fork repo: https://github.com/cpanato/cosign/releases/tag/v99.99.99
and image available for testing here: gcr.io/cpanato-general/cosign:v99.99.99-1

updated the image to use the digest as well

Do we want to continue releasing .sha256 files?

Do we want to continue releasing .sha256 files?

Will be available in the cosign_checksums.txt file see https://github.com/cpanato/cosign/releases/download/v99.99.99/cosign_checksums.txt for example


Only Application Scope

I'm newbie in DI, and decide to start learning it with toothpick. I try to refactor my sample application and add DI. My data repository is application singleton.  Then I use it inside fragment, I inject it in fragment's onCreate:
public class MyFragment extends BaseFragment {
    ........
    @Inject
    MyRepository repository;
    .........

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        Toothpick.inject(this, ((App)getActivity().getApplication()).getAppScope());
        super.onCreate(savedInstanceState);
    }

App.java
public class App extends Application {
    private Scope appScope;
    @Override
    public void onCreate() {
        super.onCreate();
        initToothpick();
    }

    private void initToothpick() {
        appScope = Toothpick.openScope(this);
        appScope.installModules(new SmoothieApplicationModule(this, Preference.NAME), new MyApplicationModule());
        Toothpick.inject(this, appScope);
    }

    public Scope getAppScope() {
        return appScope;
    }
}

Is it fine?

Great idea to learn DI and good choice to use TP.
I would advise you not to use fragment scopes at the beginning. Try using
application scopes and activity scopes only.
Here you associate a scope with the fragment:
Toothpick.inject(this, ((App)getActivity().getApplication()).getAppScope());
prefer
Toothpick.inject(getActivity(), getApplication());
You don't need a getScope method in the app. Just use the app instance
as the name of the scope associated to it.
Also, call inject after super.onCreate, it's a better practice to call
onCreate first.
2017-10-06 6:40 GMT-07:00 pdapnz<EMAIL_ADDRESS>
I'm newbie in DI, and decide to start learning it with toothpick. I try to
refactor my sample application and add DI. My data repository is
application singleton. Then I use it inside fragment, I inject it in
fragment's onCreate:
public class MyFragment extends BaseFragment {
........
@Inject
MyRepository repository;
.........
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
    Toothpick.inject(this, ((App)getActivity().getApplication()).getAppScope());
    super.onCreate(savedInstanceState);
}

Is it fine?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stephanenicolas/toothpick/issues/250, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABv33U7zvw380R5VvaZhBS3viTLTvpAgks5spi3UgaJpZM4Pwf0a
.

Thank you for reply. I try to use Activity scope as described in example app, but then I try to access to injected class inside fragment, (or ViewModel class) I get NullPointerException. Sample app has only Application->Activity scopes example. Injected classes not null only in Application or Activity class where I call Toothpick.inject. So if I remove from fragment
Toothpick.inject(this, ((App)getActivity().getApplication()).getAppScope());
and add to activity
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        scope = Toothpick.openScopes(getApplication(), this);
        super.onCreate(savedInstanceState);
        Toothpick.inject(this, scope);

I'll get NPE then try access to @Inject annotated classes inside Fragments (or ViewModels).

Finally I explored some open source applications that used toothpick and make injections something like there.
First I defined scope names (like here). (I know that documentation recommend use getApplication() and getActivity() as scopes names, but in ViewModel class for example I have not direct access for them).
public class DI {
    public static final String APP_SCOPE = "app scope";
    public static final String MAIN_ACTIVITY_SCOPE = "main activity scope";
}

In App.java
        Scope appScope = Toothpick.openScope(DI.APP_SCOPE);
        appScope.installModules(new SmoothieApplicationModule(this, Preference.NAME), new MyApplicationModule());
        Toothpick.inject(this, appScope);

In MainActivity
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        Scope scope = Toothpick.openScopes(DI.APP_SCOPE, DI.MAIN_ACTIVITY_SCOPE);
        super.onCreate(savedInstanceState);
        Toothpick.inject(this, scope);
        .......
     }
     ........
    @Override
    public void onDestroy() {
        Toothpick.closeScope(DI.MAIN_ACTIVITY_SCOPE);
        super.onDestroy();
    }

In BaseFargment:
    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        Toothpick.inject(this, Toothpick.openScope(DI.MAIN_ACTIVITY_SCOPE));
        super.onCreate(savedInstanceState);
    }

In BaseViewModel
    public BaseViewModel() {
        Toothpick.inject(this, Toothpick.openScope(DI.MAIN_ACTIVITY_SCOPE));
    }

And NPEs gone.
Is such usage good?

You can do that. But we still recommend using activity and apps instances
themselves as scope names. Their scope spans as long as they live and there
should be no issue using them as names.
In the base view model, I believe there is something wrong. We don't use
the arch components as DI offers some simpler solutions but if you want to
use a scope there it should the app scope, not the activity scope. The view
model will survive the activity death and can easily create leaks.
For instance if the base view model injects the activity, it will leak it.
Le 10 oct. 2017 12:24 AM, "pdapnz"<EMAIL_ADDRESS>a écrit :

Finally I explored some open source applications that used toothpick and
make injections something like there.
First I defined scope names (like here
https://gitlab.com/terrakok/gitlab-client/blob/develop/app/src/main/java/ru/terrakok/gitlabclient/toothpick/DI.kt).
(I know that documentation recommend use getApplication() and getActivity()
as scopes names, but in ViewModel class for example I have not direct
access for them).
public class DI {
public static final String APP_SCOPE = "app scope";
public static final String MAIN_ACTIVITY_SCOPE = "main activity scope";
}
In App.java
    Scope appScope = Toothpick.openScope(DI.APP_SCOPE);
    appScope.installModules(new SmoothieApplicationModule(this, Preference.NAME), new MyApplicationModule());
    Toothpick.inject(this, appScope);

In MainActivity
@Override
protected void onCreate(Bundle savedInstanceState) {
    Scope scope = Toothpick.openScopes(DI.APP_SCOPE, DI.MAIN_ACTIVITY_SCOPE);
    super.onCreate(savedInstanceState);
    Toothpick.inject(this, scope);
    .......
 }
 ........
@Override
public void onDestroy() {
    Toothpick.closeScope(DI.MAIN_ACTIVITY_SCOPE);
    super.onDestroy();
}

In BaseFargment:
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
    Toothpick.inject(this, Toothpick.openScope(DI.MAIN_ACTIVITY_SCOPE));
    super.onCreate(savedInstanceState);
}

In BaseViewModel
public BaseViewModel() {
    Toothpick.inject(this, Toothpick.openScope(DI.MAIN_ACTIVITY_SCOPE));
}

And NPEs gone.
Is such usage good?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stephanenicolas/toothpick/issues/250#issuecomment-335384634,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABv33QCFZge_3t5bOsHi2PVUacx0Z-Tjks5sqxujgaJpZM4Pwf0a
.

Thank you, I refactored scopes as you recommends.

public class BaseViewModel extends AndroidViewModel {

    private Scope scope;

    public BaseViewModel(Application application) {
        super(application);
        scope = Toothpick.openScopes(application, this);
        scope.installModules(new ViewModelModule());
        Toothpick.inject(this, scope);
    }
    ...........

    @Override
    protected void onCleared() {
        super.onCleared();
        Toothpick.closeScope(scope);
    }
}

public class MainActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        Scope scope = Toothpick.openScopes(getApplication(), this);
        scope.installModules(new ActivityModule());
        super.onCreate(savedInstanceState);
        Toothpick.inject(this, scope);
   ......

    @Override
    public void onDestroy() {
        Toothpick.closeScope(this);
        super.onDestroy();
    }
}

As I understand Activity and ViewModel now fine.  App and activity used as scopes and scopes is closing. ViewModel has own scope independent of activity.
But should I close fragment scope? Now it is something like this:
public class BaseFragment extends LifecycleFragment {

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        Scope scope = Toothpick.openScopes(getActivity().getApplication(), getActivity());
        scope.installModules(new FragmentModule());
        super.onCreate(savedInstanceState);
        Toothpick.inject(this, scope);
    }

}

Or better use activity scope?

You don't have a fragment scope, you use the activity scope in the fragment. Which is what you have to do, and the activity closes it properly already.
I close the issue. Please use stack overflow for any new question. feel free to ping us here if no one answers.


Feat/ad unit improvements

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Vertical videos get smushed

Describe the bug
Vertical videos get smushed down to fit a square. Here is how a video appears

Here is the video when you play it

Expected behavior
The video shouldnt smush or crop into a square and should just appear as a vertical video with the correct dimensions on the main feed.

Wait now im confused lol. It does work correctly sometimes

Is the difference because this one is a thread/reply to a post while the screenshot in the OP is a standalone post?

@slrgt that video is possibly post-processed with inaccurate dimension metadata than the video's actual dimension. I've done this before, and the (Mastodon backend) API actually extract the metadata's dimensions instead of actual dimensions. On the front-end side (Phanpy), the inaccurate dimensions are used to render the video thumbnail. It's possible to get the actual dimensions by playing/preloading the video but will be delayed and might cause a scroll jump.


[Event Request] Page 344 Navigate - OnBeforeNavigateFinishFindRecords

In function FindRecords
Publisher: OnBeforeNavigateFinishFindRecords

Please note:  The property GlobalVarAccess=Yes is not essential here and can be omitted.

In case somebody is looking for this one:
The requested publisher was implemented under the name OnAfterFindRecords in BC 14 CU 01


.github: workflows: restrict top-level workflow permissions

Only permit reading the repository contents by default, and set further privileges at the job level to satisfy OpenSSF Scorecard criteria.
Link: https://github.com/ossf/scorecard/blob/9ff40de429d0c7710076070387c8755494a9f187/docs/checks.md#token-permissions
Link: https://securityscorecards.dev/viewer/?uri=github.com/OFS/opae-sdk

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.245%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
15826

Relevant Lines:
24634

💛  - Coveralls


update release action and scripts

port pnpm caching from ci workflow
use node14
add guard for forks
update release script to call changeset publish in hope it does tag and generate proper changelog entries.

@pngwn  what do you think? as long as changesets is in prerelease mode it should publish 1.0.0-next.x to latest but with tagging, no?

It will tag and create releases via the action but I'm not convinced it will use latest tags because you wouldn't normally want to tag next releases with latest if you had an existing release version.
I think it will respect the tag version defined when you entered prerelease mode. Which I think is next in this case. The same question is being asked on the kit repo and I need to do some digging to figure out how to do it. I'll up date as soon i know more.

fixed a mistake i made when porting the caching. I'll try to get a vite-plugin-svelte release published this weekend. If all goes well the pattern can be applied to sveltekit too.


Errors when Create/Edit BREAD and when Edit Table

Laravel Version: 5.3
Voyager Version: 0.10.10
PHP Version: 5.6.27
Database Driver & Version: SQLite 3.14.0

Description:
I am using Laravel 5.3 with SQLite and I am getting errors when I try to Create/Edit BREAD and when I Edit Table from the /admin/database page.

There are some problems with the sqlite support at the moment.
The problem is caused by this line: https://github.com/the-control-group/voyager/blob/master/resources/views/tools/database/edit-add-bread.blade.php#L20
It should however be something like this instead: https://github.com/the-control-group/voyager/blob/master/src/Http/Controllers/Traits/DatabaseQueryBuilder.php#L103

Thanks Mark, I will try to fix this.

Im already on it, have a pull request for it in a few minutes.

Could you do me a favor and test out the fix/591 branch?

Good job, everything working now.

Wonderful, will merge it into master later today when fully tested and then do a version release.


Feature: ability to define implications of a change on another field

Consider a pretty common subscription scenario where there's a form with two fields:

Contract period.
Billing period.

There's also a constraint that billing period can't be greater than contract period, for obvious reasons. This can already be modeled in redux-form with a validate function, that makes the other billing period error if you change the contract period to be lower than the contract period. However, I personally try to build UIs in a fashion that errors that the user must manually fix are used only as a last resort, which is not the case in examples like this. Instead we can limit the billing period options to be capped at the contract period and when contract period gets changed, cap the billing period value at that value as well.
Currently I have to resort to making a special-case reducer just for this, replicating parts of redux-form (like pristine, submitting). Would be cool to be able to define relationships in some sane way. I'm not sure what that would be, yet. Maybe just a function that takes the old values and new values and returns the proper new values.
function mapValues (values) {
  return {
    billingPeriod: Math.min(values.billingPeriod, values.contractPeriod),
    contractPeriod: values.contractPeriod,
  };
}

This could also be used for providing defaults instead of the undefineds you get now and would match the error behavior with the value behavior.

Seems like this could be done with a normalizer. Am I wrong?

form: formReducer.normalize({
  billingForm: {
    billingPeriod: (value, previousValue, allValues) =>
      Math.min(value, allValues.contractPeriod)
  }

Oh I missed that part of the docs, jumped it over because I thought it was about gaearon/normalizr, sorry.
Thanks a lot! :heart: May I ask why this is in the reducer while the validation is in the form annotation? I'm feeling a bit uncomfortable with the missing link when someone looking at the form code has to figure out where behavior like this has been defined as normally they have the actions to guide them (it dispatched this action -> this reducer is listening to that type of action). But I suppose they should consult the redux-form docs in that case or I should leave a hint in the component.

Excellent point about the dichotomy, but it really is necessary, as there are two parts to redux-form, the component and the reducer, and they are each in charge of validation and normalization respectively. I suppose that the component could normalize in the onChange function, but it really is a superior design for the reducer to be in full control over its data, just receiving actions and modifying state.


Adding a favorite tag before the image is loaded does not set an image

Bug description
A clear and concise description of what the bug is.
Steps to reproduce

Open a search result preview
Quickly right-click a tag on the preview window and select "Add to favorites"
Go to the Favorites tab
The favorite is added with no image

Expected behavior
The image is set after it has been loaded. Might also occur when changing the image for a favorite later.
System information

OS: Arch Linux
Grabber version: e46f69f1

Indeed, I could see how this would happen.
I'll have a look to have a fix for the next version 👍


Traffic Sign Detection Problem

hi,
I'm following the steps of Autonomous Driving (https://emanual.robotis.com/docs/en/platform/turtlebot3/autonomous_driving/#autonomous-driving) and i've a problem with Traffic Sign Detection, when i launch this command :
roslaunch turtlebot3_autorace_detect detect_sign.launch mission:=SELECT_MISSION (construction for example)
i got this error :

and i got it with all missions.
i've all the sign picture

you can see the solution here : https://answers.ros.org/question/401862/turtlebot3-traffic-sign-detection-problem/


Error type 3

Hi
Just some feedback, I have noticed another error of note type 3
OLE DB or ODBC error: [Expression.Error] CQD Query Execution Error (ErrorType: 3).
Can this be incorporated into the documentation?

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

ID: 067e8376-df94-9a44-5263-cd1fc84879bf
Version Independent ID: 924240c8-52c5-42db-36b8-28751f838784
Content: Install Power BI Connector to use CQD query templates - Microsoft Teams
Content Source: Teams/CQD-Power-BI-connector.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Command line SGV view export

Is it possible to export views from model to vector (SVG) form using com.archimatetool.commandline.app?
The possble ways I see:

Add an option with view id param to export one view to SVG.
Add an option to export all model views to folder (like the HTML report) (prefered).

If there is another way to get SVG view representation in the Archi headless mode please let me know.

No, this has not been implemented. There is also a request for this as part of jArchi. See https://github.com/archimatetool/archi-scripting-plugin/issues/77

I'm closing this issue for these reasons:

Exporting a View to SVG will be part of a future version of jArchi after Archi 4.9 is released
Then it will be possible to call a jArchi script that exports to SVG from the command line
If we do implement export to image file from the command line it will be a generic command line provider for all image formats

See https://github.com/archimatetool/archi-scripting-plugin/issues/77


Bug: 3dsmax usd plugin validator should run only when needed

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
Currently USD plugin validator is bound to model family and will run always, no matter if "Extract Geometry (USD)" is enabled on the Instance or not. When you are missing usdexport.dle in your 3ds max, this validator will always fail even when not needed.
Expected Behavior:
Model creator should have "Extract Geometry (USD)" defined on itself. Additional collector should add it to the model instance if this is enabled and validator and extractor should only have usd family on them.
Version
3.16.6-nightly.1
What platform you are running OpenPype on?
Windows
Steps To Reproduce:

Run 3ds max without usdexport.dle available
Try to publish model without Extract Geometry (USD) enabled.

Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
No response
Additional context:
No response

I think the validator is OK, imagine additional plugin in the future needed just for USD part - some validator that will validate only USD specific stuff, not just presence of the 3ds max plugin. It is similar to BGEO in Houdini. There are two ways to handle this, all with their caveats:
Way if the plugin attributes
That is the current way. When adding new plugin, it would have to have model family, but additionaly some check to determine if the Extract USD is enabled or not. Or you would have that on the model creator itself and those additional plugins would have to check it manually against the instance.
The Way of the Families
Attribute Extract USD will move to the creator. Creator (or new collector) will add family USD to instance and the validator will run only on usd family.
I vote for the latter.


Add option to prevent response before media ends in audio-/video- plugins

In audio/video trials, it'd be useful to have the option to prevent the participant from responding before the media has finished playing, and after that point, still allow the response to end the trial.
It's currently possible to ensure that the media plays through by setting a fixed trial duration and using response_ends_trial: false, but in that case, responses would still be allowed before the media has finished playing. It's also possible to do this by setting up two separate trials - the first one plays the media and the second accepts the response - but this means that the stimuli and response data are stored in separate trials, and any on-screen response options (buttons, slider) only appear after the media has finished.
I think this could be implemented in the audio-*/video-* plugins by adding a parameter called e.g. respond_while_playing that would default to true but could be set to false. If false, then while the media is playing, any on-screen response options would still appear but would be disabled, and key presses would be ignored.
This could be implemented by including an if statement that checks the value of respond_while_playing, and if false, it disables the response options and sets up an 'ended' event listener on the media element that would enable the buttons/slider or starts the keyboard listener.
Thoughts?

Sounds great to me! Might even been a small enough adjustment that we could ship it with 6.2?

Great, thanks for the feedback. Yes I was hoping it'd be straightforward enough to add to 6.2. I'll go for it.


Support ISO BMFF output for still picture encode

Hi,
Is there planned support for ISOMBFF output support - especially for still image coding?

May be adding support to libheif support is the way to go?
https://github.com/strukturag/libheif

I think ISOMBFF support for VVC is not yet standarized fully, but in a last pre-final stage of the process (probably no more changes). It would be nice to have this once its ready. Incorporation into an external packager like libheif sounds like the way to go.
I'll leave the help wanted tag on this issue, since it'd be nice to have some support there.

Hi Adam, thanks. I talked to Dirk, of libheif, and he thinks it will be straightforward to support FhG VVC implementation (do you have any suggestion in this regards?). I downloaded the amendments which are in the ISO voting system, and as it is really unlikely that there will be any change, I think we can already start the work. In case you know any place where we could have a ISO MBFF VVC sample, let us know.

I actually think that GPAC (current HEAD) already can mux elementary bitstreams as produced by VVenC to an .mp4 file. Maybe give it a try. Let us know if there are any issues with VVenC or the interface.
Thanks, Adam

I'll take a look in GPAC - thanks Adam.

VVenC will always be a core encoder producing AnnexB raw bitstream, and leaving the muxing to frameworks like FFmpeg or GPAC. The latter already has initial implementation.
Closing.


Sponge forge None existing forge version Server Crash

Affected Product(s)
SpongeForge
Version
1.16.5-36.2.5-8.1.0-RC1352
Operating System
Windows 10
Java Version
8
Plugins/Mods
This is the modpack and mod list for the pack that I want to add the sponge to so I can add x-ray prevention and shops. https://pastebin.com/E1R8whqw https://www.curseforge.com/minecraft/modpacks/roguelike-adventures-and-dungeons-2

Describe the bug
The forge version I am using is forge-1.16.5-36.2.39. When I go to the sponge page it says MINIMUM FORGE REQUIRED: 36.2.5 that version of forge does not exist Or I would update the modpack and server to this version of forge myself So I added sponge anyways and it is giving me this crash report for my server when it is launched. https://pastebin.com/7tQV2Sfy
Link to logs
https://pastebin.com/7tQV2Sfy

https://github.com/SpongePowered/Sponge/issues/3795

This is an already resolved issue, abnormals_core is the culprit and the fix is linked above.


how can i discover/explore the network by given bootnode

Support questions are better suited for our public gitter forum. I responded there.


Fix release build

Changes

[x] key needs to be a reference
[x] Revert changes of #131 + #130 to fixit looks like the Rust project used to create this wasm file was linked against
    version of wasm-bindgen that uses a different bindgen format than this binary:

      rust wasm file schema version: 0.2.85
         this binary schema version: 0.2.84

Build should run as follow
cargo clean
[...]

just build-release
[...]

cargo leptos serve --release
    Finished wasm-release [optimized] target(s) in 0.09s
       Cargo finished cargo build --package=ordilabs_live --lib --target-dir=target/front --target=wasm32-unknown-unknown --no-default-features --features=hydrate --profile=wasm-release
    Tailwind finished tailwind --input ./src/style/input.css --config ./src/style/tailwind.config.js
    Finished release [optimized] target(s) in 0.12s
       Cargo finished cargo build --package=ordilabs_live --bin=ordilabs_live --target-dir=target/server --no-default-features --features=ssr --release
2023-05-10T15:01:09.135085Z  INFO ordilabs_live: backend_bitcoin_core=BitcoinCore { auth: CookieFile("docker/bitcoin.cookie"), root: "<IP_ADDRESS>:18443" }
2023-05-10T15:01:09.136745Z  INFO ordilabs_live::server_actions: block_count=103
tick: bitcoin_core, 0, 0, 0, 369, 0
[...]

Fixes #120

vs RELEASE (bad hydradion) https://github.com/ordilabs/live/assets/551068/e174e0cc-5c2b-401e-8a8e-65c1489d667a

Where do we have in code defined to show  twice in "index.html" (as visibile in  your RELEASE screen cast)?

Super nice! ACK f7da790c2d3894f7a8fb0663531ba60b255008fb


Are resume_markers supposed to be newly created all the time?

System information

Have I written custom code (as opposed to using zenbot vanilla): Yes, lots

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 11.0.1

Zenbot version (commit ref, or version): f91355a

Zenbot branch: unstable

NodeJS version: 14

Exact command to reproduce (include everything): zenbot trade binance.ETH-USDT --strategy my-strategy

Did I make any changes to conf-sample.js?: Just API keys.

Describe the problem
My database contains about 500K resume markers, while I'm using under 100 assets. That said, I have started and stopped many many sessions.
Are entries in the resume_markers collection, supposed to pile up this way, or did I break something that causes existing ones not to be updated?
In other words, are the continued newly created resume_markers by design?

Offtopic//
@jorisw Hey, do you think we can revive this? I saw you're pretty active and seems you are using it with such a heavy setup.
I was trying to find a good framework for algo trading, but this is still far the best what we have.
I'd like to start fixing the stuff and maybe lift of some stuff, but I'm unsure where to start because most stuff reported is hard to reproduce for me. Do you have any other issues which would be worth collecting and looking into?

Sounds like a bug.

@yellowgh0st As much as I'd like to help revive this project, I am a mere user like the rest of us here. I just got in the mood to answer some of the issues right after I filed mine.
I agree with your classification of zenbot as something that sorta works, and I don't know of many other projects that are either feature complete or still maintained. I've looked at a few on GitHub, and sooner or later discovered they weren't better or worse than zenbot in terms of completeness or activity on the project. Just kinda seems like most authors give up after a while.
I can also see how it's hard to identify what to work on, as far as zenbot goes, looking at the giant pile of issues still open. My only suggestion would be to try and use zenbot yourself, see where it takes you, and fix whatever problem you encounter. I believe different users are trying to accomplish very different things. So if you're going to invest your time, by all means, make sure it benefits your own objectives.
I must warn you that the general code quality of zenbot is very low, from badly designed, to untested, to riddled with incomprehensible naming conventions. In the parts I've added for myself, I've separated my code from zenbot's as much as possible.


Ability to hide Project tree in sidebar and see only the Database tree

Describe the feature
The Project tree in the sidebar is good for people who work with dbt, but for those who don't it introduces a lot of dbt jargon (sources, models, macros etc). In my company the docs website will primarily be used by business users who will have no dbt experience and only be familiar with seeing the tables and schemas type view that the Database sidebar tree provides.
When creating the docs website a flag to hide or not create the Project tree would be useful. Eg
dbt docs generate --database-tree-only

Describe alternatives you've considered
Just telling users that there's a database tree view they can use. Worry that occasional users would forget that though and seeing an unfamiliar view of things would discourage use of the site.
Additional context
Have a lot of business users who'll only use the site occasionally. If I tried teaching them about dbt and its jargon I don't believe many would retain the information. Want the website to be as frictionless as possible for them.
Who will this benefit?
Any non-dbt users of the website
Are you interested in contributing this feature?
Yes! Would love to help but unclear on where to start.

Not an ideal solution, but you can accomplish this with some post-processing on index.html:
with open("index.html", "r") as f:
    index = f.read()

# select "Database" tab by default
index = index.replace('{e.nav_selected="project"}', '{e.nav_selected="database"}')

# hide "Project" tab
index = index.replace('
', '
')

open("index.html", "w+").write(index)

Should look something like:


Fix ConcurrentModification when initializing concurrently

What is the purpose of the change
Fix ConcurrentModificationException when initializing dubbo concurrently.
Scenario:
Assume there are two beans A and B

A is iterating PropertiesConfiguration for prefix configs.
B is writing its Registry/Application/Protocol Config to PropertiesConfiguration

Cuz it is not thread-safe when iterating HashTable with put concurrently, a ConcurrentModificationException will be thrown by HashTable.
Brief changelog
Return a copied Map under sync block.
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10616 (6ffbe6d) into 3.1 (631d3fc) will decrease coverage by 0.67%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                3.1   #10616      +/-   ##
============================================
- Coverage     64.85%   64.17%   -0.68%
+ Complexity      414      388      -26
============================================
  Files          1334     1334
  Lines         56667    56662       -5
  Branches       8378     8352      -26
============================================
- Hits          36749    36364     -385
- Misses        15979    16345     +366
- Partials       3939     3953      +14

Impacted Files
Coverage Δ

...e/dubbo/common/config/PropertiesConfiguration.java
100.00% <100.00%> (ø)

...luster/router/script/ScriptStateRouterFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...zookeeper/curator/CuratorZookeeperTransporter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pc/cluster/router/file/FileStateRouterFactory.java
0.00% <0.00%> (-80.96%)
:arrow_down:

...o/rpc/cluster/router/script/ScriptStateRouter.java
0.00% <0.00%> (-67.31%)
:arrow_down:

...mmon/serialize/fastjson2/FastJson2ObjectInput.java
0.00% <0.00%> (-62.50%)
:arrow_down:

...mon/serialize/fastjson2/FastJson2ObjectOutput.java
0.00% <0.00%> (-56.25%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
15.38% <0.00%> (-55.99%)
:arrow_down:

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
50.00% <0.00%> (-33.34%)
:arrow_down:

...on/serialize/fastjson2/FastJson2Serialization.java
57.14% <0.00%> (-28.58%)
:arrow_down:

... and 70 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


V2: mat4 enhancement

Expected Behavior
I find this function very useful at times, and think that other users will be interested. From the example, extrudeAlongPath.js
  function rotationMatrixFromVectors (srcVector, targetVector) {
    // From https://gist.github.com/kevinmoran/b45980723e53edeb8a5a43c49f134724
    srcVector = maths.vec3.normalize(srcVector)
    targetVector = maths.vec3.normalize(targetVector)

    const axis = maths.vec3.cross(targetVector, srcVector)
    const cosA = maths.vec3.dot(targetVector, srcVector)
    const k = 1 / (1 + cosA)

    return maths.mat4.fromValues(
      (axis[0] * axis[0] * k) + cosA, (axis[1] * axis[0] * k) - axis[2], (axis[2] * axis[0] * k) + axis[1], 0,
      (axis[0] * axis[1] * k) + axis[2], (axis[1] * axis[1] * k) + cosA, (axis[2] * axis[1] * k) - axis[0], 0,
      (axis[0] * axis[2] * k) - axis[1], (axis[1] * axis[2] * k) + axis[0], (axis[2] * axis[2] * k) + cosA, 0,
      0, 0, 0, 1
    )
  }

Actual Behavior
Not available
Steps to Reproduce the Problem

NA

Specifications

Version: V2
Platform: all
Environment: all

Suggested names...

mat4.fromVectors(source, target)
mat4.fromVectorRotation(source, target)

Suggested names...

mat4.fromVectors(source, target)
mat4.fromVectorRotation(source, target)

That is cool. Could you give few more use cases ? I am curious :)

That is cool. Could you give few more use cases ? I am curious :)

I'll try...
Currently, the API has a transform function called rotate([x, y, z], ...objects) which is based upon the mat4.fromTaitBryanRotation function, i.e. yaw, pitch, roll rotations. All fine for those that think in X, Y, Z rotations.
An alternative (and possibly more mathematically correct) is basing rotations upon directional vectors. For example, rotating a direction vector to point to 5, 5, 5. Hmm... getting a little tough to use rotate([?, ?, ?]). Maybe easy if the original vector is going to 0, 0, 20, but what about if the original vector is going to -3, -3, -3? Oooo... I don't want to do the math for the current rotate() function.
Another possible application is 'connecting' geometries; A and B. If you know the directional vectors of the connection points then it's pretty easy to connect there

get a rotation from A' to B' minus, and rotate
translate A to B

I'll try...
Currently, the API has a transform function called rotate([x, y, z], ...objects) which is based upon the mat4.fromTaitBryanRotation function, i.e. yaw, pitch, roll rotations. All fine for those that think in X, Y, Z rotations.
An alternative (and possibly more mathematically correct) is basing rotations upon directional vectors. For example, rotating a direction vector to point to 5, 5, 5. Hmm... getting a little tough to use rotate([?, ?, ?]). Maybe easy if the original vector is going to 0, 0, 20, but what about if the original vector is going to -3, -3, -3? Oooo... I don't want to do the math for the current rotate() function.
Another possible application is 'connecting' geometries; A and B. If you know the directional vectors of the connection points then it's pretty easy to connect there

get a rotation from A' to B' minus, and rotate
translate A to B

@SimonClark might have some nice applications as well.

@SimonClark might have some nice applications as well.

Could it be used to make a simpler version of this ?
https://openjscad.nodebb.com/topic/183/cylinder-between-points?_=1611131975841

Could it be used to make a simpler version of this ?
https://openjscad.nodebb.com/topic/183/cylinder-between-points?_=1611131975841

Could it be used to make a simpler version of this ?
https://openjscad.nodebb.com/topic/183/cylinder-between-points?_=1611131975841

I would think so... the directional vector (DV) is just P2 - P1
Then it’s just get the rotation from 0,0,1 to DV

Could it be used to make a simpler version of this ?
https://openjscad.nodebb.com/topic/183/cylinder-between-points?_=1611131975841

I would think so... the directional vector (DV) is just P2 - P1
Then it’s just get the rotation from 0,0,1 to DV

Huh,
I am having issues with your function. I might be using it incorectly, please check.

green is double the starting vector,  and red is the rotated vector using the function.
blue sphere is where it should go through.
Script:

const {primitives, transforms, maths, colors} = require('@jscad/modeling')
const {translate, rotate} = transforms
const {cylinder, sphere, cube} =primitives

var _parameters = [];

var funcs = new Map();

function main(){

	var vecTo = [10,10,10]
	var vecFrom = [0,0,10] //
	var rot = rotationMatrixFromVectors(vecFrom,vecTo)
	// var rot = rotationMatrixFromVectors([1,1,1],[0,0,1])
	//var rot = [-Math.PI/4,Math.PI/5,0]
	//var rot = [0,0,0]
	// cylinder is larger on purpose
	var cylinderForVector = translate([0,0,10],cylinder({radius:0.5, height:20}))
	return [

		// vecFrom
		colors.colorize([0,1,0,0.5],cylinderForVector),

		// blue sphere where it should point
		translate([10,10,10],sphere({radius:0.5})),
		// vecTo
		colors.colorize([1,0,0,0.5],rotate(rot,cylinderForVector)),

		// green sphere where it almost points
		colors.colorize([0,1,0],translate([-10,-10,10],sphere({radius:0.5}))),

		// cube that is also with 10x10x10
		colors.colorize([0,0,1,0.5],translate([5,5,5],cube({size:10}))),
		// cube that is also with 10x10x10
		colors.colorize([0,0,1,0.5],translate([-5,-5,5],cube({size:10}))),
	]
}

function rotationMatrixFromVectors (srcVector, targetVector) {
	// From https://gist.github.com/kevinmoran/b45980723e53edeb8a5a43c49f134724
	srcVector = maths.vec3.normalize(srcVector)
	targetVector = maths.vec3.normalize(targetVector)

	const axis = maths.vec3.cross(targetVector, srcVector)
	const cosA = maths.vec3.dot(targetVector, srcVector)
	const k = 1 / (1 + cosA)

	return maths.mat4.fromValues(
	  (axis[0] * axis[0] * k) + cosA, (axis[1] * axis[0] * k) - axis[2], (axis[2] * axis[0] * k) + axis[1], 0,
	  (axis[0] * axis[1] * k) + axis[2], (axis[1] * axis[1] * k) + cosA, (axis[2] * axis[1] * k) - axis[0], 0,
	  (axis[0] * axis[2] * k) - axis[1], (axis[1] * axis[2] * k) + axis[0], (axis[2] * axis[2] * k) + cosA, 0,
	  0, 0, 0, 1
	)
}

module.exports = {main}

Huh,
I am having issues with your function. I might be using it incorectly, please check.

green is double the starting vector,  and red is the rotated vector using the function.
blue sphere is where it should go through.
Script:

const {primitives, transforms, maths, colors} = require('@jscad/modeling')
const {translate, rotate} = transforms
const {cylinder, sphere, cube} =primitives

var _parameters = [];

var funcs = new Map();

function main(){

	var vecTo = [10,10,10]
	var vecFrom = [0,0,10] //
	var rot = rotationMatrixFromVectors(vecFrom,vecTo)
	// var rot = rotationMatrixFromVectors([1,1,1],[0,0,1])
	//var rot = [-Math.PI/4,Math.PI/5,0]
	//var rot = [0,0,0]
	// cylinder is larger on purpose
	var cylinderForVector = translate([0,0,10],cylinder({radius:0.5, height:20}))
	return [

		// vecFrom
		colors.colorize([0,1,0,0.5],cylinderForVector),

		// blue sphere where it should point
		translate([10,10,10],sphere({radius:0.5})),
		// vecTo
		colors.colorize([1,0,0,0.5],rotate(rot,cylinderForVector)),

		// green sphere where it almost points
		colors.colorize([0,1,0],translate([-10,-10,10],sphere({radius:0.5}))),

		// cube that is also with 10x10x10
		colors.colorize([0,0,1,0.5],translate([5,5,5],cube({size:10}))),
		// cube that is also with 10x10x10
		colors.colorize([0,0,1,0.5],translate([-5,-5,5],cube({size:10}))),
	]
}

function rotationMatrixFromVectors (srcVector, targetVector) {
	// From https://gist.github.com/kevinmoran/b45980723e53edeb8a5a43c49f134724
	srcVector = maths.vec3.normalize(srcVector)
	targetVector = maths.vec3.normalize(targetVector)

	const axis = maths.vec3.cross(targetVector, srcVector)
	const cosA = maths.vec3.dot(targetVector, srcVector)
	const k = 1 / (1 + cosA)

	return maths.mat4.fromValues(
	  (axis[0] * axis[0] * k) + cosA, (axis[1] * axis[0] * k) - axis[2], (axis[2] * axis[0] * k) + axis[1], 0,
	  (axis[0] * axis[1] * k) + axis[2], (axis[1] * axis[1] * k) + cosA, (axis[2] * axis[1] * k) - axis[0], 0,
	  (axis[0] * axis[2] * k) - axis[1], (axis[1] * axis[2] * k) + axis[0], (axis[2] * axis[2] * k) + cosA, 0,
	  0, 0, 0, 1
	)
}

module.exports = {main}

I am having issues with your function. I might be using it incorectly, please check.

Real close... remember that rotationMatrixFromVectors is returning a math.mat4. So...
	var **matrix** = rotationMatrixFromVectors(vecFrom,vecTo)

I am having issues with your function. I might be using it incorectly, please check.

Real close... remember that rotationMatrixFromVectors is returning a math.mat4. So...
	var **matrix** = rotationMatrixFromVectors(vecFrom,vecTo)

ok works now

I am completely clueless what mat4 is :)

ok works now

I am completely clueless what mat4 is :)

There is nothing special about mat4, which is a 4 x 4 matrix. However, understanding matrix math is always a challenge. You can find lots of information on matrix mathematics. One of the best websites for beginners (of all ages) is MathIsFun

There is nothing special about mat4, which is a 4 x 4 matrix. However, understanding matrix math is always a challenge. You can find lots of information on matrix mathematics. One of the best websites for beginners (of all ages) is MathIsFun

I am familiar with matrix math.  But I googled why 4x4 matrix is used in 3D  to learn a bit about the concept :)

I am familiar with matrix math.  But I googled why 4x4 matrix is used in 3D  to learn a bit about the concept :)

FYI, this is required for the new X3D serializer, so a small pull request to add this function will happen soon.


⚠ Bofrost.at has degraded performance

In 367fe6b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 900 ms

Resolved: Bofrost.at performance has improved in c8883a0 after 20 minutes.


Can we make Multiline chart with individual series data ?

I have 3 arrays, and have different set of values. If I put all 3 in same dataset as below it kinda shows multiline chart but they dont seems to scale Y series for individual chart.
so if value difference between any 2 arrays is big then small values won't be clearly visible on chart like showing as blue and red lines.

const historyData = {
  labels: [],
  datasets: [
    {
      data: this.props.historicalData.data.map(item => item.rhr),
      color: (opacity = 1) => '#2479b5', // optional
      strokeWidth: 1, // optional
    },
    {
      data: this.props.historicalData.data.map(item => item.rbr),
      color: (opacity = 1) => '#b59624', // optional
      strokeWidth: 1, // optional
    },
    {
      data: this.props.historicalData.data.map(item => item.mvi),
      color: (opacity = 1) => '#b52430', // optional
      strokeWidth: 1, // optional
    },
  ],
};

EXPECTED -
I need to scale Y axis based on their individual series values as shows below.

Is it possible with this package ?

It's not possible. That's an interesting use case though.

Is there a chance we consider this use case in near future :) ?

Unlikely, I'm curious what a Pull Request for this would look like 😉


error:0406D06E:rsa routines:RSA_padding_add_PKCS1_type_2:data too large for key size

Maybe 1024 bit can encrypt 117. so how to encrypt larger data
A trick not mentioned in manual to know :

openssl_private_encrypt can encrypt a maximum of 117 chars at one time.
the encrypted output string is always 129 char length. If you use base64_encode on the encrypted output, it will give always 172 chars, with the last always "=" (filler)

http://php.net/manual/zh/function.openssl-private-encrypt.php

 /**
     * Encrypt data and then base64_encode it for long chars
     *
     * @param string $data Data to encrypt
     * @param int    $length split length
     * @return string Base64-encrypted data
     */
    public function base64EncryptForLangChars($data, $length = 117)
    {
        if (strlen($data) < $length ) {
            return $this->base64Encrypt($data);
        }

        $split = split($data, $length);

        foreach ($split as $part) {
            $encryptedData .= base64_encode($this->encrypt($part));
        }
        return $encryptedData;
    }

@bravist I might be wrong be wouldn't it be simpler to go for openssl_seal/openssl_open() if you want to encrypt large data? But yes one should be aware of the maximum encryption length.


module 'keras.backend' has no attribute 'get_session'

System information

macOS 10.15.5
TensorFlow installed from (source or binary):
TensorFlow version: 2.2.0
Python version: 3.8.3

hey guys! just got a trouble, can't find any ansewrs at web, can some one help me?
Error:
Traceback (most recent call last):
File "/Users/a/PycharmProjects/untitled/venv/main.py", line 7, in
detector = ObjectDetection()
File "/Users/a/PycharmProjects/untitled/venv/lib/python3.7/site-packages/imageai/Detection/init.py", line 88, in init
self.sess = K.get_session()
AttributeError: module 'keras.backend' has no attribute 'get_session
code:
from imageai.Detection import ObjectDetection
import tensorflow.keras.backend
import os
exec_path = os.getcwd()
detector = ObjectDetection()
detector.setModelTypeAsRetinaNet()
detector.setModelPath(os.path.join(exec_path, "resnet50_coco_best_v2.0.1.h5"))
detector.loadModel()
List = detector.detectObjectsFromImage(input_image=os.path.join(exec_path, "traffic_jam.jpg"),
output_image_path=os.path.join(exec_path, "new_traffic_jam.jpg")
)

I had the same error and fixed by downgrading tensorflow to 1 rather than 2.2. Personally I used 1.14 and the error disappeared. Also the imageai doc shows the tf 2 is coming soon, which means not available currently.

Thank u so much, i downgraded tensorflow and keras to 2.1.2, works good)

I had the same error and fixed by downgrading tensorflow to 1 rather than 2.2. Personally I used 1.14 and the error disappeared. Also the imageai doc shows the tf 2 is coming soon, which means not available currently.

How did you downgrade tensorflow? I get an error while installing tensorflow 1.14

I had the same error and fixed by downgrading tensorflow to 1 rather than 2.2. Personally I used 1.14 and the error disappeared. Also the imageai doc shows the tf 2 is coming soon, which means not available currently.

How did you downgrade tensorflow? I get an error while installing tensorflow 1.14

Are you satisfied with the resolution of your issue?
Yes
No

Firstly, your screenshot showed the version was 1.4. Secondly, if your Python version is 3.8, it only supports tf 2.2 or later. I hope this will help you.

I had the same error and fixed by downgrading tensorflow to 1 rather than 2.2. Personally I used 1.14 and the error disappeared. Also the imageai doc shows the tf 2 is coming soon, which means not available currently.

How did you downgrade tensorflow? I get an error while installing tensorflow 1.14

Are you satisfied with the resolution of your issue?
Yes
No

Firstly, your screenshot showed the version was 1.4. Secondly, if your Python version is 3.8, it only supports tf 2.2 or later. I hope this will help you.

How can I solve the problem that the author had? When trying to install tensorflow I see this

I think I have version 2.2

I had the same error and fixed by downgrading tensorflow to 1 rather than 2.2. Personally I used 1.14 and the error disappeared. Also the imageai doc shows the tf 2 is coming soon, which means not available currently.

How did you downgrade tensorflow? I get an error while installing tensorflow 1.14

Are you satisfied with the resolution of your issue?
Yes
No

I think, you have typed "1.4" instead of "1.14" by mistake.

You first need to uninstall tensorflow by typing pip uninstall tensorflow, then you can install the older version with pip3 install tensorflow==1.4.

I had this error, so I downgraded to Tensorflow 1.14, but then I get this error... ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via 'pip install tensorflow'

What version of Keras are you using? https://imageai.readthedocs.io/en/latest/ suggests 2.2.3. The imageai library is not built for TF 2.0 (it says so on their website) and so you need TF 1.x for this to work. Only some versions of keras are compatible with TF 1.x, so you need to make sure you have those versions installed.

In my case help replacing
from keras import backend as K
to
import tensorflow.python.keras.backend as K

In my case help replacing
from keras import backend as K
to
import tensorflow.python.keras.backend as K

In the previous tf versions:
data_aug_iter = val_ds.make_one_shot_iterator()
next_element= data_aug_iter.get_next()
# Running next element in our graph will produce a batch of images
for i in range(5):
batch_of_imgs, label = tf.keras.backend.get_session().run(next_element)
 img = batch_of_imgs[0]
Now becomes (tf version 2.8.2) :
iterator = iter(val_ds)
next_element = iterator.get_next()
#Running next element in our graph will produce a batch of images
for i in range(5):
 batch_of_imgs, label = next_element
 img = batch_of_imgs[0]


Onboarding:  Contributors 04Mar2022

Onboarding tasks for non-Core Team Members

[x] Given a tour of Github from a Core member
[x] Understand how to Create Issues and do a Pull Request
[x] Understand the Programming Strategy
[x] Read and understand Developer Guides Articles
[ ] Invited to all relevant meetings - Question/Comments, Community Meeting
[ ] Given write access to Github Repository
[x] Slack channel invites to admiral
[x] Introduction to Teams ways of working

@thomas-neitmann @bms63
Could these new contributors be Given write access to Github Repository?
James Kim2: kimjj93
RAJ BODDU: RAJKBODDU
Kristian Trøjelsgaard: NNktqn
Priyanka sarode: NNvpsd

@kabis-ops @amsmith214 @teckla-gsk
Thanks for doing the contributor onboarding today!
If you have thoughts about how to do it better next time please put them here.

@rossfarrugia - question about community meetings: are all people who are on the slack admiral channel automatically invited? One of the new contributors today had no idea about these meetings, so I want to double-check. Thanks.

@duniek no unfortunately i couldn't find a magic way for this (shout if anyone knows one - i use GCal!).
Feel free to send me over any new emails and I can add them, but I also will publicise on the Slack before each meeting sharing the agenda etc and will openly ask anyone not invited to let me know if they'd like to be added.
As we've socialised the open link now to join our Slack i'm expecting this to happen each time with new people.

@rossfarrugia There is a possibility to integrate gCal with slack, but not sure whether it's OK to allow slack access to gCal.
Also, there's the slack API: https://stackoverflow.com/questions/41564027/slack-api-retrieve-all-member-emails-from-a-slack-channel


SSL Pinning TlsException: Failure trusting builtin roots (OS Error:  	CERT_ALREADY_IN_HASH_TABLE

I'm trying to practice SSL Pinning on flutter but there are errors, how to resolve errors like this ?, I have followed a few suggestions on github issuses
TlsException (TlsException: Failure trusting builtin roots (OS Error:
	CERT_ALREADY_IN_HASH_TABLE(x509_lu.c:356), errno = 0))

  static const endpoint = '';
  var client = http.Client();

  HttpClient httpClient = new HttpClient();

  Future<Login> login(String email, String password, String fcmToken) async {
    ByteData data = await rootBundle.load('assets/raw/gd_intermediate.crt');
    SecurityContext context = SecurityContext.defaultContext;
    context.setTrustedCertificatesBytes(data.buffer.asUint8List());
    Map<String, String> headers = {"Content-type": "application/json"};

    String body =
        '{"email": "$email", "password": "$password", "fcm_token": "$fcmToken"}';

    var response = await client.post(
      '$endpoint/mobile/login',
      headers: headers,
      body: body,
    );

    return loginFromJson(response.body);
  }

Future<bool> addSelfSignedCertificate() async {
  ByteData data = await rootBundle.load('assets/raw/gd_intermediate.crt');
  SecurityContext context = SecurityContext.defaultContext;
  context.setTrustedCertificatesBytes(data.buffer.asUint8List());
  print("apa ini $data");
  print("ini juga $context");
  return true;
}

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  assert(
    await addSelfSignedCertificate(),
  );
  // ByteData data = await rootBundle.load('assets/raw/gd_intermediate.crt');
  // SecurityContext context = SecurityContext.defaultContext;
  // context.setTrustedCertificatesBytes(data.buffer.asUint8List());
  Stetho.initialize();
  initializeDateFormatting();
  runApp(
    App(),
  );
}

/cc @zichangg

/cc @zichangg

Is there something wrong with the code that I used?

Hi @rakafajar
could you please provide your flutter doctor -v
your code sample might be using 3rd party plugins like flutter_stetho,
if so could you please provide a complete and runnable minimal code sample
without 3rd party plugins
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Client Allocation Request for: KES

Client Allocation Questions
Core Information

Name: KES
Website / Social Media: www.szkes.com
Region: Greater China Region
DataCap Requested: 100TiB
Addresses to be Notarized: f1e5g6fnkgyef5dk4darq2jjf3oeyljtnkqokapwy
Notary Requested: neogeweb3

@agg56 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hey, thanks for the request. I have some questions regarding your request. Please describe answers as much specificity as you can.

Can you introduce yourself? Where can I find you online? (Github, Twitter, Linkedin handle, Wechat, etc.)
If you represent an organization, what is the name, nature, registration country, time since inception, and named officers of your organization?
In which region(s) do you intend to use the DataCap?
What is your use case for the DataCap being requested?
Do you plan to specify advanced features when utilizing a DataCap in your storage deal? If so, please specify the feature.
How many miners do you plan on allocating the DataCap? If you have a specific miner(s) you would like to allocate a DataCap, please specify.
Do you agree on providing transparency of DataCap allocation decisions & execution details in public to prevent excessive/unfair (20% of DataCap allocation) self-dealing?

Moreover, I encourage you to take a look of my allocation strategy  and flow which shows how I utilize the assessment. Thanks.

Hello, KES is a high-tech company engaged in blockchain technology research and development, storage server research and development and production, sales and hosting. It has a number of patented technologies and a mature industrial chain. It invests in incubation fund management companies, cultural media companies, hardware equipment manufacturing companies, etc. Find me on github, my GitHub is heweithegreat
The company name is SZKES. The company was established in 2016. It is a private enterprise. The country of registration is China. The person in charge since its establishment is Si Genlao.
I plan to distribute DC storage, mainly in Greater China.
Mainly store and backup the data, videos and documentation generated during the operation of KES, including but not limited to company training videos, important company documents, company memorabilia, records of relevant meetings and exhibitions, etc.
No
I plan to allocate at least 3 miners to ensure fair distribution.
Agree


Does it has low memory footprint ?

@danmaidesenling I believe so. Just released v1.3 to maven central. Please give it try.

your code on this:
ExcelWorkSheetRowCallbackHandler sheetRowCallbackHandler = new ExcelWorkSheetRowCallbackHandler(
new ExcelRowContentCallback() {
@Override
public void processRow(int rowNum,    Map<String, String> map) {
// Do any custom row processing here, such as save
// to database
// Convert map values, as necessary, to dates or
// parse as currency, etc
System.out.println("rowNum=" + rowNum + ", map=" + map);
}
});
you said that Convert map values, as necessary, to dates or  parse as currency, etc.
BUT What type to convert? I mean How to know the data_type of the cell

Typically, you have to know the structure (no. of columns, column names, etc) and excel column type information. POI doesn't provide type information.
Example 1:
There is a excel file you're reading that has 3 columns -

column 1: Row number, integer
column 2: Full Name, string
column 3: join date, date type

Per your requirement you have process it.
Example 2:
Let's say excel file has 50 columns, but per your requirements, you need 4 columns., etc.

Actually, POI has provided type information . You can see it in WorkBook

Could you provide more specific details? that would be helpful.

Well.,sample code like this:
**
Workbook wb = WorkbookFactory.create(new File("MyExcel.xls"));
Sheet sheet = wb.getSheetAt(0);
Row row = sheet.getRow(0);
Cell cell = row.getCell(0);
int cellType = cell.getCellType();   //CELL_TYPE_NUMERIC = 0; CELL_TYPE_STRING = 1...
**

Okay, I understand now what you meant. And what I meant was java data types not a excel cell types.
FYI excelReader library handles only XSSF (.xlsx file) and provides row values as a Map. Kindly  handle java type conversion at your end.
PS: feel free to PR for any improvements, thanks.


set allow_unicode True for slugs

set allow_unicode True for slugs to use unicode characters in slugs.

resolved this in #797


Best way to setup mobiledoc structure

Mobiledoc format seems awesome, but I'm not sure how to bind it to model attributes in ember.
Is the recommended approach to:

Bootstrap mobiledoc attributes on the server with the base mobiledoc structure
Somehow bind and update the content within that attribute as it's updated in the UI
Persist the entire blob of mobiledoc with the update content and tags

If so, will you post an example of binding an ember model attribute's content within a mobiledoc blob?
Again, I realize this library is WIP, so I'd understand if your answer is to just say 'hold off until a future version'

@patrickberkeley we are definitely in WIP mode- especially this repo.
The mobiledoc object should be converted to a JSON string and persisted as such. The editor should already boot without needing a mobiledoc to exist.

Persist the entire blob of mobiledoc with the update content and tags

an example of binding an ember model attribute's content within a mobiledoc blob?

I'm very confused as to what you are trying do achieve here. Mobiledoc should be stored as a string attribute of a model.

Hum okay. I'm probably doing something wrong. I think what you're saying is I shouldn't need to worry about the structure of the mobiledoc content at all; I can just set a value on the editor and persist whatever mobiledoc content it pumps out.
I've been basing what I try out off the integration tests.
component.hbs
    {{#content-kit-editor mobiledoc=mobileDoc on-change=(action 'onChange') as |contentKit|}}
        <button {{action contentKit.toggleMarkup 'strong'}}>B</button>
        <button {{action contentKit.toggleMarkup 'em'}}>I</button>
        <button {{action contentKit.toggleLink}}>Link</button>
      {{/content-kit-editor}}

component.js
  mobileDoc: function() {
    return {
      version: '0.2.0',
      sections: [
        [],
        [
          [1, 'p', [
            [[], 0, this.get('my-model-prop')]
          ]]
        ]
      ]
    };
  }.property('my-model-prop'),

I'll give this another shot without messing with mobiledoc setup/structure at all.

@patrickberkeley Ah, yeah you should never need to touch the mobiledoc itself. Never. It is just a file format, like passing an XML document around.

:+1: Makes sense.

@patrickberkeley I'm going to close this. Feel free to ping me here or in the gitter chat if you have further questions.

:+1: thanks @mixonic


Why don't update streamableBytes when pendingBytes is changed?

Hi all, I just looked https://github.com/netty/netty/commit/96f9b0b91ba63c1f6232c6acca4358afe01fbb7f and I don't understand this line.

decrementPendingBytes(writtenBytes, false);

Why don't update streamableBytes when pendingBytes is changed?
Please help. Thanks

@Scottmitch @nmittler PTAL

I don't recall why it's separate ... I suspect that it could be combined.  If you feel like changing it, throw together a PR :)

To clarify ... the call to decrementFlowControlWindow directly after the line you mentioned currently takes care of updating the streamableBytes, and we don't do it on the line you mentioned to avoid doing it twice.

Oh, I see. Thanks


AI - Improved Mob Jumping

Mobs now have a decent jump ability, and they go up blocks much more efficiently.

Still have to fix collision detection though.

Fixed and squashed.

Looks good to me. Squash?

Yup

Squashed, feel free to merge.

This is offtopic but: Aren't the CI's stupid? Why do they have to build it all from scratch every time? Can't they cache their object files or something?

You want them to check that you haven't forgotten any files, or that there aren't any unwanted dependencies.


Update Readme

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I did not do anything on NOTICE file. Please let me know if we want it to be updated as well.


Generic OIDC auth

It would be nice to specify a generic OIDC login provider rather than GitHub or Gitea. For example, I use Dex.
This is should be easy to implement Python-wise as both GiteaAuth and GitHubAuth are subclasses of buildbot.www.oauth2.OAuth2Auth.

Is OIDC not a different protocol from Oauth2?

Maybe not, I am not super familiar with the specifics. What might already work today is oauth2-proxy: https://oauth2-proxy.github.io/oauth2-proxy/

There is https://github.com/buildbot/buildbot/blob/331121358ba547a6d445de8760c5c8d359171cf8/master/buildbot/www/auth.py#L102 so a proxy could set a header value pointing to the user.

Question is, how we handle permissions in this case? Treat all logged in people as admins?

I put this under the future milestone as for this to really make sense, #176 needs to be in place. If there are any objections to this, let me know.

Oauth actually does indeed not look that complicated: https://git.lix.systems/lix-project/buildbot-nix/src/commit/45135d249b47f95846854e0145028b6f6e30dea1/buildbot_nix/init.py#L46
I could also imagine someone else could pick this up as a first contribution.


Variable Build.BuildNumber should not be readonly

Since readonly pipeline variables were introduced, Build.BuildNumber is one of them. However, that buildnumber is something we want to change during build because there's no official way to change it from the default generated one when starting a build. So what we do is, we change the Build.BuildNumber variable during build to the desired number. This works perfectly fine with old agents without readonly variables, but wouldn't be possible with the new agents and would be kinda catastrophic for us.

Hi @echalone could you describe your case in more details - why do you need to change it? As I see Build.BuildNumber is intended to be readonly value.

Hi @echalone could you describe your case in more details - why do you need to change it? As I see Build.BuildNumber is intended to be readonly value.

We have one pipeline for our all our builds (we can't make a new pipeline for every new version because of space constraints, we got a ~30 GB repository that would need to be checked out for every pipeline, not possible) and are building all our versions 1 and 2 and 3 etc. of our software with this build. Here's the issue:
If you enter for example 3.5.1.$(rev:r) for the build number in the options tab, then how should we be able to build for example a version 2.3.8 if we want to (by building another branch)? We would need to EDIT the build pipeline to change the build number, which ain't an option (people who start the build do not have the permission to edit the pipeline). I currently do this by simply setting the Build.BuildNumber variable and that works just fine. I've even written a script that will count up your revision from the last version number you build for that specific branch and will set this as the new build number. Works perfect. So why on earth are we not able to change the BuildNumber for a build? Of course you'll need that... you can't just have one build-number for a build.

We have one pipeline for our all our builds (we can't make a new pipeline for every new version because of space constraints, we got a ~30 GB repository that would need to be checked out for every pipeline, not possible) and are building all our versions 1 and 2 and 3 etc. of our software with this build. Here's the issue:
If you enter for example 3.5.1.$(rev:r) for the build number in the options tab, then how should we be able to build for example a version 2.3.8 if we want to (by building another branch)? We would need to EDIT the build pipeline to change the build number, which ain't an option (people who start the build do not have the permission to edit the pipeline). I currently do this by simply setting the Build.BuildNumber variable and that works just fine. I've even written a script that will count up your revision from the last version number you build for that specific branch and will set this as the new build number. Works perfect. So why on earth are we not able to change the BuildNumber for a build? Of course you'll need that... you can't just have one build-number for a build.

Hello,
Here is a log command to do that :
https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash#updatebuildnumber-override-the-automatically-generated-build-number
Run it from an inline script and you're done ;)
Have tried it once or twice a few years ago

Hello,
Here is a log command to do that :
https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash#updatebuildnumber-override-the-automatically-generated-build-number
Run it from an inline script and you're done ;)
Have tried it once or twice a few years ago

Thanks @hangar18rip!
@echalone does this build command work for you?

I didn't have time yet to test it, thanks @hangar18rip for the tip at least, I'll try it out as soon as I find some time for that, might be a few weeks ^^

@echalone thanks! If you will have any further issues with it - could you please create ticket on https://developercommunity.visualstudio.com/spaces/21/index.html to get right eyes on it?

Thanks again @hangar18rip for the tip, but it looks like I already use that ^^ You're right, this command will not throw that error. But the thing is, it will update the Build-Number, but only with the next buildstep, not immediately. My workaround at the moment is, that I'm manually setting the Build_BuildNumber environment variable and then I'm using this command to be on the correct side of doing it too. It would be better if the build.updatebuildnumber command will update the build number immediately, simply by updating the environment variable immediatly.

I don't know what your are doing exactly but maybe you should have a dedicated task to define your custom build number and in the other ones use the good old build number env var. I would do it this way in my pipelines, some kind of separation of concern

Hey, thanks, I already use a dedicated task for that but I also want to check at the end of the step if the correct build number was set. So currently I'm just doing both, first setting the enviornment variable, then checking if it was set correctly by reading the environment variable (yeah, I'm one of those "let's make extra sure" guys xD) and then using the build.updatebuildnumber to set the build variable in a way that's conform with Microsoft's idea of how to do it, all in one buildstep. So it's more of a nice-to-have if the build.updatebuildnumber command would also immediately update the environment variable.


SOAP support

I find this utility very useful, so thanks for sharing it with the world!
Often times our software depends on 3rd party SOAP services and so we need to mock their responses and test the behaviour with BDD. For the purpose we currently create whole SOAP server in php and return the responses we expect to be returned.
I have tried using this tool to achieve that, but it does not have a parameter for receiving BODY in the POST requests. In SOAP you may have multiple calls on the very same endpoint, so having the BODY in there is essential.
Would you please consider adding SOAP support or POST request BODY support?

Hello. How are you?
Thank you for the idea. I am investing time on this project again. Today we do support POST with body, BUT we do not make any distinction about the body.
I was wondering in creating another field to analyse the post, search for some text.
It would be something like:
if requestBody.containts(" 'action' = 'create' ")
like this, you could have the same endpoint, with different types of response. I will address this after the #28


Need to add instructions to remove package-lock.json when updating?

I just updated angular cli from 1.4.9 to 1.6.7 globally and in my project per the instructions and got an error:
Error: Cannot find module 'webpack/lib/node/NodeTemplatePlugin'
Fixed by deleting package-lock.json and re-running npm install.

A had to do the same (delete package-lock.json) when updating from 1.6.8 to 1.7.1


Digital Transformation

Hello sir,
I am Kumar Abhijeet with GitHub id- kr84abhijeet
I want to add Digital Transformation course in the repo.
Kindly consider it.
Thank you

only free course with  certificates


Version Bumps

After preview release: Ensure that package versions have been properly incremented for released packages

core
identity
tracing
key vault
event hubs
storage
app config

From Python Audit:

core
event hubs
cosmos
storage (blob, queue, file)
app config


Being stuck in Ultra Necrozma

When a player has a lunala or Sogoleo Necrozma fusion and when they use the Z stone to get ultra Necrozma it is stuck in the ultra Necrozma form
To Reproduce
Steps to reproduce the behavior:

Have ultranecrozium z on Necrozma lunala or Sogeleo fusion
Start a battle with any pokemon or trainer
Use Z crystal/move (ultranecrozium z)
Pokemon is now stuck as Ultra Necrozma

Expected behavior
When the battle is over the Ultra Necrozma it should go back to lunala/Sogoleo fusion
Username:
NebulaMC

forwarded to internaal tracker


Create CoinChangeII.cpp

Added solution for Leetcode problem 518. Coin Change II (Difficulty: Medium) in cpp.

Please give this repo a star and follow me for follow back😊

Please give this repo a star and follow me for follow back😊

Sure. Also, could you pls add the "hacktoberfest-accepted" and "hacktoberfest 2022" labels to this PR.


ASLv2 License

[resolves #5]

@arthurdm @nebhale should we make the license info visible in the rendered version as well?


Budget Tracker

Describe the project you want to add with tech stack
HTML5, CSS3, JS6
Expected behavior
It is a budget Tracker that takes makes a diary for tracking you expenses.

@pranjay-poddar please assign


remotemachineset: aws: fallback to using kubernetes.io/role/elb tag for public subnets when route tables are not enough

Currently the discovery codepath only decides whether a subnet is public
by using the routetables.
There are many network deployments which do not directly attach an igw
to the public subnet, but usage of these subnets is clearly defined by
the user by tagging these subnets with PublicSubnetTagName. So it
would be benefitial if the discovery codepath respect the indication on
the public subnets set by the admins of the cluster.
Similarly the aws-load-balancer-controller 1 now solely depends on
PublicSubnetTagName to discover the public subnets for ELB.
In this change, we update the isSubnetPublic function such that when it
fails to decide that a subnet is public using route table rules, if
checks if the subnet has the PublicSubnetTagName, and if the tag exists
and equal to empty("") and "1" value 2 it returns true. So the main
check is
still route tables based, and the tag based becomes a fallback.
This is based on a change that is also being floated in upstream 3.
Since the upstream change hasn't been merged. This only helps creating
machines in these subnets. If a user was to create a Service type
Loadbalancer, it would still require that some subnets exists which are
identifable as public with just route tables.
xref: https://issues.redhat.com/browse/HIVE-1568
/cc @suhanime
/assign @dgoodwin

looks good to me, cc @jharrington22

/lgtm

/hold
doing some testing on my side to verify some things. will lift as soon as that's done.
thanks for the lgtm @suhanime

/hold cancel


Not compatible with koa-joi-router 3.x

The HTML doc is incorrect when the application happens to use koa-joi-router 3.x. The basic issue is that 2.x expects a route definition to look like this:
{
    validations: {
        output: {
            // the schema here
        }
    }
}

And the 3.x route definition looks like this:
{
    validations: {
        output: {
            200: { // single status code
                body: {
                    // returned body schema
                },
                headers: {
                     // returned header schema
                }
            },
            "400,403": { // range of status codes..
                body: {
                    // error body
                },
                headers: {
                    // error headers
                }
            }
        }
    }
}

Hey, thanks for reporting that. Well, I have a few specs using joi router 2 which I don't foresee re-factoring any time soon. In the meantime, I will add support for both version 2 and version 3 specs. I will update later what kind of progress I make.

Is there any process? I met the same issue.

Hi, busy with a few other things at the moment. My apps are still using the
old Joi router so i have not had the need to upgrade. I would appreciate a
pull request from some using joi router v3.

PR from miserylee merged which brinks this up to koa-joi-router v4; not yet tested so I will live this issue open


ionic 2

Does augury support ionic 2, because I tried inspecting my ionic 2 application that uses angular 2 & typescript and it didn't work.

@realappie Which version of angular you are working on? If you run ionic in dev mode using ionic serve it should work.

@realappie In theory, this should work if the application is run in dev mode. We have seen it work with some simple Ionic 2 use cases and would be interested to see why it fails for you.

for me its also same. augury works with my angular 2 application but not ionic2 application

I have the same issue. I'm using ionic-angular version 2.0.0-beta.10 (Angular 2.0.0-rc.3)

@Olgagr We do not support Angular 2.0.0-rc.3 officially, only the final release.

@xorgy What do you mean 'only the final release'? Im confused, is RC3 not considered the 'final release'?

I tried with :

ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.47
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v7.3.0
Xcode version: Not installed

and it doesn't work : I've got this error Cannot read property 'name' of undefined.

any news on this for anyone here? does not seem with<EMAIL_ADDRESS>thanks!

Having upgraded to the following configuration:
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 1.0.0
OS: Windows 7 SP1
Node Version: v6.9.5
Augury doesn't appear to be mirroring correctly the status of my page stack as I click through the app :-(

This is not the case anymore @sumitarora, you can close this.

@realappie Thanks for reporting the problem is gone for you.
@pierre-H @vandna-thakkar can you please let us know how things are on your end? If you're are seeing an issue, please provide a demo app to help us investigate this issue.


KWSApo not work on 19H1

I compiled and register the KWSApo (audio\sysvad\APO\KWSApo) manually and verified the APO dll file in my latest 19H1 window

The window OS version is “Version 1903”, OS build 18382.295

After the  APO dll is loaded, the audio engine will call function "CKWSApoEFX::Initialize" in the function, it will try to achieve interleave audio format information.  the codes are :
`
 ::ZeroMemory(&ksPinProperty, sizeof(ksPinProperty));
 ksPinProperty.Property.Set    = KSPROPSETID_InterleavedAudio;
 ksPinProperty.Property.Id     = KSPROPERTY_INTERLEAVEDAUDIO_FORMATINFORMATION;
 ksPinProperty.Property.Flags  = KSPROPERTY_TYPE_GET;
 ksPinProperty.PinId           = myPartId & 0x0000ffff;

 ::ZeroMemory(&m_FormatInfo, sizeof(m_FormatInfo));

 hr = spKsControl->KsProperty(&(ksPinProperty.Property), sizeof(ksPinProperty), &m_FormatInfo, sizeof(m_FormatInfo), &cbReturned)`

the invocation will return error code "0x80070492" and the error message is : "The property set specified does not exist on the object."

This does not appear to be an issue with a sample in this repo. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


4d occlusion

So (apparently) this works mostly, but there are some glitches.
I asked a graphics programmer friend about how to do this. He said something like the following:
This hit-testing stuff assumes that each bit of geometry is drawn front-to-back (relative to the screen). The GLSL bit is probably fine, but the bit where the draw calls are being built up before it gets to the shader pipeline should incorporate some kind of sort to (at least approximately) satisfy this assumption.
Now, one of the problems is that in 4D, one wire is not going to necessarily be consistently in front or behind some other wire, and because we don't generate new meshes we can't really get around this. One way to 'fix' this is to approximate the location of the wire in 3D (by averaging over time) and sort like this; it ought to reduce the glitching, but I don't know if it will fix the problem.
The bit where we build up the draw calls is here:
https://github.com/homotopy-io/homotopy-rs/blob/e7097f265d5671417810c226c4b18edfd02b0c12/homotopy-gl/src/frame.rs#L189-L238
There's a second approach to doing this which is potentially better. The idea is to do the equivalent of sorting the draw calls, but without actually sorting, and doing it in the shader. It would be 100% accurate and also fast. Rendering should be done in two passes. In the first pass, figure out which wire is closest to the camera for each pixel, which can be done by rendering each wire (as is done currently) and using GL depth testing etc; instead of rendering to the screen, render to an intermediate framebuffer. The data to be stored is the distance between the camera and the wire (i.e. depth) and wire id at each pixel:
struct Pixel { float depth; u32 wire_id; };
Pixel screen[w * h];

In the second pass, for each pixel, search in a small window if there are nearby pixels that have a different wire id that are closer to the camera; if so, then discard this pixel. This is essentially what this PR does already, but adds a prepass to make sure it works correctly.

This hit-testing stuff assumes that each bit of geometry is drawn front-to-back (relative to the screen). The GLSL bit is probably fine, but the bit where the draw calls are being built up before it gets to the shader pipeline should incorporate some kind of sort to (at least approximately) satisfy this assumption.

It doesn't assume that because we use a GBuffer which sorts things using the z-buffer algorithm

There's a second approach to doing this which is potentially better. The idea is to do the equivalent of sorting the draw calls, but without actually sorting, and doing it in the shader. It would be 100% accurate and also fast. Rendering should be done in two passes. In the first pass, figure out which wire is closest to the camera for each pixel, which can be done by rendering each wire (as is done currently) and using GL depth testing etc; instead of rendering to the screen, render to an intermediate framebuffer. The data to be stored is the distance between the camera and the wire (i.e. depth) and wire id at each pixel:

This is how it works at the moment but without ID tagging. Maybe that would be better I don't know...

This is how it works at the moment but without ID tagging. Maybe that would be better I don't know...

Is it possible the artifacting we're observing is caused by wires occluding themselves, and this can be solved with ID tagging?

Hi, we should not read too much into the current occlusion bug. Occlusion was working very nicely as implemented by Nathan, until Calin and I made some changes to increase the performance and the occlusion width. Our changes worked well but introduced some jankiness. This is all shader programming and there are parts of the shader program we do not even understand, and we have not even sat down once yet with Nathan to try to debug it. So please do not imagine that this is necessarily some deep problem at this stage.

This is by no means perfect but it's a lot better

@doctorn This looks great, thanks Nathan! How different is your approach to what Jamie and I did. Also how easy would it be to increase the "occlusion gap" or is it hardcoded in?

I traded artefacts for a performance hit by testing the entire kernel rather than just the perimeter and then optimised the implementation as much as I could. To change the occlusion gap you just need to code a new mask kernel (change MASK_SAMPLES_*) however any bigger and this approach is too slow. There are various HACK_* constants you can fiddle with to improve the appearance but I found these numbers work best for medium size diagrams. On large diagrams there are still similar artefacts from certain viewing angles and I know why they occur but there is no obvious solution.

Thanks Nathan this is brilliant, can we merge please.

@doctorn I think we can merge this (unless there are more urgent changes you want to make).


Bump version for future release

Description
This updates the version for the next release and also updates several fiberplane related crates/dependencies

I looked at the changes in the cargo.lock file and it seems like the latest version of the crates were already used, so the only thing that really got updated was the toml now specifying the version that was already used according to the lock file.

Guess this one was forgotten. I've bumped it for the new release now.


Challenge 19: Add link

To improve user experience, I suggest adding a link at the end of the Intro, where it says:
'Please refer to the documentation for an exhaustive list.'
I think the following is an appropriate link:
https://facebook.github.io/react/docs/typechecking-with-proptypes.html

So regardless of my opinion on this the word from Quincy is to keep external links to a minimum so I've deliberately avoided/removed them throughout this curriculum except at the very end where we link to Create React App.

Thanks


OpenTelemetryCollector v1alpha1 is deprecated. Migrate to v1beta1

Following this issues (#102) i have implemented the new apiVersion of opentelemetry.
This update will need to use at lease the v0.104.0 of the opentelemetry operator (should be okay because it's really outdated)
I have also patched a problem with the warning :
W1107 09:45:48.015059  449507 warnings.go:70] missing the following rules for configmaps: [get]

By adding - configmaps in the ClusterRole part.

instrumentation files need to be updated as well.
Check

instrumentation-dotnet.yaml
instrumentation-go.yaml
instrumentation-python.yaml
instrumentation-nodejs.yaml
instrumentation-java.yaml

I have made a second pr about the instrumentation part but for the migration to v1beta1 it's good. There is no v1beta1 api version for the Instrumentation kind when we look the repository of the open telemetry operator ^^

This requires installation of prometheus probes and scrapeconfig CRDs to be installed. Latest version of OpenObserve Data sources > Kubernetes pages has been updated to accommodate that.


Change gold color to bold. Useful for light theme

Here is how it looks now in the light theme.

More accurate method would be to use named colors, from skins color schema. But i don't know how.
Anyway bold looks easy and robust.

@vasilky3
I think I was playing with different styles in the beginning and stayed with yellow.
But now I look at bold variant and it looks more "native".


Possible bug with EnumerateStereoisomers

Describe the bug
Calling EnumerateStereoisomers on some imines seems to alter the rings of the molecule.
To Reproduce
from rdkit.Chem import MolFromSmiles, MolToSmiles, rdmolops
from rdkit.Chem.EnumerateStereoisomers import EnumerateStereoisomers

mol = MolFromSmiles('CSCc1cnc(C=Nn2c(C)nc3sc4c(c3c2=O)CCCCC4)s1')
ssr = rdmolops.GetSymmSSSR(mol)
for ring in ssr:
    print(len(ring))

stereo_mols = EnumerateStereoisomers(mol)
for m in stereo_mols:
    print(MolToSmiles(m))
    ssr = rdmolops.GetSymmSSSR(m)
    for ring in ssr:
        print(len(ring))

The initial mol contains 4 rings, of length 5, 5, 6, 7. After EnumerateStereoisomers, the list contains 4 rings, of length 5, 5, 7, 9. The representation of the mol looks strange as well (see snapshot below). MolToSmiles of the stereo mols return the expected stereo smiles CSCc1cnc(/C=N/n2c(C)nc3sc4c(c3c2=O)CCCCC4)s1 and CSCc1cnc(/C=N\n2c(C)nc3sc4c(c3c2=O)CCCCC4)s1.
Screenshots
Execution of the snippet:

One of the stereo mols:

I encountered another problem, which is unrelated to the ring issue. When loading the second stereo smiles (CSCc1cnc(/C=N\n2c(C)nc3sc4c(c3c2=O)CCCCC4)s1) as a new mol, it yields None. Adding a second \ in the smiles (CSCc1cnc(/C=N\\n2c(C)nc3sc4c(c3c2=O)CCCCC4)s1) makes it valid. What would be your recommendation to handle such cases?

Configuration (please complete the following information):

RDKit version: 2021.03.1
OS: macOS Mojave
Python version (if relevant): 3.7.9
Are you using conda? yes
If you are using conda, which channel did you install the rdkit from? conda install -y -c conda-forge rdkit

For the first part: The problem here is that EnumerateStereoisomers() is clearing the ring information before calling AssignStereochemistry(). In order to be efficient, AssignStereochemistry() calls FastFindRings(), which doens't find the symmetric SSSR set. The next call to GetSymmSSR() then re-uses the information from FastFindRings().
A quick workaround until this is fixed and a new RDKit version is available would be to call m.ClearComputedProps() before the call to 'rdmolops.GetSymmSSSR(m)`
For the second part:
the backslashes in the string literals are being interpreted by python as quoting characters. Here's a stackoverflow thread about that: https://stackoverflow.com/questions/301068/quoting-backslashes-in-python-string-literals
The short answer is that you can either double the backslashes (as you already discovered) or use a raw string:
Chem.MolFromSmiles(r'CSCc1cnc(/C=N\n2c(C)nc3sc4c(c3c2=O)CCCCC4)s1')


Hello, I'm using glide to load the image and show it in the viewpager, and I can't zoom,

Please provide as much of the following information as possible. Please do not raise issues to ask for help developing your app.
Expected behaviour
Actual behaviour
Steps to reproduce
(Include your setup code, and where relevant, your layout XML)
Affected devices
(Specific devices, screen densities, SDK versions)
Affected images
(Attach images you have problems with)

Insufficient information provided. Please complete the template.

SubsamplingScaleImageView.setDebug(true);  No information was displayed,And There is no problem loading local images

Please complete the template, I need more information.

/SubsamplingScaleImageView: Failed to initialise bitmap decoder
java.io.FileNotFoundException: No content provider: http://<IP_ADDRESS>:8080/public/0B80125DF8E.jpg
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1142)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:993)
at android.content.ContentResolver.openInputStream(ContentResolver.java:713)
at com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder.init(SkiaImageRegionDecoder.java:67)
at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$TilesInitTask.doInBackground(SubsamplingScaleImageView.java:1515)
at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$TilesInitTask.doInBackground(SubsamplingScaleImageView.java:1490)
at android.os.AsyncTask$2.call(AsyncTask.java:316)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:255)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:776)

Please read the wiki and follow setup instructions before raising bugs. Web URLs are not supported. Download the image first.