[22.11] python310Packages.statmake: 0.5.1 -> 0.6.0

Description of changes
statmake 0.5.1 is currently broken in NixOS 22.11:
E                   ValueError: Not enough values in [200] to structure as typing.Tuple[float, float]
/nix/store/jaqjh73hy0hs58756mq08wxs240cm3fp-python3.10-cattrs-22.2.0/lib/python3.10/site-packages/cattrs/converters.py:655: ValueError
=========================== short test summary info ============================
FAILED tests/test_make_stat.py::test_load_stylespace_broken_range - ValueErro...
========================= 1 failed, 28 passed in 1.64s =========================

You can reproduce this using: nix-build -A pkgs.python310Packages.statmake
This is unfortunate, because it is a dependency of pkgs.cantarell-fonts, which is included by default in at least the GNOME desktop.
So why did no one notice? cantarell-fonts is a fixed output derivation and comes from the cache. This means only people that end up rebuilding cantarell-fonts actually run into this problem right now.
Resolve this by backporting the statmake update from unstable (b06eba978ee1445345e47a5a46a391069b63cb09), which fixes its tests.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 208425 run on x86_64-linux 1

2 packages built:

python310Packages.statmake
python39Packages.statmake

Not breaking ,since we have cattrs 2022.2.0 on release-22.11.


MC - Display visitor QR on homepage & puzzles complete page

There's a test fail, but that's the anagram puzzle, not me, lol


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2022-02-15T00:06:56+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-distroless_istio
0c74a0545cda9f70d7a1d9ca6af7b97cbb72eccd
link
true
/test integ-distroless_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-distroless_istio


fake comment/like permalinks by adding fragment (e.g. #USERID)

we already do this for FB event attendee RSVPs, might as well do it for G+ comments too.
cc @kartikprabhu

reopening since we should do this for more responses, e.g. FB likes. inspired by IRC. cc @tantek @dissolve @aaronpk

agreed that omitting u-url is not a good solution. +1 to urls being unique via fragment


Collapsed tabs in project settings are not saved (3.0 RC3)

Godot version:
3.0 RC3
OS/device including version:
Ubuntu 16.04
Steps to reproduce:

close/open

I don't see much use for saving this information, but if others would like this feature, it can be saved in project metadata.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Create ISSUE_TEMPLATE.md

Looks good, the comment styling isn't consistent though. Would use two dashes.
👍

👍

LGTM


Service contact information

Need a way (eventually) to collect service contact information, non-publicly, to be able to send alerts.

Have code contributors at the moment..


Support flink time type in query operation

Why are the changes needed?
closed #1770
Support flink time type in query operation
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #4635 (9f9a3e7) into master (9ca00c8) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #4635      +/-   ##
============================================
- Coverage     53.59%   53.57%   -0.03%
  Complexity       13       13
============================================
  Files           579      579
  Lines         31802    31808       +6
  Branches       4253     4254       +1
============================================
- Hits          17045    17040       -5
- Misses        13172    13179       +7
- Partials       1585     1589       +4

Impacted Files
Coverage Δ

...ain/scala/org/apache/kyuubi/util/RowSetUtils.scala
20.68% <0.00%> (-5.40%)
:arrow_down:

... and 10 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, merged to master/1.7


Resource attributes for network addresses of a host

The Elastic Common Schema defines the semantic conventions host.ip and host.mac, that state, respectively, the known IP and MAC addresses of a given host.
This issue tracks incorporating them into the OpenTelemetry semantic conventions. There are two open questions or clarifications that I feel need to be resolved before adding these to OpenTelemetry:

Should IPv4 and IPv6 be distinguished in separate semantic conventions?
Should this belong to the host namespace of is this a network semantic convention that should be under the system.network namespace?

These may be part of https://github.com/open-telemetry/opentelemetry-specification/issues/3556 if approved.

Hey @mx-psi!
Regarding the distinction of IPv4 and IPV6 I like the idea of being more specific.
About the second question: From infrastructure perspective I would consider host.ip and host.mac as attributes of a given host. So I would say that we could follow ECS in that part without an issue.
Another thing that we might consider here related to the second question is if it would make sense to report system metrics under the host.* namespace as well. So instead of system.cpu.utilization we use sth like host.cpu.utilization. This was covered by ECS at https://github.com/elastic/ecs/pull/2129.
On this we will need to also take into account how we will report metrics from other entities like containers and VMs. We would need to make the topology distinction clear so as to not mix things.

Filed #203 for the IPv4 and IPv6 addresses case.

Closing this since we now have host.ip and host.mac


PNM

Current dependencies on/for this PR:

main

PR #83   👈

PR #84

This comment was auto-generated by Graphite.


Update ru.coffee

Please explain to me what  means spawnable (614 en.coffee) for correct translation

Спасибо!


Move language defs and stories to new repository, link with submodule

Lang and story data belongs elsewhere to separate code from config data.
I'm linking via submodule b/c that was the only way I could get the data to be included in the pip package with flit.
TODO:

[x] Create LuteOrg/language_data repository with readme
[x] Copy all language def files created in #392 to that new repo
[x] Delete the language def file subdir
[x] Pull in the new repo as a git submodule
[x] Ensure branch github ci works correctly
[x] Add development notes about the git submodule; git setup notes -- try reclone?

Launched in 3.3.2.


Notification

Failure getPostTask { Error: Messaging payload contains an invalid value for the "data.icon" property. Values must be strings.
at FirebaseMessagingError

same here any solution so far??????

so far i have commented this line
//   const generateThumbsPromises = generateThumbnailsGeneral(fileBucket, filePath, contentType);
and replaced
icon: post.val().imagePath,
with
icon: post.val().imageTitle,
and notifications are working now (at lease in when app is running foreground)


Combining completion suggester

Hi Shinsuke,
is there a way to combine elasticsearch completion suggester in the index stored data?
I'd like to be able to use auto completion abilities on myweb index.
Any suggestions :) ?

Hi orenorg,
I've used it in a project to index a meta tag with comma separated keywords as suggestion.
The meta tags look like this:
<meta content="keyword1, keyword 2, blabla bla, blaaaa" name="keywords">

In the in the field definition (in the properties section) I used the script functionality to separate the keywords:
"target" : [
  {
   .....
    "properties" : {
            "keywordsForSuggest" : {
                 "attr" : "meta[name=keywords]" ,
                 "args" : [ "content" ],
                 "script" : "value.split(', ')"
            },
     .....
 }
}]

keywordsForSuggest is the completion suggester field.
For me this works like a charm.
I hope this helps.


Flash example does not work on Linux

I'm not sure whether I need a specific libpepflash.so version which is the problem but I'm using the one provided by the arch pepperflash package  and just get "Couldn't load pluigin". I'm using the sample main.js and current.
I get no errors or messages in stdout/stderr only "Couldn't load plugin" where the flash element should be. Do I need a specific version of the .so file or should any work? I've tried  different commands for the version string, the one from your example and the one reported by Chromium using the same .so file, I still can't get it to load. How do I go about debugging this?

Yes, the version of Pepper Flash Plugin should be aligned with the one being used in the Electron's Chromium version.


Migrate to 1ES pipeline template

### Tasks
- [ ] Migrate pipeline to a governed template

cleaned up with https://github.com/microsoft/kiota-serialization-cbor-dotnet/commit/3204329f1ad18891084725c7af0c766dc3756767


Device: TuYa - Smoke_sensor_TS0205_smoke_2

Manufacturer
TuYa
Model
Smoke sensor (TS0205_smoke_2)
Battery Type
AAA
Battery Quantity
3

Sorry, there's wrong battery amount. Correct is 2.


CMake Cleanup: Addition of test enclaves should not be based on platform

Today the enclave portion of tests are added only on Linux platforms.
E.g: https://github.com/Microsoft/openenclave/blob/master/tests/echo/CMakeLists.txt#L6
Instead of depending on the platform, the enclave directories must be added based on another flag, say
OE_BUILD_TEST_ENCLAVES. OE_BUILD_TEST_ENCLAVES must be set to true by default on Linux, and must also be set to true on ELF on Windows workflow.
CC: @soccerGB @andschwa

We resolved this in #1268.


Veteran Map lagging from too many markers

As a visitor, the Veteran Map markers should be clustered to prevent lag.

I plan on working this issue.

Fixed in #703


Receive HTLC to default fed

Since we don't fully support multiple federations, we need to guess the intended destination actor for every incoming payment received via intercepted htlc. This pr removes any reference of default_federation in gateway configs, and instead, picks a listed actor in the gateway, then attempts to settle payment into the federation represented by this actor.
#1337 proposes a long term fix for this issue, by actively streaming intercepted htlcs into a subscribing actor, therefore avoiding the need to select actors for every intercepted htlc
See #664 for details on supporting multiple federations

So this code assumes that there is exactly 1 gateway actor. How are we sure this will be true?
It seems that filtering htlcs ensures this code never executes before a gateway actor has been created.
But how do we know we will never have 2 gateway actors? Perhaps gateway-cli connect-fed should refuse adding a second actor until we have proper multi-federation support?

But how do we know we will never have 2 gateway actors? P

If I'm reading it right, if we have 2, we will arbitrarily route to first one on the list.
This is just a temporary fix, until proper routing is implemented.

But how do we know we will never have 2 gateway actors? P

If I'm reading it right, if we have 2, we will arbitrarily route to first one on the list.
This is just a temporary fix, until proper routing is implemented.

Keen getting a permanent fix shortly.
Now if we had two gateway actors, and selected the wrong one (we select at random because hashmaps are not ordered), we would attempt to settle htlc to it but will not find the corresponding incoming transaction on the federation. Gateway will fail the htlc


Fix for react-native-vector icons missing or wrongly mapped

This is no longer relevant as the package is already updated and mapped.


swapping out distance calculation function

The justification for this PR is:

addressing #318
improves performance — euclidean distance calculation
improves DRY programming

The original commit/push passed locally, but a docstring failed on TravisCI due to a minute precision difference.
======================================================================
904FAIL: Doctest: spaghetti.network.Network.allneighbordistances
905----------------------------------------------------------------------
906Traceback (most recent call last):
907  File "/home/travis/miniconda/envs/TEST/lib/python3.7/doctest.py", line 2196, in runTest
908    raise self.failureException(self.format_failure(new.getvalue()))
909AssertionError: Failed doctest test for spaghetti.network.Network.allneighbordistances
910  File "/home/travis/build/pysal/spaghetti/spaghetti/network.py", line 1477, in allneighbordistances
911
912----------------------------------------------------------------------
913File "/home/travis/build/pysal/spaghetti/spaghetti/network.py", line 1551, in spaghetti.network.Network.allneighbordistances
914Failed example:
915    s2d_dist[0,0], s2d_dist[1,0]
916Expected:
917    (4520.72353741989, 6340.422971967316)
918Got:
919    (4520.72353741989, 6340.422971967315)

Pull Request Test Coverage Report for Build 1844

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.06%) to 93.329%

Totals

Change from base Build 1842:
-2.06%

Covered Lines:
5170

Relevant Lines:
5472

💛  - Coveralls


[SUPPORT] Upgrading to 0.11.1 resulting use sparksql and Sync Hive

Hudi has recently released the latest version of Hudi, 0.11.1, which is pulled from Github and modified as follows for our Hadoop environment CDH6.3.2。
Upgrading to 0.11.1 resulting use sparksql：
`
create table if not exists zone_test.hudi_spark_table0718_mor_0111
(
id                 string,
brand_id           int,
name         string,
model_id   int,
model_name string,
etl_update_time    string,
dt                 string,
hh                 string
) using hudi
options (
type = 'mor',
primaryKey = 'brand_id,vehicle_model_id',
preCombineField = 'etl_update_time',
hoodie.cleaner.commits.retained = '2',
hoodie.compact.inline=true
)
partitioned by (dt,hh)
;
insert into zone_test.hudi_spark_table0718_mor_0111 partition (dt,hh)
select id,
brand_id,
name,
model_id,
model_name,
CAST(current_timestamp AS string)  as etl_update_time,
'20220718',
'10'
from zone_test.test_vehicle_status_2_hi
;
`
now I can see 3 tables in the Hive

But，there is zero result in the table zone_test.hudi_spark_table0718_mor_0111 and  hudi_spark_table0718_mor_0111_ro
hudi_spark_table0718_mor_0111_rt has 2 records。this is a bug？
However when I run this SQL:
`set hoodie.datasource.hive_sync.skip_ro_suffix=true;
create table if not exists zone_test.hudi_spark_table0718_mor_0111_skip
(
id                 string,
brand_id           int,
name         string,
model_id   int,
model_name string,
etl_update_time    string,
dt                 string,
hh                 string
) using hudi
options (
type = 'mor',
primaryKey = 'brand_id,vehicle_model_id',
preCombineField = 'etl_update_time',
hoodie.cleaner.commits.retained = '2',
hoodie.compact.inline=true
)
partitioned by (dt,hh)
;
insert into zone_test.hudi_spark_table0718_mor_0111_skip partition (dt,hh)
select id,
brand_id,
name,
model_id,
model_name,
CAST(current_timestamp AS string)  as etl_update_time,
'20220715',
'10'
from zone_test.test_vehicle_status_2_hi
;
`

now I can see 2 tables in the Hive,both
hudi_spark_table0718_mor_0111_skip and  hudi_spark_table0718_mor_0111_skip_rt has 2recoreds。

cc @fengjian428

@jiangbiao910 which query engine do you use to query data? make sure hudi_spark_table0718_mor_0111 has no partition info in hive metastore

only _ro and _rt table will sync partition info to metastore, when I use presto to query raw table, cannot query the data, but _ro or _rt success. Depending on the implementation of the engine. When you set hoodie.datasource.hive_sync.skip_ro_suffix=true, it will take raw table as _ro to sync

Yeah, KnightChess is right, I think this can answer this question

only _ro and _rt table will sync partition info to metastore, when I use presto to query raw table, cannot query the data, but _ro or _rt success. Depending on the implementation of the engine. When you set hoodie.datasource.hive_sync.skip_ro_suffix=true, it will take raw table as _ro to sync

hen I use presto to q

@jiangbiao910 which query engine do you use to query data? make sure hudi_spark_table0718_mor_0111 has no partition info in hive metastore
I use hive and trino  to query data，
show PARTITIONS hudi_spark_table0718_mor_0111  --》 0

@KnightChess @fengjian428 thanks!


Test: Convert /server and depends to ESM style code calling

I've having a little distrust of my local environment with jest. creating a PR to compare against circleci results

Closing in favor of #3902


Unlock all languages

resolves #29
I found this showAllSubDubTracks option in manifest requests and it works like a charm.
This might bring a new issue, too many languages! Maybe we need a way to let users filter the languages and display only those they are interested in.

Sorry, my fault. I didn't noticed that I also installed this extension, which uses a modified version of older cadmium player. P.S. that version still uses the old subtitle downloadUrls 😂
I will close this  PR and leave some comments at #29 for further discussion.

Oh interesting, I also have a fork of netflix-1080p on my laptop so that explains the different player versions! 😅 But that one interestingly still doesn't work with showAllSubDubTracks
We may consider adding this as an optional feature and then instruct the user to install netflix-1080p ? But the original version is no longer maintained, and I don't know the impact of sticking with the older player version.


bug: simulation allows aspirating and dispensing on a tip rack

Overview

The robot does not raise an error or warning when trying to aspirate and dispense on a tip rack. This occurs during the simulation and the tip rack is from the Opentrons labware library, not customized.
Steps to reproduce

apiLevel = 2.8
Load plate with tip rack:
plate = protocol.load_labware('geb_96_tiprack_10ul',4)

Perform a mock transfer (same problem happens when using aspirate and dispense):
pipette.transfer(5, plate.wells_by_name()['A2'], plate.wells_by_name()['B2'])

Current behavior

Expected behavior

Raise a warning so that users are aware of this type of mismatch when using labware from the Opentrons labware library. This is helpful when new users are still getting used to loading labware.

Thanks for reporting this. We agree: this is confusing, and the API should guard against this mistake.


add hash key generation to recruit_reviewer function

instead of adding a function get_hash, I'm inserting the hash key generation directly into the recruit_reviewers function. My reasoning is that this hash manipulation isn't happening anywhere other than here, and in the corresponding recruitment process functions.

Sounds good to me


Autorange picking and solvent detection

Depending the solvent and the nucleus auto range picking should assign some peaks as solvent.

It is done

It is done


ImportError: /lib64/libm.so.6: version `GLIBC_2.27' not found

i run it on centos7 and python3.8.3，and i just want to run it on cpu not gpu. I met follows error：
>>> import nnsplit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/zyb/miniconda3/lib/python3.8/site-packages/nnsplit.cpython-38-x86_64-linux-gnu.so)

I'm also having the same issue.
It's not possible to run this on Amazon Linux or AWS services in general.

Hi! Sorry for being so quiet on this library. I have been working on a major revamp, expanding support to 85 languages, switching to a new training objective without labelled data, and switching the backbone to a BERT-style model.
It now does not have a Rust build in the background anymore so this should be solved! Please let me know if this persists.


Netty 4.1 binary compatible issue

From version 0.2.20 Netty 4.1 was introduced, which is not compatible with previous versins.
But projects like Play  are still using Netty 4.0.
I think it may be too early to use 4.1.

A problem here is that vertex requires 4.1 and that prevents people there from using if we don't upgrade and they rely directly on this driver for async database access.

@mauricio  Can we have a legacy version which backport some important bug fix. As 0.2.20 break binary compatible, it should actually 0.3.x

+1 .. i just had the same issue... play 2.5.13 is still running on netty 4.0.44.Final


About the structure inference

Dear Authors:
Thank you for sharing your code, very interesting work!
After reading your paper and code, I am quite curious about the structure inference process but I could not fully understand it. I have the following two questions:
1.In the supplementary materials about the description of Algorithm 1, "Rearrange the elements in Ci from high order to low order" is mentioned. How to identify the order of the elements? Does the order mean the number of elements?
2.Does every selection of the element need to train the HoGRC model again so as to acquire the prediction error or just modify the random matrix in the testing phase?
I would appreciate it very much if you could answer my questions. Thanks again!

Thank you for your attention to our work!

Here, we use simplicial complexes to describe the higher-order neighbors, with the dimension being the number of nodes contained in the simplicial complex. C_i is the candidate neighbor set, so each element within it will have a dimension.

Each time the structure is updated, the input matrix W_{in} and the adjacency matrix A of the Reservoir Computing (RC) will change. Therefore, it is necessary to retrain the HoGRC to obtain the corresponding W_{out} matrix. Since RC is a lightweight model, this repeated training is acceptable.

Dear Authors: Thank you for sharing your code, very interesting work! After reading your paper and code, I am quite curious about the structure inference process but I could not fully understand it. I have the following two questions: 1.In the supplementary materials about the description of Algorithm 1, "Rearrange the elements in Ci from high order to low order" is mentioned. How to identify the order of the elements? Does the order mean the number of elements? 2.Does every selection of the element need to train the HoGRC model again so as to acquire the prediction error or just modify the random matrix in the testing phase? I would appreciate it very much if you could answer my questions. Thanks again!

Thank you for your attention to our work!

Here, we use simplicial complexes to describe the higher-order neighbors, with the dimension being the number of nodes contained in the simplicial complex. C_i is the candidate neighbor set, so each element within it will have a dimension.

Each time the structure is updated, the input matrix W_{in} and the adjacency matrix A of the Reservoir Computing (RC) will change. Therefore, it is necessary to retrain the HoGRC to obtain the corresponding W_{out} matrix. Since RC is a lightweight model, this repeated training is acceptable.

Dear Authors: Thank you for sharing your code, very interesting work! After reading your paper and code, I am quite curious about the structure inference process but I could not fully understand it. I have the following two questions: 1.In the supplementary materials about the description of Algorithm 1, "Rearrange the elements in Ci from high order to low order" is mentioned. How to identify the order of the elements? Does the order mean the number of elements? 2.Does every selection of the element need to train the HoGRC model again so as to acquire the prediction error or just modify the random matrix in the testing phase? I would appreciate it very much if you could answer my questions. Thanks again!

Thank you for your attention to our work!

Here, we use simplicial complexes to describe the higher-order neighbors, with the dimension being the number of nodes contained in the simplicial complex. C_i is the candidate neighbor set, so each element within it will have a dimension.

Each time the structure is updated, the input matrix W_{in} and the adjacency matrix A of the Reservoir Computing (RC) will change. Therefore, it is necessary to retrain the HoGRC to obtain the corresponding W_{out} matrix. Since RC is a lightweight model, this repeated training is acceptable.

Hello! Thank you very much for your reply! It helps me understand the process more clearly.
But today after reading your paper again combined with your comments, I got another two questions.

According to my understanding, the structure inference is used to construct the relations among variables such as, x, y and z. How to build the relations among subsystems and determine the weights of edges? Besides, how to understand the interactions among subsystems, or how to explain the concept of subsystems, could you provide an example?
I would appreciate it very much if you could answer my questions. Thank you again for your timely reply and help!

Wow, thank you for your detailed replies! They help me understand better.
Your work inspires me a lot. Thanks again!


time-varying scattering length

To make g time-varying, we can send an array of length steps to gpcore.Setup(). Then, in the loop, we can pass the timestep into Wavefunction::RealSpaceHalfStep() so that we can pass  gpcore::chamber.g[timestep] into realspaceKernelLauncher.
We can also extend this to time-vary the cooling (and even dt, if we wanted to do some sophisticated adaptive timestepping at some point)

A time varying scattering length, and thus time varying g has been added. To call Feshbach(a_s) one can set the time sequence for varying g. Note that Feshbach(a_s) should be called right before evolve(). i.e. no re-call harmonic-potential after Feshbach()


[bug]: Not Found - GET https://registry.npmjs.org/shadcn - Not found

Describe the bug
Getting 404 not found error when trying install radio group using
npx shadcn@latest add radio-group
Affected component/components
Radio Group
How to reproduce
Try installing any shadcn component using CLI
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
mAC VERSION 15.0.1 Macbook Pro i5 2020

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

It is happening with me too!

I am getting the same issue

Same here.

Seems to be an issue with the NPM package registry.  Every package I try is returning 404 right now.

I think that the error is with npm: https://www.npmjs.com/package/expo

Seems to be an issue with the NPM package registry. Every package I try is returning 404 right now.

I was about to say that the error is with npm: https://www.npmjs.com/package/expo

Except this one, strangely.

NPM is currently undergoing scheduled maintenance which started at 18:00 UTC
https://twitter.com/npmstatus/status/1865803617330246039

NPM is currently undergoing scheduled maintenance which started at 18:00 UTC
https://twitter.com/npmstatus/status/1865803617330246039

Although it shouldn't impact installations, but it indeed does impact installations. More packages running into this issue.

We will be conducting a scheduled infrastructure upgrade that may temporarily impact publishing and certain website functionalities. While some features will remain operational, like installations and search, minor inefficiencies may occur. Normal operations are expected to resume following the maintenance window.
https://status.npmjs.org/

It's fixed and working now. This can be closed.


Documentation typo for string formatting?

On the docs for string formatting, the format for e lists the output as 1..7, though when using it comes out as 0..6

closing in favor of the momentjs.com issue


⚠ Bofrost.es has degraded performance

In 0899412, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1611 ms

Resolved: Bofrost.es performance has improved in 28450fc after 9 minutes.


Returning an object in Fiber.abort

Strings are good but it would be awesome to be able to give a Fiber.abort an object as an argument to allow more information to be passed back to the calling Fiber. As long as toString is implemented it seems like we would have at least everything we have now.

I've thought about that, but it does add some complexity. When a runtime error occurs, the VM needs to be able to print it directly and immediately. If the error is always a string, it can just print it as a C string. If we allow arbitrary objects, that means in the middle of a runtime error, it may be have to spin up a new fiber to execute the error object's toString method (which may itself fail!).
I suppose the other option is to call toString on the error object in Fiber.abort and have the VM store both the original error object and the resulting error message string, but that still feels a little more complex than necessary.
But, you may be right that we should have something more general here. I don't want to do it yet because I'd like to see how far we can get with something more minimal, but I'll leave this open.

Why not have an Error class that can be subclassed if one wants to pass extra stuff along? The base class would require a message that could be fetched out even on the native side, without having to spin up a new fiber to specifically call toString on the object.

That's not a bad idea, though there are still a few challenges. Many runtime errors come from within the VM. And, for those, it's nice that we can just create a bare string and store it in the fiber. Creating an Error object with a field whose value is a string is a little more work. As always, a key guiding principle is to keep the VM as simple as possible (but no simpler).


Better caching for computed values

Implement a consistent caching system for computations that are performed once per day, such as

Satellite ECEF, ECI vectors from propagate()
Sun ECI vectors
Satellite visibility from sun
Earth orientation parameters
TLE data
geocoded location data

Potential cache options are:

A custom cache wrapper with OrderedDict() that saves the results to disk
HDF5 table with pytables or hdf5py
A sqlite table with an ORM like peewee or SQAlchemy

This cache option should be written so that it can be easily substituted with a Memcached or Redis database for web apps.

Used standard library shelve module to create a custom cache object with time-to-live implementation.
Implemented in commit 1b0836272ed27373ecc9e458903e32b38f22f170.


Revert "staging: use tf-module-buckets-2 (#609)"

This reverts commit cb806ca93a6844190a8f5bbb52594ef17c58ea4d.

Terraform failed to apply it to staging, error output:
╷
│ Error: googleapi: Error 400: Bucket's Versioning cannot be set for Bucket 'wikibase-dev-static-backup' that has retention policy., invalid
│
│   with module.staging-buckets.google_storage_bucket.static-backup,
│   on .terraform/modules/staging-buckets/tf/modules/buckets/main.tf line 54, in resource "google_storage_bucket" "static-backup":
│   54: resource "google_storage_bucket" "static-backup" {
│
╵


fix Fix DOAP syntax

xmlns strings need to match exactly, and these vocabularies are defined with http namespace strings, so we need to follow that.

@raboof Thanks

run buildall


Using type() to compare types - cannot use class that has str as base class

It's not possible to use StrEnum(str, Enum) object as a key because of following code: https://github.com/aio-libs/aioredis/blob/231d0418988fd870c3d26d60eec65e2fc13d0144/aioredis/util.py#L35
Unfortunately this code requires argument to by strictly str type instead of being a subclass of str.
What I'd like to achieve is following:
from enum import Enum

class StrEnum(str, Enum):
     AAA = "aaa"

# ....

rdb.hmget("key", StrEnum.AAA)

@netrix - Thanks for the submission!
I've implemented something similar here:
https://github.com/seandstewart/typical/blob/47a937fa1586c2b5bc0be6a6f89d06b089df3f3d/typic/util.py#L515-L535
If you have a moment to provide an implementation, I'd love to see a PR for this!

This issue should be resolved as of #891 - please feel free to pull in the latest master and test to ensure this is the case.


show_*_report should probably have a save button

I think the show_*_report APIs should allow us to save the output.

Hmm, it would be nice to save as text, MD or HTML. But the MD we just be converted to HTML. So we'll need to keep around the original, while the view is open.

Maybe a callback? We've got the data used to build the report (because we passed it to you...), but no way to know the user clicked the save button.

Added as of v1.1.1435


How to use ProcessOptionsEncoder.ResumePos

Hello,
I'm currently using this library in my project, and I have a question regarding the functionality of the ProcessOptionsEncoder.ResumePos property and the whole stop and resuming process.
Here are  the specific points I'd like to understand:

Is there any other way how to pause an ongoing ProcessWorkerEncoder that runs FFMpegEncoding (created by EncodeFFmpeg()), other than calling Cancel() on it??
If I have the process Canceled and have saved the last encoded frame, how can I continue encoding from this frame? Putting it in ProcessOptionsEncoder.ResumePos, when starting the EncodeFFmpeg(), didn't work, and it just started encoding from the beginning.

I'm trying to start Encoding, stop it save the data, and continue even if the app is closed, or just resume it after stoppping.
Can I achieve this functionality with this library, or is it impossible?
Thank you in advance for your assistance.

If you run a FFmpeg process in a command prompt, it just encodes until done. Is there any way to suspend it?
Actually...
https://stackoverflow.com/questions/71257/suspend-process-in-c-sharp
That's an option to explore. You can get the process and call Process.Suspend. I haven't tried it.
ResumePos was designed for Avisynth/VapourSynth encoding.
For FFmpeg, this might work. I'm not sure whether it will be frame-accurate though
https://stackoverflow.com/questions/49846095/how-to-skip-start-frames-with-ffmpeg
ffmpeg will try to adjust accordingly ... not sure whether "try" is reliable

Also, even for Avisynth and Vapoursynth, generally the start pos has to be within the script itself; so although I don't remember exactly, it's possible that ResumePos was there only to pass to the UI, to inform that it's not a new encode.

Thank you for your response and the information you gave me.
I have already explored the option of suspending the entire process in C# before discovering this library. However, the methods I came across either didn't work or required too much time to try out at the moment. It's a direction I intend to explore further when I have more time. Still, I also decided to ask here because I had assumed that this library already had this functionality when I saw the ResumePos property.
Regarding FFmpeg, my knowledge is little more than basics, so I will need to look more into it.
Thank you once again for your assistance and suggestions. I will continue to investigate and test to find something that will work.

When using FFmpegSource in Avisynth, doc clearly says

May be frame accurate on good days.

So I would advise you not to rely on that. You'll get into trouble.
Pausing/resuming the process should work.
To get frame-accurate source, one option is to feed an Avisynth script into FFmpeg and read the source file using LSMashSourcee, which is frame-accurate.


Add integ tests for cli-sec regen, more for notif API + bugfix

Added tests for client secret regen API

Added additional tests for notification API, to see if tokens can
be obtained after approve notification

Updated OpenAPI spec for PUT /user/profile API

The PUT /user/profile API uses the oneOf to restrict users to either
(roles,orgId) schema or (clientId) schema in the request (role add or cli-sec regen).
So an object with string clientId and array of string roles will not be
allowed because only either is allowed by oneOf.
However, an object with string clientId and integer/bool/string roles
was being allowed. This is because the spec did not care about additional key-values
in the object that are not specified by any schema and just passes them through.
roles as an array was specified in the (roles,orgId) schema, but roles as int/string
etc. did not trigger any validation exception. The UpdateProfile request object
class expects roles to be an array, so an internal error was caused.
So added additionalProperties:false to the individual schemas for that API.
This strictly forbids additional keys that do not appear in the schema.

Can one of the admins verify this patch?

ok to test


Support native events

Updated radixdlt-scrypto dependencies to the newest version
re-exported most native events type available on Radix from radixdlt-scrypto/radix-engine
Added logic to processor for identifying and processing native events.
added a usage example
updated readme

@fpieper Thanks for the review, I've resolved all the comments and I think we can merge if that's OK


gui/func: Add a 'delete after conversion' button (closes #458)

added 'Delete after conversion' button.
I think the button works but in the full scenario, I'm not sure.
I just imitated other button objects like self.croppingBox.
So please check the code before merging.

@Constantin1489
Thanks for your PR.
You do not need a tristate in your case and can use
  if GUI.deleteBox.isChecked():
            options.delete= True

instead
I'll try to do the modification when I find some time.

Thank you for code reviewing and merging. This was my first experience committing to open-source. I appreciate collaborating with you.


Websocket Server own't run on PHP 7.4

I can't get the websocket server to run a php ver 7.4. When I run the websocket:serve command it just says starting and sits there. My current service provider is running 7.4. I can duplicate the issue in my local dev environment. if I start it with php 7.3 it works fine, if I start it with 7.4 it won't run. Any ideas?
I'm seeing if the provider can give me 7.3 cli access, Any reason it wouldn't run in 7.4?
Thanks

You mentioned the that provider can give you 7.3 cli address. Is it shared hosting or VPS?

Yes, it is a shared provider. I’m having trouble actually getting it to run anywhere other then local dev. I moved to another host provider that has php 7.3 and it does the same thing. So I don’t know if it’s a config problem or what. I get no error messages anywhere.
From: rennokki<EMAIL_ADDRESS>Sent: Tuesday, September 8, 2020 1:21 PM
To: beyondcode/laravel-websockets<EMAIL_ADDRESS>Cc: Rob Szabo<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [beyondcode/laravel-websockets] Websocket Server own't run on PHP 7.4 (#510)
You mentioned the that provider can give you 7.3 cli address. Is it shared hosting or VPS?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/beyondcode/laravel-websockets/issues/510#issuecomment-689022684, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHHGTZEDOM7QHEXDOLSJWDSEZRXRANCNFSM4RAACA3A.

I also brough up my own Ubuntu server and can’t get it to run there either on
From: rennokki<EMAIL_ADDRESS>Sent: Tuesday, September 8, 2020 1:21 PM
To: beyondcode/laravel-websockets<EMAIL_ADDRESS>Cc: Rob Szabo<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [beyondcode/laravel-websockets] Websocket Server own't run on PHP 7.4 (#510)
You mentioned the that provider can give you 7.3 cli address. Is it shared hosting or VPS?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/beyondcode/laravel-websockets/issues/510#issuecomment-689022684, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHHGTZEDOM7QHEXDOLSJWDSEZRXRANCNFSM4RAACA3A.

I upgraded to the beta 2.0.0-beta.18 and now I get saving statistics after starting the server. Which don't seem to g into the DB. Also, I don't see a route to the debug page, I get a 404 error. I realize this is a beta version, but I seem to be having slightly more success with it.

After upgrading to 2.x beta, make sure you read the PR that contains the migration guide as well as the full modifications.

I'm running into the same issue with PHP 7.4. Anyway to debug this further? Is PHP 7.4 not supported currently?

Package version?

Having the same issue with PHP 7.4 and "beyondcode/laravel-websockets": "^1.8".

Updating to 2.x beta and checking it again on php 7.4 do any relieving?

Just updated to beta, same issue for me. art websockets:serve --debug "Starting the WebSocket server on port 6001..." and then hangs, no more output after that.

If there is no logging, it means there are no connections that interact with the server. Can you make sure you also get some network logging for the WS connection in the browser?

Working with 7.4. In my case it was not an issue with PHP 7.4 and pointing in the direction of the client helped here. Thank you!


error: The preview feature "filteredRelationCount" is not known.

  what is happening here?

error: The preview feature "filteredRelationCount" is not known. Expected one of: filterJson, referentialIntegrity, interactiveTransactions, fullTextSearch, fullTextIndex, dataProxy, extendedIndexes, tracing, improvedQueryRaw
workspace-api-1  |   -->  schema.prisma:8
workspace-api-1  |    |
workspace-api-1  |  7 |   provider = "prisma-client-js"
workspace-api-1  |  8 |   previewFeatures = ["filteredRelationCount"]
workspace-api-1  |    |
workspace-api-1  |
workspace-api-1  | Validation Error Count: 1
workspace-api-1  |     at RequestHandler.handleRequestError (/app/node_modules/@prisma/client/runtime/index.js:34883:13)
workspace-api-1  |     at RequestHandler.handleAndLogRequestError (/app/node_modules/@prisma/client/runtime/index.js:34841:12)
workspace-api-1  |     at /app/node_modules/@prisma/client/runtime/index.js:35387:25
workspace-api-1  |     at processTicksAndRejections (node:internal/process/task_queues:96:5)
workspace-api-1  |     at Proxy._executeRequest (/app/node_modules/@prisma/client/runtime/index.js:35955:22) {
workspace-api-1  |   clientVersion: '4.7.1',
workspace-api-1  |   errorCode: undefined

Originally posted by @Hoffmano in https://github.com/prisma/prisma/discussions/16770#discussioncomment-4415233

Link to docs
https://www.prisma.io/docs/concepts/components/preview-features/client-preview-features#preview-features-promoted-to-general-availability:~:text=filteredRelationCount since release 4.3.0 - Submit feedback

That is highly unexpected @Hoffmano.
What is your npx prisma -v output?
When exactly do you get this error message? (Error msg indicates when running some Prisma Client query?)

Note that it is only available since 4.3.0 but it seems you are using 4.7.1 from the logs?
Could you check the version of the Prisma CLI and Prisma Client in your project?

It works fine for :
prisma                : 2.30.3
@prisma/client        : 4.9.0
Current platform      : windows
Query Engine (Binary) : query-engine b8c35d44de987a9691890b3ddf3e2e7effb9bf20 (at<EMAIL_ADDRESS>Migration Engine      : migration-engine-cli b8c35d44de987a9691890b3ddf3e2e7effb9bf20 (at<EMAIL_ADDRESS>Introspection Engine  : introspection-core b8c35d44de987a9691890b3ddf3e2e7effb9bf20 (at<EMAIL_ADDRESS>Format Binary         : prisma-fmt b8c35d44de987a9691890b3ddf3e2e7effb9bf20 (at<EMAIL_ADDRESS>Default Engines Hash  : b8c35d44de987a9691890b3ddf3e2e7effb9bf20
Studio                : 0.423.0
but if I run the upgrade of prisma from 2.30.3 -> 4.9.0  it breaks.
Unsure if this helps but it should unblock you for now.


Update, delete and insert messages on Langchain SDK

Hey! Is it possible to update, delete, and insert messages on Langchain SDK?
I have two LLMs that format inputs and outputs, and I need them to be aware of the actual conversation, but I also need to remove the old input/output from the conversation and only keep the formatted ones.
At the moment, I have something like this:
        current_messages = zep_chat_history._get_memory()
        last_message = current_messages.messages[-1]
        # Here I change the role of the last message, from AI to "human"
        last_message.role = "human"
        current_messages.messages[-1] = last_message
        # Here I want to remove the last user's message
        current_messages.messages.pop(-2)
        # Now I need a method to update the session's messages with these changes

Is there any workaround to achieve this?
I could also use the Python SDK if needed (out of Langchain)

We don't currently support update or deletion of messages as this requires recalculating artifacts such as summaries and embeddings. We're considering how to do this, but haven't yet settled on an elegant solution.


Transactional Emails resolves Issue #4180

Description of the change: New page was added for Transactional Email page to /developers/Sending Email/V3 API
Reason for the change: Requested for Hacktoberfest
Link to original source:
https://github.com/sendgrid/docs/issues/4180
Closes #4180

 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.

Hello @kentonh,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Hello @kentonh,Thanks again for the PR!                                         You have earned 7 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.                                         Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.                                         If you have any questions you can email us at<EMAIL_ADDRESS>                                        Thank you and Happy Hacktobering!                                         Team SendGrid


Add CONFIG(trik_retired_features) for obsolete features

Download:
Environment: QT=5.12, ARCH=32, CONFIGURATION=release, QTIFW=C:\Qt\Tools\QtInstallerFramework\3.1

Download:
Environment: QT=5.12, ARCH=32, CONFIGURATION=release, QTIFW=C:\Qt\Tools\QtInstallerFramework\3.1

Download:
Environment: QT=5.12, ARCH=32, CONFIGURATION=release, QTIFW=C:\Qt\Tools\QtInstallerFramework\3.1


Linker Error message when compiling with xCode 8 when using Carthage

Hi
I'm using version form Swift3 branch and when I try to compile with xCode 8 I got:
"direct field offset for XLPagerTabStrip.ButtonBarPagerTabStripViewController.(buttonBarView.storage in _0CF27031E34C35EB5EAF50A7E0F72A93) : XLPagerTabStrip.ButtonBarView!?", referenced from:  XLPagerTabStrip.ButtonBarPagerTabStripViewController.buttonBarView.setter : XLPagerTabStrip.ButtonBarView! in PGMediaContainerViewController.o
How can I get rid of this error so the compilation will finish with success ?

Yes I got this using Carthage as well.

I am experiencing this issue as well. @Rekubot suggestion works but the best approach. Appears to be related to missing symbols for a specific architecture. As I am trying to compile my application using fastlane I am getting the following errors:
❌  Undefined symbols for architecture arm64
> Symbol: direct field offset for XLPagerTabStrip.ButtonBarPagerTabStripViewController.(buttonBarView.storage in _0CF27031E34C35EB5EAF50A7E0F72A93) : XLPagerTabStrip.ButtonBarView!?
> Referenced from: XLPagerTabStrip.ButtonBarPagerTabStripViewController.buttonBarView.setter : XLPagerTabStrip.ButtonBarView! in DiscoverGridController.o
❌  ld: symbol(s) not found for architecture arm64
❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am having this issue as well. Any ideas?

+1

@mtnbarreto @mats-claassen Any ideas on this one?

I tried installing XLPagerTabStrip with Carthage and it did build successfully. Are you using the latest version  of Carthage (0.18)?

Yes, I've updated the Carthage to see if it will fix the issue, rebuild the packages but still got this when compiling the project.

@mats-claassen Thank you for your suggestion. Indeed, I had an old version of Carthage installed. However, I still run into the issue even after updating to Carthage 0.18.

I came across this issue now, when actually using a PagerTabStripController. I fixed it in [fix/containerView](https://github.com/xmartlabs/XLPagerTabStrip/tree/fix/containerView) branch but I am not sure my solution does not break other things. I would suggest you try using that branch.
I had seen this issue in another framework where "there were no symbols for a lazy variable". I suspect it might be a Swift error but I did not find a related radar...

@mats-claassen Thank you so much, I will try it out as soon as I can. I looked at your commit and I don't believe it would break something. Is there any chance that this will get merged and packaged into a 6.0.1 release?

I still have my errors:

@mats-claassen My guess is, that this fix has to be implemented for buttonBarView and buttonBarItemSpec as well, since @MichalAlgor doesn't seem to get this error for your fixed containerView anymore.

Does this mean we cannot use lazy variables anymore?

Great guys, appreciated you are taking the time to look into this.

The strange thing I that when you add to our own project it all happily compiles. Only when it's an external framework it fails to work.

Exactly. The examples project works for example. So there should really be nothing wrong with the code

This issue is so weird 😔 Maybe, it's a Carthage thing. It currently stops me from using Swift 3 in my project which is so sad.

let me look into it.

@MichalAlgor @Rekubot @weyert @rzulkoski @raphaklr
I've updated the code to remove lazy properties..
Could you check if this branch works with carthage now... https://github.com/xmartlabs/XLPagerTabStrip/tree/fix/carthageLinkingError?

@mtnbarreto I tested it and I can confirm that it works now! Thank you so much for your time. Any chance that this gets merged soon?

@mtnbarreto Yes, working for me too. Great thank you!


Integratation with React

The API requires passing a node tree but walking React component tree doesn't give you what you need to pass to this API in one go . Walking through a component's _renderedChildren gives you the nodebut not the props.style, walking through props.children gives you props.style but not node.

@fsbdev You need to pass the custom formatted tree as mentioned in the docs. You cannot pass a React component hierarchy directly. This is so that it is independent of React.

Yes, but how can I create that custom tree from the React component tree?

Well you need to walk props.children that will give you props.style as you mention. That's your tree. Then you can take the output layout and set it back on the React component tree. Looks like you are using React outside DOM context?

Yeah I am. I have a WebGL scene graph instead. How do I set it back on the React component tree as you suggest? My idea was to try and get a reference to each node along with props.style as I'm creating the tree, but that led me to this issue.

So what you'd like is that there is a React component tree with props.style like flexDirection: 'row', flex: 1 etc. that you would like to convert to top, left, width, height for use in WebGL.
What you can do is walk React component tree and extract the props.style into a tree that css-layout understands. Pass the tree via css-layout to get the rendered layout attribute with top, left, width, height on the tree. I'm not familiar with WebGL much, but you need to somehow use these layout attributes in WebGL now.

I got it working but I had to save the style objects onto my scene graph nodes too.
Thanks


the exception runs in the ForkJoinPool$WorkQueue.helpComplete

Describe the bug
A clear and concise description of what the bug is.
Threads are blocked here, and CPU ge is 100%
Desktop (please complete the following information):
OS & version [e.g. Windows 10, 1822]:
alpine-3.12.9
The output from java --version
17+35
To Reproduce:
Steps to reproduce the behavior:
I can only say that this operation is a probability
        groupIds.parallelStream().forEach(groupId -> {
           handle.....
        });

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots, Logs etc
If applicable, add screenshots, logs to help explain your problem.

"pool-13-thread-1" #39 prio=5 os_prio=0 cpu=29010095.62ms elapsed=58895.52s tid=0x0000562084f94700 nid=0x7b runnable  [0x00007efeb42ab000]
   java.lang.Thread.State: RUNNABLE
        at java.util.concurrent.ForkJoinPool$WorkQueue.helpComplete(java.base@17/ForkJoinPool.java:1228)
        at java.util.concurrent.ForkJoinPool.helpComplete(java.base@17/ForkJoinPool.java:1915)
        at java.util.concurrent.ForkJoinTask.awaitDone(java.base@17/ForkJoinTask.java:433)
        at java.util.concurrent.ForkJoinTask.invoke(java.base@17/ForkJoinTask.java:687)
        at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(java.base@17/ForEachOps.java:159)
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(java.base@17/ForEachOps.java:173)
        at java.util.stream.AbstractPipeline.evaluate(java.base@17/AbstractPipeline.java:233)
        at java.util.stream.ReferencePipeline.forEach(java.base@17/ReferencePipeline.java:596)
        at java.util.stream.ReferencePipeline$Head.forEach(java.base@17/ReferencePipeline.java:765)
     .......
        at java.util.concurrent.Executors$RunnableAdapter.call(java.base@17/Executors.java:539)
        at java.util.concurrent.FutureTask.runAndReset(java.base@17/FutureTask.java:305)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(java.base@17/ScheduledThreadPoolExecutor.java:305)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@17/ThreadPoolExecutor.java:1136)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@17/ThreadPoolExecutor.java:635)
        at java.lang.Thread.run(java.base@17/Thread.java:833)

Additional context
Add any other context about the problem here.
My container CPU has only 1 c and memory 1g

You should be using the latest <IP_ADDRESS> release from adoptium.net

You should be using the latest <IP_ADDRESS> release from adoptium.net

Has this issue been fixed on <IP_ADDRESS>? I am currently upgrading to 17.0.4, is it the same effect? @karianna
bash-5.0# java -version
openjdk version "17.0.4" 2022-07-19
OpenJDK Runtime Environment Temurin-17.0.4+8 (build 17.0.4+8)
OpenJDK 64-Bit Server VM Temurin-17.0.4+8 (build 17.0.4+8, mixed mode, sharing)

@a364176773 Can you repost the error message and screenshots with the new 17.0.4 version? (<IP_ADDRESS> would not make a difference in this case).

I upgraded to 17.0.4, did not find the problem, and upgraded the container to 1c2g, I will continue to observe


Fixed the issue where core thread metrics were in effect(#11704)

Fixed the issue where core thread metrics were in effect(#11704)
1，Core thread does not effect, by modifying the DefaultApplicationDeployer started method, after all the service start execution
2，Specify the name of the thread, modify the name in the DefaultExecutorRepository
3，Retain the FrameworkExecutorRepository sharedScheduledExecutor

Codecov Report

Merging #11752 (e4334b8) into 3.2 (d3d8c54) will decrease coverage by 0.70%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #11752      +/-   ##
============================================
- Coverage     69.42%   68.73%   -0.70%
+ Complexity      338        2     -336
============================================
  Files          1711     1517     -194
  Lines         89136    63092   -26044
  Branches      16198     9265    -6933
============================================
- Hits          61886    43366   -18520
+ Misses        22116    15472    -6644
+ Partials       5134     4254     -880

Impacted Files
Coverage Δ

.../threadpool/manager/DefaultExecutorRepository.java

...c/main/java/org/apache/dubbo/config/Constants.java

...ubbo/config/deploy/DefaultApplicationDeployer.java

...bbo/metrics/collector/DefaultMetricsCollector.java

...ics/collector/sample/ThreadPoolMetricsSampler.java

.../dubbo/monitor/support/MetricsServiceDetector.java

...o/metadata/definition/builder/EnumTypeBuilder.java

...ubbo/common/extension/ServicesLoadingStrategy.java

.../java/com/alibaba/dubbo/config/ConsumerConfig.java

...n/java/com/alibaba/dubbo/common/status/Status.java

... and 3218 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@AlbumenJ PTAL


Try to use esbuild to build frontend to shorten the build time (experiment)

Refs:

esbuild
esbuild-loader

Did a try in https://github.com/pingcap-incubator/tidb-dashboard/commit/139b06e904bc52bff2d77e97a3ed8805b6a07065 but unfortunately failed, report errors when parsing bundle assets:
Error parsing bundle asset ".../build/static/js/0.df163045.chunk.js": no such file
Error parsing bundle asset ".../build/static/js/1.ab303cfe.chunk.js": no such file
Error parsing bundle asset ".../build/static/js/11.7c137ba2.chunk.js": no such file
Error parsing bundle asset ".../build/static/js/12.9a6799eb.chunk.js": no such file
Error parsing bundle asset ".../build/static/js/13.a4ecc160.chunk.js": no such file
Error parsing bundle asset ".../build/static/js/14.78ed2e9d.chunk.js": no such file
...

submit an issue in https://github.com/egoist/esbuild-loader/issues/5

Esbuild claims to be 100x times faster, however it can only bundle script files. If Esbuild is used together with Webpack, then the performance improvements will be highly reduced because time cost tasks like bundling and minifying are still using Webpack.

Esbuild claims to be 100x times faster, however it can only bundle script files. If Esbuild is used together with Webpack, then the performance improvements will be highly reduced because time cost tasks like bundling and minifying are still using Webpack.

I think so.

Maybe we can leave it open to keep an eye on its future development :)

yes I don't expect much performance gain but we can use esbuild to minify code as well.

someone did a bench btw https://github.com/Rugvip/ts-build-bench

To improve dev build speed, snowpack might be another good choice.

Still relavant.


Issue 23

User settings testing

Cool, I think that worked.  I have a mac and windows machine I can play around with to see if I can help find a solution.


name.get("jp") is not work

import { EnkaClient } from "enka-network-api";

const enka = new EnkaClient({ defaultLanguage: "jp"});
const characters = enka.getAllCharacters();
console.log(characters.map(x => ({ [x.id]: x.name.get("jp") })));
// is work
const weapons = enka.getAllWeapons();
console.log(weapons.map(x => x.name.get("jp")));
// is not work

Error
        if (!text) throw new AssetsNotFoundError("Text Assets", this.id);
                         ^
AssetsNotFoundError: Text Assets<PHONE_NUMBER> was not found. Try to update cached assets using EnkaClient#cachedAssetsManager#fetchAllContents

I've been trying to figure out why these are not working.
Not sure if they are related.
https://github.com/Dimbreath/GenshinData
The above repositories are 404'd.
https://i.imgur.com/NMl7oSr.png
The enka-network document mentions
https://github.com/Dimbreath/GenshinData/blob/master/ExcelBinOutput/WeaponExcelConfigData.json
also returns 404 as a matter of course.
11101
This is the same as
Enka.getAllWeapons()

The id obtained.
node_modules\enka-network-api\cache\langs\jp.json
I tried to find the target id (11101), but it did not exist
My guess is that when the cache is created, it is trying to get all the weapons information from enka-network in some way.
but because it could not be retrieved, the cache of weapon information is not generated.
That is why I guessed the above error occurs.
To fix this, you need to get the weapons information for all languages from another service or from another source.
If you can find a service that can retrieve the weapons information in all languages, please update the module.
Also, if you have difficulty updating the module, please let me know.
I look forward to hearing from you!

Don't worry about the excluded weapons. They don't actually exist in the game.

Thank you.
I was able to do what I wanted to do with the above code.
But it is not in jp.json
11101
which is not in jp.json?

11101 is weapon id.
A weapon has other ids, which are for its name or description.

次からは日本語でも大丈夫ですよ！
こちらからしても楽なので

バージョン 1.6.6 からEnkaClient#getAllWeapons()は実在する武器のみ返すようになりました。
先述したコード

weapons.map(x => {
    try {
        return x.name.get("jp");
    } catch (e) {
        return null;
    }
}).filter(x => x !== null)

では、余計な武器が除かれずに残っていたりしたため、
新しいバージョンのEnkaClient#getAllWeapons()を使用することをおすすめします。

不明な点があれば、気軽に質問してください！


Can VideoLLaMA2.1-7B-AV perform inference on images?

I noticed that the custom data training example includes the following:
{
    "id": 1,
    "video": "images/xxx.jpg",
    "conversations": [
        {
            "from": "human",
            "value": "<image>\nWhat are the colors of the bus in the image?"
        },
        {
            "from": "gpt",
            "value": "The bus in the image is white and red."
        },
        ...
    ]
}

import sys
sys.path.append('./')
from videollama2 import model_init, mm_infer
from videollama2.utils import disable_torch_init
import argparse
def inference(args):
model_path = args.model_path
model, processor, tokenizer = model_init(model_path)

if args.modal_type == "a":
    model.model.vision_tower = None
elif args.modal_type == "v":
    model.model.audio_tower = None
elif args.modal_type == "av":
    pass
else:
    raise NotImplementedError
# Audio-visual Inference
audio_video_path = "assets/00000368.mp4"
preprocess = processor['audio' if args.modal_type == "a" else "video"]
if args.modal_type == "a":
    audio_video_tensor = preprocess(audio_video_path)
else:
    audio_video_tensor = preprocess(audio_video_path, va=True if args.modal_type == "av" else False)
question = f"Who plays the instrument louder?"

# Audio Inference
audio_video_path = "assets/bird-twitter-car.wav"
preprocess = processor['audio' if args.modal_type == "a" else "video"]
if args.modal_type == "a":
    audio_video_tensor = preprocess(audio_video_path)
else:
    audio_video_tensor = preprocess(audio_video_path, va=True if args.modal_type == "av" else False)
question = f"Please describe the audio:"

# Video Inference
audio_video_path = "assets/output_v_1jgsRbGzCls.mp4"
preprocess = processor['audio' if args.modal_type == "a" else "video"]
if args.modal_type == "a":
    audio_video_tensor = preprocess(audio_video_path)
else:
    audio_video_tensor = preprocess(audio_video_path, va=True if args.modal_type == "av" else False)
question = f"What activity are the people practicing in the video?"

output = mm_infer(
    audio_video_tensor,
    question,
    model=model,
    tokenizer=tokenizer,
    modal='audio' if args.modal_type == "a" else "video",
    do_sample=False,
)

print(output)

if name == "main":
parser = argparse.ArgumentParser()
parser.add_argument('--model-path', help='', required=True)
parser.add_argument('--modal-type', choices=["a", "v", "av"], help='', required=True)
args = parser.parse_args()

inference(args)

However, when I used va_joint.sh for training with images, I encountered an error, and it seems the image format is not supported. Additionally, I couldn’t find examples in the inference code that support image formats. Could you please confirm whether image training and inference are supported? Thank you for your response!

Image modality data is supported during the training phase, but is not currently supported during the testing phase.


[REQUEST] EnvyControl on an immutable distro

Is your feature request related to a problem? Please describe.
I cannot run envycontrol in its current state on my ostree-based distro because the software is not able to write to the read-only directory /lib/udev/.
Describe the solution you'd like
If possible, the software should have some sort of compatibility mode or just be retooled to work in an immutable distro. In most immutable distros, the files in /etc/udev/rules.d/ are mutable. Envycontrol should be reworked to manipulate rules in /etc/udev/rules.d/ instead of in /lib/udev/rules.d/. In fact, the entire purpose of /etc/udev/rules.d/ is for things like envycontrol, while /lib/udev/rules.d/ is really for OS default rules. .rules files in /etc/udev/rules.d/ should override files in /lib/udev/rules.d/ anyways, so I wouldn't imagine it would be too painful to implement.

Describe alternatives you've considered
This is frankly the only software around that appears to be still maintained and does what I want it to. There aren't any other alternatives. I've considered moving to a mutable distro, but I like bluefin too much ;) and I don't want to set up a whole new OS install.

ERROR: An error ocurred while rebuilding the initramfs
Operation completed successfully
Please reboot your computer for changes to take effect!

Bold of it to claim that the operation was completed successfully...
As for the errors with rebuilding the initramfs... rpm-ostree has sub-commands initramfs and initramfs-etc, which together seem to support modifying the initramfs.Add any other context or screenshots about the feature request here.

This is an open-source project and I'm reasonably confident with Linux sysadmin and Python so... I think I'll just try to fix this up myself and open a PR. I'll share my findings along the way.

Update: this works perfectly when the patches are applied in /etc/udev/rules.d/, at least on my install. I'm working on integrating a --ostree option to declare that the system uses ostree, but this should actually be relatively easy to implement into the platform checker.


prop-types warning in enzyme / Jest

Version
1.4.5 / 2.0.0--15
Reproduction
Running tests with enzyme and jest that use styled components
Steps to reproduce

Expected Behavior
Expected no prop-types warning  when running tests. In browser I do not see the warnings but when in the testing environment I see this. Also noticed that when I use the v2 branch and compile it in my project the warning goes away. Either a new release of the v2 or an update in v1 babel-flow-react-proptypes will fix the issue I think.
Actual Behavior
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

You need to replace in your code import React, \{ PropTypes \} from 'react';
with import React from 'react';\n import PropTypes from 'prop-types';
You also need to do
npm install prop-types --save

This seems to be related to #700 and #703. I just checked the package.json
https://github.com/styled-components/styled-components/blob/v1.4.5/package.json#L63
and babel-flow-to-proptypes is still set to 0.18.2 instead of 1.2.0. Can make a PR for this and it will be cleared up.

The problem was in babel-flow-to.proptypes, but now it's been resolved in v2.1.3.
In order to adopt the changes, a new publish should be issued here.

Could we get a new release of styled v2 with this please ?.

I've just tested with the v2.0.0-17 release and I still have bunch of warning, is it correct ?

@kopax I just checked and the package in question seems to be up-to-date there "babel-plugin-flow-react-proptypes": "^2.1.3",. Can you post the warnings you're seeing so I can fix it for good? :)

@kopax I just updated both my repos that use sc and this looked like it fixed the issue

I was too fast, this is the warning I have left, I thought they were gonna disappear with styled v2.0.0-17 also. @philipchmalts do you have them?
console.error node_modules/fbjs/lib/warning.js:36
  Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
console.error node_modules/fbjs/lib/warning.js:36
  Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.

I have installed<EMAIL_ADDRESS>upgraded<EMAIL_ADDRESS>upgraded<EMAIL_ADDRESS>upgraded<EMAIL_ADDRESS>I also have<EMAIL_ADDRESS><EMAIL_ADDRESS>installed. If I remove react-addons-test-utils, running the test produce the following error:
Test suite failed to run
Cannot find module 'react-addons-test-utils' from 'react-compat.js'

I have checked my test file and they are only importing styled-components and react, I have double checked the version of each components. So why I am still seeing theses warnings ?

@kopax Can you trace the error back to a single file somehow? :/

@philpl How?

good question :/ let me check the styled-components tests for warnings

@kopax
maybe you could try to use chrome devtools to verify which package is causing the prop-types warning
because I just upgraded styled-components to v2.0.0.-17, then I got no prop-types warning

@philipl If you and I see these warnings, there must be something. Perhaps luftywiranda13 and philipchmalts aren't running tests for styled. I will dig into it asap.

For me 2.0.0-17 also fixes the proptypes warnings:

before: https://travis-ci.org/ismay/ismaywolff.nl/builds/224905151#L313
after: https://travis-ci.org/ismay/ismaywolff.nl/builds/226964084#L313

@luftywiranda13 I am trying with the devtools but I don't really see how you do it. Would you mind provide some more details ?

@kopax
I'm on my phone now, can't record the screen to reproduce the steps.
I'll do it as soon as I can
but maybe, anybody here could help?

@kopax I think it's safe to say that there's either another package that's causing the warnings, or your own code. Otherwise @luftywiranda13 and me would've had the prop-type warnings as well.
As for tracing the code that's causing the errors, I don't have a good solution. What I did is just go through the third party packages in my bundle and check their source for propType imports. Was actually not as time-consuming as it sounds.
Also, just use the codemod to migrate your own code. And as for enzyme, see this issue for discussion on migrating (new peerdependencies, etc.).
Other than that there's not much to it, nothing should really break because of the update. I know that's kind of general advice, but I haven't seen your source, so that's the best advice I can give. Hope that helps!

@kopax what helped me diagnosticate it was to insert a temporary
console.log(new Error().stack)

in node_modules/react/lib/React.js at lines 43, 92, and 95 (right after the production ifs and as first statement in the get function.
Eventually only one of these three is enough, but I don't recall witch one.

@EnoahNetzach I am cleaning everything and I only have two files left throwing error. I had wrong version dependencies of react-dom :/ Thanks everyone for trying to help me out.


Auto Complete Text Box

hello ionic developers,
i need to use auto complete text box for my projects. but there is no option on ionic for that.
in future you include that options on ionic 2?

Thanks for the issue! There is an open issue here requesting it: https://github.com/driftyco/ionic/issues/6921 so I am going to close this one.


Completing adding to watchlist feature for movies

I will complete the Add to Watchlist and remove it from watchlist just like the favourites
Here is a raw demo of the result
https://github.com/user-attachments/assets/9eced7c7-58dc-4984-9be9-91ccfe539a4d
I would like to work on this. @daccotta

go ahead @nidhi2026

If any help or dicussion needed, feel free to ask at https://discord.gg/8bmRQxy8

@sid0000007 I have raised the pr for this #201
https://github.com/user-attachments/assets/5a64a684-18ec-4f0f-a5ff-ea5be23e60cf
Here is a working demo

@sid0000007 I have raised the pr for this #201
Untitled.video.-.Made.with.Clipchamp.5.mp4
Here is a working demo

Fine, But where is the plus Button on the watchlist page? . Can you confirm me about this button ?


Mclp hotel cleanup

I will delete the unnecessary mclp notebooks on Tuesday.  Hope to add notebook I am currently working on


Create an import algorithm based on analysis

Starting with the ical file:

Walk through the components.
If the component is not a VEVENT discard.
Get the DTSTART and SUMMARY properties. If either are missing, throw an exception.
If DTSTART changes the event object interprets the summaries and we create a new Event object and add the new summary.
If DTSART is the same as the previous one, keep the same Event object and add the next summary.

For Waning Moon / Waxing Moon season information has to be passed from the previous Event.

We also need to handle the case where the first or last date is a waxing moon or a waning moon.
The first event has no previous event and the last has no next event.

Done.


fetchRebase.js French translation correction

Hello
just a little French translation correction

Great, thanks for the addition!


Enable tslint with basic rules

Add tslint as a plugin to tsc, so that they will show up in vscode or
whatever editor people use.  I only enabled two basic rules that I think
are very useful, prefer-const and no-var-keyword.  Violations of these
rules were fixed with "tslint -p . --fix".  There was one unused
variable (in the isExpandable) function that I removed by hand.

Context: We are looking into adding C/C++ debug support using GDB in the Theia project.  We are already planning on using the Debug Adapter Protocol for other debuggers.  Instead of starting from scratch for C/C++, I am considering using code-debug (and therefore probably contributing to it).  Since I really appreciate what tslint does when writing code for Theia, I thought I would test the water by contributing this simple patch.

hm why no-var-keyword? Isn't var just the same as let...

hm why no-var-keyword? Isn't var just the same as let...

No, var is there only for compatibility with Javascript (so that Javascript code is also valid Typescript code).  But the behavior is different regarding to scopes, let doing the thing you would expect from any other language.
See this for example: https://basarat.gitbooks.io/typescript/content/docs/let.html

var foo = 123;
if (true) {
    var foo = 456;
}
console.log(foo); // 456

wtf js...

cool thanks


Compatibility matrix is outdated

Based on my understanding the 2016 - 2019 compatibility problem is no longer exists.
Please revisit this documentation and update it according to the latest information.

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

ID: 837d8f1d-af60-d217-b476-acaf55d3b430
Version Independent ID: 03e34f63-a60d-3c2c-9c9b-07f65cd5d1cf
Content: Upgrade a guarded fabric to Windows Server 2019
Content Source: WindowsServerDocs/security/guarded-fabric-shielded-vm/guarded-fabric-upgrade-to-2019.md
Product: windows-server
Technology: security-guarded-fabric
GitHub Login: @rpsqrd
Microsoft Alias: ryanpu

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


[Popover] Fix bug open animation

Closes #18890

[x] I have followed (at least) the PR section of the contributing guide.

@oliviertassinari, there seems to be an error on the execution of the pipeline itself. Can you rerun it?

Not well versed in this code, but wouldn't that top property suffer from the same issue?

As far as I could observe the issue, I had none with with the top. However, for consistency, this sounds good :+1:.

Thank you guys!


[Bug][Dataflow] dataflow is broken when there is a field assignment

Describe the bug
Dataflow is broken when there is a field assignment.
To Reproduce
class FieldAssignmentTests extends JavaDataflowFixture {

  behavior of "xxx"

  override val code: String =
    """
      |public class Foo {
      |
      |	public NamedSql(String source) {
      |		sink(source);
      |	}
      |
      |	void sink(String source) {
      |       this.input = source; // <--- remove this line and dataflow table shows up
      |	}
      |}
      |""".stripMargin

  it should "tmp" in {
    def src = cpg.parameter("source")
    def sink = cpg.call("sink")
    sink.reachableByFlows(src).p.foreach(println)
  }
}

Hi @itsacoderepo , I know other queries can work, but the origin query should work.


Inconsistent word count across basic and advanced modes

When switching between modes, the word count is not consistent. Due to the methods how I handle the word count between both modes, it causes a rather small or large discrepancy. Once you realize this discrepancy, it's hard to tell which one is correct. From the user perspective this is extremely confusing and can be a complaint from those that want pinpoint accuracy.
Furthermore, document lines of CodeMirror and ProseMirror are clearly distinct and don't follow the same tree-like structure, therefore iteration inconsistencies are bound to happen. ProseMirror uses a plain textarea element (default DOM tree) while CodeMirror builds a complex tree-like structure on top of the textarea element, causing standard textarea methods to fail. So proper iteration of the CodeMirror document must be done via a TextIterator or EditorView.state.doc.iter(), which can end up with different results compared to the textarea tree used by ProseMirror.
Instead of the front-end doing the computational work, I was thinking of moving the integer count to the Rust side. The method to extract the word count will be based on the raw file itself and this leads to a more uniform count without relying on inconsistent tree computation. Things like continuously reading a file on every key stroke (i.e., at 0.5ms debounce) may backfire if it isn't optimized correctly but in theory it should be smoother than offloading the iteration to the front-end.

I assume that parsing the raw text file should mitigate some slowdowns regarding word count in the DOM. The value will strictly be passed into the renderer and displayed, so it won't rely on line inconsistencies between CodeMirror or ProseMirror.


Styling tweaks following BS3 upgrade.

The Guided Decision Table Editor Wizard was somewhat broken.

Hi @cristianonicolai, could you please merge this PR?

@manstis I noticed that in some cases you're using setting styleName instead of addStyleNames. I think is best to keep the default styling and only overwrite what is necessary using a new css class instead of clearing the default style. What do you think?

Thanks for the great review! Let me try again later today :-)
On 15 Sep 2015 04:19, "Cristiano Nicolai"<EMAIL_ADDRESS>wrote:

@manstis https://github.com/manstis I noticed that in some cases you're
using setting styleName instead of addStyleNames. I think is best to keep
the default styling and only overwrite what is necessary using a new css
class instead of clearing the default style. What do you think?
—
Reply to this email directly or view it on GitHub
https://github.com/droolsjbpm/drools-wb/pull/67#issuecomment-140268227.

Closing this PR as I'll submit a new one from my fork...


style: audit log

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes

Also very minor, fixes colour of code help in dark mode

Codecov Report
Patch and project coverage have no change.

Comparison is base (6c96ccf) 95.44% compared to head (8f714cd) 95.44%.
 Consider uploading reports for the commit 997c23e to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2576   +/-   ##
=======================================
  Coverage   95.44%   95.44%
=======================================
  Files         975      975
  Lines       27221    27221
=======================================
  Hits        25981    25981
  Misses       1240     1240

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


feat(ssl-remote-server): https for remote servers available using -D Server_ssl=true

Browserstack runs over https servers. Due to hardcore of "http" in Utils.get_server_url, it makes me imposible run tests without mocking this util (in fact it works!), this change will be great ;)

Coverage increased (+0.003%) to 87.573% when pulling 3b1e7ce4cc4ff9df1e53dd36627266fe233afda8 on Manzanero:feature/ssl-remote-server into 834f49521114255fef54acd1391c4e10f627ac87 on Telefonica:master.

Coverage increased (+0.003%) to 87.573% when pulling 3b1e7ce4cc4ff9df1e53dd36627266fe233afda8 on Manzanero:feature/ssl-remote-server into 834f49521114255fef54acd1391c4e10f627ac87 on Telefonica:master.


Simplify the implementation of quasiquotes

I think that the implementation of quasiquotes in scalamacros/scalamacros is a huge step forward wrt our current implementation:

It is much more concise.
It doesn't use automatic derivation for liftables (because it turns out we don't need it, which results in significant reduction in magic).
It doesn't require custom quasiquote parsers.

@olafurpg and I had a discussion, and we decided to pronounce quasiquotes feature-complete.
There are still some open issues (#46, #223, #251, #280 and others), but they all have two things in common: 1) they require non-trivial design work to be fixed, 2) they aren't popular at all. Given our recent decision to start avoiding unwarranted breaking changes in 2.0, we'll consider quasiquotes good enough at this point and will close all outstanding feature requests.
We will still be fixing bugs (in fact, I've fixed about a dozen of such bugs for 2.0), but without strong evidence our design efforts will be directed elsewhere.


error: unsupported operation: can't call foreign function: pipe2

https://github.com/botika/unblock/actions/runs/3412767433/jobs/5678690824#step:4:124
MIRIFLAGS=-Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-ignore-leaks
Launch using std::process::Command in another thread. All others test in crate runs well.

This is already tracked in https://github.com/rust-lang/miri/issues/2057
You can use -Zmiri-panic-on-unsupported to turn that interpreter halt into a panic handled by the test suite, or you can #[cfg(not(miri))] your test to skip it.

Yeah, Command is not supported by Miri (and it seems quite hard to do so).


Analysis sweeps use power and frequency ranges from head node

These should look up min and max frequency and power from the compute nodes in case they are a different platform.  See sys_freq_avail() and sys_power_avail()

Work-around is to allocate and launch from a compute node.


updated beatunes (4.6.0)

Changes to a cask
Editing an existing cask

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Merged as 53f75f3a546a228184e248535e4958a8e03eea40.


Vault - An app by changing its app name can get secrets of another app

Describe the bug
If I change in a client the application name I can get the secrets of another app. Seems like a major security bug.
Due to the nature of the current design, an app that is properly authenticated to Config Server, can by changing the app name, get the configuration of another another app.

Duplicate of https://github.com/spring-cloud/spring-cloud-config/issues/1796


Add indexes to event_publication tables

Spring Modulith stores published events in event_publication table. Schema shipped with Modulith is lacking database indexes, which can result in dramatic performance degradation on the database side - the more events published, the bigger the problem.
While users can (and probably should) implement purging completed events, it may be reasonable to keep them for some period of time for auditing or any other reason.
Considering that Modulith by default does not purge completed events (#35), I believe it should by default ship database schema that takes it into account and include indexes for queries executed by the framework.
In my particular use case where I use Moduliths with spring-modulith-starter-jdbc and PostgreSQL, I added following indexes:
create index concurrently if not exists event_publication_listener_id_serialized_event_idx on event_publication (listener_id, serialized_event);

create index concurrently if not exists event_publication_completion_date_idx on event_publication (completion_date);

That's a great idea. Care to craft a pull request?

Yes, will take care of it.

That's now in place by merging your GH-411. Thanks for the contribution!


[Bug] Excel file with 8+++ rows OutOfMemoryException

Context / Scenario
We trying to import documents to Azure AI Search calling KM from Azure Functions and we are struggling with excel files with a lot of rows.
What happened?
Basically it fails with an OutOfMemoryException error when we are processing excel files. Locally it works but it takes 40-50 mins to import to Azure AI Search. We are not talking about a big document size, it's a document with a 8500 rows more or less and less that 1MB.
Could anyone advise? I don't know why it's taking too long locally, is there any limitation about xlsx files or any known issue about them?
Importance
a fix would make my life easier
Platform, Language, Versions
Windows 10, C#, Kernel Memory 0.51.240513.2
Relevant log output
Exception of type 'System.OutOfMemoryException' was thrown. Exception: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Text.Json.JsonReaderHelper.TranscodeHelper(ReadOnlySpan`1 utf8Unescaped) at System.Text.Json.JsonSerializer.WriteString[TValue](TValue& value, JsonTypeInfo`1 jsonTypeInfo) at System.Text.Json.JsonSerializer.Serialize[TValue](TValue value, JsonSerializerOptions options) at Microsoft.KernelMemory.Pipeline.BaseOrchestrator.ToJson(Object data, Boolean indented) in ...\KernelMemory\service\Core\Pipeline\BaseOrchestrator.cs:line 443 at Microsoft.KernelMemory.Pipeline.BaseOrchestrator.UpdatePipelineStatusAsync(DataPipeline pipeline, CancellationToken cancellationToken) in ....\KernelMemory\service\Core\Pipeline\BaseOrchestrator.cs:line 426

hi @roberAlb I tried the decoder against this spreadsheet, and everything worked fine. I would suggest upgrading the solution as suggested by @marcominerva and retrying.
File: 311_ServiceRequest_2010-Present_DataDictionary_Updated_2023.xlsx
Content length: 1,636,490 chars
Time to decode: 3610 msecs


Support Batch Inference with SGLang

Following https://github.com/OpenRLHF/OpenRLHF/issues/596.
This is the first PR for this series. Several things to be noticed:

Sampling parameter

SGLang and vllm follow different sampling parameter principles.
    # SGLang strictly follows the sampling parameters of OpenAI.
    # Therefore, there is no prompt_max_len and
    # include_stop_str_in_output in sampling params.

    # prompt_max_len is similar to context_length parameter in
    # SGLang engine args. But SGLang engine raises an error when
    # request length is larger than context_length, rather than
    # truncate the prompt and only use the last tokens in vllm.

I will check the influence of  Check include_stop_str_in_output later.

Grammar backend

I don't think OpenRLHF requires constraint decoding. So the grammar backend of SGLang and vllm does not matter. However, the grammar backend of SGLang and vllm has an unsolved version conflict right now, as demonstrated in:
https://github.com/sgl-project/sglang/issues/2550 and https://github.com/sgl-project/sglang/issues/2549.
We will fix this as soon as possible. But currently, we suggest that only install openrlhf[vllm] or openrlhf[sglang]. Later, we can fix the conflicts and make SGLang and vllm work compatibly.

Engine parameter

vllm supports this parameter:
    # Maximum number of sequences to be processed in a single iteration.
    max_num_seqs: int = 128

I am pondering what is a single iteration. How to define it? SGLang does not have similar serving parameters. Note that serving parameters are different but in conjunction with sampling parameters.

Reproduce

As I've said, SGLang and vllm have different version requirements for outlines (the grammar backend) currently.
vllm 0.6.5 requires outlines==0.1.11
sglang 0.4.0 requires outlines>=0.0.44,<0.1.0

If you want to check the performance of vllm and sglang, install the correct version of outlines, please. (We will fix this really soon.)
 Skip it this time.

Unit Tests

OpenRLHF does not have unit tests and CI tests? I just test it locally.

Code Style

This is just a draft code. I will merge batch_generate_sglang and batch_generate_vllm into one function after solving previous concerns I said and we made an agreement. However, do we need to merge batch_generate, batch_generate_sglang, batch_generate_vllm into one function? And, in the future, should we merge the inference engine of sglang, vllm, and huggingface into one unified base class, or just share one base class between sglang and vllm?

File Changes

I only changed batch_inference.py and sets_up.py. Other changes are induced by pre-commit. Also, why not set up CI for pre-commit at least?

Currently, there is a compatibility issue when using vllm, sglang, and outlines together. While sglang and vllm 0.6.3.post1 work with torch 2.4, newer versions of vllm (0.6.4+) require torch 2.5. Additionally, outlines has version-specific dependencies that conflict with this setup, making it challenging to use all three libraries simultaneously in the same environment.


Bug: Bot cancels manually placed orders even if currency is ignored

I thought that I can use coinconfig for this, but bot cancel all manually placed orders even if maxactiveamount is set to 0.

@Evanito  was the maxactiveamount  thought as a way to disable a specific currency?

@rnevet Straight from the .cfg, "#if maxactive amount is 0 - stop lending this coin."

I think behaviour of maxactiveamount, is not a bug, it makes perfect sense if somebody want canel all loans for some coin just with bot (without using poloniex website). What I propose is to add new option to ignore some currency by bot, to let user manage that current himself (or use completelt different config/bot for that currency).

Actually it is a bug, the bot is on every cycle canceling all loan offers regardless of this flag.
There is no reason why the bot would constantly cancel offers it didn't make.
It's also a relatively easy fix:
https://github.com/Mikadily/poloniexlendingbot/blob/master/lendingbot.py#L286
Here where the bot loops and cancels all orders we should add a check if maxactiveamount = 0, and than not cancel the orders.

Such change will introduce inconsistent behaviour. Eg, user has 10 BTC.

If user sets maxactiveamount = 0, then bot will not cancel any orders placed by user and by bot previously.
If user sets maxactiveamount = 2, and lends 8 BTC manually. Bot will cancel all orders, placed by user and by bot, but will re-lend only 2BTC.

To make it consistent, for non-zero maxactiveamount values bot should remember which orders he placed and cancel only them.  I guess this is not a trivial change.
On the other hand, keeping present behaviour of maxactiveamount keep things consistent and introduction of new option fixes the problem I reported.

I edit my previous comment to be more clear. Just in case if you reading comments from email (email notifications only sent for the first version).

Actually from checking the code, maxactiveamount only disables making offers, it doesn't let you do partial lending (yet).
maxactiveamount  = 0  -> disabled.
This simplifies the issue to point 1, and also the solution.

Then documentation should be updated to state that non-zero values does not really affect lending ATM.

Documentation states that it currently doesn't actually limit:
"#if maxactive amount is 0 - stop lending this coin. in the future you'll be able to limit amount to be lent."

Ah, sorry, I missed that part.

I created a pull request with a fix.

@yura-pakhuchiy Should be fixed with the latest update, bot will not cancel orders for disabled coins.

@rnevet Great, thank you!