Fastlane install fails

New Issue Checklist

[ ] Updated fastlane to the latest version

Issue Description
I simply try to install fastlane
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

sudo gem install fastlane
Password:
Building native extensions.  This could take a while...
ERROR:  Error installing fastlane:
ERROR: Failed to build gem native extension.
current directory: /Applications/MAMP/Library/lib/ruby/gems/2.3.0/gems/unf_ext-<IP_ADDRESS>/ext/unf_ext

/Applications/MAMP/Library/bin/ruby -r ./siteconf20161104-37131-4cxk9m.rb extconf.rb
checking for main() in -lstdc++... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Applications/MAMP/Library/bin/$(RUBY_BASE_NAME)
--with-static-libstdc++
--without-static-libstdc++
--with-stdc++lib
--without-stdc++lib
/Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:456:in try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. 	from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:541:in try_link0'
from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:556:in try_link' 	from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:765:in try_func'
from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:997:in block in have_library' 	from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:942:in block in checking_for'
from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:350:in block (2 levels) in postpone' 	from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:350:in block in postpone' 	from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:320:in open'
from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:346:in postpone' 	from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:941:in checking_for'
from /Applications/MAMP/Library/lib/ruby/2.3.0/mkmf.rb:992:in have_library' 	from extconf.rb:6:in '
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Applications/MAMP/Library/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-13/2.3.0-static/unf_ext-<IP_ADDRESS>/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /Applications/MAMP/Library/lib/ruby/gems/2.3.0/gems/unf_ext-<IP_ADDRESS> for inspection.
Results logged to /Applications/MAMP/Library/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-13/2.3.0-static/unf_ext-<IP_ADDRESS>/gem_make.out

it seems - that you use the ruby from your MAMP installation.
can you post your $PATH
echo $PATH

do you use rbenv or rvm? - i think the path of rvm/rbenv should be prepended to $PATH so gem and ruby et-all will be used from there not from MAMP.

Thanks... That was the case...
I resorted the PATH and everything works fine.


Smee connection errors are unclear

I had the following set in my .env:
WEBHOOK_PROXY_URL=https:/smee.io/CHANNEL

It'll take you a minute to find the problem (took me 2 days) but there's only one / in https://. This resulted in a stream of errors from Probot, spamming my terminal as it tried to reconnect:
03:13:42.044Z ERROR probot:  (type=error)

I would love to add a better error message here. Might even be part of #434, but since this is a brand new error I wanted to surface it in an issue.

@JasonEtco , It seems this error is generating from the smee-client. Isn't it better if we could do a url validation at the first place? In the probot itself.

smee-client should return a useful error, which would ideally bubble up to Probot's error handler.

That makes sense. Thank you for the clarification.

@JasonEtco Can i work on this issue?

@aryannarora go for it! I'm not sure where the best place to start is - either reproducing the error in a Probot app and trying to dig up where the error comes from in the code, or trying to resolve it in probot/smee. Let me know if you have any questions!

It appears that the error is in "node_modules/lib/probot/webhook-proxy.js" .
I added a url checker in that and it works just fine. Should i open a PR?

I added a url checker in that and it works just fine.

What kind of error was being output? We can figure that out in the PR, but I'd like to make sure that a malformed URL is followed by a descriptive error message.

Should i open a PR?

Absolutely 👌

Something like this?
Opening a PR.

Moved this over to https://github.com/probot/smee/issues/43


chore: set fsType to ext4 in supported storage classes

Reason for Change:
It seems that the default value of fsGroupPolicy of CSIDriver resources (ReadWriteOnceWithFSType) requires storage classes to explicitly define their fsType to successfully modify PV permissions when required.
This PR explicitly set fsType to its default ext4.
Issue Fixed:
Related to #67
Credit Where Due:
Does this change contain code from or inspired by another project?

[ ] No
[ ] Yes

If "Yes," did you notify that project's maintainers and provide attribution?

[ ] No
[ ] Yes

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Notes:

/azp run

@jadarsie I've added more details specific to this use-case here - https://github.com/Azure/aks-engine-azurestack/issues/72
If we create a new storage class in Azure Stack Hub without using this parameter "fsType: ext4" then we will face the same issue. As it's not specific to one storage class or default storage class.
It's all about CSIDriver, so change/update should be at CSIDriver level.
With my little knowledge I am saying, the solution for this is to have this parameter "fsGroupPolicy: File" in CSIDriver. Then we don't need to worry about this parameter "fsType: ext4" in storageclass.


Support for adding daemon schedular

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html#service_scheduler

I can tell you the CloudFormation team is actively working on this coverage, but I don't have an ETA I can share.  I'll try to remember to update here when it's released.

Thank you very much for response

https://github.com/cloudtools/troposphere/pull/1150 covers this issue.


children

I'm trying to convert the React components of the elastic-search UI framework to use in a svelte app. Several of the components need the children passed as a function to the parent component. I don't want to change the code of the elastic search components. The specific place I'm stuck is the WithSearch component shown below. Can you point me at an example of passing child html components to a React parent or suggest how I pass SearchBox children to WithSearch after I've done: const react = sveltify({ SearchBox, WithSearch, SearchProvider });  instead of using the function the way it's done in this React code? I thought it was with an array of snippets but I can't see how to make that work.
  <**WithSearch** mapContextToProps={({ wasSearched }) => ({ wasSearched })}>
    {({ wasSearched }) => {
      return (

          <ErrorBoundary>
            <Layout
              header={
                <**SearchBox**
                  autocompleteMinimumCharacters={3}
                  autocompleteResults={{
                    linkTarget: "_blank",
                    sectionTitle: "Results",
                    titleField: "title",
                    urlField: "url",
                    shouldTrackClickThrough: true
                  }}
                  autocompleteSuggestions={true}
                  debounceLength={0}
                />
              }
              sideContent={

                  {wasSearched && <Sorting label={"Sort by"} sortOptions={[]} />}
                  <Facet key={"1"} field={"genre.keyword"} label={"genre"} />
                  <Facet key={"2"} field={"actors.keyword"} label={"actors"} />
                  <Facet key={"3"} field={"directors.keyword"} label={"directors"} />
                  <Facet key={"4"} field={"released"} label={"released"} />
                  <Facet key={"4"} field={"imdbRating"} label={"imdb rating"} />

              }
              bodyContent={<Results shouldTrackClickThrough={true} />}
              bodyHeader={
                <React.Fragment>
                  {wasSearched && <PagingInfo />}
                  {wasSearched && <ResultsPerPage />}
                </React.Fragment>
              }
              bodyFooter={<Paging />}
            />
          </ErrorBoundary>

      );
    }}
  </WithSearch>

In version 2.0.2, when using the children attribute, the value is passed directly to the React component:
The following React code:
<WithSearch
  mapContextToProps={({ wasSearched }) => ({ wasSearched })}
>
  {({ wasSearched }) =>

</WithSearch>

Can now be written in Svelte as:
<react.WithSearch
  mapContextToProps={({ wasSearched }) => ({ wasSearched })}
  children={({ wasSearched }) => createElement("div", { className: "App" })}
/>

Note that aside from the children attribute the JSX is written using createElement notation.
Not ideal, maybe the preprocessor can do something smarter with snippets in the future.

I upgraded to 2.0.2. For this code:
`<react.SearchProvider config={config}>
  <react.WithSearch
    mapContextToProps={({ wasSearched }: any) => ({ wasSearched })}
    children={({ wasSearched }:any) => createElement("div", { className: "App" })}
  />
</react.SearchProvider>`

I get this error from the 'children='. Am I supposed to be creating a Snippet somewhere?
 `Type '({ wasSearched }: any) => React.DetailedReactHTMLElement<{ className: string; }, HTMLElement>' is not assignable to type 'Snippet<[]>'.
Target signature provides too few arguments. Expected 1 or more, but got 0.ts(2322)`

No, React doesn't understand Snippets, are you still using const react = sveltify({ WithSearch }); ?
(The typing did work on my machine in src/routes/render-prop/+page.svelte )
But could be I'm missing some Typescript config in the published package.json, wrap the children into an ( ...code... ) as any for now.

Yes I'm still doing react = sveltify({ WithSearch });
I still get the error. Is it perhaps because your 'Search' in src/routes/render-prop/+page.svelte is a real svelte component and the WithSearch I'm trying to use is some kind of "a Higher Order Component that wraps a component and injects state and actions from Search UI, effectively connecting it to Search UI", see: https://github.com/elastic/search-ui/blob/main/packages/react-search-ui/src/withSearch.tsx.
Do I need to make it into a svelte component that I then reference as children?

I've experimented with elastic-search and I suggest creating a React component named SearchPage:
// SearchPage.tsx
export default function SearchPage() {
  return (
    <SearchProvider config={config}>
      <WithSearch
        mapContextToProps={({ wasSearched }) => ({
          wasSearched,
        })}
      >
        {({ wasSearched }) => {
          return (

            ...

which you can then use inside your Svelte application:

<react.SearchPage />

This allows using the provided React components from elastic-search inside SearchPage without the caveats that are caused by the svelte bridges or limitation of no JSX in a svelte file.
And where you want something custom, you can use svelte components inside the SearchPage.tsx by converting them to react components:
import { reactify } from "svelte-preprocess-react";
import MyComponentSvelte from "./MyComponent.svelte";
const MyComponent = reactify(MyComponentSvelte);

Thanks for all this help. As someone who knows almost nothing about React I would have never gotten this close without it.
Were/are you able to add a SearchBox under the WithSearch, see: https://www.elastic.co/docs/current/search-ui/api/react/components/search-box? When I do that in the SearchPage component I get the type checking error below. I don't know if I'm doing something dumb with the configuration or if it's a problem with React-Svelte integration.
Type '{ autocompleteResults: { sectionTitle: string; titleField: string; urlField: string; }; autocompleteSuggestions: { sectionTitle: string; }; autocompletedResults: never[]; autocompletedSuggestions: AutocompletedSuggestions; autocompleteView: ({ autocompletedResults }: SearchBoxAutocompleteViewProps) => Element; input...' is missing the following properties from type '{ allAutocompletedItemsCount: number; autocompletedSuggestionsCount: any; completeSuggestion: (searchQuery: string) => void; isFocused: boolean; notifyAutocompleteSelected: (selection: any) => void; ... 5 more ...; inputProps: any; }': allAutocompletedItemsCount, autocompletedSuggestionsCount, completeSuggestion, isFocused, and 7 more.ts(2740)
The following is my full SearchPage component. It should be possible to add a SearchBox with none of the extra configurations but I was trying to see if adding everything helped.
// SearchPage.tsx
import React from 'react'; // {{ edit_1 }}
import  ElasticsearchAPIConnector  from "@elastic/search-ui-elasticsearch-connector";

import {
  ErrorBoundary,
  SearchProvider,
  WithSearch,
} from "@elastic/react-search-ui";
import { Layout, SearchBox } from '@elastic/react-search-ui-views';
import type { AutocompletedSuggestions } from '@elastic/search-ui';

const connector = new ElasticsearchAPIConnector({
  host: "http://localhost:9200",
  index: "my-example-movies",
  apiKey: "WmkzQjJaSUJwLTZxVDIwRk5OM2o6bzhFNHg1OTBURXlSd1hMNVRFaFNhQQ=="
});

const config = {
  searchQuery: {
    search_fields: {
      title: {
        weight: 3
      },
      plot: {},
      genre: {},
      actors: {},
      directors: {}
    },
    result_fields: {
      title: {
        snippet: {}
      },
      plot: {
        snippet: {}
      }
    },
    disjunctiveFacets: ["genre.keyword", "actors.keyword", "directors.keyword"],
    facets: {
      "genre.keyword": { type: "value" },
      "actors.keyword": { type: "value" },
      "directors.keyword": { type: "value" },
      released: {
        type: "range",
        ranges: [
          {
            from: "2012-04-07T14:40:04.821Z",
            name: "Within the last 10 years"
          },
          {
            from: "1962-04-07T14:40:04.821Z",
            to: "2012-04-07T14:40:04.821Z",
            name: "10 - 50 years ago"
          },
          {
            to: "1962-04-07T14:40:04.821Z",
            name: "More than 50 years ago"
          }
        ]
      },
      imdbRating: {
        type: "range",
        ranges: [
          { from: 1, to: 3, name: "Pants" },
          { from: 3, to: 6, name: "Mediocre" },
          { from: 6, to: 8, name: "Pretty Good" },
          { from: 8, to: 10, name: "Excellent" }
        ]
      }
    }
  },
  autocompleteQuery: {
    results: {
      resultsPerPage: 5,
      search_fields: {
        "title.suggest": {
          weight: 3
        }
      },
      result_fields: {
        title: {
          snippet: {
            size: 100,
            fallback: true
          }
        },
        url: {
          raw: {}
        }
      }
    },
    suggestions: {
      types: {
        results: { fields: ["movie_completion"] }
      },
      size: 4
    }
  },
  apiConnector: connector,
  alwaysSearchOnInitialLoad: true
};

export default function SearchPage() {
  return (
    <SearchProvider config={config}>
      <WithSearch
        mapContextToProps={({ wasSearched }) => ({
          wasSearched,
        })}
      >
        {() => {
          return (

              <ErrorBoundary>
                <Layout
                  header={
                    <SearchBox
                      autocompleteResults={{
                        sectionTitle: "Suggested Results",
                        titleField: "title",
                        urlField: "nps_link"
                      }}
                      autocompleteSuggestions={{
                        sectionTitle: "Suggested Queries"
                      }}
                      autocompletedResults={[]}
                      autocompletedSuggestions={[] as unknown as AutocompletedSuggestions}
                      autocompleteView={({ autocompletedResults }) => (

                            {autocompletedResults.map((result, i) => (

                                Result {i}: {result.title.snippet}

                            ))}

                        )}
                      inputView={({ getAutocomplete, getInputProps, getButtonProps }) => (
                          <>

                              <input
                                {...getInputProps({
                                  placeholder: "I am a custom placeholder"
                                })}
                              />
                              {getAutocomplete()}

                            <input
                              {...getButtonProps({
                                "data-custom-attr": "some value"
                              })}
                            />
                          </>
                        )}
                    />
                  }
                  sideContent={

                  }
                  bodyContent={"hello"}
                  bodyHeader={"header"}
                  bodyFooter={"footer"}
                ></Layout>
              </ErrorBoundary>

          );
        }}
      </WithSearch>
    </SearchProvider>
  );
}

Don't waste your time looking at the error from my previous comment. After more carefully entering the search UI configuration I don't get that error anymore. Nothing displays on the page yet but it's a step forward.


Modelica.Electrical.Analog.Semiconductors.NMOS has wrong value for gds

Reported by jriel on 21 Mar 2012 21:57 UTC
The equation for gds (a leakage conductance, so value should be small) is
 gds = if (RDS < 1.e-20 and RDS > -1.e-20) then 1.e20 else 1/RDS;

The 1.e20 should be 1.e-20.
The same bug is in the PMOS model.

Migrated-From: https://trac.modelica.org/Modelica/ticket/716

Comment by jriel on 21 Mar 2012 22:00 UTC
It would probably be best to define a parameter, gdsmin, possibly protected, and use it rather than hard-coding the values.

Comment by anonymous on 21 Mar 2012 22:06 UTC
I am retracting this bug.  The equation is correct, since it is using RDS in the condition.  It is strange in that I doubt anyone will want to specify a leakage resistance anywhere close to 1e-20.  More typical is specifying a larger resistance.

Comment by dietmarw on 29 Mar 2012 19:07 UTC
OK closing as invalid based on reporters request.


⚠ ClamAV has degraded performance

In 2724838, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in f448c1f.


Use Docker to provide a better dev experience on macOS/Windows

Coverage remained the same at 100.0% when pulling 168e758d489639a75937614edbcaa8d799de94a0 on docker-dev into aa589f52e3307136b3feb1e8f2d3227e716e61b4 on master.


Move ts-proto to devDeps

Since you publish to NPM the generated folder, there is no good reason to download this lib which  brings 70MB of deps,

Hi @felixmosh, thanks for your PR. I used to intend to move ts-proto to devDeps, but as ts-proto is using protobufjs/minimal in deps. If we move to devDeps, this package will fail to use

So if you are dependent on it, put it into your deps ;)

As the PR #7, I think we can move ts-proto to devDeps with protobufjs as deps and I see the size of protobufjs is smaller than ts-proto.
Thank you very much for your contribution ❤


Required sharepoint access

The prerequisite for registering the app in sharepoint says you need to be site administrator.  I'm the site administrator but when I try to register I get the message "Sorry, only site collection administrators can add or give access to this app." on the page that displays after I try to create (the page asking if I trust the app).

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

ID: 8d9fd1db-042c-5f44-ee84-f1a9386fb3e3
Version Independent ID: 81cb2e37-a80c-a48a-68bd-1a03499119a7
Content: Copy data from SharePoint Online List - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/connector-sharepoint-online-list.md
Service: data-factory
Sub-service: data-movement
GitHub Login: @jianleishen
Microsoft Alias: jianleishen

Thanks for the question! We are taking a look into this and will get back to you soon.

I reached out to someone with collection administrator privileges and they were able to register the app.  The note regarding needed privileges may be inaccurate.  I have to say the remainder of this isn't super clear.  For example, localhost is used in for domain and call back and privilege xml.  Can those exact values be used or are there more realistic values that should be used?  It would be helpful to have an explanation of the values and realistic examples if something other than localhost is needed.
Thanks,
Jim
From: Svijay-msft @.>
Sent: Friday, January 14, 2022 3:38 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Heckman, Jim @.>; Author @.>
Subject: [EXTERNAL] Re: [MicrosoftDocs/azure-docs] Required sharepoint access (Issue #86396)
Thanks for the question! We are taking a look into this and will get back to you soon.

Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F86396%23issuecomment-1012916206&data=04|01|jim.heckman%40redcross.org|b7a8780b6b474f84bba208d9d73933dd|dd5b5d42c0d34ad2b5f160edb3af2771|0|0|637777462982284804|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Z%2Fba0rPJNUx27RsRn3gx9aOrNZ7C4WS3cmZmJiDwPIo%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABLNOVMKUZIRPDYHOLPK73LUV7OHJANCNFSM5L43QPKA&data=04|01|jim.heckman%40redcross.org|b7a8780b6b474f84bba208d9d73933dd|dd5b5d42c0d34ad2b5f160edb3af2771|0|0|637777462982284804|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=H02vBgf5lEoGTEXl%2BB1ActbWPmjgzciU%2FM1RqTKpQkU%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|jim.heckman%40redcross.org|b7a8780b6b474f84bba208d9d73933dd|dd5b5d42c0d34ad2b5f160edb3af2771|0|0|637777462982284804|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=DjJWvnrM0uaJxgPnzMdIL02LAc7kpruaV7X5MEMoZSw%3D&reserved=0 or Androidhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|jim.heckman%40redcross.org|b7a8780b6b474f84bba208d9d73933dd|dd5b5d42c0d34ad2b5f160edb3af2771|0|0|637777462982284804|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Feo3nZ1ssamwdXr5BvaW0FmahNgKh3BcLZsdECE54K4%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

@heckmanjim - Thanks for bringing this to our attention.
@jianleishen - Need your inputs.
I perform operation as Site Owner - I get the error.  Sorry, only site collection administrators can add or give access to this app.
Not sure whether there was an update at the Sharepoint end. Because - when I input permission as below as per documentation
<AppPermissionRequests AllowAppOnlyPolicy="true">
    <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Read"/>
</AppPermissionRequests>

However, when I remove AllowAppOnlyPolicy = "true"   - I don't encounter any issue. However, I think this may not meet the requirement - adf may not be able to function - as adf is reaching out to sharepoint online with app only context.
Is there any additional configuration I might be missing  ?

@heckmanjim - I have assigned the issue to the content author to review further and update the document as appropriate.

Thanks for your dedication to our documentation @heckmanjim. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Add line graph support for series data

Add ability to draw graph for data array. Pass JSON array as string to front end and it draw a graph. The number in the center is the last value in the array. Add TREND tile value unit for graphing data.

Hey!
We already have the architecture ready for this.
The values field is an array, did you notice? :D
We are refactoring a lot this days, so I will close this and we will working on something like this later.
Thank you for your contribution :)

No worries. Glad to know it's coming soon 😁


support IAM policy path on aws-load-balancer-controller addon

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What is the outcome that you are trying to reach?
Some company's security posture defined a permission boundary that custom IAM policies need to be created under certain path. It will be nice that the following resource block support path variable.
https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/8a06a6e7006e4bed5630bd49c7434d76c59e0b5e/modules/kubernetes-addons/aws-load-balancer-controller/main.tf#L10-L15
Describe the solution you would like
add a new variable similar to irsa_iam_role_path at module 'kubernetes-addons' level, that propagate down to the aws_iam_policy 'aws_load_balancer_controller' resource block
Describe alternatives you have considered

Additional context

This is supported in the refactored addons module. See https://github.com/aws-ia/terraform-aws-eks-blueprints-addons/blob/c8281a1c50655e23653abe1075633040719d411e/main.tf#L1145.


Dedot fluentbit filter for labels and annotations

Hi team, i added a little lua script on fluentbit to dedot labels and annotations before sending data to fluentd.
Source here: https://github.com/fluent/fluent-bit/issues/1134#issuecomment-592959828
This way, there will be no conflict on elasticsearch side because everything will be a string instead of an object.
I tested it and it's working, but before merging or do more test (eg on a real cluster) tell me what you think about it

How it affects current running setups?
I mean... after applying the patch, do we have to perform any ES operations?
The patch LGTM!

No ES operation needed, because the logs are always sent to the same indexes.
The only thing that changes are the annotation/labels keys, no more an object but a single string with underscores.
IDEA:
What if we do some e2e tests on logging, for example, with some sample applications outputting a finite number of logs, and checking that the expected number of entries on ES is the one we are expecting to see?

No ES operation needed, because the logs are always sent to the same indexes.
The only thing that changes are the annotation/labels keys, no more an object but a single string with underscores.
IDEA:
What if we do some e2e tests on logging, for example, with some sample applications outputting a finite number of logs, and checking that the expected number of entries on ES is the one we are expecting to see?

Not sure if it is "easy" to do. But worth a test

Can you check the linter? it is complaining about Lua :)
If it is a false positive, or you want to deactivate the Lua linter, take a look to: https://github.com/sighupio/fury-kubernetes-policeman

Hi @angelbarrera92 , can you help me with the linter?

And side note, this change is now running on two clusters

Hi @angelbarrera92 , can you help me with the linter?

If you copy-pasted the code, maybe could be better to "exclude" it somehow. Is this the case?

Hi @angelbarrera92 , can you help me with the linter?

If you copy-pasted the code, maybe could be better to "exclude" it somehow. Is this the case?

Yes, that's the case

Hi @nutellinoit !
The patch itself lgtm, but I'm missing a piece. What is this patch trying to solve? Is this an issue with our current implementation? if that's the case, is it fixed upstream? should we instead wait for the upstream patch and update the hole module? or is this a backport of a hotfix?

Hi @angelbarrera92 , can you help me with the linter?

Done here: https://github.com/sighupio/fury-kubernetes-logging/commit/7cb863e174dcf27780f43884a577e141bd4bf712

Hi @angelbarrera92 , can you help me with the linter?

Done here: 7cb863e

Thank you @angelbarrera92 !

Hi @ralgozino , the patch is solving the problem that causes issue if in the same cluster you have a deployment with a labels for example app and another deployment having the label app.something ( for example, if you deploy stuff with kustomize and with helm). This cause a mapping conflict on ES side.
I did this workaround because the dedot filter on fluentbit is present only on elasticsearch output, but we are not directly sending logs to ES, we are sending logs to fluentd.
Also it's easier to manage fluentbit configuration instead of fluentd.
If you want we can pair and i will show you the patch up&running

Thank you for the explanation Samu, there's no need to pair but thanks for offering it!


YUNIKORN-193 Add option to allow parent to set unmanaged child queue …

…properties
What is this PR for?
The parent queue can not provide a template for auto generated child queues.
This means that there is no way for a parent to specify an application sorting policy or a maximum resource setting on a child queue.
application sort policy
max resources
We should allow a child template to be set on the managed parent queue (in the config) which can define the behaviour of leaf queues below it
What type of PR is it?

[ ] - Bug Fix
[ ] - Improvement
[x] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-193
How should this be tested?
this PR includes a lot of new unit tests
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

@wilfred-s thanks for all suggestions. As you have left some design issue in JIRA, I will go back to here after we reach consensus on those design choices.

@wilfred-s thanks for all reviews. all comments are addressed. please take a look.


Enum support

It might be we have it just by the virtue of the ast parsing library, I am not sure, we even if we do, we should definitely have at least some tests and docs for it.

We do have it by virtue of AST parser recognizing it as something class-like. I have added an example and also added it to e2e-tests, because that seemed like the quickest way to test it. What do you suggest for the docs? Maybe a note in className collector, that it will also collect enums?
Maybe we can use #836 to rename the classNameCollector to better reflect that it collects anything class-like right now?


[Question] How to make it disabled or readonly? Any property can be used to set?

I want to disable the editor, how can I do it?

Editor does not support these features now.
You can create a div cover the editor or hide it.

@PeakTai Thanks for the reply.


[github-actions] Cert_5_1_12_NewRouterNeighborSync fails intermittently

Describe the bug
tests/scripts/thread-cert/Cert_5_1_12_NewRouterNeighborSync.py fails intermittently.
Console/log output

logs_46136.zip
packet-verification-pcaps.zip

This issue caused by The Challenge TLV and TLV Request TLV MUST be included if the response is an Accept and Request message in Step 4, delete these two TLV checks when  the response is a Link Accept message
Submitted PR #5976 to fix it


Add test cases for remove_all with a prefix

          Seems we can add the test cases to prevent regressions?

Originally posted by @tisonkun in https://github.com/apache/opendal/pull/4659#discussion_r1623105501
remove_all now supports remove a prefix, we should support it.

Can we write tests for a part of backends? I guess these test can't pass in file-system based backend.

Can we write tests for only a subset of backends?

No, we don't need to.

I guess these test can't pass in file-system based backend.

OpenDAL has special handling for storage services. All services that support list will also support list_with_rescursive. We implement the polyfill at:
https://github.com/apache/opendal/blob/38841f43abdd31180f924c3efcc3d9ba2047b60e/core/src/layers/complete.rs#L273-L319
(It's too complex, and I have a plan to refactor them).
So remove_all should also work on fs.

I know remove_all work on fs, but it's hard for us to construct the ideal test cases.
E.g., we may want to test the behavior when there exists below three objects:

a
a/b
a/c

When we try to construct the case on file-system based backend, it will fail, since a should be a directory instead of an object.

I found that we can skip the test based create_dir capability. Please assign the issue to me.

When we try to construct the case on file-system based backend, it will fail, since a should be a directory instead of an object.

We can test if remove_all("a") removes aa, a/, a/b, a/c.


Clarify what "Repos" means in edit-cluster dialog

It would be nice to:

Make it clear that these are Maven "Repos" that are being referred to.
Include the list of default repos, both local (~/.m2) and remote.

similar to #282


alexandria: media share re-naming for increased efficiency

See: https://wiki.servarr.com/docker-guide#Consistent_and_well_planned_paths
and Unraid Media Share

Working, no real-world improvement but aligned with "the standard".


Corrected license declarations for slog crates

License corrections for slog and related feature crates.
clearlydefined is currently declaring these incorrectly.  I have raised an issue on the clearlydefined service to try to resolve the underlying issue.
https://github.com/clearlydefined/service/issues/856

I don't understand why clearlydefinedbot is complaining that the license expression is not SPDX compliant - I believe it is compliant.
The SPDX documentation has an example of three licenses in an OR expression with no parentheses very similar to the one used here:
https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-expressions/#composite-license-expressions
What code is being used to do the SPDX expression validation?

Hi @johnbatty - this is a known issue with the ClearlyDefined validator (documented here: https://github.com/clearlydefined/spdx/issues/21) that we are seeking feedback from the SPDX folks on. In the meantime, if @ariel11 or @capfei approve, I can go ahead and force merge this to clear the legal alerts in Component Governance.

@johnbatty I found some differences in the commit history for the Cargo.toml file for some of these versions.

slog-scope: It looks like it changed to triple license with 4.0.0.

https://github.com/slog-rs/scope/commit/95420658ccbad2353ea8bdaabd0c0391bb0c1f4b#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542.

slog-stdlog: It looks like it changed to triple license with 3.0.0.

https://github.com/slog-rs/stdlog/commit/a285b9ae3495e1300d813848db761768b497f296#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542

slog: It looks like it changed to triple license with 2.0.5.

https://github.com/slog-rs/slog/commit/0e5787580492e0369605cebd2bf4b7c5443b0f61

I'm not very familiar with crates so if I am misunderstanding something, please let me know.

@capfei Thanks - good spot.  I did look at per-version licenses via the crates.io web server, and they change at different versions from the ones you reported (I did have some changes in the version histories in the PR) :-(
e.g. for slog-scope it reports triple licensed for all versions: https://crates.io/crates/slog-scope/versions
It does look like the crates.io information is wrong.  I'll update the PR to match the changes in the repo.

@capfei I have fixed up the PR with updates to the license switch versions, using the git repos as reference.
I'm disappointed/confused that the license info displayed via crates.io appears to be wrong, as that should be extracted from Cargo.toml when the crate is published.  I'll follow that up when I get a chance.

@nellshamrell I approved the changes. Can you please merge this one?

Fyi, I got an explanation as to why the licenses shown for old releases in crates.io were incorrect:
https://github.com/rust-lang/crates.io/issues/3714


error on suspend teams crashes entire platform

prevent to crash entire platform, report it as log but do not crash

merged fixed a601cae983fad2a62ce83080a70bfe5c3b0840e2


dlib has a couple of inconsistencies with respect to long, unsigned long and int

Expected Behavior
Proper/documented intentional conversion between different integer types.
Current Behavior
At a couple of positions in the code longs are converted to int without proper casting. While this may be nowadays relatively uncritical (most of the computers are probably running with 64 bit integers anyway), there might be some issues on older machines where (unsigned) long and int have different sizes.
Though, the program might crash anyway on 32bit systems when trying to use too large datasets.
Steps to Reproduce

Uncritical example: string.h
std::setw(int) has as an int parameter but gets passed in pad_int_with_zeros(int,unsigned long width) an unsigned long parameter "width".

Critical example: hash
murmur_hash3(_2) uses for the length also an int but both versions of hash pass a value of type std::string::size_type to murmur_hash3(_2) that may be larger than 32bit (even on 32bit machines). This may result in wrong hash values.

A bigger problem might be simple_hash_map, though, because: simple_hash_map()::insert(0xff..ff00000000,0xff..fe00000000,1) calls internally murmur_hash3_2 with a long but murmur_hash3_2 has as parameter types uint32! So, in my example the hash value is definitely wrong!
simple_hash_map()::insert requires that "a" and "b" are smaller than std::numeric_limits::max().
The same holds for the methods accessing the hashed value.
PS: murmur_hash3 and murmur_hash3_2 have different parameter types as well!

Critical? matrix_blas_bindings.h parameter inconsistencies
The return type of a lot of functions is int (example get_ld) but often the variable used for returning the result is of type long.

Concrete example:
template
int get_ld (const assignable_ptr_matrix& m) { return m.nc(); }
m.nc() returns a long but get_ld returns an int.
PS: I cannot provide a complete list because the list is 296 issues long! But I suspect that there are more..
dlib 19.19
clang compiler on macOS 64bit

Some of these things are just what they are.  Like the CBLAS API deals in ints and there is nothing I can do to change that.  But if you want to submit a PR that makes the simple_hash_map deal completely in 64bit integers that's fine with me.  The same goes for fixing other things.  Please don't submit one massive PR though.  If there are many things you would like to change to do in separate pull requests :)


(BKR-1268) Load project options from .beaker.yml

If .beaker.yml is present in the current working directory, then load
the project's options. The overall precedence from lowest to highest is:
defaults
.beaker.yml
~/.beaker/subcommand_options.yaml
./beaker/subcommand_options.yaml
etc

The project options (.beaker.yml) are essentially project defaults, so
they come after beaker defaults and before the subcommand options.
It is also possible for the project options to specify the options_file
to load so that it doesn't need to be specified on the command line.
Note this fixes a spec test that was stubbing part of the parse_args
method that it was trying to test.

/cc @melissa

Build finished.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/4319/

Build finished.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/4321/

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/4323/

Build finished.

@puppetlabs-jenkins retest this please

Build finished.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/4324/

Build finished.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/4322/

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/4326/

Build finished.

Thanks for the addition @joshcooper !


github: workflows: python: Add qmu install validation for cross compilation

Add run-on-arch actions to python deployment,
run-on-arch
To check if the packages install works on the corresponding architectures, now we have this process.

For manylinux we are using the bullseye image, which is the current blueos's raspbian base and python 3.9.
For muslinux a minimal container using alpine, but it's using the python 3.11, need some future workaround to use 3.9 if needed.

For reference, if it's not clear, this PR is:

adding a test to ensure the wheels are actually installable
changing to compile the wheels using Abi3, which ensures future-proof compatibility, meaning that the same wheel compiled today will work on the next Python versions


change versioneer settings via pyproject.toml

once we finish: https://github.com/ploomber/pkgmt/pull/60
we should allow users to customize the behavior of pkgmt version
[tool.pkgmt]
github = "project/repository"
version = {version_file: "/path/to/version_file.py", tag: false, push: false}

since we closed #60, let's work on this one

Acceptance criteria:

Add support for tag and push keys.
Validation of keys and throw error if any invalid key found.
Test cases
Changelog entry.

looks good!


docs: operator based installation for the VPP dataplane

Description
This PR updates the Installation and APIServer CRD definitions from the current operator master.
Related issues/PRs
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note
None required

Thanks for the review! The latest commit should address your comments.

LGTM.

/sem-approve


Unit test

Implement unit testing for some functions.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d0b126d). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 433cfca differs from pull request most recent head 25bc61f. Consider uploading reports for the commit 25bc61f to get more accurate results

@@           Coverage Diff            @@
##             master     #61   +/-   ##
========================================
  Coverage          ?   7.98%
========================================
  Files             ?       3
  Lines             ?     263
  Branches          ?       0
========================================
  Hits              ?      21
  Misses            ?     240
  Partials          ?       2

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 d0b126d...25bc61f. Read the comment docs.


Updated the logo of X(Twitter)

As we all know, the logo of X(Twitter) has been changed, so I have updated the icon on the website.

@Reshrahim
Kindly review my PR and merge it please.

@Reshrahim Kindly review my PR and merge it please.

Thank you for your contribution. Looks like there is some issue with the merge validation workflow. Will get that fixed and merge the change in


How do I change the background color of the entire bar?

I don't want galaxyline to remove the color on inactive splits.  Can I set the short_line background somehow to always show some highlight group?

You can try changing the highlight forcibly using the command below.
highlight! Statusline "for active window
highlight! StatuslineNC "for other inactive window


Added Reference Link to numpy.dtype

Added Reference link to numpy.dtype doc.

@googlebot I signed it!


Loggregator etcd tls

Adds properties for loggregator to work with etcd-tls
Adds consul agents to templates that have metron agents
Adds etcd TLS properties to template
Changes etcd.require_ssl and etcd.peer_require_ssl to merge from stub with a default of false, rather than being forced to false

The first commit shouldn't have any changes that collide with changes from other teams.  The second commit is separate because it has changes related to more global properties, which may have conflicts with changes from other teams.

Please make sure the unit tests pass on cf-release with these changes.  In its current state, this PR will fail.  The best thing to do is to run ./scripts/setup-git-hooks from the cf-release directory on your workstation so that it runs unit tests whenever you try to commit.

@nelsam @wfernandes Did you intend to continue working on this?  If not, you could simply wait until the Infrastructure team adds this stuff in anyways.  It might be a while, as we're working on the component to support zero-downtime switch to etcd in TLS mode.  In that case, we could close out this PR.

@Amit-PivotalLabs We have stopped working on the etcd-tls epic unless/until we need to fix something. So no pressure from us. :)

Closing this PR, we have this story: https://www.pivotaltracker.com/story/show/122070663.
Will link to this PR for context.


Environment
Apple Swift version 5.10 (swiftlang-<IP_ADDRESS> clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx14.0
Additional information
Similar issues with throws closures:

https://github.com/apple/swift/issues/63191
https://github.com/apple/swift/issues/68131

@rethrows on protocols is not an official feature of Swift and will be deprecated in the future. It has since been subsumed by typed throws; please use typed throws to abstract over the effect with an associated type on Expression. By doing this, you'll discover compiler errors in the implementations of foo1 and foo2, which throw errors not related to the argument values.


Enhancing UI of contact form by showing error message and add border too when it click on button

@SahityaRoy  I would like to contribute in this project under GSSOC'23 by adding a complete JS validation on contact form and showing error message below of input fields. To enhancing UI of contact form can add red border of that field in which something unexpected things occur.
Demo below:

Go ahead @Geeta259

Hey @SahityaRoy is this issue has been solved ?
If not please assign me this  project  under GSSOC'23


Links to VI intake form direct to old Custom Neural Voice intake form

There are four links to an intake form to apply for use of limited access features in Azure Video Indexer in the table entitled "Limited Access Features"
Each of those links hyperlinked as "intake form" take you to an intake form for Azure Cognitive Services Custom Neural Voice Limited Access Review, at https://customervoice.microsoft.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR7en2Ais5pxKtso_Pz4b1_xUMkZIOUE1R0YwMkU0M1NMUTA0QVNXVDlKNiQlQCN0PWcu with use cases and descriptions that are not applicable for VI.

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

ID: e1f7850f-9620-f83a-b712-fddb21d4e22b
Version Independent ID: 3cc5d099-a53e-d631-5f6e-e40eac863e97
Content: Limited Access features of Azure Video Indexer
Content Source: articles/azure-video-indexer/limited-access-features.md
Service: azure-video-indexer
GitHub Login: @Juliako
Microsoft Alias: juliako

@simonpo
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@Juliako
Can you please check and add your comments on this doc update request as applicable.

Hi @simonpo , thank you, appears fixed now. #please-close


auditable-build panics on Beta

I have a crate, mbot for which auditable-build successfully runs and this all works for on Stable, but for which auditable-build panics when building on Beta.
Some relevant command output:
jmn@neogreen:~/Projects/mprojects/mbot$ RUST_BACKTRACE=1 cargo +beta run --release --features auditable-data
   Compiling mbot v0.1.0 (/home/jmn/Projects/mprojects/mbot)
error: failed to run custom build command for `mbot v0.1.0 (/home/jmn/Projects/mprojects/mbot)`

Caused by:
  process didn't exit successfully: `/home/jmn/Projects/mprojects/mbot/target/release/build/mbot-35641d5a1f06aff7/build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-changed=data/maddie.json

  --- stderr
  thread 'main' panicked at 'no entry found for key', cargo/registry/src/github.com-1ecc6299db9ec823/auditable-serde-0.1.0/src/lib.rs:307:51
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/9f0e6fa94be6f97c736e51811d7b58904edfa8cb/library/std/src/panicking.rs:475
     1: core::panicking::panic_fmt
               at /rustc/9f0e6fa94be6f97c736e51811d7b58904edfa8cb/library/core/src/panicking.rs:85
     2: core::option::expect_failed
               at /rustc/9f0e6fa94be6f97c736e51811d7b58904edfa8cb/library/core/src/option.rs:1213
     3: core::option::Option<T>::expect
     4: <std::collections::hash::map::HashMap<K,V,S> as core::ops::index::Index<&Q>>::index
     5: <auditable_serde::VersionInfo as core::convert::TryFrom<&cargo_metadata::Metadata>>::try_from
     6: auditable_build::collect_dependency_list
     7: build_script_build::main
     8: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Upon regenerating the Cargo.lock in mbot, this issue vanishes. Somehow or other, my Cargo.lock was malformed. Nemo157 on Discord has guessed that this is related to https://github.com/rust-lang/cargo/pull/8522.

This is caused by an upstream bug: https://github.com/rust-lang/cargo/issues/8756
I'll keep this open until the upstream issue is resolved.

The upstream bug is fixed, so closing this issue.


Stylish version of Discord Reborn no longer properly displays the background

Using Waterfox 49.0.2 (Firefox 49.0.1),
The userstyle sheet is properly applied, as it should be, but does not account for the background properly.
The image is applied and can be found if making some of the elements transparent (settings popup handles this nice https://jii.moe/NyzfHvERW.webm)

youre right i wonder why im onto it.

@Scrxtchy i found out why... i accidently erased like half of the css on the last update on userstyles whoops i could roll back but ima have to fix a couple small bugs


Don't work ENV["API_KEY"] in README example

Hi! I tried to run example bot in README and I get unhandled exception.
require "tourmaline"

class EchoBot < Tourmaline::Client
  @[Command("echo")]
  def echo_command(ctx)
    ctx.message.reply(ctx.text)
  end
end

bot = EchoBot.new(ENV["5952279715:AAGEVsV3Y_t64zZ7QSndK..."])
bot.poll

Unhandled exception: Missing ENV key: "5952279715:AAGEVsV3Y_t64zZ7QSndK..." (KeyError)
Then I went to the site and took another example of the same code.
require "tourmaline"

class EchoBot < Tourmaline::Client
  @[Command("echo")]
  def echo_command(ctx)
    ctx.message.respond(ctx.text)
  end
end

bot = EchoBot.new("5952279715:AAGEVsV3Y_t64zZ7QSndK...")
bot.poll

And this code work!
Is it a bug in my code or in a framework?
The token was complete this one I came up with for an example...

API_KEY is the name of an environment variable (google if you don't know what that is)
Bot.new(key : String) accepts a String value and uses it as an API key to access Telegram. ENV["API_KEY"] is a Crystal way of accessing the value stored in the environment variable called API_KEY, read more here: https://crystal-lang.org/api/0.35.1/ENV.html . If you don't want to bother with it right now, you can just pass the key as a String (as in your working example) or assign it to a regular Crystal variable:
bot = YourBot.new(tg_key)
bot.poll```

I can't explain ways of setting env vars better than Google, so go there

Also, it's a bad practice to show your API keys (any keys, not just for TG) to someone online, even if you aren't going to do anything serious with it. You should revoke this one (at @BotFather).

Thanks @bulgakke. I'm going to mark this as a question and consider it closed.


Release G.5.4 / H.2.4

Changelog (from G.5.3/H.2.3)
Core Robot
Webserver

Add beta feature to disconnect from wlan0 and forget the SSID (#110)

Power Management

Robot will now change its light ring to "spinning red" when the battery level dips below 3%, and will explicitly call the /robot_power service when it falls below 2%.

ROS 2
Actions

The /rotate_angle action no longer accepts overriding goals; an ongoing goal must be completed (successfully or unsuccessfully) before a new goal will be accepted. (#351)
Improve reliability of robot docking and undocking.

note: "latest" redirects are not yet live. Won't merge until they are.

Why was the red indication set so low, close to the robot_power action?
If the Create3 is not powering a SBC controller, the 1% drop is quite quick, but with an additional 2-3W draw with an attached controller, that 1% drop will happen so fast that a user will probably not have time to get the bot back to the dock before the power is yanked unceremoniously from the SBC.

Perhaps the docs on "approaching 0%" need to reflect the robot issuing the /robot_power action.

Perhaps the docs on "approaching 0%" need to reflect the robot issuing the /robot_power action.

Good point. I will do that.


Improve Ingress documentation

This PR changes the formatting of the Service Mesh documentation
slightly to make the new sections added more discoverable.
It also adds a section clarifying Cilium's path types and precedence
when using Ingress, along with an example that illustrates this more
clearly.
Lastly, it also splits out the Ingress and Network Policy tutorials into their
own specific example, and add an explanation at the top level of how
the reserved:ingress identity works. As part of this, some existing doc
fragments have been converted into reusable pieces.

/test

/test

/test


Request : Features for more useFriendly

Hey, i like your extension but :
if you can decrease the force graph interactivity between, when i drag one group all move everywhere. (tips : create a right click on space for menu contextual and add possibility to change the coeficient force graph moving , a slide bar with value 1 to 100) ?
into the menu contextual, add possibility recenter all elements.
into the menu contextual, add filter type object see view, and reset this filter.
into the menu contextual, add possibility reorder by label-name (top A --> bottom Z) of one type object kube (example : select Deployement,   or select Pod, or ConfigMap ,etc..)
thanks

Just to add to this, it would be great to Lock the graph and being able to manipulate said graph to be represented a bit cleaner.


Fetch template doesn't preserve unix permissions on files from git index

When fetching templates in the scaffolder with the fetch:template builtin action it seems like the permissions aren't preserved on the files in the template. This happens when running Backstage in Windows 11.
Expected Behavior
Given I add an executable to a template and tell git that it should be executable with git update-index --chmod=+x gradlew
When I create an application in Backstage using a template with fetch:template and publish:github builtin actions
Then I can clone this repo and run it with ./gradlew

Current Behavior

I get permission denied. I need to chmod +x gradlew before I can run it. This seems like an unnecessary step to do after a git clone of the newly created repository.
Possible Solution

Steps to Reproduce

Create a template with a file and mark it as executable, either with chmod +x <file> or git update-index --chmod=-x <file>
From within GUI, create an application based on the template
Clone the repository that was just created
Run the file. You will now get permission denied

Context

Your Environment

OS:   Windows_NT 10.0.22000 - win32/x64
node: v14.18.1
yarn: 1.22.17
cli:  0.12.0 (installed)
Dependencies:
@backstage/app-defaults                                  0.1.5
@backstage/backend-common                                0.10.4
@backstage/backend-tasks                                 0.1.4
@backstage/catalog-client                                0.5.5
@backstage/catalog-model                                 0.9.10
@backstage/cli-common                                    0.1.6
@backstage/cli                                           0.12.0
@backstage/config-loader                                 0.9.3
@backstage/config                                        0.1.13
@backstage/core-app-api                                  0.5.0
@backstage/core-components                               0.8.5
@backstage/core-plugin-api                               0.6.0
@backstage/errors                                        0.2.0
@backstage/integration-react                             0.1.19
@backstage/integration                                   0.7.2
@backstage/plugin-api-docs                               0.7.0
@backstage/plugin-app-backend                            0.3.22
@backstage/plugin-auth-backend                           0.7.0
@backstage/plugin-catalog-backend                        0.21.0
@backstage/plugin-catalog-common                         0.1.1
@backstage/plugin-catalog-import                         0.7.10
@backstage/plugin-catalog-react                          0.6.12
@backstage/plugin-catalog                                0.7.9
@backstage/plugin-github-actions                         0.4.32
@backstage/plugin-org                                    0.4.0
@backstage/plugin-permission-common                      0.4.0
@backstage/plugin-permission-node                        0.4.0
@backstage/plugin-permission-react                       0.3.0
@backstage/plugin-proxy-backend                          0.2.16
@backstage/plugin-scaffolder-backend-module-cookiecutter 0.1.9
@backstage/plugin-scaffolder-backend                     0.15.21
@backstage/plugin-scaffolder-common                      0.1.3
@backstage/plugin-scaffolder                             0.12.0
@backstage/plugin-search-backend-node                    0.4.4
@backstage/plugin-search-backend                         0.3.1
@backstage/plugin-search                                 0.5.6
@backstage/plugin-tech-radar                             0.5.3
@backstage/plugin-techdocs-backend                       0.13.0
@backstage/plugin-techdocs                               0.13.0
@backstage/plugin-user-settings                          0.3.17
@backstage/search-common                                 0.2.1
@backstage/techdocs-common                               0.11.4
@backstage/test-utils                                    0.2.3
@backstage/theme                                         0.2.14
@backstage/types                                         0.1.1
@backstage/version-bridge                                0.1.1

Is this running in WSL or Windows? I'm guessing this is because the executable bit does not follow over from linux to windows.

Not WSL but Windows. Yes I agree, it does an fs.stat call and I'm guessing that's where it gets lost.

Yeah that's likely the issue. I don't know how to solve it in a good way to be honest. A workaround is running it in WSL but it's perhaps not a preferable option. Do you have any suggestions?

Nope, was wondering how a proper solution would look like myself. In order to do it in a platform agnostic way we would probably have to rely on git's index instead of fs.stat when setting the mode.
I ended up just doing development in WSL anyway, that works fine for me!


Finding references is not working reliably

Issue is that I cannot traverse the code properly - jumping to usages and implementations is far from reliable.
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.0, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed
      instructions.
[✓] Android Studio (version 3.6)
[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.45.0)
[✓] Connected device (1 available)

! Doctor found issues in 2 categories.

Flutter doctor does not even know btw that I am using IntelliJ Ultimate 2020.1 with all latest plugins installed.
Steps to reproduce issue

Open project in VSCode OR IntelliJ, does not matter
Go the file of let's say CustomScrollView (a file from the Flutter library I suppose)
Try listing all implementations
Implementations are found - even from the Flutter library, which is great
Try listing them again
No implementation found or jump straight to the first class

This sounds like there is an issue with the Dart analysis server cache but I am no expert here. I just want to learn the Flutter environment by going through the code.
If I restart the editor, I can list implementations again.
I don't want to clear the cache before every reference lookup, please fix this.

Edit.:
Here is a gif to get an idea how it looks like:

Hi @andrasferenczi
following the indication of jetbrains' Flutter plugin
the correct way to address the problem
is to open an issue on the dedicated github
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it.
Thank you for your understanding

No, this is definitely NOT a problem with the Flutter plugin. I clearly mentioned that I am having the same problem on VS Code (see the first step) and yet you close this issue redirecting to a totally different place.
The IntelliJ plugin is a thin wrapper using the same code as the VS Code plugin (relying on the Dart analysis server as well). I have narrowed down the origin of the issue for you and yet you close this ticket...
So here is a gif from VS Code as well:

/cc @devoncarew What's the right place to file this issue?

Since this appears in both the IntelliJ and VS Code plugins, this is best filed in dart-lang/sdk.
@andrasferenczi, re: https://github.com/flutter/flutter/issues/57054#issuecomment-627869141, please be respectful in your communications here. Francesco triaged this issue in good faith; please see our code of conduct for Flutter's standards for discussion.

I felt I am putting in a lot of effort to explain my issues and the ticket got closed too suddenly. Sorry for the inappropriate tone of voice.

Took me long to figure out but the issue was that wrong folder was marked as project root.

@andrasferenczi, thanks for following up in investigating the issue! And, we do appreciate the bug reports - they help us know about problems and improve the product.


Added test for async create protected

Hmm - the test failed for me when I commented out your change.

Our tests our flakey (especially on Apache's Jenkins). All tests pass for me though locally. Is testDeleteChildrenConcurrently() failing for you?

true, commenting out my added code would cause your test to fail -- but that's because my change also deleted the line that was setting this.doProtected = doProtected.

doh

Do us a favor if you don't mind, change Assert.assertTrue(countDownLatch.await(10, TimeUnit.SECONDS)); to Assert.assertTrue(countDownLatch.await(60, TimeUnit.SECONDS)); and see if it works.

(giving that a try...)

ok, yeah, increasing the timeout was sufficient to get my overtaxed system to pass that test. (still waiting for the recipes tests to finish ... ... ...)

That's what I thought. It's a persistent problem with our tests. There's no way to get inside of ZK so our tests all assume timing. Newer tests use the Timing object which can be given a multiple from the command line but that one is really old.

I see, yeah, you can't really put a bound on how long these things will take, because they depend on ZK to do some of the work. Regardless, I think that'd be less of a concern if you had more fine-grained control over the timing of the operations that are initiated in your client. This failing test, for example, is creating 5000 keys in ZK in an effort to ensure that the deletion process takes long enough for a concurrent thread to perturb the system concurrently. If you could pause the deletingChildrenIfNecessary loop in the middle, I think you could exercise the intended concerrency with just 2 children, right? If so, choosing the timeout wouldn't be such an issue.
Anyway, just offering ideas... My team is heavily active with such work, needing to explore the nooks and crannies of a complex distributed state-space to assert correct fault-tolerance behavior. Introducing explicit interception-points is essential to make that kind of testing feasible, because causing faults at the intended time is impossible otherwise. Seems similar to the focus here.

We have stuff like that in Curator (debugCountDownLatches, etc.). But, we'd love to have more! If you can think of anything we'd appreciate additional PRs. We're also pretty desperate for more committers if you're interested in that.

Heh... Ok, I appreciate the invitation; I'll see what I can cook up, but my time is limited, plate is full, yadda yadda... 🙂
After a quick glance, I'm eyeballing processBackgroundOperation as the sort of collection-point I'd want to instrument... But I see that foreground operations don't appear to go through any such gate, just using client.getZooKeeper directly to do their business. So introducing an interceptor looks like it'd be a big job, as I feared.


[BUG] Capture to active file doesn't honor cursor location

Describe the bug
Since version 0.18.0 a simple capture text appears on the top of the file instead of where the cursor is when the hotkey is pressed
To Reproduce
Steps to reproduce the behavior:

Create a simple capture entry
Set it to "Active file"
Set the capture format
Insert something with 2 lines (in my case) text

Expected behavior
The text should be inserted where the cursor is like it always did
Desktop (please complete the following information):

OS: Windows 11

Additional context
I reverted back to 0.17.1 when I noticed this issue and there it works fine.

Hi @Siirraa, thank you for reporting this!
I've just pushed an update which should fix the issue. Should be 0.18.2.
Can you confirm this on your end? Apologize for the inconvenience this may have caused!

I just updated and tested and I can confirm it works as expected once again.
Many thanks for your great work, I'm using QuickAdd all day, every day.


vue init fails on 2.9.4

I'm having an issue with 2.9.4. I can't open an issue with the Vue Issue Helper because 2.9.4 is not available from the version list.
Steps:
npm install -g vue-cli
vue init webpack my-project
Expected:
Scaffold out my-project
Actual:
Unknown command init.
vue-cli · Failed to download repo vuejs-templates/[object Object]: Response code 404 (Not Found)

Comments:
I've reproduced this on multiple Ubuntu 16.04 systems. Confirmed that 2.9.3 on these systems works as expected.

same issue:
Unknown command init.
vue-cli · Failed to download repo vuejs-templates/[object Object]: Response code 404 (Not Found)


Strange periodical error: Timed out while making data connection

If i upload with  "slots" more than 1 (3 for example) in FTP mode, some time I see :
error: Timed out while making data connection
It happens for only one or two files in uploading files list.
How can I see server side answer/error of uploading this files?

I also encountered the same problem, now do not know how to solve, do you solve this problem? If yes, please reply me, be indebted forever!


error while sending push code=101, message=Object not found`

Env

ParseServer: 2.2.9 (runs with pm2) on AWS

Problem
I get the following error in the logs:
2016-05-17T10:03:18.660Z - error while sending push
2016-05-17T10:03:02.147Z - error while sending push
2016-05-17T10:02:23.817Z - error while sending push
2016-05-17T10:01:45.086Z - error while sending push
2016-05-17T10:00:07.208Z - error while sending push
2016-05-17T09:59:41.274Z - error while sending push
2016-05-17T09:59:06.658Z - error while sending push
2016-05-17T09:44:08.671Z - error while sending push
2016-05-17T08:36:25.701Z - error while sending push
2016-05-17T08:35:55.487Z - error while sending push

In the console it prints
error: error while sending push code=101, message=Object not found
this error leads pm2 to restart the app, I'm not sure if this would crash node or not but to get ride of it i commented out this line
https://github.com/ParsePlatform/parse-server/blob/master/src/pushStatusHandler.js#L99
code
fn.sendPushToUser = function(fromUserId, toUserId, pushData) {

    // if toUserId is not defined, then exit
    if (!toUserId) { return; }

    // if formUser is equalTo toUser, then don't send the notifications
    if (fromUserId === toUserId) { return; }

    var Installation = Parse.Object.extend("_Installation");
    var pushQuery = new Parse.Query(Installation);
    pushQuery.contains("channels", "user_"+toUserId);
    pushQuery.equalTo("appName", "combyne");

    console.log("Push Data ---------------------->");
    console.log(pushData);
    console.log("<---------------------- Push Data");

    if (!pushData) { return; }

    pushQuery.first().then(
        function(user){
            if (user){
                console.log("sendPush [" + toUserId + "] -> " + pushData.alert);
                try {
                    Parse.Push.send({
                        where: pushQuery,
                        data: pushData
                    },
                    {
                        success: function () {
                            console.log("push was successful to " + "user_" + toUserId);
                        },
                        error: function (error) {
                            console.log("push was error to " + "user_" +toUserId);
                        },
                        useMasterKey: true
                    }
                );
                } catch(error){
                    // be quite
                }
            }
        }
    );
}

and by the way it never prints
console.log("push was error to " + "user_" +toUserId);
Reproduce
It happens randomly just try to send pushes till you see the error

Please update to latests version an let us know if the error keeps occurring.

still occurring on 2.2.22 and 2.2.21
always my server show this error and restart
the error come after I develop push to my app


Organize components according to templates for Figma In-Field UI kit

develop a template for clear set up of component on all UI kits on Figma.

Ewa to check with Matthew

Matthew is working on it


Change Meeting to have Set instead of ParticipantList

Codecov Report

Merging #74 (1bd946b) into master (180abb3) will increase coverage by 0.46%.
The diff coverage is 70.00%.

@@             Coverage Diff              @@
##             master      #74      +/-   ##
============================================
+ Coverage     66.92%   67.39%   +0.46%
- Complexity      424      430       +6
============================================
  Files            81       81
  Lines          1421     1423       +2
  Branches        153      153
============================================
+ Hits            951      959       +8
+ Misses          430      424       -6
  Partials         40       40

Impacted Files
Coverage Δ

.../java/seedu/address/model/meeting/Participant.java
62.50% <62.50%> (ø)

...main/java/seedu/address/model/meeting/Meeting.java
34.69% <66.66%> (+1.36%)
:arrow_up:

.../java/seedu/address/model/util/SampleDataUtil.java
33.33% <100.00%> (+13.33%)
:arrow_up:

...main/java/seedu/address/model/contact/Contact.java
97.67% <0.00%> (+2.32%)
:arrow_up:

...rc/main/java/seedu/address/model/contact/Name.java
60.00% <0.00%> (+6.66%)
:arrow_up:

...c/main/java/seedu/address/model/contact/Email.java
90.00% <0.00%> (+10.00%)
:arrow_up:

...c/main/java/seedu/address/model/contact/Phone.java
90.00% <0.00%> (+10.00%)
:arrow_up:

...ain/java/seedu/address/model/contact/Telegram.java
90.00% <0.00%> (+10.00%)
:arrow_up:

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 180abb3...1bd946b. Read the comment docs.


Add 4 DPF made plugins

Thanks!
I did not even know about the last 2.

Thanks for your quickness.
They're quite new, in the LZK2 testing phase currently.


[CMAKE] Add a dummy target to defer libtvm dep

This PR add a dummy target that can be renamed as libtvm and can be used to create a dependency on libtvm without compiling everything. This can be useful for down stream in platforms such as windows.

@tvm-bot  rerun


Is it possible to get opponent's timer?

I'm not aware of a way to do this. You might be able to estimate by getting the difference in system time from three end of your last move to your current move.

I'm not aware of a way to do this directly. However, you can subtract your Think Timer's Milliseconds Remaining from a Timer object that you create on your first Think call to get the time elapsed between moves.

wouldn't that be way too inaccurate?

I agree that the timer for both players should be visible as part of the board state. It's not clear to me what the best way to implement that is. Perhaps copy the player TimeRemainingMs in to the board in a couple of new public int variables?

Created a quick pull request. I chose to only store the opponent's time, since the active player's time is already available via timer.

Why is OpponentRemainingMs part of the board class? The board is for extracting properties of the chess state space, not for getting match and game information. Wouldn't it make more sense to make it part of the timer class?

Why is OpponentRemainingMs part of the board class? The board is for extracting properties of the chess state space, not for getting match and game information. Wouldn't it make more sense to make it part of the timer class?

Perhaps? I agree that if we're sticking with a physical metaphor of having a physical board and a physical timer, then the opponent's time going on the timer makes sense.
I thought putting it on the board made more sense because you might want to simulate the opponent's remaining time during move evaluation if you're trying a time-out strategy or something. In that case, the timer would be linked to board state, so it would make sense that they were tracked together.
As I said, it's not clear to me what the best way to implement this is. If it goes on the timer, do we keep a log on the timer of all of the turn evaluation durations? I could see a depth-sprint meta-attack being interesting if you note that your opponent isn't spending much time evaluating their moves. Or a time-out meta-attack by drawing the game out if the opponent spends the same amount of time every time.
In a broader sense, do we want to inform the bot about which bot they are playing against? Can the bots learn about their opponents and alter their strategy between matches? Or will the IChessBot object be re-instantiated for every match? It would be really interesting to get access to match history (including turn duration) for several previous matches so that the bot can "study" the opponent.

Hi, I have added OpponentMillisecondsRemaining to the Timer.


Docking Strategy API

Come up with some API for determining the appropriate docking position. Like some other libraries, there should be a simple dock or show function that just takes the dockable. Unlike those other libraries, I'd like this one to have some logic to where it shows the dockable.

For now this is going to be docking with dockables of the same type. We'll see how that works out.


[CP] [beta] Include enums and mixins into types of a sealed class.

Commit(s) to merge
b81fd66ed52cdc6b6d17e951f65e7573bc538041
Target
beta
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/298340
Issue Description
The implementation on exhaustiveness was skipping non-class elements that might be subtypes of sealed declarations.
What is the fix
Add enums and mixins to the list.
Why cherry-pick
Without the fix the analyzer will not report the required error, and the users will know that it does not work only when run.
Risk
low
Issue link(s)
https://github.com/dart-lang/sdk/issues/52164
Extra Info
No response

LGTM; cherry pick looks very low risk.


Unable to install mmcv-full

When running pip install mmcv-full in the environment, I get the following:
https://pastebin.com/RUEkRvSX

Please Refer to https://github.com/modelscope/facechain/issues/182


Crypto example does not compile

I get the following error:
/home/alhirzel/.arduino15/packages/esp32/hardware/esp32/2.0.3/libraries/WiFi/src/WiFiGeneric.cpp: In static member function 'static bool WiFiGenericClass::setDualAntennaConfig(uint8_t, uint8_t, wifi_rx_ant_t, wifi_tx_ant_t)':
/home/alhirzel/.arduino15/packages/esp32/hardware/esp32/2.0.3/libraries/WiFi/src/WiFiGeneric.cpp:1265:5: sorry, unimplemented: non-trivial designated initializers not supported
     };
     ^
/home/alhirzel/.arduino15/packages/esp32/hardware/esp32/2.0.3/libraries/WiFi/src/WiFiGeneric.cpp:1265:5: sorry, unimplemented: non-trivial designated initializers not supported
/home/alhirzel/.arduino15/packages/esp32/hardware/esp32/2.0.3/libraries/WiFi/src/WiFiGeneric.cpp:1265:5: sorry, unimplemented: non-trivial designated initializers not supported
exit status 1

Is there something I am missing?

I did got it to compile. I basically followed the Getting started guide: https://docs.paperd.ink/docs/software/getting-started/.
Make sure you have the required libraries: https://docs.paperd.ink/docs/software/libraries/. Not to mention the 0.0.2 version of the paperd lib.
Please include what OS/library versions you are using.

@alhirzel Can you try with the latest version of ESP32 arduino core. ie v2.0.6

I tested this today with the Paperdink 0.0.5 library and the esp32 version 1.0.6 board in the Arduino 2.0.3 IDE. The sketch compiles and runs on the Paperdink Classic without issues.


password is stored without encrypt in db

hi all:
I found that user's password is stored in database's user table without encrypt!
just like below shows:

I thought the password should be encrypted before stored in db or use hash-code instead, it is more safe.

Is there some workaround?

o, it is configurable: https://casdoor.org/docs/organization/overview
close the issue.


Fix and actually test the sat stack elements calculation

There are unit tests to exerce the calculation of the maximum number of elements of a satisfaction:
https://github.com/rust-bitcoin/rust-miniscript/blob/a2d6fff55a6b4a81a92fe740ee4dea86746875cc/src/miniscript/mod.rs#L586-L631
However they are not executed...
https://github.com/rust-bitcoin/rust-miniscript/blob/a2d6fff55a6b4a81a92fe740ee4dea86746875cc/src/miniscript/mod.rs#L570
Actually executing them makes the test fail. It looks like most vectors were taken from the C++ implem and therefore the Rust implem of the calculation is not on par with the C++ one.
diff --git a/src/miniscript/mod.rs b/src/miniscript/mod.rs
index c20ed89..2b4d0da 100644
--- a/src/miniscript/mod.rs
+++ b/src/miniscript/mod.rs
@@ -567,7 +567,7 @@ mod tests {
         non_mal: bool,
         need_sig: bool,
         ops: usize,
-        _stack: usize,
+        stack: usize,
     ) {
         let ms: Result<Segwitv0Script, _> = Miniscript::from_str_insane(ms);
         match (ms, valid) {
@@ -576,6 +576,7 @@ mod tests {
                 assert_eq!(ms.ty.mall.non_malleable, non_mal);
                 assert_eq!(ms.ty.mall.safe, need_sig);
                 assert_eq!(ms.ext.ops_count_sat.unwrap(), ops);
+                assert_eq!(ms.ext.stack_elem_count_sat.unwrap(), stack);
             }
             (Err(_), false) => return,
             _ => unreachable!(),

A quick look at the first vector failing with the above patch suggests that this is the calculation that needs to be fixed: the vector looks right.
https://github.com/rust-bitcoin/rust-miniscript/blob/a2d6fff55a6b4a81a92fe740ee4dea86746875cc/src/miniscript/mod.rs#L610

Looks like it was introduced in https://github.com/rust-bitcoin/rust-miniscript/pull/49.

As a part of the miniscript review for c++, I have been doing a line-by-line comparison with rust-miniscript. I still have opcode and stack size limits to double. Hopefully, will report back today/tomorrow

Note that the logic of calculating stack size is slightly different in both implementations, but they should result in the same output.


embedding of positional encoding?

Great work and thanks a lot. I wanted to ask why you do embeddings of the pos encoder?
https://github.com/jadore801120/attention-is-all-you-need-pytorch/blob/1600401b30eacd3747184827fd40d97752a7627b/transformer/Models.py#L55
I believe the pos encoder should just be added to the input embeddings, like here:
https://github.com/Kyubyong/transformer/blob/master/train.py
Let me know, thanks a lot

Hi @culurciello,
Thanks for pointing out!
I was considering to keep the flexibility to extend to trainable positional encoding.
But You are right. I think adding a constant matrix can be enough.
Hope this answered your question! Thanks!
Yu-Hsiang

To add to the above, computing the positional encoding at the beginning and retrieving the values during training (how it's done in this repo) is much more efficient than computing them every single minibatch.

@jadore801120  I think in the code, this is actually implementing trainable positional encoding?

@Wakeupbuddy  this embedding is not trained, because the parameter of position embedding layer is not feed into optimizer


Missing end of files

By "BSEventEveryNEventsModifier" missing <hkparam name="enable">true</hkparam>

Thanks, the next version will have issue 2 fixed. I'm not sure what's happened with the first one. I'll see if I can reproduce it.

I just opened the project and saved it unchanged.

defaultmale.hkx and characters\defaultmale.hkx are empty.

Thanks, I'll investigate tonight.


Update OpenLDAP image

Provides autoloading of fixture and faster boottime !

Codecov Report

Merging #74 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #74   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           9      9
  Lines         870    870
=====================================
  Hits          870    870

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 966f401...85accf9. Read the comment docs.


[FEATURE] Maintainer dashboard

Is your feature request related to a problem?

We have maintainers that have not been active for over a year listed in MAINTAINERS.md across repos that may give the impression the folks in the list are engaged.
Some people were assigned to repos as maintainers during the fork and have moved on.

What solution would you like?

A metrics dashboard that shows repos, maintainers, their affiliation, and last time they contributed.
A way to see maintainers that are MIA for a very long time, sorted by when they contributed last.
A bot that opens PRs moving maintainers that have not contributed for X time to emeritus.

Thanks @dblock for opening this up. I agree this will be super useful for maintaining active working group maintainers for all repos. Adding @prudhvigodithi @bshien who will be helping take this forward in near time.

[Triage]
Thanks, @dblock. I assume the consideration for 'contributions' here refers to committing code within the last X time period before moving to the emeritus section.

We can have the MAINTAINERS.md for each repo transformed and indexed to the metrics cluster.

For each user alias, we can get the total contributions using API https://api.github.com/repos/opensearch-project/opensearch-metrics/contributors and contributor latest commit date using the API https://api.github.com/repos/opensearch-project/opensearch-metrics/commits?author=prudhvigodithi&per_page=1 (committer date).

Once we have the above data, we can have a visualization to display the repos, maintainers, their affiliation, total contributions and last time they contributed.

A process can that can query the cluster to get the information if not contributed for X time (based on the committer date) and raise a PR to update the MAINTAINERS.md, codeowners, later an admin should update the collaborators section to baseline the repo.

@bshien Lets think of having sectional layout in the same Ops Board and group related metrics together, such as for Issues, PRs, Contributions, Code Coverage, Integ Tests and so on. Having one board will be easy to maintain and use.


Add docs for working with existing Key Vaults

As suggested in issue #216, I've cobbled together something that describes how I got Sign Service working with a certificate in an existing Key Vault.

 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.:x: andrewmolyneux sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

 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.:x: andrewmolyneux sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Separator can be omitted when adding third-party link actions to the transaction table

#4092 added the ability to add third-party links to block explorers and the functionality to show a selected translation in that block explorer. As stated in a review in that PR, it is important that we separate these third-party links from all of the other context-menu actions.

"Nit: please add a menu separator between the 'normal' actions and the 'third party' actions."

Since the merge of that PR, there has been a bug where it's possible that this separator does not get added, and the third-party link actions merge in with our "normal" actions.
Because the addition of the separator is conditional on being at 0, if the first string passed is empty; then the separator will never get added. Now that we've iterated past 0, any subsequent actions will get merged in with our normal actions instead of being visually separated into its distinct section.
To Replicate:

Pass in arguments to the Options->Display->Third party transaction URLs menu setting that would result in the first string being empty. Example: | | https://mempool.space/tx/%s | https://blockstream.info/tx/%s.
Restart, navigate to Transaction window and right-click on a transaction.
Notice that any third-party links you had passed are now actions that have merged in with "normal" actions.

Went ahead and pushed a commit to #430 that will fix this.

Since the merge of that PR, there has been a bug where it's possible that this separator does not get added, and the third-party link actions merge in with our "normal" actions.
Because the addition of the separator is conditional on being at 0, if the first string passed is empty; then the separator will never get added. Now that we've iterated past 0, any subsequent actions will get merged in with our normal actions instead of being visually separated into its distinct section.

I can reproduce it:


Kaw 7685 columns

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #KAW-7685
Test URLs:

Before: https://main--edge-delivery-bimota--netcentric.hlx.page/drafts/tdziezyk/
After: https://KAW-7685-columns--edge-delivery-bimota--netcentric.hlx.page/drafts/tdziezyk/

Images look stretched for screen size less than 760, can you check ?

I used assets with better resolution.


content cut off in selects

Setting Select width to "Auto" chops content in some browsers - removing until another method can be found to resize
Old:

New:

@dclarizio rebased


Local LL-HLS Files

Is there a way to generate the files locally instead of pushing them to localhost:8080 ?
I thought of this, because when I run the script inside a docker container, I get an error such as "Broken pipe" and I couldn't find a solution for that.
So, is there a fix for that or can I generate the files locally? (meaning inside the container)

@PanicKk Generate files locally is able to implement.
But, PRELOAD-HINT with chunked transfer (per frame) require on-memory serving.
I consider local file generating seems not solve your problem.
I try run in container, it seems good and does not occured "Broken pipe".
Please tell your settings for convinience.
FROM alpine:latest
RUN apk --update add ffmpeg python3 py3-pip && rm -rf /var/cache/apk/*
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY biim biim
COPY fmp4.py fmp4.py
EXPOSE 8080
CMD ["sh", "-c", "ffmpeg -re -f lavfi -i testsrc=700x180:r=30000/1001 -f lavfi -i sine=frequency=1000:r=48000 -c:v libx264 -tune zerolatency -preset ultrafast -r 30 -g 15 -pix_fmt yuv420p -c:a aac -ac 2 -ar 48000 -f mpegts -  | ./fmp4.py"]

Thank you! @monyone
I was trying with an ubuntu image and tried cloning the repo and then starting the push, I also missed the port exposing part.
I tried the provided Dockerfile and it works fine, thank you. But, I generating the files locally is a better approach for my intention, since I need to upload the files to a CDN.
Could you please instruct me on how to generate the files locally?

I have another concern!
Is the role of the playlist.m3u8 that of a master file? Also, if the ffmpeg command includes multiple output resolutions, will those be included in the playlist?

biim can serve LL-HLS origin (HTTP 1.1).
I think m3u8 and media segment don't have to upload  storage.
CDN refer biim's origin and cache them.

Currently not support multiple resolution.
If there is a need, I implement sepelately.

It would be amazing if you added support for multiple resolutions !
Maybe something like: localhost:8080/1080p.m3u8, localhost:8080/720p.m3u8 ... based on the given ffmpeg command, so the user can decide the encoding configurations for each resolution.
Also what do you mean with CDN refer biim's origin and cache them and segments don't have to upload to storage?
Can I upload them either way ?

CDN (almost) pull file from existing origin server.
And biim is serve m3u8 as origin server.
So, simply setting CDN's origin to biim's origin url.

Hey @monyone ! I apologize for the mention and disturbing you, but I was wondering if you could inform me about supporting multiple resolution outputs.
Could you do something about that, or could you please instruct me how to achieve it. Thank you !

Any updates @monyone ?