feat(diagnostics): Runtime trace logging

This adds a switch during runtime to turn on trace logging to a file:

Accessible via the Command+Shift+P/Control+Shift+P command palette - Debug: Log to trace file

When this option is selected, an onivim-trace.log file will be created in the current working directory, and the trace log level will be enabled.
The use case for this is to acquire more details around issues like https://github.com/onivim/oni2/issues/2407 - cases where the editor may not have been started with logging, but having the log would be helpful in diagnosing.

I see this is specifically for Trace logging, is there any benefit to adding a similar command for debug logging, for the cases where we don't need the extra info?
Just thinking that may be an easier way to recommend enabling logging for some issues, but right now that could be a pain for us if there is a LOT more info than we need for just LSP issues say.

Sure, we could definitely add options for other sorts of logging - just don't want it to be too confusing - the nice thing about trace logging is it will have the most information.
Some ideas:

We could add options for other log levels
We could add an option to turn-off trace logging, so that once the issue is reproduced, it could be stopped.

I'm open to either/or - the only case I worry about is if a user goes to the trouble get logs, but it doesn't have quite enough info for us to diagnose.
There could be some other ways we could bubble this up too... I'd like to have an 'Output' pane at the bottom, that could show output from both Vim commands (ie :!ls) as well as from the extension host (there's a whole Output Channel API that we're missing out on, at the moment)


⚠ ClamAV has degraded performance

In ff6f2c0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 51 ms

Resolved: ClamAV performance has improved in bba9ada.


HDFS-6874. Add GETFILEBLOCKLOCATIONS operation to HttpFS.

Description of PR
This is a rebase of the patch file 11 attached to HDFS-6874.
The GETFILEBLOCKLOCATIONS is HCFS compatible. Add support of it to httpfs to makes it possible for more applications to run directly against HttpFS server.
Add GETFILEBLOCKLOCATIONS op support for httpfs server (HttpFSServer). Add the same for httpfs client (HttpFSFileSystem)
Let webhdfs client (WebHdfsFileSystem ) tries the new GETFILEBLOCKLOCATIONS op if the server supports it. Otherwise, fall back to the old GET_FILE_BLOCK_LOCATIONS op. The selection is cached so the second invocation doesn't need to trial and error again.
How was this patch tested?
Unit tests.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
12m 44s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
20m 10s

trunk passed

+1 :green_heart:
compile
4m 52s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
4m 38s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m 15s

trunk passed

+1 :green_heart:
mvnsite
3m  1s

trunk passed

+1 :green_heart:
javadoc
2m 10s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
2m 39s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
6m 23s

trunk passed

+1 :green_heart:
shadedclient
14m  3s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 28s

Maven dependency ordering for patch

-1 :x:
mvninstall
0m 20s
/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs-httpfs.txt
hadoop-hdfs-httpfs in the patch failed.

-1 :x:
compile
4m 17s
/patch-compile-hadoop-hdfs-project-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs-project in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
javac
4m 17s
/patch-compile-hadoop-hdfs-project-jdkUbuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.txt
hadoop-hdfs-project in the patch failed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04.

-1 :x:
compile
4m  4s
/patch-compile-hadoop-hdfs-project-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs-project in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

-1 :x:
javac
4m  4s
/patch-compile-hadoop-hdfs-project-jdkPrivateBuild-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.txt
hadoop-hdfs-project in the patch failed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10.

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  7s
/results-checkstyle-hadoop-hdfs-project.txt
hadoop-hdfs-project: The patch generated 4 new + 462 unchanged - 1 fixed = 466 total (was 463)

-1 :x:
mvnsite
0m 22s
/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs-httpfs.txt
hadoop-hdfs-httpfs in the patch failed.

+1 :green_heart:
javadoc
1m 44s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
2m 13s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

-1 :x:
spotbugs
0m 21s
/patch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-httpfs.txt
hadoop-hdfs-httpfs in the patch failed.

+1 :green_heart:
shadedclient
16m 15s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
2m 21s

hadoop-hdfs-client in the patch passed.

-1 :x:
unit
231m  9s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

-1 :x:
unit
0m 36s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-httpfs.txt
hadoop-hdfs-httpfs in the patch failed.

+1 :green_heart:
asflicense
0m 47s

The patch does not generate ASF License warnings.

349m 15s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes

hadoop.hdfs.TestRollingUpgrade

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3322/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3322

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 267b991a4cbb 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2e2192af3338294c642b37f00172743c9dfa0e6a

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3322/1/testReport/

Max. process+thread count
3413 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs U: hadoop-hdfs-project

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3322/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  6s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
13m 16s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
23m 34s

trunk passed

+1 :green_heart:
compile
28m 33s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
23m 23s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
4m 36s

trunk passed

+1 :green_heart:
mvnsite
4m 37s

trunk passed

+1 :green_heart:
javadoc
3m 25s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
4m 12s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+0 :ok:
spotbugs
0m 34s

branch/hadoop-project no spotbugs output file (spotbugsXml.xml)

+1 :green_heart:
shadedclient
18m 38s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 27s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 11s

the patch passed

+1 :green_heart:
compile
27m 49s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
27m 49s

the patch passed

+1 :green_heart:
compile
24m 31s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
24m 31s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
4m 41s
/results-checkstyle-root.txt
root: The patch generated 8 new + 477 unchanged - 1 fixed = 485 total (was 478)

+1 :green_heart:
mvnsite
4m 19s

the patch passed

+1 :green_heart:
xml
0m  3s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
3m 16s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
3m 32s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+0 :ok:
spotbugs
0m 30s

hadoop-project has no data from spotbugs

+1 :green_heart:
shadedclient
19m 41s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 27s

hadoop-project in the patch passed.

+1 :green_heart:
unit
2m 50s

hadoop-hdfs-client in the patch passed.

+1 :green_heart:
unit
321m  3s

hadoop-hdfs in the patch passed.

-1 :x:
unit
13m 36s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs-httpfs.txt
hadoop-hdfs-httpfs in the patch passed.

+1 :green_heart:
asflicense
0m 58s

The patch does not generate ASF License warnings.

579m 13s

Reason
Tests

Failed junit tests
hadoop.fs.http.client.TestHttpFSFWithSWebhdfsFileSystem

hadoop.fs.http.client.TestHttpFSFileSystemLocalFileSystem

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3322/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3322

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell xml

uname
Linux c8350ad36873 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / af6b23d7b985c14535d96bcab012d218fbaf67ca

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3322/2/testReport/

Max. process+thread count
2339 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3322/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Hey @jojochuang
Thanks for the recent fixes.
Are you still working on making changes to the PR or should I start doing a quick review?
Have you checked whether the failed unit tests are related to the changes?
 Thank you so much for working on this. Wanted to check if you are planning to take this forward or shall I plan to work on this.

Hi @jojochuang. Thank you so much for working on this. Wanted to check if you are planning to take this forward or shall I plan to work on this.

Although the Jira pulls Github comments, this kind of question would better be posted on Jira.
A jira gets assigned to a developer while there might be multiple PRs to a single Jira ticket.

Thanks @amahussein for pointing it out. Let me ask on JIRA.

Fixed by #4750


Weird problems when I subscribe twice to the same collection on the same page

Following application structure:
I have a menu on the left with a list of items which are links. This is filled by a component via
this.subscribe('subscription', () => this.items = Items.find(), true);

and in the view is a normal *ng-for loop.
Additionally, I have on one route another component which shows the exact same list of items, just with more details. Subscription is done the same way and loop as well.
Here are all the two errors I've noticed so far:

TypeError: Cannot read property 'renderFragment' of undefined at AppViewManager_._attachRenderView

Supposedly, the local variable in the ng-for loop of the side list is null. However, sometimes the first item would show, before the exception throws.
This problem shows up when I use 2 separate publications, one which publishes only the name and the other which publishes the whole object. Also it showed up when I didn't wait for the subscription in the callback, but right away assigned the value this.items = Items.find()
2) When I use the same publication for both components, than it seems to work fine in the beginning. Later on, when I add new items and switch to a different view (the list in the menu stays, but the list of all items with more details is gone) Meteor starts sending delete commands for those newly created items.
Example: I start with a list of items 1-5. On the overview page, I add items 6-10. So far so good. Now I go away from the overview page and meteor sends to the client the command to delete items 6-10, even though my side list is still subscribed to it. And when I switch back to the overview page, the items 6-10 are downloaded again and everything seems fine, until I leave the overview page.
I'm currently trying to reproduce it with the parties example, but maybe you already have any idea why:

the items in the cursor would be null sometimes (I do apply a transformation function, but that should work, as they are only null from time to time)

2) why Meteor commands the application to delete items, even though another subscription is still running? (maybe this isn't possible with meteor?)

Ok, I've found the problem for the 2. problem - queries on the server aren't reactive, but the first problem still is bugging me a bit, any ideas?

I can only guess that some property is still undefined when being rendered. Otherwise, a repo with the issue needed.

@pgrm can you pls check with the latest version?

I have a similar problem. Tested with v0.3.4
This always works locally in Chrome and Safari, in Firefox sometimes. It rarely works on the server.
export class RoomComponent {
    room: Room;

    constructor(public params: RouteParams) {
        let roomId = this.params.get('id');
        this.room = Rooms.findOne(roomId);
    }
}

This doesn't work neither locally or the server (won't update this.room):
export class RoomComponent extends MeteorComponent {
    room: Room;

    constructor(public params: RouteParams) {
        super();
        let roomId = this.params.get('id');
        this.subscribe('room', roomId, () => {
            this.room = Rooms.findOne(roomId);
        }, true);
    }
}

Could it be the reactive problem with queries on the server?
Thank you.

I fixed my issue. I had someting worng on my pub files inside the server directory.
Now this.subscribe works fine.

@barbatus sry it took so long. The new version seems to work, I can't reproduce the issue anymore. Closing it for now.


AS3 bigip pointer is unable to find pre-existing virtual-address with %rd

Environment

Application Services Version: 3.51.0
BIG-IP Version: <IP_ADDRESS>

Summary
Using bigip pointer in virtualAddresses object to reference pre-exising virtual-address with %RD prefix in Common partition results in 422 error response "Unable to find /Common/<IP_ADDRESS>%1 for /Tenant01/A1/vs1/virtualAddresses/0"
Steps To Reproduce
Steps to reproduce the behavior:

Have a virtual-address with %RD in Common partition

ltm virtual-address <IP_ADDRESS>%1 {
    address <IP_ADDRESS>%1
    auto-delete false
    mask <IP_ADDRESS>
    traffic-group traffic-group-1
}

Submit the following declaration:

{
  "class": "AS3",
  "declaration": {
    "class": "ADC",
    "schemaVersion": "3.0.0",
    "Tenant01": {
      "class": "Tenant",
      "defaultRouteDomain": 1,
      "A1": {
        "class": "Application",
        "template": "generic",
        "vs1": {
          "class": "Service_UDP",
          "sourceAddress": "<IP_ADDRESS>%1/0",
          "virtualAddresses": [
            { "bigip": "/Common/<IP_ADDRESS>%1" }
          ],
          "virtualPort": 80,
          "pool": "web_pool"
        },
        "web_pool": {
          "class": "Pool",
          "monitors": [{
            "bigip": "/Common/udp"
          }],
          "members": [
            {
              "servicePort": 80,
              "serverAddresses": [
                "<IP_ADDRESS>"
              ]
            }]
        }
      }
    }
  }
}

Observe the following error response:

{
  "code": 422,
  "declarationFullId": "",
  "message": "Unable to find /Common/<IP_ADDRESS>%1 for /Tenant01/A1/vs1/virtualAddresses/0"
}

Using TMSH to create VS works fine:

[admin@ip-10-1-1-4:Standby:Disconnected] tmp # tmsh cre ltm virtual rd1_vs2 destination <IP_ADDRESS>%1:8082
[admin@ip-10-1-1-4:Standby:Disconnected] tmp # tmsh li ltm virtual rd1_vs2
ltm virtual rd1_vs2 {
    creation-time 2024-07-20:06:24:49
    destination <IP_ADDRESS>%1:8082
    last-modified-time 2024-07-20:06:24:49
    mask <IP_ADDRESS>
    profiles {
        fastL4 { }
    }
    serverssl-use-sni disabled
    source <IP_ADDRESS>%1/0
    translate-address enabled
    translate-port enabled
    vs-index 6
}

Jul 20 06:24:49 ip-10-1-1-4.us-west-2.compute.internal notice mcpd[25830]: 01070417:5: AUDIT - client tmsh, tmsh-pid-12232, user admin - transaction #33968-2 - object 0 - create { virtual_server { virtual_server_name "/Common/rd1_vs2" virtual_server_va_name "<IP_ADDRESS>%1" virtual_server_port 8082 } } [Status=Command OK]
Jul 20 06:24:49 ip-10-1-1-4.us-west-2.compute.internal notice tmsh[12232]: 01420002:5: AUDIT - pid=12232 user=admin folder=/Common module=(tmos)# status=[Command OK] cmd_data=cre ltm virtual rd1_vs2 destination <IP_ADDRESS>%1:8082

Expected Behavior
AS3 is able to create the VS with pre-existing virtual-address having %rRD suffix
Actual Behavior
Declaration fails with code 422 and error message "Unable to find /Common/<IP_ADDRESS>%1 for /Tenant01/A1/vs1/virtualAddresses/0"
Additional Notes
Using Service_Address in AS3 or creating the virtual-address manually using non-literal address is currently not feasible for the customer due to BIG-IP Bug ID1589133

Chances are this is stemmed on how iControl REST presents the virtual-address objects in BIG-IP by URL encoding the % character to %25.
I reckon AS3 would search for the literal value of virtualAddresses element (e.g. <IP_ADDRESS>%1), but since the iControl REST server indexes the object with the URL encoding  <IP_ADDRESS>%251 it would return Not Found error.
Sample REST output showing the URL encoding in the selfLink property:
[admin@ip-10-1-1-4:Standby:In Sync] tmp # curl -sku rest: 'http://localhost:8100/mgmt/tm/ltm/virtual-address/~Common~<IP_ADDRESS>%251' | jq .
{
  "kind": "tm:ltm:virtual-address:virtual-addressstate",
  "name": "<IP_ADDRESS>%1",
  "partition": "Common",
  "fullPath": "/Common/<IP_ADDRESS>%1",
  "generation": 4024,
  "selfLink": "https://localhost/mgmt/tm/ltm/virtual-address/~Common~<IP_ADDRESS>%251?ver=<IP_ADDRESS>",
  "address": "<IP_ADDRESS>%1",
  "arp": "enabled",
  <!--- snipped for brevity --->
}

This means that the ideal fix would need to cater for such URL encoding during object name search, in at least one of the following scenarios:

dynamically when AS3 sees a % character (and perhaps other characters which require URL encoding) in bigip property value
statically for virtualAddresses element value (and perhaps other similar properties e.g. sourceAddress)

AUTOTOOL-4448 has been created and added to our backlog, mentioned the same in the escalation raised for this issue.


Improve jwt.ts type definition

Motivation
Improve code quality

Description
Record<string, unknown> & {iat: number; exp?: number} is just {iat: number; exp?: number}, Record<string, unknown> is unnecessary

Closes #issue_number
Steps to test or reproduce

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

:tada: This PR is included in v1.9.0 :tada:


Lower the size of the parser library in VSCode

Pull Request Description
Uses --release when building the enso_parser libraries to make the code smaller:

parser_linux 1020 KB
parser_mac_arm 599 KB
parser_mac_intel 604 KB
parser_windows 438 KB

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] All code follows the
Rust
style guides.
[x] Existing tests are passing OK

Based on this advice by Kaz.

Is that the result of using musl?

still the ./enso_parser/libenso_parser.so is bigger than it should be...

Is that the result of using musl?

Probably, yes. It's the cost of wide Linux portability.


Error when Running Agents Locally

When trying to run an agent locally using:
nearai agent interactive gagdiez.near/hello-ai/latest --local

The cli will always crash with a message of the form:
File not found error: /Users/gagdiez/tmp/ai/gagdiez.near/hello-ai/latest/gagdiez.near/hello-ai/latest/system_log.txt

The error comes from searching for a path that does not exist, because the cli is wrongly concatenating the same path twice, the error starts at:
https://github.com/nearai/nearai/blob/a833c48c6c41d5e2ef9aff88614c50791f0a1f09/nearai/cli.py#L584
where the LocalRunner passes the agent in both path (1st param) and agents (2nd param), which in turn are passed down a couple of functions until arriving here:
https://github.com/nearai/nearai/blob/a833c48c6c41d5e2ef9aff88614c50791f0a1f09/nearai/aws_runner/service.py#L272
where they are join together creating the error

When running locally you need to specify full path:
nearai agent interactive /Users/gagdiez/tmp/ai/gagdiez.near/hello-ai/latest --local

Also, latest will probably not work. You'll likely need to specify exact version.

hi @arktoswb
I get the same error with:
nearai agent interactive ~/.nearai/registry/gagdiez.near/hello-ai/latest --local

Error: No such file or directory '/Users/gagdiez/.nearai/registry//Users/gagdiez/.nearai/registry/gagdiez.near/hello-ai'
The latest comes from the download, it is created by this command:
nearai agent interactive gagdiez.near/hello-ai/latest --local

@arktoswb Interestingly, it seams that the error when using the full path actually comes from this line:
https://github.com/nearai/nearai/blob/a833c48c6c41d5e2ef9aff88614c50791f0a1f09/nearai/aws_runner/service.py#L262
Since the full path is passed in the agent identifier once, and then added again because we are using expanduser("~/.nearai/registry")

Works:
$ nearai registry download flatirons.near/example-travel-agent/1
Entry namespace='flatirons.near' name='example-travel-agent' version='1' already exists at /Users/antonlomonos/.nearai/registry/flatirons.near/example-travel-agent/1. Use --force to overwrite the entry.
$ nearai agent interactive /Users/antonlomonos/.nearai/registry/flatirons.near/example-travel-agent/1 --local

Does not work:
$ nearai registry download flatirons.near/example-travel-agent/latest
Entry namespace='flatirons.near' name='example-travel-agent' version='latest' already exists at /Users/antonlomonos/.nearai/registry/flatirons.near/example-travel-agent/latest. Use --force to overwrite the entry.
$ nearai agent interactive /Users/antonlomonos/.nearai/registry/flatirons.near/example-travel-agent/latest --local


adding classical solvers for LABS

Requested by @jmlarson1

I observe the following:
Am I not setting things up correctly?
[jlarson@x1carbon classical_solvers_for_LABS] python generate_lp_files.py True 20 25
Generating LABS for n=20 in /home/jlarson/QOKit/examples/classical_solvers_for_LABS/lp/LABS_n20_cplex.lp
Generating LABS for n=21 in /home/jlarson/QOKit/examples/classical_solvers_for_LABS/lp/LABS_n21_cplex.lp
Generating LABS for n=22 in /home/jlarson/QOKit/examples/classical_solvers_for_LABS/lp/LABS_n22_cplex.lp
Generating LABS for n=23 in /home/jlarson/QOKit/examples/classical_solvers_for_LABS/lp/LABS_n23_cplex.lp
Generating LABS for n=24 in /home/jlarson/QOKit/examples/classical_solvers_for_LABS/lp/LABS_n24_cplex.lp

[jlarson@x1carbon classical_solvers_for_LABS] python3 run_gurobi.py TTS 10 20 10
Set parameter Username
Academic license - for non-commercial use only - expires 2024-10-24
Traceback (most recent call last):
  File "/home/jlarson/QOKit/examples/classical_solvers_for_LABS/run_gurobi.py", line 98, in <module>
    run_LABS(range(n_min, n_max), TTS=TTS, env=env, nb_runs=nb_runs)
  File "/home/jlarson/QOKit/examples/classical_solvers_for_LABS/run_gurobi.py", line 72, in run_LABS
    msol, raw_time_diff, time_diff = run_one_instance(path_lp, env, TTS=TTS, n=n, log_to_write=log_to_write, seed=seed_gurobi)
  File "/home/jlarson/QOKit/examples/classical_solvers_for_LABS/run_gurobi.py", line 29, in run_one_instance
    m.setParam(GRB.Param.Cuts, Cuts)
UnboundLocalError: local variable 'm' referenced before assignment

Hi @jmlarson1,
python generate_lp_files.py True 20 25 generates LP files for N between 20 and 25, but python run_gurobi.py TTS 10 20 10 is trying to load files with N between 10 and 20. I have updated the doctoring to remove this confusion.
Can you try the following?
python generate_lp_files.py True 10 20
python run_gurobi.py TTS 10 20 10

@rajgane07, would you mind checking why the deployment build is failing and how that can be fixed?

That works for me:
[jlarson@x1carbon classical_solvers_for_LABS] tail logs_gurobi/gurobi_time_TTS_LABS_Threads_8_Cuts_0_Heuristics_0.csv
19,58.831720579999995,7.424087285995483,19576,0
19,51.76362204600002,6.8362038135528564,14306,1
19,47.279728691,6.627930402755737,11072,2
19,79.92150198500002,10.984905481338501,17953,3
19,47.29674707199996,7.276442766189575,9029,4
19,59.619839663999926,8.433784246444702,14497,5
19,39.214781344000016,5.138017177581787,10016,6
19,38.337952210000026,4.904386520385742,11664,7
19,39.834180751000076,5.080341100692749,12864,8
19,31.600170090999995,4.0231029987335205,9512,9

Great! I will merge.


Bump envoy_reader to 0.8.6, fix missing dependency

Description:
Bump envoy_reader to 0.8.6, which fixes missing requests_async dependency
Related issue (if applicable): fixes #25331
Checklist:

[ ] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

requests-async, which is a dependency of envoy_reader, requires Python 3.6. We still need to maintain Python 3.5.3+ compatibility for this release cycle, and our CI isn't update yet.

@MartinHjelmare Assuming that lack of Python 3.5 support is the only thing failing this PR, will it be able to be merged in time for the HA 0.97 release?

We have now update our CI with minimum Python version at 3.6.
Please rebase on latest dev branch to let the build pass.

Sorry!


Run without saving for flying thoughts

Problem Description
Sometimes one have thoughts and want to evaluate quickly, an one key run solution is needed. Although there are 2 ways to run code: F5 or F9, but F5 needs to save first to run; F9 needs select all to run.
What steps will reproduce the problem?

New temp py file and type some lines code.
Without saving, then want to run code with one key press.

What is the expected output? What do you see instead?
Run temp code snippets with one key press. 2 probably ways:
1,When creating a new file then immediately saving on disk;
2,Some function operation like "ctrl-a first, then F9" in one key press.(Note:  Pyzo )
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Package Versions
IPython >=4.0    :  6.2.1 (OK)
cython >=0.21    :  0.27.3 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.14.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.8.3 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.7.2 (OK)
sympy >=0.7.3    :  1.1.1 (OK)
Dependencies

PASTE DEPENDENCIES HERE

Without saving, then want to run code with one key press.

You can create a cell that embraces all the contents of your file (by creating a comment that starts with #%%) and then evaluate with Shift+Enter or Ctrl+Enter.

Without saving, then want to run code with one key press.

This is unfortunately not possible because we need to read the contents of the file on disk to pass them to runfile.


[release/v1.0] [backport] trim both // inside the path and all leading and trailing /

backport of https://github.com/rancher/backup-restore-operator/pull/126
issue: https://github.com/rancher/backup-restore-operator/issues/128

Quick approve due to backport; assuming cherry-pick was clean.


Postorder traversal of a Binary Tree (Iterative approach)

I want to provide a C++ code for printing postorder traversal of a binary tree without recursion (i.e.  by using iterative approach)
I am LGM SOC'21  participant and want to provide this code with proper comments and explanation.
@Ayush7614  @Amit366  @Saurabh4626  @ravikr126  Please assign me this issue.

I have added the code for postorder traversal of binary tree using iterative approach and created a pull request .
Please review it.
@Saurabh4626  @Ayush7614

Can I try in python ?


mediafusion.fun down - url cannot be resolved

service/url is down currently - EST 09PM - Feb 3 2024
It has been down for the past few hours.

DNS has been updated. Now you can access.

@mhdzumair https://mediafusion.fun is still down for me. Does it take some time to resolve?

could you check from incognito mode? It sometimes takes for DNS caching.

I think it took a few minutes. now its working. thanks for your awesome work.


Cleanup updatablehelpsystem

PR Summary
Related #3565 and #4357.
Easily review commit by commit:

Remove old code for WebClient - currently HTTPClient is main in CoreFX.
Restore XML Schema support - currently we have the API in CoreFX.
Reorder using statements.

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[x] Not Applicable or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

Tests failed with "The Help content XSD file cannot be found in C:\projects\powershell\src\powershell-win-core\bin\Release"
I see that Windows PowerShell has Schemas directory in home folder.
Should we restore this or remove schemas support?

@iSazonov Thanks for this PR. We should bring back the schema files as XSD validation seems to be supported in CoreCLR now.

@adityapatwardhan Please point me where I can get this files from. Can I copy them to the repo from Windows PowerShell directory?

@adityapatwardhan Schemas added.


Plot_variable prints cumulative sum

The current implementation of plot variable plots cumulative sum

instead of individual variables

This issue is still relevant. The behavior we have now is that the 0 value of the units start at the level of the previous unit


Asynchronous DNS support example

Since the first version of tokio-socks5, a couple of futures-based DNS crates appeared, and an example of using one of them for name resolution ought to be helpful as a demonstration of integrating disparate futures-based code bases.
I've adapted the code to use @bluejekyll's TRust-DNS library (with his generous help; thanks!) and would like to open a PR, but since the thread-pool resolver example is valuable, I'd prefer to base the PR on a different branch (the README in master could be updated to announce its existence). Do you agree with that approach, and if so, could you create a new branch?

Awesome news!
I'd prefer to keep everything on one branch (tough to remember to update various branches over time). On one hand using a thread pool is a great time to show off an easy way to make blocking work asynchronous, but on the other hand I'd also want to show off true asynchronous DNS solutions in tokio.
I think it's probably best, though, to show of asynchronous DNS solutions, so let's just go ahead and switch over to using TRust-DNS entirely. Want to send a PR for that?

Just an FYI. This implementation looks fine for a basic IPv4 DNS requests which rely on the upstream resolver to handle CNAME lookups, etc. I do want to add a complete resolver at some point to the DNS library, that's probably after some updates to the DNSSec stuff. That will handle CNAME chain lookups along with IPv6 and fallback to IPv4. I'll let you know when that's ready so that you could integrate that in the future as well.

I think it's probably best, though, to show of asynchronous DNS solutions, so let's just go ahead and switch over to using TRust-DNS entirely. Want to send a PR for that?

@alexcrichton Sure, I've opened #3.
@bluejekyll Yes, the implementation is very basic, and I've updated the comments to reflect the fact. Having a fully-fleshed resolver would be wonderful, of course, and I'll try to help with writing one, if time permits.


dont re-render time entry list when user switches to it - no need to re-render as the list is always visible

its not always visible in the linux app


Setting ansible remote_tmp to directory with permissions

Description of the change:
Motivation for the change:

/lgtm


other version of searchview

hi
does searchview have another version that is work with appcompat v24.0.0 ?

It is updated to last version.


add unit test for function in pkg/labels/labels.go

Signed-off-by: ZouYu<EMAIL_ADDRESS>

Thanks!


chore(deps): update dependency glob to v7.1.4

This PR contains the following updates:

Package
Type
Update
Change

glob
devDependencies
patch
7.1.3 -> 7.1.4

Release Notes

isaacs/node-glob
v7.1.4
Compare Source

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

PR has been edited
:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

:tada: This PR is included in version 2.137.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


upgrade normalize

upgrade normalize to 0.4.2. Should also fix some implicit issues with recordOptimisticTransaction and type policies
am going to merge normally and let CI handle release (to see if it can)

:tada: This PR is included in version 4.0.0-beta.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Rework the code for "simulations"

The code for simulations is, in my opinion, difficult to understand. "Simulations" are player actions that are not actually performed until the end of the turn.
At the time of writing, #33 is not implemented, so there isn't even a need for simulations. I want to temporarily remove simulations entirely to clean up the code, then reintroduce them later on with hopefully better code. I've already written down some ideas about it.

Or, y'know, just leave that code alone until the changes are needed. Removing this from milestone 4 as it's not that important

I should mention that I ended up removing simulations, as I originally planned


Create Setup Dependencies Composite Action

Pull Request
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

#123  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 5, 7:49 AM EDT: @JackPlowman started a stack merge that includes this pull request via Graphite.


Add batching functionality to Invoke-VcCertificateAction

Adds Batching of API calls for Invoke-VcCertificateAction when retiring, recovering, validating, or deleting certificates.  The default batch size is 1000 certificates and is customizable with the new -BatchSize parameter.
Piping or supplying more certificates than the batch size to Invoke-VcCertificateAction will result in multiple separate API calls to VCP to perform the chosen action with the maximum number of certs in the API call equal to the chosen batch size. Previously, retiring, validating, recovering, or deleting a large number of certificates would result in the API call timing out after a minute due to invoke-webrequest/invoke-restmethod defaults.
Added new private function Select-VenBatch that separates incoming pipeline objects into batches of [System.Collections.Generic.List[<T>]] objects. Currently supports string, int, guid, and pscustomobject list types and can be expanded later.

As coded it feels a bit heavy handed.  Maybe just put a for loop around the switch and choose 1000 items at a time?
for ($i = 0; $i -lt $allCerts.Count; $i += 1000) {

            Write-Verbose "Processing certificates $i to $($i + 999)"
            $certsPaged = $allCerts[$i..($i + 999)]

            switch ($PSCmdLet.ParameterSetName) {
                'Retire' {
                    $params.UriLeaf = "certificates/retirement"
                    $params.Body = @{"certificateIds" = $certsPaged }

           ....
           }
}


bletiny application source is missing apps/ repo.

bletiny was deprecated some time ago and recently removed from repository - use btshell instead which supports all the features available in NimBLE

How to compile btshell ? I can't find any Makefile.

the same way as any other app for Mynewt - you need to create target and build it using newt tool
if you did not use Mynewt before, start here: http://mynewt.apache.org/latest/

Do you have any test application for Linux to test ported example code of linux ?
mynewt-nimble-master\porting\examples\linux

on Linux you can use BlueZ - there are tools like bluetoothctl there or just use UI

Thanks. Helpful


On the scrapers.peviitor.ro we have the name of the city for : "Clevertech Company" we have next message: Remote is not a city from Romania

ENVIRONMENT: windows
URL: https://scrapers.peviitor.ro/src/clevertech/index.html
Browser: chrome
Device: Laptop
OS: Windows 11
STEPS TO REPRODUCE:
Open the URL in the browser
1.We open browser
2.We insert the url
3.we write "Clevertech" company
4.we run the scraper
Expected results: We should have city names or remote job
Actual results: We have the next message for all jobs: "Remote is not a city from  Romania"

@andreireporter13 este screperul tău!

Imediat il rezolv.


Additional info for unexpected errors

We've found that before you perform the update make sure any additional screens are off and the Surface is only projecting to its own screen otherwise the update may fail with the 'Encountered an unexpected error' message and you'll have to perform a 'power-cycle'. The update takes less than 10 minutes and for Enterprise users it needs local device administration rights.

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

ID: 2a7b356e-3dbd-7f59-845e-a92e05865a52
Version Independent ID: 711c5497-373f-662c-7fae-ba60f046e50c
Content: Microsoft Surface Dock Updater (Surface)
Content Source: devices/surface/surface-dock-updater.md
Product: w10
Technology: windows
GitHub Login: @BRecords
Microsoft Alias: jdecker

@buildbod Thanks for sharing that tip. I'll have to run it past the engineering team before I can add it to the documentation, but I'm glad you found something that works for your org.


Observe local level diffs for StateChecking and ComplexCondition

StateChecking and MessageChain smells are hard to be mapped as the underlying TextDiff is not precise enought. I'm thinking about ignoring these two in the evaluation.


Fix tests broken due to change in data

Description
It looks like freestyle-collection was renamed to freestyle in the preview shop, and this breaks a bunch of tests and links.

Before submitting the PR, please make sure you do the following:

x] Read the Contributing Guidelines
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[ ] Update docs in this repository according to your change
[ ] Run yarn changeset add if this PR cause a version bump based on Keep a Changelog and adheres to Semantic Versioning

@juanpprieto I've cherry-picked this from another PR but I think it's fine if we merge this directly, it shouldn't create conflicts since the fix should be similar.


Dinodex Iteration 1:

To run,
ruby dino_runner.rb
If you want to print info for a particular dino, call
print_info_for_species("Megalosaurus") in the above file

All these rubocop messages are valid, and should be addressed/fixed.

I think that this exercise wants you to chain calls. So for example, if I did:
dino_dex = DinoParser(<file>)
Then I would want to chain calls together to filter the dinosaurs like so:
dinodex.carnivores.large.print_facts
This would get all the carnivores that are large in weight and then print the facts. Let myself or another mentor know if you need clarification or additional help.

Nice work on your first iteration! :+1: Please take a look at the comments, make some fixes, and submit another iteration. As always, feel free to ask for help!


refactor(typography): only anchors with href should get hover underline

href is not a mandatory attribute. Underlining a linkless link is most of
the time probably misleading.

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

Note: this can be considered as a breaking change, so it should probably not be picked into a minor or maintenance release.

This was covered by https://github.com/vaadin/web-components/pull/3204. Closing.


Would VSCode support fallback font just like JetBrains?

VS Code does support font fallback, the *.fontFamily settings take a CSS-style font-family string, eg. "FirstFont, 'Second Font'"


Independent kami stacks

Inspired by #4 and #5, this is less pretty but backwards-compatible.
TODO

[x] Tests
[x] Update README

I think this is ready for merge. Will double-check later!


Create DEV_MODE documentation

Write user-facing documentation describing developer mode and its options, failsafes, and potential pitfalls.
[Paul]: This looks like a duplicate with https://github.com/risc0/risc0/issues/434

This is marked as in progress but doesn't have an assignee. Is someone working on this?

Closing this as it's a duplicate

Archiving as this is is closed due to duplication, not completed work.


Form open problem

// data
array:4 [▼
  "code" => 104
  "name" => "theme name"
  "files" => array:1 [▼
    0 => "header.blade.php"
  ]
]

I cant use parametr array, show err Array to string conversion in blade where i have the form, laravel 5.6 says:
Illuminate/Routing/RouteUrlGenerator.php, line 266
if (count($keyed) < count($parameters)) {
            $query .= '&'.implode(
                '&', $this->getNumericParameters($parameters)
            );
        }

 {{ Form::open(['route' => ['route.name', $array]]) }}
 <button type="submit" class="btn btn-primary">Detail </button>
 {!! Form::close() !!}

You have to add the route parameters separately:
{!! Form::open(['route' => ['route.name', $array[0], $array[1], ...]]) !!}

Form::open is probably the laravelcollective/html package, and they handle their issues at https://github.com/LaravelCollective/html.


feat: .editorconfig file

Make it easier for other people to contribute to the project without having to go through code editor setup.
http://editorconfig.org/

👍 Great idea! We can merge this as soon as it's up to date with master.


What is the last update date of HELM?

Since the latest update of HELM, I could not find the last update date as similarly shown in HEIM:

November first as shown on Pypi: https://pypi.org/project/crfm-helm/

@yifanmai , should we add this to the frontend?

November first as shown on Pypi: https://pypi.org/project/crfm-helm/

That is way too implicit...

Agreed that we should add the release date back to the new frontend
cc @farzaank @percyliang What do you think?

Yes, let's add it back.


CoinBlockerList: using main hosts file

@StevenBlack  IMHO better is using main big hosts file for prevent cryptominers instead of basic browser hosts file (smaller). Works for me.

I'd say it's about time.I had to remove it from the lists and then load it from the source as an additional hosts file in the past.Good job both of you 👍


Add async and fix structure

In principle, nothing has changed except the structure and initialization method. Added asynchronous support.
My priority is ORM. This is something that I would be willing to pay for myself, but if no one needs it, then I will not support it on my own.
Tasks:

[ ] Add docstrings in BaseContiguity
[ ] write test_sync and test_async
[ ] Add ORM, On top of the Base class, using init_subclass
[ ] To do ORM typing using pydantic
[ ] Write test_orm
[ ] examples

I know about conflicts, they happen when using different tools, after you combine uv and poetry into one config, there will be no problems

Superseded by contiguity/python#3


Development: Update cypress dependencies

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[ ] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[ ] I chose a title conforming to the naming conventions for pull requests.

Server

[ ] I followed the coding and design guidelines.
[ ] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[ ] I added pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[ ] I implemented the changes with a good performance and prevented too many database calls.
[ ] I documented the Java code using JavaDoc style.

Client

[ ] I followed the coding and design guidelines and ensured that the layout is responsive.
[ ] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[ ] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[ ] I added authorities to all new routes and checked the course groups for displaying navigation elements (links, buttons).
[ ] I documented the TypeScript code using JSDoc style.
[ ] I added multiple screenshots/screencasts of my UI changes.
[ ] I translated all newly inserted strings into English and German.

Changes affecting Programming Exercises

[ ] I tested all changes and their related features with all corresponding user types on Test Server 1 (Atlassian Suite).
[ ] I tested all changes and their related features with all corresponding user types on Test Server 2 (Jenkins and Gitlab).

Motivation and Context

Description

Steps for Testing

Prerequisites:

1 Instructor
2 Students
1 Programming Exercise with Complaints enabled

Log in to Artemis
Navigate to Course Administration
...

Exam Mode Testing

Prerequisites:

1 Instructor
2 Students
1 Exam with a Programming Exercise

Log in to Artemis
Participate in the exam as a student
Make sure that the UI of the programming exercise in the exam mode stays unchanged. You can use the exam mode documentation as reference.
...

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Exam Mode Test

[ ] Test

Test Coverage

Screenshots

Codecov Report
Base: 79.89% // Head: 79.89% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (4364b7b) compared to base (5a1155b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5934   +/-   ##
==========================================
  Coverage      79.89%   79.89%
- Complexity     12360    12361    +1
==========================================
  Files           2126     2126
  Lines          84335    84335
  Branches       12650    12650
==========================================
+ Hits           67379    67381    +2
+ Misses          9423     9421    -2
  Partials        7533     7533

Flag
Coverage Δ

client
75.70% <ø> (ø)

server
84.54% <ø> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ce/scheduled/ParticipantScoreSchedulerService.java
82.11% <0.00%> (+1.32%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


patches: Remove mainline series

These two patches are now merged into mainline:
https://git.kernel.org/linus/3e5832e923a9c3a12c76980f68853668d4675ecf

Ack, I will split that out in the future. I just lumped the result of generate.sh all in this commit but having the LLVM_TOT_VERSION bump seperately would definitely be helpful for review. Thanks for the review!

Ha, that was supposed to be on #296 obviously... got my tabs switched up :)


feature : --missing-only

Hello, an important feature for rclone could be : missing only.
The directories listing is very fast so find the missing files on remote side should be simple.
Usage scenario : rclone copy "local/path" "remote:container/path" --missing-only
with that option all mtimes, size and md5 checks are skipped
What do you think?

All the remotes give size on directory listing anyway so speed-wise this would be the same as --size-only.

i don't know why you say that the --size-only has the same speed. It isn't true!
Using cloudberry trial or swift commadnline i can obtain the listing of all my 5 tb in 30 sec and there are 700k files.
using rclone with --size-only it took 45 minutes last night only for 40k files.
You are wrong when you say that the speed is the same. Please check you code or do some tests!

If you would like to to reproduce your results then please post the command lines you used - thanks!

Here is an example showing that a --size-only sync is quick with a swift backend.
$ rclone --dry-run --size-only sync local swift:Images
2015/11/09 20:44:52 Swift container Images: Building file list
2015/11/09 20:45:05 Swift container Images: Waiting for checks to finish
2015/11/09 20:45:06 Swift container Images: Waiting for transfers to finish
2015/11/09 20:45:06 Waiting for deletions to finish

Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:             58159
Transferred:          404
Elapsed time:       14.2s

And without --size-only
$ rclone --dry-run sync /home/ncw.irishsea/Images swift:Images2015/11/09 20:47:19 Swift container Images: Building file list
[snip]
2015/11/09 20:53:59 Swift container Images: Waiting for transfers to finish
2015/11/09 20:53:59 Waiting for deletions to finish

Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:             58159
Transferred:          404
Elapsed time:     6m40.1s

I have the same commands but with copy and not sync. I will try with sync but i wouldn't delete any files

Il giorno 09 nov 2015, alle ore 9:59 PM, Nick Craig-Wood<EMAIL_ADDRESS>ha scritto:
Here is an example showing that a --size-only sync is quick with a swift backend.
$ rclone --dry-run --size-only sync local swift:Images
2015/11/09 20:44:52 Swift container Images: Building file list
2015/11/09 20:45:05 Swift container Images: Waiting for checks to finish
2015/11/09 20:45:06 Swift container Images: Waiting for transfers to finish
2015/11/09 20:45:06 Waiting for deletions to finish
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:             58159
Transferred:          404
Elapsed time:       14.2s
And without --size-only
$ rclone --dry-run sync /home/ncw.irishsea/Images swift:Images2015/11/09 20:47:19 Swift container Images: Building file list
[snip]
2015/11/09 20:53:59 Swift container Images: Waiting for transfers to finish
2015/11/09 20:53:59 Waiting for deletions to finish
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:             58159
Transferred:          404
Elapsed time:     6m40.1s
—
Reply to this email directly or view it on GitHub.

Can you post the actual commands with output  like I did above.  You can use --dry-run like I did so no transfers or deletions actually happen. Doing it with copy is fine.
Could you also post the result of running rclone size on the container too please (along with times).

same problem.

rclone rclone --dry-run --size-only sync "I:/newworks" "hubic:default/newworks"
2015/11/09 23:59:39 Swift container default path newworks/: Building file list
2015/11/10 00:00:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      1m2.9s

2015/11/10 00:01:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      2m2.9s
2015/11/10 00:02:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      3m2.9s
2015/11/10 00:03:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      4m2.9s
2015/11/10 00:04:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      5m2.9s
2015/11/10 00:05:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      6m2.9s
2015/11/10 00:06:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      7m2.9s
2015/11/10 00:07:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      8m2.9s
2015/11/10 00:08:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:      9m2.9s
2015/11/10 00:09:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     10m2.9s
2015/11/10 00:10:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     11m2.9s
2015/11/10 00:11:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     12m2.9s
2015/11/10 00:12:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     13m2.9s
2015/11/10 00:13:38
Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:     14m2.9s

Can you try that with --dump-headers and see if you can work out what is happening?

Can you also try rclone size "hubic:default/newworks" please? And post the results. Thanks!

i'll do the tests in the following minutes.
However, yesterday nught i set up a little python script. It does exactly what i wanted.

create a local file list with sizes excluding folders
create a remote local list with sizes excludin folders
checking and correcting size of 0byte files if they have the manifest
give results

I can check and compare 300k files in less than a minute. So it's definitely an rclone issue.
Here the code. Sorry, no comments. I wrote it fast

https://gist.githubusercontent.com/xgiovio/9e3eed6032c91efa064e/raw/57e33908391a8fcc7a4a3ceeba82d45bbf11c764/test.py

Can you try that with --dump-headers and see if you can work out what is happening?

done, it send http request on each folder. I think they are 0 files folder. it should skip these checking the content type application/folder returned by directory listing

Can you also try rclone size "hubic:default/newworks" please? And post the results. Thanks!

Done. Exactly the same situazion. It's slow because using --dump-headers i can see http requests on each folder.
I think you should only filters these 0bytes folder like the bug on past days on folders created by hubic

OK I think we are getting there!  What you are saying is that 0 byte files that hubic uses to mark directores are causing an HTTP request.
I can see why that is, and yes, I'm ignoring the content type in the listing.
I should be able to fix that relatively easily.

yes perfect. it can be a good bug fix for 1.25 milestone. (;

any news on the release? i would like to try the fix on the nas. could you send me a 1.25 compiled for arm? thank you

This fix has gone live in v1.25
Please test it and if you find any problems then open a new issue.
Thanks
Nick


Don't special-case self-alignments

This avoids putting the self-mapping mode into the reference_source_selector, and also changes interval to tabular, as PAF isn't a valid subtype of Interval. We can then add the paf datatype to galaxy that is just subclassed from tabular.

@mvdbeek Thank you for your comments!
I reviewed your changes and merged your commit.


[ERROR]: type reading: crafttweaker.neoforge.api.item.ItemAbility: / :0:

Minecraft version
1.21
Farmer's Delight version
1.21
Fabric Loader version
0.16.0
Fabric API version
fabric-api-0.102.1+1.21.1
Description

Steps to reproduce
1：Enter the game.
2：Error message appears
Mod list
https://paste.ee/p/srXIp
Logs
https://paste.ee/p/y3gTU
Minimal instance

[X] I have tested this on a minimal instance

Performance and shader mods

[X] I am using performance or shader mods

Has been fixed in the latest update


Fix html5 quality settings

Summary of proposed changes
Only save quality setting when it's updated by the user. Fixes bug in html5 player where it would override the settings if the current video does not support the given quality.

Again, I’m not seeing the issue here. You’ll notice the logic is that if the quality level passed is not supported, we choose the closest supported level. Do you have a code pen demonstrating the issue with the current implementation?

I don't know what went wrong when I branched the project. It has all the changes from 'develop'.
Here's the problem that I have with the quality settings.

Load a video that supports 1080p and update the settings
Load a video that does not support 1080p and it will override your settings to the next available quality ie. 720p
Go back to the last video that supports 1080p and you now watch the video in 720p

My pull request will only save the quality settings whenever the user changes them. Not the player itself.

Thanks for this 👍


add logging capabilities.

@philips, et al.
TimeOuting. action ongoing at github.com/TheNewNormal/corectl


Add Hetzner Cloud Credential

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


Recommended way to convert complex types

Is this the recommended way to covert from JSON for a complex type like PG::Geo::Point?
struct PointConverter
  def self.from_rs(rs)
    rs.read(PG::Geo::Point)
  end

  def self.to_json(value, json)
    json.object do
      json.field "x", value.x
      json.field "y", value.y
    end
  end

  def self.from_json(pull)
    pull.read_next
    pull.read_next
    # not checking order of keys
    x = pull.read_float.to_f64
    pull.read_next
    y = pull.read_float.to_f64
    PG::Geo::Point.new(x, y)
  end
end

class Place < Core::Model
  schema do
    table_name "places"

    primary_key :id
    field :name, String
    field :location, PG::Geo::Point, converter: PointConverter
    created_at_field :created_at

    reference :referrer, Place, key: :referrer_id, foreign_key: :id
  end
end

place = Place.from_json "{...}"

UsingJSON.mapping (and not Core) to decode from JSON looks like this:
class Point
  JSON.mapping({
    x: Float64,
    y: Float64,
  })
end

class Place
  JSON.mapping({
    id:         Int32,
    name:       String,
    location:   Point,
    created_at: Time,
  })
end

place = Place.from_json "{...}"

With Core is there a way to specify a class with a JSON.mapping instead of having to define a convertor with from_json and work with the PullParser?

@SeanPackham, hi there,
I honestly hadn't have any experience with complex types yet. Still, AFAIK, .from_json applies to all underlying objects too, therefore it should definitely be possible to define a model field of type Point.
Please check upcoming v0.3.0 release, where JSON and DB converters are split.

I tool a look at v0.3.0 and you also have to define a from_json method even if the complex type has a JSON.mapping. I will keep experimenting :) Thanks for the reply!


How should I modify the config file, and starting command to use more than one bot at a time?How should I modify the config file, and starting command to use more than one bot at a time?

I'll see if I can Update wiki with answer once I get it

Can't you repeat the steps and you can have more bot running.

I suppose I could copy the entire folder for each new bot I wanted to run, but I know there is a better way to do it than that.

You only need one copy of the repository. I'm using the following folder structure:
--pogobot
   |--bot.sh
   |--clone.sh
   |--server.sh
   |--cfg
      |--red.json
      |--blue.json
      |--userdata.json
   |--PokemonGo-Bot
      |--web
         |--userdata.json (symbolic link to ../../cfg/userdata.json)
      |--(the rest of the github repo, which I don't mess with...)

red.json and blue.json would be config files for different accounts. The logins for those accounts get added to the users array in userdata.json:
var users =<EMAIL_ADDRESS><EMAIL_ADDRESS>Passwords, Google Maps API Key, all that other stuff gets set in these files as well.
clone.sh deletes the PokemonGo-Bot folder and recreates it - makes it easy to update without losing my configuration changes.
#!/bin/bash
rm -rf PokemonGo-Bot 2> /dev/null
git clone -b dev https://github.com/PokemonGoF/PokemonGo-Bot
cd PokemonGo-Bot
./install.sh
cd web
ln -s ../../cfg/userdata.js userdata.js

bot.sh runs an instance of the bot. I pass the config file to use as a command line argument to it.
#!/bin/bash

if [ $# -eq 0 ]; then
  echo "Usage: run [playername]"
  echo "  where [playername] is a JSON file in the cfg subdirectory."
  exit 0
fi

cd PokemonGo-Bot
source bin/activate

until (python pokecli.py --config ../cfg/$1.json); do
  echo "Process crashed with exit code $?.  Respawning.." >&2
  sleep 360
done

server.sh just runs a webserver on port 8000 in the web subdirectory
#!/bin/bash
cd PokemonGo-Bot/web
python -m SimpleHTTPServer 8000

I use tmux, but multiple instances of Terminal, multiple tabs, whatever works for you is fine too. In one shell, I run ./server.sh, in a second, I run ./bot.sh red, and in a third, ./bot.sh blue. I can watch the instances do their thing in each shell, and keep an eye on the map in my browser at http://localhost:8000.

That's rather confusing for me, especially considering I don't know Python and I dont have a default userdata file. This new version is so much more complex. I wish I could just do -a/-u/-p/-l/ etc like the old versions to do different accounts.
Anyway, would you kindly ELI5 the website thing for me? for one instance, assuming it's set up the default way?

Don't copy the entire folder :) You only have to copy the config files.
This is my setup (dev branch):
-- bot
----configs
------config.1.json
------config.2.json
------config.3.json
------config.4.json
----run1.cmd
----run2.cmd
----run3.cmd
----run4.cmd
The configs here contain the exact same information, only the username and password are different.
The run1.cmd etc, contain the following code:
@echo off

:Execute
python ./pokecli.py --config ./configs/config.1.json

IF ERRORLEVEL 1 GOTO :RETRY

:RETRY
@echo (%date% %time%) Oooh snap, an error occured, let's try again!
GOTO :Execute

All you have to do here is replace the config name for each cmd file :)
Saves you a lot of diskspace and efforts :)

@skellyton5 You do have a default userdata.js file - it's in PokemonGo-Bot/web/userdata.js.example - just copy it to userdata.js, put in your usernames and your google API key and you're good to go.


Configuring the Email Connector to Bot Framework

Hi Team,
Note able to use the Live Email id for configuring Email channel to the bot , Always getting
"Unable to Validate the given credentials". But i'm able to login to office 365 using the  same live Email id.
Can anybody from bot framework team help in configuring the Email connector. please.
Regards,
Sameer Ahmed.S

Got to know that we have to use only Office 365 Business account email id for configuring the Email channel. If we use Office 365 home it does not work.

Even if I use a business account I am getting an error(Unable to save. Unable to validate the given credentials. ID: |sHlvp.43e270fd_).
Maybe, some issue with RPC over HTTP.

I am facing the same problem I am using my business email and I am able to login to Office 365 with my email even though I am getting a validation error


How to health check kafka without producer / consumer builder

Description
With the given bootstrap server, sasl username and password, how to check  kafka is reachable or not.
If boot server / username / password, any one them is invalid, identify them as not healthy / not reachable.

for better or worse, a basic assumption made by librdkafka currently is that (a) you got your configuration information correct and (b) you want functionality related to broker availability abstracted away from you.
given this, the best I can think of atm is to construct a client (use a producer) corresponding to each bootstrap server, then check in the error handler for an all brokers down error, or use the log handler (and set a debug context so you get some log messages), to look for a more timely log message that is indicative of this. The latter may be a bit fragile, since log messages sometimes get modified in later versions, but that's not common.

for better or worse, a basic assumption made by librdkafka currently is that (a) you got your configuration information correct and (b) you want functionality related to broker availability abstracted away from you.
given this, the best I can think of atm is to construct a client (use a producer) corresponding to each bootstrap server, then check in the error handler for an all brokers down error, or use the log handler (and set a debug context so you get some log messages), to look for a more timely log message that is indicative of this. The latter may be a bit fragile, since log messages sometimes get modified in later versions, but that's not common.

Thanks for the suggestion. Will it not be a costly operation to use producer / consumer, for kafka health check ?


Add support for Google Cloud Pub/Sub

This PR takes all commits from the pubsub-alpha branch and rebases them on top of master.
No news here, all commits but the last one have already been reviewed.
The last commit does some dependency cleanup.

Coverage increased (+0.06%) to 86.153% when pulling fb3e6638c6e2184ee5277aa7466d83f6491493f5 on mziccard:add-pubsub-support into 20e5280d6f1182ff51b564d1b88885146d4f1379 on GoogleCloudPlatform:master.

@lesv do you mind having a look at the latest commit? (previous commits have already been reviewed)

LGTM - on the last commit.

Coverage increased (+0.06%) to 86.153% when pulling aefce684569b22f1b65e5be7ebb2d85ce2a8d547 on mziccard:add-pubsub-support into 20e5280d6f1182ff51b564d1b88885146d4f1379 on GoogleCloudPlatform:master.

@lesv thanks for the pass, I just added one more commit (aefce68) to fix a broking link in the main README. You can see it fixed here. PTAL

LGTM


Marshalling and unmarshalling of values to/from Consul KV store.

So far we use dummy (V) valueFromConsulKVStore which is not sufficient.

https://github.com/EsotericSoftware/kryo - looks like a good candidate - this has to be evaluated.

addressed in https://github.com/romalev/vertx-consul-cluster-manager/pull/53


OT variations: need an explicit way to indicate that an item has no variation

See discussion at https://github.com/googlefonts/colr-gradients-spec/issues/31.
Make an index pair ffff/ffff the means to indicate no variation.

Cf #560

Proposed change in otvarcommonformats:

A complete delta-set index involves an outer-level index into the ItemVariationData subtable array, plus an inner-level index to a delta-set row within that subtable. A special meaning is assigned to a delta-set index 0xFFFF/0xFFFF (that is, outer-level and inner-level portions are both 0xFFFF): this is used to indicate that there is no variation data for a given item. Functionally, this would be equivalent to referencing delta-set data consisting of only deltas of 0 for all regions.
A complete delta-set index involves an outer-level index into the itemVariationData subtable array, plus an inner-level index to a delta-set row within that subtable. As noted above, delta-set indices are stored outside the variation store. Different parent tables that use an item variation store will store indices in different ways, and may utilize different schemes for how to represent the indices in an efficient manner. For example, the HVAR and VVAR tables allow the outer and inner indices to be combined into one-byte, two-byte, three-byte or four-byte representations depending on the indexing requirements of the variation store. For larger sets of variation data, such as may be needed for HVAR or VVAR tables, optimization of the indices data as well as the delta data may have a significant impact on overall size. Optimizing compilers may need to consider the impact on representation of indices in tandem as it optimizes the item variation store to achieve the best overall results.

Proposed change in mvar:

Note: deltaSetOuterIndex = 0xFFFF and deltaSetInnerIndex = 0xFFFF can be used to indicate an item has no variation. However, this means should not be used to indicate that an item does not vary. Rather, a ValueRecord for that item should be omitted.

Proposed change in hvar (at the end of the Table Formats section):

Note that outerIndex = 0xFFFF and innerIndex = 0xFFFF can be used to indicate that a value does not vary. Functionally, this is equivalent to referencing delta-set data consisting of only deltas of 0 for all regions. Optimizing compilers may choose either means to achieve the best results.

The VVAR chapter has info specific to VVAR but otherwise refers to the HVAR chapter for details that are common to both. The note mentioned above proposed for addition to the HVAR chapter could also be added to the VVAR chapter, but that seems unnecessary given that common info is covered in the HVAR chapter.

Proposed change in the BASE chapter—additional note added after the exiting notes in the section for BaseCoord Format 3:

Note: A VariationIndex table with deltaSetOuterIndex = 0xFFFF and deltaSetInnerIndex = 0xFFFF can be used to indicate that a value has no variation. However, this means should not be used to indicate that an item does not vary. Instead, a font should not include a VariationIndex table for the given value.

Proposed change in chapter2 (OTL common formats): at the end of the Device and VariationIndex Tables section, add the same note as added in the BASE chapter.

Proposed change in the GDEF chapter: add the same note added in the BASE chapter after the existing notes in the section for CaretValue Format 3.

Changes made for next version; see seven preceding comments.

No to all those proposed notes in BASE / OTL.

Depending on the parent table context, there will be two or three ways to achieve the same result. You're suggesting that the spec doesn't need to say anything about the alternatives and just leave it to tool developers to figure out which is most efficient?

Depending on the parent table context, there will be two or three ways to achieve the same result. You're suggesting that the spec doesn't need to say anything about the alternatives and just leave it to tool developers to figure out which is most efficient?

Exactly.
You don't find the PNG spec or Brotli spec or any other spec trying to tell an optimizing compiler what to do...

Let alone that in OTL tabless, also in BASE I think, the most efficient way does not encode a variation-index at all. That's why initially I just opposed adding comments to those tables.

the most efficient way does not encode a variation-index at all.

That's what the comments added in the other tables were pointing out: don't do that!

Based on review feedback, removed notes added to base, chapter2, gdef, hvar, mvar.


Checksum fail

With the current script using TP5, the checksums are failing during setup-lab.ps1. It appears they don't match. I've run through this twice with the same outcome.
VERBOSE: [7:54:27 PM] Calculating resource 'C:\Lability\ISOs\2016TP5_x64_EN.iso.checksum' checksum.
VERBOSE: [7:54:40 PM] Writing checksum '4D46EC27EA02B3255B2D6738241F71DB' to resource 'C:\Lability\ISOs\2016TP5_x64_EN.iso.checksum'.
VERBOSE: [7:54:40 PM] Resource 'C:\Lability\ISOs\2016TP5_x64_EN.iso' checksum does not match '6417BA460F95BD91DED05DFACD553783'.
Web resource 'http://care.dlservice.microsoft.com/dl/download/8/9/2/89284B3B-BA51-49C8-90F8-59C0A58D0E70/14300.1000.160324-1723.RS1_RELEASE_SVC_S
ERVER_OEMRET_X64FRE_EN-US.ISO' download failed.
At C:\Program Files\WindowsPowerShell\Modules\Lability\0.10.0\Lib\Resource.ps1:256 char:13

        throw ($localized.WebResourceDownloadFailedError -f $Uri) ...

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (Web resource 'h...ownload failed.:String) [], RuntimeException
FullyQualifiedErrorId : Web resource 'http://care.dlservice.microsoft.com/dl/download/8/9/2/89284B3B-BA51-49C8-90F8-59C0A58D0E70/14300.100
0.160324-1723.RS1_RELEASE_SVC_SERVER_OEMRET_X64FRE_EN-US.ISO' download failed.

Checking into this --

Is it possible the source ISOs have changed and the checksums are now wrong? Does the ISO download and can you use it? If so, then the checksum is merely an "accounting" problem.

If there was an optional to accept different hashes and move on, that would be great.
The ISO downloads and is useable.

Michael, I think I have discovered this issue, but it would help if you could confirm a few things.  First, is the message your seeing after the download in Yellow or Red?

If yellow as in the image, thats not an error -- it is a test that failed that prompted the download.
I believe what is happening is that after the download the script hangs -- but if you hit the return key it will continue.  I will track this with the lability guys.

Appears to work now. Previous runs had no 'Press Enter' and script broke. Gremlins.

There is no 'Press Enter' -- its a bug in either PowerShell or Lability -- so I'm checking with the lability guys. I've had this happen with regular PowerShell scripts and long running processes -- so I'm half thinking its PowerShell and there is nothing I can do about that -- except warn students in the ReadMe.md and message that displays before the download begins.  I've already changed those to reflect this possibility -- but I will report back here when I find out more. Thanks for the help!

The only thing I received this pass was another 'Press R to run once' prompt. Seemed to work this time. Will check later today. Thanks.


error is not part of the ownerState when overriding styles within a custom theme for MuiSelect

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
https://github.com/vdaskalov-ext/mui-custom-theme-select/blob/main/src/app/app.tsx
https://codesandbox.io/s/confident-surf-4rl32y?file=/src/App.tsx:0-1304
Steps:

npm start
check the console log

Current behavior 😯
error from the ownerState is undefined
Expected behavior 🤔
error should be passed through as it is the case for MuiAutoselect
Context 🔦
I want to customize the color of the select arrow, but using the icon styleOverride I have to adjust for the disabled and error states as well, thus I need to know the state of these flags.

  Output from `npx @mui/envinfo` goes here.

@vdaskalov-ext @gzrae @siriwatknp I would like to pick this up.

@vdaskalov-ext @gzrae @siriwatknp I wish to start working on this

Feel free to submit a PR!

Has this issue been resolved? Or should I start working on correcting the error ?

@code0monkey1 The PR is open by @gitstart. Could you help take a look?


android: use libc getifaddrs

Android natively supports getifaddrs() since 7.0 (NDK >= 24), released in 2016. I propose removing our homegrown implementation in favor of libc's.

SUPPORTED_PLATFORMS.md says NDK >= 15b (why the 'b'?) works but I'm reasonably confident it's been NDK >= 21 for years.

It's true they have a weird version
https://developer.android.com/ndk/downloads/revision_history


improve build chain

With 2.0, we shall have a more robust build change (currently fully local and manual):

changelog dedicated to packages
package publishing with gha
release publishing with gha
automatic versioning
semantic commits (enforce)
package provenance
git artefact signing
https://knip.dev/

References

https://github.com/changesets/changesets
https://github.blog/2023-04-19-introducing-npm-package-provenance/
https://docs.sigstore.dev/signing/git_support/

Knip added in #1145


Invalid CSS in kitchen sink files (?)

This is a (multiple allowed):

[x] bug
[ ] enhancement
[ ] feature-discussion (RFC)

What you did
Piped kitchen sink CSS to purify
Expected Behavior
CSS accepted by purify
Actual Behavior
CSS not accepted by purify
See: https://github.com/webpack-contrib/purifycss-webpack/issues/107

Didn't get, what exactly is incorrect there?

From what I understand is that he wants to remove unnecessary code from the F7 css using purifyer.
Purifyer complains though that somewhere in the css there is an syntax error or similar and thus cannot process the css.

Yes, I think there is indeed a syntax error:
.kitchen-sink-material @media (max-width: 767px) {
  .kitchen-sink-material #ks-picker-date-container .picker-items {
    font-size: 21px;
  }
  .kitchen-sink-material #ks-picker-date-container .picker-item {
    height: 36px;
    line-height: 36px;
  }
  .kitchen-sink-material #ks-picker-date-container .picker-item span {
    padding: 0 6px;
  }
}

I don't think the @media belongs there, right? Should probably rather be:
@media (max-width: 767px) {
  .kitchen-sink-material {
    .kitchen-sink-material #ks-picker-date-container .picker-items {
      font-size: 21px;
    }
    .kitchen-sink-material #ks-picker-date-container .picker-item {
      height: 36px;
      line-height: 36px;
    }
    .kitchen-sink-material #ks-picker-date-container .picker-item span {
      padding: 0 6px;
    }
  }
}

@scriptPilot Where did you get the code from, @scriptPilot ? Remember that the original code from F7 is LESS code, not plain css.

@valnub - Ah, you are right. That prefix was added by App Framework. Sorry, should be my mistake. Dennis

No problem :)


Update documentation for ELB SSL Certs Generation

The document README.md has no mention on installing AWS Command line tools to be able to run the upload_certs.sh (https://github.com/Accenture/adop-docker-compose/tree/master/provision/aws/ssl)
Please update the documentation to install AWS CLI from this portal before running uploading certs for ELB. Here is the URL https://aws.amazon.com/cli/

@ranaskr please can you make a PR to update the documentation?


can quickmenu window stay open when select the action

Right now, the window will be closed when select some action，can you give an option or other ways to stay the window open ?
Thanks ~

I'm not a vim programmer but I found a way to don't close the menu after executing an item .
For me it works , I don't know if it will break something but I suppose it will not because I just comment the close line .
Comment the line 411 and it should work as intended .
`396 function! quickmenu_execute(index) abort
397     if a:index < 0 || a:index >= len(b:quickmenu.items)
398         return
399     endif
400     let item = b:quickmenu.items[a:index]
401     if item.mode != 0 || item.event == ''
402         return
403     endif
404     " this is the last window
405     if winnr('$') == 1
406         close!
407         return
408     endif
409     let s:quickmenu_line = a:index + 2
410     let s:quickmenu_cursor[b:quickmenu.mid] = s:quickmenu_line
411     " Do not close after executing -->  close!
`


Shearing sheep is not rewarded

*Detailed description of the issue:
Shearing sheep is not rewarded with money or EXP.
I have tried the following setups:
  Shear:
    wool-all:
      income: 4.38
      experience: 4.38

  Shear:
    white_wool:
      income: 4.38
      experience: 4.38

Jobs version:
Jobs version <IP_ADDRESS>
I have also unsuccessfully tried Jobs version 4.17.1 running 1.16.5.
Server Type (Spigot/Paper/etc):
Paper
Server Version (using /ver):
git-Paper-327 (MC: 1.17.1)

You need to provide color of sheep and not wool type, so for example
  Shear:
    Red:
      income: 4.0
      points: 4.0
      experience: 5.0
    Orange:
      income: 4.0
      points: 4.0
      experience: 5.0


Composer permission denied

How do I reset the credentials to match those in the code? Many thanks!

Got it thanks...!


DefaultHttp2RemoteFlowController may not write all pending bytes

Motivation:
DefaultHttp2RemoteFlowController attempts to write as many bytes as possible to transition the channel to not writable, and then relies on notification of channelWritabilityChange to continue writing. However the amount of bytes written by DefaultHttp2RemoteFlowController may not be the same number of bytes that is actually written to the channel due to other ChannelHandlers (SslHandler, compression, etc...) in the pipeline. This means there is a potential for the DefaultHttp2RemoteFlowController to be waiting for a channel writaiblity change event that will never come, and thus not write all queued data.
Modifications:

DefaultHttp2RemoteFlowController should write pending bytes until there are no more, or until the channel is not writable.

Result:
DefaultHttp2RemoteFlowController will write all pending data.
Fixes netty#4242

@nmittler @blucas - FYI.
@blucas - Please verify.

@Scottmitch do you have an automated test that causes the original problem so that we can verify this fixes it?

@Scottmitch - verified. It works :+1:
The sooner this can be merged and cherry-picked to master the better for me :)

@Scottmitch a test case would be nice... but I think we can also do this as a follow up now that @blucas confirmed it fixes his problems

@normanmaurer agreed
@Scottmitch your call

@nmittler - Tests are good but lets look to do tests later.

Cherry-picked 4.1 (24c9407) master (55d805e)
Thanks for verifying @blucas !


lakectl log support graph capability

Supply something similar to git log --graph capability to enable better visualization for our commit log.

Done.


Might a click on component name in the Sapling tree open its code instead of/in addition to a click on the nav button

The Sapling tree is a great way of organising your component tree in VSCode for convenient access. I've been absolutely delighted with it but have one complaint. Whenever I want to open a component I find myself automatically clicking the component name rather than the (near invisible) Nav button
Would it be possible to make a click on a component name open its code instead of/as well as a click on the Nav button?

@mjoycemilburn I felt the same, it was much more intuitive to click the component name than to click a separate icon, we took a fork and have released the extension with the behaviour you have asked for. there are also other usability enhancements/ performance improvements.
marketplace link - https://marketplace.visualstudio.com/items?itemName=HabeebArul.react-component-tree
fork link - https://github.com/hb1998/react-component-tree

Many thanks.  MJ
On Wed, 8 Feb 2023 at 12:46, Habeeb @.***> wrote:

@mjoycemilburn https://github.com/mjoycemilburn I felt the same, it was
much more intuitive to click the component name than to click a separate
icon, we took a fork and have released the extension with the behaviour you
have asked for. there are also other usability enhancements/ performance
improvements.
marketplace link -
https://marketplace.visualstudio.com/items?itemName=HabeebArul.react-component-tree
fork link - https://github.com/hb1998/react-component-tree
—
Reply to this email directly, view it on GitHub
https://github.com/oslabs-beta/sapling/issues/113#issuecomment-1422540114,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADIP2IRG7GDCZQ2UTYHRRUTWWOIRXANCNFSM5V4FS77A
.
You are receiving this because you were mentioned.Message ID:
@.***>


passthrough type is incomplete

Hi,
I'm trying to use passthrough in order to allow an object with some extra keys that are not previously known. The idea is that i know it has a "hash" string. I also know it has several fields that i need to validate against that hash.
const LoginInputSchema = passthrough(object({
  hash: string(),
}))

type LoginInput = Output<typeof LoginInputSchema>

const payload = parse(LoginInputSchema, { hash: 'xxx', field_1: 'a', field_2: 'b'})
payload['field_1'] // Typescript error

// Real usage
const payloadCheck = []
for (const key of Object.keys(payload).sort()) {
  payloadCheck.push(`${key}=${payload[key]}`)
}

I can't access the extra parameters without a typescript error.
It seems the Output type of LoginInput should include some sort of Record<string, unknown> in order to acomodate for the unknown passedthrough fields. For example:
Bad: type LoginInput = {
    hash: string;
}

Good: type LoginInput = {
    hash: string;
} & Record<string | number | symbol, unknown>

Do you know how Zod types this? As a workaround you can do the following:
const Schema = intersection([object({ hash: string() }), record(unknown())]);

Does the problem still exist or have you found a suitable solution?

Hello @fabian-hiller thanks for the feedback!
I've worked-arounded the type issue within my code.
For this report i've created this https://stackblitz.com/edit/typescript-q8ggsi?file=index.ts example. You may play with the example and see the outcomes there with ease.
const ZodDefaultSchema = z.object({ hash: z.string() });
type ZodDefaultSchemaType = z.output<typeof ZodDefaultSchema>;
const ZodPassthroughSchema = ZodDefaultSchema.passthrough();
type ZodPassthroughSchemaType = z.output<typeof ZodPassthroughSchema>;

const ValiDefaultSchema = object({ hash: string() });
type ValiDefaultSchemaType = Output<typeof ValiDefaultSchema>;
const ValiPassthroughSchema = passthrough(ValiDefaultSchema)
type ValiPassthroughSchemaType = Output<typeof ValiPassthroughSchema>;

const ValiWorkaroundSchema = intersection([ValiDefaultSchema, record(unknown())]);
type ValiWorkaroundSchemaType = Output<typeof ValiWorkaroundSchema>;

The results:

Zod v3.22.4 passthrough works as expected:

type ZodPassthroughSchemaType = {
    hash?: string;
} & {
    [k: string]: unknown;
}

Valibot v0.19.0 passthrough doesn't

type ValiPassthroughSchemaType = {
    hash?: string;
}

Proposed workaround does work as intended

type ValiWorkaroundSchemaType = {
    hash?: string;
} & {
    [x: string]: unknown;
}

Hope this make this stuff clearer. Maybe just execute the workaround internally ^_^

Yes, thank you. I will have a look at passthrough and improve the types.

Thank you for the hint! This issue will be fixed in the next version.

I have added an optional rest argument to the object schema. Starting with the next version that will be published in the coming days, I recommend using object({…}, unknown()) instead of passthrough(object({…})). This way the procedure is now consistent with tuple. Thank you again for your feedback!


Make tslint portable

This PR changes tslint (and typscript which it depends on) to be dependencies instead of devDependencies, so we can run tslint electron.d.ts from the electron/electron project. This will give us some confidence that the generated file is valid.

properties?: ('openFile' | 'openDirectory' | 'multiSelections' | 'showHiddenFiles' | 'createDirectory' | 'promptToCreate' | 'noResolveAliases')[];

:point_up: This produces the following error:
electron.d.ts[6517, 18]: Array type using 'T[]' is forbidden for non-simple types. Use 'Array<T>' instead.

Changing it to array notation:
properties?: Array('openFile' | 'openDirectory' | 'multiSelections' | 'showHiddenFiles' | 'createDirectory' | 'promptToCreate' | 'noResolveAliases');

Produces this:
electron.d.ts[6517, 18]: Array type using 'Array<T>' is forbidden for simple types.  Any ideas, @MarshallOfSound and @miniak?


Manage actor timers using a priority queue in memory

Part of: #6592
Based on original work on: #6040
Related issue: #6503
Currently, the Dapr sidecar maintains one goroutine for each active timer (and reminder), each one blocked until it's time for the timer to be executed. This adds significant pressure on memory as well as additional work on the GC.
This PR implements a new data structure that is essentially a priority queue (heap-based). When timers (and in the future reminders) are scheduled, they are added to the queue in order of their execution time. By maintaining the queue with timers/reminders in order, we can make sure that there's at most one background goroutine, which is waiting on the next timer/reminder only.
This PR implements the updated code on timers only. Reminders are of a different level of complexity and will be addressed in a future PR (based on the data structures introduced in this).

/ok-to-test

/ok-to-test

/test-sdk-all

/ok-to-test

/ok-to-test


File not visible when open in "merge changes"

Type: Bug

merge another branch
if nearly 200 files need to merge changes, cannot open only first file

VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 4600H with Radeon Graphics          (12 x 2994)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
63.40GB (45.83GB free)

Process Argv
--crash-reporter-id 4dd1a198-8477-49a8-a229-a7683ff2c179

Screen Reader
no

VM
0%

Extensions (51)

Extension
Author (truncated)
Version

project-manager
ale
12.8.0

turbo-console-log
Cha
2.10.4

codestream
Cod
15.5.0

gitignore
cod
0.9.0

vscode-eslint
dba
2.4.4

git-extension-pack
don
0.1.3

githistory
don
0.6.20

xml
Dot
2.5.1

gitlens
eam
14.9.0

prettier-vscode
esb
10.4.0

mithril-emmet
Fal
0.7.7

vscode-firefox-debug
fir
2.9.10

git-extensions-for-vs-code
for
1.1.3

vscode-github-actions
git
0.26.2

vscode-drawio
hed
1.6.6

rainbow-csv
mec
3.11.0

render-crlf
med
1.8.0

vscode-docker
ms-
1.29.0

vscode-kubernetes-tools
ms-
1.3.16

black-formatter
ms-
2024.0.1

debugpy
ms-
2024.2.0

isort
ms-
2023.10.1

python
ms-
2024.2.1

vscode-pylance
ms-
2024.3.2

remote-ssh
ms-
0.109.0

remote-wsl
ms-
0.86.0

cpptools-extension-pack
ms-
1.3.0

live-server
ms-
0.4.13

remote-explorer
ms-
0.4.3

vsliveshare
ms-
1.0.5918

sqltools
mtx
0.28.1

node-tdd
pra
0.2.4

java
red
1.28.1

vscode-yaml
red
1.14.0

open-in-browser
tec
2.0.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

vscode-boot-dev-pack
vmw
0.2.1

vscode-spring-boot
vmw
1.53.0

vscode-gradle
vsc
3.13.5

vscode-java-debug
vsc
0.57.0

vscode-java-dependency
vsc
0.23.6

vscode-java-pack
vsc
0.25.15

vscode-java-test
vsc
0.40.1

vscode-maven
vsc
0.44.0

vscode-spring-boot-dashboard
vsc
0.13.1

vscode-spring-initializr
vsc
0.11.2

quokka-vscode
Wal
1.0.634

vscode-import-cost
wix
3.3.0

markdown-all-in-one
yzh
3.6.2

vscode-open-in-github
ziy
1.3.6

(1 theme extensions excluded)

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

Hey @lszomoru, this issue might need further attention.
@m-narminov, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

@m-narminov, looks like the issue got automatically closed. Are you still running into this issue?

Closing this issue as we have never heard back from the author.