text:
Multi Type Charts

I'm working on multi-types, for example, Stacked Bars with a Line over it. I have a first working prototype done.
Passing the parameters will be a little odd in order to keep it back compatible. Here is a snippet, from which you can give feedback:
var regionData = [
	{
		name: 'Bottom',
		labels: ['April', 'May', 'June', 'July', 'August'],
		values: [.17, .26, .53, .10, .4]
	},
	{
		name: 'Middle',
		labels: ['April', 'May', 'June', 'July', 'August'],
		values: [.05, .04, .02, .03, .15]
	},
	{
		name: 'Top',
		labels: ['April', 'May', 'June', 'July', 'August'],
		values: [.01, .02, .25, .35, .2]
	},
	{
		name: 'Current',
		labels: ['April', 'May', 'June', 'July', 'August'],
		values: [.05, .04, .02, .03, .15]
	}
];

var chartTypes = [
	{
		type: pptx.charts.BAR,
		data: ['Bottom', 'Middle', 'Top'],
		options: {
			barGrouping: 'stacked'
		}
	}, {
		type: pptx.charts.LINE,
		data: ['Current'],
		options: {
			barGrouping: 'standard'
		}
	}
];
slide.addChart(chartTypes, regionData, optsChartBar2);

Hi @clubajax, is it possible to have a secondary value axis for the line chart? That would be nice. Nevertheless what you have done is already a great change! Thanks!

Hi @clubajax
Multi-type/Mixed charts would be a great addition to the library.
Compatibility-wise, i'd just change addChart to look for an array of objects as the first argument so we don't have to conform to the argument order being used presently.
What do you think of this - it's familiar for current users, and easy to iterate over while building the charts:
var arrCharts = [
    {
        type: pptx.charts.LINE,
        data: [
            {
                name: 'Bottom',
                labels: ['April', 'May', 'June', 'July', 'August'],
                values: [.17, .26, .53, .10, .4]
            },
            {
                name: 'Middle',
                labels: ['April', 'May', 'June', 'July', 'August'],
                values: [.05, .04, .02, .03, .15]
            },
            {
                name: 'Top',
                labels: ['April', 'May', 'June', 'July', 'August'],
                values: [.01, .02, .25, .35, .2]
            }
        ],
        options: {
            barGrouping: 'stacked'
        }
    },
    {
        type: pptx.charts.BAR,
        data: [
            {
                labels: ['April', 'May', 'June', 'July', 'August'],
                values: [.05, .04, .02, .03, .15]
            },
        ],
        options: {
            barGrouping: 'stacked'
        }
    }
];

slide.addChart(arrCharts, optsChartBar2);

Lastly, it should be easier to add a second values axis for @david23zhu using this format.

Okay, I'll look into doing it this way.

Wonderful. Which release will this feature be available in?

PR has landed: https://github.com/gitbrent/PptxGenJS/pull/163

in 1.7.0, I see only one addChart method with 3 params and the first parm isn't an array. Don't see any overloaded method with 2 params.
slideObj.addChart = function ( inType, inData, inOpt ) {
Am I missing something?

The method is the same. Overloaded arguments maybe is the term? Line 3123 - https://github.com/gitbrent/PptxGenJS/pull/163/files#diff-8f2b0af8f6c33661903dd083ef26c699R3123

Looks like 1.7.0 is missing this code. What I see in the diff is different from the code in 1.7.0 distribution file.
1.7.0 has the following implementation from addChart
	slideObj.addChart = function ( inType, inData, inOpt ) {
		var intRels = 1;
		var options = ( inOpt && typeof inOpt === 'object' ? inOpt : {} );

		function correctGridLineOptions(glOpts) {
			if ( !glOpts || glOpts === 'none' ) return;
			if ( glOpts.size !== undefined && (isNaN(Number(glOpts.size)) || glOpts.size <= 0) ) {
				console.warn('Warning: chart.gridLine.size must be greater than 0.');
				delete glOpts.size; // delete prop to used defaults
			}
			if ( glOpts.style && ['solid', 'dash', 'dot'].indexOf(glOpts.style) < 0 ) {
				console.warn('Warning: chart.gridLine.style options: `solid`, `dash`, `dot`.');
				delete glOpts.style;
			}
		}

We need to try to communicate better, since we are only able to pass back one message a day. Makes for a very slow thread...

It seems like you are looking to merge into 1.7 and not into master? Are those not in sync?
My last PR was merged to master
It might help to have a Committer's Guide. I expect this library to get very popular, very soon, now that charts are implemented.

Multi-type charts are now in the master branch!
Thanks for all the hard work @clubajax !

Why I cannot make this work? =(

authors: clubajax david23zhu gitbrent jpala mark-gss

repo: gitbrent/PptxGenJS


text:
🛑 invidious.flokinet.to is down

In fa8ad75, invidious.flokinet.to (https://invidious.flokinet.to/) was down:

HTTP code: 502
Response time: 1139 ms

Resolved: invidious.flokinet.to is back up in 7a2f4df.

source: gharchive/issue

repo: gitetsu/invidious-instances-upptime

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 invidious.privacydev.net is down

In f0ef09d, invidious.privacydev.net (https://invidious.privacydev.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invidious.privacydev.net is back up in f8fb88a.


text:
🛑 vid.puffyan.us is down

In 54aa35b, vid.puffyan.us (https://vid.puffyan.us/) was down:

HTTP code: 502
Response time: 210 ms

Resolved: vid.puffyan.us is back up in ab031a2 after 12 minutes.


text:
🛑 DynDNS afraid is down

In cdfb04c, DynDNS afraid (https://freedns.afraid.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DynDNS afraid is back up in e54c49c after 19 minutes.

repo: gitgrub/uptest


text:
e2e test 적용 (playwright) 준비

e2e 적용 (playwright) 준비.
뼈대마련

@ytaek
테스트 컨벤션이 따로 없는 것 같은데 이걸 어떻게 결정하면 좋을까요 ?
일단 생각나는 간단하게 정해야할 규칙은

e2e 테스트, 단위 테스트 파일 관리 방식
=> 예를 들어, test 폴더에 몰아 넣을지 각각 테스트 파일 옆에 바로 둘지
=> 제 의견은 e2e는 폴더로 분류해 관리하고 유닛 테스트 파일은 각각 파일 옆에 두는게 어떨까 생각합니다.
=> 시나리오 단위다보니 여러개의 파일을 e2e 테스트 파일 하나가 검증할 수 있는 여지가 크기에 파일 수가 적고 관심사의 범위가 광범위할 수 있기 때문입니다. 그러나 단위테스트는 하나의 코드와 대칭이 되는게 이상적이기 때문에 바로 옆에 두는게 목적에도 맞고 관리하기도 편할 것 같습니다!

테스트 파일 명칭 .test. 또는 .spec.
=> 둘다 정상적으로 테스트 파일로 인식하기 때문에 큰 문제는 없지만 하나를 정해서 통일하는게 좋을 것 같습니다!
=> 제 의견은 spec은 BDD의 관점에서 나온 단어이기에 더 직관적인 .test. 로 통일하는게 어떨까 생각합니다!

테스트 파일의 안의 레이어 (describe, context, it ... )
=> 이것도 더 디테일하게 생각하면 정해서 통일하면 좋을 것 같긴한데 ...
=> 아직 테스트가 시작 단계라서 자유롭게 작성하고 문제가 생기면 잡아나가는 것도 좋을 것 같습니다!

e2e 테스트, 단위 테스트 파일 관리 방식
=> 예를 들어, test 폴더에 몰아 넣을지 각각 테스트 파일 옆에 바로 둘지
=> 제 의견은 e2e는 폴더로 분류해 관리하고 유닛 테스트 파일은 각각 파일 옆에 두는게 어떨까 생각합니다.
=> 시나리오 단위다보니 여러개의 파일을 e2e 테스트 파일 하나가 검증할 수 있는 여지가 크기에 파일 수가 적고 관심사의 범위가 광범위할 수 있기 때문입니다. 그러나 단위테스트는 하나의 코드와 대칭이 되는게 이상적이기 때문에 바로 옆에 두는게 목적에도 맞고 관리하기도 편할 것 같습니다!

네 저도 그게 좋을 것 같습니다 😃

테스트 파일 명칭 .test. 또는 .spec.
=> 둘다 정상적으로 테스트 파일로 인식하기 때문에 큰 문제는 없지만 하나를 정해서 통일하는게 좋을 것 같습니다!
=> 제 의견은 spec은 BDD의 관점에서 나온 단어이기에 더 직관적인 .test. 로 통일하는게 어떨까 생각합니다!

이것도 좋습니다.

테스트 파일의 안의 레이어 (describe, context, it ... )
=> 이것도 더 디테일하게 생각하면 정해서 통일하면 좋을 것 같긴한데 ...
=> 아직 테스트가 시작 단계라서 자유롭게 작성하고 문제가 생기면 잡아나가는 것도 좋을 것 같습니다!

네 이건 자유롭게 하시지요 ㅎㅎ

repo: githru/githru-vscode-ext


text:
fix(view): show author and date info always(#211)

관련 이슈

#211

수정 내용
디테일 컴포넌트에서, commit log가 길 경우 author와 시간이 잘리는 현상을 개선했습니다.
이전 사진

수정 후, 사진

상세 수정 내용
커밋 로그는 한줄로 표현하기 위해 내용이 길 경우 ...으로 표현되게 유지했습니다.
author와 시간이 잘리는 것을 방지하기 위해 commit log 밑에 보여지게 변경했습니다.
추가적으로 commit-item이 한줄에서 두줄로 변경이 되어 마진을 좀 더 주었습니다.
추가적 논의
현재는 커밋 로그가 길면 ...으로 표현됩니다. 그래서 상세 커밋 로그를 확인할 수 있게 지원할 수 있게 추가적으로 구현이 되면 좋을 듯 생각합니다.
관련이슈는

#212
입니다..!

Author와 시간이 잘리지 않고 잘 보일 수 있게 잘 수정된 것 같습니다!!
조금 더 professional 해보이는 것 같아요!
👍👍👍

source: gharchive/pull-request

authors: Jaeheon-Sim chaejunlee


text:
constant_accent

test

Some comment

repo: github-api-test-org/jenkins

license: mit

license_source: bigquery


text:
Benchmark Submission: sheikhaei

This pull request represents a submission to the codesearchnet benchmark.
It is the main communication channel for you and the reviewers.
Wandb run results for review

'token_embedding_size': 64

repo: github/CodeSearchNet


text:
[GHSA-rgx7-8wqv-m224] ThreeTen Backport v1.6.8 was discovered to contain an...

Updates

Affected products
References
Summary

Comments
Fix one wrong URL in the References section.

Note that I intended to fix only the URL in the References section, but the form required filling in Title and Ecosystem which were empty.

Hi @dubek, I'm not accepting the contribution because the behavior described in the researcher report is not a vulnerability in ThreeTen Backport, so my colleagues and I have chosen to not review the advisory. It is not possible to make changes to advisories in the GitHub Advisory Database without reviewing them and generating Dependabot alerts. In the situation described in https://gist.github.com/LLM4IG/d2618f5f4e5ac37eb75cff5617e58b90, ThreeTen Backport appears to properly generate an error and the situation is therefore not a vulnerability. Reviewing the advisory would result in users receiving unnecessary alerts. Thank you for your interest in improving GHSA-rgx7-8wqv-m224 and have a great week.

authors: dubek shelbyc

repo: github/advisory-database


text:
Add a workflow to build and upload the runner

Instead of building the runner locally we should probably standardise on building it within actions to get a consistent environment. This PR introduces a workflow that just builds the runner and upload the artefacts.
I'm intending this currently state as just a starting point. A couple of open questions I have are:

Should this run on push or just workflow_dispatch? I only added push so I could test it before merging to the default branch.
Should we merge this with split.yml? The primary use case for this is when doing a release, but it could be useful to be able to run separatetly too.

@rneatherway
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.

I suggest just using workflow_dispatch and adding the ability for it to upload the artefacts directly to the specified release like this: https://github.com/github/codeql-action/blob/ffaa8aa19736375a41c680e6fc725b5cb59df03e/.github/workflows/split.yml#L65-L73
Keep it separate though as split.yml will be able to go away when we start preparing those platform-specific bundles ahead of time.

I've tested this using the on: push trigger and a hardcoded RELEASE_TAG, which I then removed in the last commit.

https://github.com/github/codeql-action/actions/runs/317389622
https://github.com/github/codeql-action/releases/tag/test-build-runner

Once this is merged I will delete the test release.

Thanks for taking on the rest of this @rneatherway.

authors: rneatherway robertbrignull

repo: github/codeql-action


text:
Don't create an issue in the controller repo

This PR removes the behaviour of creating an issue in the controller repository containing all results. This was always a temporary implementation, and we can now remove it because the experience in vscode is complete enough that the issue is no longer needed.
This may conflict semantically with https://github.com/github/codeql-variant-analysis-action/pull/699 but I can deal with that depending which one merges first.

Integration tests seemed to have passed: https://github.com/github/codeql-variant-analysis-action/actions/runs/2058911312
It's slightly harder to tell now that it doesn't create an issue, but it has created the result-index upload so I think that means it all worked.

repo: github/codeql-variant-analysis-action


text:
Missing spelling in the command in the Japanese page.

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/ja/repositories/creating-and-managing-repositories/troubleshooting-cloning-errors
What part(s) of the article would you like to see updated?
missing command update
git remot -v => git remote -v

Additional information
I made a pull request by mistake.(https://github.com/github/docs/pull/18709)
But it seems that pull requests for translated pages are not accepted.
So I created  issue

/assign

Thanks for opening this pull request! Unfortunately, we are not able to accept pull requests for translated content. Our translation process involves an integration with an external service at crowdin.com, where all translation activity happens. We hope to eventually open up the translation process to the open-source community, but we're not there yet.
See https://github.com/github/docs/blob/main/CONTRIBUTING.md#earth_asia-translations for more details.
I've opened an internal issue with our translators 💛

repo: github/docs


text:
Add information about what happens with Gists after a username change

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/changing-your-github-username
What part(s) of the article would you like to see updated?
Add a small section explaining the impact on Gists (PR incoming for this)
Additional information
No response

Dykggjllh. Xxc j

@billythekid Thank you for opening an issue and linking it to your PR! ✨


text:
API documentation is missing information on how to allow force push for specific teams/users

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
The API documentation for creating/updating the branch protection rules:
https://docs.github.com/en/rest/branches/branch-protection#update-branch-protection
What changes are you suggesting?
The API documentation indicates that its possible to set the property allow_force_pushes to true. When this is done, everyone with push permissions has force push enabled.
However, the GitHub UI allows to indicate specific Teams and/or Users to grant force push:

Please update the documentation to clarify how this granular approach to granting force push can be achieved through the API
Additional information
No response

@kepalas Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

@cmwilson21 now that the issue is closed, how can I track the status of this? Would be nice to know when/if the documentation will be updated :smile:

@kepalas Thanks for the question! It is a bit trickier to track the status since this has moved in to an internal repo for further review and discussion. I've left a note in the internal issue to come back here and update this issue on the progress. Hope that helps! 💖

Hello @cmwilson21
can you please provide some information with this API is available to add the list of users or any documentation on how to use this, can you please provide some update on on this

authors: cmwilson21 kepalas navachaitanyak


text:
Hi

What article on docs.github.com is affected?

What part(s) of the article would you like to see updated?

Additional information

My old email address is evicted my Gmail account and number

My old email address is evicted my Gmail account and number

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

This issue is blank and appears have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!

This issue is blank and appears have been opened accidentally. I'm going to close it now, but feel free to open a new issue or ask any questions in discussions!


text:
Add runner environment description in runner context

Why:
Closes: #32443

What's being changed (if available, include any code snippets, screenshots, or gifs):
Added content for the environment property in the runner context section

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@SoundaryaKoutharapu Thanks so much for opening a PR! I'll get this triaged for review ✨

@SoundaryaKoutharapu Thanks so much for opening a PR with this fix! I made a very small adjustment in runner-environment-description.md to more closely match the other descriptions 💛
I'll update the branch and get this merged once tests are passing 🍏


text:
IAR_EWARM

IAR_EWARM in community/embedded
Rebasing #2887 on top of gitignore/master.

@dangu thanks!

authors: dangu shiftkey

repo: github/gitignore


text:
ignore vscode

Reasons for making this change:
Visual Studio Code now supports Unity, so need ignore the folder created by it
Links to documentation supporting these rule changes:
https://marketplace.visualstudio.com/items?itemName=VisualStudioToolsForUnity.vstuc

You don't want to do it. Dir .vscode may contain several files you definitely want to check in. E.g. settings, workspaces, tasks
If you want to ignore some particular cache file from this dir, you should write more specific rule


text:
Is there an easy way to Switch account?

Is there a better way to do when creating multiple repo with multiple user
i keep getting this error
Error creating repository: Not Found (HTTP 404)
Not Found

only the first github account would work and all the organization on it...
i hope there is an easy way to switch an account
like hub auth-switch
FYI
My ssh config is properly configure , and i can do the normal stuff like pushing and pulling no trouble
only when creating a new repo is that im facing it
im using ssh protocol by default...
Can someone sugguest me an easier way of doing this...
SO i wont need to go to each github account login then logout
then create new repo

Hi, there is currently no functionality to easily switch users. You can hack something up yourself:

Have two authentication tokens (belonging to separate users) available, then swap the value of GITHUB_TOKEN environment variable around in your shell to switch between users;
Store two separate authentication tokens in separate config files (see ~/.config/hub), then swap the value of HUB_CONFIG when you want hub to use an alternate config file.

authors: codeitlikemiley mislav

repo: github/hub


text:
Unable to authorize with my GitHub password (Unathorized/Not Found)

I already put an alias for hub on my
.bashrc
alias git=hub
But when I want to create a repos my credentials always failed
Command attempted:
git create jam_hub
github.com username: flyingduck92
github.com password for flyingduck92 (never stored):
What happened:
Error creating repository: Unauthorized (HTTP 401)
Bad credentials. The API can't be accessed using username/password authentication. Please create a personal access token to access this endpoint: http://github.com/settings/tokens
More info:
git version 2.29.1.windows.1
hub version 2.14.2

I had the same issue. I went to the github tokens link provided and made a token, and now it works.

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) and paste it instead of the password.

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) and paste it instead of the password.

Oh okay, I will try usng Personal Access Token then.
Cheers sir

Hello, I uninstalled hub gem and did the update wit Homebrew

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) at https://github.com/settings/tokens and paste it instead of the password.

This didn't fix it for me. Error stays the same. I will try to find a fix.

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) at https://github.com/settings/tokens and paste it instead of the password.

You have NO idea how much I searched the internet to find this solution! THANK YOU!

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) at https://github.com/settings/tokens and paste it instead of the password.

You have NO idea how much I searched the internet to find this solution! THANK YOU!

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) at https://github.com/settings/tokens and paste it instead of the password.

Thanks @mislav. That worked for me!

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) at https://github.com/settings/tokens and paste it instead of the password.

Thanks @mislav. That worked for me!

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) at https://github.com/settings/tokens and paste it instead of the password.

This should be in the readme, and not in the pr.

Why was this issue closed? This seems like a pretty major issue.

True— it's not solved yet, so I'm reopening.

@mislav Can we change the intimation message until this is fixed? Something like github.com token for <user>: ? I think the message is fairly confusing.

Is there a way to change the message, just like @bharath-123 said ?

@mislav Can we change the intimation message until this is fixed? Something like github.com token for <user>: rather than github.com password for <user>: ? I think the message is fairly confusing.

I was hoping that we could save the token somewhere too, is that possible ?

Repo successful created with the token, but when i try to git push origin master, i get git@github: permission-denied.

Repo successful created with the token, but when i try to git push origin master, i get git@github: permission-denied.

if your trying to push with git could most likely be a setting there. Do you have it set up for https or ssh?

Since it doesn't seem to have been posted here, GitHub added an OAuth flow that doesn't need a web browser/server: https://docs.github.com/en/developers/apps/authorizing-oauth-apps#device-flow

I just always do SSH as I know how to get it working, however I ended up here as I completely forgot about the token thing, they really need to update the word password to token really.

Why did Git do something that would break a common workflow without first providing a fix for that workflow?  Sounds a lot like something Microsoft would do...

Repo successful created with the token, but when i try to git push origin master, i get git@github: permission-denied.

if your trying to push with git could most likely be a setting there. Do you have it set up for https or ssh?

I'm using https

Why did Git do something that would break a common workflow without first providing a fix for that workflow?

They did provide a fix. The device authorization flow was added on 2020-07-27. Token authentication began warning on 2020-07-30, and was disabled on 2020-11-13.
If you're referring to hub, it isn't officially supported by GitHub. My understanding is that it's only part of the @github organization for historical reasons.

@leo60228 "If you're referring to hub, it isn't officially supported by GitHub. My understanding is that it's only part of the @github organization for historical reasons."
What else would I be talking about in the hub repository?
If GitHub no longer wants to support hub, then what alternative (CLI, NOT GUI) do they  propose?  Of course I can use plain old git, but there was considerable convenience added with hub that has now been partially eliminated.

gh, which is linked in the hub README.
I don't believe hub was ever supported by GitHub. I'm pretty sure that it's only in this organization because it was (is?) originally developed by a GitHub employee.

This wasted me some time so I want to write down the solutions. If you have time to switch to gh, do it, otherwise:

Generate PAT (with repo scope)

Create a ~/.config/hub file like below (per mislav's comment). Put in your username as user and paste your PAT on oauth_token.
github.com:
 - user: mislav
   oauth_token: PASTE_YOUR_TOKEN_HERE
   protocol: https

Try hub clone

delete ~/.config/hub works to me!

github.com:

user: mislav
oauth_token: PASTE_YOUR_TOKEN_HERE
protocol: https

Thanks. This worked.
Somehow the password is not accepting the token I generated.

I'm sorry for the inconvenience. GitHub deprecated its Authorizations API, which hub relied on for exchanging a password for a token.
Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) at https://github.com/settings/tokens and paste it instead of the password.

It works !!! Thank you so much ❤

I am facing a similar issue, in past whenever i did git push origin master on the new repo using git bash, it prompted me with a username and password screen, where in pwd i used to enter PAT, and things would just work fine. But this time gitbash is not prompting me with username and password.

i has to change url to https inside .git/config in order to get it up and running
[remote "origin"]
url = https://github.com/...

Access Token stops working...

I was able to get this working by generating a PAT per the linked docs, and then setting up a hub config file in: ~/.config/hub:
github.com:
- user: < user_name >
  oauth_token: < PAT >
  protocol: https

I am trying to push a file in Github. I was able to pass in my username, but unable to put my token password. I did not see the little window that asks for my password I just see a little key picture. I will appreciate if someone can help me with that.

This wasted me some time so I want to write down the solutions. If you have time to switch to gh, do it, otherwise:

Generate PAT (with repo scope)
Create a ~/.config/hub file like below (per mislav's comment). Put in your username as user and paste your PAT on oauth_token.github.com:
 - user: mislav
   oauth_token: PASTE_YOUR_TOKEN_HERE
   protocol: https

Try hub clone

I tried this but I am getting the following error
.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/hub-1.12.4/lib/hub/github_api.rb:511:in block in yaml_load': undefined method []=' for nil:NilClass (NoMethodError)
I tried reinstalling the gem to no avail, any suggestions?

@pcobos You seem to be using the hub Ruby gem, which last had a release in 2014 and was since rewritten in Go and released through this project's Releases page. You should upgrade!

Use gh instead of hub,
> brew install gh
> gh auth login
> gh repo create

Hello, I'ma facing this issue, I removed  ~/.config/hub then I did hub create
But now I'm having this error :
Error creating repository: Not Found (HTTP 404)
Do you have an idea ?

They really not?

Please, please, please get rid of this tool if it is no longer supported. I just wasted 30 minutes trying to get a previously working setup up and running and ended up here at the bottom of this rabbit hole.
It is fine if the tool needs a token, it is fine if the tool is discontinued, but do your best to surface this to users running the latest version as fast as possible.
If the tool is to continue to be available my suggestions are below.
Not found could be replaced with:
Not found. Are you trying to use a username and password?

Until we fix this in hub, the solution is to generate a Personal Access Token (with at least repo scope) at https://github.com/settings/tokens and paste it instead of the password.

And when it says this:
Error fetching pull requests: Unauthorized (HTTP 401)
Bad credentials

It would be better to say:
Error fetching pull requests: Unauthorized (HTTP 401)
Bad credentials

Try clearing out your ~/.config/hub file. Your next attempt to connect with request that you reauthorize.

git:(master) hub create
github.com username: blabla
github.com password for blabla (never stored):
Error creating repository: Not Found (HTTP 404)
Tired using the token too, still got the same error

Using the PTA (Personal Access Token) with repo scope as the password works for me.

Извините за неудобства. GitHub устарел от своего API авторизации, на который хаб полагался при обмене пароля на токен.
Пока мы не исправим это в хабе, решение состоит в том, чтобы сгенерировать токен личного доступа (по крайней мере, с repoобластью действия) на https://github.com/settings/tokens и вставить его вместо пароля.

It works, thanks!
But if you didn't select 'Repo' when creating the key, then you get the following error:
Error creating repository: Unauthorized (HTTP 401) Bad credentials
You need to delete the ~/.config/hub directory and re-authorize on github.com and everything should work fine.
rm -rf ~/.config/hub
And after that, authorize again by entering your login and the key that you previously created:
hub create

Using the PAT (Personal Access Token) with repo scope as the password works for me.

I'm trying to use a token for password but it doesn't work for me

I just wasted 30 minutes trying to get a previously working setup up and running and ended up here at the bottom of this rabbit hole.
It is fine if the tool needs a token, it is fine if the tool is discontinued, but do your best to surface this to users running the latest version as fast as possible.

Same here.
@mislav Could you please make the tool emit an error, instead prompting for username and password and saying Not Found, when it's known that this cannot currently work?

authors: Betristor Cindywritescode JavaProScript Klairm NdagiStanley Overdozed Some-T TimCookXXX aamruth alk-gmathews amichaelc bharath-123 carlosloureda davidblum dominguespt flyingduck92 fuji246 gambas-maker iamdevlinph ketankshukla leo60228 leonardodimarchi luismoriguerra mislav nelsonov nh2 octref pcobos sekti92 shubhampathak09 timmattison tomoat ystraore


text:
Document finding and adding external scripts

I proposed this in https://github.com/hubot-scripts/packages/issues/60#issuecomment-77089849

Basically, since we've been doing script packages, the example (or generated) package.json has the 'hubot-scripts' keyword. I already said that in the context of having a web accessible view. But it turns out, npm has a CLI way of searching packages, as well as seeing more info:

connor:examplebot technicalpickles$ npm search hubot-scripts pagerduty
NAME                   DESCRIPTION                                               AUTHOR            DATE       VERSION KEYWORDS
hubot-pager-me         PagerDuty integration for Hubot                           =technicalpickles 2014-12-16 2.0.2   hubot hubot-scripts pagerduty
hubot-pagerduty-github PagerDuty Integration for checking who's on call, making… =patcon           2014-04-24 0.1.0   hubot hubot-scripts pagerduty alerts
npm home hubot-pager-me
>
>At that point, npm opens a browser window  for the homepage, where the user can figure out the next steps for installing.
>
> We can add that to the hubot docs, along with things like how to update hubot and scripts.

I think docs/index.md would be a good place for this, but open to ideas.

@technicalpickles so if I'm following this correctly, it's just a matter of adding the instructions to the docs, then, yes?

@jglovier that's it exactly. It's mostly finding the right place so it flows, and is easy to find.

:metal:
Yeah index feels legit - at least for now.

Since #956 was merged, this is probably good to close @technicalpickles @jglovier @bkeepers?

@geoffreyanderson Yep, thanks for the reminder!

repo: github/hubot


text:
Fix list numbering in Gotchas-section

The numeration in the Gotchas section was broken, because of misformatted code-samples.

Thanks!

authors: bkeepers maxkoryukov


text:
Added the esoteric programming language SoulC

Description

Checklist:

[ ] I am associating a language with a new file extension.

[ ] The new extension is used in hundreds of repositories on GitHub.com

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3AFOOBAR+KEYWORDS+NOT+nothack

[ ] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[x] I am adding a new language.

[ ] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3AFOOBAR+KEYWORDS+NOT+nothack

[ ] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/
[ ] I have updated the heuristics to distinguish my language from others using the same extension.

[ ] I am fixing a misclassified language

[ ] I have included a new sample for the misclassified language:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[ ] I am changing the source of a syntax highlighting grammar

Old: https://github-lightshow.herokuapp.com/
New: https://github-lightshow.herokuapp.com/

[ ] I am updating a grammar submodule

[ ] I am adding new or changing current functionality

[ ] I have added or updated the tests for the new or changed functionality.

[ ] I am changing the color associated with a language

[ ] I have obtained agreement from the wider language community on this color change.

[URL to public discussion]
[Optional: URL to official branding guidelines for the language]

Usage is no where near required levels for inclusion. You've also clearly not read the contributing guidelines, let alone taken the time to fill in the template properly. Closing.

repo: github/linguist


text:
Two questions on node parameter

As far as I can tell from the provided template in this repo, the node parameter cannot be set in the octocatalog-diff config file, and therefore must be passed via the API (or CLI with normal use).

As far as I can tell, the API is expecting a single node parameter per execution. If I wanted to do multiple nodes per execution and gather results for each I would need to do something like https://github.com/github/octocatalog-diff/blob/master/examples/ci/puppet_catalogs_spec.rb#L39 where sequential executions are performed. As it is, I am guessing that if one execution compiled catalogs for, say, ten nodes, and nine succeeded and one failed, then octocatalog-diff would return a failure overall. This is actually fine for me given how people and companies use puppet-check, especially its preponderance in CI. I was just hoping for a confirmation.

Thanks!

Regarding setting the node in the configuration file - it's possible. Just define settings[:node] in the configuration. Generally speaking any command line option can be set via the configuration file. Note that the command line always takes precedence over the configuration file.
The node isn't in any of the example configuration files because at GitHub our configuration file is checked in to our puppet repository, and provides sane defaults for 99% of the use cases. If you're using the configuration file as an oft-changing (or perhaps even transient) way to configure a particular run, it's possible to use the configuration file and no command line arguments at all. (Have a look in https://github.com/github/octocatalog-diff/tree/master/lib/octocatalog-diff/cli/options, and set the variables exactly like the method that handles your favorite command line option is doing.)

That is correct, one API call = catalog or catalog-diff for one node. At this point I don't envision building any handling of multiple nodes into octocatalog-diff, because everyone will probably want to do different things.
The CI template is a simplified version of what we use at GitHub (and we perform tens of thousands of catalog-diffs per day in our development cycles). The advantage to using a separate describe for each node is that this can be parallelized. We use the test queue gem to parallelize the catalog compilations (and in some cases, to distribute the compilations across multiple nodes). I suspect this strategy would also work with parallel_tests or any similar approaches to run multiple specs in parallel.
Our general rule is that if a system has N cores, we allow N catalog-only or N/2 catalog-diff to run at the same time (since a catalog-diff is compiling 2 catalogs, old and new, at the same time).

Thanks for the clarification. I interpreted the example config as a template for all possible options and not an optimized "sane defaults" config.

So I guess I should be more specific here. Say I am doing:

nodes.each { |node| OctocatalogDiff::API::V1.catalog(node: node) }

If there is at least one failure, then this would return a failure overall in the sense that a OctocatalogDiff::Errors::CatalogError would be thrown on the first failed catalog, correct?

If there is at least one failure, then this would return a failure overall

Yes, since any failing catalog would raise an error, the sample code you provided would exit with an error status as soon as it came across a bad catalog.
I'm sure you realize that your code as written would execute the checks serially, and you could consider parallelizing that execution to take advantage of multiple CPU cores (since each catalog compile basically pegs 1 core).

Yeah, this is all kind of "code design/architect" at this point and I am trying to figure out the optimal path forward before "code engineering".
I guess I have one final question about this. Say I did (still iteratively):
nodes.each do |node|
  begin
    OctocatalogDiff::API::V1.catalog(node: node)
  rescue OctocatalogDiff::Errors::CatalogError
    puts "#{node} had a catalog compilation error"
  end
end

If I had nodes 1..5 and node 3 had catalog compilation error, would this output:
node 3 had a catalog compilation error
or
node 3 had a catalog compilation error
node 4 had a catalog compilation error
node 5 had a catalog compilation error

My guess would be it would output node 3 had a catalog compilation error but never raise an exception. You'd be handling the error by printing a message but not doing anything else particularly interesting with it.

Thanks for all the helpful info; ready to move forward again.

authors: kpaulisse mschuchard

repo: github/octocatalog-diff


text:
make a bit more padding for toc so when scrolling it looks okay

cc @loranallensmith, this makes it so when scrolling the TOC doesn't hide partially. (call this an OCD fix)

:+1:

Thank you for catching that @brntbeer!

authors: brntbeer loranallensmith

repo: github/training-kit


text:
SlotableV2 docs example for Delegate Slots throws errors

The example code given in https://viewcomponent.org/#delegate-slots appears not to be working out of the box and raises two different errors:

missing keyword: :title
Could not find a template file or inline render method for BlogComponent::HeaderComponent

Steps to reproduce
Here’s a simplified version of the example code focusing only on HeaderComponent:
# blog_component.rb
class BlogComponent < ViewComponent::Base
  include ViewComponent::SlotableV2

  # Since `HeaderComponent` is nested inside of this component, we have to
  # reference it as a string instead of a class name.
  renders_one :header, "HeaderComponent"

  class HeaderComponent < ViewComponent::Base
    attr_reader :title

    def initialize(title:)
      @title = title
    end
  end
end

# blog_component.html.erb

<%= header %>

# index.html.erb
<%= render BlogComponent.new do |c| %>
  <% c.header do %>
    <%= link_to "My Site", root_path %>
  <% end %>
<% end %>

Expected behavior
The example code in the docs should not raise errors.
Actual behavior
Running the above snippets first raises a missing keyword: :title title, which can be solved with the following change:
<%= render BlogComponent.new do |c| %>
-  <% c.header do %>
+  <% c.header(title: "My Title") do %>
    <%= link_to "My Site", root_path %>
  <% end %>
<% end %>

First error is gone, but we now get to another one: Could not find a template file or inline render method for BlogComponent::HeaderComponent
I was able to work around that one with the following change:
class BlogComponent < ViewComponent::Base
  include ViewComponent::SlotableV2

  # Since `HeaderComponent` is nested inside of this component, we have to
  # reference it as a string instead of a class name.
  renders_one :header, "HeaderComponent"

  class HeaderComponent < ViewComponent::Base
    attr_reader :title

    def initialize(title:)
      @title = title
    end
+
+  def call
+    content
+  end
  end
end

System configuration
Rails version: 6.0.3.4
Ruby version: 2.7.2
Gem version: 2.25.1
Suggestions
For the first error, I’m happy to create a docs PR to update that example to remove that error and actually use the parameter we pass to the component, e.g.:
class BlogComponent < ViewComponent::Base
  include ViewComponent::SlotableV2

  # Since `HeaderComponent` is nested inside of this component, we have to
  # reference it as a string instead of a class name.
  renders_one :header, "HeaderComponent"

  class HeaderComponent < ViewComponent::Base
    attr_reader :classes

    def initialize(classes:)
      @classes = classes
    end
  end
end

  <h1 "<%= @classes %>"><%= header %>

For the second error, I’m not sure if the addition of
def call
  content
end

would be considered good practice or an antipattern. Would appreciate your opinions on this, and I’d be happy to add that to the PR.

Thanks for the report! A PR to fix up the docs would be great. ❤
For the second error, I think doing something like the following may make sense::
def call
  content_tag :header, content
end

@BlakeWilliams PR’s up at #624!

authors: BlakeWilliams phacks


text:
Another Test Issue

Another test issue here.
@githubstudent

Can't reproduce.

Adding some checklist items

[ ] Learn more about the GitHub Flow
[ ] Learn how to collaborate better
[ ] Learn what a pull request is

authors: anandnsingh yoshistarz


text:
Update GitHub commit injection

https://gitkraken.atlassian.net/browse/GKCS-5549

GitHub.com

GitHub Enterprise

@gitkrakel while you're here, can you update the timeout-minutes in playwright.yml from 60 to 5?

@miggy-e I'm re-requesting review because I made some additional changes:

fix no-shadow linting warnings
upgraded no-shadow lints to error

authors: gitkrakel miggy-e

repo: gitkraken/gk-browser-extension


text:
Gitlab CI not starting without any errors

Hey,
I followed your setup tutorial for the third time now (after deleting the user each time) and I got the start script running without an error for the first time.
Puma 2.0.0.b7 starting...
* Min threads: 0, max threads: 16
* Environment: production
* Listening on unix:///home/gitlab_ci/gitlab-ci/tmp/sockets/gitlab-ci.socket
Gitlab CI service started

In Nginx error log I see the following output:
2013/05/21 19:13:30 [error] 4087#0: *1 connect() to unix:///home/gitlab_ci/gitlab-ci/tmp/sockets/gitlab-ci.socket failed (111: Connection refused) while connecting to upstream, client: 109.104.44.43, server: www.mydomain.com, request: "GET / HTTP/1.1", upstream: "http://unix:///home/gitlab_ci/gitlab-ci/tmp/sockets/gitlab-ci.socket:/", host: "mydomain.com"

And in browser I just get a Nginx: 502 bad gateway.

Thanks for the issue report but we only support issues for the latest stable version of GitLab. I'm closing this issue but if you still experience this problem in the latest stable version, please open a new issue (but also reference the old issue(s)). Make sure to also include the necessary debugging information conforming to the issue tracker guidelines found in our contributing guidelines.

authors: jvanbaarsen pietbrauer

repo: gitlabhq/gitlab-ci


text:
🛑 MSP-103 is down

In afd8f1f, MSP-103 (https://msp-portal.gw103.oneitfarm.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MSP-103 is back up in 73fd10f.

repo: gitsrc/upptime


text:
model_category should be inferred

Currently we leave to the user to use the model_category variable to indicate if its ONNX or XGB. This should be inferred from the data of the version and the original model, not to users input.
Error prone:
(result, proof_id) = model.predict(
        input_feed={"input": input}, verifiable=True, model_category="XGB"
    )

Inferred:
# In the instantiation we can check the original model or if is json, we can get from it the model XGB or LGBM
model = GizaModel(id=model_id, version=version_id)
(result, proof_id) = model.predict(
        input_feed={"input": input}, verifiable=True
    )

I will like to take care of this one

Can get this done and ready within few hours, I understand that I'm to get the required value from the data version/original model as opposed to using human input value that is unreliable.

Hi @Jonatan-Chaverri @Josh-121
Sorry for the late response, currently we are putting this a bit on hold while we work on a refactor in the following months

authors: Gonmeso Jonatan-Chaverri Josh-121

repo: gizatechxyz/giza-agents


text:
Pass more styles to canvid beyond width and height

I could be wrong but there doesn't seem to be a way to do this right now. As a workaround, in my own CSS, I added the .canvid class and added the extra styling that I wanted, but I'd prefer to be able to pass through the canvid creation function instead.

I think width and height are sufficient. You are free to use CSS definitions or JS to set additional styles, using a library such as D3.js or jQuery or just vanilla JS.

authors: gka michaelcjoseph

repo: gka/canvid

license: isc


text:
[Bug] Didn't open dialog in unity 2023.2

It seem VistaOpenFileDialog are not working in unity 2023, are there any fix?

I'm having the same issue. Any solutions?

Have the same error here, urgent issue, needs to be fixed ASAP

When I downloaded Ookii.Dialog.dll from below and replaced it, the following error message was output.
https://www.ookii.org/software/dialogs/
InvalidProgramException: Invalid IL code in (wrapper managed-to-native) Ookii.Dialogs.Interop.IFileDialog:Advise (intptr,Ookii.Dialogs.Interop.IFileDialogEvents,uint&): IL_0025: ldloc     65535

(wrapper cominterop) Ookii.Dialogs.Interop.IFileDialog.Advise(Ookii.Dialogs.Interop.IFileDialogEvents,uint&)
(wrapper cominterop-invoke) Ookii.Dialogs.Interop.IFileDialog.Advise(Ookii.Dialogs.Interop.IFileDialogEvents,uint&)
Ookii.Dialogs.VistaFileDialog.SetDialogProperties (Ookii.Dialogs.Interop.IFileDialog dialog) (at <31af777adad04cb788cee0ae18e55ae1>:0)
Ookii.Dialogs.VistaOpenFileDialog.SetDialogProperties (Ookii.Dialogs.Interop.IFileDialog dialog) (at <31af777adad04cb788cee0ae18e55ae1>:0)
Ookii.Dialogs.VistaFileDialog.RunFileDialog (System.IntPtr hwndOwner) (at <31af777adad04cb788cee0ae18e55ae1>:0)
Ookii.Dialogs.VistaFileDialog.RunDialog (System.IntPtr hwndOwner) (at <31af777adad04cb788cee0ae18e55ae1>:0)
System.Windows.Forms.CommonDialog.ShowDialog (System.Windows.Forms.IWin32Window owner) (at <6d56e0f579f14156bf364f450d98bf76>:0)
(wrapper remoting-invoke-with-check) System.Windows.Forms.CommonDialog.ShowDialog(System.Windows.Forms.IWin32Window)
SFB.StandaloneFileBrowserWindows.OpenFilePanel (System.String title, System.String directory, SFB.ExtensionFilter[] extensions, System.Boolean multiselect) (at Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs:38)
SFB.StandaloneFileBrowser.OpenFilePanel (System.String title, System.String directory, SFB.ExtensionFilter[] extensions, System.Boolean multiselect) (at Assets/StandaloneFileBrowser/StandaloneFileBrowser.cs:51)
SFB.StandaloneFileBrowser.OpenFilePanel (System.String title, System.String directory, System.String extension, System.Boolean multiselect) (at Assets/StandaloneFileBrowser/StandaloneFileBrowser.cs:39)

Currently, Ookii.Dialogs has been deprecated and has been migrated to Ookii.Dialogs-Wpf, so it does not work as is.

Since the dialog can be opened in unity2023.1, it may be a bug in unity2023.2.

I have suspect that it's about unity upgrade dotnet standard from 2.0 to 2.1, which ooki dialog may not been built for?

@Thaina
I deleted the Ookii.Dialogs.dll and replaced it with the source, but the same error occurs, so I don't think it is caused by the dotnet standard update.

I have submitted a bug report to Unity regarding this error.
Currently under review, there was no problem up to Unity2023.2.0a14, and it was found that an error occurred from Unity2023.2.0a15.

A bug has been registered on the issue tracker.
https://issuetracker.unity3d.com/issues/windows-com-throws-the-invalidprogramexception-when-using-ookii-dot-dialogs-library

"In progress" on issue tracker🙏

Hi, is there any workaround? @shiena Did update to Ookii.Dialogs.WinForms help? Or we just need wait for unity fix?

@zadinvit You can use OpenFileDialog with System.Windows.Forms.dll. However, the old style dialog is displayed.

@shiena Were you able to use OpenFileDialog with System.Windows.Forms.dll?
Even with only this simple code, I have the following exception (Unity 2023.2.7f1):
using System.Windows.Forms;

public class WindowsFileBrowser
{
    public static string BrowseFolderPanel(string initialSelectedPath = "")
    {
        string filePath = string.Empty;
        using (OpenFileDialog openFileDialog = new OpenFileDialog())
        {
            openFileDialog.InitialDirectory = initialSelectedPath;
            if (openFileDialog.ShowDialog() == DialogResult.OK)
            {
                filePath = openFileDialog.FileName;
            }
        }
        return filePath;
    }
}

InvalidProgramException: Invalid IL code in (wrapper managed-to-native) System.Windows.Forms.FileDialogNative/IFileDialog:SetDefaultExtension (intptr,string): IL_000e: ldloc     65535
(wrapper cominterop) System.Windows.Forms.FileDialogNative+IFileDialog.SetDefaultExtension(string)
(wrapper cominterop-invoke) System.Windows.Forms.FileDialogNative+IFileDialog.SetDefaultExtension(string)
System.Windows.Forms.FileDialog.OnBeforeVistaDialog (System.Windows.Forms.FileDialogNative+IFileDialog dialog) (at <187ea5586d6f4ba8a9a85a7c10b078e1>:0)
System.Windows.Forms.FileDialog.RunDialogVista (System.IntPtr hWndOwner) (at <187ea5586d6f4ba8a9a85a7c10b078e1>:0)
System.Windows.Forms.FileDialog.RunDialog (System.IntPtr hWndOwner) (at <187ea5586d6f4ba8a9a85a7c10b078e1>:0)
System.Windows.Forms.CommonDialog.ShowDialog (System.Windows.Forms.IWin32Window owner) (at <187ea5586d6f4ba8a9a85a7c10b078e1>:0)
System.Windows.Forms.CommonDialog.ShowDialog () (at <187ea5586d6f4ba8a9a85a7c10b078e1>:0)
(wrapper remoting-invoke-with-check) System.Windows.Forms.CommonDialog.ShowDialog()
WindowsFileBrowser.BrowseFolderPanel (System.String initialSelectedPath) (at Assets/WindowsFileBrowser.cs:79)

@anonymous2585  I tried it with Unity2023.2.12f1 and the dialog worked.
This is that Unity project.
https://www.dropbox.com/t/52h90sq5zGbxrvvf

Thanks a lot!
With your project, I understood why I had the issue.
My System.Windows.Forms.dll file comes from the .NET Framwork (version 4.8.4494.0, 5,64Mo) while yours is from Mono (version 4.6.57.0, 2,74Mo).
With your version of the dll, it works! But the dialog is too ugly for me to give that to our clients 😐

@anonymous2585
Yes, unfortunately in the mono version of FileDialog, the AutoUpgradeEnabled property does not work, so the old style dialog is displayed.
https://github.com/Unity-Technologies/mono/blob/unity-main/mcs/class/System.Windows.Forms/System.Windows.Forms/FileDialog.cs#L387-L392
Therefore, you have two options: use Unity 2023.1 or earlier, or wait until the bug is fixed.

Nice to know there is a workaround, even if the UI is a bit outdated.
Could you please create a branch (or Pull Request) for the workaround?
This way one could easily use the workaround by changing the version of StandaloneFileBrowser to be used via Unity's manifest.json
Note that the workaround does not need to be merged into the master branch. Just having it available as a branch should suffice.

@achimmihca
diff --git a/Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs b/Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs
index 2bdb8c218..b1e379220 100644
--- a/Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs
+++ b/Assets/StandaloneFileBrowser/StandaloneFileBrowserWindows.cs
@@ -4,7 +4,13 @@ using System;
 using System.IO;
 using System.Windows.Forms;
 using System.Runtime.InteropServices;
+#if UNITY_2023_2
+using VistaOpenFileDialog = System.Windows.Forms.OpenFileDialog;
+using VistaFolderBrowserDialog = System.Windows.Forms.FolderBrowserDialog;
+using VistaSaveFileDialog = System.Windows.Forms.SaveFileDialog;
+#else
 using Ookii.Dialogs;
+#endif

 namespace SFB {
     // For fullscreen support

Yep, same issue with 2023.2+ 😔 Thanks @shiena for the workaround!
Has anyone found a way to display the more modern UI?
This repo seems to have last been updated over 6 years ago... Are we hopeful that there's even a remote chance that this gets fixed?

@MadStark
The AutoUpdateEnabled property is required to use the modern UI, but is not supported in the mono version.
https://github.com/gkngkc/UnityStandaloneFileBrowser/issues/135#issuecomment-1983387557
Therefore, we need to call the native API, but unfortunately there is no workaround because the COM call causes an error.

With the Mono System.Windows.Forms, I have the issue of Unity editor crashing whenever I close it after using the old window UI. Do you have the same thing?

@MadStark
Try copying Mono.Posix.dll and Mono.WebBrowser.dll to the Plugins folder with reference to #76 .

@shiena Thanks! Unfortunately it didn't fix my issue... I think it might be interfering with other things in my project. After I open the browser, next time I will close Unity, it will crash instead!
I'll do some digging!

Perhaps https://github.com/Unity-Technologies/mono/pull/2003 will fix it.

Backports also merged into 2023.2 and 2023.3.

https://github.com/Unity-Technologies/mono/pull/2006
https://github.com/Unity-Technologies/mono/pull/2005

I took some pull requests and repackaged them as upm.
https://github.com/shiena/UnityStandaloneFileBrowser

"Fixed in 6000.0.0b14" and "Fix In Review for 2023.2.20f1" on issue tracker

UUM-62035 is included in the Fixes section of the release notes for Unity6000.0.0b15.
And sure enough, the dialog comes up and no errors occur.

Unity2023.2.20 also contains UUM-62035 in the Fixes section.

Updated my project to 2023.2.20f1 and I confirm the issue is gone for me 😀

authors: MadStark Peter226 Thaina achimmihca anonymous2585 qq294716498 realrandombeans shiena zadinvit

repo: gkngkc/UnityStandaloneFileBrowser


text:
where is the output?

hi
Wonderful work.  Thank you.
I installed and ran the example command but don't see any output.  Please help.

Hi,
The output files are typically downloaded in the working dir.
Thanks

so I am able to see the visualizations if I use the gui and run runApp() and choose the exampledata manually.
however when I try to use the command line to output the data nothing is produced.
sbsuser@biolin-02:~/tools/iSeqQC$ Rscript --vanilla iSeqQC_cli/iSeqQC.R exampleData/samplemanifestfile.txt {sample_phenotype_file} exampleData/genesymbol_rawcounts.txt {count_matrix} R {type_of_reads} SYMBOL {type_of_gene_identifier} H {Organism}
Loading required package: ggplot2
Welcome! Want to learn more? See two factoextra-related books at https://goo.gl/ve3WBa

Attaching package: ‘psych’

The following objects are masked from ‘package:ggplot2’:

    %+%, alpha

corrplot 0.84 loaded
Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following object is masked from ‘package:limma’:

    plotMA

The following object is masked from ‘package:som’:

    normalize

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, basename, cbind, colnames,
    dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
    grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
    rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: ShortRead
Loading required package: BiocParallel
Loading required package: Biostrings
Loading required package: S4Vectors
Loading required package: stats4

Attaching package: ‘S4Vectors’

The following objects are masked from ‘package:data.table’:

    first, second

The following object is masked from ‘package:base’:

    expand.grid

Loading required package: IRanges

Attaching package: ‘IRanges’

The following object is masked from ‘package:data.table’:

    shift

The following object is masked from ‘package:psych’:

    reflect

Loading required package: XVector

Attaching package: ‘Biostrings’

The following object is masked from ‘package:ape’:

    complement

The following object is masked from ‘package:base’:

    strsplit

Loading required package: Rsamtools
Loading required package: GenomeInfoDb
Loading required package: GenomicRanges
Loading required package: GenomicAlignments
Loading required package: SummarizedExperiment
Loading required package: DelayedArray
Loading required package: matrixStats

Attaching package: ‘matrixStats’

The following objects are masked from ‘package:Biobase’:

    anyMissing, rowMedians

Attaching package: ‘DelayedArray’

The following objects are masked from ‘package:matrixStats’:

    colMaxs, colMins, colRanges, rowMaxs, rowMins, rowRanges

The following objects are masked from ‘package:base’:

    aperm, apply, rowsum

Attaching package: ‘GenomicAlignments’

The following object is masked from ‘package:data.table’:

    last

Attaching package: ‘ShortRead’

The following object is masked from ‘package:ape’:

    zoom

The following object is masked from ‘package:data.table’:

    tables

The following object is masked from ‘package:psych’:

    fac

sbsuser@biolin-02:~/tools/iSeqQC$

Hi,
Please use the following:
Rscript --vanilla iSeqQC_cli/iSeqQC.R exampleData/samplemanifestfile.txt  exampleData/genesymbol_rawcounts.txt R SYMBOL  H
The '{xxxx}' are just to make user aware of the parameter.


text:
【vocab size】Is there another way to limit the vocab size?

The method you provide by constraining the codes size, like "./fast learnbpe 40000 train.de train.en > codes", just indirectly adjusted the size of vocab.
My question are:

What is the relationship between the size of the codes and the size of the vocabulary, Any approximate function?
How can I limit the specific length of the vocabulary according to parameters settings？

Thanks！！

Has the problem been solved? I had the same question.

repo: glample/fastBPE


text:
Change scene with PackedScene instead of string

Is your feature request related to a problem? Please describe.
I usually don't like to call the get_tree().change_scene() method because it takes a string. If I ever move or rename the scene I have to find all usages of it and do the same. That's why I always use get_tree().change_scene_to() with a PackedScene. That way it will always be automatically updated whenever I change the path of the scene.
Describe the solution you'd like
Currently only the change_scene() is possible with this plugin. I would be nice if we also have the other option available

This is definitely a valid use case. I'll work on it when I have some time, or if you want to implement a solution you're free to open a pull request.

To be clear, the solution I have in mind is to make SceneManager.change_scene() take either a String or a PackedScene as a parameter, not to make a whole new method, in order to keep the API as small as possible

repo: glass-brick/Scene-Manager


text:
🛑 Schoelcher is down

In 2ae8b20, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 714bcbb.

repo: glefait/martinique-public-websites


text:
🛑 Schoelcher is down

In 0239a9e, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in e80d487.


text:
🛑 Schoelcher is down

In 7aa1a98, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in fea54ed after 5 minutes.


text:
🛑 Schoelcher is down

In 8f78092, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 8282aa0 after 5 minutes.


text:
🛑 Saint-Pierre is down

In 142ecf1, Saint-Pierre (https://saintpierre-mq.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Saint-Pierre is back up in f310b37 after 10 minutes.


text:
🛑 Espace Sud is down

In 0f98831, Espace Sud (http://espacesud.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Espace Sud is back up in 358ae70 after 7 minutes.


text:
🛑 Schoelcher is down

In 675d530, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 64ddfae.


text:
🛑 Schoelcher is down

In acc1820, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 8654f34.


text:
🛑 Schoelcher is down

In c1eca00, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 14adf4a.


text:
🛑 Schoelcher is down

In 42c55cb, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 476026f.


text:
🛑 Schoelcher is down

In 7ca80f4, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in d9035b1.


text:
🛑 Schoelcher is down

In 803e9db, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 89b431b.