Added default table options for SchemaTool

1. Why is this change necessary?
Doctrine should prefer defaultTableOptions instead of mysql server configuration
2. What does this change do, exactly?
Adds defaultTableOptions to Doctrine connection (https://symfony.com/doc/master/bundles/DoctrineBundle/configuration.html search for default_table_options)
3. Describe each step to reproduce the issue or behaviour.
There was many forum threads, with illegal mix of collates because incorrect collates between default shopware tables and generated using SchemaTool. I hope that fixes it.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

Thanks @shyim, good idea. Please change the charset to utf8mb4 as this is the new default.

Would that not collide with old installations, where the table definition is utf8? In my installed git version(5.4) all tables are still utf8 :)

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-21473
Please use this issue to track the state of your pull request.

@shyim you are right :wink:

@mitelg Should that then not also utf8? https://github.com/shopware/shopware/blob/5.4/engine/Shopware/Configs/Default.php#L93 😉

relevant forum thread due utf8 issue https://forum.shopware.com/discussion/comment/219468#Comment_219468

CLA already signed.


Stylistic fixes based on Codacy suggestions

Description
miscellaneous doc/script fixes based on Codacy suggestions.
Related Issue
None.
Explanation of Changes
copilot:walkthrough

Please review these changes to avoid any unexpected behaviors caused by these stylistic changes. @airaria  @iMountTai


Prevent closing while clicking somewhere inside the div calendar contain...

...er

Thanks for the PR - Do you have tests for this functionality that you can include?
I'm closing because this is being submitted to master, please resubmit to develop per https://github.com/dalelotts/angular-bootstrap-datetimepicker/blob/master/contributing.md


Add Option.all & Result.all helpers

Adds Option.all & Result.all helpers. The API is inspired by Promise.all which is pretty well known by users.
Option.all([]) // Some([])
Option.all([Some(1), Some(2), Some(3)]) // Some([1, 2, 3])
Option.all([Some(1), None]) // None

Result.all([]) // Ok([])
Result.all([Ok(1), Ok(2), Ok(3)]) // Ok([1, 2, 3])
Result.all([Ok(1), Error(1)]) // Error(1)

I think that if we want to add this, we should also have all2, all3, ... like we do for Promise.
(This is something that I would actually already have needed in practice for the Result module.)

closing as merged with https://github.com/rescript-lang/rescript/pull/7181


Add accessibilityLabel support

Adds accessibilityLabel support to ProgressView.
Currently, ProgressView doesn't appear to support accessibilityLabel, and the UIA Name property is always null on ProgressView components. This is an accessibility compliance issue for Windows apps, and is blocking the React Native Windows team on this issue: https://github.com/microsoft/react-native-gallery/issues/368
Screenshots to show changes:
Before:

After:

@Naturalclar is it possible for this to be included in a release? Looking at the latest package 1.4.2, this change is not included and is a blocker for React Native Windows accessibility compliance.


Ripple effect not disapire

I have issue on ripple effect links. When i click on link ripple effects is show but not hide after animation.
Here is video wich shows problem:
https://youtu.be/77JcjbwLXRg
I use last version of framework.

same problem.

use polymer or mdl. the F7 Material theme is appalling. It incorrectly follows the material spec & is buggy

Hi, I think you must have an issue in your code. take a look at this demo on jsbin

In my case it works fine in my browser but after building it I get this problem

Could you please share a CodePen or jsFiddle so we can reproduce this?

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


How Could we avoid SSRF vulnerability？

Bug Sample.

@Controller
@RequestMapping("/jsoup")
public class JsoupBad01Controller {
@GetMapping("/query_data")
public @ResponseBody
String test1(String url) throws IOException {
Document document= Jsoup.parse(new URL(url),60000);
return document.outerHtml();
}
}

I think you'd be better off asking this question on a programming / design forum, perhaps Stack Overflow.


Record load averages before and after benchmarking

In case we might ever observe that the system was busier than expected.

I guess recording this around the whole suite wouldn't have told us anything when only one benchmark was noticeably slow


Display current catalog version in stacks view.

Rancher Version: v1.1.2
Currently , catalog version for stacks that have been deployed from catalog is not displayed.
There is no way for the user to know the catalog version that was used to deploy the stack.
It would be good to display current catalog version of the stack in stacks view.

https://github.com/rancher/rancher/issues/5582

@vincent99 I would like this implemented so that you don't have to go to the upgrade page to be  able to tell the version.
Specifically, this would be helpful for Kubernetes debugging. It's very hard to find out what template people are using in their Kubernetes version without asking to share ALL their images of the kubernetes system stack.

Catalog now says "Error checking for upgrade."

Version - master 11/16
Verified fixed


Model pths for ST3D (no SN) on waymo-nuscenes, waymo-kitti

Hi Jihan,
Thanks for releasing all your checkpoint files on the model zoo. I'd like to do comparisons with some configurations you've used in your paper.
Could I get the SECOND-IoU and PV-RCNN pth files for waymo-nuscenes and waymo-kitti specifically with the ST3D (no SN) configuration?

Sure, I will support them soon. Please stay tuned.

I already supported these pth files. Nevertheless, due to other works, I haven't checked config files very cautious. If you meet any questiones, feel free to post them here.


fix & improve docs for *WithWildcards functions

the current docs are very confusing because:

the terminology of "wildcards" makes people think it adds wildcards to
the query patterns, and thus may cause additional series to be looked up,
whereas this does not happen.
the documentation did not describe the relation between "adding
wildcards" and calling sumSeries, averageSeries, etc.
Clarify that we form buckets and call the function on each
bucket.

Also, the example for averageSeriesWithWildcards was effectively
incorrect.

cc @robert-milan @DanCech


Refresh access

Hi
Thanks for the great work.
I'm having a hard time achieving the following once a user is logged in with Facebook

What do I have to code to avoid a disconnection from Cognito after 1h?
What do I have to code to get a connection back when I close/reopen the app?
Integration of these in the documentation would be a huge plus!
Thanks

my credentials also expire within an hour it Cognito does not appear to refresh as I am guessing it is supposed to automatically. anything new here?

The documentation it's inexistent, also I have not heard of anyone from the organization replying issues.
Any help here, please?

Just an FYI.. I got around this by using the AWS expiration time and manually doing a login if the STStoken is expired.


Samples endpoint is failing with a 500 due to invalid data

To reproduce, just call
GET https://graphexplorerapi.azurewebsites.net/samples HTTP/1.1

result
HTTP/1.1 500 Internal Server Error
Content-Type: application/json
Date: Mon, 06 Feb 2023 01:37:35 GMT
Server: Microsoft-IIS/10.0
Request-Context: appId=cid-v1:8c1481fd-a8fd-4099-89f8-1de9176ce2a8
Strict-Transport-Security: max-age=2592000
X-Powered-By: ASP.NET
Content-Length: 170

{"StatusCode":500,"Message":"Error converting value \"9a3bf68a-7521-453f-947c-11cc8d9c7b7\" to type 'System.Guid'. Path 'SampleQueries[255].id', line 3251, position 49."}

Here's the error https://github.com/microsoftgraph/microsoft-graph-devx-content/pull/293/files#r1096874833

Closing this issue as its now fixed.
We had someone from the WSD team add some new samples in the DevX Content repo which introduced the bug. We have added more validation tests in the repo to enable us catch similar bugs in future as soon as they are introduced in a PR.


CASMCMS-8041: Correct minor spelling errors

Summary and Scope
Correct spelling errors / typos in the repo. They have not caused any reported problems, but we may as well fix them. No need to make a manifest PR, though -- these can just get picked up the next time we make a release.
Pull Request Checklist

[X] License file intact
[X] Target branch correct
[X] CHANGELOG.md updated

Really, @dlaine-hpe is the one I want to sign off on this before I merge it, since this is his baby.


Update mempool state at start-up

fixes #1258

Codecov Report

Merging #1398 (d050bf4) into master (828364b) will decrease coverage by 9.12%.
The diff coverage is n/a.

:exclamation: Current head d050bf4 differs from pull request most recent head 10c88e9. Consider uploading reports for the commit 10c88e9 to get more accurate results

@@            Coverage Diff             @@
##           master    #1398      +/-   ##
==========================================
- Coverage   50.51%   41.38%   -9.13%
==========================================
  Files         145      144       -1
  Lines        7544     9401    +1857
==========================================
+ Hits         3811     3891      +80
- Misses       3066     4880    +1814
+ Partials      667      630      -37

Impacted Files
Coverage Δ

pkg/core/consensus/testing/node.go
0.00% <0.00%> (-93.55%)
:arrow_down:

...ore/consensus/blockgenerator/candidate/testutil.go
0.00% <0.00%> (-90.91%)
:arrow_down:

pkg/core/consensus/testing/utils.go
0.00% <0.00%> (-75.61%)
:arrow_down:

...core/consensus/blockgenerator/candidate/genesis.go
0.00% <0.00%> (-69.24%)
:arrow_down:

...nsensus/blockgenerator/candidate/blockgenerator.go
0.00% <0.00%> (-64.29%)
:arrow_down:

pkg/gql/query/transactions.go
12.50% <0.00%> (-53.48%)
:arrow_down:

pkg/rpc/client/session.go
21.42% <0.00%> (-47.15%)
:arrow_down:

pkg/util/nativeutils/eventbus/eventbus.go
57.14% <0.00%> (-42.86%)
:arrow_down:

pkg/rpc/client/client.go
3.73% <0.00%> (-36.61%)
:arrow_down:

pkg/core/consensus/reduction/aggregator.go
56.25% <0.00%> (-35.06%)
:arrow_down:

... and 166 more

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 a46518f...10c88e9. Read the comment docs.


After enabling "Enable compiler static analyzer" in sdkconfig, ADC Continuous Mode stops working (IDFGH-13938)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
adc_continuous_read() starts returning ESP_ERR_TIMEOUT regardless of the settings and parameters of the function call. The reason why adc_continuous_read() stops working is in the prvReceiveGeneric() function from the ringbuf.c library because of this code:
ESP_STATIC_ANALYZER_CHECK(!pvItem1 || !pvItem2 || !xItemSize1 || !xItemSize2, pdFALSE);
After disabling "Enable compiler static analyzer", adc_continuous_read() starts working normally

Yes! This fix solved my problem too.


Incorrect parameter used to determine max revalidate days

https://github.com/Comcast/traffic_control/blob/master/traffic_ops/app/lib/UI/ConfigFiles.pm#L1266-L1267
should be 'maxRevalDurationDays' instead of 'ttl_max_hours'

Here is this impact of this bug:
Traffic Ops API checks that purge/invalidate content request ttl is:
Between 1 and (maxRevalDurationDays24)
Between 1 and (9024)
Traffic Ops UI checks that purge/invalidate content request ttl is:
Between 1 and (ttl_max_hours24)
Between 1 and (67224)


Fix create multi sort bug

This PR fixes a bug found in the createMultiSort function. When selecting a new column to sort, the original code clears the sortBy array of all non-selected keys, however, fails to clear the sortDirection object. By failing to do so, multi-select will not work on any future shift+clicks. Let me explain: in the event.shiftClick if-statement block starting on line 59, since the old keys remain in the sortDirection object, it will never push the new column value to the sortBy array, and thus only ever returning one key in sortBy. In my PR, I make sure the sortDirection object is cleared of all the non-selected key-values.

Hi there! Can you please add some positive and negative test cases to verify your PR's changes? That will help track if this breaks in the future

Okay. I added some tests. Are those sufficient?

I can confirm this bug. @aem it would be awesome if this can get merged!  Also thanks @lideeyaa for the fix.

@lideeyaa Thanks for contributing! Planning to release this soon!


[Dynamic Regions] GC did not work properly with partitioned-raft-kv

Bug Report
What version of TiKV are you using?
nightly
git_hash:142e4b4a49109b83b4e034345622f02808415a6e
Steps to reproduce
go-tpc 1k warehouses 6h
What did you expect?
gc work properly
no error during tpcc running
What did happened?
The workload started at 3:42 AM on March 3rd. The metrics showed that gc did not work from 4:08 AM.

And from the log we can also identify the GC didn't work properly from 4:08 AM.

The load lasted for 6 hours, starting from 3:42 AM and should have ended around 9:42 AM. However, according to the monitoring data, the load ended at 8:46 AM . According to the output from the TPCC client, errors began to occur at 8:46 AM.

/cc @SpadeA-Tang

Fixed


The Status Gets Stuck at MATLAB: Establishing Connection on MacOS

macOS Ventura 13.3.1 (Intel)
VSCode 1.77.3
Extension Version: v1.0.0
MATLAB Version: R2023 Update 1 (<IP_ADDRESS>9454) 64-bit (maci64)
When I open a .m file in VSCode, with the correct matlabroot (/Applications/MATLAB_R2023a.app) (I double checked that running matlabroot in MATLAB returns this, the extension shows MATLAB: Establishing Connection on the bottom bar of VSCode, and doesn't change past that, even after waiting at least 3-5 minutes.

When you run into this issue, do you already have MATLAB open on your machine?
Is the issue resolved if you close MATLAB and restart VS Code?

I've tried it both with and without MATLAB already open. I've also tried closing MATLAB and restarting VSCode. I can send logs if that would help the investigation, just let me know which ones to send.

Are you using the new MATLAB Desktop Beta (triggered by installing this add-on in MATLAB)?
If so, we know there are issues with using the new desktop experience with this extension, and are working to ensure those are ironed out before the new desktop is fully released.
If not, can you share the contents of the Output tab in VS Code, with "MATLAB Language Server" selected from the drop-down?

I'm not using the new MATLAB Desktop Beta. Here is the output of the Language Server (this was done without MATLAB already open) Note: The MATLAB process terminated was done manually by me because I wanted to try killing MATLAB in activity monitor to see if it would fix it:
(16:31:33) matlabls: Log Directory: /var/folders/kv/nt1xs5dd5637lbxxgg4z40n00000gn/T/matlabls_48596
(16:31:34) matlabls: Launching MATLAB...
(16:34:16) matlabls: MATLAB process terminated
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: ENOTEMPTY: directory not empty, rmdir '/var/folders/kv/nt1xs5dd5637lbxxgg4z40n00000gn/T/matlablsTmp-ZRvGY2'] {
  errno: -66,
  code: 'ENOTEMPTY',
  syscall: 'rmdir',
  path: '/var/folders/kv/nt1xs5dd5637lbxxgg4z40n00000gn/T/matlablsTmp-ZRvGY2'
}
[Info  - 4:34:16 PM] Connection to server got closed. Server will restart.
true
(16:34:16) matlabls: Log Directory: /var/folders/kv/nt1xs5dd5637lbxxgg4z40n00000gn/T/matlabls_49197
(16:34:16) matlabls: Launching MATLAB...

Let me know if you want the actual logs in the indicated log directory.

I don't think we need the actual logs, the copied contents you provided should be sufficient. We are looking into this.

I'm sorry for the delay in getting back to this.
@JLP04 - Are you still experiencing this issue? I would like to try to get a bit more logging/debug info, but don't want to ask you to post it to GitHub as it may contain some info about your code and machine. Can you reach out to<EMAIL_ADDRESS>and reference this issue?
I will follow back up on this issue once we have identified the root cause.

No problem. I've sent the email.

I am also experiencing the same issue. Do we have any update with respect to this thread?

I am also experiencing the same issue in Ubuntu 22.04. Do we have any update with respect to this thread?

At least for MacOS, it's been found to be caused by a call to path in startup.m. I think a fix is in the works but the current workaround is to just comment out the call to path.


Change memo plaintexts to include a structured sender address.

Is your feature request related to a problem? Please describe.
For payment transactions, it's important that the receiver of a payment can view information about who sent them funds. To address this use case, we have a memo field, similar to Zcash.  Our memo field is 512 bytes of UTF-8 text.  While this is enough space to encode a good amount of information about the sender and the purpose of the payment, that information is unstructured.
Having unstructured data at the protocol level is good, because it leaves flexibility for evolving use-cases in the future. But it also imposes costs, because clients have to agree on how to encode data in the memo.  Currently, the entirety of the memo field is unstructured, but we could do better by defining a sender address field.  This would give client software a standard way to display the sender of a payment.
Describe the solution you'd like
Instead of 512 bytes of freeform UTF-8 text, memo plaintexts should be encoded as 80-byte address || 432-byte text, i.e., exactly the same encoding as now, but with a fixed 80-byte prefix.
This should be represented in the client code by a Memo domain/proto type defined as
struct Memo {
    pub sender: Address,
    pub text: String,
}

This change should propagate through the TransactionView code.  Along the way, we should tweak the memo handling in the TransactionView so that the memo ciphertext is included even when the memo plaintext is not visible, in support of #1788.
When constructing a transaction, the Planner should fill in the sender field with the default address if it is unset. In pcli, we should set the address based on the source-index parameter if it is set.

How should we handle decoding if we receive a memo with an invalid Address? I think instead we might consider:
enum Memo {
    WithSender {
        sender: Address,
        text: String,
    },
    Unstructured {
        text: String,
    }
}

This allows you to send a payment without a sender address, and for the receiver to receive it on the other end without an error: if the first 80 bytes are not a valid Address, then the entire memo is interpreted as an unstructured UTF-8 String.
Should we leave future room in this design for more extensibility of these two variants?

they could create an ephemeral address and use that in the memo field.

Ah, of course, didn't think of that option!


Render vars when parsing DbtModel

When parsing DbtModel if I have vars in sql file and I fail to get valid upstream_models.
-- sql file
SELECT
    column_1,
	column_2,
FROM {{ ref('stg_users_'~ var('country_code')) }}

-- model
- name: stg_users_{{ var("country_code") }}
  columns:
	...

For instance, if I have sql file and model file as above during __post_init__ of DbtModel method, the referenced model is not added to config.upstream_models since it is not jinja2.nodes.Const type (If I have vars it is Concat type). I use vars in ref because I define single model configuration for multiple country codes.
-- something like this
 Concat(nodes=[Const(value='stg_users_'), Call(node=Name(name='var', ctx='load'), args=[Const(value='country_code')], kwargs=[], dyn_args=None, dyn_kwargs=None)]))

https://github.com/astronomer/astronomer-cosmos/blob/56d38b9a38ccc7fbe17cdcb2debb71e04f518c8b/cosmos/dbt/parser/project.py#L166-L175
So is it possible to receive vars in DbtModel and render ref value and add it to upstream_models? I want something like the following logic added
if isinstance(first_arg, jinja2.nodes.Concat):
    value = ''
    for node in base_node.args[0].nodes:
        if isinstance(node, jinja2.nodes.Const):
            value += node.value
        elif isinstance(node, jinja2.nodes.Call):
            if node.node.name == 'var':
                value += self.task_args[node.args[0].value]

The feature totally makes sense, @dojinkimm, thanks for writing it down!
Would you like to contribute with a PR for this change?

@tatiana Sure, I will try PR for this change

@tatiana I recently opened PR but it is not reviewed yet. Do I need to do something more to be reviewed?

Sorry for the delay, @dojinkimm , I'm looking into it now!

@dojinkimm We released the fix as part of 1.1.1:
https://github.com/astronomer/astronomer-cosmos/releases/tag/astronomer-cosmos-v1.1.1
However, you mentioned that you were on 0.6.8. How likely are you to upgrade to the latest Cosmos? Please let us know if there are any blockers.


Which license is actually used?

The website states this library is released under MIT, the github repo says Apache 2.0. Which one is the right one?

Apache License 2.0. Thanks for pointing out the mistake.


refactor(turborepo): Move paths to UTF-8

Description
We're moving all paths to UTF-8 for a whole bunch of reasons.
Testing Instructions

for a whole bunch of reasons.

can you write this out in the description for referal later and for someone not following every internal conversation closely?

Yeah that was a placeholder. I'll copy in the actual reasons once I open up the PR for review

@NicholasLYang windows test failure looks relevant?


[Bug]: ""POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error"

Your current environment
# python3 collect_env.py
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35

Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: NVIDIA RTX 4000 SFF Ada Generation
Nvidia driver version: 535.171.04
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A

CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      46 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             20
On-line CPU(s) list:                0-19
Vendor ID:                          GenuineIntel
Model name:                         13th Gen Intel(R) Core(TM) i5-13500
CPU family:                         6
Model:                              191
Thread(s) per core:                 2
Core(s) per socket:                 14
Socket(s):                          1
Stepping:                           2
CPU max MHz:                        4800.0000
CPU min MHz:                        800.0000
BogoMIPS:                           4992.00
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip pku ospke waitpkg gfni vaes vpclmulqdq tme rdpid movdiri movdir64b fsrm md_clear serialize pconfig arch_lbr flush_l1d arch_capabilities
Virtualization:                     VT-x
L1d cache:                          544 KiB (14 instances)
L1i cache:                          704 KiB (14 instances)
L2 cache:                           11.5 MiB (8 instances)
L3 cache:                           24 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-19
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 rstack overflow: 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; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected

Versions of relevant libraries:
[pip3] No relevant packages
[conda] Could not collectROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: N/A
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	0-19	0		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
openai -b http://IP:8000/v1/ -k token -t openai api chat.completions.create -g user "Hello" -m mistralai/Mistral-7B-Instruct-v0.2

Generates the following 500 error on the server:
INFO:     IP:33526 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 87, in collapse_excgroups
    yield
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 190, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 189, in __call__
    with collapse_excgroups():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 93, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 191, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 136, in authentication
    return await call_next(request)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 165, in call_next
    raise app_exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 151, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 72, in app
    response = await func(request)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 278, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 89, in create_chat_completion
    generator = await openai_serving_chat.create_chat_completion(
  File "/workspace/vllm/entrypoints/openai/serving_chat.py", line 68, in create_chat_completion
    sampling_params = request.to_sampling_params()
  File "/workspace/vllm/entrypoints/openai/protocol.py", line 157, in to_sampling_params
    return SamplingParams(
  File "/workspace/vllm/sampling_params.py", line 157, in __init__
    self._verify_args()
  File "/workspace/vllm/sampling_params.py", line 172, in _verify_args
    if self.n < 1:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
INFO:     IP:33534 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 87, in collapse_excgroups
    yield
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 190, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 189, in __call__
    with collapse_excgroups():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 93, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 191, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 136, in authentication
    return await call_next(request)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 165, in call_next
    raise app_exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 151, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 72, in app
    response = await func(request)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 278, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 89, in create_chat_completion
    generator = await openai_serving_chat.create_chat_completion(
  File "/workspace/vllm/entrypoints/openai/serving_chat.py", line 68, in create_chat_completion
    sampling_params = request.to_sampling_params()
  File "/workspace/vllm/entrypoints/openai/protocol.py", line 157, in to_sampling_params
    return SamplingParams(
  File "/workspace/vllm/sampling_params.py", line 157, in __init__
    self._verify_args()
  File "/workspace/vllm/sampling_params.py", line 172, in _verify_args
    if self.n < 1:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
INFO:     IP:33540 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 87, in collapse_excgroups
    yield
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 190, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 189, in __call__
    with collapse_excgroups():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 93, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 191, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 136, in authentication
    return await call_next(request)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 165, in call_next
    raise app_exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 151, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 72, in app
    response = await func(request)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 278, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 89, in create_chat_completion
    generator = await openai_serving_chat.create_chat_completion(
  File "/workspace/vllm/entrypoints/openai/serving_chat.py", line 68, in create_chat_completion
    sampling_params = request.to_sampling_params()
  File "/workspace/vllm/entrypoints/openai/protocol.py", line 157, in to_sampling_params
    return SamplingParams(
  File "/workspace/vllm/sampling_params.py", line 157, in __init__
    self._verify_args()
  File "/workspace/vllm/sampling_params.py", line 172, in _verify_args
    if self.n < 1:
TypeError: '<' not supported between instances of 'NoneType' and 'int'

@alexander-potemkin Could you share the version of vllm you installed and the server launch command?

@ywang96 , sure - I guess it would be one answer to both questions:
docker run --gpus all -v ~/.cache/huggingface:/root/.cache/huggingface -p 8000:8000 --ipc=host vllm/vllm-openai:latest --model mistralai/Mistral-7B-Instruct-v0.2 --gpu-memory-utilization=0.98 --enforce-eager --max-model-len=2048 --api-key my-key

This command is hardly inspired by https://github.com/vllm-project/vllm/issues/2248, to work-around ValueError: No available memory for the cache blocks. Try increasing 'gpu_memory_utilization' when initializing the engine. error.

@alexander-potemkin Can you try adding -n 1 to your openai command?
I spent some time looking at openai and I think the issue is that its CLI defaults n to None instead of 1 as they state on their API reference. if you don't specify, so it would be great if you can see if this is indeed the issue.

@ywang96 , thank you for the prompt responce!
Tried that, but it seems to produce the same error:
INFO:     IP:37390 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 87, in collapse_excgroups
    yield
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 190, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 189, in __call__
    with collapse_excgroups():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 93, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 191, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 136, in authentication
    return await call_next(request)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 165, in call_next
    raise app_exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 151, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 72, in app
    response = await func(request)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 278, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 89, in create_chat_completion
    generator = await openai_serving_chat.create_chat_completion(
  File "/workspace/vllm/entrypoints/openai/serving_chat.py", line 68, in create_chat_completion
    sampling_params = request.to_sampling_params()
  File "/workspace/vllm/entrypoints/openai/protocol.py", line 157, in to_sampling_params
    return SamplingParams(
  File "/workspace/vllm/sampling_params.py", line 157, in __init__
    self._verify_args()
  File "/workspace/vllm/sampling_params.py", line 186, in _verify_args
    if self.temperature < 0.0:
TypeError: '<' not supported between instances of 'NoneType' and 'float'
INFO 04-13 12:12:58 metrics.py:218] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 0.0 tokens/s, Running: 0 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.0%, CPU KV cache usage: 0.0%
INFO:     IP:37404 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 87, in collapse_excgroups
    yield
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 190, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 189, in __call__
    with collapse_excgroups():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 93, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 191, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 136, in authentication
    return await call_next(request)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 165, in call_next
    raise app_exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 151, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 72, in app
    response = await func(request)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 278, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 89, in create_chat_completion
    generator = await openai_serving_chat.create_chat_completion(
  File "/workspace/vllm/entrypoints/openai/serving_chat.py", line 68, in create_chat_completion
    sampling_params = request.to_sampling_params()
  File "/workspace/vllm/entrypoints/openai/protocol.py", line 157, in to_sampling_params
    return SamplingParams(
  File "/workspace/vllm/sampling_params.py", line 157, in __init__
    self._verify_args()
  File "/workspace/vllm/sampling_params.py", line 186, in _verify_args
    if self.temperature < 0.0:
TypeError: '<' not supported between instances of 'NoneType' and 'float'
INFO:     IP:37416 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 87, in collapse_excgroups
    yield
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 190, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 189, in __call__
    with collapse_excgroups():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_utils.py", line 93, in collapse_excgroups
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 191, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 136, in authentication
    return await call_next(request)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 165, in call_next
    raise app_exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/base.py", line 151, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 72, in app
    response = await func(request)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 278, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
  File "/workspace/vllm/entrypoints/openai/api_server.py", line 89, in create_chat_completion
    generator = await openai_serving_chat.create_chat_completion(
  File "/workspace/vllm/entrypoints/openai/serving_chat.py", line 68, in create_chat_completion
    sampling_params = request.to_sampling_params()
  File "/workspace/vllm/entrypoints/openai/protocol.py", line 157, in to_sampling_params
    return SamplingParams(
  File "/workspace/vllm/sampling_params.py", line 157, in __init__
    self._verify_args()
  File "/workspace/vllm/sampling_params.py", line 186, in _verify_args
    if self.temperature < 0.0:
TypeError: '<' not supported between instances of 'NoneType' and 'float'

Command line: openai -b http://IP:8000/v1/ -k token -t openai api chat.completions.create -g user "Hello!" -m mistralai/Mistral-7B-Instruct-v0.2 -n 1

@alexander-potemkin it would be helpful to dump the full HTTP request generated by the openai CLI. It looks like it's passing something as null instead of leaving it undefined. This looks like a bug in the upstream project, not vLLM.
TypeError: '<' not supported between instances of 'NoneType' and 'float'

@AaronFriel , it's an official latest OpenAI client, I undetstand it could still have bugs, but I can hardly imagine intersecting httpS traffic to prove that.
But even if it is - shouldn't server handle missing arguments in some other way, as opposed to just fail without any meaningful error message, letting everyone guess what could it be?
I would understand the answer "no, it shouldn't" - it's your product and your call, I just thought that you might think different, hence this issue.

But even if it is - shouldn't server handle missing arguments in some other way, as opposed to just fail without any meaningful error message, letting everyone guess what could it be?

I don't think the issue here is handling missing arguments, but that the OpenAI client is explicitly defaulting/setting these values as None.

But even if it is - shouldn't server handle missing arguments in some other way, as opposed to just fail without any meaningful error message, letting everyone guess what could it be?

I don't think the issue here is handling missing arguments, but that the OpenAI client is explicitly defaulting/setting these values as None.
I do agree perhaps we should work on this as well to filter None values out from the request though.

I understand the client might provide something not expected, but it’s official client for the API, that seems to be supported by the product?
Or do you use some other ways to test it?

Or do you use some other ways to test it?

Instead of using CLI, have you tried the Python client to send the request? We also had this example on our docs https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html

@alexander-potemkin FWIW, I don't think the Swagger/OpenAPI specification for these APIs accepts "none" either. If the OpenAI API does, but it isn't documented, I don't think it's reasonable to expect other implementations to implement every quirk of a little-used CLI tool.

Instead of using CLI, have you tried the Python client to send the request? We also have this example on our docs https://docs.vllm.ai/en/latest/serving/openai_compatible_server.html

@ywang96 , that indeed worked! I glad you highlighted me the way you test it.
And, @AaronFriel,

FWIW, I don't think the Swagger/OpenAPI specification for these APIs accepts "none" (null) either. If the OpenAI API does, but it isn't documented, I don't think it's reasonable to expect other implementations to support every quirk of a little-used CLI tool.

I agree with you - there is no reason to support every deviation - it will consume an enormous amount of energy.
I would, however, based on that issue implement a simple check on server's input: if there are any null/none/etc, raise HTTP error 400 and save in the logs which exact argument caused that.
But, first of all - I do appreciate your efforts and such prompt responces, @AaronFriel , @ywang96 , thank you very much!

Agreed, implementing Pydantic (or otherwise) to perform parsing of args and identify the issue would be a net improvement.

@alexander-potemkin if you don't mind - I'm closing this issue since it's incorrectly labeled as Bug.
Feel free to open another issue as feature request or frontend to mention the check on server's input, and we will greatly appreciate if you want to get your hands dirty to make a PR for this too!


Questions regarding the pierce skill score

Should we add API aliases, e.g. true_skill_statistic and hanssen_and_kuipers_discriminant?
Either way, should we list these in the notebook as being the same thing?

I think that would be good. I'm happy for this to be done once the initial contingency table pull request is merged in


Write milestone 2 report

@SWE574-Fall2023-Group1/all We should start writing the report for milestone 2. I asked the professor for the template, I'll share the HackMD link and I'll be inviting everyone to edit.
Deadline: 4.12.2023 Milestone 2 presentation

Invited everyone and shared the link, let's get started!
Updated Deadline: 06.12.2023

You can find it on Discord and WhatsApp 👍

Report uploaded and merged, well done folks! 🎊  Closing


Get the convar and force it to be 0.
Then you replace the sounds in csgo files and enable the sv_pure thing to play


decimal:fromString() should not accept HexFloatingPointLiterals as the argument

Description:
Consider the following program,
public function main() {
    decimal|error a = decimal:fromString("0x12a.a");
    io:println(a);
}

Output is,
298.6250

Spec says,
argument must follow the syntax of DecimalFloatingPointNumber as defined by the Ballerina specification
# with the following modifications
# - the DecimalFloatingPointLiteral may have a leading `+` or `-` sign
# - a FloatingPointTypeSuffix is not allowed
# This is the inverse of `value:toString` applied to an `decimal`

According to the spec, argument should not allow HexFloatingPointLiterals.
Affected Versions:
SL Beta 3
Related Issues (optional):

Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/33460


Added check if the User-Agent header is set to prevent an error

#26
Added a check to make sure the User-Agent header is set, to prevent an unhandled exception.

Already resolved by RoelandSalij.


InfoMap run slowly

Hi Felix,
I run Infoflow,the same quantity data run InfoMap and InfoFlow，Infoflow run fast than InfoMap.What the difference betwteen InfoFlow and InfoMap.Is there any Process explanation display?

Please see the Notebooks directory


Fixes #3163  refactor sharedio

Types of change(s)

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)
[x] Refactor (no functional changes, no api changes)

Checklist

[ ] Tested this change with a run of GEOSgcm
[ ] Ran the Unit Tests (make tests)

Description
Minor bit of refactoring.
Related Issue

@tclune I moved to base to be release/MAPL-v3 as it seemed like main wasn't correct.


[rancher/charts] PRs to dev branch should ensure that packageVersion is updated

What kind of request is this (question/bug/enhancement/feature request):
feature request
In the current scripts, a chart owner who pushes changes to <branch>-source without updating the packageVersion will update the contents of <branch> in place; as a result, making changes to main-source without updating the package version could cause impacts to existing charts currently stored in main tied to an earlier release.
Therefore, when making changes to a branch like dev-v2.5-source (that will later be cherry-picked into main-v2.5-source) via a PR, we should take one of the two following steps:

Add a PR checklist (similar to rancher/image-mirror here): this PR checklist should remind chart owners and reviewers to ensure that the packageVersion is different than the one currently found in the main branch to ensure that, when changes are ported over to main-source, they don't accidentally overwrite main.
Modify Github PR workflow: fail if the tgz file generated by make charts for packages that were modified in this pull request already exists in the main branch.

Should also be addressed in https://github.com/rancher/rancher/issues/28730 for the rewrite.

@cbron @deniseschannon can we add in the PR checklist for now since that should be an easy fix to get in?

Can you add that in, its just a file https://docs.github.com/en/free-pro-team@latest/github/building-a-strong-community/creating-a-pull-request-template-for-your-repository#adding-a-pull-request-template

As mentioned in https://github.com/rancher/charts/pull/783#issuecomment-726978704, this will be addressed in https://github.com/rancher/rancher/issues/28730 instead since the PR checklist approach doesn't work for a non-default branch like dev-v2.5-source.


twinny gets garbage data from llama.cpp

When selecting llama.cpp integration twinny is not working with code completion and chat.
I've tested deepseek-coder-1.3b and codellama-7b and both of them behaves same in twinny. I can connect to llama.cpp local server and chat with model without any problems through browser but when twinny is asked to explain part of the code as an example I'm getting this:

What's more, I can see sampled tokens looking correctly:
[1707856020] slot 0 : kv cache rm - [0, end)
[1707856050] sampled token:   185: '
'
[1707856050] sampled token:   546: 'The'
[1707856050] sampled token:  1155: ' function'
[1707856050] sampled token:  2220: ' `'
[1707856050] sampled token:  4887: 'check'
[1707856050] sampled token:    62: '_'
[1707856050] sampled token:   351: 'if'
[1707856050] sampled token:    62: '_'
[1707856051] sampled token:  9291: 'card'
[1707856051] sampled token:    62: '_'
[1707856051] sampled token:    86: 'w'
[1707856051] sampled token:  1231: 'ins'
[1707856051] sampled token:    63: '`'
[1707856051] sampled token:   317: ' is'
[1707856051] sampled token:  1219: ' used'
[1707856051] sampled token:   276: ' to'
[1707856051] sampled token:  2332: ' check'
[1707856051] sampled token:   562: ' if'
[1707856051] sampled token:   245: ' a'
[1707856051] sampled token:  3981: ' card'
[1707856051] sampled token: 19998: ' wins'
[1707856051] sampled token:   254: ' the'
[1707856051] sampled token:  2612: ' game'
[1707856051] sampled token:    13: '.'
[1707856051] sampled token:   428: ' The'
[1707856052] sampled token:  3041: ' specific'
[1707856052] sampled token:    82: 's'
[1707856052] sampled token:   280: ' of'

FiM is not working completely for me.
Checked on llama.cpp b2142 with AVX2 and cuBLAS. 'Continuity' extension in vscode can communicate with this setup without any issue regarding chat functionality.
Windows 10 22H2

Thanks for the report I just fixed it in<EMAIL_ADDRESS>

Thanks for your reply.
I've checked responses on newest<EMAIL_ADDRESS>and they are looking much better in terms of "undefined" part disappearing but response still doesn't make much sense. Checked on both AVX2 and cuBLAS llama.cpp with 2 mentioned earlier models.
Copy of example responses below.
👤 You
What this code does?

🤖 twinny
[INST] What this code does? Selection: @dataclass class Card: card_name, winning_numbers and duplicates are the attributes of a 'Card' object. The method check_if_card_wins() returns how many numbers in self.winning_list match with those on cards list by using set intersection operation which is used to find common elements between two sets (or more). [/INST] [SYS](vscode-webview://07i4jppl8urr14cln6n05tdp68po43quajpbgspk3nif016pgg20/https/:www.google.com) You can use this code for your project, but remember that it's a simple example and you might need adjustments based on the specific requirements of your application.[/SYS][instructions to run program in terminal or command prompt with python3 filename]

👤 You
What provided code does?

🤖 twinny
[INST] What this code does? Selection: @dataclass class Card: card_name, winning_numbers and duplicates are the attributes of a 'Card' object. The method check_if_card_wins() returns how many numbers in self.winning_list match with those on cards list by using set intersection operation which is used to find common elements between two sets (or more). [/INST] [SYS](vscode-webview://07i4jppl8urr14cln6n05tdp68po43quajpbgspk3nif016pgg20/https/:www.google.com) You can use this code for your project, but remember that it's a simple example and you might need adjustments based on the specific requirements of your application.[/SYS][instructions to run program in terminal or command prompt with python3 filename]

👤 You
What selected code does?

🤖 twinny
[SYS](vscode-webview://07i4jppl8urr14cln6n05tdp68po43quajpbgspk3nif016pgg20/https/:www.google.com) You can use this code for your project, but remember that it's a simple example and you might need adjustments based on the specific requirements of your application.[/SYS][instructions to run program in terminal or command prompt with python3 filename] \end{code}

👤 You
What selected code does? Can you explain it?

🤖 twinny
[SYS](vscode-webview://07i4jppl8urr14cln6n05tdp68po43quajpbgspk3nif016pgg20/https/:www.google.com) You can use this code for your project, but remember that it's a simple example and you might need adjustments based on the specific requirements of your application.[/SYS][instructions to run program in terminal or command prompt with python3 filename]

👤 You
Explain what is the purpose of selected dataclass.

🤖 twinny
[SYS](vscode-webview://07i4jppl8urr14cln6n05tdp68po43quajpbgspk3nif016pgg20/https/:www.google.com) You can use this code for your project, but remember that it's a simple example and you might need adjustments based on the specific requirements of your application.[/SYS][instructions to run program in terminal or command prompt with python3 filename]

It looks like you need to update the prompt templates? They looked different in the llama.cpp webui.  This is noted in the known issues section of the readme.

Thanks for your support, works now.

Thanks for your support, works now.


[Subtask]: Flink need to add some config to using spillable map

Search before asking

[X] I have searched in the issues and found no similar issues.

Description
Arctic has introduced spillable map to avoid OOM. Flink need add some config to use spillable map.
Linked class see com.netease.arctic.utils.map.StructLikeCollections
Parent issue
#925
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@YesOrNo828 cc


cmd/scollector: Add win.cpu_total metrics with pre-aggregated values.

Also move CState metrics to just _total since it is usually configured at a global level.
Fixes potential opentsdb aggregation issues #844

@mjibson updated with fixes

LGTM. Merge when you like.

I'm having some issues with github.com right now. It failed when I clicked the Merge button, and then I closed this but it still shows it as open. It was successfully merged into master, so I'm just going to try and close this again.


Enhance the performance of camera streaming

We have improved the streaming performance of the camera by deleting unnecessary delays in some of the functions of the SmartCar and reducing the other ones to a reasonable value to preserve both functionality and performance speed.


Feat/css vars spike

Draft PR for discussion on CSS variables usage. None of these changes are set in stone. Rather, this is to facilitate discussion, including different tradeoffs between approaches. This example focuses on colors.
This is a non-exhaustive spike example of making the CSS variables more consistent/predictable along a few dimensions:

consistent/predictable existence/presence
consistent/predictable names
consistent/predictable application to css properties and components
consistent/predictable default values

I've also added comments to this PR to further facilitate discussion.

@heff / @luwes / @gkatsev for a few of these questions, re: naming - we'll want to think about cases where there is a difference between those things that apply in fact to "everything" vs. those things that apply to "most things". The most glaring example of this in this spike/reference is the background - it applies to all UI "components"* (with exceptions currently in the listbox case, which we should also discuss), but does not apply to e.g. the media-controller, or the media-poster-image, or the media-control-bar. It would be good for us to come up with some convention that makes those sorts of things clear.

@heff re:

Choosing the shortcut property over the specific properties, e.g. background over background-color. That may not matter if we can provide variables and defaults for the specific properties without making the short cut properties confusing or harder to work with. But when I was creating the initial variables this seemed like the simpler path.

I believe we actually intentionally switched this so we could apply gradients to backgrounds cleanly. I think it may be advantageous for us to prefer the shorthands over the isolated variables (at least for v1), though this is definitely a good sub-topic for discussion.


Fix issue where runtime type is misused.

Description:

struct Protocols {
    string data;
    Protocol[] plist;
}

struct Protocol {
    string name;
    string url;
}

function main (string[] args) {
    json j = {data:"data", plist:[{name:"a", url:"h1"}, {name:"b", url:"h1"}]};
    var protocolsData, _ = <Protocols>j;
}

Runtime type of the variable protocolsData is Protocol. But it should be Protocol[].
Steps to reproduce:
This PR has the fix for this issue: https://github.com/ballerinalang/ballerina/pull/4450
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Tried out the following program:
import ballerina/io;

type Protocols record {
    string data;
    Protocol[] plist;
};

type Protocol record {
    string name;
    string url;
};

public function main() {
    json j = {data:"data", plist:[{name:"a", url:"h1"}, {name:"b", url:"h2"}]};
    var protocolsData = check <Protocols>j;
    foreach p in protocolsData.plist {
        match p {
                Protocol prt => io:println(prt);
        }
    }
}

This resulted in the following output:
{name:"a", url:"h1"}
{name:"b", url:"h2"}

So it seems the issue is fixed. Hence closing this issue.


some features not working for object named arguments

For this code:
    print { val = object extends GotoImplementationHandler() {

    };};

Neither ⌘U nor ⌃O works correctly.

Partially done, but the same problem affects the type hierarchy.

This is all working now, I think, after @91d5bc0.


Various smaller adjustments

Use the latest version of JUnit
Some unused imports removed
Set compiler to Java 1.7 to have a defined version of Java for the resulting binaries
Ignore one more file created by IntelliJ

Hey @centic9, thank you for all your contributions! I've merged whatever looked finished from this branch. If you have any additional contributions, please open separate PRs for them. Thanks!

Thanks a lot for dissecting and merging! I will take a look at my local repository if there are more changes that are ready for submitting.


Fix the appearance of the command input area.

In mobile mode, the command input area gets two-line high.

The appearance is still not fixed and the command input area is two-line high (Safari, iOS 16).

Use grid to fix the appearance.

Though some more adjustment is needed, using flex solved the issue.


Client going offline prematurely

Describe the bug
Get rid of polling, listen for method name instead of event name.

@LayneHaber @bohendo can you provide more context / a path forward here? is this a blocker?

Was this fixed by https://github.com/ConnextProject/indra/pull/312?

Fixed by #312

Looks like it was indeed fixed by #312


BADGE REQUEST [kckarnige#0266]

What is your Discord Tag?
kckarnige#0266
What is your UID (User ID)?
634168893644210186
What is the image for the badge that you want?
_https://cdn.discordapp.com/attachments/734047180045811773/823170108682666004/favicon.png_
Additional Confirmation:

[x] My badge does not contain any NSFW material.
[x] My badge is not a badge that signifies that I am an official developer / staff for Discord or client mod communities.

Comments
Here's some choccy milk, because you're epic :D

done and ty for the choccy milk :D

And think you for the badge :3


.mfdataset fail to open a kerchunked zarr file from an object-store bucket

What happened?
Trying to open a kerchunk .json through the open_mfdata a ValueError is raised.
What did you expect to happen?
should be open a Dataset as described here below:
<xarray.Dataset>
Dimensions:  (lat: 15680, lon: 40320, time: 36)
Coordinates:
  * lat      (lat) float64 80.0 79.99 79.98 79.97 ... -59.97 -59.98 -59.99
  * lon      (lon) float64 -180.0 -180.0 -180.0 -180.0 ... 180.0 180.0 180.0
  * time     (time) float64 nan 1.0 2.0 3.0 4.0 5.0 ... 31.0 32.0 33.0 34.0 35.0
Data variables:
    crs      object ...
    max      (time, lat, lon) float32 dask.array<chunksize=(1, 1207, 3102), meta=np.ndarray>
    mean     (time, lat, lon) float32 dask.array<chunksize=(1, 1207, 3102), meta=np.ndarray>
    median   (time, lat, lon) float32 dask.array<chunksize=(1, 1207, 3102), meta=np.ndarray>
    min      (time, lat, lon) float32 dask.array<chunksize=(1, 1207, 3102), meta=np.ndarray>
    nobs     (time, lat, lon) float32 dask.array<chunksize=(1, 1207, 3102), meta=np.ndarray>
    stdev    (time, lat, lon) float32 dask.array<chunksize=(1, 1207, 3102), meta=np.ndarray>
Attributes: (12/19)
    Conventions:          CF-1.6
    archive_facility:     VITO
    copyright:            Copernicus Service information 2021
    history:              2021-03-01 - Processing line NDVI LTS
    identifier:           urn:cgls:global:ndvi_stats_all:NDVI-LTS_1999-2019-0...
    institution:          VITO NV
    ...                   ...
    references:           https://land.copernicus.eu/global/products/ndvi
    sensor:               VEGETATION-1, VEGETATION-2, VEGETATION
    source:               Derived from EO satellite imagery
    time_coverage_end:    2019-12-31T23:59:59Z
    time_coverage_start:  1999-01-01T00:00:00Z
    title:                Normalized Difference Vegetation Index: Long Term S...

Minimal Complete Verifiable Example
import xarray as xr
catalogue="https://object-store.cloud.muni.cz/swift/v1/foss4g-catalogue/c_gls_NDVI-LTS_1999-2019.json"
LTS = xr.open_mfdataset(
    "reference://", engine="zarr",
    backend_kwargs={
        "storage_options": {
            "fo":catalogue
                    },
        "consolidated": False
    }
)

MVCE confirmation

[ ] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[ ] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[ ] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
`ValueError: Cannot specify both fs and storage_options`

Anything else we need to know?
Seems to be related to zarr's version: if tested with <= 2.12 it works but with the latest versions  > 2.12 it doesn't.
Environment

xarray version 2023.7.0
zarr >2.12

cc @martindurant

Interestingly, using open_dataset works and is more appropriate here.

Indeed, this looks like only one dataset, so mf is the wrong abstraction - and is not typically used with zarr I think. In the top-level function it is apparently creating a filesystem and passing it, but then passing the storage_options through anywhere. I'm not sure if this is happening in xarray, zarr or fsspec!

As @dcherian suggested the best solution is to use the open_dataset as there is no need to use mf.
It is still fascinating that, up to 2.12, was working without any problem; anyhow there is no need to investigate more.


feat: Upgrade to newer Steamdeck driver from SteamOS 3.5

Removes jupiter driver in favor of steamdeck, steamdeck-hwmon, extcon-steamdeck and leds-steamdeck drivers.

Closing this to fix merge issues and work in a branch on main now that I have perms


oneDNN VTune profiling tutorial

Description
This Jupyter Notebook demonstrates how to use VTune Profiler to profile oneDNN samples and find out performance bottlenecks.
External Dependencies
pandas, matplotlib
Checklist
Administrative

[x] Review sample design with the appropriate Domain Expert: Bogusevschi, Silviu, and other oneDNN engineers.
[x] Sample has dependencies and/or includes Third-Party binaries. If yes inform the oneAPI Code Samples Project Manager: @JoeOster

Code Development

[x] Implement coding guidelines and ensure code quality. see wiki for details
[x] Adhere to readme template
[x] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[x] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com

Security and Legal

[x] OSPDT Approval (see @JoeOster for assistance)
[x] Protex (see @JoeOster for assistance)
[x] IPLDT Scan (see @JoeOster for assistance)

Review

[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth(@tomlenth) and/or Joe Oster(@JoeOster)
[ ] Tested using Dev Cloud when applicable

attached a pdf with results from previous run.
tutorial_vtune_profiling_0512.pdf

@louie-tsai PR description has been updated

Which domain expert did you use to review this with? Put it in the first line for the Admin checklist

Which domain expert did you use to review this with? Put it in the first line for the Admin checklist

I put name in the checklist, and I forwarded this MR to those oneDNN exports.

@dmitryryintel
the memory bound number seems to be strange due to short profiling time.
Louie plans to make the samples run longer and then get the results again.

@dmitryryintel
the memory bound number seems to be strange due to short profiling time.
Louie plans to make the samples run longer and then get the results again.

execute 20 times instead of 1 time to have more samples for profiling.
here is the result.
tutorial_vtune_profiling - Jupyter Notebook.pdf

@JoeOster
I couldn't reproduce the issue on my environment, and I got good result for "runipy tutorial_vtune_profiling.ipynb".
Can I get those output files like hotspot.csv from CI run?
regards
Louie

@JoeOster
Added error handlings for the ci testing issues.
please help me to re-test it.

some system reqs for this VTune profiling.
/proc/sys/kernel/perf_event_paranoid needs to be set as 0.

@JoeOster
please help me to merge the PR if all look good to you.
thanks


data: Mark release descriptions as untranslatable

GNOME automatically excludes release descriptions on Damned Lies (GNOME Translation Platform). It's a good practice to follow the GNOME way.
This can streamline the translation process, allowing translators to focus their efforts on more critical and user-facing aspects of the application.

Thank you! I'll keep that in mind.


Short solution needed: "How to write to file" (lua)

Please help us write most modern and shortest code solution for this issue:
How to write to file (technology: lua)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to write to file


Compile error with fullTemplateTypeCheck: true

I'm submitting a ...  (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting

Current behavior
Angular 5.2 introduces a new AoT compiler option to perform a more thorough type check on templates. It is expected that this option will default to true in a future version:
https://blog.angular.io/angular-5-2-now-available-312d1099bd81
Building a project with angular-tree-component shows one type error:
node_modules/angular-tree-component/dist/components/tree.component.d.ts.TreeComponent.html(2,5): : Directive TreeViewportComponent, Expected 0 arguments, but got 1.

angular-tree-component version: 7.1.0

Angular version: 5.2.0

Browser: [all ]

Language: [TypeScript 2.5.2]

The error may be wrong, instead of expecting zero arguments in the class TreeViewportComponent it is possible that some function of this class expects arguments and got zero.
You can see it there:
https://stackoverflow.com/questions/48163344/angular-aot-error-in-ng-component-html-file-expected-0-arguments-but-got-1/49282073#49282073

I get the same error with ng build --prod on the latest 7.0.2 release with "fullTemplateTypeCheck": true in my project tsconfig.app.json .
ERROR in node_modules/angular-tree-component/dist/components/tree.component.d.ts.TreeComponent.html(2,5): : Directive TreeViewportComponent, Expected 0 arguments, but got 1.
(1,1): : Directive TreeViewportComponent, Expected 0 arguments, but got 1.

I found the culprit but I'm not positive of what the best fix could be. It looks like it's a result of the of the HostListener attribute on the onScroll method in tree-viewport.component.ts injecting an $event argument at runtime. With a little digging, it looks like methods with this attribute no longer throw compile time errors when fullTemplateTypeCheck is enabled. In the case of a third-party package however, the method in the compiled tree-viewport.component.d.ts appears to be throwing the error when the argument is supplied.
My workaround was to fork this project and add a parameter $event?: any so it won't complain when 0 or 1 arguments are provided. I don't know if this is the best solution for now or even a good one, but I wanted to give you guys a place to start looking.
Although now that I write this I finally see that achimha had already found the source of the problem and I just don't know how to read. ^__^

Does it look like this ?
`@HostListener("onScroll", ["$event"]) someFunction(event) {
}`
I had issues with HostListener as I say in my previous comment, it was due to forgetting the argument event in someFunction. The link I provided talked about it, unfortunately it doesn't work anymore.
Hope this could help.

Would be great to get this in. Last lib in my project which doesn't support this!

Same issue for me. Is there any solution to this yet ? Is there any workaround other than setting fullTemplateTypeCheck to false

Anyone found a solution for this?
7.2.0 has the same error

I have created a PR a long time ago... https://github.com/500tech/angular-tree-component/pull/537
The maintainer needs to apply it.

Published in 7.2.1


fix(date): Assign the name attribute to the native input element

:rocket: Welcome to Baloise ChatOps based GitOps Bot :tada:
- If you want to enable preview environments for this PullRequest, comment with `/preview`.
- If you want to disable the preview environment for this PR, comment with `/undeploy`.
- If you need help or want to see the docs, comment with `/help`.

Make sure to refresh this page after submitting a command.
Preview environments can be redeployed automatically if you enable the webhook for updates to the source branch. :new:

Have fun building awesome apps! :hammer:  :whale2:  :truck:  :ship:


send - qr code scanner

What UI/UX improvements would you like to be implemented:
Why is this needed:
To be able to scan QR codes for addresses
Which component/screens does this concern?:
Anything else we need to know?:

/triage accepted

Commits related to these changes - https://github.com/DeFiCh/wallet/pull/202/commits/8a52ffcad8dc87357a7e79d077dcafb7f481ac0c
https://github.com/DeFiCh/wallet/pull/202/commits/38731b33be98621cfc7e48d5defa7ad336ac5eee


Force all caps on comparing xyz.tagName with a string literal

Rule Suggestion
Is your rule for a general problem or is it specific to your development style?
A general problem.
What does your suggested rule do?
It forces me to write all caps when comparing tagName with a string literal, or a template literal.
It laughs at me "lol you did it again" when I type:
if (document.activeElement.tagName == 'a')

and it autofixes to
if (document.activeElement.tagName == 'A')

List several examples where your rule could be used
document.activeElement.tagName == 'button'
document.activeElement.tagName == `button`

Additional context

Why? Why is it not working? I've checked twice. I used a rubber duck. I told my problem to another developer. OK, console.log debugging time. Hmm. Nope. Why not? Debug time. Why?! Why!?!!? Oh. Again.

Thanks for the write-up @lazarljubenovic - always good to see real-world examples of developers in pain who TSLint can help!
TSLint core tries to avoid platform- or library-specific rules, such as interacting with the DOM. If you're still interested in this issue, please file it on tslint-microsoft-contrib instead.


West.yml: Updated hal telink

Updated hal Telink because of new PM sriver

The following west manifest projects have been modified in this Pull Request:

Name
Old Revision
New Revision
Diff

hal_telink
https://github.com/telink-semi/hal_telink/commit/382a54822950feefcf8d748dc239c3cad875008f
https://github.com/telink-semi/hal_telink/commit/9b3da6dd4b53f5867a2161b38faa503deb20d525 (telink_B92)
<EMAIL_ADDRESS>

Note: This message is automatically posted and updated by the Manifest GitHub Action.


[osf] CSV files not rendering

Steps:
Go to a project (https://osf.io/y2qi4/, https://osf.io/runys/, https://osf.io/zcmjp/)
Click on a .csv file in the project
Expected behavior:
The CSV should render.
Actual behavior:

This is a really weird error. It shows up in safari, chrome, and firefox, but not for all csv files (for example: https://osf.io/2jgqr/). But, I'm getting the error for csv files from different projects, and both in OSF storage and in the github add-on. So it seems to be something about the rendering, rather than a particular file.

@nicipfeiffer @caileyfitz -- are we replicating this?

@csoderberg I do not have access to the files you linked.  However, in checking my own .csv files I am able to render in OSF storage.

I am able to render a .csv in my project as well.

You guys should now have access to the 2nd link so you can see the error on
the system. Johanna is also getting yhe rendering error on the two other
rpp links.
Gary, as I mentioned, this isn't happening for all csv. But it is happening
for c svs from two separate projects that use osf storage and a file I
github.
On Jun 10, 2015 11:01 AM, "Gary Kriebel"<EMAIL_ADDRESS>wrote:

I am able to render a .csv in my project as well.
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/issues/3015#issuecomment-110786480
.

The console is producing this error:

I tried uploading one of the files that isn't rendering to another component and it does work there. But I'm getting the same issues that Courtney is. The two files that she linked to that I have access to were both uploaded on different days in April and both have multiple versions.
I then tried uploading another .csv file to that same component and it also didn't render:

Just tried the same thing on the other project—I uploaded a new CSV and it didn't render either.

I am wondering if we are handling the 2 types differently...http://superuser.com/questions/302334/true-difference-between-excel-csv-and-standard-csv

@csoderberg, @jlcohoon, @nicipfeiffer,
The issue with at least one file (Direct Studies.csv) is the percent sign.
If you replace "%" with "percent", the file renders.

What special characters are in the other CSV files that are not rendering?

I'm not sure what they are supposed to be, but there definitely are some that aren't rendering properly

Then we need to

download those files
look at them, see if there is a % sign in them
change them to "percent"
upload to a test project to see if they render
if they do not render, look for other special characters so those can be accounted for along with %

The files that I uploaded just now definitely don't have special characters in them though (sorry—I didn't realize that earlier). So it can't be that a % sign is the cause.

@csoderberg ... what about the other files you are stating won't render?

@GaryKriebel Like Johanna, I uploaded a new .csv file to the https://osf.io/js7y4/ project called test.csv, with no special characters (one column, 4 rows, with the content test, 1, 2, 3) and it won't render, so it' can't just be a percent sign or special characters issue since there weren't any in the new file.
As for the two files in the RPP project, I downloaded one and even though it's called 'Copy of tilburg data 37 final.csv' on the osf it download as 'Copy of tilburg data 37 final.csv.txt' for some reason. The other one, there was a character with an tilda (GÕ_ttingen), which seemed to be causing the issue with that particular file. So taking out special characters seems to fix some, but not all problems.
But, per my and @jlcohoon issues with files that definitely don't have special characters, something else might be going on on top of special characters? I also tried upload the test.csv file into a brand new project, and it still won't render correctly there (https://osf.io/bfp8g/).

@icereval and I got closer to identifying what may be happening.... he will give it a closer look on his local system.

I've fixed a majority of the sides cases identified, however one remains where after editing the study2.csv in the editor and saving it becomes unable to render. I'll take a look at this in depth tomorrow, as I mentioned the other cases should be working, please verify, thanks.

Issue has been resolved with changes made and released in mfr 0.2.0/1

Thanks @icereval


Glimr as source of truth

@digitalronin and I discussed the various race conditions I was encountering when
creating and persisting CaseRequest models. We decided that the
best way to handle these problems, which were numerous and sometimes
subtle, was to dispense with persisting case requests and only store
the fee information we get back from glimr in Fee models.
A CaseRequest model still exists, but it has been refactored into a
transient convenience container for the collection of methods used to
look up a case and get its information from glimr.  Liability has been
renamed again to Fee for brevity.  The confirmation_code is now
stored as a BCrypt digest on each Fee object.  Ultimately, we may
not need the code at all, or it may be OK to store it in plaintext.  For
now, however, I decided it was better to deal with the (minor)
complexity of encrypting it as part of the storage process.

Looks alright to me. :+1:
Only thing I'm not sure about is moving the case request to app/aggregators – it's still a model, even though it's not persisted, and we have plenty of app subfolders already.
But happy to discuss.


Create dk/nyborg-gym/edu.txt

College Campus Nyborg, http://www.nyborg-gym.dk/English-1

@Bredo Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


DOC: Add Basic Snapshotting(git status, git commit) , branching and merging commands

The existing Readme.md file contains commands for cloning the projects to the users' local system. I would like to contribute by adding commands for branching, committing changes as well as push the changes in proper format.
Suggested Change
I would like to contribute by adding following commands:
Basic Snapshotting
-git status
-git add [file-name.txt]
-git commit -m "[commit message]"
-Branching and Merging
-git checkout -b [branch name]
-git push -u origin [branch name]
-git pull upstream main
-git remote -v
-git remote add upstream
Rationale
Contributors, especially the ones new to open source contributions will find it easier to contribute and thus it would play a role in ensuring easy workflow.
Please assign me this issue under ggsoc'24 extd.

@Devaki01 any update ?