Support for SegmentURL@indexRange attribute on SegmentList

What version of Shaka Player are you using?

Can you reproduce the issue with our latest release version? Yes

Can you reproduce the issue with the latest code from master?
Yes

Are you using the demo app or your own custom app?
I am using the demo app

What browser and OS are you using?

Chrome on Mac

What did you do?

MPD File format
<Period id="1" duration="PT0H9M56.459S">   <AdaptationSet segmentAlignment="true" bitstreamSwitching="true" maxWidth="854" maxHeight="480" maxFrameRate="24" par="16:9" lang="und">    <SegmentList>     <Initialization sourceURL="bbb_320_24_dash_set1_init.mp4"/>    </SegmentList>    <Representation id="1" mimeType="video/mp4" codecs="avc3.64000D" width="320" height="240" frameRate="24" sar="4:3" startWithSAP="1" bandwidth="292021">     <BaseURL>bbb_320_24_track1_dash.mp4</BaseURL>     <SegmentList timescale="12288" duration="122880">       <SegmentURL mediaRange="1061-258684" indexRange="1061-1332"/>       <SegmentURL mediaRange="258685-726301" indexRange="258685-258956"/>       <SegmentURL mediaRange="726302-1216364" indexRange="726302-726573"/>       <SegmentURL mediaRange="1216365-1877332" indexRange="1216365-1216636"/>       <SegmentURL mediaRange="1877333-2364205" indexRange="1877333-1877604"/>       <SegmentURL mediaRange="2364206-2696636" indexRange="2364206-2364477"/>       <SegmentURL mediaRange="2696637-3022175" indexRange="2696637-2696908"/> ...

What actually happened?

I get the below message in the developer console

We do not support the SegmentURL@indexRange attribute on SegmentList.  We only use the SegmentList@duration attribute or SegmentTimeline, which must be accurate.

Is there plan to support SegmentURL
Thanks & Regards
Sunil

We have no plans to support indexRange.  This feature would require a large number of extra network requests just to get info about segment times.  Having this defies the point of a manifest, the manifest should contain the times of the segments so we don't have to download every segment first.  If you want to encode segment times in the container, you should be using SegmentBase.
Note that we do support SegmentURL, but we don't support the indexRange attribute.  We only support SegmentURL when it is used with the duration attribute or SegmentTimeline.  This allows us to get the segment times from the manifest.
I know that GPAC uses indexRange, but usually the duration is accurate.

Since we have no plans to support this feature at this time, I'm marking this as "will not implement" and closing.  If you feel strongly about it, please let us know and we can discuss further.


Fix Plugwise climate issues for new firmware #32080

Proposed change
Bump Haanna to 0.14.3, fixing the reported Home Assistant issue:
fixes #32080
Type of change

[X] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:
Unchanged
Additional information

This PR fixes or closes issue: fixes #32080
This PR is related to issue: #32080
Link to documentation pull request: n/a

Firmware changed timestamp format - python module was updated accordingly to handle this, bumped version of the requirement accordingly.
Checklist

[x] The code change is tested and works locally.
[x] Local tests pass. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the [development checklist][dev-checklist]
[x] The code has been formatted using Black (black --fast homeassistant tests)
[ ] Tests have been added to verify that the new code works.

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

[ ] Documentation added/updated for [www.home-assistant.io][docs-repository]

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

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

The integration reached or maintains the following [Integration Quality Scale][quality-scale]:

[ ] No score or internal
[ ] 🥈 Silver
[ ] 🥇 Gold
[ ] 🏆 Platinum

Tested and working on my system.

+1 tested and working nicely on 105.5 and 106b1

@springstan that looks like the best way to get it to the users of the integration when their devices upgrade to the new version, unless the gates are closed on 106

@CoMPaTech nope still open :)

Tnx!


Error: Bundles must have unique names.

Error: Bundles must have unique names. The css file is referenced while using the style tag, they will be output as index.css at the same time

Same here

@gxy5202 nothing particular, static website building with just the specified ".parcelrc" in your readme.
  "dependencies": {     "highlight.js": "^11.5.1",     "reveal.js": "^4.3.1"   },   "devDependencies": {     "@parcel/core": "^2.5.0",     "@parcel/optimizer-svgo": "^2.5.0",     "@parcel/transformer-image": "^2.5.0",     "@parcel/transformer-sass": "^2.5.0",     "@parcel/workers": "^2.5.0",     "parcel": "^2.5.0",     "parcel-namer-hashless": "^1.0.3",     "posthtml-doctype": "^1.1.1",     "posthtml-include": "^1.7.3"   },

@pixu1980 yeah, llike which imported files are packaged in your project, or you can send a screenshot of the error report

@gxy5202 it fails while building font files assets i guess

@pixu1980 Thanks. It seems that the mechanism of parcel, the name of the compiled static file must be a unique value with a hash. But in dev mode, parcel-namer-hashless won't work.Does this happen in your production mode?

@pixu1980 I noticed that you used NODE_ENV=development, remove this command and try again

@gxy5202 same result

@pixu1980 Thanks for your feedback, I'm going to check the parcel source code, and see if there is any solution to solve this problem. Before that, you may use parcel-namer-rewrite plugin to change your bundle file name.

@pixu1980 Thanks for your feedback, I'm going to check the parcel source code, and see if there is any solution to solve this problem. Before that, you may use parcel-namer-rewrite plugin to change your bundle file name.

This happens when parcel does code splitting. It seems to name the split chunk the same as whatever first referenced it.
For example if module1.js and module2.js both import jquery, instead of building something like
module1.hash.js
module2.hash.js
jquery.hash.js
You will end up with
module1.hash1.js
module1.hash2.js (this one is jquery)
module2.hash.js
I'm not sure where the responsibility for this lies but I don't think it's in this namer plugin. It does what it's meant to do which is remove the hashes from filenames. Perhaps this problem is fixable by using a custom bundler plugin? I have no idea.
Another thing I'm not sure where the responsibility lies is that when I use parcel to build an HTML file that has links to scripts and styles in it, the files will have the hashes removed, but the links to those files in the built HTML will not.

seems
Thanks for your feedback.
1.It looks like you're describing the 'Shared Boundles' problem.The only thing I'm sure of is that the error was reported inside parcel, so I don't know how to solve this problem right now.
2.Can you provide a more detailed description of the built HTML issue？

To get around this I'm disabling code splitting with

"@parcel/bundler-default": {
    "minBundles": 100,
    "minBundleSize": 3000,
    "maxParallelRequests": 20
  }

Apologies - after deleting .parcel-cache this is no longer an issue

I'm having the same error with .js files not css files. Even though I have only one .js bundle output at the end of Parcel, I have identical filenames in various folders and I think that is breaking this naming plugin. Any idea what to do please? I supposed could check every filename for duplicates and change them to be unique...

I'm having the same error with .js files not css files. Even though I have only one .js bundle output at the end of Parcel, I have identical filenames in various folders and I think that is breaking this naming plugin. Any idea what to do please? I supposed could check every filename for duplicates and change them to be unique...

Which version are you useing? (parcel and parcel-namer-hashless)

Parcel 2.8.3. And this plugin 1.0.5

Parcel 2.8.3. And this plugin 1.0.5

OK, could you please list your file structure(just fake is ok) or give me an example(online code tools like codepen) that I can test it, then i think i can give you a solution.

Huh, I actually don't have any unique filenames, that's weird:
./src/serviceWorker.ts

./src/js/2_logic/state.ts
./src/js/2_logic/helper.ts

./src/js/3_io/browserStore.ts
./src/js/3_io/dropboxStore.ts
./src/js/3_io/storeHelper.ts

./src/js/1_data/types.ts
./src/js/1_data/testData.ts
./src/js/1_data/messages.ts
./src/js/1_data/constants.ts

./src/js/4_widgets/app.vue

./src/js/4_widgets/io/dropboxSignout.vue
./src/js/4_widgets/io/dropboxOAuthRedirectPage.vue
./src/js/4_widgets/io/save.vue
./src/js/4_widgets/io/dropboxSignin.vue

./src/js/4_widgets/home/home.vue

./src/js/4_widgets/part/header.vue

./src/js/4_widgets/journal/journalScreen.vue
./src/js/4_widgets/journal/text.vue
./src/js/4_widgets/journal/date.vue
./src/js/4_widgets/journal/time.vue
./src/js/4_widgets/journal/journalEntry.vue
./src/js/4_widgets/journal/deleteEntryButton.vue
./src/js/4_widgets/journal/mood.vue
./src/js/4_widgets/journal/newEntryButton.vue
./src/js/4_widgets/router.ts

./src/index.html

./src/external/css/normalize.css

./src/media/img
./src/media/img/logo.svg
./src/media/img/appIcon512.png
./src/media/img/logo.png

./src/main.ts
./src/app.webmanifest

./src/css
./src/css/main.css

I found this command works fine to remove content hashes instead of your name plugin though:
#!/bin/bash

for file in ./dist/*.*; do
    new_filename=$(basename "$file" | sed -E 's/\.[a-zA-Z0-9]+\.(\w+)$/\.\1/')
    if [[ "$new_filename" != "$(basename "$file")" ]]; then
        mv "$file" "./dist/$new_filename"
    fi
done

I even tried specifying only the final output index.js, but it doesn't work:
"include": ["serviceWorker.js$", "index.html$", "css$", "png$", "svg$", "index.js$"],

Huh, I actually don't have any identical filenames, that's weird:
./src/serviceWorker.ts

./src/js/2_logic/state.ts
./src/js/2_logic/helper.ts

./src/js/3_io/browserStore.ts
./src/js/3_io/dropboxStore.ts
./src/js/3_io/storeHelper.ts

./src/js/1_data/types.ts
./src/js/1_data/testData.ts
./src/js/1_data/messages.ts
./src/js/1_data/constants.ts

./src/js/4_widgets/app.vue

./src/js/4_widgets/io/dropboxSignout.vue
./src/js/4_widgets/io/dropboxOAuthRedirectPage.vue
./src/js/4_widgets/io/save.vue
./src/js/4_widgets/io/dropboxSignin.vue

./src/js/4_widgets/home/home.vue

./src/js/4_widgets/part/header.vue

./src/js/4_widgets/journal/journalScreen.vue
./src/js/4_widgets/journal/text.vue
./src/js/4_widgets/journal/date.vue
./src/js/4_widgets/journal/time.vue
./src/js/4_widgets/journal/journalEntry.vue
./src/js/4_widgets/journal/deleteEntryButton.vue
./src/js/4_widgets/journal/mood.vue
./src/js/4_widgets/journal/newEntryButton.vue
./src/js/4_widgets/router.ts

./src/index.html

./src/external/css/normalize.css

./src/media/img
./src/media/img/logo.svg
./src/media/img/appIcon512.png
./src/media/img/logo.png

./src/main.ts
./src/app.webmanifest

./src/css/main.css

I found this command works fine to remove content hashes instead of your name plugin though:
#!/bin/bash

for file in ./dist/*.*; do
    new_filename=$(basename "$file" | sed -E 's/\.[a-zA-Z0-9]+\.(\w+)$/\.\1/')
    if [[ "$new_filename" != "$(basename "$file")" ]]; then
        mv "$file" "./dist/$new_filename"
    fi
done

Yes, technically u can use any tools or language to change a file‘s name if they have the ability.  I think your problem is because of a

"@parcel/bundler-default": {
"minBundles": 100,
"minBundleSize": 3000,
"maxParallelRequests": 20
}

@devotion-sam , what does this do please? Surely if you want to disable splitting then the max of something should be 1 somewhere...
And where do I put that code??

see this doc. In package.json
https://parceljs.org/features/code-splitting/

Parcel 2.8.3. And this plugin 1.0.5

OK, could you please list your file structure(just fake is ok) or give me an example(online code tools like codepen) that I can test it, then i think i can give you a solution.

The bundles config doesn't help either. Here's the repository, with keys removed - https://we.tl/t-rdGd2WJe0E.
If you have time to see why your plugin isn't working I'd appreciate it.
To run:
npm update
npm run buildNoCheck

Parcel 2.8.3. And this plugin 1.0.5

OK, could you please list your file structure(just fake is ok) or give me an example(online code tools like codepen) that I can test it, then i think i can give you a solution.

The bundles config doesn't help either. Here's the repository, with keys removed - https://we.tl/t-rdGd2WJe0E.
If you have time to see why your plugin isn't working I'd appreciate it.
To run:
npm update
npm run buildNoCheck

OK, I will check it later and give you a response

Parcel 2.8.3. And this plugin 1.0.5

OK, could you please list your file structure(just fake is ok) or give me an example(online code tools like codepen) that I can test it, then i think i can give you a solution.

The bundles config doesn't help either. Here's the repository, with keys removed - https://we.tl/t-rdGd2WJe0E.
If you have time to see why your plugin isn't working I'd appreciate it.
To run:
npm update
npm run buildNoCheck

Sorry to keep you waiting, I finally found the problem.
There is a

Fixed (#10 ). Please update to v1.0.6.


Obfuscated Payload - 1st Set of Prompts Broken

The obfuscated payload, by design, elicits three sets of prompts that are displayed to the user. For some reason, the first set of prompts don't display the provided DDE command string, but rather "!Unexpected end of formula". Need to devise fix for this.

Fixed in c18ff7129c69db4bf5abb45727b612b4b1f3f65b


Macro: R3, R4 and R5 connection points shown as R2, R3 and R4 on monomer preview tooltip and connection points are missing for (R1,R3,R4,R5) peptide

Steps to Reproduce

Switch to Macromolecules view
Load this file: (R1,R3,R4,R5).zip
Hover mouse over peptide

Actual behavior

R3, R4 and R5 connection points shown as R2, R3 and R4 on monomer preview tooltip
R1, R2 and R3 connection points shown instead of R1, R3, R4 and R5
Expected behavior
R3, R4 and R5 connection points shown on monomer preview tooltip
R1, R3, R4 and R5 connection points are shown instead of R1, R2 and R3
Desktop (please complete the following information):

OS: win10
Browser Chrome 120.0.6099.110 (Официальная сборка), (64 бит)

Ketcher version [e.g. v2.4.2].

Verified.


Provide DatabaseInstance for Octavia if not explicitly set

Several of the operator integrations include a conditional to set a hardcoded-yet-consistent default DatabaseInstance value if it is not explicitly set for the component operator. This block was missing from the Octavia integration.
Jira: OSPRH-12243

/cherrypick 18.0-fr1


backup-test: Add autodiscovery and rdedup

Hi. I am a rdedup developer and I actually wanted to compare rdedup with other tools myself. Your scripts are exactly what I was looking for, so I just added rdedup support.
I have also changed the semantic to automatically discover the paths, unless given manually. This way I don't have to install all of them to compare what I am actually interested in.
Also, I've added some minor hardening.
Sorry for not making multiple smaller patches myself, but I only had time to get done what I am personally interested in.

This looks great!  Contributions from other people is exactly what I hoped for when starting this project.  And it is even better when it comes from developers like you!

I got the same error when installing rdedup on macOS and Ubuntu:
error: failed to run custom build command for `libsodium-sys v0.0.14`
process didn't exit successfully: `/tmp/cargo-install.IjKMaEeJFBcy/release/build/libsodium-sys-20e48ba306557785/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libsodium\"` did not exit successfully: exit code: 1\n--- stderr\nPackage libsodium was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libsodium.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libsodium\' found\n"', /checkout/src/libcore/result.rs:860
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Do you have any experiment results to share?

@gilbertchen Something is missing in PKG_CONFIG_PATH. As long as pkg-config --cflags libsodium doesn't return anything, there's something wrong. Try locating the corresponding pc file with something like: find / | grep libsodium.pc, and then add it's parent dir to PKG_CONFIG_PATH. Make sure libsodium is installed, first of all.  :)
According to my own tests rdedup is quite competitive speed-wise, but could improve in space savings (ended up with 1.4G, see https://github.com/dpc/rdedup/issues/47 for more). Now that I actually have a benchmark and goal, I'll be able to improve it. Eg. https://github.com/aidanhs/rsroll/pull/5


Feature/Virtual Environment and Poetry

I've implemented the configurations for both Virtual Environment and Poetry. Additionally, I've successfully addressed two issues: one related to duckduckgo_search==4.1.1 and the other involving the OSError related to the inability to load the library 'gobject-2.0-0'.
@datafyresearcher, this account belongs to me.

Kindly review Feature/Virtual Environment and Poetry and then merge it with master branch. @assafelovic

+1

Sorry for late response on this this is a great addition thank you @aaaastark

~ is better.


Add story kind regex

Issue: #892
What I did

Added storyKindRegex to filter stories based on the story's kind.
Renamed storyRegex to storyNameRegex, but preserved backward compatibility (let me know if this is no longer required).
Updated documentation to reflect changes.

How to test

Create a basic storybook and:

Check storyRegex still works.
Check storyNameRegex behaves the same as storyRegex.
Check storyKindRegex only runs stories which kind matches the regex.

Thanks @olistic. Will review and merge today!

@ndelangen these errors are not related to this change. I'm merging it now because this is a PR I closed on the storyshots repo yesterday as part of the cleanup, and I want to get it done.

@olistic @shilman I am going through my project's upgrade from Storybook to Storyshots and I ran into this hard deprecation (ie, the storyRegex key being removed and being forced to switch to storyNameRegex). I tried scanning CHANGELOG.md for any breaking change note about this renaming, but found nothing. It would be nice to have some sort of documentation about this breaking change. Maybe I missed it, does such a note exist? If not, are you okay with having this added to CHAGNELOG.md to help save time for other developers like myself going through a Storybook/Storyshots upgrade? Thank you.

@ecbrodie, sure


Consider adding Private Endpoint info

Please consider adding information about Private Link-related resources that may need to be deleted after using Azure Migrate with Private Endpoints. For example, the Private Endpoints themselves and Private DNS zones may no longer be needed.

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

ID: cbeacd6d-612f-c1b0-9dfc-014c70cb0242
Version Independent ID: b2e68d40-1b8c-5060-6575-5f69ea0d653c
Content: Delete an Azure Migrate project - Azure Migrate
Content Source: articles/migrate/how-to-delete-project.md
Service: azure-migrate
GitHub Login: @MaryMichael-MS
Microsoft Alias: v-michaelar

I guess the names of the private endpoints themselves are there, but not the DNS zones. Also this text has a misformatted link.

The following tables summarize the resources created by Azure Migrate to discover, assess, and migrate servers over a private network using Azure private link.

@dcbrown16
Thanks for your feedback! We will investigate and update as appropriate.

@dcbrown16 - Thanks again for bringing this to our attention. We are updating the doc and it will be live once it's merged.  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


How to fix aliasing problem in BBMetalView?

Hi @Silence-GitHub, I just tested your demo with and without filter camera preview but the output looked aliasing. You can concentrate on the edge region to see the different with with the default camera. Hopefully you can fix it soon. Thanks!

Version 1.0.5 fixes it.

Thanks @Silence-GitHub, it seem to work


Add compatibility for Istio CNI plugin

What this PR does / why we need it:
When Istio is installed with its CNI plugin, KServe inference services are not capable to start, because networking is not available to the storage-initializer, which is an init-container.
These changes use the approach documented in Istio CNI docs for running the storage initializer using the same UserID as the Istio sidecar. The UID is copied from the sidecar container to cover Istio derivatives, like Maistra.
The downside is that the traffic of the storage initializer won't be captured by Istio and won't benefit from Istio features, although this should be OK for the storage-initializer case.
The modification to the UserID of the storage initializer container is done only when Istio CNI is detected.
The reinvocation policy of the mutating webhook for pods had to be changed to IfNeeded since the order of execution of mutating webhooks is unpredictable. The change of the policy is to ensure that the webhook would be called after Istio does the injection of the sidecar, allowing to properly set the UID of the storage initializer when needed.
Fixes #2096
Type of changes
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Feature/Issue validation/testing:
Installing Istio with the CNI plugin. See https://istio.io/latest/docs/setup/additional-setup/cni/. Then, deploying KServe with the changes in this PR and validating that the security context of storage initializer is properly configured to use the same UserID as the Istio sidecar.
Also, unit tests were added.
The backwards compatibility validation of the non-CNI case is delegated to existing automated E2E tests.
Checklist:

[x] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[x] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:
Add compatibility for Istio CNI plugin

@israel-hdez Have you looked at the ClusterStorageContainer where you can now customize the storage initializer container? you can update the security context there. This is quite Istio specific and KServe now does not require Istio to run inference services.

@israel-hdez Have you looked at the ClusterStorageContainer where you can now customize the storage initializer container?

@yuzisun I'm aware of it, although I'm not sure if it will fully cover the need. Perhaps for standard Istio ClusterStorageContainer can be enough, because the UserID is well known.
The problem is that in OpenShift the sidecar runs without a predictable UID and can change per namespace. We would need controller support for that case, since the UID can only be determined at runtime.

@luksa, I wonder if you could take a look at this PR. We will appreciate a review from an Istio/CNI expert to know if all this makes sense.
@yuzisun Kindly reminder that I fixed your feedback.

/lgtm
/approve

Thanks @yuzisun and @luksa !


Client Allocation Request for: 成都华栖云科技有限公司

Client Allocation Questions
Core Information

Name: 成都华栖云科技有限公司
Website / Social Media: https://www.chinamcloud.com/
Region: Greater China
DataCap Requested: 20TiB
Addresses to be Notarized: f3vxjreoalyqfyqildl45tfb3iqgbcboxku4ktlcj4m3u4lbfnpfqebid54mueqge6rd2s7pytvcoafhxhcdxq
Notary Requested: MRJAVAZHAO

@cdhua Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hello, @cdhua
Please provide the following materials.
Organization name, business scale, social media accounts&follwers, and business license (could be sent by email); if you are an individual, please provide name, date of birth, working company and scale, employment certificate, social media accounts&follwers, and ID card (can be sent by email);
When did you start learning about Filecoin? Please give a description about the projects you have participated in ? What do you want to get from Filecoin? Any suggestions or expectations for the Filecoin Network?
Is there any law risk? What percentage of questions are yours?
Please describe your organization, such as established time, the number of employees, users volumn, the number of social media followers.
How about your data volume, source and later planning? Please describe the type, format, source, storage capacity, publicity (and if data could be public, how can others retrieve it?) of the data to be stored in Filecoin.
In which area do you plan to store you data? How many miners do you want to find ? Please list the miner ID. How about the proportion of the storage for each miner? What are the requirements about miners? At last, please state your redundancy plan.
Do you agree to disclose transaction information? If you get DataCap, please make the transaction information public on the Issue in time.

Name：Chengdu Huaqi Cloud Technology Co., Ltd.
Nature：Other Limited Liablity Company
Registration Place ：9th Floor, Block A, Building 4, No. 200, the fifth Tianfu Street, High-tech Zone, China (Sichuan) Pilot Free Trade Zone
Registration Number：91510100MA61X50Q56
Establishment Time：2016-08-09
Principal Business：Development, sales and leasing of computer hardware and software; Computer system integration;Data processing, data storage, etc.
Principal Place of Business：Chengdu City, Sichuan Province, China
Address (for all correspondences) : 9th Floor, Block A, Building 4, No. 200, the fifth Tianfu Street, High-tech Zone, China (Sichuan) Pilot Free Trade Zone
Legal Person：Shen Yuyin
Blog：华栖云； More than 2000 followers.
Wechat Official Account：华栖云；More than 3000 followers.
Business license has been sent to your email address.
We are in the business of storage, so we pay close attention to the latest technology of storage, especially IPFS. Knowing that Filecoin has a Filecoin Plus program that reduces cost in storage in 2021, I started experimenting with Filecoin network storage. I think the Filecoin network is a good storage solution, and I'm very optimistic about Filecoin's future.
We do not have any legal risks in our business, and the existing labor disputes have been basically resolved.
Company Profile：
Chengdu Huaqi Cloud Technology Co., Ltd. was established in August 2016 with a registered capital of 140 million yuan and is headquartered in Jingrong International Plaza which is located in Chengdu High-tech Zone. Our company mainly provides professional media cloud services for the booming enterprise user market in the era of pan-media and big video. In 2018, company completed the A-round financing of 120 million RMB. More than 200 people work in Huaqi Cloud.
Huaqi Cloud has the core capabilities of the industry-leading media cloud technology. Based on the media cloud service, users can establish professional media capabilities of production company, intelligent education and online video service in a very short time.With the portable capability of the cloud media service factory, users can generate and transmit video at any time, whether it is HD, UHD, virtual reality or holographic video. Innovative and intelligent media cloud services can greatly improve user business efficiency, help user business process reengineering and produce new business value. Up to now, Huaqi Cloud has landed thousands of public cloud services across different media organizations, serving more than 1,500 B-end enterprise users.
Website：https://www.chinamcloud.com
Blog：华栖云
Reports：

Media cloud field outstanding performance  Huaqi cloud and the company's chairman won a number of awards
http://www.p5w.net/roll/complex/202012/t20201224_2496225.htm
Chengdu Huaqi Cloud Technology Co., Ltd. has obtained A round of strategic financing of over 100 million yuan to build A leading media cloud service platform in China
https://www.sohu.com/a/249214743_695957
Huaqi Cloud and Ali Cloud create the first media public cloud platform
https://www.sohu.com/a/131655664_374240
Huaqi Cloud and Zhiyun Lab of Zhejiang University set up a joint laboratory for intelligent media processing
https://new.qq.com/omn/20200707/20200707A0EX8D00.html
Huaqi Cloud: Leading domestic professional media cloud services
https://tech.hexun.com/2019-09-12/198525498.html

Our customers are mainly from media industry so that the data types are mainly media industry data. These data are accessed by customers, totaling about 200 TiB. The data forms include videos, audios, pictures, documents, compressed packages, etc.
We will encrypt the data before storing it because it involves our clients.
We plan to find 4~5 miners and allocate 20%~40% to each of them with about 4 redundant copies.
When selecting a miner, we will focus on qualifications, storage experience, RawBytePower, reputation, cost, etc.
We agreed to make it public on GitHub.

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzacebf4y3bahvrneqqjmoe4ix3uuurkneq6eergxdccxoxxtpbadwnj4

Address

f3vxjreoalyqfyqildl45tfb3iqgbcboxku4ktlcj4m3u4lbfnpfqebid54mueqge6rd2s7pytvcoafhxhcdxq

Datacap Allocated

4TiB

You can check the status of the message here: https://filfox.info/en/message/bafy2bzacebf4y3bahvrneqqjmoe4ix3uuurkneq6eergxdccxoxxtpbadwnj4


Steam login disables password login?

Hello,
Seems like any account that enables steam login also disables the option to login using the username and password, is that the expected behavior?
Really want to allow my users to still be able to login with their username and password even tho a steam account has been associated. Tho, anyone who has their steam account associated attempting to login using a password get's a "403 Forbidden, you don't have access to this endpoint" error.

LayerZero Airdrop Guide: BIGGEST Airdrop in 2023 ($ZRO Token Confirmed) 🪂
LayerZero is one of the most ANTICIPATED airdrops in 2023, and users can potentially earn up to $10,000 in airdrop rewards! This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Claim Now on Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Share on Social Media:

Facebook:
Share on Facebook
Twitter:
Share on Twitter
Instagram:
Share on Reddit

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.


Connect synchronized

Is it possible to add sync bool Connect function to MtApi5?

Although, I find this now almost unusual.

Yes. It is possible.
I will add it some later.


Wizard - still require license file for automate tests development

Describe the issue
I just tested and it is not needed to use license file for below parameters
-includeTestToolkit     -includeTestLibrariesOnly
However when using New-BcContainerWizard it still says that I need to put custom license file when choose option b on screen below.
Scripts used to create container and cause the issue
New-BcContainerWizard

Full output of scripts
None

Screenshots

Additional context
none

Shipped in 2.0.10


Consolidator with custom start time

Background
Let's say you run a strategy on EURUSD, Oanda, daily bars. Each bar closes at midnight UTC, but you don't want to execute immediately since that time is when the spreads are highest. Let's say you'd like to execute at 1AM UTC instead (but still have the bar close at midnight). What are your options?
Firstly, you would have to build an execution model that only executes around 1AM UTC. That's not too difficult, but in order for this execution model to run, you need to increase the data resolution to hourly. You would also need to create a QuoteBarConsolidator to consolidate your hourly bars into daily ones.
What happens if you do that? Your daily bars will now start closing at 4AM or 5AM UTC instead! Why? Because all consolidators reference their times against the exchange timezone which (for some reason) is New York time for all Oanda forex pairs.
The only option I see to properly be able to execute at a different time than the bar close is to add a dummy security (not one of the ones you intend to trade) with a higher resolution. But because you're still using daily resolution for the securities you intend to trade, this means in a backtest they will execute on stale prices.
Expected Behavior
Quotebar and Tradebar consolidators allow for custom start times (down to the same resolution as the data resolution).
Potential Solution
A user built a working prototype but this operates on a timespan referenced on the exchange timezone. It should be possible to have the timespan reference UTC or another timezone.
Reproducing the Problem
I can try to produce a working example if necessary.
This is a feature request so this section is not needed.
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

Co-sign on this functionality being useful.
This issue looks similar to #2456?

Hey, that issue is for python support for consolidators of custom data. This is for allowing any consolidator to start at any time in any language.

I've built this: https://github.com/Doggie52/Lean-Zoned-Time-Of-Day-Consolidator
Never PRed it because I didn't feel the code quality and elegance was up to scratch. Thoughts on what kind of work it requires?

H,
Is there a way to have a start time with a four hour consolidator?

Existing FutureMarketOpenConsolidatorRegressionAlgorithm is an example of a consolidator using a custom start time


Ability to delete event from UI

code for testing
$('.divcalendar').scheduler().deleteEvent({$id:17})


Scale listeners for scale begin and scale end

Added:
onScaleBegin callback when scale starts
onScaleEnd callback when scale ends

This would be a useful PR to integrate into this library.

@fawaad hello! Is the spacing the only thing that needs to get fixed on this PR? I would gladly create a new one with those fixes (and of course all the credit will be for @harisk92). Maybe @harisk92 is a bit busy atm and I will glady help him out if that's the case. I think this feature will be super useful :)

@fawaad I removed blank lines. @wching @AdamMc331 sorry I was bit lost in space and time didn't had a chance to update PR but now I did.

@harisk92 no worries! We all have those :) thanks for your effort on updating the PR! 🙇

Understood, thanks @Jawnnypoo.


#11403: Initial port of T3000 Tests to Galaxy

Ticket
Link to Github Issue

Problem description
With recent MeshDevice changes, we can now start porting over our queue of T3000 tests over to Galaxy to add more regression testing.
What's changed
Key change to start enabling more T3000 Tests onto galaxy:

Currently ttnn.all_gather(..) in a ring relies on MeshDevice being initialized in ring-order. Now we decouple this so we don't require that MeshDevice is initialized with devices in a ring-order. Instead, we now explicitly request for a ring-order in the operation that requires it.

Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Hey @cfjchu  I'm mildly concerned with this inversion of responsibility where the ccl must request the topology it "wants" because in general it shouldn't or wouldn't know what it wants.
Instead what I thought the usage model would be is we have a universal entry point for a given ccl op and the ccl op is given APIS to query mesh information so it can set of its a ring or a line.
Is this still the case except the mesh device infra knows which op variant to dispatch to? Little confused about this interface.

Hey @cfjchu I'm mildly concerned with this inversion of responsibility where the ccl must request the topology it "wants" because in general it shouldn't or wouldn't know what it wants.
Instead what I thought the usage model would be is we have a universal entry point for a given ccl op and the ccl op is given APIS to query mesh information so it can set of its a ring or a line.
Is this still the case except the mesh device infra knows which op variant to dispatch to? Little confused about this interface.

@SeanNijjar This is a layered problem. So let's talk about what's currently in main. Today, our CCL all_gather op, receives a list of devices and then tries to make a decision about whether to use RING / LINE topology based on number of devices (I'm ignoring ttnn.line_all_gather here and just talking about ttnn.all_gather). This "inversion of responsibility" is already happening.
In main, if it infers we should be using ring topology, then we assume that the devices are ordered in a ring order, and today that order is currently tied to the MeshDevice device creation. Part of my changes in this PR is to explicitly decouple the relationship of between how ring-all-gather expects the ordering of devices and how the MeshDevice is instantiated and internally orders the devices. This does not attempt to resolve the existin "inversion of responsibility" that already exists. This PR is needed as a stepping stone so that I can actually attempt to fix the problem.
My plan is to commonize ttnn.all_gather(..) and ttnn.line_all_gather(..) into ttnn.all_gather(..., topology={LINE, RING} and make the TT-NN user in control of the decision and declare what all-gather topology they want as a function parametrization. This is what we talked about here: https://github.com/tenstorrent/tt-metal/issues/10915. Once we know what topology the user wants, then I think

looks good. But you don't need to add std:: to the size_t

Thanks for the review. I've stripped the std:: qualifer


Inventory is full all the time...

Hello guys,
I got all the time Inventory is full and i don`t know what to do :/
Now i verry reduce limits and my config looks like:
"item_filter": {
"Pokeball":       { "keep" : 25 },
"Potion":         { "keep" : 5 },
"Super Potion":   { "keep" : 10 },
"Hyper Potion":   { "keep" : 15 },
"Revive":         { "keep" : 15 },
"Razz Berry":     { "keep" : 25 }
}
}
When i run bot got:
2016-08-08 10:39:54,565 [PokemonGoBot] [INFO] Pokemon Bag: 57/250
2016-08-08 10:39:54,566 [PokemonGoBot] [INFO] Items: 273/350
2016-08-08 10:39:54,566 [PokemonGoBot] [INFO] Stardust: 33322 | Pokecoins: 0
2016-08-08 10:39:54,566 [PokemonGoBot] [INFO] PokeBalls: 25 | GreatBalls: 161 | UltraBalls: 0
2016-08-08 10:39:54,566 [PokemonGoBot] [INFO] RazzBerries: 25 | BlukBerries: 0 | NanabBerries: 0
2016-08-08 10:39:54,566 [PokemonGoBot] [INFO] LuckyEgg: 3 | Incubator: 3 | TroyDisk: 3
2016-08-08 10:39:54,566 [PokemonGoBot] [INFO] Potion: 5 | SuperPotion: 10 | HyperPotion: 15
2016-08-08 10:39:54,566 [PokemonGoBot] [INFO] Incense: 6 | IncenseSpicy: 0 | IncenseCool: 0
2016-08-08 10:39:54,566 [PokemonGoBot] [INFO] Revive: 15 | MaxRevive: 0
There is any option when inventory is full to start use GreatBalls or something like this?
Best Regards
TaKeN

add it to the config if you want. Al the items can be found here:
https://github.com/PokemonGoF/PokemonGo-Bot/blob/c5a7109fd82ea4644d4f8a598f5a83bab4361f63/data/items.json

So i need add:
"GreatBall": { "keep" : 100 },
What happened if i set:
"Pokeball": { "keep" : 0 },
He start use always GreatBalls ?

this is mine, works for me.
"config": {
"item_filter": {
"Pokeball":       { "keep" : 30 },
"Greatball":      { "keep" : 100 },
"Ultraball":      { "keep" : 50 },
"Potion":         { "keep" : 10 },
"Super Potion":   { "keep" : 20 },
"Hyper Potion":   { "keep" : 30 },
"Revive":         { "keep" : 30 },
"Razz Berry":     { "keep" : 100 }
}

The best will be if all will be in config.json... not add manually

The best will be if you make a bot of your own ;) it can't be easier than this....

No its not easier. Easier report a problem here to help everyone not doing own bot and happy because working for ME. Looks like You dont understand idea of github.

i dont understand the idea of github? Thanks that made my day! Next up for you: english class :+1:

Thank You for Your suggestion.
Best Regards.

Are you sure the message isn't Your Pokémon Inventory is Full!?
This means you can't carry more Pokémons, not items.


Cubesummary nobt

🚀 Pull Request
Description
New code for first eyes.  Replaces #3962
Replaced beautifultable with minimalist home-brew solution for printing text entries in columns.
Still WIP
TODO : better code comments + proper testing
FUTURE :  This should convert into a follow-on to #3952, when that is done.  It will need resolving against changes in that.
IN PROGRESS : I'm working on replacing actual cube summaries with this, and fixing existing tests for that.

Consult Iris pull request check list

@pp-mo Is this PR active? I'm guessing not since it's targeting v3.0.x...
Can it be closed?

@bjlittle Is this PR active? ... Can it be closed?

This is just a heads-up + draft to show thinking.
It was against v3.0.x as we started there in anticipation of the merge back to master.
I have new code, re-targetted against master, but I am waiting for #3988 before making a PR there.
Then I can replace this + close it.
We agreed yesterday that we will put this code onto master, but keep it private (or maybe in iris.experimental).
Meanwhile, the switch to finally replace the existing Cube.summary() implementation with this will be done initially on the "mesh-data-model" feature branch instead --  just so that we can defer the additional work to fix any awkward test knockons, like its breaking Cube._repr_html_().

Replaced by #3998


put new variable into next column

How I can put $host in next column "B1"?
I can put all variables in one cell "A1" or A1..A2..A3
$Tab = [char]9
$Data=(Get-Date -UFormat "%Y.%m.%d")
$comp=$env:COMPUTERNAME
$ID = "$Data $Tab $comp"
$ID |   Export-excel c:\COMPUTERNAME.xlsx -WorksheetName Date -AutoSize

Create a PowerShell object, with properties
$xlfile = "$env:temp\COMPUTERNAME.xlsx"
rm $xlfile -ErrorAction SilentlyContinue

$data = [PSCustomObject]@{
    Data=(Get-Date -UFormat "%Y.%m.%d")
    comp=$env:COMPUTERNAME
}

$data | Export-Excel $xlfile -AutoSize -Show

@przekoz If I can be so presumptive to generalize Doug's response. :-)
Export-Excel works similar to export-csv in that we send objects to the spreadsheet that are transformed into different columns of the worksheet - one property per column.
No need to try to navigate to a different cell to separate data,

@dfinke  thanks for quick repley
@uSlackr I have similar problem in export-csv (showed metod by @dfinke  did'nt work)
$xlfile = "c:\temp\COMPUTERNAME.csv"
rm $xlfile -ErrorAction SilentlyContinue

$data = [PSCustomObject]@{
    Date = (Get-Date -UFormat "%Y.%m.%d")
    comp = $env:COMPUTERNAME
}

$data | Export-csv $xlfile -NoTypeInformation

@przekoz your code works for me. if you open the csv file in notepad dose it looks exactly like this?

If so your csv is good, the problem is probably with your version of Excel reading it wrong.
You can open Excel and go to Data > Get Data > From File > From Text/Csv and make sure it get the delimiter correctly (should be comma)

@ili101  o'k but how i can import this csv file with cmdlet from importexcel module to xlsx like this

Convert the CSV data back into PowerShell Objects
Import-csv "c:\temp\COMPUTERNAME.csv" | Export-Excel "$env:Temp\COMPUTERNAME.xlsx" -show

@przekoz  to convert csv to xlsx you can do:
Import-Csv -Path "c:\temp\COMPUTERNAME.csv" | Export-Excel

great thanks Everyone. All works excelent


Handle "xref" more tolerant on broken PDF files.

One of my customers provided me some PDF file which QPDF is unable to parse properly and I'm somewhat sure that the problem is with the PDF itself, but in theory QPDF could handle that specific problem more tolerant. As it's doing so for other cases with non-standard xref already, I would like to document my problem her and discuss possible solutions. While I'm not able to share the whole PDF for privacy reasons, I'm going to share the most relevant parts according to my tests.
The following is the error:
C:\Users\tschoening\Desktop>qpdf --check "Test.pdf"
WARNING: Test.pdf: file is damaged
WARNING: Test.pdf (offset 31352): xref not found
WARNING: Test.pdf: Attempting to reconstruct cross-reference table
Test.pdf: unable to find trailer dictionary while recovering damaged file

The following is the relevant part around xref:
/Creator(Neevia docuPrinter TSE v6.8)
/Author(s0330765)>>endobj
xref
0 28
0000000000 65535 f
[...]
0000029431 00000 n
trailer
<< /Size 28 /Root 1 0 R /Info 2 0 R
/ID [<FF3A5C433DA07654221870C2893843C3><FF3A5C433DA07654221870C2893843C3>]
>>
startxref
31352
%%EOF

According to my tests, startxref simply is off by one: 31352 is the newline BEFORE xref, like can be seen in the following screenshot. Increasing that value to 31353 using some HEX editor makes the problem go away and allows QPDF to successfully parse the PDF.

Looking at QPDF::read_xref I saw that you are already dealing with xrefs violating the official spec and hoped you would provide a workaround for my problem as well:

// The PDF spec says xref must be followed by a line
// terminator, but files exist in the wild where it is
// terminated by arbitrary whitespace.

I'm of course willing to provide a PR, but can think of multiple possible solutions and would like to first check with you for the best approach: One approach could be changing read_xref to additionally check for the problem I have. Might get clumsy and the caller doesn't get a correct offset this way.
Another option might be changing QPDF::parse, where read_xref gets actually called and add another call to that function with an increased offset by one in the exception handler. Or one could add some additional read_xref optionally with an additional signature or such doing exactly that by catching the exception, recalling with an increased offset and in case of success return the correct offset to the caller.
In QPDF::parse again, where the actual offset is read, one could add some logic to check that the offset really belongs to some x of xref and else might increase it or such.
I would prefer the option internally wrapping read_xref to handle additional strategies of fault-tolerance, maybe giving it some other name: read_xref_tolerant or such. In that wrapper one could try again using my +1, maybe a +2 is needed at some point, maybe the space-handling after xref could be externalized as well etc.
What do you think?

Most likely I would just modify the code to locate the xref if it's near the suggested location, perhaps skipping over whitespace. I've learned over the years that this kind of auto-recover techinque is almost always worth it. I could have it give a warning. qpdf, like all good tools, should be tolerant about what it reads and strict about what it writes, but I originally wrote qpdf as a PDF checker, and there are still parts of the code that are needlessly strict. Mostly I have relaxed stuff and generated warnings. In any case, I think having qpdf be looser about finding the xref before it goes into a full-fledged recovery is worth doing and not very much code. I appreciate the offer of a PR, but my guess is that it will take me less time to look at the code and fix it myself than to analyze a PR and decide whether it's a complete and correct fix.

I appreciate the offer of a PR, but my guess is that it will take me less time to look at the code and fix it myself than to analyze a PR and decide whether it's a complete and correct fix.

Do you have any time schedule? While I don't want to apply any pressure of course, I have the problem that my customer might run into this problem at any time again and at least next time is simply going to ask me for when this will be fixed. :-) I would like to avoid applying a custom patch then unlikely to get merged as PR, just to need to remove that patch when you are fixing it differently.
Additionally I wrote to the company creating that PDF writer and asked for a fix on their site as well, just to be sure.

I don't have a specific time frame. However, I am hoping to get qpdf 9 out in the next few weeks. I had taken time off to work on qpdf but didn't quite get through, so I will probably steal a little more time to push it over the finish line.

I finally pushed a fix for this. I'm very close to the end of the changes for 9.0.0. I'm going to try to get that version out soon though realistically it could be a week or more.


How do I allow the user to take a photo with his mobile phone

This PR adds a recipe to take a photo from a phone.
I have to increase the upload limits to avoid the error: Multipart file maximum upload size exception
I also can compress the photo on the client side to avoid this, but it may be out of scope.

Tested on an iPhone, all I got was ”unexpected server error”

Crap. I've got an android. Do you have the stack trace? I'll try on the iPhone simulator tomorrow.

Seems like the max limit has no effect. The error is that the file is > 1MB

Added spring.servlet.multipart.max-file-size which seems to fix it

It works so I will merge it now. It does look like the image proportions are really wrong after upload on a phone (looks like forced 100% width but pixel height or similar)


Update Stride to v14.0.0

Stride will be updated at block https://www.mintscan.io/stride/blocks/5223225 Estimated Time:  Aug 31st 2023, 13:15:28
https://www.mintscan.io/stride/proposals/214

Pre-release image: ghcr.io/akash-network/cosmos-omnibus:v0.3.46-rc1-stride-v14.0.0


Change WindowsTargetPlatformVersion to 10.0

Overview
Changed to general version for WindowsTargetPlatformVersion
Using an explicit version of WindowsTargetPlatformVersion requires that specific windows SDK version to be installed on the machine.
In Visual Studio 2017 (version 15 or build tools 141) and earlier it was required but as of Visual Studio 2019 (v16 or v142) and Visual Studio 2022(v17 or v143) you can simply specify "10.0". This allows a lot more flexibility to the developer or build machine as there is a growing number of different windows 10 SDK out there now.
Test Plan
You can now install/run on machines without needing as specific of a windows 10.0 version (think of this as saying using the latest version of windows 10 sdk you have installed, so long as it meets the WindowsTargetPlatformMinVersion.
Newer versions of azure hosted windows images have a different subset.
VS2022 Azure Window image has
10.0.17763.0, 10.0.19041.0, 10.0.20348.0, 10.0.22000.0
VS2019 Azure Window image had
10.0.14393.0, 10.0.16299.0, 10.0.17134.0, 10.0.17763.0, 10.0.18362.0, 10.0.19041.0, 10.0.20348.0, 10.0.22000.0

Just because url/links can die, copy pasting answer here too.

Am I correct in interpreting that this will actually break people that are using old tools?

That is correct this is technically a breaking change for people using old MSVC build tools that come with Visual Studio 2017 or Visual Studio 2015. It is non breaking for build tools that come with Visual Studio 2019 or 2022. Assuming other things don't break in RNW
Though to be super specific, it technically isn't Visual Studio that is breaking change but the underlying MSVC build tools that comes bundled with each of those visual studio versions (e.g. Visual Studio 2022 comes with MSVC v143), and it is possible to install older build tools with newer visual studio during 'transitional' periods.
I think it's fair to say most people doing react-native-windows related work should be on at least VS2019 (MSVC v142) as that's what RNW has been using/recommending for a number of years now. And VS2022 has been out for almost a year too.
BREAKING CHANGE: If you are using react-native-windows, and you have Visual Studio versions older than Visual Studio 2019 or using build tools older than MSVC v142, you must upgrade Visual Studio and/or your build tools to use at least MSVC v142 (Visual Studio 2019). No one else is affected.

FYI now that the other one landed, I'll make a few other changes here too before too then.

Great - honestly it's almost scary, on device-info it semantically releases just on the commit alone. Always nervous I got the commit message right, but I did that time...

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:boom: done


Add to npm registry?

Could you make this awesome project available on the npm registry so I can add into dependencies of my package.json?
I saw there is already a package.json in the project root directory, however it's not available on the npm registry.

Sure. I'll do this as soon as possible.

Thanks! :+1:

https://www.npmjs.com/package/devicon


⚠ Bofrost.at has degraded performance

In 5e32ea2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 886 ms

Resolved: Bofrost.at performance has improved in dbd647c after 7 minutes.


delete Pkg.clone now that DataStreamsIntegrationTests is registered

Oh weird, I thought I had gone through and updated all these. Thanks for the catch!


Report 1307 "Standard Sales - Credit Memo": Make CompanyBankAccount variable accessible to extensions.

We like to add company bank account address and post code to our Sales Credit Memo reportextension (extends 1307), but due to its protection level it is not accessible. It works fine on the standard sales invoice report (1306).
So please add the "CompanyBankAccount" variable to the Protected vars, so that we can use it in our report extension.

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 13402.


workspace/didChangeConfiguration support

Would be nice. Currently I have to do this:
https://github.com/Akuli/porcupine/blob/224fe33829c14b6f0ca7292c09bc632cf0a980d8/porcupine/plugins/langserver.py#L434-L445
It creates error which I hide like this:
https://github.com/Akuli/porcupine/blob/224fe33829c14b6f0ca7292c09bc632cf0a980d8/porcupine/plugins/langserver.py#L775-L785

@Akuli
I have modified sansio_lsp_client/client.py like this, take a look / read description.
https://github.com/CudaText-addons/cuda_lsp/pull/3
maybe that helps?
I just needed to send settings to lsp-server at startup via workspace/didChangeConfiguration notification.
works for me.


⚠ GitLab Server has degraded performance

In ddf75b3, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11543 ms

Resolved: GitLab Server performance has improved in 214cfab.


Add grid system

https://zeroheight.com/73kwjxh8i/p/16f404

This is categorized as foundation/base-styles but should also exist as a react component(s).
For inspiration, see https://reactstrap.github.io/components/layout/#app


fix: Resolve "Variable not dropped" compilation error in enums crate

The commit addresses a compilation error where the compiler screamed Variable not dropped indicating a missing drop implementation for the Option<T> enum.
The error was triggered by the use of enums::Option in the test module, and it was resolved by adding #[derive(Drop)] to the declaration of the Option<T> enum.
This change ensures that the Option<T> enum implements the necessary drop trait, resolving the "Variable not dropped" error and allowing successful compilation of the enums module.

The Option enum is defined in the core library


UTILS-146 - Resolve debug logging in Utils

Description
Issue #UTIL-146

Removing comment regarding Issue #UTIL-146
Issue addressed in this PR
Ran poetry update notification-utils to pull in changes from notification-utils repo

Type of change
Please check the relevant option(s).

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation changes only
[x] Internal

How Has This Been Tested?

How has this been tested? (e.g. Unit tests, Tested locally, Tested as a GitHub action, Depoyed to dev, etc)
Please provide relevant information and / or links to demonstrate the functionality or fix. (e.g. screenshots, link to deployment, regression test results, etc)

No testing - simply removing comment in code

Checklist

[x] I have assigned myself to this PR
[x] PR has an appropriate title: #9999 - What the thing does
[x] PR has a detailed description, including links to specific documentation
[x] I have added the appropriate labels to the PR.
[x] I did not remove any parts of the template, such as checkboxes even if they are not used
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ N/A] I have commented my code, particularly in hard-to-understand areas
[N/A] I have made corresponding changes to any documentation
[x] My changes generate no new warnings
[N/A] I have added tests that prove my fix is effective or that my feature works
[x] I have ensured the latest master is merged into my branch and all checks are green prior to review
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] The ticket is now moved into the DEV test column

There should be testing here, because we need to know that the API picked up the Utils change. If you deployed this out to Dev and the regression passed, there should be evidence of the debug logs, so please provide that evidence.

There should at least be the mention of it being tested on the utils pr, but I approved because I saw the testing done there.


[Model]:  Can you provide the trained model?

Describe the feature
My machine can't run the training stage, can you provide model so I can use it to inference.

Possibly on Huggingface we can use for inference.

Do you have model name?

Hi, we currently don't provide the trained model due to the license restriction of the LLaMA model.
https://github.com/facebookresearch/llama/blob/main/LICENSE
One possible way to release the model is to release its LORA weights, we have this on our plan, possibly release next week.

Got it, thx~

Yeah if training is required then I wonder how immediate useful it is. There are many other models out there that too requires training.

You'd be surprised how many are getting pretty far with cheaply training their own models:
https://github.com/lm-sys/FastChat
https://vicuna.lmsys.org/

Thanks for sharing. Another one is https://github.com/nomic-ai/gpt4all.
The cost is too prohibitive to run some of these on consumer-grade hardware.


Typo "Azure Storage emulator"→"Azure Storage Emulator"

https://docs.microsoft.com/en-us/xamarin/xamarin-forms/data-cloud/azure-services/azure-storage

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@davidbritch : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add example for writing a FileFormat

Is your feature request related to a problem or challenge?
Now that @devinjdangelo has added better support for user defined file formats (see https://github.com/apache/datafusion/pull/11060)
We have an example of a custom table provider: https://datafusion.apache.org/library-user-guide/custom-table-providers.html and example
It would be great to have an example of creating a file format
Such an example would make sure the APIs added in this PR can be used for the end to end case, as well as obviously made it easier for others to discover and use this feature
Describe the solution you'd like
Add an example in https://github.com/apache/datafusion/tree/main/datafusion-examples that does:

Creates a new file format (something basic like use CSV / ROT13)
reads / writes data using that format

Describe alternatives you've considered
No response
Additional context
No response

take

I'll take this as I want to try it out. I do this for one of my libraries via the parser plus user defined nodes, so I want to see what this looks like as an alternative.

I'll take this as I want to try it out. I do this for one of my libraries via the parser plus user defined nodes, so I want to see what this looks like as an alternative.

Thanks @tshauck -- note https://github.com/apache/datafusion/pull/11060 isn't merged yet, so you may have to start the example against that branch rather than main

https://github.com/apache/datafusion/pull/11060 is now merged 🎉


Add support for custom routing

Knative/Istio supports custom host/path routing:

https://github.com/knative/docs/tree/master/serving/samples/knative-routing-go
https://github.com/knative/docs/blob/master/serving/samples/knative-routing-go/routing.yaml

Would be lovely for this to be nicely handled by knctl.

WIP, I tried adding simple.knative.starkandwayne.com to the existing virtualservice but a) the route never worked; and b) within a few seconds knative re-wrote the virtualservice to remove my appended /spec/hosts item.
kubectl patch virtualservices.networking.istio.io -n my-simple-app --type json --patch '[{"op": "add", "path": "/spec/hosts/-", "value": "simple.knative.starkandwayne.com"}]' simple-app

Draft blog post which sets up two routes to two apps https://www.starkandwayne.com/blog/ghost/#/editor/5bc670c9b70bb500f9916018 (will be published in a couple weeks)

very nice! one concern i have is how to make sure istio doesnt creep in too much into knctl since knative community is in the midst of making routing (istio) pluggable.

i am marking this feature request as blocked on public api from knative.


[amundsen-kube-helm] [technical debt] move to neo4j\elasticsearch charts

AC

update the amundsen helm chart, to have dependencies on neo4j and elasticsearch charts
remove the neo4j and elasticsearch charts from this project

Reasoning

we do not need to maintain a copy of these charts, since they already exist

@feng-tao please assign to me and label with k8s

@feng-tao

@feng-tao please assign to me and label with k8s
bump

Ok, I have investigated this. It turns out that the helm chart for neo4j is missing at least 2 features that I've noticed:

providing custom configuration
allowing for custom service changes, such as change to load balancer, additional annotations

While the second one is not strictly necessary, I think the 1st one is and is therefore a blocker for doing this task.

Assign the ticket to you :)

@feng-tao I'm going to leave this open, I thought moving to neo4j chart was not possible, but, in fact now I think it is. However, I don't have any more time to implement it.

@javamonkey79  sounds good, thanks a lot for all the k8s helm contributions. Curious are you working on some other projects and not Amundsen soon in your team? And how's the Amundsen usage so far at Edmunds ?

Curious are you working on some other projects and not Amundsen soon in your team?

Yeah, I've taken on some new work and will likely be unable to do much more with Amundsen for a little while.

And how's the Amundsen usage so far at Edmunds ?

I think @samshuster could answer it better, tbh. I've only been focused on the k8s side, so, I've drifted quite a bit.

So far It has been well received by management, and by users via surveys, but it still has a long way to go with active adoption. I think what is going to happen is that there will be a pause in feature integration on our side while we try to boost usage and get feedback with what is already there. Another team might also try to integrate with different datasets.

FYI @javamonkey79  and @feng-tao, the docker image that's used by the official neo4j helm chart is the 4.x enterprise edition, and I think (based on this this announcement) that this edition legally requires an enterprise license. Maybe that's fine for Edmunds, but probably not for the majority of the OS community :)
It may make sense to stay on the community edition for now, and close this?

thanks @rsyi for the information. Yeah, we could close this for now. Lyft is also on community version(not k8s though) neo4j.

@feng-tao  I believe we need to revisit this issue as I can see from the chart's config that the community version is allowed here, I also believe that annotations and configuration for init containers are addressed.


Various Improvments

Modifications:

[x] Various pep8 cleanup.
[x] Handle package relative path (e.g.: <mesh filename="package://ur_description/meshes/ur5/visual/base.dae"/>)
[x] Write mesh coordinates on one line.
[ ] Switch to PBR.
[ ] Fix missing shapes.
[ ] ...

I can now use the script to export the universal robot arm with PBR by default, but some shapes are still missing:

The problem with the missing shapes was due to the fact that some collada geometries can have several primitives which should be considered as different indexedFaceSets.

The orientation issue reported in #11 is almost fixed (remains to handle joint position limit that does not contain the 0 position):

:+1:

👀


right edge of the pH Scale dropper not rendered

Originally reported in https://github.com/phetsims/ph-scale/issues/52
This happens on Win with Firefox and IE. The right edge of the dropper's glass is not rendered at some browser window sizes. Dragging the dropper does not correct the problem. See the above-mentioned issue for full details.

This is due to image rasterization (https://github.com/phetsims/scenery/issues/376), should be fixed by usage of the mipmap plugin (https://github.com/phetsims/chipper/issues/111).
Here's current master IE11:

Here's when I add the mipmap plugin to the config and switch "image!" to "mipmap!" in EyeDropperNode IE11:

Also notably, the right-side line is a single pixel wide which is why it's likely to happen in FF and IE.


Testing config added

I added a test file with all the configurations from the plugin, based on the auto-generated configuration from Hyprland and modifying as little as possible.
With test I mean for a new user to try the plugin.

You are absolutely right, I hadn't thought of that. Thank you.

You are absolutely right, I hadn't thought of that. Thank you.


Backport "Fix #19789: Merge same TypeParamRef in orDominator" to LTS

Backports #20090 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-20227.
Reference


Set package.json minimum to Node 12

Previously we said 5.0 was going to be Node 10, and that's what's currently documented (though with a note that we may change it to something else https://github.com/microsoft/TypeScript/wiki/API-Breaking-Changes#typescript-50), but it seems like 12 is probably a better idea.
This might be something we want to backport so it's in 5.0 as a "breaking" change.
And maybe, it should be 12.20 to give us the ability to use ESM? But, that could be on main later.

I think it's now or never. Let's get it in for 5.0, and if we run into issues we can consider a patch.
@typescript-bot cherry-pick this to release-5.0

Ugh - right, forgot it doesn't say 12.20. Let's go with that. I just canceled that cherry-pick.

Switched to 12.20, and I've also updated the breaking changes page to finalize this.

@typescript-bot cherry-pick this to release-5.0

"node": ">=4.2.0"

Can any semi-recent version of TS actually even run on Node 4? 😆

No, absolutely not!


gcc: Removing "--with-system-zlib"

12 Sep 2014, commit 2da651a231654df2c8653fe9b2d14a4238ccaf46 made "--with-system-zlib" a MacOS only option.
10 Oct 2014, commit 95127d482e129197b054cc7c8c5317beb0dc67b2 undoes this change.
Subsequent commits flip-flop back and forth depending upon who made the commit.
As it does not appear to have been reverted intentionally, can this be reinstated (i.e. so that this option is not used in linuxbrew)?

Hi, Chris. Are you seeing a build error that you are trying to fix, and if so, what is the exact error message? Does brew install zlib resolve your issue?

Relevant code in gcc.rb: https://github.com/Homebrew/linuxbrew/blob/master/Library/Formula/gcc.rb#L123-L125

Hi Shaun,
A system I'm using (and don't have sudo rights for) doesn't have libz.so (it does have libz.so.1).  I have already successfully built zlib using linuxbrew.
Using brew install gcc the build was failing during stage2 because it could not find libz.  By commenting out the option that I mentioned the build succeeded, and because I found confusion in the git logs I assumed that was the problem.
However, whilst building up details of my problem I have discovered that this is actually something else.  By commenting out the above option, gcc was building its own zlib.  Not what I wanted.  What it appears is that LDFLAGS is not passed to stages 2, 3... of the build.  Which is why stage 1 succeeds - it knows about the linuxbrew libraries.
Line 110 of gcc.rb uses the --with-boot-ldflags argument to pass LDFLAGS through to stages 2, 3..., but only if --with-glibc has been specified as an option to brew.  If I take that line and move it out of the if-clause then my build succeeds.
So, should the --with-boot-ldflags be common across all builds to ensure that linuxbrew libraries are used in all stages of the build?
Chris

I'm trying to install this on an Oracle Linux server that is built upon RedHat Linux I keep getting that gcc is needed and that I need to install it like:
brew install gcc
When I do that it tells me I need zlib and zlib tells me it needs gcc... endless circle.
Everything I tried after that needs gcc.
Is there a way around this?
I have gcc installed already on the system, can it use that instead of making me install it using linuxbrew?
Gil

Hi, Gil. Please see #191

By commenting out the above option, gcc was building its own zlib. Not what I wanted.

GCC usually builds its own zlib and eliminates a dependency. Not so bad in my opinion.

Thank you, I found a solution by doing this which I had seen in another thread.
export HOMEBREW_CC=gcc
$ prefix=/usr/local/linuxbrew
ln -s /usr/bin/gcc44 $prefix/bin/gcc-4.4
ln -s /usr/bin/g++44 $prefix/bin/g++-4.4
ln -s /usr/bin/gfortran44 $prefix/bin/gfortran-4.4
It worked after these changes.
Thank you, I love it!

Great. Glad to hear that you got it working, Gil.


Move SeriesGroupBy specific functions and update docs for them.

Codecov Report

Merging #835 into master will decrease coverage by 2.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #835      +/-   ##
==========================================
- Coverage   94.29%   92.08%   -2.22%
==========================================
  Files          32       32
  Lines        5911     5914       +3
==========================================
- Hits         5574     5446     -128
- Misses        337      468     +131

Impacted Files
Coverage Δ

databricks/koalas/missing/groupby.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/groupby.py
90.72% <100%> (+0.67%)
:arrow_up:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
77.5% <0%> (-7.5%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/frame.py
95.13% <0%> (-1.7%)
:arrow_down:

databricks/koalas/namespace.py
84.96% <0%> (-1.31%)
:arrow_down:

databricks/koalas/plot.py
93.34% <0%> (-0.96%)
:arrow_down:

databricks/koalas/utils.py
97.24% <0%> (-0.69%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

We will support SeriesGroupBy.filter(), right? So I kept it there as well as aggregate and agg for now. I'm not sure we will be able to reuse the implementation, though.

Thanks, LGTM!


[Misc] helm: Chart version updated

Point to the upcoming release version(s).

Also needed for: https://github.com/SAP/cap-operator/pull/104


metrics formatting: preserve trailing whitespace

The newline character is required at the end of this string.
Any other whitespace is ignored as per https://prometheus.io/docs/instrumenting/exposition_formats/ so no need to trim
Signed-off-by: Sally MacFarlane<EMAIL_ADDRESS>I have tested this locally and get the following response from
 curl localhost:8581/metrics
Before ie without this change:

tessera_P2P_GET_getPartyInfo_MinTime_ms 0
tessera_P2P_GET_getPartyInfo_MaxTime_ms 0
...
tessera_THIRD_PARTY_GET_getVersion_RequestRate_requestsPerSeconds 0.0
tessera_THIRD_PARTY_GET_getVersion_RequestCount 0%

^ no new line at end of string
After ie with this change:

tessera_P2P_GET_getPartyInfo_MinTime_ms 0
tessera_P2P_GET_getPartyInfo_MaxTime_ms 0
...
tessera_THIRD_PARTY_GET_getVersion_RequestRate_requestsPerSeconds 0.0
tessera_THIRD_PARTY_GET_getVersion_RequestCount 0

so there is a newline at beginning and end. Prometheus serves up the list of metrics.

It's worth mentioning that Prometheus does correctly ingest and parse metrics without the trailing newline (checked with v2.28.1). However, as the Prometheus spec does state that "The last line must end with a line feed character", third party tools may enforce this (as seen in the linked issue), and future versions of Prometheus may not correctly handle no trailing newline.

This is true, Prometheus parses it fine, but other packages eg Telegraf do not. This is what the user reported.


Update README.md

As part of this pull request to update the documentation, I have made sure that:
General Review

[ ] All changes/updates requested were intentionally changed or added (no extraneous file or partial updates)
[ ] The live rendered page behaves and looks like intended.
[ ] All links work as intended. (click every link to make sure that it takes the user to the expected place).
[ ] The markdown was rendered to HTML as intended. (Tables look right, code samples are gated properly).
[ ] Any style or CSS changes are tested on multiple different pages to ensure nothing unexpected broke or changed.
[ ] I proof-read the live site (gitbook serve) and there are no oblivious splelling or grammer misteaks.

Gitbook Specific

[ ] Any new documentation pages have been added to the SUMMARY.md file so they are rendered to HTML.
[ ] Any links to other pages within this documentation use relative links ([read more about ...](guides/voice/voicemail.md)).
[ ] Gitbook can install and build the documentation (gitbook install & gitbook build)

Code Specific

[ ] All code has been tested against the live API.
[ ] All code can be run without throwing errors or new warnings.
[ ] All code is formatted correctly and consistently (spaces, tabs).
[ ] All code is legible and idiomatic to the language.
[ ] All code uses sensical method, function, and variable names.
[ ] All code samples use the appropriate syntax highlighting.
[ ] Any examples re-use same phone numbers, uuids, variable names, etc... throughout (IE don't have something like {from: '+19191231234', to: '+19191231234'} unless it's meant to show the same phone number calling/texting itself ).

Preview Changes at:
http://bw-apdocs-dtolb-patch-2.s3-website-us-east-1.amazonaws.com/


[bugfix]: update python publich ci yml

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


[Shaman] Unleash Elements & Stormstrike fixes

Unleash elements now unleashes the offhand imbue provided it is different to the mainhand imbue
Unleash Wind aura falls off after 6 melee attacks
Unleash Flame aura falls off after an affected spell is cast
Stormstrike debuff provides 25% crit chance to lightning bolt, chain lightning, lightning shield and earth shock (35% with glyph)
Lightning Shield can now crit

Stormstrike debuff provides 25% crit chance to lightning bolt, chain lightning, lightning shield and earth shock (35% with glyph)
Is the ssDebuffAura already doing this part?

The code snippet you posted will, for the iteration, permanantly increase the critical strike damage of the affected spell. Everytime one of the spells is casted the crit multiplier is increased by the given fraction and never reset as far as I can see? At least from the code snippet not.
CritMuliplier increase the critical damage dealt not the crit chance.


Whether the auto-generated task terminal has logging BUG

VS code version 1.62.3
OS version macOS Monterey 12.0.1(M1 chip)
Nodejs version: v14.18.1
Displaying logs has been enabled, but the console still does not display logs。

I think you might be confusing the task terminal and the embedded live preview console. To see things like console.log(), Go to Output > Embedded Live Preview Console to see these. See https://github.com/microsoft/vscode-livepreview#console-output-channel-for-embedded-preview


[Feature] mange node in doris use username and password by secret specify.

provide use secret to specify username and password to manage doris node.

https://github.com/selectdb/doris-operator/pull/115


Odometry unavailable?

I installed the mavsdk-python running the command 'pip3 install mavsdk' and none of the methods related to the odometry are present in the 'telemetry.py' file, although they're available in the git.
Is it possible to update the pip command? Odometry updates would be very useful.

This has been added recently: https://github.com/mavlink/MAVSDK-Proto/pull/107
I expect it will come with the next release.

Please try pip install --upgrade mavsdk to get 0.4.0. (On macOS stay patient.)


Exception when imports are unsorted

python-lsp-ruff generates an exception "cattrs.errors.ClassValidationError: While structuring Fix (3 sub-exceptions)"  (see pylsp_stderr.log) in the following simple scenario: Start with a Python file
import sys

and edit it to look like
import sys
import os

The imports are clearly unsorted and ruff detects that, but somehow this leads to the exception above. As additional info, I'm attaching the contents of the Emacs buffers related to pylsp and ruff: lsp-log_pylsp.log and lsp-log_ruff.log
Some more infos:

python-lsp-ruff version 2.2.2
ruff version 0.6.5
the relevant snippet from pyproject.toml (full version here):

[tool.ruff.lint]
select = ["E", "F", "I", "W", "C90", "PL"]

the simple Spacemacs configuration for the Python layer (hopefully understandable even by non-Spacemacs users):

(python :variables
        lsp-pylsp-plugins-mypy-enabled t
        lsp-pylsp-plugins-pylint-enabled t
        lsp-pylsp-plugins-ruff-format '("I")
        )

Hmm, I cannot reproduce this. Can you increase the verbosity of pylsp and save to a log file? See https://github.com/python-lsp/python-lsp-ruff?tab=readme-ov-file#debugging for inspiration (I don't know how to translate that to spacemacs though)

OK, here the pylsp_stderr.log when the verbosity has been set to -vvv, hope that helps.
BTW: In Spacemacs you just have to add the single line
lsp-pylsp-server-command '("pylsp" "-vvv")

to the LSP config mentioned above to raise the verbosity level..
Note that today we have ruff version 0.6.6 instead of 0.6.5, but its behaviour regarding the problem at hand seems to be identical.

Hmm okay, something is performing a ruff check and returns it to pylsp but with slightly different keys in the data field in a Diagnostic. For example, the Diagnostics returned by the emacs client all contain the codeDescription field but python-lsp-ruff does not use that. Also, the suggested edits should contain the keys content, location and end_location: https://github.com/python-lsp/python-lsp-ruff/blob/041c695d829239345ee9dd5c1f017311d6725ff0/pylsp_ruff/ruff.py#L11-L15
However, yours contain newText and a range. I just checked and python-lsp-ruff has never used these keys so I don't think that its a version error.
I am not sure where these diagnostics come from, but something messes with python-lsp-server. Can you make sure that absolutely no other ruff linter is present in your emacs setup?
I also found this where at least a similar diagnostic syntax is found: https://github.com/emacs-lsp/lsp-mode/issues/4547

Hmmm, if one follows the LSP spec from textDocument/diagnostic through to Diagnostic, one ends up at LSPAny for data, which is not very helpful. But I can't find end_location anywhere in the LSP spec, so where is the Edit format specified?
(Disclaimer: I've got only some superficial knowledge about the whole LSP protocol, so I'm just guessing here)

I did find this: https://github.com/astral-sh/ruff/blob/03f3a4e85560333cf7175d44849f7250a6cdcb6a/crates/ruff_server/src/lint.rs#L40
It looks like your emacs editor is actually running ruff server somehow; You should be able to check whether this is the culprit by looking for any running ruff server processes when trying to perform a code action

Hmmm, this is how the process/thread tree for my Emacs looks like:
emacs
  |-node /home/sp/.emacs.d/.cache/lsp/npm/vscode-langservers-extracted/bin/vscode-json-language-server --stdio
  |   `-10*[{node}]
  |-pylsp /home/sp/git/check_mk/.venv/bin/pylsp
  |   |-python /home/sp/git/check_mk/.venv/lib/python3.12/site-packages/jedi/inference/compiled/subprocess/__main__.py /home/sp/git/check_mk/.venv/lib/python3.12/site-packages 3.12.6
  |   |-python /home/sp/git/check_mk/.venv/lib/python3.12/site-packages/jedi/inference/compiled/subprocess/__main__.py /home/sp/git/check_mk/.venv/lib/python3.12/site-packages 3.12.6
  |   `-17*[{pylsp}]
  |-ruff server
  |   `-20*[{ruff}]
  `-6*[{emacs}]

This is consistent with the Emacs code for the LSP mode: https://github.com/emacs-lsp/lsp-mode/blob/561788352cd566558d303f72821c160295089839/clients/lsp-ruff.el#L34
Should this structure look different somehow, e.g. ruff server being a subprocess of pylsp?

I think I finally understand what's going on: lsp-mode explicitly uses ruff as an add-on for other running Python LSP servers. This is why one sees pylsp (the main Python LSP server) and ruff server (the add-on Python LSP server) in the process tree above.
AFAICT, python-lsp-server is a plugin for pylsp, which explicitly & repeatedly executes ruff ... <some args> when needed, i.e. without using ruff server.
So when one uses lsp-mode, one doesn't need python-lsp-server at all, quite the opposite: Somehow they interfere, for whatever reason. So for my use case the solution is simple: Remove python-lsp-server for the virtual environment and let lsp-mode do its thing with 2 LSP servers for Python.
In a nutshell: Nothing seems to be wrong here, sorry for the noise, this ticket here can be closed. But OTOH, I think the Spacemcas docu needs some love, the LSP ecosystem for Python is quite confusing...


GH Actions pipeline

Configure Github Actions pipeline to build and deploy image to dockerhub

Is there any update on this?
I saw in https://github.com/owaspsamm/sammwise/pull/12 that you wait for someone with right permissions
It's been quite some time ;-;


Durable messaging

I was reading the Roadmap and saw that  Centrifugo is deems too complex.
I agree.
But we need to think about the best way to support Subscriptions.
A Subscription needs to map to many users and then to each users in terms of a ACK. So you need a Mailbox per users subscribed to the Topic. At least thats how i think about it.
THen you have th properties for each mailbox and topic of:

Presence
History
ACk ( sync or asny).

Had a look at the Protoo repo. Its  light, simple and fast.
I don't know if this is helpful OR if your happy for the system to just be able to be used for Chat and nothing else, but i will point of the issues that i see.
Your presuming no network partitions will occur currently. No Durability server side.
You have designed the Use case semantics around Rooms.
My 2 cents :) :

Adopt a Namespace rather than room, because the namespace is much easier to reason about in terms of all data and multi party synchronisation. Basically,  it can be used for any data and not just rooms.
Because of message propagation delays / partitions, you need durable, at least once. Basically a message Broker. Centrifugo uses Redis and NATS, and does at least have a namespace, but is a messy system currently. Maybe also look at Resgate ( https://github.com/resgateio/resgate). It uses a namespace approach. The way the data collections are used is very nice because its holding the data as denormalized structures. This makes it very easy to do subscriptions to many clients.

Also because Dart FFI is now going ahead well, you can compile the golang client code to a c shared lib and call it directly from the Flutter Dart code without going through the Swift or java layers.
In this way the only thing really at the Dart level is the GUI and the Data - All transport aspects are in the golang. I have used this for many flutter and golang combined projects and for me it make all the transport and network code much more resilient because its golang on the client and Server.

Very good suggestions! Thanks!

Maybe channel is better than room, Someone cat sub streams/signals from two different channels.
Think about signal history record,  I will consider it


pg driver: avoid DDL statements if possible for BDR

BDR postgres requires a cluster-wide lock to perform DDL statements.
The reason this becomes an issue with dbmigrate is that the first thing the pg driver does ensure the versions table exists, using a "CREATE TABLE IF NOT EXISTS..." statement.  Even though in most cases the table does already exist, this is still a DDL statement, which makes BDR try to acquire a cluster-wide lock.
The reason that is an issue in BDR deployments is that if a cluster node is unavailable, the statement will hang, waiting for the node to come back.  In our application, services try to run migrations each time they start up, so if that migrate command hangs, the whole service hangs.  In a case where the BDR cluster is unhealthy, we still want to be able to bring up services.
It would make sense that if the migration tool should if it finds pending migrations and tries to run them, while the BDR cluster is unhealthy.  But it would be nice if the migration tool could be able to check the migration level of the database without invoking DDL commands.

Ok, I see.

check the migration level of the database without invoking DDL commands

Do you have something in mind? I have no idea how to achieve this currently.
If migrate were using an existing DB connection, is there a way for you to check that connection before invoking the lib? I'm thinking of #10

Looking at the pg driver code, I'm thinking add a statement before the CREATE which checks for the tables existence.  Looking here: http://stackoverflow.com/questions/20582500/how-to-check-if-a-table-exists-in-a-given-schema.  Seems like it could be accomplished in a couple ways.
Alternatively, if the error code is specific enough, just attempt to select on the table first, inspect the error code, create if necessary, and retry.

Sounds good. Do you have time to create a PR for this?

yeah, will do
On Wed, Dec 21, 2016 at 4:35 PM Philippe Lafoucrière <
<EMAIL_ADDRESS>wrote:

Sounds good. Do you have time to create a PR for this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gemnasium/migrate/issues/23#issuecomment-268646645,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGlMVCqiepRLghjjge4tQVqlXo_gUgpks5rKZu4gaJpZM4LTTZ3
.

Great :)
Thanks

It looks like the mattes project caught up with PRs, so I opened this issue there and submitted a PR there.


SXTContinued wrong version installed for 1.3.1

Background
CKAN Version:
1.25.3
KSP Version:
<IP_ADDRESS>1
Operating System:
Windows 10 Professional x64 v1809
Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No
Affected mods and mod versions:
SXTContinued
Problem
What steps did you take in CKAN?
Install 1.3.1 compatible version for SXTContinued
What did you expect to happen?
Have version <IP_ADDRESS> installed
What happened instead?
Version <IP_ADDRESS> was installed
Screenshots:

CKAN error codes (if applicable):

Well it looks like the metadata is fine.
Any chance you added 1.4 as a compatible game version?
https://github.com/KSP-CKAN/CKAN/wiki/User-guide#choosing-compatible-game-versions

Tried with freshly downloaded 1.3.1 and latest CKAN 1.25.3  installed only SXT continued and still installs and what looks like <IP_ADDRESS>, but it is in fact <IP_ADDRESS>, verified by comparing hashes of ModuleBounce.dll.
Error is in the .version file with SXTContinued, so not a CKAN problem. Closing and thank you for your time.


Write conditionals in Kotlin: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-conditionals?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-conditionals#0
In which task and step of the codelab can this issue be found?
Before You begin
Describe the problem
In the Section Befoe you begin section-> What you'll learn->Below these two points are repeated two times
.........
How to write if/else statements.
How to write when statements.
How to write if/else expressions.
How to write when expressions.
............
Steps to reproduce?

Go to the Colab link
In Before you begin section -> What you learn

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hi @techsouravganguly
Thank you for writing in.
The lines are not repeated but appear very similar.
Two of them end with statements. The next two end with expressions.
Hope this helps.
Regareds.


v3-unsable env var removing everything before :

I am using v3-unstable with the following flag
apiServer := app.CLIApp.Flag("api-server", "API Server [Env: API_SERVER]").Default("http://localhost:8080").Envar("API_SERVER").String()

And when I set the environment variable to something like http://<IP_ADDRESS> the http: gets removed. However If I use the flag --api-server http://<IP_ADDRESS> it works as expected. If I get the environment variable using os.Getenv("API_SERVER") it shows the correct string.
Any ideas?

Seem to be something with envarSeparator being used to split the values from a environment variable in buildResolvers

Some more testing.
So since the env var is being split, it only ever uses the last value. so if you set something like one:two:three it will only ever return three

Ah. This is intentional for sequences but shouldn't do this for scalar values.

Sorry that took so long to fix!


Tweak size of text field divs in collections form

Can you comment on this change, @astridu?
I have a related question, as well. It looks like the space between the right edge of the text fields in the collection form is noticeably larger than it is in the work form. Compare e.g. collection name and title of deposit. Is this variance intentional? Thanks!
Why was this change made?
This is done for greater fidelity to the mock-ups.
How was this change tested?
BEFORE

AFTER

Which documentation and/or configurations were updated?
None

Much better. Thank you!!

The difference between the right and left is due to this style which pads 2rem all around and 4rem on the left side:


Match endpoints and command completion for catalog and services

fix #1476
feat: added match endpoints for services and catalog
feat: added api tests for new endpoints
feat: added command completion for services and catalog using the match endpoints

Codecov Report

Merging #1486 (4c716f9) into main (2b56dd7) will decrease coverage by 0.08%.
The diff coverage is 1.56%.

@@           Coverage Diff            @@
##            main   #1486      +/-   ##
========================================
- Coverage   9.01%   8.92%   -0.09%
========================================
  Files         80      80
  Lines       7754    7831      +77
========================================
  Hits         699     699
- Misses      7009    7086      +77
  Partials      46      46

Flag
Coverage Δ

unittests
8.92% <1.56%> (-0.09%)
:arrow_down:

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

Impacted Files
Coverage Δ

internal/api/v1/application/create.go
0.00% <ø> (ø)

internal/api/v1/application/delete.go
0.00% <ø> (ø)

internal/api/v1/application/exec.go
0.00% <ø> (ø)

internal/api/v1/application/index.go
0.00% <ø> (ø)

internal/api/v1/application/logs.go
11.88% <ø> (+0.40%)
:arrow_up:

internal/api/v1/application/part.go
0.00% <ø> (ø)

internal/api/v1/application/portforward.go
0.00% <ø> (ø)

internal/api/v1/application/restart.go
0.00% <ø> (ø)

internal/api/v1/application/running.go
0.00% <ø> (ø)

internal/api/v1/application/show.go
0.00% <ø> (ø)

... and 11 more

Continue to review full report at Codecov.

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

There are 2 timeouts in tests but they pass locally. Merging.


test: benchmark core

The CI run fails due to missing environment variables. @paldepind could you please provide me with access to add those?


Add tests for surrogate models

As mentioned in #67 we are still missing unit tests for functions already merged into the master branch, one of these implementations are surrogate models.

Done by 3751b33a9572c94112341b3f21f60a88f035de98


Parameters/Variable in topics

I cannot find a way where I can define the description and possible values for parameters/variables in topics, eg:
topics:
v1/sb/{did}/telemetry/{id}:
subscribe:
$ref: "#/components/messages/telemetry"
In this case I would like to specify what are did and id.
Is the best practice doing this in the topic description?

Wow, I can't believe I missed that. You're totally right. It's not possible as it is now.
I'm marking this issue for the next major version. Thanks a lot!


Getting timeout error when trying to attach hosts to satellite cluster

When I am trying to use terraform module satellite-host to attach a host to the satellite cluster, I get a timeout error
module.satellite-host.ibm_satellite_host.assign_host[0]: Still creating... [46m1s elapsed]
module.satellite-host.ibm_satellite_host.assign_host[2]: Still creating... [46m1s elapsed]
module.satellite-host.ibm_satellite_host.assign_host[1]: Still creating... [46m1s elapsed]

A few days back this used to work. It looks like there is some ongoing issue with respect to satellite host attach.
The workaround to fix this issue is to run these commands manually on the hosts, before running the host attach script:
sudo subscription-manager release --set=7Server
sudo yum clean all
subscription-manager refresh
subscription-manager repos --enable=*

Hi Team,
Any update on this issue? we need this for Satellite cluster-autoscaler.


Add craco-blockstack to the community links

See https://forum.blockstack.org/t/debugging-blockstack-react-app/7572/6 :)

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


pnpm install fail

> pnpm install @garvae/eslint-plugin-comments --save-dev

Packages: +1
+
node_modules/.pnpm/@garvae+eslint-plugin-comments@1.0.5_eslint@8.42.0/node_modules/@garvae/eslint-plugin-comments: Running postinstall script...
Progress: resolved 700, reused 679, downloaded 0, added 1, done
 ELIFECYCLE  Command failed.

I use "eslint": "^8.42.0".

I don't think the package is still public

> pnpm install @garvae/eslint-plugin-comments --save-dev

Packages: +1
+
node_modules/.pnpm/@garvae+eslint-plugin-comments@1.0.5_eslint@8.42.0/node_modules/@garvae/eslint-plugin-comments: Running postinstall script...
Progress: resolved 700, reused 679, downloaded 0, added 1, done
 ELIFECYCLE  Command failed.

I use "eslint": "^8.42.0".

https://github.com/garvae/eslint-plugin-comments/issues/2#issuecomment-1773094227