iOS refresh control jump after upgrading to v0.64.1

Description
After upgrading to react-native v0.64.1, there is a 42px-ish jump when pulling to refresh a scrollable list on iOS devices (see screen recording below). Android is fine. This was not an issue on previous versions, and I'm able to reproduce on a fresh react-native init app.
I say "42px-ish" because the only way I could calculate this is taking screen recordings, capturing still frames, measuring heights relative to the screenshot height, applying that percentage to the virtual height of the iPhone 12, which came out to be 42.6666px. The only UI element that somewhat correlates to this 42px jump is the iPhone X status bar (44px), but I've observed the same 42px-ish jump on iPhone models without a notch (tested on iPhone 8).
I noticed that this only happens when the swipe-down pan gesture is active and the refreshing prop has become false during the gesture. This sounds a little confusing, but the repro steps below should hopefully make this clear. It also sounds like an edge case, but it's not -- for anything that would quickly set the refreshing prop to false while the gesture is still active (like a very fast network response), this makes for a very janky experience.
React Native version:
System:
    OS: macOS 11.2.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 5.05 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.18.3 - ~/.nvm/versions/node/v12.18.3/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v12.18.3/bin/yarn
    npm: 6.14.6 - ~/.nvm/versions/node/v12.18.3/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.10.1 - /Users/drewandre/.rvm/gems/ruby-2.7.2/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>58069
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: 12.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.1 => 0.64.1
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Pull to refresh, but do not lift your finger up while it's spinning. Pull down far enough that it triggers the refresh spinner, but then leave your finger still in that spot while it continues to spin. Leave the gesture active until the method to set refreshing state to false is invoked. In our repro example below, this happens after 1.5s.
With the gesture still active and refreshing now set to false, move your finger up or down. Notice what I calculated to be a 42px-ish jump.

Note that this is reproducible whether you use the <RefreshControl /> component directly, or if you just use the refreshing and onRefresh <FlatList /> props.
Also note that this behavior was observed when using both <FlatList /> and <ScrollView />. I didn't test any other list components.
Expected Results
Pull to refresh should be smooth: it should not jump when the refreshing props is set to false mid-gesture.
Snack, code example, screenshot, or link to a repository:
EDIT: This is not reproducible in the expo snack below because expo 41 uses react-native 0.63.x and this issue is only reproducible on react-native 0.61.x.
Expo snack link
Gist link
https://user-images.githubusercontent.com/61711373/119033185-ee4b6800-b97a-11eb-87a4-c19f739bb6d8.mp4

This is actually a duplicate of #31461 -- closing.


MarkDown type in Wiki

Hi,
I'm not sure of the best way to contribute to information in the wiki since I haven't found a way to do a pull request on a wiki. I've cloned the wiki and pushed it to my own repository where I've made a few changes. If there is a better way to contribute, please steer me in the right direction.
There are typos in the MarkDown for the following pages:
https://github.com/Microsoft/MIMPowerShellConnectors/wiki/Flat-File-Connector-Setup-and-Configuration
https://github.com/Microsoft/MIMPowerShellConnectors/wiki/Flat-File-Connector-Troubleshooting
I've changed them in my fork in this commit: Fixed MarkDown syntax
Best regards,
Simon

Thanks Simon. A better way than this is much more complex. This is far simpler. Thanks again. Done.


access generated css ?

Is there a clean way to access the generated css?
I understand this is not the initial usage of the hook, so it is ok if there is none, but as it is generated anyway, it would allow to generate both css-module names and css files from babel using babel-plugin-css-modules-transform.
For now the only alternative is to load a full webpack with babel-plugin-webpack-loaders

Hi,
Currently you may provide a function through the processCss option to get the generated css. For each required file it will be called and you'll get the resulting css.
But I'm not sure that it will resolve dependencies in the proper order. The order isn't vital for JS as for CSS.

Hi,
From my understanding, by doing this, I will lose the postcss goodness and only access the raw css from sass, less or whatever. Am I mistaken?

Actually, you have two ways to access the CSS: preprocessCss and processCss. The first one is executed before the content of file will be provided to the postcss instance and the second one — after.

Great!
thanks a lot.


Bug: TypeError: Cannot read properties of undefined (reading 'moving') on version 3.8.1+

Describe the Bug
The plug-in fails to initialize when using BLE.
To Reproduce

Start Homebridge.

Expected Behavior
No error.
Relevant Log Output
TypeError: Cannot read properties of undefined (reading 'moving')
    at Curtain.getCurrentPostion (file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/src/device/curtain.ts:841:48)
    at Curtain.BLEparseStatus (file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/src/device/curtain.ts:385:5)
    at file:///var/lib/homebridge/node_modules/@switchbot/homebridge-switchbot/src/device/curtain.ts:495:11

Config for homebridge-switchbot
{
    "deviceId": "XXXXXXXXXXXX",
    "configDeviceName": "Curtain",
    "configDeviceType": "Curtain",
    "connectionType": "BLE",
    "curtain": {
        "set_min": 10,
        "set_max": 90,
        "setOpenMode": "1",
        "setCloseMode": "1",
        "hide_lightsensor": false,
        "set_minlux": 1,
        "set_maxlux": 6001
    },
    "maxRetry": 50,
    "logging": "standard"
}

Screenshots
No response
Device and Model
SwitchBot Curtain
Node.js Version
v18.18.2
NPM Version
v9.8.1
Homebridge Version
v1.8.4
Homebridge Switchbot Plugin Version
v3.8.1
Homebridge Config UI X Plugin Version
v4.58.0
Operating System
Raspian

Should be resolved in v4.0.0


Add custom provwasm bank encoder

Summary
Create a private wrapper over bank sends for use in provwasm smart contracts.
Problem Definition
Due to type constraints, smart contracts currently do not allow returning Custom messages and core messages within the same handler.  This is a problem for exchange contracts.  During settlements where a restricted security is being swapped for a non-restricted one, a bank send + a marker transfer are required in the same execution (ie transaction). Currently, in order to accomplish this, helper contracts are required so the exchange can issue WasmMsg::Executes to dispatch each settlement transfer to the correct actor (and allowing the contract to compile).
Proposal
Create an internal, private, bank encoder for provwasm contracts. This encoder will re-use the bank module types to create a MsgSend exactly like x/wasm does.  The biggest benefit is this will allow exchanges to be a single contract instance, not a series of actors working together, which is complex and highly likely to produce bugs that are difficult to track down.

For Admin Use

[x] Not duplicate issue
[x] Appropriate labels applied
[x] Appropriate contributors tagged
[x] Contributor assigned/self-assigned

Doesn't look like this will be necessary - can be handled by telling the compiler core types are CosmosMsg<ProvenanceMsg>


component selector is broken on components under other components

Is this a z-index thing?
I don't know of any way to avoid this, because there's always someone that thinks they're more important in the DOM styles.

Yeah, ditto. Since this ticket was created we established some z-index rules in kiln, and now it's just up to components to follow them (or break)


Wiggle Sort in Python

🚀 Feature
Reordering an unsorted array such that arr[0]<arr[1]>arr[2]<arr[3]>...
I would like to implement this as part of GSSOC'21
Have you read the Contributing Guidelines on Pull Requests?
Yes
Pitch
One of the important algorithms in competitive programming

/assign


how to collect http response message?

as mentioned in title, i wonder to collect http response message, pls help me

I'm not 100% sure but I don't think we currently collect http response messages. We do however collector response codes so you can use this information to determine success/failure.

ok. thks.
I'll try it by myself.


Android- Discrepancy in order of participants in welcome message and on tapping header

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Precondition: group with name and number

Launch app
Open group conversation
Welcome message with name "Typo" and phone number displayed.
On header, same name "Typo" and phone number displayed.
Tap on header

Expected Result:
Tapping on header, the welcome message order must not change, same name "Typo" and phone number must be displayed.
Actual Result:
Tapping on header, the welcome message order changed, phone number is displayed first and name "typo" then displayed.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.47-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/025dceb3-17df-42cb-87d9-be02fb0ec8c4
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Discrepancy in order of participants in welcome message and on tapping header
What is the root cause of that problem?
This is because the ReportParticipants page, calculates the participants' list and sorts it here
https://github.com/Expensify/App/blob/eb020063789091eb2e3086b5b54af3ead8436645/src/pages/ReportParticipantsPage.js#L84
The welcome message for the group chat, get the members' details from lib function ReportUtils.getDisplayNamesWithTooltips() here which does not sort the list.
What changes do you think we should make in order to solve the problem?
We can solve the welcome message issue by sorting the output from getDisplayNamesWithTooltips() in the ReportWelcomeText.js file by using _.sortBy() on the displayNames after fetching the value:
.sortBy(personalDetailsList => personalDetailsList.displayNames.toLowerCase()

What alternative solutions did you explore? (Optional)
To ensure the names are sorted anytime DisplayNames are rendered by calling get, we can take a holistic approach and sort the output from the function itself.

To achieve this We should add sorting logic to the function here by using _.sortBy() to sort the displayNames while using  _.chain() to chain the calls

I don't think this is a bug that needs to be fixed, the ordering of the participant names has no impact on the app


Fixed 404 Error from CDN

The resource<EMAIL_ADDRESS>was returning 404 and breaking this example
Resolved by updating resource from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>

Select2 example works fine for me, current link to CDN in fiddle is<EMAIL_ADDRESS>(probably was fixed). Closing the PR for now, feel free to reopen if bug reproduces.

@NataliaTepluhina
unpkg has a known issue that it might fail to resolve the correct entrance module in some areas. (Probably something went wrong on their CDN.)


Add Lean filetype

Added the debug string format for the Lean Theorem Prover.

Thanks, this is a great contribution! Merged.


[test] convert bootstrap test configs to v2

Description: Converts test configs for Bootstrap messages to v2. This also deletes code that depended on v1 Bootstrap translation. Bootstrap is a pretty fundamental config type, so this opens the door to fully cleaning out various other v1-v2 translation functions that were called by translateBootstrap such as translateAddress and translateCluster. For issue #6362.
Risk Level: Low
Testing: Included
Docs Changes: N/A
Release Notes: N/A

hmm, not sure about the doc failure since this doesn't touch docs, there's 1 warning in the output:
checking consistency... /source/generated/rst/configuration/best_practices/edge.rst: WARNING: document isn't included in any toctree
done

Thanks @dio for the doc fix!


BigInt rounding error in edge case

Repro:
import sqlite3 from 'better-sqlite3';

const db = sqlite3(':memory:');
const result = db.prepare('SELECT ? AS value').get(1152735103331642317n);

console.log ( result );

db.close ();

Output:
{ value:<PHONE_NUMBER>331642400 }

As you can see we got a number, when we should have gotten a bigint since<PHONE_NUMBER>331642317n is outside of the safe integer range.

Interesting 🤔
I thought one would get normal numbers back if within the safe range, and bigints otherwise.
But this gives me a bigint:
db.defaultSafeIntegers ();
const result = db.prepare ( 'SELECT ? AS value' ).get ( 123n );

And this gives me a number:
db.defaultSafeIntegers ();
const result = db.prepare ( 'SELECT ? AS value' ).get ( 123 );

Which all things considered seems to be better than how I thought things should work. Thanks.

Wait, it doesn't exactly work like that though.

Reopening as I find this behavior quite confusing, and basically undocumented. IMO maybe there should be an option for "everything is a number just like by default, but if you enable this option and you explicitly give me a bigint value then I'll give you that value, and only that value, as a bigint back".

but if you enable this option and you explicitly give me a bigint value then I'll give you that value, and only that value, as a bigint back

That doesn't work because SQLite supports 64 integers and JavaScript Number doesn't. The information if you originally inserted a Number or BigInt is lost and irrelevant to SQLite (it stores it in whatever form it finds best suitable, since SQLite does not actually have any sort of strict types at all until very recently https://sqlite.org/stricttables.html).
In the docs I've linked you can see that you can also enable that behavior per statement, so only when you need it (stmt.safeIntegers()). So your PRAGMA should not be affected. There is also https://github.com/WiseLibs/better-sqlite3/issues/1031 if you need more control.

I see, that makes a lot of sense 🤔
Nothing more to do here I guess.
I suppose a flag that returns integers if they are within the safe range, and bigints otherwise, could be implemented. I'm not particularly interested in that though, so closing this issue.


Bug: default works failed when suggestOnly = false

Closed, It's not a bug. the choices should be fetched from and


[BUG] It is not clear, where the config.yml of "OpenID Connect" plugin should be located

What is the bug?
The documentation of OpenID configuration specifies a content for config.yml. However, I cannot find anywhere, where to put this file so it's picked up by the plugin.
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to 'https://opensearch.org/docs/latest/security-plugin/configuration/openid-connect/'
Go to the bottom of the page, chapter "OpenSearch security configuration"
You can see a reference to config.yml but not the file path

What is the expected behavior?
Specify something like /usr/share/kibana/plugins/openid/config.yml for Dashboards or /usr/share/elasticsearch/plugins/openid/config.yml for OpenSearch
Thank you!

Hey @zemiak, thanks a bunch for writing in. In regards to config.yml's file path, the security plugin's configuration files are all within the securityconfig folder, and the file path /usr/share/opensearch/plugins/opensearch-security/securityconfig.  https://opensearch.org/docs/latest/security-plugin/configuration/configuration/ has a more introductory look at customizing your own backend configurations, so we recommend taking a look at that first.
If you have any other questions, feel free to reach back out!

Thank you very much for your help :-)


Fix formatting of Accelerator docs

The accelerator docs are formatted in a way that is a bit confusing. Attributes show up as functions, which if you copy+paste, are wrong. On this page you can see that is_main_process shows up as is_main_process(), etc. Would be nice if these attributes don't get auto formatted as functions.

CC @sgugger, this would probably come from autodoc + @property decorator I think.

Looks like everything's merged and we're just waiting for a re-deploy. Closing this and will reopen if it persists. Thank you @sgugger + @muellerzr !! ❤


build: update typescript and its friend to 5.1

This PR takes the precedence of the Vite migration in #159
Summary

Update TypeScript to 5.1.6
Remove ttypescript and the extreme long name extension

Since TypeScript above 5.0 support moduleResolution set to bundler which not requires .js extension in the import statement.

Some dependency should be updated for TypeScript v5.1
typescript-eslint requires parserOptions.project to be set

Remaining Issue

TypeScript report that type definisions of the package chokidar are not correct.

It is a package required by webpack, maybe we should update webpack?

Several files have not been reported errors by eslint before but now they are reported, dunno why but it is a good change to fix them.

I'd like to land this so I can fix some of the underlying issues with my PR #462, as well as do some maintenance on outdated/vulnerable dependencies.
Can you rebase to current main and fix the remaining linting/testing errors?

Can you rebase to current main and fix the remaining linting/testing errors?

Sure, it'd take some time to resolve linting / testing errors though.

Can you rebase to current main and fix the remaining linting/testing errors?

Sure, it'd take some time to resolve linting / testing errors though.

Done


higher-order-components.html#static-methods-must-be-copied-over

Not Found
This page doesn’t exist.
If this is a mistake, let us know, and we will try to fix it!

What's the full link? I'll add a redirect.

What's the full link? I'll add a redirect.

https://legacy.reactjs.org/docs/higher-order-components.html

I am working on this issue,
In this issue, we don't add a redirect link but we need to add page.


Update AMI for region eu-central-1

I have updated the ami for frankfurt (eu-central-1)

Hi @juanmacintas thanks for the PR! Do you mind updating the AMI ID for all the regions please?

Sure! I have updated all values!

@juanmacintas Thanks for the updates! Can you squash your commits please?

I had the similar issue when I was provisioning ADOP C in London Region (eu-west-2). Referring to the right AMI from this portal https://wiki.centos.org/Cloud/AWS and modifying the CF Templates to use the correct AMI worked!!
Please make an update to pick the right ami as this was creating confusion before I found the solution.

Closing this PR due to inactivity and new AMIs are covered here: https://github.com/Accenture/adop-aws/pull/14


How to add enchantement texture to items

[Enter feedback here]
Hey, i would like to know how to add an enchantement texture to items like enchanted golden apple. Someone can help me pls ?

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

ID: 37ca30c2-bbe8-119e-3d74-05d344211a06
Version Independent ID: 59430e36-a29d-ba99-38d3-ba78fc873d1f
Content: Introduction to Resource Packs
Content Source: creator/Documents/ResourcePack.md
Product: gaming
GitHub Login: @v-josjones
Microsoft Alias: v-josjones

Hi @ByLex-69bits - An enchanted apple is just a regular golden apple with the purply enchantment overlay. If you edit the skin of a golden apple, that design will still be there when you get an enchanted apple.
Starting with a resource pack created by the Resource Pack Tutorial, inside the textures folder, add a folder named items
Then, copy over the apple_golden.png from the Vanilla Resource Pack and edit that however you want.
When you load the resource pack like usual and give yourself both a golden apple and an enchanted apple, that should have your design on it.
I hope that answers your question. If it doesn't, please let me know.
I am closing this ticket for now, but I will be glad to open it back up again if you want more help.


Support environments for Realm

Description
Maybe this feature already exists and I just did not find it.
I am using a Development and Production environment (two different Realm+Atlas project).
However, I did not find a way to define the AppId in Realm code, so I can choose what Realm I want to sync with.
How does the library know, where it should connect anyways?
How important is this improvement for you?
Would be a major improvement

I am sorry, I found it myself. It is in the AppConfiguration.

When you create an AppConfiguration instance, you need to give it an app Id: https://github.com/realm/realm-dart/blob/eac42b6f29acec0b2125734a65b14ab1ebe8ab0c/lib/src/app.dart#L90-L91. So you can do something like:
late AppConfiguration config;
if (Environment.isProduction) {
  config = AppConfiguration(Environment.productionAppId);
} else {
  config = AppConfiguration(Environment.developmentAppId);
}


Korean text is not the same font weight in markdown preview

VSCode Version: 1.1.0-alpha
OS Version: Ubuntu 16.04 LTS

Steps to Reproduce:

Open the smoke test repo
Open readme.md
View markdown preview

Same inside the editor too which is a bit annoying. Plus it's not monospace, not sure if that's an issue or not.

Please reopen if you still see this with our new markdown extension.


Add ability to change the default storage

Artifactory by default uses Derby for its database.
The ability to configure alternate databases would be appreciated.
See https://www.jfrog.com/confluence/display/RTF/Changing+the+Default+Storage#ChangingtheDefaultStorage-Overview
This would likely involve adding a dependency to the database cookbook, so that a database and user can be created.

@matthew-long Is this issue done and could be closed?


V laanjana/package creation/aruba clear pass

Change(s):
See guidance below
Reason for Change(s):
This PR is part of template spec solution migration for solution Illusive Attack Management System.
See guidance below
Version Updated:
2.0.0
See guidance below
Testing Completed:
The link for test results is
Sentinel Solution Migration Aruba ClearPass
See guidance below
This is an 3P solution.

Please rename Azure Sentinel to Microsoft Sentinel in file Data Connectors/Connector_Syslog_ArubaClearPass.json file.


Bug: Code(3): Only primitive and object literals can be serialized

Hello,
I currently have the error above when using the library.
"version": "0.14.0",
"qwik": "1.1.4",
"qwik-city": "1.1.4"
QWIK ERROR Error: Code(3): Only primitive and object literals can be serialized
at createError (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/core.mjs:108:17)
at logError (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/core.mjs:102:54)
at logErrorAndStop (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/core.mjs:112:17)
at qError (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/core.mjs:185:12)
at eval (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/core.mjs:2639:15)
at Array.map ()
at Module._pauseFromContexts (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/core.mjs:2603:32)
at beforeClose (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/server.mjs:451:52)
at eval (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/core.mjs:3626:28)
at eval (D:/Zankel-Engineering/webpage/zankel-engineering/node_modules/@builder.io/qwik/core.mjs:4111:25) [Function: translate]
Will try to update the lib, but I guess I have nearly the latest version. Do you have an idea what that is coming from?
I get this warning before:
Qwik Speak warn Locale not resolved. Fallback to default locale: de-DE
Sebastian

Yes, I experienced the same error when using props. There are situations where if mutable and immutable props are passed to the same component at the same time (and other unpredictable cases), Qwik throws this error difficult to debug.
Recent issues in Qwik repo: https://github.com/BuilderIO/qwik/issues/4371, https://github.com/BuilderIO/qwik/issues/4038
Please note that since v0.14.0, this library uses a hook that respects all the rules, and returns a closure that is a pure function, which Qwik interprets as immutable.

Hi Robi,
I use the hook and still have the error.
Will look into it further tomorrow.
Sebastian
Roberto Simonetti @.***> schrieb am Mo., 29. Mai 2023,
21:35:

Yes, I experienced the same error when using props. There are situations
where if mutable and immutable props are passed to the same component
at the same time (and other unpredictable cases), Qwik throws this error
difficult to debug.
Recent issues in Qwik repo: BuilderIO/qwik#4371
https://github.com/BuilderIO/qwik/issues/4371, BuilderIO/qwik#4038
https://github.com/BuilderIO/qwik/issues/4038
Please note that since v0.14.0, this library uses a hook that respects all
the rules, and returns a closure that is a pure function, which Qwik
interprets as immutable.
—
Reply to this email directly, view it on GitHub
https://github.com/robisim74/qwik-speak/issues/57#issuecomment-1567454367,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLGZZ5OZ3UBIFFW4RCIOLTXIT3AJANCNFSM6AAAAAAYTBLLZM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Robi,
this is in the translation[lang] at the end:  [Symbol(Symbol.toStringTag)]: 'Module'
Should that be there? Do you know where it is coming from?
Sebastian

The error is with using the hook in component props along with other functions (but only in some cases that it is also difficult to reproduce and locate) - look in the issues I referenced.
[Symbol(Symbol.toStringTag)]: 'Module' that is one of the many transformations done by Qwik (in this case context)

Hi Robi,
I am afraid but I have not used any hook outside the bounds of $component.
I can give you access to the repo if you want to take a look at it?
Sebastian
Am Mo., 29. Mai 2023 um 23:12 Uhr schrieb Roberto Simonetti <
@.***>:

The error is with using the hook in component props along with other
functions (but only in some cases that it is also difficult to reproduce
and locate) - look in the issues I referenced.
[Symbol(Symbol.toStringTag)]: 'Module' that is one of the many
transformations done by Qwik (in this case context)
—
Reply to this email directly, view it on GitHub
https://github.com/robisim74/qwik-speak/issues/57#issuecomment-1567522015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLGZZ233DHI3GHZINBSLNDXIUGMRANCNFSM6AAAAAAYTBLLZM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, if you have a repo I can look into it.
But the error doesn't happen if you use the hook outside the bounds of component$, it usually happens when you pass the hook into the components props. For example, if in this library's sample app I do:
<Link href={getHref('/')} title={t('app.title')}>
I get Code(3): Only primitive and object literals can be serialized
In this example, getHref is a mutable function, while t is immutable: if you remove one, the error disappears.
In my opinion, this is a bug in Qwik, reported in the issues I referenced above.

Crazy. I have send you an invite. I am not sure if I understand what you
mean. It can be that it is because of the click$ PropFunction passed to the
button component then?
The error messages are really not good there.
Am Di., 30. Mai 2023 um 18:33 Uhr schrieb Roberto Simonetti <
@.***>:

Yes, if you have a repo I can look into it.
But the error doesn't happen if you use the hook outside the bounds of
component$, it usually happens when you pass the hook into the components
props. For example, if in this library's sample app I do:

I get Code(3): Only primitive and object literals can be serialized
In this example, getHref is a mutable function, while t is immutable:
if you remove one, the error disappears.
In my opinion, this is a bug in Qwik, reported in the issues I referenced
above.
—
Reply to this email directly, view it on GitHub
https://github.com/robisim74/qwik-speak/issues/57#issuecomment-1568739674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLGZZ4IH73SJCIR3CANANTXIYOPLANCNFSM6AAAAAAYTBLLZM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Sebastian,
I had a look at your project: as I supposed the problem is in multiple props, in your case when you use Button and Video components.
In both cases, in order not to give up on functionality, the workaround for now is to translate before passing the prop:
const text = t('header.meeting');

<Button
    text={text}
    click$={meeting$}
    type="primary"
    clazzes="mr-4"
></Button>

const text = t(`${type}.networkSection.video`)

<Video
    src="xxx"
    banner={{ text: text }}
/>

In the latter case, I think the problem is caused by the hook type inside the t hook, passed as prop...
I think you should try to reproduce the problem on a small project, and open an issue on the Qwik repo, because these errors are really annoying, they're weird and they're badly reported.

Hi Robi, thanks. I will do that tomorrow. Sebastian Gesendet von Mail für Windows Von: Roberto SimonettiGesendet: Dienstag, 30. Mai 2023 22:41An: robisim74/qwik-speakCc: Zankel-Engineering; AuthorBetreff: Re: [robisim74/qwik-speak] Bug: Code(3): Only primitive and object literals can be serialized (Issue #57) Hi Sebastian,I had a look at your project: as I supposed the problem is in multiple props, in your case when you use Button and Video components.In both cases, in order not to give up on functionality, the workaround for now is to translate before passing the prop:const text = t('header.meeting'); const text = t(`${type}.networkSection.video`) In the latter case, I think the problem is caused by the hook type inside the t hook, passed as prop...I think you should try to reproduce the problem on a small project, and open an issue on the Qwik repo, because these errors are really annoying, they're weird and they're badly reported.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>
Hi Robi can you give me a hint where exactly the problem is in the lib? I would like to understand it.

See above: https://github.com/robisim74/qwik-speak/issues/57#issuecomment-1567454367

The workaround I think can also extend to be a polymorphic component. For example user can pass in html tag name and translation key as props.

This issue should no longer occur from version 0.17.0, since the new inlineTransate and inlinePlural functions no longer use the context.
Greetings


any format works for all layers now?

As I know, for conv layer, no matter forward and backward, I can get the best format if use any, right?
How about other layers, like pool?
As pooling layer:
Suppose that we have a simple net: CONV1->POOL1->CONV2.
For forward: if the output format of CONV1 is nchw, then the POOL1 will directly use nchw as input foramt, since pool layer seems do not handle src format as any(maybe we can add it ??).
Likewise for backward: the CONV2 may have nchw as botdiff format, so POOL1 will directly use it.
We do not want to see these cases right? Users may hope nChw8c/nChw16c can be used as the input format if appropriate.
That's for pool layer, how about other layers, like batch norm, fc and concat?
Thanks very much.

Format any is designed to allow compute intensive layers like convolution and inner product to choose the layout which will result in the best performance. The rest of the layers, including relu, lrn, batch norm and concats/splits will work with all the layouts that come out of the convolutions or inner products. When creating these primitives you should use previous layer output descriptor directly. Please refer to examples or documentation.


Could there be any problems when executing youtube-dl code in other than main thread?

I'm using youtube-dl script in some python environment where I can't execute download on the main thread as it will block the UI. So I'm creating thread whenever I need to fetch video URL (I only need youtube video URL extracted from youtube video webpage URL).
What I observe right now - sometimes (1 out of 200-300 requests) everything just freezes as it could happen with mutual thread blocking. I tried to debug it, and it seems that hangs are happening randomly. It may also be the environment in which I'm running this code.
So, I'm wondering, is it safe to execute the following code in other than main thread?
import youtube_dl
import time
import threading
import queue
import sys

serviceUrlQ = queue.Queue()
videoUrlQ = queue.Queue()

class MyLogger(object):
	def debug(self, msg):
		global outputMsg
		print("dbg "+msg)
		outputMsg = msg

	def warning(self, msg):
		print("warn "+msg)

	def error(self, msg):
		print(msg)

def getVideoUrl(serviceUrl):
	print('loading service URL...')
	ydl_opts = {'forceurl':True, 'quiet':True, 'skip_download':True, 'logger': MyLogger(), 'noplaylist':True, 'youtube_include_dash_manifest':False}
	with youtube_dl.YoutubeDL(ydl_opts) as ydl:
		start = time.time()
		ydl.download([serviceUrl])
		end = time.time()
		print("processing time "+str(end-start)+" sec")
		if outputMsg and outputMsg != "":
			videoUrl = outputMsg
			print("retrieved video URL: "+videoUrl)
			return videoUrl
		else:
			raise Exception("can't retrieve video URL")

def workFunc(inQ, outQ):
	# # This will block until a new entry is placed on the queue
	try:
		print('******************* inQ.get')
		serviceUrl = inQ.get(False)
		videoUrl = getVideoUrl(serviceUrl)
		print('****************** outQ.put')
		outQ.put(videoUrl, False)
	except Exception as e:
		print("workFunc(): got exception: %s", e)
		print('****************** outQ.put ERROR')
		outQ.put("error", False)

def getVideoUrlAsync(serviceUrl):
	print("adding service URL to queue...")
	try:
		serviceUrlQ.put(serviceUrl, False)
		workerThread = threading.Thread(target=workFunc, args=(serviceUrlQ, videoUrlQ))
		workerThread.start()
	except Exception as e:
		print('getVideoUrlAsync(): got exception: %s', e)

if __name__ == '__main__':
	url = sys.argv[1]
	getVideoUrlAsync(url)

Brief description: getVideoUrlAsync is called from the main thread and youtube video page url is placed into serviceUrlQ. New thread created, it calls youtube-dl code to fetch video URL and places it into outQ (or videoUrlQ).

I'm not too experienced with threading in python, so I don't know if I can help too much.
Could you post the output when it freezes using {'verbose':True, 'skip_download':True, 'logger': MyLogger(), 'noplaylist':True, 'youtube_include_dash_manifest':False}. It would be interesting to know if it always get stuck in the same place.
You are using a global variable for saving the output (outputMsg), that isn't a good way for handling it. Instead you should use ydl.extract_info(url, download=False), which returns a dictionary with an url key (with that some of the parameters you use are no longer needed).

the weirdest thing is that it gets stuck in different places, sometimes here, or here, or other places.
I tend to blame environment, however can't figure out what could be the problem exactly. Also it could be that youtube-dl is making some non-thread safe calls from other libraries which somehow interferes with the environment.

Run it under debugger and issue pause after it's stuck, look at the threads' stack frames to see who has actually stuck.


[Question] Azure Storage Queue run multiple GetMessagesAsync concurrently take longer time than expected

Question
We use Azure Storage Queue to some daily job
when schedule job (for example Azure Function、AWS Lambda) lunch need to pull all message from queue
we run multiple task to batch all message concurrently
     var getMessageTasks = Enumerable.Range(1, batchCount).Select(x => queue.GetMessagesAsync(32));
     var tasksResult = await Task.WhenAll(getMessageTasks);
     .......

but we encounter pull duplicate message occasionally
when we Inspect logs we found that await await Task.WhenAll(getMessageTasks); take longer time than we expected (only 64 message take 1 min)
maybe the reason is that first batch task take longer time(maybe network latency) than visibility timeout(default 30s), so that second task pull same message again
but when change above code everything works fine
every GetMessagesAsync call was fast (100ms)
       .....
        for (int currentSize = allMessageSize; currentSize> 0 ; currentSize -= 32)
        {
            int processSize = Math.Min(currentSize, 32);
            var batchQueue = await queue.GetMessagesAsync(processSize);
            queueMessages.AddRange(batchQueue);
        }
        .....

Environment:

WindowsAzure.Storage 7.2.1
.NET Core 2.1
Runtime Environment: AWS Lambda(OS: Linux)

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Hi @ExileLee, WindowsAzure.Storage 7.2.1 is no longer supported, I recommend moving to Azure.Storage.Queues.
Looking at your code snippet, how many network calls are actually being made?  I believe you should be able to retrieve all 32 message in a single REST call.

Please reactivate if you are still facing this issue.


Avoid calling Series.apply with _meta_nonempty

[x] Closes #10209
[x] Tests added / passed
[x] Passes pre-commit run --all-files

cc @j-bennet

greenish

👍  will merge after that one last build finishes


Optimized algorithm convert from base-10 numbers

Coverage remained the same at 100.0% when pulling d4b5464a5e3569966157c0999e98180840a1141b on proxyd:master into c2792a25df5cad4ff3d760dd37078fc5b6fccc79 on ramsey:master.

Coverage remained the same at 100.0% when pulling a5a62b87a47adee7fc9c3ed125aad4f43ce3849e on proxyd:master into c2792a25df5cad4ff3d760dd37078fc5b6fccc79 on ramsey:master.

Coverage remained the same at 100.0% when pulling a5a62b87a47adee7fc9c3ed125aad4f43ce3849e on proxyd:master into c2792a25df5cad4ff3d760dd37078fc5b6fccc79 on ramsey:master.

Coverage remained the same at 100.0% when pulling a5a62b87a47adee7fc9c3ed125aad4f43ce3849e on proxyd:master into c2792a25df5cad4ff3d760dd37078fc5b6fccc79 on ramsey:master.

Coverage remained the same at 100.0% when pulling a5a62b87a47adee7fc9c3ed125aad4f43ce3849e on proxyd:master into c2792a25df5cad4ff3d760dd37078fc5b6fccc79 on ramsey:master.


it works on iOS emulator but not in testflight

Just tested on emulator and everynthig works fine, when I published the app for testflight it didn't work.
could it depends from provisioning profile? Should I enable some flag?

Yep check #43

I count not fix the issue, i did switch to a different plugin but wit iOS11 is not working anymore, I got back and try to reinstall cordova-music-controls-plugin but not is not working even in emulator
when i press power button or home button it stops playing music
I have inter-app audio enabled and try took for this code but did not found

Changed from:

and modified it to

To confirm also, this was done along with removing the AVAudioSessionCategoryOptionMixWithOthers option in APPBackgroundMode.m so that cordova-music-controls-plugin can work with the background plugin.
from
[session setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:NULL];
to
[session setCategory:AVAudioSessionCategoryPlayback error:NULL];

I've same problem using Background Audio, Media and Music Controls: in the lock screen nothing is showed.
It's an incompatibility about Background Audio and Music Controls?

please try the latest version of this plugin, just install it from the repo.
Enable background audio capability through xcode for iOS.

☝  Just like this:


doc Update the flink connector docs to the latest version

Proposed changes
Issue Number: no issues yet
Problem summary
Update the flink-doris connector docs to the latest version, this PR should be merged after https://github.com/apache/doris-flink-connector/pull/91
Checklist(Required)

Does it affect the original behavior:

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

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[x] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

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

Further comments

@Myasuka Modified, thanks for your submission

LGTM


EmailAccount - OnAfterValidateEmailAddress(es)

@darjoo Somewhat related with #8671
We've added a feature to test on allowed domains when sending out emails.

This is especially usefull in sandboxes / test / dev environments that are copies from live environments, containing real end user mail addresses. During development, we often encountered mails being sent out to end user mail addresses. To block this, we added some checks in following subscribers:
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Mail Management", 'OnBeforeCheckValidEmailAddresses', '', false, false)]
[EventSubscriber(ObjectType::Codeunit, Codeunit::Mail, 'OnBeforeCreateMessage', '', false, false)]

To ensure any outgoing mails are blocked from being sent, also via the new Email Feature, I'd like to move our test to the EmailAccount.ValidateEmailAddress(es). So having following publisher would probably help us moving the test:
OnAfterValidateEmailAddress(EmailAddress: Text; AllowEmptyValue: Boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Availability update: We will publish a fix for this issue in the next update for releasee 17.

related to #12537
OnAfterValidateEmailAddress does not provide solution.
Submitted new event as alternative to the old OnBeforeCreateMessage


AVIF

Will you be adding avif support? Since your optimization is handled by sharp, seems like a logical step, that saves 30% of bandwith and takes almost none effort.

Yes, that's the plan. AVIF wasn't supported in the prebuilt sharp binaries when I last checked a while ago, but it looks like it's since been added so I can start taking a look. Thanks for the reminder.


Update minimum serde version

Without this, we cannot build with -Z minimal-versions

Failure doesn't look related

I agree. I'm trying to determine what the best course of action is so that these changes can land. The options I see are:

Bumping MSRV to 1.64 to match zbus's upcoming one
Restrict the versions of toml_catetime to <= 0.6.1
Simply merge this with after doing a manual clippy check and figure out MSRV later.

I'm leaning towards the second option, at least until zbus makes a new release with their higher MSRV. Do you or your affected project have any preference?

Adding something like https://github.com/sfackler/rust-openssl/pull/1808/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR79-R85 to the MSRV job is probably how I'd approach it.

Sorry for the delay. Do you mind rebasing this branch on master to pickup https://github.com/hwchen/secret-service-rs/pull/70? I believe that should fix the unrelated problems here. Thank you for the pointers as well.

Done


Update to 1.18 beta 1

With go 1.18 being in beta, it is possible to use generics with official go. For this to work, the files have to be updated to use .go extensions. The README should also probably be changed as well.

Solved in ff9cca3a73f91662d0c223ceeac9b4774c92ae1c.


Inconsistent external script execution with happy-dom and jsdom environments

Describe the bug
I have some code that injects script elements into the page, with the onload and onerror handlers being used to resolve a promise. The external script adds a variable to the window object. I would like to test this code.
Issue
While it appears that the script loading generally works with happy-dom, it is not working with jsdom. While jsdom successfully executes the onload handler, the variable that the script set in the window object is always undefined. I have confirmed that this working with jest in jsdom environment, so I suspect that there is either a misconfiguration on my part of the jsdom environment in vitest or an difference with how vitest interacts with jsdom.
Expected Behavior
Variables set in the external script on window are available in the calling code.
Thank you.
Reproduction
I have a small reproduction in StackBlitz here: https://stackblitz.com/edit/vitest-dev-vitest-j5udwn?file=test/using-jsdom.test.ts
I also have a larger repo that compares jest and vitest, along with happy-dom and jsdom implementations here: https://github.com/lund0n/load-scripts-test
System Info
System:
    OS: macOS 12.5.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 83.53 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.12.0 - ~/.asdf/installs/nodejs/18.12.0/bin/node
    Yarn: 1.22.19 - ~/.asdf/shims/yarn
    npm: 8.19.2 - ~/.asdf/plugins/nodejs/shims/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Firefox: 106.0.5
    Firefox Developer Edition: 105.0
    Safari: 15.6.1

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I am not sure if it can work with Vitest. We don't use VM's contexts to isolate environments, so window inside script tag and window inside your test are two different windows.
So, if you define something globally in your test, it won't appear inside script tag and vice versa.

I think the same thing is happening to me. I'm executing an external script that injects an object on the window but it is undefined.
Using jsdom solely outside of the Vitest context works, the object is there.
How should one test this if the behavior is as you describe? @sheremet-va

There is a workaround: forgo the jsdom environment and set it up yourself, like I did in https://github.com/solidjs-community/solid-primitives/blob/5640fa5c88ee267bee8f3d7d8a87ce96987e629c/packages/script-loader/test/index.test.ts
You may need to add more stuff to the global scope for your scripts to work.


Document how to install branch of Github repo / PR as platform/plugin

I couldn't find any documentation on how to install a branch of a Github Repo (e.g. a PR to one of the Cordova plugins). This should probably be added to https://cordova.apache.org/docs/en/8.x/platform_plugin_versioning_ref/index.html which explains how to install paths, versions etc.

Using a # to separate the branch name from the repo URL worked:
cordova plugin add https://github.com/dudeofawesome/cordova-plugin-statusbar.git#CB-12024cordova-plugin-statusbar

results in package.json:
"dependencies": {
        ...
        "cordova-plugin-statusbar": "git+https://github.com/dudeofawesome/cordova-plugin-statusbar.git#CB-12024cordova-plugin-statusbar",
        ...
    },

It should work exactly like for any npm package AFAICT. So if we add something, we might be able to reference the npm install docs.

Surprisingly https://docs.npmjs.com/cli/install doesn't mention "branch" at all.
But I think #branchname is Git repo convention, correct?

The docs you linked to refer to it as #<commit-ish> since you can specify a tag or a commit hash too.

Ugh, ok.
I think we're better of making it explicit in the Cordova docs then - as it is a pretty common thing for people wanting to check out a PR branch.
Still, adding a link to the underlying functionality docs (if this is really "just" powered by npm install) is probably also a good idea.


Work in progress. 😄


Update veldrid.imagesharp code to use image sharp rc1

Updated code to use latest rc1 of imagesharp

Would appreciate this getting merged quickly, since we're stuck with ImageSharp beta 6 currently when using Veldrid (last major release was on beta 6)

Isn't this version of imageSharp the first one to change the license to AGPL - which may complicate treating this repo as MIT licensed?
https://github.com/SixLabors/ImageSharp/blob/master/LICENSE
Or maybe this happened already in one of the previous beta versions?

@mjkkirschner It should be fine as SixLabors said If you had an existing open source repo that used ImsgeSharp before it became RC you can continue to use InsgeSharp

@UkooLabs is correct. The readme states.

Open Source projects who have taken a dependency on ImageSharp prior to adoption of the AGPL v3 license are permitted to use ImageSharp (including all future versions) under the previous Apache 2.0 License.

And like that... any ambiguity goes away 😄


Generate a traverse for each subgroup.

When the oneof isn't continuous in parent message, generate a different
traverse method for each "group", this avoid the need for conditionals
within the cases.
Name the traverses based off the field number(s) in them so reading of
the message traversal is a little more clear also.
If a traversal switch would only have one case, use the if case syntax
instead.

Does this impact compiled code size at all?  Looks like it might be a net win for long consecutive oneof groups since it drops the conditions.

Does this impact compiled code size at all? Looks like it might be a net win for long consecutive oneof groups since it drops the conditions.

Sorry, didn't think to check.
My guess it it will also come down to what the optimizer decides to do since the methods are fileprivate, it can probably also inline things easier now.

Oh, and since we already had the optimization to now pass the start/end when the oneof was completely continuous, I don't expect this to kick in that often, the previous one is likely to cover most proto files.


feat(disk driver): don't explicitly specify userspace I/O driver while creating disk

Which issue(s) this PR fixes:

Issue longhorn/longhorn#8813
What this PR does / why we need it:

feat(disk driver): don't explicitly specify userspace I/O driver while creating disk
fix(disk driver): fix deletion of disk based on nvme bdev driver

Special notes for your reviewer:
Additional documentation or context

Is setup.sh that use vfio-pci as default?

Is setup.sh that use vfio-pci as default?

Yes.

Is setup.sh that use vfio-pci as default?

https://github.com/longhorn/spdk/blob/longhorn-v24.05/scripts/setup.sh#L412-L441


Feature request: Add SSL certificate from ACM to Perforce Helix Core to allow SSL connections without p4 trust

Use case
When a client first connects to Helix Core server they will need to p4 trust the server after validating the fingerprint returned by initial connection. This inhibits automated provisioning and connections from CI/CD server that have not "trusted" the server previously.
Solution/User Experience
Provide a mechanism for adding the certificate to the certificate.txt file on the Helix Core server. See this documentation for details.
Alternative solutions
Manually run p4 trust in the service containers on initial connection. Manually configure the certificates on the Helix Core server.

Currently, there is not an easy way to use a certificate generated by ACM inside an application running on EC2. We could potentially consider running Helix Core inside a nitro enclave.

Closing for duplicate issue #402


Typescript cannot find module using @ root path syntax in a project created from create-vue

I've got a weird one. Originally posted in https://github.com/vuejs/create-vue/issues/35
Summary
When creating a project in the new recommended way using npm init vue@3, @ root path imports show an error in .vue files. @ root path imports work fine inside .ts files. The strange thing is others haven't been able to reproduce my problem. See the issue mentioned above.
Setup
Visual Studio code - up to date
Vue Language Features (Volar) - v0.31.1
TypeScript Vue Plugin (Volar) - v0.31.1
Windows 11
Steps to reproduce
npm init vue@3
Typescript support: yes
Everything else: no

pnpm install (or npm install)

Open App.vue and change an import to use @/ root path syntax. E.g.  import TheWelcome from<EMAIL_ADDRESS>

Rolling back from 0.31.1 to v0.30.6 worked for me.

@xiaoxiangmoe the easiest reproducable demo is to use npm init vue@3 and choose TypeScript and no to every other option then change an import inside App.vue to use @/ syntax instead of relative path.
I tried Visual Studio Code Insiders:

No error now in App.vue - @/ root path syntax works
Now I get a cannot find module error in main.ts on import App from<EMAIL_ADDRESS>The @/ syntax works for non .vue imports, like if I try to import another TypeScript file.

@olemarius rolling back to v0.30.6 didn't work for me - I still get the error in App.vue.

@pholly
Do you install https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin ？

@pholly can you reproduce this problem in https://github.com/johnsoncodehk/volar-starter?

@johnsoncodehk yes same problem. I also get an error in main.ts when using @/ syntax on import of a vue file. Relative paths work in both cases. Screenshots below.

@pholly have you try config "paths": { "@/*":["./src/*"] }, in tsconfig on the project?

@johnsoncodehk just tried. Still same errors in both. Also the error in main.ts prevents the app from running (starting the dev server). If I fix main.ts, the site builds and runs but the error in App.vue shows up immediately in the browser.
I also tried closing and reopening VS Code.
Let me know if there's anything else you want me to try.

It seems that Windows will not allow use "paths": { "@/*":["src/*"] },, try change it to "paths": { "@/*":["./src/*"] },.

@pholly I can't reproduce this problem and I think it's related to your system, please try @xiaoxiangmoe's suggestion.
If still not working, you can use live share with me so I will able to check the problem. You can join volar discord server(https://discord.gg/5bnSSSSBbK) to find me.

No errors in either main.ts or App.vue! I mistakenly put the paths line outside of compilerOptions. When I moved it there both errors went away. Yes I have to specify ./src/* like you both mentioned. If I put just src/* an error shows that the baseUrl is not specified.
I still get the error in App.vue in a project created from vue init vue@3 (create-vue). BaseUrl is specified in compilerOptions and even if I change path to `./src/* I still get the error.
Let me know how I should proceed - go back to my issue in create-vue project?

@pholly if the path option generated by create-vue you should report there.

@johnsoncodehk sorry although I don't get errors when viewing main.ts or App.vue in VS Code, I get errors when trying to run the app with npm run dev.:
[vite] Internal server error: Failed to resolve import<EMAIL_ADDRESS>from "src\main.ts". Does the file exist?
Likewise I get an error in App.vue if I fix the path in main.ts to be relative.
I'll reach out to you on volar's discord. Thanks for all your work and help.

@pholly tsconfig only for IDE, you should config (resolve.alias)[https://cn.vitejs.dev/config/#resolve-alias] in vite.config for vite.

@alexvoedi make sure you have add your vue files to include option of tsconfig: https://github.com/johnsoncodehk/volar-starter/blob/7a4b2f99103f5eab0bad76365be841f264623211/tsconfig.json#L14

Everything is set up correctly in my project. Vetur works fine, Volar does not. This has only been a problem for a few days.

@alexvoedi could you provide minimal reproduction?

@johnsoncodehk I have the same problem as @alexvoedi in .vue files in projects created from create-vue. "src/**/*.vue" is definitely in include in tsconfig.
tsconfig:
{
  "compilerOptions": {
    "baseUrl": "./",
    "target": "esnext",
    "useDefineForClassFields": true,
    "module": "esnext",
    "moduleResolution": "node",
    "isolatedModules": true,
    "strict": true,
    "jsx": "preserve",
    "sourceMap": true,
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "paths": {
      "@/*": ["src/*"]
    },
    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
    "skipLibCheck": true
  },
  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
}

@pholly could you provide minimal reproduction?

@xiaoxiangmoe I can't reproduce anymore - npm init vue@3 works now. I just tried it 3 times and in all 3 projects tsconfig was recognized in .vue files. The screenshot above was from the same command a few days ago. I see that create-vue npm package was just updated a few hours ago - maybe that's why I have no issue now.
@johnsoncodehk I have no problems with projects created from create-vue now.
Thank you both.

I have the same problem. Something I noticed:

In newly created *.vue files VS Code does not find tsconfig.json.

also got this tips

if I have a component named home.vue doesn't recognize the tsconfig, but with any other name it does.

I have the same problem. Looks like tsconfig is not found.
I have done case renaming of this file and directory, system is windows.

vue files in the same folder are normal

When I move the TempCoverPage.vue file to the "form" folder it works fine

https://github.com/johnsoncodehk/volar/issues/894#issuecomment-1102964298
I deleted the temp folder and then recreated the vue folder. It was normal. At that time, the temp folder with different capitalization appeared in the git commit. I'm guessing it might have something to do with this

I have this issue in a project as well. Seems like the alias works if the .vue file doing the importing is either two words, or lowercase its fine.
button.vue - alias works
ButtonSection.vue - alias works
Button.vue - alias does not work

I got same problem recently, without any update in my project.

when i disable volar and use vetur, typescript errors disappeared

I have the same problem, i have not change any file, it was normal to open it yesterday, but now this problem happened.
This is a windows10 PC, volar auto update to v0.38.7
the problem looks like:

in .ts file, import xx from "@/xxx" is right
in .vue file, import xx from "@/xxx" is wrong
tsconfig.json filled in the correct settings
project can be "dev" without any error
project can be "build" without any error
all project occur same problem in your VSCode workspace

I try there things:

reload my PC
uninstall VSCode and install it (no any other extensions), and install volar
try vscode-typescript-vue-plugin
try Take Over Mode
try create a new vue project

As an obsessive-compulsive disorder, I feel hopeless...
But in the end, I found the problem.
It seems to be related to VSCode workspace
when i pick the project to a new VSCode window, it fixed. And when i open it in the old workspace, this problem reappears.
Bad workspace, "../../tsconfig"

Good workspace

you can see right-bottom, "tsconfig.app.json", It seems that volar read the root directory of the project incorrectly

I found a new phenomenon right now
2 project in 1 workspace, the first project is right, second project wrong

change the project order, result changed

Interesting~

@gitlilimin It may related to #1193, #1262 fixing. Could you provide a minimal reproduction?

@johnsoncodehk ok, I tried it, this problem only occur at volar 0.38.8
My environment

PC, windows 10
VS Code:

VS Code extension:

Reproduction steps

clone this repo from https://github.com/gitlilimin/debug-volar-0.38.8, there are 3 project in it

[vue3-create] is create from npm init vue@latest, doc
[vite-create] is create from npm init vite@latest, doc
[old-project] is the project with problems after the update of volar yesterday, it's a real project, i have removed useless code.

you'd better run npm install for there 3 project

open a VS Code window, make sure it's workspace is empty, the window bottom color is blue (not purple)

drag [vue3-create] to VS Code window, and it will looks like

drag [vite-create] to VS Code window, and drag [old-project] to VS Code window

now there 3 project in VS Code window, and there are in same workspace.

open [old-project]/src/views/home.vue and you will look this:

Personal summary
I think this problem must be related to the workspace of vscode, and I'm sure it happened in volar 0.38.8
I found some phenomena in the process of trying to find the problem.

VSCode open a pure project (no workspace), i use above [old-project], it's always right.

in above case, in [vue3-create] project, some component import by "@xxx" can be distinguish, but some cannot (like ).

in [vue3-create]/src/App.vue,   tag, put mouse on it can get right tips, but cannot use Ctrl+Click to open it's file.

in [old-project]/src/vies/home.vue,  tag can use Ctrl+Click to open it's file. in this file, only  and  is wrong, becase their path is deeper than others

in a few case, VSCode open [old-project] some .vue file, the right-bottom "tsconfig.json" cannot be read, it's only show "no tsconfig". it's ok when i restart VSCode.

@gitlilimin Thank you, you saved my time.

The vscode right-bottom "No tsconfig" maybe just caused by incorrect include config.
./src/**/*.vue didn't match vue files out of src dir, use ./**/*.vue instead.
see tsconfig#include
{
  "compilerOptions": {
    // ...
    "paths": { "@/*": ["./src/*"] } // path alias
  },
  "include": ["./**/*.ts", "./**/*.vue"]
}

@johnsoncodehk I have the same problem as @alexvoedi in .vue files in projects created from create-vue. "src/**/*.vue" is definitely in include in tsconfig.
tsconfig:
{
  "compilerOptions": {
    "baseUrl": "./",
    "target": "esnext",
    "useDefineForClassFields": true,
    "module": "esnext",
    "moduleResolution": "node",
    "isolatedModules": true,
    "strict": true,
    "jsx": "preserve",
    "sourceMap": true,
    "resolveJsonModule": true,
    "esModuleInterop": true,
    "paths": {
      "@/*": ["src/*"]
    },
    "lib": ["esnext", "dom", "dom.iterable", "scripthost"],
    "skipLibCheck": true
  },
  "include": ["vite.config.*", "env.d.ts", "src/**/*", "src/**/*.vue"]
}

This is a good hint . I had same issue but now it's OK . Thanks @olemarius

@johnsoncodehk @alexvoedi @saeedtabrizi I also had the same issue today after scaffolding a brand new project using vite, it got resolved by simply adding  "moduleResolution": "node" in compilerOptions object of tsconfig.app.json

For me it worked after I added to src directory a env.d.ts file with the following:
declare module "*.vue" {
  import type { DefineComponent } from "vue"
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
  const component: DefineComponent<{}, {}, any>
  export default component
}

@mitar your solution works for me too, do you know why?

I ran into this issue with my own Volar (not Vue) project and it turned out I had to set baseUrl in compilerOptions for paths to work. I thought this was no longer require due to the TypeScript docs saying:

As of TypeScript 4.1, baseUrl is no longer required to be set when using paths.

FYI i noticed for me that adding .vue to the import statement solves the problem for me. more of a short term solution, however.

Solved by adding a file named "vetur.config.js" at the root of the project
with
module.exports = {
  // **optional** default: `{}`
  // override vscode settings
  // Notice: It only affects the settings used by Vetur.
  settings: {
    "vetur.useWorkspaceDependencies": true,
    "vetur.experimental.templateInterpolationService": true,
  },
  // **optional** default: `[{ root: './' }]`
  // support monorepos
  projects: [
    "./mySubDirWhereTheVueJSProjectIs", // Shorthand for specifying only the project root location
  ],
};

See https://vuejs.github.io/vetur/guide/setup.html#advanced

You should disable vetur.

You should disable vetur.

Oh yes !
Vetur is the old version. I didn't even notice. After removing Vetur extension from VSCode it's working well. THX !
(No need vetur.config.js anymore)

The vscode right-bottom "No tsconfig" maybe just caused by incorrect include config. ./src/**/*.vue didn't match vue files out of src dir, use ./**/*.vue instead. see tsconfig#include
{
  "compilerOptions": {
    // ...
    "paths": { "@/*": ["./src/*"] } // path alias
  },
  "include": ["./**/*.ts", "./**/*.vue"]
}

This fixed it for me, apparently the create vue CLI did not add the ./src/**/*.vue to the include while ./src/**/*.ts was

@johnsoncodehk @alexvoedi @saeedtabrizi I also had the same issue today after scaffolding a brand new project using vite, it got resolved by simply adding "moduleResolution": "node" in compilerOptions object of tsconfig.app.json

It fixed my pb

FWIW I had this same issue in a (large) commercial Vue3 app that I am trying to migrate to TypeScript.
I started out by scaffolding out a brand new project with create-vue, choosing Yes for the TypeScript option, and then copying the generated config from the new app to the existing app.
Everything was kind of working, but I could not get rid of the red underlining under every single import path that used @/...
I tried most of the suggestions here, disabled extensions in VSCode, added extensions in VSCode, changed module resolution to node, etc, etc. But still the problem persisted.
The only thing that worked for me was to move the baseUrl and paths options from tsconfig.app.js up to the root tsconfig.json file. Then, finally, the red underlining under my imports vanished. It seems VSCode, or the official (recommended) Vue extension, loads only the default tsconfig file, not the tsconfig.app version...

My fix with env.d.ts starting returning errors after upgrading to latest versions of everything:
.../env.d.ts
  3:3   error  Definition for rule '@typescript-eslint/ban-types' was not found                                                                                @typescript-eslint/ban-types
  4:36  error  The `{}` ("empty object") type allows any non-nullish value, including literals like `0` and `""`.
- If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.
- If you want a type meaning "any object", you probably want `object` instead.
- If you want a type meaning "any value", you probably want `unknown` instead  @typescript-eslint/no-empty-object-type
  4:40  error  The `{}` ("empty object") type allows any non-nullish value, including literals like `0` and `""`.
- If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.
- If you want a type meaning "any object", you probably want `object` instead.
- If you want a type meaning "any value", you probably want `unknown` instead  @typescript-eslint/no-empty-object-type
✖ 3 problems (3 errors, 0 warnings)

I simply removed it and for now it seems things work in VS Code, but I am not sure if that is just some caching or do things really work now without it.


Merge Fabriclike module into Fabric and Quilt

Because the Fabriclike module is not applying the files to Fabric/Quilt and vice versa during building, I will have to change how my files are managed.
duplicate input class net/merchantpug/bovinesandbuttercups/util/StatePropertiesUtil, from ...\bovines-and-buttercups\Fabric\build\devlibs\Bovines-And-Buttercups-Fabric-1.0.0+1.19.3-dev.jar and ...\bovines-and-buttercups\Fabriclike\build\devlibs\Bovines-And-Buttercups-Fabriclike-1.0.0+1.19.3-dev.jar

If somebody wants to do more testing with such an issue in their spare time and report it to https://github.com/FabricMC/fabric-loom, be my guest.

Changed in 1.0.1


Warning while using the Speech-to-Text hook - "AudioContext created on page load"

According to autoplay policy changes, I get the warning below.
The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.
https://github.com/Riley-Brown/react-speech-to-text/blob/ad049c982534cee8c2120df830cbfeafe7fff0ef/src/Hooks/useSpeechToText.tsx#L12
More details about the policy - https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio

Thanks for raising this issue. I just refactored a lot of the hook logic last week and this fix was added. Try out the latest code and let me know if you are still running into any issues


Change KafkaHeaders.PARTITION_ID value to partition

Spring cloud stream BindherHeaders.PARTITION_HEADER value is "partition" and in Spring Kafka KafkaHeaders.PARTITION_ID is "kafka_partitionId".
Because of this, in SIK, it would never find the partition here: https://github.com/spring-projects/spring-integration-kafka/blob/master/src/main/java/org/springframework/integration/kafka/outbound/KafkaProducerMessageHandler.java#L91
When partitioning is enabled on spring cloud stream producer binding, during preSend, it adds the "partition" header, but if we use the SIK, KafkaProducerMessageHandler it will fail at this as it is looking for a different value.
Is there reason not to make this value consistent with whats set in SCSt?

@sobychacko I think that could be a backwards compatibility issue.
We can, however, use partitionIdExpression as headers['partition'] instead.

@mbogoevici that makes sense. Didn't think about that. partitionIdExpression should work.

@artembilan makes sense. Thanks.

@artembilan I guess we could - at least before we expose it as a more general feature.


Spatial object display: Crash when selecting an object

Steps to reproduce:

Delete selected object
Open a new one and select it
-> Crash

Fixed in 952785d5d1f0edef91cb78ea9929dfd5ae15dfc3


How to choose network interface for DoIp client

Hello everyone.
Many thanks for this package which works perfectly with udsoncan to connect to an ECU using DoIp.
However, I am encountering a problem choosing the network interface to use to create the DoIPClient client.
I have a classic internal network card and a USB/Ethernet adapter on my computer. My ECU supporting Doip is plugged to the usb/ethernet adapter. The network card is used for other communication.
When I simply create my client (as in this package's documentation : address, announcement = DoIPClient.get_entity()), the VehicleIdentificationRequest is sent by default to my internal ethernet card.
I would like this request to go to my usb/ethernet adapter.
If I deactivate the internal network card via the Windows control panel, the VehicleIdentificationRequest goes to my usb/ethernet adapter and I correctly receive the response from my ECU with its IP address, its port and its logical address.
How can we define the communication interface of the DoIP client?
Thanks for your help

re,
I just found my answer using your answer located here :
https://github.com/jacobschaer/python-doipclient/issues/33
I didn't understand your answer on first reading.
By modifying the line:
sock.bind(("", udp_port))
and replacing the ""  by IP address of my usb/ethernet adapter, I solved the problem.
I also manually put this address in my interface settings.
My problem is solved now. On the other hand, it requires me to always use this address for all our adapters on different computers connected to the diagnostic gateway.

The intention is that your network interface should be associated with an IP in the correct subnet so that the OS will deliver broadcast packets to it. If your NIC isn't in the correct subnet then I wouldn't expect get_entity() to work. For IPv6 with multicast, it's a little more complicated as IGMP requires specifying a source interface anyways hence we allow the user to pass in their desired interface. But in general it's better to let the OS handle such things.
An argument could be made to having get_entity() and await_vehicle_announcement() accept a client_ip specifically for IPV4 that defaults to None - if it's None use INADDR_ANY (""). It's somewhat confusing for IPV6 though as the source_interface and client_ip could potentially not match


Enable CD for apache-httpcomponents-client-4-api and add developers

Description
Enables CD on https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin and adds additional developers who will need GitHub access: @jtnord @olamy @car-roll @rsandell.
See also https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin/pull/94.
CC @oleg-nenashev as an FYI.

Submitter checklist for adding or changing permissions

Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[x] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

@dwnusbaum you have access to add the rest

No objections


Custom cache container

I extended parameters for the memoize () function to allow custom cache container.

#1

Hi @alxbbnk
Thank you very much for your effort! I'm currently adapting the project to a new setup, including tests, as soon as I'm done with that I'll make sure to include your changes as well (I'll assume cherry-picking your commit should work 👍).

I really like the change of providing your own map implementation, but I think that hashing elements before putting them into the HashMap can have bad consequences in case of collisions. While working in large sets of data it isn't uncommon. HashMap on its own handles collisions storing multiple elements in linked list(that's why HashMap access is in amortized constant time) while it isn't the case in this example.
It would be better to pass a list of elements if we want to omit using Quadruple and other types there.

I really like the change of providing your own map implementation, but I think that hashing elements before putting them into the HashMap can have bad consequences in case of collisions. While working with large sets of data it isn't uncommon. HashMap on its own handles collisions storing multiple elements in linked list(that's why HashMap access is in amortized constant time) while it isn't the case in this example.
It would be better to pass a list of elements if we want to omit using Quadruple and other types there.

Hi, @krzysztofsroga.
Thanks for the review!
I absolutely agree with your point of view. That sounds reasonable 👍

I had to adapt a bit the code to still use the Quadruple and Quintuple data classes, otherwise the tests would fail for arity 4 and 5.
Changes have been included in #4


Limited visibility for the plan

It would be great if there was a modification that would allow you to limit the plan, so as not to load a weak PC a lot of instances
Example:

when placed, the blueprint is shown in its entirety
after placement, the blueprint shows only a few objects, and the rest only after the first ones are built

Or turn on/off the visibility of blueprints with button

Did you try the config option for transparency? You can set that to 100% to make the plan pieces "invisible". Not sure this will help with performance, though.


Use previous version of shellcheck docker image

newer versions of the image don't have cat installed and docker pipeline fails

wow, no cat O_o


Autoclose path on double click

Would be nice to consider closing drawing path on double click action or escape Key.
Got myself stuck with an unclosable path when markers are too close or on top of each other.
Nice tool either way.

@Dahkon I'm aware of the problem, someone else requested this too. I think I'll implement double click. ESC key usually is like a cancel, not a "complete action" key.
Thanks for the feedback - I hope I can push a release by next week including this change.

You're right for escape key.
Looking forward for double click.

@Dahkon it's released now. It created another problem though which is described here:
https://github.com/codeofsumit/leaflet.pm/issues/147
I'd welcome your input on it.

@codeofsumit is the cancel operation on ESC key implemented?

@kanmaytacker no, if you would like to add it as a feature request, please open a new issue or feel free to submit a PR 👍
Have a good start into the new week!


[SPARK-38949][SQL] Wrap SQL statements by double quotes in error messages

What changes were proposed in this pull request?
In the PR, I propose to wrap any SQL statement in error messages by double quotes "", and apply new implementation of QueryErrorsBase.toSQLStmt() to all exceptions in Query.*Errors w/ error classes. Also this PR modifies all affected tests, see the list in the section "How was this patch tested?".
Why are the changes needed?
To improve user experience with Spark SQL by highlighting SQL statements in error massage and make them more visible to users.
Does this PR introduce any user-facing change?
Yes. The changes might influence on error messages that are visible to users.
Before:
The operation DESC PARTITION is not allowed

After:
The operation "DESC PARTITION" is not allowed

How was this patch tested?
By running affected test suites:
$ build/sbt "sql/testOnly *QueryExecutionErrorsSuite"
$ build/sbt "sql/testOnly *QueryParsingErrorsSuite"
$ build/sbt "sql/testOnly *QueryCompilationErrorsSuite"
$ build/sbt "test:testOnly *QueryCompilationErrorsDSv2Suite"
$ build/sbt "test:testOnly *ExtractPythonUDFFromJoinConditionSuite"
$ build/sbt "testOnly *PlanParserSuite"
$ build/sbt "sql/testOnly *SQLQueryTestSuite -- -z transform.sql"
$ build/sbt "sql/testOnly *SQLQueryTestSuite -- -z join-lateral.sql"
$ build/sbt "sql/testOnly *SQLQueryTestSuite -- -z describe.sql"

@ivoson @yutoacts @leesf @cloud-fan @HyukjinKwon @gengliangwang @panbingkun Could you review this PR, please.

GAs passed. Merging to master.
Thank you, @ivoson @yutoacts @leesf @cloud-fan @HyukjinKwon @panbingkun for review.


ERROR in No suitable injection token for parameter 'sanitizer' of class 'CsvDirective'.

when using Ivy

On 8 or 9?

8

there was issues with 8 and ivy. try 9 + ivy with latest version


Preparing March release for azure-core-amqp

Description
Prepares release for azure-core-amqp 2.4.1.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run azure - core - ci

/check-enforcer override


Add WBTC mainnet deployment contract address to list

What was the problem?
This PR resolves #LISK-903.
How was it solved?
Added WBTC address to the README and mainnet addresses list
How was it tested?
Checked the contract address on Blockscout explorer.

@matjazv Will confluence be updated automatically from this?


“Fluidly stream large external response chunks”This function has disappeared.

Bug Report
Installation Method
Docker
Environment

Open WebUI Version: v0.5.2
Operating System: Debian 11

Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of Open WebUI.
[x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:
In previous versions, when using external models, large responses should be streamed fluidly to the frontend, allowing users to see the content progressively and smoothly as it is generated, rather than waiting for the entire response to be displayed at once. This smooth streaming was particularly helpful in mitigating the choppy, stuttering output sometimes experienced with models like Gemini.
Actual Behavior:
The "Fluidly stream large external response chunks" functionality has disappeared. Now, when receiving large responses from external models, users must wait for the entire response to complete before seeing it, rather than having the content displayed progressively and smoothly as it is generated. The smooth streaming experience is gone. This results in a very poor user experience, especially with models like Gemini, which are now even more prone to choppy, stuttering output without the smooth streaming.
Description
Bug Summary:
The "Fluidly stream large external response chunks" functionality has disappeared. When using external models, responses are no longer displayed in a smooth, streaming manner, with the text appearing gradually as it's generated. Instead, the entire response is delivered all at once after generation is complete. This issue is particularly noticeable with models like Gemini, causing a very choppy, stuttering output due to the lack of smooth streaming.
Reproduction Details
Steps to Reproduce:

Install the latest version of Open WebUI (v0.5.2) using Docker.
Configure and connect to an external model, especially a model like Gemini (e.g., via API).
Send a request that requires generating a large amount of text (e.g., a long story or detailed explanation).
Observe the returned text. You will notice that the text is no longer displayed progressively and smoothly as it is generated, but instead appears all at once after the entire response is complete, and with Gemini it is now extremely choppy and stuttering.

Additional Information
The lack of "Fluidly stream large external response chunks" makes using models like Gemini very difficult due to the extremely choppy and stuttering output as the text is no longer displayed in a smooth, progressive manner.

Bug Report
安装方法
Docker
环境

Open WebUI 版本: v0.5.2
操作系统: Debian 11

确认:

[x] 我已阅读并遵循 README.md 中提供的所有说明。
[x] 我使用的是 Open WebUI 的最新版本。
[x] 我已在下面的“重现步骤”部分提供了重现该错误的准确步骤。

预期行为:
在之前的版本中，当使用外部模型时，大型响应应该以流式的方式平滑地传输到前端，用户可以逐步且平滑地看到内容，而不是等待整个响应完成后一次性显示。 这种平滑的流式传输尤其有助于缓解诸如 Gemini 模型有时出现的卡顿和断断续续的输出。
实际行为:
“Fluidly stream large external response chunks” 功能消失了，现在接收来自外部模型的大型响应时，用户必须等待整个响应完成才能看到结果，而不是像之前那样看到逐步且平滑地显示的内容。平滑的流式传输体验消失了。这导致了非常糟糕的用户体验，特别是对于像 Gemini 这样的模型，在没有平滑流式传输的情况下，现在更容易出现卡顿和断断续续的输出。
描述
错误摘要:
“Fluidly stream large external response chunks” (平滑地流式传输大型外部响应块) 功能已消失。使用外部模型时，响应不再以平滑的流式传输方式显示，文本不再是逐步生成并显示。而是需要在整个响应生成完成后一次性显示。这个问题在使用 Gemini 这样的模型时尤其明显，由于缺少平滑的流式传输，导致输出非常卡顿和断断续续。
重现细节
重现步骤:

使用 Docker 安装最新版本的 Open WebUI (v0.5.2)。
配置并连接到一个外部模型，尤其是像 Gemini 这样的模型 (例如通过 API)。
发送一个需要生成大量文本的请求 (例如，一个长篇故事或详细的解释)。
观察返回的文本。 你会注意到文本不再是逐步且平滑地生成显示，而是等待所有文本生成完成之后一次性显示，并且在使用 Gemini 时现在极其卡顿和断断续续。

附加信息
由于缺少“Fluidly stream large external response chunks”功能，导致使用像 Gemini 这样的模型非常困难，因为文本不再是平滑、逐步地显示，导致输出非常卡顿和断断续续。

It has been deprecated, however community contributions are welcome here to bring back the functionality.


GEOMESA-2496 Set HBase conf in bulk ingest job

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

@aheyne can you review?


[#57] Add typescript rules  and fix existing issues

Add typescript rules  and fix existing issues
https://github.com/artemiscloud/activemq-artemis-self-provisioning-plugin/issues/57

@Msarawan I've assigned task https://github.com/artemiscloud/activemq-artemis-self-provisioning-plugin/issues/57 related to this PR. Please pull this PR and fix existing issues related to typescript.


GUVNOR-2226: Wires: Fixes following upgrade of Lienzo version

http://github.com/droolsjbpm/drools-wb/commit/1caba8613


Adjacency List and Adjacency Matrix Representation of Graph

I would like to implement these graph representations in C++ as part of GSSoC'21

I'm the participant in GSSOC'21. Could you please assign me this.I would love working on this.


Fix for issues #869 and #1018 - Constructor null check bug when @NonNull with @Accessors

Generates the null check on the constructor parameter instead of the
instance field. Fix for issues #869 and #1018.

Hi rspilker@ or rzwitserloot@, Do you mind taking a quick look at this? This bug is inconvenient for persons or teams that use a custom variable name prefix style. Thanks!

So far, I've only looked at the source code on Github. The fix itself looks good, although I didn't see the modified after-ecj file, which means that the test for that file will fail.
Also, could you add your name the the AUTORS file so we are legally coverred?
If you cannot get the tests for ecj working or need any other help, please let us know.

ECJ fix and test now included. Name added to AUTHORS file. Changed one of the variables to be final, to account for that case. One minor line change (removing Generated annotation) to account for changes from the latest merge. Let me know if I missed anything. Thanks!

Hi @rspilker. Just a ping that I've made your recommended updates. Thanks!

Thanks a lot! Sorry it took so long to get merged.


False Positive SQL Injection

Environment
Platform: Kubernetes Rancher / RKE2
Kubernetes/Platform Version(s): v1.25.11+rke2r1
OS: SLES15-SP4
NeuVector Version: 5.2.1 / 2.6.2
Describe the bug
NeuVector recognizes a SQL Injection when the word Floor is inside the SQL statement - for example:
update user.address set country='UK', street='Example Street 55 Floor 1', city='Bath' where id=012345678

To Reproduce
Steps to reproduce the behavior:

Deploy an example application with a database and some sample tables
Let your app execute the example SQL statement
Check NeuVector Security Events

Expected behavior
This shouldn't trigger a SQL Injection.
Screenshots
UI Issue
Additional context

Interesting


Can't print over 150 items via SpineOmatic.

Hi Support,
853CUM can't print over 150 items via SpineOmatic recently, and it seems that it does not wait until it is successfully loaded and opened, so I can't see the total result.
I'm not sure if it happened in the AP01 environment. I also checked another environment in AP01 and got the same issue.
If you would like to log in to Alma to check the issue, our workflow is as follows:
Using set name- 金龍圖書_0421
set content number- 337 items
Select a layout- Anchi Test
Select a template- Anchi Test
Offset- 0
Click "Print 337 labels," and it will open two empty pages.
Please see the link is our situation: https://vimeo.com/820427779/b7f9c3d227?share=copy
Many thanks,
Anchi

@Anchi77, I'm looking into this as a defect, although I haven't been able to replicate it. I've been successful with sets containing 150, 151, and 350 barcodes. I wonder if it is load related....

Hi, thanks for your reply. I think the issue is because of the region, it happens on AP01.
When I use ExLibris VPN in their environment and do the same thing, and it works. But if I disconnect VPN the same issue still happens.
Please see the link is our situation: https://vimeo.com/820427779/b7f9c3d227?share=copy

@Anchi77, do you have a case opened with Support for this issue? I think that might be a better way to a solution.

Thanks for your reply. Yes, the case number is 06731862.
Would you like me to transfer the case to Development?

iQuest case closed.


Not able to install it in Windows Container

When installing for windows container, it throws -

Any help?

Hey @Shashankkt thank you for your issue.
Can you please give some more contextual information?

what is your Main System (wich Version)?
what is your Docker-Desktop version?
run docker --version and docker context ls

I am running docker desktop in Windows 11, docker desktop version - 4.18.0

Any updates? I was able to install this when I switch to Linux Containers mode in Docker Desktop. Seems like it doesn't work with Windows containers mode in docker.
The documentation for this library is not very clear. Probably should mention it very clearly that this will only work with Linux containers so that people don't waste their time in figuring out how to make it work in windows containers. Just feedback.

@Shashankkt  thanks you for your feedback. I've been very busy the last few days, but I'll have another look at it by this weekend.

@Shashankkt I think it is a general problem of the docker extension. On my windows machine I have to tried out to install an extension with windows container. But i get the same error on every extension. I have open a bug on "Docker Extensions SDK"

Hey

@Shashankkt Unfortunately, Windows containers are not yet supported
https://github.com/docker/extensions-sdk/issues/234#issuecomment-1515917291


galera support

Would galera docker image: https://hub.docker.com/r/bitnami/mariadb-galera work with bitnami-compat?
If so is it possible to add the support for this image?

@unixfox Galera seems a bit complicated image. Study is needed It will be difficult soon, but I'll see when I have time.

@unixfox added But it's hard to test because I haven't used this image yet.

I just tried and unfortunately it doesn't fully work, the containers boots up, but it is missing some librairies for the MariaDB replication:
galera-mariadb-galera-1-1  | 2022-02-10 16:09:26 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (server 10.6.5-MariaDB-1:10.6.5+maria~buster-log) starting as process 1 ...
galera-mariadb-galera-1-1  | 2022-02-10 16:09:26 0 [Note] WSREP: Loading provider /opt/bitnami/mariadb/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
galera-mariadb-galera-1-1  | 2022-02-10 16:09:26 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/bitnami/mariadb/lib/libgalera_smm.so'
galera-mariadb-galera-1-1  | 2022-02-10 16:09:26 0 [ERROR] WSREP: wsrep_load(): dlopen(): /opt/bitnami/mariadb/lib/libgalera_smm.so: cannot open shared object file: No such file or directory
galera-mariadb-galera-1-1  | 2022-02-10 16:09:26 0 [ERROR] WSREP: Failed to create a new provider '/opt/bitnami/mariadb/lib/libgalera_smm.so' with options '': Failed to load wsrep library
galera-mariadb-galera-1-1  | 2022-02-10 16:09:26 0 [ERROR] WSREP: Failed to load provider
galera-mariadb-galera-1-1  | 2022-02-10 16:09:26 0 [ERROR] Aborting

Here is an example docker-compose file if you want to test:
version: '2.3'

services:
  mariadb-galera-0:
    image: ghcr.io/zcube/bitnami-compat/mariadb-galera:10.6
    environment:
      - MARIADB_GALERA_CLUSTER_NAME=galera
      - MARIADB_GALERA_MARIABACKUP_USER=my_mariabackup_user
      - MARIADB_GALERA_MARIABACKUP_PASSWORD=my_mariabackup_password
      - MARIADB_ROOT_PASSWORD=P4SSW0RD123
      - MARIADB_USER=my_user
      - MARIADB_PASSWORD=my_password
      - MARIADB_DATABASE=my_database
      - MARIADB_REPLICATION_USER=my_replication_user
      - MARIADB_REPLICATION_PASSWORD=my_replication_password
    volumes:
      - 'mariadb_galera_data_0:/bitnami/mariadb'
    healthcheck:
      test: ['CMD', '/opt/bitnami/scripts/mariadb-galera/healthcheck.sh']
      interval: 15s
      timeout: 5s
      retries: 6
  mariadb-galera-1:
    image: ghcr.io/zcube/bitnami-compat/mariadb-galera:10.6
    command:
      - bash
      - -ec
      - |
          # Wait 20 seconds to guarantee creation order
          sleep 20
          exec /opt/bitnami/scripts/mariadb-galera/entrypoint.sh /opt/bitnami/scripts/mariadb-galera/run.sh
    environment:
      - MARIADB_GALERA_CLUSTER_NAME=galera
      - MARIADB_GALERA_CLUSTER_ADDRESS=gcomm://mariadb-galera-0:4567,<IP_ADDRESS>:4567
      - MARIADB_GALERA_MARIABACKUP_USER=my_mariabackup_user
      - MARIADB_GALERA_MARIABACKUP_PASSWORD=my_mariabackup_password
      - MARIADB_ROOT_PASSWORD=P4SSW0RD123
      - MARIADB_REPLICATION_USER=my_replication_user
      - MARIADB_REPLICATION_PASSWORD=my_replication_password
    volumes:
      - 'mariadb_galera_data_1:/bitnami/mariadb'
    healthcheck:
      test: ['CMD', '/opt/bitnami/scripts/mariadb-galera/healthcheck.sh']
      start_period: 20s
      interval: 15s
      timeout: 5s
      retries: 6
    depends_on:
      - mariadb-galera-0

volumes:
  mariadb_galera_data_0:
    driver: local
  mariadb_galera_data_1:
    driver: local

@unixfox It will probably work.

Thank you, it does indeed work great!


CheckboxSelectMultiple fix for 1.8

Django 1.8 adds a div.related-widget-wrapper around checkbox ULs. Allow for this in CSS.

Thanks! Testing with django 1.8 is much appreciated!


Update to Python 3.13

Not sure what's going on here, but poetry struggles to install dependencies on both Python 3.12 and 3.13. Marking this as draft and will come back to this after the rest of the dependency upgrades are finished.


:question: Wii compatibility?

I know there's already a video on browservice working on the Wii here: https://youtu.be/Twz68-mcP84
But there is no guide anywhere showing how to set it up (Especially on Windows) I've already tried setting it up the Normal way, That is downloading the latest version and launching the browservice.exe file from my desktop. but when I go to load the proxy server page on my Wii, it says the page is currently unavailable.

Am I doing something wrong? and also has anyone else done this with success? If so please lend me feedback.

<IP_ADDRESS> is localhost (basically the device you're on), so you're currently trying to connect to a web server in your wii, which doesn't exist.
If your computer and the Wii are on the same network, try finding your computer's local IP, in Windows this is done the following way:
Open Command Prompt (or Powershell or the new Windows Terminal)
once it opens type ipconfig and hit enter.
it should output something like this
Example adapter:

      Connection-specific DNS suffix:
      Link-local IPv6 Address        .   : ::ffff:c0a8:0
      IPv4 Address        .        .        . : <IP_ADDRESS>
      Subnet Mask        .        .        . : <IP_ADDRESS>
      Default Gateway        .        .    : <IP_ADDRESS>

(This will be different, make sure the adapter matches what you're currently using) (There are also other ways of finding your IP, this is only one of them, google has some Graphical solutions)
You want to grab the IP address given in "IPv4 Address" and type it on your wii, like this http://<IP_ADDRESS>:8080
Also more things to note, there is no Virtual Keyboard in browservice yet so you will not be able to use just a wiimote to control this. The Wiimote's input is also a bit bugged on browservice (this might have changed, it was like this last time I tested.)

Thanks! I'll make sure to try this.

Unfortunately it did not work. I'm still receiving the same error, is there nothing else I can do?

What IP did you try?

Wait I'm pretty sure I know the problem, browservice is serving to <IP_ADDRESS>:8080 instead of <IP_ADDRESS>:8080 which means you cannot connect outside localhost, try to add the --vice-opt-http-listen-addr=<IP_ADDRESS>:8080 option whenever you run browservice.exe
e.g. through cmd C:\Users\xproot\Documents\> browservice.exe  --vice-opt-http-listen-addr=<IP_ADDRESS>:8081

do you think it might have to do with this error?
Fontconfig error: Cannot load default config file: No such file: (null)

it still isn't working even though I switched it to <IP_ADDRESS>:8080

also C:\Users\xproot\Documents> browservice.exe isn't a real directory on my computer.

I meant as an example, xproot is my username. And I can't help you further, this is out of my scope.
(fontconfig on windows?)

do you think it might have to do with this error? Fontconfig error: Cannot load default config file: No such file: (null)

I got the exact same error on Windows, however it'll just start normally. When the cmdline outputs "HTTP server started successfully" then you'll know it works.

If you are still experiencing this issue, could you show what you are doing in detail so that we can check that everything looks correct. At least the following things would be relevant to check:

What command line arguments do you use for browservice.exe on the Windows machine? (Particularly the --vice-opt-http-listen-addr option is important.)
The networking setup: are the Wii and the Windows machine connected to the same local network? What is the IP address of the Windows machine in that network?
Which address do you use in the Wii browser? (It should match the local network IP address of the Windows machine, NOT <IP_ADDRESS> or <IP_ADDRESS>.)
Are you sure that the Windows firewall is not blocking the connection? It typically presents a popup on the first run; if you answered wrong, you might have to go check the firewall settings.
What is the full output of browservice.exe? (The fontconfig config file error is not a problem.)

At least under the libretro dolphin core, the Internet Channel's reaction to Browservice does not trigger the keyboard input mode to allow one to type into any text areas as far as I can tell. There's a tantalizing possibility using https://www.branah.com/english as a homepage to get around this, but it's extremely sluggish. The option to google what's typed from that site doesn't seem to work maybe because it's trying to open a new window, nor does copying what's typed at the site seem to allow pasting into the URL line.