Compatibility with l3color module of LaTeX3

Named colors defined with the interfaces in the l3color module of LaTeX3 are not usable with xcolor.
See for instance https://tex.stackexchange.com/questions/682078/l3colors-colors-unusable-with-tikz
Would be useful if xcolor could also check named colors defined with the l3color module.

We know :)

I suspected so, but not seeing the issue here, I thought that in any case users would have benefited from having the issue tracked here.


how could implement only allowing arrow end with top of cell and start from bottom of cell

I would like implement the arrow connection  constraints according to the following scene:
When a user want to connecting node A to node B, only allow connect from bottom point of A to the top point of B and disable start with top point of A and end with bottom  point of B;
Above all , I want to add constraints  on vertex point, if a vertex has four point : top ,bottom , left ,right; it would constraint the direction of arrow at specific point of vertex;
How can I implement this function? Does the mxGraph library support this?

fixed

Could you share the code on how did you fix this?


build: new build system

This PR aligns the build process to that of which belongs to @vuex-orm/core.
Type of PR:

[ ] Bugfix
[ ] Feature
[x] Code style update
[ ] Refactor
[x] Build-related changes
[x] Documentation
[ ] Other, please describe:

Breaking changes:

[x] No
[ ] Yes

Details
Brings a new build system in-line with core's build system. Moreover, various chores carried out to documentation and repo files to align with core's repo.
This PR does not qualify for a release.

@kiaking since dev is a newly added branch there will be substantial changes to start with. I'll aim to break these PR's down into smaller chunks going forward.
Let me know if you have anything to add.

Closed PR and merged from topic branch as per guidelines.


Probably You could port MultiWii to ESP32

To get a good start, you could port MultiWii firmware to your platform. It has not developed for a long time, but it will allow to connect more people who are interested in ESP32, but who continue to use the Arduino IDE, and do not want to move to complex console compilers. And to include more developers in the development, you could share the wiring diagram of the standard NodeMCU ESP32, and sensors such as GY-86, as is done on your project.

Currently I am working on a custom SDK for ESP32 without FreeRTOS (or at least a subset with SPI and I2C drivers). That will probably take a lot of time. After that I would like to rewrite this code to run on my SDK.
I do not plan to support Arduino IDE. It is not that hard to compile the program from a console.

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
mike-fr13, @JohnRenatoDev, @Delegat43, @theiceeman, @jkyochen, @jagadishkamathk, @salis, @rori4, @Runskey, @frank-lim-partior, @asgeir-s, @m0t0k1ch1, @noliveira95, @arka786, @ye-yo, @n6o6n6, @Jisen, @gaboesquivel, @MarcMogdanz, @xiaojiujiuY


There's confusion around whether or not jupyterServerUri is required or not

Multiple bugs have been logged with people using localhost to run a server
There's also been bugs where people have thought just entering the jupyter server URI would startup jupyter.
I think at a minimum we need to rename this setting to include the word 'remote' and somehow make sure it's clear it's not necessary.

We should rename this setting to be something like remoteJupyterUri.
Fix quickpick so you can't type in the first step.

Validation notes:
Setting not changes (as we have to deprecate, which would ignore users old settings)
Quick Pick was totally removed from the flow
Wording was changed.

Not sure this is worth filing or not, but if you change the server URI after you've already connected, it has no effect. You have to restart VS code to get it to use the new URI.
Actually yeah I'll do that. Otherwise validated.


IAMv2 Projects: Node managers and manually added nodes

PROBLEM STATEMENT:
I want to be able to assign manually added nodes and node integrations to projects. I want to ensure those nodes and node integrations (+ all nodes added by those integrations) are only viewable by ppl with access to those projects.
This is a continuation of the rbac work that was done on ingested nodes. Since these resources are created in Automate, users will be able to manually select which projects the nodes/node integrations should belong to (instead of using ingest rules like we do for ingested nodes)
CUSTOMER IMPACT:
Users need a way to assign nodes/node integrations to projects to be able to ensure the correct ppl have access to those resources.
ACCEPTANCE CRITERIA:

project select widget present on node add and node integration add screens
project select widget present on node edit and node integration edit screens
a manually added node or node added via integration should have project information included in scan report

TEST SCENARIO:

add a couple nodes, assign to projects
add a couple node integrations, assign to projects
switch to a project view that was not selected during resource creation == don't see the resources
switch to a project view that should only have some of the resources, ensure expectations match result
run a scan on a few nodes
ensure the scanned node object, viewable from compliance reporting, reflects the same projects assignment as the manually created resource

Aha! Link: https://chef.aha.io/epics/A2-E-143

i added the requires planning label to this b/c while it was planned out/issues are attached to this epic, it probably needs some revisiting.


Paragraph Block: drag cursor to select nodes

I've done some preliminary work on this using mousedown and mouseup to determine if a mouse is clicked, and then simply hovering over individual nodes to select/deselect them. That appraoch however is not consistent enough to be reliable, so I'm shelving this for some future time. Perhaps the Drag/Drop API could be used for this instead somehow?


ShareFile contentType parameter

This documentation does not explain what the contentType parameter is very well.  It says: "Explicit content type of the file."  Is that the MimeType?  I'm not sure me or others know what contentType is.

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

ID: 5e5ab81d-1b4c-6be3-16a3-23b259d29a9a
Version Independent ID: b05ac121-f4df-0313-21a6-dbb2668417b8
Content: ShareFile Constructor (Xamarin.Essentials)
Content Source: docs/en/Xamarin.Essentials/ShareFile.xml
Product: xamarin
Technology: xamarin-essentials
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks for your feedback @sehuff
@jamesmontemagno FYI this is referencing the API docs, not the conceptual docs.

Good feedback @redth perhaps you can fill in the details here. I think it is just the mime type.

I think we can close this issue now that there is a PR in the repo to clarify.
Thanks!


db *Database is currently a global variable, not thread safe?

Investigate how mgo and postgres does it.


UI Router Considerations

David,
Just wrote up the following wiki entry on UI Router templates: https://github.com/RupertJS/rupert/wiki/Cookbook:-Angular-UI-Router-Templates. Please "QA" it when you get the chance.
While writing it, I ran into a concern. Consider there needs to be multiple template files (safari-template.jade and arctic-template.jade) in a "feature" directory called zoo. It appears (and I could be wrong here) that Rupert can only reference the $templateCache of key 'zoo', causing ambiguity since there are > 1 templates.
Would it be worthwhile for me to write up a PR that sets/gets $templateCache as named more granularly (zoo-arctic and zoo-safari as key names, for example) or can you make a case for the 1 template per feature directory implementation?

Merged the PR for the updated README. Thanks so many bunches!

Merged the PR for the updated README. Thanks so many bunches!

:+1:

:+1:


Various Enhancements

Servers can now accept both a log and errorCat option to override the ponos defaults
Logging and error reporting has been decoupled (error.js has been removed)
Server .start and .stop errors are now automatically reported via ErrorCat before being re-thrown
setTask can take a new third opts argument that allows specific worker options to be set for a queue (at this time only msTimeout)
setTasks can accept a mapping from queue name to an options object (requires a task be defined as a function.
setTask now throws when you do not provide a task hander of type function
Made the tests for private server methods a bit more rigorous

hokay, I think I'm done reviewing for the time being. few thoughts:

can you add something to the README about using custom loggers/error reporters?
I'm never going to be used to new-line-ending-parentheses
I didn't do a specific check for any of these, but chai allows you to have a 'message' as the last parameter of a lot of its assertions. I think I'm finding that when I make multiple assertions in a test (it), having those extra messages helps a lot

Looks pretty good overall though :)


Failure to notify Slack on star

Hey, the issue is still there. I just joined the slack community and this happened. I'm adding a screenshot if that is helpful.
Screenshot:

Originally posted by @lohityarra in https://github.com/service-mesh-performance/service-mesh-performance/issues/237#issuecomment-930373603

Have no idea what's going on. A newbie joining the community today.

@lohityarra, no sweat. @amino19 will walk you through it, if you'd like to give it a go.

@lohityarra you could still try though if you have basic knowledge of git😅, the workflow will be exactly like https://github.com/meshery/meshery/blob/master/.github/workflows/slack.yml this. with just the repository name change.

Okay, @warunicorn19 I'll give it a try. I'll fork and do the repo name change, and hopefully it works.

@leecalcote I gave it a try and made the change that @warunicorn19 said. Should I create a pull request?

@lohityarra: Sure, please create a pull request, so we'll guide you. :slightly_smiling_face:
@leecalcote: On it, with Lohit!
@warunicorn19: Pl assign him!

@amino19 there's a PR open, could you please review.


Check Functions for use of methods that modify the input parameters

Methods like proximal  accept an out parameter. However, if used as inline functions as in SPDHG they may not work as expected.
https://github.com/TomographicImaging/CIL/blob/39b6f7a722afb6d5f0e2d47a99ce8266378c2a65/Wrappers/Python/cil/optimisation/algorithms/SPDHG.py#L178

#914 fixes this for SPDHG. I'm not sure what we want to do here, I think the user (and us!) should not pass the same object as an input and an output unless the function docstring confirms it is able to be used in place.


api functions

Names of function may differ
chatID is the same as userID
Api should include functions:
getLearnWord(chatID int64) Word, error
Which return a random word from a list of global words that this user have never seen
error should equal nil unless there is an error when accessing database
getReviseWord(chatID int64) Word, error
Which should return a random word from a list of words that this user have seen and should revise (determined by time)
OR nil when there are no words that user can revise
error should equal nil unless there is an error when accessing database
setWord(word Word, isLearned bool, chatID int64) error
Sets word for this user to the next level or revision if isLearned is false
Sets word for this user to be learned (max level of revision) isLearned is true
error should equal nil unless there is an error when accessing database
initDatabase() error
Which should initialize tables and fill them with words
error should equal nil unless there is an error when accessing database
For now that is all

Add all methods that u provided
Add test() method for debug


grapher usage question

Hi,
I have a question on how to setup grapher and links. Let's say I have two collections: Users and Groups. Groups will have a a field called memberIds that is an array of Users.
What I want to do is get a list of all the groups I am a member of, and get the firstName of all the other users of the groups as well. I set up the schema/links in this way:
type Group @mongo(name: "groups")
{
  _id: ID!
  name: String
  members: [User] @link(field: "memberIds")
  admins: [User] @link(field: "adminIds")
}

# our user type
type User @mongo(name: "users")
{
  _id: ID!
  emails: [Email]
  firstName: String
  lastName: String
  fullName: String
  roles: [String]
  groups: [Group] @link(to: "members")
  admins: [Group] @link(to: "admins")
}

Here is my GraphQL query:
query groups {
  groups{
    _id
    name
    members {
      _id
      firstName
      roles
    }
  }
}

The issue I am facing is that the first name of user is not being retrieved:
{
  "data": {
    "groups": [
      {
        "_id": "YqzhXSWYp6BXGBRkz",
        "name": "Test Group",
        "members": [
          {
            "_id": "PHpfwhHDR25koG5Bd",
            "firstName": null,
            "roles": [
              "seamlz.factory"
            ]
          }
        ]
      }
    ]
  },
  "errors": [
    {
      "message": "Cannot read property 'firstName' of undefined",
      "locations": [
        {
          "line": 7,
          "column": 7
        }
      ],
      "path": [
        "groups",
        0,
        "members",
        0,
        "firstName"
      ]
    }
  ]
}

The first name is actually buried in the profile object in the user collection:
{
	"_id" : "PHpfwhHDR25koG5Bd",
	"createdAt" : ISODate("2018-07-31T07:34:47.128Z"),
	"services" : {
		"phone" : {

		},
		"resume" : {
			"loginTokens" : [
				{
					"when" : ISODate("2018-07-31T07:34:55.384Z"),
					"hashedToken" : "65jCfZi4ItIU3OwQyhUEZg158QUXp21vV6thfYV/31c="
				}
			]
		}
	},
	"phone" : {
		"number" : "+19253174023",
		"verified" : true
	},
	"profile" : {
		"name" : "Vineet Chikarmane",
		"firstName" : "Vineet",
		"lastName" : "Chikarmane",
		"company" : "Pret Interpret"
	},
	"roles" : [
		"seamlz.factory"
	]
}

How do I get grapher to dig into the profile section to retrieve the firstName?
Thanks!

@ujwal-setlur yes I understand, the problem now lies in tying GraphQL with Grapher. Because you have firstName stored in User, and most likely I'm guessing you have a resolver that reads from profile that firstName, yet you put it at top level in User.
You have the following options:

(Recommended) Create a Reducer for Profile Name

Users.addReducers({
    'firstName': {
         body: { 'profile.firstName': 1 }
    },
    reduce: obj => obj.profile.firstName
})

Now you can safely use it.

Inject profile in your query via embody: https://github.com/cult-of-coders/grapher/blob/master/docs/graphql.md#creating-your-queries

This is what we do with @map directive from https://github.com/cult-of-coders/grapher-schema-directives, but I created an issue: https://github.com/cult-of-coders/grapher-schema-directives/issues/8 and will solve it.

@theodorDiaconu, thanks I will try both options.

@ujwal-setlur solved in<EMAIL_ADDRESS>firstName: String @map("profile.firstName")

Elegant and automatic. I will update deps here as well in my next iteration. I have some nice things to add.

@theodorDiaconu, fantastic! I tried both your options, and both worked! I had actually tried the embody options last night, but I was not injecting profile in the right place. Thank you so much. I keep being amazed how powerful this stack is. Kudos!

We can close this I think.

@theodorDiaconu unfortunately, the new map directive for nested fields in grapher-schema-directives 0.1.6 does not work:
firstName: String @map("profile.firstName")

I get a build error. I get:
imports/api/users/user.graphql:18:26: Syntax Error: Expected Name, found String "profile.firstName"

Then I tried
firstName: String @map(field: "profile.firstName")

This time, the app builds, but the query fails:
query users {
  users{
    _id
    name
    company
    roles
    groups {
      _id
      name
      description
    }
  }
}

I get:
{
  "data": {
    "users": null
  },
  "errors": [
    {
      "message": "object is not defined",
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "users"
      ]
    }
  ]
}

@theodorDiaconu I found a bug in grapher-schema-directives 0.1.6. I have opened a pull request:
https://github.com/cult-of-coders/grapher-schema-directives/pull/10

It was fixed and released 0.1.7. Sorry about that.


Little11 - Facebook status bar glitch

When using the iPad status bar with rounded screen corners > 10, the status bar glitches out when going in the comment section and Facebook app freezes and needs to be killed. Version 1.2.1 of Little11, iPhone 8 iOS 13.3 using Checkra1n 0.9.8.

This will be fixed in the next update


飞桨一组——小组3——7.13 上午 pr2

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


Update all plugins

As a(n) Admin
I want to keep my plugins updated
So that we can get the new features and fixes
Detailed description:

[x] ArmorStandTools
[ ] BungeeControl-Red
[x] BuycraftX
[x] BuycraftX-Bungee
[ ] ChatControlRed [Paid]
[x] Chunky
[x] CommandPanels
[x] CoreProtect
[x] DecentHolograms
[x] Essentials
[x] EssentialsAntiBuild
[x] EssentialsChat
[x] EssentialsGeoIP
[x] EssentialsProtect
[x] EssentialsSpawn
[x] Factions
[x] FastAsyncWorldEdit
[x] GadgetsMenu [Paid]
[x] GSit
[x] ImageOnMap
[x] LibsDisguises
[x] LuckPerms
[x] LuckPerms-Bungee
[x] Multiverse-Core
[x] Parkour
[x] ParkourTopTen
[x] PlaceholderAPI
[x] Plan
[x] PlotSquared [Paid]
[x] ProtocolLib
[x] Reconnect
[x] SuperVanish
[x] TAB
[x] Vault
[x] ViaBackwards
[x] ViaVersion
[x] VoidGen
[x] Votifier (Also go by NuVotifier)
[x] VotingPlugin
[x] Vulcan [Paid]
[x] VulcanBungee
[x] WorldBorder
[x] WorldEdit
[x] WorldGuard
[x] WorldGuardExtraFlags
[ ] Paper
[ ] Flamecord

I'm working on testing them locally.
Please don't change any checkmarks, thank you =^.^=

I'm unable to do the last 4 tasks.
Hopefully @Fuglen can do something about that ❤


The theme isn't wotking

lilypichu theme isn't working right for me, first the member list is bugging then the server folder is bugging and now it doesn't even have the box on the right at all

same issue for me, discord recently updated so themes and plugins have to be manually updated - should be fixed within a couple days


Transfer hook offchain and onchain helpers bugfix

This PR introduces some modifications to Token2022's off-chain and on-chain helpers that simply convert a transfer instruction into an Execute instruction before resolving the extra account metas.
Since anyone storing extra account meta configs should be considering the list of accounts as it will arrive in their Transfer Hook program's Execute instruction, it makes sense to resolve for Execute.
After all, the main problem we have here is that we're asking TLV Account Resolution to resolve the extra account metas for an Execute instruction, but we're not actually feeding it a valid Execute instruction. Instead, we're feeding it a transfer instruction, typically TransferChecked.
I've also added some tests!
Closes #6064

A Note on Token2022 Release
A release is necessary to publish this bugfix. However, since this change is specific to Token2022's off-chain and on-chain helpers, the on-chain program does not need to be modified. Developers will simply need to use the newer version of the crate, as well as the newer versions of the Token Client and CLI if they'd like to use the repaired helpers.
We can communicate the bug in question by describing the exact use cases one may encounter issues:

Defining extra account metas that have seed configurations pointing to instruction data by index
Defining extra account metas that have seed configurations pointing to other extra account metas by index (not instruction accounts; these will work just fine)

This means the following extra account meta configurations will still work as expected:

Defining extra account metas that have fixed addresses
Defining extra account metas that have seed configurations with literal bytes

Also, while we're at it, I think we need to publish some extremely detailed documentation on how to use Transfer Hook extra metas.

Anyone has an idea why SetTransferFee instruction is not being implemented? Weird 🤔🤔

Hey @joncinque I'm going to break this up into 3 PRs for easier review, but I'd like for you to have a look at the linked issue and the general proposed solution, as well as my notes on release.

Great catch! The issue is definitely valid, it's definitely best to split this up, the release plan makes sense, and we definitely need more docs :sweat_smile:
It makes me realize that seed configurations won't work in all cases. For example, if you're writing a swap program, and a token derives a PDA based on instruction data, then there's no way to get the right address, since the amount will be variable based on the swap calculation.
I'll make some comments on the interface

It makes me realize that seed configurations won't work in all cases. For example, if you're writing a swap program, and a token derives a PDA based on instruction data, then there's no way to get the right address, since the amount will be variable based on the swap calculation.

Actually I'm glad you brought this up. I have been mulling on an idea for a more dynamic approach to some account keys, but I haven't thought through all of the implementation yet.
The use case I had in mind was "what if I want to require an extra account meta that's not a PDA but can be different every time someone invokes my program?". For example, let's say I require some program ID to CPI to, and maybe that program just has to implement some interface. Right now you'd have to make that a static fixed address, but it could be set to [0u8; 32] and that just means "wildcard". That way it can be whatever address!
Note if we did add more seed support we still wouldn't have to change Token2022's on-chain program. 🙏🏼
As far as the instruction data issue you presented, I think that's probably okay and not our concern at the moment. Technically no matter what program you're writing, you have to implement the Execute instruction. That means your instruction data is always going to be <discriminator (8)> + <amount (8)>. If you extend inputs through account state, you're covered with Seed::AccountData and if you are doing calculations within the program, that's a really far-out edge case in my opinion that's hard to use as a seed even natively.
Curious your thoughts on either of these points.

FYI I've added the comprehensive docs to my list, and I'll produce something next week.

That way it can be whatever address!

Seems like that should be a different ExtraAccountMeta type entirely. It should be fine to implement that as a non-breaking change and use the newer library in token-2022 for the next deployment if you really want to support it. Has anyone asked for it? I'm not even sure how the resolver would work for that. Given a huge number of accounts, how does it pick which one is the "bonus" one?

if you are doing calculations within the program, that's a really far-out edge case in my opinion that's hard to use as a seed even natively

We need to always consider supporting DeFi or trading apps, so doing calculations shouldn't be considered an edge case. We'll just have to hope that people won't use instruction data for deriving their transfer hook accounts :grimacing:

That way it can be whatever address!

Seems like that should be a different ExtraAccountMeta type entirely. It should be fine to implement that as a non-breaking change and use the newer library in token-2022 for the next deployment if you really want to support it. Has anyone asked for it? I'm not even sure how the resolver would work for that. Given a huge number of accounts, how does it pick which one is the "bonus" one?

Agreed, it would be another ExtraAccountMeta type. And yeah, this was where I hit the snag, lol.

if you are doing calculations within the program, that's a really far-out edge case in my opinion that's hard to use as a seed even natively

We need to always consider supporting DeFi or trading apps, so doing calculations shouldn't be considered an edge case. We'll just have to hope that people won't use instruction data for deriving their transfer hook accounts 😬

But isn't the instruction data always Execute, ie <discriminator (8)> + <amount (8)>? That's the Transfer Hook interface. You couldn't use another instruction.

But isn't the instruction data always Execute, ie <discriminator (8)> + <amount (8)>? That's the Transfer Hook interface. You couldn't use another instruction.

Correct. I was focusing on the amount part, which will be impossible to figure out off-chain for trading applications.

Closing in favor of the segmented PRs going in for this.


Bracketed properties completions

Testing #42370
In some cases only the properties without special characters (emojis, whitespaces, etc) show up as suggestions.
Example:
const z = {
    'a': 4,
    'ad ver ti sing ': 3,
    '😁': true,
    ' whitespace': false,
    'hasemoji': '   🃔    🀱🀴🁇🀸',
    'has white space': true,
    'ending whitespace  ': true,
    321: 4,
    "name": function (arg) {
        this["ending whitespace  "] = false;
        console.log("hello world");
    }
}

When typing z. I've seen the following behaviors, depending on where in the code I'm writing:

All the properties show up as suggestions
Only the properties that don't need bracket accesors show up. If I start writing one of them, they appear.

can you extend this to TSX/JSX also? with with we will have intellisense on aria-* properties in react.


Add support for Slimefun items (via dough CustomItemStack API)

When using Slimefun and HuskSync on the subserver, the guide book that comes with Slimefun cannot be opened
This problem also occurs on ItemJoin, and the menu bound with the menu command cannot be opened.
If you don’t call the chest inventory like ChestCommands, the item can be used normally
After the cross-server has not been tested
Proxy: FlameCord 0.6.8
Backend servers: Patina 1.17.1 (a paper fork)
MariaDB 10.5.6 | Data is stored in UTF-8 format
Redis 6.2.6
all working normally
HuskSync: 1.2.2

Can you confirm if this happens on first join, or if the book only stops working after relief

Can you confirm if this happens on first join, or if the book only stops working after relog?

after relog

Unfortunately this is down to Slimefun using (dough)[https://github.com/baked-libs/dough]'s custom ItemStack API which doesn't make use of persistent data containers; it's not supported by this plugin.
Therefore, not a bug, as per README. I'll convert this issue to a feature request to support Slimefun.

ummm but slimefun still use pdc and i successfully sync the slimefun items

ummm but slimefun still use PDC and i successfully sync the slimefun items

Oh, OK- guess I misinterpreted. In that case, I'll close this.


A virtual disk support provider for the specified file was not found. Error code: Wsl/Service/0xc03a0014

Windows Version
Windows 11 Pro [OS build 22621.3737] Version 22H2
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-2
Distro Version
Ubuntu 22.04
Other Software

AMD SVM in enabled

Hyper-V and virtual machine setting:

The following all installed and enabled:
Microsoft Hyper-V Virtualization Infrastructure Driver
Composite Bus Enumerator
Microsoft Virtual Disk Enumerator
UMBus Root Bus Enumerator
Microsoft Virtual Network Adapter Enumerator NDIS
Device Redirector Bus Enumerator (if applicable)
Repro Steps
wsl --status
Default Distribution: Ubuntu-22.04
Default Version: 2
wsl -l -v
NAME            STATE           VERSION
Ubuntu-22.04    Stopped         1
wsl --set-version Ubuntu-22.04 2
Error:
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion in progress, this may take a few minutes.
A virtual disk support provider for the specified file was not found.
Error code: Wsl/Service/0xc03a0014
Expected Behavior
Expect Conversion complete
Actual Behavior
Error:
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion in progress, this may take a few minutes.
A virtual disk support provider for the specified file was not found.
Error code: Wsl/Service/0xc03a0014
Diagnostic Logs
WslLogs-2024-10-23_14-54-04.zip

@mattkur Nice to see your message. It happened every time when I try to use WSL 2 to start Linux. However, if I use WSL 1, it works fine. I am sure I did enable visualization on BIOS (I am using AMD core so SVM is enabled). The configuration of Microsoft Hyper V are all enabled.
I am also interested to work with you together! You can contact me privately though my email<EMAIL_ADDRESS>

Thanks @paulip114 . Sending you an email.

I am consistently receiving this same error ( The Hyper-V Virtual Machine Management service encountered an unexpected error: A virtual disk support provider for the specified file was not found. (0xC03A0014).) trying to create ANY VM on my Windows 11 Pro machine. I have one SSD and one HDD installed. Error is consistent trying to create either a VM or simply a VHD/VHDX on either. Would like to be included in the effort if at all possible<EMAIL_ADDRESS>


configuration option to disallow calling exec to get git information

Fixes #220
Added the allow_exec configuration option which defaults to true to conform to the prior behaviour. If you set it to false, you can still pass the branch via the serverBranch or branch configuration option.

This is great, thanks, usually the branch on a kubernetes deploy because it is production most of the time is master if not all, and the sha1 is already being passed as ASSETS_PARAMETER, so this helps a lot! thanks.


Are there any step by step tutorials for how to use subversions?

Are there any step by step tutorials for how to use subversions for images as thumbnails? The package overall is great!
thanks a lot!

Hi @spiotr12 ,
Thank you. I'm glad you found my work useful.
Have you seen this demo?

Yes, but it is all in coffee script which I find difficult to extract the code to use in thumbnails.
in this section link you redirect to 'Create and Manage Subversions' but you don't mention any thumbnails there or at least how to use this for images files.  That would be great If you could put up some more info there.
Thanks a lot if you'd do!

There is pseudo code compatible with any need, like image, video or any other file subversion. Basic idea is what you catch uploaded file in onAfterUpload hook. Then you just update MongoDB record.
For example you've received image, when onAfterUpload is triggered you take file's path and send it to gm (GraphicsMagic), after it returns data - you update file's versions with new data.

Okay, I will try that. Thanks!

@spiotr12 let me know if it works for you

Hi
I've managed to do this. I've used GraphicsMagic Node package link.
Here is my code - in case someone would like to see this part:
`export function createThumbnail(file, _callback) {
console.log('start making thumbnail');
let name, newFilePath, size, type, extension, version = 'thumbnail', info;
let mime = Npm.require('mime');
let path = Npm.require('path');
let fs = Npm.require('fs');
let stats = fs.statSync(file);

// prepare thumbnail info
size = stats["size"];
type = mime.lookup(file);
extension = path.extname(file);

name = path.basename(file, extension) + '-' + version;
newFilePath = path.dirname(file) + '/' + name + extension;

info = {
	name: name,
	path: newFilePath,
	size: size,	// check thumbnail size
	type: type,
	extension: extension.replace('.', ''),	//remove dot for return object
	version: version,
	success: false
};

let gm = Npm.require('gm');

// create a file copy
let thumbFile = _.clone(file);
// Process image to create a thumbnail
gm(thumbFile)
	.resize(Meteor.settings.public.app_settings.thumbnail_width)	// width
	.autoOrient()
	.write(newFilePath, function (err) {
		if (err) {
			console.log('GM error:', err);
			info.success = false;
		} else {
			info.success = true;
		}
		console.log('finished making thumbnail');
		_callback(info);
	})
;

}`
And then the version update:
		createThumbnail(sourceFile, function (thumbInfo) { 			bound(function () { 				thumbnailDetails = thumbInfo; 				console.log('update db with thumbnail') 				// Add thumbnail to mongodb 				if (thumbnailDetails.success) { 					let upd; 					upd = { 						$set: {} 					}; 					upd['$set']['versions.' + thumbnailDetails.version] = { 						path: thumbnailDetails.path, 						size: thumbnailDetails.size, 						type: thumbnailDetails.type, 						extension: thumbnailDetails.extension 					}; 					self.collection.update(fileRef._id, upd); 				} }); 		});

@spiotr12 thanks for the snippets. Just one questions are you doing the image processing synchronously or asynchronously?

@PolGuixe
gm wrapper and its methods is asynchronous.
onAfterUpload called asynchronously too, and detached from main fiber thread.

@dr-dimitru Then I should put the Knox upload part into a callback, that is executed once the image processing has finished?

@PolGuixe right, and meanwhile files being changed/transferred to AWS - it will be served from FS


Add detection models

Ongoing

[ ] YOLOv2 https://github.com/chainer/chainercv/pull/596
[ ] YOLOv3 https://github.com/chainer/chainercv/pull/596
[ ] Light Head R-CNN https://github.com/chainer/chainercv/pull/775

Requested

[ ] SNIPER
[ ] RetinaNet

Requested

[ ] R-FCN
[ ] R-FCN++


Improve StringBuilder ctor(), ctor(int), and ToString() performance.

Port https://github.com/dotnet/coreclr/pull/7029
cc @jkotas

Thanks!


Improve UI appearance on mobile/tablet devices

First round of low-hanging fruit to improve responsive design.
Goal is that the login, home and key views are viewable on mobile/tablet.

This was reopened after a nav breakage that had to reverted.

Any update on this?
It's unusable on an iphone and it's the main reason we are still with v.2.5.* 😕

We'll need @kwwii to help with reviewing the design we're looking at here since the original work is old.

The layout at tablet-size seems to work fine, but the smallest sizes (on phones and such) have problems with the menu(s) and breakpoints.
This requires a rethink of the layout/breakpoints and menu structure of the entire Rancher application. Even the login page is broken at very small sizes.
I am not sure that there is a direct mandate to make this work at all sizes. It would result in a very large amount of structural, functional, and theme changes (not to mention planning and testing changes going forward).
This needs clarification.

What it's not clear for me is that if the previous version (2.5) works PERFECTLY on mobile, and it's no more maintained with new features in favour of the new version (2.6), why this miss an important feature like the mobile support?
If you try to use the version 2.5 on an iphone you can see that almost everything is usable.

While testing the upcoming menu changes we should review the UI to find places where things break.

THe logout page is of particular interest

Posting some more examples for future discussions. I think we'll have to split this out into multiple focus areas.
Vertical scrollbar offset with constrained width
https://github.com/rancher/dashboard/assets/835961/e8b38e10-dcee-4a1c-938f-50aa8e45229a
Compressed checkboxes and overlapping input labels


Error generating models when a solution file contains solution folders

After upgrading to v2.1.2 from v2.1.1, the ModelsBuilder VSIX is now unable to generate models when a solution file contains solution folders. After looking at the code, I can see that the way projects are iterated through has changed. The following line, specifically the reference to dte.Solution.Projects, loops through every kind of project file. This includes solution folders.
var vsProject = dte.Solution.Projects
    .Cast<EnvDTE.Project>()
    .Select(ToHierarchy)
    .Cast<IVsProject>()
    .FirstOrDefault(x =>
    {
        int iFound;
        x.IsDocumentInProject(inputFilePath, out iFound, pdwPriority, out itemId);
        return iFound != 0 && itemId != 0;
    });

The exception actually occurs on the following line, as when selecting each project via the ToHierarchy() method, solution folders have no file name.
using (var projectReader = XmlReader.Create(project.FileName))

A couple of fixes could be applied. The code could either select projects that do not match the solution folder type guid or a defensive code check could be added to ToHierarchy() to make sure we have something within the FileName property.

Have merged the PR, and will release a new version in a few days.
Excellent work & MANY THANKS!

@zpqrtbnk No problem at all. Thanks for creating an awesome package :)

Hi. It seems like I still have this problem.
I have installed the following

Umbraco ModelsBuilder Custom Tool v.<IP_ADDRESS> in VS.
Zbu.ModelsBuilder.AspNet v.2.1.3-beta001
Zbu.ModelsBuilder v.2.1.3-beta001

If the assembly where i'm using the Builder.cs is inside a solution folder, the builder does not work (
ZbuModelsBuilder failed to generate code: Exception: Panic: source file not found in any project.).
If I move the assembly outside the solution folder every thing works fine.

Hey @Mesomorf. The extension requires a project file in order to build your models correctly. Is there a reason why your Builder.cs class lives in a Solution Folder? How would you have previously used your generated models if they did not reside within a compilable project? Thanks, Dan.

Hi danlister
Maybe I haven't clean how my solution structure is.

Solution

Solution folder

Project (with umbraco core + modelsbuilder core + builder.cs + other umbraco extensions)

Project (with umbraco + modelsbuilder aspnet)

in this solution structure does the builder not work

Solution

Project (with builder.cs + umbraco core + modelsbuilder core)
Project (with umbraco + modelsbuilder aspnet)

but in this structure it works.

Are we talking about Windows filesystem folder, ie real folders that you can see in the file explorer, or Visual Studio folders, ie the structure you see in the solution explorer? Also - any chance you can share with me (email) a ZIP of the entire structure that is not working?

It's the structure in  VS solution explorer

Sure I can send you a VS solution that generate this error.
But where do I send it to?
Fra: Stephan<EMAIL_ADDRESS>Sendt: 13. juni 2015 18:55
Til: zpqrtbnk/Zbu.ModelsBuilder
Cc: Mesomorf
Emne: Re: [Zbu.ModelsBuilder] Error generating models when a solution file contains solution folders (#49)
Are we talking about Windows filesystem folder, ie real folders that you can see in the file explorer, or Visual Studio folders, ie the structure you see in the solution explorer? Also - any chance you can share with me (email) a ZIP of the entire structure that is not working?
—
Reply to this email directly or view it on GitHub https://github.com/zpqrtbnk/Zbu.ModelsBuilder/issues/49#issuecomment-111729519 .  https://github.com/notifications/beacon/AA2gNe5V8uExeW_SIW-QusnZicQEjrqNks5oTFfpgaJpZM4EacqG.gif

OK, I have downloaded the solution. Now I see: you have some projects within a Visual Studio "Solution Folder". Unfortunately, that is not supported at the moment.
Some background: when the custom tool runs, it needs to go through the entire solution to locate the Visual Studio "internal" object corresponding to the file that supports the custom tool (eg builder.cs or generator.cs). Originally, we would look at any root project in the solution, but that would fail with some types of projects such as web apps, and... solution folders. So for the time being, these two types of projects are skipped/ignored.
In order to deal with your solution, the processing code needs to be refactored. I have created this issue to take care of it when possible. And of course... the code is open, so if anyone feels like having a look at it... that'd be great!

Thanks for the help.
Fra: Stephan<EMAIL_ADDRESS>Sendt: 14. juni 2015 16:47
Til: zpqrtbnk/Zbu.ModelsBuilder
Cc: Mesomorf
Emne: Re: [Zbu.ModelsBuilder] Error generating models when a solution file contains solution folders (#49)
OK, I have downloaded the solution. Now I see: you have some projects within a Visual Studio "Solution Folder". Unfortunately, that is not supported at the moment.
Some background: when the custom tool runs, it needs to go through the entire solution to locate the Visual Studio "internal" object corresponding to the file that supports the custom tool (eg builder.cs or generator.cs). Originally, we would look at any root project in the solution, but that would fail with some types of projects such as web apps, and... solution folders. So for the time being, these two types of projects are skipped/ignored.
In order to deal with your solution, the processing code needs to be refactored. I have created this issue https://github.com/zpqrtbnk/Zbu.ModelsBuilder/issues/54  to take care of it when possible. And of course... the code is open, so if anyone feels like having a look at it... that'd be great!
—
Reply to this email directly or view it on GitHub https://github.com/zpqrtbnk/Zbu.ModelsBuilder/issues/49#issuecomment-111836545 .  https://github.com/notifications/beacon/AA2gNVK0hw5oYNfjAAcSPgY6BkrV4jpPks5oTYtLgaJpZM4EacqG.gif

beta008 is now out and should fix most of these issues including projects in solution folders. would be great if you all could test. thanks!

Sure I’ll test it. Is there a version on nuGet or do I get the source code?
Fra: Stephan<EMAIL_ADDRESS>Sendt: 18. juni 2015 14:16
Til: zpqrtbnk/Zbu.ModelsBuilder
Cc: Mesomorf
Emne: Re: [Zbu.ModelsBuilder] Error generating models when a solution file contains solution folders (#49)
beta008 is now out and should fix most of these issues including projects in solution folders. would be great if you all could test. thanks!
—
Reply to this email directly or view it on GitHub https://github.com/zpqrtbnk/Zbu.ModelsBuilder/issues/49#issuecomment-113134691 .  https://github.com/notifications/beacon/AA2gNdzgJKwDHhocwz_u6kV0DMrdcFxvks5oUq3ngaJpZM4EacqG.gif

beta008 does not change the site-hosted part, only the VSIX extension, which you can download on the release page.

I’t seem like it have solved my problem. I have been moving my project around in the solution structure and the models are generated.
Fra: Stephan<EMAIL_ADDRESS>Sendt: 19. juni 2015 08:12
Til: zpqrtbnk/Zbu.ModelsBuilder
Cc: Mesomorf
Emne: Re: [Zbu.ModelsBuilder] Error generating models when a solution file contains solution folders (#49)
beta008 does not change the site-hosted part, only the VSIX extension, which you can download on the release page https://github.com/zpqrtbnk/Zbu.ModelsBuilder/releases/tag/2.1.3-beta008 .
—
Reply to this email directly or view it on GitHub https://github.com/zpqrtbnk/Zbu.ModelsBuilder/issues/49#issuecomment-113386886 .Billede fjernet af afsender.


suggestion  1.13 or 1.12.

Legacy4J Version
123
Mod Loader Version
No response
Bug/Glitch Occurrence Context
i would love a backport to older versions such as 1.13 or 1.12. idk if that's too difficult but i would love to play console Minecraft on console versions.
Crash Report
No response
What happened wrong?
thanks

Suggestions should not be made here, but rather on the Legacy4J Discord server, and currently no backports are planned


fetch_titles not following 301

I'm using the following code to fetch titles on a site
def fetch_titles site
  Enumerator.new do |enum|
    Spidr.site(site) do |spider|
      spider.every_html_page do |page|
        enum.yield page.title
      end
    end
  end
end

fetch_titles('http://site.tld').each do |site|
  p site
end

I'm getting a lot of "301 Moved Permanently" for page.title because Spidr is requesting http://site.tld/~page instead of http://site.tld/~page/.
Is there any way to tell spider to append a / to the URI or follow 301s automatically?

Try instead:
agent.every_ok_page do |page|
  if page.html?
    enum.yield page.title
  end
end

or
agent.every_html_page do |page|
  if page.is_ok?
    enum.yield page.title
  end
end


Rename the rpms to osbuild-composer

This PR adds the osbuild-composer spec file. The rpm targets in Makefile were aligned with this change. Additonally, old-rpm and old-srpm targets were added to build the old spec file. The CI now builds both packages: github-go... for f31 and osbuild-composer for f32 and f33. Both specfiles were synced to be fairly similar.
The old spec file should be dropped when we decide not to release for f31 anymore.
Closes #355

I dropped the packit config for now, we can reintroduce it later if we decide to enable it again.

Rebased!


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1969

Questions ?
Please refer to the Backport tool documentation


HELP begin multi path stream on large json

hi, i want access to my real time database for read some childpath.
when call back for the first time stream print json like 5.5kb print correctly
Serial.println("path: " + stream.dataPath + ", type: " + stream.type + ", value: " + stream.value);
if json have data like 7kb
[V][ssl_client.cpp:53] start_ssl_client(): Free internal heap before TLS 161672
[V][ssl_client.cpp:55] start_ssl_client(): Starting socket
[V][ssl_client.cpp:90] start_ssl_client(): Seeding the random number generator
[V][ssl_client.cpp:99] start_ssl_client(): Setting up the SSL/TLS structure...
[I][ssl_client.cpp:153] start_ssl_client(): WARNING: Use certificates for a more secure communication!
[V][ssl_client.cpp:177] start_ssl_client(): Setting hostname for TLS session...
[V][ssl_client.cpp:192] start_ssl_client(): Performing the SSL/TLS handshake...
[V][ssl_client.cpp:213] start_ssl_client(): Verifying peer X.509 certificate...
[V][ssl_client.cpp:222] start_ssl_client(): Certificate verified.
[V][ssl_client.cpp:237] start_ssl_client(): Free internal heap after TLS 120276
[V][ssl_client.cpp:276] send_ssl_data(): Writing HTTP request...

Global Stream Data streamCallback...
path: /, type: undefined, value: {"device":{"999evjBX.......          --> 7.2kb

and aftrer
74052
abort() was called at PC 0x401a86df on core 1

if json have data like 8-12kb
[V][ssl_client.cpp:53] start_ssl_client(): Free internal heap before TLS 161816
[V][ssl_client.cpp:55] start_ssl_client(): Starting socket
[V][ssl_client.cpp:90] start_ssl_client(): Seeding the random number generator
[V][ssl_client.cpp:99] start_ssl_client(): Setting up the SSL/TLS structure...
[I][ssl_client.cpp:153] start_ssl_client(): WARNING: Use certificates for a more secure communication!
[V][ssl_client.cpp:177] start_ssl_client(): Setting hostname for TLS session...
[V][ssl_client.cpp:192] start_ssl_client(): Performing the SSL/TLS handshake...
[V][ssl_client.cpp:213] start_ssl_client(): Verifying peer X.509 certificate...
[V][ssl_client.cpp:222] start_ssl_client(): Certificate verified.
[V][ssl_client.cpp:237] start_ssl_client(): Free internal heap after TLS 120428
[V][ssl_client.cpp:276] send_ssl_data(): Writing HTTP request...

Global Stream Data streamCallback...
abort() was called at PC 0x401a86df on core 1

if json have data like over 18kb
the first call back not work on poweron
[V][ssl_client.cpp:53] start_ssl_client(): Free internal heap before TLS 161820
[V][ssl_client.cpp:55] start_ssl_client(): Starting socket
[V][ssl_client.cpp:90] start_ssl_client(): Seeding the random number generator
[V][ssl_client.cpp:99] start_ssl_client(): Setting up the SSL/TLS structure...
[I][ssl_client.cpp:153] start_ssl_client(): WARNING: Use certificates for a more secure communication!
[V][ssl_client.cpp:177] start_ssl_client(): Setting hostname for TLS session...
[V][ssl_client.cpp:192] start_ssl_client(): Performing the SSL/TLS handshake...
[V][ssl_client.cpp:213] start_ssl_client(): Verifying peer X.509 certificate...
[V][ssl_client.cpp:222] start_ssl_client(): Certificate verified.
[V][ssl_client.cpp:237] start_ssl_client(): Free internal heap after TLS 120564
[V][ssl_client.cpp:276] send_ssl_data(): Writing HTTP request...
[V][ssl_client.cpp:276] send_ssl_data(): Writing HTTP request...
[V][ssl_client.cpp:276] send_ssl_data(): Writing HTTP request...

Global Stream Data streamCallback...
path: /device/999evjBX99r2vHsIy3rewermdvAQVWhlkdBmtZSFZ0IeW/info, type: string, value: dfhbib
110012

not print json but work!
the problem is when i start new database and add some data in future i have a problem when esp32 poweron and my data have lengh from 6kb to 18kb :(
my code
FirebaseData globalFirebaseData;
String globalParentPath = "/global";
String globalChildPath[1] = {"/"};
size_t globalChildPathSize = sizeof(globalChildPath)/sizeof(globalChildPath[0]);

void globalStreamCallback(MultiPathStreamData stream);
void globalSstreamTimeoutCallback(bool timeout);

void setup() {
  if (!Firebase.beginMultiPathStream(globalFirebaseData, globalParentPath, globalChildPath, globalChildPathSize))
  Serial.println("error stream REASON: " + globalFirebaseData.errorReason());
  Firebase.setMultiPathStreamCallback(globalFirebaseData, globalStreamCallback, globalSstreamTimeoutCallback);
  while (true);
}

void globalStreamCallback(MultiPathStreamData stream)
{
  Serial.println();
  Serial.println("Global Stream Data streamCallback...");
  size_t numChild = sizeof(globalChildPath)/sizeof(globalChildPath[0]);
  for(size_t i = 0;i< numChild;i++)
  {
    if (stream.get(globalChildPath[i]))
    {
      Serial.println("path: " + stream.dataPath + ", type: " + stream.type + ", value: " + stream.value);
      Serial.println(ESP.getFreeHeap());
    }
  }
}
void  globalSstreamTimeoutCallback(bool timeout){if(timeout){}}

can someone help me?
Thanks
PS. for now the solution is keep some casual data (minimum 20kb)  on some child node

The stream data (JSON in this case) will be stored in memory. As the size of JSON go bigger, your free heap will be reduced.
If the free heap is running out, the problem will occur.
To handle the large JSON stream data must be avoided because you are working with embedded device that its memory was limited.
You have only 161 k bytes before start the SSL connection which it may use approx. 100 k for SSL connection and only 60k bytes remains for use as stack and heap.
The reserved stack for the internal  rtos task used in this library is 10000 bytes, which results in lower stack and heap available below 5000 bytes.
You should reduce the size of live data (stream) and keep it small as possible. It should be the sensor status or something that only the number.
Try to rename the node name to be shorter to reduce the size of JSON.
The long node name (key) like this "999evjBX99r2vHsIy3rewermdvAQVWhlkdBmtZSFZ0IeW" is useless and wasted your useful memory.


Cocktail Sort In Java

Cocktail sort function sorts the unsorted array similar to bubble sort but has less complexity in comparison.
Assigned Issue Number ?
#698
Language Opted ?
Python
Number of files added or updated ?
1
Name of these files ?
Algorithms/Sorting_Algorithms/Cocktail_Sort/Cocktail_Sort.java
Checklist

[x] I've read the contribution guidelines.
[x] I've referred the correct issue number.
[x] I've fill up this entire template correctly.

@ahampriyanshu I have made a PR, please look at it.


Added storage limit to Web Storage API Docs

References: https://github.com/denoland/deno/blob/main/ext/webstorage/lib.rs#L20


[HelpDot] Change the name of a homepage category on New Expensify

Details
We change the name of the Get Paid Back category to Payments
Fixed Issues
$ https://github.com/Expensify/App/issues/33376
PROPOSAL: https://github.com/Expensify/App/issues/33376#issuecomment-1865055969
Tests

Go to HelpDot
Click Select for New Expensify
Verify the Get Paid Pack hub is renamed to Payments

[x] Verify that no errors appear in the JS console

Offline tests
Same as Tests step
QA Steps
Same as Tests step
PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
No native app

Android: mWeb Chrome
https://github.com/Expensify/App/assets/64629613/ceb996cc-2507-4864-b31d-30be5ffce4f7

iOS: Native
No native app

iOS: mWeb Safari
https://github.com/Expensify/App/assets/64629613/01c44405-ed64-4939-91c2-36864c917848

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/64629613/b70174b8-a45c-4297-b772-920a0b739a4f

MacOS: Desktop
No native app

Hmm getting the error  Input required and not supplied: apiToken in the Deploy ExpensifyHelp  GH action. Asking internally if something's up

It seems this GH action is only needed to preview the PR changes. Given that this is only a HelpSite change I will merge it

Removed Emergency label, reason in the comment above

🚀 Deployed to staging by https://github.com/marcochavezf in version: 1.4.21-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
cancelled 🔪

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


search keybinding text resets

VSCode Version: 1.16.1
OS Version: Ubuntu 16.04

Steps to Reproduce:

search a keybinding in keyboard shortcut tab, like typing delete in text area.
2.go to another tab like task.json
go back to keyboard shortcuts tab, text area is empty. the delete keyword is not there.

vscode suppose to store the delete keyword and also the search result

Reproduces without extensions: Yes/No

Duplicate of #23543


Rename XRDevicePose to XRViewerPose

The only "real" commit is the last one which is "rename XRDevicePose to XRViewerPose". The commit "display magic window in inline session for desktop" has already been merged with the webxr-2019 branch so I'm not sure why it's showing up here. There are also some extra "merge pull request" commits, so I'm concerned this might start messing up the history.

Trying something different which will hopefully not have messed up commit history.


fix(core): remove height and width requirement on SuperChart

🐛 Bug Fix
When rendering a SuperChart with percentage width/height, the SuperChartCore component can sometimes get unmounted and remounted due to the initial width and height being zero before ParentSize provides non-zero values, causing major side-effects such as new queries being sent to the backend. This PR removes this check, making the logic for dynamic widths/heights more in-line with that of its non-dynamic counterpart.
Rejected alternative: In an earlier iteration of this PR, we introduced the state hasBeenRendered, which is false by default, but gets set to true at the first render. This way we could avoid rendering until width and height are greater than zero for the first time, while avoiding unmounting if they become zero at a later stage. Since this logic is not applied for non-dynamic widths/heights, and It was deemed unlikely that anyone is relying on this behavior, it was decided to prefer the simpler approach for now. Please check the initial commit for the alternative approach.

Tested on a few different charts (nvd3, echarts), nothing breaks. And the performance boost for rendering native filters is very noticable 🙂 LGTM


thread #17, name = 'io.worker.6', stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=3072 MB, unused=0x0)

ios  listView loadmore 超500张图片 crash，android过长也有oom,请问有优化方案吗 使用6.0.3版本，
* thread #17, name = 'io.worker.6', stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=3072 MB, unused=0x0)     frame #0: 0x0000000107940d50 Flutterneon::store_8888(unsigned long, void**, unsigned long, unsigned long, float vector[4], float vector[4], float vector[4], float vector[4], float vector[4], float vector[4], float vector[4], float vector[4]) + 132
Flutterneon::store_8888: ->  0x107940d50 <+132>: str    q16, [x8]     0x107940d54 <+136>: add    x8, x1, #0x10     0x107940d58 <+140>: ldr    x4, [x1, #0x8]     0x107940d5c <+144>: mov    x1, x8 Target 0: (Runner) stopped.
`[✓] Flutter (Channel unknown, 2.5.3, on macOS 12.3.1 21E258 darwin-x64, locale zh-Hans-CN)
• Flutter version 2.5.3 at /Users/wds/Library/flutter
• Upstream repository unknown
• Framework revision 18116933e7 (7 months ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/wds/Library/Android/sdk
• Platform android-272, build-tools 31.0.0
• ANDROID_HOME = /Users/wds/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.3.1, Build version 13E500a
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
[✓] Android Studio (version 4.2)
• Android Studio at /Applications/Android Studio 2.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
[✓] IntelliJ IDEA Community Edition (version 2021.2.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart`
       `ExtendedImage(
                  height: height,
                  width: width,
                  fit: fit ?? BoxFit.cover,
                  image: ExtendedResizeImage(
                    ExtendedNetworkImageProvider(
                      icon,
                    ),
                    compressionRatio: 0.9,
                    maxBytes: null,
                  ),
                  loadStateChanged: (ExtendedImageState state) {
                    Widget loader = const SizedBox.shrink();
                    switch (state.extendedImageLoadState) {
                      case LoadState.loading:
                        loader = placeholderWidget ??
                            (isMarket
                                ? SkeletonItems(
                                    width: width, height: height)
                                : loadAssetsImage(
                                    placeholder,
                                    fit: fit == null ? BoxFit.cover : fit,
                                    width: width,
                                    height: height,
                                  ));
                        break;
                      case LoadState.failed:
                        loader = errorWidget ??
                            (!showDefault && isMarket
                                ? Container(
                                    width: width,
                                    height: height,
                                    decoration: new BoxDecoration(
                                      color: Global.kTheme.bg1,
                                      borderRadius: BorderRadius.all(
                                          Radius.circular(radius ?? 4)),
                                    ),
                                  )
                                : loadAssetsImage(
                                    placeholder ?? 'default_error_image',
                                    fit: fit == null ? BoxFit.cover : fit,
                                    width: width,
                                    height: height,
                                  ));
                        break;

                      case LoadState.completed:
                        loader =
                            RepaintBoundary(child: state.completedWidget);
                        break;
                    }
                    return loader;
                  },
                  clearMemoryCacheIfFailed: true,
                  clearMemoryCacheWhenDispose: true,
                  enableMemoryCache: false,
                  enableLoadState: false,
                )`

看 readme

readme里并没有解决方案

不是 ExtendedImage 问题


Refactor/use test APIs repository

📑 Description

Use test APIs repository instead of local copies

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[x] All the tests have passed

ℹ Additional Information

test with UE 4.27, 5.2 and 5.4 on Linux docker
test with UE 4.27 and 5.4 on windows

cli v0.38.3 needs to be released, will be done the following days


Fixing specs

@fractaledmind I'm taking a stab at fixing the specs. VSCode deleted a couple of extra blanks here and there tho.
Think you can trigger the workflow? I'm getting some erratic behaviors locally, although I managed to run most tests isolated. I'd like to see how it looks like on GitHub

hmm, I noticed one thing: TestJobQueue are failing when I run bundle exec rake test but not when I run be rake test TEST=test/test_jobqueue.rb. I also uncommented puts "performing" and noticed it only prints it when I run the single class, not when I run the full suite (bundle exec rake). something's off and it's the only thing missing for me

Ok, I think I fixed all specs and found a couple of weird things:

test/test_cache_rails.rb class name was actually TestCache and it was clashing with test/test_cache.rb, changed to TestCacheRails.
test_helper.rb, as far as I can tell, is not supposed to be a test file, but since the name pattern matches with what's defined on Rakefile (t.test_files = FileList["test/**/test_*.rb"]), it was being added to suite and interfering with the job queue on other files. Renaming it fixed the problem
rack doesn't need to be added as a dev dep since hanami-router already depends on rack
One test requires activerecord, so I added it as dep.

I got a green suite locally, feel free to try it here, Stephen

Fixed the Standard issues too, I didn't catch them because I have an alias to run rake test and I usually use it instead of just rake

can we get another shot at this? I'm eager to get this, and a couple of other PRs merged to unblock me on something.


Add ability to spawn multiple loggers

This is a starter PR
Very related to https://cpg-populationanalysis.atlassian.net/browse/SET-242
Our current logging approach makes comparing pipelines before/after a change... challenging, because we almost always use the root logger, so we lose control of our logging settings.
Ideally every instance of logging.LEVEL(message) in prod-pipes would be changed to use a named logger, whether that's pipeline-wide, per-module, whatever.

Codecov Report
Attention: Patch coverage is 30.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 26.45%. Comparing base (9ca3540) to head (2464c92).

Files with missing lines
Patch %
Lines

cpg_workflows/utils.py
30.00%
7 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #965      +/-   ##
==========================================
+ Coverage   26.42%   26.45%   +0.02%
==========================================
  Files           9        9
  Lines        1680     1682       +2
==========================================
+ Hits          444      445       +1
- Misses       1236     1237       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Help Wanted: Screenshot doesn't represent user's product experience

Issue
The first screenshot in Keyboard accessibility - Mattermost documentation is missing the blue focus outline indicating that the area is selected/active). The screenshot is also outdated and missing a number of product enhancements.
Current

Expected

How to Contribute

Re-capture the UI, with accessibility shortcuts enabled and blue outline visible.
Any public channel on the Mattermost Community Server can be captured with an empty text box (no message draft).
Capture using a browser or the desktop app displaying the Mattermost Denim Theme.

@cwarnermm I would like to work on this. Feel free to assign this to me. Thanks.


Better container wrapper

Playing with https://microlinkhq.github.io/gallery/sumacrm/
The only way to see the card centered is creating a wrapper around the target a element:

This adds a bit of friction between the user and the library.
On the other side, using the library on my blog I was to add a minimal CSS to ensure card visualization is ok.
.layout-post .card-preview {
  text-decoration: none;
  display: block;
  max-width: 500px;
  margin: auto;
}

We need to explore a way to avoid user do that

A simpler way of centring the card, fyi @Kikobeats

Although the text-align:left reset is needed on the text strings for this 💡

I made a little change and the sumacrm example looks fine now:
https://github.com/microlinkhq/gallery/commit/5b3b8de4bbcf2701494a41e088c62cd2539ad827
I need to experiment with more websites, probably it could be too dependent of the HTML markup of each website


Alert not visible when scrolled down

If a user scrolls down more than the screen height, alert becomes invisible as it is positioned static.

This could be solved by making it fixed and also there is no way to hide the alert it remains there until the next action is taken.

Not much of a big issue but fixing it would be great for UX.

Thanks for the report!  This definitely should be fixed.  The idea of making it fixed at the top rather than in the scrollable section is pretty reasonable; the other approach we could take is having it appear inside the individual stream's "Administrator settings" block (which would probably be more readily visible for the user, and save a bit of work if we were to eventually move the per-stream details blocks into a modal, separate screen, or whatnot).
@wdaher for his thoughts.

Either option works for me.
On Sun, Mar 13, 2016 at 9:31 AM, Tim Abbott<EMAIL_ADDRESS>wrote:

Thanks for the report! This definitely should be fixed. The idea of making
it fixed at the top rather than in the scrollable section is pretty
reasonable; the other approach we could take is having it appear inside the
individual stream's "Administrator settings" block (which would probably be
more readily visible for the user, and save a bit of work if we were to
eventually move the per-stream details blocks into a modal, separate
screen, or whatnot).
@wdaher https://github.com/wdaher for his thoughts.
—
Reply to this email directly or view it on GitHub
https://github.com/zulip/zulip/issues/515#issuecomment-195838906.

Yeah, having inside the "Administrator settings" block is a good idea rather than floating it around hindering the view.Can I take this as my next project?

Go for it!

@timabbott Adding warnings inside the administrator settings block isn't a very good idea,

Sometimes even administrator settings block gets even bigger than the screen height, so having a warning inside doesn't solve the issue in the first place.
2)Non-uniformity, all the 'create new stream' warnings(and some others) will be displayed outside the administrator settings block.

I'm inclining towards the idea of making it fixed at the top. What do you think?
PS- I've implemented the code for warnings inside the "Administrator settings" block, if you want to have a look.

@disissid that reasoning makes sense to me, let's have it be fixed at the top.


[Decommission Hub] Wageningen University and Research

Summary
We've been running the WUR hub for the last year for @Chiil - he was using it for teaching and was advocating internally with WUR to use 2i2c for their hubs. They've recently decided to use national supercomputing facilities instead, so @Chiil will use that facility from now on, and will no longer use the WUR hub.
Info

Community Representative: @Chiil
Link to New Hub issue: #21
Proposed end date: 11/01/2021

Task List
Phase I

[x] Confirm with Community Representative that the hub is no longer in use and it's safe to decommission
[ ] Confirm if there is any data to migrate from the hub before decommissioning

[ ] If yes, confirm where the data should be migrated to
[ ] Confirm a 2i2c Engineer has access to the destination in order to complete the data migration

Phase II - Hub Removal

[ ] (Optional) Migrate data from the hub
[ ] Remove the hub deployment

helm delete --namespace HUB_NAME HUB_NAME
kubectl delete namespace HUB_NAME

[ ] Remove hub entry from the appropriate *.cluster.yaml file

@chiil can you confirm that November 1st is an acceptable date to decommission the hub?

Yes, the hub can be decommissioned immediately. We stopped using after our course ended in January.

On 15 Oct 2021, at 04:32, Chris Holdgraf @.***> wrote:
@Chiil https://github.com/Chiil can you confirm that November 1st is an acceptable date to decommission the hub?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/2i2c-org/pilot-hubs/issues/752#issuecomment-943936178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA252NSKFC5B3TBQJA4BJDUG6HCFANCNFSM5GA7NMOA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@Chiil, is there any data you or other users may want to migrate/backup before the decommission?

All data can be removed.

On 16 Oct 2021, at 02:25, Damian Avila @.***> wrote:
@Chiil https://github.com/Chiil, is there any data you or other users may want to migrate/backup before the decommission?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/2i2c-org/pilot-hubs/issues/752#issuecomment-944823556, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA252IXBZLY6JRDQPYFDZTUHDBA5ANCNFSM5GA7NMOA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I've decomissioned the hub, but haven't deleted the data from the home directories yet.

It was, I hope to return at one point!

On 19 Oct 2021, at 11:47, Yuvi Panda @.***> wrote:
The home directory was 2.7G, and I've deleted this now.
Thank you very much for using the hub, @Chiil https://github.com/Chiil! I hope it was a good experience for you, and it helped us make our infra better too :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/2i2c-org/infrastructure/issues/752#issuecomment-946547432, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA252KAUVWOFUGQEYCFOVDUHU5D7ANCNFSM5GA7NMOA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


GST Checkpointing/Warmstarting

Fitting GST protocol is currently done at once. However, there are cases where the fit fails or is interrupted, e.g. running out of memory or wall clock time limits in an HPC environment. It would be nice if GST fits could be restarted easily, which will require some sort of checkpointing.
The ideal procedure would look something like:

PyGSTi dumps checkpoint files at the completion of each circuit list iteration, and also probably at each outer iteration of the optimizer.
On an unexpected fit failure, the restarted fit can load the most recent checkpoint file and continue the fitting procedure.

Something like this is ALMOST possible currently for circuit list iterations but is not straightforward to do. Users can run each iteration themselves and dump the results as a "checkpoint", and then manually set the starting point of the next iteration as the "warmstart". But the user would be pretty hardpressed to do anything restarting partway through a circuit list iteration.
We would probably need the checkpoint the model (once, likely already done), the parameter vector (at both circuit list iterations and outer optimization iterations), and any state information in the optimizer (at each outer optimization iteration). The new serialization code should actually make this pretty easy, but we should check that things are being serialized at the right time with all the needed info.
Critically, we do not want to checkpoint the entire CircuitOutcomeProbabilityArrayLayout (COPALayout) - this would relatively expensive, and also hardware configuration specific. Better to reconstruct this on the fly from the critical model param information.

A first pass at this was merged with #347. We will probably want more in-depth checkpointing in the future, but we will reopen an issue to examine that when it becomes a priority again.

Closed with release of 0.9.12.


lirc: fix build on ubuntu

autoconf looks in /proc/version for Ubuntu and on match overrides the --with-systemdsystemunitdir value set in configureFlags causing the build to fail.

mkdir -p '/lib/systemd/system'
mkdir: cannot create directory '/lib': Permission denied

patch configure.ac to prevent the override when building on ubuntu

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

ran nixpkgs-review as part of another PR and everything passed. https://github.com/NixOS/nixpkgs/pull/364816#issuecomment-2544568786

Incredible. Maybe worth proposing upstream if this is ancient hackery...?

created a ticket: https://sourceforge.net/p/lirc/tickets/385/


is_hovered() is tied to button focus and not the actual cursor position

Godot version: 3.1.1 stable
OS/device including version: Windows 10
Issue description: Trying to check if a non-focused button is hovered with is_hovered() (while another one is focused) will return false even if the mouse is actually hovering it. Meanwhile if the focus is on that button and the mouse is off the button bounds it still returns true.
(I'm trying to make mouse and keyboard/gamepad live and work together by swapping "states")
Minimal reproduction project: Attached a simple 3.1.1 project with some buttons and the same functions i used to reproduce the problem, pressing E the function prints the return of is_hovered(). Also a gif showing the problem

TestBugHover.zip

Looks fixed to me in Godot 3.2.3 rc2, but maybe I'm testing wrongly. @MAVREE Can you confirm?

Downloaded 3.2.3 rc2, it could be I'm doing what i would like to do wrong but print logs now tell me that the mouse is not hovering the button it is actually hovering if i previously navigate with the arrow keys. Also it still thinks the button is hovered with is_hovered() if it gets focused by navigating with the keyboard buttons while the mouse is not there. Sorry if I'm not describing it well, I'm posting another gif with a (probably) better visualization of what is happening, I only edited the print line to make it more descriptive (reuploading the zip of the project updated to 3.2.3 rc2)
Thanks for getting back to the issue!
(edited line 34 to: print("is " + lastFocusMouse.name + " hovered? -> " + ("yes" if lastFocusMouse.is_hovered() else "no")))
TestBugHover_3.2.3_rc2.zip

I found the code responsible for this problem:
https://github.com/godotengine/godot/blob/ec678c5e94ac1c91c099c15fabc398e80ede7bfe/scene/gui/base_button.cpp#L98-L101
Looks like in Button "hovered" basically means "focused". The easiest way to fix this would be renaming all current instances of "hover" into "focus" and then introduce a proper hovered property. Or just rename is_hovered() to is_focused() 🤔 Do we even need to know if the button is hovered?

There's has_focus(), I at least was needing the hovered property to do this specific check, to manage keyboard and mouse simultaneously. There could probably be a better way to manage it but, well, I don't know 😕

This can already be easily done with script, using mouse_entered() and mouse_exited() signals.

This bug is creating problem in my game. What changes can i do in godot 3.2.2 code to solve this is_hovered() problem.
Can you guys please help me to resolve this?

This bug is creating problem in my game. What changes can i do in godot 3.2.2 code to solve this is_hovered() problem.
Can you guys please help me to resolve this?

You can connect the Button's mouse_entered and mouse_exited signals to achieve this. See https://github.com/godotengine/godot/issues/29326#issuecomment-668807244

Same Problem is coming in mouse_entered and mouse_exited signals as mentioned in bug #47433.
Is there any way by changing godot code i can resolve this ?

Seems like mouse_exited does not get called if you are pressing the button, dragging outside the button while still holding.

I don't think the issue got resolved in mobile devices. I am still getting the same issue in Android.

Did you compile the latest master branch to test?

i have added these changes in godot-3.3.2 and then compiled.
Issue reproduction -
Press the button and then drag outside button and then leave touch of screen. Now press the button again and leave touch of screen on the button (is_hovered() do not work in this condition). Now once again press the button and leave the touch of button on the button(is_hoovere() work in this condition).
So is_hovered() does not work when pressed second time.


Fix: Issue with loading apiKey.properties from homepath

Fixes a issue where an API key wouldn't be loaded correctly from a home path.
How to verify

Checkout this branch.
Execute $ npm link to make it available as a link.
Create an empty test project folder (e.g. stormpath-config-test) and $ cd into it.
Execute $ npm init --yes.
Execute $ npm link stormpath-config so that we link to our stormpath-config master branch.
Create a new file called app.js and put the contents of this gist in it.
Create an apiKey.properties with the following content and put it in the ~/.stormpath/ directory.
Run $ node app.js.

Expected
Console outputs:
null { bob: 123, client: { apiKey: { id: 'abc', secret: 'def' } } }

Fixes #28.

Verified that the problem has been fixed, merge!

:+1: @typerandom are you working on this (it has the label in progress)?

Strange, it's place in review in waffle.


Unable to use cget and configure in add_option

I am unable to use cget and configure in add_option and getting error
Error 👇👇👇👇
Exception in Tkinter callback
Traceback (most recent call last):
File "D:(c drive)\Python\Lib\tkinter_init_.py", line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "D:(c drive)\Python\Lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
self._command()
File "D:(c drive)\Python\Lib\site-packages\CTkMenuBar\dropdown_menu.py", line 90, in selectOption
command()
File "d:\INTELLECT 2.0\Intellect 2.0 copy.py", line 99, in Tooltip_Status
View_Button_Dropdown_Option.cget("option")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'cget'

@DIY-TECH-HACKER Please give the code to test

def Tooltip_Status():
View_Button_Dropdown_Option.cget("option")
View_Button_Dropdown = CustomDropdownMenu(widget=View_Button)
View_Button_Dropdown_Option = View_Button_Dropdown.add_option(option="✓ Tooltip",command=Tooltip_Status)

View_Button_Dropdown_Option is defined as None when you call cget() method

Is there anyway to change the text given in option after some process in the program ?

@DIY-TECH-HACKER I will add this feature in next update, don't worry

Thanks a lot...

@DIY-TECH-HACKER Fixed, try the new version.

@DIY-TECH-HACKER Fixed, try the new version.

@Akascape Thanks a lot it is working beautifully
Your working is a huge support to the people who are using customtkinter and please keep doing it...


unncessary void in parameter list

Hi,
some functions have a void parameter instead of an empty parameter list.
https://github.com/jnk0le/Ring-Buffer/blob/dade96727256c6d7466f716c54bc3bfca3875952/ringbuffer.hpp#L52

It's more of a "good practice" in C++, in C it would be the most correct form.


[10.x] Added the ability to forget nested collection items

Updated the Collection::forget() method to support dot notation and nested keys as discussed here

This is a breaking change.

@taylorotwell would this be appropriate to target master or even as a new method instead Collection::forgetNested() for example?

Its actual for me still...


Cannot use data-* format for ng-repeat.

Using data-ng-repeat rather than ng-repeat seems to break the plugin on lines 96-100.
Plunkr
Not a huge issue, but it definitely tripped me up for a minute.

closed via 7445e1e


Allow hidden pages to be linked to

From a conversation Inge & I had at the Apereo conference...
Now that there's an optional property 'hide' on all pages (#437) would it be useful for page links to work to these hidden pages?
The hidden pages' titles appear in page link list in editor but the link created doesn't work.
I'm not sure what the page would look like when you followed the link though - I suppose you would have to hide its page number and the forward button so you could only go back to the page you came from?

Or would the player simply not go to a page that is hidden? It might be that a page is hidden only for the reason that you are working on it at present and you still want to be able to link to it so that when it is unhidden the page link then works. There are several options, such as go to the page after the hidden page (perhaps not desirable) or simply showing (hidden) after the page name in the Page Link dropdown?

Yes, the idea behind the hidden pages was so that you could work on a page while the project was live or do gradual release of pages.
I don't think I was very clear above but Inge thought it would be useful to allow the links to hidden pages to work - so you would get to the hidden page if you followed a link to it but otherwise the page wouldn't appear through normal navigation forward or on the page menu. Ignore this for now - I need to have a think about what would happen. Maybe it wouldn't add anything that can't be done with connector pages already.

Just re-reading this and I added a related item about hidden pages in #580 about enabling lightbox functionality e.g. where the page could be hidden but still display in a lightbox if we manage to add that functionality. It's a popular feature in other tools.

Done for Bootstrap template - would be useful to add same functionality to XOT template at some point. Instead of allowing hidden pages to be linked to there's a new optional property called 'stand-alone page' which removes the page from page menu but allows it to be linked to (either opening in same or new window). I thought it made more sense to do this & keep hidden pages as always hidden in live projects

Closing as this functionality is now in XOT & Bootstrap templates. I've found a few bugs while doing this work that I'll add as separate issues


Fixing one pmem path on AppDirect mode may cause the pmem initialization path to be empty Path

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

After many tests, it is ensured that one pmem path is initialized normally without affecting the previous functions

After many tests, it is ensured that one pmem path is initialized normally without affecting the previous functions

LGTM


refactor(router/atc): simplify cache key calculation

Summary
simplify cache key algorithm:

the field names of "http.header.*" are constants, lowercase is unnecessary
the order of atc fields is fixed, need not to put field's name into cache key

Now the cache key is the collection of all fields' values with the given order.
KAG-3634
Checklist

[ ] The Pull Request has tests
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix #[issue number]

This assumption is highly dependent on the implementation of fields_visitor, atc.lua, and atc-router:

the order of fields returned by the same atc-router instance is fixed.
atc.lua passes the fields returned by an atc-router instance to fields.lua.
fields_visitor traverses the fields in a fixed order through ipairs to generate a cache key.

These PRs result in the logic of visit_for_cache_key being highly coupled with the behavior of both modules, which makes maintenance difficult.

Yes, but 1 and 2 are the actual fact of atc-router.

This assumption is highly dependent on the implementation of fields_visitor, atc.lua, and atc-router:

the order of fields returned by the same atc-router instance is fixed.
atc.lua passes the fields returned by an atc-router instance to fields.lua.
fields_visitor traverses the fields in a fixed order through ipairs to generate a cache key.

These PRs result in the logic of visit_for_cache_key being highly coupled with the behavior of both modules, which makes maintenance difficult.

Yes, but 1 and 2 are the actual fact of atc-router.

Yes, I'm not complaining about the implementation, just clarifying the code chain.
This PR makes visit_for_cache_key hard to understand (why field name is not required when building the cache_key).

I will add some comments for it.

Merge on CI green


Allow to disable kube-vip sub-chart

Allow to disable kube-vip sub-chart

Signed-off-by: Jian Wang<EMAIL_ADDRESS>Co-authored-by: Anton Donskoy <https://github.com/adonskoy>

Issue: https://github.com/harvester/harvester/issues/6527
This PR is based on https://github.com/harvester/charts/pull/279 by @adonskoy, thanks.

we usually don't include the tarball if its content is not changed. This can avoid committing a binary if not needed.

Thanks @bk201 .
I will update this PR to include a new image tag, after PR https://github.com/harvester/cloud-provider-harvester/pull/49 is merged.


Set up Kanban board

Hello code reviewer 👋
We created this issue in order to have a review for our Kanban board: tasks, estimation time, and the assignee for each task.
We are a group of two:

Mahdi Rezaei- Student A
Alejandra Keber - Student B

The link to our project is the following: https://github.com/MahdiSohaily/JS-capston/projects/2
Thank you and have a great day! 👍

STATUS: APPROVED 🟢
Hi @AlejandraKeber, and @MahdiSohaily👋,
Your project is complete!  There is nothing else to say other than... it's time to close it :shipit:
Congratulations! 🎉

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 that the code review was not fair, you can request a second opinion using this form.


Title clubs APIs, unit tests and samples

@jplafonta,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot