Add support for *= operator for lvalue vec3 and rvalue mat3 in shading language

Godot version:
0afdc5c559520204987544d30560745dbf29a390
OS/device including version:
W10, 64-bit, GTX 960
Issue description:
I found this https://github.com/godotengine/godot/issues/10687 issue, but am not sure on its status and it was more than a year ago, so I figured I'd make a new topic.
The error code:
invalid arguments to operator '*=' :vec3 and mat3
when trying to multiply a vec3 and mat3 on line 6: (pr *= mr;)
// rays of a star
float ringRayNoise(vec3 ray,vec3 pos,float r,float size,mat3 mr,float anim){
	float b = dot(ray,pos);
	vec3 pr=ray*b-pos;
	float c=length(pr);
	pr *= mr;
	pr=normalize(pr);
	float s=max(0.0,(1.0-size*abs(r-c)));
	float nd=noise4q(vec4(pr*1.0,-anim+c))*2.0;
	nd=pow(nd,2.0);
	float n=0.4;
	float ns=1.0;
	if (c>r) {
		n=noise4q(vec4(pr*10.0,-anim+c));
		ns=noise4q(vec4(pr*50.0,-anim*2.5+c*2.0))*2.0;
	}
	n=n*n*nd*ns;
	return pow(s,4.0)+s*s*n;
}

Is vec3 *= mat3 supported in GLSL?

According to the specification, it seems it is (page 103 and 106).
I just tried it on a shader writing app and it works fine.


Cross validation

Codecov Report

Merging #4 (3b254de) into main (afdf246) will not change coverage.
Report is 3 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   91.81%   91.81%
=======================================
  Files          21       21
  Lines         342      342
=======================================
  Hits          314      314
  Misses         28       28


Default cursor focus to the code view for easy navigation

When navigating between changes, it would be good if the default cursor focus would be in the code view, not the comment view to make it easier to use page up / down without having to manually put focus on the code pane.

The decision to focus the comments section was on purpose, after feedback from Rohland - in a lot of cases, the diff fits into one page, so one can simply type, f2, f2, type, f2, type, etc... otherwise one would have to focus the comments box every time.
So what I've done instead is take a little inspiration from LazyGit - now when the comments box is focused, PageUp and PageDown won't scroll the comments (which are probably all going to fit in the box anyway), but will, instead, scroll the diff view.
The default is to scroll by 5 lines at a time, but you can control how much to scroll by:

by specifying --page-size on the command-line
by setting an environment variable PAGE_SIZE

this will be overridden by --page-size

if you find you're often specifying --page-size to the same number (eg 10), then add something like:
export PAGE_SIZE=10

to your ~/.bashrc


Table menu produces stack trace

_.contains is not a function (tableScope.js:1565)

dup https://github.com/twosigma/beakerx/issues/5175

We should be consistent in using libraries. No need to modify codes here.


Server lockup after Apotheosis WorldGenDungeons

Background, I've had this issue a few weeks ago and it was resolved by deleting a player's data on my customized Project Ozone 3 server, otherwise, when a specific player would log in, the server would lockup and it would take 60 second to process a tick. The past 2 days I've had the same issue again. Here are the last few lines in console output before the server crashes, this is the same as the last incident:
06.05 10:14:40 [Server] Server thread/INFO [neid]: Patching class: "ru.fewizz.neid.asm.Hooks" with Transformer Group: "TransformerGroupChunkPrimer"
06.05 10:14:41 [Server] Server thread/INFO [Apotheosis : Core]: Transforming WorldGenDungeons...
06.05 10:14:41 [Server] Server thread/INFO [Apotheosis : Core]: Successfully transformed WorldGenDungeons
06.05 10:15:40 [Server] Server Watchdog/FATAL [minecraft/ServerHangWatchdog]: A single server tick took 60.01 seconds (should be max 0.05)

crash-2021-05-06_14.15.40-server.txt

mc 1.12 is not supported


Could not start transporter 'cf'. Error: 'init() takes at most 3 arguments (7 given)

I'm getting the following error when trying to run python arbitrator.py.
Running the lastest version, installed via pip running Python 2.7.3 and Django 1.5.4.
2013-09-15 16:59:35,796 - Arbitrator - ERROR    - Could not start transporter 'cf'. Error: 'init() takes at most 3 arguments (7 given)'.
2013-09-15 16:59:35,797 - Arbitrator - ERROR    - Could not start transporter 's3'. Error: 'init() takes at most 3 arguments (7 given)'.
2013-09-15 16:59:35,797 - Arbitrator - ERROR    - Server connection tests: could not connect with 2 servers.
Thanks, in advance, for any help here.

@adityamukho  but that won't pass the S3 credentials and bucket information, I tried that and it worked, but it won't pass the credentials.

I downgraded django-storages and Django, it helped me:
sudo pip uninstall django-storages
sudo pip install django-storages==1.1.5
sudo pip install Django==1.6.10


Archive Error iOS

if try archive project iOS , I have this error:
Strip /Users/user/Library/Developer/Xcode/DerivedData/player-gmmcnsshbqbynlcwphkqyfqtkkwa/Build/Intermediates.noindex/ArchiveIntermediates/player/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a (in target: yoga)
cd /Users/user/Desktop/player/node_modules/react-native/React
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -S -T /Users/user/Library/Developer/Xcode/DerivedData/player-gmmcnsshbqbynlcwphkqyfqtkkwa/Build/Intermediates.noindex/ArchiveIntermediates/player/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open temporary file: /tmp/strip.T1DJzz (No such file or directory)
Command Strip failed with a nonzero exit code
can you help me?

Please  provide more information.
Your   react-native  version?
react-native-yz-vlcplayer version?
xcode version?

latest version for all 3 question

Sorry, I have no idea to solve it. I haven't meet this error.

I make all you steps in guide, but have this error


generate summary report

it would be nice to have some code that (perhaps by parsing the log) generated a nice human-readable HTML page showing what projects are included what their dependencies are, whether the project is forked, how the old commit we're building is, what the latest build status is, whether we're running the test suite or not, etc etc etc
this could even be updated nightly and put on the web somewhere, as a service to library authors? as well as helpful to us to see at a glance where things stand
I've always kind of wanted this, but it's not absolutely clear it's worth the effort

I don't think I'm ever going to do this.


3.2 RC1 Transparent material appear opaque when opaque prepass used [GLES2]

Godot version: Godot 3.2 RC1
OS/device including version: Windows 10
Issue description: Setting a material as transparent and opaque prepass, alpha channel behaves weird. This was working perfectly on 3.1 and 3.2 the behaviour is shown in the attached gif:

Steps to reproduce: Create a cube, create a SpatialMaterial. Set flag Transparent to True, set Opaque pre-pass. In albedo, play with alpha channel slider
Minimal reproduction project: N/A

I'm experiencing this bug too, but it doesn't happen in the material preview

Does the material preview always use the GLES3 renderer or something?

Does the material preview always use the GLES3 renderer or something?

No, as the whole engine can only use one renderer at a given time.


Why use two different networks in rpn class and regression part ?

In the file rpn_model, there is this part where you create two identical networks with just the output heads are different. These parts are ['cls_fc6', 'cls_fc6_drop', 'cls_fc7', 'cls_fc7_drop', 'cls_fc8'] and ['reg_fc6', 'reg_fc6_drop', 'reg_fc7', 'reg_fc7_drop', 'reg_fc8'].
They have the same input and exactly the same dimensions, so why not make them common layers and then output two different heads ['cls_fc8/squeezed', 'reg_fc8/squeezed'] ?

The two branches are for two separate tasks, classification and regression. Perhaps you can clarify your question a little bit? What do you mean by squeezed?


Transfer transaction

Please provide a gist to make Transfer transaction

Here is the gist for CREATE and TRANSFER transactions using java driver - https://gist.github.com/innoprenuer/d4c6798fe5c0581c05a7e676e175e515


Any menu item that leads to a dialog should have ... following menu item name

e.g. Open Proj would be Open Proj...
But also, I don't think menu items should be abbreviated
"Open Proj" should be "Open Project..." - better for novices, people who are not native English speakers,  etc.

you fixed this right?

I left open because I probably missed some. I'll just keep a lookout and fix as I see them.

ps. don't use the unicode ... elipsis for this -- maybe goland is doing this automatically, but for example we need to be able to search for menu names to insert things after or before, and just using plain ascii is safer there -- some fonts may not render properly etc..

Sure and I changed one you missed.


buf_dependencies

Adds buf_dependencies repo rule to fetch buf dependencies as proto_library targets.

This rule is now available. Refer to the documentation for details


[FE] Deep link support (or just a routing issue)

TBD if this is an issue with the updated - Dioxus v0.3 - version or if it's a bug in the frontend code.
Currently, hitting any path - such as .../sign-in - it shows the homepage.

This is an issue that appeared after the upgrade to 0.3 of Dioxus and its dioxus-router.


Union type gives public access to private member if another type in the union has a public member

class Foo {
	private member: number;
}

class Bar {
	public member: string;
}

var baz: Foo | Bar;
console.log(baz.member); // Compiles. baz.member is number | string even though it's private in Foo

https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#3.10.1 doesn't say what the final visibility of the member in the union type should be. If this is by design, what's the reason?
Two types with the same apparent members but differing in the visibility of a member aren't assignable, so it seems odd to allow it for union types. Eg:
class Foo2 {
	private member2: number;
}

class Bar2 {
	public member2: number;
}

var baz2: Foo2;
baz2 = new Bar2(); // Bar2 is not assignable to Foo2. Property "member2" is private in Foo2 but not in Bar2
var qux2: Bar2;
qux2 = new Foo2(); // Foo2 is not assignable to Bar2. Property "member2" is private in Foo2 but not in Bar2

Edit: To clarify, the inconsistency is that this compiles:
var baz: Foo | Bar = new Foo();
console.log(baz.member);

but this doesn't:
// This is what Foo | Bar effectively is, right now
class Union {
	public member: number | string;
}

var qux: Union = new Foo(); // Error. Foo is not assignable to Union because member is private in Foo but not in Union
console.log(qux.member);

Actually, even if both types have the member as private, the union has it as public.


code panics when max argument of pick_u32 is u32::max_value()

https://github.com/paritytech/substrate/blob/6a63f282a5c0fb608569137ed464a23583d2d7de/primitives/runtime/src/random_number_generator.rs#L66
L77 is careful to handle the u32::max_value() case, but on L66 the computation of the largest acceptable value top to avoid biased output isn't.  The subexpression ((max + 1) as u64) computes (max + 1) as u32 first before converting to u64, so will overflow if max is u32::max_value().  In debug builds the computation will panic on the (max + 1) because overflows are detected; in optimized builds the overflow to zero is not detected, but the computation will panic on the division by zero.
This is fixed by replacing those subexpressions with ((max as u64) + 1).

Duplicates of https://github.com/paritytech/substrate/issues/7444


MQTT connection error on SST(ION) dev next dev command (macOS M1)

I'm encountering an issue when running the sst dev next dev command on my macOS M1 machine (Also have the same error in my remix app as well). I'm using the following versions:

"sst": "^3.0.1",

Error:
time=2024-04-17T13:42:27.499+02:00 level=INFO msg=unsubscribing type=*aws.FunctionLogEvent time=2024-04-17T13:42:27.499+02:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : websocket: close 1005 (no status)"

does this issue eventually go away? or is it consistently happening

also what region is this?

Just wanted drop in that it happens for me on us-west-2 the first 3-4 times that I run sst dev, but seems to be working now after a few more attempts.

@mjh316 is yours a new AWS account?

@jayair It's relatively new (few weeks), but it's not the first time I've used AWS instances on the account.

Just created a new dev sub account with PowerUser access in eu-central-1 and wanted to try it out, got the same error with pnpm dev in a new nextjs project.

eu-central-1 here as well. I keep experiencing this issue.

It seems it's a permission error. I assigned my user the following policy AWSIoTFullAccess and it started working. Not exactly sure which permission enabled that per se.

Also getting the same error. App deloyed on us-east-1, connecting from Europe. Happens quite frequently. Using USA (CA) vpn fixes the issue

This error happens for me as well. I was able to get it working for a while, but as soon as I switched to a different AWS account, I started having troubles again. Interestingly, I can ping the IOT address just fine, only fails when running sst dev.
time=2024-06-20T18:16:22.195-06:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : dial tcp: lookup xxx.iot.us-west-2.amazonaws.com: no such host"

This error happens for me as well. I was able to get it working for a while, but as soon as I switched to a different AWS account, I started having troubles again. Interestingly, I can ping the IOT address just fine, only fails when running sst dev.
time=2024-06-20T18:16:22.195-06:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : dial tcp: lookup xxx.iot.us-west-2.amazonaws.com: no such host"

Edit: the key is to complain on this thread and then try again for the 19th time and it will work.

It looks to me as if you've switched your region as well and now pointing to a location where your services are not deployed.

Observing the same issue with different regions
Deployment goes through fine in all regions, but sst dev does not
First tries on eu-west-1 didn't work, but after a few, it did
But now it isn't working on eu-north-1, same no such host error, the IOT MQTT url seems correct

This error happens for me as well. I was able to get it working for a while, but as soon as I switched to a different AWS account, I started having troubles again. Interestingly, I can ping the IOT address just fine, only fails when running sst dev.

time=2024-06-20T18:16:22.195-06:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : dial tcp: lookup xxx.iot.us-west-2.amazonaws.com: no such host"

Edit: the key is to complain on this thread and then try again for the 19th time and it will work.

It looks to me as if you've switched your region as well and now pointing to a location where your services are not deployed.

Just one region that I'm using, and running sst dev did deploy the assets into us-west-2, so I don't think that's the issue.

I think with newer accounts/regions it takes a few minutes (around 10?) to warm up IoT?

Same here
time=2024-07-04T16:07:12.586+02:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : dial tcp: lookup xxx.iot.eu-central-1.amazonaws.com: no such host"

Very old AWS account, but never used IoT stuff with it 🤔

I got this as well, trying to use SST for the first time. I retried a few times, then did a google search and found this thread -- looks like waiting a bit fixed it.

This also happened to me.  Not a new account, but first time I used sst on this account.  Waiting about 5 minutes and trying again fixed it.


Update event-driven-content.md

Before clicking the "Create pull request" button:
Enter a meaningful title. We suggest using the keywords "New" or "Update" indicating the nature of changes.
Summary, scope, and intent of this PR
One of the main challenges of EDA is error handling but this page hasn't touched that subject. I've clarified it and added a workaround. That workaround is called "workflow event pattern" and the error-handler processor is called "workflow processor". However, as per previous feedbacks, I tried to avoid technical jargons.
This book is the source of my claim: Fundamentals of Software Architecture: An Engineering Approach
Links to any related work item(s) or supporting detail

[DELETE-OR-REPLACE-THIS-TEXT]
[DELETE-OR-REPLACE-THIS-TEXT]

AFTER YOUR PR HAS BEEN CREATED, expand this section for tips and additional instructions.
These are common guidelines for contributions across the repos managed by the Azure patterns & practices (PnP) content team. Some repositories may have additional specific requirements that are not listed here.
Guidance for all contributors

Topic
Guidance

Draft PR
If your PR will be a work-in-progress for more than a day or two, select the Convert to draft link in the upper right of the page (under Reviewers) to change it to a draft. For future reference, you can also do this using the Create pull request button drop-down during PR creation.

ms.date metadata
Don't update an article's "ms.date" metadata property unless you've done a full freshness review of the content. A full freshness review includes changes required to correct or improve the full technical accuracy of the article.Don't update "ms.date" if you're doing targeted changes to improve non-technical aspects of the article, such as editorial quality, art improvements, article template alignment, etc.If you've changed any "ms.date" properties for work that wasn't part of full review for freshness, please reset them to their previous value.

Placement and linking
If you're creating a new article or articles, include updates to the related TOC.yml file to propose where the article(s) should be placed. Also consider other places within the document set where it would be beneficial to cross-reference and link to your new article(s).

PR build
After you open your PR, and for each successive commit that you push to your branch, the publishing platform will run validation on the files in your pull request. A summary of the build results for each file will be inserted inline into your pull request, which includes any build suggestions/warnings/errors. PRs cannot be merged until all build errors and most warnings are resolved.

Publishing
Following a successful merge, most repos publish to the live site about once per (business) day.

Additional resources
learn.microsoft.com contributor guide

Additional guidance for private repos and internal contributors

Topic
Guidance

PR size
If your PR is more than ~5 lines of changes, or you'd like for the changes to go through editorial or larger review, open a contribution request at https://aka.ms/contribution and include a link to the PR in response #8. Once it's processed, you'll be notified of the next steps.

PR title prefix
Select the Edit button to the right of the PR title if you need to revise it. The following prefixes are reserved for specific contribution types:[Quality Check] - maintenance work related to content quality (edit passes, art improvements, template alignment)[LinkFix] - recurring/adhoc PRs to correct link URLs[Pipeline] - new/updated contributor success pipeline content[WIP] - a work-in-progress draft requiring several days/weeks

PR preview
Following successful build of your PR, publishable files will also include Preview URL links to staged previews of your new/updated articles. Be sure to review these for verification of your intended contributions, or to send to other internal contributors for review.

PR sign-off (public repo)
If an article you own is updated in a public repo PR, you are responsible for sign-off. You will be automatically notified via email. The PR will not be merged until you've had a chance to review and sign-off.

PR sign-off (private repo)
After you've completed your proposed changes, addressed build warnings, and completed all review work, you can begin the sign-off process for review and merge:If your PR is in draft mode, remove "[WIP]" from the title and select Ready for review button at the bottom of the PR.Enter "#sign-off" in a new comment. This comment indicates that you're confident the work meets or exceeds Microsoft's standards for publication, and will trigger the review process.Your PR may be selected for initial review by the PnP content team. Following PnP review, you may receive questions or requests for additional changes. You should have initial feedback from PnP review within a few business days. If you have an urgent request or need to contact the team, please mention @MicrosoftDocs/patterns-and-practices-team-pr-reviewers in your PR and someone will get back to you. After the Azure patterns & practices content review is complete, a PnP #sign-off will be added.Final review/merge is done by the PR review team. The PR team may also respond with feedback, categorized as "Blocking" (requires action from you), or "Non-blocking" (to be addressed in a future PR).

Additional resources
learn.microsoft.com internal contributor guideAuthoring templates: architecture-center-pr, well-architected-prTo contact the Azure patterns & practices team use e-mail, or @mention our GitHub team in your PR comments using: @MicrosoftDocs/patterns-and-practices-team-pr-reviewers

@ckittel thanks for feedback. I've edited it accordingly.

Thanks!

PnP #sign-off
#remove-label:"do-not-merge"
#label:"ready-to-merge"

@ckittel  thank you. BTW, it seems you are more into smaller PRs. I've been trying to adjust my approach and speed to fit your busy schedule. Please let me know if there is anything else that I need to take into account.

Very true @azarboon.  We have so much going on. Small, bite-sized ones are the only ones I can get to "in-between" other tasks. The bigger they are, the higher risk more time will need to be spent -- so it gets back burnered.  Just the way it is.


Implement Role-Based Access Control (RBAC)

Create role-based permissions (e.g., admin, professor, student) to restrict access to certain pages or actions.
Define user roles in the database using Django's permission system or custom roles.
Restrict access to certain views (e.g., only admins can add or update records).
Modify templates to show/hide features based on user roles.

Kindly assign me to this
I will have an idea by leveraging Django's built-in permissions framework and define custom roles to control access to specific actions and views

!assign @Roshr2211

Im sorry please deassign me

!deassign

Can you please assign this to me?

!assign @SA-10125

Can you please assign it to me, I would  like to explore around and work on this

!assign @SA-10125

can you plz assign this to me

!assign @SA-10125

!assign @SA-10125

!assign @SA-10125

!deassign


Improvement: Model generator as module

Describe your changes
Possibility to use model generator as Python package is added. Also, this solves: https://github.com/eclipse-velocitas/devenv-devcontainer-setup/issues/21
Issue ticket number and link
Checklist before requesting a review

[x] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics?
[ ] Will this be part of a product update? If yes, please write one phrase about this update.

Part of this is already covered in #47


chore(main): release metamask-testing-tools 1.2.8

:robot: I have created a release beep boop
1.2.8 (2024-08-29)
Bug Fixes

fix user agent, logging and wait for dialog (a286934)
improve setup and install (3d66b6d)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

metamask-testing-tools-v1.2.8
:sunflower:


Remove Buttons for Support and Template Combobox

Describe the solution you'd like
Hi. Can you add an option in settings to hide the support buttons?
Also, is possible to remove the template combobox from the dialog?

Describe alternatives you've considered
Hide with CSS. It looks nice.

Thank you.

I"ll see what sort of compromise I can come up with to minimize the amount of unused space.  I'm not sure completely removing the buttons is a good idea, since they provide ways users can get support, but I can definitely imagine ways we can fold them up when they're not needed.
Also, maybe I can hide the combobox if there are not multiple files to choose from. Would that be acceptable?

I"ll see what sort of compromise I can come up with to minimize the amount of unused space. I'm not sure completely removing the buttons is a good idea, since they provide ways users can get support, but I can definitely imagine ways we can fold them up when they're not needed.
Also, maybe I can hide the combobox if there are not multiple files to choose from. Would that be acceptable?

Also, maybe I can hide the combobox if there are not multiple files to choose from. Would that be acceptable?
Good idea.

But, I would really prefer to check an option in settings to remove the support buttons and the combobox. Like I did with CSS.


[BUG] [HttpClientLoggingHandler::ProcessResponse] 403 Forbidden https://setup.rbxcdn.com/channel/common/version-f0223159583b4054-rbxPkgManifest.txt

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
403 forbidden whilst launching client on latest version.
Bloxstrap_20240821T204845Z.log

Bloxstrap_20240821T205115Z.log
this my log

Happens to me too, it probably has something to do with roblox updating, since its wednesday

issue: https://setup.rbxcdn.com/channel/common/version-f0223159583b4054-rbxPkgManifest.txt is a aws xml blank page

The API does not respond with version-f0223159583b4054, I am confused on why it's trying to request version-f0223159583b4054.

This seems to have been an issue with today's Roblox deployment.


Added bz2 extension

Some composer packages require the bz2 extension when running the composer install step of the test suite. Was debating on forking but others may need the extension too.
requires ext-bz2 * -> it is missing from your system. Install or enable PHP's bz2 extension.

@LewisLarsen You should be able to also manually install the extension in CI directly, using something like:
apt-get install -y php8.1-bz2


Simplify rate limit task

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mandarjog
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: frankbu
If they are not already assigned, you can assign the PR to them by writing /assign @frankbu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/LGTM
/APPROVE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mandarjog, sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [sdake]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Is it possible to change the icon library? Astro-icon isn't importing icons from other icon sets

nevermind I figured it out now :)

Hello @agi-omar. We are moving this to Discussion because it is not an issue with AstroWind.


added VrfKey graphic

Added

keylink cricle
vrfkey graphic compoment

Resoved: #582

Pending on link and unlink icon for keylinkCircle.vue


lazy load fixes

@christopherthielen , Thank you very much for this pretty PR with fix. This PR is very useful and explained :)


Student: Create Your Profile page: Add preferred name, secondary email address and secondary phone number content and fields

User story
As a student user, I want to be able to add my preferred name and have a secondary contact so that SABC has my preferences and other ways to contact me.
Acceptance Criteria

[ ] Add "Alternate/preferred name" field name and text box. Max field characters (50 TBD)
[ ] Add "Secondary email address" field name and text box. Max field characters (50 TBD)
[ ] Add "Secondary phone number" field name and text box. Max field characters (50 TBD)

Business Context
Students may have alternate name / preferred name different from what is included officially in their Identity card / Account Profile.
Discuss other alternate contact info that needs to be added.
Reference: Future Enhancement list> Current Enhancements Inventory #3066

@JerPearson pls review label names

@astridSABC looks good to me!


GOST2012 TLS Supported Groups Identifiers Support

For GOST2012-GOST8912-GOST8912 IANA introduce TLS Supported Groups Identifiers
https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

One of the Travis builds is quite unhappy.
Otherwise this looks good.
Got very strange errors "malloc failure" f.ex
rebased to re-trigger travis

It's a known (to me :) )problem.
I don't have a better solution for it than suppose that no-ec implies no-gost.

Ok move no-gost block under no-ec block

It's a known (to me :) )problem.
I don't have a better solution for it than suppose that no-ec implies no-gost.

Not sure it's a good solution. I think it's better to do it on the configure level.

Ok. let's try this one

Not sure it's a good solution. I think it's better to do it on the configure level.

Now travis is happy

Not sure it's a good solution. I think it's better to do it on the configure level.

You mean, to use the disable_cascades in Configure to have no-ec imply no-gost?

ping @beldmit @paulidale
Travis happy waiting your reaction

You mean, to use the disable_cascades in Configure to have no-ec imply no-gost?

Yes. It's a disputable decision, though.

@beldmit  What about the commit?

@beldmit What about the commit?

I'd recommend using disable_cascades instead of Travis tuning.

Where i must add disable_cascades? I have only idea in travis....

I'd recommend using disable_cascades instead of Travis tuning.

You must use the disable_cascades in Configure

can't what fails now :(

Restarted the failed job

thx

Restarted the failed job

Running for 3h 43m... omg...

Restarted again.

Travis failure seems not relevant here.

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

Merged. Thanks!

I was not attentive enough :(
The secbits value for GOST groups should be 128/256, so @NMorozxov  could you please provide a fixup PR?

I was not attentive enough :(
The secbits value for GOST groups should be 128/256, so @NMorozxov could you please provide a fixup PR?
Ok. I don't know can i have 2 PRs i will try


Support /imsvc in cl mode

clang-cl supports /imsvc / -imsvc for system includes (similar to-isystem in gcc mode), see http://clang-analyzer.llvm.org/docs/UsersManual.html.
The lists in https://github.com/cquery-project/cquery/blob/49ac2e9832f93519b66f6609195225a2ee4c0580/src/project.cc#L86-L89
and
https://github.com/cquery-project/cquery/blob/49ac2e9832f93519b66f6609195225a2ee4c0580/src/project.cc#L99
do not support this.

Do real projects use this option?

Headers from std libs are really annoying on Windows. But msvc is working on its own solution (https://blogs.msdn.microsoft.com/vcblog/2017/12/13/broken-warnings-theory/). It's going to take a while for it to become mainstream however.

@Boddlnagg Want to submit a PR? :)


403 response when trying to get keys for an API from different users

Description
When trying to get keys for 2 different users in the same tenant from APICTL 3.2.0, a 403 response is returned.
./apictl get-keys -n test -v 1 -r creator -e development -k --verbose
Executed ImportExportCLI (apictl) on Tue, 29 Aug 2023 12:10:00 +0530
[INFO]: Insecure: true
[INFO]: get-keys called
[INFO]: Retrieved credentials of the environment successfully
[INFO]: Getting ClientID, ClientSecret: Status - 403
Error: %!s(<nil>)
Body: {"code":403,"message":"Forbidden","description":"Access is forbidden to the application","moreInfo":"","error":[]}
apictl: Internal error occurred Reason: Request didn't respond 200 OK for DCR request. Status: 403
Exit status 1

Steps to Reproduce

Create 2 users in the same tenant of APIM 3.2.0 latest pack.
Add the environment to the APICTL.
Login providing 1 user credentials and generate keys for an API. (Keys will be generated successfully)
Try to generate keys after loggin in as the other user. (You will receive 403 response)

Affected Component
APICTL
Version
3.2.7
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Closing since the PR is merged.


Redirect "dart:io" stderr and stdout to adb (Android) and syslog (iOS)

Today we only redirect print (see https://github.com/flutter/engine/blob/master/sky/engine/bindings/dart_runtime_hooks.cc). We should also do this for stderr and stdout.
Steps to Reproduce

In your app import 'dart:io';
Do stdout.writeln('message') or stderr.writeln('message')
Run flutter logs
Run your app using flutter start or run a test using flutter drive
Observe that logs do not show any output

Flutter Version
https://github.com/flutter/flutter/commit/7ee1ee31d16c3bcf0fcefbac283bfb50594b949f
/cc @johnmccutchan

Reproducible on the latest master 1.22.0-10.0.pre.385.

flutter doctor -v
[√] Flutter (Channel master, 1.22.0-10.0.pre.385, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
    • Flutter version 1.22.0-10.0.pre.385 at C:\Development\flutter_master
    • Framework revision 73b6398932 (4 hours ago), 2020-09-28 11:07:32 +0800
    • Engine revision 3a73d073c8
    • Dart version 2.11.0 (build 2.11.0-161.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.5)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.6.30320.27
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (6 available)
    • SM G950F (mobile)           • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • sdk gphone x86 arm (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)           • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.508]
    • Web Server (web)            • web-server         • web-javascript • Flutter Tools
    • Chrome (web)                • chrome             • web-javascript • Google Chrome 85.0.4183.121
    • Edge (web)                  • edge               • web-javascript • Microsoft Edge 85.0.564.51

• No issues found!

This is pretty old, but any chance it could be revisited? I need to be able to redirect all console output (print + stdout + stderr) to a logfile, so that I can upload app-specific logs to a server when a user reports a bug.

That would be nice indeed to redirect console output to logcat/logfile. I have an Android app with integrated flutter modules/activities and when there is an error in flutter, there is no logcat whatsoever unless I catch it and send it manually to logcat, which is often impossible for imported packages.

Is anyone on the Flutter team interested in moving forward with this? If so, let me know and we can discuss what embedding hooks we need to provide in Dart to make it possible.

Reproduced this issue on the latest stable/master channel.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.3, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0366e0a3f (23 hours ago), 2023-12-05 19:46:39 -0800
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe Patch 3.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 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.2)
    • 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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 119.0.6045.199

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.18.0-7.0.pre.84, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.18.0-7.0.pre.84 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 887048004b (38 minutes ago), 2023-12-11 21:29:25 -0500
    • Engine revision 75cfb050cd
    • Dart version 3.3.0 (build 3.3.0-217.0.dev)
    • DevTools version 2.30.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe Patch 3.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 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.2)
    • 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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 120.0.6099.71

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.


chore(accessibility): refactor types

Motivation
We should decouple types related to React implementation and keep framework agnostic stuff separately.
Breaking Changes
These types are exported publicly, so I consider these changes as breaking. All related to types naming which allows us to have more meaningful names.

AccessibilityBehavior => ReactAccessibilityBehavior
KeyboardHandler => KeyboardEventHandler
ActionsKeyHandler => AccessibilityKeyHandlers
OnKeyDownHandler => AccessibilityHandlerProps

keyboardHandlerFilter
Was renamed to shouldHandleOnKeys and refactored to be pure function. No user facing changes.
Types improments

Accessibility type is now generic and allows to define props strictly
actionsHandlers now use React.KeyboardEvent instead of KeyboardEvent, how it should be

Fails

:no_entry_sign:
All of your entries in CHANGELOG.md should be in the **Unreleased** section!

  Generated by :no_entry_sign: dangerJS


Use correct line separator when checking call result.

Fix for issue
https://issues.apache.org/jira/browse/TOMEE-2437

That's awesome, thank you!


Drag and drop

Is it possible to drag and drop between stories? In this way, the new order

not the scope


Dynamic access keys on iOS 16.1 using Outline iOS Client 8.1

Describe the bug
Connecting to a server using dynamic access keys gives me an error:
Sorry, an unexpected error occured. Quitting and restarting may help. If this happens again, please submit feedback.
I restarted both the app and my phone but I keep getting the same issue.
I tried the ssconf on my computer on the same network (mobile hotspot) and it worked. The phone can also connect to the server (when using the standard).
I also tried to open the json file with my web browser but it did not work.
To Reproduce
Use dynamic access key on iPhone.
Expected behavior
What behavior did you expect?
Being able to connect to the server.
Client System (please complete the following information):

Outline Client Version:  iOS 1.8.1
Your Operating System: iOS 16.1

Similar issue here, using Uprise pad's .txt link works perfectly fine, but ran into your error using json file hosting on all other platfoms (aws etc.) on iOS 16.1 & iOS 1.8.1.
MacOS clinets accept .json links from all platforms without any problem though.
Hope someone can help me thanks in advance!

but ran into your error using json file hosting on all other platfoms (aws etc.)

Did you enable CORS?

Thanks ! Enabling CORS on Digital Ocean with * in origins made it work.


about projector_pose estimate

Hi author , I notice that the when you do differential rendering to estimate the projector_pose, you optimize the position and rotation of the Projector scene, but both of these parameters are not in doc of mitsuba , and I have no idea whether they can be diff, So can you give me some advice about How can I find the projector pose parameters "Position.position" and "Projector.rotation" for diff

Hi @ljijjiang1234, we've added those parameters in our mitsuba2 forks, and we also have modified original projector emitter code to enable optimizing its pose parameters as specified in paper. See here and this commit.

Thank you very much , what a genius idea to make the virtual compensation more step by step closely to the real world compensatation problem for your paper work does . I really learn a lot from your paper. Looking forward to your next work.


Mac 5 and mac39 are quarantined due to 6 consecutive failed tasks

The failures are with Mac_arm64_staging native_ui_tests_macos, which is not needed anymore (https://github.com/flutter/flutter/issues/101721)

We should remove the test https://cs.opensource.google/flutter/infra/+/main:config/devicelab_staging_config.star;l=349

@keyonghan is this a test issue? Should we be trying to make the test pass?

Yes. Please see the fix suggested in the description.

Fix: https://flutter-review.googlesource.com/c/infra/+/32080

removed .task_failure_count from mac-5,39. Both machines are recovered.


sunra/php-simple-html-dom-parser problems

I think that this dom parser is being overly aggressive for what we need. With the built in Editor now allowing editor plugins to do "Whatever they need to do", this DOM parser can cause some serious issues.
I realize that we intentionally use the DOM parser to do picture replacement and it looks liek some layout formatting. However, it's doing a lot more than it needs to be. In addition to what could probably be accomplished with a few preg_replace calls, The load function in the simple_html_dom.php file is doing a lot of things that probably aren't desired by many editor plugins. Most notably the one I've been bumping up against is wanting to do inline code / preformatted blocks. Because the parser is stripping out my line feeds, and stripping out the <code> tags this is making life way more difficult than it should be.
Is there some reason we don't just take what the editor sends as HTML, clean/modify it using our own set of customization rules, and leave everything else be? Running it through this library takes away a certain amount of plugin flexibility that I'd really hope to be able to have.

Seems like we might be able to get around some of this by doing:
        $r = $dom->str_get_html($text, true, true, DEFAULT_TARGET_CHARSET, false);

and
            $text = (string) $r->restore_noise($r);

Just not sure what other problems this will create if we do this.

Is there some reason we don't just take what the editor sends as HTML, clean/modify it using our own  set of customization rules, and leave everything else be? Running it through this library takes away a certain amount of plugin flexibility that I'd really hope to be able to have.

Uh, because there already exists a library that does this for us. Why would we want to mess with a bunch of regular expressions when we don't have to? Isn't that what reusable PHP and composer is supposed to promote?
If the DOM parser is too greedy, that's something concrete that we can work toward fixing. But "let's rip it all out because I don't think it's necessary" is probably not gonna win too many arguments.

@aembler let me rephrase a bit... If we can use the library to accomplish the tasks that need to be accomplished that's great, but we shouldn't do so at the expense of flexibility and we certainly shouldn't have it doing more than it needs to be doing. As it stands now, we're doing a whole lot more than changing out Link related html. We're modifying HTML case, removing "noise", potentially modifying line breaks, forcing closing tags,  etc etc etc.
Based simply on the fact that we're doing this inside a LinkAbstractor class I'd of guessed that these were unintentional side effects of the package that could just be removed (assuming the package itself allows us to). And i don't mean to imply that all of the behaviors that this package is bringing with it are bad either, but to me they shouldn't be the byproduct of a Link abstraction.

We're using it elsewhere too. But if an alternate approach in the link
abstractor can be shown to work without modifying the underlying HTML and
still passes all the tests, we'd consider including it in LinkAbstractor
instead of the SimpleHtmlDom class.
On Tue, Oct 27, 2015 at 8:28 AM, Joe Meyer<EMAIL_ADDRESS>wrote:

@aembler https://github.com/aembler let me rephrase a bit... If we can
use the library to accomplish the tasks that need to be accomplished that's
great, but we shouldn't do so at the expense of flexibility and we
certainly shouldn't have it doing more than it needs to be doing. As it
stands now, we're doing a whole lot more than changing out Link related
html. We're modifying HTML case, removing "noise", potentially modifying
line breaks, forcing closing tags, etc etc etc.
Based simply on the fact that we're doing this inside a LinkAbstractor
class I'd of guessed that these were unintentional side effects of the
package that could just be removed (assuming the package itself allows us
to). And i don't mean to imply that all of the behaviors that this package
is bringing with it are bad either, but to me they shouldn't be the
byproduct of a Link abstraction.
—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5/issues/3063#issuecomment-151540483
.


Support for Jenkins2 Pipeline

In Jenkins2 Pipeline, Datadog Event Monitor is unstable work.
Maybe cause, in Jenkins2 Pipeline, run.getDuration() is always return 0.

This appears to be a duplicate of #71
The following PR's aim to fix this:

"Fix duration of pipeline jobs" #70
"Jenkins pipeline support" #69

I cannot comment on the validity of any of them -- I'm just connecting the dots here since I'd like to use this feature.


handling of stereo formatting

long time user, first time caller!
Is there any plan on handling stereo or view based formatting? nuke uses %v or %V and maybe there are ways I don't know about? not sure if this got standardized along the way.
fsd = fileseq.findSequenceOnDisk(self._filename)
File "fileseq/filesequence.py", line 493, in findSequenceOnDisk
raise FileSeqException(msg.format(pattern))
fileseq.exceptions.FileSeqException: no sequence found on disk matching comp_v01-%v.0001-0464#.jpg

It feels a little bit out of scope for fileseq to have this kind of logic. What does "%v" mean in the generic sense? What does it expand to? And what would you expect to see as a result when using it in terms of findSequenceOnDisk()?

To provide a bit of context, this is a convention the Foundry introduced years ago in Nuke, and I believe Hiero (now part of Nuke Studio) and possibly some of their other programs support it as well.
For fileseq the problem is it's not really something that can be truly generic, as it depends on knowledge of the "views" (stereo eyes) in use.
For example, if you've got a Nuke scene with "left" and "right" views -- the default for a stereo setup -- then %v in the file path will be expanded to "l" for the left eye and "r" for the right eye. If the %V (note capital) token is used instead, then it expands to "left" and "right" respectively.
If however your Nuke scene is set up with custom view names (for whatever reason you've decided on "up", "down" and "strawberry") then they'd expand to the first letter (%v) or full name (%V) of each, which is why this is impossible to generalize without knowledge of the view names in use. It's also why it's difficult to merge sequences in the same directory which differ only on view (ie combine /abc_l.#.jpg and /abc_l.#.jpg into /abc_%v.#.jpg) without again knowing something about the context of what views are in use globally.
This syntax fell out of favor at a lot of facilities once it became possible to have both eyes in a single EXR 2.0 file, but it's still useful for jpg sequences and other formats that don't have that capability.
M
On Aug 17, 2017, 22:26 +0100, Justin Israel<EMAIL_ADDRESS>wrote:

It feels a little bit out of scope for fileseq to have this kind of logic. What does "%v" mean in the generic sense? What does it expand to? And what would you expect to see as a result when using it in terms of findSequenceOnDisk()?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Right. These days I tend to see them expressed as subimages or channels in an exr as opposed to file naming conventions for multiple sequences. It seems like to support this in fileseq, one would need to be able to set the definition of the views somewhere. Maybe this is really just about wildcard support? i.e. what if you could do this:
findSequencesOnDisk("/path/to/stereo/image_{left,right}.#.jpg")

It should be easy for the application to format its sequence strings from the knowledge it has about the views.

That would work, and would encapsulate the problem nicely.
A more complex alternative: at another place I worked at, where this was more common, we did something like the Decimal library, where there was a Context class -- I can't remember the exact name -- and you'd do something like:
with Context("left", "right"):
findSequencesOnDisk("/abc_%v.#.exr")
And we had a simplified one that picked up facility defaults and project settings from the DB:
with Stereo():
[...]
That had the added advantage of letting us set default padding and delim characters for the version number, frame padding, preferred representation (ie #### or %04s), etc, all of which would change show to show.
It is, however, a much larger addition.
M
On Aug 17, 2017, 23:18 +0100, Justin Israel<EMAIL_ADDRESS>wrote:

Right. These days I tend to see them expressed as subimages or channels in an exr as opposed to file naming conventions for multiple sequences. It seems like to support this in fileseq, one would need to be able to set the definition of the views somewhere. Maybe this is really just about wildcard support? i.e. what if you could do this:
findSequencesOnDisk("/path/to/stereo/image_{left,right}.#.jpg")
It should be easy for the application to format its sequence strings from the knowledge it has about the views.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I like findSequencesOnDisk("/path/to/stereo/image_{left,right}.#.jpg") because then it can be arbitrary. nuke has a bunch of other "views" that they've added since stereo, specifically for multi camera 360 VR, since you can have an arbitrary number of cameras in a rig. I would love to request this feature. thanks!

Sounds like a reasonable feature. Will try and find time to look at that, unless someone beats me to a merge request ;-)

I had a play working out some support for this here.
Usage examples look like this:
findSequencesOnDisk('/path/to/files')
findSequencesOnDisk('/path/to/files/image_stereo_{left,right}.#.jpg')
findSequencesOnDisk('/path/to/files/imag?_*_{left,right}.@@@.jpg', strictPadding=True)

If the input path is not an existing directory, it will get treated as a path where the basename supports a pattern. This pattern will be applied to filter the resulting files. Although for all the work required to add this filtering, I feel like it is really similar to adding another line after a user calls findSequencesOnDisk(), to filter the sequences down by their basename. But maybe if the directory contains a ton of files, this would save some time in converting the undesired files to sequences. Do people usually populate single directories with tons of different image sequences? I feel it isn't as common to do this, so I hope this feature is really worth the extra work?
Have a play and let me know what you think.
Branch: 50_findSequencesOnDisk_wildcard

on location, apologies for the delay.
i tried it a couple of times,
findSequencesOnDisk('/path/to/files/image_stereo_left.#.jpg') works
but
findSequencesOnDisk('/path/to/files/image_stereo_{left,right}.#.jpg') didn't.
nor
findSequencesOnDisk('/path/to/files/image_stereo_{left}.#.jpg')
File "", line 1, in
File ".....filesequence.py", line 578, in findSequenceOnDisk
raise FileSeqException(msg.format(pattern))
fileseq.exceptions.FileSeqException: no sequence found on disk matching ....
thinking about it more, i think i would still want them as separate sequences. i'm not going to make a quicktime of all the left and right into one long movie, i'd still need them as separate sequences and therefore separate objects right? how would you suggest "to filter the sequences down by their base name"?

Are you sure you tested the "50_findSequencesOnDisk_wildcard" branch? There are tests exercising those left/right wildcards.
No matter what, they would always be individual sequences. My work was only to allow you to more specifically filter down a single directory that apparently has unbounded numbers of file sequences in them, and you wanted just a left/right result (2 sequences returned).  So that being said, I was wondering if it is just pretty close to you doing this:
seqs =  findSequencesOnDisk('/path/to/files')

rx = re.compile(r'^image_stereo_(left|right).\d+.jpg$')
seqs = [s for s in seqs if rx.search(s.basename())]

Sorry for the delay. This has been merged to master.


Add new InterfaceItems

Add some new InterfaceItems to put in menus such as:

[X] TextLabel
[x] Checkbox / RadioButton

[x] CheckboxGroup (to emulate RadioButtons)

[X] Button
[x] Dialogue

All planned InterfaceItems added


chant-search breaks on partial words

Searching, say, "etia", or "wi", gives no results under "contains"--though, oddly enough, both give something under "starts with".
"tiam" gives a few results, but only because there are chants with "e]tiam" in them (or something similiar.)
In OldCantus searching partial words works just fine, whether searching incipits or full texts and starts or contains.

Actually this seems to be related to #419--despite "wi" having no results, "willibald" gives us "willibalde/i"--though not "willibaldus". So sometimes partial words give results and sometimes not.

Somehow, I didn't get around to trying to recreate this bug until now. This is really odd!
http://<IP_ADDRESS>/chant-search/?op=starts_with&keyword=etia gives 4 results, while both http://<IP_ADDRESS>/chant-search/?op=contains&keyword=etia and  http://<IP_ADDRESS>/chant-search/?search_bar=etia give 0 results.

Further:
http://<IP_ADDRESS>/chant-search/?search_bar=tia gives 3 results (this is unexpected, because we'd expect it to catch at least the 4 results from ?search_bar=etia)
http://<IP_ADDRESS>/chant-search/?op=contains&keyword=tia gives 7 results
http://<IP_ADDRESS>/chant-search/?op=starts_with&keyword=tia gives 0 results (this is to be expected, though, I think?)

Further:
http://<IP_ADDRESS>/chant-search/?search_bar=tia gives 3 results (this is unexpected, because we'd expect it to catch at least the 4 results from ?search_bar=etia)
Didn't ?search_bar give 0 before? At any rate, it IS unexpected, since tons of words contain "gratia" or "justitia". however, the three chants listed all have a "word" consisting of just "tia" or "-tia" because of various missing syllables. So it may be that search_bar assumes a preceding space/hyphen or something.

http://<IP_ADDRESS>/chant-search/?op=contains&keyword=tia gives 7 results

This link shows 3 results for me, so I'm guessing there is a logged-in/non-logged-in thing at play here to

http://<IP_ADDRESS>/chant-search/?op=starts_with&keyword=tia gives 0 results (this is to be expected, though, I think?)
Yes, I think this is right.

We get ~30000 results for contains keyword=tia currently on Production.
for search_bar searches, it should only match things that begin with tia, and not those that contain tia later in the text (i.e. it should be exactly the same as a starts_with keyword search iirc)
@annamorphism, can you take a look at this to see whether it's properly fixed now?

I maintain that this is now fixed. Closing.


Add demonyms?

It would be nice to have demonyms, and their translations

We actually have that in English, eg: ISO3166::Country('ES').nationality.
As for translations, see #349, it was never implemented, but it's still open.
The current nationality data is in the YAML files, but for translations, I think the idea was to keep that data out of the YAML files to save memory. There's also the issue of a getting source for all the data.
(Closing, keeping #349 re: translations)


Migrate DDC to Kernel

This is a tracking issue to move DDC over to Kernel / the new frontend infra.
@jmesserly @sigmundch @kmillikin @natebosch

Excellent!
I think these are the big things we'll need from the front end. Some of these may be done already:

[ ] modular compilation (must not require source code for dependencies to compile a build target, instead some kind of built artifact can be supplied)
[ ] type inference for expressions/statements (including local function return types)
[ ] type inference for class members (infer types from overridden member)
[ ] type checking for expressions/statements
[ ] marking implicit downcasts
[ ] override checking (including explicit covariant keyword)
[ ] covariant generics support (marking parameters, inserting casts for unsafe returned function types)
[ ] marking dynamic call sites

The current status is that this is all mostly there or being implemented now.
Kernel is (only) a typed IR, so the front end will have to perform type inference if it is capable of producing well-typed Kernel.  The checks required for type soundness are either represented explicitly in the Kernel code as checks, or else implicitly required by the operational semantics.
We will implement a typechecker so you can verify your input and also that the result of any transformations is still well typed.

Regarding modularity, mixins are something we may need to work out.  As I understand it, kernel lowers mixins away.  To do this, it needs code (i.e., method bodies for mixed in classes) from dependencies.  This is not present in summaries.
So, it sounds like we need to either:
(1) Add mixins to summaries (or the kernel equivalent).  Summaries are critical path on large builds, so we'll need to be careful if we're adding anything here.
(2) Don't lower mixins in Kernel.  Apply mixins at link-time / run-time.  This is what DDC does today.

BTW, on mixins, all things being equal, we'd prefer kernel lower them.  Doing them at runtime (re-wiring JS prototypes on the fly) has been pretty complicated.

The current APIs are designed to support option (2): we'd simply opt-out from applying the mixin transformation when compiling for ddc.
Option (1) might be trickier since we'd prefer not to have to add to summaries the methods for all classes that could possibly be used as mixins. If the language team decides to mark mixins explicitly in the future, that could make this option more viable.
We might have an option (3): Kevin did some work to make the mixin transformation more modular. His approach was that he would materialize the mixin application, but instead of coping the methods explicitly, he would include references to where the code would be copied from. Could this help address some of the complexities you hit today at run-time? What I'm thinking is that this could let you create the right prototype chain in advance rather than modifying them on the fly.

About the option (3) for mixin transformation, is this issue fixed?

Good question for @kmillikin  - I recall he had planned to work on it, but I honestly don't know the status. Thanks for linking it here.

I checked off two items from @jmesserly's list; they are already implemented in front_end:

type inference for expressions/statements (including local function return types, top-level/static fields)
type inference for class members (infer types from overridden member)

I think I have probably done most of this item already:

reified type information, including generic function/method type args and type parameter bounds, as well as all inferred type args

...but I'm not entirely sure what "and type parameter bounds" refers to, so it's possible that's not yet done.
I have already started on these and I'm hoping to have them completed in September:

covariant generics support (marking parameters, inserting casts for unsafe returned function types)
marking dynamic call sites

..but I'm not entirely sure what "and type parameter bounds" refers to, so it's possible that's not yet done.

@stereotype441 -- this means for a generic function or method like T max<T extends num>(T x, T y), we need the bound for T (in this case, num) available at runtime. That supports dynamic invokes: dynamic m = math.max; m<String>('a', 'b'); . At runtime, we see if the type argument is a subtype of the type parameter bound.
(In general, it's slightly more complex than that, because bounds can be recursive. We first instantiate all of the type parameter bounds using the actual type arguments. Then we check that the actual type arguments are subtypes of the corresponding instantiated type bounds.)

@jmesserly Ok, thanks.  I haven't done any work on that, so I'll leave it unchecked.

tracking this in https://github.com/dart-lang/sdk/issues/31116


Add Symfony2 test app with dev-dependencies fix applied

This PR adds a Symfony2 application with almost no configuration (2 code style changes and a different logger) changes.

adds the application to the tests to check if it can run
modifies the code style checks to use a different CS (the symfony one which is PSR2 + X) for the
new example app

Same as #67 with #66 applied + some Dockerfile and supervisord.conf sugar on top.

It's really up to you how you organize your repositories :)
I'd be glad to have at least one real-world example in the build besides the simple ones.

I'll close the PR, mainly because of #69 and #66. Still I think you should consider some more sophisticated examples.


Consider implementing Sentry to catalog all errors

https://sentry.io/welcome/
https://docs.sentry.io/error-reporting/quickstart/?platform=python

I've also used airbrake.io in the past, it's been great (but maybe a little Ruby-centric?)

Oh, also, airbrake isn't open source...

Im all for using Sentry and it's something we are working on at STScI
That being said, adding a sentrysdk dependency to this project seems out of scope. Anyone using this program could add the sentry bootstrap code to their python config file and add sentry tracking to their project. Seems like it shouldnt b in the package itself but maybe mentioned in the documentation


Edit on GitHub link in API reference is not working

Hyperlink of the edit on Github button on the top right corner of this page https://docs-cupy.chainer.org/en/stable/reference/generated/cupy.ndarray.html#cupy.ndarray.nonzero seems to be broken.
right now it is linked to https://github.com/cupy/cupy/blob/107c7d2899fa34af8ea3a80f79edaf950709b764/docs/source/reference/generated/cupy.ndarray.rst

These ones are generated by sphinx, so there are no actual sources in the repo for them to refer to.
Most of the routines documentation happens to be so, another example:
https://docs-cupy.chainer.org/en/stable/reference/generated/cupy.vdot.html#cupy.vdot

Related:
https://github.com/readthedocs/readthedocs.org/issues/4671

Closing as we migrated to pydata_sphinx_theme. pydata_sphinx_theme has the same issue (stub pages generated by Sphinx's autosummary links to invalid page), so we turned off this Edit link feature.
https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/configuring.html#add-an-edit-this-page-button

"use_edit_page_button": True,


Updated cropper.js to a supported version

jquery-cropper 1.0.1
cropper.js 1.5.7

LGTM, can you show a screenshot of what this thing looks like now you've upgraded?
Are you interested in maintaining this project on a longer term basis?


add cpu freq check to timer set

The timer pre-scaler could be varying during runtime, especially for such case:
https://github.com/microsoft/jacdac/issues/1293
The servo enable update the pll from 16MHz to 48M, which is 3 times faster than origin one. And leads to subsequence packet receiver working in a wrong timeout params, that is header wait timeout from 250us to 86us and full packet timeout from around 300us to 100us.

We already update the prescaler when we change the clock speed. However, it seems the new prescaler is only taken into account on update event. Could you try the following change, instead of yours?
void tim_update_prescaler(void) {
    target_disable_irq();
    // first store, the time
    uint64_t us = tim_get_micros();

    // set the prescaler
    LL_TIM_SetPrescaler(TIMx, cpu_mhz - 1);

    // arrange for the update event to be generated very soon to load the new prescaler
    timeoff = us - 0xfffd;
    LL_TIM_DisableCounter(TIMx);
    TIMx->CNT = 0xfffe;
    LL_TIM_EnableCounter(TIMx);

    target_enable_irq();
}

@mmoskal You are right about the prescaler. It looks like the only thing we need to modify is to add a generation event to tell the hardware to reset the counter and load the registers.

And some verify on tim_get_micros continues:
void tim_update_prescaler(void) {
    uint64_t m = tim_get_micros();

    target_disable_irq();
    LL_TIM_DisableCounter(TIMx);
    LL_TIM_SetPrescaler(TIMx, cpu_mhz - 1);
    uint64_t us = tim_get_micros();
    timeoff = us - 0xffff;
    LL_TIM_GenerateEvent_UPDATE(TIMx); // the update evt will also clear timer cnt
    LL_TIM_EnableCounter(TIMx);
    target_enable_irq();

    uint64_t m1 = tim_get_micros();
    uint8_t *p = (uint8_t *)&m;
    DMESG("before %x %x %x %x", p[0], p[1], p[2], p[3]);

    p = (uint8_t *)&m1;
    DMESG("after  %x %x %x %x", p[0], p[1], p[2], p[3]);

    DMESG("tim %d", (int)(m1 - m));

}

The log output:
before 0x77 0x24 0x92 0x0
after  0x7F 0x24 0x92 0x0
tim 8

@xmeow did you try my code from my comment above? it should do approximately what your code does but be a little more resilient for the update event happening close the generated update event. Thank you for testing!

Yeah, I tried both and looks the same to me. Sorry I could not tell the difference between the two implementations, it is beyond my knowledge. I just have a feeling that using something from the SDK would be better, fall back to your implementation in the PR.

@mmoskal Sorry to bother, maybe you have missed the last message. I have tried your code and fall back to it in lastest commit.  Everything works great after the prescaler take effect.


MNT bipartite_learn breaks when compiled with Cython 3.0.2

This issue may be related: https://github.com/cython/cython/issues/5643
Compiling with Cython==0.29.33 solves the issue.

For now, I added cython==0.29.33 as a build dependence in bipartite_learn 0.7.1 (https://github.com/pedroilidio/bipartite_learn/commit/e3b70328e9af011727ebb7af31f591140fe5e3be).


Indentation, trailing space, and blank line clean up

I was finding inconsistent indentation as I read through the code - so i ran rubocop over it to clean up the whitespace.

Okay, stopping before i get carried away.

Radio silence......

@Br3nda This branch has conflicts that must be resolved. The more I think about it though, the more I think it might be better to just update the rubcop.yml file so that we can introduce consistent formatting incrementally instead of changing the codebase all at once. I used to have Hound setup for this project to do just that, but it looks like it has not been barking as of late.

@RickCarlino would you like more PRs? I was a bit dismayed by this PR
I can see bugs but not sure you're accepting outside PRs or not.

@Br3nda Sure.


feat: activate yaml workflow

Main improvements in this PR:

This PR is to start the implementation of yaml-based curation workflow, as planned in #27

After confirmation of lossless conversion between Yaml and Matlab model files (using testConversionYaml function), the latter is removed from current and later all other branches, except master
From now on, a yaml-based workflow is thus activated and simple curations can be made by directly editing model components (e.g. subSystems, EC numbers) with the Yaml file
Complex curations can be made by functions/scripts after loading the model (using importHumanYaml) from, and finally save back (using writeHumanYaml) to, the Yaml file
Minor fixes to importHumanYaml and testConversionYaml
It is suggested that the Yaml file should be checked by testConversionYaml every time when merging feature/fix branches into devel

I hereby confirm that I have:

[X] Tested my code on my own computer for running the model
[X] Selected devel as a target branch

For some reason, changing the .yml file (i.e., in e4b1093) seems to generate a massive diff (57,588 lines changed). I would suggest that this is fixed before implementing this type of workflow, because:

Huge diffs will bloat the repo (I think?)
It's virtually impossible to see what was actually changed in the yaml file, which completely defeats its entire purpose.

@JonathanRob thanks for spotting this huge diffs problem, which was caused by Atom editor that introduced some spaces. So it need to be careful when editing Yaml in text editors.
Here I pushed another commit that fixed the problem.


new chapters for lift state and logout

Updated readme with new chapters 13 and 14.

Just one formatting change, and I approve 👍


There is a performance problem in lb/consul.updater, cpu 100%

2.54mins   runtime.lock
runtime.chanrecv
runtime.selectnbrecv
code.qschou.com/peduli/go_service_passport/vendor/github.com/olivere/grpc/lb/consul.(*Resolver).updater
-----------+-------------------------------------------------------
53.54s   runtime.unlock
runtime.chanrecv
runtime.selectnbrecv
code.qschou.com/peduli/go_service_passport/vendor/github.com/olivere/grpc/lb/consul.(*Resolver).updater
profile001.pdf

there are the problem code
`func (r *Resolver) updater(instances []string, lastIndex uint64) {
var err error
var oldInstances = instances
var newInstances []string
// TODO Cache the updates for a while, so that we don't overwhelm Consul.
for {
	select {
	case <-r.quitc:
		break
	default:
		newInstances, lastIndex, err = r.getInstances(lastIndex)
		if err != nil {
			log.Printf("grpc/lb/consul: error retrieving instances from Consul: %v", err)
			continue
		}
		updates := r.makeUpdates(oldInstances, newInstances)
		if len(updates) > 0 {
			r.updatesc <- updates
		}
		oldInstances = newInstances
	}
}

}`

I see. I'm not sure if it's worth fixing the issue as the way gRPC does resolving/balancing is now at a very different level as it used to be at the time I was writing this library. See #1 for a hint. There are alternatives like https://github.com/ekomobile/grpc-consul-resolver that seem to register Consul as a resolver and use the newer LB mechanism.
Looking at this issue, we could of course add a simple cache to updater or use Consul watches to stop polling for changes.


#107: Adapt metadata query to Exasol 8

Closes #107

PR contains unwanted changes, will be replaced with #109


[epic] Use encryption (HTTPS) for catalogd webserver responses

Before we GA, catalogd's webserver needs to be updated to use encryption, for two primary reasons:

In 2024, encryption is table stakes for webservers.
If we ever get requirements to add authentication and authorization checks for catalogd's endpoints, encryption is required to avoid leaking client credentials in cleartext.

Adding encryption after GA would be a breaking change.
Tasks:

[ ] Implement HTTPS support for the catalogd webserver

PR: https://github.com/operator-framework/catalogd/pull/263

[ ] Cut a release of catalogd
[ ] Update operator-controller's catalogd dependency

/assign

Existing draft PR: https://github.com/operator-framework/catalogd/pull/243
@trgeiger I'm not sure when I'll have cycles to circle back around to ^ so feel free to spin off a new PR with that one as inspiration. I'm happy to be a point of contact and answer any questions/pair program if needed

Awesome, I was just about to ask. Thanks for getting most of the work done!

Do we want to maintain cert files,  or can we use a Serving Cert here?

Serving certs are being handled by service-ca-operator which is a Cluster Operator so -

Pros:  this rotates and provides keys for us, in standard k8s secret format,  so we don't have to maintain certs.
Cons: creates a dependency between OLM and CA Operator,  so need to verify both can be alive at the same time.

@itroyano Since this is an upstream project we should use something like Cert Manager (#243 should have an example). I imagine that a vendor like OpenShift would have some logic to substitute the Cert Manager usage with something like the service-ca-operator

draft PR #263

#263 has been merged. Next we will need to cut a release of catalogd so we can update the dependency in operator-controller and make any changes needed in operator-controller.

Bug related to HTTPS: #270

Pending MR for operator-controller

With #888 merge, operator-controller is now using catalogd v0.14.0 and encryption is implemented.

Closing as this is completed. Thanks for all the awesome work @trgeiger !


Remove curl dependency and disable OAuth Bearer SASL mechanism

Motivation
The curl dependency is just necessary for the OAuth Bearer SASL mechanism. Let's remove that configuration option for now.
Modification
Removes the curl dependency.

I can see that there's lots of duplicated #define statements in config.h. I don't think that's expected, is it?
These
https://github.com/swift-server/swift-kafka-client/blob/ff579ee08a9140a8e1b796de04dcff7f78241370/Sources/Crdkafka/custom/config/config.h#L22-L31
are duplicated just a few lines below
https://github.com/swift-server/swift-kafka-client/blob/ff579ee08a9140a8e1b796de04dcff7f78241370/Sources/Crdkafka/custom/config/config.h#L34-L38
ENABLE_LZ4_EXT is even defined three times in the above two segments. There's some more duplication further down in the file.

This was confusing as heck, but I've got things to build locally again. Turns out config.h defines both ENABLE_CURL and WITH_CURL. The former is only referenced in configure.libcurl, while WITH_CURL is all over the place and controls the inclusion of rdkafka_sasl_oauthbearer.c—and that leads to build errors without curl.

Oh fun, the build is still broken on Linux


nerdctl 2.0.0 fails to use configuration acceleration

Description
containerd is using 2.0.0, nerdctl v2.0.0 configuration acceleration failed, but version v1.7.7 was able to accelerate successfully
Steps to reproduce the issue
1.Use the same configuration
cat /etc/containerd/certs.d/docker.io/hosts.toml
[host."https://tylhjsevjg.xx.x/"]
capabilities = ["pull", "resolve", "push"]

nerdctl v1.7.7 can succeed
[root@m1 ~]# nerdctl -v
nerdctl version 1.7.7
[root@m1 ~]# nerdctl pull nginx:1.14.1
docker.io/library/nginx:1.14.1:                                                   resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:32fdf92b4e986e109e4db0865758020cb0c3b70d6ba80d02fe87bad5cc3dc228:    done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:dacd12f5855de663f1a87c9b62004241d389d6d02d7da1a136dfd71aaea8b3e1: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:5f2d4477b7ea238f6ffb483962f4d124876277879a8aa948ae554d4268a41b04:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:251439d5b33cacae1be27ed05f7390cc9cb9759e9c47cb51a6df18a069790ddf:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:a5a6f2f73cd8abbdc55d0df0d8834f7262713e87d6c8800ea3851f103025e0f0:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:2343eb083a4e37d0f6c210b7673bd2cede0f5e96b5fc740045b67f57a5ef28f4:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 41.5s                                                                    total:  42.6 M (1.0 MiB/s)

3.nerdctl v2.0.0 can failed
[root@m1 ~]# nerdctl -v
nerdctl version 2.0.0
[root@m1 ~]# nerdctl pull nginx:1.14.2
docker.io/library/nginx:1.14.2: resolving      |--------------------------------------|
elapsed: 9.9 s                  total:   0.0 B (0.0 B/s)
INFO[0010] fetch failed                                  error="failed to do request: Head "https://registry-1.docker.io/v2/library/nginx/manifests/1.14.2\": net/http: TLS handshake timeout" host=registry-1.docker.io
FATA[0010] failed to resolve reference "docker.io/library/nginx:1.14.2": failed to do request: Head "https://registry-1.docker.io/v2/library/nginx/manifests/1.14.2": net/http: TLS handshake timeout
Describe the results you received and expected
nerdctl repair speedup
What version of nerdctl are you using?
v2.0.0
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
[root@m1 ~]# nerdctl info
Client:
Namespace:	k8s.io
Debug Mode:	false
Server:
Server Version: v2.0.0
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Log: fluentd journald json-file syslog
Storage: native overlayfs
Security Options:
seccomp
Profile: builtin
cgroupns
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
Operating System: Rocky Linux 9.4 (Blue Onyx)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.793GiB
Name: m1
ID: 58f2d555-cf38-4a2a-98bb-9813e727efe0

Confirmed
@AkihiroSuda /assign + v2.0.2 tentatively.
@wzxmt you can temporarily workaround this by TEMPORARILY putting your configuration inside index.docker.io instead of docker.io:
/etc/containerd/certs.d/index.docker.io/hosts.toml

确认的 @AkihiroSuda/assign + v2.0.2 暂定。
@wzxmt您可以暂时解决这个问题，方法是将您的配置暂时放在里面，index.docker.io而不是docker.io： /etc/containerd/certs.d/index.docker.io/hosts.toml

ok,thanks!  Change to index.docker.io to succeed。

@wzxmt fix just got merged and will go with upcoming 2.0.2.
Remember to revert from index.docker.io to the normal and expected docker.io once you update.


Add Vale GitHub workflow

Fixes #513
Description

Add Vale GitHub workflow to check doc changes in a PR per the SUSE Style Guide
Using openSUSE Vale Style Guide rules https://github.com/openSUSE/suse-vale-styleguide/tree/main

Comments

I looked at Style check / runner / vale (pull_request)'s result and it claims that no files were changed? @LucasSaintarbor can you clarify? I was expecting it to list the files in the PR.

Maybe because technically no files changed...we simply added new files. Existing files were not changed at all.

@martyav Yes, exactly. If no files are changed, this will be the message. Here is an example of when there are files changed: https://github.com/LucasSaintarbor/rancher-docs/actions/runs/8363804384/job/22897642950?pr=4

On this run (https://github.com/LucasSaintarbor/rancher-docs/actions/runs/8366031953/job/22905281499?pr=2) the Vale script ended early because it couldn't find a file, but the file (versioned_docs/version-2.7/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-cloud-providers/migrate-from-in-tree-to-out-of-tree.md) doesn't seem to be part of the associated PR. I was trying to understand why that happened. The test didn't fail, at least.


Merging different index files

Instead of loading previous index and add_items to that. Is there any possible way to merge different index.bin files?

Hi @walekarketaki8,
You can potentially do that, but it will be as slow as using add_items, since the graphs are have to be rewired.

Is there any way to make this add_items fast? Since we are having around 1GB  index file and to add something in that is taking way too much time.

@walekarketaki8
By "something" do you mean a batch of elements or a whole index? You can incrementally add elements to your index.

But its time consuming....currently we are doing that only 'incrementally add elements to index.'
but its taking much time

@walekarketaki8 The add_items time can possibly be reduced via optimization, however, I do not see any simple solution to make it fast.

What kind of optimisation do u suggest?

Hi @walekarketaki8,
You can potentially do that, but it will be as slow as using add_items, since the graphs are have to be rewired.

Do you have any sample code that merges 2 different index files?

@walekarketaki8
There are lots of possible small optimizations.
E.g. it seems that during insertion of an element, the links should be added starting from the bottom layer, not from the above.
The trick with more controlled selection of layers can be adopted from Faiss' HNSW implementation.
Some tuning and profiling would also help.

.get_items() is empty list.
index = hnswlib.Index(space='l2', dim=186)
index.load_index('x.bin')
max_elem = len(index.get_ids_list())
index.load_index('x.bin', max_elements=max_elem)
item1= index.get_items()

@DoanThu
A simple way to do it is just load all indexes and add the elements of one index into another (e.g. using get_items for index 2 and then add_items for index 1).
In C++ merging can be done somewhat faster, but not dramatically.

get_items() is empty list.
index = hnswlib.Index(space='l2', dim=186)
index.load_index('x.bin')
max_elem = len(index.get_ids_list())
index.load_index('x.bin', max_elements=max_elem)
item1= index.get_items()

@walekarketaki8 Hmm. Will look into that.

@walekarketaki8 Hmm. Will look into that.

Thanks for the replay. By the way for the above problem here is more detail explanation
index1 = hnswlib.Index(space='l2', dim=186)
index1.load_index('file1.bin')
max_elem = len(index1.get_ids_list())
index1.load_index('file1.bin', max_elements=max_elem+24971)
index2 = hnswlib.Index(space='l2', dim=186)
index2.load_index('file2.bin', max_elements=24971)
After doing (index2.get_items()) gives []
But index2.get_items([0]) gives [[.....]] 186 dimension vector
Problem is after doing
index1.add_items(index2.get_items())
getting RuntimeError: The number of elements exceeds the specified limit

@walekarketaki8 Hmm. Will look into that.

I found the issue. Able to solve the merging with get_items() and add_items()

Great!


Shader Split

In this experiment, we want to gain an understanding of how the shader works. Points of interest are especially:

Data transfer
Impact of dispatches, compute pipelines and command pools

Goals
1. Move parts of the shader to CPU

Optimization problem: move as much of the shader with as little impact as possible
Check performance (old vs new)

2. Optimize with new-found modularity

Sorted Objects (some optimization to reduce intersection checks)
BVH
Continuous ray generation
Aggregate rays into Element-Hit-Buckets
Check performance again

Todo: create dev-branch Tag to compare against

We decided that we don't have the time to do in-depth Vulkan optimizations and therefore we won't merge the split into the development branch for now.


Improve error message around "inconsistent vendoring" for vendored apps

There have been some recent updates made to the Go Mod Vendor Buildpack and Dep Ensure Buildpacks to fail detection if a vendor directory exists (i.e the app is vendored). This means that if I'm using the language family Go buildpack and build an app using dep or go modules that's vendored, it should detect on go-dist and go-build. While the changes that were made are reasonable, it's now possible for builds to fail with an "inconsistent vendoring" error because I might not have vendored my app with the same version of Go used to build the app, that's rather hard to make sense of.
Here's an example of this.
pack build vendored-go-modules --buildpack gcr.io/paketo-buildpacks/go -v
Pulling image gcr.io/paketo-buildpacks/builder:full-cf
full-cf: Pulling from paketo-buildpacks/builder
Digest: sha256:a644524b74ce5e6f6aa061e4ca3da49c8ac763ba2a504accafbd3846a4b49505
Status: Image is up to date for gcr.io/paketo-buildpacks/builder:full-cf
Selected run image mirror index.docker.io/paketobuildpacks/run:full-cnb-cf
Pulling image index.docker.io/paketobuildpacks/run:full-cnb-cf
full-cnb-cf: Pulling from paketobuildpacks/run
Digest: sha256:5bfb17205e2f528b91e10db7adca72c9e1689e189fad23cf5ab8793fc1b7201e
Status: Image is up to date for paketobuildpacks/run:full-cnb-cf
Pulling image gcr.io/paketo-buildpacks/go
latest: Pulling from paketo-buildpacks/go
51721ff70849: Pull complete
c4e4389e75e1: Pull complete
d66019a3339b: Pull complete
775c8ad70a39: Pull complete
ef125ae8f7da: Pull complete
94e84e81ba0b: Pull complete
Digest: sha256:ac834dc641d631ae87ee091ec917ac7b6915633b5ff7ab4bc3c4c44623a4b342
Status: Downloaded newer image for gcr.io/paketo-buildpacks/go:latest
Adding buildpack paketo-buildpacks/go version 0.0.11 to builder
Adding buildpack paketo-buildpacks/dep version 0.0.155 to builder
Adding buildpack paketo-buildpacks/dep-ensure version 0.0.12 to builder
Adding buildpack paketo-buildpacks/go-build version 0.0.15 to builder
Adding buildpack paketo-buildpacks/go-dist version 0.0.193 to builder
Adding buildpack paketo-buildpacks/go-mod-vendor version 0.0.148 to builder
Setting custom order
Creating builder with the following buildpacks:
-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>Using build cache volume pack-cache-8ab2ea616a9c.build
===> DETECTING
======== Output<EMAIL_ADDRESS>========
failed
======== Results ========
pass<EMAIL_ADDRESS>fail<EMAIL_ADDRESS>pass<EMAIL_ADDRESS>======== Output<EMAIL_ADDRESS>========
failed
======== Results ========
pass<EMAIL_ADDRESS>pass<EMAIL_ADDRESS>fail<EMAIL_ADDRESS>pass<EMAIL_ADDRESS>======== Results ========
pass<EMAIL_ADDRESS>pass<EMAIL_ADDRESS>Resolving plan... (try #1)
paketo-buildpacks/go-dist  0.0.193
paketo-buildpacks/go-build 0.0.15
===> ANALYZING
Analyzing image "ccf1ab065b680aa3c4d0ba641972213c5044dc7a8fbcc3e686b464eb88747852"
Restoring metadata for "paketo-buildpacks/go-dist:go" from cache
Writing layer metadata for "paketo-buildpacks/go-dist:go"
Restoring metadata for "paketo-buildpacks/go-build:targets" from app image
Writing layer metadata for "paketo-buildpacks/go-build:targets"
Restoring metadata for "paketo-buildpacks/go-build:gocache" from cache
Writing layer metadata for "paketo-buildpacks/go-build:gocache"
===> RESTORING
Restoring data for "paketo-buildpacks/go-dist:go" from cache
Restoring data for "paketo-buildpacks/go-build:gocache" from cache
Retrieving data for "sha256:d99c22e4554f92a43a180c4ff03cc25f55f54e084fcaa4be403ea9b1c21c01c1"
Retrieving data for "sha256:9a25daa69bcd4e66076b83759b94addc9078fdf5d90f2989e819449c3022815f"
===> BUILDING
Go Distribution Buildpack 0.0.193
  Resolving Go version
    Candidate version sources (in priority order):
      <unknown> -> ""
    Selected Go version (using <unknown>): 1.14.6
  Reusing cached layer /layers/paketo-buildpacks_go-dist/go
Go Build Buildpack 0.0.15
  Executing build process
    Running 'go build -o /layers/paketo-buildpacks_go-build/targets/bin -buildmode pie -mod vendor .'
      Failed after 22ms
        go: inconsistent vendoring in /workspace:
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
        run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory
failed to execute 'go build': exit status 1
ERROR: failed to build: exit status 1
ERROR: failed with status code: 7

Relevant PRs:
https://github.com/paketo-buildpacks/go-mod-vendor/pull/83
https://github.com/paketo-buildpacks/dep-ensure/pull/14
Proposal
Could we look into improving the error message here? Perhaps could be as simple as a message underneath like "Was your app vendored using Go Version "
cc @sophiewigmore @ForestEckhardt

I was able to reproduce this issue for the go mod case with these steps:

Clone the current version of the go mod Paketo sample app which specifies Go version 1.15 in its go.mod
Running go mod vendor with Go 1.13.15
pack build the app with the Go buildpack 0.2.1

Output:
pack build mod-sample-vendored13 --buildpack gcr.io/paketo-buildpacks/go:0.2.1
base: Pulling from paketobuildpacks/builder
Digest: sha256:01d328f9271f51dc0e2631bb9e59fa370c783822211a6216fdadc7c6fd9a54f8
Status: Image is up to date for paketobuildpacks/builder:base
base-cnb: Pulling from paketobuildpacks/run
Digest: sha256:c8237ca7fe27a0a962ff6532cedaf06554ed963bde81ff8a4000a9fafea671ea
Status: Image is up to date for paketobuildpacks/run:base-cnb
0.2.1: Pulling from paketo-buildpacks/go
Digest: sha256:dde5cfa69ba74fa869a4435cc7138462b59ee70de34f3d8e9f83562173af7714
Status: Image is up to date for gcr.io/paketo-buildpacks/go:0.2.1
0.9.1: Pulling from buildpacksio/lifecycle
Digest: sha256:53bf0e18a734e0c4071aa39b950ed8841f82936e53fb2a0df56c6aa07f9c5023
Status: Image is up to date for buildpacksio/lifecycle:0.9.1
===> DETECTING
[detector] paketo-buildpacks/go-dist  0.2.2
[detector] paketo-buildpacks/go-build 0.0.35
===> ANALYZING
[analyzer] Previous image with name "mod-sample-vendored13" not found
===> RESTORING
===> BUILDING
[builder] Paketo Go Distribution Buildpack 0.2.2
  Resolving Go version
    Candidate version sources (in priority order):
      <unknown> -> ""
[builder]
[builder]     Selected Go version (using <unknown>): 1.15.3

  Executing build process
[builder]     Installing Go 1.15.3
[builder]       Completed in 9.334s

[builder] Paketo Go Build Buildpack 0.0.35
[builder]   Executing build process
[builder]     Running 'go build -o /layers/paketo-buildpacks_go-build/targets/bin -buildmode pie -mod vendor .'
[builder]       Failed after 33ms
[builder] failed to execute 'go build': exit status 1
[builder]         go: inconsistent vendoring in /workspace:
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

        run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory

I think the root cause for the go mod case is connected with this change to how go mod vendor writes its modules.txt file which was introduced in Go 1.14.

Is this still an issue, now that go mod vendor doesn't fail detection when a vendor directory is present?

I am going to close this issue due to inactivity. If this is still a problem that you are seeing then feel free to reopen this issue!


docs(v2): Add Kosko to showcase

Motivation
Add Kosko to showcase.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

thanks :)