Compatibility with Cypress 9

Would it be possible to relax the version constraint in package.json to include Cypress 9 or does some work need to be done first to make this library compatible?

I think there is no breaking changes that can break us, so need to just reelase as new version

Oh, just saw there’s already https://github.com/dmtrKovalenko/cypress-real-events/pull/187, but that’s failing on CI.

It's just flaky tests 🙈

No, it's not flaky tests
It's a problem of types in Cypress.add
They changed definition
add(name: string, options: CommandOptions, fn: (...args: any[]) => CanReturnChainable): void
=>
add<T extends keyof Chainable>(name: T, options: CommandOptions, fn: Chainable[T]): void
Promises now not support as return type, it should be rewritten on Chainable interface or find some type hack to get this it builded

Ok, so it will take some time to release it. If you want -- please submit a PR. I am sick now and can not fix it.
Will do asap

Fixed with https://github.com/dmtrKovalenko/cypress-real-events/pull/199


Symfony 6 compatibility

Hi, symfony 6 just been released. Time to update compatibility with it.

@Seldaek in master branch it's already changed composer.json, but tag 2.1.1 has no one.
"require": {
        "symfony/framework-bundle": "^4.3 || ^5.0"
    },

Your can update tag, please? @Seldaek

https://github.com/nelmio/NelmioCorsBundle/releases/tag/2.2.0 is out


Make type annotation for consts optional

In const x: int = 10; the compiler can figure out that x is an int perfectly well on its own.

This works very poorly with the current implementation of our type checker. I'll revisit this if I ever have time to revise that code.


Enable arbitrary icons on Nano S

Instead of using the enum containing all supposedly available Icons on the MCU, provide arbitrary bitmaps
Merge behaviour with that of SE-driven screen regarding icons
Update/cleanup flags for builds to work properly

@yhql I have tested this on both S and S+, looks good to me. Could you include the following change also, to allow const Icon creation.
 impl<'a> Icon<'a> {
-    const fn from(glyph: &'a Glyph<'a>) -> Icon<'a> {
+    pub const fn from(glyph: &'a Glyph<'a>) -> Icon<'a> {
         Icon {


"Authentication failed for user kitchen@localhost" when converging in parallel (since 2.2.0)

After updating from kitchen-docker 2.1.0 to either 2.2.0 or 2.3.0 I'm getting Authentication failed for user kitchen@localhost errors when converging two instances in parallel.
Source code for reproducing the issue on this branch:
https://github.com/tknerr/sample-toplevel-cookbook/tree/gem-updates/
Here are the relevant builds on CircleCI:
https://circleci.com/gh/tknerr/sample-toplevel-cookbook/tree/gem-updates
You can see:

build 314 was still OK
build 315 failed after updating to kitchen-docker 2.3.0 (along with some other gem updates)
build 316 was just a rebuild of 315 to see if it's reproducible -- and it failed too
build 317 was passing again after I switched kitchen-docker back to 2.1.0 (see https://github.com/tknerr/sample-toplevel-cookbook/commit/f708e83cd42943e4497c3bf9f5805edec3d6aa26)
build 318 failed again after switching kitchen-docker to 2.2.0

Reading the CHANGELOG I suspect it might be the "Passwordless suite instance Docker container login (SSH), using a generated key pair." feature introduced in 2.2.0 that makes it break.
Is there anything I would need to adjust in my .kitchen.yml to make this work? Or is it indeed a bug when converging in parallel?

we also hit the same issue. we are using the same workaround.
I may spend some time to try to figure out what is going wrong

Hmm, so the SSH key pair should only be generated once the first time. This process has a race condition, so I could see it failing on the first parallel attempt, but after that it should be fine because the files will exist under .kitchen so no race condition. This would be a problem in CI though, where it gets a blank file system on each run. The fix will be to mutex around https://github.com/portertech/kitchen-docker/blob/master/lib/kitchen/driver/docker.rb#L140-L142 a bit more.


WDC Node.js Proxy with OAuth Tutorial instructions are not correct

I am trying to use the tutorial found on this page:
http://tableau.github.io/webdataconnector/docs/wdc_oauth_tutorial.html
but under step 2, substep 4 (register your app with four square), the article mentions to "Fill in the Your app name, Download/welcome page url, and Redirect URI(s) boxes." However, when I login to Foursquare and try to make a new application, the page does not come up with these boxes. I've attached an image of what does come up instead. I'm not sure what to put in here as the redirect URL provided does not work. Without this step, I am unable to generate a client secret and client ID that I need to proceed with the rest of the tutorial. Does anyone know what I should enter instead for this tutorial? Are there updated instructions anywhere that I'm missing? Thanks!

you can fill the app name and App OR company URL with any name and proceed to the next step it will ask you further details like redirect URL.


Wrong mime type for JSONP response

If I set a JSONP callback to my JSON view model, the returned mime type is application/json instead of application/javascript. This is due to the JsonStrategy which checks if the JsonRenderer has a JSONP callback to switch the mime type. But the JsonRenderer doesn't have a JSONP callback, only my view model has one.
As a workaround, I now set the callback to the renderer ($this->getServiceLocator()->get('ViewJsonRenderer')->setJsonpCallback($callback);).

+1

+1

This repository has been closed and moved to laminas/laminas-view; a new issue has been opened at https://github.com/laminas/laminas-view/issues/27.


Fix implementation of copy and corresponding test

As per #77

Coverage remained the same at 100.0% when pulling 302c8ae2496505dc20aebe93b25132d51f89fcbc on fix-copy into a95585e021c56b452fda2f4c2795fe046b7ac0e4 on master.


Add Support for IAM Roles Anywhere CreateSession

Describe the feature
Add native support for CreateSession to the SDK.
Use Case
We would like to leverage IAM Roles Anywhere to "bootstrap" AWS credentials into our external services that are written in C#. We are unable to use the precanned credential_process binaries.
Proposed Solution
No response
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

AWS .NET SDK and/or Package version used
n/a
Targeted .NET Platform
.NET Standard 2.0
Operating System and version
Windows, Linux

Hi @rittneje,
Good afternoon.
The link https://docs.aws.amazon.com/rolesanywhere/latest/userguide/credential-helper.html talks about downloading the external utility for signing process using it in conjunction with credential-process. This returns the same output structure as returned by the credentials_process mentioned in Sourcing credentials with an external process. May be you could setup the IAM roles anywhere credentials helper to be executed as part of batch program (on Windows) and specify that batch program with parameters in the credentials file:
[profile developer]
credential_process = <<path-to-credentials-helper-batch-program>> --certificate <<path-to-certificate-file>> ...

How is this implemented in other SDK(s)? As per above reference links, you intend to call the external helper tool that returns temporary credentials. This external helper could be used with credential_process setting in credentials file.
Thanks,
Ashish

@ashishdhingra We cannot run an external binary like that, which is why I'd like the SDK to do it natively instead.

How is this implemented in other SDK(s)?

AFAIK it is not currently implemented in any SDKs, since the expectation from AWS was everyone would outsource to it as a credential process. However, as I mentioned that is neither feasible nor desirable for us. Instead the functionality within that binary should be ported into all the SDKs as a first-class feature.

@ashishdhingra We cannot run an external binary like that, which is why I'd like the SDK to do it natively instead.

How is this implemented in other SDK(s)?

AFAIK it is not currently implemented in any SDKs, since the expectation from AWS was everyone would outsource to it as a credential process. However, as I mentioned that is neither feasible nor desirable for us. Instead the functionality within that binary should be ported into all the SDKs as a first-class feature.

@rittneje There is specification around this as far as we are aware of. This needs to be discussed with the team, probably a cross-SDK feature request.


pull request for e2e test at 11/25/2016 18:56:03

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Development process

I'm trying to slightly modify the forceFetch behaviour in order to respect the changes in this PR:  https://github.com/apollostack/apollo-client/pull/309
But I can't get this project to build with the new typings from apollo-client. @jbaxleyiii can you fill me in on how I'm supposed to bring typings over from apollo-client? I ran node_modules/.bin/typings install but it just brought a bunch of new apollo-client related errors.

@tmeasday well thats no good! I'll take a look and see if I can figure out whats going on!

@tmeasday fixed in https://github.com/apollostack/react-apollo/pull/75/commits/d4c3d03dfcaa8b2c08c8f35c016fe176d4938856
That PR should also fix #80 and #72

Oh, I think I figured out the issue I was having. I needed to symlink apollo-client/gql.d.ts into lib/src. @stubailo we should document this somewhere.


TabView customization

is there any possibility to customize how my tabs looks like, apply padding to title text or something,
can't find anything in the Internet
in particular this case , List and map tab titles are too high how can I center them within tab view?
also i didn't find any possibility to set tab view item color

<Page.actionBar>
    <ActionBar title="PrintZ">
      <NavigationButton visibility="collapsed"></NavigationButton>
      <ActionItem (tap)="onLogout()"
        ios.position="right"
        android.position="right"
        text="Sign Out" >
      </ActionItem>
    </ActionBar>
</Page.actionBar>
<TabView #tabView [(ngModel)]="tabSelectedIndex") selectedColor="#FFFFFF" borderBottomColor="#FFFFFF">
  <GridLayout *tabItem="{'title':'List'}" >
     <RadListView [items]="printSpots" pullToRefresh="true" (pullToRefreshInitiated)="onRefresh($event)">
          <template tkListItemTemplate let-item="item">
            <GridLayout class="vitem" columns="auto, *, auto" rows="auto, 25, 2" verticalAlignment="top">
                 <Image [src]="item.photoUrl" rowSpan="2" class="image"></Image>

                 <Image col="2" rowSpan="2" marginRight="30" width="38"height="38" [src]="item.statusImageUrl"></Image>
                 <StackLayout class="separator" row="3" col="1" colSpan="2" ></StackLayout>
            </GridLayout>
          </template>
          <ListViewLinearLayout tkListViewLayout scrollDirection="Vertical"></ListViewLinearLayout>
        </RadListView >
  </GridLayout>
  <GridLayout height="100%" rows="auto,*" columns="auto" *tabItem="{'title':'Map'}">
    <MapView #mapView row="0" height='70%' (mapReady)="onMapReady($event)" latitude="50.43",longitude="40.52" zoom="3"></MapView>
    <GridLayout row="1">
        <RadListView [items]="printSpots">
          <template tkListItemTemplate let-item="item" let-index="i">
            <StackLayout class="hitem" orientation="vertical">
                <Border borderRadius="3" borderWidth="1" borderColor="rgba(0, 0, 0, 245)" class="image">
                  <Image [src]="item.photoUrl" width="142" height="110"></Image>
                </Border>

            </StackLayout>
          </template>
          <ListViewLinearLayout tkListViewLayout scrollDirection="Horizontal"></ListViewLinearLayout>
        </RadListView >
    </GridLayout>
  </GridLayout>
  </TabView>

Hi @bbetter,
Thank you for your interest in NativeScript.
I tested your case, however I was unable to reproduce this behavior with the TabView titles. By default they should be centered without the need to add some extra style options to them. Regarding to that could you give us some more info about the problem or to send us sample project, where the problem could be debugged locally. About your second question the available style properties has been described in the comment in the issue here.
Hope this information helps.
Regards,
@tsonevn

https://gitlab.com/bbetter/printit-angular-ns

Hi @bbetter,
Thank you for your project.
I reviewed the code and was able to reproduce the same behavior on NativeScript Core project. I notice that this problem has been ios related and the reason is that in the modules has been set fixed  title position setTitlePositionAdjustment({ horizontal: 0, vertical: -20 });.
Regarding to that I was unable to find easy way to change this position from code behind.
As a temporary solution you could use the default fontSize for the TabView titles and to change it only for the inner component. For example you could set in your app.css file something like the code below.
TabView{
    tab-text-color: #00b9e6;
  selected-tab-text-color: #FFFFFF;
  android-selected-tab-text-color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

GridLayout{
    font-size: 30;
}

I am also attaching code, where the problem could be reproduced.
main-page.xml
<Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="navigatingTo">
    <TabView loaded="tabviewloaded"  id="tabViewContainer">
        <TabView.items>
            <TabViewItem title="Tab 1">
                <TabViewItem.view>
                    <StackLayout>

                    </StackLayout>
                </TabViewItem.view>
            </TabViewItem>
            <TabViewItem title="Tab 2">
                <TabViewItem.view>
                    <StackLayout>

                    </StackLayout>
                </TabViewItem.view>
            </TabViewItem>
        </TabView.items>
    </TabView>
</Page>

app.css
TabView{
    font-size: 20;
}

Hope this helps.

This issue was moved to NativeScript/NativeScript#3402


Refactor "deleteIf"

This PR aims to not mutate the original object passed at deleteIf. The tests were simplified and adapted to handle nested properties.

Pull Request Test Coverage Report for Build 107

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

Totals

Change from base Build 105:
4.3%

Covered Lines:
29

Relevant Lines:
29

💛  - Coveralls


read input VCF in chunks

enhancement of #14

Currently the VCF file is read in one piece. Tested size limitations were following:

plain text VCF in Chrome 68 can be upto 1GB,
plain text VCF limit in Firefox 64.0 was ~250MB

FileReader API supports chunked reads, investigate if this could lift the limits.


Rules builder

Pull Request Test Coverage Report for Build 651

9 of 9 (100.0%) changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 78.431%

Totals

Change from base Build 637:
0.005%

Covered Lines:
3360

Relevant Lines:
4284

💛  - Coveralls

Pull Request Test Coverage Report for Build 651

9 of 9 (100.0%) changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 78.431%

Totals

Change from base Build 637:
0.005%

Covered Lines:
3360

Relevant Lines:
4284

💛  - Coveralls


[BUG] Remove un-needed import in sgd_demo.ipynb notebook

Describe the bug
Hi,
It looks like sgd_demo.ipnb notebook contains the following import, which is not used anymore:

from sklearn.linear_model import SGDClassifier

Steps/Code to reproduce bug
Open notebook at https://github.com/rapidsai/notebooks/blob/branch-0.7/cuml/sgd_demo.ipynb
Expected behavior
Un-needed import to be removed.

Thanks @miguelangel.  Fixed with https://github.com/rapidsai/notebooks/pull/159


Activate Travis and Codecov to the repository

Travis and Codecov applications are already enabled for the Konveyor organization.
This pull request creates a Travis configuration file that runs Codecov on the project.

Oh no, codecov 😆 we haven't had time to write any unit tests yet.


An adapter to simulate bulk operations using multiple singleton operations

@hirzel Does bulkEvict(t) evict the record at timestamp exactly t as well?

Yes, it evicts all records whose timestamps are <= t. In other words, it evicts up to and including t.

Great. That's also what BulkAdapter does. Thanks for confirming the expected behavior.


p50 seems to have ms3 instead of !ms3 in verilog code.

See title.

Fixed in the latest push. I validated once again against the die shot, updated the spreadsheet and ran an automated export from the sheet to verilog.
Lots of small fixed, should hopefully be correct now.


[protobuf] Protobuf no longer compiles with vs2019 Update 16.10 w/ c++latest

Describe the pull request

What does your PR fix?

Temporary Workaround for https://github.com/protocolbuffers/protobuf/issues/8688
The fix is needed to unblock compiling OpenTelemetry C++ SDK with vs2019-update16.10 . Note that the previous compiler was fine because 16.9 did not have support for constinit. I am not sure if it's a bug in Visual Studio 2019 support of constinit. Thus, the safest is to avoid using the feature in protobuf.

Which triplets are supported/not supported? Have you updated the [CI baseline]

All previous triplets supported. No changes intended. Verified that local build on Windows msvc2019-16.10 with C++20 passes all tests.

Does your PR follow the [maintainer guide]

Yes.

Yes.
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/
Opening it as a draft because it is my first PR in this repository.

I'm not sure why the tests are failing. Seems like unrelated to my change? I'm converting this to ready-for-review. Please kindly let me know if I mess up something.

Fix has been merged in protobuf mainline in the master : https://github.com/protocolbuffers/protobuf/pull/8690
But the current port, that uses slightly older release would still need the patch. Patch needs to be removed once the port is updated to latest version.

Apologies for this, I'm new to this process. I reran vcpkg x-add-version protobuf and added the change.

Cool, this is good, thanks @maxgolov :)


Configure as the default authenticator option is missing in the new React console

Describe the issue:

$subject

How to reproduce:

Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Derived from https://github.com/wso2/product-is/issues/16691
Suggested labels:

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


docs: Fix references to section list templates

Section list templates are looked up as described in http://gohugo.io/templates/list/.
http://gohugo.io/content/types/ is wrong in listing /layouts/post/list.html as a valid template location.  Should be in /layouts/section/post.html.  This section was removed in HEAD, but the 0.15 docs (and the hugo website) are still inaccurate.
http://gohugo.io/tutorials/creating-a-new-theme/ is wrong in telling you to create article/list.html.

Can I take this? This a simple change to the docs, right?

Can I take this? This a simple change to the docs, right?

Go ahead! Help is much appreciated.

@moorereason @bep what is the pull request workflow? Should I ping people after a pull request is created or will people get to them eventually? Thanks.


Changing slide animation

Hey, love this project! Is there a way to change the slide animation, ideally through some configuration like export { fade as animation } from 'mdx-deck/animations? If not I'd like to look into working on that, if I could have a few pointers :nerd_face:

I've started looking at this, one thing I can't quite get is why all the styled components are using a function call type of construction rather than the more common tagged template literal construction - @jxnblk are you able to shed some light?

Thanks! Yeah, I suspect custom animations could maybe be handled with components that can be exported as layouts (using CSS animations, etc) or maybe through custom theme configurations. I haven't thought a ton about it yet, so would like to see some proposals/APIs before moving forward with this sort of thing – as for the syntax, I find it easier to read and type in JS as opposed to using an embedded DSL

How do you feel about export { fade as animation } from 'mdx-deck/animations?

For per-slide animations, I was imagining something more like how layouts work for components, e.g.
import { Fade } from 'mdx-deck/animations'

export default Fade

# Fade In/Out
---

# No animation

For all slides, the other thing I'm thinking is adding a default CSS animation to a theme, maybe something like:
// example theme
import baseTheme from 'mdx-docks/themes'

export default {
  ...baseTheme,
  animationDuration: '.4s',
  animationEnter: {
    from: {
      opacity: 0
    },
    to: {
      opacity: 1
    }
  },
  animationLeave: {
    // ...animation keyframes
  }
}

I like the idea of adding to the theme. I'm a bit confused by export default Fade, though - if I already have a layout on that slide, I thought ES6 exports could have only one default?

Yeah, I don't yet understand how default exports could accommodate both a custom layout and a specific slide transition.

You can use composition in React/JSX to nest one component inside the other

I attempted to get something like this working as a Layout but the problem is that Layouts don't receive any of their parent props, so there's no way to know when the slide is active to fade in (since all slides are rendered already, just positioned off screen). I began exploring whether the slide animation can be moved into the Slide component but figured I'd ask if there's a better idea.

Since v2 now uses Reach Router, slides do not transition by default. In order to add route transitions, existing solutions for Reach Router should work


PHP Equivalent

I would like to know if there is a php equivalent of this library for decrypting a string encrypted in android. Thanks

Thanks for the comment but this isn't something I can help you with. Maybe check the origonal https://github.com/Gurpartap/aescrypt or google it.


Add ChatGPT API

We bought ChatGPT 4 API and changed the way Anki cards answers were generated. Previously they were generated from Google ( People also asked section) which was not accurate at all, hence the flash cards were not useful. Now with the use of ChatGPT4, the answers are accurate and useful.


Phi-2-X

https://huggingface.co/axra/phi-2-x-0.1
A very high performing finetune of phi-2

Hi there, thanks so much for making this model. Would it be possible to import and publish it to your own namespace in Ollama?
Docs to do that are here: https://github.com/ollama/ollama/blob/main/docs/import.md#importing-pytorch--safetensors
It's a few steps, and so let me know if you have any issues (please feel free to shoot me an email!)


[NIFI-2917] disable canvas refresh after ajax error and allow page re…

…fresh
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Thanks for doing this Scott; it's a little thing that will have a big impact in my workflow. When I land I'll try to review and merge.

From: Andy LoPresto <notifications<EMAIL_ADDRESS>Reply-To: apache/nifi <reply<EMAIL_ADDRESS>Date: Thursday, December 22, 2016 at 4:12 AM
To: apache/nifi <nifi<EMAIL_ADDRESS>Cc: default <jaslan<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [apache/nifi] [NIFI-2917] disable canvas refresh after ajax error and allow page re… (#1351)
Thanks for doing this Scott; it's a little thing that will have a big impact in my workflow. When I land I'll try to review and merge.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/apache/nifi/pull/1351#issuecomment-268753759, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGe5AzQMxgVIrLPH2lhH7yHhYOuUOghuks5rKj8ZgaJpZM4LTO41.


Upgrade org.pitest:pitest-junit5-plugin 1.1.2 -> 1.2.0

This PR contains the following updates:

Package
Type
Update
Change

org.pitest:pitest-junit5-plugin (source)
build
minor
1.1.2 -> 1.2.0

Release Notes

pitest/pitest-junit5-plugin
v1.2.0
Compare Source

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade pitest-junit5-plugin 1.1.2 -> 1.2.0

See https://github.com/pitest/pitest-junit5-plugin/compare/1.1.2...1.2.0


Ability to set default options

Would you be open for a PR where we can specify the default options globally?
My arrayMerge strategy is to always overwrite the array instead of concatenating, so it's quite annoying to have to specify the options with the overwrite function every time I use deepmerge across various files, and it has already caused some annoying bugs.
Example:
const merge = require('deepmerge');
merge.setDefaultOptions({
  arrayMerge: (dest, source) => source,
});

Afterwards, every merge would use those options as the default, unless specific options are passed in.
Happy to create a PR for it.

hmm. it wouldn't be a good idea to have that change the global deepmerge that's being required, so it would probably be best if menge.setDefaultOptions returns a copy of merge that can be used instead... something like
const merge = require('deepmerge').setDefaultOptions({
  arrayMerge: (dest, source) => source,
});

Otherwise two libraries in the same application that use deepmerge could interfere.

Yes, I was planning to make it chainable and return a copy of merge

Either way, you still have to do the same thing in your project - which is make a merge.js file in your shared/common folder for everything in your project to import.
I'm hesitant to add new code to this project, since setting defaults on your own is so easy to do, and there are even different flavors you might want to expose internally.
Able to override options:
import arrayMerge from './somewhere'
import deepmerge from 'deepmerge'
export default (a, b, options) => deepmerge(a, b, Object.assign({ arrayMerge }, options))

Unable to override options:
import arrayMerge from './somewhere'
import deepmerge from 'deepmerge'
export default (a, b) => deepmerge(a, b, { arrayMerge })

Able to merge any number of objects:
import arrayMerge from './somewhere'
import deepmerge from 'deepmerge'
export default (...objects) => deepmerge.all(objects, { arrayMerge })

I think it's better to let everyone decide how they want merge to be exposed to their project with a line of JS instead of using a baked-in extend function on the library.

@TehShrike no, that's incorrect. I am using ES6 and standard require's, as I imagine the majority of people using Node still do.
As such, all require's are cached, so I can simply set the defaults once, in my initialisation file, and then whenever I require deepmerge elsewhere in my application I won't have to worry about the defaults.
E.g.:
init.js
//Set default merge options for deep merge
require('deepmerge').setDefaultOptions({
  arrayMerge: (dest, source) => source,
});

anywhere-else.js
const merge = require('deepmerge');
merge(a, b); //Will use the defaults as defined earlier.

Yes, that's what @macdja38 was addressing - that syntax also affects any other modules that you're requiring.  If you're using some gulp library or whatever that uses deepmerge, you don't want to mess with its default properties.
Your usage of deepmerge shouldn't affect some webpack library that also happens to use deepmerge.
Ignore the ES Module syntax in my previous response.  The problems are exactly the same even if I use CommonJS in the examples.

Gotcha, fair point, although I'm using the library in an isolated
environment server side.
I'll just make my own wrapper then with my defaults in there.
On Sat, Dec 16, 2017, 15:22 Josh Duff<EMAIL_ADDRESS>wrote:

Yes, that's what @macdja38 https://github.com/macdja38 was addressing -
that syntax also affects any other modules that you're requiring. If you're
using some gulp library or whatever that uses deepmerge, you don't want
to mess with its default properties.
Your usage of deepmerge shouldn't affect some webpack library that also
happens to use deepmerge.
Ignore the ES Module syntax in my previous response. The problems are
exactly the same even if I use CommonJS in the examples.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KyleAMathews/deepmerge/issues/89#issuecomment-352154080,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAd8QrAb2N8e3TXQpdUHqo5opPr7JVkWks5tAylSgaJpZM4RBUNI
.


Find usages for struct "constructors"

Given a type like
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct Path {
    pub kind: PathKind,
    pub segments: Vec<PathSegment>,
    pub generic_args: Vec<Option<Arc<GenericArgs>>>,
}

one of the most useful questions is "where Path is constructed"? That is, "find references", but also filtered by "is this a struct literal?".
The right way to implement this is to add classification to find usages. That is, find usages should not only return a list of usages, but also a "kind" of usage: struct literal, impl, import, etc. That is, we should change references: Vec<FileRange>, to references: Vec<Reference>, where
struct Refrence {
  file_range: FileRange,
  kind: RefrenceKind,
}

enum ReferenceKind {
  Literal
}

This code is here: https://github.com/rust-analyzer/rust-analyzer/blob/16cf6bcf4b614a7a1a3a3f3659f7bb3df7cff086/crates/ra_ide/src/references.rs#L38
After that, we need to somehow express this via LSP UI. I believe it doesn't have a build-in feature for this, so I suggest the following hack:

if find_usages is invoked exactly at the curly brace (or paren, for tuple structs) of a struct definition, the results should only include struct literals (Kotlin handles a similar problem this way).

Hey, I will look at it.

questions:

Should a search be restricted in this case Foo<|> { or/and Foo <|>{? Right now Foo <|>{ doesn’t work, so I would need to change it a little.
Do I need to add all references to ReferenceSearchResult and filter them later or just struct literals?
Is any way to find struct literals or I need to write a function? If so could you share any examples or recommendations?
What other items should be in ReferenceKind enum?

For Foo<|> {  we shouldn't restrict the search, as the cursor is on identifier. For Foo <|>{ we should. For Foo<|>{ we can go either way.
I think we should always search for  all references, and do filtering later. However, we should classify the references during search. That is, the filtering in the second step should be trivial
I think some manual code should be added. Specifically, here we can look at the parent of name ref and check if its a RecordLiteral. API of syntax trees is described here.
I think it's fine to start with just RecordLiteral, and add other when we find a need for them!

This seems to work now.

Does it work for tuple structs/enums?

It works for tuple structs (you need to put the cursor before the (), but not enums.

Specific example from rust-analyzer:

https://github.com/rust-analyzer/rust-analyzer/blob/8090799aa2f2a83746780ebdd7837e0e280c2d2c/crates/ide_db/src/defs.rs#L80-L90
I want this feature so much, I am almost ready to implement it myself :sob:

Are there still cases where this doesn't work?

yup, can't get it to work for a simple case. Searching brace doesn't return any referneces, searching name returns all references (not only constructors):
https://user-images.githubusercontent.com/1711539/102789660-b678ce00-43a4-11eb-959f-65e453852887.mp4

CC @sasurau4 ^

Another case to test:

Another case to test:


ICU should not be split into several outputs

Right now icu is split to several outputs: out and dev. This breaks software that relies on icu-config to get the configuration.
The icu-config states that everything is located inside the same prefix:
# The PREFIX is the base of where ICU is installed.
# Inside this directory you should find  bin, lib, include/unicode,
# etc.  If ICU is not installed in this directory, you must change the
# following line.  There should exist /nix/store/7flw8mxs28mk2r1wsnyas1y59j4hjr7a-icu4c-67.1-dev/include/unicode/utypes.h
# for example.
default_prefix="/nix/store/wn2hcvdk7dzc7l3f340sva6lhkbmmsgd-icu4c-67.1"

And other software relies on this. For example, rust_icu: https://github.com/google/rust_icu/blob/master/rust_icu_sys/build.rs#L431
Splitting icu into several outputs does not allow to build rust_icu on NixOS.
cc @vcunat

What's the solution here?

PR https://github.com/google/rust_icu/pull/190 is linked (indirectly).


[NPE] Filter Crash

Issue description:
Relates to: https://github.com/Darkosto/SevTech-Ages/issues/2166
When trying to put an item into the Filter is causing the game to crash with the following report.
https://gist.github.com/Muddr/5d7fbaaca10eb6d48c28a590d25c39ce
Steps to reproduce:
See the linked issue for more details.
Versions:

Minecraft: 1.12.2
Forge: <IP_ADDRESS>76
McJtyLib: 2.6.7
RFTools: 7.33

Looks this was reported for older MC versions and fixed but never reported for 1.12.2

Looks this was reported for older MC versions and fixed but never reported for 1.12.2

It was? Where?

#745 was a similar crash reported for 1.10. Regardless of the other issue, tho this is a problem for a large number of my users on SevTech. We're hoping this one can be solved in the next day to push with the next major to SevTech: Ages.

Also, were you holding the filter in question in your main hand when this happened? If not, where were you holding it?

If you look at the tagged issue all the information is there. Including a video showing the crash.

The 1.10 one is too different. Please provide the information from your 1.12 instance.

I'm not the reporter, but I just ran into the same issue. MC version 1.12.2. Holding the filter in my main hand. Attempted to put the Astral Sorcery Marble in. When I did so it proceeded to crash,

@josephcsible the pack is not 1.10 it's 1.12 I develop that pack. I don't understand what more data you need from the issue I linked from my pack repo.

Ah, sorry, I thought you were referring to the issue you linked in your second post, not your original post. Looking at it now.

Where are you getting the storage filter? Crafting it, the creative inventory, /give, or something else?

I can try an ascertain, but ti would have to be have been crafted as user has no creative access, this about as much as i can inform since the issue was quite some time ago now.


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1751

Questions ?
Please refer to the Backport tool documentation


Fix xps file opening

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

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

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
51

Relevant Lines:
51

💛  - Coveralls


Fix handling of WantAssertionsSigned and do not allow unsigned assertions (master)

Same as #1321, but for master.

Can you sync with master? Thanks

@papegaaij 	So sorry about the extra trouble; would you mind rebasing your pull request once more?


[SPARK-27831][FOLLOWUP][SQL][TEST] ADDITIONAL_REMOTE_REPOSITORIES is a comma-delimited string

What changes were proposed in this pull request?
This PR is a very minor follow-up to become robust because spark.sql.additionalRemoteRepositories is a configuration which has a comma-separated value.
Why are the changes needed?
This makes sure that getHiveContribJar will not fail on the configuration changes.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manual. Change the default value with multiple repositories and run the following.
build/sbt -Phive "project hive" "test-only org.apache.spark.sql.hive.HiveSparkSubmitSuite"

Hi, @wangyum .
Could you review this, please?

Merged build finished. Test PASSed.

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

Test build #111978 has started for PR 26096 at commit a32a8cf.

Merged build finished. Test PASSed.

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

Test build #111978 has finished for PR 26096 at commit a32a8cf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Could you review this once more, @wangyum ?

Merged to master.

Thank you for review and merging, @wangyum ! 😄


Summary list passthrough

When action is successfully passed is it possible to log summary list of licenses like shown in example?

I've now added support for this in 1.0.1. Note that the default behavior is no output if all licenses are OK. I've now added the overall summary before doing the actual check.
Will close as a result. Please re-open if needed.
https://github.com/mikaelvesavuori/license-compliance-action/releases/tag/v1.0.1


newest C# extension does not works (v2.0.328)

Environment data
dotnet --info output:
.NET SDK:
Version:   7.0.202
Commit:    6c74320bc3
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19045
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\7.0.202\
Host:
Version:      7.0.4
Architecture: x64
Commit:       0a396acafe
.NET SDKs installed:
7.0.202 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
VS Code version:
Version: 1.81.0 (user setup)
Commit: 6445d93c81ebe42c4cbd7a60712e0b17d9463e97
Date: 2023-08-02T12:37:13.485Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
C# Extension version:
v2.0.328
Steps to reproduce

install C# extension v2.0.328 it newest
update .net
and make C# hello world application
See error

Expected  behavior
vs code should behave like visual studio with this extension for example type "console." should be that little window that shows suggestions specific for C#
Actual behavior
and there is none of that also if error has made it wont be highlighted
Additional context
it might be my mistake but i don't think so please check it out and fix it
thanks

Same Issue with me, looking at the log, there is something wrong happening
I have the same issue using the VSCode C# extension
Dotnet path: /Users/alex/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.9/dotnet
Activating C# standalone...
info: LanguageServerHost[0]
      Starting server...
No .NET SDKs were found.

Download a .NET SDK:
https://aka.ms/dotnet/download

Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
[Error - 9:46:18 PM] [LanguageServerHost]System.InvalidOperationException: Failed to find an appropriate version of .NET Core MSBuild. Call to hostfxr_resolve_sdk2 failed. There may be more details in stderr.
   at Microsoft.Build.Locator.DotNetSdkLocationHelper.GetDotNetBasePaths(String workingDirectory)+MoveNext()
   at Microsoft.Build.Locator.DotNetSdkLocationHelper.GetInstances(String workingDirectory)+MoveNext()
   at Microsoft.Build.Locator.MSBuildLocator.GetInstances(VisualStudioInstanceQueryOptions options)+MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.TryEnsureMSBuildLoadedAsync(String workingDirectory) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 119
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.OpenSolutionAsync(String solutionFilePath) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 79
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`3.StartRequestAsync(TRequestContext context, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 136

dotnet --info:
.NET SDK:
 Version:   7.0.305
 Commit:    98e1b6c381

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  13.1
 OS Platform: Darwin
 RID:         osx.13-arm64
 Base Path:   /usr/local/share/dotnet/sdk/7.0.305/

Host:
  Version:      7.0.8
  Architecture: arm64
  Commit:       4b0550942d

.NET SDKs installed:
  6.0.411 [/usr/local/share/dotnet/sdk]
  7.0.302 [/usr/local/share/dotnet/sdk]
  7.0.305 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.19 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.19 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  x64   [/usr/local/share/dotnet/x64]
    registered at [/etc/dotnet/install_location_x64]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

echo $PATH | grep dotnet
/usr/local/share/dotnet/sdk/7.0.305
/usr/local/share/dotnet/dotnet
/usr/local/share/dotnet/dotnet
/usr/local/share/dotnet
~/.dotnet/tools
/Users/alex/.dotnet/tools
/Users/alex/.dotnet/tools

I am seeing the same on v2.x on MacOS. Extension is basically braindead and cannot do anything. Unlike others I am not seeing No .NET SDKs were found. it is just hanging on Starting server.... I am running a Unity project so it should be using mono anyway. Can't see any Omnisharp:  commands in command palette, C# syntax is not even highlighted properly. It's basically as if the extension is not even installed. Downgrading to 1.26.0 is working for me. Happy to provide whatever output from commands if-needed.

Probably dupe of https://github.com/dotnet/vscode-csharp/issues/6024

Currently the 2.x version C# extension alone isn't able to load unity projects.   We're working on it (see https://github.com/dotnet/vscode-csharp/issues/5721), but in the meantime there are a few different workarounds you can use.

If you're able to use C# devkit, we recommend using the unity extension as described here - https://devblogs.microsoft.com/visualstudio/announcing-the-unity-extension-for-visual-studio-code/#getting-started-with-the-unity-extension
Get the old O# behavior back via dotnet.server.UseOmnisharp
Downgrade to a 1.x version of the extension.

@Akronae I've created #6063 for your issue; as best I can tell that's not being reported elsewhere and I don't want to lose that in the conversation. The other reports here are sounding more like this is a dupe of #5923.

I'm going to close this as a duplicate of #5923; @demetrebadzaradze an update should be going out later this week, if you're still seeing issues then feel free to reactivate this and include the C# output window logs and we can take a look further.


sisl::blob const correctness

sisl::blob is a POD structure with no protection with the bytes pointer. As a result, even if the blob is passed around as const reference or const, it is still mutable. Also while constructing the blob, the user has to do ugly and unsafe const_cast, just to form the sisl::blob from a const uint8_t*.
This PR basically makes the bytes and size as protected variable and consumer has to use accessor methods and it does const check (though dynamically on debug builds only).

Codecov Report

Merging #192 (05a0e34) into master (daf049a) will decrease coverage by 0.74%.
The diff coverage is 58.49%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
- Coverage   64.17%   63.43%   -0.74%
==========================================
  Files          71       71
  Lines        4326     4332       +6
  Branches      545      545
==========================================
- Hits         2776     2748      -28
- Misses       1307     1339      +32
- Partials      243      245       +2

Components
Coverage Δ

AuthManager
77.77% <ø> (ø)

Cache
23.54% <ø> (-4.90%)
:arrow_down:

FDS
70.41% <58.49%> (-0.53%)
:arrow_down:

FileWatcher
55.90% <ø> (ø)

Flip
65.67% <ø> (ø)

gRPC
77.66% <ø> (ø)

Logging
29.33% <ø> (ø)

Metrics
80.54% <ø> (ø)

Options
100.00% <ø> (ø)

Setting
56.79% <ø> (ø)

StatusObject
73.83% <ø> (ø)

Utility
83.66% <ø> (ø)

Version
95.83% <ø> (ø)


"Cannot activate" in sequenceDiagram

Thank for your software that help me a lot!
Some times ago, I noticed that I can't "activate" an object, it show "transparent wide vertical line".

I found that I need to use "deactivate" to make it pair to draw that "activate status vertical line"...

I found that I need to use "deactivate" to make it pair to draw that "activate status vertical line"...

Thanks for following up with the solution.  Ran into this same issue.


Feature request: Make the Docker image multi-platform

Hi,
I'd like to request to make the Docker image multi-platform.
Currently https://hub.docker.com/r/dfam/tetools/tags are only for linux/amd64.
Could you please add linux/arm64 to the supported platforms ?
The task should be (relatively) easy by using docker buildx instead of docker build. I'd be glad to help if the feature is approved!
Thank you!

This answer is long overdue, but in case anyone still cares, we unfortunately cannot build the current version of TETools for arm64. We don't maintain all of the included tools, and at least one of those (HMMER) won't compile for arm64 systems.
I think the best option might be to fork/clone the repo, modify the Dockerfile to only include the tools you need, and try to build it yourself, but I also can't guarantee that everything you include will be compatible.
It's possible that the tools we include will change in the future, but for now I'll close this issue.

Oh thanks for the heads up. Reopening this issue.

It looks like the the last dependency blocking a full arm64 built is NINJA. It's only required to run RepeatModeler, but it doesn't look like there are plans for it to be updated to arm64 in the new future.
This Issue presents a possible solution, but we don't have the bandwidth at present to work on it.

I've pushed out a new multi-platform version of TETools to DockerHub, starting from version 1.88.5. There should be no other changes between 1.88 and 1.88.5 other than platform compatibility. That said, please report any issues, since we are not able to test the arm64 image directly.

Hi @gancho-ivanov (and others).  We do not have a satisfactory build for ARM64 yet and I am not sure we have the time to work on this.  The current Dockerfile installs pre-compiled binaries for two packages (RMBlast and UCSC Tools) and therefore we would need to generate cross-compiled ARM64 binary equivalents, or encode the compilation in the Dockerfile itself.  The NCBI Blast (RMBlast) compilation is super long (even using multi-threaded builds) and I am sure buildX would take forever to build this.  If you know of a simpler way to handle this and test it, please let us know.   I am going to leave this open as wished-for-feature and we will try to get back to it when we can.


go build 失败

go get -u github.com/bilibili/kratos/tool/kratos
cd $GOPATH/src
kratos new kratos-demo
cd $GOPATH/src/kratos-demo/cmd
go build
失败
../../github.com/bilibili/kratos/pkg/conf/paladin/toml.go:8:2: cannot find package "github.com/BurntSushi/toml" in any of:
	/usr/local/go/src/github.com/BurntSushi/toml (from $GOROOT)
	/root/go/src/github.com/BurntSushi/toml (from $GOPATH)
../../github.com/bilibili/kratos/pkg/conf/paladin/file.go:14:2: cannot find package "github.com/fsnotify/fsnotify" in any of:
	/usr/local/go/src/github.com/fsnotify/fsnotify (from $GOROOT)
	/root/go/src/github.com/fsnotify/fsnotify (from $GOPATH)
../../github.com/bilibili/kratos/pkg/database/sql/mysql.go:10:2: cannot find package "github.com/go-sql-driver/mysql" in any of:
	/usr/local/go/src/github.com/go-sql-driver/mysql (from $GOROOT)
	/root/go/src/github.com/go-sql-driver/mysql (from $GOPATH)
../../github.com/bilibili/kratos/pkg/net/http/blademaster/render/protobuf.go:6:2: cannot find package "github.com/gogo/protobuf/proto" in any of:
	/usr/local/go/src/github.com/gogo/protobuf/proto (from $GOROOT)
	/root/go/src/github.com/gogo/protobuf/proto (from $GOPATH)
../../github.com/bilibili/kratos/pkg/net/http/blademaster/render/render.pb.go:18:8: cannot find package "github.com/gogo/protobuf/types" in any of:
	/usr/local/go/src/github.com/gogo/protobuf/types (from $GOROOT)
	/root/go/src/github.com/gogo/protobuf/types (from $GOPATH)
../../github.com/bilibili/kratos/pkg/net/trace/proto/span.pb.go:6:8: cannot find package "github.com/golang/protobuf/proto" in any of:
	/usr/local/go/src/github.com/golang/protobuf/proto (from $GOROOT)
	/root/go/src/github.com/golang/protobuf/proto (from $GOPATH)
../../github.com/bilibili/kratos/pkg/ecode/status.go:9:2: cannot find package "github.com/golang/protobuf/ptypes" in any of:
	/usr/local/go/src/github.com/golang/protobuf/ptypes (from $GOROOT)
	/root/go/src/github.com/golang/protobuf/ptypes (from $GOPATH)
../../github.com/bilibili/kratos/pkg/ecode/types/status.pb.go:9:8: cannot find package "github.com/golang/protobuf/ptypes/any" in any of:
	/usr/local/go/src/github.com/golang/protobuf/ptypes/any (from $GOROOT)
	/root/go/src/github.com/golang/protobuf/ptypes/any (from $GOPATH)
../../github.com/bilibili/kratos/pkg/net/trace/proto/span.pb.go:9:8: cannot find package "github.com/golang/protobuf/ptypes/duration" in any of:
	/usr/local/go/src/github.com/golang/protobuf/ptypes/duration (from $GOROOT)
	/root/go/src/github.com/golang/protobuf/ptypes/duration (from $GOPATH)
../../github.com/bilibili/kratos/pkg/net/trace/proto/span.pb.go:10:8: cannot find package "github.com/golang/protobuf/ptypes/timestamp" in any of:
	/usr/local/go/src/github.com/golang/protobuf/ptypes/timestamp (from $GOROOT)
	/root/go/src/github.com/golang/protobuf/ptypes/timestamp (from $GOPATH)
../../github.com/bilibili/kratos/pkg/net/trace/config.go:9:2: cannot find package "github.com/pkg/errors" in any of:
	/usr/local/go/src/github.com/pkg/errors (from $GOROOT)
	/root/go/src/github.com/pkg/errors (from $GOPATH)
../../github.com/bilibili/kratos/pkg/stat/prom/prometheus.go:8:2: cannot find package "github.com/prometheus/client_golang/prometheus" in any of:
	/usr/local/go/src/github.com/prometheus/client_golang/prometheus (from $GOROOT)
	/root/go/src/github.com/prometheus/client_golang/prometheus (from $GOPATH)
../../github.com/bilibili/kratos/pkg/net/http/blademaster/prometheus.go:4:2: cannot find package "github.com/prometheus/client_golang/prometheus/promhttp" in any of:
	/usr/local/go/src/github.com/prometheus/client_golang/prometheus/promhttp (from $GOROOT)
	/root/go/src/github.com/prometheus/client_golang/prometheus/promhttp (from $GOPATH)
../../github.com/bilibili/kratos/pkg/net/trace/propagation.go:7:2: cannot find package "google.golang.org/grpc/metadata" in any of:
	/usr/local/go/src/google.golang.org/grpc/metadata (from $GOROOT)
	/root/go/src/google.golang.org/grpc/metadata (from $GOPATH)
../../github.com/bilibili/kratos/pkg/conf/dsn/dsn.go:8:2: cannot find package "gopkg.in/go-playground/validator.v9" in any of:
	/usr/local/go/src/gopkg.in/go-playground/validator.v9 (from $GOROOT)
	/root/go/src/gopkg.in/go-playground/validator.v9 (from $GOPATH)

go version 为1.12.4

应该是没启用gomod，可以export GO111MODULE=on启用一下试试

# crypto/rc4
/usr/local/go/src/crypto/rc4/rc4_asm.go:15:18: (*Cipher).XORKeyStream redeclared in this block
        previous declaration at /usr/local/go/src/crypto/rc4/rc4.go:61:6
# bytes
/usr/local/go/src/bytes/bytes_decl.go:10:6: IndexByte redeclared in this block
        previous declaration at /usr/local/go/src/bytes/bytes.go:101:34
/usr/local/go/src/bytes/bytes_decl.go:17:6: Equal redeclared in this block
        previous declaration at /usr/local/go/src/bytes/bytes.go:18:25
/usr/local/go/src/bytes/bytes_decl.go:24:6: Compare redeclared in this block
        previous declaration at /usr/local/go/src/bytes/bytes.go:37:27
# strings
/usr/local/go/src/strings/strings_decl.go:8:6: IndexByte redeclared in this block
        previous declaration at /usr/local/go/src/strings/strings.go:150:34
# crypto/cipher
/usr/local/go/src/crypto/cipher/xor_amd64.go:9:6: xorBytes redeclared in this block
        previous declaration at /usr/local/go/src/crypto/cipher/xor.go:58:33
/usr/local/go/src/crypto/cipher/xor_amd64.go:22:6: xorWords redeclared in this block
        previous declaration at /usr/local/go/src/crypto/cipher/xor.go:83:27

@tonyboxes 在README更新下需要Requirements，go版本，go mod，protoc 等


feat(iOS): run create and display notification in background thread

Thank you for this great library!
This pr is to not block the ui thread on iOS when sending attachments that needs to be downloaded before sending the notification. We experienced this and found #234 describing exactly the issue we had.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

thank you for the contribution, much appreciated.


PR for issue #127: Make current locale accessible

Pull request for #127.
If it's accepted, i'll remove the locale variable in my pebble-spring3 pull request (https://github.com/mbosecke/pebble-spring3/pull/5)

Thanks for the pull request. I didn't merge this directly but I just pushed commit #4862f9d which is pretty much exactly the same with two small differences:

"locale" variable is inserted into context before the global variables from the user-provided extensions. This allows users to override it for whatever reason.
Also added a "template" global variable which references the template itself. Users can use this to get the template name via "template.name" which has been requested in the past.


chore: release 1.6.2

:robot: I have created a release *beep* *boop*
1.6.2 (2021-07-02)
Bug Fixes

adjust image tag for secondary charts (d846422), closes #338
helm chart email (9f0e56b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/GluuFederation/cloud-native-edition/releases/tag/v1.6.2 :sunflower:


UK Pass not verified

Attaching pass and a link to public keys
Coronavirus (COVID-19) records.pdf
https://covid-status.service.nhsx.nhs.uk/pubkeys/keys.json

The data encoded by the QR code must start with the magic number 'HC1:' in order to be a EU compatible DCC. The attached QR code does not.


Increase Maintainability

What does this PR do / why we need it:

Enables stricter typescript checking (This will help with maintainability in the long run)
Updates cypress to the latest version (8.3.0)
Moves the @types, components and utils folder under src to have a single entry point
Updated the components structure to allow multiple imports from a single source
Updated the components hierarchy to allow for a better naming schema
Added the devfile starter projects and devfile YAML for devfile samples
Changed the devfile logo to be an absolute size
Changed the devfile tile
Change the local type to local instead of stacks
Updated header

Fixes
https://github.com/devfile/api/issues/578
https://github.com/devfile/api/issues/595
https://github.com/devfile/api/issues/579
https://github.com/devfile/api/issues/573
https://github.com/devfile/api/issues/582

Footer is WIP otherwise everything else is ready for review

The footer is still WIP


More beginner-friendly discussion of metrics

The current metrics Wiki page is too detail-heavy.  That page should be broken down into, roughly:

What metrics get created during the execution of commands?
How can I consume metrics in realtime?
How can I store metrics for later, offline analysis?
What problems can the metrics help solve?

Hi Matt,
I would like to contribute in this.

That would be great - I appreciate it!  I'll have some time next week to start adding the outline similar to above, and they we can collaborate on it

Sounds great

@mattrjacobs : any updates?

stop
Date: Thu, 25 Aug 2016 11:39:00 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Re: [Netflix/Hystrix] More beginner-friendly discussion of metrics (#1318)
@mattrjacobs : any updates?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Not yet.  Got busy with other things.  Will try to make some time for this next week

@mattrjacobs : Sounds good to me. Let me know if you need extra set of hands in there.


Fixed class loader

The class loader is a nasty bit of code dependent on a rather unpleasant data structure. There's no need to use Resolve-Path if there are no wildcards, it's been taken out leaving Test-Path.
This should allow the new unit tests to test the class implementation.

Actually I was thinking about dropping the classes.psd1, however I'm not too sure what's the best to manage the ordering and keeping it DRY.
(same problem, I want to be able to load the module in dev without build/compile).


Spark config parameters not passed to the driver

Hi,
I'm having problems launching Spark jobs in Mantl (1.0.3, running in Vagrant). It all works fine when using this particular Spark build: http://pele.farmbio.uu.se/spark-mantl/spark-mantl-1.6.0.tgz. However, I'd like to run some code that uses a HiveContext instead of a SQLContext, which is not supported by the build mentioned above. So I downloaded the Spark (1.6.0) source code and made my own build with:
./make-distribution.sh --name hadoop-2.4-hive --tgz -Phadoop-2.4 -Dhadoop.version=2.4.0 -Phive -Phive-thriftserver

I started the cluster dispatcher with Mantl API, using the following command:
curl https://<IP_ADDRESS>/api/1/install -u admin:password -X POST -d "{\"name\": \"spark\"}" -k

Then, I tried to launch the job from within one of my worker nodes using the spark-submit command, but it seems that whatever parameters I set in $SPARK_HOME/conf/spark-defaults.conf are being dropped before reaching my Spark driver. In particular, my spark.mesos.principal and spark.mesos.secret parameters are not passed to my driver, resulting in the following error:
...
I0607 19:06:05.863528 19562 sched.cpp:272] No credentials provided. Attempting to register without authentication
I0607 19:06:05.876974 19562 sched.cpp:1024] Got error 'Framework at scheduler-dad6521d-694e-458e-9362-900da93e463d@<IP_ADDRESS>:46062 is not authenticated'
I0607 19:06:05.877010 19562 sched.cpp:1805] Asked to abort the driver
16/06/07 19:06:05 ERROR CoarseMesosSchedulerBackend: Mesos error: Framework at scheduler-dad6521d-694e-458e-9362-900da93e463d@<IP_ADDRESS>:46062 is not authenticated
Exception in thread "Thread-26" org.apache.spark.SparkException: Exiting due to error from cluster scheduler: Framework at scheduler-dad6521d-694e-458e-9362-900da93e463d@<IP_ADDRESS>:46062 is not authenticated
	at org.apache.spark.scheduler.TaskSchedulerImpl.error(TaskSchedulerImpl.scala:438)
	at org.apache.spark.scheduler.cluster.mesos.CoarseMesosSchedulerBackend.error(CoarseMesosSchedulerBackend.scala:363)
I0607 19:06:05.891727 19562 sched.cpp:1805] Asked to abort the driver
I0607 19:06:05.891882 19562 sched.cpp:1070] Aborting framework ''
16/06/07 19:06:05 INFO CoarseMesosSchedulerBackend: driver.run() returned with code DRIVER_ABORTED
...

Note that if I disable Mesos framework authentication, other parameters set in $SPARK_HOME/conf/spark-defaults.conf are still not visible to my Spark driver.
This is the command I'm using to launch the job (in this case, the SparkPi example):
$SPARK_HOME/bin/spark-submit \
--name SparkPiTestApp \
--class org.apache.spark.examples.SparkPi \
--master mesos://$MASTER:$HOST \
--deploy-mode cluster \
--properties-file $SPARK_HOME/conf/spark-defaults.conf \
--driver-cores 1 \
--driver-memory 512M \
--total-executor-cores 1 \
--executor-memory 512M \
--verbose \
$PATH_TO_JAR \
100

Has anyone else encountered this issue before?

After some more research I found this: https://issues.apache.org/jira/browse/SPARK-13258
As suggested, I passed my Mesos credentials and other config parameters via a SPARK_JAVA_OPTS environment variable set in $SPARK_HOME/conf/spark-env.sh and was able to run the SparkPi example successfully using my own Spark build.
SPARK_JAVA_OPTS="-Dspark.mesos.principal=mantl-api -Dspark.mesos.secret=<insert-secret-here>"

@sophiecollard I'm glad you got it working! Is there something we could improve in Mantl, or should we close this as an upstream bug?

@siddharthist This seems to be an issue with Spark rather than Mantl. I think this can be closed.


API server: fixed CORS header

Added a CORS header to fix the JavaScript error Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.

Coverage increased (+0.001%) to 79.514% when pulling 542e7bf7c29f06552d7ced662d38a75151bb43fe on cors-fix into d40553b9d2d66ac5556054f6b5c3087c40de236f on development.