Manually migrate to numpy 2

I missed yesterday (https://github.com/TileDB-Inc/tiledbsoma-feedstock/pull/218) that 1.15.0rc3 added support for numpy 2. Since this feedstock isn't part of conda-forge, we need to manually migrate tiledbsoma-feedstock to numpy 2, just like we are doing for tiledb-vcf-feedstock (https://github.com/TileDB-Inc/tiledb-vcf-feedstock/pull/141#pullrequestreview-2408199914)

Well I'm stuck. We get a conda solver error trying to use numpy2 with our cloud variant (built with outdated pins).
Locally I tried various combinations of defining python, numpy, and python_impl in conda_build_config.yaml, but nothing worked. At this point I don't think we can migrate this feedstock to numpy 2 until we drop the cloud variant (at least not without implementing a hacky workaround that would require manual intervention after each conda-smithy rerendering).

@ihnorton confirmed that we will drop the py39 environment when we transition the cloud to py312+numpy2. Thus the goal of this PR is to test that the feedstock transition to numpy2 will go smoothly in the future when the py39 cloud variant is dropped

Hmmm...it appears that the fmt 11 and spdlog 1.14 migrations are stalled. I'll have to manually apply these to the feedstock since they haven't made it to conda-forge-pinning yet

Also cross-referencing upstream support for numpy 2: https://github.com/single-cell-data/TileDB-SOMA/issues/2536, https://github.com/single-cell-data/TileDB-SOMA/pull/2934

Went with the 2-branch approach. Superseded by #227 and #228


Issues discovered while working with resizable datasets

While figuring out how to use resizable datasets, I stumbled across two issues that I believe are errors in HDF5.jl (for the discussion on StackOverflow, see http://stackoverflow.com/questions/30875815/resize-hdf5-dataset-in-julia/30901088#30901088)
The first issue is that d_create(parent::Union(HDF5File, HDF5Group), path::ByteString, dtype::HDF5Datatype, dspace::HDF5Dataspace, prop1::ASCIIString, val1, pv...) calls h5d_create incorrectly.  Instead of passing parent as the first argument, based on comparison with other forms of d_create, I believe it should pass checkvalid(parent).id as the first argument of h5d_create instead.
The second issue is that H5S_UNLIMITED is of type Uint64, but to create a dataspace with the maximum dimensions not limited, you can only pass tuples of Int64.  I'm not sure which needs to change, as there could be underlying reasons I've not seen in other parts of the API, but either the dataspace construction routines should accept tuples that include Uint64 or H5S_UNLIMITED should be changed to be an Int64.

There is a tiny bit about resizable datasets in docs/hdf5.md, search for extendible. I think defining H5S_UNLIMITED=-1 will work.


Add support for EU_CENTRAL_1 AWS Endpoint

This pull request allows Jenkins / AWS CodePipeline integration with EU_CENTRAL_1 (Frankfurt).

Hi Lasse, thanks for taking the time to submit this pull request!
Support for eu-central-1 was added in this commit: f0ed321
If you update your plugin version to 0.22 you should now see it.


fix(config): Adding association groups for multiple Jasco devices

Adding assiociation groups for the following Jasco devices: 14287, 26932, 45604, 14289, 14292

I changed the group names to match, only not sure how to handle the dual channel basic set one.

Thanks


Unable to connect to yum.oracle.com: resolving timed out.

Hy folks,
I'd like to share the problem I'm facing:
---> Running in 6623a972913b
Loaded plugins: ovl
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30534 milliseconds')
Trying other mirror.
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30538 milliseconds')
Trying other mirror.
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30534 milliseconds')
Trying other mirror.
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30537 milliseconds')
Trying other mirror.
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: (28, 'Resolving timed out after 30536 milliseconds')
Trying other mirror.
...

Any idea? All the mirrors are returning timeout...
Originally posted by @MartiniBnu in https://github.com/oracle/docker-images/issues/1542#issuecomment-1024260627

The container engine appears unable to resolve the hostname to its IP address during the build process. Do other containers work on this host? Are they able to resolve hostnames?
It may also indicate the need to configure a proxy for the build process. Our build scripts do that, or you can pass a --build-arg to the docker build command as appropriate.


refactor(compartment-mapper): Compartment map has "entry"

This is a minor adjustment to the schema of a compartment map that replaces the “main” compartment and “entry” module properties with a single “entry” object that rhymes with the CompartmentModule type used in compartment module maps.

I’m using rhyme as a metaphor for reusing the same type in two parts of the schema, instead of two similar types. It likely only made sense in my head!

elsewhere you describe this as a change to the compartment-map.json schema... it looks like the schema is only semiformally expressed in the README, right?
It would be quite useful, to me, to have a TypeScript type. Sufficiently useful that I drafted one:
https://github.com/dckc/agoric-sdk/blob/endo-types/packages/xs-vat-worker/src/endo-types.d.ts
I can imagine a JSON schema might be nice.

A compartment-map-types.d.ts would be a very welcome PR!
On Thu, Sep 17, 2020 at 1:37 PM Dan Connolly<EMAIL_ADDRESS>wrote:

elsewhere you describe this as a change to the compartment-map.json
schema... it looks like the schema is only semiformally expressed in the
README, right?
It would be quite useful, to me, to have a TypeScript type. Sufficiently
useful that I drafted one:
https://github.com/dckc/agoric-sdk/blob/endo-types/packages/xs-vat-worker/src/endo-types.d.ts
I can imagine a JSON schema might be nice.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Agoric/SES-shim/pull/458#issuecomment-694486578, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAOXBUKAFO7WTHIUYW2TCTSGJXQ7ANCNFSM4RGITESA
.


WebMock adapter

it seems like there is no WebMock adapter for this gem yet. Does anyone out there has something in the making?
Background: We are using RSpec with VCR and can't record http-2 connections

Note that we (http-2) do not provide a functional HTTP client implementation. Our goal is to provide the low-level bits for dealing with encoding, decoding, and stream management, which can then be used to build clients on top.
As such, I don't think this is the right level of abstraction to think about WebMock..?

right, totally makes sense. Thanks for the clarification


[Bug Report] Nuxt icons failing to load: OTS parsing error: invalid version tag

Element UI version
2.6.1
OS/Browsers version
Chrome Version 72.0.3626.121
Vue version
2.6.9
Reproduction Link
https://github.com/DiegoGallegos4/element-ui-issue
Steps to reproduce
Run :
yarn generate
and run as if its going to be server side rendered.
const path = require('path')
const express = require('express')
const app = express()
const { Nuxt } = require('nuxt')
const config = require('./nuxt.config.js')

const nuxt = new Nuxt(config)

app.use('/_nuxt', express.static(path.join(__dirname, '.nuxt', 'dist')))
app.use((req, res) => setTimeout(() => nuxt.render(req, res), 0))

module.exports = app

What is Expected?
To load icons
What is actually happening?
Element UI cannot load icons on yarn generate. Icons are loading ok on development mode.
Error:
Failed to decode downloaded font: http://localhost:3001/_nuxt/fonts/5534bd3.woff
OTS parsing error: invalid version tag

Icons look like boxes.

Also getting:
OTS parsing error: sfnt size overflow
OTS parsing error: incorrect entrySelector for table directory

@DiegoGallegos4 please provide a simple demo.


allow pluggable codefixes

Allow loading user-made codefixes from a separate folder.

should be covered by https://github.com/Microsoft/TypeScript/issues/6508


HOSTEDCP-1680: Expose MHC details in NodePools autoRepair API

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/retest-required

/retest-required

/retest-required

/hold


Update repository URL

This patch updates Cargo.toml to fix the repository URL in crates.io/docs.rs.

Thanks. Probs should have checked the URL's a bit better.


CSS nth-child(an+b) cannot be used

Nth.Functional doesn't inherit Nth, and nthChild(Nth.Functional(2,1)) is an error.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


[LOC] "設定 _gt アプリ _gt アプリ & 機能 _gt オプション機能の管理" needs to be replaced with "設定 > アプリ > アプリと機能 > オプション機能の管理"

https://docs.microsoft.com/ja-jp/windows-insider/at-home/whats-new-wip-at-home-1809

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: dc12e690-19c5-ba46-530f-56b2e4f2bb33
Version Independent ID: 237aec15-eb8f-78ed-086f-518b4ce554dd
Content: 新機能、Windows 10 Insider Preview ビルド (RS5)
Content Source: wip/at-home/Whats-new-wip-at-home-1809.md
Product: w10
GitHub Login: @lizap
Microsoft Alias: elizapo

@officedocsbot assign @mypil

@hyoshioka0128 - Thank you for submitting feedback.
I will get this issue over to the Windows Insider writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@officedocsbot add label localization

@dongmicro - Can you please assist with this Translation (Localization) issue?

@officedocsbot assign @dongmicro

@dongmicro - I would like to follow up on this. Do you have any updates?
Thank you.

@officedocsbot unassign @dongmicro
@officedocsbot assign @MollyMalone

Hi, @mypil .
#127 is not Fixed.

@MollyMalone - Issue is not fixed yet. Can you please assist with this issue?
Thank you.

@officedocsbot assign @TinaMcN

私は人間の翻訳のためにこの記事を送った。 約2週間かかります。 (I sent this article to be human translated.  It should take approximately 2 weeks.)

@TinaMcN - Do you have any updates on the status of this?
Thank you.

@hyoshioka0128 記事は現在、人間が翻訳されています。 修正済みであることを確認してください。 フィードバックのおかげで再び (The article is now human translated.  Please verify that it is fixed.  Thanks again for the feedback)

@hyoshioka0128 - Kindly check and validate if issue has been resolved. Thank you.

@TinaMcN - Fixed.
Closed #127.
Thanks.


Setting contact.photo = null does not delete the image

In the Full Example in this repo, it looks like setting contact.photo = null should delete the existing photo. However, it doesn't seem to be working that way.
I've set it to null and refreshed the view only to find the image still there. Am I doing something wrong?

Turns out if you set the photo and then check contact.photoOrThumbnail, that will return true, so you have to set both contact.photo = null and contact.thumbnail = null to "delete" the profile image.


Github Action that makes sure our proto files are formatted and generated

Summary
Do the same thing as make proto-format, and make proto-gen in github actions. Fail if any files change.
Problem Definition
Sometimes we forget to do make proto-format and/or make proto-gen before a PR gets merged.
This causes the next person to either include the missed changes in their unrelated PR or dance around the improper files.
It'd be great if there were a github action to do that checking and prevent the PR (or at least alert the author of the lapse).
Proposal
Figure out how to perform the same actions as make proto-format, and make proto-gen in a github runner (that probably doesn't have Docker). Add those checks to the "Protobuf Checks" workflow: .github/workflows/proto.yml.
Since they'll require extra setup and alter files possibly used by other checks, it's probably best to create a new job to run these checks. Each check should run in it's own step. Upon failure, git diff should be run so we can look in the logs to see what needs to change. Do the proto-format first, and check for changes. If none were found, do proto-gen and check for changes again.
The check for changes should look something like this:
if [ -n "$( git status --porcelain )" ]; then
  git diff
  exit 1
fi

For Admin Use

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

Should probably also consider doing this with make update-swagger-docs (which uses make proto-swagger-gen).


Cannot get example running

I have tried to follow the instructions but I cannot get gulp compile to succeed, which means when I serve the app, I get a whole bunch of errors in the browser console.

typings v0.8.1 (as typings.json has legacy config)
jspm v0.17.0-beta.14 (around same time as this repo was released)

After npm and jspm install, when compiling, I get the following error:
$ gulp compile
[21:11:16] Working directory changed to ~/work/moa/powerbi-angular-client
(node:68220) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[21:11:16] Using gulpfile ~/work/moa/powerbi-angular-client/gulpfile.js
[21:11:16] Starting 'compile'...
[21:11:16] Starting 'compile:app'...
app/app.ts(1,8): error TS1192: Module ''angular'' has no default export.
app/app.ts(2,8): error TS1192: Module ''angular-ui-router'' has no default export.
app/app.ts(3,28): error TS2307: Cannot find module 'angular-powerbi'.
app/app.ts(10,29): error TS2307: Cannot find module './services/reports.js'.
app/app.ts(11,23): error TS2307: Cannot find module './services/utilities.js'.
app/app.ts(14,80): error TS2307: Cannot find module './application/module.js'.
app/app.ts(15,76): error TS2307: Cannot find module './scenario1/module.js'.
app/app.ts(16,76): error TS2307: Cannot find module './scenario2/module.js'.
app/application/module.ts(1,24): error TS2307: Cannot find module './controller.js'.
app/application/module.ts(2,19): error TS2307: Cannot find module './route.js'.
app/scenario1/controller.ts(2,12): error TS2503: Cannot find namespace 'PowerBi'.
app/scenario1/module.ts(1,24): error TS2307: Cannot find module './controller.js'.
app/scenario1/module.ts(2,19): error TS2307: Cannot find module './route.js'.
app/scenario1/route.ts(1,32): error TS2307: Cannot find module '../services/reports.js'.
app/scenario1/route.ts(3,69): error TS2503: Cannot find namespace 'PowerBi'.
app/scenario2/controller.ts(1,32): error TS2307: Cannot find module '../services/reports.js'.
app/scenario2/controller.ts(2,23): error TS2307: Cannot find module '../services/utilities.js'.
app/scenario2/controller.ts(3,22): error TS2307: Cannot find module 'angular-powerbi'.
app/scenario2/module.ts(1,24): error TS2307: Cannot find module './controller.js'.
app/scenario2/module.ts(2,19): error TS2307: Cannot find module './route.js'.
[21:11:18] TypeScript: 20 semantic errors
[21:11:18] TypeScript: emit succeeded (with errors)
[21:11:18] Finished 'compile:app' after 1.35 s
[21:11:18] Starting 'copy:modules'...
[21:11:18] Finished 'copy:modules' after 22 ms
[21:11:18] Finished 'compile' after 1.37 s

On my own branch, I made some changes so that I could use:

typings v1.3.0

and managed to get further, but still running into issues:
$ gulp compile
(node:65268) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[21:02:37] Using gulpfile ~/work/moa/powerbi-angular-client/gulpfile.js
[21:02:37] Starting 'compile'...
[21:02:37] Starting 'compile:app'...
app/app.ts(3,28): error TS2307: Cannot find module 'angular-powerbi'.
app/scenario1/controller.ts(2,12): error TS2503: Cannot find namespace 'PowerBi'.
app/scenario1/route.ts(3,69): error TS2503: Cannot find namespace 'PowerBi'.
app/scenario2/controller.ts(3,22): error TS2307: Cannot find module 'angular-powerbi'.
[21:02:39] TypeScript: 4 semantic errors
[21:02:39] TypeScript: emit succeeded (with errors)
[21:02:39] Finished 'compile:app' after 1.39 s
[21:02:39] Starting 'copy:modules'...
[21:02:39] Finished 'copy:modules' after 22 ms
[21:02:39] Finished 'compile' after 1.41 s

Can you please help by updating the docs? I'm new to Typescript and have a few hours on this already :(

I updated the repo to use newer version of typings.
I also updated the README to add note about known errors during compilation step.
There is supposed to be a way to configure JSPM to use tsc to compile typescript files as it loads them but I think it broke from 0.16 to 0.17 and the work around was to compile them to .js first and then use normal JSPM configuration.
It didn't seem worth it to put much effort into JSPM configuration since it's not stable, but if you know how feel free to send pull request.


Updating tags without cleaning may generate duplicate items in tag toctree

Running sphinx without clearing the tags folder first may cause files to be added multiple times to the tag page toctree.

Yes, it does happen e.g. when you edit your tags, because maybe you decided afterwards to have them start with a capital letter.
One idea that comes to mind is to have sphinx_tags clean the folder using os.remove(), before it generates the tag index. What do you think? Could also have a boolean flag if someone does not want that to happen (although not sure what reasons for that could be).

That sounds like a simple and easy solution. Currently I'm including it in makefiles when building the docs.
Do you want to submit a PR for it? 😄

Sure, will try! :)

Probably around here which is where the tags folder is created (if it doesn't exist already)

Right, that seems to be a good place, I will try.

Closed by #27


statistics

Is there any statistics regarding how many people access https://media.livepeer.org?
I think of something like Google Analytics (GA) that could be used to monitor basic metrics such as :

how many people connect to https://media.livepeer.org
how long do they watch videos
how many "not found" type of event users see on average

Ideally, the access to the statistics could be open for anyone to follow the growth of the network
Note: I'm just citing GA but I'm not sure this would be the right tool. Some decentralized solution could be a better fit if any exists. Interestingly, ethereum.org use GA.

Yes, definitely would be helpful to have insight into these. When we've discussed before it's always come down to user privacy and decentralized ideals vs the benefits that these would provide.
Since we're hosting the site and running nodes in order to serve this content, it seems reasonable that analytics could be included. I'd feel better about it if the code that activated the tracking would only execute if the site were being run on media.livepeer.org. If someone downloaded the open source code to run the DApp locally, then it would be free from tracking.

I wanted to re-open this discussion with a proposal:
Add Google Analytics to the media.livepeer.org hosted pages
The benefits of having visibility into user statistics and behavior are clear. But it also comes with certain potential downsides with regards to centralized tracking being potentially at odds with the philosophical aspects of decentralization, and putting users in control of their own data. Here's how I would propose balancing these:

The google analytics tracker only is embedded if the page is served at media.livepeer.org, which is a domain that Livepeer Inc hosts and serves, as well as pays for.

Since the media.livepeer.org site is really just an open source DApp, we have clear instructions in the Github README about how to build a version of the player that anyone can host themselves. This version would be free from the tracker.

I'm not sure whether the tracker would get included via the build process, or inserted at runtime based upon the domain, but I think that's an implementation detail.
What to track?
Well, I think that Google gives quite a bit out of the box. Let's start with trying to determine what we can from the available data. If there are custom integrations involved in order to glean statistics that aren't otherwise available, let's track those requests as separate issues since they may require additional build. cc @RaffiSapire @chrishobcroft @jozanza.

Spoke w Josiah about setting up analytics today and that was focused on livepeer tv, not media.livepeer.org. This is because we're hoping to answer the question, what role does livestreaming our own content play in helping us achieve our goals during the snowmelt phase. Wondering if we can use analytics to get to a point where we can show that, for example, livepeertv has x% level of engagement, and is increasing x% MoM, or lptv drives x% of distribution registrants, or x% of traffic to discord.
As next step, @jozanza Josiah is going to chat with @chrishobcroft this week to get analytics set up to track number of views, bounce rate, where they are coming from to start, and from there we can invest more in tracking specific actions like registration or joining a community
We can set up analytics for media.livepeer.org, @jozanza brought up question of whether we should be tracking this ethically. @nicolasburtey ' comment on the usefulness is a great idea. What is the balance on this?


Terraform 0.12?

So.. Just wondering if you are going to be supporting terraform >= 0.12 ?

Hi,
Yes, we are going to support it by the end of the year. It is already possible to use terraform 0.12, but you have to build your own custom docker image.

Ah ok. I'll just do that as a workaround then. Thanks!


fix: Top level init bb.js, but better scoped imports to not incur cost too early

A title.

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 30.8 (+32%)
note_trial_decrypting_time_in_ms (32): 89.8 (+48%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit c7f18787 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,948
868,160
3,449,360

l1_rollup_execution_gas
842,035
3,595,268
22,204,729

l2_block_processing_time_in_ms
2,231 (+1%)
8,714 (+2%)
35,535 (+1%)

note_successful_decrypting_time_in_ms
320 (+2%)
959 (+3%)
3,462 (+2%)

note_trial_decrypting_time_in_ms
:warning: 30.8 (+32%)
:warning: 89.8 (+48%)
201

l2_block_building_time_in_ms
20,342
80,460
323,280

l2_block_rollup_simulation_time_in_ms
16,799
66,437
267,242

l2_block_public_tx_process_time_in_ms
3,512
13,952 (+1%)
55,785

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
24,697 (-1%)
47,481 (-1%)

note_history_successful_decrypting_time_in_ms
2,149 (-5%)
4,173 (-2%)

note_history_trial_decrypting_time_in_ms
163
359 (-2%)

node_database_size_in_bytes
3,629,146
3,917,539

pxe_database_size_in_bytes
29,748
59,307

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
200
43,109
20,441

private-kernel-ordering
115
25,833
9,689

base-rollup
2,961
667,692
873

root-rollup
89.1 (-2%)
4,072
881

private-kernel-inner
260
64,516
20,441

public-kernel-private-input
171 (-1%)
25,203
20,441

public-kernel-non-first-iteration
168 (-1%)
25,245
20,441

merge-rollup
11.3 (+1%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
10,323
25,938


🎉 - Added Sample, backup all custom formatting

Cool script that enabled the user to extract any custom formatting to be saved in a version control software

Awesome sample @Tanddant, brilliant idea! This will be live shortly 🎉😁😍


Broken link within terra-table documentation

Issue Description
Inside terra-table documentation, the link at the end of Usage is broken (Source). The url has MangedSelectableTable.md instead of ManagedSelectableTable.md.
Issue Type

[ ] New Feature
[ ] Enhancement
[ ] Bug
[ ] Other

Expected Behavior
Link brings user to another page with more information.
Current Behavior
Link brings user to a 404 page.

I could help with this, if no one is?


Problem when try running evaluation

Hi, nice work.
I'm trying run Evaluation code with CUDA 9.1, pytorch 1.2, but I'm getting the following error:
FileNotFoundError: [Errno 2] No such file or directory: '../data/nyudepthv2/val'

Mybe you should use absolute path?

Hi, nice work.
I'm trying run Evaluation code with CUDA 9.1, pytorch 1.2, but I'm getting the following error:
FileNotFoundError: [Errno 2] No such file or directory: '../data/nyudepthv2/val'

hi,please note that ‘./data ’和 ‘../data’ are different.


Error when trying to export.

Describe the bug
I get an error when trying to export my clippings to Notion.
To Reproduce
Steps to reproduce the behaviour:
I just ran the program with the specified parameters. I have followed the instructions.
Expected behaviour
To be able to export clippings to Notion
Desktop (please complete the following information):

OS: Windows 11
Browser: Chrome
Version: 109.0.5414.75

Additional context
Error message:
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\kindle2notion_main.py", line 63, in
main()
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\click\core.py", line 760, in invoke
return _callback(*args, **kwargs)
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\kindle2notion_main.py", line 32, in main
db = notion.databases.retrieve(notion_database_id)
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\notional\session.py", line 291, in retrieve
dbid = DatabaseRef[dbref].database_id
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\notional\core.py", line 91, in getitem
return compose_func(params)
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\notional\types.py", line 81, in compose
ref = ObjectReference[db_ref]
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\notional\core.py", line 91, in getitem
return compose_func(params)
File "C:\Users\kbergene\AppData\Roaming\Python\Python310\site-packages\notional\types.py", line 40, in compose
return ObjectReference(id=ref)
File "pydantic\main.py", line 342, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for ObjectReference
id
value is not a valid uuid (type=type_error.uuid)

Fixed this by removing the single quotes from the command.
Initially I had just copied the example and removed the content inside the double quotes. After removing the quotes themselves it worked..

Hey Bergene.
I am running the script but get the following error:
Error: Got unexpected extra argument (Clippings.txt')
Could you pls verify if am writing the syntax correct?
Command:
kindle2notion 'secret_xxxx' '2018xxx' 'E:\documents\My Clippings.txt'

Hi Mahaprasad.
I don't think this is the same issue as me but I can try to help.
The command I now run each time looks like this:
python -m kindle2notion secret_xxxx 2018xxx "E:\documents\My Clippings.txt"
as this does not work for me:
python -m kindle2notion 'secret_xxxx ' '2018xxx ' '"F:\documents\My Clippings.txt"'
I believe the issue you are experiencing is caused due to the script thinking that your path to the 'My Clippings' file are two arguments despite the quotes encompassing it.
Try to run the command as I do, no quotes for the first two arguments and only quotes for the path to your clippings file.

Hey Bergene. Thanks a lot for responding.
I do not know why, but it still doesn't work for me. I contacted the creator of the tool and he said that there's an issue with the underlying package the code is written on.
The chrome extension mentioned here did the work for me. I think I'll continue using it.
Appreciate the response 😇


Update CLI README to reflect npm install

Now we have the CLI published to npm  we should update the README to reflect how to install from npm and add a second md file for contributors.

fixed by #273


Android Kotlin: 08.03 How to share app data in android?

Description :scroll:

Give a step-by-step tutorial on how to share app data in android.
Required Documentation or Video or Audio.

Domain of Contribution :bar_chart:

[x] Android Dev (Kotlin)

References :
https://www.javatpoint.com/android-share-app-data

Please Read it Carefully Before Contributing

Changes should be made in Android_Development_With_Kotlin/ directory under Android_Development_With_Kotlin branch.
Inside Android_Development_With_Kotlin/ directory creates a directory and names it according to the topic ( for this issue 08. Intents)
Inside 08. Intents/ directory add your task with subtopic number and name and make changes accordingly.
You have to push your PR to the Android_Development_With_Kotlin branch only.
You can take help to the references but don't simply try to copy it. Just explain in your own word.
This issue is for GWOC'21 contributors only.
You need to push in a single commit. If there exists more than one commit then you need to squash your commits into one commit.
Will assign you on a first come first serve basis.
Please try to complete your assigned task within 7 days. If you need some more time then, please inform mentors and supervisors.
If you have two previously assigned issues on Android-Kotlin pending then please first complete them.

Supervisor @rahulsain

Happy Contributing. Best of Luck.:sparkling_heart:

@rahulsain


New release?

Hi there, latest release is 1.2.3, which is 10 commits behind master. Can you guys please create a new release? Thanks!

Nevermind. I saw that you guys are planning on releasing something soon. Closing this.


authentication pages

Describe your changes and upload screenshots if changes on frontend/UI.
Issue ticket number and link
Issue Fixes : #issue_number
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics?
[ ] Will this be part of a product update? If yes, please write one phrase about this update.

@Hyper-ActiveX  your pull request does not follow our theme please make appropriate changes to the app and also do not include unnecessary files

@karanveer962  please review it and guide him about the theme.

had conflicts


fix merge functionality for Descriptor objects

Signed-off-by: rcernich<EMAIL_ADDRESS>Addresses #144.

I've already created different PR, with different aproach but similar outcome.
https://github.com/jboss-container-images/concreate/pull/128
My approach is little different, it enables you fully override (not only concatenate list).
its based on assumption, that if we have list objects like:
list:
   - foo
   - bar

I enable alternative syntax like:
list:
   - name: foo # you dont need state:present here as this si default
   - name: bar
     state: absent
   - name: baz
     state: present

I support both syntax for all of our list object, so you can still use plain list form, but if you need an override (in overrides.yaml) you can use more complex syntax

@rcernich @dbecvarik Can you guys talk to each other and decide on the approach?

I've got inspired and implemented necessary parts to enable proper merging of descriptor based object in #147


[RESTEAY-1665]:Add @Priority to JsonBindingProvider to really enable it in JsonBindingTest

On Tuesday, August 29, 2017, Alessio Soldano<EMAIL_ADDRESS>wrote:

@asoldano requested changes on this pull request.
In testsuite/integration-tests/pom.xml
https://github.com/resteasy/Resteasy/pull/1263#discussion_r135751384:

   <plugins>

       <plugin>

           <artifactId>maven-surefire-plugin</artifactId>

               <executions>

                   <execution>

                       <id>default-test</id>

                       <configuration>

                           <includes>

                               <include>**/Test*.java</include>

                           </includes>

                           <excludes>

                                <!-- Tests requires excluding JsonBindingProvider-->

                                <exclude>**/JsonBindingTest.java</exclude>

                           </excludes>

                           <classpathDependencyExcludes>

                               <classpathDependencyExcludes>org.jboss.resteasy:resteasy-json-binding-provider</classpathDependencyExcludes>

mmh, I'm not really sure about this. Does it mean that the new json-b
provider is going to break the behavior of most apps out there when they
upgrade to latest resteasy?

If JsonBindingProvider is in the classpath , it will be picked up and take
precedence. I don't think this will break something if json-b is not
required and not included in classpath.

If that's really the case (is this a consequence of the @priority
https://github.com/priority you added?), we should evaluate different
solutions (like not having direct and transitive dependencies to the new
module by default and adding it explicitly in the json-b test). Do we
really have such a non backward compatibility?

No. Adding @priority is required to enable jsonb and make jsonb take
precedence if it is in classpath.If you print more info in the JsonBingTest
before my change, you'll find it actually reads and writes with jackson
provider instead of jsonb. I don't think this is something ugly dependency
configration because maven surefire already have this excluding dependency
feature for specific tests.We don't need to creat another maven module with
explicitly decalre jsonb dependency only for one JsonBingTest. WDYT?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/resteasy/Resteasy/pull/1263#pullrequestreview-59196366,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFmXubxAoXR4p4CpSK_e12dvYnDs56hks5sc-cRgaJpZM4PFYiM
.

@jimma ok, thanks for having brought this to my attention, I missed this before.
So, at the moment I think we should not have the dependency to the new json-b provider module in the existing testsuites, as long as most of the tests in them actually enforce the jackson binding behavior. IMHO, it does not make sense to add the maven dependency in they testsuite module and them exclude it in the surefire configuration for all tests except one. That one (the JsonBindingTest) is currently the "exception" and needs a special treatment (for example a custom surefire execution with additional dependency and some comments in the test referring to that).
At a given point considering json-b has higher priority than jackson (btw, can you link here the reference to the jsr370 spec enforcing this, for future reference) we might want to revisit the tests that are relying on jackson impl by chance (not on purpose, to verify jackson provider details).
Finally, regarding the addition you put in JsonBindingTest ... I see you're expecting the attributes order to be "color, domesticated, name, sort", but I would have expected "color, sort, name, domesticated" judging from the annotation on Cat. What am I missing?

@jimma ok, thanks for having brought this to my attention, I missed this before.
So, at the moment I think we should not have the dependency to the new json-b provider module in the existing testsuites, as long as most of the tests in them actually enforce the jackson binding behavior. IMHO, it does not make sense to add the maven dependency in they testsuite module and then exclude it in the surefire configuration for all tests except one. That one (the JsonBindingTest) is currently the "exception" and needs a special treatment (for example a custom surefire execution with additional dependency and some comments in the test referring to that).

Adding extra dependency for this test can with:

exclude dependency for specific test like what I did now
create a profile
create another maven module jsonbinding-integration-tests to include this dependency

I thinks neither 2) or 3) is good to create only for this test.  Regarding 1) , I don't see any harmful thing we use this maven surefire plugin configuration . Including dependency for this test is another kind of special treatment too if we don't create another standalone maven module for this test.

At a given point considering json-b has higher priority than jackson (btw, can you link here the reference to the jsr370 spec enforcing this, for future reference) we might want to revisit the tests that are relying on jackson impl by chance (not on purpose, to verify jackson provider details).

Spec 11.2.7 Java API for JSON Binding under  about the integration with JEE technology says :
In a product that supports the Java API for JSON Binding (JSON-B) [19], implementations MUST support entity providers for all Java types supported by JSON-B in combination with the following media types: application/json , text/json as well as any other media types matching */json or /+json .
Note that if JSON-B and JSON-P are both supported in the same environment, entity providers for JSON-B take precedence over those for JSON-P for all types except JsonValue and its sub-types. "
There is nothing else except this about json binding, and there is no item explicitly says about jsonb provider has higher priority than jackson either. If we want to enable json binding when it is included in class path, annotated a @Priority is the easy solution to select json binding provider first for  application/json media type.

Finally, regarding the addition you put in JsonBindingTest ... I see you're expecting the attributes order to be "color, domesticated, name, sort", but I would have expected "color, sort, name, domesticated" judging from the annotation on Cat. What am I missing?

Nice findings. There is another issue we should export jsonb api in the jsonbinding provider jboss module. I've fixed this.

hi @jimma ,
I'm still not 100% convinced on the way we should be dealing with the json-b provider selection. I think I'll merge your PR as is and open up a JIRA for re-evaluating this later (more details coming on the jira). Thanks.

https://issues.jboss.org/browse/RESTEASY-1714


Use viper for configuration

It might be nice if we could support configuring the GitHubApp from a configuration file rather than having a huge number of command line flags; like Palantir GitHubApps
https://github.com/palantir/go-githubapp/blob/develop/example/config.yml
Is viper a good solution for dealing with this?
https://github.com/spf13/viper

The other advantage of using viper is that when we use hydros as a CLI the configuration could be stored in the home directory and people could configure specific settings once for themselves; e.g. the path of their GitHubAppKey and the appid


Fix UFW default forwarding policy on Ubuntu

On Ubuntu, the DEFAULT_FORWARD_POLICY in /etc/default/ufw is DROP, so it can affect OpenVPN.

Not needed since https://github.com/angristan/openvpn-install/pull/291


vllm cpu docker. Error: TypeError: invalidInputError() missing 1 required positional argument: 'errMsg'

参考文章：vLLM Serving with IPEX-LLM on Intel CPU via Docker
参考链接：https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/DockerGuides/vllm_cpu_docker_quickstart.md#vllm-serving-with-ipex-llm-on-intel-cpu-via-docker
服务启动代码：
bash start-vllm-service.sh

start-vllm-service.sh 文件为
#!/bin/bash
model="/home/usr/A000Files/A003Model/qwen/Qwen2-0___5B-Instruct"
served_model_name="qwen"

python -m ipex_llm.vllm.cpu.entrypoints.openai.api_server \
  --served-model-name $served_model_name \
  --port 8899 \
  --model $model \
  --trust-remote-code \
  --device cpu \
  --dtype bfloat16 \
  --enforce-eager \
  --load-in-low-bit bf16 \
  --max-model-len 4096 \
  --max-num-batched-tokens 10240 \
  --max-num-seqs 12 \
  --tensor-parallel-size 1

请求代码：
## openai 调用已经部署的模型
from openai import OpenAI
client = OpenAI(base_url="http://<IP_ADDRESS>:8899/v1", api_key="EMPTY")

completion = client.chat.completions.create(
    model="qwen",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "hi, how are you"},
    ],
    temperature=0.45,
    max_tokens=2048,
    top_p=0.7,
    n=1,
    frequency_penalty=0.5,
    presence_penalty=0.6,
    stop=None
)
response = completion.choices[0].message.content
response

vllm服务端报错结果展示：
INFO 08-08 05:47:56 async_llm_engine.py:120] Finished request cmpl-d1bf029528104215b052b07957271a95.
INFO:     <IP_ADDRESS>:56592 - "POST /v1/chat/completions HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 72, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 278, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/ipex_llm/vllm/cpu/entrypoints/openai/api_server.py", line 117, in create_chat_completion
    invalidInputError(isinstance(generator, ChatCompletionResponse))
TypeError: invalidInputError() missing 1 required positional argument: 'errMsg'

openai 请求端报错展示：
File /usr/local/lib/python3.11/dist-packages/openai/_base_client.py:1079, in SyncAPIClient._retry_request(self, options, cast_to, remaining_retries, response_headers, stream, stream_cls)
   1075 # In a synchronous context we are blocking the entire thread. Up to the library user to run the client in a
   1076 # different thread if necessary.
   1077 time.sleep(timeout)
-> 1079 return self._request(
   1080     options=options,
   1081     cast_to=cast_to,
   1082     remaining_retries=remaining,
   1083     stream=stream,
   1084     stream_cls=stream_cls,
   1085 )

File /usr/local/lib/python3.11/dist-packages/openai/_base_client.py:1046, in SyncAPIClient._request(self, cast_to, options, remaining_retries, stream, stream_cls)
   1043         err.response.read()
   1045     log.debug("Re-raising status error")
-> 1046     raise self._make_status_error_from_response(err.response) from None
   1048 return self._process_response(
   1049     cast_to=cast_to,
   1050     options=options,
   (...)
   1053     stream_cls=stream_cls,
   1054 )

InternalServerError: Internal Server Error

此外还尝试了 request.post 请求，同样也报错了
request.post 请求代码：
%%time
import requests
import json

url = "http://<IP_ADDRESS>:8899/v1/chat/completions"  # 注意路径可能需要根据实际API有所不同

headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer sk-no-key-required"  # 你的API密钥
}

data = {
    "model": "qwen",
    "messages": [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "hi, how are you"},
    ],
    'stream': False,
    'temperature': 0.4,
    'repetition_penalty': 1.4,
    'top_p': 0.7,
    'n': 1,
    'max_tokens': 2048,
}

response = requests.post(url, headers=headers, data=json.dumps(data))

if response.status_code == 200:
    res = response.json()
    print(res['choices'][0]['message']['content'])
else:
    print(f"Request failed with status {response.status_code}: {response.text}")

服务端报错和上面 一样。

请求段报错如下：
Request failed with status 500: Internal Server Error
CPU times: user 5.03 ms, sys: 88 μs, total: 5.11 ms
Wall time: 3.26 s

另外还直接使用了 文档中提供的 curl 请求，同样也报错了
请求代码：
curl http://localhost:8000/v1/completions \
-H "Content-Type: application/json" \
-d '{
  "model": "qwen",
  "prompt": "San Francisco is a",
  "max_tokens": 128,
  "temperature": 0
}' | jq '.choices[0].text'

服务端请求报错类型：
root@sophon-test-001:/llm# curl http://localhost:8899/v1/completions \
-H "Content-Type: application/json" \
-d '{
  "model": "qwen",
  "prompt": "San Francisco is a",
  "max_tokens": 128,
  "temperature": 0
}' | jq '.choices[0].text'
bash: jq: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   994  100   898  100    96     98     10  0:00:09  0:00:09 --:--:--   230
curl: (23) Failed writing body

设备类型：
root@sophon-test-001:/llm# lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         46 bits physical, 57 bits virtual
  Byte Order:            Little Endian
CPU(s):                  48
  On-line CPU(s) list:   0-47
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Xeon(R) Silver 4310 CPU @ 2.10GHz
    CPU family:          6
    Model:               106
    Thread(s) per core:  2
    Core(s) per socket:  12
    Socket(s):           2
    Stepping:            6
    CPU max MHz:         3300.0000
    CPU min MHz:         800.0000
    BogoMIPS:            4200.00
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mm
                         x fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon peb
                         s bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_
                         cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcn
                         t tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ca
                         t_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexp
                         riority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx5
                         12f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw a
                         vx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local sp
                         lit_lock_detect wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx
                         512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx5
                         12_vpopcntdq la57 rdpid fsrm md_clear pconfig flush_l1d arch_capabilities

Hi @Starrylun,
I have reproduced the issue, and it appears to be a bug in the /v1/chat/completions endpoint within ipex_llm.vllm.cpu.entrypoints.openai.apiserver. This should be fixed by #11748. You can try the next nightly-build Docker image (with ipex-llm version >= 2.1.0b20240809) and I will update this thread once the new Docker image is released.

root@sophon-test-001:/llm# curl http://localhost:8899/v1/completions
-H "Content-Type: application/json"
-d '{
"model": "qwen",
"prompt": "San Francisco is a",
"max_tokens": 128,
"temperature": 0
}' | jq '.choices[0].text'
bash: jq: command not found

BTW, the error message here indicates jq is not installed in your environment. You can fix this by running apt install jq.

Hi @Starrylun,
The new Docker image has been released. Please update to the latest version and try again. It works fine in my environment.

Hi @Starrylun, The new Docker image has been released. Please update to the latest version and try again. It works fine in my environment.

thanks, update the latest images, it works fine.

Solved. Please close this issue.


Possible CUDA memory fragmentation in transducer decoding

I noticed that during decoding of pruned_transducer_stateless with greedy_search_batch method that CUDA memory seems to get fragmented with OOM exceptions like these:
RuntimeError: CUDA out of memory. Tried to allocate 7.28 GiB (GPU 0; 22.20 GiB total capacity; 7.80 GiB already allocated; 6.15 GiB free; 14.18 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Note that here, reserved memory (14GB) is >> than allocated memory (7.8GB). After setting the following export PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:128 I was able to continue decoding without issues (so far). I can add that decoding is performed on out-of-domain data which is much noisier; I did not observe this behavior previously on clean data such as LibriSpeech.
Do you have any ideas where the fragmentation may be coming from?

Are there large differences in duration across your test batches? The greedy search batch should not use too much GPU memory. The only part I can think of is the forward pass of the encoder model; if your decoding batches have very different duration distributions, it may cause memory fragmentation.

Yes, I expect the durations to be varying a lot. The crash is indeed from the forward pass of the encoder. Do you think there is anything that can be done about it?

How about using a bucketing sampler so as to make batches have similar max durations?

Already using it; I thought you were referring to the variance of max sequence durations across batches.

The output shape of the encoder is (N, T, C). If you can make different batches to have a similar N*T, then it may alleviate the fragmentation issue.

Hmm, I see. Maybe tweaking the bucketing settings can help a bit but I'm decoding quite various data, it'd require to find a setup-specific setting for each domain I guess. Anyway setting the env var helps to some extent at least. Thanks!

From https://pytorch.org/docs/stable/notes/cuda.html#memory-management  , it may affect performance.

Performance cost can range from ‘zero’ to ‘substatial’ depending on allocation patterns. Default value is unlimited, i.e. all blocks can be split. The memory_stats() and memory_summary() methods are useful for tuning. This option should be used as a last resort for a workload that is aborting due to ‘out of memory’ and showing a large amount of inactive split blocks.

I am tracking the RTF, it's around 700-1000x, I didn't notice it decreasing too much.

ok. By the way, are the WERs of your datasets trained with pruned RNN-T comparable to the one trained with conformer_ctc, and also does it decode faster than conformer_ctc ?

I don't have a direct apple-to-apple comparison; I previously trained a pure-CTC conformer (without attention decoder in training). The WERs of pruned RNN-T are better than pure-CTC conformer by ~15% relative. The decoding time of greedy RNN-T with no LM seems to be in the range of 2-3x faster than using the pure-CTC conformer with 1best decoding over 4-gram LM.

thanks


Settings: folderValue versus workspaceValue

Tests https://github.com/Microsoft/vscode/issues/29466

write extension that reads configuration with the getConfiguration2 API.
have the setting be overridden on the workspace level

Observe: when using inspect the folderValue is not set. For the new API I would have expected that workspaceValue is undefined and folderValue is set.

@dbaeumer Can you please give an example of the setting and where it is defined?

It is defined the the .vscode/settings.json file

And there is just one root folder in the workspace?

Yes, one root folder.
I tested editor.lineNumbers as well and with only one folder I am not able to get the folderValue populated.

Looks 🐛  to me

One workspace folder
editors.lineNumbers=off

Some comments after getting a a very good quick introducing on this from @sandy081

what confuses me is that in the past setting scopes mapped to file location. With the new story this is not true anymore. It depends on the type of the setting. For example editors.lineNumbers is always considered to be a folder setting
things get even more complicated when a single folder morphs into a workspace
May be we should always store workspace settings separate and have a workspace folder/file concept which we can open.

I get the same for editors.lineNumbers with two workspace folders:

Latest build, single folder open and looking at editor.linenumbers.

Shouldn't this now contain a folderValue. I am calling
	let config = vscode.workspace.getConfiguration2('editor');
	let inspect = config.inspect('lineNumbers');
	console.log(inspect);

folderValue is contained only when a resource is passed otherwise it is just workspaceValue even though (currently) workspace value comes first root folder (which is an implementation detail and will change).


feat: make misc/quictrace-adapter to generate multiple QTR sources at once

To make QTR sources easily, I'd like to generate them with single command at once.
@janaiyengar What do you think of it?
example:
$ misc/quictrace-adapter.py log.jsonl tmp
Transforming tmp/2020-04-09T02:10:18Z-365690.json
Transforming tmp/2020-04-09T02:10:19Z-365691.json
Transforming tmp/2020-04-09T02:10:20Z-365692.json
Transforming tmp/2020-04-09T02:10:20Z-365693.json
Transforming tmp/2020-04-09T02:10:21Z-365694.json

Thanks!


fix: styles rendering in case when "numFmt" is present in conditional formatting rules (resolves #1814)

Summary

Closes #1814
This code covers fix for https://github.com/exceljs/exceljs/issues/1814. The issue is described by numFmt tag is rendered without numFmtId and formatCode properties when it is located in dxf tag (that is used for dynamic styles, for example, conditional formatting). This specific case is handled by the changes in the scope of this pull request.
Test plan

The next code snippet is suggested for testing:
const Excel = require('./excel');

const { WorkbookWriter } = Excel.stream.xlsx;

(async () => {
    const workbook = new WorkbookWriter({ filename: 'test.xlsx', useStyles: true });
    const worksheet = workbook.addWorksheet('example');

    const column = worksheet.getColumn(1);
    column.style.numFmt = '0.0#';

    worksheet.addConditionalFormatting({
        ref: 'A:A',
        rules: [{
            type: 'cellIs',
            operator: 'greaterThan',
            formulae: [1000],
            style: { numFmt: '0.0#,K' },
            priority: 1,
        }],
    });

    [100.5, 1000.5].forEach((value, index) => {
        const row = worksheet.getRow(index + 1);
        const cell = row.getCell(1);
        cell.value = value;
        row.commit();
    });

    worksheet.commit();
    await workbook.commit();
})();

Script execution result before fix apply:

Script execution result after fix apply:

Related to source code (for typings update)

Typings update is not required.

@alubbe, @Siemienik, @Alanscut, I kindly ask you to review this pull request.

thanks, this is a great PR! Could you please add a unit test for the xml generation?

@alubbe, sure, I will add tests

@alubbe, I covered this case with an integration test, thanks
@alubbe, @Siemienik, @Alanscut, I kindly ask you to review and merge it.

@Siemienik, I double-checked tests locally and they passed, while I also was able to reproduce the problem when the pipeline got stuck due to test:jasmine script (looks like grunt-contrib-jasmine does not receive response from headless browser during setup). Please, advise, how can we proceed with this pull request?

@alubbe, @Siemienik,  @guyonroche, please, take a look at my previous comment and, please, advise.

@Siemienik, @alubbe, @guyonroche, please, review one more time 😉
I've added a fix that prevents test:jasmine job from getting stuck - https://github.com/exceljs/exceljs/pull/1815/files#diff-e22a0e4b362f0115dd0b86fb682098a5eedfa816971c4c7932b8e8e106d3946dR125
The issue with stucking pipeline is described by grunt-contrib-jasmine library that embeds jasmine library inside and has an issue with running tests using the latest jasmine version. More info can be found via https://github.com/gruntjs/grunt-contrib-jasmine/issues/339.
I've tested pipeline execution using my fork and it successfully passed - https://github.com/andreykrupskii/exceljs/pull/2
Feel free to ask any questions/suggestions and I look forward to the merge of this PR.

Thanks for this PR and unblocking jasmine!

This issue is still happening in the latest version 4.3.0.

Hi there @harunisik! I was just looking at the changes and I didn't see the latest update published. I noticed that V4.3.0 was published on Aug 21, 2021, and this change was merged on Sep 7, 2021. Hey @alubbe, do you happen to know the current status of this project and if it has active maintainers? Thanks so much!

Hi, no one except Guyonroche has permission to publish package. Recently I publish it from fork https://github.com/SiemaTeam/spreadsheets .
Could you try if is it working properly from that fork?
btw. we're organizing MergeFest to cleanup current PRs list, they are on Discord https://discord.gg/siema .

Hi, no one except Guyonroche has permission to publish package. Recently I publish it from fork https://github.com/SiemaTeam/spreadsheets . Could you try if is it working properly from that fork?
btw. we're organizing MergeFest to cleanup current PRs list, they are on Discord https://discord.gg/siema .

I tried it today - so far so good. Thanks.


Release 0.8.0

Update changelog.
Add Python 3.7 to supported versions in the package.
Fix docstrings in new Context class to match pandas-style.
Document new context class in authentication and API docs.

Note: I put Monday as the date that I'll actually pull the trigger to push to PyPI because it's probably not the kindest thing to release late on a Friday.

Nice, thanks @tswast !


Documentation and debugging improvements.

This change set includes the following changes:

Added functionality for debugging (stderr) heap and registers, in addition to the stack
Added documentation of AtomVM memory management
Added test case for garbage collection in list handling

These changes are made under the terms of the LGPLv2 and Apache2 licenses.

I agree with:

The documentation (doc/atomvm-memory.md)
The change to term_display

I would like to delay the TermHandle thing.
I'm not sure that is what we are looking for and I would like to think carefully about it, my concerns are about if we should fix our literals handling.
Also I'd like more granular PRs in the future, so good changes are not delayed.

Removed TermHandle changes.

Thank you for your changes, we really need some good documentation like this.
Also the debug changes are going to the right direction. :)


[wishlist] Minimum width for decorations

I'm using linter-js-standard and it's somewhat annoying that zero-width error spans don't give a visual indication of the column with the error.  I think it would be more useful if error spans were forced to at least one character so that the highlight would always show up.  Thoughts?
Good:
Bad:

Sounds like a decent idea to have here in the core, you should also point the author of linter-js-standard at the atom-linter helper library, one of the functions is rangeFromLineNumber which creates a range from the specified column to the end of the line automatically.

+1. linter-pylint also does zero-width errors and it's very annoying.
It would be nice if linter core would display these properly. :)

A lot of these issues are due to helpers.parse() returning 0 length ranges.... I think it's high time I go and fix that :stuck_out_tongue:.

I don't think we want this. If something has a 0-width range then it means the provider is messing it up. and we need to trigger errors to help us investigate. Thanks for asking though @sorear


File type for ML masks

What file type/ format are the masks expected to be in to create the RTStruct files? We're currently trialling a ML auto segmentation solution which outputs anatomical models as separate nii.gz (zipped nifti) files. Do you know if files of this type can be converted into the required format for them to be packaged into an RTStruct file? Thanks.

@MattAWard As long as you can convert the NIfTI file into a numpy array, then you can incorporate that using rt-utils. You can use nibabel to read a nii.gz and get the numpy array.
import nibabel as nib

nii = nib.load('path/to/.nii.gz')
arr = nii.get_fdata()

Hi! How do you exactly convert a NifTI file in numpy array into a RTStruct? It's unclear :/


doneCallback is persisted and called after other tasks with no callback

We ran into this problem writing tests for Gulp tasks, but here's an example that demonstrates the problem with only Orchestrator:
'use strict';

var Orchestrator = require('orchestrator');
var orchestrator = new Orchestrator();

orchestrator.add('foo', function() {
  // Doesn't matter.
});

orchestrator.start('foo', function doneCB(err) {
  console.log('done with foo');
});

orchestrator.start('foo');

When run, the output is
$ node example.js
done with foo
done with foo

(The problem we had was using a jasmine done() call in the doneCallback, which would end up getting called multiple times, e.g.
describe('foo', function() {
  it('should do', function(done) {
    gulp.start('foo-task', function fooCB() {
      done();
    });
  });
  it('does another thing', function() {
    gulp.start('bar-task');  // fooCB gets called again, maybe, later
  });
});

)
Since Orchestrator already inherits from EventEmitter, doneCallback could be replaced with .once() and an internal event name, e.g.:
// index.js L79
this.once('::complete', lastTask);

// index.js L150
this.emit('::complete', err);

If that's something you'd be OK with, I'd be happy to open a PR.

Thanks for the detailed description.  This is a duplicate of https://github.com/orchestrator/orchestrator/issues/15.

@robrich So what's the deal with this project? Is it maintained, or is the answer to issues here "wait for Gulp 4"?
#15 is 2 years old, and closed, and references all sorts of other things that are closed (gulp#347, gulp#55) and have been for a while, but I reproduced this issue on master. I also reproduced it on gulp#master:
'use strict';

var gulp = require('gulp');

gulp.task('foo', function() {
  // Doesn't matter.
});

gulp.start('foo', function doneCB(err) {
  console.log('done with foo');
});

gulp.start('foo');

but not on gulp#4.0, because gulp lost its .start() method (which is a thing for another day).

Yes, unmaintained and being removed from gulp 4, as you noted.

OK, I opened #72 to add that to the README so folks don't go digging here.

@jsocol: gulp has abandoned orchestrator, but I have not.  Orchestrator is now somewhat in a state of flux.  It was built for Node 0.8 and 0.10, a world which no longer exists.  Do we reboot it as https://github.com/orchestrator/orchestrator/tree/develop has done?  Do we call it done and let it go?  I've been pondering these thoughts for quite some time, and haven't come to a good conclusion yet.  What do you think?

It seems I may have jumped the shark with this one.  Created https://github.com/robrich/orchestrator/issues/73 to explore it more.


[CCI] doc: fix grammar

Description
While going through the codebase, I stumbled upon some typos and decided to make a PR
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dblock added changelog

@dblock added changelog

Thanks, usually no need for typos and such.


Raster Reprojection codesandbox examples are not working.

I am encountering Cannot read properties of undefined (reading 'WGS84') while running these codesandbox examples that have proj4 as dependency:

Raster Reprojection
Reprojection with EPSG.io Search
Image Reprojection

However, dropping proj4 version from 2.8.0 to 2.3.15 seems to solve the issue.

A recent codesandbox update seems to have a introduced a problem when importing proj4, examples which do not involve OpenLayers are also affected.  Using old versions of proj4 may have compatibility issues, a quick fix to continue using the latest proj4 with codesandbox is to add <script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.8.0/proj4.js"></script> to the html and comment out the import.

Thank you for your input and suggestion. I will close this since it's an unrelated issue.


set multibyte character with ESC &

does it currently support that command? thx
is it e.CodePage(CodePage codepage)?

never mind. it's obvious.

Hey @koo9,
Sorry I didn't get back to you. Did you answer your own question? What was the answer?

it's e.codepage()


Qt preview

@naushir This provides a preview window implemented with Qt. Why on earth would we want that, especially when it involves buffer copying, CPU resizing and colour conversions...? Well, it works with X forwarding, so it does provide an option for people who really feel they have to have a local preview window when the Pi running the camera is somewhere else.

@naushir I think this latest version takes care of those various things you pointed out - let me know what you think!

Looks good!


Swagger Editor examples not testable

Hi,
I know this is no real concrete issue, but I'm asking myself if I'm doing something wrong. I'm currently investigating the capability of swagger-test-templates, as it looks quite promising and is exactly what we need in our projects. But when I'm generating tests for any of the examples you can load in the Swagger Editor (for example the pretty simple PetStore on Heroku), all the resulting tests are failing afterwards with different validation errors. In this case it looks like, that $ref can't be resolved. Would be nice if someone can help me out.
best regards
Benny

Benny, hello, in the next release, the $ref resolution should be fixed per discussion and related PRs in #104
We are wrapping things up for the next release.

Thx for the quick reply Noah. Looking forward to see the next release.


If the assets directory files have the suffix is null

If the assets directory files have the suffix is null
i found the apktool.yml would be show:
doNotCompress:

arsc
dat
xml
uwc
jar
dgc
''
cbx
bin
zip
so

if will compile failed!
ERROR: input directory 'cbx' does not exist
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\lizhiy
i\AppData\Local\Temp\brut_util_Jar_7888769076672255551.tmp, p, --forced-package-
id, 127, --min-sdk-version, 9, --version-code, 100, --version-name, 1.0.0, -F, C
:\Users\lizhiyi\AppData\Local\Temp\APKTOOL7651220129081251202.tmp, -0, arsc, -0,
dat, -0, xml, -0, uwc, -0, jar, -0, dgc, -0, , -0, cbx, -0, bin, -0, zip, -0, s
o, -0, arsc, -I, C:\Users\lizhiyi\apktool\framework\1.apk, -S, D:\Program Files
AnySDK\tool\win\sss\res, -M, D:\Program Files\AnySDK\tool\win\sss\AndroidManifes
t.xml]
i guess command was wrong!

A pull request is already in to fix this. Thanks for the report.

https://github.com/BurgerZ/Apktool/commit/22bd5b0acc15abf9405028f473a7f14e3e16e954 fixed, including for 2.1.0 release.

how to download apktool.jar with 2.1.0

Apktool 2.0.3
ERROR: input directory 'arsc' does not exist

@iBotPeaches
Apktool 2.0.3
ERROR: input directory 'arsc' does not exist

@rockz5555 upload your apk.

To everyone who keeps reporting this bug. Yes I know, its affecting a lot of people. All you have to do is remove the blank entry from the apktool.yml file.
If you see an entry that is blank in that list then remove it. I detailed the workaround here - https://github.com/iBotPeaches/Apktool/issues/1137#issuecomment-171961666


Create 0076-minimum-window-substring.md

Related Issue
closes #1901
[Cite any related issue(s) this pull request addresses. If none, simply state "None”]
Description
Added Lc Sol for 76
[Please include a brief description of the changes or features added]
Type of PR

[ ] Bug fix
[x] Feature enhancement
[x] Documentation update
[ ] Security enhancement
[ ] Other (specify): _______________

Screenshots / Videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[x] I have performed a self-review of my code.
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have followed the code style guidelines of this project.
[x] I have checked for any existing open issues that my pull request may address.
[x] I have ensured that my changes do not break any existing functionality.
[x] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[x] I have read the resources for guidance listed below.
[x] I have followed security best practices in my code changes.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Please read the following resources before submitting your contribution:

[ ] Code Harbor Hub Community Features
[ ] Docusaurus Documentation
[ ] React.js Documentation
[ ] Markdown Guide
[ ] MDX Documentation
[ ] Mermaid Documentation

Resources for DSA Features on Our Site:

[ ] Tabs: Switch Languages
[ ] Line Numbering
[ ] Math Equations

Contribution Guidelines
Thank you for considering contributing to our project! To ensure smooth collaboration and effective contribution management, please adhere to the following guidelines:
Issue Creation

Limit on Issues:

Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.

Contribution Levels

Basic Contributions:

This project is primarily focused on documentation. Most of the setup has been completed, so contributors will generally need to work on basic code tasks, such as writing tests.
For these tasks, issues will be assigned the level1 label.

Acknowledging Hard Work:

If a contributor puts in significant effort on a task, the issue will be upgraded to level2. This is our way of recognizing and appreciating extra effort.

Feature Additions and Component Work:

Contributors working on new features or components using JSX/TSX will be assigned a level based on the complexity and quality of their work.
The more complex and valuable the contribution, the higher the level assigned.

Level Definitions

Level1:

Tasks are straightforward, such as fixing minor bugs, writing tests, or making simple documentation updates.

Level2:

Tasks require more effort, such as addressing complex bugs, improving existing features, or making substantial documentation improvements.

Level3:

Tasks are highly complex and involve significant new feature development, major refactoring, or extensive contributions to the project’s core components.

We look forward to your contributions and appreciate your effort in helping us improve the project!

@PradnyaGaitonde hi it has been communicated before regarding the score on this repo.

its limited to 150 if you contributing non technical work
https://github.com/GSSoC24/Contributor/tree/main/gssoc-guidelines


synth balance on dashboard

Description

[x] Refactor synth balance table to v2 design according to "Elements to show / Design Mockup"
[x] Make sure spot balances of a connected wallet are shown depending on the connected network (L1 or L2)
[x] Implement synth balance table into "Spot Balances" tab on Dashboard
[x] Make Amount, Value in USD, Oracle Price and 24H Change sortable
[x] Move the disabled "Shorts" tab button to the right, and "Spot Balances" tab button to the right of "Futures Positions"
[x] In the Spot Balances tab button, show the total portfolio value in USD of synths in a wallet (see design screenshot)
[x] Do the same for the "Futures Positions" tab, showing the total "Futures" portfolio value
[x] In the "Futures Portfolio Value box" on top of the dashboard, change the name to Portfolio Value
[x] Make sure the shown Portfolio Value sums up the connected wallets Futures Portfolio values + Spot Balance values

Related issue
closes #754
Motivation and Context
Refer to issue specified above
How Has This Been Tested?

On dashboard, click button "Spot Balances" and the balances are shown in a table.
Detail of button "Spot Balances" is total value of spot balance which is sum of all synths
Detail of button "Futures positions" is total value of future positions which is sum of all markets
Portfolio value is sum of spot balance + future positions + shorts (which is 0 now)

Screenshots (if appropriate):

Some styling issues with buttons to resolve.
@platschi Another unresolved issue that's likely out of scope is the green text color in tables. I think this should be fixed separately before tomorrow's release. Oracle prices, amounts, volumes should be white.

Green text resolved with PR #836. We should probably merge v2-dev into this one first to make sure we don't overwrite it again.
Second about styling, we mentioned this in the ticket thread on Discord but the fixes change the layout elsewhere (e.g. Deposit/Withdrawal buttons). Will consult with @asherism

@Xiaolei-Shawn
The forex shows 100%+ price change in the past 24 hours. Let's keep the 24h price change of sUSD to '-', the same as it shows on Spot Market Table.

Good catch! Fixed it.

@Xiaolei-Shawn Just found another tiny thing. Please set the decimals of sEUR to 4.

Done, sir.

@Xiaolei-Shawn Could you please check the sorting of oracle price？It seems not working as expected.

Should be fixed by latest commit 👍


Webhook server crashes when Argo CD option server.insecure is set.

Hi,
We are using Argo CD with the following setting because TLS is terminated at the external Load Balancer outside of cluster.
apiVersion: v1
kind: ConfigMap
metadata:
  name: argocd-cmd-params-cm
data:
  server.insecure: "true"

With this setting, ApplicationSet controller's webhook server crashes at startup as below:
$ kubectl logs argocd-applicationset-controller-66689cbf4b-wnvxk -n argocd
1.6521430257851515e+09  INFO    setup   ApplicationSet controller v0.4.1 using namespace 'argocd'       {"namespace": "argocd", "COMMIT_ID": "a5712ba564afaff0b23697135d6281d413e60345"}
1.6521430265947015e+09  INFO    controller-runtime.metrics      Metrics server is starting to listen    {"addr": ":8080"}
time="2022-05-10T00:37:06Z" level=info msg="Starting configmap/secret informers"
time="2022-05-10T00:37:06Z" level=info msg="Configmap/secret informer synced"
1.6521430267008247e+09  ERROR   setup   failed to create webhook handler        {"error": "Failed to get argocd settings: server.secretkey is missing"}
main.main
        /workspace/main.go:160
runtime.main
        /usr/local/go/src/runtime/proc.go:255

Because of this problem, ApplicationSet webhooks are completely disabled in this configuration. (Argo CD's webhooks work fine.)

Looks like that warning is expected.  https://github.com/argoproj/argo-cd/issues/1936
I also stumbled into this when trying to use an ApplicationSet.  Try putting it in the same namespace as argocd.  https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/application.yaml#L5

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: guestbook
  # You'll usually want to add your resources to the argocd namespace.
  namespace: argocd
...
...
...


Download saves as mp4 files which are actually m3u8 files (and can't be re-published)

I just noticed that the content of the mp4 files generated by appstore_tools download ... is actually not a real mp4 but rather a m3u8 file. If you re-upload to apple what was downloaded, you get a nice error in appstore connect

Ok, will need to investigate to find the correct way to download preview files, it seems.  Thanks for all the preview testing :)


React 17 support

Is it possible to update the peer dependencies to allow using react 17?
https://github.com/jossmac/react-images/blob/859ef021776186052bb9e46b208c28f51666c776/package.json#L80

@w01f6 You shouldn't be using this package anymore as it's very broken, but, just for you, I'll do it :)

@w01f6 Published 1.2.0-beta.1. Give it a go and lemme know if you have any issues.

Just tried it get an import error
error - ./node_modules/react-images/dist/react-images.es.js
Attempted import error: 'react-full-screen' does not contain a default export (imported as 'Fullscreen').

@amirhar Published 1.2.0-beta.2!

It seems to be FullScreen and not Fullscreen

this issue: seems co-related to the current beta path: https://github.com/jossmac/react-images/issues/396


Added help description for /drive:hotplug,*

My first pull request.
Just wanted to add some help for people wanting to enable hotplug support.
Let me know if there are any mistakes.
Thank you so much for all your hard work!!

@freerdp-bot test
@jphein Welcome and thank you :+1:


"inc" files allowed in "include"

Based on the examples, files with either the qasm or inc specifier are allowed in include, however only .qasm is included in the live specification.

I don't think it should matter. Since it's a filepath it should just be treated as QASM3 regardless of the file extension.

Well for parsing it, I don't think I should be opening up the file and adding all of it?

No, that is the responsibility of the compiler to link/preprocess.

It just seems like only one extension is allowed in the specification, but it really should be any string w/ any file type.

Yes, from a parser's perspective.

I think this should be made clearer, I can make a PR if we want about it

Sure, please see https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html.

Looks like it was clarified. Was a minor spelling error, so added PR: https://github.com/Qiskit/openqasm/pull/105. Closing this issue.


TreeView issue

Hello. When I try to listen updates it get the updates. But when ever i try to add code related to treeview inside this Task ListenMultiple(string project) function it stops working. Couldn't figure out why.

There are samples for many client libraries on this repo. From your question it is not possible to know which client library and which sample you are refering to.
The best way for us to help you is if you post a small but complete console application that reproduces the unexpected result you are seeing.

https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/04e97f8f218b39926d4d98f1bf9ab7bafb848be4/firestore/api/ListenData/Program.cs#L81-L92
i try to use this sample. It works normally but when i try to replace 90th line with this treeViewMachListNodes.Add(documentSnapshot.Id) it stops working. I don't know why but it could be related to something else.

It stops working

What does this means, the application crashes, you get an exception, the application continues to work but the result is different to what you expected.... ?
If you get an exception, please share the full stack trace.
If the result is unexpected, please share what result you are expecting and what is it that you are seeing.

Then i call this functions in init function.

Init function of what?
Again, if you can share a simple but full console application that reproduces the problem we'll be able to help you faster.

Note: If you can't reproduce the issue on a console application, but you reproduce it in a web app or another type of desktop app, it's fine, as long as the app you share is minimal (i.e. the minimum to reproduce the issue) and complete, we'll be able to help you way faster.

public partial class Form1 : Form
 {
     public Form1()
     {
         InitializeComponent();
     }
     FirestoreDb myLocalREf;
     private void Form1_Load(object sender, EventArgs e)
     {
         ListenMultiple().Wait();
     }
     private async Task ListenMultiple()
     {

         string path = @"mypathtojson";
         Environment.SetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS", path);

         myLocalREf = FirestoreDb.Create("myprojectname");

         CollectionReference citiesRef = myLocalREf.Collection("mycollection");
         Query query = myLocalREf.Collection("mycollection").WhereGreaterThan("mycondition", 0);

         FirestoreChangeListener listener = query.Listen(snapshot =>
         {
             /* Used when listbox code on */
             //listBox1.Items.Clear();

             foreach (DocumentSnapshot documentSnapshot in snapshot.Documents)
             {
                 if (documentSnapshot.Exists)
                 {
                     Dictionary<string, object> docKeyValPair = documentSnapshot.ToDictionary();
                     object myobject = docKeyValPair["myListofItems"];
                     MessageBox.Show("Event Occured");
                     IList myList = (IList)myobject;

                     foreach (string key in myList)
                     {
                         /* This works*/
                         //listBox1.Items.Add(key);

                         /* Somehow this doesnt work.  */
                         treeView1.Nodes.Add(key);
                     }
                 }
             }
         });
     }
    /* here just to test out treeView1.Nodes.Add() works and it does work */
     private void button1_Click(object sender, EventArgs e)
     {
         for(int i = 0; i < 5; i++)
         {
             treeView1.Nodes.Add("Node" + i.ToString());
         }
     }
 }

I tried this on new project and still having same error. I added messagebox there to check whether If its getting the updates or not.  Whenever i add the treeview code there it doesnt work. But when i remove that and work with listbox it works without any problem. instantly gets the updates.


Addition of command line cut and an option to include a process in systematic calculations

The command line cut is very simple, the only thing to note is that it is applied even on histogram of the variables being cut on (unlike what happens when a cut is applied at variable level in the plotcard).
The systematic option is called "dosysts" and is optional, set to true by default unless the process is 'Data'. It's useful for when you have a stacked histogram where the stacks are all subsets of the total, in which case the current version is liable to either overcount systematics or give an error because the systematic tree name is incorrect. The latter is the reason for replacing the process name with the tree name when automatically generating the systematic tree names.

Thanks for this new features. Thanks @edjtscott.


symfony/console require mismatch with Magento 2.4.4-p6

Problem 1

Root composer.json requires contentful/contentful-management ^4.1 -> satisfiable by contentful/contentful-management[4.1.0].
contentful/contentful-management 4.1.0 requires symfony/console ^5.0|^6.0 -> found symfony/console[v5.0.0-BETA1, ..., v5.4.32, v6.0.0-BETA1, ..., v6.4.1] but these were not loaded, likely because it conflicts with another require.

magento/composer module requires "symfony/console": "~4.4.0". Also "contentful/contentful" acceptes ~4.0 ("symfony/console": "~2.7|~3.0|~4.0|^5.0|^6.0") so could this module also accept it?

Hi @Sebb767 .
Are you able to comment on this :)
Thanks.

Hi @Seppo-Konttinen-Solteq ,
Symfony 4.4 is end-of-life: https://symfony.com/releases/4.4 and will also be dropped by contentful/contentful.php in the next release. Is it possible for you to use v4.0.0 of contentful/contentful-management.php which still supports older Symfony versions?

Hi @Sebb767 .
I'm afraid that contentful/contentful-management.php is incompatible with contentful/core 4.0.0 which is needed by contentful/contentful 7.0.1 which seems to be first that is really compatible with PHP8.x.
So it seems that I am in a bit problem here now between Contentful and Magento requires :)
Problem 1
- Root composer.json requires contentful/contentful-management 4.0.0 -> satisfiable by contentful/contentful-management[4.0.0].
- contentful/contentful-management 4.0.0 requires contentful/core ^3.0 -> found contentful/core[3.0.0, ..., 3.2.0] but the package is fixed to 4.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

It seems you're right. I'll push a minor fix to allow Symfony 4.4 again.

Hi @Sebb767.
Thank you. When I could expect the fix to be done?

Hi @Sebb767 .
Any info when the minor fix would be added?
Thanks.

I've released v4.1.2, which should fix this issue

Works. Thanks.


Update account_registration.feature

the name was left out.

The New Solution/Problem/Issue/Bug:
How this PR Solves The Problem:
Manual Testing Instructions:

Related Issue Link(s):

 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.