Secure File Submission Fixes

#995 #996
Some fixes relating to statuses not updating as expected.
Changelog:

Fixed an issue where uploading new files on a submission that's in draft doesn't upload the files
Added Upload Progress bar on Edit
Allow submitting a submission that has a Security Failed Scan status
Added validation to prevent users from submitting submission that contain attachments that have failed or in progress
Security Scan Handler now takes into account files that have been removed (and should no longer cause submissions to get stuck in a status)
eslint fixes on some files

 SFS | Update SFS error message when scan fails, failed file is removed, new file is attached and then user attempts to submit |2|

 SFS | Status not changing after failed security scan rectified |2|


Update dependencies

I have update some dependencies:

AndroidX RecyclerView 1.0.0 ⇾ 1.1.0
Android Gradle Plugin 3.5.1 ⇾ 3.5.2
Gradle 5.6.2 ⇾ 5.6.4
Target Java 8

I also fix some warnings and remove two unused exceptions. If you wanted to keep them, let me know and I'll add them back.

Did you have a chance to look at this @evrencoskun?


[BUG] Role inheritance adds unnecessary roles and rolebindings to the local cluster

Epic: https://github.com/rancher/rancher/issues/36702
When a role template is created that inherits from another role template, and then a user is added to a cluster or project with that new role template, Rancher unnecessarily creates rolebindings for the additional rules in the local cluster.
Repro steps:

Create a downstream cluster
Create a user user1
Create a project/namespace role test1. Add rule "get secrets", then go to "Inherit From" -> "View config maps".
Add user1 to cluster with role test1.
Notice three new rolebindings in the local cluster:

$ kubectl get rolebindings -A -o wide | grep u-8kd9l | grep -v cattle-global-data
c-m-r6rccwxt                             rb-zosadc5l7m                                               Role/p-llmsr-projectmember                            7m32s   u-8kd9l
fleet-default                            r-cluster-k-view-p-llmsr-prtb-pbc4x-tfxi5itz7e              Role/r-cluster-k-view                                 7m32s   u-8kd9l
p-llmsr                                  prtb-pbc4x-rt-64j87                                         Role/rt-64j87                                         7m32s   u-8kd9l
$ kubectl -n p-llmsr get role rt-64j87 -o yaml | grep -A6 rules:
rules:
- apiGroups:
  - ""
  resources:
  - secrets
  verbs:
  - get

One of the rolebindings is for the rule to "get secrets". The others are for viewing the cluster or project objects. None have to do with configmaps, which the role inherited from. On the downstream cluster, both roles for configmaps and secrets are present:
kubectl get rolebinding -A
...
default                       rb-lfyqnqvcjz                                       ClusterRole/rt-64j87                                  3m11s
default                       rb-rbnofevqtx                                       ClusterRole/configmaps-view                           3m11s
...

The role rt-64j87 is totally unnecessary in the local cluster, as it is present in the downstream cluster. It should be omitted.

Closing in favor of https://github.com/rancher/rancher/issues/46077


N Queens Problem

The basic steps of the backtracking algorithm for the n queens problem are as follows:
Place a queen in the first column of the first row.
Move to the next column.
If a conflict is found, backtrack and try a different position for the queen.
If a solution is found, stop.
Repeat steps 2-4 for each column until a solution is found or all columns have been checked.
I would like to solve this problem in C++ please assign it to me.

refer #181


Cannot first login

Hello,
I would like to try this tool but I am having problem from the beginning.
Trying to register the first user I receive "Internal Server Error".
I added  app.debug = True for Flask and the error is:
OperationalError: (sqlite3.OperationalError) no such table: users [SQL: u'SELECT users._id AS users__id, users.user AS users_user, users.email AS users_email, users."key" AS users_key \nFROM users \nWHERE users.user = ?\n LIMIT ? OFFSET ?'] [parameters: (u'aaa', 1, 0)]

Looks like there is no User table.
How can I fix this problem?
Thanks

Looks fixed on my end. Thanks @sroberts!


textEntityTypeMentionName not always works

Hi there.
I have problem with textEntityTypeMentionName.
For example I have message like
[user=1420XXXXXX]

...

And send that message with textEntity, that have type textEntityTypeMentionName.
But user highlighting not always works, when I browse messages. Mentions like that not always clickable. The offset and length for textEntity are correct.
What wrong with that?
Thanks.

You can't mention a user, if the user isn't a member of the chat and restricted its mentions with privacy settings.

Ok. Thanks


Purview quota reached

Dear,
We were testing the connector. In our setup we have purview account already in place in the resource group. However, the script produced an error that we reached the tenant quota - which we already had done but the script is not supposed to add a new purview resource if I read it correctly?
Many thanks,
Petar

Hello, @PetarBoshnakov - Thank you for using the solution accelerator!
If you are following the current "connector only" instructions, you should only run the newdeploymenttemp.json.
The "demo deployment" has you running the openlineage-deployment.sh script which includes deployment of Purview and Databricks.
If you have a Purview account you want to use but NOT a Databricks workspace, please consider deploying a Databricks workspace for you to use and follow the "connector only" instructions.  This should prevent the error you're receiving since no Purview account will be deployed.
Please let us know if that resolves your issue.

Hi, @wjohnson,
Regarding my first report. We found the cause for the error to be the fact that we have 3 Purview accounts under our subscription that are spread among 2 regions. The connector only deployment script from git(newdeploymenttemp.json) tries to deploy Purview to same location as the resource groups location. If purview already exist in resourceGroup().location, it will skip the deployment of Purview. If it does not exist in resourceGroup().location, it will try to create new Purview instance. To fix it, we hardcoded the location as the deployment location for all objects in the deployment json file.
Maybe another issue but:
We also got an error for MSDeploy:
Deployment of below resource failed:
"resources": [
{
"name": "MSDeploy",
"type": "extensions",
"location": "[parameters('location')]",
"apiVersion": "2020-06-01",
"dependsOn": [
"[concat('Microsoft.Web/sites/', variables('functionAppName'))]"
],
"properties": {
"packageUri": "http://aka.ms/APFunctions2-1"
}
}
]
I attached the error screenshots below.

To fix this, I downloaded the functions from package URI mentioned deployment json file. Manually uploaded the file to Azure and deployed it manually using az deployment command.
az functionapp deployment source config-zip -g [Resource Group Name] -n functionappdemopurview3mbw --src [user path to scrip]
Many thanks,
Petar

Thank you, Petar, for sharing your experience and steps that you took to successfully deploy the solution.  I've incorporated your feedback into the above commits.  Thank you so much for taking the time to share how you resolved the issue!


Patched apk's installation failuire

  ╭ apk-mitm v1.2.1
  ├ apktool v2.6.1
  ╰ uber-apk-signer v1.2.1

$ adb install-multiple ./app-patched.apk ./config.xxhdpi-patched.apk ./config.arm64_v8a-patched.apk
adb: failed to finalize session
Failure [-124: Failed parse during installPackageLI: Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored uncompressed and aligned on a 4-byte boundary]

Solution:
$ zipalign -f -p 4 input.apk output.apk

Ran into the same problem, ran the zipalign command, now I get another error:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1753147933.tmp/base-patched-zipaligned.apk: META-INF/ANDROIDD.SF indicates /data/app/vmdl1753147933.tmp/base-patched-zipaligned.apk is signed using APK Signature Scheme v2, but no such signature was found. Signature stripped?]

same. running on m1 mac


DSD-430: Using DS spacing values for the Heading component

Fixes JIRA ticket DSD-430
This PR does the following:

Updating the "em" spacing values for the Heading component with proper Chakra NYPL-theme values.

How has this been tested?

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr691-nlxj6vzp3jwhgqxwhdapxmqthelccscb.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/614ce117d7000ac44349b82b

Tugboat has finished building the preview for this pull request!
Link:

https://pr691-nlxj6vzp3jwhgqxwhdapxmqthelccscb.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/614ce117d7000ac44349b82b


Feature Request: Improve Trace Format Validation and Resilience in HTA

🚀 Motivation and context
Some unintended trace format changes can cause HTA failures. To prevent future incidents, the stakeholders recommend improving the trace format validation process and making the HTA trace analysis service more resilient to format changes.
Description
The request includes three two components:

Create comprehensive documentation detailing the trace format.
Implement a set of tests that all future code changes related to trace collection must pass before being merged into the main branch.
Enhance Trace Analysis Library to be resilient to unexpected trace format changes, minimizing the impact of changes that deviate from the expected format.

Alternatives
No response
Additional context
No response

Completed


Build Pipeline broken

It seems, that the build pipeline is somewhat broken. On my latest PR, it says:

Comment was made before the most recent commit for PR 1208 in repo microsoft/winget-pkgs

and that's it.
However, according to https://github.com/microsoft/winget-pkgs/pulls?q=is%3Aopen+is%3Apr+no%3Alabel list, checks are sometimes not triggered at all. This leads to some dead PRs, because they won't be assigned for review or anything.

I was able to trigger the build process by doing a force push without changes.

This is resolved.

This is resolved.


fix broken links

Running link-check (assuming https://github.com/iterative/link-check/pull/8 is merged) also yields:

FAIL: https://dvc.us10.list-manage.com/subscribe/post?u=a08bf93caae4063c4e6a351f6&id=24c0ecc49a (406)
FAIL: https://www.linkedin.com/company/iterative-ai (999)
FAIL: https://www.linkedin.com/company/iterative-ai (999)
FAIL: https://sweedom.us10.list-manage.com/subscribe/post?u=a08bf93caae4063c4e6a351f6&id=24c0ecc49a (406)

should they be excluded? Odd error codes (406 not acceptable and 999 who uses linkedin anyway) and also 2 different mailing list links?

418 🍵

Yes, those could be ignored. See the dvc.org website - it has an exclusion list for the link checker. We can bring linkedin pattern and other links from it.

ok should we also change sweedom.us10.list-manage.com :arrow_right: dvc.us10.list-manage.com?

ok should we also change sweedom.us10.list-manage.com ➡ dvc.us10.list-manage.com?

ideally yes, but w.o breaking anything :)

I can confirm LinkedIn profiles always return 999 and do some client-side app stuff that only works in a browser and breaks simple link checks. I don't remember the list-manage ones, but I would assume they're the same way.


Revamp the FAQs page

Couple of approaches:

Use slate page editors for editing directly on the page. Would also require a UI for adding and/or deleting questions/answers.
Store all FAQs in a JSON file somewhere and just edit that when a change needs to be made.

We need to determine how we want to group the questions.

Potential groups:

Order
Payment/Billing
Shipping
Getting Started/Receiving
Techniques - Strains
Techniques - Plasmids
Troubleshooting
Deposits/ Submissions

Order

How do I order strains and/or plasmids from the Stock Center?
Are there any recommended axenic wild type strains?
link to https://testdb.dictybase.org/stockcenter/information/order

Payment/Billing

What is the cost of each stock ordered from the Stock Center?
Can I get a receipt for ordered Stock Center items?
link to https://testdb.dictybase.org/stockcenter/information/payment

Shipping

How do I pay for shipping costs for items ordered from the Stock Center?
How can I find out how much shipping will cost?
Can I get a receipt for shipping?
I ordered a strain several days ago, and have not yet received it; what should I do?
Do you ship to for-profit organizations?
How will I know when my order is being shipped?

Getting Started/ Receiving

How can I expect to receive ordered strains/plasmids from the Stock Center?
What do I do with a strain received growing on an agar plate on a bacterial lawn?

Techniques - Strains

At what temperature do dicty cells grow?
How do I make a bacterially grown strain axenic?
What kind of bacteria are used as food source for Dictyostelium?
How do I store a strain received growing on an agar plate on a bacterial lawn?
What do I do with a strain received growing in liquid HL5 medium?
How do I store a strain received growing in liquid HL5 medium?
Is trypsin or similar necessary to detach cells from the bottom of a petri dish?
link to https://testdb.dictybase.org/research/techniques

Techniques - Plasmids

How do I store the plasmid received, streaked out on an LB agar plate?
How do I grow the plasmid I received, streaked out on an LB agar plate?
link to https://testdb.dictybase.org/research/techniques

Troubleshooting

How do I prevent contamination of my Dictyostelium culture?
How do I 'clean up' a contaminated strain?

Deposit/Submissions

How do I deposit strains/plasmids to the Stock Center?
link to https://testdb.dictybase.org/stockcenter/information/deposit

could look something like this category icons leading to the grouped information or drop down boxes of category that lists related questions


Using TLS gives "TLS handshake error ... EOF" in logs

question
I am using the same TLS certificates <ca.pem,cert.pem,key.pem> in all Docker engines serving as swarm nodes and all containers running the swarm manager.
Swarm cluster functions just fine, I can create containers that gets sprayed across nodes. However, I'm seeing errors like the following in the swarm manage logs:
http: TLS handshake error from <IP_ADDRESS>:57546: EOF

I realized this IP address (<IP_ADDRESS>) is the default nameserver on the virtual machine I provisioned on the cloud (Azure). It's listed in the /etc/resolv.conf as:
nameserver <IP_ADDRESS>
search drs3vjatj2puvj5qgtdy5v0l0d.dx.internal.cloudapp.net

Looks harmless, but any ideas where these errors might be coming from (I could not get the relationship between TLS and DNS)? More details below.

The engine on the nodes are running as:
/usr/bin/docker -d --daemon -H=unix:// --tls --tlscacert=/etc/docker/ca.pem \
  --tlscert=/etc/docker/cert.pem --tlskey=/etc/docker/key.pem \
  -H=<IP_ADDRESS>:2375

and the swarm managers are running as:
"Path": "/swarm",
"Args": [
    "--debug",
    "manage",
    "--tls",
    "--tlscacert",
    "/etc/docker/ca.pem",
    "--tlscert",
    "/etc/docker/cert.pem",
    "--tlskey",
    "/etc/docker/key.pem",
    "--replication",
    "--advertise",
    "<IP_ADDRESS>:2376",
    "consul://<IP_ADDRESS>:8500,<IP_ADDRESS>:8500,<IP_ADDRESS>:8500/nodes"
]

logs from swarm manager:
time="2015-07-28T05:10:24Z" level=info msg="Listening for HTTP" addr=":2375" proto=tcp
time="2015-07-28T05:10:24Z" level=info msg="Cluster leadership lost"
time="2015-07-28T05:10:24Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
time="2015-07-28T05:10:24Z" level=info msg="New leader elected: <IP_ADDRESS>:2376"
time="2015-07-28T05:10:25Z" level=debug msg="Updated engine state" id="46NU:2WOU:S2EH:7XQO:657Z:FX3O:X46Z:C5FJ:XNUB:BRSG:QBOC:XMBS" name=swarm-node-1
time="2015-07-28T05:10:25Z" level=debug msg="Updated engine state" id="GZVP:DZXB:3LFW:DCIJ:4UNI:M4KV:TPXW:C24K:3PKK:H2EQ:VA3H:GUMH" name=swarm-node-0
time="2015-07-28T05:10:25Z" level=debug msg="Updated engine state" id="U4E3:W4MX:Y24S:PNZ2:6ORY:PTTI:PWGM:GWMF:4NXD:JEOC:LGPS:LZCF" name=swarm-node-2
time="2015-07-28T05:10:25Z" level=info msg="Registered Engine swarm-node-0 at <IP_ADDRESS>:2375"
time="2015-07-28T05:10:25Z" level=info msg="Registered Engine swarm-node-1 at <IP_ADDRESS>:2375"
time="2015-07-28T05:10:25Z" level=info msg="Registered Engine swarm-node-2 at <IP_ADDRESS>:2375"
time="2015-07-28T05:10:35Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
2015/07/28 05:10:35 http: TLS handshake error from <IP_ADDRESS>:61480: EOF
time="2015-07-28T05:10:41Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
time="2015-07-28T05:10:42Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
2015/07/28 05:10:45 http: TLS handshake error from <IP_ADDRESS>:61545: EOF
time="2015-07-28T05:10:55Z" level=debug msg="Updated engine state" id="U4E3:W4MX:Y24S:PNZ2:6ORY:PTTI:PWGM:GWMF:4NXD:JEOC:LGPS:LZCF" name=swarm-node-2
time="2015-07-28T05:10:55Z" level=debug msg="Updated engine state" id="46NU:2WOU:S2EH:7XQO:657Z:FX3O:X46Z:C5FJ:XNUB:BRSG:QBOC:XMBS" name=swarm-node-1
time="2015-07-28T05:10:55Z" level=debug msg="Updated engine state" id="GZVP:DZXB:3LFW:DCIJ:4UNI:M4KV:TPXW:C24K:3PKK:H2EQ:VA3H:GUMH" name=swarm-node-0
2015/07/28 05:10:55 http: TLS handshake error from <IP_ADDRESS>:61572: EOF
time="2015-07-28T05:10:56Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
time="2015-07-28T05:11:02Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
time="2015-07-28T05:11:02Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
2015/07/28 05:11:05 http: TLS handshake error from <IP_ADDRESS>:61630: EOF
2015/07/28 05:11:15 http: TLS handshake error from <IP_ADDRESS>:61694: EOF
time="2015-07-28T05:11:17Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
time="2015-07-28T05:11:22Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
time="2015-07-28T05:11:23Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
time="2015-07-28T05:11:25Z" level=debug msg="Updated engine state" id="U4E3:W4MX:Y24S:PNZ2:6ORY:PTTI:PWGM:GWMF:4NXD:JEOC:LGPS:LZCF" name=swarm-node-2
time="2015-07-28T05:11:25Z" level=debug msg="Updated engine state" id="46NU:2WOU:S2EH:7XQO:657Z:FX3O:X46Z:C5FJ:XNUB:BRSG:QBOC:XMBS" name=swarm-node-1
time="2015-07-28T05:11:25Z" level=debug msg="Updated engine state" id="GZVP:DZXB:3LFW:DCIJ:4UNI:M4KV:TPXW:C24K:3PKK:H2EQ:VA3H:GUMH" name=swarm-node-0
2015/07/28 05:11:25 http: TLS handshake error from <IP_ADDRESS>:61728: EOF
2015/07/28 05:11:35 http: TLS handshake error from <IP_ADDRESS>:61785: EOF
time="2015-07-28T05:11:38Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul
time="2015-07-28T05:11:42Z" level=debug msg="Watch triggered with 3 nodes" discovery=consul

+1

+1

Not valid anymore with new Swarm.

+1

I am also experiencing the same error

I was also experiencing the same issue.  It was because the TCP health probes configured on Azure Loadbalancer was probing swarm port 2376 secured by TLS.  Even though Azure LB considers it a successful probe, Swarm logs it as a handshake failure because it was a TCP probe.


Use svelvg to generate library

what exactly improve using svelvg?

@eriknyk the main differences include:

smaller library

fewer files/folders generated
no forwarded events

TypeScript definitions correctly colocated with source Svelte files

svelte-gestalt-icons uses svelvg. You can observe the what the output looks like<EMAIL_ADDRESS>I'm not in a hurry to move forward this.


Is there a drawback to always pass weak = false for dnodeOpts?

I've noticed that for windows, it is advised to pass the following as an argument to phantom.create
{
  dnodeOpts: {
    weak: false
}

Is there any drawback to passing that as an argument to phantom.create all the time, even on darwin and linux systems?

Actually, I found out that due to a leak in dnode, Phantomjs-node leaks less with weak = false  in dnodeOpts (see substack/dnode#179).

Hmm, so wouldn't it be better to set weak = false all the time by default in Phantomjs-node so that windows users do not have to go through the additional overhead of setting that?

Could someone test the new version with windows?

It works on windows. I tried it last night.


Add a warning about unsaved content when leaving editor.

It would be nice to see some warning about unsaved content when user clicked link that will open in same tab.
Moving back in history didn't preserve form content.

Agreed. it's very unsafe right now, and there is currently no client-side backup in case of user error (accidental tab close).


Fix for the issue where the GlobalNode is in a NotReady state at certain times.

What type of PR is this?

/kind bug
What does this PR do?

Fix for the issue where the GlobalNode is in a NotReady state at certain times.
Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

LGTM @duanmengkk


Possibility to customize M365 Group expiration policy Email content and logo

Microsoft-365-groups-expiration-policy is fantastic feature . Is it possible to customize the email which is sent part of expiration ?. We have a need to add additional information inside email which is sent. Also possibility to add logo would be helpful.

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

ID: 979f0a6e-be32-af1e-5724-d1104ebe3ef5
Version Independent ID: cb9b993a-2224-5bb8-64b8-d1afa7a71c8e
Content: Microsoft 365 group expiration policy
Content Source: microsoft-365/solutions/microsoft-365-groups-expiration-policy.md
Service: o365-administration
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@gurubn Thank you for your feedback. While I don't think this is possible, I'll test this and provide you an update.
Thanks
Sri

@gurubn Thank you for your feedback. This is currently not possible and we have a UserVoice open for this -https://office365.uservoice.com/forums/286611-microsoft-365-groups/suggestions/20487847-customize-group-expiration-email and the product group is already looking at a few options to see how we can solve this problem.
@yogkumgit There are no changes in the document. This issue can be closed.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @gurubn Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Response Type Code

As a programmer i want to be as secure as possible
So as i was reading the facebook documentation https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow and also watched a talk about securing your app.
So long story short i want to receive a code instead of the access_token. And then let my Backend communicate with facebook to retrieve the token.
Is there something planned on that?

@Stefflan00 Did you find a solution to get the code?

@Stefflan00 @aprados is there any way to get a code back rather than an access token?


Issue with accessibility - VoiceOver not working

Not working:

Toggle VoiceOver to on in System Settings
Click on Support App menu app icon
Expected:
To see a rectangle over an item and (control + option) + arrow keys to navigate
Actual:
Hear a ding sound
Perhaps I'm doing something wrong... ? Thank you.

Next,

click the close icon
Are you sure you want to quit? Then, VoiceOver starts working and it's activated throughout the app.

Working:

Open SupportApp in Xcode
Toggle VoiceOver to on in System Settings
Click text cursor in a source file in the project
Command + R to run
Click on Support App menu app icon
Result:
Focus frame around currently selected item, VoiceOver reads it on navigation using (control + option) + arrow keys

System:
Ventura 13.3.1

I am also interested in having accessibility (voiceover) working in the Support.app.  All applications that we use at my Higher Education institution are going through an accessibility review and the built in macOS Voiceover does not recognize the Support app tiles.  Other than the accessibility aspect of the support.app, it works wonderful!  Thank you for such a great product!


Make lib obsolete?

While I understand this may be a bit painful, I suggest to flag this library as obsolete as same feature is now provided by TextInputLayout, adding more info in README
The point here is that abandoning non-standard libs in favors of standard ones is beneficial for everyone (but author of the former :). And since I do not expect you to work on your lib, it'd be nice to tell the potential users that this dependency can be avoided.
Anyway, thanks for the lib I was using for so long :)

Hey, I guess you are right.
I have a NOTE for quite some time on top of the Readme, but I guess I can make it even more visible because I totally agree that the official way should be the preferred way to go


completes spec files to test math.rb.

nice tests. Generally you want to avoid doing operations in your spec file though. I noticed that some of your expectations executed math operations in the matching values.


Bump "safe" dependencies

This updates "safe" dependencies (aka not dependency base on master, nor overridden one). One upgrade per commit (to ease bisect and revert if necessary).
This has been generated using sec : sec make test
This commits is required on master https://github.com/docker/app/commit/24828bd871010dc00ae74c7fa4ca10eea98e817e (and could be on a separate PR)

nice!


Revert "Merge pull request #274 from Shopify/runs-index"

This reverts pull request #274. As of now there is no evidence of any benefit of allowing such search feature and it is simply polluting the UI. Runs can all be retrieved on their respective Task pages.

I'm of the opinion that search is a must if we provide a list of runs for auditing purposes. If you have 1000+ tasks, clicking through pages and pages to try and find your task run is going to be painful.

I'm of the opinion that search is a must if we provide a list of runs for auditing purposes. If you have 1000+ tasks, clicking through pages and pages to try and find your task run is going to be painful.

Why people want to see old runs of tasks that they chose to delete? What information is on those old run that are pertinent to people?

Why people want to see old runs of tasks that they chose to delete? What information is on those old run that are pertinent to people?

Why people want to see old runs of tasks that they chose to delete?

It's not only runs of tasks that were deleted, it's all the runs.
For example, today someone asked in the channel about passing shop ids to a Task, which we could do with CSV upload but was worried about auditability by comparison with a job being enqueued with shop ids in a migration. If we keep runs around, we will be able to keep the CSV files used as parameters (or any other way we come up with parameters for runs), and have a good story around auditing. I totally admit is a bit speculative as we don't have params or CSV at the moment, but it's basically the same argument we can have to keep the runs today, except the information we have today is pretty limited.

What information is on those old run that are pertinent to people?

at the simplest level, the fact a Task ran, which in itself can be useful (e.g. tracing down performance regressions to a running task)
the time the run was enqueued at
the number of iterations
the time spent running (as opposed to paused or interrupted)
the time it finished running
the time it actually started running (but we don't show this to users, only when it was enqueued)

Why people want to see old runs of tasks that they chose to delete?

It's not only runs of tasks that were deleted, it's all the runs.
For example, today someone asked in the channel about passing shop ids to a Task, which we could do with CSV upload but was worried about auditability by comparison with a job being enqueued with shop ids in a migration. If we keep runs around, we will be able to keep the CSV files used as parameters (or any other way we come up with parameters for runs), and have a good story around auditing. I totally admit is a bit speculative as we don't have params or CSV at the moment, but it's basically the same argument we can have to keep the runs today, except the information we have today is pretty limited.

What information is on those old run that are pertinent to people?

at the simplest level, the fact a Task ran, which in itself can be useful (e.g. tracing down performance regressions to a running task)
the time the run was enqueued at
the number of iterations
the time spent running (as opposed to paused or interrupted)
the time it finished running
the time it actually started running (but we don't show this to users, only when it was enqueued)

Got it. But do we need to have auditing and view of those auditing in our library? Would not the logs be sufficient for that? It is for jobs since we don’t have a view to check all the jobs that have run.

Got it. But do we need to have auditing and view of those auditing in our library? Would not the logs be sufficient for that? It is for jobs since we don’t have a view to check all the jobs that have run.

Okay, I think I'm convinced that this is not something our library needs to do. Re: logs, the argument before was that logs are not retained for long enough to be valuable in auditing Tasks. But it's true that it's a framework for running Tasks, not an auditing system, so I think we can forego this.
The ability to audit CSV tasks was also on our radar (as Étienne mentioned above, we heard hesitation from some users who were concerned about the audibility of these types of tasks), but I suppose there are good counter-arguments to this:

A one-off CSV Task that cares about documenting which params the Task ran with should just do a regular Task so that the params are hard-coded into the collection and there is a paper trail of this Task
As long as the Task is not deleted, these Runs will still be auditable. If a PR goes up to delete the Task, they can always download the set of CSVs for all Runs of the CSV Task if they care about keeping these around.

Okay, I think I'm convinced that this is not something our library needs to do. Re: logs, the argument before was that logs are not retained for long enough to be valuable in auditing Tasks. But it's true that it's a framework for running Tasks, not an auditing system, so I think we can forego this.
The ability to audit CSV tasks was also on our radar (as Étienne mentioned above, we heard hesitation from some users who were concerned about the audibility of these types of tasks), but I suppose there are good counter-arguments to this:

A one-off CSV Task that cares about documenting which params the Task ran with should just do a regular Task so that the params are hard-coded into the collection and there is a paper trail of this Task
As long as the Task is not deleted, these Runs will still be auditable. If a PR goes up to delete the Task, they can always download the set of CSVs for all Runs of the CSV Task if they care about keeping these around.

I think today those users don't have audibility since they use regular migrations, right? So it is not like they are losing something.

I think today those users don't have audibility since they use regular migrations, right? So it is not like they are losing something.


Support --follow-link on archiveContainer (docker cp)

Description
Add support for --follow-link option on archiveContainer / copyToContainer i.e. in docker cp:
https://docs.docker.com/engine/reference/commandline/cp/

I looked through docker's API documentation (which you can see in an HTML version, or swagger.yaml), and I don't see that option anywhere. That could mean one of two things: that option does exist in their API but it isn't documented, or it doesn't exist in their API. If it is in their API, and they document it, then we can add it here. But if it isn't in their API, we can't use it.
I think it is most likely that it just isn't documented yet. Could you open an issue with docker about this?

To summarize docker/docker#32535, the --no-follow flag on docker cp is implemented on the client side, not the daemon side. So to get that feature in docker-client, the functionality has to be re-implemented here rather than just poking some docker REST API.
If you’re up for it @elgalu, this would make a good PR. It's certainly doable, but it will require more effort to implement and more testing to validate than the typical "support the foo docker API" PR.

I see. I won't be working on this so feel free to close or tag. Thanks for your time!!


Don't know the loss curve of train process. Could you please share the loss curve ?

Hi @hkchengrex！I trained on two 2060s, the batch size was set as 2, and only changed the size of batch_size. It was found that the loss curve decreased first, reached the lowest point of 1 at about 10K, and then kept rising until it reached 3 at 100K. Is this a normal phenomenon?
My loss curve is as follows:  https://img.danjiebetter.top/website/img/xmem_question1.png

See https://github.com/hkchengrex/XMem/issues/26#issuecomment-1233109935

Thank you for your reply！The default stage 2's iteration is 100k. Do you mean that 10K is actually enough?

And I'm training a long training s3, which also reaches the lowest loss at about 10K, and then starts to rise, which makes me feel very strange

Thanks you again!

I'm sorry to bother you again. I found that my trained model can't get the same results as yours, which is worse than yours. When I use XMem-s01.pth for training stage 2, I can't get the best XMem-s012.pth. Except for the different batchsize, there is no change. Is there something wrong? There is the loss curve：https://img.danjiebetter.top/website/img/xmem_question2.png

A batch size of 2 is quite a downscale from the default 8. You might need to tune the number of iterations and the learning rate.

Thank you, I'll try it.

Hey @MrHsj did you have any success in tuning the iters and lr for smaller batch sizes? I'm in the same situation but with batch size 4.


fix: Docstrings have the correct indentation for nested classes (stubs)

Closes #113
Summary of Changes
Fixed the wrong indentation for docstrings in nested classes.

:tada: This PR is included in version 0.3.0 :tada:
The release is available on:

v0.3.0
GitHub release

Your semantic-release bot :package::rocket:


Don't remeasure invalid block decorations

This fixes an uncaught exception that was being thrown after invalidating a marker and resizing the editor. I don't think this issue was reported, but it could be reproduced by:

Opening a file with merge conflicts in a git repository.
Delete the entire region containing conflict markers.
Try to resize the editor.
💥

/cc: @nathansobo @Ben3eeE

👍


Add datetime with timezone support to Json serializer

Hello,
We were trying to serialize data to Json via polars, but was hit with the missing support for DateTime types with timezone
support. I'm not too well versed in Rust, but I made an attempt at adding support for it.
It's inspired by how the CSV serializer does this. The Json serializer doesn't propagate errors back in new_serializer() as the CSV serializer does, I havn't attempted rewriting the interface, so this panics if invalid timezones are encontered. It should still be an improvement over the todo!("still have to implement timezone") in src/io/json/write/serialize.rs
DateTime serializing is done differently from serializing NaiveDateTime, which uses a space instead of a T as the date and time separator.
However the default chrono to_string on timezone aware DateTIme produces a space before the tz offset (e.g. 1996-12-19 16:39:57 +08:00) which Javascript engines won't parse as a Date(), so the RFC3339 format is used instead. chrono-tz timezones are also serialized with a fixed timezone offset format [+-hh:mm] so Javascrpt engines can make use of it.
I do have some future plans as well, including adding a options for custom time format string as is done in the CSV parser, some knobs to tune how NaiveDateTime is serialized, but this is perhaps a start.

@MarcoGorelli could you take a look at this one?

Nevermind, looks good!


How to integrate libwebrtc.a with Xcode?

I downloaded this file https://github.com/webrtc-sdk/webrtc-build/releases/download/m104.5112.09/webrtc.macos_arm64.tar.gz,
How to integrate static libraries and headers into the Xcode project, because I found that there are some test and build directories, which should not be needed, which are the interfaces required by c++?

However, the return absl header file cannot be found, because third_party's file lookup does not use include as the root node. We also need to add third_party/abseil-cpp to the Xcode header search Paths to find absl.

#import <sdk/objc/api/peerconnection/RTCPeerConnectionFactory.h>
call this func error
/** Initialize an RTCVideoTrack with a source and an id. */

(RTC_OBJC_TYPE(RTCVideoTrack) *)videoTrackWithSource:(RTC_OBJC_TYPE(RTCVideoSource) *)source
trackId:(NSString *)trackId;

已解决


Tooltip for inputs is missing

Current Behavior
Hi, dear developing team! In previous version (0.99.5) there was a tooltip which I could import from the library:
import { tooltip } from "@skeletonlabs/skeleton";
Now there is no such component, so the following code
<label class="input-label" use:tooltip={{content: account_token_description, position: "bottom", inline: true, width: "!w-full"}}>
    <span>{$json("splash.register.token")}:</span>
    <input type="text" id="account_token" bind:value={account_token} required  class={is_account_token_valid ? "input-success" : "input-error"}>
</label>

doesn't work for me anymore. Of course I could stay at 0.99.5 version or use some placeholder instead of tooltip but still it would be better to have the same or richer functionality in newer versions instead of getting it poorer
If there is a different way how to do what I want in new version, please tell me
Thank you!
Steps To Reproduce
No response
Anything else?
No response

Hey @kiryasolod, we've actually merged the two features we called "tooltips" and "menus" into our new Popup feature:
https://www.skeleton.dev/utilities/popups
This does everything those did, but in a much more accurate, extensible, and performant manner. The syntax is fairly similar as well, just note this does come with the dependency of Floating UI:
https://floating-ui.com/
Which is the successor of the very popular:
https://popper.js.org/
Full instructions for integration are provided on the doc page above.

Thanks very much! I just applied a new Popup feature, it works!
Happy coding! :)


Can't find the Scripts\importfullrds.ps1 file

 Software version <IP_ADDRESS>2 (release, pluggable, dotnet, 64-bit)
 Connecting to https://acme-v02.api.letsencrypt.org/...
 Scheduled task looks healthy
 Please report issues at https://github.com/win-acme/win-acme
 Running in mode: Unattended
 Source generated using plugin IIS: *****
 File C:\Windows\system32\Scripts\ImportRDSFull.ps1 does not exist
 (Exception) Installation plugin Script aborted or failed: invalid --script: invalid path

Any ideas? I tried searching for the script folder and had no luck finding it
am i supposed to manually download it from here?
https://github.com/win-acme/win-acme/blob/master/dist/Scripts/ImportRDSFull.ps1

I was able to fix by downloading the ps1 file.
Another question, will this create a scheduled task to automatically do this at every renewal(import the certs to IIS and RDS). i already have a scheduled task to create the renewal automatically, but don't know if that imports it to rds automatically as well.

The scheduled task you created has the wrong starting directory C:\windows\system32 instead of the win-acme directory which has it's own Scripts-directory.
win-acme will just create one task which handles all the certs.


how to implements call a function on scene transition end

Version
Tell us which versions you are using:

react-native-router-flux v3.33.2
react-native v0.3.0

Expected behaviour
Actual behaviour
Steps to reproduce
I have searched answers in the issues, someone says that  add  "didFocus" event listener on this.props.route.parent.delegate.refs.nav.navigationContext , but i can't found the "route" in props,
in my scene component's componentWillMount, print this.props.route got undefined. Why?
#161
#183

I think I have the same issue.  I'm showing a spinner during scene transition while data is loaded from an API, and I do not want data to be displayed until the scene transition finishes.  Sometimes the data is displayed during scene transition and it causes frame rates to drop.


[WIP] GH #72: Don't hardcode bikes_allowed

What's your plan to either transform the GTFS feed or fix it upstream?

I don't know how to go about modifying the data in GTFS itself just yet.
I did make one discovery, which is that presently, all County Connection routes have bikes_allowed=1 set. This means we can remove that one piece of control flow in Trip.java. I'll limit this PR to that specific change.
FWIW we don't have a lot of bikes_allowed=2 in our GTFS data. There are 159,847 routes in total, of which only 8 have bikes_allowed=2 set.

Multimodal trip leveraging County Connection without the hardcoding in `Trip.java`.


Feature/http keepalive via env vars

What did you implement:
Closes #89
Enable HTTP keepalive in the AWS SDK using env vars instead now that it's supported natively.
How did you implement it:
Remove the custom HTTP agent code, and instead set the env var AWS_NODEJS_CONNECTION_REUSE_ENABLED to 1. And made sure we're on the latest AWS SDK as well.
Todos:

[x] Enable "Allow edits from maintainers" for this PR
[x] Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

@sgdazn done!

thanks @sgdazn :-)


License

Hi,
First of all I would like to congratulate you on the paper! I think this contribution is great. I was planning to use this implementation strictly for research purposes (eg. comparing results and obviously cite your paper) but there's no license attached to the repo. Would you mind adding one?
Thanks!

Thanks! Lack of license was a total oversight :) MIT license now added in ad9f4bd


Use a default id value of 1 to ensure smooth interactions with pyethapp's JSON RPC interface

Hi
I ran across this https://github.com/mbr/tinyrpc/issues/27#issuecomment-218324935 earlier today.
It seems like the root cause is indeed in the tinyrpc code since it looks like there's no requirement that an id not be 0 http://www.jsonrpc.org/specification#request_object .   However, I thought I'd offer up this small adjustment in case 1 is a better default value for ethjsonrpc.  Without this adjustment, folks won't be able to use ethjsonrpc with pyethapp until https://github.com/mbr/tinyrpc/issues/27 is resolved (and updated in pyethapp).
Thanks,
Brian

@corbinbs Thank you for submitting this!


Optional registers

Some of the registers are optional depending on the supported capabilities specified on the capabilities register of the IOMMU.
For example the performance monitoring registers.
However, this information doesn't appear clearly in the text and the behavior of those registers (probably WPRI) is not specified.
It could be already specified in the Section 4.1 Register layout Table 11, with an additional column specifying if the register is "Optional" with three values:

N: the register is mandatory
Y: the register is optional, if the capability is not supported the register is reserved (WPRI). The register can not be reused for an alternative
N/A: for reserved and custom offsets

Agree. Will add a column with a reference to the capability that would make it optional.

Resolving this as completed.


Upgrades for mdbook 0.2.0, and link style cleanup.

See individual commit messages for description of what I did.
I have not verified all links. mdbook-linkcheck does not yet support 0.2.0.

Oh, I commented on commits as I checked on each commit. Thus some stuff says out of date even though it's not.

This needs to be rebased pretty badly. I think it'd be easier if the alphabetizing commit was its own PR.

Apologies for the delay here, had some issues. Should be good to go now, though I can't get linkcheck to ignore the parent directories so I can't be totally sure.

Hm, something's wrong. I swore I tested the print page on 0.2.3, but there are still problems.  There are two issues:

Links like items/unions.md jump out of the print page.  I would assume the 0.1 behavior should be retained where the print page links to itself.
Links like ../../std/mem/fn.discriminant.html are not rebased when used from a subdirectory, and are broken.

I'll see if I can figure out what's wrong in the next few days.

I have posted a proposed fix for the print.html links at https://github.com/rust-lang-nursery/mdBook/pull/871.
As for publishing 0.2.3, it looks like the deploy scripts are broken (travis and appveyor).  I have posted a partial fix for Travis at https://github.com/rust-lang-nursery/mdBook/pull/872.  The API keys need to be fixed since the transition to travis.com.  @steveklabnik if you have permissions, can you take care of that? Or if not, I can try to bug infra and get things worked out.  Alternatively the releases can be made manually (it's just a compressed copy of the mdbook executable), and uploaded manually on the GitHub releases page.

There is mdbook 0.3 so this should be unblocked but there are so many conflicts and new links this PR probably has to be redone from scratch.

@mati865 There was another bug blocking the update of the reference and cargo (https://github.com/rust-lang-nursery/mdBook/pull/963).  It is now fixed, I just need to make a new release.  I'll be posting a new PR here to replace this one when things are ready.  It will require a coordinated update due to some changes to anchor tags.  I think I'll be able to eradicate 0.1 during that update.

I'm going to close this for now.  The reference has been updated to mdbook 0.3 in #641.  If there are any link cleanups we want to do, we can always do them in future PRs. Thanks @alercah, sorry it took so long to iron out all the kinks in mdbook to make this work.


Support for Preact?

Is react-swipeable-views supports preact?
I am trying to apply react-swipeable-views to my project. But I keep hitting this error:

@aibrahim3546 No clue. Your warning is coming from the React codebase. Please provide a minimal reproduction. It will help people to help you.

The problem was solved.
To solve this problem I had to install these two packages and the problem was solved:
npm install --save-dev preact-compat/react preact-compat/react-dom
I found the solution at here #459
Thank you for replying @oliviertassinari

Great, so we do support preact :)


Error in running on wayland

I have a NanoPC-T4  development board.
I tried to run the sample code on the board on Sway using the commands:
$ sway &
$ flutter-elinux run -d elinux-wayland

But I got the following error:
Launching lib/main.dart on eLinux in debug mode...
Building an eLinux application with wayland backend in debug mode for arm64 target...        36.0s
[ERROR][EnvironmentEgl(22)] Failed to get the EGL display: eglGetError: EGL_SUCCESS
[ERROR][ContextEgl(79)] Failed to choose EGL surface config: eglGetError: EGL_BAD_DISPLAY
[ERROR][CreateOnscreenSurface(118)] Failed to create EGL window surface: eglGetError: EGL_BAD_DISPLAY
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(121)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.
[ERROR][MakeCurrent(72)] Failed to make the EGL context current: eglGetError: EGL_BAD_DISPLAY
[ERROR:flutter/shell/gpu/gpu_surface_gl_skia.cc(44)] Could not make the context current to set up the Gr context.
[ERROR][MakeCurrent(72)] Failed to make the EGL context current: eglGetError: EGL_BAD_DISPLAY
[ERROR:flutter/shell/gpu/gpu_surface_gl_skia.cc(82)] Could not make the context current to set up the Gr context.
[ERROR:flutter/shell/common/platform_view.cc(75)] Failed to create platform view rendering surface
[ERROR][DispatchEvent(1263)] Wayland display is invalid.

Here is the output of flutter-elinux devices:
3 connected devices:

Linux (desktop)  • linux          • linux-arm64    • Debian GNU/Linux 11 (bullseye) 4.19.193
eLinux (desktop) • elinux-wayland • flutter-tester • Debian GNU/Linux 11 (bullseye) 4.19.193
eLinux (desktop) • elinux-x11     • flutter-tester • Debian GNU/Linux 11 (bullseye) 4.19.193

I should note that I have no problem running the sample on X11 using the following command:
$ flutter-elinux run -d elinux-x11
The problem occurs only in Wayland mode.

Fist of all, Does any native Wayland client (not flutter) app work fine on your board (+sway)?

Sway itself works fine and I could run "LXTerminal" on it. But I don't know about any native Wayland client apps. Can you give me an example so I can test it on the board?

How about weston-simple-egl?

weston-simple-shm works fine though.

Okay.
Can you please try the followings?

Unset DISPLAY
Set EGL_PLATFORM=wayland

I tried but it made no difference. I got the exact same error.  And also weston-simple-egl still produces segmentation fault.

Okay thanks. Is there any difference in terms of performance or features between X11 and Wayland?
I want to determine if I really need the Wayland backend.

It depends on system requirements and target board spec, but in general x11 system is heavier than wayland. And also x11 requires a number of dependent libraries.

Do they behave the same in areas like graphics hardware acceleration?

Yes, I think so.

Do you expect Canvas to be faster on Wayland than X11?

I'm not sure. I recommend you to evaluate it first on other arm64 devices such as Raspberry Pi 4 that I've confirmed flutter-elinux (both x11 and wayland) works fine.

@baharanchi Just FYI. If you run flutter with wayland backend, please try to use --async-vblank option to improve performance.
See the links below:

https://github.com/sony/flutter-elinux/wiki/Running-flutter-apps#run-without-the-flutter-elinux-command
https://github.com/sony/flutter-embedded-linux/wiki/How-to-run-Flutter-apps#command-options

I solved the problem by changing the Linux image. At first I was using the official Debian image mentioned in the NanoPC-T4 wiki which had the problem. Then I tried the unofficial Armbian image for the device and it resolved the issue. I think it has something to do with this forum post.
There was another problem though. I couldn't run Sway or the sample application with Wayland backend directly from the default desktop. So I decided to run Sway from a tty and then run the sample application from a terminal inside Sway. In order to start the terminal in Sway, you can use Mod + Enter key combinations (Mod is the Super key by default and can be changed in the Sway config file). Also the default terminal in Sway is foot which should be installed using sudo apt install foot (This can also be changed in the Sway config file). I hope this helps anyone who might be having the same problem.
I should also note that I feel Flutter applications have better performance on Wayland than X11 in my experience.


chore(main): release 1.37.0

:robot: I have created a release beep boop
1.37.0 (2024-12-30)
Features

carousel (b8689c6)
netease -> openai (3521796)
overview (eba9dff)
sticky thead (0f91378)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.37.0
:sunflower:


Yahoo OpenID doesn't follow custom login redirect url

I'm trying to add Yahoo OpenID login to my existing python-social-auth login options in a Django application.
I have a login url like:
/social-auth/login/yahoo/?next=https://localhost/login/DYNAMIC_UUID_HERE/

The process goes through, hits /social-auth/complete/yahoo/ and then goes to SOCIAL_AUTH_LOGIN_REDIRECT_URL instead of the next url. Other backends I use (all oauth actually) don't have that problem. What can be the cause of this?
I tried yahoo oauth2, but I get "ups something went wrong" type message on Yahoo - either by trying to test from localhost or they have a problem.

I got this same problem except with steam. what was the problem here?


"error: binary xxx already exists in destination" should print the full destination path

It is sometimes not obvious if the cargo install destination path was changed by a stray configuration file (or one implicitly set up by CI), or by an environment variable, which can make this error somewhat hard to properly diagnose. It would be great if Cargo provided the full destination path as part of the error message so that the user knows where to look for conflicting files.

@rustbot claim


Update static/_redirects, release-1.14

Cleaned up redirect entries in static/_redirects for release-1.14 branch.
Removed content/zh/_redirects from release-1.14 branch.
For further information, see issue https://github.com/kubernetes/website/issues/19730.
Reviews/comments/nit picks/questions very welcome. This is not a WIP, but I may have missed some changes.
There may be entries in this file that are outdated and should have been cleaned up ages ago (not related to Netlify redirect bug).

/lgtm
/approve


Output results of Build Network tool as a TXT file.

Export the results displayed in the Build Network form Processing Results window as a TXT file.

Addressed this by writing to a txt file: https://github.com/SouthForkResearch/pyGNAT/commit/d509e17845269d31bd11a47988bb8a79e5bb1fd8


fix sorted column of system table

This is a sub-component of PR #518
Fix the sorted column of System table

The sorter selector is kept separately above the table, and the sorted column in the table is fixed to the left and the column header sorter is set to be the same as the sorting direction.
In the sorter selector, 'Created At' is changed to 'Sorted by' for easier understanding.

Thanks @lyuyangh for the suggestion. I add a prefix box before the selector, and pin Created_At to the right because it is a default and less important sorted column compared with those metric columns.


Stable to develop

updating meta.yaml and other fixes

reproduced with the docker image.
now lets see if the reason is the order change

testing changes needs afterwards a backport to stable


Deduplicate webpack assets

Pre-Flight checklist

[ ] Screenshots and design review for any changes that affect layout or styling

[ ] Desktop screenshots
[ ] Mobile width screenshots

[ ] Testing

[ ] Code is tested
[ ] Changes have been manually tested

What are the relevant tickets?
https://github.com/mitodl/ocw-hugo-themes/issues/1033
What's this PR do?
This PR changes how we share common resources between different pages on OCW. The overall approach is to make it less manual and have webpack do more code splitting automatically. See file comments for more, and comments in https://github.com/mitodl/ocw-hugo-themes/issues/1033 for some background.
How should this be manually tested?
There should be no noticeable change in behavior, other than smaller bundles. Some things you might do:

run yarn start www and make sure things look ok
run yarn start course and make sure things look ok

check that videos work!

run rm -rf base-theme/dist && WEBPACK_ANALYZE=true  NODE_ENV=production yarn build:webpack and check out the production bundles

More Details
The files that were loaded before/after on sites are (before gzip):
# BEFORE.... v1.82, commit cc68e3e
course pages:
    course_v2.css   198 kb     ⌉___ first bundle
    course_v2.js    866 kb     ⌋
    main.css        220 kb     ⌉____ second bundle
    main.js         323 kb     ⌋

www pages:
    www.css        580 kb     ⌉___ first bundle
    www.js         228 kb     ⌋
    main.css       220 kb     ⌉____ second bundle
    main.js        323 kb     ⌋

# NOW:
course pages:
    course_v2.css  260 kb        ⌉
    course_v2.js   778 kb        |--- single bundle
    common.js      250 kb        ⌋

www pages:
    www.css        229 kb       ⌉
    www.js         391 kb       |--- single bundle
    common.js      250 kb       ⌋

A roughly 35% decrease in www js/css asset size, and 20% in course. Neat.

I noticed that the "fields" theme still has a lot of extra crap in its bundle,
Yes, this was somewhat intentional. I was optimizing for:

simple-ish
good splitting between course-v2 and www
nothing "extra" in common, either now or with future potential changes to "fields" theme.

We could do better with more shared bundles, but then we probably want to list the chunks programmatically rather than by hand.


Sscofpmf spec says it is written as a diff

In the Sscofpmf extension there's this sentence:

To make it easy to understand the deltas from the current Priv 1.11/1.12 specs, this is written as the actual exact changes to be made to existing paragraphs of Priv spec text (or additional paragraphs within the existing text).

That doesn't seem to be the case. Maybe it was in an earlier version but I think this line should just be removed.

I think it was true at one point.  Can you file a PR?


Add documentation to Random module

Updated. I found several uses of rand in Array#sample but did not see any in Array#shuffle, maybe I missed something?

Array#shuffle delegates to Pointer#shuffle!

https://github.com/manastech/crystal/blob/master/src/array.cr#L1406
https://github.com/manastech/crystal/blob/master/src/pointer.cr#L340

Updated. I changed it to
# Generates a `UInt32` based on current timestamp using cycle counter.
def self.new_seed : UInt32

I think this is enough to cover where it comes from and its security level, and is not too detailed about implementation. What do you think about it?

I think shortening it to "timestamp" is misleading, it's not epoch or something comparable.

The ‘llvm.readcyclecounter‘ intrinsic provides access to the cycle counter register (or similar low latency, high accuracy clocks) on those targets that support it. On X86, it should map to RDTSC. On Alpha, it should map to RPCC. As the backing counters overflow quickly (on the order of 9 seconds on alpha), this should only be used for small timings.

http://llvm.org/docs/LangRef.html#llvm-readcyclecounter-intrinsic

The Time Stamp Counter (TSC) is a 64-bit register present on all x86 processors since the Pentium. It counts the number of cycles since reset.

https://en.wikipedia.org/wiki/Time_Stamp_Counter

Thanks for clarification. I specify it a bit further instead.
# Converts to a `UInt32` from an accurate current time value
# using the cycle counter register.
def self.new_seed : UInt32

I think time is still misleading. It's not a point in real world time, it's simply a monotonic counter since the CPU was started.

I see. How about:
# Returns a `UInt32` converted from a counter value
# generated by the cycle counter register.
def self.new_seed : UInt32

That would make more sense about the counter.

I could live with  that, "read from" instead of "converted" perhaps.
What do others think?

Well, thanks then.

Thanks!


Status update on tabbed terminal?

Heya! Sorry about this not being a real issue. In the Powershell AMA yesterday, one of your colleagues recommended we could get in contact via this repo.

Last year, Mike Griese mentioned on Hacker News that a process-isolated, tabbed terminal was being worked on inside Microsoft. How is this progressing, and is there any way we can try builds of the updated terminal?

I suspect there's a massive bunch of Windows console fans who'd love to test your work!

Hey @zadjii-msft! Just wondering how the Sets feature in newer Windows builds releates to this - is the tabbed terminal functionality just using sets or is it an independent effort?

So here's the deal. We've basically known internally that Sets was a feature that was coming for a fairly long time now. There's been work done across the org for a few major releases now. So once we knew that was an effort that Windows as a whole was working on, to give every app a uniform tab experience, it didn't really make sense for us to implement it ourselves. If we had, it probably wouldn't have come much sooner than Sets, and it would have been a different UI/UX then the rest of the system.
So, it's Sets is an independent effort that we get to leverage for free :)

Fair enough! So you're leveraging Sets, what other stuff do you need to add
on top? Just interested. Thanks Mike!
On Thu, 29 Mar 2018 at 5:31 pm, Mike Griese<EMAIL_ADDRESS>wrote:

So here's the deal. We've basically known internally that Sets was a
feature that was coming for a fairly long time now. There's been work done
across the org for a few major releases now. So once we knew that was an
effort that Windows as a whole was working on, to give every app a uniform
tab experience, it didn't really make sense for us to implement it
ourselves. If we had, it probably wouldn't have come much sooner than Sets,
and it would have been a different UI/UX then the rest of the system.
So, it's Sets is an independent effort that we get to leverage for free :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/console/issues/49#issuecomment-377293686,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKiMiujyiMx0-a3c43c_LofOmdfHVjGks5tjQxjgaJpZM4RcPSk
.

Hoping this will pave the way for flexible multi-pane consoles like iTerm. For a console-based dev or system management environment, iTerm2 is perhaps the single most compelling reason to stick with macOS over Windows.
Regex searches, multiplexed keyboard input to multiple panes, flexible profiles, etc..
https://www.iterm2.com/features.html

This has nothing to do with panes though

@Stanzilla is correct - the Windows shell is giving us tabs for free, but if people want to implement a pane'd terminal, then they'll be able to do that by leveraging the new pty functionality we're working on (see #57 for more discussion).

Playing with this now:

Currently 'New tab' just starts an Edge window - apparently there's supposed to be a list of apps I can start too, ut I can't see it. So I'm starting powershell via start each time and dragging it into the existing powershell window. Is there a better way of doing this?
https://superuser.com/questions/1320651/windows-sets-how-can-i-make-new-tab-in-powershell-launch-powershell-rather-t

@mikemaccana That's the expected behavior for current Insider's builds. The "list of apps you can start" is Coming Soontm, So you'll just have to wait for now.
We did check some code in to cmd.exe recently so that apps started with the start command (eg start cmd) should open as new tabs, that should be out in a couple weeks.
The shell team is working on a lot of features here, so I'd expect the Sets experience to still be a little wonky for a while now, until a lot of the bugs are hammered out.

I had to turn off Tabbed Sets entirely, as I couldn't get an app that I use to run WSL terminals to not show up with that bar.  Is there an easy way to have this Tabbed Set configured per application more easily?  I feel like I'm going to have to clean up after this feature gets rolled out on a case-by-case basis and as a user, I'd like some easy way to do that.
As a developer, I assume this is something that you can opt-out of for your particular applications, correct?

So it looks like you can find Powershell in the 'Search the web and Windows' bit. The address bar doesn't work.
@zadjii-msft As a rep for the terminal, could you talk to the sets people and find out if there was some way to make it easier to **'start a new tab with the same app'*. So we could hit a key combo or something and just launch another powershell or WSL or cmd or whatever in the same window without having to find it from the dropdown?

Thanks @miniksa!
@bitcrazed one other piece of feedback, in addition to 'a quick way to start another tab of the same app' is the ability to click the taskbar a second time and have the whole set bought to the front.
For example, here I'm using four Powershell tabs in a set. I want to go back to whatever tab wwas in front. I can't remember whether that was tab 1, tab 2, tab 3 or tab 4.

If I could just click the taskbar item for the window a second time, and have the window bought to the front it would be really useful, since I couldn't have to think about which tab it was that I was using.

Great feedback, thanks! I’ll share with the tabs team 😊
From: Mike MacCana<EMAIL_ADDRESS>Sent: Thursday, May 10, 2018 03:49
To: Microsoft/console<EMAIL_ADDRESS>Cc: Rich Turner<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Microsoft/console] Status update on tabbed terminal? (#49)
Thanks @miniksahttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fminiksa&data=02|01|richturn%40microsoft.com|4d756add70c749a713e008d5b663985f|72f988bf86f141af91ab2d7cd011db47|1|0|636615461235341298&sdata=GuCq%2FPJzKEbMiVUydzxzsuPtEsinVrn10gBXeGQDlj8%3D&reserved=0!
@bitcrazedhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbitcrazed&data=02|01|richturn%40microsoft.com|4d756add70c749a713e008d5b663985f|72f988bf86f141af91ab2d7cd011db47|1|0|636615461235341298&sdata=BBGe4zXm7HAJqtqSFHzgQ%2F7WpOmi8s9fDHnJDnV62X8%3D&reserved=0 one other piece of feedback, in addition to 'a quick way to start another tab of the same app' is the ability to click the taskbar a second time and have the whole set bought to the front.
For example, here I'm using four Powershell tabs in a set. I want to go back to whatever tab wwas in front. I can't remember whether that was tab 1, tab 2, tab 3 or tab 4.
[image]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F172594%2F39866267-e04a50a4-5447-11e8-89f7-9dd36f3fb12c.png&data=02|01|richturn%40microsoft.com|4d756add70c749a713e008d5b663985f|72f988bf86f141af91ab2d7cd011db47|1|0|636615461235341298&sdata=WBBOZbkgW%2B6Dfr4HKgUOz4puyQVSxnCFFlaORmld9T0%3D&reserved=0
If I could just click the taskbar item for the window a second time, and have the window bought to the front it would be really useful, since I couldn't have to think about which tab it was that I was using.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fconsole%2Fissues%2F49%23issuecomment-388020191&data=02|01|richturn%40microsoft.com|4d756add70c749a713e008d5b663985f|72f988bf86f141af91ab2d7cd011db47|1|0|636615461235341298&sdata=91lhO9EHz9WC7IS1mDnzdJ2Oty48MdgEulU5bvCSUPk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA6tns_P7FESIGdZEd97g-cGfwDiE7YKks5txBsIgaJpZM4RcPSk&data=02|01|richturn%40microsoft.com|4d756add70c749a713e008d5b663985f|72f988bf86f141af91ab2d7cd011db47|1|0|636615461235341298&sdata=8P8C0Uw6kdB%2Fync0wZxKwdL9VUcuCPm%2F5ZT4AbTPewc%3D&reserved=0.

@mikemaccana Perhaps this should be closed now?

Yea I'd say yesterday's announcement answered this question :)


Check sups/subs/sinf glyphs exist, are encoded, and have related features

"Pro" and "Expert" fonts should have a bunch of glyphs related to numbers, aka "figures", and corresponding OT features.
I think these glyphs should when possible be encoded, so the glyph names for the 20 superior and inferior characters would be zerosuperior through nineinferior, plus the 3 related OT features, sups, subs, sinf.
Some context on this:

https://glyphsapp.com/tutorials/superscript-and-subscript-figures
https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts
http://ilovetypography.com/OpenType/opentype-features.html

I expect that it will be common to find these glyphs named with a valid schema (eg one.sups or one.sinf or one.superior) that is not preferred because it means the glyphs are not encoded. So there could be checks if the glyphs follow those known anti patterns; and checks for if the glyphs are encoded correctly but
Also a check if the characters are encoded, if their glyphs don't conform to that naming scheme.

Why do you want them always encoded? The encoded ones are phonetic symbols and can plausibly have different design considerations than the OpenType features.

can you show me examples of that?


Roles and permissions of users (superuser) do not work!

User permissions and roles don't work
User permissions do not work or even being superusers apply the changes to assigned products. I tried to apply change in the interface of django (Admin) for the users to certain modules but they do not apply either.
Deployment method (select with an X)

[ ] Kubernetes
[ x] Docker
[ ] setup.bash / legacy-setup.bash

Environment information

Operating System: [Ubuntu 18.04]
DefectDojo Commit Message: [use git show -s --format="%h: %s [%ci]"]
Screenshots (optional)

Yeah doesn't work, I tried this as well.

i think this is expected, as superuser you dont need permission. Because by default superuser have all privilege access.

I tried for a user without any special permission and it didn't work either.

I agree that there's something wrong with these SuperUser permissions.
Steps to reproduce:

Create a new user
Tick the "SuperUser" box
Select the "Authorized Products" to which the user should have SuperUser permissions
Login with the new user
You can access the product but only in read-only mode it's not possible to edit the product or add a new engagement and so on...

duplicate of #1048


fix: createRecordDeleteRequest method in hygiene api

Description
The method did not delte the data but created a get instead of a post request.
https://experienceleague.adobe.com/en/docs/experience-platform/data-lifecycle/api/workorder

Hello @benedikt-buchert
Thanks for checking on this, unfortunately, I have not been able to run these API endpoints as I do not have an environment for this.
I re-read the documentation and it specifies a DELETE operation for what you are trying to change:
https://experienceleague.adobe.com/en/docs/experience-platform/data-lifecycle/api/dataset-expiration#delete
The way you described it and what you are stating as source makes me thing you want to update that method:
createRecordDeleteRequest
And I saw the typo and mistake. GET instead of POST (getData instead of postData)
Either you change your PR to adapt the correct method or I can change it myself and generate a new version.
Let me know and thanks again.

Just fixed that.

hey @benedikt-buchert
new version is live : 0.3.5.post1
thanks again!


Update json format to use Name

The "Group Name"  property should be renamed as simply, "Name".

Resolved with 6f5e09e


FashionIQ fine-tuned weights

Hi, Thanks for your great work.
Are you planning on releasing fine-tuned checkpoints for FashionIQ?

Hi, thanks for your interest!
I just uploaded the fine-tuned models for FashionIQ on Hugging Face. You can download the models by running:
git pull
bash tools/scripts/download_pretrained_models.sh
Enter 4) FashionIQ

For testing, you can use the following commands:
python test.py test=fashioniq-dress model/ckpt=fashioniq-dress-ft_covr
python test.py test=fashioniq-shirt model/ckpt=fashioniq-shirt-ft_covr
python test.py test=fashioniq-toptee model/ckpt=fashioniq-toptee-ft_covr

Hope this helps! Let me know if you have any further questions.

thank you for your detailed and quick reply.
As I understood there are different checkpoints for each category.
Is there any reason that you didn't finetuned the model on whole dataset?

Hi,
My apologies, you're correct. I've now uploaded the checkpoint trained with the whole FashionIQ dataset.
To access the updated models, please follow these steps:

Run git pull to ensure you have the latest changes.
Execute python tools/scripts/merge_fiq_annotations.py to merge the annotations.
Use bash tools/scripts/download_pretrained_models.sh and select option 4 for FashionIQ.

After completing these steps, you can test the model using the following commands:
python test.py test=fashioniq-dress model/ckpt=fashioniq-all-ft_covr
python test.py test=fashioniq-shirt model/ckpt=fashioniq-all-ft_covr
python test.py test=fashioniq-toptee model/ckpt=fashioniq-all-ft_covr

The performance is better on all the three splits.
Thank you for bringing this to my attention. If you have any further questions or need assistance, please don't hesitate to ask.


Update QUICHE from 4a5e9e692 to 4506f8d26

https://github.com/google/quiche/compare/4a5e9e692..4506f8d26
$ git log 4a5e9e692..4506f8d26 --date=short --no-merges --format="%ad %al %s"

2023-05-24 bnc Internal change
2023-05-24 danzh Internal change
2023-05-23 martinduke Use QuicPacketWriter::SupportsEcn interface to abandon ECN attempts.
2023-05-23 martinduke Refactor ECN in QuicConnection.
2023-05-23 martinduke Add SupportsEcn() interface to QuicPacketWriter. A follow-on will use this interface in QuicConnection.
2023-05-23 martinduke Refactor PerPacketOptions for QuicWriter. From the bug:
2023-05-22 elburrito Use public metadata expiry time as BlindSignAuth token expiry
2023-05-19 elburrito Add ClearCache function to CachedBlindSignAuth. This function will be called when the cached tokens are invalid and need to be deleted.
2023-05-19 danzh Internal change

And two commits to patch up API changes.
Risk Level: Low
Testing: Existing tests pass
Docs Changes: N/A
Release Notes: N/A

/assign RyanTheOptimist

/lgtm deps


Small PEP note about copyright

Good catch
On Mon, Jan 25, 2016 at 1:24 PM, Robert T. McGibbon <
<EMAIL_ADDRESS>wrote:

Merged #13 https://github.com/manylinux/manylinux/pull/13.
—
Reply to this email directly or view it on GitHub
https://github.com/manylinux/manylinux/pull/13#event-525579349.

--
Nathaniel J. Smith -- https://vorpus.org http://vorpus.org


[Crosswalk-13][wrt] Update test for rtcoremanu

Impacted TCs num(approved): New 0, Update 1, Delete 0
Unit test Platform: Android
Android test result summary: Pass 1, Fail 0, Block 0

LGTM


Prefix features should also end up on their own lines

When searching with a Cree word like ê-kî-nitawi-kâh-kîmôci-kotiskâwêyâhk, with preverbs (PV/...+) and reduplication elements (RdplW+ and RdplS+), the preverbs currently do nt end up on their own line, in contrast to the suffix features:

So, the visual presentation should be updated so that also prefixal features in the pop-up are shown each on their own line. In the above screenshot, that is NOT yet the case for the preverbs - they should appear similar to the suffix features, each on their own line.

@kobexamoh This fix is for you.

@aarppe, does this screenshot demonstrate what the issue you're talking about?

I've fixed the screenshot above, which illustrates the current undesired state of affairs, where the presentation of prefixal features (preverbs and reduplication, and initial change) is NOT YET  correct - they should appear similar to the suffix features, each on their own line.

Blocked by #462 — it will cause a merge conflict if I try to fix this simultaneously :/


Add Fabric Service Tokens support for L2 Connections

https://docs.equinix.com/en-us/Content/Interconnection/Fabric/service tokens/Fabric-Service-Tokens.htm
As described in https://github.com/equinix/terraform-provider-equinix/issues/96 the API currently supports "primaryServiceToken" to let customers establish a connection using a service token
// POST - https://api.equinix.com/ecx/v3/l2/connections
{
"primaryName":"TEST-ASIDE-TOKEN",
"speed":50,
"speedUnit":"MB",
"notifications":[
<EMAIL_ADDRESS>],
"purchaseOrderNumber":"",
"profileUUID":"69ee618d-1111-2222-3333-00566f2dd2b9",
"primaryServiceToken":"87166ad0-4423-42b6-b8a8-b3686d53db13",
"sellerRegion":"eu-central-1",
"sellerMetroCode":"FR",
"authorizationKey":"886004347211"
}
primaryServiceToken must be added in the L2ConnectionRequest

A snippet of the updated response would be helpful here, specifically including a vendorToken.


fix: alias value try fragment as path

https://github.com/oxc-project/oxc-resolver/pull/170 breaks a case in Rspack:
let resolve = resolver.create({ alias: { '#': path.resolve(__dirname, '#') } });
resolve(__dirname, '#/a');

PR is referenced from: https://github.com/webpack/enhanced-resolve/blob/e38970852a7f89b694f1053e285195511764a900/lib/ParsePlugin.js#L33-L73

https://github.com/web-infra-dev/rspack/pull/6691 Confirmed Rspack CI passes with this PR 😄


enabled "requireSpaceBeforeObjectValues" and "esnext" doesn't work with short style

I would expect this to not throw an error:
Missing space after key colon at ./js/tabiframedeck.js :
   109 |      this.saveSession();
   110 |
   111 |      this.emit('remove', {tabIframe});
-----------------------------------^
   112 |    },
   113 |

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

This was fixed by 3bd9e7cccfd71e2dfcc64664e056386ed5421448


feat: dynamic version number from Changelog

Issue #, if available: GALI-824
Description of changes: Now, instead of having the developer have to change the version number and version date in the .defaults.yml file for every release, as part of the deployment script, the version number and date will be added as parameters to the global stage file (location change suggestion from Sanket) as gotten from the CHANGELOG.md file.
HOWEVER, Sanket would like to change our process a little bit for releases to allow for the version deployed in an environment to be flagged as "Beta." This would involve the developer cutting the release to, after the release has been published, push a change to the CHANGELOG file that is a new header "## Beta" at the top of the file ahead of the latest release information. Case matters (I can change that if you want but figured it was easier to keep it consistent). This way, anyone pulling from mainline will know that their version is not released and potentially unstable. In this case, the date next to Beta will be the date of deployment like this:

I didn't make this an SSM param (which was one of Jeet's initial ideas when this ticket was created) because I think this change propagates the proper information to everything that it needs to.
Checklist:

[x] Have you successfully deployed to an AWS account with your changes?

AS review ticket id:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This is the display when the version is in Beta now:

Additionally, we increased the scope to add another github action after develop is merged into mainline. This step runs if the last commit message does not contain "chore(release):" (because this is the format of the standard-version generated commit messaged) or "Add Beta" (because this is the commit message of the commit made by this step so there is no need to check immediately after the Beta change has taken place). Here is how the three kinds of commits that are relevant react with this:

It is a release commit. This step doesn't run.
It is the first push to develop after the release has been cut. This step runs, merging develop into mainline and then changing changelog to have the "## Beta" header. The changelog is then commited (by a github-actions bot) to develop, which re-triggers the deploy-integ.yml files and this entire pipeline to run. On this second run, this step does not run. If we want, we can add the if: "!contains(github.commit, "Add Beta")" to the other steps in the pipeline so they always would be bypassed in this second run.
It is a push to develop after "## Beta" has already been added to changelog. This step runs but the script finds the Beta header and does not change changelog or commit anything to develop.

Here, we see how the release didn't trigger an "Add Beta" commit but the commit after did:

Here, we see that the "Add Beta" commit skipped the last step in the pipeline:

Here, we see that it was "actions-user" that committed the change to changelog:

This is the additional information that is displayed below the Beta header in CHANGELOG.md. The version number in the text and in the hyperlink are dynamically scraped from CHANGELOG.md as well:

This is the additional information in CHANGELOG. The version number in the print and in the link are dynamically scraped from CHANGELOG as well:

The hyperlink leads to: https://github.com/maghirardelli/service-workbench-on-aws-github-actions/compare/v1.0.9...mainline


Stackblitz demo and local install not working: Error: __filename is not defined

Describe the bug
I tried the official Stackblitz demo as well as a local install with sveltekit. Both generate the same error.
Is there a quick fix for this? Maybe vite updated and broke trubo-console?
failed to load config from /home/projects/yqnimojwor.github/vite.config.ts
error when starting dev server:
Error: filename is not defined
at async loadConfigFromFile (file:///home/projects/yqnimojwor.github/node_modules/.pnpm/vite@5.3.3@types+node@20.14.10/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:66874:24)
at async resolveConfig (file:///home/projects/yqnimojwor.github/node_modules/.pnpm/vite@5.3.3@types+node@20.14.10/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:66484:24)
at async createServer (file:///home/projects/yqnimojwor.github/node_modules/.pnpm/vite@5.3.3@types+node@20.14.10/node_modules/vite/dist/node/chunks/dep-CzJTQ5q7.js:63097:18)
 ELIFECYCLE  Command failed with exit code 1.
Reproduction
Reproduction
System Info
See [Stackblitz demo](https://stackblitz.com/github/yuyinws/stackblitz-demo?file=README.md)

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

I just test v1.9.6 in local dev and it seems to work. Bug was introduced after v1.9.6 when __filename support was added.

Thanks for your report and test, I just fix it on v1.9.9.
Local dev should been works.
stackblitz online demo still have some problem, I will check it later.

Awesome! Thank you for the quick fix. v1.9.9 is working for me with sveltekit on local dev.


Please show how you would create new ToDoItems

In this template, you aggregate ToDoItems within the ProjectAggregate.  However, you also stop short of showing how you would, via API, author new ToDoItem instances.  I think it would be beneficial to show how you would create these new child items of a project.
I think it would be wonderful to see:

How you would define this in an ApiEndpoint.
How you would incorporate this within the ProjectAggregate.
How you would codify a Many-to-Many relationship as opposed to the One-To-Many relationship between Project and ToDoItem.

Is this implied by the Project <-> Contributor relationship?
What if the Contributor to a Project had a title within that Project? Senior Contributor vs Junior Contributor?  If that were the case what ApiEndpoint would the management of that be within your example domain?

Thanks for such a great template!

Adding todoitems is done in #530.
Having a many-to-many between projects and their todoitems doesn't make sense to me so I'll skip that option.
There is a sort of many-to-many relationship between Projects and Contributors through ToDoItems which I think you recognize. That's not to say ToDoItem is a join/xref table, though, so it's not a typical normalized many-to-many design.

What if the Contributor to a Project had a title within that Project? Senior Contributor vs Junior Contributor? If that were the case what ApiEndpoint would the management of that be within your example domain?

Ok so you're figuring there are N contributors assigned to M ToDoItems on 1 Project, and on that 1 Project each contributor has a specific title or role that is specific to that project only (so it's not part of the Contributor entity), right?
The initial/current design just has ContributorId on ToDoItem. You could add their title there as well, but that's not at all normalized or DRY and will easily lead to the same contributor being assigned to multiple ToDoItems with different titles. Not ideal.
Probably what I would do is add a collection of contributor titles (perhaps named ContributorAssignment or something) to the Project aggregate. The list of ContributorAssignment entities would be implemented just like the current list of ToDoItem with a public enumerable/readonly property and private list backing field. ContributorAssignment would look like this:
public class ContributorAssignment : EntityBase
{
  int ContributorId { get; private set; } // require in ctor
  int ProjectId { get; private set; } // require in ctor
  string Title { get; private set; } // require in ctor
  // perhaps metadata like DateCreated, etc.
}

This entity could live either in the Contributor aggregate or the Project aggregate (or both) but in this case I'd put it in ProjectAggregate.
Now you have the problem, what happens if you add a ToDoItem with a ContributorId that isn't in the list of assignments? This is a business rule problem so the answer depends on the rules. Maybe it's fine and the UI just lets the user know there is a new contributor with no title involved in the project. The user can fix that whenever they want. Or maybe it's critical to the invariants of a project that every contributor have a title. In that case, AddItem would do a check to ensure the ContributorId on the new ToDoItem exists in the current collection of ContributorAssignment before allowing the add to take place (otherwise throw an appropriate domain exception).
You would also have to address the case of modifying a ToDoItem to change its ContributorId if that operation is supported.
Does that help?

It is helpful and thanks for responding.
I wasn't clear in my question, and honestly the Many-To-Many portion should probably have been a separate issue.  It was not directly related to the ToDoItem type, and was scoped to be in the area between Project and Contributor.
I suppose my question just turns into "How would you model group and group membership" in this domain, which you've more or less answered.
I was confused and wondered, if we're going to give a Contributor a Title/Role within a Project, what API Endpoint would that belong to.  To which I believe that you've answered that it could live in either Project or Contributor.  An argument could be made for either.  I was imagining a world where a new API Endpoint was created which handled this Title/Role modification, and that feels like it would be unnecessary.
Thanks,
~Derek


Add new design demo in job submission page

Issue: https://github.com/microsoft/openpaimarketplace/issues/206
Test-url: ${host}/submit_demo.html#/general
Done List:

job basic info
job task roles
sidebar: parameters and environment var
advanced flag
submission section

Coverage remained the same at 34.237% when pulling 07d4e642d362e151991431fb3e6cb363748c8c27 on Morningssir:new_job_submission_demo into f652c996a70b76daee5ebf2ca21bf34e591f7325 on microsoft:master.


WIP: Fix issue 120

I think I pinpointed the issue.

I'm still encountering issue 120 in a different context

I partially fixed the issue, the following queries are now working correctly:
RETURN 5 AS int, point({x:5,y:5}) AS point
RETURN [5] AS array, point({x:5,y:5}) AS point
RETURN "five" AS string, point({x:5,y:5}) AS point.
The following queries do not work correctly, and I don't know how to fix them:
RETURN {item1: point({x:5,y:5}), item2: "foo"} AS list
MERGE (n:TESTNODE {item1: point({x:5,y:5}), item2: "foo"}) RETURN properties(n)
MERGE (n:TESTNODE {item1: point({x:5,y:5}), item2: "foo"}) RETURN n

Hello @wgevaert,
This is amazing stuff! Looks very good.
I will merge it. I am also quite positive nested properties don't work in the legacy API.
If you create an issue for the bolt protocol, we can work on it, no problem. It is trivial to use different logic in the formatter based on the Neo4J Version. The version is stored in the connection object. OGMFormatter::formatHttpResult can delegate to a different formatter there.


Founder/Director of the Harmony Blue Foundation

Awesome resource linked

@Harmonyblue
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue,
if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

I'll support proposing a fix, not locking my business.org URL that was connected to your page. Disappointing, 😥 I wish there was a warning before closing my account very inconsiderate


[CI] Jenkins Windows build is failing non-deterministically

https://xgboost-ci.net/blue/organizations/jenkins/xgboost-win64/detail/PR-6982/2/pipeline/
cc @hcho3

Will fix it this week.


[BUG] Seals pick a direction and travel in it indefinitely

Describe the bug
When seals are spawned from spawn eggs, they immediately start traveling in whatever direction they're facing. They'll run into an obstacle and just kind of push against it until they get past, or get stuck there. They perform no other behaviors (except making sounds and looking at the player). I tried spawning about 40 in a row and 39 of them took off (one stuck around, even when I shoved it a little).
I have not seen a seal spawn naturally yet, so I can't say whether naturally-spawning ones also do this.
Neither moose nor ptarmigan seem to have this issue.
To Reproduce
Steps to reproduce the behavior:

Use a seal spawn egg in any game mode
Watch it go

Mod Versions (please complete the following information):

Minecraft Version: 1.17.1
Fabric API Version: 0.41.0+1.17 [Loader 0.11.7]
Conflicting Mod (if any)'s Version: N/A
This Mod's Version: 1.3.1

Additional context
Out of everything I have installed, I thought possibly Krypton was the most likely one to have caused this, but I removed it and the bug persisted. Couldn't begin to guess what else it could be.
The following 2 lines are the only ones in the log that seem remotely related (maybe) (no idea what those classes are).
[12:05:53] [main/WARN]: @Mixin target net/minecraft/class_3218$class_5526 is public in fabric-lifecycle-events-v1.mixins.json:ServerWorldEntityLoaderMixin and should be specified in value
[12:05:53] [main/WARN]: @Mixin target net/minecraft/class_3898$class_3208 is public in fabric-networking-api-v1.mixins.json:accessor.EntityTrackerAccessor and should be specified in value

Sorry that it took so long to respond, I found the cause. Seals faced the opposite direction of their target position, so when they traveled forwards, they traveled in the wrong direction, therefore infinitely trying to get to an unobtainable point. This is finally fixed in 1.3.3, which should be released very very shortly

I've been thinking I should get back around to testing this without a bunch of other mods installed since this was kind of a sloppy bug report (my bad..) & you went ahead and figured it out anyway...! I'm SO stoked; thank you for your hard work!!


add userIp

Update from createBuyNowFromPutForSale to createBuyNow with userIp field

Changes look good to me.
Since the function is still not in production, we will merge this on April 26th, is everything goes well @tonimateos (mental note)


DxPopOver example

Could you please provide me with an example using the DxPopOver widget ?
Best regards and thanks

Hi,
The DxPopover widget usage is similar to the DxPopup one we have in our examples. It works on my side if specified as follows:
    <dx-popover [(visible)]="popoverVisible" target="#myTarget">

Hello from dxPopover

    </dx-popover>

    <dx-button id="myTarget" text="Show Popover" (onClick)="popoverVisible = !popoverVisible"></dx-button>

P.S. do not forget to import the DxPopover directive in your *.ts file.

Hi dxbykov,
How can I setup the Popover to remain open when hovering over it?
I am using mouseenter and mouseleave.
Best
hmendezm


using this with typescript rather than javascript - any examples around?

Hi
I am trying to figure out how to proper module definition and inclusion with requirejs and typescript. I ran across this project and I like the integration with MVC (which I am using) and the auto bundling feature. However, I am not sure how to adapt this to typescript (which I am also using).
I saw the fork that @rangp has done, but there is absolutely no documentation. He says his changes are to support typescript so it sounds good but the examples still use javascript.
So if anybody has an example somewhere that they could share that creates a type script file per controller action that then includes other typescript modules using require, that would be great.
Thanks
Greg

Ive recently started doing exactly what you request. While it is working, I have problem with the compressor though so Im trying to put together a PR for that.
Ill see if I can put together a working example too unless someone else does that faster.
Den 11 nov 2016 01:21 skrev gregveres notifications@github.com:Hi
I am trying to figure out how to proper module definition and inclusion with requirejs and typescript. I ran across this project and I like the integration with MVC (which I am using) and the auto bundling feature. However, I am not sure how to adapt this to typescript (which I am also using).
I saw the fork that @rangp has done, but there is absolutely no documentation. He says his changes are to support typescript so it sounds good but the examples still use javascript.
So if anybody has an example somewhere that they could share that creates a type script file per controller action that then includes other typescript modules using require, that would be great.
Thanks
Greg
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

I forked the original requirejsdotnet project for use in the company I'm
working for. We are actively using it with typescript and autobundling for
almost a year now on our production websites and it runs stable. However I
didn't have the time or motivation yet to document my work. However I could
compile an example project with typescript and maybe write a short
documentation on the weekend since it's the first time anyone is asking for
it.
I also developed a version that runs with dotnet core but this one doesn't
have the autobundling feature.
Best regards
Peter
On Nov 11, 2016 06:53, "Mattias Åslund"<EMAIL_ADDRESS>wrote:

Ive recently started doing exactly what you request. While it is working,
I have problem with the compressor though so Im trying to put together a PR
for that.
Ill see if I can put together a working example too unless someone else
does that faster.
Den 11 nov 2016 01:21 skrev gregveres notifications@github.com:Hi
I am trying to figure out how to proper module definition and inclusion
with requirejs and typescript. I ran across this project and I like the
integration with MVC (which I am using) and the auto bundling feature.
However, I am not sure how to adapt this to typescript (which I am also
using).
I saw the fork that @rangp has done, but there is absolutely no
documentation. He says his changes are to support typescript so it sounds
good but the examples still use javascript.
So if anybody has an example somewhere that they could share that creates
a type script file per controller action that then includes other
typescript modules using require, that would be great.
Thanks
Greg
—You are receiving this because you are subscribed to this thread.Reply to
this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vtfuture/RequireJSDotNet/issues/79#issuecomment-259886819,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIgIxXbuW6-kqO5lFxZTo-TF-AWWDT3oks5q9ALagaJpZM4Ku62l
.

I would very much appreciate an example @rangp and @aquamoth.
Thank you!

HI @rangp
I understand available time is limited. A simple example project using typescript would be a great starting point.
Thanks again
Greg

I've taken the time to write a comprehensive tutorial on setting up RequireJS.Net, including TypeScript. Please check it out at https://github.com/aquamoth/RequireJSDotNet/wiki/Getting-Started and give feedback; Good or bad are welcome alike.

Hi @aquamoth
That is a good getting-started guide. Thanks for taking the time to write it. I don't really have anything to add at this point. I think it would have helped a lot back in November when I was first tackling all of this, so hopefully it will help other new comers.
I guess the only other suggestion would be to create git hub project for the sample that you created (if you created one.) I find that even if the guide seems trivial it is sometimes helpful if I can download the entire project and code.
Greg

Good point to publish the tutorial and make references to it.
I've published the tutorial code here and updated the tutorial with references.


Support Scala.js linker config OutputPatterns

In order to be able to run ESModules on Node without tinkering with package.json, linker output needs to have .mjs extension instead of .js. Scala.js linker supports this via OutputPatterns. Mill ScalaJSModule doesn't expose that config in its API.
Also, would it make sense to expose Scala.js linker API directly instead of the current facade API?

Also, would it make sense to expose Scala.js linker API directly instead of the current facade API?

This is not possible because we need to support multiple versions of Scala.js and by depending on it directly you lose this property.


Is it possible to export rendered HTML code with CSS from viewer?

No, it isn't. Closing as answered.

Thank you for your quick response. Can we transform this into a feature request? 😃

Can we transform this into a feature request?

@s-a please read https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md -- transforming into feature request will not get it to be assigned or fix the issue. If you have a pretty good idea how to do it yourself, are you welcome to submit a pull request.

Also, please keep in mind that by default PDF.js does not generate any HTML/CSS to be exported in the first place, since the PDF file is rendered on <canvas> elements.
There's an experimental SVG backend that could be used to generate HTML output, but note it's currently missing a number of features available in the default canvas back-end.
Please see https://github.com/mozilla/pdf.js/blob/master/src/display/svg.js, and in particular the examples in https://github.com/mozilla/pdf.js/tree/master/examples/node for more information.