Certain cursor style stop blinking / animating after a while

VSCode Version: 1.11.1 (1.11.1) d9484d12b38879b7f4cdd1150efeb2fd2c1fbf39
OS Version: macOS Sierra 10.12.4 (16E195)

Steps to Reproduce

VSCode has run with --disable-extensions
VSCode still has the following user's configurations applied

// Place your settings in this file to overwrite the default settings
{
    "editor.roundedSelection": false,
    "editor.scrollBeyondLastLine": false,
    "editor.hideCursorInOverviewRuler": true,
    "editor.renderWhitespace": "all",
    "editor.rulers": [80],
    "editor.cursorBlinking": "expand",
    "editor.emptySelectionClipboard": false,
    "editor.renderLineHighlight": "gutter",
    "editor.minimap.enabled": false,
    "editor.minimap.renderCharacters": false,

    "workbench.activityBar.visible": false,
    "workbench.iconTheme": "vs-nomo-dark",

    "files.insertFinalNewline": true,

    "explorer.openEditors.visible": 0,

    "terminal.external.osxExec": "iTerm.app",
    "terminal.integrated.fontFamily": "Meslo LG S for Powerline",
    "terminal.integrated.fontSize": 10,

    "window.reopenFolders": "all",

    "python.linting.pylintEnabled": false,
    "python.linting.pep8Enabled": true,

    "extensions.autoUpdate": true,
    "diffEditor.renderSideBySide": false,
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/.DS_Store": true,
        "**/__pycache__/**": true
    },
    "window.zoomLevel": 0
}

For certain cursor blinking styles (e.g. "editor.cursorBlinking": "expand") the cursor stops blinking after 10s of idle time. This is done to reduce CPU usage when VS Code is idle (i.e. increase battery life). Do you find this very annoying / a deal breaker ?

It's not a big deal but it quite annoying as I didn't expect cursor to be that way. If there's a way to configure the idle time before it stop blinking, that'd be a good option for me (at least I could give them more time before stop blinking).

for any "editor.cursorBlinking" setting except the default "blink" the cursor stops blinking. It happens in Windows 10 too!

For your consideration in prioritizing, I was also surprised to see the cursor stop blinking after such a short period. I downloaded VS Code today (coming from Sublime Text) and would appreciate a setting to control the cursor blinking timeout.

I agree, if we could have an option to change this, or completely disable it, it would be appreciated.

I very much want an option to disable the timeout as well. The cursor suddenly stopping its animation is  irritating because it makes me think that the vscode window has lost focus.

I came across this issue because of opposite behaviour: I expect "blink" to stop blinking after a certain while to preserve CPU usage.

Any updates on this guys?

It is very annoying, that the cursor is not blinking in VSCode after 10 sec!!

Not sure why this is marked as out-of-scope: this is clearly part of VS Code's functionality (seeing as it was originally implemented as an unlimited animation), there are people who would like the feature (both ways--always on/off), and there is no other way to do it with extensions.

dear lord how will iever live without this feature? its visual c++ blues all over again! :(


Cut v1.11.2-up.1 Release on March 9, 2023

This issue can be closed when we have completed the following steps (in order).
Please ensure all artifacts (PRs, workflow runs, Tweets, etc) are linked from
this issue for posterity. Assuming vX.Y.Z-up.K is being cut, after upstream
crossplane/crossplane vX.Y.Z has been released
according to the declared schedule, you should have:

[x] Synced the release-vX.Y release branch in upbound/crossplane, with upstream crossplane/crossplane release branch, up to the vX.Y.Z tag, adding any required change specific to the fork, see here for more details.
[x] Cut upbound/crossplane vX.Y.Z-up.K tag from the release-X.Y branch by:

[x] Running the Tag workflow on the release-vX.Y branch with the proper release version, vX.Y.Z-up.K. Message suggested but not required: Release vX.Y.Z-up.K.
[x] Running the CI workflow on the release-vX.Y branch to build and publish the latest tagged artifacts.
[x] You should now be able to run: docker pull upbound/crossplane:vX.Y.Z-up.K

[x] Created and merged a PR to the main branch of upbound/universal-crossplane with the following changes, taking care to label it as backport release-X.Y:

[x] Update any reference to the old latest release to vX.Y.Z-up.K, such as CROSSPLANE_TAG and CROSSPLANE_COMMIT in the Makefile.
[x] Run make helm.prepare to import any change to the templates in the upstream Helm chart.
[x] Manually diff and sync upstream's and uxp's values.yaml.tmpl as needed, taking care to change any required templating reference, e.g. %%CROSSPLANE_TAG%% instead of %%VERSION%%.
[x] Run make olm.build to generate the [OLM] bundle.

[x] Cut UXP vX.Y.Z-up.K release from the release-X.Y branch by:

[x] Running the Tag workflow on the release-vX.Y branch with the proper release version, vX.Y.Z-up.K. Message suggested but not required: Release vX.Y.Z-up.K.
[x] Running the CI workflow on the release-vX.Y branch to build and publish the latest tagged artifacts.

[x] Run the Promote workflow to promote vX.Y.Z-up.K to stable, it should contain universal-crossplane-X.Y.Z-up.K.tgz. Verify everything is correctly working by running up uxp install against an empty Kubernetes cluster, e.g. kind create cluster, which should result in an healthy UXP installation with expected image versions.
[x] Created and published well authored release notes for UXP vX.Y.Z-up.K. See the previous release for an example, these should at least:

[x] enumerate relevant updates that were merged in u/xp and u/uxp.
[x] mention the xp/xp version it refers to.
[x] list new contributors to u/uxp.
[x] have the links to the full changelog of u/xp and u/uxp.

[x] Ensured that users have been notified of the release on all communitcation channels:

[x] Slack: crossposting on Crossplane's Slack workspace channels #announcements, #upbound and #squad-crossplane on Upbound's Slack.
[x] Twitter: ask #marketing on Upbound's Slack to do so.

Released!


grafana-agent: 0.35.0 -> 0.35.2

Description of changes
https://github.com/grafana/agent/releases/tag/v0.35.1
https://github.com/grafana/agent/blob/v0.35.1/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.0...v0.35.1
https://github.com/grafana/agent/releases/tag/v0.35.2
https://github.com/grafana/agent/blob/v0.35.2/CHANGELOG.md
diff: https://github.com/grafana/agent/compare/v0.35.1...v0.35.2
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 245555 run on aarch64-darwin 1

1 package built:

grafana-agent

here another nixpkgs-review run, because ofborg's aarch64-darwin build queue is still on the rise at currently ~1700 queued builds:
Result of nixpkgs-review pr 245555 run on aarch64-darwin 1

1 package built:

grafana-agent


Not Fetching Data when specifying field attribute in config.yml

Describe the bug
I successfully Connected meilisync with my MongoDB Atlas Database. If I don't use the "fields" argument in the yaml file, I receive the data, however as soon as I specify the fields, all data is None.
My config.yml:
plugins:
  - meilisync.plugin.Plugin
progress:
  type: file
  path: process.json
source:
  type: mongo
  host: ...
  username:...
  password:...
  database:...
meilisearch:
  api_url: ...
  api_key: ...
  insert_size: 1000
  insert_interval: 10
sync:
  - table: userschemas
    index: userschemas
    full: true
    pk: _id
    fields:
      _id:
      email:
      userName:
      firstName:
      lastName:
      gender:

Example of some dummy Data in Mongo DB:

Logging without Specification:

Logging with Specification:

Expected behavior:
Should Catch the Data given the provided fields
Desktop (please complete the following information):

OS: Mac m1
Python version: 3.11
functime version: 0.1.3
MongoDB Atlas
meilisearch Cloud

I have the same problem.
When leaving fields empty, it syncs successfully.
When specifying fields it seems they are null, leaving the melisearch index empty.
    fields:
      _id: _id
      product_name: product_name

or
    fields:
       _id:
      product_name:

2024-07-02 11:26:24.756 | DEBUG    | meilisync.plugin:pre_event:12 - pre_event: progress=None type=<EventType.create: 'create'> table=None data={'_id': 'None', 'product_name': None}, is_global: False
OS: macos 14.5
Python:  3.12.4
Mongodb: 7.0.12 (via brew)
Meilisearch: 1.8.3 (self-hosted)

As a quick workaround:
In file https://github.com/long2ice/meilisync/blob/dev/meilisync/source/mongo.py#L26
Replace the variable fields with your preferred fields {"field_name":1} e.g.:
cursor = collection.find({}, { "product_name": 1, "code": 1,"brands": 1, "product_quantity": 1, "product_quantity_unit": 1, "nutriscore_grade": 1, "product_name_de": 1, "nova_group": 1, "categories": 1 })
That did work for me.


add more integration tests for the handshake

This PR splits up the handshake tests in two parts: In the existing part, we're measuring the RTT the handshake takes under various conditions. The new parts asserts different outcomes of the handshake, without caring about the RTTs.
There are a bunch of interesting tests for that new part: Version Negotiation under different conditions, and handshake tests (both with gQUIC and with TLS). Once we support client certificates in TLS, they will be added to that part as well.

Codecov Report

Merging #936 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #936   +/-   ##
=======================================
  Coverage   90.74%   90.74%
=======================================
  Files          98       98
  Lines        6537     6537
=======================================
  Hits         5932     5932
  Misses        389      389
  Partials      216      216

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adb59b7...66e4da3. Read the comment docs.


Suppress emails in comments and user record

Describe the bug
When users submit comments, user names with emails are displayed.
To Reproduce
Steps to reproduce the behavior:
Go to term
Add comment
User's name is displayed as an active link to the email address in their profile.
Expected behavior
Email is personal information, and should not be displayed.
First and last name is also personal information.  There should be a warning in the profile section that this is the "public" information for the account holder.
Desktop (please complete the following information):
All
Smartphone (please complete the following information):
All (untested)
Additional context
Add any other context about the problem here.
Please add any other applicable labels and submit

Pushed into production after preliminary signoff from Scott M.


Cannot use Speech when loading bot from url

Version
4.4.2-62022
Describe the bug
When opening a bot in Emulator, speech works as expected (showing the microphone button on a speech bot) when loaded from a .bot file. However, when I load the same bot WITH appid and password via Bot URL, speech is not enabled and the button (usually airplane) does not change to the microphone icon.
To Reproduce
Steps to reproduce the behavior:

Deploy a speech bot (please contact me if you need a temporary URL - I can provide)

First, create a new bot file with the messaging endpoint, appid, and password

Load bot

Note that the Microphone icon is shown in the send button, which is expected on this speech bot.

Next, open the same bot via Bot URL, and still provide the appid and password

Note that the send icon here is the airplane. There is no way to interact with the bot via stt. Clicking on the icon does not enable the microphone.

Expected behavior
When I load a speech bot via URL WITH app id and password, the Emulator should allow speech and display the send button as a microphone (instead of paper airplane)
[bug]

Dupe of #1640

Oops, thanks @tonyanziano


Remove ENTITY_TYPE references

See https://github.com/Senzing/community-roadmap/issues/66

Will not do this.  This repository is for archived Cloudformation Templates.


fix Microsoft download links pointing to care.dlservice

care.dlservice was acting as a frontend, and has been shutdown.
The links should point to download.microsoft.com now.
Note: it doesn't work for Windows 7. #273

ping @joefitzgerald


403 when downloading 5.5.0

5.5.0 is listed as released, but it gives a 403

I think it is fine now.


[bug] Plugin opens new window with graph

Given a vault (Obsidian 1.6.3) with the latest version of the plugin (1.0.3) which was working until recently
When I open a note
Then obsidian opens a new window with a graph view
Instead it should just display the note with the embedded graph.
I think the problem is the code that is opening a new graph leaf and trying to find the window with an ID of 1: (src/main.ts#30)
const mainWindow = obsidianWindows.find((win) => win.id === 1);

I do not fully understand what this method is doing, but I do not think that any of the windows have an ID of 1. Would it make sense to get the lowest ID instead?
const mainWindow = obsidianWindows
  .sort((a, b) => b.id - a.id)
  .first();

If you could explain the intent of this method I could try to put together a patch.
[edit]: Even with this change the graph window opens up (which is disruptive when obsidian is maximized on MacOS).

@madigan I have fixed the use of id. Could you try v1.2.0 to see if it works correctly?


Don't raise if there's no config file in the default location

Use the defaults in that case. Thanks to @excid3 for catching this in #73 🙌

This will be much more beginner friendly. 🎉


Rule proposal: Detect documentation header text which contains 2 consecutive periods

Migrated from https://github.com/StyleCop/StyleCop/issues/96
In our codebase we've often seen documentation header text like this:
/// <summary>Specifies attributes of a widget message..</summary>
Notice that the text ends with two periods instead of one.
Would be great if there was a StyleCop rule to find this type of thing.
Note: The rule should not trigger in the case of 3 consecutive periods (i.e. an ellipsis).
The rule should find any 2 consecutive periods - not just ones at the end of the text. This makes sense since the text often contains multiple sentences, and we want to find any of them which end with an accidental double-period.

I'm generally opposed to adding new rules related to grammar in comments, as they keep causing problems (false positives). My recommendation would be creating a new analyzer package leveraging a full grammar-checking suite, rather than trying to duplicate that functionality through a bunch of individual rules that don't add up to a complete picture.


Certificate Issue when uploading Release in vSphere

When we upload a release to a newly-deployed vSphere director, we see the following:
bash-5.0# bosh upload-release syslog.tgz
Using environment 'xxx.xxx.xxx.xxx' as client 'admin'

######################################################### 100.00% 144.73 MB/s 0s
Task 39

Task 39 | 14:49:28 | Extracting release: Extracting release (00:00:01)
Task 39 | 14:49:29 | Verifying manifest: Verifying manifest (00:00:00)
Task 39 | 14:49:29 | Resolving package dependencies: Resolving package dependencies (00:00:00)
Task 39 | 14:49:29 | Creating new packages: blackbox/315061d6e1128b4bd8825f23204cc7e36a966f0d (00:00:00)
                   L Error: Failed to upload blob, code 1, output: 'Error running app - Putting dav blob b0356db7-4672-4c6a-9d93-603d37717e4e: Put https://xxx.xxx.xxx.xxx:25250/7e/b0356db7-4672-4c6a-9d93-603d37717e4e: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs', error: ''
Task 39 | 14:49:29 | Error: Failed to upload blob, code 1, output: 'Error running app - Putting dav blob b0356db7-4672-4c6a-9d93-603d37717e4e: Put https://xxx.xxx.xxx.xxx:25250/7e/b0356db7-4672-4c6a-9d93-603d37717e4e: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs', error: ''

Task 39 Started  Fri Sep 27 14:49:28 UTC 2019
Task 39 Finished Fri Sep 27 14:49:29 UTC 2019
Task 39 Duration 00:00:01
Task 39 error

Uploading release file:
  Expected task '39' to succeed but state is 'error'

Exit code 1

To Reproduce
Steps to reproduce the behavior (example):

Deploy a bosh director on vSphere
Attempt to upload release

We saw https://github.com/cloudfoundry/bosh/issues/1813, and also attempted to completely clear out our credentials and have them regenerated, to no avail.
We also verified that the cert generated included our IP address, for example:
bosh int creds.yml --path=/mbus_bootstrap_ssl/certificate > test.crt
openssl x509 -noout -text -in test.crt

Expected behavior
In Openstack, this works as desired.
Versions (please complete the following information):

Infrastructure: vSphere
BOSH version bosh-268.2.1-ubuntu-xenial-170.9
bpm-0.12.3-ubuntu-xenial-97.17-20180919-183904-508666998-20180919183910
bosh-vsphere-cpi-release-50
BOSH CLI version version 3.0.1-712bfd7-2018-03-13T23:26:43Z
Stemcell version bosh-stemcell-97.12-vsphere-esxi-ubuntu-xenial-go_agent

Deployment info:
Our manifest generates creds using these definitions:
- name: admin_password
  type: password
- name: blobstore_director_password
  type: password
- name: blobstore_agent_password
  type: password
- name: hm_password
  type: password
- name: mbus_bootstrap_password
  type: password
- name: nats_password
  type: password
- name: postgres_password
  type: password
- name: default_ca
  options:
    common_name: ca
    is_ca: true
  type: certificate
- name: mbus_bootstrap_ssl
  options:
    alternative_names:
    - ((internal_ip))
    ca: default_ca
    common_name: ((internal_ip))
  type: certificate
- name: director_ssl
  options:
    alternative_names:
    - ((internal_ip))
    ca: default_ca
    common_name: ((internal_ip))
  type: certificate
- name: nats_ca
  options:
    common_name: default.nats-ca.bosh-internal
    is_ca: true
  type: certificate
- name: nats_server_tls
  options:
    alternative_names:
    - ((internal_ip))
    ca: nats_ca
    common_name: default.nats.bosh-internal
    extended_key_usage:
    - server_auth
  type: certificate
- name: nats_clients_director_tls
  options:
    ca: nats_ca
    common_name: default.director.bosh-internal
    extended_key_usage:
    - client_auth
  type: certificate
- name: nats_clients_health_monitor_tls
  options:
    ca: nats_ca
    common_name: default.hm.bosh-internal
    extended_key_usage:
    - client_auth
  type: certificate
- name: blobstore_ca
  options:
    common_name: default.blobstore-ca.bosh-internal
    is_ca: true
  type: certificate
- name: blobstore_server_tls
  options:
    ca: blobstore_ca
    common_name: ((internal_ip))
  type: certificate

Additional context
To solve this, we added the following to every certificate definition:
    alternative_names:
    - ((internal_ip))

Hello @keithkroeger
How are you deploying the director as per the below?

Deploy a bosh director on vSphere

Typically the director manifest needs to be updated if a new release of bosh or some stemcells require updates.
Given that your director version is quite old at 268.2.1 and using newer stemcells, this could cause issues. In this case, golang's certificate/x509 package is throwing an error when it expects SANs to include IP.
The addition in your manifest is correct and would be required. If you're crafting your own bosh manifest, then you'll need to manually stay up to date with the requirements of the release. bosh-deployment is a good way to stay up to date as well.
Closing this issue as it's expected that the manifest additions are made as per the issue requestor's changes.
Thanks,
Rebecca, BOSH


[FEATURE REQ] Support for batch-consumers in Azure Spring Cloud Event Hub binders

According to Spring Cloud Stream's documentation, a binder implementation may support batch consumers. Currently Azure Spring Cloud Event Hubs binder does not support it.
Kafka binder reference

Referring to Kafka binder's batch-consumer feature, it supports configuration to specify the batch-message polling size, measurement covers 3 types: message number/ bytes/time, and its configuration is as max.poll.records, fetch.min.bytes, fetch.max.wait.ms.

Kafka binder supports acking batched messages by batch. Ref: https://cloud.spring.io/spring-cloud-stream-binder-kafka/spring-cloud-stream-binder-kafka.html#kafka-consumer-properties

Azure Event Hubs batch consuming reference

azure-messaging-eventhubs provides the batch-consuming API by specifying event numbers in a batch and time duration for a batch
sample of using azure-messaging-eventhubs to consume in batches

Event Hubs binder batch-consuming feature design
Configuration options

A switch to enable batch mode: spring.cloud.azure.eventhub.bindings..consumer.batch-mode=true
Two parameters to specify the batch size:
spring.cloud.azure.eventhub.bindings..consumer.max-batch-size: The maximum number of events that will be in the batch list when consumer callback is invoked.
spring.cloud.azure.eventhub.bindings..consumer.max-wait-time: The max time duration to wait to receive a batch of events upto the max batch size (optional)
Two checkpointing mode supporting batch-consuming:
spring.cloud.azure.eventhub.bindings..consumer.checkpoint-mode=BATCH / MANUAL
BATCH: auto checkpoint the whole batch of events once it is received by the binder
MANUAL: user manually checkpoints messages when they handle the whole batch of events

Format of received message batches
Consumer function will accept a Spring Message which contains all events within the batch.

Message header

partition id
checkpointer
aggregated eventhubs headers with values as a list

Message payload

A Spring message with the payload as a list of EventData payload.

Supported scenerios @Bean
 public Consumer<List<String>> consume() {
     return list -> list.forEach(event -> LOGGER.info("New event received: '{}'",event));
 }
 @Bean
 public Consumer<Message<List<String>>> consume() {
     return message -> {
         for (int i = 0; i < message.getPayload().size(); i++) {
             LOGGER.info("New message received: '{}', partition key: {}, sequence number: {}, offset: {}, enqueued time: {}",
                 message.getPayload().get(i),
                 ((List<Object>) message.getHeaders().get(EventHubHeaders.PARTITION_KEY)).get(i),
                 ((List<Object>) message.getHeaders().get(EventHubHeaders.SEQUENCE_NUMBER)).get(i),
                 ((List<Object>) message.getHeaders().get(EventHubHeaders.OFFSET)).get(i),
                 ((List<Object>) message.getHeaders().get(EventHubHeaders.ENQUEUED_TIME)).get(i));
         }

         Checkpointer checkpointer = (Checkpointer) message.getHeaders().get(CHECKPOINTER);
         checkpointer.success()
                     .doOnSuccess(success -> LOGGER.info("Message '{}' successfully checkpointed", message.getPayload()))
                     .doOnError(error -> LOGGER.error("Exception found", error))
                     .subscribe();
     };
 }
 @Bean
 public Function<List<Person>, Person> findFirstPerson() {
     return persons -> persons.get(0);
 }
 @Bean
 public Function<Message<List<Person>>, Person> findFirstPerson() {
     return persons -> persons.getPayload().get(0);
 }

Implemention details

A class of BatchConfig to describe the batch configuration options which is stored in EventHubOperation.
A class of BatchCheckpointManager to handle auto checkpointing in batches.
Update EventHubMessageChannelBinder to collect batch configurations and config EventHubOperation.
Update EventHubProcessor by adding an API of onMessages to register batch operations.
Update DefaultEventHubClientFactory to register batch handler when batch mode is enabled.

Reopen this for we have to implement it on branch 4.0

merged


CRASH

the launcher will crash after I used this patch
sry about my broken english

@kreisler1026
Please check followings
When did the game crash?

After pressing the Play button on the launcher
Loading screen
During the game
When you save the game
When did the game crash?

Windows version

10
other (please tell me the your version)

Platform version

steam
other (sorry. This patch is not supported other platform)

Game version

<IP_ADDRESS>
other (please tell me the your version)

Using the installer ?
Installer is here

yes
no

What language mods have you used?

Japanese
Chinese
Korean
other

Do you have anti-virus software installed?

yes

Windows Defender
other(please tell me the using software name)

no

Launcher will crash when I just open it

Nvm,I solve the problem
I'm a dumb,all I need to do is just delete all my old save file


Use main output for cold keys.

Using a side output causes sub-optimal dataflow optimizations in some cases.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


UX/UI Enhancement - Projected Timeline

From the compiled external user feedback:

Users would like to get estimates for how long they can expect their applications to get reviewed

Suha's recommentation: For design, once the user submits an application, we can also give them an estimate of when to expect a response. Collaborate with BA for estimates. If estimates are crossed, then user can email the BA, confirm if they will be okay with that

As discussed with @hannavovk, this could be a future ux enhancement in Registration Part II post MVP.
AC:

[ ] To be added

Dynamic projected timeline may be a high investment feature that doesn't offer equivalent value.


[Iron] - Admittance controller regulary crashes with segfault on activation / configuration

Describe the bug
In order to change the kinematic tip and there for the admittant frame I regulary: deactivate  -> set new params -> reconfigure -> activate the controller. Sometimes the controller crashes with a segfault.
See https://github.com/ros-controls/ros2_controllers/issues/1175 for the why I need to reconfigure the controller
Output:

[ros2_control_node-14] [INFO] [1719385013.551660859] [controller_manager]: Configuring controller 'admittance_controller_top'
[ros2_control_node-14] [INFO] [1719385013.551826348] [admittance_controller_top]: No specific joint names are used for command interfaces. Using 'joints' parameter.
[ros2_control_node-14] [INFO] [1719385013.551938667] [admittance_controller_top]: state int types are: position
[ros2_control_node-14]
[ros2_control_node-14] [INFO] [1719385013.552066065] [admittance_controller_top]: command int types are: position
[ros2_control_node-14]
[ros2_control_node-14] [INFO] [1719385013.552158598] [admittance_controller_top]: chainable int types are: position
[ros2_control_node-14]
[ros2_control_node-14] [INFO] [1719385013.552234329] [admittance_controller_top]: chainable int types are: velocity
[ros2_control_node-14]
[ros2_control_node-14] [INFO] [1719385013.552316803] [admittance_controller_top]: Command interfaces are [position] and and state interfaces are [position].
[ros2_control_node-14] Stack trace (most recent call last) in thread 3073738:
[ros2_control_node-14] #19   Object "", at 0xffffffffffffffff, in
[ros2_control_node-14] #18   Source "../sysdeps/unix/sysv/linux/x86_64/clone3.S", line 81, in clone3 [0x72f6ae92684f]
[ros2_control_node-14] #17   Source "./nptl/pthread_create.c", line 442, in start_thread [0x72f6ae894ac2]
[ros2_control_node-14] #16   Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x72f6aecdc252, in
[ros2_control_node-14] #15   Object "/install/rclcpp/lib/librclcpp.so", at 0x72f6af19f501, in rclcpp::executors::MultiThreadedExecutor::run(unsigned long)
[ros2_control_node-14] #14   Object "/install/rclcpp/lib/librclcpp.so", at 0x72f6af189253, in rclcpp::Executor::execute_any_executable(rclcpp::AnyExecutable&)
[ros2_control_node-14] #13   Object "/install/rclcpp/lib/librclcpp.so", at 0x72f6af187fcc, in rclcpp::Executor::execute_service(std::shared_ptrrclcpp::ServiceBase)
[ros2_control_node-14] #12   Object "/install/rclcpp/lib/librclcpp.so", at 0x72f6af185e23, in void take_and_do_error_handling<rclcpp::Executor::execute_service(std::shared_ptrrclcpp::ServiceBase)::{lambda()#1}, rclcpp::Executor::execute_service(std::shared_ptrrclcpp::ServiceBase)::{lambda()#2}>(char const*, char const*, rclcpp::Executor::execute_service(std::shared_ptrrclcpp::ServiceBase)::{lambda()#1}, rclcpp::Executor::execute_service(std::shared_ptrrclcpp::ServiceBase)::{lambda()#2}) [clone .constprop.0]
[ros2_control_node-14] #11   Object "/opt/ros/iron/lib/libcontroller_manager.so", at 0x72f6af4679ba, in
[ros2_control_node-14] #10   Object "/opt/ros/iron/lib/libcontroller_manager.so", at 0x72f6af43d40b, in std::Function_handler<void (std::shared_ptr<controller_manager_msgs::srv::ConfigureController_Request<std::allocator > >, std::shared_ptr<controller_manager_msgs::srv::ConfigureController_Response<std::allocator > >), std::Bind<void (controller_manager::ControllerManager::(controller_manager::ControllerManager, std::Placeholder<1>, std::Placeholder<2>))(std::shared_ptr<controller_manager_msgs::srv::ConfigureController_Request<std::allocator > >, std::shared_ptr<controller_manager_msgs::srv::ConfigureController_Response<std::allocator > >)> >::M_invoke(std::Any_data const&, std::shared_ptr<controller_manager_msgs::srv::ConfigureController_Request<std::allocator > >&&, std::shared_ptr<controller_manager_msgs::srv::ConfigureController_Response<std::allocator > >&&)
[ros2_control_node-14] #9    Object "/opt/ros/iron/lib/libcontroller_manager.so", at 0x72f6af411d96, in controller_manager::ControllerManager::configure_controller_service_cb(std::shared_ptr<controller_manager_msgs::srv::ConfigureController_Request<std::allocator > >, std::shared_ptr<controller_manager_msgs::srv::ConfigureController_Response<std::allocator > >)
[ros2_control_node-14] #8    Object "/opt/ros/iron/lib/libcontroller_manager.so", at 0x72f6af405e2f, in controller_manager::ControllerManager::configure_controller(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)
[ros2_control_node-14] #7    Object "/opt/ros/iron/lib/libcontroller_interface.so", at 0x72f6aef61165, in controller_interface::ControllerInterfaceBase::configure()
[ros2_control_node-14] #6    Object "/install/rclcpp_lifecycle/lib/librclcpp_lifecycle.so", at 0x72f6aebe27d9, in rclcpp_lifecycle::LifecycleNode::LifecycleNodeInterfaceImpl::trigger_transition(unsigned char)
[ros2_control_node-14] #5    Object "/install/rclcpp_lifecycle/lib/librclcpp_lifecycle.so", at 0x72f6aebe1cf1, in rclcpp_lifecycle::LifecycleNode::LifecycleNodeInterfaceImpl::change_state(unsigned char, rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn&)
[ros2_control_node-14] #4    Object "/install/rclcpp_lifecycle/lib/librclcpp_lifecycle.so", at 0x72f6aebe18f6, in rclcpp_lifecycle::LifecycleNode::LifecycleNodeInterfaceImpl::execute_callback(unsigned int, rclcpp_lifecycle::State const&) const
[ros2_control_node-14] #3    Object "/opt/ros/iron/lib/libadmittance_controller.so", at 0x72f6ac0c54dd, in admittance_controller::AdmittanceController::on_configure(rclcpp_lifecycle::State const&)
[ros2_control_node-14] #2    Object "/opt/ros/iron/lib/libadmittance_controller.so", at 0x72f6ac0b62a9, in admittance_controller::AdmittanceRule::configure(std::shared_ptr<rclcpp_lifecycle::LifecycleNode> const&, unsigned long)
[ros2_control_node-14] #1    Object "/opt/ros/iron/lib/libkinematics_interface_kdl.so", at 0x72f6ac044a49, in
[ros2_control_node-14] #0    Object "/opt/ros/iron/lib/libkinematics_interface_kdl.so", at 0x72f6ac03a0bf, in
[ros2_control_node-14] Segmentation fault (Address not mapped to object [0x72f6800fc3c8])

To Reproduce
Not sure. I have a rather complex setup. But basically:

Setup admittance controller with chained jtc
Run the deactivate  -> set new params -> reconfigure -> activate  steps. (I adapt the stiffness + the kinematic tip frame + the admittance frame)
Controller should crash in some cases

Expected behavior
Controller should not crash
Environment (please complete the following information):

OS:  Ubuntu 22.04
Version Iron - binary install
But RCLCPP with race condition fix: https://github.com/cellumation/rclcpp/tree/action_iron_backport (Issue happens also with default rclcpp)

EDIT: This behavior also occurs with the normal JTC instead of the scaled JTC

It looks like this issue is related to reconfiguring the controller and does not occur always but only in like 2-3 of 10 tries.


Add mysql db

Moving the backend for the stats page to a MySQL database (as proposed in #570).
Tables the database should have:

[x] github org members (fields are username, github_id, github_url and date added to database (I can't find the option to get the date they were added to the github org)
[ ] github commits (including merge) (commit sha, author (have to filter specifically for merges), commit date, lines added, lines removed)
[ ] Twitter followers
[ ] Slack users
[ ] ...anything else in the /api/cache folder? If it's JSON files anyway..

Can add db logins to this file: https://github.com/nf-core/nf-co.re/blob/master/config_example.ini

Replaced by #929.


Update fast-route dependency

Update dependency on nikic/fast-route from "0.*" to "^0.7" to resolve conflict with "league/route".

@oscarotero Could you merge this one? This broken dependency is breaking all builds currently, as mentioned in #46

+1

Merged!. Thank you. I'm curious about the reason why league/route does not use the latest version of fast-route. The version 2.0 has been released yesterday and it still using the 0.7 version.

@oscarotero let's find out together!
https://github.com/thephpleague/route/pull/135
seems that league's route works with lots of fast-route versions including the most recent tags. i added highest and lowest dependency version builds. looks like the package has pretty good coverage, so we'll see what they say : )

@oscarotero my change to thephpleague/route was accepted. we might be able to loosen the dependency range now.


How to rename Markdown & WYSIWYG tabs?

Summary
Looking to see if it is possible to change the markdown & wysiwyg tab text?
Screenshots

@callumbuttery
This tutorial(2.x) will be helpful to you~!


Update sbt-wartremover, wartremover to 2.4.19

Updates

org.wartremover:sbt-wartremover
org.wartremover:wartremover

from 2.4.5 to 2.4.19.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.wartremover" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #139.


Add azure function app to stg simplereport env

Description
We want to use SR stg env as a testing env for external PHD users.
Proposed solution

wipe and re-seed staging environment database
create the azure function app plus the associated storage queues to send simple report test events generated by the backend to the RS staging environment
configure the st backend to send results to the storage queue
create a metabase service for stg env
configure the metabase to view stg database
start in disabled mode until this https://github.com/CDCgov/prime-simplereport/issues/5199 is done.

Additional context
more notes in the Feb 2nd dev discussion
this does exist in other environments, can call it as a module in staging env

After chatting with RS, it turns out they only forward results to PHD staging envs from their prod instance when you add the processing mode code = T, and they dont forward anything from staging to STLTs, rendering this ticket unneeded in the time being.

after chatting with RS and SR, we determined that we can have SR stg attached processing mode code = T to all its exported events (bulk/manual) and connect it to RS prod

I started a WIP branch for this work.
This branch should have what we need to provision Metabase, the function apps, and queues. It does not wipe the database or configure Metabase.

should we re-enable the function app related alerts as part of this work?
Boban's PR #5370 just reminded me we have them disabled for stg


Specified query columns for a test query.

After DRILL-7357, in INFORMATION_SCHEMA.COLUMNS table new columns were added. Specified query columns in select clause instead of star for a test query to avoid similar fixes in future.

@Agirish could you please review the PR?

Should be merged after Drill PR 1860


How do we integrate OpenTest with Jenkins?

How do we integrate OpenTest with Jenkins?

See here: https://getopentest.org/tutorials/real-life-web-testing.html#part-4-jenkins-integration


fixed pathlib tests on windows

as requested here: https://github.com/pydata/pandas/issues/11033#issuecomment-148924778
i can’t test on windows unfortunately.

use this
In [6]: os.path.join('',*['foo','bar'])
Out[6]: 'foo/bar'

much easier: os.path.join('foo', 'bar')

@flying-sheep right!
ok ping on green.

passes on windows

ping!

thanks!


Disallow all console methods

PR checklist

[ ] Addresses an existing issue
[x] New feature, bugfix, or enhancement

[ ] Includes tests

[ ] Documentation update

Overview of change:
This is an alternative solution for #889, that we prefer, but also more restrictive, so opening both and I'll let you pick.
Just like #889, I can add tests and docs as needed, should you want to merge this.

(see comments in #889 - thanks for sending)


Handle invalid target when creating releases using API

A 500 status code was thrown when passing a non-existent target to the create release API. This snapshot handles this error and instead throws a 409 status code.
Discovered while working on #31840.

Before:

After:

409 Conflict? Wouldn't 400 Bad Request or 404 be better?

Did not read the Mozilla docs for this closely (they explain that is used for "implementation specific purposes"). I think either a 404 or 422 makes sense here; I opted for 404.


Mangasee not working

Source information
Mangasee 1.4.36
Source language
English
Steps to reproduce

Open any manga from Mangasee source
After opening it crashes saying "HTTP Error 502."

Expected behavior
Chapters would open normally.
Actual behavior
Crashes showing "HTTP Error 502".
Mihon/Tachiyomi version
0.16.5 (Mihon)
Android version
Android 14
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

5xx errors are server side, nothing we can do about it. also they are back now


Session Restore Does Not Restore Page

Latest nightly does not restore the page correctly and all tabs revert to the first page on the next launch. The tabs.json correctly holds the page no but it is ignored.

It started working after a crash!


add faq, test=release/1.5

add some faq.

 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.


Transfer labels to another repo

This issue was moved to ArcGIS/visibility-addin-dotnet#49

This issue was moved to ArcGIS/military-tools-for-arcgis#5

This issue was moved to ArcGIS/air-c2-cop#1

This issue was moved to Esri/military-symbol-editor-addin-wpf#39


Multiple pages with the same form

Hi!
It has happened to me that I have in multiple pages the same form, so I have to create the form on every page where I want it to appear.
My question is, is there any way to create a single form and reference it on multiple pages once?
I guess that the solution is create another View (duplicating FormEditorSync.cshtml) and change the var form to obtain it by a NodeId, but I can't make it work:
var form = Model.Content.GetPropertyValue<FormModel>("form");
Thanks!

Hi @ragivi,
You can do this quite easily - no need to create the same form everywhere :)
It's all documented here.

Great!
It was just what I wanted.
Thanks!

@ragivi glad I could help :)


#764: Fix IDEasy for CMD by adding Git related entries into PATH

Fixes: #764
Tested using:

Windows 10
CMD, PowerShell
Git-Version: 2.47.1.windows.1
ide create <project>, ide -f intellij, ide intellij

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.103%

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
6627

Relevant Lines:
9529

💛  - Coveralls

https://github.com/devonfw/IDEasy/blob/d36317e3436615b18d0be121ee96e5201b896677/cli/src/main/package/bin/ide.bat#L27-L29
Is the condition right here?

https://github.com/devonfw/IDEasy/blob/d36317e3436615b18d0be121ee96e5201b896677/cli/src/main/package/bin/ide.bat#L27-L29
Is the condition right here?

Very good point. We actually want the exit code of ideasy env command but we are directly processing the output of it and invoking call set %%i in the loop. Maybe the ERRORLEVEL will be overridden by that command inside the loop.
Coding CMD is actually even 10 dimensions worse to coding bash what can already be some kind of nightmare itself.
But solving this problem in bash would be very easy and doing the same in CMD could be tricky - at least I have no clue how to do it.
I just did a simple test:
C:\Users\hohwille>ide

C:\Users\hohwille>d:

D:\>cd projects

D:\projects>cd IDEasy

D:\projects\IDEasy>ide

D:\projects\IDEasy>

So it seems this condition is never met and the message is never printed out at all.
We need to create a separate bug issue for this.


amino3to1 in protein-protein complexes

Some pdb files consist of different protein chains with different amino acid sequence, for example 5mtn. It would be great if amino3to1 took this into account and returned something like dictionary of chain_ids and corresponding series of 1-letter codes.
At the moment, amino3to1 for 5mtn returns
SLEPEPWFFKNLSRKDAERQLLAPGNTHGSFLIRESESTAGSFSLSVRDFDQGEVVKHYKIRNLDNGGFYISPRITFPGLHELVRHYTSVSSST
although the residues in the pdb file are
>5mtn.pdb chain A
 SLEPEPWFFK NLSRKDAERQ LLAPGNTHGS FLIRESESTA GSFSLSVRDF DQGEVVKHYK
 IRNLDNGGFY ISPRITFPGL HELVRHYT

>5mtn.pdb chain B
 SVSSVPTKLE VVAATPTSLL ISWDAPAVTV VYYLITYGET GSPWPGGQAF EVPGSKSTAT
 ISGLKPGVDY TITVYAHRSS YGYSENPISI NYRT

Thanks for pointing this out @karlafej !
I haven't worked with multi-chain proteins in recent projects and completely forgot to include them in the test cases, which should definitely be addressed like you said. I just see that there's another problem in the current implementation since it assumes unique residue numbers, which is a bad assumption for multi-domain cases ... I will fix that :).
About the returned values from the amino3to1 function. I think a dictionary could be a good idea, like you suggested, but I would favor returning a list of string sequences to preserve the order in which the chains appear in the PDB flle.
For example, for 5mtn is would return
['SLEPEPWFFK...', 'SVSSVPTKLE...']

and the chain ideas could be obtained via
pdb.df['ATOM']['chain_id'].unique()

if desired. For instance, one could iterate
for sequence, chain_id in zip(amino3to1_results, pdb.df['ATOM']['chain_id'].unique()):
    # do something

Alternatively, amino3to1 could return a list of tuples
[('A', 'SLEPEPWFFK...'), ('B', 'SVSSVPTKLE...')]

Any thoughts?

I just updated the amino3to1 method (in #22 ) to return a DataFrame containing a column for the chain id. I think that this would be the most universally useful way. Let me know if you have any feedback or suggestions on this.
(I added some usage examples here)

Thank you!


PHOENIX-7329 Change TTL column type to VARCHAR in syscat

This PR changes the TTL column data type in syscat to VARCHAR. The in-memory representation in PTable is still integer. That will change in a subsequent PR with PHOENIX-7170

I ran the following ITs manually:

TableTTLIT
TTLAsPhoenixTTLIT
ViewTTLNotEnabledIT
MoveTTLDuringUpgradeIT

Only failure is known flapper MutableIndexFailureIT.testIndexWriteFailure

@tkhurana in MetaProperties we are storing ttl as Integer, When conditional TTL will come we are allowed to change condition with Alter!? I think we should move those to String as well. https://github.com/apache/phoenix/blob/6425350bab63c0c52624e48e0f3836fc5a025d56/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java#L5771

@lokiore This PR is not changing the in memory representation. In MetadataClient, currently we take the integer value and then store it as a varchar in syscat. What I am thinking is that ALTER TABLE SET TTL= where  can be integer or val can be a ttl expression string. I am working on a new way to represent TTL in memory something that can represent both integers and expressions. But that will a subsequent PR which changes how TTL is represented in memory. In syscat it will still be a varchar.

Similarly in PTable, ttl is also an integer for now. We are just converting it to/from the varchar value in syscat.


[Bug]: (OOM) Find two places that cause a significant increase in GPU memory usage (probably lead to memory leak)

Your current environment
Collecting environment information...
PyTorch version: 2.3.1+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Ubuntu 20.04.6 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Clang version: Could not collect
CMake version: version 3.30.1
Libc version: glibc-2.31
Python version: 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:36:13) [GCC 12.3.0] (64-bit runtime)
Python platform: Linux-5.4.0-190-generic-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 12.4.99
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA L40
GPU 1: NVIDIA L40
GPU 2: NVIDIA L40
GPU 3: NVIDIA L40
GPU 4: NVIDIA L40
Nvidia driver version: 550.54.14
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.9.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_adv.so.9.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_cnn.so.9.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so.9.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_engines_runtime_compiled.so.9.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_graph.so.9.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_heuristic.so.9.2.1
/usr/lib/x86_64-linux-gnu/libcudnn_ops.so.9.2.1
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudnn.so.8
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudnn_adv_train.so.8
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libcudnn_ops_train.so.8
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Byte Order:                         Little Endian
Address sizes:                      48 bits physical, 48 bits virtual
CPU(s):                             112
On-line CPU(s) list:                0-111
Thread(s) per core:                 2
Core(s) per socket:                 28
Socket(s):                          2
NUMA node(s):                       2
Vendor ID:                          AuthenticAMD
CPU family:                         25
Model:                              1
Model name:                         AMD EPYC 7453 28-Core Processor
Stepping:                           1
Frequency boost:                    enabled
CPU MHz:                            1496.936
CPU max MHz:                        2750.0000
CPU min MHz:                        1500.0000
BogoMIPS:                           5489.55
Virtualization:                     AMD-V
L1d cache:                          1.8 MiB
L1i cache:                          1.8 MiB
L2 cache:                           28 MiB
L3 cache:                           128 MiB
NUMA node0 CPU(s):                  0-27,56-83
NUMA node1 CPU(s):                  28-55,84-111
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload vgif umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca
Versions of relevant libraries:
[pip3] flashinfer==0.1.1+cu121torch2.3
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.1.105
[pip3] nvidia-cuda-nvrtc-cu12==12.1.105
[pip3] nvidia-cuda-runtime-cu12==12.1.105
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.555.43
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] nvidia-nvjitlink-cu12==12.5.82
[pip3] nvidia-nvtx-cu12==12.1.105
[pip3] pyzmq==26.0.3
[pip3] torch==2.3.1
[pip3] torchaudio==2.3.1
[pip3] torchvision==0.18.1
[pip3] transformers==4.43.3
[pip3] triton==2.3.1
[pip3] zmq==0.0.0
[conda] flashinfer                0.1.1+cu121torch2.3          pypi_0    pypi
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-cublas-cu12        <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cuda-cupti-cu12    12.1.105                 pypi_0    pypi
[conda] nvidia-cuda-nvrtc-cu12    12.1.105                 pypi_0    pypi
[conda] nvidia-cuda-runtime-cu12  12.1.105                 pypi_0    pypi
[conda] nvidia-cudnn-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cufft-cu12         <IP_ADDRESS>                pypi_0    pypi
[conda] nvidia-curand-cu12        <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusolver-cu12      <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusparse-cu12      <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-ml-py              12.555.43                pypi_0    pypi
[conda] nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
[conda] nvidia-nvjitlink-cu12     12.5.82                  pypi_0    pypi
[conda] nvidia-nvtx-cu12          12.1.105                 pypi_0    pypi
[conda] pyzmq                     26.0.3          py311h08a0b41_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
[conda] torch                     2.3.1                    pypi_0    pypi
[conda] torchaudio                2.3.1                    pypi_0    pypi
[conda] torchvision               0.18.1                   pypi_0    pypi
[conda] transformers              4.43.3                   pypi_0    pypi
[conda] triton                    2.3.1                    pypi_0    pypi
[conda] zmq                       0.0.0                    pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.5.3.post1@3eeb148f467e3619e8890b1a5ebe86a173f91bc9
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    GPU2    GPU3    GPU4    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      SYS     SYS     SYS     SYS     0-27,56-83      0               N/A
GPU1    SYS      X      SYS     SYS     SYS     0-27,56-83      0               N/A
GPU2    SYS     SYS      X      SYS     SYS     0-27,56-83      0               N/A
GPU3    SYS     SYS     SYS      X      SYS     28-55,84-111    1               N/A
GPU4    SYS     SYS     SYS     SYS      X      28-55,84-111    1               N/A
Legend:
X    = Self
SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX  = Connection traversing at most a single PCIe bridge
NV#  = Connection traversing a bonded set of # NVLinks
🐛 Describe the bug
First in vllm/model_executor/layers/sampler.py:
class Sampler():
    ...
    def forward(...):
        ...
        probs = torch.softmax(logits, dim=-1, dtype=torch.float)
        logprobs = torch.log_softmax(logits, dim=-1, dtype=torch.float)
        ...

Next also in vllm/model_executor/layers/sampler.py:
def _get_ranks(...):
    ...
    return result.sum(1).add(1) # The memory increase is caused by Tensor.sum()

Both of the two operations will allocate a large amount of GPU memory (eg. Qwen2-7b for about 4GB in one inference), and some of them will not be released. It leads to OOM when I run Qwen2-7b in a single 6000Ada GPU.
llm = LLM(
        'Qwen/Qwen2-7B',
        gpu_memory_utilization=0.8,
        tensor_parallel_size=1,
        max_model_len=2048,
    )
sampling_params = SamplingParams(
        temperature=0,
        prompt_logprobs=0,
        max_tokens=1
    )

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

thanks for the finding!
first I'd like to recommend you upgrade the vllm version. the current main tries to use some inplace operations to reduce the memory cost:
https://github.com/vllm-project/vllm/blob/2ee45281a5012072f41573eb09e1f82985adc761/vllm/model_executor/layers/sampler.py#L1000
but still, this is indeed inefficient. contributions are welcome to optimize it!

hello, I use the latest version 0.6.0, and find that with prompt_logprobs=0, 7B will CUDA OOM even on A100 80G with bs=16. Is there solution for this?

hello, I use the latest version 0.6.0, and find that with prompt_logprobs=0, 7B will CUDA OOM even on A100 80G with a single long context. Is there any solution for this?

I recommend setting the gpu_memory_utilization to a smaller value. But if it cannot be reduced anymore and OOM still persists, I suggest you to make some adjustment in vllm/entrypoints/llm.py.LLM._run_engine:
while self.llm_engine.has_unfinished_requests():

    torch.cuda.empty_cache() # add this row

    step_outputs = self.llm_engine.step()
    for output in step_outputs:
        if output.finished:
            outputs.append(output)
            if use_tqdm:
                if isinstance(output, RequestOutput):
                    # Calculate tokens only for RequestOutput
                    total_in_toks += len(output.prompt_token_ids)
                    in_spd = total_in_toks / pbar.format_dict["elapsed"]
                    total_out_toks += sum(
                        len(stp.token_ids) for stp in output.outputs)
                    out_spd = (total_out_toks /
                                pbar.format_dict["elapsed"])
                    pbar.postfix = (
                        f"est. speed input: {in_spd:.2f} toks/s, "
                        f"output: {out_spd:.2f} toks/s")
                pbar.update(1)

Note that this can fix the memory leak problem, but it will make the LLM about 20%~30% slower.

7B will CUDA OOM even on A100 80G with a single long context

@merlinarer reducing gpu_memory_utilization might help.

Just commenting to say that I'm also facing this issue with prompt_logprobs=0 causing a 3b model to OOM on an A100. I'm using vllm==0.6.1

I'm using version 0.5B of Qwen2 and the context length is about 1ktoken. I encountered a very noticeable memory surge problem, even though I set the parameters very conservatively.
        engine_args = EngineArgs(
            model=self.model,
            max_num_seqs=8,
            gpu_memory_utilization=0.1
        )
    samping_params = SamplingParams(
        temperature=0,
        max_tokens=1,
        top_k=1,
        prompt_logprobs=0,
        output_kind=RequestOutputKind.FINAL_ONLY
    )

Even so, the video memory still surges at the beginning of inference, taking up about 70GB. This is unreasonable both for the number of parameters of the model and the length of the context.
I'm using A100 80G. Is there any way to provide more reports for troubleshooting?

I'm using A100 80G. Is there any way to provide more reports for troubleshooting?

Just enter into the source code and trace the GPU memory usage. You can use GPUtil to print GPU memory info

I'm using A100 80G. Is there any way to provide more reports for troubleshooting?

Just enter into the source code and trace the GPU memory usage. You can use GPUtil to print GPU memory info

我这边已经可以运行了，手动安装的包，pip的时候加上--no-deps


Use special report suffix for internal ci and add script for cloud-to-prod

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Please double check that Jenkins jobs for interop tests (PR and master) still display the reports with this change. You might need to change the pattern for "JUnit plugin".
E.g. https://grpc-testing.appspot.com/job/gRPC_interop_pull_requests/configure uses pattern "**/report.xml" which needs to be updated (see Basic tests jobs for reference).

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Base Tests Mac failures: #11223
Basic Tests Windows (internal CI): #11482

Bazel Full Build & Tests failures: ignore for now.


[New Port Request] lunasvg

Library name: lunasvg
Library description: a standalone c++ library to create, animate, manipulate and render SVG files.
Source repository URL: https://github.com/sammycage/lunasvg

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.

🆘


Add random sorting

References:

https://github.com/xataio/xata/pull/2054

Hi @SferaDev
I've created a docs PR to add the new sort order to the Typescript SDK docs: https://github.com/xataio/docs/pull/46.


Implement the join code lobby feature

Due Date
Jan 8th
Priority
Low
Description
Make it so user can enter a join code to join a lobby
Associated Requirement
JG1

Completed in commit id: 65a98bcb586180fd8abe02d63f41e36c314a15a5


Update dev env

The current development environment is strongly outdated. This PR will update dependencies and mainly get rid of frans-scripts (an experiment of mine 😄).

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


aws-sdk-s3 - re-export aws_smithy_http::byte_stream::Error

Describe the feature
In the s3/src/lib.rs, it would be great to add aws_smithy_http::byte_stream::Error to the list of re-exported types.
This is probably a low priority and more convenient as a workable solution exists.
Use Case
When using AWS S3 SDK and wanting to write error convertors to S3-related Errors, we can do most of them, except the aws_smithy_http::byte_stream::Error since it is not re-exported from the S3 SDK.
The simple workaround is to add aws_smithy_http to the Cargo.toml, which might create lib out-of-sync issues at compile time.
Having one place to import all of those relevant to AWS S3 SDK errors will remove this little friction.
Proposed Solution
In s3/src/lib.rs add to the types submodule:
pub mod types {
    pub use aws_smithy_http::byte_stream::Error; // <<-- new line
    // ...
}

Other Information
I just hit an error today when I upgraded all my dependencies, and when I upgraded aws-smithy-http to 0.47.0 it caused some compiler issues.
Now, there might be a good reason why this should not be done, and if it is the case, feel free to disregard this feature request.
Acknowledgements

[X] I may be able to implement this feature request
[ ] This feature might incur a breaking change

A note for the community

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue, please leave a comment

We probably need to either:

Switch to re-exporting the bytestream module
re-export it with a rename eg. ByteStreamError

It's probably a little misleading for types::Error to actually be a ByteStream error. Definitely agree that this would be nice to fix though

We probably need to either:

Switch to re-exporting the bytestream module
re-export it with a rename eg. ByteStreamError

It's probably a little misleading for types::Error to actually be a ByteStream error. Definitely agree that this would be nice to fix though

Funny enough I just came here to open a similar issue. Would it be possible to just rexport all of aws-smithy-http? I'm not sure the implications of this, but I have test code that looks something like:
fn make_http_response(status: http::StatusCode) -> SdkError<GetObjectError> {
  SdkError::ServiceError {
    err: GetObjectError::unhandled(error::Error::AwsSdk("fake".to_string())),
    raw: aws_smithy_http::operation::Response::new(
      http::Response::builder()
        .status(status)
        .body(aws_smithy_http::body::SdkBody::empty())
        .unwrap(),
    ),
  }
}

And I keep getting errors when aws_smithy_http gets bumped without the SDK getting bumped. Is there a better way to do what I'm trying to do?

@mattklein123 - Thank you for the code snippet. That's very informative for what we should be re-exporting.
Tracking implementation of this in smithy-rs#1759.

Fix released in https://github.com/awslabs/aws-sdk-rust/releases/tag/release-2023-03-30.


Support Object.assign, et al, for bool-prop-naming

With propObjectAssignFunctions set in settings like so:
{
 ...
 propOjectAssignFunctions: ["Object.assign"]
 ...
}

One can use Object.assign for setting the propTypes like this:
function Foo() {...}

Foo.propTypes = Object.assign({}, morePropTypes, { isLoading:
PropTypes.bool });

And the boolean-prop-naming rule should be able to verify the prop
isLoading against the defined options.
This should resolve the issue identified in #1452.

Any progress on this?

I think this is good based on the previous feedback, but @ljharb will have to review again.

@ljharb last I remembered ESLint supports node 4 which does not support object spread. I've had the same problems in the past. Has it changed?

@jseminck I’m not asking about the rule implementation, I’m asking about users in their own codebase - also, object spread is trivially transpileable with Babel to Object.assign, or to any other package name via transform-replace-object-assign.

@ljharb Now that I think about it, this change should just use the current propWrapperFunctions setting instead of a new one since we would want to support the other functions that could be used like forbidExtraProps and whatnot.

@jomasti it could; but propWrapperFunctions is meant to convey "this function returns an object", which "exact" prop functions also do.
However, this rule deals only with "exact prop wrapper functions" - Object.freeze, for example, is a valid propWrapperFunction but not a valid exact prop wrapper function.

@ljharb You may be thinking about my other PR for prefer-exact-props, but for this one (boolean-prop-naming), any function that returns an object should be supported, right? That would be beyond the current implementation of adding a new property (and probably unnecessary currently) (propObjectAssignFunctions).
Also, avoiding adding this should make it easy to change the schema of propWrapperFunctions to support your suggested schema in #1547 without having to remove this new setting.

@jomasti oh lol i got confused, yes, i was thinking about the other one.
Yes, this rule should just use propWrapperFunctions, good call :-D


raftstore: sync all cf files of received snapshots

Signed-off-by: qupeng<EMAIL_ADDRESS>What have you changed? (mandatory)
Synchronous all cf files of received snapshots.
What are the type of the changes? (mandatory)
Improvement.

Please cherry-pick to release 2.1.x and release 3.0.x.


Add + turn off MHD flag (MHD is not implemented yet)

This PR carries minor changes to the Physics_Traits problem instances, introducing an MHD flag, and turning it off. This is required because in another PR (https://github.com/BenWibking/quokka/pull/125) this flag is required to be defined by each problem file.

/azp run


We are Integrating your "Experiment" into Superalgos

Hi, my name is Luis Molina, and I am developing this open source project:
https://github.com/Superalgos/Superalgos
Some community members and me are thinking about using your experiment as a first ML implementation at our project. Maybe you like the idea and would like to help?
We are currently discussing just this at this Telegram group: https://t.me/superalgosmachinelearning ,maybe you would like to show up?
Superalgos is a free and open source software to automate crypto trading.

Hello Luis, thanks for the invitation. I will join the Telegram group and check out Superalgos. Looks interesting!

It will become really interesting with some ML in it. We already solved other related problems like sourcing the historical data and streaming of live data, also distributed data mining, and charting, so  ML is our next frontier and data scientists like you could help us speed this implementation.


Update the .NET Core and Standard 2.0 milestones

The .NET Core and .NET Standard 2.0 were released on 2017-08-14 so the release date information and links were updated to match the current state.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

I included the changes together with more updates to roadmap in PR #882.
Sorry, I didn't notice your PR before I created mine :(

Closing the PR as dupe (to avoid merge conflicts). Please let me know if you disagree.

It's fine. Just noticed it was overlooked. Doesn't matter to me who fixes it.