enhance: refactor JoinReorder code.

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.58 seconds
load time: 485 seconds
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230207132719_clickbench_pr_91413.html


SEV: Implement support for SEV-ES

Add support for running the VM with SEV-ES. This feature is only
enabled if the attestation server requests it (that is,
PolicyFlags::ENCRYPTED_STATE is present in the Policy flags).
Signed-off-by: Sergio Lopez<EMAIL_ADDRESS>

@flouthoc Yup, the usual mistake. Thanks!


New release for eo-0.38.2

New release for eo-0.38.2

PR-Codex overview
This PR updates the version number to 0.38.2 and adds test cases for various objects in the org.eolang package.
Detailed summary

Updated version number to 0.38.2 for all tests and objects in the org.eolang package
Added test cases for various objects like float, bytes, true, false, and more

The following files were skipped due to too many changes: tests/org/eolang/rust-tests.eo

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@yegor256 please check

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 11min)


Add ticker to NetworkClientConfiguration

Explanation
Adds ticker to NetworkClientConfiguration. Needed for multichain work on the CurrencyRateController which relies on going from networkClientId to ticker value which would not be possible without these changes.
References
See https://github.com/MetaMask/MetaMask-planning/issues/1025
Changelog
@metamask/network-controller

ADDED: Add ticker to NetworkClientConfiguration
ADDED: In upsertNetworkConfiguration(), populate the stored NetworkClientConfiguration.ticker from passed in networkConfiguration value

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

Indeed it is breaking since it's not an optional field. I'll update the PR desc

@metamaskbot publish-preview


Sensitive passwords show up as environment variables in jobs

When installing ADOP on-premise we noticed that the sensitive passwords were shown in the ENVIRONMENT VARIABLES of all jobs.
This means any person with access to "View" any job in Jenkins will be able to see these sensitive passwords, the following we picked out:

CREDENTIALS_LDAP_SERVICE_USER_PASSWORD
GERRIT_JENKINS_PASSWORD
INITIAL_ADMIN_PASSWORD
LDAP_MANAGER_PASSWORD
SONAR_ACCOUNT_PASSWORD

I suggest that we change the way docker provisionins Jenkins so they are loaded in as credentials rather than system variables.

The problem is that they are passed in as environment variables to the container, often to be injected into Jenkins as global environment variables or into the other configuration performed by init.groovy.d stuff - some of which doesn't support the notion of credentials.
I think what would need to happen inside the image is that the environment variables would have to be scrubbed somehow, if that's even possible.

I think the designer's intent is clear in the prefix "INITIAL_".  However we can make this a lot more visible and well understood e.g. in the quickstart documentation that people should change them (and how and when).

How this is normally handled in Kubernetes or Openshift Pods (containers) is via Secret resource.
Luckily, Docker 1.13 has implemented the same! https://docs.docker.com/engine/swarm/secrets/

@bzon yep, this is something we keep in mind in near future, I already tested it and it's requires changes in Docker images as well (check entrypoint scripts, official images started to add support of reading secrets from files vs before it was from ENV), however before that, we have to upgrade Compose to v3.1, 'cause secrets support supported only since v3.1 of Compose YAML


EC2 Snapshots gets lots of stuff, takes very long

I'm trying Cartography on an AWS account that is practically empty (just a few users), and noticed that it takes a while to run. What really stands out is that it takes over 9 minutes to get EBS snapshot data. And this account does not have (and never had) any EBS volumes in any regions.
Yet, when I debug get_snapshots() in snapshots.py, I see that client.get_paginator('describe_snapshots') returns many thousands of records despite the fact that there is no snapshot data in any region visible in the AWS Console.
So, what is describe_snapshots returning exactly, and do we need all that?

Ah. It looks like that function returns all available snapshots. I think what we probably want here is to filter to snapshots owned by the current account. @achantavy @ramonpetgrave64, thoughts?

Ah. It looks like that function returns all available snapshots. I think what we probably want here is to filter to snapshots owned by the current account.

Why does describe_snapshots return a lot of snapshots that don't belong to the current account? From the description I see:

Describes the specified EBS snapshots available to you or all of the EBS snapshots available to you.
The snapshots available to you include public snapshots, private snapshots that you own, and private snapshots owned by other Amazon Web Services accounts for which you have explicit create volume permissions.

However I don't really understand this. I'm using a new AWS account which hasn't been granted access to any other account. I just hope AWS isn't returning a lot of stuff from other accounts that it shouldn't.

@danielsaporo There's public EBS snapshots for public datasets, and there's a lot of them. This is similar to public AMIs. See, for example, how I changed that to only pull AMIs from owned accounts, but then introspected the graph to find other images that should be fetched: https://github.com/lyft/cartography/blob/master/cartography/intel/aws/ec2/images.py#L17-L59

Fixed in #799

Thanks for fixing this. What is the process to upgrade to a newer version of Cartography that includes this fix? Do I need to wait for some kind of release to happen first?


Render pyside-uic executable on windows

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


write tests for calendar UI

This test will be used to measure the completion of issue #1 . We might use Jest.

Components:

App
In App, there is a CalendarUI
In CalendarUI, there is a 3rd-party component FullCalendar


rdkit.rdBase.boostVersion is empty string in latest release installed from PyPI using pip

I consult rdkit.rdBase.boostVersion to determine what version of boost any given version of rdkit has been built with like so: python -c "import rdkit; print(rdkit.rdBase.boostVersion)". With the latest release, I get back an empty string ('')
Configuration

RDKit version: 2023.09.3
OS: Ubuntu 22.04.2 LTS (under WSL2)
Python version: 3.10.12
Are you using conda? No
If you are not using conda: how did you install the RDKit? pip install rdkit

This is not an RDKit bug. Please open the issue in the rdkit pypi repository: https://github.com/kuelumbus/rdkit-pypi

Thank you!

Fixed in https://github.com/kuelumbus/rdkit-pypi/issues/88, though not yet released on PyPI.


Added jest tests on requirement IDs

Summary
Since we are now storing requirement IDs into the database for toggleable requirements, we need stable IDs for them. This PR adds some test to enforce these desired properties.
The first test uses Snapshot tests. It will fail whenever the ID list changes. I added some comments in the test to tell you what to do when this test fails.
The second test is pretty straightforward, it just asserts that the IDs are unique.
Test Plan
npm run test
The following screenshot shows a test failure when I intentionally changed a requirement name:

Looks good! Quick question though, does this mean that we need to consistently run npm test after changing requirements data or does the CI check this?

The CI will check this, although it doesn't hurt if you run the test by yourself, so you can have less red-cross in CI logs.


Endorsed Responses/Answers functionality is not working

https://openedx.atlassian.net/browse/MA-1962

@aleffert please review

A better way to do this might be two have two sections in the table each backed by a different array. Then we can run the load requests in parallel so we don't have to wait for one request to finish before starting the next one.

@symbolist FYI

@aleffert please review

:+1:

Current coverage is 22.83%

Branch #649 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Uncovered Suggestions

+0.45% via ...ableViewController.m#637...973
+0.23% via ...ore/PFOfflineStore.m#124...293
+0.22% via ...rse/Parse/PFObject.m#402...567
See 7 more...

Powered by Codecov. Updated on successful CI builds.


Where to find ServiceType definitions?

Hey,
I'm currently trying to implement the ReadRequest service. I found your service type definitions in services/service.go.
https://github.com/wmnsk/gopcua/blob/23a591dbf62aa3f129b76dbd51b9883503bd1914/services/service.go#L13-L20
Where did you find the numbers? I couldn't find them in the spec. I found them here https://open62541.org/doc/open62541-0.3.pdf (page 170) and saw them in Wireshark. How did you know about them?
Best regards,
Mirco

Hi,
I'm referring to this CSV, but I don't remember where in spec it was written... :disappointed:
https://opcfoundation.org/UA/schemas/1.04/NodeIds.csv
Could you put the URL in comments when update service.go next?

ok, thank you!


Extend doc about synchronization

This is related to the feature improvement done here:
#680
Signed-off-by: Carlisia<EMAIL_ADDRESS>

I incorporated @skriss' suggestion from here: https://github.com/heptio/ark/pull/717#discussion_r207315147


Question: How to run EF migrations on production server (azure website)?

Hi team,
I'm wondering what is the recommended way to run EF migrations on a production DB. I didn't find anything in the reference except this: http://ef.readthedocs.org/en/latest/platforms/aspnetcore/new-db.html.  I've posted the question on stack  http://stackoverflow.com/questions/36680268/what-is-the-best-way-to-run-ef-migration-on-production-server
Thank you in advance,
Nedko

It has very little to do with EF.
You're basically asking how to run DDL scripts on production database.

I'm asking about something like this that works with the latest EF: http://www.codeproject.com/Tips/814618/Use-of-Database-SetInitializer-method-in-Code-Firs

I would never use it on production, but you can use something like this:
using (var serviceScope = app.ApplicationServices.GetRequiredService<IServiceScopeFactory>()
    .CreateScope())
{
    serviceScope.ServiceProvider.GetService<RegistryDbContext>()
         .Database.Migrate();
}

But don't.
You want to backup data/scheme on production DB, manually read and apply one by one the migration scripts.
But that's EF tool to auto migrate.
But don't.

I promise I won't use it on production. :) I'm already using sql script generation for the migrations. I can see the benefits. Thank you.

In many cases you will want a script, potentially to hand off to a DBA etc. But there are also scenarios where letting EF run migrations can be acceptable - in the context of ASP.NET Core, the code @gdoron shared is the right way to do this. The built-in publish functionality in Visual Studio is also going to enable the ability to run migrations as a deployment step - rather than at application startup (that should ship in RC2). And then of course you can also use the migrations commands to get a SQL script if you have a more formalized workflow.

Thank you for the reply. I'm glad to read that it will be integrated in the publish wizard.

Just don't forget your promise @f0rt ...
You don't want to be famous like this fellow

Since this was not mentioned in the discussion:
You can generate a SQL script that you can then apply to the production database or any environment by running this command in a command prompt:
dotnet ef migrations script --idempotent --output "script.sql" --context MyDbContext

You need to specify the --context parameter only if you have multiple DbContexts in your application.
Run dotnet ef migrations script --help for usage information

Thanks @Costo , that was very helpful.

@rowanmiller

The built-in publish functionality in Visual Studio is also going to enable the ability to run migrations as a deployment step - rather than at application startup

Did this every become a thing? What about migrating as a part of dotnet publish?

@d5omino I don't understand the problem. Call .Migrate() on all your contexts every single time. Its a noop if you are already on the latest migration.

@VictorioBerra Migrate still needs to go to the database and check if there are any new migrations that needs to be applied. Am I right ? If this is the case imagine the new application is deployed to 10 instances and each of this instances invokes the Migrate() call so we get 10 parallel database accesses. And imagine having 100 instances to which the new version is deployed.
Now imagine the other case where there actually are new migrations and we have 10 instances that try to migrate the database in parallel.  I guess there is some kind of a lock mechanism that will allow only one of the Migrate() calls to execute but this would also impact the performance of the application.
My opinion is that migrations should only be applied as part of the CI/CD deployment process only once in a dedicated stage right after successful build.
So I am looking for a best way how to do implement this "DB Migrations" step as part of the CI/CD pipeline.
One solution is to manually run the dotnet ef database update command as part of this step.

@voroninp, see Deploy Entity Framework Core 2.1 Migrations from a DLL by @benday

Absolutely insane that this is what need to be done to run migrations on a dll.

I had no luck running any of the dotnet ef migrations console commands posted above, for a very typical reason -- I was trying to utilize help that had been posted two years prior to my trying to use it.  Life changes over the course of two years.   https://stackoverflow.com/questions/57066856/dotnet-ef-not-found-in-net-core-3 Now I can run the commands.


Problem running on Mac OSX 10.9.4 Mavericks

Node -> 4
npm -> 2.14.2
I copy the instructions in the README, but when I exec npm run start I get:
><EMAIL_ADDRESS>prestart /Users/shuan/Projects/ipfs/station
> npm run clean && npm run build:babel

><EMAIL_ADDRESS>clean /Users/shuan/Projects/ipfs/station
> rimraf build && mkdir build

><EMAIL_ADDRESS>build:babel /Users/shuan/Projects/ipfs/station
> babel app/config.js -o build/config.js && babel app/controls -d build/controls && babel app/init.js -o build/init.js

app/controls/drag-drop.js -> build/controls/drag-drop.js
app/controls/open-browser.js -> build/controls/open-browser.js
app/controls/open-console.js -> build/controls/open-console.js
app/controls/open-settings.js -> build/controls/open-settings.js
app/controls/utils.js -> build/controls/utils.js

><EMAIL_ADDRESS>start /Users/shuan/Projects/ipfs/station
> concurrent --kill-others 'node dev-server.js' 'npm run electron'

[0] Development server started at http://localhost:3000
[1]
[1] ><EMAIL_ADDRESS>electron /Users/shuan/Projects/ipfs/station
[1] > electron index.js
[1]
[1] (electron) app.getDataPath is deprecated. Use app.getPath instead.
[1] info: Booting
[1] (electron) loadUrl is deprecated. Use loadURL instead.
[1] info: Application is ready
[1] info: Starting tray
[0] webpack built d358ff66ae09b55454ef in 3826ms
[1] error: Uncaught Exception: Cannot read property 'Hash' of undefined [TypeError: Cannot read property 'Hash' of undefined] TypeError: Cannot read property 'Hash' of undefined
[1]     at /Users/shuan/Projects/ipfs/station/node_modules/ipfs-geoip/lib/lookup.js:27:58
[1]     at finish (/Users/shuan/Projects/ipfs/station/node_modules/ipfs-api/node_modules/wreck/lib/index.js:319:16)
[1]     at wrapped (/Users/shuan/Projects/ipfs/station/node_modules/ipfs-api/node_modules/wreck/node_modules/hoek/lib/index.js:867:20)
[1]     at onReaderFinish (/Users/shuan/Projects/ipfs/station/node_modules/ipfs-api/node_modules/wreck/lib/index.js:365:16)
[1]     at g (events.js:260:16)
[1]     at emitNone (events.js:72:20)
[1]     at emit (events.js:166:7)
[1]     at finishMaybe (_stream_writable.js:468:14)
[1]     at endWritable (_stream_writable.js:478:3)
[1]     at Writable.end (_stream_writable.js:443:5) { '0': [TypeError: Cannot read property 'Hash' of undefined] }
[1] info: Shutting down application
[1] info: Stopping daemon
[1] info: Stopped daemon
[1] info: Stopped daemon
[1]
[1] npm
[1]
[1] ERR!
[1]  Darwin 13.3.0
[1] npm
[1]
[1] ERR! argv
[1]  "/Users/shuan/.nvm/versions/node/v4.0.0/bin/node" "/Users/shuan/.nvm/versions/node/v4.0.0/bin/npm" "run" "electron"
[1] npm
[1]  ERR! node
[1]  v4.0.0
[1] npm ERR!
[1] npm  v2.14.2
[1] npm
[1]  ERR! code ELIFECYCLE
[1] npm ERR!
[1]<EMAIL_ADDRESS>electron: `electron index.js`
[1] npm ERR!
[1]  Exit status 1
[1] npm
[1]  ERR!
[1]
[1] npm ERR!
[1]  Failed at the<EMAIL_ADDRESS>electron script 'electron index.js'.
[1] npm ERR! This is most likely a problem with the ipfs-station package,
[1] npm ERR! not with npm itself.
[1] npm ERR! Tell the author that this fails on your system:
[1] npm ERR!     electron index.js
[1] npm ERR! You can get their info via:
[1] npm ERR!     npm owner ls ipfs-station
[1] npm ERR! There is likely additional logging output above.
[1]
[1] npm ERR! Please include the following file with any support request:
[1] npm ERR!     /Users/shuan/Projects/ipfs/station/npm-debug.log
[1] npm run electron exited with code 1
--> Sending SIGTERM to other processes..
[0] node dev-server.js exited with code null

I tried debugging this myself, but it seems like the ip being passed into ipfs-geoip running the lookup function is ::1 which seems to be the ipv6 loopback address. Converting this using aton4 makes it return 0.
I've tried looking around ipfs for documentation of this problem but couldn't find anything so apologies if this is a known issue. Otherwise I have no clue why its passing ::1 as the ip.

Thanks, this should be fixed in https://github.com/ipfs/ipfs-geoip/pull/4, will try to get a release out asap to fix this.

Can you please try out the latest master and let me know if this still happens?

I can install it now from OSX, but I had to upgrade node to 4.2.2 due to errors with caniuse. It works fine after I do that.


In-Place dropRight for ListBuffer

ListBuffer does have the familiar dropRight method. It also has the in-place --= expected of a Buffer -- albeit only taking a TraversableOnce[A]. Is there any hope it can also have an in-place dropRight? A syntax like myListBuffer --= n feels convenient to me (where n is the number of elements to drop from the end of myListBuffer).
I do already know that there is the possibility of getting the same end-result using
myListBuffer --= myListBuffer.drop(myListBuffer.size - n)

But, that’s an overkill because the temporary collection produced by myListBuffer.drop(myListBuffer.size - n) is more than what is required for doing simply an in-place dropRight. Merely n suffices.

Note that you could avoid the creation of a temporary collection as follows:
myListBuffer --= myListBuffer.view.drop(myListBuffer.size - n)

But still, it would be more convenient to have high-level operations to trim buffers.

Thanks. I wasn't actually aware of the view facility. I will use that for now. But, I'll look forward the convenient syntax.

ListBuffer does have a dropRightInPlace method defined. Is the issue to create the --= alias for dropRightInPlace?

Actually I forgot to check but all Buffers have dropRightInPlace: https://static.javadoc.io/ch.epfl.scala/collection-strawman_2.13.0-M2/0.9.0/strawman/collection/mutable/Buffer.html#dropRightInPlace(n:Int):Buffer.this.type

Thank you for pointing out dropRightInPlace. It would be of even more interest to have that alised into --= too.


Please support prefers-reduced-motion for skeleton states

Some people feel sick when they experience unexpected motion on the web.
The skeleton states animations may be a problem for these people.
There's a relatively new media query called prefers-reduced-motion that was introduced by Apple in Safari, and is supported in Firefox, and soon to be supported in Chrome.
Please consider supporting this so that if a user chooses the "Reduce Motion" setting in their browser/OS, the skeleton states remain static and they do not animate.

CSS Tricks Article: "An Introduction to the Reduced Motion Media Query"
MDN Documentation

including an example that is supported in Safari, Firefox, and the upcoming Chrome 74

Agreed @carmacleod! Thanks for bringing this up! We should support this up in Carbon elements too so that any motion guidance for IDL comes with this built-in, too 👍

cc @shixiedesign


Add dismissible tags to environment select dropdown

UX Design:
Dismissible tag is a new component.
https://www.figma.com/file/we6QSscpQH6MkXilCBO9aT/Kubefirst-Console?type=design&node-id=3425-44299&mode=design&t=5G6uq0Y1SLY55ZN7-4

PR for new component


Added auto permission prompt flag for Android

This PR added one extra flag for permission handling. Some people may not want to have the canvas component to ask for permission automatically like it is currently doing.

Awesome! Thanks for contributing


Add files via upload

Adding university file for Ain Shams University

@Youssef-rizk cis.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


Create submission_B4

Node Name: Madilog
Baker ID: 299
Node ID: f78030435465b50f

rejected:B4
reason:account address not submitted, cannot verify on-chain AddBaker transaction

rejected:B4
reason:account address not submitted, cannot verify on-chain AddBaker transaction


doc: some performance notes for query_range

was just debugging query_range perf for a while, thought I'd leave some notes for anyone who happens to be doing the same in the future

also includes some fixes for ruff, since there was a version bump that caused CI to fail

thanks!


Add skill to find repeated elements in a list

Describe the contribution to the taxonomy
This idea of this contribution is to improve the LLM skill of detecting repeated elements in a list of arbitrary strings.
Input given at the prompt :  case 1
Is there any repeated element in the list: abcd, dcsa, fjseg, asdg, asd, h and ndsa ?

Response that was received: case 1
   Yes, there is a repeated element in the list: abcd, dcsa, fjseg, asdg, asd, h and ndsa? The repeated element is "asd," which appears twice in the list.

Input given at the prompt :  case 2
Note I asked twice in the same list and response on 1st one is confusing the second
*** Input case 2 - 1:
Is there any repeated element in the list: abcd, dcsa, fjseg, asdg, h and ndsa ?

Response that was received: case 2 - 1
  To determine if there is a repeated element in the given list, we can either manually compare each element or use a programming language to check for duplicates. In this case, let's manually compare the elements:

1. abcd
2. dcsa
3. fjseg
4. asdg
5. h
6. ndsa

Upon examining the list, we find that there is no repeated element as each item is unique.

*** Input case 2 - 2:
Is there any repeated element in the list: abcd, ndsa, dcsa, fjseg, asdg, asd, h and ndsa ?

Response that was received: case 2 - 2
  After examining the list, we find that the order of elements does not matter when checking for duplicates. Therefore, we can conclude that the list::

1. abcd
2. ndsa
3. dcsa
4. fjseg
5. asdg
6. asd
7. h
8. ndsa

also does not contain any repeated elements.

Response that is now received instead
I dould not retrain my model
Contribution checklist

[ ] tested contribution with lab generate
[ ] lab generate does not produce any warnings or errors
[x] all commits are signed off (DCO)
[x] the qna.yaml file was linted

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8


Regression in 2.3.0

What is your Scenario?
A regression was introduced in testcafe 2.3.0 which causes the following code to throw an error.
It used to run in older versions of testcafe and does not look faulty.
What is the Current behavior?
Running the test fails with this message:
~/tmp/testcafe-bug »  npx testcafe chrome:headless
ERROR Cannot prepare tests due to the following error:

TypeError: _index.test.meta is not a function
    at Object.<anonymous> (/Users/user/tmp/testcafe-bug/tests/test.js:14:6)

Type "testcafe -h" for help.

What is the Expected behavior?
the test runs without issues
What is your public website URL? (or attach your complete example)

What is your TestCafe test code?
// this is working:
//import { Selector } from 'testcafe';
// this works also:
//import { Selector, fixture } from 'testcafe';
// this causes the described error message:
import { Selector, fixture, test } from 'testcafe';

const nameInput = Selector('#developer-name');

fixture `A set of examples that illustrate how to use TestCafe API`
    .page `https://devexpress.github.io/testcafe/example/`;

// Tests
test.meta('dev', 'true')('Text typing basics', async t => {
    await t
        .typeText(nameInput, 'Peter') // Type name
        .typeText(nameInput, 'Paker', { replace: true }) // Replace with last name
        .typeText(nameInput, 'r', { caretPos: 2 }) // Correct last name
        .expect(nameInput.value).eql('Parker'); // Check result
});

Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce

create the testfile with the code above
run it either with npx testcafe chrome or whatever
see it fail

if you change to another kind of import in the first few lines it is working. It stops working as soon as test is imported from testcafe package (which makes typehints in your editor possible, that's why we have this somewhat redundant import)
TestCafe version
2.3.0
Node.js version
No response
Command-line arguments
irrelevant
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response

Hi @michael-mader,
I reproduced the issue. As a workaround, you can put meta after the test function:
test('Text typing basics', async t => {
    await t
        .typeText(nameInput, 'Peter') // Type name
        .typeText(nameInput, 'Paker', { replace: true }) // Replace with last name
        .typeText(nameInput, 'r', { caretPos: 2 }) // Correct last name
        .expect(nameInput.value).eql('Parker'); // Check result
}).meta('dev', 'true');

We will update this thread once we have news.

yes that works. I've tested it before but it is really tedious to change this for 200+ tests 😞
For now I stick with the old version of testcafe until this is fixed


add annotations to chartjs

also changed xfeld field to abap_bool, and modified to demo with the new compress syntax

nice thank you!


File picker is empty when connected to WSL

Lapce Version
0.2.1 Portable
System information
Windows 10 Pro 21H2
Describe the bug
Will not properly connect to WSL. Console remains blank except for cursor, and clicking Open Folder shows empty window. No errors given.
Additional information
After selecting Connect to WSL, this is all I get:

Works fine with 0.2.0 Portable. Likely something changed in the 0.2.1 Portable is causing this. Haven't used non-portable versions, so not sure if those are affected.
Tried deleting all lapce files and folders I could find and redownloading, restarting my computer, etc. No change. Not sure what else I could try, but I'm pretty sure it's a bug.

I had a similar issue. My log file said:
[2022-11-08][23:10:26][lapce_data::proxy::start_remote::first_try][DEBUG] fish: Unknown command: lapce-no-command
fish:
lapce-no-command
^

[2022-11-08][23:10:26][lapce_data::proxy::start_remote::first_try][DEBUG]
[2022-11-08][23:10:26][lapce_data::proxy::host_specification][DEBUG] linux x86_64

The proxy seemed to fail, so I removed $HOME/.local/share/lapce directory and lapce launched well.

That got it working. I'll close this since it doesn't appear to be caused by Lapce itself (and 0.2.2 is out and doesn't have the issue).

Hi, Im experiencing this issue rn on nightly release for windows.
I connect to wsl but the "open folder" button does nothing.


Allow empty string to be provided as a group name for unnamed tab groups

As above, this PR allows "" to be used as a tab group name. e.g.
||google.com/ "" green

This results in an unnamed tab group as seen in this screenshot:

I also updated the documentation to make the quoting feature more discoverable 😄
Thanks for making this extension, it's been super useful since I discovered it!

This looks great, thanks!


2.0 ready

Could we somehow mark all libraries, extensions and components which are 2.0 ready?

This is a nice idea. However, we must make sure not to declare other libs as 2 incompatible (unless maintainers do not plan on upgrading) and state clearly the role of a 2.0 ready label. Maintainers of libs may easily forget about submitting a PR here.

also, some of the tutorials are 1.0 and there is a lot of interest regarding the 2.0. marking those as well in their own section would be helpful.

Are all the tutorials listed 1.0? I tried looking for 2.0 tutorials, but have come up short.

Bump.
So what are our options?

Explicit 2.0 compatible section / branch
Marking 2.0 compatibility / incompatibility if deprecated.

Any news on this? The list is updating very fast and it is getting confusing to find what is compatible with 2.0

We are working on something else, a curated list with a dedicated website where we provide a curated selection of components from the community that are high-quality, actively maintained (or stable), with compatibility information etc.
Give a a couple of weeks to get this going.

@LinusBorg don't you think that is overkill? I don't like the idea of 'elite' plugins. This place is super cool to just roam around and find something new. A website would destroy this. And introduce lots of overhead just for some prettyfication.

@FranzSkuffka The new stuff won't replace awesome-vue. They fill different needs/purposes.
awesome-vue is a collection about everythign vue-related. IT's godd fore that pupose, but hard to maintain any kind of standard (compatibility, uptodate stars-ratings, does it have tests, is is actively developed?
Many people have proclaimed their need to find useful components/plugins quickly, and providing such an experience requires some level of curatition - and this is not possible with this simple awesome-vue markdown file.

@LinusBorg I'm glad to hear this. To me it sounded like 'ooookey guys, awesome-vue is deprecated'.
Yet still, it appears that awesome-vue could use some structuring regarding the formatting of the entries, possibly even in a format that can be used in the project you brought up.
What do you think about using awesome-vue as a DB by extracting the entries from the markdown file?

We will probably be using github as a DB for the curated list. We probably won't do that for awesome-vue because maintaining such info will probably be too much work. The Vue ecosystem is only beginning to grow and the list is already quite long.
But nonetheless, awesome-vue could use some love as well - but resources are scarce these days. We would be open to contributions regarding a cleanup / better structure :)

There's a lot to be learned from the way the Ember community handles the issues of addon/plugin compatibility and discoverability. (I'm pretty sure the state of Vue 2.0 compatibility would be much higher if a similar resource existsed for Vue.)

EmberObserver is a canonical, complete list of libraries. It's where you look first.
Each library is assigned a score
Framework version compatibility is clearly visible

All of this is helpful, but the secret-sauce is the score, because it gives package authors just enough positive peer-pressure to take steps necessary to keep the score as high as possible:
- Is the source accessible?
- Is it more than an empty addon?
- Are there meaningful tests?
- Is the README filled out?
- Does the addon have a build?

SCORE

Every addon has a score, based on the following conditions:

1 point is given for every 'Yes' answer in the review.
1 point is given for a recent release (within last 3 months).
1 point is given for more than 1 commit within the last 3 months.
1 point is given for having more than 1 contributor.
1 point is given for having a download count in the last 30 days that is in the top 10% for all addons.
1 point is given for having a Github star count in the top 10% of all addons.
The total score is out of 10.

I'm optimistic based on the "Better Discoverability for the Ecosystem" section in @yyx990803's year-in-review post on Medium.

@LinusBorg is it possible to contribute?

Currently not, because we are still playing around with a few options to decide how to set this up from a technical pov. Once we have decided how to set everything up, the whole thing will be a public repo of course, and people are welcome to contribute. @Akryum do you agree?

@LinusBorg Absolutely! When the thing will be more fleshed out, we will happily accept contributions.


Awesome books:A full navigation

In this project:
We use JavaScript classes
We create class methods to add and remove books.
implemented the CSS styles to match the wireframe design

What's our project problem???

You need to create a brand new PR. You can't use this PR. Just close this one and open a new one. Unfortunately, since a previous reviewer reviewed it wrongly, these are the steps you have to take

My project is in review pending mode. How can I request it again? @Shisui6

Try refreshing the page. It should update automatically.
Verify that it is the correct project: Awesome books: A complete website with navigation


Support syncing metadata forcibly when accessing the file for the first time

Is your feature request related to a problem? Please describe.
Some of our alluxio-fuse users feedback that their training programs have bad performance while

The program launches a lot of threads reading the same path (eg. listStatus the same directory) AND
Set alluxio.user.file.metadata.sync.interval=0 to get the latest data

This is expected as

For each request, Alluxio needs to reach UFS to check if anything changed AND
AlluxioMaster needs to place a WRITE lock on the corresponding node (sync metadata may trigger updating) and then each request needs to wait

After communicating with the users, we got that

When starting their programs, they knew that the dependent data has updated/finished in UFS
But they were not sure whether the data in Alluxio has synced, so they set alluxio.user.file.metadata.sync.interval=0 to initialize the alluxio-fuse container

For this case, setting alluxio.user.file.metadata.sync.interval=0 is not needed and is too expensive. What it needs is just syncing metadata once before launching the program. But as they are alluxio-fuse users and Alluxio is transparent to some of them, it's not easy/convenient for them to "sync recursively once".
Describe the solution you'd like
One solution is to support syncing metadata forcibly when accessing the file for the first time for the client

The client uses a Set to record paths that it has accessed
If a path is already accessed, the client keeps alluxio.user.file.metadata.sync.interval to the configured value
If a path is not accessed, the client set alluxio.user.file.metadata.sync.interval to 0

Urgency
Urgent

BloomFilter has false positives, change it to use Set here.

@tcrain @LuQQiu @yuzhu It is about the metadata sync, so we are improving it so far? This should be addressed with the new metadata sync mechanism, right?
This describes a client side solution, it looks like working, but if it is solved in the server side, this should not be a problem. @tcrain Please correct me if anything is wrong.
I am also wondering whether this test is a normal use case or just a test case?

I have one idea. If getattr must be after list operation, we can consider not setting alluxio.user.file.metadata.sync.interval to 0 for getattr(getStatus). After setting  alluxio.user.file.metadata.sync.interval to 0 for listStatus, the listStatus triggered by list directory will perform metadata synchronization. This may be applicable to some scenarios.

I am also wondering whether this test is a normal use case or just a test case?
@yyongycy  this is a real use case.

@secfree current Alluxio supports NEVER SYNC, ALWAYS SYNC, RESYNC AFTER INTERVAL, here is requesting SYNC ONCE?
Is the workload requires SYNC ONCE be supported automatically and manually? or only automatically or only manually is fine?

Have you turned on client side metadata cache? or are we discussing server side metadata sync?

current Alluxio supports NEVER SYNC, ALWAYS SYNC, RESYNC AFTER INTERVAL, here is requesting SYNC ONCE?

Here is requesting SYNC ONCE first and then RESYNC AFTER INTERVAL, this can replace using ALWAYS SYNC in some cases.

Is the workload requires SYNC ONCE be supported automatically and manually? or only automatically or only manually is fine?

Better to be automatically with a on/off parameter. Manually is not expected, as the whole pipeline is scheduled. Once the upstream finished, the downstream will launch.
@LuQQiu

Have you turned on client side metadata cache? or are we discussing server side metadata sync?

No, I haven't turned on client side metadata cache.
What I propose here is to use the configuration alluxio.user.file.metadata.sync.interval at client side to control metadata sync at server side.
@yuzhu

@elega yimin has a fix, maybe his fix can hit this issue.

yeah make sure you cherry pick this PR on top of the current 2.9.x build and turn on alluxio.master.metadata.concurrent.sync.dedup.
Let me know if this solves your issue or not.

alluxio.master.metadata.concurrent.sync.dedup

This looks interesting. We will try and feedback if any updates. Thanks all.

After backporting #17244 , the performance of getFileInfo/listStatus are very good now. So I will just close this issue.


Network error

I think this is very similar to issue #41 and #50. Anytime I try to translate something, a network error is thrown. Retrying doesn't work.

Yes I can confirm, same as #50 . I'll try to release the fix asap.

Thanks! May I ask why you closed the issue though? The problem still remains.
The reason I opened a new issue is because #50 had been closed. I thought that had been fixed, but that the same problem had once again appeared because of an external change.
If someone now downloads your app and gets a network error, they might go to this repo and check the issues. None of the open issues are related to this, so logically they will open another issue.
Doesn't it make sense to keep either this one or #50 open until you have actually released the fix?

Issue #50 is linked to version 2.1.1 which hasn't been released yet.


how to remove the elements？

the examples have this method， but how to trigger this method。

Hello,
It's in the props.
<ReactFlow onElementsRemove={handleRemoveElement} ...>

The function is triggered when you press backspace. You can define any other key with the deleteKeyCode prop.

ok, thank you


docs: link to changelog

Summary of Changes

Add changelog to navigation of documentation

🦙 MegaLinter status: ✅ SUCCESS

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ REPOSITORY
git_diff
yes

no
0.01s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by


[RFC] Add Int#digits method

The idea is to have a digits method similar to what Ruby has:
123.digits # => [3, 2, 1]

Why?
The first question that we take into account when considering adding a new method to the standard library is: what's the use case?
Well, my use case, and I guess for others too, is using this method whenever it's needed. In my case it's for today's Advent of Code (day 4).
But wait! That's not a "real world" use case! Or is it...? I think we are solving these fun challenges in the real world, and one of Crystal's goals is to have fun, and it's definitely more fun to have this method than to not have it. Also, digits is much faster than doing number.to_s.chars.map(&.to_i): there's no need to create an intermediate string nor intermediate arrays.
Should 123.digits be [3, 2, 1] or [1, 2, 3]?
Excellent question!
Ruby returns [3, 2, 1] which might not be intuitive but it makes it so that the first digit is 3, the second one is 2, etc. I guess if we look at it like decimal places, in the first place it's the 0-10 range, the second place is the 10-100 range, etc. So it's probably fine. And one can always do 123.digits.reverse! if you want it the other way around, and it is what the method would need to do anyway because of how the array is built (diving and modding by 10).
I also think the return type should always be Array(Int32) because Int32 is the most common type to use, and digits can only be from 0 to 9.
There's already #5598 but we could probably start a new PR from scratch.
Thoughts?
(Edit: that's why I also think we should eventually add String#center and String#swapcase: well, the first one is very useful in real world scenarios... the second one probably not, but it's really easy to implement and it's nice when you find it there and it can actually help you solve a problem, be it a challenge or anything else)

To avoid creating too much overhead I ended up doing to_s to an IO, which I then picked out the slice which I iterated over. This is probably a cleaner approach.
Not that I can say I have needed digits outside AoC.

one of Crystal's goals is to have fun, and it's definitely more fun to have this method than to not have it

I'm sold

This would be awesome for 128int support

Is there any reasoning as to not include this in Number vs Int?  The main issue would be how to handle the decimal.

The main issue would be how to handle the decimal I guess.

Exactly. This wouldn't fit for floating point numbers. BigDecimal could work but then it's also the question how to separate the decimal part. Unless there's a great idea about this, I'd not bother about that.

Random idea:
Name the method digits_by_power(base = 10) to make it clear that the result in the order of powers (base^0, base^1, base^2, ...), with a configurable base.
And also add an iterator each_digits_by_power(base = 10) to avoid allocating an array if you just want the first/last digit.

Implemented in #9383


fix(Designer): Fixed dynamic data inputs/outputs error message propogation

Main Changes
Implemented an improved error parsing method to get errors from dynamic data requests, and properly display them to users.
Fixes https://github.com/Azure/LogicAppsUX/issues/3851
Example:

Only dynamic output error is in the screenshot. I believe dynamic input errors are surfaced too?

Only dynamic output error is in the screenshot. I believe dynamic input errors are surfaced too?

Yes I've fixed this issue for the dynamic data combobox, inputs, and outputs


WIP: WL_Advanced

An extended version of WL which will keep track of per sector erase counts allow for more dynamic wear levelling approach.
I guess most implementation from WL_Flash.cpp will have to be copied with minor changes to accomodate erase count records reading/writing/processing.
cycle_count which is already in main is thought to be a fix for normal WL, not necessarily an extended 'advanced' version.

[ ] is adding virtual to e.g. initSections() or recoverPos() in WL_Flash.h ok? need to call WL_Flash::init() but with own impl of said methods. already used it as it was necessary I think

Idea is to use redundant space in pos update record. Which is currently just 4*4B of CRCs.
Could expand it as mentioned in Making sense of wear_levelling to contain device_id, pos, sector number (instead of 0) and crc.
Thus pos update record will also contain the identifying number of sector which triggered the updaterateth (say 16th) erase. This will build "history" of sector erases with updaterate "resolution" => for every pos update record mentioning a sector, it means updaterate erases for that sector. N records with sector S => N * updaterate = erase count estimate for sector S
Also allocate additional sectors for private use by WL_Advanced. Used for storing total erase_counts for each sector. Maybe "secured" by CRC (for each value?). And keep two copies?
Once pos reaches max_pos and sectors with this "history" should be erased to update wl_state_t structures in flash, perform aggregation. Count how many pos update records there are for each sector. And add these per sector counts to total erase_counts stored in the additional private sectors. As sectors with states will be erased at this points, rewriting the sectors with overall erase_counts is OK. Happens only every max_pos * updaterate erases.
The stored erase_counts can by multiplied by updaterate to get real sector erase count estimation. Sector/cell lifetime is ~100K PE, so even with updaterate=2 maximum realistic value could be ~50K. With higher updaterate, maximum erase_count value is lower. So uint16_t is more than enough to store this value.
For the "aggregation" a buffer is needed, big enough to contain uint16_t for each sector. Also the overhead of going through pos update records, basically like recoverPos() and doing buffer[sector number]++ to get erases for this round. Then having to add to current totals and securly write new totals in 2 copies. Expensive operation [1]
By having a buffer with all current sector erase counts, mapping function calcAddr() could perform some heuristics.

[1] assuming in max_pos * updaterate erases and some normal erase behavior, some sectors will be erased more than others, so only a fraction (1/4~1/3 ? experiments for measuring this?) will be unique in pos update records. Could aggregate them and write these as new records to the additional private sector. Squishing them like so
[erased 4]
[erased 4]
[erased 3]    [erased 4: 3x]
[erased 2] => [erased 3: 1x]
[erased 4]    [erased 2: 2x]
[erased 2]    ^ WL_Advanced records
^       ^ sector index
^ pos update records

Once WL_Advanced records will fill the sector, another layer of aggregation will be done. Sooner or later a lot of unique sectors will have these records, up to a record for each sector. So the next layer would be the already proposed above counters with CRCs for each sector? This is just delaying the expensive operation.
Swapping between 2 record keeping sectors, once 1st is full, start recording to 2nd, erase 1st and vice versa. To minimise keeping records with low erase counts, set some threshold under which to ignore the record?
[erased 4: 27x]
[erased 3: 15x]
[erased 5: 30x]
[erased 6: 10x]
[erased 2: 21x]
[erased 1: 2x]  <=\
[erased 7: 3x]  <=|= under some threshold, ignore these when switching to 2nd record keeping sector
[erased 10: 1x] <=/
...

forgetting about the 16B minimum write for encrypted, as stated by WL (true?). so storing erase counts also has to be done in blocks of 16B. so 6 * 2B number of erases + 4B CRC?
or 3 * (2B sector number + 2B erase count) + 4B CRC? but then reading could not be RA as each sector could have its erase count anywhere, not in a place that can be calculated

pos update records are written in 2 copies in updateWL() but CRC check is only done in init() over wl_state_t structures and not the 16 B records. in recoverPos() the second copy of the records is ignored. why are the pos update records stored twice when not checked or compared?

now with per sector erase counts (if reliable), cycle count is kinda redundant, but can be kept as a rough backup, which could point out vast differences between the estimate based on pos, move_count and cycle_count vs per sector

instead of recording the sector causing updaterateth erase, sector number of EACH erase (which calls updateWL()) could be stored in a buffer and then on updaterateth erase triggering pos increment and dummy move, the sector with most occurences (modus) in the buffer would be written to flash in pos update record. with somewhat of a little overhead this could provide more realistic info.
but still does not track every erase, as that would need possibly variable size or large records (up to updaterate different sectors erased in between pos increments).

rename to smt like WL_NOR_Extended? because the advanced sounds meh and extended might be mixed up with ext_perf/ext_safe. also make it clear its for NOR? the separation v. genericity is a problem for me


TypeError: Failed to fetch while exporting

I got this error and the message said to report it on GitHub so I'm posting the error message here
Error while exporting:
TypeError: Failed to fetch
at bXb (PLUGINS/(Plugin):cpm_plugin.js:1772:484)
at LWb (PLUGINS/(Plugin):cpm_plugin.js:1754:570)
at p1b (PLUGINS/(Plugin):cpm_plugin.js:1994:42)
at g2b.h2b [as ie] (PLUGINS/(Plugin):cpm_plugin.js:2021:41)
at OLe (PLUGINS/(Plugin):cpm_plugin.js:6882:67)
at o1b (PLUGINS/(Plugin):cpm_plugin.js:1993:23)
at Function.f2b (PLUGINS/(Plugin):cpm_plugin.js:2020:55)
at d (PLUGINS/(Plugin):cpm_plugin.js:19:47)
at new Promise ()
at c2b.d2b [as Rg] (PLUGINS/(Plugin):cpm_plugin.js:2019:48)
at z7b (PLUGINS/(Plugin):cpm_plugin.js:2216:32)
at i1b (PLUGINS/(Plugin):cpm_plugin.js:1987:177)
at j1b (PLUGINS/(Plugin):cpm_plugin.js:1988:62)
at Function.p4b (PLUGINS/(Plugin):cpm_plugin.js:2097:52)
at Codec.d (PLUGINS/(Plugin):cpm_plugin.js:19:47)
at Function.gTb (PLUGINS/(Plugin):cpm_plugin.js:1657:63)
at Action.d [as onClick] (PLUGINS/(Plugin):cpm_plugin.js:19:47)
at Action.click (file:///C:/Users/kobol/AppData/Local/Programs/Blockbench/resources/app.asar/js/interface/actions.js:268:10)
at Action.trigger (file:///C:/Users/kobol/AppData/Local/Programs/Blockbench/resources/app.asar/js/interface/actions.js:335:10)
at HTMLLIElement. (file:///C:/Users/kobol/AppData/Local/Programs/Blockbench/resources/app.asar/js/interface/actions.js:294:10)

For whatever reason, just closing Blockbench, leaving it for a few hours, and coming back seems to have fixed it. I'm not sure how


Third party apps not being uninstalled

I have noticed that on some clean installs of 1709 and 1803 your script will not uninstall the third party apps because they are not actually installed. The entries in the start menu are just shortcuts. You then have to go through and click each one so that they will download/install via the store. Once they are installed the script can remove them without issue.
Is there some way to add a function to the script that will check if the apps are actually installed, and force to install if they are not?

Is there some way to add a function to the script that will check if the apps are actually installed, and force to install if they are not?

Not that I would know of. There are different channels through which the apps can be loaded. Generally it should be enough to apply DisableAppSuggestions and UnpinStartMenuTiles but sometimes you might not be fast enough, so the tiles and app data load right after first launch, before you manage to apply the tweaks. Some of the apps may be even already provisioned in your image based on language and edition.
I did some research some time ago in #8, but I haven't been poking into it ever since, so it's possible that the things around tile store and provisioned apps changed and it'll be now easier to get rid of them. I wouldn't bet on that, though.

To prevent those application from installing it must be disabled before user logs in for the first time by setting properties in Default user's registry in C:\Users\Default\NTUSER.DAT under
SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager

PreInstalledAppsEnabled
OemPreInstalledAppsEnabled

This is the reason why im running this script for default user by mounting his registry and applying all tweaks there so when i create new users on workstation all those tweaks are already there including custom start menu like
Import-StartLayout -LayoutPath "C:\temp\DefaultLayout.xml" -MountPath "C:\"
which eliminates empty icons of applications that are not installing.
Im trying to implement this in my fork where i added option -useDefaultUser that allows writing tweaks to C:\Users\Default\NTUSER.DAT instead of user's hive that is running the script.
Not sure if this is still valid for new build but i was reading about this in this post:
https://blog.danic.net/how-windows-10-pro-installs-unwanted-apps-candy-crush-and-how-you-stop-it/

I also want to use the script in a domain environment, so it would really be great to have some kind of feature to apply settings to the default user's registry hive...
I'm working on custom script parts for that, but having something like that integrated would be awesome!

I also face this issue and I would like to share with you with a few examples.
Afer fresh install of Windows 10 (1803) yesterday, I run "Win10-Initial-Setup-Script" and noticed that a few apps left. I had to uninstall them manually from "Apps and features" or through the start menu.
So there are three games called:

Candy Crush Saga (king.com),
Cooking Fever (Nordcurrent),
Dragon Mania Legends (Gameloft.)

and "Xbox gaming overlay", which cannot be uninstalled.

Hopefully, someone will find a way to remove these items.

I did what the above user did and installed several of them then ran the script. At that point I was able to successfully get rid of them with the script. It is frustrating...

I'm afraid there isn't much what I can do to stop the bloatware tidal wave using the script. There is a provisioning process which launches immediately on the first login or immediately after the machine comes up online, so the only place where you could reliably get rid of it is the sysprep process, which involves modification of installation media.
Once the provisioning begins, it needs to finish for the script to work well. If you run it in few minutes after the first login, the applications are not yet installed by the provisioning and since they are not installed yet, the script can't remove them. That's why some of the apps pop up even after you run the script. On top of that, Microsoft relentlessly adds new and new applications to be pushed onto your devices, so it's entirely possible that some application are not yet covered by the script (in which case feel free to open an issue, or better yet, a PR).
For the new users on a computer where the admin account has already been set and logged in at least once, the approach which @Tikus suggests works the best. But I'm reluctant to do anything with the Default user's registry in the script as many keys and settings don't exist there are are populated (and some even reset) on the first login, so you will end up re-applying the script after login anyway.
So just for the sake of this issue, following PowerShell script disables all the suggestions and online provisioning for the Default user and all new users created afterwards. Needs to be run as admin.
# Load the Default user's hive
reg load HKLM\DefaultUser "$env:systemDrive\Users\Default\NTUSER.DAT" | Out-Null
New-PSDrive -Name HKCDU -PSProvider Registry -Root HKLM\DefaultUser | Out-Null

Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "ContentDeliveryAllowed" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "OemPreInstalledAppsEnabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "PreInstalledAppsEnabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "PreInstalledAppsEverEnabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SilentInstalledAppsEnabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-310093Enabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338387Enabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338388Enabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338389Enabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-338393Enabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SubscribedContent-353698Enabled" -Type DWord -Value 0
Set-ItemProperty -Path "HKCDU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -Name "SystemPaneSuggestionsEnabled" -Type DWord -Value 0

# Unload the Default user's hive
reg unload HKLM\DefaultUser | Out-Null

@Tikus: I've seen your -useDefaultUser and have a suggestion/improvement for you. You can do basically this:
reg load HKLM\DefaultUser "$env:systemDrive\Users\Default\NTUSER.DAT"
Remove-PSDrive HKCU
New-PSDrive -Name HKCU -PSProvider Registry -Root HKLM\DefaultUser

That way you can still use HKCU instead of your newly introduced USERHIVE and the tweaks remain copy-pastable. If the -useDefaultUser flag is set, then the meaning of HKCU will be different, but only in the context of that single instance of the script run.


Laravel, npm install, fresh & first deploy [Deployer\Exception\RuntimeException (-1)]

Hi,
deployer 5.1.3
deployer recipes dev-master
Local Mac Os Sierra
Remote Ubuntu 16.04
<?php

namespace Deployer;

require 'recipe/laravel.php';
require 'recipe/npm.php';
...

task('deploy', [
    'deploy:prepare',
    'deploy:lock',
    'deploy:release',
    'deploy:update_code',
    /* 'deploy:shared', */
    /* 'deploy:vendors', */
    /* 'deploy:writable', */
    /* 'artisan:storage:link', */
    /* 'artisan:view:clear', */
    /* 'artisan:cache:clear', */
    /* 'artisan:config:cache', */
    /* 'artisan:optimize', */
    /* 'deploy:symlink', */
    /* 'deploy:unlock', */
    /* 'cleanup', */
]);

after('deploy:update_code', 'npm:install');

For an unknown reason I receive the following trace:
➤ Executing task deploy:update_code
✔ Ok [19s 945ms]

➤ Executing task npm:install
[xxx] > which npm
[xxx] < /usr/bin/npm
[xxx] > cd /var/www/test-deploy/releases/1 && /usr/bin/npm install
➤ Executing task deploy:failed
• done on [xxx]
✔ Ok [1ms]

[Deployer\Exception\RuntimeException (-1)]
  The command "cd /var/www/test-deploy/releases/1 && /usr/bin/npm install" failed.
  Exit Code: -1 (Unknown error)
  Host Name: xxx
  ================

Exception trace:
 () at /Volumes/xxx/code/xxx/xxx/vendor/deployer/deployer/src/Ssh/Client.php:95
 Deployer\Ssh\Client->run() at /Volumes/xxx/code/xxx/xxx/vendor/deployer/deployer/src/functions.php:297
 Deployer\run() at /Volumes/xxx/code/xxx/xxx/vendor/deployer/recipes/npm.php:23
 Deployer\Deployer::Deployer\{closure}() at n/a:n/a
 call_user_func() at /Volumes/xxx/code/xxx/xxx/vendor/deployer/deployer/src/Task/Task.php:82
 Deployer\Task\Task->run() at /Volumes/xxx/code/xxx/xxx/vendor/deployer/deployer/src/Executor/SeriesExecutor.php:63
 Deployer\Executor\SeriesExecutor->run() at /Volumes/xxx/code/xxx/xxx/vendor/deployer/deployer/src/Console/TaskCommand.php:142
 Deployer\Console\TaskCommand->execute() at /Volumes/xxx/code/xxx/xxx/vendor/symfony/console/Command/Command.php:264
 Symfony\Component\Console\Command\Command->run() at /Volumes/xxx/code/xxx/xxx/vendor/symfony/console/Application.php:869
 Symfony\Component\Console\Application->doRunCommand() at /Volumes/xxx/code/xxx/xxx/vendor/deployer/deployer/src/Console/Application.php:132
 Deployer\Console\Application->doRunCommand() at /Volumes/xxx/code/xxx/xxx/vendor/symfony/console/Application.php:223
 Symfony\Component\Console\Application->doRun() at /Volumes/xxx/code/xxx/xxx/vendor/symfony/console/Application.php:130
 Symfony\Component\Console\Application->run() at /Volumes/xxx/code/xxx/xxx/vendor/deployer/deployer/src/Deployer.php:320
 Deployer\Deployer::run() at phar:///usr/local/bin/dep/bin/dep:119
 require() at /usr/local/bin/dep:4

When I ssh on the remote server and cd into /var/www/test-deploy/release, I can see the node_modules directory with the packages inside.
If I run the very first deploy without the npm task, everything is running smooth and the second deploy will be successfully achieved with npm install and npm run production tasks.
Can I get some light, please?
The only hint I found is Deployer\Deployer::Deployer\{closure}() at n/a:n/a
Note: Using the yarn recipe (require 'recipe/yarn.php';) instead of npm works properly.

@jrean this was bugging me for a while.
Then I remembered I am running a DigitalOcean 512MB System, so you need to 'create' more RAM:
sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

It works now :)

@qerim, smart!
I didn't think about it and it makes complete sense.
@antonmedv do you still consider it as a bug. Is there something that could be improved on the package side to give more details when such error happens?
Thxs

I think will be cool to detect stuff like this and inform user what to do. Will be completely awesome.

what do you guys think about showing the actual used RAM by php besides the timing information like
➤ Executing task deploy:update_code
✔ Ok [19s 945ms, 63MB memory]

➤ Executing task npm:install
[xxx] > which npm
[xxx] < /usr/bin/npm
[xxx] > cd /var/www/test-deploy/releases/1 && /usr/bin/npm install
➤ Executing task deploy:failed
• done on [xxx]
✔ Ok [1ms, 112MB memory]

?


Undefined symbols for architecture arm64

Hello, firstly many thanks for your ongoing support for the Unity community.
I am trying to build a Unity ARFoundation app to iOS (x64 only supported by ARKit) using Unity 2019.3.2 and seem to have run up against a linking issue when trying to build from XCode to iPhone in the Branch plugin.
XCode error is:
Undefined symbols for architecture arm64:
"OBJC_CLASS$_CSSearchableItem", referenced from:
objc-class-ref in BranchCSSearchableItemAttributeSet.o
"OBJC_METACLASS$_CSSearchableItemAttributeSet", referenced from:
OBJC_METACLASS$_BranchCSSearchableItemAttributeSet in BranchCSSearchableItemAttributeSet.o
"OBJC_CLASS$_WKWebView", referenced from:
objc-class-ref in BNCUserAgentCollector.o
"OBJC_CLASS$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in BNCTelephony.o
"OBJC_CLASS$_CSSearchableIndex", referenced from:
objc-class-ref in BranchCSSearchableItemAttributeSet.o
"OBJC_CLASS$_CSSearchableItemAttributeSet", referenced from:
OBJC_CLASS$_BranchCSSearchableItemAttributeSet in BranchCSSearchableItemAttributeSet.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any help very much appreciated. :)

@Mann1ng let me check

@Mann1ng I fixed this issue, you can download newest package from GitHub or you can wait for when we upload new package on S3.

We have uploaded newest version of SDK on S3. Use it please.


Add buffering to the outputstream?

https://docs.oracle.com/javase/7/docs/api/java/io/BufferedOutputStream.html#BufferedOutputStream(java.io.OutputStream)


InstallAndroidDependencies target always warns about tools

Android application type
.NET Android (net7.0-android, net8.0-android, etc.)
Affected platform version
.NET 8.0.200
Description

Steps to Reproduce
On macOS (and elsewhere?), create a new .NET for Android project and then provision it:
% dotnet new android -n android-sdk-install
% cd android-sdk-install
% dotnet build -t:InstallAndroidDependencies \
  -p:AndroidSdkDirectory="`pwd`/sdk" \
  -p:JavaSdkDirectory="`pwd`/jdk" \
  -p:AcceptAndroidSDKLicenses=True

This runs without error, but it does emit two warnings:
/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.95/tools/Xamarin.Installer.Common.targets(12,3): warning : Android component "tools" is obsolete, please install "cmdline-tools"
/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.95/tools/Xamarin.Installer.Common.targets(12,3): warning : Trying to fallback to "tools"...

Why are these warnings emitted?
Considering that tools has been deprecated for ages at this point and shouldn't be used, it would be nice if we didn't warn about it, especially when we're not even installing it!

While looking around in android-sdk-installer to figure out this issue, it would be nice to also understand these warnings shown in the diagnostic build log:
% dotnet build -t:InstallAndroidDependencies -v:diag \
  -p:AndroidSdkDirectory="`pwd`/sdk" \
  -p:JavaSdkDirectory="`pwd`/jdk" \
  -p:AcceptAndroidSDKLicenses=True > log.txt

log.txt contains:
warning : Dependency `platforms;android-34` should have been installed but could not be resolved. You can attempt to install it with: `…/android-sdk-install/sdk/cmdline-tools/11.0/bin/sdkmanager --install "platforms;android-34"`
warning : Dependency `build-tools;34.0.0` should have been installed but could not be resolved. You can attempt to install it with: `…/android-sdk-install/sdk/cmdline-tools/11.0/bin/sdkmanager --install "build-tools;34.0.0"`
warning : Dependency `platform-tools` should have been installed but could not be resolved. You can attempt to install it with: `…/android-sdk-install/sdk/cmdline-tools/11.0/bin/sdkmanager --install "platform-tools"`
warning : Dependency `cmdline-tools;11.0` should have been installed but could not be resolved. You can attempt to install it with: `…/android-sdk-install/sdk/cmdline-tools/11.0/bin/sdkmanager --install "cmdline-tools;11.0"`

Why aren't these packages found?  They were certainly installed the first time!
Did you find any workaround?
No response
Relevant log output
No response

These issues should have been fixed by
https://github.com/xamarin/android-sdk-installer/commit/b5affa059c7bd9d5d6c89721a3ac8581ad8a1298#diff-f780e88b55c4f87fab261a782c1116e8c67f4bde498adae25e54fd1d375e5099L633
and
https://github.com/xamarin/android-sdk-installer/commit/7b5c929e2895e52385035ad9bc34e7d0342b6f45


Prototyping creates misbehaviour - Array.prototype

Reproduction
https://formkit.link/3e540ddf729da201015b3286a2f8782a
Describe the bug
As soon as you have anywhere in your application a prototype, formkit misbehaves. In my particular case it using the Schema with $formkit: "select" +  Array.prototype, but maybe there could be other prototypes / combinations. This is very unfortunate as, I assume, a lot of people use prototypes like this.

I use this code in some of my libraries:
if (!Array.prototype.selectMany) {
    Array.prototype.selectMany = function (fn) {
      return this.map(fn).reduce(function (x, y) { return x.concat(y); }, []);
  };
}

(NOTE: It does not matter what comes after "Array.prototype.". As soon as it is present, the bug exists.)

By using FormKitSchema with the following schema you get 4 entries/options instead of 3 in the select input:
<script setup>
import { reactive } from 'vue'

const schema = [
 {
   $formkit: 'select',
    name: 'customerTypeId',
    validation: 'required',
    options: [
        { value: 1, label: "Guest" },
        { value: 2, label: "Customer" },
        { value: 3, label: "Partner" }
    ]
 }
];

const data = reactive({});
</script>

<template>
  <div>
    <FormKitSchema
      :schema="schema"
      :data="data"
     />
  </div>
</template>

Expected Result: "Guest", "Customer", "Partner"
Result: "Guest", "Customer", "Partner", undefined
Environment
• OS: Windows
• Browser: Chrome
• Version: 106.0.5249.119

Well changing native prototypes generally is a bad idea, unless you're doing to polyfill.
I would say having a helper function or a helper object is better for these cases.

@GustavoFenilli While I do understand that it is generally not best-practice, I am sure a lot of people and libraries use it. I already changed it on my end for this project, but I think this is an issue a lot of people would run into & not everybody has a whole day to debug a project to find out from where that issue comes from. Is that something that could be fixed in the library?

Oh yeah — @GustavoFenilli is right — modifying prototypes is a big no-no. Not for FormKit specifically, just any third party code that wants to loop over an array, for example, is going to get screwed by this. To be crystal clear, is not a FormKit bug and cannot/will not be "fixed" in FormKit — all we are doing is iterating over an array that you've added a property to globally.
Way back in the day, before even jQuery, us old devs used to use a library called prototype.js which explicitly modified prototypes. But it broke so much interoperability it was eventually lost to history as a bad lesson of "what not to do".
I would highly recommend not modifying builtin prototypes, FormKit wont be the last issue you find out there! However, if you are going to modify prototype, at least make those properties non-enumerable.
Here's a full reproduction of your bug (again, not a FormKit bug): https://formkit.link/534442088094e78e2a3b1c10282525ed
Again don’t do this, but if you are going to do this, you should at least extend the prototype without making a property enumerable:
https://formkit.link/f58b46ee387e1350b6299f5119bfbf3c

Ok fine @ThatDeveloper hahah, you convinced me to make a small change to "fix" this. But still folks — lets not modify prototype. @formkit/vue@next has this patched now.


3.2.4rc3 - Immense lag occurs with >1000 colliding tiles and "visual collision shapes" enabled

Godot version:

3.2.4rc3
OS/device including version:

Arch Linux kernel 5.10.15-arch1-1
OpenGL ES 2.0 Renderer: GeForce RTX 2070 Super/PCIe/SSE2
OpenGL ES 2.0 Batching: ON
Issue description:

Immense lag occurs when enabling "visual collision shapes" under Debug, with over 1000 tiles with collision. This only occurs in 3.2.4rc3, not 3.2.4rc2.
I assume this has something to do with https://github.com/godotengine/godot/pull/46291
I suggest giving developers the option to disable outlines on debug collision shapes in Project settings; I did not expect such a performance hit with this. Obviously "visual collision shapes" won't be used in any production environment but it becomes close to impossible to debug something when FPS < optimal.
Steps to reproduce:

Create a tileset using any sprite/spritesheet.
Create a tile, and add a collision box to it.
Add the tileset to a tilemap node.
Create around 1000 tiles in the tilemap node.
Enable Debug -> Visual Collision Shapes
Enable "Print FPS" in settings
FPS should be below 60 FPS depending on hardware used
Test the project in 3.2.4 rc2 and 3.2.4 rc3. The latter will show lower frame rates than the former.

Minimal reproduction project:

https://github.com/etables/tilemap-lag-with-debug-collision-shapes

Yeah an option to disable outlines in project settings would make sense. I'm going to add that, unless @Calinou has another idea in mind. I've also tried with just disabling antialisasing on the lines for test, and it doesn't make a lot of difference.


mlperf-mlbox sprint #2

Aug 24 - Sept 4
Goals

Work towards 0.1 release for Reference Implementation for Training WG.

Milestone date : Dec -10 - 2020

closing sprint-2


Fix MountVolume.SetUp errors by updating multipath configuration

Fixes #1383
Updates the longhorn-req.yml playbook to include multipath configuration for Longhorn support.

Configures /etc/multipath.conf: Adds a task to insert a blacklist configuration into /etc/multipath.conf to prevent MountVolume.SetUp errors, ensuring compatibility with Longhorn.
Restarts multipathd.service: Includes a task to restart the multipathd.service after updating the multipath configuration, applying the changes immediately.

For more details, open the Copilot Workspace session.

This is a good start 👍 , however, the volumes prefix on other cloud providers do not necessary start with the sd prefix
So this needs to be modified to also include prefixes.
If you don't mind I can take over this PR to also include other cloud providers (which I can easily test againts our e2e pipeline).

Ah ok, yeah wasn't aware of that.
Go ahead and take over :)
Regards,
Daniel Strøm
On Fri, May 17, 2024 at 3:23 PM Matúš Mrekaj @.***>
wrote:

This is a good start 👍 , however, the volumes prefix on other cloud
providers do not necessary start with the sd prefix
So this needs to be adjusted to also include other prefixes.
If you don't mind I can take over this PR to also include other cloud
providers (which I can easily test againts our e2e pipeline).
—
Reply to this email directly, view it on GitHub
https://github.com/berops/claudie/pull/1386#issuecomment-2117597185, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE2Q7H55YDHR2KB45JBXYTZCYAEBAVCNFSM6AAAAABHYHVKL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJXGU4TOMJYGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Moresimonfixes

various fixes to different things, including

fix for autopaging of the leaderboard if user's rank is 10, 20, 30, or any multiple of 10
removed the random apostrophe at the end of private thread names
don't add admins that aren't course staff into PQs (because no one likes random pings!)


Extensions should be able to hook into Unregister-SecretVault

Would like a way to have my extension called when Unregister-SecretVault is used with my extension.  The scenario is I may want to clean up all the secrets stored via my vault from PowerShell.
KeyChain, for example, allows me to create a new keychain just for my extension that wouldn't be mixed with other secrets already stored in keychain for a user.  If they unregister my extension, it would mean they no longer need to use it so I should clean out their secrets.
We would also need to decide if the user opts in or out of cleaning out those secrets by default.

Thanks @SteveL-MSFT, Paul and I were discussing for symmetry we may also want to add a hook for Register-SecretVault....
@TylerLeonhardt and @JustinGrote curious to hear your input as vault extension developers

As my previous, I don't see any harm it having it be available but optional. I understand the rationale in allowing for offline configuration and later operation, but that logic could be done by the Extension author if required in the register-secretvault hook by testing for availability or whatnot.

I agree. :) an Unregister would be great.

Yes, definitely optional and not mandatory as it wouldn't apply to all extensions.  Although for my use case, it may make sense to have a -RemoveSecrets switch to inform the extension to do clean-up while otherwise there may be some other unregistration operations it would do.

Although for my use case, it may make sense to have a -RemoveSecrets switch

Probably should just have the hashtable for additional properties just like the other cmdlets instead.

I made the Unregister-SecretVault an optional function for a vault extension.  It will be called before the extension is removed from the registry.  Parameters will just be 'VaultName' and 'AdditionalParameters'.
function Unregister-SecretVault
{
    param (
        [string] $VaultName,
        [hashtable] $AdditionalParameters
    )
...
}

Implemented for preview5.


Chat not connecting

The chat on the left does not connect for me and throws the following error in the dev console.
client.js:871 WebSocket connection to 'wss://synctube-example.herokuapp.com:80/' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

I tested it with Chrome 80.0.3987.149 on https://synctube-example.herokuapp.com/

Hello, sadly heroku does not have free SSL support for WebSocket protocol:
https://devcenter.heroku.com/articles/websocket-security#wss
So demo is only working on http. Https still should works for other hosting services or heroku paid plans.

I had the same issue using a reverse proxy in Caddy, but I noticed that this commit https://github.com/llndqvst/SyncTube/commit/85145fc40c63137c1e08f6abb873f9472f2a8572 from a fork fixed it for me on this master.

@losuler thank you for hint. At first, I thought that Heroku needs 433 port for wss here, but it seems that he doesn’t like ports at all.


Streamable processing (both input & output need to be streams)

Braindump: currently the data is gzip handle is opened and then in a while loop the passed-in data is encoded/decoded in chunks. We need to rewrite things to take a sequence, which will return the next chunk (input stream) and we encode/decode that chunk into the output stream. This way it can be plugged into the full pipeline easily. Then, the APIs that actually take the full (NS)Data can be built on top of it by just opening an output stream and doing everything in one while loop, returning the full processed data at the end.
Fortunately the zlib API is made for this sort of thing, so it should be a matter of tens of minutes to rewrite this.

WIP: https://github.com/Zewo/gzip/compare/master...hd/streams


bug: tabs-item-hide not working

Type: bug
Platform: all
When setting the tabs-item-hide class for an ion-view inside a tab bar the tab bar still shows. See http://codepen.io/anon/pen/MYzwEa. The first "Facts" view has the tabs-item-hide class set but the tab bar is still showing.

Greetings @vchav73!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Fix book editing issues

Fix issue moving a duplicated section to another book. Before it wouldn't remove the section from the source toc.yml, because it was looking for the duplicated name and path instead of the original values.
Add additional check for verifying that the file exists in the new path before deleting the copy.
Initialize the movedFiles, modifiedDirectories and tocFiles maps every time we try to edit a book.
Remove setFileWatcher on the targetBook toc, because we never unwatch the file.

Pull Request Test Coverage Report for Build 541464791

10 of 12 (83.33%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.0003%) to 43.539%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/notebook/src/book/bookTocManager.ts
10
11
90.91%

extensions/notebook/src/book/bookTreeView.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/book/bookTreeView.ts
1
46.64%

Totals

Change from base Build 541315247:
0.0003%

Covered Lines:
24933

Relevant Lines:
52478

💛  - Coveralls


Added type null to @return annotation of IdentityInterface::findIdentity* methods

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Merged. Thanks!


bug: fixes - fresh install prevents system shutdown

bug: fixes - fresh install prevents system shutdown
Fixes: https://github.com/AsahiLinux/asahi-installer/issues/288
see the content of the issue for a deep dive on the difference in behavior for macOS bless on mounted vs. unmounted volumes

Hmm ... that really should be "self.osi.data -- the APFS data volume, not the APFS system volume in the volume group.

Status update:
Should be good to go.   I verified that the boot-volume NVMe parameter refers to the Volume Group which contains the specified mount point, and that the Data and System Volumes are both in the same Volume group

@marcan without the patch, my M2 MacBook Air goes into a boot loop after install quite consistently.   there is a fundamental difference between bless --device vs bless --mount WHEN THE VOLUME IS MOUNTED, and it is mounted by the installer, and still mounted when the first shutdown occurs.   It is likely an apple bug, but their documentation very clearly states "do not do this" (ie  bless --device on a mounted volume.

Apple's documentation for bless is a confused mess, as evidenced by the containing a booter for EFI-based systems. line in the Apple Silicon section. The whole bless process has nothing to do with the legacy mechanism used for Intel devices. The purpose of the bless command is not to bless anything, it's just to change the boot volume (nvram var) to make 1TR work with our paired recoveryOS, and trigger a Bootability run (the actual process for Apple Silicon, not "blessing"). Everything on Apple Silicon works by mounting volumes anyway, since everything is file-based. The "should not be mounted" line was copypasta from the Intel section.
You can spec-lawyer this all you want, but there is zero evidence or logical reason why this completely superfluous change would have anything to do with your shutdown problem, which is pretty clearly an unrelated Apple problem or hardware defect in your machine.

What evidence would be acceptable to you?
re:
there is zero evidence or logical reason why this completely superfluous change would have anything to do with your shutdown problem, which is pretty clearly an unrelated Apple problem or hardware defect in your machine.

My observation (not opinion) with over 3 dozen DFU wipes is that the patch is 100% consistent with the requested change.  And, I have two MacBook Air M2 now -- bought the 2nd one just for triage -- 2 machines with identical problems?  fresh from DFU clean?
Happy to make a video if that works as evidence.


Can't close drawer on latest commit

Tested https://github.com/root-two/react-native-drawer/blob/master/examples/RNDrawerExample/package.json and find that after having the drawer fully opened, I am unable to close it.
Version v1.16 is working well. I believe that v2.0 is not stable and therefore we should not switch yet.

Thanks for finding that, there was a bug when the pan went to or past the max open. It is fixed now.
Yes you are right 2.0 is a wip, if you value stability 1.16 is a better choice.
If you do decide to stick with 2.0 please let me know if you run into any other inconsistencies and I will fix.


Stop code

After days of getting a similar dataset to work, I've found it responses best if you add a stop code at the end of the sentences or line in your dataset. I used </S>. Then you add this in the parameters tab. Otherwise the model will keep quoting  the text. Perhaps mine was overfitted.

@hypersniper05 May I ask a quick question: if I understand correctly, the model is fine-tuning on the dataset stored in the .txt file. Does it treat each valid line as a sample, regardless of the length/content of the line? (without the format of instruction/input/output)
Thanks!

@hypersniper05 can you please tell me your hyperparameters for training?

@umairafzal9245 sure, there's been recent updates to text generation webui and you no longer need the stop code. Can you tell me more or less what type of data are you training ? You don't need to train much . I've found 1 epoch is enough. Default settings in text generation webui is good. If you train in raw data the model will mimic it so you might want to train on question answer pair in alpaca format (or have chatgpt code interpreter fix the jsoj for you)

@hypersniper05 i want to teach the model about different people i am using rank=512, alpha=1024, llama7B as base model but the model is generating random words e.g if i ask it about the education of fatima zafar, its output is completed garbage. samples are given below
fatima zafar:
fatima zafar is currently working as a technical consultant at peregrine corporation
peregrine corporation operates in different industries retail operations, wholesale & supply chain, property development, fuel retail and distribution
fatima zafar has been working at peregrine corporation since 5-2019
fatima zafar has a total experience of 9 years in various industries user experience, business application development, cloud services, business intelligence, digital commerce, system integration, quality assurance, information technology & services, information security, business process outsourcing, enterprise resource planning, staff augmentation, application integration & modernization
fatima zafar is a highly skilled professional based in greater adelaide area, australia
fatima zafar has a variety of skills including business analysis, microsoft office, oop, sql, customer service, research, software development, public speaking, asp.net, x++, blogging, business process, microsoft word, photoshop, teamwork, linq, microsoft dynamics ax, powerpoint, javascript, databases, visual studio, enterprise resource planning (erp), microsoft excel, sql server reporting services (ssrs), microsoft sql server, social media, php, object-oriented programming (oop), css, vb.net, c++, c and requirements analysis
fatima zafar completed his bachelor of science (b.s.) in computer science from nuces-fast in year 2009 to 2013
fatima zafar worked as a technical consultant at spendless shoes pty ltd from 11-2018 to 5-2019
fatima zafar worked as a technical consultant at empired ltd from 6-2017 to 10-2018
fatima zafar worked as a senior software engineer at systems limited from 5-2015 to 1-2017
hussain yousuf:
hussain yousuf is currently working as a chief information officer at treet group of companies limited.
treet group of companies limited. operates in different industries shaving blades/disposable razor, corrugated packaging, beauty soaps, acid-lead battery, educational projects, flotation and control of mudarbas, labor-hire services, motor bikes
hussain yousuf has been working at treet group of companies limited. since 8-2014
hussain yousuf has a total experience of 26 years in various industries sustainability startegy, performance and rewards, accounting, organizational development, hr transformation, sustainability reporting, executive recruitment, sustainability reviews, talent management
hussain yousuf is a highly skilled professional based in pakistan
hussain yousuf has a variety of skills including oracle application server, oracle general ledger, it management, jd edwards, oracle biee, business process re-engineering, requirements analysis, oracle reports, erp, business process design, oracle hr, database administration, supply chain management, business process, crm, oracle discoverer, financials, erp implementations, databases, oracle e-business suite, enterprise resource planning (erp), target costing, oracle applications, business intelligence, systems analysis, oracle financial, order management, analysis, oracle, pl/sql, data migration, database design, obiee and business analysis
hussain yousuf completed his mcs in computer science from karachi university in year 1993 to 1994
hussain yousuf worked as a general manager mis at naveena export limited from 9-2011 to 8-2014
hussain yousuf worked as a senior manager at a.f. ferguson & co (pwc pakistan) from 1-2011 to 9-2011
hussain yousuf worked as a manager at a.f. ferguson & co (pwc pakistan) from 7-2008 to 12-2010

@umairafzal9245 Don't fine-tune, the model is able to reply already you just feed it a prompt and the document. Look into vector search with similarity cosine. Basically, you give the model a prompt like:
"System:
You are to give an accurate and detailed personal bibliography of the person below using the provided documents. Take into account the user's question when answering. If you cannot answer the question with the provided documents reply with a clarification response for the user.
User:
Who is Fatima Zafar?
Documents:
fatima zafar is currently working as a technical consultant at peregrine corporation peregrine corporation operates in different industries fuel retail and distribution, retail operations, property development, wholesale & supply chain
fatima zafar has been working at peregrine corporation since 5-2019
fatima zafar has a total experience of 9 years in various industries information technology & services, business intelligence, cloud services, business application development, information security, quality assurance, enterprise resource planning, business process outsourcing, digital commerce, application integration & modernization, user experience, staff augmentation, system integration
fatima zafar is a highly skilled professional based in greater adelaide area, australia
fatima zafar has a variety of skills including asp.net, c++, powerpoint, object-oriented programming (oop), css, x++, business process, teamwork, oop, visual studio, customer service, microsoft excel, linq, enterprise resource planning (erp), javascript, sql server reporting services (ssrs), public speaking, microsoft dynamics ax, c, software development, blogging, microsoft office, business analysis, photoshop, social media, microsoft sql server, research, php, databases, microsoft word, requirements analysis, sql and vb.net
fatima zafar education:
fatima zafar completed his bachelor of science (b.s.) in computer science from nuces-fast in year 2009 to 2013
fatima zafar experience:
fatima zafar worked as a technical consultant at spendless shoes pty ltd from 11-2018 to 5-2019
fatima zafar worked as a technical consultant at empired ltd from 6-2017 to 10-2018
fatima zafar worked as a senior software engineer at systems limited from 5-2015 to 1-2017"
Output:
"Fatima Zafar is a technical consultant currently working at Peregrine Corporation, which operates in different industries such as fuel retail and distribution, retail operations, property development, wholesale & supply chain. She has been working at Peregrine Corporation since May 2019 and has a total experience of 9 years in various industries including information technology & services, business intelligence, cloud services, business application development, information security, quality assurance, enterprise resource planning, business process outsourcing, digital commerce, application integration & modernization, user experience, staff augmentation, system integration. Fatima Zafar is highly skilled and based in the Greater Adelaide area, Australia. She has a variety of skills including ASP.NET, C++, PowerPoint, Object-Oriented Programming (OOP), CSS, X++, Business Process, Teamwork, OOP, Visual Studio, Customer Service, Microsoft Excel, LINQ, Enterprise Resource Planning (ERP), JavaScript, SQL Server Reporting Services (SSRS), Public Speaking, Microsoft Dynamics AX, C, Software Development, Blogging, Microsoft Office, Business Analysis, Photoshop, Social Media, Microsoft SQL Server, Research, PHP, Databases, Microsoft Word, Requirements Analysis, SQL and VB.NET. Fatima Zafar completed her Bachelor of Science (B.S.) in Computer Science from Nuces-Fast in the years 2009 to 2013. Her work experience includes working as a Technical Consultant at Spendless Shoes Pty Ltd from November 2018 to May 2019, Technical Consultant at Empireired Ltd from June 2017 to October 2018, and Senior Software Engineer at Systems Limited from May 2015 to January 2017."
Here are is the model: https://huggingface.co/lmsys/vicuna-7b-v1.5-16k
Here are the params I used:

@hypersniper05 i want to achieve this using finetunning so that i dont have to provide the context to model at runtime. like it already knows a lot about entities like elon musk etc, although we dont provide it with information of elon musk at real time.

It does not work that way with raw text. I think you are misunderstanding the fine-tuning stage. You are teaching it how to reply. If you must do this you will need to bring the Lora rank way lower like 16 . If you go too high you train too deep and influence the model too much and it will just put out what you trained it on. You'll have to play with the epoch, learning rate, Lora rank, and alpha to get it just right and also monitor the loss doesn't get too low 1.5 is pretty good.  The best thing to do is to try to convert your data into question-and-answer pairs. You can use a LLM to help you.


Valibot 1.0.0-beta.3: TypeError: schema._run is not a function

Valibot is beta, and have had at least two type changes during this last year, that's why this happens. I hope it can be released in a stable version soon. I'll update its dependency to the latest version in the next Superforms update.


build error when try to build the tokio-uring

[root@localhost tokio-uring]# cargo build
    Updating crates.io index
  Downloaded pin-project-lite v0.2.9
  Downloaded mio v0.8.5
  Downloaded tokio v1.23.0
  Downloaded io-uring v0.5.11
  Downloaded 4 crates (786.6 KB) in 1.02s
   Compiling autocfg v1.1.0
   Compiling libc v0.2.139
   Compiling log v0.4.17
   Compiling cfg-if v1.0.0
   Compiling io-uring v0.5.11
   Compiling bitflags v1.3.2
   Compiling pin-project-lite v0.2.9
   Compiling tokio v1.23.0
   Compiling slab v0.4.7
   Compiling socket2 v0.4.7
   Compiling mio v0.8.5
   Compiling tokio-uring v0.4.0 (/mnt/sda/sda5/wayne/rust/tokio-uring)
error[E0658]: `let...else` statements are unstable
   --> src/buf/fixed/registry.rs:239:9
    |
239 | /         let BufState::Free { init_len } = *state else {
240 | |             return None
241 | |         };
    | |__________^
    |
    = note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information

error[E0658]: use of unstable library feature 'future_poll_fn'
 --> src/io/shared_fd.rs:2:5
  |
2 | use std::future::poll_fn;
  |     ^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #72302 <https://github.com/rust-lang/rust/issues/72302> for more information

error[E0658]: use of unstable library feature 'future_poll_fn'
   --> src/io/shared_fd.rs:116:9
    |
116 |         poll_fn(|cx| {
    |         ^^^^^^^
    |
    = note: see issue #72302 <https://github.com/rust-lang/rust/issues/72302> for more information

error[E0658]: use of unstable library feature 'future_poll_fn'
   --> src/runtime/mod.rs:107:44
    |
107 |             .block_on(self.local.run_until(std::future::poll_fn(|cx| {
    |                                            ^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #72302 <https://github.com/rust-lang/rust/issues/72302> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `tokio-uring` due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
[root@localhost tokio-uring]#

Sorry, that first error makes it look like a newer rust compiler is needed. I think the project is still at the stage where it isn't trying to be compatible with older rust compiler versions. You may want to try on a machine where you can get rust and cargo of 1.66.0.

sorry, I am newbie to rust, is there any command that I can update my rust build tools?
[root@localhost tokio-uring]# cargo --version
cargo 1.56.0
[root@localhost tokio-uring]# cargo update
    Updating crates.io index
[root@localhost tokio-uring]# cargo --version
cargo 1.56.0
[root@localhost tokio-uring]#

sorry, I am newbie to rust, is there any command that I can update my rust build tools?

You can use rustup update if you originally installed it via rustup.rs

thank you so much. now build is OK, but I cannot see any example binary is built
[root@localhost debug]# cd examples/
[root@localhost examples]# ls -l
total 0
[root@localhost examples]# pwd
/mnt/sda/sda5/wayne/rust/tokio-uring/target/debug/examples
[root@localhost examples]#

Try this:
cargo build --examples

I'm going to close this. Please reopen if we've missed answering something. Thank you.

Also, if you keep having further issues, you can comment even if this is closed. We close issues to indicate that work doesn't need to be done on our end.


Use default cgroup location, /sys/fs/cgroup (SOFTWARE-5500)

The old config resulted in errors like the following in slurm.log:
[2023-03-27T04:49:43.934] error: cannot read
/cgroup/system.slice/slurmd.service/cgroup.controllers: No such file or
directory

Success here https://osg-sw-submit.chtc.wisc.edu/tests/20230328-1359/results.html

wow why did that ever work