Use anchor links for add click maestro tests

Task/Issue URL: https://app.asana.com/0/488551667048375/1204397066248823/f
Description
This PR changes the ad click maestro tests to use anchor links instead of scrolling
Steps to test this PR

[ ] Maestro tests should pass, see https://github.com/duckduckgo/Android/actions/runs/4699277675

Current dependencies on/for this PR:

develop

PR #3065   👈

This comment was auto-generated by Graphite.

@marcosholgado you can review the code changes. I'm still getting random failures on the end2end maestro tests but they are related with emulator connectivity issues.
I will continue running them until it's green

Will see if this one passes: https://github.com/duckduckgo/Android/actions/runs/4732106281

LGTM!

Finally


Some questions on VideoGPT.

Hi. Thanks for this great work. I have some questions on the general status of video generative modeling and the implementation sides, which I would appreciate answers from authors and other people who might be interested in making them.
Does this model worth being called "a video GPT" when compared to the community's consensus on the achievable encoding/decoding capacities and qualities of publicly available state-of-the-art video generative models?
After looking through the implementation, I quickly noticed that VideoGPT consumes video files that are composed of around 16 consecutive frames from 25+ fps raw videos (e.g., UCF-101). That is, modeling video clips that run much less than one second is the problem of interest in this model.
I am not clearly aware of the current status of video generative modeling, however, I am just curious even these short (I am not even sure if I can say ``short'', but since most YouTube video clips are, I think, at least longer than 10 seconds, I am choosing the word short.) video models are significantly harder to design/train than VQ-VAE families for still images.
The first impression I had from the name "VideoGPT" was like it can model videos of tens of seconds, just like the GPT models which can generate paragraph-length sentences. But I think, in the current form of VideoGPT, there may be lots of spaces for further improvements to actually achieve similar generative capabilities of the GPT from field of natural language generation.
Why are codebook vectors first initialized with very-specific initializers like randn, zeros, then re-initialized with latent states of a training batch?
Refering to lines 126-156 at https://github.com/wilson1yan/VideoGPT/blob/master/videogpt/vqvae.py.
I am just wondering if there are some hacky reasons behind doing this. It is obviously simpler to just initialize the codebook for just one time with those calculated latents of a training batch.
Why are Transformer and VQ-VAE separately (not jointly) trained?
I think there would be mixed reasons for this (e.g., memory consumption, training instabilities, etc.). But what is the major & most important reason not to perform joint training?

Thanks for the questions!

Does this model worth being called "a video GPT" when compared to the community's consensus on the achievable encoding/decoding capacities and qualities of publicly available state-of-the-art video generative models?

Sorry for the misunderstanding, but the VideoGPT model merely adopts the architecture of the standard GPT model, but in the context for video modeling, hence VideoGPT. We primarily train on 16 frames since it's the standard in the video generation literature when evaluating models. You could scale to longer sequences and larger GPT models, but we don't have the compute to try that. But yes, you are right in that 16 frames is very short, and I believe some GAN models have gone to 32 or 50 frames, but nothing much more past that without large degradation in prediction quality.
The main reason for such short sequences is that modeling videos is prohibitively expensive. i.e. even after encoding a 16 x 64 x 64 video with a VQ-VAE, we get latent codes of size 4 x 32 x 32 = 4096, which in natural language is like training a transformer on text with 4096 tokens. A lot of related research is video generation is constructing architectures (transformer-like, or GANs) that can process and predict video efficiently.

Why are codebook vectors first initialized with very-specific initializers like randn, zeros, then re-initialized with latent states of a training batch?

In this case, the initialization of the embeddings torch.randn(n_codes, embedding_dim) actually doesn't matter since as you've said it's just reinitialized later with decoder training outputs. I think that was something leftover of past code that didn't do data-dependent initialization.
For the zeros initialization, if you mean self.N, that is keeping track of average use for each code, so it must start at zero, since no code is being used in the beginning.
The data dependent initialization and usage tracking is borrowed from the jukebox paper. In general, it helps with training stability in improving code usage and prevents codebook collapse which is pretty common with VQ-VAEs.

Why are Transformer and VQ-VAE separately (not jointly) trained?
They could be jointly trained, but I imagine there might be a few difficulties:

Memory usage: this might be less of an issue if you have substantially more compute available (the primary reason why we didn't do it)
The VQ-VAE and GPT differ widely in the number of parameters, and may learn at different rates, so there may need to be adjustments in learning rate and other training hyperparmaeters (a guess since I didn't try it)

Hope that answers your questions!

@wilson1yan Thanks much for your detailed comments. Now I better understand how is VideoGPT designed. I'm working on reproducing the results in the paper, and I have some extra questions on the implementation side. I really appreciate any help you can provide.
What exactly is "Residual Units" in Table A.1 referring to?
Apparently, "Residual Units" should be referring to some parts of AttentionResidualBlock, but the current code does not separately set the hidden state size of AttentionResidualBlock. It just uses the same number as "n_hiddens".
Coefficient that the "reconstruction loss" should be multiplied by
In the paper, there is no coefficient specified for the reconstruction loss (i.e., the coefficient == 1). However, in the codes (https://github.com/wilson1yan/VideoGPT/blob/master/videogpt/vqvae.py#L54), the reconstruction loss is being divided by 0.07, making the coefficient ~= 14.29. It would be helpful to know coefficients that are supposed to be used for each dataset to reproduce the result.
Additional training hyperparameters details other than the learning rate
In particular, It would be really helpful for reproducibility to know which optimizer, learning rate schedule, N-fold testing scheme for datasets that do not come with preset train-valid-test sets (e.g., M-MNIST and UCF-101), random seeds, etc.
Why is "weights" instead of "self.N" used to normalize the moving-average codebook?
Referring to lines 187-189 at https://github.com/wilson1yan/VideoGPT/blob/master/videogpt/vqvae.py.
What is the reason for calculating n = self.N.sum(); weights = (self.N + 1e-7) / (n + self.n_codes * 1e-7) * n, then use it instead of self.N to normalize the moving-avrage codebook? This specific weights does not exist in the jukebox code, where they normalize using self.k_elem which is equivalent to self.N in VideoGPT.
Guessing it as a heuristic that performs better on VideoGPT's settings, I still do not understand the reason to add the self.n_codes * 1e-7 to the n at the denominator, while n is supposed to be a large enough number (because n = self.N.sum() >> 1) that would not cause overflow. It would be helpful to see how weights is designed.
Thank you for your time and efforts for the codes.

What exactly is "Residual Units" in Table A.1 referring to?

It refers to the bottleneck size in the residual blocks, found here. It is hard-coded to be n_hiddens // 2, hence 256 and 128 in the architecture specs. It is not a parameter set when creating the model - sorry for the confusion!

Coefficient that the "reconstruction loss" should be multiplied by

I believe originally it was supposed to be the variance of the pixels in the dataset. if I remember correclty, it was around 0.0598 for BAIR, so we just used 0.06 for everything: BAIR, UCF-101, Kinetics, etc and seemed to work fine. Using 0.06 for any dataset should work fine.

Additional training hyperparameters details other than the learning rate

The default optimizer is Adam, with a cosine annealing learning rate schedule, which should work for generally any dataset. The LR schedule is only used when training the transformer. Unfortunately, I don't think I have set seeds for the experiments, but I haven't observed any substantial variance of results between different seeds when training the same model.

Why is "weights" instead of "self.N" used to normalize the moving-average codebook?

It is applying a Laplace smoothing prior to the codebook counts. It is generally just there for stability reasons, in case a count for a particular code is zero.

@wilson1yan Wow. Thank you for your kind and detailed explanations. I was not aware of the concept of Laplace Smoothing before. Now everything seems to make sense.


added test definition [MTB-PL2-BC-OPS-3]

/assign @JimBugwadia

/ok-to-test

Tenant administrators should be able to create their own roles and rolebindings, for namespaced respurces.
Besides checking for the RPAC privileges, we will need to check if a tenant administrator can actually create a role and a rolebinding to that new role.
I am thinking it makes sense to combine these in a single test. What do you think?

please take a look now.

/lgtm
/approve


docs. md

[Enter feedback here]

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

ID: 567666ce-6b1c-ea9b-aa9e-eae9da4f9485
Version Independent ID: f2e94c72-459b-c8f1-7eec-73e7d4197f4d
Content: Repair the .NET Framework - .NET Framework
Content Source: docs/framework/install/repair.md
Product: dotnet-framework
Technology: dotnet-install
GitHub Login: @adegeo
Microsoft Alias: adegeo

Please provide more details, so that it can fixed.

Looks like this was opened in error. I'll close it. Please feel free to reopen it and add more details


daisy styling/themeing

do it right this time with theme provider

everything done except for light mode theme that isn't ugly

light mode theme now matches dark PR #18


Create React App 3.4.1 is broken

Describe the bug
First time I encountered this was when I ran npx create-react-app client it threw the error, to be sure I installed the version as well and run the following command create-react-app client same error happened.
Did you try recovering your dependencies?

No is not applicable to me, but I'm using NPM
Which terms did you search for in User Guide?

None
Environment

<EMAIL_ADDRESS>Steps to reproduce

(Write your steps here:)

npx create-react-app Myapp

Expected behavior

To have a simple bootstrapped react app
Actual behavior

Don't have screenshot but here is the log output from npm:
2728 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '..."^4.0.1"},"dist":{"sh'
2728 verbose stack     at JSON.parse (<anonymous>)
2728 verbose stack     at parseJson (/home/nopzen/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/json-parse-better-errors/index.js:7:17)
2728 verbose stack     at /home/nopzen/.nvm/versions/node/v12.16.1/lib/node_modules/npm/node_modules/node-fetch-npm/src/body.js:96:50
2728 verbose stack     at runMicrotasks (<anonymous>)
2728 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:97:5)
2729 verbose cwd /home/nopzen/code/js/ultranet/client
2730 verbose Linux 5.3.0-42-generic
2731 verbose argv "/home/nopzen/.nvm/versions/node/v12.16.1/bin/node" "/home/nopzen/.nvm/versions/node/v12.16.1/bin/npm" "install" "--save" "--save-exact" "--loglevel" "error" "react" "react-dom" "react-scripts" "cra-template"
2732 verbose node v12.16.1
2733 verbose npm  v6.13.4
2734 error Unexpected end of JSON input while parsing near '..."^4.0.1"},"dist":{"sh'
2735 verbose exit [ 1, true ]

Not sure if this is actual CRA's fault? the same thing happens with 3.4.0 and 3.3.1 I doubt the error would have been here for that long, I will investigate more.

Not sure whats really going on but it fails on this is what the CLI tool outputs:
code/js/ultranet
▶ npx create-react-app client

Creating a new React app in /home/nopzen/code/js/ultranet/client.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! Unexpected end of JSON input while parsing near '..."^4.0.1"},"dist":{"sh'

npm ERR!

Not sure if its a dependecy to error, react, react-dom, react-scripts or cra-temple that might fail when it tries to run the install script, seems like some package.json is malformed somewhere.
Maybe note worthy I'm on a Ubuntu 18.04

well, I used to use npm to create an app and then I installed yarn and after that, I can't create a react app with src folder. neither npx, npm or yarn is working to create a new app with src and public folder and I'm using windows 10.
#8780

with npx this is now fixed on linux seems to be working again :)


Set user agent string for request module

This fix allows to filer devsuite installer requests to download manager rest interface from requests from browser or other services

Codecov Report

Merging #1263 into master will decrease coverage by 0.38%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1263      +/-   ##
==========================================
- Coverage   93.45%   93.06%   -0.39%
==========================================
  Files          43       43
  Lines        4596     4672      +76
  Branches      504      792     +288
==========================================
+ Hits         4295     4348      +53
- Misses        301      305       +4
- Partials        0       19      +19

Impacted Files
Coverage Δ

browser/services/request.js
100% <100%> (ø)
:arrow_up:

browser/model/devstudio-autoinstall.js
97.29% <0%> (-2.71%)
:arrow_down:

browser/pages/account/controller.js
97.93% <0%> (-2.07%)
:arrow_down:

browser/model/helpers/downloader.js
96.13% <0%> (-1.66%)
:arrow_down:

browser/model/che.js
95% <0%> (-1.62%)
:arrow_down:

browser/model/cdk.js
98.71% <0%> (-1.29%)
:arrow_down:

browser/model/devstudio-p2-zip.js
64.4% <0%> (-1.12%)
:arrow_down:

browser/model/devstudio-p2.js
81.66% <0%> (-1.1%)
:arrow_down:

browser/model/jbossfusekaraf.js
99.01% <0%> (-0.99%)
:arrow_down:

browser/model/devstudio-central-p2-zip.js
60.31% <0%> (-0.98%)
:arrow_down:

... and 22 more

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 83dad90...e355769. Read the comment docs.


Eloquent Repository findOneByField() $columns parameter issue

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
2.2.2
Issue Description
\Webkul\Core\Eloquent\Repository::findOneByField method has an option parameter named $columns which let you to specify the columns that will be included in the query. But the method body has overrided $columns parameter instead of directly passing it down.
    public function findOneByField($field, $value = null, $columns = ['*'])
    {
        $model = $this->findByField($field, $value, $columns = ['*']); // <-- issue here

        return $model->first();
    }

Preconditions
master branch of latest Bagisto version.
Steps to reproduce

Create new project with bagisto/master
Use findOneByField() method over any repository by specifying $columns to fetch.
$columns variable is not handled in method body

Expected Result
Only specified columns should be queried.
Actual Result
Provided $columns is not used
Screenshots
No response
Additional context
No response

@eness,
Thank you for the contribution.


abort() called from nwind_on_exception_through_trampoline on AArch64

We have an occasional issue where using not-perf crashes profiled process in AArch64 HW.
Don't have much data yet, but the callstack is as follows:
  - tid: 23863 # --------------------------------------------------
    proc_dump: ~
    user_time: 4.170000
    system_time: 2.450000
    registers: [
      0x0000000000000000, 0x0000007ff4cdfdf0, 0x0000000000000000, 0x0000000000000008,
      0x0000000000000000, 0x0000007ff4cdfdf0, 0xffffffffffffffff, 0xffffffffffffffff,
      0x0000000000000087, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff,
      0xffffffffffffffff, 0xffffffffffffffff, 0x0000000000000000, 0x0000000000000035,
      0x0000007f7d2b2a60, 0x0000007f78d08ec8, 0x0000007f78e3a7f4, 0x0000000000000006,
      0x0000007f783b2020, 0x0000007f783b2720, 0x0000000000000100, 0x0000007f77f66028,
      0x0000007ff4ce0618, 0x0000007ff4ce06b0, 0x0000007ff4ce0638, 0x0000000000000000,
      0x0000000000000000, 0x0000007ff4cdfdd0, 0x0000007f78d07f0c, 0x0000007ff4cdfdd0,
      0x0000007f78d07f0c, 0x0000000000000000 ]
    backtrace: [
      { a: 0000007f78d07f0c, s: gsignal,              o:  0x9c, l:  0xcc, e: 0, S: 0, f: "/usr/lib64/libc-2.28.so" },
      { a: 0000007f78d09000, s: abort,                o: 0x138, l: 0x22c, e: 0, S: 0, f: "/usr/lib64/libc-2.28.so" },
      { a: 0000007f7d1b5e1c, s: _ZN5nwind15local_unwinding5abort17h255a5769eb294e0dE,                        o:  0xcc, l:  0xd0, e: 0, S: 0, f: "/opt/memprof/aarch64/libmemory_profiler.so" },
      { a: 0000007f7d1b6a4c, s: nwind_on_exception_through_trampoline,                        o: 0x444, l: 0x448, e: 0, S: 0, f: "/opt/memprof/aarch64/libmemory_profiler.so" },
      { a: 0000007f7d27c1f8, s: nwind_ret_trampoline, o:  0x44, l:  0x50, e: 1, S: 0, f: "/opt/memprof/aarch64/libmemory_profiler.so" } ]

Unfortunately I don't know yet if it's first or second abort() in said function :(
Did this happen before? Could it be issue of application (e.g. memory corruption), or some corner case bug in not-perf as this seems to be during exception handling (?).

Took a while... but we finally were able to test it and the crash we had doesn't occur anymore after the fix.


Regression in 2.3.3 viewWillAppear not called

New Issue Checklist

I have read the guidelines for contributing and I understand:

[x] My issue is happening in the latest version of SideMenu.
[x] My issue was not solved in the README.
[x] My issue can not be answered on stackoverflow.com.
[x] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[ ] My issue is reproducible in the demo project.

Issue Description

viewWillAppear on menu's table view is called properly only on first appearance. After that, it is not called before menu appears but only after it disappears.
The Example project is based on storyboards, but this issue appears when I setup menu in code. Here is very basic project with menu setup code taken from README: https://github.com/paiv/sidemenuappear/blob/master/sidemenuappear/ViewController.swift

2.3.3:

When menu first appears, it goes through

viewWillAppear
viewDidAppear

After menu dismissed, it calls

viewWillAppear

When menu opened afterwards, it only calls

viewDidAppear

Instead, viewWillAppear should happen just before menu appears. App depends on this event to update menu data before user sees it.
In 2.3.2: viewWillAppear and viewDidAppear were invoked at appropriate moments

In UISideMenuNavigationController
// Hack: force selection to get cleared on UITableViewControllers when reappearing using custom transitions
visibleViewController?.viewWillAppear(false)

I suppose this could be replaced by directly removing selection from rows, like
    if let tableView = (visibleViewController as? UITableViewController)?.tableView {
        if let indexPath = tableView.indexPathForSelectedRow {
            tableView.deselectRow(at: indexPath, animated: false)
        }
    }

+1 have the same behaviour. viewWillAppear is called when the menu is dismissed...

This hack has actually been in the library for quite some time, although it used to be located in viewWillDisappear before. @paiv, have you tested the code snippet yourself? The reason I called viewWillAppear is because it depends on whether or not the selection is supposed to be cleared depending on the clearsSelectionOnViewWillAppear property of the view controller.

@jonkykong which snippet do you refer to? Yes, I've tested everything I posted.
In the simple project I linked you can clearly see the change in behavior between 2.3.2 and 2.3.3.

By forcing viewWillAppear at disappear time you actually breaking UIViewController API. Apps do not expect this.
Better, you should have in SideMenu API your own flag telling whether to clear selection on disappear.

@paiv I don't think a separate flag is the right idea as clearsSelectionOnViewWillAppear already exists and creating a new one would be redundant.
Prior to 2.3.3, I had this same call to viewWillAppear inside of viewWillDisappear so this hack has been in place for some time with no complaints. It doesn't break the API as everything continues to keep working, however if you have overridden these methods you may not be expecting the result.
At any rate, a solution that is based on 'clearsSelectionOnViewWillAppear' and deselects the content on close is the right solution. It's going to be a while before I can get to fixing this as I have a lot on my plate at the moment.

So is it "safe" to just uncomment the whole viewDidDisappear?
It also broke my app, as now the viewController, which is being dismissed (the sidemenu) now receives a viewWillAppear, which is definitely wrong, because the viewController is being dismissed and so it just seems wrong to send it a viewWillAppear (which in my case causes the underlying view to be covered) (I do not know much about this app, it has been made by another developer and now I am only here to make some quick fixes.) It seems at least in case of this app, just uncommenting the while viewDidDisappear fixes my problem.

@a7ex yes, it should be safe. The only purpose of it is to deselect the rows of the table view the next time the menu is revealed since the method wasn't getting called automatically by the custom transition APIs.

Hi,
I have the same problem. Did you find any solution?

I removed the hack and it works fine. I don't use UITableViewController to represent menu - just UIViewController.
Probably, you need to add something like this:
if visibleViewController is UITableViewController {
    visibleViewController?.viewWillAppear(false)
}

In my case just uncommenting the whole viewDidDisappear fixed my issue and I haven't experienced side issues.

Have the same story.
Delete viewDidDisapper  as @a7ex propose and everything start to work like a charm

depends on whether the word "charm" can be applied to a "Hamburger Menu" on iOS in the first place ;-)
I for one hate "Hamburger Menu" and fortunately clients started to understand why some time ago. But that's of course OT and by no means I am diminuishing the good work, which has been done for the SideMenu POD.

This is fixed in 3.0.1.


Replacing \r\n line endings of .po files with \n

Otherwise the module is unable to parse .po files with \r\n line endings

Thank you for the remark. Regular expressions are not my super power, the group is a leftover from my experiments. It will go away.


Refactoring dyn Column

Codecov Report

Merging #1499 (6d1b679) into main (a451f6d) will decrease coverage by 0.02%.
The diff coverage is 97.42%.

@@            Coverage Diff             @@
##             main    #1499      +/-   ##
==========================================
- Coverage   94.03%   94.01%   -0.03%
==========================================
  Files         240      241       +1
  Lines       44833    44850      +17
==========================================
+ Hits        42158    42164       +6
- Misses       2675     2686      +11

Impacted Files
Coverage Δ

fastfield_codecs/src/lib.rs
98.28% <ø> (+0.10%)
:arrow_up:

src/aggregation/bucket/histogram/histogram.rs
99.61% <ø> (ø)

src/aggregation/bucket/range.rs
97.01% <ø> (ø)

src/collector/filter_collector_wrapper.rs
84.84% <ø> (ø)

src/collector/histogram_collector.rs
98.98% <ø> (ø)

src/collector/tests.rs
98.18% <ø> (ø)

src/collector/top_score_collector.rs
96.85% <ø> (ø)

src/aggregation/agg_req_with_accessor.rs
93.79% <87.50%> (-0.54%)
:arrow_down:

src/fastfield/reader.rs
64.70% <92.18%> (-20.48%)
:arrow_down:

fastfield_codecs/src/column.rs
100.00% <100.00%> (+100.00%)
:arrow_up:

... and 23 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Improve encoding behavior

We identified a few improvements how NPM packages are handled. For example, @ is not being encoded, as well as other characters per the spec. This PR brings the improvements we have implemented in our fork of packageurl-go. This subsumes #22

It looks like @ashcrow has merged things recently; please let me know if there is some way I could improve this to get incorporated!

Thanks @kzantow! A really quick skim of the commits it looks like the primary change is Fix inconsistent URL encoding. The other commits look to be renaming location, syncing upstream changes in, and renaming the license file. If that's correct, would it make sense to go ahead with #22 or should I look deeper into the merge commits?


[Bug]: Error defining custom network when the wallet is connected

Bug description
when wallet is connected, if you try to save a new custom network, it will fail with:
: Expected an array with at least one valid string HTTPS url 'rpcUrls', Received:
undefined

Expected behavior
it should disconnect the wallet instead of erroring.
Furthermore:

There could be a textbox to specify a wasp-api, if that is specified, the wallet should be prompted to switch to that new jsonrpc.

Can the issue reliably be reproduced?
Yes

Hi @jorgemmsilva, thanks for reporting this error.
I feel like the form doesnt have the right label, where it says "network url" is where the rpc url goes

we could rename the label so its more clear, the network can not switch if you dont provide an rpc, so instead of allowing you to switch, we just keep you in the same network you were previously connected and display the error you mentioned
wdyt? would renaming the label be enough or are you referring to something else?

renaming that would be nice, I agree.
But the main issue stands, if you're connected to the testnet with a wallet and try to set a new custom network without a rpc url, it will error and not let you

renaming that would be nice, I agree.
But the main issue stands, if you're connected to the testnet with a wallet and try to set a new custom network without a rpc url, it will error and not let you

rpcs is a required param, the error we display is thrown by metamask, you cant connect to a network without specifying at least 1 rpc https://docs.metamask.io/wallet/reference/rpc-api/#parameters-1 thats why we dont disconnect from the current connection

🤷 but why not just save the custom network anyway? as it stands the modal just keeps opened for no reason.

I dont think that saving something that is not complete or correct is right. In this case, because the form validation is not succesful it doesnt get saved, hence the popup doesnt close, it is not great UX closing an reseting form popups when the action didnt succeed because you will need to open it again and fill it again to complete it correctly

It works perfectly if you're not connected, that field is not even mandatory...


Revert PyYAML to 5.3.1

https://github.com/yaml/pyyaml/issues/724

I realized the errors were resolved by rebasing my branch to include changes for PyYAML to v6.0.1.


Use only individual lodash npm packages

Currently lodash is required but just a few functions are used. It is possible to use just a small npm package for each function. This will make node_modules much smaller. Is there any point to open a pr for that?

@amiram If this were a package that was used in the browser, I could understand wanting to lessen the lodash dependency.
But given that this is a server-side package, I don't understand the desire to make node_modules smaller. I just checked locally, and lodash only uses up 9.1mb on disk. That seems trivially small for a package that's used primarily on a server.
Am I missing something about your use case that makes that size matter?

@rosston This is not so important maybe. However, sometimes you have several deps that each need lodash but with a small diff in the version so you end up with more than one lodash folder in your modules. Consider you have some micro services, so you eventually have dozens of lodash, but if you think it is not so important then you can close it.

I'll close this for now. Perhaps as we start dropping support for older Node versions (0.10, 0.12) in future releases, I'll revisit dropping some of the lodash functions.


I wish I can useStore('counterStore') anywhere stateless component

💯

https://github.com/mobxjs/mobx-react/issues/640
https://github.com/mobxjs/mobx-react-lite
https://github.com/mobxjs/mobx-react-lite#why-no-providerinject


net: openthread: add Link Metrics API

This commit implements the OpenThread APIs to configure Enhanced-ACK Based Probing in radio for a specific Initiator. This is needed for Link Metrics functionality.

@lmaciejonczyk can you rebase to address the merge conflicts.


Bugfixes

A couple of commits that fix specific issues found by @bsrikan .
I'll add commits to this PR as I knock out a couple more issues.

I've got the refactor ready for issue #338.    Would it be disruptive to add to this PR?

More commits added, this time addressing #304 which I'll send to you.

Hi @bsrikan , this PR now contains all the fixes I expect for 9.0-3.  I'll be assigning the issues to you momentarily.

We didnt have "tde" namespace for the generated extraction template earlier nor was it mentioned in the spec for 9+. Is this a new expected behavior?

It does not affect the values of the XML, just what it looks like.
You have an option when serializing whether to use a default namespace when there's no prefix, or to prefix all the time.  The difference is aesthetic, but we have preferred the latter in other projects.

I have created a PR(#5) to merge my tests to your bugfixes PR #336.

Your PR is now merged and included here with this one.

Thanks @grechaw. You can go ahead and ask Mr Triage for checkin to develop.


Update elasticsearch.md

Update/add ELK Releases

Thank you for the PR and the support of the project. I have verified your changes on the website and everything is correct.
In the preview there is a wrong sorting. I try to take care of that.

Hi,
You are right the sorting is not good. Unfortunately I can't help on this.
My opinion: it's better to have updated info even with wrong sorting.

Fix sorting and display of 7.10. Everything good now -> merge.

@BiNZGi thank you!!!


Add a Discord Commands framework, and some basic commands as an example.

The Command Framework
Because we're using raw JDA and not one of the extras libraries like jdautils or chewutils, I've had to implement my own Slash Commands wrapper system.
Enter, the CommandDispatcher.
In short, it stores a list of Slash Commands internally and invokes them at the appropriate time.
Slash Commands have a whole system to themselves, based around the abstract class named SlashCommand.
A Slash Command stores a few key points of data; the primary name they should be invoked by, the description that should be shown to the user, and some extra, more detailed help data that should be shown in the help command.
However, because of aforementioned lack of extras library, the Slash Command is also in charge of adding its' own Sub-Commands and Options. A simple example is provided in the code. For example, the KickCommand's setup:
    @Override
    public CommandCreateAction setup(CommandCreateAction action) {
        return action.addOptions(USER_OPTION, REASON_OPTION);
    }

When the command is executed by the user, the execute method is invoked with the SlashCommandEvent context passed from JDA.
This roughly mirrors how JDAUtils' dispatcher works, but I took it one step further.
Since a command is a couple bits of text and a consumer of a SlashCommandEvent, i added a method that takes... a few Strings and a Consumer<SlashCommandEvent>, for easier implementation of these commands. Observe the implementation of the Stop command:
        dispatcher.registerSingle("stop", "Shut down your Minecraft server.", "Immediately schedule the shutdown of the Minecraft server, akin to /stop from in-game.", (event) -> {
            // Short-circuit if on integrated server
            if(FMLLoader.getDist() == Dist.CLIENT) {
                event.reply("Sorry! This command is disabled on Integrated servers.").setEphemeral(true).queue();
                return;
            }

            event.reply("Shutting the server down..").queue();
            Concord.BOT.getServer().halt(false);
        });

Upsert
The CommandDispatcher itself will handle upserting commands, and since Concord is configured to "belong" to a single guild at a time, it exists constantly in a guild-locked mode.
This has two effects; first, commands are updated immediately. Second, moderation commands cannot be invoked from a guild other than the one that Concord is relaying to.
However, the Dispatcher has an optional global mode (more specifically, the optional guild-only mode is always enabled by default in the Concord configuration) that you can use if you wish the bot to not be restricted like this.
The implemented commands
As mentioned, i've included some commands with this PR to demonstrate the Dispatcher system, as well as begin implementation of a well structured Discord interface for a Minecraft server.
It is my hope that Concord may one day be used in the core of the Hammer ecosystem, but that seems far away right now.
Anyway. The commands implented come in two major forms; moderation and casual.
Moderation commands
There are four moderation commands.

/kick <user> [reason]; remove a player from the server by their username, optionally with a reason.
/ban <user> [reason]; remove a player from the server and prevent them from joining again; optionally with a reason.
/whitelist <add|remove> <user>; add or remove a player from the server's whitelist. Only usable if the whitelist is enabled, which must be done from in-game.
/stop; schedule the immediate shut-down of the Minecraft server.

These commands are disabled by default, and are enabled by the setting of the Moderator role ID in the Concord configuration file.
Casual commands
There are also three casual commands.

/list; show the number and names of online players.
/tps; show the performance of the server in terms of TPS readouts, similar to /forge tps from in-game.
/help; show detailed information about all registered commands, and how to use them.

Future plans

[ ] Implement the Help Command
[x] Clean up the implementation of ConcordDiscordCommand
[ ] Implement some form of API so that other mods can integrate with Concord to allow commands to modify things in their mod

I've updated this PR to the latest 1.19 branch, continuing work..

I believe this is ready for review now.


Document "action" better

This is a bug in the documentation. The documentation says:

Available actions are: publish, read, playback, api, metrics, pprof.

The meaning of the permissions is not self explanatory. The documentation should explain it in more detail.

@aler9 I feel this is a valid issue but it got closed by the bot. I'm not following the issue template because the issue template doesn't make sense for a bug with the documentation.


I2C module not loaded after enable it

Description
The i2c is enabled by rpi-conifg but it didn't show inside /dev/i2c-*, after add /etc/modules-load.d/i2c-dev.conf with content i2c-dev and it is shown.
Steps to reproduce the issue:

add ENABLE_I2C="1" in conf/local.conf
build rpi3 image
boot rpi3 use this generated image

Describe the results you received:
The lsmod can found i2c_bcml2835 but i2c_dev is not showing, and /dev/i2c-* is not exists.
Describe the results you expected:
The config may not necessary by default, but it seems to be an option to auto add /etc/modules-load.d/i2c-dev.conf to enable i2c_dev feature.
Additional information you deem important (e.g. issue happens only occasionally):
Additional details (revisions used, host distro, etc.):

The config that you mention enables i2c correctly. It doesn't mean it exposes the userspace adapter. Generally, the i2c devices are controlled via kernel modules functionality being enabled with ENABLE_I2C.

So the ENABLE_I2C only enable kernel modules, if I need /dev/i2c-* to the controller it, I have to add some config into /etc/modules-load.d/i2c-dev.conf to expose it. And it should not as a default behavior.
I am not sure which is the normal way to use it. So this makes me confused about this config. I use ruby direct to interactive with the i2c interface, so I think the /dev/i2c-* will exists by default.

now it's working for host fine

@asmaaswt I don't understand your comment. Could you develop?
@elct9620 That is the intended behaviour. The module load nor i2c dev functionality is RaspebrryPi specific and depends very much on your setup. If you want to use i2c userspace adapter you will need to load the i2c dev module. The BSP provides the functionality underneath.

@agherzan Thanks. This is the answer I want to check for it.

Thanks, @elct9620 .


how do you get pretrained model

Thanks for your great work. I would like to know how you get pretrained model, like video_swin_tiny_pretrained.pth. In my understanding, it's different from Joint training with Ref-COCO/+/g datasets.

Hi, it is indeed the pretrained model is different joint training model. The pretrained models are only trained using Ref-COCO/+/g datasets in a image level (setting num_frmaes=1).

Hi, did you use the pretrained models on RefCOCO/+/g datasets for the joint model? And is it imbalance when joint training between 3M expressions from RefCOCO/+/g and 13k expressions from RefYTVOS?

We do not use the pretrained model for joint trainnig. We do not adopt the balance sampling of RefCOCO/+/g and RefYTVOS, though their scales are different.

@wjn922 Thanks for your great work! I would like to know epochs/learning rate/lr_drop out for getting the pretrained model on Ref-COCO

@zhenghao977 We use 32 V100 GPUs for the pretrained models. The total epoch is 12 and lr drops at the 8th and 10th epoch. The learning rate keeps the same as default setting, and batch size is set as 2 in each gpu. Please refer to https://github.com/wjn922/ReferFormer/issues/7 for the pretraining script.


CI unhappy: Increase timeout to 90sec, make detox exec verbose

In this pull request, I have increase the fallback timeout of the ci-unhappy script, suspecting that maybe since the test-runner 30sec timeout is not calculated from the very beginning, the fallback timeout might be pushing it a bit too hard.
https://jenkins-oss.wixpress.com/job/detox-android-64-x-master/22/consoleFull
https://jenkins-oss.wixpress.com/job/detox-android-64-x-master/18/consoleFull

why?

@noomorph pointless, you say?

I'm going to first try to revive the CI agents, see how that affects things


ibmcloud pi import-images from COS no longer working

Hi, my Ansible playbook command to import an image into my PowerVS catalogue is no longer working.  I've used the exact same parameters in the GUI and it works fine. I've also checked my logs from a few weeks ago and the syntax is exactly the same.
Login is OK:
**$ ibmcloud login --apikey xxxx -r eu-gb
API endpoint: https://cloud.ibm.com
Authenticating...
OK
Targeted account xxxx's Account (xxxx) <-> xxxx
Targeted region eu-gb
API endpoint:      https://cloud.ibm.com
Region:            eu-gb
User<EMAIL_ADDRESS>Account:           xxxx's Account (xxxx) <-> xxxx
Resource group:    No resource group targeted, use 'ibmcloud target -g RESOURCE_GROUP'
CF API endpoint:
Org:
Space:**
And I set the correct PowerVS service:
$ ibmcloud pi service-target crn:v1:bluemix:public:power-iaas:lon04:a/xxxx::
Targeting service crn:v1:bluemix:public:power-iaas:lon04:a/xxxx::...
But when I try and import the image from COS it fails:
**$ ibmcloud pi image-import app-2-image-awx --image-path s3.eu-gb.cloud-object-storage.appdomain.cloud/eu-gb-bucket1/app-1-image-awx.ova.gz --disk-type tier3 --access-key xxx --secret-key xxx
Importing image from s3.eu-gb.cloud-object-storage.appdomain.cloud/eu-gb-bucket1/app-1-image-awx.ova.gz into account xxx's Account as user<EMAIL_ADDRESS>FAILED
Failed to import image.
FAILED
[POST /pcloud/v1/cloud-instances/{cloud_instance_id}/images][400] pcloudCloudinstancesImagesPostBadRequest  &{Code:0 Description:bad request: import image from cloud storage failed: cloud storage access failed, image import requires the cloud storage image filename to be specified Error:bad request Message:}**

This is the correct bucket, path location for file name etc.

Can anyone comment on this please?

@cunlifs this command is from the pi plug-in and not the actual CLI. I am reaching out to this team to assist you.

FYI, we will get back to you soon.

The backend development team said to change s3.eu-gb.cloud-object-storage.appdomain.cloud to s3.private.eu-gb.cloud-object-storage.appdomain.cloud
I don't have an explanation from them yet on what changed but at least hopefully this will get you working.

@cunlifs did this resolve the issue for you?


Task-scoped keys

steps
> set test in Compile in compile := {}
> test
[error] Not a valid command: test (similar: set, last, exit)
[error] No such setting/task: {file:/Users/x/x/}default-b65acd/test
[error] test
[error]     ^

problems

test:test is masked by compile:test(for compile).
task-scoped keys cannot be discovered by tab completion.

expectations

test:test runs.
task-scoped keys are denoted project/config:task::key.
compile:[tab] completes to compile::test.

note
I can work around problem 1 as follows in 0.10, but not in 0.11:
lazy val baseAssemblySettings: Seq[sbt.Project.Setting[_]] = Seq(
  test <<= test or (test in Test).identity,
  test in compile <<= (test in Test).identity,
)

Implemented in the parsing_changes branch:
https://github.com/harrah/xsbt/tree/parsing_changes

Included in the 0.12 branch.


instruct and chat-instruct mode

Hi, first i want to tell that your work is incredible.
Do you plan to add the instruct and chat-instruct mode ?
A model I use doesn't work very well in chat mode.
I planned to take a look at it myself but i'm still a beginner in python and LLM so if you have some directions to give, I will take them with pleasure.

There is somethins like instruct mode - notebook and query modes. But it isтэе convenient to use to use due to telegram format, I think. Try it.
(also, you need to made a custom character file to satisfy your expectations)


Releases with binary assets?

Any chance to get releases with binary assets, so one can download the compiled binary instead of needing to setup the toolchain and all that?
The rye release workflow looks nice: https://github.com/mitsuhiko/rye/blob/main/.github/workflows/release.yml
If there is a new tag, the workflow would create a draft release, compile all the assets (different architectures) and upload them to the release. The final step is then for somone to (manually) add the release description (if you have any) and publish the release.
(Creating only a draft and only publish when the description is filled is nice because upon publish, GitHub send out an email with the current content. If the release is created without a description, the email has no info :-()

Thank you @jankatins for sharing link i will setup it soon and also build, test and docs actions

I have finished the setup of Release Github actions, it harder than the sample because git2 require openssl setup on each platform.
Thank you @jankatins again for the suggestion and enjoy GQL :D


Conformance check fails to apply on destructuring assignment

The conformance config looks as following:
requirement: {
  type: BANNED_PROPERTY
  value: 'Document.prototype.head'
}

This check catches this code:
const head = document.head;

But fails to catch:
const {head} = document;

/cc @rsimha @erwinmombay

/cc @jridgewell who added a check to enforce the second syntax.

Created Google internal issue b/144013285.

To mention, the same issue is destructuring in arguments. E.g. the compiler fails to catch the use of a banner property in this case:
/**
 * @param {!Document} doc
 */
function x({head}) {
}


NO Bundle URL present

It was running perfectly fine, but then i tried to install   npm i<EMAIL_ADDRESS>--save
I wrote some code to have roter load a component but  it started giving these errors.

Please read the following carefully before opening a new issue.
Your issue may be closed if it does not provide the information required by this template.
We use GitHub Issues exclusively for tracking bugs in React Native.

If you have a question, ask on Stack Overflow: http://stackoverflow.com/questions/tagged/react-native No
If you have a feature request, post it on Canny: https://react-native.canny.io/feature-requests
No

Make sure your issue reproduces on master. Your issue may already have been fixed!  Not fixed,
If your issue is present in master and in the stable release, try to reproduce your bug on https://snack.expo.io/
If you can't reproduce the bug on Snack, provide a sample project.
Heres my code base on dev-2 branch
https://github.com/jpca999/manager-rn
At the very least, provide an example of your code.
--- Delete everything above this line ---
Description
Explain what you did, what you expected to happen, and what actually happens.
Reproduction Steps and Sample Code
List all the steps required to reproduce the issue you're reporting. These steps should be clear and concise.
An example of your code is REQUIRED
Solution
What needs to be done to address this issue? Ideally, provide a pull request with a fix.
Additional Information

React Native version: [FILL THIS OUT: Be specific, filling out "latest" here is not enough.]
Platform: [FILL THIS OUT: iOS, Android, or both?]
Development Operating System: [FILL THIS OUT: Are you developing on MacOS, Linux, or Windows?]
Dev tools: [FILL THIS OUT: Xcode or Android Studio version, iOS or Android SDK version, if applicable]

Restart the computer fixed it


Remove space ID from labels CRUD API end point

Currently labels CRUD API end point is under space. But this is not required.

Action
Existing API end point
New API end point
Method
Remark

List all labels under a particular space
/api/spaces/<space-UUID>/labels
/api/labels?filter[space]=<space-UUID>
GET
400 without filter /api/labels

Get a particular label
/api/spaces/<space-UUID>/labels/<UUID>
/api/labels/<UUID>
GET

Create a new label
/api/spaces/<space-UUID>/labels
/api/labels
POST

Update existing label
/api/spaces/<space-UUID>/labels/<UUID>
/api/labels/<UUID>
PATCH
WIP #1638 . Space cannot be changed

Delete existing label
/api/spaces/<space-UUID>/labels/<UUID>
/api/labels/<UUID>
DELETE
Not planned yet

The link to labels should be updated when accessing /api/spaces/<space-UUID> (GET request) end point.

for work items creation, we send a POST request on /api/spaces/<space_id>, and to list work items in a given space, we send a GET request on /api/spaces/<space_id>/workitems. In both cases, this express clearly the boundary of the space in the request.
However, we could probably follow the approach that you suggest above, by passing the space_id in the payload of the POST request when creating a label, and as a query parameter of the GET request to list all labels.

my concern for now is that we should end with something homogeneous between the endpoints (workitems vs labels)

for work items creation, we send a POST request on /api/spaces/<space_id>, and to list work items in a given space, we send a GET request on /api/spaces/<space_id>/workitems. In both cases, this express clearly the boundary of the space in the request.

To GET WI aren't we using this form /api/workitems/ID on redirection
?

For now, I will hold this change. Need more thinking.


Aggregate multiple values into a single cell

In the aggregation filter, add support for aggregating a delimited list of unique values for a column.  For example, given
#org, #sector
Org A, Health
Org B, Health
Org A, WASH

aggregate to
#org, #sector+list, #meta+count
Org A, Health|WASH, 2
Org B, Health, 1

A use case came up for this today and might be good to test with.  Rumour analysis from the DRC Ebola response.  It's long data with the rumour being repeated and no Unique ID.  I wanted to quickly roll up based on a few columns for approximate uniqueness.
https://docs.google.com/spreadsheets/d/12z67qIUnTdVd3hgVwJB0HfDnNTFWjdEJkqaJq4M8AQg/edit#gid=1788434173
Having this filter with the keywords, would be brilliant
https://proxy.hxlstandard.org/data/edit?filter01=count&count-tags01=%23date%2Bweek%2C%23indicator%2Bcategory%2C%23adm2&count-type01-01=count&count-header01-01=Count&count-column01-01=%23meta%2Bcount&tagger-match-all=on&tagger-01-header=date&tagger-01-tag=%23date&tagger-02-header=zone+de+sante&tagger-02-tag=%23adm1%2Bhealth&tagger-03-header=aire+de+sante&tagger-03-tag=%23adm2%2Bhealth&tagger-04-header=type&tagger-04-tag=%23indicator%2Btype&tagger-05-header=histoire&tagger-05-tag=%23indicator%2Bcategory&tagger-06-header=nombre+de+fois&tagger-06-tag=%23value%2Boccurence&tagger-07-header=mot+cle&tagger-07-tag=%23indicator&tagger-08-header=category&tagger-08-tag=%23indicator&tagger-09-header=week&tagger-09-tag=%23date%2Bweek&header-row=1&url=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F12z67qIUnTdVd3hgVwJB0HfDnNTFWjdEJkqaJq4M8AQg%2Fedit%23gid%3D1788434173

Implemented first pass (delimiter hard-coded to "|" for now).

Deployed to beta.


Spectrum and create [forge] crashing the game

Mod Name
Spectrum, Create
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/spectrum and https://www.curseforge.com/minecraft/mc-mods/create
Minecraft version
1.20.1 (LTS)
Describe the bug
When having Spectrum and Create at the same time the game crashes at the mod loading section
Steps to reproduce
1.Download Spectrum
2.Download Create
3.Launch Create
Logs
https://mclo.gs/0eSI79J
Additional context
Please solve this i NEED this two mods together on forge

please su5eD add this to the pinned issues, for everyone that is wondering on how to fix this issues here are the steps:

Open the file config for the Spectrum mod called spectrum.json5
Then find the option called IntegrationPacksToSkipLoading and in the brackets add create and it should work

let me know if i helped someone


Support Qualcomm Neural Processing SDK

https://developer.qualcomm.com/software/qualcomm-neural-processing-sdk
https://developer.qualcomm.com/docs/snpe/overview.html

0c48d4a15d6daaa9db5cfc8fd83059c6d42814bf


update site-impacting-changes timelines

Update expected timelines for SameSite cookie changes and the default referrer policy change.

Docs Build status updates of commit 33cba6c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/web-platform/site-impacting-changes.md
:white_check_mark:Succeeded

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


source-manifests: fix csv generation

shellcheck fix was incorrect for "$gen_args" here.
Signed-off-by: Michael Adam<EMAIL_ADDRESS>

/retest


Server hangs with nohup mode

Description:
When you start either the editor or the worker, it just hangs.
./bin/worker.sh start
Suggested Labels:
Suggested Assignees:
Affected Product Version:
wso2sp-4.0.0-M16-SNAPSHOT
OS, DB, other environment details and versions:
Steps to reproduce:
Start the server using ./bin/worker.sh start
Related Issues:

Fixed hence closing


[Function Visibility] Page 99000818 - ReserveComp

Please change the Visibility of the Function ReserveComp in Page 99000818 to external

@AlexanderYakunin , @jobulsin   What is the actual status of this issue?


Parallelize Groth16

Calculating a b and c can be done in parallel here:
https://github.com/scipr-lab/zexe/blob/master/groth16/src/prover.rs#L268-L332
Should improve our proving times. Implementation via crossbeam scoped threads should be straightforward.
I'll tackle this this week

Moving this comment here: https://github.com/scipr-lab/zexe/pull/159#issuecomment-605853721
I think it's not as trivial due to how the signature of the miller_loop function is in the trait. Rayon iterators are not really IntoIterator

Can this issue be closed @gakonst?


Add custom pusher host (Support for laravel-websockets)

Thanks for raising this. As this is a feature request and something not required to integrate with the official Pusher service I will close this - we try and keep GitHub a place for open bugs.


Add edit options in Profile Section

Let the user change his info in the profile section
Update this info in the RoomDB as well

I would like to work on this issue ✌

Sure, Go ahead.
On Tue, 17 May 2022, 23:09 Manjot Singh Oberoi, @.***>
wrote:

I would like to work on this issue ✌
—
Reply to this email directly, view it on GitHub
https://github.com/OpenLake/Sampoorna/issues/66#issuecomment-1129141549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSTRTBEQBALTDZILUOKRLTVKPKTVANCNFSM5WFVPU4Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Is the cypress-tags script really necessary?

When implementing the new bundle option in a project, I wanted to also have the option to filter by tags and then be able, for example, to skip a test.
Looking into the preprocessor code, I've noticed the createTestsFromFeature already runs the checks from tagsHelper to decide if a feature file or which from its scenarios will run by getting the environment variable TAGS.
I was able to make it work with the command: cypress run --spec **/*.features --env TAGS='not @skipped'
That being said, am I right to think that using the cypress-tags script results in doing the same check twice?

If you have a feature tagged "@slow" and you only want to run features "not @slow", Cypress would start a session for that feature file and then decide there is nothing there to run. With the extra script the files that would result with an empty run are not even passed to Cypress.
Do you observe a different behavior?

Oh, with the bundle option it wouldn't make a difference I guess

I understand, thanks for clarifying ;)

You are welcome to clarify the documentation if you think there is a better way to explain it.. 😉
Feel free to close the issue unless there is something you are still missing about the cyprees-tags


Big Sur Bug 'require': cannot load such file

^^ Provide a general summary of the issue in the title above. ^^
Description
Describe the problem you're encountering.
TIP: Do NOT share sensitive information, whether personal, proprietary, or otherwise!
When running a server with ruby 2.6.x I consistently get the error:
'require': cannot load such file -- /path/to/gems/newrelic_rpm-6.14.0/lib/new_relic/agent/instrumentation/data_mapper.rb (LoadError)
The file changes but it is always this gem.
Expected Behavior
Tell us what you expected to happen.
The server to run without error
Troubleshooting or NR Diag results
Provide any other relevant log data.
TIP:  Scrub logs and diagnostic information for sensitive information
15:44:56 web.1        | /Users/username/.rvm/gems/ruby-2.6.4/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:291:in `require': Interrupted system call -- /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/agent/instrumentation/data_mapper.rb (LoadError)
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:291:in `block in require'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:257:in `load_dependency'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:291:in `require'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/control/instrumentation.rb:19:in `block in load_instrumentation_files'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/control/instrumentation.rb:17:in `glob'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/control/instrumentation.rb:17:in `load_instrumentation_files'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/control/instrumentation.rb:64:in `block in _install_instrumentation'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/control/instrumentation.rb:64:in `each'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/control/instrumentation.rb:64:in `_install_instrumentation'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/control/instrumentation.rb:48:in `install_instrumentation'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/new_relic/control/instance_methods.rb:76:in `init_plugin'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/newrelic_rpm-6.14.0/lib/newrelic_rpm.rb:41:in `block in <class:Railtie>'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:32:in `instance_exec'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:32:in `run'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:61:in `block in run_initializers'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:50:in `each'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:50:in `tsort_each_child'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:415:in `call'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:50:in `each'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:50:in `tsort_each_child'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:415:in `call'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:50:in `each'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:50:in `tsort_each_child'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:415:in `call'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:50:in `each'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:50:in `tsort_each_child'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:415:in `call'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:347:in `each'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:347:in `call'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
15:44:56 web.1        |         from /Users/username/.rvm/rubies/ruby-2.6.4/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:60:in `run_initializers'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:361:in `initialize!'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:190:in `public_send'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:190:in `method_missing'
15:44:56 web.1        |         from /Users/username/dev/path/to/engine/config.ru:7:in `block in <main>'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/server.rb:312:in `block in start'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/server.rb:379:in `handle_profiling'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/server.rb:311:in `start'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/lib/rack/server.rb:168:in `start'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/gems/rack-2.2.3/bin/rackup:5:in `<top (required)>'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/bin/rackup:23:in `load'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/bin/rackup:23:in `<main>'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/bin/ruby_executable_hooks:24:in `eval'
15:44:56 web.1        |         from /Users/username/.rvm/gems/ruby-2.6.4/bin/ruby_executable_hooks:24:in `<main>'

Steps to Reproduce
Please be as specific as possible.
TIP:  Link a sample application that demonstrates the issue.
I will try to get a scrubbed repo up soon.
Your Environment
Include as many relevant details about your environment as possible including the running version of the Ruby agent, the Ruby version being used and any other relevant environment information
<EMAIL_ADDRESS>ruby 2.6.2 and 2.6.4 (tried both)
Mac OS 11.1
newrelic_rpm-6.14.0
Additional context
Add any other context about the problem here. For example, relevant community posts or support tickets.
https://stackoverflow.com/questions/65266692/big-sur-ruby-cannot-load-such-file-interrupted-system-call
These did not fix my issue.

Also tried with latest version of rbenv

Hi, @TheSavageDev  Thank you for submitting this issue.  We have not moved to Ben Sur yet ourselves, but that's coming up soon!  In the meantime, I'll try to help you through.
I get the sense this problem may be related to compiling OpenSSL with Ruby on Ben Sur.  The SO you linked and some of the links I followed from there led mostly to issues with OpenSSL, so let's start there:
Could you provide the output of curl -Lks 'https://git.io/rg-ssl' | ruby
I am expecting something along the lines of this:
>> curl -Lks 'https://git.io/rg-ssl' | ruby
Here's your Ruby and OpenSSL environment:

Ruby:           2.6.6p146 (2020-03-31 revision 67876) [x86_64-darwin19]
RubyGems:       3.0.3
Bundler:        2.1.4
Compiled with:  OpenSSL 1.1.1h  22 Sep 2020
Loaded version: OpenSSL 1.1.1h  22 Sep 2020
SSL_CERT_FILE:  /Users/mlang/.rbenv/versions/2.6.6/openssl/ssl/cert.pem
SSL_CERT_DIR:   /Users/mlang/.rbenv/versions/2.6.6/openssl/ssl/certs

With that out of the way, let's see if you can connect to rubygems.org...

Bundler connection to rubygems.org:       success ✅
RubyGems connection to rubygems.org:      success ✅
Ruby net/http connection to rubygems.org: success ✅

Are you using the Data Mapper gem in your project?  If not, is ::DataMapper defined somewhere in your project?  Lastly, there may be more pertinent details written to the log/newrelic_agent.log file that might shed some light on this particular error.  Definitely check that and/or add :debug logging level to your newrelic.yml as described here.
Also, please note that the maintainers will be sporadically available during the holidays.

@TheSavageDev thanks for posting this!
@mwlang I am experiencing the same issue.  I did the ssl command and here is the output:
Here's your Ruby and OpenSSL environment:

Ruby:           2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin20]
RubyGems:       3.0.9
Bundler:        1.17.3
Compiled with:  OpenSSL 1.1.1i  8 Dec 2020
Loaded version: OpenSSL 1.1.1i  8 Dec 2020
SSL_CERT_FILE<EMAIL_ADDRESS>SSL_CERT_DIR<EMAIL_ADDRESS>
With that out of the way, let's see if you can connect to rubygems.org...

Bundler connection to rubygems.org:       success ✅
RubyGems connection to rubygems.org:      success ✅
Ruby net/http connection to rubygems.org: success ✅

I do not have the Data Mapper gem or ::DataMapper in the project that I can find.  Attached the newrelic_agent.log from an attempted run that recreated the issue.
Thanks for the help and happy holidays!
newrelic_agent.log

Thank you @mwlang here is the curl output:
Here's your Ruby and OpenSSL environment:

Ruby:           2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
RubyGems:       3.0.3
Bundler:        1.17.2
Compiled with:  LibreSSL 2.8.3
Loaded version: LibreSSL 2.8.3
SSL_CERT_FILE:  /private/etc/ssl/cert.pem
SSL_CERT_DIR:   /private/etc/ssl/certs

With that out of the way, let's see if you can connect to rubygems.org...

Bundler connection to rubygems.org:       success ✅
RubyGems connection to rubygems.org:      success ✅
Ruby net/http connection to rubygems.org: success ✅

Hooray! This Ruby can connect to rubygems.org. You are all set to use Bundler and RubyGems. 👌

Looks like #474 might be related. Looking at @CT014330 's newrelic_agent.log it looks like the regex issue. When I look for the code change for that issue (https://github.com/newrelic/newrelic-ruby-agent/pull/476) it looks like it made it to dev but not the 6.14.0 release tag.

@TheSavageDev
I just confirmed that that change is included in the 6.14.0 release.
However, it does look like they are using version 6.13.0, which was before those changes were released. This would explain that line in the logs, however, I don't believe lacking that change would cause issues with being unable to load gem files.
@CT014330
can you confirm you are using 6.13.0? Also, are you getting the same error for the same file (Datamapper) is in the error from the original post, or for various files like OP mentioned as well?
This issue is very odd, because the error is that seemingly random files (if i understood you correctly) that are included in the gem, are unable to be loaded by ruby. The gem is definitely including those files when building the gem for release, so I can't see any reason that these files would not exist only in certain situations. We haven't change the way (or the files) we use when building the gem recently, so this seems unrelated to any changes we've made, and it seems to only occur on Big Sur.
This leads me to believe it is most likely an environment issue, rather than an issue with the agent itself.
Have you installed any system updates recently? I use a mac as well (although we are still on Catalina), and I have seen similar load errors for files in random gems. In my case, these problems were caused by a system update on my mac. I have had multiple mac updates that messed with my ruby builds actually.  Most recently, This happened for me about a month ago and it required me to totally reinstall things. What worked for me this last time to fix these errors was to:

reinstall xcode-tools
uninstall all my ruby builds
reinstall ruby versions i needed
install gems again

Hopefully that helps! Please let us know if you continue having issues after trying that out.

@tannalynn I am using 6.13.0 and the error occurs in random files the same as @TheSavageDev.

@tannalynn I am using 6.13.0 and the error occurs in random files the same as @TheSavageDev.

@CT014330 and @TheSavageDev I am back from holiday break and looking at this issue again.  So we've definitively ruled out OpenSSL as potential culprit.   #474 and #476 are for recognizing the OS the agent is actively running on and shouldn't be a factor in this particular issue.
I do believe the StackOverflow article referenced above is in play here and perhaps even this one as well: https://stackoverflow.com/questions/65084827/big-sur-update-leads-to-multiple-load-error-rails-ruby
The concern here is that the SO author seems to indicate that Ruby needs to be compiled MAKE_OPTS=-j2 as described here.  I don't quite get how that particular complier option solves the runtime error loading files.

@CT014330 and @TheSavageDev I am back from holiday break and looking at this issue again.  So we've definitively ruled out OpenSSL as potential culprit.   #474 and #476 are for recognizing the OS the agent is actively running on and shouldn't be a factor in this particular issue.
I do believe the StackOverflow article referenced above is in play here and perhaps even this one as well: https://stackoverflow.com/questions/65084827/big-sur-update-leads-to-multiple-load-error-rails-ruby
The concern here is that the SO author seems to indicate that Ruby needs to be compiled MAKE_OPTS=-j2 as described here.  I don't quite get how that particular complier option solves the runtime error loading files.

@mwlang I tried the compiler options suggested in the SO article and it did not solve the problem.  @TheSavageDev did share a workaround with me of locally disabling the new relic agent by updating the env.list file with NEW_RELIC_AGENT_ENABLED=false and I no longer see the error, which indicates to me that it is something specific to the new_relic_agent gem.

@mwlang I tried the compiler options suggested in the SO article and it did not solve the problem.  @TheSavageDev did share a workaround with me of locally disabling the new relic agent by updating the env.list file with NEW_RELIC_AGENT_ENABLED=false and I no longer see the error, which indicates to me that it is something specific to the new_relic_agent gem.

Thanks for sharing that info.  Once we get this next release out the door, I believe the next step is to install Big Sur ourselves as we otherwise have no way to reproduce.

Thanks for sharing that info.  Once we get this next release out the door, I believe the next step is to install Big Sur ourselves as we otherwise have no way to reproduce.

@CT014330 @mwlang
Hi we've solved this issue.
With
OS: Big Sur OS
CPU: Apple Silicon M1
rbenv by brew
rbenv depends on<EMAIL_ADDRESS>
check openssl path with
% which openssl
/opt/homebrew/openssl # or something like this

# add this to zsh or bash file
export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"

# run this
gem uninstall newrelic_rpm
# Recommended to restart your terminal to switch openssl path

gem install newrelic_rpm

successfully installed newrelic_rpm.

@CT014330 @mwlang
Hi we've solved this issue.
With
OS: Big Sur OS
CPU: Apple Silicon M1
rbenv by brew
rbenv depends on<EMAIL_ADDRESS>
check openssl path with
% which openssl
/opt/homebrew/openssl # or something like this

# add this to zsh or bash file
export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"

# run this
gem uninstall newrelic_rpm
# Recommended to restart your terminal to switch openssl path

gem install newrelic_rpm

successfully installed newrelic_rpm.

@akihitoalextsuboi That's interesting!  Any idea why uninstalling and reinstalling the gem is needed here?  there's no natively compiled components to the Ruby agent, so I'm trying to fathom what changes occur with an uninstall followed by an install in this context.

@akihitoalextsuboi That's interesting!  Any idea why uninstalling and reinstalling the gem is needed here?  there's no natively compiled components to the Ruby agent, so I'm trying to fathom what changes occur with an uninstall followed by an install in this context.

I did not have the same success with re-installing the newrelic_rpm gem as @akihitoalextsuboi but I am using rvm, so that could be a factor.  Locally I am able to work around the issue based on a suggestion from @TheSavageDev to just disable the ruby again in the env.list, which does eliminate the issue on my local machine.

I did not have the same success with re-installing the newrelic_rpm gem as @akihitoalextsuboi but I am using rvm, so that could be a factor.  Locally I am able to work around the issue based on a suggestion from @TheSavageDev to just disable the ruby again in the env.list, which does eliminate the issue on my local machine.

same here after upgrading to big sur 11.2.2

Closing this issue as this appears to be an environment related issue with ruby after upgrading to big sur, and not an issue with the gem itself.


Release Google.Cloud.ErrorReporting.V1Beta1 version 3.0.0-beta03

Changes in this release:
Documentation improvements

Removed link to the regionalization page (commit 10a0c0a)

Created release for Google.Cloud.ErrorReporting.V1Beta1-3.0.0-beta03


Custom metrics defined in the instance configuration

It can be desirable to scale on metrics other than CPU and Storage. Currently to add new metrics to scale on they need to be defined in the Poller function. If the custom metric could be included in the configuration JSON objects they could be set on a per instance basis and code changes wouldn't be required.
Example configuration:
[
    {
        "projectId": "my-spanner-project",
        "instanceId": "spanner1",
        "scalerPubSubTopic": "projects/my-spanner-project/topics/spanner-scaling",
        "minNodes": 1,
        "maxNodes": 3,
        "metrics": [
        { "name":  "high_priority_cpu",
           filter: 'metric.type="spanner.googleapis.com/instance/cpu/utilization_by_priority" AND metric.label.priority="high"',
           reducer: 'REDUCE_SUM',
           aligner: 'ALIGN_MAX',
           period: 60,
           regional_threshold: 30
           multi_regional_threshold: 20
           }
       ]
    }
]

Related to Issue #9

When implementing this feature we should abstract the projectId and instanceId substitutions of the default metrics (buildMetrics), so it can also be used as a helper for custom metrics.  This would prevent users from needing to provide pre-substituted metrics in the configuration objects.
Another thing we should consider doing is providing default values for period (60), aligner (ALIGN_MAX) and reducer (REDUCE_SUM).  As of right now I expect them be the same most metrics.


Raise supported version to Python 3.11

At the present time, there is no reason why the maximum supported version shouldn't be 3.11.

Tox execution output:
  py36: SKIP (0.75 seconds)
  py37: SKIP (0.00 seconds)
  py38: SKIP (0.00 seconds)
  py39: SKIP (0.00 seconds)
  py310: OK (52.62=setup[17.15]+cmd[30.83,0.00,0.26,0.44,3.13,0.80] seconds)
  py311: OK (28.52=setup[10.74]+cmd[13.76,0.00,0.25,0.36,2.66,0.74] seconds)
  congratulations :) (81.95 seconds)


Added ignored tests to catch issue with PersistenceExceptionHandlers

A problem has been spotted in the PersistenceExceptionHandlers, I have made a failing test for it:
If a persistence exception is thrown, an attempt will be made to coerce it into a persistence exception which is handled, even if it is not the same. e.g.

ItemConstraintViolationException handler defined
OptimisticLockException thrown
Attempts to coerce OptimisticLockException into a ItemConstraintViolationException
FAIL

The issue is that the PersistenceExceptionHandler defines the abstract handle(PersistenceException) method and uses that when it does not find an exact match on PersistenceException type.

@clicktravel-basharat One query raised. I'm not really understanding this code at all.


Create "Attribute" prefix

Using a similar behavior of the Attribute rule from Validation.

Solved by 0c0ad3961c42c5df95fbd737a53bc0174f202ff7


ARROW-6837: [C++] access File Footer custom_metadata

@jgm-ktg can you rebase?

I will take over this patch in the near future -- I have been doing refactoring in the IPC code paths and this will require a fairly involved rebase

@jgm-ktg I'm manually splicing some of your changes into a new patch (I'll attribute you in the commits), so I'm closing this PR in favor of a new one I'll open shortly


Tweaked examples 3 and 7.

This is a bit presumptuous, as I know very little about FP and even less about Elm, but after watching your video from "Curry On", Prague, I think I might be a member of your target audience!
All joking aside, when I was trying to make the leap from the simple StartApp based example (with no Effects) to the ones with Effects, I found it tough.  What I thought was helpful, was:
a) to break things down into multiple functions - hopefully to make it clear what was happening in each
b) to structure examples 3 and 7 in the same way (as far as possible), so that the real differences were clear.
Hopefully, you will find this useful.  Any comments welcome.

Overall, I think this code is way better!
With 0.17 coming out earlier this week and the tutorial migrating here, things have moved around a lot. I still need to revive the nesting examples though, so I will try to have a nicer style like this!


Disabling internal feeds for python auth tasks on prem

But python is not supported in the onprem release for 2019, not sure what you are asking @firewicca .  It would come back in for onprem when it was supported onprem (likely 2019 Update2)

Korrekt ✍🏼


fix forget password bug

issue: #84
before behavior

forget password functionality does not work.
even if the password and confirm password mismatch allow reset password.

after behavior

forget password functionality works properly.
only allow for reset password when password and confirm password match.

You’ve done a fantastic job—it’s working great now! Thank you for fixing the forget password functionality and ensuring it’s aligned with the expected behavior. Really appreciate your work on this!


recent_view: Update rendered time when user becomes active.

Fixes #23005
Update rendered time in recent view when user comes back after being idle.

@timabbott I assume you'll be reviewing this one.


[WW-5226] Upgrade weld-core to version 2.4.8.Final

Addresses WW-5226

Coverage remained the same at 50.771% when pulling 7b655207ec8de281e5c53320de4f83eab59df2d1 on WW-5226-weld into 12beb20949a14e8bcdff2e8ca1749ea29d880a77 on master.


Add validation for DTD service names

DTD clients can register a service by calling the registerService method, which currently takes two String parameters for the service name and the method name, and concatenates them with a . character to create the service method name (e.g. 'foo.bar').
https://github.com/dart-lang/sdk/blob/master/pkg/dtd_impl/lib/src/dtd_client.dart/#L192-L193
In the current state, the service and method name have no validation. Some things we may want to validate / restrict:

restrict service names from using . characters and only allow method names to contain .. This will prevent confusion about what the service name is for something like 'foo.bar.baz'. In this example, we wouldn't know if this is the 'foo.bar' service with method 'baz' or the 'foo' service with method 'bar.baz'.
prevent any protected names from being used
should we allow any character or only alpha numeric characters?

I've a change at https://dart-review.googlesource.com/c/sdk/+/374980 that disallows dots, but I haven't implemented the other suggestions here yet because they seem like questions.

prevent any protected names from being used

What does "protected" mean here?

should we allow any character or only alpha numeric characters?

@bkonyi does the VM Service have any kind of restriction on these names? (Maybe some thought already went into whether it's a good and what should be allowed/disallowed?).

should we allow any character or only alpha numeric characters?

@bkonyi does the VM Service have any kind of restriction on these names? (Maybe some thought already went into whether it's a good and what should be allowed/disallowed?).

There really aren't many restrictions on service extension names. For the registerService API in dart:developer, we only require that the service extension name starts with ext. and then encourage that developers follow the format of ext.{package name}.{method name}. I don't think we have any restrictions on service extensions registered via the service protocol.

What does "protected" mean here?

I would need to look a little deeper at how all this code is implemented, but I was referring to first part services provided by DTD (like the FileSystem and UnifiedAnalytics services). We'd want to avoid naming conflicts if these go through the same service + method name call path, but we'd need to look at the code to verify whether or not that is a risk.

I would need to look a little deeper at how all this code is implemented, but I was referring to first part services provided by DTD (like the FileSystem and UnifiedAnalytics services).

Ah, got it! You're right - the way these services are currently registered, the existing check for whether a service name is used by another client does not prevent this (since they're registered by a client). I've included a fix for this in https://dart-review.googlesource.com/c/sdk/+/374980.


Improve tests

A few commits:

Migrate tests to mocha and chai: that way it's easier to share knowledge between this project and node-elm-compiler.
Lint all files: there were a bunch of unused variables, and references to undefined variables. We can discuss the specific rules if needed.
Commit elm-package.json: as @rtfeldman recommended, we now use the cwd option to run the compiler inside the test/fixtures folder, so I've committed the corresponding elm-package.json instead of ignoring it.
Test adding dependencies: we had added the functionality to watch dependencies, but there were no tests for it.

I've marked one test (emits errors) as pending, as it isn't really testing anything at the moment. node-elm-compiler outputs errors to console.error, but ideally we would be able to tell it to use webpack's emitError function. I'll create a pull request for node-elm-compiler, and once that's done I'll fix the pending test here.
@rtfeldman can you please review?


quote strings when exporting sample sheets

issue_5.csv
The sheet in the appendix should yield
[....]
[Sequencing_Settings]
LibraryPrepKits,"Illumina Stranded Total RNA Prep, Ligation with Ribo-Zero Plus (96 Samples)"

but the quotes in the second column are missing, so it cannot be re-read.

fixed in 61d23192ff1a285f19ca60fdd101e7832e6f5b26


Fix Search Box Styling

@codervivek5 Please assign this issue to me as a gssoc'2023 contributor I want to work on this issue
Before Changes -

After Changes, it looks like -

another candidate is also working on a similar to this issue so at this time I cant assign it to you.

Ok Thanks for reply


Flexible plots

Closes #4140
Depends on https://github.com/iterative/example-repos-dev/pull/117

@iterative/websites - should it be deployed?

Heroku has ended its free tier. It is asking for authorization from the admin.

Actually, only 2 Qs above remain (after https://github.com/iterative/dvc.org/pull/4207):

https://github.com/iterative/dvc.org/pull/4145#discussion_r1056030858 and
https://github.com/iterative/dvc.org/pull/4145#discussion_r1056031209 (well, I guess that's 2 Qs itself)


Currently Not Compatible With Atom 1.0.0

Installing atom-lint to /Users/Matthew/.atom/packages ✗
No available version compatible with the installed Atom version: 1.0.0

No available version compatible with the installed Atom version: 1.0.2
Is this going to be fixed?

Still the same (Atom now at 1.0.5).

ditto 1.0.9

+1

same for 1.0.19, any chance of an update?

+1

Doesn't look like this repository is receiving support anymore.


Hotifx Index Advisor

update index advisor list table pagination.
give tips when user click checkup, and skip the tips when user choose Don't remind me again.
update basic information content.

Codecov Report

Merging #1496 (e4f0487) into master (ef19f17) will increase coverage by 15.74%.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1496       +/-   ##
===========================================
+ Coverage    8.93%   24.67%   +15.74%
===========================================
  Files         121      167       +46
  Lines       12682    14972     +2290
===========================================
+ Hits         1133     3695     +2562
+ Misses      11428    11006      -422
- Partials      121      271      +150

Flag
Coverage Δ

backend_integration
8.93% <ø> (ø)

backend_ut
27.25% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 ef19f17...e4f0487. Read the comment docs.

status/can-merge


Add ingest helper routines

This PR adds some helper routines for creating GEMD objects according to common creation patterns, simplifying some of the calls and reducing the clerical work associated with linking the right things.
It also moves the contents of the old ingest directory (some very simple demo scripts) into the demo directory, and adds a README to the demo directory providing some basic information about what all demo scripts are doing.

Does it make sense to have these files in the ingest directory? It's true that ingest is the ultimate goal, but from the point of view of this repo they're more like builders.

Does it make sense to have these files in the ingest directory? It's true that ingest is the ultimate goal, but from the point of view of this repo they're more like builders.

I could see calling the directory builders instead.  I certainly think the files that used to be in the ingest directory definitely belong in the same directory as the demo files.


Can't install through Available Extensions

When i put the install package into the \Install\Module folder, it shows up fine in the Available Modules list in the Extensions module, but when I click to install the module, the loader shows up blank (i.e. as if uploading an extension), instead of showing the install for the package  No errors being logged, but there must be something the module doesn't like about the package.
It installs fine when uploading directly through the wizard, so it's not keeping anyone from using it, just a nuisance.

That's bizarre. Thanks for reporting the issue! I'll dig in and see what's preventing it from installing using the Available Modules action.

@bdukes I think this is because it's a Type=Provider extension. AdministrationSuite.dnn Line #3.
I would think DNN would either not show modules placed in the incorrect folder, or ignore the type definition and let the installation continue.
If I place the module into the \Install\Providers folder, it appears to install successfully on v8.0.0.
I think an issue should be logged in the platform to address this, I'm just not sure which would be the correct behavior. Thoughts?

:+1:  I'd expect it to ignore the type.  Thanks!


WebSocketServer usage

Someone on #haxe asked how to use this class: https://github.com/HaxeFoundation/hxnodelibs/blob/master/js/node/ws/WebSocketServer.hx
The problem is that the WebSocketServerOption class has no constructor, so there's nothing you can pass to the constructor of WebSocketServer. That type should either be a typedef structure or get a constructor, depending on what makes more sense.
@eduardo-costa

It should be an anon type... Fixed in #6.


Create kubeone_ip_change.md

Signed-off-by:Aditi Shrivastava<EMAIL_ADDRESS>
What this PR does / why we need it: Runbook for adding new IP address and dns name in an existing kubeone cluster.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): NA
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: NA

/approve

/approve


--build ignoring tsconfig.json changes

TypeScript Version:  3.1.0-dev.20180817

Search Terms: --build tsconfig
Code
In learn-a, modifying package tsconfig.json files does not trigger rebuild when the package has already been built once.
yarn tsc --build packages/pkg1 --verbose
sed -i 's/"rootDir": "src"/"rootDir": "src","target":"es3"/' packages/pkg1/tsconfig.json
yarn tsc --build packages/pkg1 --verbose

Expected behavior:
pkg1 should rebuild after updating tsconfig.json
Actual behavior:
pkg1 is not rebuilt.
First execution of tsc:
message TS6355: Projects in this build:
    * packages/pkg1/tsconfig.json

message TS6352: Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/lib/foo.js' does not exist

message TS6358: Building project '/home/asgramme/src/learn-a/packages/pkg1/tsconfig.json'...

Second execution of tsc, after modifying tsconfig.json:
message TS6355: Projects in this build:
    * packages/pkg1/tsconfig.json

message TS6351: Project 'packages/pkg1/tsconfig.json' is up to date because newest input 'packages/pkg1/src/foo.ts' is older than oldest output 'packages/pkg1/lib/foo.js'

Done in 0.25s

Related Issues:

I just ran into this aswell. Running tsc -b --clean before tsc -b sort of "fixes" it.


feat(material/button): Switch button implementation to use MDC

Switches the implementation of mat-button, mat-fab, and mat-icon-button to use MDC by default.
BREAKING CHANGE:
DOM and CSS classes for mat-button, mat-fab, and mat-icon-button have changed.
Typescript API is largely the same but may have minor differences.

I changed MatAnchor to MatLegacyAnchor. I didn't see anything else when I took another look.


fix: customize control icon use text

@margox Now having an issue: how to customize two 'text-indent' icon


feat: limit tgz size

Issue type

[ ] bug report
[x] idea
[ ] question
[ ] other

Too many HEAD requests required


Fiddle with cfs

@justinslack What do you think of these little changes?
(Also: at some point soonish, I'll put that list of links currently on my pinboard on to a new page on the CTFEDs site. Title of article as link with a short sentence about it.)

@SteveBarnett Looks good to me. Shall merge.

@justinslack Thanks! :)


[DO NOT MERGE] investigate test failures if we test ANSI mode in github actions

I am thinking about adding a new Github action job for testing ANSI mode. This PR is to collect the related test failures.

Test build #146432 has started for PR 34970 at commit d7d9f62.

Test build #146432 has finished for PR 34970 at commit d7d9f62.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146432/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50905/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50905/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50905/

Test build #146469 has started for PR 34970 at commit 7d7ab2d.

Test build #146469 has finished for PR 34970 at commit 7d7ab2d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50943/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146469/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50943/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50943/

Shall we close this if all tests are completed, @gengliangwang ?


[Extensibility] Move from "SaaS" to "Provider" or "RemoteProvider"

Let's switch from SaaS to Provider or RemoteProvider
Originally posted by @leecalcote in https://github.com/layer5io/meshery/pull/2145#discussion_r549476993

Related to #2141


Bad json from self._message(MessageType.GET_TREE, '')

Hi, thanks for making this library, it's very helpful.
I'm not sure what changed.  One minute everything was working smoothly and the next minute calls to get_tree() started failing.
I added a print statement to see what was going on:
~/src/myproject/venv/lib/python3.8/site-packages/i3ipc/connection.py in get_tree(self)
    282         data = self._message(MessageType.GET_TREE, '')
    283         print(data) # <--- I added this line
--> 284         return Con(json.loads(data), None, self)
    285
    286     def get_marks(self) -> List[str]:

And found that the contents of data included a region where the commas had gone missing:
...current_border_width":-1,"rect":{"x":2104,"y":1440,"width":1536,"height":1410},"deco_rect":{"x":0,"y":0,"width":0,"height":0},"window_rect":{"x":0,"y":0,"width":0,"height":0},"geometry":{"x":0,"y":0,"width":0,"height":0},"name":null,"window":null,"window_type":null,"nodes":[{"id":94437733399072,"type":"con","orientation":"none","scratchpad_state":"none","percent":1.0,"urgent":false,"focused":true,"output":"DP-2","layout":"splith","workspace_layout":"default","last_split_layout":"splith","border":"normal","current_border_width":2,"rect":"x"2104"y"1468"width"1536"height"1382}...

(it starts with the second instance of current_border_width)
I'm not sure where that data comes from, so I'm sorry if this bug report is in the wrong place, but I wanted to at least put it somewhere.

❯ i3 --version
i3 version 4.18.2 (2020-07-26) © 2009 Michael Stapelberg and contributors

It looks like an i3 bug. If you can reproduce it with i3-msg -t get_tree you can post it on their tracker.

Thanks for that command.  I've since rebooted, so it's gone, but if it comes back I'll be sure to post it in the right place.

https://github.com/i3/i3/issues/4167


[UPDATE] support torch.Tensor as pipeline input

support torch.Tensor as input to the pipeline
use torchvision to resize

The code does not yet allow batch-wise inference, right? We should put another assertion at the top of __call__.

The code does not yet allow batch-wise inference, right? We should put another assertion at the top of __call__.

It's here: https://github.com/prs-eth/Marigold/pull/52/files#diff-46fe7b03e41ba68a8ff74b1d982133f8d44483272c42c85268dca4388dd59c94R188-R190

oh, I see. My bad.