Does anyone have the 3089 build for lavalink?

If so can I please have a link to download it, thanks.

It's not clear what version of Lavalink you are looking for

That's a really old build (from February 28) -- and looks like the (public) history only goes back to 3281, but that's really old as well.
You sure you want that? 🤔
https://ci.fredboat.com/repository/download/Lavalink_Build/3281:id/Lavalink.jar?guest=1


Stored Procedure

Hi!
I've created a stored procedure on my ms sql db that i want to execute.
Can i use knex for this?
I have tried with:
 db().raw('EXEC STORED_PROCEDURE_NAME')   .then(result => {     callback(null, result);   })   .catch(error => {     callback(error);   });
db is knex({DATABASE_INFO})
but i'm getting "db(...).raw is not a function"

you should call db.raw, not db().raw


IcoSphere generation integrated to RenderThread

Icospheres integrated (not tested yet, but should work as the code is simply a copy/paste from an old commit)
close #351

You renamed "ComponentRegistrar" into "RegisterComponent"
That singleton is responsible of registering component type. So it's a registrar who register stuff.
Registrar in french : greffier, chef du service des inscriptions
Can you put back the old name please :)

In this context the name is really weird... but wtv ^^
I know it just a detail and we dont want to lose time on that but let's cut the pear in two (very good litteral translation ;) ) and call it "ComponentRegistrationManager"? Sorry for insisting on changing the name but i've seen that few month ago and it really bother me xD

Ok, you might be right actually, I saw some codes with classes named like that... I surrender :(

Hahaha ! As you want but RegisterComponent is not a good name, it's an action not a name :) If you want to rename it ComponentRegistrationManager go for it, i dont care if it express the role of the class correctly :smile:

/play ohyeah

Great job ! It'll requiere future developments, but for now that really great !


[QUESTION]: Publishing messages to RabbitMQ using AMQP #3408

I am trying to publish messages to RabbitMQ using AMQP.
I activated the AMQP module in the Conductor community, I made the relevant configurations, but only queues are formed, and when a workflow is finished, nothing is pushed to the queues. How do I get the messages to be published?

sure


[Request] add trashs id for original language only to be used in Recyclarr

Which application would you like to see this Guide for?
Radarr / Sonarr
Description of Desired Guide Content
I'm trying to configure Recyclarr to add a custom format (CF) for both Sonarr and Radarr, aiming to prioritize media in the original language. Currently, the custom format for the original language has the following trash ID: "trash_id": "guide-only". Unfortunately, this ID isn't supported by Recyclarr, and during sync, the score gets reset to 0 instead of being set to -10000.
I would like to request an additional custom format for Radarr and Sonarr, each with a properly supported trash ID that can be used in Recyclarr’s config and assigned to a quality profile.
If there's a process or guidelines for generating trash IDs, I'd be happy to submit a change request myself. Could you please provide any instructions on this process?

I would highly appreciate if you could add IDs at least for Original Language.

Yes please, add an 'Original language' trash id, with fallback to something we can configure
If a trash id is not possible, please create a guide, because I think its what most users would want to have

If a trash id is not possible, please create a guide, because I think its what most users would want to have

https://trash-guides.info/Sonarr/Tips/How-to-setup-language-custom-formats/
There is already a guide for it

If a trash id is not possible, please create a guide, because I think its what most users would want to have

https://trash-guides.info/Sonarr/Tips/How-to-setup-language-custom-formats/
There is already a guide for it

I meant a guide to configure using recyclarr config

If a trash id is not possible, please create a guide, because I think its what most users would want to have

https://trash-guides.info/Sonarr/Tips/How-to-setup-language-custom-formats/
There is already a guide for it

I meant a guide to configure using recyclarr config

They have a own wiki that covers that, and in the guide discord, recyclarr has a dedicated support channel where you can ask recyclarr specific questions.
This isn't the place to ask support questions or request a guide

I might be at the wrong place, but maybe I am not. Lets see:
As far as I understood the guides, at the moment there is no guide that achieves the following:

I speak two languages. English and my native language.
I want everything with english asa original language, in its original language.
if original language is not english, i want my native language
ideally choose always dual/multi with original language==english and my native language
but NEVER choose just my native language, if original language is english

Am I wrong and this guide exist and I just didnt understood it?
Or maybe, thats a limitation by Sonarr/Radarr?
btw: GREAT WORK. Thanks for your guides, they helped me a lot!

https://trash-guides.info/Sonarr/Tips/How-to-setup-language-custom-formats/#language-prefer-x-but-ill-take-y
That is more of a support request than a guide feature request please visit discord for support; github is not for support.

Litte update but using sync with this in my config file:
custom_formats:
# Language: Not Original
- trash_ids:
- d6e9318c875905d6cfb5bee961afcea9  # Trash ID for Language: Not Original
assign_scores_to:
- name: HD Bluray + WEB
score: -10000  # Set the score to -10000
Sync my radarr with the CF at -10000
So I guess this is resolved?

trash_ids:
- d6e9318c875905d6cfb5bee961afcea9  # Trash ID for Language: Not Original
assign_scores_to:
- name: HD Bluray + WEB
score: -10000  # Set the score to -10000

Nice!
How / Where did you find that ID?
Is there another one for sonarr?

trash_ids:

d6e9318c875905d6cfb5bee961afcea9  # Trash ID for Language: Not Original
assign_scores_to:
name: HD Bluray + WEB
score: -10000  # Set the score to -10000

Nice! How / Where did you find that ID?
Is there another one for sonarr?

Here: https://trash-guides.info/Radarr/Tips/How-to-setup-language-custom-formats/
I don't know, you'd have to check the sonarr page but I don't see why it couldn't just work for sonarr

trash_ids:

d6e9318c875905d6cfb5bee961afcea9  # Trash ID for Language: Not Original
assign_scores_to:
name: HD Bluray + WEB
score: -10000  # Set the score to -10000

Nice! How / Where did you find that ID?
Is there another one for sonarr?

Here: trash-guides.info/Radarr/Tips/How-to-setup-language-custom-formats
I don't know, you'd have to check the sonarr page but I don't see why it couldn't just work for sonarr

Where? Do I have to do something special?

trash_ids:

d6e9318c875905d6cfb5bee961afcea9  # Trash ID for Language: Not Original
assign_scores_to:
name: HD Bluray + WEB
score: -10000  # Set the score to -10000

Nice! How / Where did you find that ID?
Is there another one for sonarr?

I feel like this website is gaslighting me, I copied the id from there and now it's gone. I'll have to go thru my history later. The id does work so Idk 😐

GitHub is not for support.
Please use discord for support.

This has been done with #2159 and is available for the 3rd party sync apps.


node-cljfmt is deprecated, can we switch to cljfmt?

The node-cljfmt project is deprecated https://github.com/snoe/node-cljfmt
The original cljfmt project is still well maintained https://github.com/weavejester/cljfmt. Can we make a switch? Note that the default command is different between two projects so it may cause confusion when users are using original cljfmt.
If this sounds like a good idea, I can make a PR for this switch.

Thank you for bringing this for our attention. The situation seems complicated.
The node-cljfmt readme says that it is deprecated, but not that it has stopped working. I assume it still works.
All three of cljfmt, node-cljfmt, and cljfmt-graalvm seem to install the shell command cljfmt. This means format-all should offer one formatter, cljfmt, that can use any of the three. This is what we currently do:
(define-format-all-formatter cljfmt
  (:executable "cljfmt")
  (:install "npm install --global node-cljfmt")
  (:languages "Clojure")
  (:features)
  (:format (format-all--buffer-easy executable)))

However, since node-cljfmt is deprecated, suggesting that people install it via npm install --global node-cljfmt is not a good idea. I don't know what to suggest. The cljfmt readme gives the install command /bin/bash -c "$(curl -fsSL ...). Piping curl to bash is widely considered bad practice. It's probably not time to recommend cljfmt-graalvm yet. GraalVM is not nearly as popular as classic JVM. Perhaps it's best not to suggest any install command. We can link to the readmes of all three projects.
The cljfmt readme says it can also be installed via clj -Ttools install. In that case it is run as clj -Tcljfmt. If people use this with format-all, then we should add another formatter (define-format-all-formatter clj-cljfmt ...).
I'll make a PR about this and let you review it.

The original cljfmt suggests lein cljfmt as a third option. We'd have to add (define-format-all-formatter lein-cljfmt ...).

Looks like there is more than one cljfmt-graalvm project. I'm not sure whether they support formatting stdin->stdout. I'll leave out cljfmt-graalvm until this is cleared up.

The original cljfmt suggests lein cljfmt as a third option. We'd have to add (define-format-all-formatter lein-cljfmt ...).

I think this allow cljfmt to read some configuration from leiningen project. Similar situation can be found in rust projects, cargo fmt should be an option because it resolve's rust edition from cargo file. This is why most user struggling with custom rustfmt options.

Are you using lein cljfmt or cargo fmt? I'm happy to add them if they have users.

Thank you! I don't use lein cljfmt. But cargo fmt will be really helpful.

Added to master in commit 9ae4745. Can you check that it works?


jae/fix scm

- fixing scm connections, again :facepalm:
- fixing scm connections, again again :facepalm:

Pull Request Test Coverage Report for Build 21
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.455%

Totals

Change from base Build 20:
0.0%

Covered Lines:
126

Relevant Lines:
133

💛  - Coveralls


can't thaw lsp-mode from fork/1

Running straight-thaw-versions fails on lsp-mode due to the change in 77f0521effded73ea2bd48edb05e8d36985a90a0 as straight.el doesn't seem to be configured correctly when the fork/1 branch hasn't been fetched from the new remote. The *straight-process* buffers contains
$ git rev-parse --verify fork/1

fatal: Needed a single revision

Including the full remote name works, ie., git rev-parse --verify fork/fork/1

Blah, well, that is a bug in straight.el IMO since it should be fetching automatically if it needs to normalize such a branch name. This used to work, maybe I broke it at some point.

Oh........... it probably happens because of the collision between the branch name and the remote name, which causes ambiguity.  Still a bug in straight.el not handling this case well.


Repo Configuration: NPM_TOKEN updates needed for swr-openapi publishing

@drwpow it looks like we may need an updated NPM_TOKEN secret for this repo in order to publish to swr-openapi:
https://github.com/openapi-ts/openapi-typescript/actions/runs/11727749276/job/32669572929#step:6:32
Your npm account should already have write permissions for the package, but it seems the token that exists today in this repo doesn't have the right access.
Any chance you would be able to generate a new token?

Ah good catch! Just updated, thanks. Will re-run the action to see if it worked

Published!


Fix typos in metric documentation.

Scope & Purpose
Fix typos in metric documentation.
@neunhoef We should extend the script to validate that the yaml files contain only defined attributes, so we can catch typos in the attribute names.

[x] :hankey: Bugfix

Backports:

[x] Backports required for: 3.8 (#13874)

@mpoeter Some additional checks are already here: https://github.com/arangodb/arangodb/pull/13828
Just fyi to avoid merge conflicts there.


Plan for paying for multiple messages with a single MsgPayForData

Currently, each MsgPayForData transaction can only pay for a single message. Ideally, users would be able to pay for multiple messages using a single payment transaction. Not only that, but because this reduces the number of state transitions each full node would have to execute, we would want to incentivize this behavior, by adding some base fee to PayForData

Are you proposing a consensus-critical change (i.e. having multiple data commitments per PFD), or an application-level standard?

Well I mean, it would presumably be implemented here lol
@musalbas and @liamsi were discussing this idea earlier this week, and I just wanted to write it down so we can begin discussing it. It's not something I think would make mainnet imho

More important than this would be to add an overhead cost to MsgPayForData, so that e.g. one MsgPayForData with 10KB of data is cheaper than two MsgPayForData with 5KB of data.

Such an overhead doesn't necessarily have to be enforced by the protocol, but can rather be an emergent property of a separate fee market for Celestia-app transactions: https://github.com/celestiaorg/celestia-specs/issues/97

This becomes significantly easier after implementing #835

I don't think this is useful anymore as it can be done entirely on the rollup's side now that we are only using a single share commitment.
@adlerjohn can you check my logic on this?
If we want to submit a single transaction that has blobs with different namespaces, then we can after we complete #890 by submitting multiple PFBs in a single sdk.Tx


Edition in wrong language (Release 2)

Translation Problems about winver uwp
Winver UWP翻译的问题
很高兴看见您和您的团队发布2.0版本并将其发布到微软商店。
Great to see you and your team release version 2.0 to the Microsoft Store.
在升级之后，我发现了一些问题。
After the upgrade, I found some problems.
1.这个版本并没有添加预览版本的过期时间和评估副本，是否您还未开发这一方面的功能或者是等待未来的版本发布？

This version does not add the expiration time and evaluation copy of the preview version. Have you not developed this aspect yet or are you waiting for a future version to be released?

2.在您的程序里面，我看到关键字"Windows"最终是被Windows 操作系统的具体版本所替代，但与之相应的是这个关键字被替代的内容却并没有添加相应的多语言支持，比如我的电脑安装的是"Windows 11专业工作站版"，最终显示成了“Windows 11 Pro for Workstations”，希望您能够在接下来的版本中添加有关这一关键字的多语言支持。
2. In your program, I see that the keyword "Windows" is eventually replaced by the specific version of the Windows operating system, but correspondingly, the content of the replaced keyword has not added corresponding multi-language support. , for example, my computer is installed with "Windows 11专业工作站版", which eventually shows "Windows 11 Pro for Workstations". I hope you can add multi-language support for this keyword in the next version.

Expiration
Currently testing

Language issue
Release 2.0 now fetches from the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName) instead of WMI. This allows faster launching, however seems that Windows doesn't localize this text, therefore causing it to be in English.
I'm afraid that there might be nothing I could do about this as this is beyond my scope.

I'll flag this issue as "won't fix" for now, however I'll try to see if there are anything I could do about the matter.

Actually looking further, I could workaround that by checking the edition ID and use resource files, however this approach requires  translators for existing languages, which I don't know if I would be able to gather our existing translators.

OK turns out that this is much harder than I thought as there are many more edition IDs than I expected.

并且忘了说了，我记得1.X的版本仍然保留了应用执行别名“WinverUWP.EXE”和一些启动的协议，是否在2.0版本将其移除或者是忘记添加了？
And I forgot to mention that the 1.x version still retains the application execution alias "winveruwp.exe" and some startup protocols. Did you remove it in version 2.0 or forget to add it?

并且忘了说了，我记得1.X的版本仍然保留了应用执行别名“WinverUWP.EXE”和一些启动的协议，是否在2.0版本将其移除或者是忘记添加了？ And I forgot to mention that the 1.x version still retains the application execution alias "winveruwp.exe" and some startup protocols. Did you remove it in version 2.0 or forget to add it?

Yeah didn't add it.

Well doesn't take much to like fix or anything, however the certification part is quite frustrating and it just finished today so wanna take a break from uploading anything to the Store today.

好吧，事实证明，这比我想象的要难得多，因为版本ID比我预期的要多得多。

是的，毕竟除了Windows 包括X86,X64,ARM64这三种系统，这三种系统都有着不同的ID版本，所以能够找到所有版本的ID并做到一一对应也是有些麻烦的。
Yes, after all, there are X86,X64 and ARM64 operating systems besides Windows, all of which have different ID versions, so it is a bit of a hassle to find all versions of ids and make a one to one match.

好吧，事实证明，这比我想象的要难得多，因为版本ID比我预期的要多得多。

是的，毕竟除了Windows 包括X86,X64,ARM64这三种系统，这三种系统都有着不同的ID版本，所以能够找到所有版本的ID并做到一一对应也是有些麻烦的。 Yes, after all, there are X86,X64 and ARM64 operating systems besides Windows, all of which have different ID versions, so it is a bit of a hassle to find all versions of ids and make a one to one match.

I don't think it makes an effect on the edition IDs though since the architectures don't have their separate editions, however there are still a lot of editions.

And it's basically impossible to grasp all editions as there has been no up to date list about them.

Here's the most up to date list of unfiltered EditionIDs:
        Undefined = 0x00000000,
        Ultimate = 0x00000001,
        HomeBasic = 0x00000002,
        HomePremium = 0x00000003,
        Enterprise = 0x00000004,
        HomeBasicN = 0x00000005,
        Business = 0x00000006,
        StandardServer = 0x00000007,
        DatacenterServer = 0x00000008,
        SmallBusinessServer = 0x00000009,
        EnterpriseServer = 0x0000000A,
        Starter = 0x0000000B,
        DatacenterServerCore = 0x0000000C,
        StandardServerCore = 0x0000000D,
        EnterpriseServerCore = 0x0000000E,
        EnterpriseServerIA64 = 0x0000000F,
        BusinessN = 0x00000010,
        WebServer = 0x00000011,
        ClusterServer = 0x00000012,
        HomeServer = 0x00000013,
        StorageExpressServer = 0x00000014,
        StorageStandardServer = 0x00000015,
        StorageWorkgroupServer = 0x00000016,
        StorageEnterpriseServer = 0x00000017,
        ServerForSmallBusiness = 0x00000018,
        SmallBusinessServerPremium = 0x00000019,
        HomePremiumN = 0x0000001A,
        EnterpriseN = 0x0000001B,
        UltimateN = 0x0000001C,
        WebServerCore = 0x0000001D,
        MediumBusinessServerManagement = 0x0000001E,
        MediumBusinessServerSecurity = 0x0000001F,
        MediumBusinessServerMessaging = 0x00000020,
        ServerFoundation = 0x00000021,
        HomePremiumServer = 0x00000022,
        ServerForSmallBusinessV = 0x00000023,
        StandardServerV = 0x00000024,
        DatacenterServerV = 0x00000025,
        EnterpriseServerV = 0x00000026,
        DatacenterServerCoreV = 0x00000027,
        StandardServerCoreV = 0x00000028,
        EnterpriseServerCoreV = 0x00000029,
        HyperV = 0x0000002A,
        StorageExpressServerCore = 0x0000002B,
        StorageServerStandardCore = 0x0000002C,
        StorageWorkgroupServerCore = 0x0000002D,
        StorageEnterpriseServerCore = 0x0000002E,
        StarterN = 0x0000002F,
        Professional = 0x00000030,
        ProfessionalN = 0x00000031,
        SBSolutionServer = 0x00000032,
        ServerForSBSolutions = 0x00000033,
        StandardServerSolutions = 0x00000034,
        StandardServerSolutionsCore = 0x00000035,
        SBSolutionServerEM = 0x00000036,
        ServerForSBSolutionsEM = 0x00000037,
        SolutionEmbeddedServer = 0x00000038,
        SolutionEmbeddedServerCore = 0x00000039,
        ProfessionalEmbedded = 0x0000003A,
        EssentialBusinessServerMGMT = 0x0000003B,
        EssentialBusinessServerADDL = 0x0000003C,
        EssentialBusinessServerMGMTSVC = 0x0000003D,
        EssentialBusinessServerADDLSVC = 0x0000003E,
        SmallBusinessServerPremiumCore = 0x0000003F,
        ClusterServerV = 0x00000040,
        Embedded = 0x00000041,
        StarterE = 0x00000042,
        HomeBasicE = 0x00000043,
        HomePremiumE = 0x00000044,
        ProfessionalE = 0x00000045,
        EnterpriseE = 0x00000046,
        UltimateE = 0x00000047,
        EnterpriseEvaluation = 0x00000048,
        Unknown49,
        Prerelease = 0x0000004A,
        Unknown4B,
        MultipointStandardServer = 0x0000004C,
        MultipointPremiumServer = 0x0000004D,
        Unknown4E = 0x0000004E,
        StandardEvaluationServer = 0x0000004F,
        DatacenterEvaluationServer = 0x00000050,
        PrereleaseARM = 0x00000051,
        PrereleaseN = 0x00000052,
        Unknown53,
        EnterpriseNEvaluation = 0x00000054,
        EmbeddedAutomotive = 0x00000055,
        EmbeddedIndustryA = 0x00000056,
        ThinPC = 0x00000057,
        EmbeddedA = 0x00000058,
        EmbeddedIndustry = 0x00000059,
        EmbeddedE = 0x0000005A,
        EmbeddedIndustryE = 0x0000005B,
        EmbeddedIndustryAE = 0x0000005C,
        Unknown5D,
        Unknown5E,
        StorageWorkgroupEvaluationServer = 0x0000005F,
        StorageStandardEvaluationServer = 0x00000060,
        CoreARM = 0x00000061,
        CoreN = 0x00000062,
        CoreCountrySpecific = 0x00000063,
        CoreSingleLanguage = 0x00000064,
        Core = 0x00000065,
        Unknown66,
        ProfessionalWMC = 0x00000067,
        MobileCore = 0x00000068,
        EmbeddedIndustryEval = 0x00000069,
        EmbeddedIndustryEEval = 0x0000006A,
        EmbeddedEval = 0x0000006B,
        EmbeddedEEval = 0x0000006C,
        NanoServer = 0x0000006D,
        CloudStorageServer = 0x0000006E,
        CoreConnected = 0x0000006F,
        ProfessionalStudent = 0x00000070,
        CoreConnectedN = 0x00000071,
        ProfessionalStudentN = 0x00000072,
        CoreConnectedSingleLanguage = 0x00000073,
        CoreConnectedCountrySpecific = 0x00000074,
        ConnectedCAR = 0x00000075,
        IndustryHandheld = 0x00000076,
        PPIPro = 0x00000077,
        ARM64Server = 0x00000078,
        Education = 0x00000079,
        EducationN = 0x0000007A,
        IoTUAP = 0x0000007B,
        CloudHostInfrastructureServer = 0x0000007C,
        EnterpriseS = 0x0000007D,
        EnterpriseSN = 0x0000007E,
        ProfessionalS = 0x0000007F,
        ProfessionalSN = 0x00000080,
        EnterpriseSEvaluation = 0x00000081,
        EnterpriseSNEvaluation = 0x00000082,
        Unknown83,
        Unknown84,
        Unknown85,
        Unknown86,
        Holographic = 0x00000087,
        HolographicBusiness = 0x00000088,
        Unknown89 = 0x00000089,
        ProSingleLanguage = 0x0000008A,
        ProChina = 0x0000008B,
        EnterpriseSubscription = 0x0000008C,
        EnterpriseSubscriptionN = 0x0000008D,
        Unknown8E,
        DatacenterNanoServer = 0x0000008F,
        StandardNanoServer = 0x00000090,
        DatacenterAServerCore = 0x00000091,
        StandardAServerCore = 0x00000092,
        DatacenterWSServerCore = 0x00000093,
        StandardWSServerCore = 0x00000094,
        UtilityVM = 0x00000095,
        Unknown96,
        Unknown97,
        Unknown98,
        Unknown99,
        Unknown9A,
        Unknown9B,
        Unknown9C,
        Unknown9D,
        Unknown9E,
        DatacenterEvaluationServerCore = 0x0000009F,
        StandardEvaluationServerCore = 0x000000A0,
        ProWorkstation = 0x000000A1,
        ProWorkstationN = 0x000000A2,
        UnknownA3,
        ProForEducation = 0x000000A4,
        ProForEducationN = 0x000000A5,
        UnknownA6,
        UnknownA7,
        AzureServerCore = 0x000000A8,
        AzureNanoServer = 0x000000A9,
        UnknownAA = 0x000000AA,
        EnterpriseG = 0x000000AB,
        EnterpriseGN = 0x000000AC,
        UnknownAD,
        UnknownAE,
        ServerRDSH = 0x000000AF,
        UnknownB0,
        UnknownB1,
        Cloud = 0x000000B2,
        CloudN = 0x000000B3,
        HubOS = 0x000000B4,
        UnknownB5,
        OneCoreUpdateOS = 0x000000B6,
        CloudE = 0x000000B7,
        Andromeda = 0x000000B8,
        IoTOS = 0x000000B9,
        CloudEN = 0x000000BA,
        IoTEdgeOS = 0x000000BB,
        IoTEnterprise = 0x000000BC,
        Lite = 0x000000BD,
        UnknownBE,
        IoTEnterpriseS = 0x000000BF,
        XboxSystemOS = 0x000000C0,
        XboxNativeOS = 0x000000C1,
        XboxGameOS = 0x000000C2,
        XboxERAOS = 0x000000C3,
        XboxDurangoHostOS = 0x000000C4,
        XboxScarlettHostOS = 0x000000C5,
        AzureStackHCIServerCore = 0x00000196,
        TurbineServer = 0x00000197

@Gaoyifei1011 OK so I found out that I could use winbrand.dll in an UWP app, which should localize the edition correctly.
I haven't tested it in WACK though, which is a huge deal, because if my app fails WACK, it might be blocked from being uploaded to the Microsoft Store.
Anyway screenshot of the API working (this is code in a separate project as I am not near the PC I used for WinverUWP development) (text in English, but seems to return the same result as 1.x):

@Gaoyifei1011 OK so I found out that I could use winbrand.dll in an UWP app, which might localize the edition correctly. I haven't tested it in WACK though, which is a huge deal, because if my app fails WACK, it might be blocked from being uploaded to the Microsoft Store.
Anyway screenshot of the API working (this is code in a separate project as I am not near the PC I used for WinverUWP development) (text in English, but seems to return the same result as 1.x):

关于这个，我刚才使用Resource Hacker查看了一下，这次估计应该会显示正确的信息了。
I just checked this out using Resource Hacker, and this time it should show the correct information.
在我的电脑中，C:\Windows\system32\zh-cn\shell32.dll.mui中存放了"%WINDOWS_LONG%"变量，也就是你图片中显示的内容，应该在最终的显示中就能够显示出正确的名称了。但是我不太确定这个"%WINDOWS_LONG%"变量是否会在不同的语言下显示正确的名称，所以可能需要测试一下。
On my computer, C:\Windows\system32\zh-cn\shell32.dll.mui has the "%WINDOWS_LONG%" variable, which is the content displayed in your image, and should show the correct name in the final display. But I'm not sure if the "%WINDOWS_LONG%" variable will display the correct name in different languages, so I might need to test it.
并且我发现微软在不同语言下的shell32.dll.mui中已经存放了不同语言的信息，所以我觉得这是一个更好的方法直接使用微软自己定义的信息内容，不需要其他人翻译就能够多语言支持。（这是我个人的一个看法）
And I found that Microsoft has stored information of different languages in shell32.dll.mui in different languages, so I think it is a better way to directly use the information content defined by Microsoft itself, which can be supported in multiple languages without translation by others. (This is my personal opinion)

The only major hiccup now is whether WACK and MS Store would allow me to use this stuff, since this DLL isn't present in any API sets.

@Gaoyifei1011 unfortunately using winbrand.dll causes the app to fail WACK.

Another status update: I worked around that fail by just using LoadLibraryW and GetProcAddress instead of DllImport.

And it's basically impossible to grasp all editions (and filter out the unnecessary ones) as there has been no up to date list about them.

不仅如此，当微软又发布了一个更新的，且从未见过的操作系统ID时，这个应用就不能及时的显示出操作系统的具体信息了。
Not only that, but when Microsoft released an updated, never-before-seen operating system ID, the application failed to display operating system information in a timely manner.

@Gaoyifei1011 unfortunately using winbrand.dll causes the app to fail WACK.

额......这是一个很糟糕的结果。
e... This is a very bad result.

@Gaoyifei1011 unfortunately using winbrand.dll causes the app to fail WACK.

额......这是一个很糟糕的结果。 e... This is a very bad result.

WACK is pretty much an essential test for all UWP apps, as it determines whether you can submit your app to the Microsoft Store. While some tests aren't actually used, there are still tests they will check your app against. If the app fails one of those, the package fails certification.
Managed to workaround it anyway

Another status update: I worked around that fail by just using LoadLibraryW and GetProcAddress instead of DllImport.


paths resolution is not working properly

Describe the bug
paths resolution is not working for me.
I've provided paths config as
{
 "paths": {
      "@moduleA/*": ["modules/01-moduleA/*"],
      "@moduleB/*": ["modules/02-moduleB/*"]
    }
}

When I'm trying to import using aliases, the compilation fails:
import { sum } from "@moduleA/utils";
import { multiply } from "@moduleB/utils";

console.log(sum(1, 2));
console.log(multiply(1, 2));

The reference to @moduleA/utils is being read as @moduleA/utilsoduleA/utils
Error:
ERROR in ./src/index.ts 1:0-49
Module not found: Error: Can't resolve '@moduleA/utilsoduleA/utils' in '/Users/vivek.bansal/Projects/vkbansal/swc-test/src'
resolve '@moduleA/utilsoduleA/utils' in '/Users/vivek.bansal/Projects/vkbansal/swc-test/src'
  Parsed request is a module
  using description file: /Users/vivek.bansal/Projects/vkbansal/swc-test/package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/vivek.bansal/Projects/vkbansal/swc-test/src/node_modules doesn't exist or is not a directory
      looking for modules in /Users/vivek.bansal/Projects/vkbansal/swc-test/node_modules
        /Users/vivek.bansal/Projects/vkbansal/swc-test/node_modules/@moduleA/utilsoduleA doesn't exist
      /Users/vivek.bansal/Projects/vkbansal/node_modules doesn't exist or is not a directory
      /Users/vivek.bansal/Projects/node_modules doesn't exist or is not a directory
      /Users/vivek.bansal/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory

ERROR in ./src/index.ts 2:0-54
Module not found: Error: Can't resolve '@moduleB/utilsoduleB/utils' in '/Users/vivek.bansal/Projects/vkbansal/swc-test/src'
resolve '@moduleB/utilsoduleB/utils' in '/Users/vivek.bansal/Projects/vkbansal/swc-test/src'
  Parsed request is a module
  using description file: /Users/vivek.bansal/Projects/vkbansal/swc-test/package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/vivek.bansal/Projects/vkbansal/swc-test/src/node_modules doesn't exist or is not a directory
      looking for modules in /Users/vivek.bansal/Projects/vkbansal/swc-test/node_modules
        /Users/vivek.bansal/Projects/vkbansal/swc-test/node_modules/@moduleB/utilsoduleB doesn't exist
      /Users/vivek.bansal/Projects/vkbansal/node_modules doesn't exist or is not a directory
      /Users/vivek.bansal/Projects/node_modules doesn't exist or is not a directory
      /Users/vivek.bansal/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory

webpack 5.68.0 compiled with 2 errors and 1 warning in 1372 ms

Repro Code: https://github.com/vkbansal/swc-test
Sandbox: https://codesandbox.io/s/github/vkbansal/swc-test/tree/main
Input code
No response
Config
{
  "jsc": {
    "baseUrl": "./src",
    "target": "es2018",
    "externalHelpers": true,
    "parser": {
      "syntax": "typescript",
      "tsx": false,
      "decorators": false,
      "dynamicImport": true
    },
    "transform": {
      "react": {
        "runtime": "classic",
        "throwIfNamespace": true
      }
    },
    "paths": {
      "@moduleA/*": ["modules/01-moduleA/*"],
      "@moduleB/*": ["modules/03-moduleB/*"]
    }
  },
  "module": {
    "type": "es6",
    "strict": false,
    "strictMode": true,
    "lazy": false,
    "noInterop": false,
    "ignoreDynamic": true
  }
}

Playground link
https://codesandbox.io/s/github/vkbansal/swc-test/tree/main
Expected behavior
Project should compile without any errors
Actual behavior
No response
Version
1.2.136
Additional context
No response

This issue is reproducible in the Playground.
Also, note how the path is resolved to a relative (and correct) one in CommonJS, but not in ESModule.

This is working fine 1.2.107. It started breaking since 1.2.111.

This is blocker for adopting this in our organisation. I'm really looking forward to using this.
I do not have any experience with rust. But can you please provide me with a starting point so that I could help in fixing this ASAP?

I'm looking into it, I think is a codegen problem.

Thank you very much @RiESAEX


Non-binary evidence with a foreign newline convention cannot be verified.

Overview
Universal newline support is enabled by default in all calls that read data. This means that any non-binary evidence with a foreign newline convention cannot be verified. When the evidence is read, all line endings are converted to '\n' which changes the expected digest.
Example
Actual Digest
$ openssl dgst -sha256 /tmp/evidence.txt
SHA2-256(/tmp/evidence.txt)= 7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6

Digest Mismatch
>>> open('/tmp/evidence.txt', 'r').read().encode()
b'\n'
>>> hashlib.sha256(open('/tmp/evidence.txt', 'r').read().encode()).hexdigest()
'01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b'

Expected Digest
>>> open('/tmp/evidence.txt', 'r', newline='').read().encode()
b'\r\n'
>>> hashlib.sha256(open('/tmp/evidence.txt', 'r', newline='').read().encode()).hexdigest()
'7eb70257593da06f682a3ddda54a9d260d4fc514f645237f5ca74b08f8da61a6'

Proposed Solution
Set universal_newlines=True when fetching local commands here.
If you must retain evidence with foreign newline conventions then set binary_content = True.

This seems to be done already.


Add scope type parser piece of custom command grammar

Initial work towards https://github.com/cursorless-dev/cursorless/issues/492; will be used to parse scope types in https://github.com/cursorless-dev/cursorless/pull/2131
Exposes a function parseScopeType that can parse strings like funk, curly etc into their corresponding scope type payloads
Here's a railroad: https://deploy-preview-2295--cursorless.netlify.app/custom-command-railroad
Checklist

[ ] I have added tests
[ ] I have updated the docs and cheatsheet
[ ] I have not broken the cheatsheet

@josharian This technically needs a review from you because it touches keyboard directory. The change there is completely incidental; I just moved some code out of there into the engine so we could use it for new custom command parser


Inconsistencies in the license/third-party-notices documentation

Hi,
I'm refering to this file /corona-warn-app/cwa-app-ios/blob/development/THIRD-PARTY-NOTICES
There are some inconsistencies in this document.

The copyright information seems to be missing in the swift-protobuf/Apple Inc. license section (starting LOC44)

Ashley Mills is mentioned with his/her license, but the referering component is missing in the beginning. (starting LOC267)

Deusty, LLC is mentioned with its license, but the referering component is missing in the beginning. (starting LOC341)

Dear @serenity182 , thanks for spotting these issues. We're currently working on automating the creation of both the app screen and the third party notices file (#204 ) and will try to fix your points in that process


Python 3 support

I believe these commits make creoleparser compatible with both Python 2.7 and 3.x. Updates are minor: standard library changes and the better string/bytes distinction in Python 3 are handled.

thanks!

BTW, did you check that relative imports work in python 2.7?

The tests pass under both Python 2.7 and 3. They're fairly comprehensive, so I don't see what else could fail under 2.7.


Introduce Polkassembly API integration

Progresses https://github.com/paritytech/substrate-tip-bot/issues/62

This introduces a Polkassembly class that integrates with the Polkassembly API.
It works in two modes - with a Polkadot signer, and an Ethereum signer.
The Polkadot signer is to be used in production, and Ethereum signer was used to test it with the Moonbase Alpha.
Once we have another testnet with OpenGov and Polkassembly, we can remove the Ethereum portion.
For now I used Moonbase Alpha EMV chain to semi-manually test it.

Note: I have listed some follow-up improvements here.


New PR to test SignCLA at 2019-08-06 12:16:38.171251359 -0700 PDT m=+3.743440886

Body of PR

unsigned-fail-staging: test succeeded


CC0022 disposable intantiation on constructor call

CC0022 is being reported on code like this:
public EntitiesController() : this(new EntitiesDataContext())
{
}

Should this be detected as not an issue? Or is it better that it is explicit the reason why it's not being disposed?

It is being passed in, it shouldn't be reported.

:+1:

Would this also fix #409?

Can I try to tackle this ?

@thorgeirk11 Sure, go ahead.

Just to be sure, CC0022 should not be reported on disposable objects created as argument ?
                class A
                {
                    void Foo(Disposable disposable)
                    {
                    }

                    void CallFoo()
                    {
                        Foo(new Disposable()); // This should report CC0022
                    }
                }
                class Disposable : System.IDisposable
                {
                    void System.IDisposable.Dispose() { }
                }

@thorgeirk11 It is complicated...
At the time it made sense, but I can see now that it makes sense to not report it at least on some of those situations.
One could argue that if the object is being created and directly passed into a method, that the method that created it does not want to control it's lifetime.
On the other hand, it might have to.
How about this: we raise the diagnostic on method invocations, but not on constructor invocations, and on the code fix we offer to extract the variable and dispose it after the statement where it is being used (not the method invocation, or expression, the statement). How about that?
So, this would raise a diagnostic:
void Foo()
{
    string.Format("", new System.IO.MemoryStream());
}

The fix would change it to this:
void Foo()
{
    using (var memoryStream = new System.IO.MemoryStream())
    {
        string.Format("", memoryStream);
    }
}

This would not raise a diagnostic:
new Bar(new System.IO.MemoryStream());

This is different:
string Foo()
{
    var s = string.Format("", new System.IO.MemoryStream());
    return s;
}

As s cannot be placed inside a using or it will be ou of scope on the return statement, we need a Dispose call, like this, on the fix:
string Foo()
{
    var memoryStream = new System.IO.MemoryStream();
    var s = string.Format("", memoryStream);
    memoryStream.Dispose();
    return s;
}

Or even:
string Foo()
{
    using (var memoryStream = new System.IO.MemoryStream())
    {
        var s = string.Format("", memoryStream);
        return s;
    }
}

(This last solution would depend on the flow, it might not be possible, there is already logic on the code fix to take care of that)
@paulomorgado How do you feel about this solution?

@adraut Yes, I closed #409.

Alright think I have done the all of the above however what is the expected behavoiur on the following ?
string Foo()
{
    System.IO.MemoryStream m;
    string.Format(string.Empty, m = new System.IO.MemoryStream());
}

@thorgeirk11, that one should be disposed.
But, unless you can observe the whole lifetime of the object, you can't really know how it's being used.


Unable to detect log file format

First of all thanks for this very useful software @darold
I have been using pgBadger to parse AWS RDS logs with version 9 but since the upgrade to v10.1, the logs give the following warning
user@dev:/tmp# pgbadger -j 4 -I --prefix '%t:%r:%u@%d:[%p]:' /tmp/postgresql.log -O /tmp/processed_logs/
FATAL: unable to detect log file format from /tmp/postgresql.log, please use -f option.

The log file is in the following format
2018-09-17 00:00:00 UTC:<IP_ADDRESS>(36864):db_user@db:[6527]:LOG:  duration: 0.027 ms
2018-09-17 00:00:00 UTC:<IP_ADDRESS>(36864):db_user@db:[6527]:LOG:  duration: 0.007 ms
2018-09-17 00:00:00 UTC:<IP_ADDRESS>(36864):db_user@db:[6527]:LOG:  duration: 0.175 ms
2018-09-17 00:00:00 UTC:<IP_ADDRESS>(36864):db_user@db:[6527]:LOG:  duration: 0.191 ms
2018-09-17 00:00:00 UTC:<IP_ADDRESS>(36864):db_user@db:[6527]:LOG:  duration: 0.040 ms
2018-09-17 00:00:00 UTC:<IP_ADDRESS>(36902):db_user@db:[10140]:LOG:  duration: 0.025 ms

What am I missing here?

When the log file is too small pgbadger can not detect surely your log format, you have to tell him. Use option -f stderr to give your log format.
I see in your log sample that you are using log_duration instead of log_min_duration_statement, this is not recommended to have fully accurate statistics.

Thanks for your quick revert @darold and the suggestion which worked.
The file had around 1.6 million rows but somehow it was not able to detect the format maybe due to lack of variety in the logs.

I had this exact same issue and the above solution did not work for me. It wasn't clear from @darold's comment that you need to use both -f and -p.
Use:
pgbadger -f stderr -p '%t:%r:%u@%d:[%p]:' postgresql.log

pgBadger version 10.1


helm chart

used to be the helm chart to install voyager, but I see it is gone.
any plans to add it back?

@rimusz , we have moved the chart to root directory. https://github.com/appscode/voyager/tree/master/chart/voyager

my bad, did not notice there :)

:). Please try the new 1.5.5 just released https://github.com/appscode/voyager/releases/tag/1.5.5 .


[Bug]: Failed clickhouse connection blocks the page

🐛 What's Going Wrong?
If the active database config for the clickhouse datasource cannot be reached then also the other queries are still going which blocks the page for the data queries and multiple pending pooling connection are being requested. Hence optimise the application for checking the ping status for the active database beforehand to run the data queries only when the connection is established.
🕵 Steps to Reproduce
To see the bug, what should we do?

Add a wrong database config
Switch to dashboard page
Observe failed queries

🎯 What Did You Expect?
Describe what you thought would happen.
📸 Any Screenshots?
Pictures can say a thousand words and can be super helpful!
💻 Your Setup

Doku Version: [e.g., 0.0.1]
DokuMetry SDK: [Python or NodeJS]
DokuMetry SDK Version: [e.g., 0.0.3]
Deployment Method: [Helm, Linux, Windows, Docker]

📝 Additional Notes
Got more to say? Tell us here.
👐 Want to Help Make It Happen?

[ ] Yes, I'd like to volunteer and help out with this!

Wrong pr merge led to reopening of this issue.


AMG: KeyError: 'meta'

Describe the bug
When I run az grafana dashboard import  --resource-group "$(tf_grafana_resource_group_name)" --name "$(tf_grafana_instance_name)" --definition $file --overwrite an error occurs
Related command
az grafana dashboard import
Errors
ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: 'meta'
Traceback (most recent call last):
  File "/opt/az/lib/python3.12/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py", line 666, in execute
    raise ex
  File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py", line 733, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py", line 703, in _run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/__init__.py", line 336, in __call__
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
  File "/opt/az/azcliextensions/amg/azext_amg/custom.py", line 389, in import_dashboard
    if data["meta"]["isFolder"]:
       ~~~~^^^^^^^^
KeyError: 'meta'
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues

Issue script & Debug output
I can't provide a debug log right now, as it is run in a pipeline. Will try to reproduce locally and update later.
Expected behavior
The dashboard should be imported, as it is a vlid file and not a folder.
Environment Summary
azure-cli                         2.66.0 *
core                              2.66.0 *
telemetry                          1.1.0
Extensions:
azure-devops                       1.0.1
Dependencies:
msal                              1.31.0
azure-mgmt-resource               23.1.1
Python location '/opt/az/bin/python3'
Extensions directory '/opt/az/azcliextensions'
Python (Linux) 3.12.7 (main, Oct 30 2024, 03:56:40) [GCC 11.4.0]
Additional context
I had a look into the files and the line in question was added in #8207. I will try to use the version 2.5.0 instead of newest version to verify. I can't easily reproduce that locally as it runs in a pipeline.

route to service team


Unusual licensing choice

Hi Moji,
I wanted to point out that your license choice is a little unusual. Usually Creative Commons licenses aren't used for software.
Per CC themselves: "We recommend against using Creative Commons licenses for software"
https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software
Given you've chosen CC-BY, have you considered using a more typical permissive attribution based license such as MIT, BSD-3-Clause, or Apache-2.0?

Pinging for an update.


Nonuniform GPU accelerate ration?

The reference paper[53]:
there exists a nonuniform result

asym. (3d) model give  (3.0×) GPU accelerate in Tabel 8
but it show 0.96X GPU accelerate in your paper in Tabel 3

why is so big different?

As our paper indicate, this is because CUDA and CUDNN upgrade

which cuda / cudnn version realize 3.0X GPU accelerate ? @yihui-he

Just search 'cuda' in the paper's PDF


Fix/i18n

Metanorma PR checklist

[ ] Breaking changes (list related PRs)
[ ] Documentation update required (create task for this)
[ ] External dependency introduced (documentation update need)
[ ] Gem with native library introduced

PR won't pass GHA, because of circular dependency with isodoc.

Will address instead by version update to v0.1.0


Additional game ideas

Done:

[x] AsciiDonut, Wiki, Rules
[x] Ascii_mon, Rules
[x] ConnectFour, Wiki, Rules
[x] Crossword puzzle, Rules
[x] Dont break the ice, Wiki, Rules
[x] Game of Life, Wiki, Rules
[x] Match-three puzzle, Rules
[x] Memory, Wiki, Rules
[x] Minesweeper, Wiki, Rules
[x] Mühle, Rules
[x] Particles, Wiki
[x] Peg solitaire / Solo Noble, Rules
[x] Set, Wik, Rules
[x] Sidescrollter Rules
[x] Sudoku, Wiki, Rules
[x] Tetris, Wiki, Rules
[x] Tictactoe, Wiki, Rules

Todo:

[ ] Backgammon, Rules
[ ] Battleship, Rules
[ ] Chess, Rules
[ ] Mau Mau, Rules
[ ] Moorhuhn, Rules
[ ] PlaneAdventure, Rules
[ ] Scrabble, Rules
[ ] Teeko, Rules
[ ] Word search (Suchsel), Rules

Asciimon added with commit: c543976a9bf248fb272062ce8ba0ee35540eb7e9

Sidescroller added with commit: 7075507c1977f3038f129ddc790d7c1bea17bef2

Maumau added with commit: 7d65fda9234a7b8f64f5c44c61ee5fc9651b6ca3


tools: Upgrade mypy to 0.620.

Fixes #9975

Followed requirements/README.md and updated mypy.in
Ran tools/update-locked-requirements
Changed provision version and ran tools/provision
Ran ./tools/run-mypy and then ./tools/test-all (Fixed the mock errors in a previous commit)

Merged, thanks @rheaparekh!


I cant list my NFTs on my alredy existing empty collection

My main goal is, list my smartcontract's collection on opensea without mint any nfts. I found a page that called get-listed https://testnets.opensea.io/get-listed/step-two
I tried to list my collection but it throwed that,

My contract address is: https://rinkeby.etherscan.io/address/0xC465D58d18FC6097e4ace6Ece23e20f03D52D443

In my personal experience, you need to mint at least one token before OpenSea will show your collection.


Using DISM++ in scripts

Hi,
Looking for a way to run this application as a part of script in order to get some cleanings on the multiple machines. Can not find any details about this feature. Sorry if incorrect place selected to place my question.
Thank you for the support.

Could  you used C/C++? If you can, Dism++have Dism++ API，you could used Dism++ API do your work.

Hi,
Nope, in my case I am using the application (dism++) which is already compiled to executable format. Have no knowledge in application development, to be honest. That's why looking for a way to use your application if this possible thorough.;))
Get Outlook for Androidhttps://aka.ms/ghei36

From: mingkuang<EMAIL_ADDRESS>Sent: Wednesday, July 12, 2017 4:57:03 PM
To: Chuyu-Team/Dism-Multi-language
Cc: Slavah80; Author
Subject: Re: [Chuyu-Team/Dism-Multi-language] Using DISM++ in scripts (#137)
Could you used C/C++? If you can, Dism++have Dism++ API，you could used Dism++ API do your work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Chuyu-Team/Dism-Multi-language/issues/137#issuecomment-314644207, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcIeJJVb-djK4Vm8eVPKWzWiBDgYUPHLks5sNFIfgaJpZM4OVE7a.

关闭此问题，这个不是Dism++ BUG


data inconsistency after redo apply

What did you do?

Create changefeed with eventual consistency on,  save redo log to s3.
Run sysbench prepare and run
Stop sysbench workload
Stop changefeed
Run redo apply and redo meta
Check data consistency between upstream and downstream

What did you expect to see?
Data should be consistent
What did you see instead?
Data consistency check failed
Versions of the cluster
v6.4.0

/severity major

enabling redo log can't assure the consistency between the upstream and the downstream . But it will make sure the downstream in the consistent state .

This failure was due to a bug in test code of consistency check, close it.


dependency updates report generation in xml does not create target directory

On clean project:
[master|⚑ 11] $ mvn org.codehaus.mojo:versions-maven-plugin:2.5-SNAPSHOT:dependency-updates-report -DdependencyUpdateReportFormats=xml
[INFO] Scanning for projects...
[INFO]
...
[INFO] BUILD FAILURE
...
[ERROR] Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.5-SNAPSHOT:dependency-updates-report (default-cli) on project geo-calc-job: An error has occurred in Dependency Updates Report report generation.: Cannot create xml report. /home/idubinin/git/geo-calc/job/target/dependency-updates-report.xml (No such file or directory) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

But when target directory exist:
[master|⚑ 11] $ mkdir target
  [master|⚑ 11] $ mvn org.codehaus.mojo:versions-maven-plugin:2.5-SNAPSHOT:dependency-updates-report -DdependencyUpdateReportFormats=xml
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
...
[INFO]
[INFO] --- versions-maven-plugin:2.5-SNAPSHOT:dependency-updates-report (default-cli) @ geo-calc-job ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.883 s
[INFO] Finished at: 2017-07-13T15:04:11+01:00
[INFO] Final Memory: 19M/323M
[INFO] ------------------------------------------------------------------------

Usually a report goal will not being called directly from command line but for this case it makes sense...please add the information to the ReleaseNotes.md as well.


29 add activity rules for add row and remove row actions

So, in form, rowgroup type of group has now new attributes:
canAddRowWhen and canRemoveRowWhen for rules
and filling protocol can have allowedActions attribute for rowgroup item with possible values ADD_ROW, DELETE_ROW ?
Is ADD_ROW always present when there is no rule?

ADD_ROW is on rowgroup and DELETE_ROW is separately for each row. canRemoveRow is evaluated in row context.

Is there any need for form conversion for backwards compatibility?

Is there any need for form conversion for backwards compatibility?

no


2019-08-05 update oh house dist76

Hi.  First contribution here.  OH House 76 turned over and this PR reflects that.
I created this based on the readme instructions and comparing the retired form.  Feedback is welcome.  Thanks.

Pull Request Test Coverage Report for Build 409

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 68.487%

Totals

Change from base Build 407:
0.0%

Covered Lines:
928

Relevant Lines:
1355

💛  - Coveralls

Fixes #168


⚠ RPC server - Harmony has degraded performance

In 07afb8a, RPC server - Harmony ($HARMONY_RPC_URL) experienced degraded performance:

HTTP code: 503
Response time: 229 ms

Resolved: RPC server - Harmony performance has improved in c2617a4.


Skills + OAuth + Conversation IDs: Populate RelatesTo field with root conversation reference and pass to token service

Note: This is alternate to the microformat. @johnatyalor is lobbying for the Microformat while listning to Band on the Run.

This is a P0 to enable SSO Auth work. Relabeling as P0.

Done as part of #3360


msfpayload deprecated in 2015

msfpayload and msfencode both were removed and msfvenom took it's place, any chance to update the code to support this

Thanks for the report.
This was actually already fixed with commit a3fbdbc3dc0d816563eec78fc8cb3e986dbb31d1, but hasn't yet been merged into master.


Campaign collection links

Changes
Fixes #5474. Campaign collections were missing the ol' / on their links, and so were trying to load campaigns relatively from the collection page. This was 404ing and making people sad. This PR runs those path aliases through the ol' url() so that they can be properly formatted. Hurrah!
Where should the reviewer start?
First, check out this commit where I add some PHP 5.4 hotness. Then wander over to this commit which fixes the actual issue at hand. :computer: :boom: :hammer:
How should this be manually tested?
Go to a campaign collection. Click on a tile. Does it 404? No? Great.

For review: @angaither

VALUE ADDED :+1:

I think we have a logic error here.

@angaither @DFurnes Please check my comment on the diff. I think we need to fix this.

@sergii-tkachenko Good catch! Added a fix in #5649.


Cannot run reshade with select renderer dx11, game crash

only running the game in dx11 (forced with argument -dx11)
arcdps runs OK
new radial 2.2.0 runs OK
libimgui runs OK
when i add select renderer , the selcet renderer menu pops up running OK
when i add reshade (dx11 installation) to /addons/reshade/dxgi.dll i can select it within select renderer , when i restart the game it crashes instantly
reproducable anytime

I was able to resolve this by installing all addon manager things remove d3d11.dll and dxgi, install reshade renaming reshade dxgi.dll to d3d11.dll and just bring back dxgi.dll from addon manager so far so good...

Thank you soo much 1Nor1.  That did it.

hmm, so its working but I may have spoke too soon.  It works until I quit the game.  Then I get a crash report and when I start the game back up, its no longer in D11 and I have to turn it back on and restart.


gpac: 1.0.1 -> 2.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/gpac/gpac/releases.
meta.description for gpac is: "Open Source multimedia framework for research and academic purposes"
meta.homepage for gpac is: "https://gpac.wp.imt.fr"
meta.changelog for gpac is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/4g9002nslbq3yc1xlnwpqb4q9xb6yxpy-gpac-2.0.0/bin/MP4Client had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/4g9002nslbq3yc1xlnwpqb4q9xb6yxpy-gpac-2.0.0/bin/MP4Box had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/4g9002nslbq3yc1xlnwpqb4q9xb6yxpy-gpac-2.0.0/bin/gpac had a zero exit code or showed the expected version
0 of 3 passed binary check by having a zero exit code.
0 of 3 passed binary check by having the new version present in output.
found 2.0.0 with grep in /nix/store/4g9002nslbq3yc1xlnwpqb4q9xb6yxpy-gpac-2.0.0
found 2.0.0 in filename of file in /nix/store/4g9002nslbq3yc1xlnwpqb4q9xb6yxpy-gpac-2.0.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
gpac

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4g9002nslbq3yc1xlnwpqb4q9xb6yxpy-gpac-2.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gpac https://github.com/r-ryantm/nixpkgs/archive/79dd9315eaf4b0467b6b2faccb6b9148d291776e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4g9002nslbq3yc1xlnwpqb4q9xb6yxpy-gpac-2.0.0
ls -la /nix/store/4g9002nslbq3yc1xlnwpqb4q9xb6yxpy-gpac-2.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gpac

Maintainer pings
cc @bluescreen303 @mgdelacroix for testing.

@ofborg eval


Prevent the didReload event being fired twice on failure

Coverage increased (+0.08%) to 89.573% when pulling e41338be557bf4731e9023e724bb1b7ac4c372a2 on lyweiwei:wewei/fix-event-handling into 5f363efa98352ad1b9d89f21330e3e38ef28d660 on Microsoft:master.


Federal Subjects of Russia

Hello. I would like to ask you to add more of the Russian Federation.
For example - Khakassia, Karelia, Nenets Autonomous Okrug (Nenetsia), Kaliningrad, Krasnoyarsk Krai.
You also need to make the core province of the Far Eastern Republic in the Khabarovsk Territory, the Kamchatka Krai and Chukotka Autonomous Okrug.
Thank you!

Khakassia - throughout the game period c.10 are Khakas. Likewise for Karelia (that was removed).
Kaliningrad, Krasnoyarsk Krai are Russian and has to my knowledge no strong separatist movements.
Will correct FER cores.


Reinstate necessary require statement

It seems that I was too overzealous in https://github.com/alphagov/support-api/pull/49
and removed a require that's necessary for the worker to run.
This fixes an errbit issue.

:+1:


Config-UI: Plugin Settings should be handled dynamically?

Question
Right now, the frontend deals with differences between plugins with 'if' conditions or case statements.
I.E. if (name == "gitlab") { // do something specific to gitlab }
As we add more plugins to the system, this can balloon out of control. Should start thinking about some generic settings that the frontend can interpret about plugins so it can dynamically render them accordingly? This is an architecture question.

@kevin-kline This isn't truly accurate, we have switch statements in most places, however certain IF conditions are necessary for this iteration. There is a also main integrations array (integrationsData) defined at the top level which contains our list of available providers so there are already dynamic elements at play. Differences between fields that are not standard would have their own react components. In the case of setting we have settings/jira.jsx settings/gitlab.jsx etc.
In the future as more providers are added we'll adjust the UI accordingly, including any unnecessary IF logic.

@e2corporation If I understand this correctly, we can close this? free feel to do so.


Remove unnecessary rule suffix

Hi!
First of all, great project!
While setting up the configuration in a private project, I noticed the "Rule" suffix on all bundled rules.
I don't think this is necessary since all of the classes live in the \Danger\Rule namespace already.

You are right 🙈
Can you make the old one still working?
Like
/** @deprecated use DisallowRepeatedCommits instead **/
class DisallowRepeatedCommitsRule extends DisallowRepeatedCommits

Can you make the old one still working?

I updated the code to make the old ones still working.
Maybe trigger_deprecation should be used here?

Good idea. 👍

Added! While adding the constants to the Application class, I noticed a type warning.

I fixed that in a separate commit in case you don't want to merge it.

Can you run the cs-fixer? Seems aborted

@codeCoverageIgnore the deprecated classes?

Yup would be good 👍

Also just noticed that you might want to remove the "incomplete" label again if all checks passed.
https://github.com/shyim/danger-php/blob/main/.danger.php#L31

Thanks!
Feel free to create an PR :)


__get_pydantic_core_schema__ ignored in self-referencing models

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
I've encountered an issue with a self-referencing model that also uses __get_pydantic_core_schema__ as validator. In V1 we use  __get_validators__ to convert string inputs for a field into a pydantic.BaseModel. However as I migrate the code, it seems that while the equivalent via __get_pydantic_core_schema__ works generally, it is ignored if a model is self-referencing as below:
Example Code
from __future__ import annotations
import pydantic
from typing import Type, Optional
from pydantic import BaseModel, GetCoreSchemaHandler
from pydantic_core import CoreSchema, core_schema

def cast_to_cat(name: str):
    if isinstance(name, str):
        return {"name": name}
    return name

class Cat(pydantic.BaseModel):

    name: str
    friend: Optional[Cat] = None

    @classmethod
    def __get_pydantic_core_schema__(cls, source: Type[BaseModel], handler: GetCoreSchemaHandler, /) -> CoreSchema:
        return core_schema.no_info_before_validator_function(cast_to_cat, handler(source))

class Witch(pydantic.BaseModel):

    name: str
    cat: Cat

jiji = Cat.model_validate("JiJi")
assert jiji.name == "JiJi"

# Case 1
kiki = Witch.model_validate({"name" : "kiki", "cat": {"name": "jiji"}})
assert isinstance(kiki.cat, Cat)

# Case 2
kiki = Witch.model_validate({"name" : "kiki", "cat": "jiji"})
assert isinstance(kiki.cat, Cat)

# Case 3
jiji = Cat.model_validate({"name" : "kiki", "friend": {"name": "lily"}})
assert isinstance(jiji.friend, Cat)

# Case 4 Fails. Expected to be similar to Case 2
jiji = Cat.model_validate({"name" : "kiki", "friend": "lily"})

Python, Pydantic & OS Version
pydantic version: 2.9.0
        pydantic-core version: 2.23.2
          pydantic-core build: profile=release pgo=false
                 install path: .../.venv/lib/python3.8/site-packages/pydantic
               python version: 3.8.19 (default, Apr  6 2024, 17:58:10)  [GCC 11.4.0]
                     platform: Linux-5.15.0-107-generic-x86_64-with-glibc2.35
             related packages: typing_extensions-4.12.2 fastapi-0.109.0
                       commit: unknown

There is a workaround:
class Cat(pydantic.BaseModel):

    name: str
    friend: Optional[Annotated[Cat, pydantic.BeforeValidator(cast_to_cat)]] = None

in which case
jiji = Cat.model_validate({"name" : "kiki", "friend": {"name": "lily"}})
jiji = Cat.model_validate({"name" : "kiki", "friend": "lily"})

both works

Overriding __get_pydantic_core_schema__ on Pydantic models is not a pattern we support currently. See https://github.com/pydantic/pydantic/issues/10160, I provided a workaround that could work but you'll also find plenty of discussion on the comments that follow.


Add Project Mentors

Describe the bug
Add two mentors in the project mentors section.
Here are there Github links-
https://github.com/DEEPALI-SUK
https://github.com/DEEPIKA-SUK

I am GSSoC22 contributor. Kindly assign me this issue.

@DEEPALI-SUK Kindly review my PR


added image sizing options

Added image sizing options from jspsych-image-button-response.js
Working on firefox 78.0.2 and chrome 81.0.4044.138

Thanks for this contribution @majorminors! And sorry to take so long to get to this merge (I missed the GH notification).


Ruby captsone project - Kanban Board

Group's members:

Sergio Usma @sergio-usma |  Team member 1 #2
Henok Mekonnen @henask12 | Team member 2 #3
Javier Vargas @Javivy  |  Team member 3 #4
Lawrence Kioko (Not available at the moment - On hold)  |  Team member 4 #5

Hi team 👋,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request 🛑
You have submitted a project that doesn't have the link to your project in the GitHub issue description. Please include this link to your issue description above ☝

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Please, ensure each card on the board has:

[ ] The number of points in the [Xpt] prefix.

[2pt] not [2px] (please correct this and other occurrences) 🛠👍

[ ] Kindly add a description of the task on every card on the board for proper documentation.

Hi Team 👋
Good job so far!
There are some issues that you still need to work on to prepare your project for the final evaluation but you are almost there!

Suggested changes ♻
Please, ensure each card on the board has:

[ ] The number of points in the [Xpt] prefix.

[2pt] not [2px] (please correct this and other occurrences) 🛠👍

[ ] Kindly add a description of the task on every card on the board for proper documentation.

Requirements

You can use as many of my suggestions as you want. If there is anything you would like to skip - feel free to do that. However, I strongly recommend you take them into account as they can make your code better._
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Hi @team,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights

[ ] Descriptive issue ✔
[ ] All requested changes are made ✔

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were missed by the previous reviewer and addressing them will really improve your application.
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think the code review was unfair, you can request a second opinion using this form.


feat: Use protoc-gen-validate as gohub validator tool.

What this PR does / why we need it:
Use protoc-gen-validate as gohub validator tool
Which issue(s) this PR fixes:
Fixes #
Specified Reviewers:
/assign @sfwn

/approve


Unable to successfully convert retinanet R50

Traceback (most recent call last):
File "/home/li/testcode/tool2/convert_dataloader.py", line 490, in
fp_model = copy.deepcopy(convert(onnx_model).to(device))
File "/home/li/.local/lib/python3.6/site-packages/onnx2torch/converter.py", line 107, in convert
version=version,
File "/home/li/.local/lib/python3.6/site-packages/onnx2torch/node_converters/registry.py", line 69, in get_converter
raise NotImplementedError(f'Converter is not implemented ({description})')
NotImplementedError: Converter is not implemented (OperationDescription(domain='', operation_type='NonZero', version=13))
I tried changing the opset but apparently it doesn't support non-zero operators. Can you tell me the details of the method the authors originally tested ? thanks

Hi @NTUTshaofong, we test convertion on the model retinanet_r50_fpn from the MMDetection framework. You can find it in our tests. You can also download our ONNX by the following link.
Can you please provide the details about your checkpoint?


Testing Google Analytics using Selenide like Playwright

The problem
I had watch a youtube channel https://www.youtube.com/watch?v=V2dgEhY-U0Y where Playwright can test the google analytics functionality. I wonder how to achieve this in Selenide using MiTMProxy or others built in features.
Tell us about your environment

Selenide Version: 6.8.1
Chrome\Firefox\IE Version: 110.00
Browser Driver Version: -
Selenium Version: 4
OS Version:  Win 10

Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it's easier to reproduce the bug.

@nicholaswkc34 If I understand correctly, I want to verify http requests/responses between browsers and outer world.
In Selenide,

using browser logs
using Javascript code
using Selenide's own built-in proxy

These posts were written in year 2019; later Selenium added another way: using CDP.
With CDP, you can verify all requests/responses by

devTools.addListener(Network.requestWillBeSent()...
devTools.addListener(Network.responseReceived()...
See PR 1691 for examples.
I guess Playwright also uses CDP.


Add option to disable topic validation

Signed-off-by: Paul Thiele<EMAIL_ADDRESS>Description
This PR adds the ability to optionally skip topic name validation for a given pub/sub.
Unblocks dapr/dapr#4461.
Also see: dapr/go-sdk/pull/271
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation

@thielepaul
Please address linter failures. You can run the linter locally with tox -e flake8.
A few other things:
Can you please update the documentation example at the following URL to provide a new example for how this might be used? https://github.com/dapr/python-sdk/blob/master/daprdocs/content/en/python-sdk-docs/python-sdk-extensions/python-grpc.md
Also could you update the example at:
https://github.com/dapr/python-sdk/tree/master/examples/pubsub-simple
We use these examples as integration tests. It would be great if you could subscribe to an additional subject with topic validation disabled. Then publish events and verify everything is working as expected. The README.md file actually runs the integration test -- within that file you will need to specify the expected output.

@thielepaul
Please address linter failures. You can run the linter locally with tox -e flake8.

done

A few other things: Can you please update the documentation example at the following URL to provide a new example for how this might be used? https://github.com/dapr/python-sdk/blob/master/daprdocs/content/en/python-sdk-docs/python-sdk-extensions/python-grpc.md

done

Also could you update the example at: https://github.com/dapr/python-sdk/tree/master/examples/pubsub-simple
We use these examples as integration tests. It would be great if you could subscribe to an additional subject with topic validation disabled. Then publish events and verify everything is working as expected. The README.md file actually runs the integration test -- within that file you will need to specify the expected output.

I really like the meachanical markdown framework! I had to add a small workaround as redis pub-sub does not support wildcard subscriptions, but I think this is better than adding a dependency to mqtt or nats or so.


Added enableInnerScroll prop

Added a prop in order to enable/disable the scroll inside the rendered card

#22


[WebSocket error] Portia cannot connect to the server on OSX.

Portia cannot connect to the server on OSX. WebSocket error.

Websocket closed, the same Win 7 via vagrant

Exactly same problem here,
tried in ubuntu 15.10 via vagrant and via docker, using both firefox and chrome.

did any of you managed to overcome this error?

Nope :( Is there any dev which can reply?

Have you tried with the latest version in the master branch?

Hello @ddofborg @ccvieira
Just tested latest version and works for me. I am using MacOSX 10.11.12

I just pulled the lastest version. It seems to work. I can create a project now. I will test it further.


Override "annotation"

We need some way to indicate overrides:

This will prevent overridden methods from defaulting to a superclass when the method call is renamed in the superclass and the caller, but not the subclass. If the subclass's overriden method is annotated, then the subclass should fail static analysis at compile time.

This will offer devel-time support for refactorings

There is a standard annotation 'override' in dart:core.


Uploading Image from VRCX Crashes app / Force closes self

App keeps force closing self / crashing when upload image on World / Avatar.
not sure only me getting this issue but its resent update starting happening.
VRCX Version: VRCX 2022.20.05
Worked last Version below fine.

Ah this is a issue with the Cef library I thought it was fixed but I guess not.


✨ Added ledge grabbing functionality.

I wanted to contribute with a ledge grabbing functionality. Also fixed an error 'missing fabric-api' when building the mod.
This error is due to a change on Fabric's api on newer versions.
I already added the config option 'isEnableLedgeGrab' for the functionality.

Thanks for the correction in fabric-api vs fabric. Nice contribution, too. I appreciate it.


[Error Handling] Errors returned by the APIs are not properly handled.

Describe the Issue:
Some API's return the error descriptions under the attribute detail and some return them under description.
How To Reproduce:

Navigate to the user portal in tenant mode.
Try to associate a user from a different domain.
An alert will be shown with a generic error message. i.e. "error occurred while adding the linked account".

Expected behavior:
The error returned from the API request should be displayed.
Screenshots:
Error returned by the API.

Alert shown on the UI.

Device Information :

Device: PC
OS: MacOS Mojave 10.14.6
Browser + Version Chrome 79.0.3945.130

This is fixed now.


removing GUI slates and near menu from automatic testing

Do you know why it is not working?

Nevermind I read your other comment


inconsistent/confusing warning about nimbleFunction not yet created

When using nimOptim or the (being drafted) nimIntegrate, we get the warning variable '<some_nimbleFunction>' has not been created yet when the output of optim is assigned to a variable. When instead the output is directly returned, the warning is not given. It looks like this relates to how typeEnv$.AllowUnknowns is set in sizeAssign vs. sizeReturn. In sizeAssign we set it to FALSE before calling asserts <- recurseSetSizes(code, symTab, typeEnv, useArgs = c(FALSE,  TRUE)), but we don't do that before calling recurseSetSizes in sizeReturn.
@perrydv do you have any idea why we handle .AllowUnknowns differently in these two situations?
Here's an example.
    objectiveFunction_inner <- nimbleFunction(
         run = function(par = double(1), power = double(0), scaling = double(0)) {
             return(sum(par) * exp(-sum(par ^ power) / scaling))
             returnType(double(0))
         }
    )
    objectiveFunction <- nimbleFunction(
        run = function(par = double(1)) {
            return(objectiveFunction_inner(par, 2, 3))
             returnType(double(0))
         }
     )
     optimizer <- nimbleFunction(
         run = function(method = character(0), fnscale = double(0)) {
             control <- optimDefaultControl()
             control$fnscale <- fnscale
             par <- c(0.1, -0.1)
             return(optim(par, objectiveFunction, method = method, control = control))   # NO WARNING
            ## If the following two lines replace the previous line, there is a WARNING.
             ## out <- optim(par, objectiveFunction, method = method, control = control))
             ## return(out)
             returnType(optimResultNimbleList())
         }
     )
     cOptimizer <- compileNimble(optimizer)

This duplicates (accidentally) #1295 but has more detail so I've closed 1295.

My thinking at the moment is there are two issues here.

We generally should warn if a variable (like b above) is missing in return() as we do with assign.
1a. I think there is an argument for erroring out if missing b rather than just warning, but I suspect Perry thought this through and decided on warning for good reason.
For nimOptim (and nimIntegrate) we should handle function args differently such that we look to see if they exist rather than standard processing of them as names. I think we may be able to modify sizeOptim  to deal with this.

Branch fix_1356 has changes to address both issues. For the first issue I set .AllowUnknowns to FALSE in sizeReturn. For the second, I flag the function argument of nimOptim as something not to warn about when not finding in the symbol table.
I am not seeing the full context here in terms of the size processing so my suggested fixes will need a review from @perrydv .
I will file a separate issue about the question of warning vs. error in the case above of b not being found.


Solaire mode support

Thanks for this awesome package!!!!
It would be wonderful to see support for Solaire mode. I find it helps productivity a lot.
https://github.com/hlissner/emacs-solaire-mode

Hey could you elaborate for me?
I think we might already have Solaire support.

Thanks for the reply! I mean that at least out-of-the box it doesn't seem to be working for me.
Solaire mode's goal is to have some different colors (within same palette) for windows that are source code or main editing vs minibuffers and helper windows.
This really helps in productivity by being able to quickly distinguish for example your code from Magit.
In the screenshot you can see my config, I might possibly be doing something wrong?

Solaire mode's docs say:
solaire-mode will disable itself if the active theme doesn't support it, but to ensure support a theme must at least change solaire-default-face's :background. My recommendation is that it is be slightly darker or lighter than default's background.
For full support, themes can customize the following faces:

Face
Remapped face

solaire-default-face
default

solaire-fringe-face
fringe

solaire-line-number-face
line-number

solaire-hl-line-face
hl-line

solaire-org-hide-face
org-hide, org-indent

solaire-mode-line-face
mode-line

solaire-mode-line-inactive-face
mode-line-inactive

solaire-header-line-face
header-line

Doing a M-x describe-face -> solaire-default-face returns
Face: solaire-default-face (sample) (customize this face)

Documentation:
Alternative version of the ‘default’ face.

           Family: unspecified
          Foundry: unspecified
            Width: unspecified
           Height: unspecified
           Weight: unspecified
            Slant: unspecified
       Foreground: unspecified
DistantForeground: unspecified
       Background: #181825
        Underline: unspecified
         Overline: unspecified
   Strike-through: unspecified
              Box: unspecified
          Inverse: unspecified
          Stipple: unspecified
             Font: unspecified
          Fontset: unspecified
           Extend: unspecified
          Inherit: unspecified

So this means, the variable was set, but set as the same color from background ? Kinda defeats the purpose then :smile:

I will change the background for now but edit further in the future


Split kubefed repo into two submodules: core and schedulerpreferences

What would you like to be added:
To easily identify the beta components of kubefed, we have decided to split the current sourcecode into two golang modules within the same repository:

kubefed-core: it would include all the core components for the federation of resources
kubefed-scheduler-preferences: it would focus on the scheduling preferences and additional properties.

Why is this needed:
This new organization would ease the maintenance and split the sourcecode and evolution of alpha and beta components.

/kind feature

/remove-lifecycle rotten


Vocabs in folders not published

What is strange, though, is that the vocabs in folders /nwbib and /rpb aren't published, compare https://test.skohub.io/hbz/lobid-vocabs/heads/master/ & https://github.com/hbz/lobid-vocabs. Or do I just don't find them?

https://github.com/hbz/skohub-vocabs/pull/74#issuecomment-603441293

is this still an issue? I just made a quick test with some vocabs in folders and everything seems to work as expected. @acka47 do you mind to test out?

is this still an issue? I just made a quick test with some vocabs in folders and everything seems to work as expected. @acka47 do you mind to test out?

@sroertgen how did you test this? Having a vocab in a sub directory of /data should work fine, but this issue is about having .ttl files in sub directories of the GitHub repo being built. I currently don't have the time to investigate this further, but as far as I can remember the problem originates at https://github.com/skohub-io/skohub-vocabs/blob/master/src/webHookServer.js#L106.

@sroertgen how did you test this? Having a vocab in a sub directory of /data should work fine, but this issue is about having .ttl files in sub directories of the GitHub repo being built. I currently don't have the time to investigate this further, but as far as I can remember the problem originates at https://github.com/skohub-io/skohub-vocabs/blob/master/src/webHookServer.js#L106.

ah, I'm sorry, I got this wrong then.

ah, I'm sorry, I got this wrong then.


Subflows: Element Sizer widget doesn't work after being placed inside a subflow

Current Behavior
When creating a subflow with Dashboard 2.0 nodes inside, the elementSizer() widget (where you define the size of a widget on a Dashboard 2.0 node) is not functional.
Expected Behavior
Users should be able to set any width and height of their widgets when inside a subflow (as a quick MVP improvement for this)
Future improvements could be a modification to the lementSizer() such that we can define auto in a single direction, i.e. 4 in height, but auto the width to fill it's parent/group
Steps To Reproduce
You will need the Node-RED 4.0.0-beta for this to be reproducible.

Create a new subflow in Node-RED
Drop any Dashboard 2.0 node into that subflow
Double-click the new node, and try to modify it's size.

Environment

Dashboard version: 1.4.0
Node-RED version: 4.0.0-beta

Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

Ideally I would like to be able to set the size via subflow properties.

Is it time to switch to typedInputs for width and height props?

I'm not convinced by this as a user experience - the existing widget is useful because it's context/group aware for the maximum value. However, having the width/height separately definable as "auto" (or "fill" as a new option?) could be very nice.

We could split this into:

Change the widget to be a typed in put with auto, num and env (Size 3 is probably appropriate)
Introduce the "fill" option (probably a size 3/5 on it's own)

Change the widget to be a typed in put with auto, num and env (Size 3 is probably appropriate)

I can pick this up as described in item 1.
Just need to double check:

this is for group widget only? or all places where a sizer exists?
there will be 2 inputs (height & width) both having Auto, num, env

for num, will there be any validation?

Alternatively, we could keep the sizer and add a checkbox "override size" (or similar) that swaps the sizer for the 2 inputs (that would permit Env Var syntax)

this is for group widget only? or all places where a sizer exists?

Good point, the core problem here is that the Widget's themselves don't have a functioning elementSizer widget when inside a subflow. As such, I vote:
Iteration 1 - if no group found, or if the group is an env-var, allow for any size definition on the widget elementSizer - that closes this issue.
Further iterations then seek to capture what is discussed here, and I'll open new issues accordingly, which could include the switching to TypedInputs, etc.

Joe, a compromise to achieve a level of automation might be:
If the UI node is inside a subflow, show typedinputs that permit auto, num, env
This way, regular uses of nodes (outside of subflow) get the familiar sizer
Users attempting do RAD with subflows will need to set values or env vars. (i mean the sizer currently doesnt work nor makes sense in the subflow as is anyhow right?)

Let's do it @Steve-Mcl - I'm still cautious of over-scoping/over-engineering here in order to resolve the issue at hand. Please don't get carried away.

As discussed and demoed, the sizer is now displayed as text boxes instead (MVP - in that users can freely set width or ${env}
If the feature gets used and improvements are requested, this can be a 2nd iteration.


Transfer jupyter-suggestions

Target

The code repository: https://github.com/QuantStack/jupyter-suggestions
The npm package on npmjs.com (if available): N/A
The python package on pypi.org (if available): N/A
The conda-forge recipe on https://github.com/conda-forge (if available): N/A
The documentation website (if available): N/A

cc @trungleduc
Reason
The jupyter-suggestions project will likely soon be useful to other Jupyter projects such as jupyter-ai and jupyter-collaboration
Checklist

[x] You are owner of the repository you want to transfer
Which role do you want to have in the jupyterlab-contrib organization (check one of):

[x] Help with all jupyterlab-contrib repositories
[ ] Help with the transferred repository only
[ ] I don't have time anymore to keep helping the project

The transferred repository (check one of):

[x] Must keep the extension name
[ ] Cannot use the original name
[ ] I don't care

[x] The code is available under a Open Source license
[x] A license file is present in the code repository
[x] The extension is working on at least JupyterLab 3.x
[x] The repository contains a README file describing:

[x] The provided feature(s)
[x] A picture illustrating the feature(s)
[x] The available options/settings (if applicable)
[x] How to install the extension
[x] optional a Binder link to test the feature online

[ ] optional The frontend code (Typescript/Javascript) is tested
[ ] optional The backend code (Python) is tested
[x] I certify the extension is not using exclusively paid-plan of any commercial service
[x] I will help the transfer process on the code repository AND the built packages

You must enable two-factor authentication on GitHub

🚀  Thank @jtpio for this initiative.

Done! https://github.com/jupyterlab-contrib/jupyter-suggestions


dropdown is having overall in district wise status but not in course wise status

District wise status(Teacher Training)
Course wise status(Teacher Training)

Retested not fixed

@pandutibil Course wise status tab(Nishtha)
After selecting overall from dropdown -- Nishtha1 program data is displaying

@Inchara98 Different courses are there in the three Nishtha programs, that's why same values are coming for overall selection.
To check this please observe when you select overall option, all the course details will be displayed from all the programs.


STI parent access denied after adding cannot on child

Steps to reproduce
We have the following STI inheritance: Toyota < Car
Setting the rules:
can :read, Car
cannot :read, Toyota

Checking the roles:
can? :read, Car # results to false
Expected behavior
can? :read, Car # should be true
Because we granted an access to all types of Car except Toyota
Actual behavior
can? :read, Car # results to false
System configuration
Rails version: 7.0.2
Ruby version: 3.0.3
CanCanCan version: 3.3.0

There is currently an open pull request: https://github.com/CanCanCommunity/cancancan/pull/689 which should fix this issue.

Seems that this issue is not still fixed.
There is the test in repo but it works only for non-STI relation:
    it 'cannot rules are not effecting parent class' do
      u1 = User.create!(name: 'pippo')
      ability = Ability.new(u1)
      ability.can :manage, Parent
      ability.cannot :manage, Child
      expect(ability).not_to be_able_to(:index, Child)
      expect(ability).to be_able_to(:index, Parent)
    end

If we have Child inherited from Parent using STI, this would not pass.

Problem still reproduced on 3.6.0 version


Is it possible to see the KMeans applied ?

Hello @PetrKorab,
Currently working on a similar idea i followed your approach and I would really like to see how the KMeans is applied here ?
Is it possible to provide the kmeans as well please ?
Thanks.

Hello Wassila,
I used Orange (part of Anaconda) because it was more efficient that coding it in python I uploaded the Orange canvas: https://github.com/PetrKorab/Clustering-Textual-Data-with-Word2Vec

Thank you for your answer !
So when you upload the "kmeans-clustering.xlsx" it is generated in orange ?
Thanks for the upload

Yes, completely. Here you have the data: https://www.dropbox.com/home/Wassila - github

Thank you so much !


Trampoline namespaces

Example of https://github.com/gtk-rs/gir/issues/239 fixing
WIP as need sub-module gir update.

Gir's PR will be today, it need some refactoring.

@gkoz, seems we need generate cairo's records (RectangleInt at minimum)

It appears the ffi type GdkRectangle is not an alias so on the ffi side there shouldn't be any ties to cairo_rectangle_int_t and on the rust side we have many options.

It alias
    <alias name="Rectangle" c:type="GdkRectangle">
      <doc xml:space="preserve">Defines the position and size of a rectangle. It is identical to
#cairo_rectangle_int_t.</doc>
      <type name="cairo.RectangleInt" c:type="cairo_rectangle_int_t"/>
    </alias>

Curious. It is an alias in the gir-files we use but the newer versions make it a record:
<record name="Rectangle"
            c:type="GdkRectangle"
            glib:type-name="GdkRectangle"
            glib:get-type="gdk_rectangle_get_type"
            c:symbol-prefix="rectangle">
      <doc xml:space="preserve">Defines the position and size of a rectangle. It is identical to
#cairo_rectangle_int_t.</doc>

From looking at the build error in add-editable we just need a FromGlibPtr implementation for RectangleInt?

Yes.

Fixed it.

@gkoz If you add FromGlibPtr to cairo before this merge, I enable add-editable here.
Any way you or @GuillaumeGomez need to merge https://github.com/gtk-rs/gir/pull/254 first.

Updated

Oh great, converting RectangleInt means some shuffling in gdk...

That's https://github.com/gtk-rs/gdk/pull/117 and https://github.com/gtk-rs/cairo/pull/76

I deignored add-editable
Thanks, @gkoz.

I confirmed that this PR will builds with gkoz's PR

Ready for merge after build recheck.

My bad, missed that https://github.com/gtk-rs/gdk/pull/117 still not merged.

Add ignoring signals for CellArea as it has manual part due TreePath parameters.
Marked all #manual ignores, added reason for it.

Include fix for https://github.com/gtk-rs/gir/issues/241

Ready for review and merge.

All good for me. Thanks @EPashkin!


New package: HCGT v1.0.0

Registering package: HCGT
Repository: https://github.com/eugeneai/HCGT.jl
Created by: @eugeneai
Version: v1.0.0
Commit: 0ced994edf75696c14a08732cf55a09287dbdfe1
Reviewed by: @eugeneai
Reference: https://github.com/eugeneai/HCGT.jl/issues/1#issuecomment-1833528778
Description: Geotherm calculation routines according to Dr. Derrek Hasterok and Dr. David Chapman

HCGeotherm might be a suitable name


Add a lock around jdbc connection

Support case AGENT-7456.
A user is using five instances of this check and they were failing with this error:
2022-04-14 12:20:30 PDT | CORE | ERROR | (pkg/collector/python/datadog_agent.go:122 in LogMessage) | oracle:4369afcc1ec9cf0 | (core.py:128) | Error querying process: java.lang.UnsatisfiedLinkError: Native Library /opt/datadog-agent/embedded/lib/python3.8/site-packages/_jpype.cpython-38-x86_64-linux-gnu.so already loaded in another classloader

The problem seems to be a limitation of jpype itself about running it on multiple threads so this change introduces a lock around creating a connection.
A more severe approach has been explored in https://github.com/DataDog/integrations-core/pull/11882 but the user has tested the changes here and found the issue resolved.

Looks good, I don't think we are able to write tests for multiple instances, correct?
A concurrency test would be very hard to make reliable (the problem only appears when multiple instances are running simultaneously)


Verify ML-DSA

The proofs require three levels of work:

[x] Lax-checking the F* code (should be on CI) #341
[ ] Verifying the platform-dependent code (simd/portable and simd/avx2)
[ ] Verifying the generic ML-DSA code

We will begin with simd/portable in the second half of September,
wait for an optimized simd/avx2, and then move to the generic code.

The plan for the ML-DSA proofs are as follows:

Prove the arithmetic code (by porting them from ML-KEM where possible)
Prove the serialization code (by adapting and reusing the tactic from ML-KEM)
Prove the portable NTT code
Prove the optimized AVX2 NTT code
Set the pre- and post-conditions for the SIMD trait
Prove the generic algorithms


Sor10874/readmes/51 55

luckily these seemed straight forward....
open mobile scene package
open scene portal item
open street map layer
perform spatial operations (java and kotlin)

over to you @hud10837 !

ok @hud10837 I made your suggested change and took a swing at the spatial operations How it works edits. I'd like to ask @Rachael-E to look at that particular change as you recommended in your comment.