Suggestion: CPU bound example

Hi,
The Sync example runs in a different thread as described, and I did not succeed getting the async example working. However, it looks like both examples are not limited by CPU, suggest adding an example which utilites all cores.
Following is what I've come up with:
let res = [];
for (let j = 0; j < 10000; j++) {
  res.push(job(() => {
    let total = 0;
    for (let i = 0; i < 10000; i++) {
      total = total + Math.floor(Math.random() * Math.floor(100));
    }
    return total;
  }));
}
console.log(await Promise.all(res));

The main example is intended to show how microjob works: just define a function with a heavy CPU load so it will be executed in a separated thread. This is the purpose of microjob: simplicity.
Your example could be useful to show how the underneath worker pool works.
Instead, I suggest to create an examples folder, both for JS and TS, full of useful examples.

I've added the examples folder: I consider this issue closed.
Feel free to re-open again if you think it does not satisfy your type of CPU bound examples.


Credential provider skips all authentication methods if NET 7 RC SDK is installed

I've recently updated my VS2022 Preview and got the new NET7 RC SDK installed as a result.
Since then, Trying to perform any dotnet restore (or msbuild /t:restore) against any project that uses our internal Azure Artifacts private feed fails on authentication. The logs don't even show an attempt to acquire credentials.
Curiously, nuget list -source our_source_name_here does work.
If i manually pin the repository to use the .NET 6 SDK with a global.json file, the restores succeed and i can see the provider was used.
I'm not sure which specific info would be helpful, please let me know and i'll provide whatever needed.

Upon further testing, this could be related in some way (or a specific/specialized case of) to #292 - When pinned to NET 6 SDK and running against projects/repos that don't have credentials i get a device code flow prompt in the debug logs i can use and authentication works through that.
Pinned to NET 7 SDK (or global.json removed) that is skipped as well and the operation fails.
Here are the two dotnet restore -v d .\PROJECT --force --force-evaluate --interactive --no-cache outputs from the repo dir:
successful NET 6 SDK led log excrept
             [CredentialProvider.215023]Running in plug-in mode
             [CredentialProvider.215023]Command-line v1.0.0+94af8126cf520805dd7e213b92cdecd9d8728d1f: C:\Users\USERNAME\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll -Plugin
             [CredentialProvider.215023]Handling 'Request' 'Initialize'. Time elapsed in ms: 5 - Payload: {"ClientVersion":"6.3.0","Culture":"en-IL","RequestTimeout":"00:00:05"}
             [CredentialProvider.215023]Sending response: 'Request' 'Initialize'. Time elapsed in ms: 6
             [CredentialProvider.215023]Time elapsed in milliseconds after sending response 'Request' 'Initialize': 8
             [CredentialProvider.215023]Handling 'Request' 'GetOperationClaims'. Time elapsed in ms: 1 - Payload: {}
             [CredentialProvider.215023]Sending response: 'Request' 'GetOperationClaims'. Time elapsed in ms: 8
             [CredentialProvider.215023]Time elapsed in milliseconds after sending response 'Request' 'GetOperationClaims': 24
             [CredentialProvider.215023]Handling 'Request' 'SetLogLevel'. Time elapsed in ms: 1 - Payload: {"LogLevel":"Debug"}
             [CredentialProvider]Sending response: 'Request' 'SetLogLevel'. Time elapsed in ms: 3
             [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'SetLogLevel': 15
             [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 5 - Payload: {"Uri":"https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json","IsRetry":false,"IsNonInteractive":false,"CanShowDialog":false}
             [CredentialProvider]Creating a progress reporter with interval: 00:00:02
             [CredentialProvider]Handling auth request, Uri: https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json, IsRetry: False, IsNonInteractive: False, CanShowDialog: False
             [CredentialProvider]URI: https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - This credential provider must be run under the Team Build tasks for NuGet with external endpoint credentials. Appropriate environment variable needs to be set.
             [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider, cannot provide credentials for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]VstsBuildTaskCredentialProvider - This credential provider must be run under the Team Build tasks for NuGet. Appropriate environment variables must be set.
             [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.VstsBuildTask.VstsBuildTaskCredentialProvider, cannot provide credentials for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]VstsCredentialProvider - Matched well-known Azure DevOps Service hostname: AZDO-ORG-HERE.pkgs.visualstudio.com
             [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.Vsts.VstsCredentialProvider to try to get credentials for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json.
             [CredentialProvider]IsRetry: False
             [CredentialProvider]Could not find cached SessionToken for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]GET https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]Found AAD Authority from 401 headers: https://login.windows.net/AAD-TENANT-GUID-HERE
             [CredentialProvider]VstsCredentialProvider - Using AAD authority: https://login.windows.net/AAD-TENANT-GUID-HERE
             [CredentialProvider]VstsCredentialProvider - Attempting to acquire bearer token using provider 'ADAL Cache'
             [CredentialProvider]VstsCredentialProvider - Bearer token provider 'ADAL Cache' didn't acquire a token
             [CredentialProvider]VstsCredentialProvider - Attempting to acquire bearer token using provider 'ADAL Windows Integrated Authentication'
             [CredentialProvider]VstsCredentialProvider - Bearer token provider 'ADAL Windows Integrated Authentication' didn't acquire a token
             [CredentialProvider]VstsCredentialProvider - Not running bearer token provider 'ADAL UI'
             [CredentialProvider]VstsCredentialProvider - Attempting to acquire bearer token using provider 'ADAL Device Code'
             [CredentialProvider]DeviceFlow: https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]ATTENTION: User interaction required.

             **********************************************************************

             To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CKKAF5HGW to authenticate.

             **********************************************************************

             [CredentialProvider]VstsCredentialProvider - Acquired bearer token using 'ADAL Device Code'
             [CredentialProvider]VstsCredentialProvider - Attempting to exchange the bearer token for an Azure DevOps session token.
             [CredentialProvider]Requesting a Compact token valid for duration 90.00:00:00, valid until 01/01/2023 18:50:46 UTC. Note that the generated token may have different validity than requested.
             [CredentialProvider]GET https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]VstsCredentialProvider - Found SessionToken for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]Caching SessionToken for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 25563
             [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 25571

failing NET 7 SDK led log excrept
             [CredentialProvider.214635]Running in plug-in mode
             [CredentialProvider.214635]Command-line v1.0.0+94af8126cf520805dd7e213b92cdecd9d8728d1f: C:\Users\USERNAME\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll -Plugin
             [CredentialProvider.214635]Handling 'Request' 'Initialize'. Time elapsed in ms: 5 - Payload: {"ClientVersion":"6.4.0","Culture":"en-IL","RequestTimeout":"00:00:05"}
             [CredentialProvider.214635]Sending response: 'Request' 'Initialize'. Time elapsed in ms: 6
             [CredentialProvider.214635]Time elapsed in milliseconds after sending response 'Request' 'Initialize': 8
             [CredentialProvider.214635]Handling 'Request' 'SetLogLevel'. Time elapsed in ms: 1 - Payload: {"LogLevel":"Debug"}
             [CredentialProvider]Sending response: 'Request' 'SetLogLevel'. Time elapsed in ms: 3
             [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'SetLogLevel': 11
             [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 6 - Payload: {"Uri":"https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json","IsRetry":true,"IsNonInteractive":true,"CanShowDialog":false}
             [CredentialProvider]Creating a progress reporter with interval: 00:00:02
             [CredentialProvider]Handling auth request, Uri: https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json, IsRetry: True, IsNonInteractive: True, CanShowDialog: False
             [CredentialProvider]URI: https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]VstsBuildTaskServiceEndpointCredentialProvider - This credential provider must be run under the Team Build tasks for NuGet with external endpoint credentials. Appropriate environment variable needs to be set.
             [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.VstsBuildTaskServiceEndpoint.VstsBuildTaskServiceEndpointCredentialProvider, cannot provide credentials for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]VstsBuildTaskCredentialProvider - This credential provider must be run under the Team Build tasks for NuGet. Appropriate environment variables must be set.
             [CredentialProvider]Skipping NuGetCredentialProvider.CredentialProviders.VstsBuildTask.VstsBuildTaskCredentialProvider, cannot provide credentials for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]VstsCredentialProvider - Matched well-known Azure DevOps Service hostname: AZDO-ORG-HERE.pkgs.visualstudio.com
             [CredentialProvider]Using NuGetCredentialProvider.CredentialProviders.Vsts.VstsCredentialProvider to try to get credentials for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json.
             [CredentialProvider]IsRetry: True
             [CredentialProvider]Invalidating SessionToken cache for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]GET https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
     1>C:\Program Files\dotnet\sdk\7.0.100-rc.1.22431.12\NuGet.targets(132,5): warning : The plugin credential provider could not acquire credentials. Authentication may require manual action. Consider re-running the command with --interactive for `dotnet`, /p:NuGetInteractive="
       true" for MSBuild or removing the -NonInteractive switch for `NuGet` [C:\Code\REPO-HERE\PROJECT\PROJECT.sln]
           Unauthorized https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/17255fb0-0e9e-4b0a-af0f-fce34bcd277a/nuget/v3/flat2/INTERNAL-NUGET-NAME/index.json 875ms
         Retrying 'FindPackagesByIdAsync' for source 'https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/17255fb0-0e9e-4b0a-af0f-fce34bcd277a/nuget/v3/flat2/INTERNAL-NUGET-NAME/index.json'.
         Response status code does not indicate success: 401 (Unauthorized).
         Enhanced retry: HttpRetryHandler is in a state that retry would have been abandoned or not waited if it were not enabled.
             [CredentialProvider]Found AAD Authority from 401 headers: https://login.windows.net/AAD-TENANT-GUID-HERE
             [CredentialProvider]VstsCredentialProvider - Using AAD authority: https://login.windows.net/AAD-TENANT-GUID-HERE
             [CredentialProvider]VstsCredentialProvider - Not running bearer token provider 'ADAL Cache'
             [CredentialProvider]VstsCredentialProvider - Attempting to acquire bearer token using provider 'ADAL Windows Integrated Authentication'
             [CredentialProvider]VstsCredentialProvider - Bearer token provider 'ADAL Windows Integrated Authentication' didn't acquire a token
             [CredentialProvider]VstsCredentialProvider - Not running bearer token provider 'ADAL UI'
             [CredentialProvider]VstsCredentialProvider - Not running bearer token provider 'ADAL Device Code'
             [CredentialProvider]VstsCredentialProvider - Could not obtain credentials for https://AZDO-ORG-HERE.pkgs.visualstudio.com/_packaging/Backend/nuget/v3/index.json
             [CredentialProvider]Unable to acquire credentials.
             [CredentialProvider]Sending response: 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 1080
             [CredentialProvider]Time elapsed in milliseconds after sending response 'Request' 'GetAuthenticationCredentials': 1089

.. Can we actually do have a conversation in a community thats someone actually looking at other than MS Enterprise reps?

@ransagy This looks like a bug in dotnet.  In .NET 6, "IsNonInteractive":false is passed to credential provider, whereas your log for .NET 7 RC, dotnet passes "IsNonInteractive":true to the credential provider. Let me try to repro locally.

I'm not seeing a difference - am I missing something?
dotnet restore -v d .\src --force --force-evaluate --interactive --no-cache > d:\T\7.0.100-rc.2.22477.23.txt
       MSBuild executable path = "C:\Program Files\dotnet\sdk\7.0.100-rc.2.22477.23\MSBuild.dll"
       [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 3 - Payload: {"Uri":"https://pkgs.dev.azure.com/mseng/_packaging/ArtifactTool/nuget/v3/index.json","IsRetry":false,"IsNonInteractive":false,"CanShowDialog":false}

dotnet restore -v d .\src --force --force-evaluate --interactive --no-cache > d:\T\6.0.402.txt
       MSBuild executable path = "C:\Program Files\dotnet\sdk\6.0.402\MSBuild.dll"
       [CredentialProvider]Handling 'Request' 'GetAuthenticationCredentials'. Time elapsed in ms: 4 - Payload: {"Uri":"https://pkgs.dev.azure.com/mseng/_packaging/ArtifactTool/nuget/v3/index.json","IsRetry":false,"IsNonInteractive":false,"CanShowDialog":false}

My patch level versions were a bit different (older) as the logs said, dunno if thats a difference. Anything specific i can do to get more info and try to isolate it? i can try creating a repro project, but i tried it on so many different ones internally, i don't think it's really related to that.
Another difference i can think of is i use CPVM, but that shouldn't affect that part of the restore process, AFAIK.

After cleaning all intermediates from my repo, cleaning all nuget caches and retrying this, i can't quite reproduce it as originally shown; IsNonInteractive now seems to behave. However, I still get IsRetry = true in almost every other restore operation, which sounds more like what was discussed in #329 instead.

I'm seeing a similar error with the .NET 7 RC2 SDK installed. It is passing IsNonInteractive: True to the credential provider, which means it never even tries device flow, it just fails.

@johnterickson Given that .NET 7 is 14 days away from release, this seems like a pretty major issue to me. We just had it happen on a new developers' PC here. If you install .NET 7 RC2 SDK, the credentials provider for Azure DevOps immediately stops working as described in this issue.

@ransagy  I am glad IsNonInteractive is correct.  Can you provide logs where you think IsRetry is wrong?
@arknu Can you provide logs of what you are seeing?
@kartheekp-ms Is this on your radar?

I'll try to make a more concrete effort on that this week. I can repro it in SOME form every single hour of any of my work days, i just haven't been able to isolate a small/short repro case, especially considering i don't know exactly in which tool lies the problem since i use them all. Basically, this past month, i lose my cached session tokens every few commands of nuget/dotnet/msbuild and have to re-auth.

Enhanced retry: HttpRetryHandler is in a state that retry would have been abandoned or not waited if it were not enabled.

I guess the above log message in https://github.com/microsoft/artifacts-credprovider/issues/347#issuecomment-1265893601 comment give us some clue. I will create an issue in NuGet/Home repo. I don't know enough right now how can end up in this state.
https://github.com/NuGet/NuGet.Client/blob/035850255a15b60437d22f9178c4206bafe0b6a9/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRetryHandler.cs#L91

Sadly, still in the same situation; I can trigger this very very often, but i haven't been able to minimize it to a repro well enough that isnt "clean everything, re-restore/build all repo, wait till it breaks X minutes later".

Just tested with the final .NET 7 SDK and the scenario that was previously broken for me (installing a dotnet new template from our internal NuGet feed) is now working correctly, so this looks to be fixed in the final build.

Is there a change (or specific changes) that were done between RC2 and GA SDK for 7?

AFAIK, there is no change on the NuGet side between these versions.

I'm carefully optimistic as well since the operations that failed for me do seem to work without resetting my cached token, but i want to be sure im not just misjudging certain operations.

Just tested with the final .NET 7 SDK and the scenario that was previously broken for me (installing a dotnet new template from our internal NuGet feed) is now working correctly, so this looks to be fixed in the final build.

Glad that you both are currently unblocked by this issue.

Identified the root cause of this issue https://github.com/NuGet/Home/issues/12215#issuecomment-1324301722 and closed the NuGet side tracking issue.

The root cause of this was the new persistent MSBuild Server feature, which was enabled for RC1 and RC2, but disabled for GA due to feedback just like this. The team is working on fixes around areas like interactivity for MSBuild server as a result.  Sorry for the churn, and we'll make sure this scenario is covered before reintroducing the feature.


Can't open link on another tab

Hi guys, thanks again for the plugin!
I'm noticing a strange behavior, not sure if directly related to the plugin:

Open the link directly: Works Fine :) ;
Open the link by right clicking on browser to open another tab: 404 error on github :(

Test it here: https://tainacan.github.io/tainacan-wiki/#/pt-br/getting-started
Any ideas?

the navigate behavior is implemented by click event. So only click can trigger the right jump.
https://github.com/njleonzhang/docsify-edit-on-github/blob/390d71a2e8781e8b119c8bc329c8fa5a7d6421ce/index.js#L30-L33

I see... wouldn't it be possible to do something like:
'<a :href="getDocBase() " target="_blank">',

Then
function getDocBase(event, vm) {
      var docName = vm.route.file

      if (docName)
         return docEditBase + docName;
      else
         return docBase;
}

?

Yeah, I think it can be implemented as you wished. I Will consider to implement later.

prevent the right click in commit 470917a9be2788b16c4347ea5e3e842f907431ea


html/javascript-snippet

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: html/javascript-snippet
Document link: html-javascript-snippet.md
My Issue/Suggestion

The path to o.p here is /widgets/, which causes a path error when my site path has a virtual directory

Hello @wang3156 ,
Thank you for this valuable feedback. Because it is concerning the code file inside the widget, and not the code snippet in the document, could you please file a Support Ticket if this is a blocking issue for your app work? The developers will then be alerted to the issue and change the code.
Thank you,
Connor


cartodb sync

push data to cartodb staging table or use direct db connection.

@thomas-maschler looks like this is our best option here: http://www.gdal.org/drv_cartodb.html


Search endpoint doesn't exist (Not a rate limit error, but 404)

Hello,
Maybe it's related to rate limits problem, but in my case I receive 404 error with the following content when trying to search anything:
2023-07-02 21:58:25.051 [DEBUG] :: Max retries exceeded
[{'message': 'Sorry, that page does not exist', 'code': 34}]

I didn't exceed any rate limits - it looks like the endpoint https://api.twitter.com/2/search/adaptive.json is disabled completely now?
But the Twitter site uses another endpoint in advanced search:
https://twitter.com/i/api/graphql/nK1dw4oV3k4w5TdtcAdSww/SearchTimeline?variables={"rawQuery":"NEKO or neko \"NEKO\"","count":20,"querySource":"typed_query","product":"Latest"}&features={"rweb_lists_timeline_redesign_enabled":true,"responsive_web_graphql_exclude_directive_enabled":true,"verified_phone_label_enabled":false,"creator_subscriptions_tweet_preview_api_enabled":true,"responsive_web_graphql_timeline_navigation_enabled":true,"responsive_web_graphql_skip_user_profile_image_extensions_enabled":false,"tweetypie_unmention_optimization_enabled":true,"responsive_web_edit_tweet_api_enabled":true,"graphql_is_translatable_rweb_tweet_is_translatable_enabled":true,"view_counts_everywhere_api_enabled":true,"longform_notetweets_consumption_enabled":true,"responsive_web_twitter_article_tweet_consumption_enabled":false,"tweet_awards_web_tipping_enabled":false,"freedom_of_speech_not_reach_fetch_enabled":true,"standardized_nudges_misinfo":true,"tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled":true,"longform_notetweets_rich_text_read_enabled":true,"longform_notetweets_inline_media_enabled":true,"responsive_web_media_download_video_enabled":false,"responsive_web_enhance_cards_enabled":false}&fieldToggles={"withArticleRichContentState":false}

and it seems working now (I can search tweets on the website).

New search endpoint has been added and API has undergone changes. Queries are now represented as a list of dicts containing the query string and category. See readme for details.

Thank you very much for quick answer!


too many open files

Describe the bug
The reliably coinfig file is opened too many times:
panic: open ~/.config/reliably/config.yaml: too many open files

This crashes the agent after a while when it runs at an interval.
To Reproduce
Leave the agent running in a tight loop for a while. Dependening how many file descriptors your system allows you to open.
Expected behavior
Not that :p

I'll take a look


AZ-204_lab_10.md

Images strings should be localized

https://github.com/MicrosoftLearning/AZ-204-DevelopingSolutionsforMicrosoftAzure.fr-fr/issues/79


Add duration and clean up computeds code

Based on PR: #24
Adds {{duration 4 'days'}} helper as well as computed properties. See dummy test app for usage.

@stefanpenner can you review this pull request?

LGTM, thanks for the contribution!


Component doesn't re-render for hook in my React Native App

Here are my packages:
  "dependencies": {
    "expo": "^34.0.3",
    "graphql": "^14.4.2",
    "react": "16.8.6",
    "react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz",
    "react-native-gesture-handler": "^1.3.0",
    "react-native-maps": "^0.25.0",
    "react-navigation": "^3.11.1",
    "urql": "^1.2.0"
  }

Setup:
const AppNavigator = createStackNavigator({
  Home: {
    screen: ShowsScreen,
    navigationOptions: () => ({
      title: 'SOTW',
    }),
  },
  ShowDetail: {
    screen: ShowDetailScreen,
  },
}, {
  initialRouteName: 'Home',
  defaultNavigationOptions: {
    headerStyle: {
      backgroundColor: 'black',
      borderBottomWidth: 0,
    },
    headerTintColor: 'white',
  },
});

const AppContainer = createAppContainer(AppNavigator);

const client = createClient({
  url: 'http://XXXXX/v1/graphql',
  fetchOptions: {
    headers: {
      'x-hasura-admin-secret': 'XXXXXX',
    },
  },
});

export default () => {
  return (
    <Provider value={client}>
      <AppContainer />
    </Provider>
  );
};

And my component render:
  const [isFoo, setFoo] = useState(false);
  const [result, executeQuery] = useQuery({
    query: `{
      event {
        id
        display_name
        door_date
        end_date
        is_recommended
        venue {
          display_name
          id
          coords
          summary
          address1
          city
          state
        }
      }
    }`,
  });

  const { data, fetching } = result;

  // without this faux-setState, the component never re-renders and fetching stays true
  useEffect(() => {
    setTimeout(() => setFoo(true), 1500);
  });

If I remove the setFoo, the component never re-renders and just hangs on fetching: true. Happy to provide any info -- I'm new to React Native, but not React so there's definitely a possibility I'm doing something wrong. But this is about as simple an example I can implement.
I looked into a few issues, such as #287 but I'm running 1.2.0 so I don't think that's the same problem.
Cheers, looking forward to using this library more. Let me know if I can share any thing else.
Could this be related -- seems like that hasn't been deployed yet? https://github.com/FormidableLabs/urql/pull/358

Yes, the issue you’re linking to is related and has been reported by @kelset via other channels 👌
The bug should be fixed once we release the next patch version, which should go out on Monday 🙌 (there's a prerelease under the next tag for now if you need the fix urgently)

Okay cool, no rush on my end just wanted to let y'all know. Are there other official channels like a chatroom? I tried to find an irc channel or discord to ask first, but didn't come across one.
Thanks for the quick reply.

@switz Hiya, no unfortunately we don't have anything set up yet but we may create a Spectrum community 👍


openjdk: 14.0.2 -> 15.0.1

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I am off work until early January, so won't be able to confirm this survives a few workdays until then.  :)
continues from #83116.  fixes #98784.
cc @edwtjo @shlevy @NeQuissimus @lopsided98 @xfix @petabyteboy @lopsided98 @bachp

mindustry also uses jdk14 explicitly.  Confirmed that it and apache-directory-studio launch cleanly.

@jerith666 There are 282 packages that will get affected by this:
curl --silent https://gist.githubusercontent.com/GrahamcOfBorg/01e59afc3364e0b5a5add261f9a92a52/raw/e48220f36edf6cfa96080ddd954debe17228fc74/Changed%2520Paths | awk '{print $2}' | sort -u | wc -l

Unfortunately, this kind of major version updates require a lot of manual testings, especially for jdk, see https://github.com/NixOS/nixpkgs/pull/89731 . Ideally, we should test each package individually and make sure it launches in runtime, but it's probably a lot of work.. Testing 10% percent of these packages will be persuasive and should help this PR get accepted.

nix-review output
11 packages marked as broken and skipped:
aldor foo-yc20 jboss junit junixsocket octave-jit openfire pig plm purePackages.faust spark
2 packages failed to build:
graalvm8 jvmci8
251 packages built:
DisnixWebService alchemy alda ammonite ammonite_2_12 apache-directory-studio apache-flex-sdk apktool arduino arduino-core asciidoc-full-with-plugins asciidoctorj aspectj astrolabe-generator atlassian-cli avro-tools aws_mturk_clt awstats axis2 basex bfg-repo-cleaner bftools bitwig-studio bitwig-studio1 bitwig-studio2 bloop boot briss ccemux cfr checkstyle clojure-lsp clooj closurecompiler confluent-platform coursier davmail dbeaver dex2jar ditaa ec2_api_tools emem emscripten epubcheck ergo exhibitor faust faust2alqt faust2alsa faust2csound faust2firefox faust2jack faust2jackrust faust2jaqt faust2ladspa faust2lv2 faustlive flexibee flink flink_1_5 flyway frostwire frostwire-bin gama ganttproject-bin geoipjava gitAndTools.subgit gogui gpsprune graylog gremlin-console groove groovy h2 haskellPackages.hzk haxePackages.hxjava hsqldb html5validator hydraAntLogger imagej ino ipscan jadx jameica jbake jbidwatcher jd-gui jdiskreport jdk jre_headless jedit jflex jicofo jing jitsi-videobridge jmeter jnetmap josm jre_minimal jruby jugglinglab jython kapitonov-plugins-pack key keycloak kodi kodi-gbm kodi-wayland kodiGBM kodiPlain kodiPlainWayland kodiPlugins.inputstream-adaptive kodiPlugins.joystick kodiPlugins.kodi-platform kodiPlugins.pvr-hdhomerun kodiPlugins.pvr-hts kodiPlugins.pvr-iptvsimple kodiPlugins.steam-controller kodiPlugins.vfs-libarchive kodiPlugins.vfs-sftp kotlin ktlint languagetool leiningen leo3-bin liquibase logisim logstash logstash6-oss logstash7 logstash7-oss lumo ma1sd macse makemkv martyr marvin mediathekview metabase metals micronaut mill minc_widgets mindustry mindustry-server minecraft minecraft-server mkgmap mkgmap-splitter mooSpace msgviewer munin mxisd nailgun netlogo nexus octave octaveFull omegat opa open-ecard openapi-generator-cli openapi-generator-cli-unstable openems opengrok openjdk15-bootstrap openjfx15 openjump papermc perl530Packages.NetZooKeeper perl532Packages.NetZooKeeper picard-tools picolisp plantuml plantuml-server portmod prometheus-jmx-httpserver python37Packages.databricks-connect python37Packages.python-csxcad python37Packages.python-openems python37Packages.sphinxcontrib_plantuml python38Packages.databricks-connect python38Packages.python-csxcad python38Packages.python-openems python38Packages.sphinxcontrib_plantuml python39Packages.databricks-connect python39Packages.python-csxcad python39Packages.python-openems python39Packages.sphinxcontrib_plantuml quantomatic rascal riemann runelite saxon saxon-he saxonb saxonb_9_1 sbt sbt-extras sbt-with-scala-native scalafmt schemaspy selendroid selenium-server-standalone seyren shattered-pixel-dungeon signal-cli smc snpeff soapui solr sonar-scanner-cli spring spring-boot-cli springLobby squirrel-sql sshoogr stm32cubemx storm subsonic swagger-codegen swingsane swt tabula tambura teensyduino tessera tomcat-native tomcat_connectors tr-patcher tuxguitar tvbrowser-bin umlet varscan vassal vimPlugins.lens-vim vimPlugins.vim-grammarous visualvm vue vuze weka workcraft xmind xmloscopy yed youtrack yuicompressor zipkin zkfuse zookeeper_mt zxing
graalvm8 and jvmci8 fail with Could not find a JDK >=1.8.0_141 and <1.9 and this is also the case on master, so no new breakage there.

manual testing
Packages that I tested and that worked fine:

jd-gui
frostwire
minecraft
minecraft-server
mindustry
mindustry-server
shattered-pixel-dungeon
mxisd (via nixos/tests/mxisd.nix)
netlogo
plantuml
spring (kinda, I got into the menu but could not get ingame, same happens on master so it should be fine)
selenium-server
umlet

Packages that didn't work and work on master:

arduino: Crashes after splash screen, works with jdk14
jitsi-videobridge (via nixos/tests/jitsi-meet.nix): Unrecognized VM option 'UseConcMarkSweepGC', see https://github.com/jitsi/jitsi-videobridge/issues/1547

Packages that didn't work but also didn't work with master either:

tuxguitar: SIGSEGV in jre
vuze: java.lang.UnsupportedClassVersionError (it's being compiled with jdk14/jdk15 but run with jre/jdk8)
tvbrowser-bin: java.lang.ClassNotFoundException

summary
The only packages I found that didn't work here but did work on master were arduino and jitsi-videobridge. There seems to be an update available for arduino so maybe that will fix it. I'm taking care of the GC flags in jitsi videobridge and opened a bug report upstream at https://github.com/jitsi/jitsi-videobridge/issues/1547.
A lot of the affected packages are duplicates, as in multiple derivations used for the same application, for example Kodi and its plugins make up 14 derivations.

Packages that didn't work and work on master:
* arduino: Crashes after splash screen, works with jdk14

* jitsi-videobridge (via nixos/tests/jitsi-meet.nix): Unrecognized VM option 'UseConcMarkSweepGC', see [jitsi/jitsi-videobridge#1547](https://github.com/jitsi/jitsi-videobridge/issues/1547)

Thanks for the report. So we should add commits that will pin them to jdk14.

@jerith666 if you could please take care of arduino and jitsi-videobridge.

I just tried arduino and it works okay for me locally:
$ git rev-parse HEAD
d9d16e27c8ed6780c8486094ef95e8c0a38fe3ec

$ ls -l arduino-jdk1*
lrwxrwxrwx 1 matt users 58 Dec 25 15:44 arduino-jdk14 -> /nix/store/4hk2g10wxvw641gyvzp2l4pw304s18z8-arduino-1.8.12
lrwxrwxrwx 1 matt users 58 Dec 25 16:11 arduino-jdk15 -> /nix/store/8ajpqj2yaypg7khs3fa08rxlf4pmyckn-arduino-1.8.12

I get past the splash screen and was able to load and compile an example in both of those builds.  Here's the output from the one using jdk 15:
$ ./arduino-jdk15/bin/arduino
Picked up JAVA_TOOL_OPTIONS:
Set log4j store directory /home/matt/.arduino15

(java:5114): Gtk-WARNING **: 16:16:52.623: Theme parsing error: colors.css:71:44: Invalid number for color value

(java:5114): Gtk-WARNING **: 16:16:52.623: Theme parsing error: colors.css:72:44: Invalid number for color value

(java:5114): Gtk-WARNING **: 16:16:52.623: Theme parsing error: colors.css:74:53: Invalid number for color value

(java:5114): Gtk-WARNING **: 16:16:52.623: Theme parsing error: colors.css:75:53: Invalid number for color value

(java:5114): Gtk-WARNING **: 16:16:52.623: Theme parsing error: colors.css:76:56: Invalid number for color value

(java:5114): Gtk-WARNING **: 16:16:52.623: Theme parsing error: colors.css:77:65: Invalid number for color value
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by processing.app.linux.GTKLookAndFeelFixer (file:/nix/store/8ajpqj2yaypg7khs3fa08rxlf4pmyckn-arduino-1.8.12/share/arduino/lib/arduino-core.jar) to field com.sun.java.swing.plaf.gtk.GTKLookAndFeel.styleFactory
WARNING: Please consider reporting this to the maintainers of processing.app.linux.GTKLookAndFeelFixer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Sketch uses 1860 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 188 bytes (9%) of dynamic memory, leaving 1860 bytes for local variables. Maximum is 2048 bytes.

@petabyteboy said "I'm taking care of the GC flags in jitsi videobridge", so I'll wait for that but I'm sure I can figure it out myself if needed.  :)

Just force-pushed a new commit that includes a patch for jitsi-videobridge.  nixos/tests/jitsi-meet.nix passes now.

I've got two workdays under my belt with this now (running Eclipse on top of this JDK), and no issues to report.  So, removing the WIP label; I think this is ready to merge.

I've got two workdays under my belt with this now (running Eclipse on top of this JDK), and no issues to report.  So, removing the WIP label; I think this is ready to merge.

OK. We can't wait for such major updates for ever. Let's cook this in unstable :).

OK. We can't wait for such major updates for ever. Let's cook this in unstable :).


Improve the CONTRIBUTING.md file for the proper guide.

Give the complete step by step guide for the contributors to understand the project and can contribute by reading CONTRIBUTING.md file.

could you kindly let me work on it.

Sure @subhamagarrwal, it's yours.
Please star ⭐ the repo of you found helpful.

Hi @subhamagarrwal, What is the update?

will try to wrap up by tomorrow; sorry was very sick

will try to wrap up by tomorrow; sorry am very sick

Oh get well soon!
Take your time I was just asking for update.

Hi @subhamagarrwal What's the update?

ill make it by tomorrow and send a pr by tomorrow

@Suraj-kumar00 i made a pr check once


Sessions not timing out on startup with database unavailable

🐛 Bug description
When a new session is created but the database is unavailable it does not terminate after the configured session timeout period.
🦶 Reproduction steps
Steps to reproduce the behavior:

Modify the docker orchestrator to pass a bogus/unreachable Redis URL to the session
Build and start the grid in docker
Launch a new session
Wait for the default timeout of 60 seconds
The session does not terminate indefinitely until the database becomes available again

🎯 Expected behaviour
The session should bail after a specified startup period which could either be a new timeout or re-use the existing one.

Context
Version
This bug is not version dependent.
Where did the problem occur?

☸ Kubernetes
🐳 Docker
👨💻 Locally

Which browsers cause the bug?
Not browser specific.
Additional context
Although unlikely this bug will probably manifest itself when a node has limited/misconfigured network connectivity. A clean failure would more clearly indicate the issue to the administrator during configuration.

Will be resolved by the upcoming architectural rework. For more details see #42


Update lib version from 2017 to 2021

Issue Description
Currently, we have "lib": ["dom", "es2017"] in tsconfig. Due to this, it is not allowed to use the .replaceAll method on strings, as it was introduced in 2021.
Expected Behavior
Changing the lib version to 2021 will enable us to use replaceAll with strings as well.
Current Behavior
Due to the lib version specified as 2017, it does not allow the use of replaceAll with strings.
Screenshots

Severity/Priority

[ ] Critical
[ ] High
[x] Medium
[ ] Low

Checklist

[x] I have read and followed the project's code of conduct.
[x] I have searched for similar issues before creating this one.
[x] I have provided all the necessary information to understand and reproduce the issue.
[x] I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

close via #1026


Add Solidity (ethereum smart contract language)

I would love to see Solidity added as a language, as it usually gets detected as JavaScript, Dart, Lua or other languages.
That language has a set of reserved keywords that are very different from other languages and should enable the training to perform extremely well on it.

Hi @yoeo
There are thousands of source code examples available from etherscan.io and bscscan.com. I wonder if it would be possible to somehow scrape them with their API?

Indeed I can see Github search result is not stable for Solidity.
Depending on how many file I can actually retrieve from Github, I could perhaps add Solidity to the next batch of supported languages.
Currently, the dataset is generated by this script https://github.com/yoeo/guesslangtools/
All the source codes are retrieved from Github but it should be possible to add other sources including etherscan.io and bscscan.com. And of course any contribution for that is warmly welcomed.


Documentation Tracking Issue

For GA, we need to have docs for each language in GA on the site. This issue will track discovery and implementation.
Please tag any docs issue or PR with the docs label
Kanban: https://github.com/open-telemetry/opentelemetry.io/projects/1
Need To Have

Discuss/edit this page link
Search
i18n
Accessible

To Do

[x] Evaluate existing CNCF docs sites
[x] Create requirements for SIG docs
[x] Supporting documentation and examples for creating docs in new format
[ ] Write documentation!

Adding some notes here for myself/anyone else following at home -
I've started looking into the feasibility of porting the site over to the Docsy theme (used by k8s doc site, most notably). To its credit, it checks a lot of boxes for us out of the box. Here's a preview of what the docs section could look like (most options in the theme are on defaults, so colors/fonts/etc are technically WIP) -

We get a lot of stuff for free with this - deep linking back into GH for issues/edits to pages, automatic revision history slugs, i18n, and significantly better accessibility audits (77 on current custom theme, 91 with docsy, mostly due to better ARIA compliance).
The biggest lift is probably going to be migrating over the registry, but I don't think it'd be that bad all things considered. We'll also need to rework the status page, but that was getting long in the tooth anyway.

Pardon the auto-translation, but here's an example of how the multi-language works - you get a dropdown in the corner (these languages need to be defined in config.toml) -

In the repo itself, you just need to ensure that your content is defined per-language -

One thing to note, the language dropdown appears to be global, but there's no fallback to the english text for pages that aren't defined (they're just blank, that's why there's no sections in top nav in the above screenshot, I didn't create the subtrees for other stuff). It's not really a huge problem, I reckon.

working on some ideas for the landing page:

Just stumbled upon your update and not sure what kind of feedback you are looking for, so just my first thoughts here, without really having thought about what the website could/should look like before.
I kind of like having the cards sit on the background like this, but I think the background itself just does not lend itself well to centered content. I also think it would be good to add a bit of a longer blurb explaining what OpenTelemetry actually is on the landing page. Especially since the text about supported libraries and the community on the landing page is much longer than the description of OpenTelemetry itself, which seems an odd introduction to me. Kind of sales-y, if that makes sense.
Integrations deserve to have a separate section/scroll, with more examples than in the card, and maybe also the supported languages, although the fact that we support a lot of libraries might be useful to tease before. The "supported by, and for, the community" part is probably not important enough to be featured that prominently on the landing page IMO.

yeah, i'm thinking of maybe doing 3-up for the cards (languages, libraries, integrations) with sort of the "featured" things. I'm also looking at integrating the existing look-n-feel a bit more. Could also just do languages/libraries 2-up then leave the supported analysis stuff at the bottom

For me, the background is making this a bit awkward. The telescope is the most meaningful object in the picture (as it is our logo), but it seems that whichever way the image is cropped, the telescope will always be mostly covered by other stuff. It just feels kind of wrong to me.
If we want to use the background, maybe just having Get Started, Github, and scroll buttons and a short blurb without a solid background would look better on desktop, but on small screens we probably want a solid background since there won't be much visible of the image anyway.
However, on an actual website, rather than a static image, the effect might also be very different if the site has a parallax scroll that provides more visibility during scrolling. Not sure how much it would bother me in that case. I think a crop like that in the current version of your PR #247 is also a good compromise (even if that crop shows exactly that part of the image that probably almost no one has ever seen before).

On second thought, having something like this would probably be the best use of the background, assuming we can make the text pop despite the busy image. (sorry for the very minimal effort example)

Noodled on it a bit more with your latest suggestion in mind

I like this one much more! What do you have in mind for beyond the scroll? It would be useful to define what exactly we want to have on the landing page and try to create a consistent layout that also fits the content.

Let me push what I have to the preview branch - you can take a look at https://deploy-preview-247--opentelemetry.netlify.app/

right now there's some information duplication - I'm not sure how much of what I want on the current frontpage to carry over. I need to start getting the registry ported over though, so that's probably next on my plate.
I see that you're active in python - one thing I've been trying to parse out in my head is how we should handle "minimum acceptable documentation" for each SIG on the site. I don't think it makes sense to force everyone to use this site if they have existing resources that work well for contributors and are "natural" for the community (i.e., readthedocs site for python).
I think it'd make sense for each SIG to at least have a "getting started" for tracing and metrics, and a link to more complete documentation wherever it exists

Yeah I was thinking about that as well. Defining a couple of common Getting Started scenarios would make the most sense, and I would hope that there is a place for those in each SIG's native docs. I've seen that there are some glitch pages (https://glitch.com/@opentelemetry), but haven't looked at them yet. Is there something useful among those?
I would just make the Getting Started guides the first section under the documentation drop down. I am not sure what the scenarios should look like, but it might be a good idea to define general use-cases we want to have covered, then check with the SIGs to see what they have, and then decide on the specifics once we know whether there are any quirks in some of the languages. Ideally the only differences between the guides would be the code samples.

Yeah, those glitch samples are what we use for the official workshops. I was planning on linking to them - it might make a lot of sense to just have that be the basis of the getting started examples...

Started a doc for structuring each language's content: https://docs.google.com/document/d/1YyGax0fXZau17hV0lePnGc0LDvKokjFqWb2AhdlbyO4/edit?usp=sharing

See https://github.com/open-telemetry/opentelemetry.io/projects/1 for status of individual doc sections

In the interest of doing some issue cleanup, closing this as we're pretty much at a solid process at this point (see #472) for the docs content, where it lives, and how it's updated.


iox-#2087 Fix allocation for mempools larger than 4gb

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed (except task-list-completed)
[x] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[x] Assign PR to reviewer

Notes for Reviewer

There was a missing cast in the index to pointer conversion in the MemPool when the offset to the begin of the memory was larger than 4GB.
Checklist for the PR Reviewer

[x] Commits are properly organized and messages are according to the guideline
[x] Code according to our coding style and naming conventions
[x] Unit tests have been written for new behavior
[x] Public API changes are documented via doxygen
[x] Copyright owner are updated in the changed files
[x] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[x] PR title describes the changes

Post-review Checklist for the PR Author

[x] All open points are addressed and tracked via issues

References

Closes #2087

@FerdinandSpitzschnueffler @mossmaurice @dkroenke @MatthiasKillat @elfenpiff @budrus feel free to add yourself as reviewer

@elfenpiff @mossmaurice there was a merge conflict in the release notes and I had to rebase with master. Please re-approve

@elfenpiff @mossmaurice there was another merge conflict in the release notes and I had to rebase with master again. Please re-approve


Splitstation

About the PR
50 odd round start jobs with many more late joins. Can be balanced once we have some opinions but it is a rather mid to large station still when you consider it's in two halves.
I recognise there's some polish to be done and some changes that need made but I want to get it out in the hands of the people before I do anything so I can do any changes in one go.
Screenshots

Map renderer no likey
Changelog

:cl:

add: Split Station map! A new medium to large map that's split in half!

Emisse has given some great feedback. Might involve quite a bit of structural changes so will get to work on that tomorrow and Thursday should be ready if all goes to plan. Hopefully map renderer will work then too.

[ ] Main station is split a bit too well and probably needs another 1-2 corridors connecting it together.
[ ] The halls are pretty devoid of decoration (vendors, disposals, little tables). You need to keep in mind how much time people spend in them
[ ] Almost of the rooms are square. From a design perspective this isn't a huge deal but it's definitely very boring to look at.
[ ] We don't have an SM and probably won't for quite a bit. Room needs repurposed and a singulo added. (Yes this is an issue with Pillar too)
[ ] Armory is entirely undefended, take down 1 r-wall from the main hall and you're in. This is a big no-no
[ ] Northern part of sec is normal walls while the rest is reinforced?
[ ] The gravity generator is overlapping with walls. Move it one down. (Also an issue on Pillar)
[ ] The maint at the top left of the map is only usable for medical personnel, this needs fixed (try connecting it to more places).
[ ] The airlocks for docking are useless as there's no gap between the doors, also the docking nub is not oriented correctly.

[ ] RD's office is unfurnished

[ ] Triple doors in cargo?

[ ] Sec shouldn't have maint running straight through it, massive vulnerability in a department meant to be secure.

[ ] The rainbows are a bit much, sorry. Tone it down maybe?
[ ] The bridge needs rethought. It's an impenetrable fortress and also boring simultaneously.
[ ] Vault needs reinforced.
[ ] What?

[ ] This is extraordinarily large for a room with a guitar in it.

[ ] Can we have these more organic room shapes in the entire rest of the station? It'd look better

[ ] Avoid running cables and pipes under walls unless absolutely necessary, it's a huge pain to repair otherwise.

All in all, needs changes.

I don't know if mass drivers are in yet but I think it'd be funnier to launch disposals across via mass driver than to run a really long pipe.

I don't know if mass drivers are in yet but I think it'd be funnier to launch disposals across via mass driver than to run a really long pipe.

Really long pipe is just disposals rollercoaster for the fun of it otherwise I’d of just given top half their own disposals.

I don't know if mass drivers are in yet but I think it'd be funnier to launch disposals across via mass driver than to run a really long pipe.

they're not, unfortunately

Holy shit it's Berlin station

[ ]  Main station is split a bit too well and probably needs another 1-2 corridors connecting it together.

This is the purpose of the map imo. I want there to be situations where you have to launch yourself across a space gap fast if sh*t hits the fan and you want to get to the shuttle otherwise use one of the other paths. Space walk path on the far right is an option.

* [ ]  The halls are pretty devoid of decoration (vendors, disposals, little tables). You need to keep in mind how much time people spend in them

Are they? I think there's a decent sprinkling of them without them being obnoxiously placed blocking hallways but I'll take another look. There's also not a big variety of vendors for it to not just look the same but I'll try.

* [ ]  Almost of the rooms are square. From a design perspective this isn't a huge deal but it's definitely very boring to look at.

Eh they're spacious enough but I'll see if there's something I can do.

* [ ]  We don't have an SM and probably won't for quite a bit. Room needs repurposed and a singulo added.  It's boring and AME currently provides enough power. The room can also be repurposed slightly with a damaged RTG or artefact.

* [ ]  Armory is entirely undefended, take down 1 r-wall from the main hall and you're in. This is a big no-no

I got confused originally because I don't class that as the armory. It's like a loadout room designed specifically so you can push barriers out quickly into the corridor.
If we want to change the sec barrier into a grenade then sure this becomes redundant but otherwise the only thing in that room of use is a bunch of tasers which will be taken on roundstart. I can rejig this around with the evidence room but yeah, this is the issue with rooms that are in the center of the station when you want to make them bigger to have windoor cupboards.

* [ ]  Northern part of sec is normal walls while the rest is reinforced?

Oversight, will fix.

* [ ]  The gravity generator is overlapping with walls. Move it one down. (Also an issue on Pillar)

Did not know this, will fix.

* [ ]  The maint at the top left of the map is only usable for medical personnel, this needs fixed (try connecting it to more places).

The age old question of maint. Will come onto this again further down but unless you want a maint corridor going through the center of medbay, or ruining the arrivals emergency waiting area then you can't connect it more. I agree it needs more love with the escape pods but that's my thoughts unless someone wants to suggest how.

* [ ]  The airlocks for docking are useless as there's no gap between the doors, also the docking nub is not oriented correctly.

More an arrivals specific dock than an airlock, if only they would only open when docked but yes, I'll redo them.

* [ ]  RD's office is unfurnished

oversight, will fix.

* [ ]  Triple doors in cargo?

matching aesthetic of corridor door and it's atmos so eventually will have atmos devices to drag out. Can shrink to 1 wide since my OCD will hurt if I do a 2 width.

* [ ]  Sec shouldn't have maint running straight through it, massive vulnerability in a department meant to be secure.

The other section is perma so not a problem. Same thing on Pillar, people want more maint and the only way to do that is to cut off anything that needs to be external facing like docks.

* [ ]  The rainbows are a bit much, sorry. Tone it down maybe?

I asked for feedback but sure, will remove.

* [ ]  The bridge needs rethought. It's an impenetrable fortress and also boring simultaneously.

Never been a problem on box? If people can't shoot out two windows to get in then they don't deserve to get in.

* [ ]  Vault needs reinforced.

Simulatiously a fortness and needs reinforced?

* [ ]  What?

Was originally an L shape but then I stuck drone spawners in and they need mats so shrug

* [ ]  This is extraordinarily large for a room with a guitar in it.

secret cult room to give maint some flavor and a random instrument spawner.

* [ ]  Can we have these more organic room shapes in the entire rest of the station? It'd look better

Can see what I can do but unless people are factoring in extra space for maint to eat into this means redoing a lot of sh*t.

* [ ]  Avoid running cables and pipes under walls unless absolutely necessary, it's a huge pain to repair otherwise.

Not sure what to say on this one. For the most part they follow hallways but when people want tighter maint and corridors it starts to get impossible. Yes there will be areas it's possible but I'll have to check.

* [ ]  Sci is entirely hallways?

Least there's ground work for adding in xenobio or whatever on that bottom corridor. I didn't anticipate virology so soon so have to redo a chunk of med to make it nicer which means deleting everything around med to make space.

* [ ]  Permabrig is inescapable.

skill issue. If you have competent people doing a break out it shouldn't be too hard. I get all of my experience from paradise and all prison breaks involved bringing a locker with a space suit, telling them to get in the toilet then doing a quick smash and grab. But yes, I'll connect it more to the asteroid / station.

  All in all, needs changes.

Thanks for the feedback overall, I've got a long list of little changes to make from Emisse anyway which is good. I realise this map wasn't ready for PR but when you're stwhen you mapinit and fly through or walk through.
For future mappers we should make a checklist for each department and just in general for spaces so people cover all of the content and can do a self checklist before a PR to ensure things don't slip through.

Ready for review again after implementing a butt load of feedback from Emisse and Moony and after a short break.


Digital Ocean how-to in Readme is 404

Please update the URL to the digital-ocean how-to.  Thank you!

The guide was here - http://thorsen.pm/perl/programming/2014/03/02/convos-on-digitalocean.html but it's been removed from the README in the current version.

Thanks Marcus

@ohdns: have you looked at https://convos.by/doc/install.html ? Does it make sense? Do you need more information about how to set up the new version?


Use soft shutdown for halt and reload

I got a lot of trouble using Windows VM's in vCloud when I need eg. the vagrant-reload provisioner.
The current implementation just powers off the VM without a soft shutdown of the Windows OS.
This PR is tested with Vagrant 1.7.4 and the vagrant reload, vagrant halt and vagrant-reload provision step.
Only disadvantage is that this only works with VMware tools installed in the guest VM.
A vagrant destroy still just powers off the VM.

Thanks Stefan!


Fix flicker of dropdown menu and search bar loader

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1134

Relevant Lines:
1134

💛  - Coveralls


include and join against the taggings table

since we're referencing the table in the where clause, we need to join
against the table.  We can change this to references in Rails 4, but
not Rails 3

Should we monkey patch AR in an initializer to just make .references alias .joins?  And then maybe raise a warning to tell us to remove the monkey patch when we are on Rails 4 for real?
I'm just concerned we will never go back to it.

@Fryguy ya, I think you're right.  We may as well add the monkey patch.  I also fear we won't go back to it.  I'll combine this with #1448

great!


Update dependency vertical pod autoscaler to v0.13.0

This PR contains the following updates:

Package
Update
Change

registry.k8s.io/autoscaling/vpa-admission-controller
minor
0.12.0 -> 0.13.0

registry.k8s.io/autoscaling/vpa-recommender
minor
0.12.0 -> 0.13.0

registry.k8s.io/autoscaling/vpa-updater
minor
0.12.0 -> 0.13.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

Looks like the PR currently fails because there's no tag vertical-pod-autoscaler-0.13.0 on https://github.com/kubernetes/autoscaler yet

Looks like the PR currently fails because there's no tag vertical-pod-autoscaler-0.13.0 on https://github.com/kubernetes/autoscaler yet

We had the same issue with 0.12 :D


feat(tabset): add disable option to tabset

#214

It is a good beginning, but I think that disabled tabs are getting particular CSS classes, no?

disabled class to list item ?

Disabled, see example here: http://v4-alpha.getbootstrap.com/components/navs/#tabs
Obviously we also need a test that shows that a tab gets proper CSS classes in response to changes in the disabled state.

is it okay to add that in all methods.. wherever expectactivetabs is present?

@pkozlowski-opensource  let me know if anything else to be added here


Update 4050_generic_250 config

this adds the new TPA (PID gain scheduling) parameters
and updates the pitchrate gains to match those I'm testing with on an S250AQ

Nice! Can we also do that for the QAV250 specific config?


Use ripgrep config file

ripgrep supports a configuration file:
https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#configuration-file
It would be nice if igrep respected ripgrep's config file so that I can use the same config for both.

Thank your for your suggestion! I like this idea, igrep options are always going to be a subset of ripgrep options, so it could respect its config file.

Hi, thanks for implementing this! Just tried it out and it doesn't seem to respect some of the config I'm using:

I guess you are talking about --colors option? This isn't used by igrep unfortunately! Only those listed in README are currently supported.


decomposeColor has null value when string has whitespace

Steps to reproduce
Steps:

Open this link to live example: https://codesandbox.io/p/sandbox/blissful-fog-kc3xy8

decomposeColor('#aa0099 ');
//{"type":"rgba","values":[170,0,153,null]}

darken('#aa0099 ', 0.5);
//rgba(85, 0, 76, NaN)

Current behavior
Alpha value returned by decomposeColor is null when the color string passed has whitespace before/after value. Due to this, darken (and probably other functions) return NaN when calculating proper values.
Expected behavior
Trim whitespace, or give a warning in the console.
Context
No response
Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: decomposeColor darken NaN

'#aa0099 ' is considered invalid color. You should trim the string first:
decomposeColor('#aa0099 '.trim())

I was curious to test how #43289 behaves on this. It's wrong too https://codesandbox.io/p/sandbox/divine-forest-k9wrgw?file=%2Fsrc%2FDemo.tsx%3A4%2C1, in its own way 😄.
It looks like we can improve the DX here by having a new error in dev mode only that warns when the input is not correct.


Implement serialization of infos

Right now, we are not serializing infos in osmflat. This should be implemeneted. We should also add a flag to osmflatc to omit infos. For that, we need to make the infos resource optional.

Infos are removed for now, we might add them back later?


Add My Name to Contributors.md

Add My Name to Contributors.md

@maulikrathod, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Update the configurator to detect an appropriate audio spatializer and respond to changes

This change enables easy configuration of newly installed audio spatializers, for example https://www.nuget.org/packages/Microsoft.SpatialAudio.Spatializer.Unity, by doing the following

Check to see if a spatializer is configured
Check to see if the configured spatializer is currently installed
Check to see if the count of installed spatializers has changed since the last time the project loaded

In the case of 3, it is possible, in some cases, for the collection to have the same count, yet contain different values. Other than scenario 2 failing, this is outside of the current change scope.
Fixes #6897
Opening to the  branch as this is a frequent request from audio focused customers and makes it easy for non-audio focused customers to select the best spatializer for their scenario.

/azp run

/azp run


Dataset generation script

Could you please publish the dataset generation script? This will ensure reproducibility and make a good contribution to the open-source LLM community.

Hi~ imoneoi, Thanks for your attention! We will definitely publish the dataset generation script, I think it will be around early October. Also, A 40K subset of our Full MetaMathQA dataset is released in the huggingface MetaMathQA.
The full MetaMathQA dataset will be opened very soon because we are still using this data for fully fine-tuning the 70B model.

Thank you! Looking forward to your releases!

Hi @yulonghui, any updates?

Hi @yulonghui any updates on the script? We'd like to regenerate it with Mixtral with the aim of not being restricted by OpenAI terms on the current GPT generated dataset.
Hi, @dctanner
we have open-sourced our data generation scripts on https://github.com/meta-math/MetaMath/tree/main/code_for_generating_data already.
Sorry for the late reminder.
It is very interesting to regenerate it with Mixtral. I'm looking forward to seeing your results.


Name the return column as predictions

prediction return columns is named as "predictions"
but scania trucks classification  return predictions in  the target column, rather than "predictions" columns

@umitbuyuksahin please mention


[DO NOT MERGE] Sample generate metrics rdl

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Fixed it according to your comments so you can see the final result. No need to merge this of course. I've started working on the code generation.


Feature/python docker env setup

Set up docker environment to enable the following features:

run scripts & dbs locally for testing and integration testing without complex set up
use docker as backend interpreter for pycharm
portable environment & compatibility with automation tools for future scripts.

This does not change anything on the python scripts side except for the default mongodb init file which will work right away with the docker compose. many files are changed because I have just moved inside a folder.
A Readme section was added at the end to explain usage.

closing this one to adapt to the script splitting by Pedro


In v0.2.0 all images are invalid

In Ubuntu 16.04, opening PDF containing image in Chrome results in black rectangle where image should be. Document Viewer refuses to load generated PDF.
In v0.1.0 it works (though images appear larger than they should be and are blurry because of scaling).
JPG images are unsupported in all versions, as are PNGs with alpha channel - but I believe you know that due to issue #3 . I guess there is no way to load vector images?

I'm not sure if what I am experiencing is the same issue, but when I tried to add a PNG to my PDF I got the following error:
(FunctionClauseError) no function clause matching in Gutenex.PDF.Builders.ImageBuilder.add_image_extra_object/2

I looked at the definition of that function, and it looks like the only function head defined in that module is this one:
  defp add_image_extra_object(render_context, %Imagineer.Image.PNG{ color_type: 2 }) do
    render_context
  end

which, unless I'm missing something, would only match PNGs with color type 2. I'm assuming my PNG has a different color type?
I also cloned the gutenex repo and ran the tests and checked out the PDF that was generated by the integration test, and it didn't have any image in it, so something weird happened with that one, too.
I'm also running on Ubuntu 16.04, on Elixir 1.4.2 and Erlang 19.2 in case any of that matters. I'll do a little experimenting to see what happens if I just make that function match any PNG.

Experiencing the same issue here (Dev env is Mac OSX). Is there any suggested work arounds? (Other than reverting back to v0.1.0)


How to make charges

Is it possible to create stripe charges with this library?
The way I see from the documentation, it only makes tokens (through createToken), and I want the test-payments to show up in my Stripe dashboard.

As far as I understand, you can not create a charge here. You have to send the token to your backend, which will create the Stripe user. Then you can charge (again on the backend) as much as you want without the token, as it should be stored in your DB. Not the card token, but the Customer Token that will be returned from your backend.

Alright then. Thank you very much for the information :)


remove .only

Looks like this was probably left in accidentally.

Thanks! Removed it for a different tag but completely forgot for master.

Thanks! Removed it for a different tag but completely forgot for master.


port of #68 PR on jmDNS to latest code base

porting the old PR with jmDNS enhancements to latest code base and updating jmDNS to latest stable version, which is 3.5.6
Signed-off-by: Eugen Freiter<EMAIL_ADDRESS>

@ccutrer  i have ported your older PR to latest code base. i hope it is ok for you.

@J-N-K will this cause compatibility issues with OpenHAB? I know netty was/is an issue, and this is another package that OpenHAB also uses itself.

OpenHab can always choose to exclude dependencies. Locally updated mdns and it runs with no issues. Same with netty.
HAP-java also uses

org.zeromq
curve25519-java
0.1.0

which can be deleted with no issues.
If you can update the deps with no issues, openhab can use the old stone age stuff if they choose to do so. It will still be compatible.
Really dislike not updating because of  other projects. It's very well meant and carefull to OpenHab. But this way nobody moves.

just checked and openhab was upgraded to jmdns 3.5.6
https://github.com/openhab/openhab-core/pull/1721
i see this version also in my openhab3 setup


Ensure Credscan job works properly even when wonkiness is auto-injected

See this failure as an example.
A supply-chain governance task was auto-injected and failed. As a result of incorrect condition settings, we don't run the setup of credscan, and as such fail to run it.
This PR will remain on-hold until after release week.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Port Xilem to Masonry backend

This is very much a work in progress.
Posting this so people can look at the code.

Mostly superseded by #205.
See also https://xi.zulipchat.com/#narrow/stream/354396-xilem/topic/Porting.20Xilem.20to.20Masonry.3A.20View.20traits.20and.20ElementSplice/near/435348917


"which used used to identify"

It should be "which is used to identify"

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

ID: 7cd986e0-608c-1d8c-6faf-ecdb12e10bc6
Version Independent ID: d60c996e-187e-dd6b-7f3a-dd056a1603f4
Content: Protect your Git branches with policies | Microsoft Docs
Content Source: docs/git/branch-policies.md
Service: unspecified
GitHub Login: @douge
Microsoft Alias: sdanie

@archi-tekt Thanks for letting us know, I am fixing this and it should be live later today. Thank you!


Speed Limit interface km/h to MPH unit conversion is wrong

The speed limit conversions to MPH are incorrect. For example the speed limit interface gives:

120 km/h = 77 MPH (should be 75)
130 km/h = 83 MPH (should be 81)
140 km/h = 90 MPH (should be 87)

and so forth.
I believe the problem is in Constants.cs Line 27:
public const float SPEED_TO_MPH = 32.06f; // 50 km/h converted to mph
50 km/h is 31.06 mph, not 32.06 (actually would be 31.07 if rounding; the exact conversion is 31.06856).
https://www.google.com/search?q=50+km%2Fh+to+mph

I will include this constant change into the new speed limits UI merge request.

oops, lol, didn't notice your commit


Update ansible-lint.yml

omnia_config.yml -- This file is var files and does not contain any play.
tools/olm.yml -- This yml file contains only two commands. "command" is not valid play for attribute.
We can remove these two files from lint check. This way all PR will not have any ansible lint issues.
Issues Resolved by this Pull Request
Please be sure to associate your pull request with one or more open issues. Use the word Fixes as well as a hashtag (#) prior to the issue number in order to automatically resolve associated issues (e.g., Fixes #100).
Fixes #
Description of the Solution
These changes are needed so that all PR will not failed at lint check status.
Suggested Reviewers
@lwilson, @j0hnL

Closing this PR due to sign-off issue, raising another one.


WIP AVRO-2387 Type Hints

Assuming that Avro will soon be dropping support for Python 3.4, I'm starting the process of implementing type hints in the Py3 library code. This PR is WIP. I'm deliberately not trying to fix most of the things uncovered by mypy as I add type hints until the process of adding the type hints themselves is done.
To do:

Implement type checking in Travis/Yetus.
Fix the problems uncovered by type checks.

One error reported by mypy in this PR is caused by python/typeshed#2955

Big fan of type hints, can you rebase?

@Fokko sure, but this is definitely still WIP. In fact, I'm thinking I need to scope down this to something I can handle bits at a time. Maybe the first step will be to just get mypy working in Travis/Docker, and then add the type hints down the road. Thoughts?

I would start simple, and go from there. I'm a big fan of Python type hints, so I'm eager as well to get this in 👍

Pleeze pull the trigger, I need this!

@unicomp22 I would love to, but OTOH if I pull the trigger right now all kinds of things will fall over. One problem is that afaict mypy doesn't actually have a way to exclude certain paths easily, which means I can't incrementally add typechecks one module at a time.
If I don't add enforcement, then new contributors won't add type hints.
If I add enforcement, then people won't be able to make pull requests (until all the existing problems are fixed).
The middle ground is hard to find.

Also running into issues like python/typeshed#1901, in which the Python Powers have decided that certain types should not be documented because using them is fishy.
For example, mypy doesn't like avro.ipc.HTTPTransceiver referencing the HTTPConnection's socket. Perhaps we shouldn't, but I don't want to refactor the world. :(

Closing this in favor of #814


Feature Request: Allow access to client outside of Nuxt components

I have a use case where I want to abstract out some of my GraphQL logic and put them into separate Typescript files. In these files, I don't have access to setup or any of the Vue's lifecycle hook. If possible, I want a way to access the client that was created in the nuxt.config.ts file and use it outside of the Nuxt components.

I think it's a chicken-egg problem, the client in nuxt-urql is created in a nuxt plugin, so the client is accessible in a nuxt environment...

I would recommend using graphql code generator https://the-guild.dev/graphql/codegen to keep your operations in graphql files and let codegen build the typescript files.


[Bug] Update the GitHub link on Raise a Issue

Description
Right Now, Raise a Issue on "@github" points to manish repo. It should point to FrontendFreaks repo.

Screenshots
No response
Additional information
No response

Hi
I would like to work on this issue.

Could you please assign this issue to me?

Hello  @Vishal-raj-1 I'd like to work on this issue and add the necessary -p flag to bypass the corporate proxy. Could you please assign this issue to me?
Also, it would be great if we could add the "hacktoberfest" label to it.
Thank you!

Hello @Vishal-raj-1  Sir I would like to work on your FrontendFreaks Repo, Can you assign me this Issue? I will try to solve it!

Could you please assign this issue to me?

i'm working on these issue these is my first contribution

I think it's already solved. The @github link on the website is pointing to the correct FrontendFreaks repo.


Nixplay Playlist Limits 2000

Attempting to work with an album in Google Photos which is created dynamically based on people, I've got a couple of albums which are over 2,000 photos in size.
picsync has been able to upload all the photos, and reports it has published 3428 photos to the playlist, however the nixplay interface says only 2,000 photos are actually in the playlist (and I got an e-mail from them confirming the limit has been reached).
Given picsync takes an album name and creates the playlist ss_<album_name>, I wonder if it would be fairly trivial to create multiple ss_<album_name>_ and just create as many playlists as required to hold the total content of the album?
Alternatively, what might be slightly easier (if less ideal), could be to sort and retrieve only the 2,000 most recent images in the Google Album and sync just those.

Hey, sorry, I've stopped actively maintaining this. These both sound like good ideas that I probably won't get to; if you get it working you should report back here with your fork :-) .

Hey,
Thanks for replying, especially if this isn't active any more.
Given that I'm not a programmer (I can do a bit of scripting, badly) and I've never used Golang before - if I can get something together that works, do you think you'd be able to tidy it up so it doesn't look like a complete amateur wrote it?

So I've given this a go in a fork at https://github.com/phoenix1589/picsync. It seems to work with 1 test album.


Fix/591/store full invoice information

Things left to decide/fix:

Fill in the details about issuers by year in conference/invoices.py

Store full html of the invoice once generated.

Things to fix in separate PR:

Store pdf of the invoice

also, depends on merging #594 first, and this branch is based on branch from #594, so the diff is more noisy than it should be.

On 15.11.2017 23:10, Patrick Arminio wrote:

@patrick91 commented on this pull request.

In tests/test_invoices.py
https://github.com/EuroPython/epcon/pull/596#discussion_r151266925:

There are plenty of tds but only TRSP should have data-fare set

assert 'td class="fare" data-fare="TRSP">' in _response_content
assert 'td class="fare" data-fare="TDCP">' not in _response_content
assert 'td class="fare" data-fare="">' in _response_content

social events

assert 'td class="fare" data-fare="VOUPE03">' in _response_content
assert 'td class="fare" data-fare="S123">' in _response_content

and one input for TRSP where you can specify how many tickets

TODO: maybe it should have a different type than text?

assert '<input type="text" size="2" name="TRSP"' in _response_content

5. Try buying some tickets

FIXME: looks like the max_tickets is enforced only with javascript

assert ticket_amount > conference_settings.MAX_TICKETS

do we actually need to limit the number of tickets?

Yes, to prevent abuse, fraud, very high volume transactions, etc.
--
Marc-Andre Lemburg
http://www.malemburg.com/

I think we should leave the PDF storage of invoices for another PR.

I won't merge this PR while there is no consensus... Please could we discuss about these points? thank you


Sys/sd/main/

Summary of the Pull Request

References

PR Checklist

[ ] xxx
[ ] CLA signed  go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be in favor of a different grand plan xxx

Detailed Description of the Pull Request / Additional comments

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

Yea this doesn't have a description of what it's trying to do, nor a linked issue. I'm going to close this.


Allow to set some variables externally

Description of your changes
Changes Variable assignments we usually can only do in the makefile  from ":=" to "?=".
This allows us to execute something like this:
# Name of the project
export PROJECT_NAME=provider-keycloak
export PROJECT_REPO=${PROJECT_NAME}
export TERRAFORM_VERSION="1.3.7"
export TERRAFORM_PROVIDER_SOURCE=mrparkers/keycloak
export TERRAFORM_PROVIDER_REPO=https://github.com/mrparkers/terraform-provider-keycloak
export TERRAFORM_PROVIDER_VERSION="4.1.0"
export TERRAFORM_PROVIDER_DOWNLOAD_NAME=terraform-provider-keycloak
export TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX=${TERRAFORM_PROVIDER_REPO}/releases/download/v${TERRAFORM_PROVIDER_VERSION}
export TERRAFORM_NATIVE_PROVIDER_BINARY=terraform-provider-keycloak_v4.1.0
export TERRAFORM_DOCS_PATH=docs/resources
export PLATFORMS=linux_amd64
export REGISTRY_ORGS=registry.example.io/my/provider
export XPKG_REG_ORGS=registry.example.io/my/provider
export XPKG_REG_ORGS_NO_PROMOTE=egistry.example.io/my/provider

 make submodules
 make generate
 make build
 make publish.init
 make publish.artifacts

without even having to touch the Makefile.
How has this code been tested
Locally to build the provider.
in a pipeline using CI variables:
build:
  image: golang:1.19-alpine
  stage: build
  tags:
    - dind-builder
  before_script:
    - apk update && apk add git bash make curl docker docker-cli-buildx
    - |
      # Wait for docker - is this agent outdated?
      for i in $(seq 1 30)
      do
          docker info && break
          echo "Waiting for docker to start"
          sleep 3s
      done
    - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
    - go install golang.org/x/tools/cmd/goimports@latest
  script:
    - make submodules
    - make generate
    - git config --global user.email<EMAIL_ADDRESS>&& git config --global user.name "Your Name" && git add -A && git commit -m "avoid dirty state"
    - make build
    - make publish.init
    - make publish.artifacts

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


Warning: Failed prop type: Cannot convert undefined or null to object     in LottieAnimation (at createAnimatedComponent.js:134)

Using code from get started:
...
componentDidMount() {
this.animation.play();
}
...
render() {
return (

<LottieView
ref={animation => {
this.animation = animation;
}}
source={require('../../images/servishero_loading.json')}
/>

);
}
Versions:
"react-native": "0.49.5",
"lottie-react-native": "2.2.7",

same error by me

I have this same issue also.

A hacky fix is to add an empty style attribute as style={{ }} in your LottleView.

Can you reopen this if it's still an issue with 2.3.0?

this is still an issue with 2.5.6

I just submitted a fix for this. Should be available on master and in 2.5.10


Cannot get sub-schema validation to work

What version of Ajv are you using? Does the issue happen if you use the latest version?
8.16.0 (latest)
Your code
Link to runkit: https://runkit.com/mikesnare/ajv-issue
var Ajv = require('ajv');

ajv = new Ajv({
    // options here
});

var schema = {
  '$id': 'https://whatever.com/simple-schema',
  type: "object",
  additionalProperties: false,
  definitions: {
    CustomType: { enum: [ 'one', 'two' ], type: 'string' },
    SimpleType: {
      additionalProperties: false,
      properties: {
        id: { type: 'number' },
        custom_type: { '$ref': '#/definitions/CustomType' }
      },
      required: [ 'id' ],
      type: 'object'
    }
  }
};

var data = {
    what: 'ever',
};

ajv.addSchema(schema);
const validate = ajv.getSchema('https://whatever.com/simple-schema#definitions/SimpleType')

console.log(validate(data));
console.log(validate.errors);

Validation result, data AFTER validation, error messages
There is no validation result, because no validation function is returned.  It simply fails.
What results did you expect?
I expected ajv to find the correct validator based on the given path.
Are you going to resolve the issue?
I don't know how to answer this question.

According to this (admittedly old) comment, it should be possible using the code above.

Sorry @mikesnare, but I have been unable to find any docs that indicate this is expected functionality. As far as I can tell this just isn't how getSchema works.

I managed to get this to work by explicitly giving an $id to your subschema, which seems a perfectly reasonable solution.
SimpleType: {
      '$id': 'https://whatever.com/simple-schema#definitions/SimpleType',
      additionalProperties: false,
      properties: {
        id: { type: 'number' },
        custom_type: { '$ref': '#/definitions/CustomType' }
      },
      required: [ 'id' ],
      type: 'object'
    }

Note it doesn't need to be the same format as the root schema.

@jasoniangreen Nice.  The tool I'm using to generate the schema from TS doesn't add that, but it should be pretty easy to add it myself at runtime.  Thanks!


VITS paper ?

@jaywalnut310 I am unable to find the paper on which this repo based on.

@rishikksh20 Thanks for you interest! The paper will be uploaded on arxiv after a couple of days (if no problem arises). When it's uploaded, I'll update README and make a link to it. Please wait until then :).

Great!!!

Now the paper is available: https://arxiv.org/abs/2106.06103

@jaywalnut310 thanks. I set-up collab for LJ-Speech : https://colab.research.google.com/drive/1aNMn2PHDzhQ2nFU5RoWsPSjesDeedm5B?usp=sharing

@jaywalnut310 thanks. I set-up collab for LJ-Speech : https://colab.research.google.com/drive/1aNMn2PHDzhQ2nFU5RoWsPSjesDeedm5B?usp=sharing

@rishikksh20 Thans for your amazing work! Is it okay to introduce your collab in README?
It would be much grateful, if your sentence of the last line is like "We propose VITS, a Conditional Variational Autoencoder with Adversarial Learning for End-to-End Text-to-Speech."

Yeah Sure, I have update the collab notebook.

@rishikksh20 Based on your work, I made a new notebook including multi speaker examples. Thanks again for your work, and I referred you in README!

Thank you for your great works. Is it possible to resume/finetune training from your pretrain checkpoint? In the code, I saw checkpoints were saved to model_dir with two file -G (generator) and -D (discriminator), but provided data only one pretrain file.  Thanks.

@rishikksh20 sir your colab notebook is not running smoothly due to version mismatch. while installing requirements encounters error in generating package metadata.
And !python setup.py build_ext --inplace is not able to create necessary core.cpython file.
with my limited understanding I modified certain parts of your notebook and it is working upto "Multi speaker" section.
please have a look
https://colab.research.google.com/drive/1Sz6OW25WXPIhuEElgAFy77o98YOdhx7a?usp=sharing
if these changes are acceptable then you can modify the notebook for the benefit of everybody.
For a newbie like me any feedback/suggestion will mean a lot.
FYI @jaywalnut310