V3 fast iavl

What is the purpose of the change

closes: #398 (if the branch is protected)
closes: https://github.com/osmosis-labs/osmosis/pull/3551

Brief Changelog
Adds iavl fast node to the ealiest versions of the osmosis-sdk, usable with osmosis v3
Testing and Verifying
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added unit test that validates ...
Added integration tests for end-to-end deployment with ...
Extended integration test for ...
Manually verified the change by ...

Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (yes / no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (yes / no)
How is the feature or change documented? (not applicable   /   specification (x/<module>/spec/)  /  Osmosis docs repo   /   not documented)

This branch might not contain the "son fix".
This would potentially explain the apphash (though root cause is not clear)


Difference between specimen_name and subject.genotype?

Probably need to ask them to clarify
In prototype file 571099190.nwb
general.specimen_name = Cux2-CreERT2;Camk2a-tTA;Ai93-283278
and
general.subject.genotype = Cux2-CreERT2/wt;Camk2a-tTA/wt;Ai93(TITL-GCaMP6f)/wt
Perhaps one should be strain?

Discovered what it means from the white paper on transgeing mouse genotyping here: http://help.brain-map.org/display/observatory/Documentation
However, now there is a collision between 'subject_id' and this new 'Mouse ID' which is the extra part added to the genotype summary

Going ahead and combining it with the container ID in the notes section; eventually could make an extension if they want to make this more official


chore: updating to angular 15 support

Still problems with eslint and typescript that needs to be solved.

I've merged these changes into #1016, so closing this one. Wanted to test the changes in #1016 with Angular 15, and this way we won't have any conflicts.


Different vertical margins for nested grids?

I have a large parent grid with many nested grids within it. It seems that changing the vertical margin of any of them results in the vertical margin for all of the other grids being updated with the same vertical margin.  What I'd really like is for the vertical margin at the top level to be one value (say 50) and the nested grids to have a much lower one (say 8). Is this possible, am I missing something?

As a followup to this, examining the Gridstack code in detail revealed that the "opts" object inside a Gridstack instance appears to be a reference that is shared across all instances. I was tipped off to this when I looked at opts.is_nested and it was true for everything, even the top-level grid.
Changing line 513 from
this.opts = _.defaults(opts || {}, {
to
this.opts = _.defaults({}, opts || {}, {
addresses that problem.  That alone doesn't completely address the issue in my post above, because it seems like setting vertical margin at the top level still cascades down to child grids, but I can set one level at the top level and then set different ones at lower levels and sort of get the effect I want. A temporary kludge solution.

@mattjneuber This has been updated in the latest build. Could you take a look to see if it works now? We resolved several bugs, including the ones causing _.defaults to modify this.opts.

The this.opts issue is fixed, however defining different vertical margins for nested grids still doesn't seem to be working for me. In the end, they all take what was defined at the top level.

It is picking up the change in verticalMargin for me in build 0.3.
Outer grid is verticalMargin=3 and inner grid is verticalMargin=0.
View Screenshot.
BUT changes of vertical margin between parent grid and child are affecting widget height calculations.
I expected the inner grid to stretch/adjust vertically to absorb the vertical margin (+-) difference of the parent grid AND inner widget heights would then line up to the parent grid boundary.
See orange spacing below inner1 and inner2 widgets in screenshot.
This wouldn't be visible in an ideal situation as the inner grid would incorporate the verticalMargin gap spacing of the parent grid AND inner widget heights would adjust accordingly.

closing as the original issue has been fixed. sounds like @kool-kat is wanting % height to take available space (which changes as parent margin is affected) which is posted bug - if not create new one.


BREAKING CHANGE: Update response definitions

:tada: This PR is included in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Runtime toggling of requestreduce

We sometimes want to debug our javascript when trying find the source of a bug on a live system. Stepping through minified / concatenated JS is near impossible so it would be useful in this case to be able to disable RequestReduce processing for a specific request by e.g. adding a queryparameter to the url.
Is there any way to implement this on top of the current version of RequestReduce and if not, would you consider it as a feature request? I'm happy to submit a pull request if you think such a feature would be useful to others.

You can disable RR for a single request by appending the querystring parameter ?rrfilter=disabled.
You can read more about this on the wiki page

Totally see the pain point here and fortunately it is possible. Add rrfilter=disabled to any request querystring and RR is disabled and you should see the original unaltered content. see https://github.com/mwrock/RequestReduce/wiki/How-can-I-disable-RequestReduce%3F for details.

Fantastic - thanks both for pointing me at the appropriate docs :-)
On 22 December 2011 11:26, Matt Wrock <
<EMAIL_ADDRESS>
wrote:

Totally see the pain point here and fortunately it is possible. Add
rrfilter=disabled to any request querystring and RR is disabled and you
should see the original unaltered content. see
https://github.com/mwrock/RequestReduce/wiki/How-can-I-disable-RequestReduce%3Ffor details.

Reply to this email directly or view it on GitHub:
https://github.com/mwrock/RequestReduce/issues/86#issuecomment-3243532


Ionic View map issue

When I launch App in ionic view, map doesnt work and display.
I tried to sketch up cordova-plugin-crosswalk-webview, but the result was the same and nothing changed.

Please share your project files on github. I will check it.

@wf9a5m75 , files shared. here is ionic-view id - 5a0577a4.

Thank you. Which file does contain your code? Your project files are different than generic ionic project files.

/src/app/core/aerial/aerial.component.ts
/src/app/core/aerial/aerial.component.html

Thank you.
You need to execute this.__mapInit(mapElement); after the platform.ready()
And recommend way to create a map is
this.map = GoogleMaps.create('map');

still does not work

Oh, I got the reason. You use v1.4.5 which is out-of-dated version. It is no longer supported, and @ionic-native/google-maps does not work with that version anymore.

it does not matter
plugin updated, still does not working.

v2.1.1 and v1.4.5 are completely different code.

"@ionic-native/google-maps": "^3.14.0" is too old.
Currently `"@ionic-native/google-maps": "4.5.2"

You still specify "cordova-plugin-googlemaps": "^1.4.5" in the package.json file

I just add @ionic-native/google-maps: 4.5.2 and cordova-plugin-googlemaps: 2.1.1.

There s no problem in launching on device or emulator.
Problem only in IonicView. Plugin updated to the last version, But on IonicView it doesnt work.
Thats App  code - 3c9ddfc5

Try the multiple_maps branch version.

still does not working.

Show me the screen record.

I'm NOT your friend, so if you don't provide proper information "how does not work", I don't support anymore.

https://drive.google.com/open?id=1tYfaibK_ZcPfHeSjThlW9NMAbrJlst42
The map should be displayed on "IonicView" or not?

Thank you for sharing the screen records.
Since the ionic view does not contain this plugin, the map is not displayed of course.

thank you for your message


Insert to multiple tables

I have two tables(users, userdata) that I'd like to insert data when I make a single call to my Express api endpoint. http://www.example.com/signup
And the payload that I submit via post is
name: 'Scott Denver'
webBrowser: 'Chrome'

I'd like to insert name into users table. The webBrowser should be inserted to userdata data.
What will be the knex insert code for this?

Try stackoverflow.


Edit Vault view

When user click "edit" button on the vault detail view, the top right color, edit button

Then the app need to show the following screen

Detail:

Rename:

Reshare: Go to create vault screen
Delete: delete the vault file

this one is done


[Added] Bug Report Template

Contributes to #40
What did you do?
Added Bug Report Template
Why did you do it?
How have you tested it?
Yes
Were docs updated if needed?

[ ] No
[ ] Yes
[ ] N/A

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new console logs
[x] Fixes the entire issue
[ ] Partial fix for issue

@ashwinexe Thanks again for your contribution to our projects! We would like to invite you to join us for our Hacktoberfest Demo Day on  October 29th where we'll be highlighting contributions and thanking everyone who participated. Let me know if you can make it! https://www.crowdcast.io/e/hacktoberfest-demo-day/register


Use multiple processes

Hi,
I'm running NanoSV on our PromethION genomes, and I think quite some time can be saved by using multiple processes, e.g. by splitting sambamba/samtools depth per chromosome. If you want I'd be happy to try this. A -t/--threads argument could be added to allow the user to adapt to the number of threads available.
Cheers,
Wouter

We will try to implement multi-threading in the future

Another suggestion if I may: perhaps you could consider also allowing mosdepth as a tool for calculating coverage in addition to samtools/sambamba. It's pretty fast but unfortunately writes to files rather than stdout.


Revert "Keep orcharding"

Reverts zingolabs/zingolib#58.
#58 is causing too many rebase conflicts and naming scheme conflicts with my #52. These changes make sense, but let's make them atop #52.

Codecov Report

Merging #59 (43c2aa7) into dev (93eba4a) will not change coverage.
The diff coverage is 80.00%.

@@           Coverage Diff           @@
##              dev      #59   +/-   ##
=======================================
  Coverage   55.60%   55.60%
=======================================
  Files          32       32
  Lines        6106     6106
=======================================
  Hits         3395     3395
  Misses       2711     2711

Impacted Files
Coverage Δ

lib/src/wallet/data.rs
56.04% <50.00%> (ø)

lib/src/blaze/block_witness_data.rs
66.66% <100.00%> (ø)

lib/src/blaze/update_notes.rs
87.87% <100.00%> (ø)

lib/src/wallet/transactions.rs
69.67% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add feature to download app-config from this repository when running "create" and/or "install"

Consider: Download when create/install is called VS never download, load on-demand

For now only the download is implemented.
Might move towards embedded scripts either way, so will close this now.


Sample application not available.

The sample code to import users is no longer available in github. There are just xml files there.

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

ID: 3efb0913-3c25-caf7-306b-c1ddd78439fe
Version Independent ID: b262e742-c371-ffb9-108b-67f2f5bbc297
Content: User migration approaches in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-user-migration.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@DXCDanielAbreu Thank you for your feedback . We will have this checked and update the thread accordingly.

@yoelhor Could you please help the customer to point to the correct User migration app sample location ? The article points to a location which does not have the actual application. As per the changes in B2C , I am not sure if the old sample would be relevant . It would be great if you could provide some insight?
Thanks.

@DXCDanielAbreu Thank you for your feedback . We will have this checked and update the thread accordingly.

Thank you.


added section on releasing event handlers on env object

Docs Build status updates of commit e286e11:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/concepts/developer-guide.md
:bulb:Suggestion
View
Details

microsoft-edge/webview2/concepts/developer-guide.md

Line 76, Column 37: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.961.33#createcorewebview2environment. Otherwise, remove the view parameter.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4694701:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/concepts/developer-guide.md
:bulb:Suggestion
View
Details

microsoft-edge/webview2/concepts/developer-guide.md

Line 76, Column 44: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.961.33#createcorewebview2environment. Otherwise, remove the view parameter.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0b698c6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/concepts/developer-guide.md
:bulb:Suggestion
View
Details

microsoft-edge/webview2/concepts/developer-guide.md

Line 76, Column 44: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.961.33#createcorewebview2environment. Otherwise, remove the view parameter.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit a2ab865:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/concepts/developer-guide.md
:bulb:Suggestion
View
Details

microsoft-edge/webview2/concepts/developer-guide.md

Line 76, Column 44: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.961.33#createcorewebview2environment. Otherwise, remove the view parameter.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1eeeeb3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/concepts/developer-guide.md
:bulb:Suggestion
View
Details

microsoft-edge/webview2/concepts/developer-guide.md

Line 76, Column 44: [Suggestion-preserve-view-not-set] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /microsoft-edge/webview2/reference/win32/webview2-idl?view=webview2-1.0.961.33#createcorewebview2environment. Otherwise, remove the view parameter.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 390c8b4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/concepts/developer-guide.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[bn] Fixes issue to go live in bn

This PR fixes some issue to go live in Bangla
Fixes : #44993   ,  #44986
Tracking issue : #31677

/lgtm


using-break python tutorial

Populate loops/using-break.py with a tutorial and challenge.

@funbeedev Could I have this task?

@Terayza  I'll assign you to this after you've completed the other task :)

@funbeedev May I have this now? :)

yep! @Terayza


I have added a tictactoe tutorial by React

I have added a tictactoe tutorial. Please approve, thank you

ok, this is good to go.


Envoy conflict

Please provide us with the following information:

This issue is a: (mark with an x)

[X] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
My solution runs an Envoy proxy in a container. Recently my Envoy container stopped working in Azure Container Apps, but works in other environments. The error is:
unable to bind domain socket with base_id=0, id=0, errno=98 (see --base-id option)
Envoy documentation states that this error occurs when more than one instance of Envoy runs within the same host. Am I seeing a conflict here with Envoy instances used by Azure Container Apps? Should I refrain from using Envoy within Azure Container Apps?
Steps to reproduce

..
..

Expected behavior [What you expected to happen.]
Actual behavior [What actually happened.]
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Ex. Did this issue occur in the CLI or the Portal?

/cc @zhenqxuMSFT
It should be fine to run envoy in ACA. We started running an envoy instance to handle some internal routing scenarios. We should pick a non-default base-id to not conflict with user application.

We have recently encountered this issue, and our gateway container app fails to start.
Does MSFT's envoy instance use a particular --base-id to startup?
If it had a set value that we could avoid (either by explicitly setting our own base-id, or using the default of 0), that would be good.
Also, is there documentation on services that run on the containers by default? I had a google around but couldn't find anything relating to this new envoy service :)

I worked around it by setting a base-id on my instance. But it did come as a bit of a surprise.

@AndrewL97 @mrentier I am making a change pick up a non 0, fixed base id for the envoy instance.
The documentation for the new envoy instance is not ready yet.

Thanks @zhenqxuMSFT & @ahmelsayed  !
For my own sanity, was this a recent change? Plus is there somewhere I can monitor for this sort of thing?
This announcement generally lines up with when our issue started -> https://azure.microsoft.com/en-au/updates/generally-available-azure-monitor-integration-with-azure-container-apps/
But I am not sure if that would be the cause, or if that blog is even the correct place to go for news like this :)

Hey folks, should this be documented here ?
https://learn.microsoft.com/en-us/azure/container-apps/networking#http-edge-proxy-behavior

This has been fixed for a while. For envoy we use --base-id 4141.


TESTIMONIALS

Design this section from scratch.
Ensure that the images and text content are displayed properly.
Implement an automatic slider for testimonials with the option to navigate manually using arrow keys on either side.
Ensure that it works for all screen sizes.

I would like to work on this issue, please this to me.
@Anushka-Singh1

@DedSec2050 have you completed?

Yes Sir the testimonial section design is implemented only there might be a simple font size typo error


fix(tasks): find the right output to diff

Current dependencies on/for this PR:

main

PR #1596   👈

This stack of pull requests is managed by Graphite.

I also noticed that
https://github.com/oxc-project/oxc/blob/ba5b13da2cedbeaeb53414e78193cfd5621e2385/tasks/prettier_conformance/src/lib.rs#L329
would return None
and then
https://github.com/oxc-project/oxc/blob/ba5b13da2cedbeaeb53414e78193cfd5621e2385/tasks/prettier_conformance/src/lib.rs#L306
would become an empty string, which lead to producing an empty diff.

I also noticed that
https://github.com/oxc-project/oxc/blob/ba5b13da2cedbeaeb53414e78193cfd5621e2385/tasks/prettier_conformance/src/lib.rs#L329
would return None

Curious about which case will return None, do you remember which case?

Merge activity

Dec 3, 2:29 AM: @Boshen started a stack merge that includes this pull request via Graphite.


Draft: Support LookML multi repos

Describe your changes:
Fixes

I worked on ... because ...

Type of change:

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

Checklist:

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

@locnh2012 is the PR ready to review?

@locnh2012 is the PR ready to review?

Yes, I think it is ready to review, please.


browser: show correct voting buttons based on vote history

closes #270

Did you mean to close the PR?

Yes, there were two missing semicolons in my commit that were breaking things. I closed this PR figuring I could just make another PR, which I did. In the second PR, I forgot to squash the semicolon commit. So, anyway, I should've just fixed this original PR... New PR here: https://github.com/laurelnaiad/marklogic-samplestack/pull/52


Add VQ-BeT

What this does
Add VQ-BeT for PushT env.
How it was tested
Explain/show how you tested your changes.
Examples:

Added configuration_vqbet.py and modeling_vqbet.py in vqbet folder.

How to checkout & try? (for the reviewer)
Examples:
python lerobot/scripts/train.py policy=vqbet env=pusht dataset_repo_id=lerobot/pusht

This change is

Thank you for the review!
Following these high-level points,

we removed all kwargs as possible, and only remained configs.
consolidated all the similar functions
added comments, and changed names

for all the parts of this PR.

Thank you for the review!
I've resolved all the comments. In high-level view,

I removed and consolidated all the redundant optimizers and schedulers (merged all the optimizers for phase 1 and phase 2 into one, leaving only one optimizer). I also deleted def step, def zero_grad
removed redundant functions, and now using original load_state_dict, train, and eval of nn.module. In fact, the existence of these functions was to prevent the EMA updates after RVQ training has ended. This is now implemented instead via self.vq_layer.freeze_codebook = torch.tensor(True) and torch.no_grad()
Added comments and changed some confusing function names, and removed unused parts.

Regarding consolidating optimizers, I found that the loss of vqvae learning parts does not drop if we put all the parameters in single optimizer. Do you have any recommendations for

if we put all the parameters in single optimizer and scheduler (same as current PR version): purple curve
if we separate vqvae optimizer and bet optimizer/scheduler (the code attached below): blue curve

reconstruction error for vqvae learning:

Do you have any ideas on how to integrate the optimizers without running into this issue, or any insight into why it's causing this issue?
class VQBeTOptimizer(nn.Module):
    def __init__(self, policy, cfg):
        super().__init__()
        self.n_vqvae_training_steps = cfg.training.n_vqvae_training_steps
        self.optimizing_step = 0

        vqvae_params = (
            list(policy.vqbet.action_head.vqvae_model.encoder.parameters())
            + list(policy.vqbet.action_head.vqvae_model.decoder.parameters())
            + list(policy.vqbet.action_head.vqvae_model.vq_layer.parameters())
        )
        self.vqvae_optimizer = torch.optim.Adam(
            vqvae_params, lr=cfg.training.vqvae_lr, weight_decay=0.0001
        )
        decay_params, no_decay_params = policy.vqbet.policy.configure_parameters()
        decay_params = (
            decay_params
            + list(policy.vqbet.rgb_encoder.parameters())
            + list(policy.vqbet.state_projector.parameters())
            + list(policy.vqbet.rgb_feature_projector.parameters())
            + [policy.vqbet._action_token]
            + [policy.vqbet._code_to_token]
            + list(policy.vqbet.action_head.map_to_cbet_preds_offset.parameters())
        )

        if cfg.policy.sequentially_select:
            decay_params = (
                decay_params
                + list(policy.vqbet.action_head.map_to_cbet_preds_primary_bin.parameters())
                + list(policy.vqbet.action_head.map_to_cbet_preds_secondary_bin.parameters())
            )
        else:
            decay_params = (
                decay_params
                + list(policy.vqbet.action_head.map_to_cbet_preds_bin.parameters())
            )

        optim_groups = [
            {
                "params": decay_params,
                "weight_decay": cfg.training.adam_weight_decay,
                "lr": cfg.training.lr,
            },
            {
                "params": no_decay_params,
                "weight_decay": 0.0,
                "lr": cfg.training.lr,
            },
        ]
        self.second_optimizer = torch.optim.Adam(
            optim_groups,
            cfg.training.lr,
            cfg.training.adam_betas,
            cfg.training.adam_eps,
        )
        self.param_groups = self.second_optimizer.param_groups
    def step(self):
        self.optimizing_step +=1
        # pretraining VQ-VAE (Training Phase 1)
        if self.optimizing_step < self.n_vqvae_training_steps:
            self.vqvae_optimizer.step()
        # training BeT (Training Phase 2)
        else:
            self.second_optimizer.step()

    def zero_grad(self):
        # pretraining VQ-VAE (Training Phase 1)
        if self.optimizing_step < self.n_vqvae_training_steps:
            self.vqvae_optimizer.zero_grad()
        # training BeT (Training Phase 2)
        else:
            self.second_optimizer.zero_grad()

class VQBeTScheduler(nn.Module):
    def __init__(self, optimizer, cfg):
        super().__init__()
        # VQ-BeT use scheduler only for rgb encoder. Since we took rgb encoder part from diffusion policy, we also follow the same scheduler from it.
        from diffusers.optimization import get_scheduler
        self.n_vqvae_training_steps = cfg.training.n_vqvae_training_steps
        self.optimizing_step = 0

        self.lr_scheduler = get_scheduler(
            cfg.training.lr_scheduler,
            optimizer=optimizer.second_optimizer,
            num_warmup_steps=cfg.training.lr_warmup_steps,
            num_training_steps=cfg.training.offline_steps,
        )

    def step(self):
        self.optimizing_step +=1
        if self.optimizing_step >= self.n_vqvae_training_steps:
            self.lr_scheduler.step()

@jayLEE0301 I found the issue with the optimizer. The single optimizer is fine on its own but because of the way you were using the scheduler, it was keeping the learning rate at 0 (due to the linear warmup phase). Specifically because of:
if self.optimizing_step >= self.n_vqvae_training_steps:
    self.lr_scheduler.step()

So, I suppose to address this, we could:
a) Don't use warmup, but this would change the training behaviour so we'd need to test that it doesn't have a negative impact.
b) Implement the scheduler ourselves so we have a flat LR to start with, followed by warmup, then cosine:
(b) would be great as we remove dependency on diffusers. Heres' what they do
    def lr_lambda(current_step):
        if current_step < num_warmup_steps:
            return float(current_step) / float(max(1, num_warmup_steps))
        progress = float(current_step - num_warmup_steps) / float(max(1, num_training_steps - num_warmup_steps))
        return max(0.0, 0.5 * (1.0 + math.cos(math.pi * float(num_cycles) * 2.0 * progress)))

    return LambdaLR(optimizer, lr_lambda, last_epoch)

we can just add one more conditional branch to achieve what we want.

@jayLEE0301 looking really good!
I ran training and it's going well so I'm satisfied. One minor thing I ran into was that the dataclass config says n_vqvae_training_steps=3000 whereas the yaml says n_vqvae_training_steps=20000 and I was confused about why the transition wasn't happening. To mitigate this sort of issue in general, I have this PR https://github.com/huggingface/lerobot/pull/292. Mind making sure the test on there passes (you'll need to add vqbet in the parameterization)? Btw, I can't merge that PR yet because of issues with CI.


Framework not found RangersAPM_Pangle when using Ads-Global or GoogleMobileAdsMediationPangle cocoa pod

We are attempting to add Google Ad Mob mediation for the Pangle Global Ad Network to our IOS App. Using the cocoa-pods-catalyst support works fine for the iOS variant but the macOS variant fails to link due to the error Framework not found RangersAPM_Pangle. The RangersAPM_Pangle is one of the dependencies of the main pod import.
We do not directly reference the code anywhere within our project.
## TO RUN THIS call pod catalyst run
require 'cocoapods-catalyst-support'

# Uncomment the next line to define a global platform for your project
#platform :ios, '10.0'

target 'XXXXXXXX' do
  platform :ios, '11.0'
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  use_frameworks!

  # Pods for XXXXXXXX
  pod 'Firebase/Crashlytics'
  pod 'Firebase/Analytics'
  pod 'Firebase/Core'
  pod 'TapjoySDK'
  pod 'AmazonPublisherServicesSDK'
  pod 'Google-Mobile-Ads-SDK'
  pod 'GoogleMobileAdsMediationTapjoy'
  pod 'GoogleMobileAdsMediationFacebook'
  pod 'GoogleMobileAdsMediationAppLovin'
  pod 'GoogleMobileAdsMediationAdColony'
  pod 'GoogleMobileAdsMediationPangle'
  pod 'AmazonPublisherServicesAdMobAdapter'
  pod 'Firebase/RemoteConfig'

end

# Append to your Podfile

# Configure your macCatalyst dependencies
catalyst_configuration do
	# Uncomment the next line for a verbose output
	#verbose!

  ios 'TapjoySDK' # This dependency will only be available for iOS
  ios 'AmazonPublisherServicesSDK'
  ios 'Google-Mobile-Ads-SDK'
  ios 'GoogleMobileAdsMediationTapjoy'
  ios 'GoogleMobileAdsMediationFacebook'
  ios 'GoogleMobileAdsMediationAppLovin'
  ios 'GoogleMobileAdsMediationAdColony'
  ios 'GoogleMobileAdsMediationPangle'
  ios 'AmazonPublisherServicesAdMobAdapter'

	# macos '<pod_name>' # This dependency will only be available for macOS
end

post_install do |installer|

   installer.configure_catalyst
   installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
         config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
         config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "i386 arm64"
      end
   end
end

Environment

cocoapods-catalyst-support => cocoapods-catalyst-support (0.2.1, 0.2.0, 0.1.2)
Ruby version [e.g 2.6.0] => ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
Cocoapods version [e.g 1.10.0] => 1.11.3
Xcode version [e.g 12.2] => Xcode 13.4.1 Build version 13F100

Additional context
All other AdMob mediation networks compile properly, just the Pangle pods do not work correctly. I've also tried to define each dependency manually in the pod file to no avail.

I have found that the issue actually is in the generated  Pods-[PROJECT].debug.xcconfig Pods-[PROJECT].release.xcconfig config files.
The OTHER_LDFLAGS is including libraries from dependencies of the GoogleMobileAdsMediationPangle in the normal line rather than in the specific one for ios
If I change
-OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"z" -framework "CoreTelephony" -framework "FBLPromises" -framework "FirebaseABTesting" -framework "FirebaseAnalytics" -framework "FirebaseCore" -framework "FirebaseCoreDiagnostics" -framework "FirebaseCoreInternal" -framework "FirebaseCrashlytics" -framework "FirebaseInstallations" -framework "FirebaseRemoteConfig" -framework "Foundation" -framework "GoogleAppMeasurement" -framework "GoogleAppMeasurementIdentitySupport" -framework "GoogleDataTransport" -framework "GoogleUtilities" -framework "OneKit_Pangle" -framework "RARegisterKit" -framework "RangersAPM_Pangle" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -framework "UIKit" -framework "nanopb"
to
OTHER_LDFLAGS = $(inherited) -ObjC -l"c++" -l"sqlite3" -l"z" -framework "CoreTelephony" -framework "FBLPromises" -framework "FirebaseABTesting" -framework "FirebaseAnalytics" -framework "FirebaseCore" -framework "FirebaseCoreDiagnostics" -framework "FirebaseCoreInternal" -framework "FirebaseCrashlytics" -framework "FirebaseInstallations" -framework "FirebaseRemoteConfig" -framework "Foundation" -framework "GoogleAppMeasurement" -framework "GoogleAppMeasurementIdentitySupport" -framework "GoogleDataTransport" -framework "GoogleUtilities" -framework "Security" -framework "StoreKit" -framework "SystemConfiguration" -framework "UIKit" -framework "nanopb"
and
OTHER_LDFLAGS[sdk=iphone*] = $(inherited) -ObjC -framework "AVFoundation" -framework "AdColony" -framework "AdSupport" -framework "AudioToolbox" -framework "CoreMedia" -framework "CoreServices" -framework "JavaScriptCore" -framework "MessageUI" -framework "SafariServices" -weak_framework "AppTrackingTransparency" -weak_framework "Social" -weak_framework "StoreKit" -weak_framework "WatchConnectivity" -weak_framework "WebKit" -l"bz2" -l"c++abi" -l"iconv" -framework "Accelerate" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreLocation" -framework "CoreMotion" -framework "CoreText" -framework "ImageIO" -framework "MapKit" -framework "MediaPlayer" -framework "MobileCoreServices" -framework "QuartzCore" -framework "WebKit" -weak_framework "CoreML" -framework "CFNetwork" -weak_framework "AdSupport" -weak_framework "CFNetwork" -weak_framework "CoreMotion" -weak_framework "CoreTelephony" -weak_framework "LocalAuthentication" -weak_framework "SafariServices" -weak_framework "SystemConfiguration" -weak_framework "VideoToolbox" -framework "CoreVideo" -weak_framework "JavaScriptCore" -weak_framework "PassKit" -weak_framework "Foundation" -weak_framework "UIKit" -framework "AppLovinSDK" -framework "BUAdSDK" -framework "FBAudienceNetwork" -framework "VungleSDK" -framework "PAGAdSDK" -framework "BURelyAdSDK" -l"resolv" -l"xml2" -l"resolv.9" -l"BURelyFoundationAFN" -l"BURelyFoundationHeader" -l"BURelyFoundationFoundation" -l"BURelyFoundationGecko" -l"BURelyFoundationNETWork" -l"BURelyFoundationSDWebImage" -l"BURelyFoundationYYModel" -l"BURelyFoundationZFPlayer" -l"BURelyFoundationZip" -framework "GoogleMobileAds" -framework "AdColonyAdapter" -framework "AppLovinAdapter" -framework "MetaAdapter" -framework "PangleAdapter" -framework "TapjoyAdapter" -framework "VungleAdapter" -framework "UserMessagingPlatform" -l"Encryptor" -l"OneKit_BaseKit_awesome_ios" -l"OneKit_Database_awesome_ios" -l"OneKit_Reachability_awesome_ios" -l"OneKit_Service_awesome_ios" -l"RARegisterKit_Core_awesome_ios" -l"RangersAPM_Above" -l"RangersAPM_Core" -l"RangersAPM_Crash" -l"RangersAPM_Global" -l"RangersAPM_HMD" -l"RangersAPM_Public" -l"RangersAPM_SessionTracker" -l"RangersAPM_Zyone" -framework "Tapjoy"
TO
OTHER_LDFLAGS[sdk=iphone*] = $(inherited) -ObjC -framework "AVFoundation" -framework "AdColony" -framework "OneKit_Pangle" -framework "RARegisterKit" -framework "RangersAPM_Pangle" -framework "AdSupport" -framework "AudioToolbox" -framework "CoreMedia" -framework "CoreServices" -framework "JavaScriptCore" -framework "MessageUI" -framework "SafariServices" -weak_framework "AppTrackingTransparency" -weak_framework "Social" -weak_framework "StoreKit" -weak_framework "WatchConnectivity" -weak_framework "WebKit" -l"bz2" -l"c++abi" -l"iconv" -framework "Accelerate" -framework "CoreFoundation" -framework "CoreGraphics" -framework "CoreImage" -framework "CoreLocation" -framework "CoreMotion" -framework "CoreText" -framework "ImageIO" -framework "MapKit" -framework "MediaPlayer" -framework "MobileCoreServices" -framework "QuartzCore" -framework "WebKit" -weak_framework "CoreML" -framework "CFNetwork" -weak_framework "AdSupport" -weak_framework "CFNetwork" -weak_framework "CoreMotion" -weak_framework "CoreTelephony" -weak_framework "LocalAuthentication" -weak_framework "SafariServices" -weak_framework "SystemConfiguration" -weak_framework "VideoToolbox" -framework "CoreVideo" -weak_framework "JavaScriptCore" -weak_framework "PassKit" -weak_framework "Foundation" -weak_framework "UIKit" -framework "AppLovinSDK" -framework "BUAdSDK" -framework "FBAudienceNetwork" -framework "VungleSDK" -framework "PAGAdSDK" -framework "BURelyAdSDK" -l"resolv" -l"xml2" -l"resolv.9" -l"BURelyFoundationAFN" -l"BURelyFoundationHeader" -l"BURelyFoundationFoundation" -l"BURelyFoundationGecko" -l"BURelyFoundationNETWork" -l"BURelyFoundationSDWebImage" -l"BURelyFoundationYYModel" -l"BURelyFoundationZFPlayer" -l"BURelyFoundationZip" -framework "GoogleMobileAds" -framework "AdColonyAdapter" -framework "AppLovinAdapter" -framework "MetaAdapter" -framework "PangleAdapter" -framework "TapjoyAdapter" -framework "VungleAdapter" -framework "UserMessagingPlatform" -l"Encryptor" -l"OneKit_BaseKit_awesome_ios" -l"OneKit_Database_awesome_ios" -l"OneKit_Reachability_awesome_ios" -l"OneKit_Service_awesome_ios" -l"RARegisterKit_Core_awesome_ios" -l"RangersAPM_Above" -l"RangersAPM_Core" -l"RangersAPM_Crash" -l"RangersAPM_Global" -l"RangersAPM_HMD" -l"RangersAPM_Public" -l"RangersAPM_SessionTracker" -l"RangersAPM_Zyone" -framework "Tapjoy"
The build will link on macOS.
Is there a way to make it so that the linked dependencies are only included in IOS variant and not
OTHER_LDFLAGS
Right now I will have to manually edit xcconfig file after each pod update

`#### Configuring macos dependencies ####
Unsupported Libraries
["Google-Mobile-Ads-SDK", "GoogleMobileAdsMediationTapjoy", "GoogleMobileAdsMediationFacebook", "GoogleMobileAdsMediationAppLovin", "GoogleMobileAdsMediationAdColony", "GoogleMobileAdsMediationVungle", "GoogleMobileAdsMediationPangle", "GoogleUserMessagingPlatform", "AdColony", "AppLovinSDK", "FBAudienceNetwork", "Ads-Global", "TapjoySDK", "VungleSDK", "RangersAPM-Pangle", "BURelyFoundation", "BUAdSDK", "OneKit-Pangle", "RARegisterKit-Pangle"]
Unsupported dependencies
["AVFoundation", "AdColony", "AdSupport", "AudioToolbox", "CoreMedia", "CoreServices", "JavaScriptCore", "MessageUI", "SafariServices", "AppTrackingTransparency", "Social", "StoreKit", "WatchConnectivity", "WebKit", "bz2", "c++abi", "iconv", "resov", "xm2", "Accelerate", "CoreFoundation", "CoreGraphics", "CoreImage", "CoreLocation", "CoreMotion", "CoreText", "ImageIO", "MapKit", "MediaPlayer", "MobileCoreServices", "QuartzCore", "CoreML", "CFNetwork", "resov.9", "BUReyFoundationAFN", "BUReyFoundationFoundation", "BUReyFoundationGecko", "BUReyFoundationHeader", "BUReyFoundationNETWork", "BUReyFoundationSDWebImage", "BUReyFoundationYYMode", "BUReyFoundationZFPayer", "BUReyFoundationZip", "CoreTelephony", "LocalAuthentication", "SystemConfiguration", "VideoToolbox", "CoreVideo", "PassKit", "Foundation", "UIKit", "Ads-Global", "AppLovinSDK", "BUAdSDK", "BURelyFoundation", "FBAudienceNetwork", "Google-Mobile-Ads-SDK", "GoogleMobileAdsMediationAdColony", "GoogleMobileAdsMediationAppLovin", "GoogleMobileAdsMediationFacebook", "GoogleMobileAdsMediationPangle", "GoogleMobileAdsMediationTapjoy", "GoogleMobileAdsMediationVungle", "GoogleUserMessagingPlatform", "OneKit-Pangle", "RARegisterKit-Pangle", "RangersAPM-Pangle", "TapjoySDK", "VungleSDK", "VungleSDK-iOS", "PAGAdSDK", "BURelyAdSDK", "resolv", "xml2", "resolv.9", "BURelyFoundationAFN", "BURelyFoundationHeader", "BURelyFoundationFoundation", "BURelyFoundationGecko", "BURelyFoundationNETWork", "BURelyFoundationSDWebImage", "BURelyFoundationYYModel", "BURelyFoundationZFPlayer", "BURelyFoundationZip", "GoogleMobileAds", "AdColonyAdapter", "AppLovinAdapter", "MetaAdapter", "PangleAdapter", "TapjoyAdapter", "VungleAdapter", "UserMessagingPlatform", "Encryptor", "OneKit_BaseKit_awesome_ios", "OneKit_Database_awesome_ios", "OneKit_Reachability_awesome_ios", "OneKit_Service_awesome_ios", "RARegisterKit_Core_awesome_ios", "RangersAPM_Above", "RangersAPM_Core", "RangersAPM_Crash", "RangersAPM_Global", "RangersAPM_HMD", "RangersAPM_Public", "RangersAPM_SessionTracker", "RangersAPM_Zyone", "Tapjoy"]
Frameworks not to be included in the Archive
["AVFoundation.framework", "AdColony.framework", "AdSupport.framework", "AudioToolbox.framework", "CoreMedia.framework", "CoreServices.framework", "JavaScriptCore.framework", "MessageUI.framework", "SafariServices.framework", "AppTrackingTransparency.framework", "Social.framework", "StoreKit.framework", "WatchConnectivity.framework", "WebKit.framework", "AVFoundation.framework", "Accelerate.framework", "AdSupport.framework", "AudioToolbox.framework", "CoreFoundation.framework", "CoreGraphics.framework", "CoreImage.framework", "CoreLocation.framework", "CoreMedia.framework", "CoreMotion.framework", "CoreServices.framework", "CoreText.framework", "ImageIO.framework", "JavaScriptCore.framework", "MapKit.framework", "MediaPlayer.framework", "MobileCoreServices.framework", "QuartzCore.framework", "WebKit.framework", "AppTrackingTransparency.framework", "CoreML.framework", "AVFoundation.framework", "AdSupport.framework", "AudioToolbox.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "CoreMotion.framework", "MessageUI.framework", "SafariServices.framework", "WebKit.framework", "AppTrackingTransparency.framework", "AVFoundation.framework", "Accelerate.framework", "AdSupport.framework", "CoreFoundation.framework", "CoreLocation.framework", "CoreMedia.framework", "CoreMotion.framework", "CoreServices.framework", "MediaPlayer.framework", "WebKit.framework", "AppTrackingTransparency.framework", "AVFoundation.framework", "Accelerate.framework", "AdSupport.framework", "AudioToolbox.framework", "CoreFoundation.framework", "CoreLocation.framework", "CoreMedia.framework", "CoreMotion.framework", "CoreServices.framework", "MediaPlayer.framework", "WebKit.framework", "AppTrackingTransparency.framework", "AVFoundation.framework", "AudioToolbox.framework", "CoreGraphics.framework", "CoreImage.framework", "CoreMedia.framework", "AdSupport.framework", "CFNetwork.framework", "CoreMotion.framework", "CoreTelephony.framework", "LocalAuthentication.framework", "SafariServices.framework", "SystemConfiguration.framework", "VideoToolbox.framework", "WebKit.framework", "AVFoundation.framework", "AdColony.framework", "AdSupport.framework", "AudioToolbox.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "CoreServices.framework", "CoreVideo.framework", "JavaScriptCore.framework", "MediaPlayer.framework", "MessageUI.framework", "MobileCoreServices.framework", "QuartzCore.framework", "SafariServices.framework", "WebKit.framework", "AdSupport.framework", "AppTrackingTransparency.framework", "JavaScriptCore.framework", "SafariServices.framework", "Social.framework", "StoreKit.framework", "WatchConnectivity.framework", "WebKit.framework", "AVFoundation.framework", "AdSupport.framework", "AudioToolbox.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "CoreMotion.framework", "CoreVideo.framework", "MediaPlayer.framework", "MessageUI.framework", "MobileCoreServices.framework", "QuartzCore.framework", "SafariServices.framework", "WebKit.framework", "AdSupport.framework", "AppTrackingTransparency.framework", "JavaScriptCore.framework", "SafariServices.framework", "WebKit.framework", "AVFoundation.framework", "AudioToolbox.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreImage.framework", "CoreMedia.framework", "CoreVideo.framework", "MediaPlayer.framework", "MessageUI.framework", "MobileCoreServices.framework", "QuartzCore.framework", "WebKit.framework", "AdSupport.framework", "CFNetwork.framework", "CoreMotion.framework", "CoreTelephony.framework", "JavaScriptCore.framework", "LocalAuthentication.framework", "SafariServices.framework", "SystemConfiguration.framework", "VideoToolbox.framework", "WebKit.framework", "AVFoundation.framework", "Accelerate.framework", "AdSupport.framework", "AudioToolbox.framework", "CFNetwork.framework", "CoreFoundation.framework", "CoreGraphics.framework", "CoreImage.framework", "CoreLocation.framework", "CoreMedia.framework", "CoreMotion.framework", "CoreServices.framework", "CoreText.framework", "CoreVideo.framework", "ImageIO.framework", "JavaScriptCore.framework", "MapKit.framework", "MediaPlayer.framework", "MessageUI.framework", "MobileCoreServices.framework", "QuartzCore.framework", "WebKit.framework", "AdSupport.framework", "AppTrackingTransparency.framework", "CoreML.framework", "JavaScriptCore.framework", "SafariServices.framework", "WebKit.framework", "AVFoundation.framework", "AdSupport.framework", "AudioToolbox.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "CoreServices.framework", "CoreVideo.framework", "MediaPlayer.framework", "MessageUI.framework", "MobileCoreServices.framework", "QuartzCore.framework", "WebKit.framework", "AdSupport.framework", "JavaScriptCore.framework", "PassKit.framework", "SafariServices.framework", "WebKit.framework", "AVFoundation.framework", "AdSupport.framework", "AudioToolbox.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "CoreVideo.framework", "MediaPlayer.framework", "MessageUI.framework", "MobileCoreServices.framework", "QuartzCore.framework", "WebKit.framework", "AdSupport.framework", "Foundation.framework", "JavaScriptCore.framework", "SafariServices.framework", "UIKit.framework", "WebKit.framework", "AdSupport.framework", "CFNetwork.framework", "CoreServices.framework", "WebKit.framework", "PassKit.framework", "AVFoundation.framework", "AdSupport.framework", "AudioToolbox.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "MediaPlayer.framework", "QuartzCore.framework", "Foundation.framework", "UIKit.framework", "WebKit.framework", "AdColony.framework", "Ads-Global.framework", "AppLovinSDK.framework", "BUAdSDK.framework", "BURelyFoundation.framework", "FBAudienceNetwork.framework", "Google-Mobile-Ads-SDK.framework", "GoogleMobileAdsMediationAdColony.framework", "GoogleMobileAdsMediationAppLovin.framework", "GoogleMobileAdsMediationFacebook.framework", "GoogleMobileAdsMediationPangle.framework", "GoogleMobileAdsMediationTapjoy.framework", "GoogleMobileAdsMediationVungle.framework", "GoogleUserMessagingPlatform.framework", "OneKit-Pangle.framework", "RARegisterKit-Pangle.framework", "RangersAPM-Pangle.framework", "TapjoySDK.framework", "VungleSDK.framework", "AdColony.framework", "AdColony.framework", "AdSupport.framework", "AudioToolbox.framework", "AVFoundation.framework", "CoreMedia.framework", "JavaScriptCore.framework", "MessageUI.framework", "CoreServices.framework", "SafariServices.framework", "PAGAdSDK.framework", "BURelyAdSDK.framework", "MapKit.framework", "WebKit.framework", "MediaPlayer.framework", "CoreLocation.framework", "AdSupport.framework", "CoreMedia.framework", "AVFoundation.framework", "MobileCoreServices.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "JavaScriptCore.framework", "CoreImage.framework", "AudioToolbox.framework", "ImageIO.framework", "QuartzCore.framework", "CoreGraphics.framework", "CoreText.framework", "MapKit.framework", "WebKit.framework", "MediaPlayer.framework", "CoreLocation.framework", "AdSupport.framework", "CoreMedia.framework", "AVFoundation.framework", "MobileCoreServices.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "JavaScriptCore.framework", "CoreImage.framework", "AudioToolbox.framework", "ImageIO.framework", "QuartzCore.framework", "CoreGraphics.framework", "CoreText.framework", "MapKit.framework", "WebKit.framework", "MediaPlayer.framework", "CoreLocation.framework", "AdSupport.framework", "CoreMedia.framework", "AVFoundation.framework", "MobileCoreServices.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "JavaScriptCore.framework", "CoreImage.framework", "AudioToolbox.framework", "ImageIO.framework", "QuartzCore.framework", "CoreGraphics.framework", "CoreText.framework", "MapKit.framework", "WebKit.framework", "MediaPlayer.framework", "CoreLocation.framework", "AdSupport.framework", "CoreMedia.framework", "AVFoundation.framework", "MobileCoreServices.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "JavaScriptCore.framework", "CoreImage.framework", "AudioToolbox.framework", "ImageIO.framework", "QuartzCore.framework", "CoreGraphics.framework", "CoreText.framework", "MapKit.framework", "WebKit.framework", "MediaPlayer.framework", "CoreLocation.framework", "AdSupport.framework", "CoreMedia.framework", "AVFoundation.framework", "MobileCoreServices.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "JavaScriptCore.framework", "CoreImage.framework", "AudioToolbox.framework", "ImageIO.framework", "QuartzCore.framework", "CoreGraphics.framework", "CoreText.framework", "AppLovinSDK.framework", "AdSupport.framework", "AudioToolbox.framework", "AVFoundation.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "CoreMotion.framework", "MessageUI.framework", "SafariServices.framework", "WebKit.framework", "BUAdSDK.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "CoreFoundation.framework", "WebKit.framework", "CoreServices.framework", "MediaPlayer.framework", "CoreMedia.framework", "CoreLocation.framework", "AVFoundation.framework", "AdSupport.framework", "CoreMotion.framework", "Accelerate.framework", "AudioToolbox.framework", "FBAudienceNetwork.framework", "AudioToolbox.framework", "CoreGraphics.framework", "CoreImage.framework", "AVFoundation.framework", "CoreMedia.framework", "GoogleMobileAds.framework", "AudioToolbox.framework", "AVFoundation.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "CoreVideo.framework", "MediaPlayer.framework", "MessageUI.framework", "MobileCoreServices.framework", "QuartzCore.framework", "AdColonyAdapter.framework", "AppLovinAdapter.framework", "MetaAdapter.framework", "PangleAdapter.framework", "TapjoyAdapter.framework", "VungleAdapter.framework", "UserMessagingPlatform.framework", "WebKit.framework", "JavaScriptCore.framework", "JavaScriptCore.framework", "JavaScriptCore.framework", "CoreFoundation.framework", "JavaScriptCore.framework", "JavaScriptCore.framework", "CoreFoundation.framework", "Tapjoy.framework", "AdSupport.framework", "CFNetwork.framework", "CoreServices.framework", "WebKit.framework", "VungleSDK.framework", "AdSupport.framework", "AudioToolbox.framework", "AVFoundation.framework", "CFNetwork.framework", "CoreGraphics.framework", "CoreMedia.framework", "MediaPlayer.framework", "QuartzCore.framework"]
Resources not to be included in the Archive
["LICENSE", "PAGAdSDK.bundle", "AppLovinSDKResources.bundle", "APMInsightCore.bundle", "APMInsightCrash.bundle"]
Flagging unsupported libraries
Target: AdColony
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: Ads-Global
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: AppLovinSDK
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: BUAdSDK
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: BURelyFoundation
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: FBAudienceNetwork
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: Firebase
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: FirebaseABTesting
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: FirebaseAnalytics
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: FirebaseCore
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: FirebaseCoreDiagnostics
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: FirebaseCoreInternal
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: FirebaseCrashlytics
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: FirebaseInstallations
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: FirebaseRemoteConfig
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: Google-Mobile-Ads-SDK
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: GoogleAppMeasurement
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: GoogleDataTransport
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: GoogleMobileAdsMediationAdColony
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: GoogleMobileAdsMediationAppLovin
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: GoogleMobileAdsMediationFacebook
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: GoogleMobileAdsMediationPangle
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: GoogleMobileAdsMediationTapjoy
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: GoogleMobileAdsMediationVungle
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: GoogleUserMessagingPlatform
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: GoogleUtilities
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: OneKit-Pangle
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: PromisesObjC
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: RARegisterKit-Pangle
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: RangersAPM-Pangle
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: TapjoySDK
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: VungleSDK-iOS
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Nothing to flag
Target: nanopb
	Scheme: Release
		Nothing to flag
	Scheme: Debug
		Nothing to flag
	Scheme: Distribution
		Nothing to flag
Target: Pods-FongoPhone
	Scheme: Release
		Succeded
	Scheme: Debug
		Succeded
	Scheme: Distribution
		Succeded

Filtering build phases
Target: OneKit-Pangle
	- Filtering resources
	- Filtering compile sources
	- Filtering frameworks
	- Filtering headers
	- Filtering dependencies
Target: RARegisterKit-Pangle
	- Filtering resources
	- Filtering compile sources
	- Filtering frameworks
	- Filtering headers
	- Filtering dependencies
Target: RangersAPM-Pangle
	- Filtering resources
	- Filtering compile sources
	- Filtering frameworks
	- Filtering headers
	- Filtering dependencies

Filtering dependencies
Target: AdColony
	- Filtering dependencies
Target: Ads-Global
	- Filtering dependencies
Target: AppLovinSDK
	- Filtering dependencies
Target: BUAdSDK
	- Filtering dependencies
Target: BURelyFoundation
	- Filtering dependencies
Target: FBAudienceNetwork
	- Filtering dependencies
Target: Google-Mobile-Ads-SDK
	- Filtering dependencies
Target: GoogleMobileAdsMediationAdColony
	- Filtering dependencies
Target: GoogleMobileAdsMediationAppLovin
	- Filtering dependencies
Target: GoogleMobileAdsMediationFacebook
	- Filtering dependencies
Target: GoogleMobileAdsMediationPangle
	- Filtering dependencies
Target: GoogleMobileAdsMediationTapjoy
	- Filtering dependencies
Target: GoogleMobileAdsMediationVungle
	- Filtering dependencies
Target: GoogleUserMessagingPlatform
	- Filtering dependencies
Target: TapjoySDK
	- Filtering dependencies
Target: VungleSDK-iOS
	- Filtering dependencies

Changing frameworks and resources script
Target: Pods-FongoPhone
	-Uninstalling frameworks
		Uninstalling for configurations: ["Release", "Debug", "Distribution"]
		Nothing to uninstall
	-Uninstalling resources
		Uninstalling for configurations: ["Release", "Debug", "Distribution"]
		Succeded

Catalyst => Done! Your Catalyst dependencies are ready to go
Integrating client project
Pod installation complete! There are 10 dependencies from the Podfile and 33 total pods installed.
[!] Can't merge user_target_xcconfig for pod targets: ["Ads-Global", "APM", "BUAdSDK", "BURelyAdSDK", "Dep_Accurate", "AFNetworking", "BURelyFoundation", "Foundation", "Gecko", "NETWork", "Pangle", "SDWebImage", "YYModel", "ZFPlayer", "Zip", "FBAudienceNetwork"]. Singular build setting EXCLUDED_ARCHS[sdk=iphonesimulator*] has different values.
[!] Can't merge user_target_xcconfig for pod targets: ["Ads-Global", "APM", "BUAdSDK", "BURelyAdSDK", "Dep_Accurate", "AFNetworking", "BURelyFoundation", "Foundation", "Gecko", "NETWork", "Pangle", "SDWebImage", "YYModel", "ZFPlayer", "Zip", "FBAudienceNetwork"]. Singular build setting EXCLUDED_ARCHS[sdk=iphonesimulator*] has different values.
[!] Can't merge user_target_xcconfig for pod targets: ["Ads-Global", "APM", "BUAdSDK", "BURelyAdSDK", "Dep_Accurate", "AFNetworking", "BURelyFoundation", "Foundation", "Gecko", "NETWork", "Pangle", "SDWebImage", "YYModel", "ZFPlayer", "Zip", "FBAudienceNetwork"]. Singular build setting EXCLUDED_ARCHS[sdk=iphonesimulator*] has different values.
`


Add retry for commands

Closes #8

Pull Request Test Coverage Report for Build 98

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 86.667%

Totals

Change from base Build 94:
0.2%

Covered Lines:
116

Relevant Lines:
131

💛  - Coveralls

Pull Request Test Coverage Report for Build 98

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 86.667%

Totals

Change from base Build 94:
0.2%

Covered Lines:
116

Relevant Lines:
131

💛  - Coveralls


Support for setting nullable of columns

Make sure these boxes checked before submitting your pull request.

[X] Do only one thing
[X] No API-breaking changes
[X] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
Added support for setting nullable of columns using gorm.

Hello, we will only accept new features on GORM V2, for GORM V1, only accept bug fix pull request.
Thank you for your PR.


Pip installed theme does not translate UI

Problem
When I set language = "nl" in conf.py Sphinx RTD Theme user interface doesn't switch language.
When I disable the theme, the default Sphinx theme is translated into Dutch.
Reproducible Project
pip install sphinx-rtd-theme
In conf.py
language = "nl"
html_theme = "sphinx_rtd_theme"  # enable/disable and make html

Expected Results
I expect the UI to be translated to Dutch.

Search to be translated to Dutch Zoek or Zoeken.
Previous/Next => Vorige/Volgende

Debugging
In site-packages the sphinx_rtd_theme package does not have a locale directory.
The repo does have it:
https://github.com/readthedocs/sphinx_rtd_theme/tree/master/sphinx_rtd_theme/locale/nl/LC_MESSAGES
When I install from github, it works.
$ pip install -e git+git@github.com:readthedocs/sphinx_rtd_theme.git#egg=sphinx_rtd_theme
The strange thing is that locals are included in the manifest.
https://github.com/readthedocs/sphinx_rtd_theme/blob/master/MANIFEST.in
Is setup.py package_data incomplete?
https://github.com/readthedocs/sphinx_rtd_theme/blob/master/setup.py#L103
Environment Info

Python Version: Python 3.7.3
Sphinx Version: Running Sphinx v2.4.4
RTD Theme Version: sphinx-rtd-theme==0.4.3

The installation script setup.py is not incomplete, simply the maintainer of the distribution tarball for Pypi is not including the locales directory for some reason.
When you install the library using sphinx-rtd-theme, pip retrieves this file as you can see here.
You can test it following the next steps:

Change the name of the package in setup.py from "sphinx_rtd_theme" to "allcaps_sphinx_rtd_theme".
Run python3 setup.py sdist bdist_wheel to generate source code tarball.
Install twine with pip install twine.
Upload the package to testing mirror of Pypi: twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Install the package with python3 -m pip install --index-url https://test.pypi.org/simple/ allcaps_sphinx_rtd_theme and you will see in your virtual evironment the package sphinx_rtd_theme with the locales directory included.

This is the version that I've uploaded and you can see that locales directory is included.
As I can imagine, they don't include that because there are too few developers using localization and this might increase the distribution file size, and the few developers that include them are using the github development branch.
All of this are only my assumptions after seeing that this behavior is repeated in other libraries, but this makes sense because usually localization files are not updated so fast as code grows.
It would be nice that we could include a [locale] extra marker that indicate that the library needs to include locales (maybe distributing locales in another Python package?). For now, install it from Github.

Thank you @mondeja for your nice response.
I now install with this in requirements.txt to pin to an exact commit.
git+https://github.com/readthedocs/sphinx_rtd_theme.git@ca015a57042713ebd7f39563cdb01fab5b604051#egg sphinx_rtd_theme

I believe this issue just needs the new version of the theme released to pip?
We are working on it and hope to get a release out soon.

Ah, thats probably right. I didn't realise that 4.0.3 did not have locale at all.

Correct. No locale updates since the last release. 0.5rc1 release will have the new translation updates. PR for updates is #909.
Closing this as a duplicatte


The only allowed java versions are 8 and 11

Recently, Nexus has stated that the newer versions will only run with Java version 17. The module only allows version 8 and 11.
I believe the module uses the java version to compose the url from where it will download the Nexus installer, that's another thing that changed.
Please if you can address this.
Thank you.

Hi,
I'll check it today.
Thanks for letting me know.

Hi @yaquino-kubra ,
Here is the PR https://github.com/puppets-epic-show-theatre/puppet-nexus/pull/68
Do you have a valid licence for the pro version ?
Please keep in mind that postgresql is NOT supported on the OSS version.

Migration  to a new database -> Follow this link : https://help.sonatype.com/en/migrating-to-a-new-database.html
I won't bring any support if you break something. In my case it's not very important since I mainly use nexus for proxy features. Besides, you can easily reconstruct your nexus with those ressources : nexus::resource::repository::*
This is just an example :
  create_resources(nexus::resource::blobstore::file, $blobstore_file)
  create_resources(nexus::resource::repository::apt::proxy, $apt_proxy)
  create_resources(nexus::resource::repository::docker::proxy, $docker_proxy)
  create_resources(nexus::resource::repository::pypi::proxy, $pypi_proxy)
  create_resources(nexus::resource::repository::rubygems::proxy, $rubygems_proxy)

blobstore_file:
  default:
    ensure: absent
  apt-debian:
    path: /opt/nexus-storage/blobstore/apt-debian
    ensure: present

apt_proxy:
  apt-debian:
    apt_distribution: bullseye
    proxy_remote_url: https://deb.debian.org/debian/
    cleanup_policy_names:
      - apt

docker_proxy:
  docker-proxy:
    proxy_remote_url: https://registry-1.docker.io/
    docker_http_port: 18080
    docker_force_basic_auth: false
  docker-ghcr:
    proxy_remote_url: https://ghcr.io/
    docker_http_port: 18081
    docker_force_basic_auth: false

pypi_proxy:
  pypi:
    proxy_remote_url: https://pypi.org

rubygems_proxy:
  rubygems:
    proxy_remote_url: https://rubygems.org/

Please let me know if you need additional resources

Regarding the puppet-nexus
Before  - please adapt your variables
  java::adopt { 'jdk11' :
    ensure       => 'present',
    version      => '11',
    java         => 'jdk',
    proxy_type   => 'https',
    proxy_server => $download_proxy,
  }
  -> class { 'nexus':
    version                    => $nexus_version,
    java_runtime               => $java_runtime,
    host                       => $host,
    download_site              => $download_site,
    download_proxy             => $download_proxy,
    purge_default_repositories => $purge_default_repositories,
    require                    => [
      File['/opt/nexus-storage/blobstore'],
    ],
  }

After :
  java::adoptium { 'jdk17' :
    ensure        => 'present',
    version_major => '17',
    version_minor => '0',
    version_patch => '12',
    version_build => '7',
    proxy_type    => 'https',
    proxy_server  => $download_proxy,
  }
  -> class { 'nexus':
    version                    => $nexus_version,
    # java_runtime               => $java_runtime, # <- Get ride of this parameter
    host                       => $host,
    download_site              => $download_site,
    download_proxy             => $download_proxy,
    purge_default_repositories => $purge_default_repositories,
    manage_datastore           => $manage_datastore, # Has to be true
    # postgresql_username      => $postgresql_username, # <- Only if you have a pro licence - which i don't have - untested
    # postgresql_password      => $postgresql_password, # <- Only if you have a pro licence - which i don't have - untested
    # postgresql_jdbcurl       => $postgresql_jdbcurl, # <- Only if you have a pro licence - which i don't have - untested
    require                    => [
      File['/opt/nexus-storage/blobstore'],
    ],
  }

It might be possible that the new version put this file in your filestore /opt/sonatype/sonatype-work/nexus3/admin.password
Just get ride of it or you will get the following error :
Error: /Stage[main]/Nexus::Config::Admin/Nexus_user[admin]: Could not evaluate: authentication error

cc @TuningYourCode

Hello @PiR-B, for the moment I'm just using the OSS version which still works with H2. Is this OK with the new pest-nexus module version?

Version 4.1.0 was tagged and released to Forge. If any issues arise feel free to open a new ticket with detailed information about the issue :)


Use hex hashes rather than raw ByteString

Hey Avi, 18nleung from HN here -
In order to implement a rudimentary POW system (hash must be less than certain value) the hashes need to be expressed in hex notation at first.
I'm new to Haskell but I found a way to get a String hex digest out of the Crypto.Hash.SHA256 hash function rather than a raw ByteString - please let me know how my code looks and whether this can be merged!
Nathan

Hey Nathan - I'm super excited to have you helping out! Taking a look now

Thanks for the feedback! I can't get to this right now but I'll get those changes in as soon as I can

Nice, yeah no rush!

I made the changes - how do they look?


Error processing multiple pages

Im having a problem with this pdf:
https://drive.google.com/open?id=1qGElufWrjfmrcullX_Q2wbM1FngLmJvg
when I want to process pages 4-6 its ok but pages 4-7 I get an error:
File "pandas/_libs/parsers.pyx", line 876, in pandas._libs.parsers.TextReader.read
File "pandas/_libs/parsers.pyx", line 891, in pandas._libs.parsers.TextReader._read_low_memory
File "pandas/_libs/parsers.pyx", line 945, in pandas._libs.parsers.TextReader._read_rows
File "pandas/_libs/parsers.pyx", line 932, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas/_libs/parsers.pyx", line 2112, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 8 fields in line 222, saw 9
my code:
df = read_pdf("943703862.pdf", mutiple_tables=True, pages='4-7',sep=';')
running on Mac OS 10.13.4
java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

@gusleig It sounds like this is an issue with the Python interface to Tabula, which is maintained by @chezou at https://github.com/chezou/tabula-py. Please re-open your issue there, that'd be the best way to get it fixed (since the Tabula core team maintains only the Ruby and Java bindings).


expand info function

Clear and concise description of the problem
current implementation can't use variable-length argument.
It's better to be able to use.
Additional context
n/a

As different types can not use all at once, this issue can't be resolved by Go limitation.
ref: https://go.dev/play/p/A-HYSo_DklY


How to use BLAKE3 with HKDF?

I attempted to use the following from https://github.com/RustCrypto/KDFs/
Hkdf::<CoreWrapper<CtVariableCoreWrapper<blake3::Hasher, U32>>>

however I am getting
error[E0277]: the trait bound `blake3::Hasher: digest::core_api::VariableOutputCore` is not satisfied
  --> peer/src/services/wpskka_client_handler.rs:65:27
   |
65 |         /*             code          */
   |                           ^^^^ the trait `digest::core_api::VariableOutputCore` is not implemented for `blake3::Hasher`
   |
   = note: required because of the requirements on the impl of `crypto_common::BlockSizeUser` for `digest::core_api::ct_variable::CtVariableCoreWrapper<blake3::Hasher, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>`
   = note: required because of the requirements on the impl of `digest::core_api::wrapper::CoreProxy` for `digest::core_api::wrapper::CoreWrapper<digest::core_api::ct_variable::CtVariableCoreWrapper<blake3::Hasher, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>>`

The hmac crate provides a SimpleHmac API for hashes that haven't integrated themselves with the new UpdateCore trait, but it looks like hkdf doesn't have something similar? I haven't put in the time yet to understand these new traits or how much work it would be to integrate this crate with them. See also https://github.com/BLAKE3-team/BLAKE3/issues/212 and https://github.com/RustCrypto/KDFs/issues/54.
For what it's worth, BLAKE3 provides a derive_key, which supports many of the same use cases as HKDF. That could be an alternative.

@oconnor663 Thanks for the suggestion, unfortunately the spec calls for HMAC so I can't use derive_key.

Possibly a different issue, but I'm having trouble using SimpleHmac as well
use hmac::{Mac, SimpleHmac};
use blake3::{Hasher};

fn main() {
   let mut x = SimpleHmac::<Hasher>::new_from_slice(b"test");
   x.update(b"test2");
   println!("{:?}", x.finalize().into_bytes());
}

error[E0599]: the function or associated item `new_from_slice` exists for struct `SimpleHmac<blake3::Hasher>`, but its trait bounds were not satisfied
  --> src/main.rs:5:38
   |
5  |    let mut x = SimpleHmac::<Hasher>::new_from_slice(b"test");
   |                                      ^^^^^^^^^^^^^^ function or associated item cannot be called on `SimpleHmac<blake3::Hasher>` due to unsatisfied trait bounds
   |
  ::: /Users/jbis/.cargo/registry/src/github.com-1ecc6299db9ec823/hmac-0.12.0/src/simple.rs:14:1
   |
14 | pub struct SimpleHmac<D: Digest + BlockSizeUser> {
   | ------------------------------------------------
   | |
   | doesn't satisfy `SimpleHmac<blake3::Hasher>: FixedOutput`
   | doesn't satisfy `SimpleHmac<blake3::Hasher>: KeyInit`
   | doesn't satisfy `SimpleHmac<blake3::Hasher>: MacMarker`
   | doesn't satisfy `SimpleHmac<blake3::Hasher>: Mac`
   | doesn't satisfy `SimpleHmac<blake3::Hasher>: Sized`
   | doesn't satisfy `SimpleHmac<blake3::Hasher>: Update`
   |
   = note: the following trait bounds were not satisfied:
           `SimpleHmac<blake3::Hasher>: Sized`
           which is required by `SimpleHmac<blake3::Hasher>: Mac`
           `SimpleHmac<blake3::Hasher>: KeyInit`
           which is required by `SimpleHmac<blake3::Hasher>: Mac`
           `SimpleHmac<blake3::Hasher>: Update`
           which is required by `SimpleHmac<blake3::Hasher>: Mac`
           `SimpleHmac<blake3::Hasher>: FixedOutput`
           which is required by `SimpleHmac<blake3::Hasher>: Mac`
           `SimpleHmac<blake3::Hasher>: MacMarker`
           which is required by `SimpleHmac<blake3::Hasher>: Mac`
           `&SimpleHmac<blake3::Hasher>: KeyInit`
           which is required by `&SimpleHmac<blake3::Hasher>: Mac`
           `&SimpleHmac<blake3::Hasher>: Update`
           which is required by `&SimpleHmac<blake3::Hasher>: Mac`
           `&SimpleHmac<blake3::Hasher>: FixedOutput`
           which is required by `&SimpleHmac<blake3::Hasher>: Mac`
           `&SimpleHmac<blake3::Hasher>: MacMarker`
           which is required by `&SimpleHmac<blake3::Hasher>: Mac`
           `&mut SimpleHmac<blake3::Hasher>: KeyInit`
           which is required by `&mut SimpleHmac<blake3::Hasher>: Mac`
           `&mut SimpleHmac<blake3::Hasher>: Update`
           which is required by `&mut SimpleHmac<blake3::Hasher>: Mac`
           `&mut SimpleHmac<blake3::Hasher>: FixedOutput`
           which is required by `&mut SimpleHmac<blake3::Hasher>: Mac`
           `&mut SimpleHmac<blake3::Hasher>: MacMarker`
           which is required by `&mut SimpleHmac<blake3::Hasher>: Mac`

This is with
[dependencies]
hmac = "0.12.0"
blake3 = { version = "1.3.0", features = ["traits-preview"] }

cc @newpavlov

Closed in favor of https://github.com/BLAKE3-team/BLAKE3/issues/224


GPU access using engine built with --disable-desktop-embeddings

Steps to reproduce
@bdero

switch to main channel
Build flutter engine (main) using --runtime-mode=debug --embedder-for-target --enable-fontconfig --disable-desktop-embeddings --no-build-embedder-examples --enable-impeller-3d --no-lto --no-goma --no-rbe --no-stripped --no-enable-unittests
Follow steps in this article to create and run app: https://medium.com/flutter/getting-started-with-flutter-gpu-f33d497b7c11

Expected results
Expect symbols to be exported by engine build
Actual results
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following ArgumentError was thrown during paint():
Invalid argument(s): Couldn't resolve native function 'InternalFlutterGpu_Context_InitializeDefault'
in 'package:flutter_gpu/gpu.dart' : No asset with id 'package:flutter_gpu/gpu.dart' found. No
available native assets. Attempted to fallback to process lookup.
.desktop-homescreen/lib/libflutter_engine.so: undefined symbol:
InternalFlutterGpu_Context_InitializeDefault.

Indicates the build is not exporting the symbols even though
#define FLUTTER_GPU_EXPORT __attribute__((visibility("default")))
...
FLUTTER_GPU_EXPORT
extern Dart_Handle InternalFlutterGpu_Context_InitializeDefault(
    Dart_Handle wrapper);

flutter_test is correctly exporting the GPU symbols.
I'm using this to list symbols
nm -S flutter_tester  | c++filt |grep InternalFlutterGpu
nm -S libflutter_engine.so  | c++filt |grep InternalFlutterGpu

Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Closing as I believe this was fixed in https://github.com/flutter/engine/pull/54662


Adding buttons of other type!

If you could make it possible for us to add any button to the list of buttons. It'd be amazing.

What do you mean? I don't understand what you are saying.

@kciter [ActionButtonItems] doesn't take any other buttons except of the type ActionButtonItems. So if you could do something where other buttons can be casted as ActionButtonItem and added to the list, it'd be really good.


IScroll not defined when loading with RequireJS ??

We're using iScroll for a particular component on our site and with the latest release we're seeing IScroll is not defined(…) when trying to call new IScroll xxx in our AMD component.
I see that you recently added AMD support. Have you noticed any regressions?
Passing it in as a named variable in the define block has no effect.

nvm. once the header was configured correctly we were good to go.

@btburton42 how did you solve it??
What header are you talking about?

our UMD header. it was not passing iScroll in as an AMD defined variable, but instead defaulting to the window object. so once iScroll gained AMD support this was failing. just had to name some variables correctly.

Still doesn´t work for me in the latest Version fullpage  2.9.6 and scrolloverflow  0.0.5.
My config.js:
requirejs.config({ 	baseUrl: 'js', 	paths: { 		jquery: 'jquery-3.3.1.min', 		IScroll: 'scrolloverflow', 		fullpage: 'jquery.fullPage' 	}, 	 shim: {          IScroll: {                deps: ['jquery']          },          fullpage: {                deps: ['IScroll']          }     } });
and
define(['jquery', 'IScroll', 'fullpage'], function($,IScroll) { 		$('#fullpage').fullpage();	 });
causes
IScroll is not defined in scrolloverflow.js:2393


Perfetto SDK support counter

Hi,
Perfetto can not support counter event now.
I found TRACE_COUNTER1 method in sdk but is not public api

Is this a question or a statement?
@betasheet @skyostil FYI

Is this a question or a statement?
@betasheet @skyostil FYI

Is this a question or a statement?
@betasheet @skyostil FYI

This is a question.
Why not support counter api and how can i use counter api.
Thx.

Is this a question or a statement?
@betasheet @skyostil FYI

This is a question.
Why not support counter api and how can i use counter api.
Thx.

We're aware of this feature request and hope to get around to implement it soon! :)

We're aware of this feature request and hope to get around to implement it soon! :)

We're aware of this feature request and hope to get around to implement it soon! :)

Thanks a lot ! Please update this issue if there is any update.

We're aware of this feature request and hope to get around to implement it soon! :)

Thanks a lot ! Please update this issue if there is any update.

Fixed in r.android.com/1566122


Added OnContentChanged Event

I added an OnContentChanged event. In addition to that, I had to also add:

A messaging system between the JS WebView and the C# Code
A get accessor for the EditorContent Property. (updated OnContentChanged, can be used synchronously, as opposed to the async method)

I also cleaned up some code I previously commited.

hi @LightJack05
thanks for your work. There currently seems to be a problem with the code. In the test app, I enter any text directly in the editor. When I then load the content via the "GetEditorContent" button, the text is empty. The MonacoEditor property is empty and does not show the actual content.

I did a little more testing. It seems that the logic no longer works when I have loaded the programming languages and selected one.
Can you try to recreate the behavior?

enter text
get editor content
text is loaded correctly
load languages
Select any language (e.g. csharp)
Repeat 1. and 2.
text is no longer loaded.

@lk-code Hi, sorry for being MIA, reproduced it. Gonna look into it.

@lk-code Think I got it fixed. The SetLanguageAsync method seems to break the event handler for some reason.

I'll have to see what exactly the problem is at some point. Right now it works, but it's just a workaround :/

@lk-code Yeah not an ideal solution, but as far as I can tell its down to Monaco itself, not the C# around it... I dont know enough about JS to say anything more exact...


operator does not take into account deletionTimestamp

The operator insists reconciling even if CRs are being deleted. The operator should not do anything for CRs that have deletionTimestamp.
--
I tried to delete a VMSingle which are no longer used in my cluster. Although kubernetes itself tries to automatically delete the descendant objects such as Deployment and Service, the operator detects that they have been deleted and tries to recreate Deployment, so the deletion of the VMSingle could not be completed.

Thanks, will take a look. Underhood, operator relies on operator-sdk lib, probably bug happens here.  What is your Kubernetes version?

I use Kubernetes v1.18.9 in my cluster.

I've added deletion timestamp check.
But i cannot reproduce it locally.

Thank you. I will test it after the new year holiday.

included to release https://github.com/VictoriaMetrics/operator/releases/tag/v0.7.0

I'm testing v0.7.1. It may taka a while longer to complete because there is something wrong in my cluster environment...

I'm testing v0.7.1. It may taka a while longer to complete because there is something wrong in my cluster environment...

I could not reproduce the problem with older operator at my cluster either. The problem does not occur with operator v0.7.1, so this issue may be closed.

I could not reproduce the problem with older operator at my cluster either. The problem does not occur with operator v0.7.1, so this issue may be closed.

Thanks for testing.
I believe, that it was an issue with some high latency between reconciliation and resource deletion. Any way, operator respects deletion timestamp now. Reopen an issue if it happens again.

Thanks for testing.
I believe, that it was an issue with some high latency between reconciliation and resource deletion. Any way, operator respects deletion timestamp now. Reopen an issue if it happens again.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1366 ms

Resolved: Bofrost.at performance has improved in 5012a03.


Fix Incorrect ConsoleLinkKind type

Fixes #797
Description

Making applicationMenu items optional so that dashboard can load even without providing the same. I don't see the imageURL issue as mentioned in #797 but I can see a Warning: Each child in a list should have a unique "key" prop. in the console. I believe that's not due to my change since I'm not using map anywhere. Not sure if we should change the ConsoleLinkKind type, as changing that didn't help. (Just a note: The ConsoleLinkKind type in frontend already had applicationMenu while the backend didn't. Not sure if there is a need to have the type uniform across both the backend and frontend but my changes just work.)
I could still load up the dashboard by applying the changes and the ConsoleLink withoutapplicationMenu in my cluster.
https://github.com/opendatahub-io/odh-dashboard/assets/22885912/733cebe0-2aac-43fd-8998-c00751356602
How Has This Been Tested?

Create a ConsoleLink without applicationMenu in your cluster and load up the dashboard.
Test Impact

Request review criteria:

[X] The commits have meaningful messages (squashes happen on merge by the bot).
[X] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change.
[X] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has manually tested the changes and verified that the changes work
[ ] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

@manaswinidas waiting on changes.


fix: Regression bug with the initial source selection

The if (item.source.src !== src) had to be removed for the initial selection to be applied

My previous code worked fine with the demo.html but once I updated to the latest version on our sites, I noticed a bug that was reintroduced by my latest changes during the code review.

@yokuze please review.

<EMAIL_ADDRESS>is published containing this change.


Implement more number theory functions

From @ejmahler on June 30, 2016 22:59
In num_integer, I see an implementation of gcd.
I would like to implement some related number theory functions: modular exponentiation, extended euclid's algorithm, modular multiplicative inverse.
I'm also interested in prime factorization, euler's totient function, primitive roots, etc, but these might be too much.
Is there an interest for these functions in this library, to go alongside gcd? I'd be happy to implement the functions, tests, documentation, etc, I just want to make sure there's interest from the maintainers before I begin.
Copied from original issue: rust-num/num#202

From @hauleth on July 1, 2016 12:0
It would be great!

From @koverstreet on July 5, 2016 21:49
I'd like to see these implemented as generics over ring/field traits. Especially with specialization coming soon (or has it landed?), this is really the right way to go.

From @ejmahler on July 6, 2016 5:3
Could you give a really quick example, to illustrate what you're picturing?

From @koverstreet on July 6, 2016 5:11
Along the lines of a numeric tower (read up on Haskell's if you're curious) - except, I have no intention of trying to do a full numeric tower because no one seems to be able to get that right.
All I'm thinking for now is - define traits for Group, Ring, Field, etc. so we have a place to stick generic algorithms. I tend to think we shouldn't even have the various traits inherit from each other, at least for now - BigUint can always inherit from each of Group/Ring/whatever.
Basically keep it as simple as possible for now - nothing more than a place to stick things that should work on anything that's a group/ring/field.
gcd(), lcm()... perhaps a few others should then become generic functions on whatever the appropriate trait is, with specializations where it matters for performance.

From @hauleth on July 7, 2016 22:44
I think that having additional structures defined using typenum would feel more "natural".

From @ejmahler on July 17, 2016 12:50
I understand the high-level picture of what you're looking for, @koverstreet . A set of composable traits that can be included and maybe specialized for each type.
So starting small for now with jsut a "ring" trait that implements all sorts of modular arithmetic functions on this -- what's the correct way to implement this? I wouldn't call myself a rust expert yet so I need some guidance.
The following is what my mind jumps to, but this obviously doesn't compile because you can't implement a trait in terms of another trait -- you need a concrete type. But if we implement this trait for all the primitive types explicitly, that defeats the point of composition of these traits, doesn't it?
pub trait Ring {
    fn pow_mod(&self, exponent: &Self, modulo: &Self) -> Self;
}

impl Ring for Integer {
    fn pow_mod(&self, exponent: &Self, modulo: &Self) -> Self {
             //...
        }
}

We could implement these as standalone template functions:
pub fn pow_mod<T: Integer + Copy>(.......
But again that kind of defeats the point. So how should this be done?

From @vks on March 17, 2017 17:16

I would like to implement some related number theory functions: modular exponentiation, extended euclid's algorithm, modular multiplicative inverse.

I implemented all of these some time ago here.

Personally, I think it would be fine to do these without the more ambitious trait categories, but I'm also open to that if someone wants to try it.

FWIW, I created num-modular and num-prime crates for the same purpose. They accept generic parameters and they're decently optimized.
Note that the implementation for num_bigint::BigUint is very naive, because advanced implementations need num_bigint to expose some of the inner APIs.


Update examples/submission-stress-test/

After #80, where we modified examples/slurm-common

Closed with https://github.com/fractal-analytics-platform/fractal-containers/commit/46bf8b225c833604b79aadc5e9f91e65c1259dcc


Implement candle auction

Part of milestone 2 for subauctions grant

incorrect repo and duplicate of https://github.com/galacticcouncil/Basilisk-node/issues/388

🤦♂


Anonymous interface doesn't display anything

Flow version: 0.102.0
type Foo = interface {
  foo: number
};

Expected behavior
interface Foo

or
type Foo = interface { foo: number }

Actual behavior
(unknown)

This also makes any type that uses this interface display (unknown)
So this pretty much makes them unusable with IDE

Link to Try-Flow or Github repo: https://flow.org/try/#0C4TwDgpgBAYg9nKBeKBLAdsCAnAZgQwGNoBvAKCilwQC4p0BXAWwCMcyBfIA

@panagosg7 I guess this is fixed?

Yes, c7f7cb9c71d56fd34c999d68abecf62224f27fb2


Git Server

Would probably name it git-http-server to communicate the protocol.

That was actually the name of it for a good 15 minutes. Keeping it a bit more general for now as I may include SSH-related stuff in there too.

That was actually the name of it for a good 15 minutes. Keeping it a bit more general for now as I may include SSH-related stuff in there too.

gitd then?


[Snyk] Upgrade metawatch from 1.0.6 to 1.0.7

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade metawatch from 1.0.6 to 1.0.7.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released a month ago, on 2022-11-17.

Release notes

Package name: metawatch

1.0.7 - 2022-11-17Version 1.0.7
PR-URL: #41

1.0.6 - 2022-07-07Version 1.0.6
PR-URL: #39

    from metawatch GitHub release notes

Commit messages

Package name: metawatch

0ce5964 Version 1.0.7
96dc5ed Add editorconfig
1a72693 Add node.js v19 to CI
101951f Update dependencies

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Close in favour of https://github.com/metarhia/impress/pull/1790


Incorporate settle spread to compute fill amounts

Settle spread for a token will be updated in user-config when it is requested, this will result in settle spread being different for different orders.
The same settle spread needs to be used when calculating fills. To enable this computeBuySellData has been updated to calculate the original settle spread and use the same value to compute buy and sell amounts for each fill.

This change will not be required.


Update README.md

Fixed a couple of broken links.  There is still another one, Command configuration, but appears files/folder is missing.

#signoff