The htmlLang setting in the localeConfigs of i18n is invalid, and the source code remains as en

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
I don't need internationalization, but I need to changeto
My configuration:
//other...
i18n: {
    defaultLocale: 'zh-Hans',
    locales: ['zh-Hans'],
    localeConfigs: {
      'zh-Hans': {
        label: 'Chinese',
        htmlLang: 'zh_CN'
      },
    },
  },
//other...

Reproducible demo
No response
Steps to reproduce
I have used the installation tutorial in the official documentation and have tried multiple times.
Expected behavior
View web page source code:
Actual behavior
View web page source code:
Your environment
nodejs v20.10.0
Self-service

[ ] I'd be willing to fix this bug myself.

I've setup a repro and I get  or maybe I'm missing something ?
Link

Same result when testing locally

Thanks
Can confirm it works on the repro, so @yinsel please show us a runnable repro where we can see this bug in action. Most likely you did a mistake, so until a repro is provided I'm closing this issue.

Note the lang attribute is supposed to be a BCP47 locale:
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang#language_tag_syntax
zh CN or zh_CN are not valid BCP47 codes, only zh or zh-CN is.

I've setup a repro and I get  or maybe I'm missing something ?
Link

Same result when testing locally

You are right, but when using the right mouse button to view the webpage source code, it is'', and after JS processing, it is correct when pressing' F12 'to view the elements. I raised this question because I found that even though the page is in Chinese, Edge still prompts me to translate it into Chinese. Perhaps this is also a small bug or a point that needs optimization?

@yinsel are you using docusaurus start or docusaurus build?
The dev server init template hardcodes en as a language:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta name="generator" content="Docusaurus">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <%= htmlWebpackPlugin.options.headTags %>
    <%= htmlWebpackPlugin.tags.headTags %>

    <%= htmlWebpackPlugin.options.preBodyTags %>

    <%= htmlWebpackPlugin.tags.bodyTags %>
    <%= htmlWebpackPlugin.options.postBodyTags %>

This is later updated by the JS code.
It has never been a big deal so far.
The prod build should not have langauge en.
If this annoys you locally, you'd rather ask Edge to never prompt you to translate content of localhost:3000

Thanks
Can confirm it works on the repro, so @yinsel please show us a runnable repro where we can see this bug in action. Most likely you did a mistake, so until a repro is provided I'm closing this issue.
Note the lang attribute is supposed to be a BCP47 locale: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang#language_tag_syntax
zh CN or zh_CN are not valid BCP47 codes, only zh or zh-CN is.

I've setup a repro and I get  or maybe I'm missing something ?
Link

Same result when testing locally

You are right, but when using the right mouse button to view the webpage source code, it is, and after JS processing, it is correct when pressingF12to view the elements. I raised this question because I found that even though the page is in Chinese, Edge still prompts me to translate it into Chinese. Perhaps this is also a small bug or a point that needs optimization?

Thanks
Can confirm it works on the repro, so @yinsel please show us a runnable repro where we can see this bug in action. Most likely you did a mistake, so until a repro is provided I'm closing this issue.
Note the lang attribute is supposed to be a BCP47 locale: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang#language_tag_syntax
zh CN or zh_CN are not valid BCP47 codes, only zh or zh-CN is.

I made a mistake. When using the right mouse button to view the source code of a webpage, it appears to be , but after JS processing, when pressing F12 to view the elements, it appears to be correct. I raised this question because I found that even though the page is in Chinese, Edge still prompts me to translate it into Chinese. Perhaps this is also a small bug or a point that needs optimization?

您使用的是 or 吗？docusaurus start``docusaurus build
开发服务器初始化模板硬编码为一种语言：en
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta name="generator" content="Docusaurus">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <%= htmlWebpackPlugin.options.headTags %>
    <%= htmlWebpackPlugin.tags.headTags %>

    <%= htmlWebpackPlugin.options.preBodyTags %>

    <%= htmlWebpackPlugin.tags.bodyTags %>
    <%= htmlWebpackPlugin.options.postBodyTags %>

稍后由 JS 代码更新。到目前为止，这从来都不是什么大问题。 prod build 不应有 langauge 。en
如果这在本地惹恼了您，您宁愿要求 Edge 永远不要提示您翻译localhost:3000

@yinsel are you using docusaurus start or docusaurus build?
The dev server init template hardcodes en as a language:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta name="generator" content="Docusaurus">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <%= htmlWebpackPlugin.options.headTags %>
    <%= htmlWebpackPlugin.tags.headTags %>

    <%= htmlWebpackPlugin.options.preBodyTags %>

    <%= htmlWebpackPlugin.tags.bodyTags %>
    <%= htmlWebpackPlugin.options.postBodyTags %>

This is later updated by the JS code. It has never been a big deal so far. The prod build should not have langauge en.
If this annoys you locally, you'd rather ask Edge to never prompt you to translate content of localhost:3000

Thank you for your reply!


Ability to disable diagnostics etc. from certain sources

I personally have the issue that I have multiple sources point out the same error. A good example is a vue project in which I had 6 sources tell me a similar error.

The feature I'd like to be implemented would allow the user to disable certain sources. Yes some extensions allow to disable their intellisense or other stuff but I don't want to chase after each and every extension and request a feature which could be implemented in vscode itself. It's not only about extensions tho, the ts server built into vscode also reports these and I, like many others, use the Pretty Typescript errors which makes the errors from the language server useless and also annoying if the error is big.

Yes some extensions allow to disable their intellisense or other stuff but I don't want to chase after each and every extension and request a feature which could be implemented in vscode itself

Understood but it's the overall best way to doing this because otherwise CPU cycles are wasted for computing diagnostics that are then hidden/ignored. It's hard to achieve properly because diagnostics are pushed into the editor, not pulled for.

The only problem with the example I gave tho is that two of the diagnostics (the types) don't show their source so it's hard to track down from where they actually come. Another problem is that the built in typescript language server only allows to be disabled fully but not to disable diagnostics.
I actually just came up with a better solution than removing diagnostics which would be to be able to order them so that the pretty typescript errors would appear at the top. I think this could be easily done by a list inside the settings which basically chooses the ones higher in the list first and if they aren't in the list at all they get pushed down to the bottom or something along those lines. I don't know the current state of the ordering process so I can't estimate if this idea is any good for implementing...


Add ability to specify custom HTTP headers for the URLs in the jq page

Most of APIs returning JSON are protected with API token that's passed via custom HTTP header.
Being able  to specify these headers curl-style (-H or similar) would make much more useful current ability to specify URL of hte JSON

Yes ... I also want to work on this problem. I just opened # 30 some time ago ...
I have to decide how to implement it: curl style, httpie or follow rfc2616.
I hope to work on this problem soon

httpie seems to be a good fit.
in your syntax http is implicit and everything else follows the url

I didn't have much time and I need to works with http request with auth token too.
I chose to run the programs present in the system path and let the user use his favorite tool.
jq '.'
$ http http://httpbin.org/get "Authorization: Bearer 1234abcd"

jq '.'
$ curl -X GET http://httpbin.org/get -H "Authorization: Bearer 1234abcd"

jq '.'
$ wget -qO- http://httpbin.org/get --header "Authorization: Bearer 1234abcd"

# It could be used with others tools
jq --raw-input '.'
$ cat /etc/issue

It's not bad as starting point. There are some caveats but as first working solution... is only few lines of code.
I test a little bit then will release it

I released an experimental version with support of command line.


Added my data

Good job @OmPrakashSahoo-05
Congrats 🎉, your PR got merged. To be eligible for the swags from iNeuron X ClueLess. Follow this steps.

SignIn / SignUp in ClueLess Website .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.


Git for Windows can't find %UserProfile%.gitconfig when running through wslbridge

Originally opened as a ConEmu issue here https://github.com/Maximus5/ConEmu/issues/1654
Versions
ConEmu build: 180626 x64 (portable)
OS version: Windows 10 Pro Build 17134 x64
Used shell version: wslbridge + zsh
Problem description
Git for Windows (installed separately) doesn't find .gitconfig in windows user profile when running git through wslbridge, instead looking for the global gitconfig in %ConEmuBaseDirShort%/home/budi/.gitconfig. But running Git for Windows through wsl.exe + zsh works fine.
Steps to reproduce

Install Git for Windows and add to path
place .gitconfig in %UserProfile%\.gitconfig
wslbridge task:

set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -cur_console:pnm:/mnt -t zsh

run git.exe config --global --list

Actual results
fatal: unable to read config file 'C:/Program Files/ConEmu/App/ConEmu/ConEmu/home/budi/.gitconfig': No such file or directory

Expected results
user.name=nickbudi
(prints rest of .gitconfig...)

Same issue here.

Same problem here too. is there any why to set the Home drive to other location where we have our .gitConfig file saved ?

Same

@nickbudi, @gmanche, @aravindnadumane  have you found any decision yet?
I can't using vscode git due to this

Hello, this one helped me:
 echo "export WSLENV=HOME/p" >> ~/.profile
WSLENV will forward all passed env variables to wsl, flag \p will convert wsl to windows path.


Formatting - spaces to tabs.

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Related tickets

License
MIT

Hi @mreiden!
Thanks for you first contribution on this project! However I'm not going to merge this because we are going to convert all tabs to spaces and enforce this from 2.0. But thanks anyway for your time and effort!


Project hooks don't work when there's not environment, like in CI/CD

Consider the next azd project sample:
name: ehooks
hooks:
  preprovision:
    shell: sh
    continueOnError: false
    interactive: true
    run: echo "Preprovisioning..."

If we run azd provision --no-prompt and:

there's is not an .azure folder:  The hook is not triggered b/c there is no environment.

hooks.go:52: azd environment is not available, skipping all hook registrations

See: https://github.com/Azure-Samples/azure-search-openai-demo/issues/1603
This is an issue when azd runs in CI, because the .azure folder is not in the repo.  Instead, azd uses AZURE_ENV_NAME to create the .azure folder with a new env using the name from that env var.
However, the hooks registration happens before the environment is created, so the hooks are ignored.
Workaround:
For CI, add one step to create the environment before calling azd provision, like:
      - name: Create azd env
        run: azd env new $AZURE_ENV_NAME
        env:
          AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}

The --no-prompt flag is not supported for azd env new, so, we need to use the env var from github as the argument for creating the environment.
Reproduce locally

Create a simple azd project, (for example, use azd init with minimal template)
Add a preprovision hook like the one mentioned above
delete folder .azure (leaving the state as it would be in CI)
set env var AZURE_ENV_VAR to something
run azd provision --no-prompt and observe how hook is ignored and the .azure folder is created. If you run it again, the hook is now honored (b/c the env is there)

@vhvb1989 Huh, I'm confused, as I had to write code today in another project to explicitly disable the preprovision/postprovision hooks as they were not able to run in CI. Not sure if I had a different azd version or something?
https://github.com/Azure-Samples/openai-chat-app-entra-auth-local/actions/runs/9132623645/job/25114347007

@pamelafox , in your case, your pipeline has a call to azd env set FOOO something here: https://github.com/Azure-Samples/openai-chat-app-entra-auth-local/blob/main/.github/workflows/azure-dev.yaml#L80
That's is creating the azd env.. then when azd provision runs, hooks are correctly invoked.

I just had another developer run into this on a new repo, who was very confused as to why the hooks weren't running and wasn't sure how to debug. They're trying your workaround now.


Change namespace zetjsoncpp by zj

It will replace also ZJ_*

let it go as zetjsoncpp. If anyone doesn't like type more he/she can use namespace alias


TimePickerElement malfunctioning in the SDK

TimePickerElement malfunctioning in the SDK when used as an accessory for InputBlockElement. It behaves as a DatePickerElement in the UI, prompting Date from the user ad not Timel
Reproducible in:
mvn dependency:tree | grep com.slack.api
gradle dependencies | grep com.slack.api
java -version
sw_vers && uname -v # or `ver`

The Slack SDK version
[INFO] +- com.slack.api:slack-api-client:jar:1.3.0-RC3:compile
[INFO] |  +- com.slack.api:slack-api-model:jar:1.3.0-RC3:compile
[INFO] +- com.slack.api:slack-app-backend:jar:1.3.0-RC3:compile
Java Runtime version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
OS info
ProductName:    macOS
ProductVersion: 11.0.1
BuildVersion:   20B29
Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
Steps to reproduce:

Open a modal with one block containing InputBlockElement with TimePickerElement as the accessory
In the UI it behaves as if a DatePickerElement was added.

Expected result:
TimePickerElement is supposed to prompt Time and not just Date.
Actual result:
TimePickerElement just prompted Date behaving as a DatePickerElement.

Requirements
Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to the those rules.

@seratch , Hope you are doing good. We used version 1.3.0-RC3 after you raised a PR for https://github.com/slackapi/java-slack-sdk/issues/610. However, TimePickerElement seems to behave just like a DatePickerElement. Please help.

@Hariprasad-Ramakrishnan I don't think the issue you mentioned exists but I found an issue with the timepicker support. Here is a pull request resolving it. https://github.com/slackapi/java-slack-sdk/pull/627 You can check the TimepickerSample code for you reference.
I will be releasing v1.3.1 today.

@Hariprasad-Ramakrishnan Running the following example may help you figure out what's wrong with your current code.
export SLACK_BOT_TOKEN=
export SLACK_SIGNING_SECRET=
gradle run
# ngrok http 3000 - in another terminal

build.gradle
plugins {
  id("application")
}
repositories {
  mavenCentral()
}
dependencies {
  implementation("com.slack.api:bolt-jetty:1.3.1")
  implementation("org.slf4j:slf4j-simple:1.7.30")
}
application {
  mainClassName = "hello.MyApp"
}

src/main/java/hello/MyApp.java
package hello;

import com.slack.api.bolt.App;
import com.slack.api.bolt.jetty.SlackAppServer;

import java.util.Arrays;

import static com.slack.api.model.block.Blocks.*;
import static com.slack.api.model.block.composition.BlockCompositions.plainText;
import static com.slack.api.model.block.element.BlockElements.timePicker;
import static com.slack.api.model.view.Views.*;
import com.slack.api.model.view.View;

public class MyApp {
  static {
    System.setProperty("org.slf4j.simpleLogger.log.com.slack.api", "debug");
  }

  public static void main(String[] args) throws Exception {
    // App expects env variables (SLACK_BOT_TOKEN, SLACK_SIGNING_SECRET)
    App app = new App();

    app.command("/open-modal", (req, ctx) -> {
      View view = view(v -> v
        .type("modal")
        .callbackId("view-id")
        .title(viewTitle(vt -> vt.type("plain_text").text("My App")))
        .submit(viewSubmit(vs -> vs.type("plain_text").text("Submit")))
        .close(viewClose(vc -> vc.type("plain_text").text("Close")))
        .blocks(asBlocks(
          actions(a -> a.blockId("b1").elements(Arrays.asList(timePicker(t -> t.actionId("time1").initialTime("01:02"))))),
          input(i -> i.blockId("b2").label(plainText("Time")).element(timePicker(t -> t.actionId("time2").initialTime("02:03"))))
        )));
      ctx.client().viewsOpen(r -> r.triggerId(req.getPayload().getTriggerId()).view(view));
      return ctx.ack();
    });
    app.blockAction("time1", (req, ctx) -> {
      ctx.logger.info("action: {}", req.getPayload().getActions().get(0));
      return ctx.ack();
    });
    app.viewSubmission("view-id", (req, ctx) -> {
      ctx.logger.info("values: {}", req.getPayload().getView().getState().getValues());
      return ctx.ack();
    });
    SlackAppServer server = new SlackAppServer(app);
    server.start(); // http://localhost:3000/slack/events
  }
}

Let me know if you need more help here. I will close this after waiting for your response for a few more days.

@seratch , Sorry for the delayed response. Ill pull the latest version, retest and update you.

@seratch , Will give an update by today.


cmd/go: go get fetches packages which are vendored

GO15VENDOREXPERIMENT=1
Related, but separate: #12111
Over here, I have a demo package: https://github.com/pwaller/vendor-collision
If you go get -v github.com/pwaller/vendor-collision:
$ go get -v github.com/pwaller/vendor-collision
Fetching https://vendor.org/p/vendor/example.org/library?go-get=1
https fetch failed.
import "vendor.org/p/vendor/example.org/library": https fetch: Get https://vendor.org/p/vendor/example.org/library?go-get=1: read tcp <IP_ADDRESS>:58977-><IP_ADDRESS>:443: read: connection reset by peer
package vendor.org/p/vendor/example.org/library: unrecognized import path "vendor.org/p/vendor/example.org/library"

The surprising thing here is that it tries to fetch packages from vendor.org even though they are already available in /vendor/.
For the purposes of this bug, the only feature of the repository that matters is that there is vendor-collision/main.go which imports vendor.org/p which lives at vendor-collision/vendor/vendor.org/p.

The error message could be improved. However you are doing something illigal with the GO15VENDOREXPERIMENT on. The following import path should not contain the /vendor/ element.
https://github.com/pwaller/vendor-collision/blob/a74a28c9c86280739303d927795521a68deee65c/vendor/vendor.org/p/p.go#L4

@kardianos I think I wasn't clear enough in the point of this report. The bug happens regardless of the content of vendor.org/p, even if it does not have /vendor/ in it. The issue is that it is fetching from vendor.org at all.

I suppose I don't understand this bug report then. Could you provide a repo that contains valid import paths for the vendor experiment that is affected  by this issue? I mean, to "fetch" from vendor.org it would need an http meta header to describe the location. If you mean find locally, it would need a valid import path.

Oh! @kardianos I apologise, you're right. If I remove the  vendor.org/p/vendor/example.org/lib import then it doesn't have the unexpected behaviour.
Closing this one as invalid.


same type erro

Error while compiling
source=NetTopologySuite.Geometries.Point
destination=NetTopologySuite.Geometries.Point
type=Map
nuget Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite
NetTopologySuite.Geometries.Point=>NetTopologySuite.Geometries.Point
.Map(dest => dest.MapCoordinates, src => NtsGeometryServices.Instance.CreateGeometryFactory(srid: 4326).CreatePoint(new Coordinate(src.MapCoordinates.Lng, src.MapCoordinates.Lat)));
why?

Data type is not support. If data type is not primitive, Mapster will presume type is POCO. And if type is not POCO, there will be error while mapping.
This can be fixed by custom mapping. https://github.com/MapsterMapper/Mapster/wiki/Custom-conversion-logic
TypeAdapterConfig<Point,Point>.NewConfig()
   .MapWith(point => point);

thanks


LDAP auth not working if user belongs to multiple groups

That was the configuration that works perfectly before migration to presto:330.
ldap.url=ldaps://prod.gold.cds.ing.net:636
ldap.user-bind-pattern=uid=${USER},ou=People,o=COMPANY

ldap.user-base-dn=ou=PRESTO,ou=Services,ou=Groups,o=COMPANY
ldap.group-auth-pattern=uniqueMember=uid=${USER},ou=People,o=COMPANY

On the newest version we are facing below error:
Error running command: Authentication failed: Access Denied: Multiple group membership results for user [XYZ] with different distinguished names
I have tried to change the pattern to sth like that:
(|(&(uniqueMember=uid=${USER},ou=People,o=COMPANY)(cn=group1))(&(uniqueMember=uid=${USER},ou=People,o=COMPANY)(cn=group2)))

But that give the same result. My question is:
what is the idea behind that change? Is there any workaround for that?

seems to be introduced in release 329 (https://github.com/prestosql/presto/pull/1917) I can't see a reason for this error.

The exception is thrown when user is found twice, with different distinguished names.
https://github.com/prestosql/presto/blob/d6bd0af758d64f372f104f13b23bcd0f416f7049/presto-password-authenticators/src/main/java/io/prestosql/plugin/password/ldap/LdapAuthenticator.java#L215-L218
@us3r can you check how do the names differ when the exception is being raised?
You can find https://github.com/prestosql/presto/pull/2983 helpful.

I will try to use your code ASAP, nevetheless from the ldapsearch:
dn: cn=group1,ou=PRESTO,ou=Services,ou=Groups,o=COMPANY
uniqueMember: uid=us3r,ou=People,o=COMPANY

dn: cn=group1, ou=PRESTO, ou=Services, ou=Groups, o=COMPANY
uniqueMember: uid=us3r,ou=People,o=COMPANY

#2983 is merged. @us3r can you possibly build from master, enable check DEBUG from io.prestosql.plugin.password.ldap context?

DEBUG MESSAGE:
2020-03-03T12:46:14.361Z	DEBUG	http-worker-118	io.prestosql.plugin.password.ldap.LdapAuthenticator	Multiple group membership results for user [us3r] with different distinguished names: [cn=group1,ou=ODP,ou=Services,ou=Groups,o=COMPANY], [cn=group2, ou=ODP, ou=Services, ou=Groups, o=COMPANY]

So it is returning DN of CN (groups).

the way it's designed, ldap.group-auth-pattern should search for users, who are allowed to connect, not for user-memberships.
So the question is whether we can rework the search pattern to adjust for that.
I also acknowledge that in 328 we allowed the ldap.group-auth-pattern to return multiple results, because we never used that for binding.
Technically, we can still allow that when ldap.user-bind-pattern is used, but we cannot allow that when ldap.bind-dn is used...
Unless we allow both ldap.bind-dn and ldap.user-bind-pattern (one for searching and one for password validation).
cc @sopel39 @anusudarsan

MemberOf - is not always an option that can be implemented (like in my case). I think it would be perfect if that functionality could be added again.

@us3r see if https://github.com/prestosql/presto/pull/3132 helps

@tooptoop4 @us3r https://github.com/prestosql/presto/pull/3206 should be a simpler fix for this

Fixed via: https://github.com/prestosql/presto/pull/3206


[docs-staging] Use GitHub Actions to build docs site

This PR contains the same changes as #2868, but for the docs-staging branch. Once merged, PRs targeting the docs-staging branch can also take advantage of the new build process 🙂

Absolutely, this is great. Very practical~


inline fonts does not work in release mode

I have a font definition:
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local("Material Icons"),
local("MaterialIcons-Regular"),
url("data:application/x-font-woff;base64,d09G........") format("woff");
}
This works in debug mode but not in release mode with the -p flag in latest version. Last known version to work was 0.14.4. Reverted to that for now.

I'm also seeing this issue.  It looks like the Uglify plugin is stripping out font-face completely. Not sure how it works on CSS

Does anybody know of a fix for this?

If this is still an issue on v0.26.1 (i'm guessing not) please open a new issue and reference this  one.


Added a new game

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #2997

Mark the task you have completed ✅

[ ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ ] I have performed a self-review of my own code or work.
[ ] My changes generates no new warnings.
[ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[ ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @iamsnehadas ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Please merge this PR under Hacktoberfest @amelia2802

Thank you  @iamsnehadas , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Bump version to 4.0.0

This is a MAJOR release due to the significant number of corrections
that will be required to many repos. We intend to script auto-correcting
the new linting issues, so that the PRs to upgrade to this new version
are ready to merge in and won't lead to sporadic corrections in future.

Based on @kevindew's example, the following script should work to get each dependabot PR mergeable.
gem install govuk-lint
git fetch
git checkout dependabot/bundler/govuk-lint-4.0.0
govuk-lint-ruby --only TrailingCommaInArrayLiteral,TrailingCommaInHashLiteral,TrailingCommaInArguments,StringLiterals --auto-correct app lib spec test db config
git commit -a -m "Linting auto-correct"
git push

The reason for manually isntalling the gem is to avoid having to bundle the individual repos in order to get the updated config - I'm doubtful most people have up-to-date bundles of every GOV.UK repo, and it seems a waste of time to achieve that for this purpose.


Two small bug

On smallcraft sheet I cannot enter a value less than 7 for the systems item.

Playlist Tab is not displayed. Only the orange screen.

not only small craft but also normal craft cannot have less than 7

not only small craft but also normal craft cannot have less than 7

In Starter Set adventure is shuttlecraft, that have 5 and lower.

The issue with small craft and starships should have been fixed in the release yesterday, let e know if it is still an issue.

yes, its fixed I didnt see update coming ;)

I'm currently not seeing the issue with the playlist anymore, is it still occurring for you?


[Bug]: NPE after annotations module prefix

Description
Consider the following scenario,

Steps to Reproduce
import ballerina/lang.annotations;

function test() {
    annotations:<cursor>
}

Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Editor
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Here the BallerinaFunctionTypeSymbol.returnTypeDescriptor() throws the NPE since the typeSymbol is null inside the FunctionTypeSymbol. Happens for the following function symbol:
function (int:Unsigned8,int:Unsigned8) returns (object { public isolated function iterator () returns (object { public isolated function next () returns (record {| int value; |}?); }); })


Support for automatic text wrapping

This is fairly experimental, and relies on a currently unpublished branch of rvg.js.
Currently rvg.js is rendering a foreignObject SVG tag containing p tags, which gives support for auto-wrapping. In practice this isn't quite so simple as accessing the computed height of that foreignObject tag is complex (and potentially difficult on the server).
This PR begins the work to support this, however much more needs to be done.

Current coverage is 41.36% (diff: 27.27%)

Merging #72 into master will decrease coverage by 0.37%

@@             master        #72   diff @@
==========================================
  Files            25         25
  Lines          1308       1320    +12
  Methods         153        155     +2
  Messages          0          0
  Branches        250        252     +2
==========================================
  Hits            546        546
- Misses          762        774    +12
  Partials          0          0

Powered by Codecov. Last update 54dc58b...974cfa1


[mirrorllist] template error when mirrorlist.country is absent

There is a template error if mirrorlist.country is absent:
AnsibleError: template error while templating string: unexpected '}'.

String: #!/bin/bash\n# {{ ansible_managed}\n#\n/usr/bin/reflector --latest 20 \\\n                   {% if mirrorlist.country %}--country {{ mirrorlist.country }} \\\n                   {% endif %}\n                   --sort rate \\\n                   --protocol https \\\n                   --save /etc/pacman.d/mirrorlist\n                   \nif [[ -f /etc/pacman.d/mirrorlist.pacnew ]]; then\n    rm /etc/pacman.d/mirrorlist.pacnew\nfi\n. unexpected '}'"

I believe that the solution is something like this:
{% if mirrorlist.country is defined and mirrorlist.country %}--country {{ mirrorlist.country }} \
{% endif %}

It seems that actual problem is missed closed } in # {{ ansible_managed}

@petRUShka : that was my mistake, thanks for catching it. Pull request sent.


Mouse modifier with fn is not working

I'm using Happy Hacking Professional 2 keyboard, and mouse modifier set as 'fn' does not seem to work. Can it be an issue with the keyboard itself? cmd, shift, and alt works.

This is very much an issue with how the keyboard interacts with macOS. Yabai is using a fairly high-level API for looking at input events.

I see that 'fn' key is not observed using Karabiner Elements as well.
I opened an issue over there as well: https://github.com/pqrs-org/Karabiner-Elements/issues/2194

So I actually have the exact same problem if I use my Ducky One keyboard. I guess the FN modifier only works correctly with an Apple keyboard?

Nothing I can do about this, closing as can't fix.


problem with getting correct uri after appending characters in the valid uri

Kong version: 10.3
Postgres version: 9.4
I added a proxy uri as:
curl -i -X POST \

--url http://localhost:8001/apis/
--data 'name=test-api'
--data 'uris=/test'
--data 'upstream_url=

now I call uri using curl
curl -i -X GET http://localhost:8000/test
it works fine.
but the same works for
curl -i -X GET http://localhost:8000/testxyz
ngx.var.request_uri returns /testxyz as well while this uri does not exist.
is this a known problem?
or
how may I correct my code to validate the uri?
not sure how will it work for two valid uris /test and /testing

This is expected behavior. Kong matches URIs based on prefix matching, not a direct equality match. Because the uris contains /test, this is a prefix match of /testxyz. To more granularly control this, consider defining the URI as a regular expression. Have a read of https://getkong.org/docs/0.11.x/proxy/ for more details on this.


Action Dropdown

http://rackerlabs.github.io/canon/ui-components/#dropdowns

I started working on this last hackday, will likely continue for hack week

@jdrush89 Could you please update this issue briefly with your approach?

The ActionMenu component will create a container on the document in which renders an ActionMenuList into.  The ActionMenu passes its children to the ActionMenuList (the list items).  In addition, it renders a button whose content is set through props (could be a cog menu, action button, etc).  The menu list takes the button element as a target prop which it uses to do positioning.  The list items take as props events to fire when clicked.

@jdrush89 How do you plan to handle position inside elements with overflow: hidden? Typically, we've had to render these components into the body rather than directly in the DOM. Similarly, how do you plan to handle cases in which the dropdown need to be displayed above the button?

the actionMenuList will be rendered on a container on the document in all cases, similar to the tooltip we use today https://github.com/racker/reach/blob/master/cloudkick/webapp/site_media/js/rs/tooltip/tooltip.jsx#L88.  It uses absolute positioning based off the target's position.  First implementation will probably be dumb and always display under the target, but it shouldn't be too difficult to detect if the menu won't fit below and display it above instead in componentDidUpdate, similar to the repositioning I did for tooltips in this PR https://github.com/racker/reach/pull/12772

Sounds good. The only suggestion I would make is to debounce the scroll handler and adding support for window resizing. Also, you might be interested in a library like http://github.hubspot.com/tether.


Add B9 Aerospace Pack - HX Parts from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of blowfish, to add B9 Aerospace Pack - HX Parts to CKAN.
Please direct questions about this pull request to blowfish.

Could you close this one?  I'm going to add it manually with proper dependencies.


Add gemmi structure to BabyGruMolecule

After this update, BabyGruMolecule has a new attribute gemmiStructure that stores a gemmi::Structure. This gemmi instance is updated inside the method BabyGruMolecule.updateAtoms along with BabyGruMolecule.cachedAtoms. This means these two attributes should always contain data matching the same molecule (always up to date).

That is spectacularly cool !

On 16 Dec 2022, at 12:17, Filomeno Sanchez @.***> wrote:
After this update, BabyGruMolecule has a new attribute gemmiStructure that stores a gemmi::Structure. This gemmi instance is updated inside the method BabyGruMolecule.updateAtoms along with BabyGruMolecule.cachedAtoms so these two attributes should always contain data matching the same molecule (always up to date).
You can view, comment on, or merge this pull request online at:
https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92
Commit Summary
33f5036 https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92/commits/33f5036754e0b6250bd9c2e660be4b3a8558b755 include gemmi structure in babygrumolecule
b483e2f https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92/commits/b483e2f1825a5c55ce3aa6ca9af6a1eadbcaac34 Merge branch 'stuartjamesmcnicholas:master' into master
f56aa5c https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92/commits/f56aa5cbff00524e6e385d49c12cba1837808766 create gemmi structure from file string
File Changes (2 files https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92/files)
M baby-gru/src/utils/BabyGruMolecule.js https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92/files#diff-2f3428ab9361832357216331fd61ff2a7ea1bd1eaf8810e5eeaa765bba330f6b (12)
M baby-gru/src/utils/BabyGruUtils.js https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92/files#diff-87592bebfcee1e5a475d54c5546f10733ef18a35bd91da06478588aaf4c9a828 (5)
Patch Links:
https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92.patch
https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92.diff
—
Reply to this email directly, view it on GitHub https://github.com/stuartjamesmcnicholas/CCP4-Web-Assembly/pull/92, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJJ2AHY2YV6AOIOMHQHLMTWNRMWBANCNFSM6AAAAAATA3OOBU.
You are receiving this because you are subscribed to this thread.


Supporting default s3 Bucket Encryption

I wanted to be able to support server-side AES256 encryption by default and attach a policy that prevents non-encrypted assets from being uploaded using something like this:
# part of s3-example-bucket.yaml
apiVersion: service-operator.aws/v1alpha1
kind: CloudFormationTemplate
metadata:
  name: s3bucket
data:
  key: s3-example-bucket.yaml
  template: |
    AWSTemplateFormatVersion: 2010-09-09
    Parameters:
      EnableBucketEncryption:
        Description: >-
          Enables AES256 encryption by default for all objects uploaded
        Type: String
        AllowedValues:
          - 'true'
          - 'false'
        Default: 'true'
# ...
    Resources:
      S3bucket:
        Type: 'AWS::S3::Bucket'
        Properties:
          BucketName: !Ref BucketName
          BucketEncryption: !If
            - EnableBucketEncryption
            ServerSideEncryptionConfiguration:
              - ServerSideEncryptionByDefault:
                SSEAlgorithm: AES256
            - !Ref 'AWS::NoValue'
# ...
      WebsiteBucketPolicy:
        Type: AWS::S3::BucketPolicy
        Condition: UseAsStaticSite
        Properties:
          Bucket: !Ref S3bucket
          PolicyDocument:
            Statement:
            -
              Action:
              - "s3:GetObject"
              Effect: Allow
              Principal: "*"
              Resource:
                Fn::Join:
                  - ""
                  -
                    - "arn:aws:s3:::"
                    - !Ref S3bucket
                    - "/*"
            !If
            - EnableBucketEncryption
            -
              Action:
                "s3:PutObject"
              Effect: Deny
              Principal: "*"
              Condition:
                StringNotEquals:
                  s3:x-amz-server-side-encryption: "aws:kms"
              Resource:
                Fn::Join:
                  - ""
                  -
                    - "arn:aws:s3:::"
                    - !Ref S3bucket
                    - "/*"
            -
              Action:
                "s3:PutObject"
              Effect: Deny
              Principal: "*"
              Condition:
                Null:
                  s3:x-amz-server-side-encryption: 'true'
              Resource:
                Fn::Join:
                  - ""
                  -
                    - "arn:aws:s3:::"
                    - !Ref S3bucket
                    - "/*"
            !Ref 'AWS::NoValue'

It seems like the policy would likely be supported, but the default s3 encryption option isn't in the go generator. Is this on the roadmap?

We're in the process of setting up a new repo, continuing the work there.


Fix group data-max-options=1 error

When data-max-options="1" is set on a group, the selected options do not automatically deselect when selecting a different option. Resolves #2027
I'm not sure if my fix is efficient but it works.

@principis Thanks for your work on this!


Updated to FsToolkit.ErrorHandling (3.0)

@dbrattli because of the new FsToolkit.ErrorHandling 3.0 toolkit release I have its version downgrade when I use Oryx, so I updated its version. Let me know if that is the right way you intent that to be.

Could you release an update ASAP?


Fallback to PemReader fails when BouncyCastlePemReader encounters an unsupported type

While I'm not completely certain this is a common scenario, we observed this failure on upgrading to Netty 4.1.80 and when using a custom bundle for a private key.
From a quick glance, it looks like it should be resolved by ensuring that the input stream passed to the BouncyCastlePemReader is a copy, and processed independently of the original stream processed by PemReader
Netty version
4.1.80 w/ tcnative 2.0.54
JVM version (e.g. java -version)
openjdk version "17.0.4" 2022-07-19 LTS
Expected behavior
The PR https://github.com/netty/netty/pull/12670 introduced a change that enforces eager parsing by BouncyCastlePemReader when the classpath includes the BouncyCastleProvider
The intended behavior should be the fallback to PemReader kicking in when the key type does not match one of the supported variants.
Actual behavior
In the case where there is a BouncyCastleProvider on the classpath, but the key type is of a format that is not supported by BouncyCastlePemReader, the input stream has already been read.
This renders the fallback to trigger, but fails decoding.
Caused by: java.lang.IllegalArgumentException: Input stream does not contain valid private key.
        at io.netty.handler.ssl.SslContextBuilder.keyManager(SslContextBuilder.java:416)
        at io.netty.handler.ssl.SslContextBuilder.keyManager(SslContextBuilder.java:341)
        at io.netty.handler.ssl.SslContextBuilder.forServer(SslContextBuilder.java:84)
....
Caused by: java.security.KeyException: could not find a PKCS #8 private key in input stream (see https://netty.io/wiki/sslcontextbuilder-and-private-key.html for more information)
        at io.netty.handler.ssl.PemReader.keyNotFoundException(PemReader.java:156)
        at io.netty.handler.ssl.PemReader.readPrivateKey(PemReader.java:137)
        at io.netty.handler.ssl.SslContext.toPrivateKey(SslContext.java:1152)
        at io.netty.handler.ssl.SslContextBuilder.keyManager(SslContextBuilder.java:414)

Steps to reproduce
Use a key with a format not supported  by the BouncyCastlePemReader, and trigger the fallback logic.

Thanks for the report. This should be fixed by https://github.com/netty/netty/pull/12746

Thank you for the quick fix!

@chrisvest : Are we planning on an early patch release for 4.1.81 or would it be the usual cadence? The former would help us fix forward, but we can downgrade otherwise.


Trivial typo fix

Hmmm, while looking over the README, shouldn't this:
git clone https://github.com/dmacvicar/terraform-provider-libvirt.git
make

... also have a cd command in there too?  eg:
git clone https://github.com/dmacvicar/terraform-provider-libvirt.git
cd terraform-provider-libvirt
make

hi justin thx for pr. Yes you can also put the cd on readme thx!

No worries, I've just added that cd line too. :smile:


Include agent readiness on /status resource

Proposed changes:

fixes #3784

Status (please check what you already did):

[x] made PR ready for code review
[x] added some tests for the functionality
[x] updated the documentation
[x] updated the changelog
[ ] reformat files using black (please check Readme for instructions)

 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.


SSR resources are not deleted after PR is merged/closed before preview build completion

Before opening, please confirm:

[x] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
No response
Region
No response
Amplify Console feature
Previews
Describe the bug
Hi Team, If I close/merge the PR after preview build completes, all the SSR resources are deleted after some time. However, on closing/merging the PR while the preview build is running, SSR resources are not deleted even though preview disappear/deleted from the Amplify console.
Expected behavior
Every time a preview is deleted from Amplify console, all the corresponding SSR resources should also be deleted irrespective of closing/merging the PR before/after the build completion.
Reproduction steps

Associate the amplify app to GitHub.
Enable preview.
Submit a PR and preview build will start.
close/merge the PR before preview build completes.

Build Settings
No response
Additional information
No response

Hi @asumvp 👋🏽 Thanks for raising this issue. This is a bug that the team is currently tracking. In the mean time, you'll have to manually delete those resources. I will update this issue once a fix has been rolled out.

My company is likely to move off of Amplify as a result of this issue, any updates @hloriana?

@arbass22 The service team is currently working on this. I do not have an exact date for when the fix will be rolled out but this bug is being treated as a top priority.

@hloriana do you happen to know if we are being charged for these undelete services resulting from this bug, and if so, will the accounts be credited back that amount?
Also, although I do appreciate there is not an exact date being that it is a bug, seeing as this has been an open defect with the AWS dev team for four months at the time of writing, loosely speaking are we days, weeks, or months away? If it's months away, is there a faster interim solution to be offered to more quickly identify undelete services?
The reason I'm asking is that we are going to start a larger project in approximately a month to a month and a half time, and if it's anticipated to not be resolved by then we need to begin consideration of alternative hosting options.

Hi @hloriana, any updates on this matter? Thank you for providing feedback on all GH issues created highlighting this issue. My team is facing the same issue on a product we are working on at the moment, which is a monorepo with 2 SSR projects that have staging and production environments with preview links enabled. That has been a cause of concern because each build left behind leaves the following resources that need manual action.
Preview links for MRs

6 IAM roles, 2 CF distributions and 2 buckets
Staging / Production
12 IAM roles, 4 CF distributions and 4 buckets

@hloriana
Got contacted by our manager due to a developer with a failed PR preview build due to maxed-out lambdas occurring again last Friday when I was on PTO so they were left stuck.
2022-04-08T20:29:11.812Z [ERROR]: TooManyDistributionsWithLambdaAssociations: Completing this action would cause the maximum number of distributions with Lambda function associations per owner to be exceeded (maximum allowed is 25).
                                  at Request.extractError (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/protocol/rest_xml.js:53:29)
                                  at Request.callListeners (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
                                  at Request.emit (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
                                  at Request.emit (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/request.js:686:14)
                                  at Request.transition (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/request.js:22:10)
                                  at AcceptorStateMachine.runTo (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/state_machine.js:14:12)
                                  at /root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/state_machine.js:26:10
                                  at Request.<anonymous> (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/request.js:38:9)
                                  at Request.<anonymous> (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/request.js:688:12)
                                  at Request.callListeners (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
                                  at Request.emit (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
                                  at Request.emit (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/request.js:686:14)
                                  at Request.transition (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/request.js:22:10)
                                  at AcceptorStateMachine.runTo (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/state_machine.js:14:12)
                                  at /root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/state_machine.js:26:10
                                  at Request.<anonymous> (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/request.js:38:9)
                                  at Request.<anonymous> (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/request.js:688:12)
                                  at Request.callListeners (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
                                  at callNextListener (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
                                  at IncomingMessage.onEnd (/root/.//node_modules/@sls-next/aws-cloudfront/node_modules/aws-sdk/lib/event_listeners.js:335:13)
                                  at IncomingMessage.emit (events.js:412:35)
                                  at IncomingMessage.emit (domain.js:475:12)
                                  at endReadableNT (internal/streams/readable.js:1334:12)
                                  at processTicksAndRejections (internal/process/task_queues.js:82:21) {
                                  code: 'TooManyDistributionsWithLambdaAssociations',
                                  time: 2022-04-08T20:29:11.771Z,
                                  requestId: '11a88645-b04f-4da8-ba7b-e4f3f4a54001',
                                  statusCode: 400,
                                  retryable: false,
                                  retryDelay:<PHONE_NUMBER>4895628
                                  }
2022-04-08T20:29:11.812Z [ERROR]: TooManyDistributionsWithLambdaAssociations
Terminating logging...

@hloriana If we cannot be given more explicit mitigation steps and/or proper fix timelines from AWS on this, I will have to advise the company to abandon AWS Amplify for Next.js apps and migrate to a competing service such as Vercel or Netlify.

Hi @Alek-S , I understand that the following suggestion require manual action, which is not ideal, but I thought it would be worth mentioning in case they help you and your team. You can remove disabled distributions from the CloudFront panel to remove lambda associations that are counted in the total of associations even though they are not in use. Another suggestion would be going to the Rewrites and redirects section on Amplify to identify the existence of multiple active distributions that may no longer be needed as the distribution at the top is usually the one in use.

I understand @Alek-S , it's indeed time-consuming and a manual process that becomes a burden to the team. As you said, preview builds are particularly troublesome to review even though resources are usually created under a common pattern \d{6-7}-\d{6,7}. Our number of active buckets, lambda functions, IAM roles, and CF distributions started spiking around the time @arbass22 posted a new comment 13 days ago, which I believe may also be the case for you. It seems to happen intermittently as it was not happening before, though.

Hello everyone, apologies for the delay in update. The engineers have been working on a fix for this issue and it will be rolled out soon but I do not have an exact date for when the rollout will be complete. We will provide another update when the bug fix has been deployed.

Any updated ETA here?

Ok, closing this one for now, but please re-open and provide details if you're still running into this issue!

This is still happening... Pls check...
Action is showing as in-progress on github but actually deleted from the amplify

No effect if timeout

Actually not found any in-progress pr build on amplify console but this keeps running at github.


Clarification for MicrosoftTeams PowerShell module

The documentation states to use the cmdlet below to enable a user for Direct Route:
Set-CsUser -Identity "<User name>" -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI tel:<phone number>
Running this (adapted for my environment), it gives a string of errors. I have Global Admin permissions enabled for the account running the cmdlets. The PIM enablement was approximately 2 hours before running the commands. No obviously relevant entries in the M365 Service Health Dashboard are visible.
Screenshot of the result:

For better readability, a cleaned and redacted transcript is attached.
PowerShell_transcript..ixQZ_xYJ.20210503084815.txt
Can you please align the PowerShell usage / guides to the current MicrosoftTeams PowerShell module?
Thanks a lot!

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

ID: bb2a9717-6565-8443-8833-f7fdce562781
Version Independent ID: db88c4d6-5864-a481-86cf-465feb452d75
Content: Enable users for Direct Routing - Microsoft Teams
Content Source: Teams/direct-routing-enable-users.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Capture: provide an option to download the file of completed capture to local file system

Today when we say kubectl retina capture download  for a completed capture. It throws an error. We should download the file again with details from capture name with \name-download-xx" job

The download functionality can provide an option to delete the file downloaded from host.


Slight differences in Kptfile upstream formatting with kpt pkg get and kpt alpha rpkg clone

Expected behavior
The Kptfile upstream(Lock).git.repo is formatted the same when cloning the same package using kpt get and kpt alpha rpkg clone.
Actual behavior
The repo and directory fields in the Kptfile upstream(Lock).git.repo varies slightly with the two commands.
Steps to reproduce the behavior
To reproduce, clone the same package with two different commands. Using basens in the kpt-samples repository as an example:
With kpt get:
> kpt pkg get https://github.com/GoogleContainerTools/kpt-samples.git/basens@basens/v0

Kptfile snippet:
upstream:
  type: git
  git:
    repo: https://github.com/GoogleContainerTools/kpt-samples
    directory: /basens
    ref: basens/v0
  updateStrategy: resource-merge
upstreamLock:
  type: git
  git:
    repo: https://github.com/GoogleContainerTools/kpt-samples
    directory: /basens
    ref: basens/v0
    commit: 026dfe8e3ef8d99993bc8f7c0c6ba639faa9a634

With kpt alpha rpkg clone:
> kpt alpha rpkg clone kpt-samples-afcf4d1fac605a60ba1ea4b87b5b5b82e222cb69 basens-clone -n default --repository application-blueprints

Kptfile snippet:
upstream:
  type: git
  git:
    repo: https://github.com/GoogleContainerTools/kpt-samples.git
    directory: basens
    ref: basens/v0
upstreamLock:
  type: git
  git:
    repo: https://github.com/GoogleContainerTools/kpt-samples.git
    directory: basens
    ref: basens/v0
    commit: 026dfe8e3ef8d99993bc8f7c0c6ba639faa9a634

Note the repo and directory field varies slightly between the two. The kpt alpha rpkg command adds .git to the repo field whereas kpt get does not, and kpt get prefixes directory with the a forward slash whereas kpt alpha rpkg does not.

cc @johnbelamaric

Hi
I would like to explore this project and as part of this I feel this is a good ticket to start with
can I pick this up ?

Hi I would like to explore this project and as part of this I feel this is a good ticket to start with can I pick this up ?

https://github.com/kptdev/kpt/issues/3216#issuecomment-2493505212


Control F started opening the "Find in files" dialog

I cannot figure out what I did, but Control-F and Control-B have always moved the cursor forward or back.  Somehow Control-F now opens the "Find in Files" dialog and I cannot disable it.  Had to switch back to 7.
Any ideas?

Are you by any chance loading mswin.vim? It has been recently changed to include a map for Ctrl-F to open the search dialog

Yes.  I just updated to vim 8 and do load that.  I figured it was something silly but also that I'm not the only one to have this problem.  Thanks for the quick response.

In that case, simple :nunmap <c-f> , iunmap <c-f> and cunmap <c-f> and possibly also for <c-h>

Yep, updating the mswin.vim fixed it

Although probably just unmapping them in my .vimrc would be the better option for the next upgrade.


CVE's

Twistlock found these CVE's in the latest package swagger_ui_bundle

https://nvd.nist.gov/vuln/detail/CVE-2019-17495
https://github.com/advisories/GHSA-cr3q-pqgq-m8c2
https://github.com/advisories/GHSA-qrmm-w75w-3wpx
https://github.com/advisories/GHSA-388g-jwpg-x6j4
https://github.com/advisories/GHSA-4f9m-pxwh-68hg
https://github.com/advisories/GHSA-cr3q-pqgq-m8c2
https://github.com/advisories/GHSA-qrmm-w75w-3wpx
Can you please update this package in order to fix these issues?

Fixed in #32


[FormRecognizer] Updating docs for 4.1.0

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AI.FormRecognizer


Take Screenshot On Failure doesn't work while using Run Keyword And Ignore Error

Issue Description:
The functionality to capture screenshots on failure doesn't seem to work as expected when using the Run Keyword And Ignore Error keyword.
Detailed Explanation:
In the context of the robotframework-flaui library, there appears to be an issue with capturing screenshots when using the Run Keyword And Ignore Error keyword. This behavior seems to stem from how the library handles screenshots during test execution.
From my understanding, the robotframework-flaui library has a feature where it captures screenshots for all tests, storing them temporarily. However, these screenshots are only retained if the test result is "failed." In cases where the test result is "passed," the library deletes the captured screenshots.
The specific problem arises when using the Run Keyword And Ignore Error keyword. This keyword internally reports a failure, but then simulates a "passed" status. As a result, the library treats this scenario as a successful test, leading to the deletion of any captured screenshots, even though there was an issue that was ignored.
Expected Behavior:
Ideally, when using the Run Keyword And Ignore Error keyword, the library should still retain captured screenshots even if the keyword itself reports a failure but the overall test status is considered "passed."
Additional Information:

Library: robotframework-flaui

Keyword in question: Run Keyword And Ignore Error

This behavior was confirmed in conversation with Nepitwin.

Steps to Reproduce:

Set up a test case using the Run Keyword And Ignore Error keyword.

Intentionally introduce an error within the keyword's scope.

Execute the test.

Check if screenshots are captured and retained, despite the keyword reporting a failure that is ignored.

Environment:

Robot Framework version: [6.0.1]

Operating System: [Windows 11, Windows 10 1808, Windows Server 2022]

Note:
I understand that the library behavior might be by design, but given the usage of the Run Keyword And Ignore Error keyword, it might be beneficial to reevaluate how screenshots are managed in such scenarios.

Whitelisting and blacklisting keywords implemented for screenshot library

Keywords can be whitelisted to persist if failed for example

BuiltIn.Run Keyword And Ignore Error should track always a screenshot

Keywords can be blacklisted to ignore by screenshot module

BuiltIn.Wait Until Keyword Succeeds

Blacklist is prioritize before Whitelist

New Keywords Clear Whitelist and Clear Blacklist


clone: S3 storage doesn't use proxy environment when skipVerify=true

https://github.com/distribution/distribution/issues/4112

Tracked in https://issues.redhat.com/browse/OADP-3142


Updated script to find the external ip address

The advantage of this "fix" is that if the ip address of the router changes it will fetch the new one automatically ;)

This script wasn't intended to be run locally like this and would break my current implementations of calling out to it hosted externally.


Update to intl ^0.19.0

Most of current packages use int 1.19.0 as standart

Bump - I would like this please


add method to Destination validation that disallows Deprecated* fields

There are some resources where we do NOT want to allow Deprecated* fields because they were there never there. So add a method that resources like Subscription can call without adding Deprecated baggage.

/lgtm
/approve


feat: run ionic 4 components in ionic 3

Feature Request
Ionic version:

[x] 4.x
Describe the Feature Request

Ionic 4 components are made up of Stencil which helps Ionic components render individually as a web component, wish we can run Ionic 4 components in Ionic 3 or older projects, this can ease migration of large projects by replacing each components one by one.
I have 3 large projects with me which are very difficult to migrate.
Describe Preferred Solution

First preferred solution i can think of is to modify prefix of Ionic 4 components to avoid conflict.
Describe Alternatives

Related Code

Additional Context

this may be a naive feature request to ask for, sorry for that ;)

Hi there,
Thanks for the feature request! We definitely understand some of the frustrations with a big migration such as the migration from Ionic 3 to Ionic 4. However, updating Ionic 4 components to run in Ionic 3 applications is not something we are going to be doing at this time. This is mostly due to the technical considerations of that process.
We offer a migration guide, a breaking changes list, and a migration linter to help make the migration process easier. In particular, the linter should help address some of the more tedious syntax changes (such as changing <button ion-button></button> to <ion-button></ion-button>). That being said, we are absolutely open to feedback on how we can make this process easier!
Thanks for using Ionic!


Future directions

Hi, great work!
I am working on something similar for evaluating instruction-following language models. A big difference is that I focus primarily on zero-shot evaluation using the model-specific prompt format that was used during fine-tuning. Other than that, I use different benchmarks (OpenAI evals, Elo Ranking, EvalPlus instead of HumanEval, now working on CoT evaluation) and store the model outputs so that they can be inspected on the website. Also right now I evaluated way less models.
I plan to continue working on it, but I would like to avoid future duplicate work. I therefore wonder about the future direction of your project. Do you already have significant changes or additions planned? And especially, considering the overlap, do you plan to do zero-shot evaluation using the corresponding prompt formats that the models have been fine-tuned with?

Thanks for your interest :) We would encourage you to continue evaluating on those benchmarks and push to this repository. We maintain a leaderboard where we could add these benchmarks as well: https://declare-lab.net/instruct-eval/


Let's revive this module

Development is staled, API deprecated... sad to see that. I'd be happy to implement a new module, but you already used react-instagram-login name on NPM and I can't do that. Let's discuss ways to revive this module.
I had an experience in implementing modules like this:
https://github.com/alexandrtovmach/react-microsoft-login
https://github.com/crowdin/react-crowdin-login

@anthonyjgrove Please let us know what you think

@alexandrtovmach sounds good, do you want to just create a PR of the updates you think are needed, we can add automated deployment and testing that I have been working on for react-google-login.  Let me know if you have any other thoughts.

I think we can go through next steps for now:

update module according to API updates
configure CI/CD to make releases automatically
implement demo page

What you think about using TS? By migrating to TS we can solve https://github.com/anthonyjgrove/react-instagram-login/issues/8 ?

@anthonyjgrove ping

Busy week at work, will take a look this weekend 👌

@alexandrtovmach yes 100% down for adding typescript.

@anthonyjgrove Hello, I tried to update your package, but for me it was easier to write everything from scratch (actually I used my previous packages as boilerplate). Here is result:
https://alexandrtovmach.github.io/react-instagram-login/
What do you think about making my solution as "v2" of this package? On other hand I can publish it as alternative, but I really want to save namespace react-productname-login, and your package is already used it.
let me know what you think

Just took a quick look it is mostly good, the main concern i have right now is it looks like you have your "app_secret" on the client which is not something you want to do and would not want users of the button doing.

@anthonyjgrove That's not a sensitive data, because this key is development only, and can't be used by anyone except my whitelisted accounts.

So what is the next step?

@alexandrtovmach It IS sensitive data -- to use the package on production (which is why you'd want the name is to make this the official package for implementing the new Instagram login) you don't wanna expose that to everyone. Surely the react-platform-login should not have a glaring security flaw right?


vertical-align

vertical-align

This issue was imported from Google Moderator
Moderator votes: +20
Issue added by Etan on 2014-08-05
To vote this issue up or down, simply include +1 or -1 in your comment.

Added at http://caniuse.com/#search=vertical-align as fully supported property.


Troubles adding MySQL client library to hunter

Hi Ruslan,
I am facing some troubles adding the MySQL client library 6.1.6 to hunter, it is not cleanly fully building with hunter + polly.
My platform is OSX 10.11.2 + Xcode 7.1.1:
Apple LLVM version 7.0.0 (clang-700.1.76)
Target: x86_64-apple-darwin15.2.0
Thread model: posix

It seems that the CMakeLists.txt of the mysql connector is broken when building with Debug config. I can build it outside hunter, but with hunter it seems to force a Debug build:
[ 56%] Creating directories for 'MySQL-client-Debug'
...
[ 97%] Built target libmysql
make[3]: *** [all] Error 2
make[2]: *** [MySQL-client-Debug-prefix/src/MySQL-client-Debug-stamp/MySQL-client-Debug-install] Error 2
make[1]: *** [CMakeFiles/MySQL-client-Debug.dir/all] Error 2
make: *** [all] Error 2

The full build log is at https://gist.github.com/pretyman/fea1909a9f100094b1b5
The erros show if I go into the hunter build directory and build it manually:
make[5]: *** No rule to make target `extra/yassl/taocrypt/libtaocrypt.a', needed by `libmysql/mysqlclient_depends.c'.  Stop.
make[4]: *** [libmysql/CMakeFiles/mysqlclient.dir/all] Error 2

My question is: how can I disable the debug build of a url_sha1_cmake build scheme? I tried --config Release with polly, but it seems to compile the MySQL library in Debug anyway. Since when buildings outside hunter it does not produce the error, I believe there should be a way to patch it.
It is possible to reproduce the error by checking out the branch MySQL-client on https://github.com/pretyman/hunter and run the build on examples/MySQL-client
Thanks!

It seems that the CMakeLists.txt of the mysql connector is broken when building with Debug config

So if you build it without Hunter but with Debug config it will fail?

how can I disable the debug build of a url_sha1_cmake build scheme?

You can set hunter_configuration_types explicitly in hunter.cmake: https://github.com/ruslo/hunter/wiki/usr.adding.new.package#build-types

I tried --config Release with polly, but it seems to compile the MySQL library in Debug anyway

This is correct behaviour since type of 3rd party build may be different from type of local build.

So if you build it without Hunter but with Debug config it will fail?

Exactly.
Building with polly and without Hunter on Debug results in the same error.
Building with polly and without Hunter on Release results in success.

You can set hunter_configuration_types explicitly in hunter.cmake: https://github.com/ruslo/hunter/wiki/usr.adding.new.package#build-types

Thank you so much! This worked!
It is acceptable to contribute the package like this?

It is acceptable to contribute the package like this?

In general yes. But of course if you figure out what's the problem and make a fix it would be best

Thank you so much! This worked!

Closing.


androidx-migration

i have this message when trying to migrate to androidx : No usages found in the project. i don't what i have to do.

i have this message when trying to migrate to androidx : No usages found in the project. i don't what i have to do.

which thread ? i don't understand?
Le sam. 16 mai 2020 à 10:01, Emoghene3<EMAIL_ADDRESS>a écrit :

i have this message when trying to migrate to androidx : No usages found
in the project. i don't what i have to do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/57362#issuecomment-629606071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFOODT2VUGLJDF62Y6DEP3RRZB6DANCNFSM4NCZI5YQ
.

i upgraded flutter, but now i want to run my app and we asked me to migrate
to androidX, what i tried and this message appeared: No usages found
Le sam. 16 mai 2020 à 10:08, Ramses Kouam<EMAIL_ADDRESS>a écrit :

which thread ? i don't understand?
Le sam. 16 mai 2020 à 10:01, Emoghene3<EMAIL_ADDRESS>a
écrit :

i have this message when trying to migrate to androidx : No usages found
in the project. i don't what i have to do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/57362#issuecomment-629606071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFOODT2VUGLJDF62Y6DEP3RRZB6DANCNFSM4NCZI5YQ
.

Can you kindly send a screenshot of the log message that mentions the need to upgrade to androidx?

here is the message
[image: image.png]
Le sam. 16 mai 2020 à 12:29, Kelvin Pere<EMAIL_ADDRESS>a
écrit :

Can you kindly send a screenshot of the log message that mentions the need
to upgrade to androidx?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/57362#issuecomment-629624230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFOODXBDJCKHHJYBYJPNVDRRZTGXANCNFSM4NCZI5YQ
.

i clicked on the link which was indicated but it was invalid
Le sam. 16 mai 2020 à 17:09, Ramses Kouam<EMAIL_ADDRESS>a écrit :

here is the message
[image: image.png]
Le sam. 16 mai 2020 à 12:29, Kelvin Pere<EMAIL_ADDRESS>a
écrit :

Can you kindly send a screenshot of the log message that mentions the
need to upgrade to androidx?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/57362#issuecomment-629624230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFOODXBDJCKHHJYBYJPNVDRRZTGXANCNFSM4NCZI5YQ
.

Could you input the image in this format? I cant seem to see it?

I cant see the image.

sorry, can u see now
Le sam. 16 mai 2020 à 18:19, Kelvin Pere<EMAIL_ADDRESS>a
écrit :

I cant see the image.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/57362#issuecomment-629670137,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFOODWVHHZX44VRQEM2EZDRR24KJANCNFSM4NCZI5YQ
.

@kouamramses if cat android/gradle.properties shows android.enableJetifier=true and android.useAndroidX=true, then your project is already on AndroidX and you don't need to do anything.
https://flutter.dev/docs/development/androidx-migration#how-do-i-know-if-my-project-is-using-androidx

Hi @sumanthratna
Please follow AndroidX Migration
 guide
Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow.
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


In xcode_backend.sh, build flutter assemble arguments as an array of quoted strings

Prior to this PR, some arguments such as --sksl-bundle-path are passed to flutter assemble without quotes such that a path with a space in it would be interpreted as two separate command line arguments, leading to various errors.
This PR assembles the argument array as a bash array of quoted strings, which makes it easier to conditionally add some arguments while ensuring that they are properly quoted.
This will help the benchmarks added in https://github.com/flutter/flutter/pull/86460 get closer to running.

Huh I'm surprised nothing complained about checking in those app_icon_*.png binaries.

They're there in the ios/ subdir as well.


feat: requests usage on 'Settings' page

Description
Adds requests usage info and progress bar UI to users settings
Related Issue
#197
Changes Made

Added requests usage information to settings page for users

Screenshots

Checklist

[x] I have tagged the issue in this PR.
[x] I have attached necessary screenshots.
[x] I have provided a short description of the PR.
[x] I ran yarn build and build is successful
[x] My code follows the style guidelines of this project.
[ ] I have added necessary documentation (if applicable)

Frontend needs backend to be marked complete

nice!


Enhancement: More options for the shortcut layer

After updating Aurora I have noticed the old shortcut layer thing is gone. No matter, I went on to remake it using the new layer thing and noticed a new and quite annoying behavior:
If you hold Ctrl and then mash Z, to undo things, they keyboard blinks, making it very annoying. This is also compounded by the fact that ANY key exits the combo (listed or not).
For example, Left Ctrl or Right Ctrl works, but LCTRL AND RCTRL exits, making switching keys blinky. Other combos also exit, for example, Ctrl+Z is UNDO while Ctrl+Shift+Z is Redo. Adding Shift makes the layer go away, adding another blink to the fest during usage.
I'm not sure how to fix this, as each layer has a dim component so it's not like I can just pile colors. I can't think of a way to keep the simple behavior save for keeping a simple, legacy layer. All my attempts ended up being extremely complex, such as adding all keys manually. For example, Ctrl+A no longer blinks if a shortcut that has "Ctrl+A+Del" is added.
So maybe a checkbox for "Do not exit on complete shortcut"?

You can disable the dimming if you wanted to stack, you could have multiple ctrl ones and only the bottom have dimming. I am going to leave the feature you request for the rewrite (v0.7) so it may be a while, but anyone is welcome to add it before then.

I don't follow. I can have layers and only one has dimming, yes, what would that accomplish? A Ctrl layer and an Alt layer don't compose, as soon as I hold Alt, the Ctrl layer goes away, presumably giving way to alt+ctrl layer. As does LControl+RControl.
Also, also, I just realized that I can't do many key combinations because the only way to enter them is to press them and they are not registering if already bound. For example, one cannot bind Win+E because that open Explorer and definitely no Alt+Ctrl+Del.
Is there a workaround for no blinking of the lights when you hold Ctrl and keep tapping Z, outside of registering Ctrl+Z+Del?


Update chain to sync committee with consensus committees on launch

Fixes #36

Codecov Report

Merging #37 into testnet will decrease coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           testnet      #37      +/-   ##
===========================================
- Coverage     56.1%   56.05%   -0.05%
===========================================
  Files          131      131
  Lines         6704     6718      +14
===========================================
+ Hits          3761     3766       +5
- Misses        2307     2316       +9
  Partials       636      636

Impacted Files
Coverage Δ

pkg/core/chain/chain.go
32.44% <100%> (+1.09%)
:arrow_up:

pkg/core/consensus/timer.go
48.27% <0%> (-29.51%)
:arrow_down:

pkg/core/consensus/selection/selector.go
70.93% <0%> (+2.32%)
: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 85cf442...d685c1d. Read the comment docs.

LGTM


FastAI V1 Documentation linking to FastAI V2 Code

The FastAI V1 documentation links to FastAI V2 because when moving the documentation from docs.fast.ai to fastai1.fast.ai and moving the code from fastai/fastai to fastai/fastai1 these links weren't edited.

Unfortunately this is still the case for the search function, is there any possibility to change this? This is really unfortunate when you have to look up old APIs... It just shows results for the new page.


whitespace vs return

First, let me say that writing latex eg in emails is really great. Just one difficulty that makes it impossible for me to use smoothly:
"When the latex input method is in effect, one types LaTeX notation, following by SPACE to render or RETURN to accept the LaTeX notation literally."
I usually have latex and text interwoven, so not having SPACE available for SPACE makes using this too inconvenient ... then I rather have my \cup's and \cap's in the text ...
(also going to the language input icon and switching between latex and english each time I want to switch between latex and english on the keyboard means to leave the keyboard from typing for the mouse, which is slowing things down too much ... btw I am working on a mac)
Would it be an option to change the role of SPACE and RETURN?
After all, one types a SPACE much more often than a RETURN.

"Would it be an option to change the role of SPACE and RETURN?"
Or maybe even better: If I typed sth like "\cup" then a SPACE keeps doing what it is doing now, but if I typed just "cup" without the leading "" then SPACE is just SPACE.
Btw, here is another thing. If I type "\cup" and then SPACE, I get ⋓ and not ∪ . Can we have the default to correspond to the command that one actually typed?
Many latex users rely on fast typing and so not having to use the drop down menu will be important to many of us, I imagine.


Details added after correction

I have added contributor object in ascending order in contributors.json.

Hi Apoorv here,
        I have added my details in "contributors.json" and also

corrected other errors. If some error still persists then please let me
know.
Thanks,
Apoorv Saxena
On Thu, Oct 22, 2020 at 11:29 AM github-actions[bot] <
<EMAIL_ADDRESS>wrote:

Thanks for contributing to developer-community-stats!
We are happy to have you as a contributor. Your PR will be reviewed and
merged to master.
Once it is merged you can see your stats in:
https://developer-community-stats.netlify.app/
If you want to contribute to other issues check out Issues needed Help
https://github.com/subeshb1/developer-community-stats/issues?q=is%3Aissue+is%3Aopen+label%3A"help+wanted"
Please share your feedback and suggestions in this Issue: Suggestions
https://github.com/subeshb1/developer-community-stats/issues/202
This will help us improve a lot :)
Note: Don't forget to star, share the repository and follow @subeshb1
https://github.com/subeshb1 :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/subeshb1/developer-community-stats/pull/573#issuecomment-714249631,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARHVQAOSLZK3W7T3DHCHEHTSL7C25ANCNFSM4S2WYLXA
.

Hi @Apoorv-Saxena it's great that you are trying. But there were still conflicts in your PR. However, I have fixed them. Please try to communicate more if you have a problem. We are always here to help you.
Thanks for the contribution

Hi @Apoorv-Saxena it's great that you are trying. But there were still conflicts in your PR. However, I have fixed them. Please try to communicate more if you have a problem. We are always here to help you.
Thanks for the contribution

First of all thanks a lot for your help.
But can you tell what were the issues and how did you solve it.
I am very interested in learning git and github.


Vue does not detect changes in Map collection

Version
2.5.13
Reproduction link
https://jsfiddle.net/sohail85/d72g4jxt/
Steps to reproduce
Map collections are not reactive, even computed properties depending to Map collections does not changes when their dependency changed
What is expected?
Map collection like other data structure should be reactive
What is actually happening?
instance variable of type Map collection does not reflect its changes to UI

Duplicate of #6774


Release 0.36.0

fixes https://github.com/aws-cloudformation/cfn-python-lint/issues/1700
Description of changes:

Release v0.36.0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kddejong Thanks, Kevin.


model is not None

Running on backend llama.cpp.
Traceback (most recent call last):
File "/root/llama2-webui/app.py", line 325, in
main()
File "/root/llama2-webui/app.py", line 56, in main
llama2_wrapper = LLAMA2_WRAPPER(
^^^^^^^^^^^^^^^
File "/root/llama2-webui/llama2_wrapper/model.py", line 99, in init
self.init_model()
File "/root/llama2-webui/llama2_wrapper/model.py", line 103, in init_model
self.model = LLAMA2_WRAPPER.create_llama2_model(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/llama2-webui/llama2_wrapper/model.py", line 125, in create_llama2_model
model = Llama(
^^^^^^
File "/root/llama2-webui/new1/lib/python3.11/site-packages/llama_cpp/llama.py", line 323, in init
assert self.model is not None
^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Same here !

Thanks for the issue. Might be some issue from llama.cpp. Will have a look.

https://stackoverflow.com/questions/76986412/assertionerror-when-using-llama-cpp-python-in-google-colab
need to use llama-cpp-python==0.1.78
the format changed

@jamartinh @HyperUpscale Thanks for the feedback. I believe the issue is mainly due to the new GGUF format.
A quick solution is try install from requirements like
git clone https://github.com/liltom-eth/llama2-webui.git
cd llama2-webui
pip install -r requirements.txt

@jamartinh @HyperUpscale hi now the new release llama2-wrapper=0.1.13 will lock on llama-cpp-python = "0.1.77" to support old ggml models.
New release will support gguf models.

#73 now supporting gguf models.

#73 now supporting gguf models.


Fix bug in AcquireLatchX

Check version of traced record rather than of a bucket's tail record while deciding to update in place or COW.
Issue: Previous InVersionNew() only checks the version of the tail record in a bucket to decide whether to update in place or COW. However, when two records of different keys share the same bucket, the one in version v+1 may trick updates on another key whose version is v to incorrectly think that this key has arrived v+1 and update in place.
Note that this might be a very rare case--two updates on different keys that collide are happening at the same time and the state machine is shifting. But it still can occur.

In this PR I played safely for PREPARE phase: InVersionNew still checks the tail record, and will go pending if any key of the bucket has arrived version v+1. This might be unnecessary (see here) and please let me know if updating records in version v while the bucket arrives v+1 is actually benign.

What about the case where:

Session is in v (prepare phase)
Bucket is also in v
Record being updated is in v+1

Looks like we will wrongly update the record in place

In this PR I play safe for PREPARE phase: InVersionNew still checks the tail record, and will go pending if any key of the bucket has arrived version v+1. This might be unnecessary (see here) and please let me know if updating records in version v while their bucket arrives v+1 is actually benign.

What you have right now (no change) is correct for PREPARE phase. It is better to force the thread to shift rather than update v in place (even though it is not incorrect to do so).


Trophies wrong date

Hi i made the issue because i looked into my trophies and i found that the trophies are unlocked in wrong dates and if you know how to fix it i will appreciate you (i think that if you can explaining how to set a custom date in the payload will help to anyone).

When you use the undo reverts the date to 31st of may, then the internal clock counts from that.
Way to so sort that out is to set the internal clock to current date which am not sure how it can be done.

Thanks, I've been made aware of that, there is only 1 way I can think of to have a proper undo payload, and that is to modify the payload on the fly through javascript based on user selected date, it should be somewhat straight forward, calculate how many days it's been since 01/01/2012 until user selected dates in seconds.
var date1 = new Date(2012, 01, 01, 0, 0, 0);
var date2 = new Date(2018, 05, 31, hours, minutes, seconds); <-- these need to be made user selectable

var timetoset = (date2 - date1)/1000;

then we can set the value in the line that holds the seconds in the payload.

Oh ok i will try it with the functions of javascript to obtain the seconds and compile the payload if i edit it successfully i will close the issue.

just to note, you should compile payload, convert it to JS, then modded it on the fly... something like this https://gist.github.com/Zer0xFF/d8bea77cdc44555af96f6e4cd8d56653


Problems with the list

Good morning, I use an application called [Host File Editor] (https://hostsfileseditor.weebly.com) to update the hosts, I noticed that my antivirus activates every time I use your list (+ fakenews + gambling). (Dead, Net, Risk, Spam), I noticed that however the antivirus only acts when I add it to your complete list (+ fakenews + gambling), or when adding Risk or Spam separately. Can you solve it? I use Windows 10 pro with Kaspersky Internet Security <IP_ADDRESS>8 (c).
https://i.imgur.com/Xwk4y0r.png

Support Forum:

The "workaround" answers are all the same ...one needs to "make sure to add the HOSTS file to the exclusion list".

Related: https://github.com/StevenBlack/hosts/issues/643

@Havokdan That's actually a good thing... it's prove your antivirus program is working properly and do what is to be expected.
In a good antivirus program however you would be able to ad exclusions, here you should be able to add the %system32%/etc/hosts or %windir%/system32/etc/hosts (be aware they might be a typo as i don't use any microsoft myself)
Third option is to support a nonprofit project like http://www.mypdns.org (alpha stadium) and then point all your devices to an external DNS server blocking the same domains as all of these lists does, inclusive the newest threads (alpha), the benefit of this is, all your devices incl. your TV, radio and other IOT are protected from privacy harvesting....

@pi-hole might be a good thing to look at (foor the third option) @spirillen.

@pi-hole might be a good thing to look at (foor the third option) @spirillen.

:) yes it crossed my mind after hitting the send comment....

@pi-hole might be a good thing to look at (foor the third option) @spirillen.

:) yes it crossed my mind after hitting the send comment....

@pi-hole might be a good thing to look at (foor the third option) @spirillen.

Absolutely, but pi-hole is mostly a inhouse DNS server thing.... and everyone have to run there own separate instance (here is though of time, and power) for what can be done by a 1gb 1cpu VPS for like 1000's of users


The send message to volunteers text box is allowing text to be entered.

the text box has a limit of characters but still it allows to enter the text message and is not restricting the user.
As a user, the user should be restricted and not allowed to enter to avoid any confusion as users do not ideaaly count how many characters have been entered.

The limit only applies if "Send Message via SMS" is checked.  If checked there's a message with a character count that , if the count is greater than 160 characters, turns red and submission fails.  This seems to work as designed.  We could consider stopping any characters being entered after the 160 limit if the SMS option is checked as  a feature.  Current functionality seems fine.

Verified and closed.


[Bug]: Users with Edit permissions cannot create a model server runtime in a shared project

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Users with "Edit" permissions on a shared project are not able to create a serving runtime, like they can create other resources like workbenches, storage and data connections.

Expected Behavior
Either one of:

operation is performed successful
user cannot click on "Configure server" button if the operation is actually not allowed

Steps To Reproduce

Create a Data Science Project myprojectA with user A
grant "Edit" permissions on "myprojectA" to user B
check user B can access the DS project "myprojectA"
click "Configure server" button
insert the required information in the form
click "Configure" button

Workaround (if any)
Grant user admin role
What browsers are you seeing the problem on?
No response
Open Data Hub Version
No response
Anything else
No response

We agree on the following for this fix:

Disable token authorization for users who doesn't have permission to edit
Move the logic for creating the rolebinding based on the check

Move the logic for creating the rolebinding based on the check

hey @lucferbux, wanted to double check on this line
Move the logic for creating the rolebinding based on the check. What does it mean? Will the user be able to create the model server with this? Who will create the rolebinding?

Move the logic for creating the rolebinding based on the check

hey @lucferbux, wanted to double check on this line Move the logic for creating the rolebinding based on the check. What does it mean? Will the user be able to create the model server with this? Who will create the rolebinding?

Yeah, I've changed the comment to make it more clear. We've just basically refactored the logic, since we were always creating the rolebinding, now  it checks first if the user can create it and if token auth is enabled.


"Could not find tools.jar." error with react-native run-android even in the latest release

[Yes ] I have reviewed the documentation
[ Yes ] I have searched existing issues
[ Yes ] I am using the latest React Native version

Environment
react-native run-android
after running react-native info
Environment:
OS: Windows 10
Node: 8.10.0
Yarn: 1.5.1
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: Version  <IP_ADDRESS> AI-173.4697961
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.2 => 0.55.2
Steps to Reproduce
Just run react-native run-android
Expected Behavior
It should build the app.
Actual Behavior

Great 👍 please close the issue so it doesn't clog up the open issues page


Use stable/influxdb chart

The team over at influxdata has built a pretty extensible chart for influxdb and its in the stable repo. We should move to using this one instead of our custom chart.
Acceptance Criteria:

[x] Remove current influx chart from deis/monitor repo
[x] Add stable/influxdb chart to the requirements.yaml in deis/workflow pinned to 0.2.1
[ ] Validate chart is fetched when performing helm dep udpate in CI
[x] Work out how we will handle the off cluster check we currently have

For off cluster storage we can do the following:
  - name: influxdb
    version: 0.2.1
    condition: influxdb.on_cluster
    repository: https://kubernetes-charts.storage.googleapis.com

The condition there is checked before installing the chart. The default in values.yaml is set to true but when people wnat off cluster influx support they just set it to false.

@mboersma @slack
So I have run into 2 small problems we should address:

The pvc name is different in our current chart than what will be used in the upstream influx chart. This means that we would make a new volume claim and our users could potentially lose data with using this new chart.

The location of the database itself is different between our images. This means that even if we mount in the same volume claim the underlying directories wouldnt match up and it would see that there was no data within the influx database itself.

Fixing issue 1 can be done with a PR into the upstream influx chart to add a conditional around setting the name. However, fixing the second issue means we would probably want to keep using our influx image.
I'm not entirely sure how to proceed with this so was wondering what your thoughts might be.

It may be worth exploring writing a small tool/script that could be delivered as manual upgrade steps or a pre-upgrade hook in the charts. This script could orchestrate the upgrade, which could look roughly like:

Create new PVC which matches influxdb upstream
Remove influxdb deployment
Launch a data migration pod that refs both PVCs and copies data
Removes old PVC (or leaves it for manual clean up)
Lets the new influxdb chart drop in and take over going forward

Thoughts?

Im not entirely sure I like that idea because it definitely injects something in to the upgrade process that makes it feel really strange. It's not like what happened when we went from helmc -> helm.

Long-term, we want to be able to lean on upstream components. That should reduce our maintenance burden. Otherwise, we'll continue to maintain a fork of just one component in the stack. To get there with the best user experience (no data loss) it seems worthwhile to tackle the data migration problem once.
Could you expand on "feels really strange", what aspects are specifically strange:

adding additional steps/jobs to upgrade (manual or otherwise)
manipulating data as part of the upgrade process
breaking an unstated customer expectation


dry run feature

Sample output:
04:17:25 | INFO    | dry run is enabled
04:17:25 | DEBUG   | /home/ryan/trytouca/sdk/python/results/is_prime-merged/touca.bin
If there are more files, they will simply be listed one by one

Closes #21.


ChangeFOV patch for EDF6

I noticed the ModLoader just got updated for EDF6, great!
So I tried to write a ChangeFOV patch for EDF6 based on this post: https://steamcommunity.com/app/2291060/discussions/0/4509876314624934423/?ctp=3#c4509876314626036196
I extracted the latest release, placed the Patcher.dll
And put the following lines in ChangeFOV.txt and put it in the Patches folder
;1760410: DB 0F 49 3F ; Default (45 vFOV)
1760410: 00 00 80 3F ; 1.0 (57 vFOV)
But it does not work... log show it is loaded, and when I manually edit the EDF.dll it does work... so what could be going wrong here?

Patcher takes memory addresses which differ slightly from file offsets, depending on where you are in the file, you'll have to add different amounts to the address when porting to Patcher.
EDF 6 (EDF.dll) Patcher Offsets:
      0 to 174F9FF: +C00
174FA00 to 1F4D5FF: +1600
1F4D600 to 20ABC00: +1A00

In your case you'd by adjusting the offset by 0x1600 from 1760410 to 1761A10
But also that is just an awful FOV patch, changing the constant directly affects everything that uses it and not just the FOV code. I'll try to make a better patch that has less chance of unintentional breakage.

Awesome, this works!
Just out of curiosity what causes these different offsets between memory addresses and file offsets?

Different alignments. EXEs and DLLs are composed of sections, but as a file each section must be aligned to 512 bytes, and in memory each section must be loaded to an aligned address of 4096 bytes. The data can be more tightly packed as a file and ends up spread out more when loaded.


The metadata service shows the wrong image for ➌ (U+278C)

The font used in the metadata service shows the wrong image for ➌ (U+278C) [DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT THREE]

ENS name affected: ➌➌➌➌.eth [raffy's resolver] [ENS metadata generated image] [ENS Metadata] [OpenSea page]

Hi Cthulu-dot-eth! Thank you for the issue.
I compared all operation systems and realized that there was a font-family conflict in the code, which was causing fallback fonts not showing up if main font does not provide a support for the emojis. Also there is a known bug in Windows against sans-serif for some (mostly b/w) emojis. The conflict made this known bug appeared for Windows users.
Just made a hot-fix and things should work well now.


Question: Wasm Support

Is there any plan on supporting wasm? :)

@ronjunevaldoz Please refer to this issue  https://github.com/KevinnZou/compose-webview-multiplatform/issues/116