Nextcloud provider is not listed in export dialog

I'm using Nextcloud. Other apps show it in open or save dialogs.
When i select Export there is just Recent, Downloads, Internal Storage and SD card.

The provider needs to be integrated with Google's Document provider framework. If you go to "Files" app on Android 8.0+, you can see all the providers. I believe if Nextcloud is not showing in the export dialog, it is not integrated with Document framework.


Simple comment update.

Please feel free to reject this; I've fixed a very trivial comment error.
I'm very new to forking/pull requests and I wanted to make sure I'm doing this correctly so this is more about me practicing than anything else.
Thank you for your time.

:+1: Thanks for your PR!


Test PR -- do not merge

For debugging the ApiCompat task

Pull Request Test Coverage Report for Build 307085

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

Totals

Change from base Build 307071:
0.0%

Covered Lines:
19790

Relevant Lines:
34100

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
The binary compatibility report for library 'Microsoft.PowerFx.Interpreter' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Interpreter' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.LanguageServerProtocol' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.LanguageServerProtocol' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.Transport.Attributes' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Transport.Attributes' for version '0.2.2-preview' was unavailable or a connectivity issue.

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
The binary compatibility report for library 'Microsoft.PowerFx.Interpreter' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Interpreter' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.LanguageServerProtocol' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.LanguageServerProtocol' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.Transport.Attributes' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Transport.Attributes' for version '0.2.2-preview' was unavailable or a connectivity issue.

:x: 4 Binary Compatibility issues for Microsoft.PowerFx.Core compared against version 0.2.2-preview.

InterfacesShouldHaveSameMembers : Interface member 'Microsoft.PowerFx.Intellisense.IPowerFxScope.ConvertToDisplay(System.String)' is present in the implementation but not in the contract.
TypesMustExist : Type 'Microsoft.PowerFx.Intellisense.IPowerFxScopeDisplayName' does not exist in the implementation but it does exist in the contract.
CannotChangeAttribute : Attribute 'Microsoft.AppMagic.Transport.TransportTypeAttribute' on 'Microsoft.PowerFx.Syntax.Span' changed from '[TransportTypeAttribute(0, true, null, null, false)]' in the contract to '[TransportTypeAttribute(TransportKind.ByValue, true, null, null, false)]' in the implementation.
InterfacesShouldHaveSameMembers : Interface member 'Microsoft.PowerFx.Types.ITypeVistor.Visit(Microsoft.PowerFx.Types.UnsupportedType)' is present in the implementation but not in the contract.

The binary compatibility report for library 'Microsoft.PowerFx.Interpreter' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Interpreter' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.LanguageServerProtocol' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.LanguageServerProtocol' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.Transport.Attributes' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Transport.Attributes' for version '0.2.2-preview' was unavailable or a connectivity issue.

:x: 4 Binary Compatibility issues for Microsoft.PowerFx.Core compared against version 0.2.2-preview.

InterfacesShouldHaveSameMembers : Interface member 'Microsoft.PowerFx.Intellisense.IPowerFxScope.ConvertToDisplay(System.String)' is present in the implementation but not in the contract.
TypesMustExist : Type 'Microsoft.PowerFx.Intellisense.IPowerFxScopeDisplayName' does not exist in the implementation but it does exist in the contract.
CannotChangeAttribute : Attribute 'Microsoft.AppMagic.Transport.TransportTypeAttribute' on 'Microsoft.PowerFx.Syntax.Span' changed from '[TransportTypeAttribute(0, true, null, null, false)]' in the contract to '[TransportTypeAttribute(TransportKind.ByValue, true, null, null, false)]' in the implementation.
InterfacesShouldHaveSameMembers : Interface member 'Microsoft.PowerFx.Types.ITypeVistor.Visit(Microsoft.PowerFx.Types.UnsupportedType)' is present in the implementation but not in the contract.

The binary compatibility report for library 'Microsoft.PowerFx.Interpreter' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Interpreter' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.LanguageServerProtocol' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.LanguageServerProtocol' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.Transport.Attributes' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Transport.Attributes' for version '0.2.2-preview' was unavailable or a connectivity issue.

:x: 3 Binary Compatibility issues for Microsoft.PowerFx.Core compared against version 0.2.2-preview.

InterfacesShouldHaveSameMembers : Interface member 'Microsoft.PowerFx.Intellisense.IPowerFxScope.ConvertToDisplay(System.String)' is present in the implementation but not in the contract.
TypesMustExist : Type 'Microsoft.PowerFx.Intellisense.IPowerFxScopeDisplayName' does not exist in the implementation but it does exist in the contract.
InterfacesShouldHaveSameMembers : Interface member 'Microsoft.PowerFx.Types.ITypeVistor.Visit(Microsoft.PowerFx.Types.UnsupportedType)' is present in the implementation but not in the contract.

The binary compatibility report for library 'Microsoft.PowerFx.Interpreter' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Interpreter' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.LanguageServerProtocol' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.LanguageServerProtocol' for version '0.2.2-preview' was unavailable or a connectivity issue.
The binary compatibility report for library 'Microsoft.PowerFx.Transport.Attributes' wasn't generated. This may have happened because the NuGet library 'Microsoft.PowerFx.Transport.Attributes' for version '0.2.2-preview' was unavailable or a connectivity issue.

Testing completed.


Add story_points filter in doing list

Would be nice to filter on story with >= a certain # of points.
You can also filter on unassigned issues with Story Points <> (leave Value field blank)
https://docs.microsoft.com/en-us/azure/devops/boards/queries/query-numeric?view=azure-devops#useful-filters

Parameter values:

None. No filter
unassigned. Run query to find unassigned
><number>. parse and do bigger than
<<number>. parse and do less than


Apply priority for AdjustModifiers across different selectors

When AdjustModifiers are applied, they are sorted first on the selector, then on priority.  This means that, e.g., all AdjustModifiers that select {item|id}-damage will be applied (in order of ascending priority) before any AdjustModifiers that select strike-damage.
Example:
{  "key": "FlatModifier",  "label": "Test",  "selector": "strike-damage",  "value": 1,  "slug": "test" }
{  "key": "AdjustModifier",  "selector": "strike-damage",  "mode": "override",  "value": 2,  "priority": 10,  "slug": "test" }
{  "key": "AdjustModifier",  "selector": "{item|id}-damage",  "mode": "override",  "value": 3,  "priority": 20,  "slug": "test" }

It might be expected that the final value of test will be 3, but it will be 2.  This is because the list of domains for the damage roll has {item|id}-damage before strike-damage, so the 3rd RE is found first, then the 2nd RE later.
This could be fixed by:
A)  Adding priority to the objects placed into actor.synthetics.modifierAdjustments[domain], then sorting the extracted list of modifiers created by extractModifierAdjustments() by priority.
B) Adding the selector to the same objects, and putting them into a single, priority sorted, list in modifierAdjustments.  Then extract them by filtering on the selector membership in the Set() of domains for the roll.  This will preserve overall priority order.
With method A, extracting adjustments is O(n log n) time, while method B is O(n), assuming a Set() implementation with constant time lookup, i.e. a hash based Set.  Which is what is used.

I'd have to see how big the pulled data is (since we pull before testing) but if the lists are small A is actually faster because of lower overhead. It would also be possible to delay said filtering into the moment the adjustments are actually applied, further reducing how many items are being sorted.

For a strike damage roll, there are about 13 domains to iterate over.  Typical actor has maybe 5 modifierAdjustments.
So it's the smaller list being processed to filter all adjustments based on selector than than to iterate over all domains and join the arrays of pre-sorted adjustments.  I think that alone would make the single list method (B) faster.  But the multiple list method (A) then requires sorting the joined arrays, which single list avoids.
Data structure is smaller too.  modifierAdjustments is an array of adjustments.  Vs modifierAdjustments being an object that contains about a half dozen arrays of adjustments.  I.e., it saves one level of object nesting.
There's another limitation of the current system.  AdjustModifiers with multiple selectors don't work.  They get joined into an single domain, e.g. "selector":["master-damage", "legendary-damage"] is added to the field modiferAdjustments["master-damage,legendary-damage"] and nothing finds it.  With the method A, this is trivial to support multiple selectors, by making modifierAdjusetments[x].selectors an array (or a Set).


Fix cve CVE-2022-31030

Signed-off-by: Jonathan Marcantonio<EMAIL_ADDRESS>Fixes half of issue, [release-2.5] Upgrade Vulnerable Library Dependencies - multicloud-operators-subscription #22726

@lennysgarage   The CVE in the subscription probably is from the same one in the channel repo. I think it may be better to import the latest channel repo.
So after the CVE PR in channel repo is merged, you can do this in the subscription repo
% go get open-cluster-management.io/multicloud-operators-channel@<the latest commit id in channel repo>
// Then run go mod tidy to get all indirect imports refreshed

% go mod tidy


acs-engine orchestrators should thrown an error when an invalid/unsup…

…ported version is provided

What this PR does / why we need it: The orchestrators command should error out when an invalid orchestrator version is provided as input.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #2852
Special notes for your reviewer:
If applicable:

[ ] documentation
[x] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

@CecileRobertMichon I've modified my PR as per your review comment :).

I've updated the PR.


Guzzle 6 support

As Guzzle moved to version 6 there are some major changes that doesn't allow to easily adopt your code. I think quite a lot of people would really appreciate if you produce a solution for v6.

This repo is no longer necessary with Guzzle 6. Logging is now built-in to the main package.


Use netty IntObjectHashMap insteaf hppc in HashJoin

Summary of the changes / Why this improves CrateDB
Q: select * from articles inner join colors on articles.id = colors.id order by articles.id limit 1000
C: 1
| Version |         Mean ±    Stdev |        Min |     Median |         Q3 |        Max |
|   V1    |       49.473 ±   72.379 |     33.304 |     37.293 |     41.099 |    970.946 |
|   V2    |       35.414 ±    2.910 |     32.405 |     34.196 |     36.455 |     49.801 |
mean:   -  33.12%
median: -   8.66%
Likely significant

Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

interesting. I'm a bit surprised that growing on demand on each put perform better than an explicit ensureCapacity.

The capacity is doubling if it isn't enough, so it is not a resizing on each put. But I'm also a bit surprised. Maybe the block-size calculation is off and the full size is never needed in the tested scenario.


Does steam js has a vue client

Is this helpful to you, @naveeng2402?
https://github.com/GetStream/Stream-Example-Vue-Cli


Can't send stickers?

well I was trying to send stickers the same way as the text, audio and image messages work but though these other types work, the sticker does not send. there's no error as well, just no response

Can we send this type via chrome.?

Can we send this type via chrome.?

by in chrome what do you mean? like using the console? i have not tried sending stickers that are stored locally from there

To send stickers the type has to be stikers.webp
`type StickerMessage struct {
Info MessageInfo
Type          string
Content       io.Reader
url           string
mediaKey      []byte
fileEncSha256 []byte
fileSha256    []byte
fileLength    uint64

ContextInfo ContextInfo

}`
`func getStickerMessage(msg *proto.WebMessageInfo) StickerMessage {
sticker := msg.GetMessage().GetStickerMessage()
stickerMessage := StickerMessage{
	Info:          getMessageInfo(msg),
	url:           sticker.GetUrl(),
	mediaKey:      sticker.GetMediaKey(),
	Type:          sticker.GetMimetype(),
	fileEncSha256: sticker.GetFileEncSha256(),
	fileSha256:    sticker.GetFileSha256(),
	fileLength:    sticker.GetFileLength(),
	ContextInfo:   getMessageContext(sticker.GetContextInfo()),
}

return stickerMessage

}`
`func getStickerMessageProto(msg StickerMessage) *proto.WebMessageInfo {
p := getInfoProto(&msg.Info)
contextInfo := getContextInfoProto(&msg.ContextInfo)
p.Message = &proto.Message{
	StickerMessage: &proto.StickerMessage{
		Url:           &msg.url,
		MediaKey:      msg.mediaKey,
		Mimetype:      &msg.Type,
		FileEncSha256: msg.fileEncSha256,
		FileSha256:    msg.fileSha256,
		FileLength:    &msg.fileLength,
		ContextInfo:   contextInfo,
	},
}
return p

}`
func (m *StickerMessage) Download() ([]byte, error) { 	return Download(m.url, m.mediaKey, MediaImage, int(m.fileLength)) }
case msg.GetMessage().GetStickerMessage() != nil: 		return getStickerMessage(msg)
case StickerMessage: 		var err error 		m.url, m.mediaKey, m.fileEncSha256, m.fileSha256, m.fileLength, err = wac.Upload(m.Content, MediaImage) 		if err != nil { 			return "ERROR", fmt.Errorf("image upload failed: %v", err) 		} 		msgProto = getStickerMessageProto(m)

To send stickers the type has to be stikers.webp
So the type will be stikers.webp and not image/webp ?

To send stickers the type has to be stikers.webp
So the type will be stikers.webp and not image/webp ?

It's image/webp

Can we send this type via chrome.?

Yes it's possible now, it's added next to emoji button

Para enviar adesivos, o tipo deve ser stikers.webp.
Então, o tipo será stikers.webp e não image / webp?

mime type image/webp
content := whatsapp.StickerMessage{ 			Info: whatsapp.MessageInfo{ 				RemoteJid: Jid, 				Id:        Id, 			}, 			Type:   "image/webp", 			Content: msgFile, 		}

To send stickers the type has to be stikers.webp
So the type will be stikers.webp and not image/webp ?

It's image/webp

ole,err = os.Open("index.webp") wac.Send(whatsapp.StickerMessage{ 	Info: whatsapp.MessageInfo{ 	RemoteJid: message.Info.RemoteJid, 	}, 	Type:    "image/webp", 	Content: ole, })
I've written this but it doesn't work. Could you take a look at it and tell me what's wrong??

To send stickers the type has to be stikers.webp
So the type will be stikers.webp and not image/webp ?

It's image/webp

`ole,err = os.Open("index.webp")
wac.Send(whatsapp.StickerMessage{
Info: whatsapp.MessageInfo{
RemoteJid: message.Info.RemoteJid,
},
Type: "image/webp",
Content: ole,
})`
I've written this but it doesn't work. Could you take a look at it and tell me what's wrong??

Is there any error? Does the file exist? I'm using it & it's working fine

To send stickers the type has to be stikers.webp
So the type will be stikers.webp and not image/webp ?

It's image/webp

ole,err = os.Open("index.webp") wac.Send(whatsapp.StickerMessage{ Info: whatsapp.MessageInfo{ RemoteJid: message.Info.RemoteJid, }, Type: "image/webp", Content: ole, })
I've written this but it doesn't work. Could you take a look at it and tell me what's wrong??

Is there any error? Does the file exist? I'm using it & it's working fine

Oh it's working? I have a file called index.webp in the folder where the script is placed along with other images and audios which I have no problem in sending

error sending message: cannot match type whatsapp.StickerMessage, use message types declared in the packageexit status 1
I am getting this error now.

error sending message: cannot match type whatsapp.StickerMessage, use message types declared in the packageexit status 1
I am getting this error now.

You have to implement sending stickers

error sending message: cannot match type whatsapp.StickerMessage, use message types declared in the packageexit status 1
I am getting this error now.

You have to implement sending stickers

how do I do that??

error sending message: cannot match type whatsapp.StickerMessage, use message types declared in the packageexit status 1
I am getting this error now.

You have to implement sending stickers

how do I do that??

https://github.com/Rhymen/go-whatsapp/blob/master/message.go#L26
Add this code within the function indicated on the line above.
case StickerMessage:
var err error
m.url, m.mediaKey, m.fileEncSha256, m.fileSha256, m.fileLength, err = wac.Upload(m.Content, MediaImage)
if err != nil {
return "ERROR", fmt.Errorf("image upload failed: %v", err)
}
msgProto = getStickerMessageProto(m)
Add this code below in the function indicated in the line above.
https://github.com/Rhymen/go-whatsapp/blob/master/message.go#L738
`func getStickerMessageProto(msg StickerMessage) *proto.WebMessageInfo {
p := getInfoProto(&msg.Info)
contextInfo := getContextInfoProto(&msg.ContextInfo)
   p.Message = &proto.Message{
     StickerMessage: &proto.StickerMessage{
	 Url:           &msg.url,
	 MediaKey:      msg.mediaKey,
	 Mimetype:      &msg.Type,
	 FileEncSha256: msg.fileEncSha256,
	 FileSha256:    msg.fileSha256,
	 FileLength:    &msg.fileLength,
	 ContextInfo:   contextInfo,
  }
  return p

}`

error sending message: cannot match type whatsapp.StickerMessage, use message types declared in the packageexit status 1
I am getting this error now.

You have to implement sending stickers

how do I do that??

https://github.com/Rhymen/go-whatsapp/blob/master/message.go#L26
Add this code within the function indicated on the line above.
case StickerMessage:
var err error
m.url, m.mediaKey, m.fileEncSha256, m.fileSha256, m.fileLength, err = wac.Upload(m.Content, MediaImage)
if err != nil {
return "ERROR", fmt.Errorf("image upload failed: %v", err)
}
msgProto = getStickerMessageProto(m)
Add this code below in the function indicated in the line above.
https://github.com/Rhymen/go-whatsapp/blob/master/message.go#L738
`func getStickerMessageProto(msg StickerMessage) *proto.WebMessageInfo {
p := getInfoProto(&msg.Info)
contextInfo := getContextInfoProto(&msg.ContextInfo)
   p.Message = &proto.Message{
     StickerMessage: &proto.StickerMessage{
	 Url:           &msg.url,
	 MediaKey:      msg.mediaKey,
	 Mimetype:      &msg.Type,
	 FileEncSha256: msg.fileEncSha256,
	 FileSha256:    msg.fileSha256,
	 FileLength:    &msg.fileLength,
	 ContextInfo:   contextInfo,
  }
  return p

}`

Ah thanks man, I now understand how it works. Much appreciated.
The last code will have an extra }, before the } above the return p. That's all I had to do.
Thanks again


Upgrade mac version in pipeline

Thanks for contribution! Please go through following checklist before sending PR.
This is because pipeline report error:

##[error]This is a scheduled macOS-10.15 brownout. The macOS-10.15 environment is deprecated and will be removed on September 30th, 2022. For more details, see https://github.com/actions/virtual-environments/issues/5583
,##[error]The remote provider was unable to process the request.

Per https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software:

upgrade "macOS-10.15" to "macOS-latest"
Also change "windows-2022" to "windows-latest", they point to same image currently

PR Branch Destination

For Azurite V3, please send PR to main branch.
For legacy Azurite V2, please send PR to legacy-dev branch.

Always Add Test Cases
Make sure test cases are added to cover the code change.
Add Change Log
Add change log for the code change in Upcoming Release section in ChangeLog.md.
Development Guideline
Please go to CONTRIBUTION.md for steps about setting up development environment and recommended Visual Studio Code extensions.

/azp run


Improve KeplerTargetPixelFile.from_fits_images()

Over in #41 the following outstanding improvements to  KeplerTargetPixelFile.from_fits_images() were identified:

[ ] The WCS is not carried through yet.
[ ] The performance is slow; using fitsio may be better.
[ ] The unit test coverage is not complete.
[ ] Support for flux errors is missing.

Work has been done on this over the summer.  I am closing this issue because it will be outdated.


Create package for one-click Add-on Explorer install

We're talking about building a Matlab Toolbox .mltbx installer file here, right?
I'd recommend you take a look at how my MatlabProjectTemplate does this. There are a couple gotchas with Matlab *.prj files that are used to build Toolbox .mltbx installer files. In particular, the Matlab toolbox-building tools bake absolute paths to things into the .prj files. That's unsuitable for source trees in projects with multiple developers, or that need to work across multiple machines or different operating systems. To work around this, you can create a templated .prj.in file, and process that to produce the actual .prj file at build time, treating the .prj file as an intermediate build step artifact, not the main definition of the Toolbox build.
Here's an example of the actual code that implements the .prj.in trick.
I'd also suggest you adopt the policy of "Neuropixel Toolkit works as a Matlab Toolbox, but it doesn't have to be used as one, and works just fine when run directly from the repo or regular-zip-file distribution too". If your code only works right when installed as a Matlab Toolbox, that's going to clog up your development workflow because you'll need to do an .mltbx build and install each time you want to test your code, and can't effectively edit the live source code files.

@apjanke  It's great to know about your MATLAB Project Template project, thanks for sharing!
This issue corresponds to one of the stretch goals for this project cycle. It might end up being smaller-scale: to simply work through the .mltbx creation and seeing/showing how it works. It need not use the project framework, but it's great to have these extra tools and tips to help make that work more smoothly.
Completely agree with your final point: .mltbx should be a bonus, not a replacement for other workflows.


doc: Setup Algolia search engine

Zephyr is eligible to use Algolia's Docsearch service for free. This commit enables Algolia search in the simplest way as a proof of concept.

@gmarull tried a while back: https://github.com/zephyrproject-rtos/zephyr/pull/32998

@gmarull tried a while back: #32998

Oh, thanks for the pointer! Interesting to get the background. Concerns re: 3rd party are probably still valid (but the good news is that it's probably fairly easy to fallback to traditional search for people who don't want or can't use the 3rd party service). Concerns re: search performing well only for some terms are probably obsolete, as I'm pretty sure that some minor tweaks to the so-called "crawler" will help properly rank results

FYI, heard about https://github.com/typesense/typesense
https://writeexperience.co/integrating-typesense-with-sphinx-readthedocs-template-a-step-by-step-guide/

Thanks!


'graphql' does not contain an export named 'print'

[x] has-reproduction
[ ] feature
[ ] docs
[x] blocking
[ ] good first issue

To re-create, follow the instructions here https://github.com/facebook/create-react-app/issues/5103 to create a new create-react-app v2.  Then just setup apollo-link-state, run yarn start and you'll get the following error:
Failed to compile.

./node_modules/apollo-link-state/lib/utils.js 21:51-56
  'graphql' does not contain an export named 'print'.

To solve this all you need to do this https://github.com/graphql/graphql-js/issues/1272#issuecomment-396597064 here on its own line https://github.com/apollographql/apollo-link-state/blob/master/packages/apollo-link-state/src/utils.ts#L3.

Should be fixed in<EMAIL_ADDRESS>please try.

@Timer That works too.  Thank you for fixing that so quickly, hope you have a great weekend! 😃

You too!


Example file not found

I am currently trying to use the Admin Dashboard Template template on Next.js, but I don't know where to get the environment variables. When I click Learn More (see image below) it takes me to this file, which doesn't exist anymore: https://github.com/vercel/nextjs-postgres-nextauth-tailwindcss-template/blob/main/.env.local.example.

Thank you.

I will update this!
https://github.com/vercel/nextjs-postgres-nextauth-tailwindcss-template/blob/main/.env.example


Partials break the app when navigating from a page with _layout.tsx to a page without _layout.tsx

If my app uses Partials, and then If I navigate from a page that uses _layout.tsx to a page that doesn't use _layout.tsx, that will cause the app to break and nothing will work until I refresh the browser. This including clicking "back", or clicking another route to a different part of the app. Nothing will work once you're at this point.
This can be fixed by making sure every route has a _layout.tsx, but I think the framework should not break just because of this.

Closing this issue because I'm not sure if my report is correct. Will reopen if needed.

I've tried various combinations of layouts and routes, but I'm unable to reproduce the described issue. It's unlikely that the problem is caused by layouts itself because internally Partials don't care how they were rendered. Despite that, it definitely sounds like something unexpected is going on inside your app. Hard to to tell what though without knowing more about your setup or app.
How can we reproduce the error you're seeing on our end?

Step 1: Create a global signal with
const popOver = signal();

Step 2: Create some kind of pop over element with a trigger element in a Partial, and actual pop over modal outside the Partial.
const onMouseEnter = () => doPopOverUsingSignal();

Step 3: When the trigger element disappears (aka unmounts due to route change), reset the pop over (if I don't do this, pop over would remain in the UI after the route changes)
useEffect(() => {
    return () => {
      if (popOverSignal.value) {
        popOverSignal.value = null;
      }
    };
  }, []);

At this point, the app will break and routes will no longer work. But there is no errors in the console log or network tab.

Did more testing, and found out that the cause is step 3 only. Step 2 is not necessary, and this error will happen whether you use the signal or not. The error happens when the signal is used in unmount.

Tried to reproduce this again, but I'm not able to. It would be best if you can share the full code that reproduces it, rather than some short snippets.

https://github.com/saeho/fresh-signal-bug
Steps to reproduce:

Run the app with "deno task start"
Do NOT mouse over the signal component that says "Mouse over me for signal" and click "Click here to go to greet route!"
Try to go back or click the route to go back.
Nothing happens. There was a silent crash without any warning whatsoever.

If you mouse over the signal component, the app will not crash it seems. But if you do not mouse over it, and attempt to route away, it will crash.
I may have seen this error happen with a mouse over too before, I don't remember, it's been a week.


Add edit button for users who opt in

An addional yaml field that has a link to a way to edit content, such as it's location on github. Here is an example for mine:
edit: https://github.com/boehs/oasis/blob/master/{path}.md

Nice idea!

In this case, would https://github.com/boehs/oasis/edit/master/CORS.md be perhaps a better choice? That is, /edit/ instead of blob -- which opens the editor directly.
I guess we could also autogenerate these, assuming regularity in github/gitlab/gitea URLs -- that could be a better choice? Then this parameter could become a way to override these defaults -- for example if you use a different interface/host, or if you want to redirect to (say) logseq/some other specialized web editor instead.

I guess we could also autogenerate these, assuming regularity in github/gitlab/gitea URLs -- that could be a better choice? Then this parameter could become a way to override these defaults -- for example if you use a different interface/host, or if you want to redirect to (say) logseq/some other specialized web editor instead.

I don't think so, ultimately your notes are your notes, it's great some people share those but they opt into that, I think opting in to letting people easily clone and modify them is a different step


Socket.io server not stable

So I am having Transport error poll connection closed prematurely on random basis.
Whenever i connect 2 or more js clients, i see this issue, in 10 mins or in 1 hr

Please provide Debug log information, First enable DEBUG in the code:
import (
    "github.com/zishang520/engine.io/v2/log"
)

log.DEBUG = true

And run the application with the environment variable DEBUG containing the required scope.
DEBUG=*

These are my server side configurations. Let me know which configuration should I change as transport type is “polling” , “websocket”and Timeout is 60secs

The server configuration seems to be fine. Can you provide some client network request information? (For example, the network in F12 of Chrome)

Please give me some time to test whether I can reproduce the problem.

Sorry, I was not able to successfully reproduce this issue. I recommend that you use the latest version of the socket.io.js library on your client.

Can we schedule a call, whenever you’re available

Sorry, due to the time difference, our work and rest time may not be consistent, so we cannot communicate with you in real time. But can you provide a video of the browser network request record? As shown below: (gif)

Please provide a recorded video similar to the previous comment. I would like to know what happened to your client when the problem occurred?

So after that the client is getting "Session ID Unknown" error. As we debug more , we found that the polling connection is closing too early. Any reason for that

I have 2 questions here:

Why did socket.io client sent close event when everything was working fine
Why client unable to reconnect

First of all, I'm not sure why your client actively sends a close message. Maybe the client actively calls close?
Can you provide a complete text log of a server instead of a screenshot?


Documentation on Curseforge does not match ingame command syntax

The Curseforge page for this mod says that to restore a world backup, you have to run /bm restoreworld. This appears to be false, as this command does not exist. It is actually /bm serverrestore.
The page also says that you can restore backups in the same manner as they are listed with /bm listbackups. This is also false. /bm listbackups puts a space between the date and time, when you're actually supposed to use a dash in the /bm serverrestore command. The only way I was able to find this out is by looking into the source code.
Please update the documentation accordingly, and fix the way /bm listbackups returns the names.

I think you're using an older version, because I changed /bm serverrestore to /bm restoreworld in version 1.5.0.
You're right that the format shown in /bm listbackups isn't the same as what's accepted by the restore commands, I'll fix that in the next update.


fix 207

Test this commit by:
from tensorpack import *

class RepeatedDataPoint(ProxyDataFlow):

    """ Take data points from another DataFlow and produce them a certain number of times
    dp1, ..., dp1, dp2, ..., dp2, ...
    """

    def __init__(self, ds, nr):
        """
        Args:
            ds (DataFlow): input DataFlow
            nr (int): number of times to repeat each datapoint.
        """
        self.nr = nr
        super(RepeatedDataPoint, self).__init__(ds)

    def size(self):
        """
        Raises:
            :class:`ValueError` when nr == -1.
        """
        return self.ds.size() * self.nr

    def get_data(self):
        for dp in self.ds.get_data():
            for _ in range(self.nr):
                print"input is", dp[0].shape
                yield dp

ds = FakeData([(10, 10, 3)], random=False)
ds = RepeatedDataPoint(ds, nr=5)
ds = AugmentImageComponents(ds, [imgaug.RandomCrop((4, 4))], index=[0], copy=False)
ds = PrintData(ds, num=5)

gives
patwie@pc~/tmp $ python untitled.py  # without copy
input is (10, 10, 3)
input is (4, 4, 3)
input is (4, 4, 3)
input is (4, 4, 3)
input is (4, 4, 3)
[0327 12:25:58 @common.py:655] DataFlow Info:
datapoint 0<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0009, 0.9501]
datapoint 1<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0009, 0.9501]
datapoint 2<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0009, 0.9501]
datapoint 3<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0009, 0.9501]
datapoint 4<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0009, 0.9501]
patwie@pc~/tmp $ python untitled.py # with copy
input is (10, 10, 3)
input is (10, 10, 3)
input is (10, 10, 3)
input is (10, 10, 3)
input is (10, 10, 3)
[0327 12:26:08 @common.py:655] DataFlow Info:
datapoint 0<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0628, 0.9896]
datapoint 1<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0628, 0.9896]
datapoint 2<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0611, 0.9913]
datapoint 3<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0008, 0.9796]
datapoint 4<5 with 1 components consists of
   dp 0: is ndarray of shape (4, 4, 3) with range [0.0131, 0.9913]

Thanks very much!

Hi,
How can I get that output?
When I excute that script in terminal it return nothing, when use jupter notebook it return .
I'm using python3.

The PrintData has been changed (just have a look at the date).
Something like
from tensorpack import *

seq = FakeData([(10, 10, 3)], random=False)
seq = RepeatedDataPoint(seq, nr=5)
seq = AugmentImageComponents(seq, [imgaug.RandomCrop((4, 4))], index=[0], copy=False)
seq = PrintData(seq)
seq.reset_state()

next(seq.__iter__())

# or just do it yourself

seq.reset_state()
for dp in seq:
  print(dp[0].shape, dp[0].min(), dp[0].max())

will work. Not sure, if PrintData still supports the num parameter. I guess not.

@PatWie Hi, Thanks for reply and your script works.
@ppwwyyxx Hi, But I find the example in the latest docs shows like below:

class dataflow.PrintData(ds, num=1, name=None, max_depth=3, max_list=3)[source]
Bases: tensorpack.dataflow.base.ProxyDataFlow
Example
To enable this debugging output, you should place it somewhere in your dataflow like

def __iter__():
    ds = SomeDataSource('path/to/lmdb')
    ds = SomeInscrutableMappings(ds)
    ds = PrintData(ds, num=2, max_list=2)
    return ds
ds = __iter__()

And it will return

Instead of
[0110 09:22:21 @common.py:589] DataFlow Info:
datapoint 0<2 with 4 components consists of
   0: float with value 0.0816501893251
   1: ndarray:int32 of shape (64,) in range [0, 10]
   2: ndarray:float32 of shape (64, 64) in range [-1.2248, 1.2177]
   3: list of len 50
      0: ndarray:int32 of shape (64, 64) in range [-128, 80]
      1: ndarray:float32 of shape (64, 64) in range [0.8400, 0.6845]
      ...
datapoint 1<2 with 4 components consists of
   0: float with value 5.88252075399
   1: ndarray:int32 of shape (64,) in range [0, 10]
   2: ndarray:float32 of shape (64, 64) with range [-0.9011, 0.8491]
   3: list of len 50
      0: ndarray:int32 of shape (64, 64) in range [-70, 50]
      1: ndarray:float32 of shape (64, 64) in range [0.7400, 0.3545]
      ...

It prints when data is taken from the dataflow.
It does not print anything when you define the dataflow.
Now the docs are updated to clarify this.
See more at https://tensorpack.readthedocs.io/tutorial/dataflow.html


Improve SA1642 and SA1643 code fix

Fixes #415.
With these changes the code fix does a better job detecting mistakes in the standard text. If the standard text has the wrong class name in its text it will fix that instead of inserting a new standard text at the beginning of the summary. Examples:
It replaces a text form of the class name with a see tag:
/// <summary>
/// Initializes a new instance of the Foo class.
/// </summary>

->
/// <summary>
/// Initializes a new instance of the <see cref="Foo"/> class.
/// </summary>

It fixes a wrong see tag:
/// <summary>
/// Initializes a new instance of the <see cref="Bar"/> class.
/// </summary>

->
/// <summary>
/// Initializes a new instance of the <see cref="Foo"/> class.
/// </summary>

And it fixes a wrong class text with the correct class name:
/// <summary>
/// Initializes a new instance of the Bar class.
/// </summary>

->
/// <summary>
/// Initializes a new instance of the <see cref="Foo"/> class.
/// </summary>

@sharwell i implemented your feedback


Final Fantasy XIII - Resolution bug @1440p

The game has a bug on Windows where 1440p is badly handled.

Windows: https://steamcommunity.com/sharedfiles/filedetails/?id=361822631

It appears as if the game internally renders to 720p at all the times and simply stretches the picture to whatever the resolution when above 1080p (supposedly).
Various workarounds were found, mostly through downscaling.
There also exists a particular fix for FF XIII (https://github.com/rebtd7/FF13Fix) where they worked around the issue by setting the internal resolution slightly below 1440p.
When using WINE_D3D9 with the fix, this appears to work on Linux too:

However, going through DX/9VK the Windows behaviour is "kind of" reproduced, as the screen is split diagonally where one half renders correctly, and the other half renders like in Windows bugged state:

This bug happens with and without the injected ffxiii-dll fix.
Api Trace included.
Thank you for your work, hoping a solution could be found.
Software information
Final Fantasy XIII - Steam version
System information

GPU: 5700 XT
Driver: Mesa 21.0.0-devel (git-ac0d393eb1) (ACO)
Wine version: Proton 5.0.10
DXVK version: v1.7-8-g51531e4a7
AMDGPU: 5.9.13 (Arch Linux)

Apitrace file(s)

http://dl.free.fr/o332gdN9c

Log files

d3d9.log: ffxiiiimg_d3d9.log.zip

Thanks, will take a look later today!

Thanks, feel free to ask for details, I'll provide as best as I can.

Fixed with 65635b23c1e8575362722c99e6ffdf9d9df64116.

Confirmed working on my end:

Yw!

Hello, do you still have the trace ? I'd like to know if gallium nine is affected.


Can't replicate "basic example" from Monaco Playground

In the basic example on the Monaco Editor Playground, it is possible to set options like lineNumbers and scrollBeyondLastLine like this:
// Through the options literal, the behaviour of the editor can be easily customized.
// Here are a few examples of config options that can be passed to the editor.
// You can also call editor.updateOptions at any time to change the options.

var editor = monaco.editor.create(document.getElementById("container"), {
	value: "// First line\nfunction hello() {\n\talert('Hello world!');\n}\n// Last line",
	language: "javascript",

	lineNumbers: "off",                 // in particular options like these
	roundedSelection: false,
	scrollBeyondLastLine: true,
	readOnly: true,
	theme: "vs-dark",
});

As far as I can tell it is not possible to do this with monaco.config(), monaco.init().then(...) or through useRef and editorDidMount. How can I go about providing these configuration options to the editor?

Hello. In all components provided by this library, there is a prop called options. So, you can easily pass the options object with necessary fields right to that prop. For example:
<Editor
  height="90vh"
  theme="dark"
  language="javascript"
  loading="Loading..."
  value="// something interesting"
  options={{ lineNumbers: "off", readOnly: true, scrollBeyondLastLine: true }}
>

More about supported props you can read here
Also, you can play with options in the playground of this library.
I hope it helps. Thank you!

Ah great, thanks, I missed that.


KAFKA-6168 Connect Schema comparison is slow for large schemas

Re-arrange order of comparisons in equals() to evaluate non-composite fields first
Cache hash code

FAILURE
No test results found.
--none--

SUCCESS
8050 tests run, 5 skipped, 0 failed.
--none--

FAILURE
7942 tests run, 5 skipped, 1 failed.
--none--

retest this please

FAILURE
No test results found.
--none--

SUCCESS
8050 tests run, 5 skipped, 0 failed.
--none--

SUCCESS
8050 tests run, 5 skipped, 0 failed.
--none--

@rhauch
Do you have suggestion on what else should be done ?

@kkonstantine, care to review before having a committer review and merge?

FAILURE
No test results found.
--none--

SUCCESS
8051 tests run, 5 skipped, 0 failed.
--none--

SUCCESS
8050 tests run, 5 skipped, 0 failed.
--none--

Can a committer review this ?
Thanks

@ewencp would you care to review and merge into trunk?

Ping @ewencp

Ping @ewencp

@ewencp
Do you have other comment(s) ?

FAILURE
7973 tests run, 5 skipped, 1 failed.
--none--

FAILURE
7973 tests run, 5 skipped, 1 failed.
--none--

SUCCESS
8081 tests run, 5 skipped, 0 failed.
--none--

@ewencp
Mind taking another look ?

LGTM


Increase inactive receiver count on Clone

Cloning an InactiveReceiver should increase the inactive_count, so it
can be dropped properly.
Fixes #13

@bltavares good catch and thanks for contributing a patch. Will merge after CI passes.


Update sites.yml

Important: Please read all instructions carefully.
Select the appropriate category for what this PR is about
This PR is:

[ v ] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

[ v ] I used the uncompressed size of the site
[ v ] I have included a link to the GTMetrix report
[ v ] The domain is in the correct alphabetical order
[ v ] This site is not an ultra-lightweight site
[ v ] The following information is filled identical to the data file

- domain: https://astrydpark.bearblog.dev
  url: https://astrydpark.bearblog.dev
  size: 2.54
  last_checked: 2022-02-02

GTMetrix Report: https://gtmetrix.com/reports/astrydpark.bearblog.dev/JxIUymIr/

This qualifies as "ultra-minimal" sorry, I won't be merging.
https://512kb.club/faq


Search dashboards doesn't work

Tried to search for Dynamic Dashboard - didn't work.
Example

As i said before:
The dashboards request in mdx2json is broken.
Request: /MDX2JSON/Dashboards?Namespace=IRISAPP
Payload: {"Folder":""}
Response:

Empty title on some items. Because the search is done by the title, it doesn't work. Please fix mdx2json.
Can be reproduced here
Originally posted by @gnibeda in https://github.com/intersystems-community/DeepSeeWeb/issues/322#issuecomment-1409244644


HOW TO DECODE USEDADDRESS FROM NAMIWALLET?

Can you tell me how to get this address from the wallet

I have this address:

When I connect the wallet to the site, I get this:

How do I decode a hex encoded bytes string?
I will be very grateful!!!!!!!!!!!

Are you trying to decode it in JS? There is a helpful library that serializes/deserializes strings from Emurgo: https://github.com/Emurgo/cardano-serialization-lib

Are you trying to decode it in JS? There is a helpful library that serializes/deserializes strings from Emurgo: https://github.com/Emurgo/cardano-serialization-lib

If you have already used this library, you could send a sample code to get the address please!

I have this problem

Hey @cjkoepke @commedesvlados, which API/functions from https://github.com/Emurgo/cardano-serialization-lib to use, to decode the Value is a hex encoded cbor string from cardano.getBalance() and the RewardAddress, a hex encoded bytes string?

Hey @cjkoepke @commedesvlados, which API/functions from https://github.com/Emurgo/cardano-serialization-lib to use, to decode the Value is a hex encoded cbor string from cardano.getBalance() and the RewardAddress, a hex encoded bytes string?


Add support for specifying random seed

Enabled users to specify random seed value.
Please see 048c0690644f63a7cf227d6943816cb5b4a235a3 for detail.

Please check the above modifications and revise the scripts.

Thank you for your suggestions.
I have finished the revision, please check 3dcae755c878310e0baf16c2b2fbf1fb2fcfd028.


Fix build failures

Changes:

Bump invenio-accounts
Upper pin Sphinx
...

Closes https://github.com/inveniosoftware/invenio-oauth2server/issues/200
Related to https://github.com/inveniosoftware/invenio-oauth2server/issues/199
Triggers https://github.com/inveniosoftware/invenio-oauth2server/issues/202

add release notes from CHANGES.rst at https://github.com/inveniosoftware/invenio-oauth2server/pull/203

Blocked on invenio-accounts. Need release of v1.2.2


Fix mega menu Customer Portal - Spectranet section

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

Before: https://main--moleculardevices--hlxsites.hlx.page/
After: https://593-spectranet-section--moleculardevices--hlxsites.hlx.page/

the Login and Register links should open in a new window.
Any chance to avoid the important statements?


proposal: a new package for memory-efficient asset management

Operating System

[ ] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] PlayStation 5
[ ] Xbox
[ ] Web Browsers

What feature would you like to be added?
Overview
From our experiment in our games (Odencat Inc.) and other games, we found we often had to implement an asset manager for memory efficiency. Memory efficiency is important for some low-end platforms like mobiles, browsers, and consoles. However, it is annoying to implement such a manager for each game.
I propose to have an official asset manager for such use cases.
API
package assetmanager

type AssetManager struct {}

// New creates a new asset manager.
func New(fs fs.FS) *AssetManager

// SetImageCacheLifetime sets the lifetime of image cache entries in ticks.
// The default is 600.
// TODO: Should this be time.Duration?
func (a *AssetManager) SetImageCacheLifetime(ticks int)

// SetAudioCacheLifetime sets the lifetime of audio cache entries in ticks.
// The default is 36000.
// TODO: Should this be time.Duration?
func (a *AssetManager) SetAudioCacheLifetime(ticks int)

// Image returns an image for the given path.
// A returned image is cached.
// A cached entry is discard a while after its last usage.
//
// Image might return the same object for the same path.
//
// This package doesn't import any image-decoding packages like image/png,
// so you have to import appropriate packages.
func (a *AssetManager) Image(path string) *ebiten.Image

// ShortAudioPlayer returns an audio player for the given path.
// ShortAudioPlayer is suitable for one-shot SE players.
//
// ShortAudioPlayer always creates a new player for the given path.
//
// The decoded data is cached.
// A cached entry is discarded a while after its last usage.
//
// The audio file type is detected based on the extension of the path.
func (a *AssetManager) ShortAudioPlayer(path string) *audio.Player

// LongAudioPlayer returns and audio player for the given path.
// LongAudioPlayer is suitable for long BGM players.
//
// LongAudioPlayer might the same player for the same path.
// Thus, you cannot use multiple players for the same path at the same time.
//
// The decoded data is not cached, but the player is cached.
// A cached entry is discarded a while after its last usage.
//
// The audio file type is detected based on the extension of the path.
func (a *AssetManager) LongAudioPlayer(path string, options *LongAudioPlayerOptions) *audio.Player

type LongAudioPlayerPositions struct {
    Loop bool
    IntroLength int64
    LoopLength int64
}

Rationale
Why not an independent module?
AssetManager has to know the last usage of an image, thus AssetManager has to access the internal of Ebitengine.

Q. What if we want to use CDN as a backend?
A. You can implement a fs.FS with the CDN backed, but in this case, an asset manager have to consider asynchronous loading. Hmm

The backend doesn't have to be a fs.FS. What about this?
type Backend interface {
    Open(path string) (io.ReadCloser, error)
}

func NewBackendFromFS(fs fs.FS) Backend

I realized there are two memory regions: CPU and GPU. The aim is to minimize GPU memory usages compared to CPU memory usages. For Audio, only CPU memory matters. Thus, the APIs to set lifetime should be like this:

SetImageCPUCacheLifetime // e.g. a decoded RGBA binary data
SetImageGPUCacheLifetime // e.g. *ebiten.Image's internal texture data
SetAudioCPUCacheLifetime // e.g. a decoded audio PCM data

To note, merged filesystems can be good/important for modding. e.g., you load your base assets, then load other implementations on top of the base to override. See https://github.com/kettek/go-multipath -- it's basically just a virtualized FS that aggregates multiple FS sources based upon a hierarchy.

To note, merged filesystems can be good/important for modding

I think having Backend interface (https://github.com/hajimehoshi/ebiten/issues/3100#issuecomment-2351080032) is enough since you can implement Backend as you like. Is that correct?

Yes, that should actually be sufficient.


fix: fix username path escape for db username

Description
Link to any related issue(s): #189
Type of change:

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Required Checklist:

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments

@themantissa ready for you


[APIReview] Remove the .Tables namespace

THe namespace has too few types and anybody using ZUMO is going to want them anyway

Fixed via #150


Clown items buff/ Fire extinguisher buff/ Skub buff

About the PR

I buffed joke clown items as well as the SKUB! Also buff for fire extinguisher.
Why / Balance

The fire extinguisher needs a buff to counter act the fire buff update
Check the box below to confirm that you have in fact seen this (put an X in the brackets, like [X]):
-->

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

-->
Changelog

clown cuffs got removed from the clown bags so uh
add them back if you're gonna buff them and if you reduce the sound


KSECURITY-2454 Bump commonsIo to version 2.16.0 in 3.3

Bump commonsIo to version 2.16.0 on branch master 3.3
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

couple of unrelated tests failed, merging this pr


Node.get_sstable() glob incorrect for C* 2.0

ccmlib.Node.get_sstable searches for data directories with this glob. As shown here, the glob for the table-specific directory is {tablename}-*. e.g., if the table is called cf, it expects directories matching cf-*.
However, here's a data directory I found running a test on C* 2.0:
$ pwd
/tmp/dtest-d6Etl2/test/node1/data/ks/cf
$ ls
ks-cf-jb-1-CompressionInfo.db  ks-cf-jb-1-Data.db  ks-cf-jb-1-Filter.db  ks-cf-jb-1-Index.db  ks-cf-jb-1-Statistics.db    ks-cf-jb-1-Summary.db  ks-cf-jb-1-TOC.txt

As shown above, the actual folder is named cf, which isn't matched by cf-*.
I'd send a PR, but I don't know how these folders are laid out in the general case. Should this match against just the table name in 2.0?

This does appear to be targeted towards the table structure introduced by CASSANDRA-5202. You should probably filter the search by version.


[Bug] Ducking Spotify/music - Ducking session never ends

@ryanheise
Continuing from this issue: https://github.com/ryanheise/audio_session/issues/27
Bug steps:

Play a music on Spotify (IOS)
Play an audio from assets.
Spotify is ducking while the audio file is playing, but never return back after the audio file ends.
The volume of Spotify remain low (ducked).

Note from Apple API docs:
https://developer.apple.com/documentation/avfaudio/avaudiosession/categoryoptions/1616618-duckothers

Note that ducking begins when you activate your app’s audio session and ends when you deactivate the session. If you clear this option, activating your session interrupts other audio sessions.

So it looks like the audio session never ends.
Session configuration:
Future initAudioService() async {
  //audio_session INSTANCE
  final audioSession = await AudioSession.instance;
  //audio_session DUCK OTHERS CONFIGURATION
  await audioSession.configure(const AudioSessionConfiguration(
    avAudioSessionCategory: AVAudioSessionCategory.playback,
    avAudioSessionCategoryOptions: AVAudioSessionCategoryOptions.duckOthers,
    avAudioSessionMode: AVAudioSessionMode.defaultMode,
    avAudioSessionRouteSharingPolicy:
    AVAudioSessionRouteSharingPolicy.defaultPolicy,
    avAudioSessionSetActiveOptions: AVAudioSessionSetActiveOptions.notifyOthersOnDeactivation,
    androidAudioAttributes: AndroidAudioAttributes(
      contentType: AndroidAudioContentType.speech,
      flags: AndroidAudioFlags.none,
      usage: AndroidAudioUsage.notificationRingtone,
    ),
    androidAudioFocusGainType: AndroidAudioFocusGainType.gainTransientMayDuck,
    androidWillPauseWhenDucked: true,
  ), );

  //INITIALIZE audio_service
  return await AudioService.init(
    builder: () => MyAudioHandler(),
    config: const AudioServiceConfig(
      androidNotificationChannelId: 'com.demo.audio',
      androidNotificationChannelName: 'Audio Service Demo',
      androidNotificationOngoing: true,
      androidStopForegroundOnPause: true,
    ),
  );
}

Playing a file from assets using just_audio:
      await audioPlayer.setAsset(soundPath);
      await audioPlayer.play();

I also tried with Soundpool, the same issue.

Tested on version: audio_session 0.1.7

You are talking about another plugin called just_audio, but that's just adding a further level of abstraction away from this plugin. What you need to do is show that deactivating the session via this plugin does not work, but you seem to instead be saying that because just_audio chooses not to deactivate the session, that that is somehow a bug in audio_session.

As I said, I tried with two different audio player packages, the same behavior with both.
So I assume it relate to this package here.
In addition I tried to manually using this code:
audioSession.setActive(false)
But it didn't help.
Does audio_session open and close session automatically?

soundpool doesn't even use audio_session, so how could audio_session be implicated?
just_audio uses audio_session, but chooses not to deactivate the audio session. Therefor, just_audio's behaviour does not implicate audio_session either.
The only way -- as I said -- is to show that deactivating the session via THIS plugin does not work.

In addition I tried to manually using this code:
audioSession.setActive(false)
But it didn't help.

This method just does whatever Apple makes it do. It will return false if Apple's setActive method returns the same, indicating an unsuccessful request. If it returns true, it's because that is what Apple is returning.

As I said, I tried with two different audio player packages, the same behavior with both. So I assume it relate to this package here.
In addition I tried to manually using this code: audioSession.setActive(false) But it didn't help.
Does audio_session open and close session automatically?

Try setActive(false, options: .notifyOthersOnDeactivation)

Note if you go through AudioSession.instance (the cross platform interface), the proposed code becomes:
final session = await AudioSession.instance;
await session.setActive(false,
    avAudioSessionSetActiveOptions: AVAudioSessionSetActiveOptions.notifyOthersOnDeactivation);

Following up on this thread in case it's useful to others - whatever the problem I was experiencing was caused by a different plugin I was using: assets_audio_player.  I switched to just_audio and the spotify ducking is happening correctly using the instructions for this plugin.  I'm now trying to get the player to mix into my bluetooth audio but that's a different investigation.


Unable to use ENTER for newline in SimpleMDE

Shift+Enter works just fine.
Using : to invoke Tribute and then using enter switches to newline instead of inserting selected emoji.
Since https://github.com/go-gitea/gitea/commit/b02d2c37728491caaf8af3384b8d3b25411e4679

Will check it out.


[Device Support Request]  zhaquirks.smartthings.tag_v4.SmartThingsTagV4 Battery Support

Hello,
I migrated from Samsung SmartThings to Home Assistant and was able to integrate all my existing sensors including the Samsung Presence sensors.
However, only for the "zhaquirks.smartthings.tag_v4.SmartThingsTagV4" sensors I'm not getting any power entities created.
I added each sensor via the "Zigbee Home Automation" integration and it created just one "device_tracker." entity but no power "sensor." like for my other SmartThings battery operated sensors.
The funny thing is the "device_tracker." entity shows in it's settings on the bottom the battery level. E.g.:

So my question is why there is no power entity as it looks like that the battery level is available.
Thx a lot.

I'll add to this, looking at the ZHA logs when pairing a new device, I noticed this come through
[0xcf0b:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=105 command_id=Command.Report_Attributes> [0xcf0b:1:0x0001] ZCL request 0x000a: [[Attribute(attrid=32, value=<TypeValue type=uint8_t, value=18>)]] [0xcf0b:1:0x0001] Attribute report received: battery_voltage=18 [0xcf0b:1:0x0001] Voltage [RAW]:18 [Max]:2.8 [Min]:1.5, Battery Percent: 23.0 device_tracker.{sensor_name}: battery_percentage_remaining updated: 46
So it would seem it is possible.
Related to this, and I can open a new topic if that's better, but the newer model of the SmartThings Arrival Sensor has the model PGC410 and it can pair with ZHA just fine, but shows no entities. I'm assuming that's because it can't find a quirk for it. And these for sure should support battery reporting from what I understand.
Here's what it shows when pairing a PGC410 with ZHA
Device 0xe29e (d0:52:a8:00:ca:80:00:05) joined the network [0xe29e] Requesting 'Node Descriptor' Tries remaining: 2 [0xe29e] Extending timeout for 0x3f request Received frame on uninitialized device d0:52:a8:00:ca:80:00:05 (Status.NEW) for endpoint: 2 [0xe29e] Received ZCL while uninitialized on endpoint id 2, cluster 0xfc05 id, hdr: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4362 tsn=48 command_id=1>, payload: b'' Device 0xe29e (d0:52:a8:00:ca:80:00:05) joined the network Skip initialization for existing device d0:52:a8:00:ca:80:00:05 [0xe29e:zdo] ZDO request ZDOCmd.Device_annce: [0xE29E, d0:52:a8:00:ca:80:00:05, 128] [0xe29e] Node Descriptor: NodeDescriptor(byte1=2, byte2=64, mac_capability_flags=128, manufacturer_code=4362, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=0, maximum_outgoing_transfer_size=82, descriptor_capability_field=0) [0xe29e] Discovering endpoints Tries remaining: 3 [0xe29e] Extending timeout for 0x41 request [0xe29e] Discovered endpoints: [1, 2] [0xe29e:1] Discovering endpoint information Tries remaining: 3 [0xe29e] Extending timeout for 0x43 request [0xe29e:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=410, device_version=0, input_clusters=[0], output_clusters=[]) [0xe29e] Extending timeout for 0x45 request Received frame on uninitialized device d0:52:a8:00:ca:80:00:05 endpoint 2 for cluster: 64517 [0xe29e:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=69 command_id=Command.Read_Attributes_rsp> [0xe29e:1] Manufacturer: SmartThings [0xe29e:1] Model: PGC410 [0xe29e:2] Discovering endpoint information Tries remaining: 3 [0xe29e] Extending timeout for 0x47 request [0xe29e:2] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=2, profile=64513, device_type=410, device_version=0, input_clusters=[], output_clusters=[]) Checking quirks for SmartThings PGC410 (d0:52:a8:00:ca:80:00:05) Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'> Fail because endpoint list mismatch: {232, 230} {1, 2} Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'> Fail because endpoint list mismatch: {232, 230} {1, 2} Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'> Fail because endpoint list mismatch: {1} {1, 2} Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'> Fail because endpoint list mismatch: {1} {1, 2} Considering <class 'zhaquirks.philips.rwl021.PhilipsRWL021'> Fail because profile_id mismatch on at least one endpoint Considering <class 'zhaquirks.philips.rwl020.PhilipsRWL020'> Fail because profile_id mismatch on at least one endpoint Considering <class 'zhaquirks.philips.rom001.PhilipsROM001'> Fail because endpoint list mismatch: {1} {1, 2} Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'> Fail because endpoint list mismatch: {1} {1, 2} Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'> Fail because endpoint list mismatch: {11, 13} {1, 2} Considering <class 'bellows.zigbee.application.EZSPCoordinator'> Fail because endpoint list mismatch: {1} {1, 2} device - 0xE29E:d0:52:a8:00:ca:80:00:05 entering async_device_initialized - is_new_join: True device - 0xE29E:d0:52:a8:00:ca:80:00:05 has joined the ZHA zigbee network [0xE29E](PGC410): started configuration [0xE29E:ZDO](PGC410): 'async_configure' stage succeeded [0xe29e] Extending timeout for 0x49 request [0xE29E:1:0x0000]: bound 'basic' cluster: Status.NOT_SUPPORTED [0xE29E:1:0x0000]: finished channel configuration [0xE29E:1:0x0000]: 'async_configure' stage succeeded [0xE29E](PGC410): completed configuration [0xE29E](PGC410): stored in registry: ZhaDeviceEntry(name='SmartThings PGC410', ieee='d0:52:a8:00:ca:80:00:05', last_seen=1612487793.3279982) [0xE29E](PGC410): started initialization [0xE29E:ZDO](PGC410): 'async_initialize' stage succeeded [0xE29E:1:0x0000]: initializing channel: from_cache: False [0xE29E:1:0x0000]: finished channel configuration [0xE29E:1:0x0000]: 'async_initialize' stage succeeded [0xE29E](PGC410): power source: Battery or Unknown [0xE29E](PGC410): completed initialization

Just checked in the latest version of Home Assistant and  both items are still the same. Tagv4 shows a device tracker entity, but not power, and the PGC410 shows no entities.

The issue still exists on my tagv4 as well (tested with supervisor-2021.06.8).
Please do not close this issue.

The issue still exists on my tagv4 as well (tested with supervisor-2021.12.2).
Please do not close this issue.

I can confirm Home Assistant 2023.2.5 still not showing any entities for Arrival/Presence Sensor PGC410/PGC410EU by SmartThings

Still the same issue with 2024.2.3
The PGC410 will pair but no entities and isn't updating after pairing.


Moderator actions use the same string as not moderator

In the participant list, the moderator actions (mute, mute video, mute screen share) use the same IDs from translation as the mute... only for me. They should be different, so the text can state ie. 'Mute audio for all'. Now you cannot distinguish what is what.

I agree with you
Fixed in https://github.com/havfo/multiparty-meeting/pull/348

OK, butt still as in #347 there is no button for mute screen sharing for all (for a single peer on the list) . You should either add it, but I think better is to reactivate the mute video and treat screen sharing as video.

Already done. PR will arrive soon.

@L4ky it is merged!
All: Please update your translations..
@Astagor please close the issue if you agree


Fatal error unknown command

What is the problem you are having with rclone?
When I try to use the option --allow-other, I get a fatal error
What is your rclone version (output from rclone version)
rclone v1.47.0

os/arch: linux/arm64
go version: go1.12.4

Which OS you are using and how many bits (eg Windows 7, 64 bit)
OS                   : Debian GNU/Linux 9
Arch                 : aarch64 (64 Bit)
Which cloud storage system are you using? (eg Google Drive)
One Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
/usr/bin/rclone --vfs-cache-mode writes --allow-other --uid 110 --gid 115 --umask 002  mount onedrive: /mnt/OneDrive/
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
root@rian-arm:~# /usr/bin/rclone --vfs-cache-mode writes --allow-other --uid 110 --gid 115 --umask 002  mount onedrive: /mnt/OneDrive/
Error: unknown command "110" for "rclone"
Run 'rclone --help' for usage.
2019/05/21 20:25:32 Fatal error: unknown command "110" for "rclone"

root@rian-arm:~# export RCLONE_ALLOW_OTHER=true

root@rian-arm:~# /usr/bin/rclone -vv --vfs-cache-mode writes --uid 110 --gid 115 --umask 002  mount onedrive: /mnt/OneDrive/
2019/05/21 21:16:46 Couldn't find flag "allow-other"

Hi, you need to use the mount-specific flags after the mount command. Please change your command into the following and try again:
/usr/bin/rclone mount --vfs-cache-mode writes --allow-other --uid 110 --gid 115 --umask 002 onedrive: /mnt/OneDrive/

Thank you, it's working with the mount before


[Parrot OS] flare-floss throws errors while installing it via pip

I tried to install it via pip with this command => pip3 install flare-floss and gives me this outputs:

It says this module needs vivisect==0.1.0 but when i try to install it pip says there is no matcing distribution found for vivisect==0.1.0.

There's currently no Python 3 release available. Sorry, the documentation is ahead and we hope to have a new release soon.
In the meantime you can follow the steps described at https://github.com/mandiant/flare-floss/blob/master/doc/installation.md#method-3-inspecting-the-floss-source-code.


Refactor to not use custom policy cache

The policy cache is not necessary and makes the code a lot more complex.
This just leverages the controller-runtime/client-go cache directly.
The hope is that this will fix some of the race conditions/odd behaviors we occasionally see.

Added some minor comments.  Adding approval because I'm thinking the comments may not drive more changes.
/hold
/lgtm

/unhold
Thanks for the review @gparvin !

/cherry-pick release-2.11


Update Splinetools to latest version

Your dependency on spline-tool libs is capped in the following code : "@splinetool/loader": ">=0.9 <1"
Using this helper leads to an issue where the splines don't load with the code error asking to update the tools to a version that supports this .splinecode
I see you haven't updated the repo for a while, I could help with the updates if there is need to.
Thank you for the fantastic helper and hope it stays active ❤

Hey, thanks for bringing this up!
I can look into this but please do send over a PR to review if you're happy to do so :)

I have something readyish, just gotta cleanup, should be published in the next few days


Rename default action in UpkieServos to neutral action

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
313

Relevant Lines:
328

💛  - Coveralls


Test failing on Mac?

One test is failing on Mac OS 10.14.6 for master branch:
test test262::golden::6a735105a5e79722.js
thread ' ... test262::golden::6b5e7e125097d439.js' has overflowed its stack
fatal runtime error: stack overflow

PS: CONTRIBUTING.MD is missing a few commands to install the dev environment. Based on travis.yml I did the following as well:
npm install browserslist @babel/runtime
npm install -g jest

You have to set core.autoxrlf to inpur.


Kotlin version

Here is all photoview files migrated to kotlin

here is the kotlin version

The Kotlin Files are all in the wrong directory.
This is unusable.

The Kotlin Files are all in the wrong directory.
This is unusable.

Hi
I am new in github, so, how I can make this correct? you can help-me?

Hi
I am new in github, so, how I can make this correct? you can help-me?

Just replace the current Java files with your Kotlin files.
Your Kotlin files are currently under photoview/ and the Java files are located under photoview/src/main/java/com/github/chrisbanes/photoview/
In your fork

Hi
I am new in github, so, how I can make this correct? you can help-me?

Just replace the current Java files with your Kotlin files.
Your Kotlin files are currently under photoview/ and the Java files are located under photoview/src/main/java/com/github/chrisbanes/photoview/
In your fork

Hi @DATL4G sorry for later response, workin here I don't know how I can do that, sorry

Your code is ugly, close the PR plz

Your code is ugly, close the PR plz

you are crazy man, this is not java but kotlin, watch well before saying something


Error in cheat.bat

I cant run the bat file, it says "the path cannot be reached", something along those lines.

I am sorry, 'something along those lines' is not good enough. It is always nice when you provide full error log when reporting a bug - please post it here.
In your very case, you are probably missing folder php with php.exe in directory from which you are running a cheat.bat file.

Of course I'm running the bat file from the SalientCheat folder as you get it from downloading it and of course I have the folder (SalientCheat) inside the php folder on C:. And the full log is this one:
"The system cannot find the specif path". It prints it in a loop and i need to Crtl+C to stop.

Sorry to jump into this thread , but can I run multiple powershell/cmd for the same account ?


[stable/wordpress] Chart creates multiple ingresses per host name

Is this a request for help?: No

Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug report

Version of Helm and Kubernetes: N/A
Which chart: stable/wordpress 2.1.10
What's the issue?:
The Wordpress ingress ranges over .Values.ingress.hosts. This is suboptimal because it will create one ingress per hostname. A better approach would be to create a single ingress with multiple rules and multiple TLS configurations, for example like the Keycloak ingress does.
The Wordpress ingress also hard-codes the annotation ingress.kubernetes.io/secure-backends: "true" if TLS is true. This has been deprecated, and anyway, annotations shouldn't be hard-coded or it limits their configurability.

I'm happy to implement the first component of this - just want to confirm with @migmartri (or someone else involved with the chart) that there isn't an intentional reason for having a separate ingress for each host.
Re the second component. The annotation is only added if ingress.hosts.tls is true, so I'm not sure I see the point about limited configurability. The deprecation point is a great one. We'll just want to be careful, because its only deprecated as of 0.18.0, which was released a couple of days ago (and nginx-ingress in Charts is still using 0.17.1).


Team update - Jan 04, 2023

This is a @Quansight-Labs/czi-a11y-grant team sync 🎉🎉🎉! This is a way for the Team Members to provide status reports on what they've been up to this week and request help and attention for things they are working on. This issue will be closed at the end of the day.
Copy and paste the template below, and answer questions as you wish!

Response Template
**Thanks I'd like to give 🙌**
- So-and-so helped me out a lot with foo...

**Updates from last week :heavy_check_mark:**
- I worked towards deliverable: <link-to-deliverable>

**Challenges I faced and things I'd like assistance with 🙏**
- I had a hard time figuring out ...

**My availability for next week**
- I'll be off on foo day...

**Important items for discussion 💬**
- I have a question about goal <link-to-goal>
- Can @foo give a comment on issue #NN ?
- I opened #NN for discussion, please chime in
- I need to discuss foo

:mag: Needs Triage
The Needs Triage issues require an initial assessment and labeling.
No issues need triage! 🎉
:dart: Project boards
Please make sure the boards reflect the current status of the project.
Jupyter a11y grant project

Thanks I'd like to give 🙌
Updates from last week :heavy_check_mark:
Just getting back from some time off, I haven't caught up on this project yet.

Discussed keyboard navigation UX options for notebooks in Jupyter with @gabalafou
#174 Discussed user testing next steps (especially recruitment) with @trallard
#147 final test coordinating and preparing resources for the public.

Challenges I faced and things I'd like assistance with 🙏

I'm okay right now.

My availability for next week

I'll be out of office on January 9.

Important items for discussion 💬

I don't think I have any right now.

Thanks I'd like to give 🙌

Isabela helped me think through how to navigate through code cells using only the keyboard ☺

Updates from last week :heavy_check_mark:

Still plugging away at https://github.com/Quansight-Labs/jupyter-a11y-mgmt/issues/168

Challenges I faced and things I'd like assistance with 🙏

I've asked Mike for help with #168

My availability for next week

I will be traveling on Tuesday, January 10, but I have a long layover in the airport so I will be working on Tuesday.

@gabalafou

still working on tab traps in JupyterLab (as per usual, this turned out to be more of a lift than expected)
discussed: workflow on opening GH issues for JupyterLab work - whatever approach @gabalafou  feels the most comfortable with

@isabela-pf

for the user testing round: we discussed a general workflow (standard tasks) to see how users respond and what blockers they encounter
email template for @trallard  do some outreach - we discussed trying to find folks who are already familiar with JupyterLab


Production CSS size 300+kb

I am fan of tailwindcss... A great tool.
I am facing an issue while build for production.
My Production build size is 311 kb.
Where as in the docs, it says

Using the default configuration, Tailwind CSS comes in at 36.4kb minified and gzipped.

Why is it so?
I am also using PurgeCSS in my webpack-mix configuration.

Can you share your project publicly? PurgeCSS definitely isn't doing anything if you are still ending up with 311kb.

For what it's worth, here's our default build prebuilt and minified:
<EMAIL_ADDRESS>It's 292kb raw, but only 49.8kb gzipped, or 24.6kb when compressed with brotli.

@adamwathan
Here's the link to the project
Steps to reproduce

cd web/app/themes/yellowstudio
run npm install && npm run production

@besrabasant
Your packages show laravel-mix-purgecss, but the webpack.mix.js uses purgecss-webpack-plugin (and glob-all) — which arent's in the package.json. You need to use one or another. I tested it for either case and they both work. Final CSS size is 3.23 kB.

Yep @knowler is right, if you are using the laravel-mix-purgecss package you need to follow their instructions to set it up instead of the instructions in our docs.
PR'd the change for you:
https://github.com/besrabasant/tailwind-issue/pull/1

Thanks @knowler .
the reason for not using laravel-mix-purgecss is that, It messes up my styling on production.
Strips out some of the extracted component classes.


Update System for the CKMud-Mudlet-Scripts family of packages

https://api.github.com/repos/CKMud-Mudlet-Scripts/Chat/releases/latest can be used to get the tag_name
With the tagname we can pull the mfile
https://raw.githubusercontent.com/CKMud-Mudlet-Scripts/Chat/v1.0.4/mfile or just parse the tag_name into a version str
But we could check for each installed version and see if updates are available.
CK check-updates
CK update all
CK install Enoch
CK update Enoch
CK versions

Need to still do check-updates.  But for now it just installs the latest when you ask


Add an edit command

Which I miss from gdb-- it's nice to be able to open where you are in
your editor where you're already working on the project you're
debugging.

I imagine this was opened accidentally.

Yes. I didn't know whether I was supposed to open a pull request every time I amended my patch or not... So I did, which means there might be a few more bogus pull requests lying around.


Rest variadic parameter across arguments

For instance, the node module 'path' has a situation with this
path.join(__dirname, fileName)

is currently annotated
path.join(paths: __dirname, undefined: fileName)

where it could either not annotate anything after the first field or something as follows
path.join(paths[0]: __dirname, paths[1]: fileName)

Implemented in 0.5.0. Closing


roman-numerals:  verify ordering of actual/expected

In the Jasmine testing framework, it is convention to:
expect(actual).fn(expected)

But some test suites have the following:
expect(expected).fn(actual)

This causes the error messages to be confusing.
Please verify the roman-numerals exercise to make sure that the expectations are ordered correctly. If they are, then this can be closed.
This issue will help to close #111

Got it

This one is OK and can be closed

This is superb!


No matching export in<EMAIL_ADDRESS>for import "HttpStatusCode"

Which @angular/* package(s) are the source of the bug?
common
Is this a regression?
Yes
Description
No matching export in<EMAIL_ADDRESS>for import "HttpStatusCode"
src/app/core/services/interceptors/api-token.interceptor.ts:1:23:
  1 │ import { HttpResponse, HttpStatusCode, } from '@angular/common/http';

Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
Angular: 16.0.4
"builder": "@angular-devkit/build-angular:browser-esbuild",

Anything else?
No response

Im facing similar issues after upgrading from 16.0.3 -> 16.0.5
for example:
No matching export in<EMAIL_ADDRESS>for import "SimpleChanges"

Does this issue still happens when deleting .angular directory (its a cache directory) ?
We're still waiting for a repro to be able to investigate it !

@JeanMeche i dont have a .angular folder.
maybe esbuild doesn't care about it?

@JeanMeche
for my case issue was fixed after update to 6.0.5

For esbuild this is expected, as it is effectively constrained by isolatedModules restrictions and hence unaware of declarations.  However, TS -> JS compilation is always done using the TypeScript compiler which—unless configured with the options mentioned in #25327 (comment)—should elide type-only imports before esbuild even sees them.

@JoostK, sorry, but what exactly should be set in tsconfig to make it work? Enabling isolatedModules immediately results in TS2748: Cannot access ambient const enums when 'isolatedModules' is enabled..

update:
i upgraded to version 16.1.0 and it kind of fix the issues - but started another weird issue:
lets say i have:
import { IVariable, MultiSelectSelectionType, MultiSelectVariableSourceType } from<EMAIL_ADDRESS>i got error thatIVariable is not exported or something, while it is:
export interface IVariable { ...}
the solution was to import it alone:
import { IVariable } from<EMAIL_ADDRESS>after that, it compiled successfully, but got error in the browser:
Uncaught SyntaxError: The requested module '/.angular/cache/16.1.0/vite/deps/@angular_core.js?v=091cc3f7' does not provide an export named 'SimpleChanges' (at alerts-monitoring-filters.component.ts:11:3)
it try to find  SimpleChanges from the cache of core, but its not there.
im lost what to do here..
any idea?

@NatanCoralogix I had the same error, "optimization": true, option helped (in project.json or angular.json).

I experienced the same as @NatanCoralogix. Would love to know the reason for this, and if it will be fixed to work without setting "optimization": true

Also helps replacing
import { SimpleChanges } from '@angular/core'  to import type { SimpleChanges } from '@angular/core'

for me it solved with version 16.1.2


Add InsertStrategy animations.

@dabacon Sorry for stealing your TODO, and I'm not really sure if this is what you were looking for, but I needed to make these animations anyway so I thought I might as well add them to the docs.
If you had something else in mind, feel free to ignore/close this PR.

A major component missing from these animations is the "insert position". It's not clear why the operations stop in the middle of the diagram.
It's difficult to make an animation that increases understanding. At the moment I don't think these do that, except the one for EARLIEST. There are a lot of things you could try to improve them. For example, add labelled arrows showing how things are going to move / moving / have moved. Coloring new gates different from existing gates. Drawing a simplified boundary around existing gates. Showing the same situation in all four animations. Dropping the "- -" ellipsis. Making the circuits bigger, so as to make the details other than the motion and fitting less apparent. Etc etc etc.

@dlyongemallo How did you make these animations?

@bryano I used gimp.

@Strilanc I just followed the examples used in the text because I needed to make some quick examples. I'll try to come up with a good example which can be used to illustrate all four cases.

You used gimp? That's... that's a lot of manual work.

Closed as inactive. Feel free to reopen later.


segfault on tsf_set_output

Hello! Excellent library!
I've had no problems with it when calling from a static context that loads a file immediately, but I'm getting a lot of segfaults when I try to load a second file, or when I call tsf_set_output a second time after loading another file. Is there something special that I need to do to prevent these crashes happening?

I think this is actually the result of failure during loading. It works fine if I load it in a global context, but fails to load if it happens inside of my structure (has an address of 0x0 and all subsequent calls fail).

I was using a relative path in the global call, which didn't work in the local call. Using a global path did!


Populate cursor "messages" attribute when fast_executemany=True

When fast_executemany is True, function ExecuteMulti() is called instead of execute().  ExecuteMulti() was not calling GetDiagRecs() to populate the cursor "messages" attribute.  This now happens.  I had to export GetDiagRecs() from cursor.cpp for that purpose.
Unit test added.  Also beefed up an existing unit test for unicode messages.
Fixes #1299 .

This looks really nice.  Thanks for beefing up the test.
I've never been fond of having two code paths that are so separate, regular and fast_execute_many.  I'll be surprised if there aren't a lot of things like this.  When the change was first submitted, I wanted to break things apart and make them use the same base components - especially binding parameters.


Test+Docker profile fails: Can't locate object method "cdna_coords"

Description of the bug
ERROR ~ Error executing process > 'NFCORE_RAREDISEASE:RAREDISEASE:ANNOTATE_STRUCTURAL_VARIANTS:ENSEMBLVEP_SV (justhusky)'
Caused by:
Process NFCORE_RAREDISEASE:RAREDISEASE:ANNOTATE_STRUCTURAL_VARIANTS:ENSEMBLVEP_SV (justhusky) terminated with an error exit status (255)
Command executed:
vep
-i justhusky_view.vcf
-o justhusky_svdbquery_vep.vcf.gz
--dir_cache vep_cache --dir_plugins vep_cache/Plugins --plugin pLI,pLI_values.txt --appris --biotype --buffer_size 100 --canonical --cache --ccds --compress_output bgzip --distance 5000 --domains --exclude_predicted --force_overwrite --format vcf --fork 4 --hgvs --humdiv --max_sv_size 248956422 --merged --no_progress --numbers --per_gene --polyphen p --protein --offline --regulatory --sift p --symbol --tsl --uniprot --vcf

--fasta reference.fasta
--assembly GRCh37
--species homo_sapiens
--cache
--cache_version 107
--dir_cache ${PWD}/vep_cache
--fork 2
cat <<-END_VERSIONS > versions.yml
"NFCORE_RAREDISEASE:RAREDISEASE:ANNOTATE_STRUCTURAL_VARIANTS:ENSEMBLVEP_SV":
ensemblvep: $( echo $(vep --help 2>&1) | sed 's/^.*Versions:.ensembl-vep : //;s/ .$//')
END_VERSIONS
Command exit status:
255
Command output:
2024-09-13 21:02:40 - INFO: BAM-edited cache detected, enabling --use_transcript_ref; use --use_given_ref to override this
Command error:
2024-09-13 21:02:40 - INFO: BAM-edited cache detected, enabling --use_transcript_ref; use --use_given_ref to override this
Can't locate object method "cdna_coords" via package "Bio::EnsEMBL::Variation::StructuralVariationOverlap" at /usr/local/share/ensembl-vep-112.0-0/Bio/EnsEMBL/Variation/Utils/VariationEffect.pm line 673.
Died in forked process 2112
Work dir:
/home/tecniscan/Data/work/08/6ec046f9e7bea0a665d4ba8b2ae23c
Tip: view the complete command output by changing to the process work dir and entering the command cat .command.out
-- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting
-- Check '.nextflow.log' file for details
Command used and terminal output
nextflow run nf-core/raredisease -profile test,docker --outdir results

Relevant files
nextflow.log
System information
Nextflow version: 24.04.4 build 5917
Hardware: Desktop
Executor: local
Container engine: Docker
OS: Linux Mint 22
Version of nf-core/raredisease: v2.2.0-gfa61a65

Thanks for reporting @Oliversinn,
looks like an issue with annotating breakpoint variants in VEP, https://github.com/Ensembl/ensembl-vep/issues/1694#issuecomment-2278191833. Looks like it will be patched in the next release of VEP (113). For now the workaround seems to be to remove the --regulatory flag in the ENSEMBLVEP_SV process config. We will test that change and patch the pipeline.

Ok! thank you for your work. Do you think if I run with the --regulatory flag with my data would it break as well?

Yes, you would have to remove the --regulatory flag from the ENSEMBLVEP_SV process in this file conf/modules/annotate_structural_variants.configconf/modules/annotate_structural_variants.config even when running with you data,

Now I am getting the following:
-[nf-core/raredisease] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_RAREDISEASE:RAREDISEASE:ANN_CSQ_PLI_SV:ADD_MOST_SEVERE_CSQ (justhusky)'

Caused by:
  Process `NFCORE_RAREDISEASE:RAREDISEASE:ANN_CSQ_PLI_SV:ADD_MOST_SEVERE_CSQ (justhusky)` terminated with an error exit status (1)

Command executed:

  add_most_severe_consequence.py --file_in justhusky_svdbquery_vep.vcf.gz --file_out justhusky_sv_csq_research.vcf --variant_csq variant_consequences_v2.txt

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_RAREDISEASE:RAREDISEASE:ANN_CSQ_PLI_SV:ADD_MOST_SEVERE_CSQ":
      add_most_severe_consequence: v1.0
      python: $(python --version | sed 's/Python //g')
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  Traceback (most recent call last):
    File "/home/tecniscan/.nextflow/assets/nf-core/raredisease/bin/add_most_severe_consequence.py", line 192, in <module>
      sys.exit(main())
    File "/home/tecniscan/.nextflow/assets/nf-core/raredisease/bin/add_most_severe_consequence.py", line 188, in main
      write_csq_annotated_vcf(in_vcf, out_vcf, var_csq)
    File "/home/tecniscan/.nextflow/assets/nf-core/raredisease/bin/add_most_severe_consequence.py", line 142, in write_csq_annotated_vcf
      mscsq = construct_most_severe_consequence_info(line, allele_ind, csq_ind, hgnc_ind, var_csq)
    File "/home/tecniscan/.nextflow/assets/nf-core/raredisease/bin/add_most_severe_consequence.py", line 75, in construct_most_severe_consequence_info
      transcripts, allele_ind, csq_ind, hgnc_ind, var_csq
  UnboundLocalError: local variable 'transcripts' referenced before assignment

Work dir:
  /home/tecniscan/Data/raredisease_test/work/3f/72d00dc5d134c5022c49a5a54582b9

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line

 -- Check '.nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '.nextflow.log' file for details

the .command.sh file is
#!/bin/bash -euo pipefail
add_most_severe_consequence.py --file_in justhusky_svdbquery_vep.vcf.gz --file_out justhusky_sv_csq_research.vcf --variant_csq variant_consequences_v2.txt

cat <<-END_VERSIONS > versions.yml
"NFCORE_RAREDISEASE:RAREDISEASE:ANN_CSQ_PLI_SV:ADD_MOST_SEVERE_CSQ":
    add_most_severe_consequence: v1.0
    python: $(python --version | sed 's/Python //g')
END_VERSIONS

And when I manually run it throws:
bin/bash: line 0: /bin/bash: ./.command.sh: Invalid option

I found this possible solution: https://unix.stackexchange.com/questions/533415/invalid-option-name-error-with-shebang-bin-bash-o-pipefail-in-script

@ramprasadn, do you recognise this error?

Hi @Oliversinn,
Did you encounter this error while running the test profile? If so, could you please share the command you used to start Nextflow, as well as the .nextflow.log file from that run?

Yes, running the test profile. But it got it fixed out of nowhere during my weekend tests, the error just stopped coming up. Now I am facing another issue. Is important to mention that I ran the test following the recommendation of

remove the --regulatory flag in the ENSEMBLVEP_SV process config

My command
nextflow run nf-core/raredisease -profile test,docker --outdir results

The error
ERROR ~ Error executing process > 'NFCORE_RAREDISEASE:RAREDISEASE:CALL_SNV:CALL_SNV_DEEPVARIANT:DEEPVARIANT (hugelymodelbat)'

Caused by:
  Missing output file(s) `hugelymodelbat_deepvar.vcf.gz` expected by process `NFCORE_RAREDISEASE:RAREDISEASE:CALL_SNV:CALL_SNV_DEEPVARIANT:DEEPVARIANT (hugelymodelbat)`

Command executed:

  /opt/deepvariant/bin/run_deepvariant \
      --ref=reference.fasta \
      --reads=hugelymodelbat_sorted_md.bam \
      --output_vcf=hugelymodelbat_deepvar.vcf.gz \
      --output_gvcf=hugelymodelbat_deepvar.g.vcf.gz \
      --model_type=WGS --haploid_contigs="X,Y" \
       \
       \
      --intermediate_results_dir=tmp \
      --num_shards=2

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_RAREDISEASE:RAREDISEASE:CALL_SNV:CALL_SNV_DEEPVARIANT:DEEPVARIANT":
      deepvariant: 1.6.1
  END_VERSIONS

Command exit status:
  0

Command output:
  I0926 04:32:57.053048<PHONE_NUMBER>53056 make_examples_core.py:301] Task 0/2: 4025 candidates (4354 examples) [14.00s elapsed]
  I0926 04:33:17.656884<PHONE_NUMBER>56896 make_examples_core.py:301] Task 1/2: 6000 candidates (6543 examples) [21.92s elapsed]
  I0926 04:33:18.616353<PHONE_NUMBER>53056 make_examples_core.py:301] Task 0/2: 6022 candidates (6563 examples) [21.56s elapsed]
  I0926 04:36:29.082540<PHONE_NUMBER>56896 make_examples_core.py:301] Task 1/2: Writing example info to tmp/make_examples.tfrecord-00001-of-00002.gz.example_info.json
  I0926 04:36:29.082702<PHONE_NUMBER>56896 make_examples_core.py:2958] example_shape = [100, 221, 7]
  I0926 04:36:29.082921<PHONE_NUMBER>56896 make_examples_core.py:2959] example_channels = [1, 2, 3, 4, 5, 6, 19]
  I0926 04:36:29.083358<PHONE_NUMBER>56896 make_examples_core.py:301] Task 1/2: Found 7230 candidate variants
  I0926 04:36:29.083420<PHONE_NUMBER>56896 make_examples_core.py:301] Task 1/2: Created 7809 examples
  I0926 04:36:45.969243<PHONE_NUMBER>53056 make_examples_core.py:301] Task 0/2: Writing example info to tmp/make_examples.tfrecord-00000-of-00002.gz.example_info.json
  I0926 04:36:45.969397<PHONE_NUMBER>53056 make_examples_core.py:2958] example_shape = [100, 221, 7]
  I0926 04:36:45.969614<PHONE_NUMBER>53056 make_examples_core.py:2959] example_channels = [1, 2, 3, 4, 5, 6, 19]
  I0926 04:36:45.969995<PHONE_NUMBER>53056 make_examples_core.py:301] Task 0/2: Found 7015 candidate variants
  I0926 04:36:45.970056<PHONE_NUMBER>53056 make_examples_core.py:301] Task 0/2: Created 7595 examples

  real	4m48.688s
  user	9m19.604s
  sys	0m6.300s

  ***** Running the command:*****
  time /opt/deepvariant/bin/call_variants --outfile "tmp/call_variants_output.tfrecord.gz" --examples<EMAIL_ADDRESS>--checkpoint "/opt/models/wgs"

  /usr/local/lib/python3.8/dist-packages/tensorflow_addons/utils/tfa_eol_msg.py:23: UserWarning:

  TensorFlow Addons (TFA) has ended development and introduction of new features.
  TFA has entered a minimal maintenance and release mode until a planned end of life in May 2024.
  Please modify downstream libraries to take dependencies from other repositories in our TensorFlow community (e.g. Keras, Keras-CV, and Keras-NLP).

  For more information see: https://github.com/tensorflow/addons/issues/2807

    warnings.warn(
  I0926 04:36:54.521170<PHONE_NUMBER>36608 call_variants.py:563] Total 1 writing processes started.
  I0926 04:36:54.523357<PHONE_NUMBER>36608 dv_utils.py:370] From tmp/make_examples.tfrecord-00000-of-00002.gz.example_info.json: Shape of input examples: [100, 221, 7], Channels of input examples: [1, 2, 3, 4, 5, 6, 19].
  I0926 04:36:54.523444<PHONE_NUMBER>36608 call_variants.py:588] Shape of input examples: [100, 221, 7]
  I0926 04:36:54.523688<PHONE_NUMBER>36608 call_variants.py:592] Use saved model: True
  I0926 04:37:02.490913<PHONE_NUMBER>36608 dv_utils.py:370] From /opt/models/wgs/example_info.json: Shape of input examples: [100, 221, 7], Channels of input examples: [1, 2, 3, 4, 5, 6, 19].
  I0926 04:37:02.491155<PHONE_NUMBER>36608 dv_utils.py:370] From tmp/make_examples.tfrecord-00000-of-00002.gz.example_info.json: Shape of input examples: [100, 221, 7],

Log file:
nextflow.log
System information
Nextflow version: 24.04.4 build 5917
Hardware: Desktop
Executor: local
Container engine: Docker
OS: Linux Mint 22
Version of nf-core/raredisease v2.2.0-gfa61a65

Now I am getting the following:
-[nf-core/raredisease] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_RAREDISEASE:RAREDISEASE:ANN_CSQ_PLI_SV:ADD_MOST_SEVERE_CSQ (justhusky)'

...  UnboundLocalError: local variable 'transcripts' referenced before assignment

I also get this error when I use the work-around of removing --regulatory.

Yeah, @ramprasadn has looked into it and the solution here is sadly to downgrade VEP until VEP 113 is released. When you don't have the --regulatory flag the vcf entry for BND lacks a CSQ field which causes issues. The ensembl tema is due to release the new version of VEP in October and we will update promptly. In the meantime I found that downgrading VEP works. I've added this to our config for all our vep processes.
    withName: '.*ANNOTATE_STRUCTURAL_VARIANTS:ENSEMBLVEP_SV' {
        container = 'https://depot.galaxyproject.org/singularity/ensembl-vep:110.0--pl5321h2a3209d_0'

Also had to set vep_cache and vep_cache_version in the params file to reflect the downgrade as they default to version 112

Hi @Oliversinn,
We have updated VEP to version 113, but unfortunately, the issue has only been partially fixed. Please refer to the details in this GitHub issue: #640. For now, as @jemten suggested, we recommend continuing to use VEP 110. We are on top of this, as we are also eager to benefit from the improvements made after version 110.
We will update the pipeline as soon as fixes become available. I will close this issue for now, but feel free to reopen it if needed.


[UI] map view community selector

[ ] show open street map and initially zoom to the whole world
[ ] show one pin per community
[ ] show community balloon details if tapped
cid + name + currency
[ ] select community if detail-balloon tapped

geoHash is reversible, can be used to retrieve latitude and longitude of the community, there's a library for dart geohash -> use decode()