How to add Docling models as package dependency instead of downloading them at runtime?

See https://huggingface.co/docs/hub/spacy#using-existing-models for how this is done with spaCy. I didn't find wheels or tarballs for these models.

I slightly disagree in the statement of the request and the comparison with spaCy:

spaCy does not have the models as package dependency
the models are (usually) downloaded at runtime with spacy.load("en_core_web_sm")
additionally, they also allow to download the model weights as packages. but this is not a direct dependency of spaCy

Docling already has a section in the documentation on how to download the weights and use it offline. There is a simple one-line command to download the weights, e.g.
python -c 'from docling.pipeline.standard_pdf_pipeline import StandardPdfPipeline; StandardPdfPipeline.download_models_hf();'

or
python -c 'from huggingface_hub import snapshot_download; snapshot_download("ds4sd/docling-models", tag="v2.0.1")'

I think the real point of the issue is whether the download of the weights could be simplified further, i.e. using helper scripts or other tools for it.

I slightly disagree in the statement of the request and the comparison with spaCy:

spaCy does not have the models as package dependency

the models are (usually) downloaded at runtime with spacy.load("en_core_web_sm")

additionally, they also allow to download the model weights as packages. but this is not a direct dependency of spaCy

Please note that I haven't claimed that or suggested Docling should do so. Thinking of it, perhaps it would help discoverability if it's were a fully optional dependancy.

Docling already has a section in the documentation on how to download the weights and use it offline. There is a simple one-line command to download the weights, e.g.

python -c 'from docling.pipeline.standard_pdf_pipeline import StandardPdfPipeline; StandardPdfPipeline.download_models_hf();'

or

python -c 'from huggingface_hub import snapshot_download; snapshot_download("ds4sd/docling-models", tag="v2.0.1")'

Despite searching for this by me and two data scientist colleagues, we missed this. It may be helpful to improve discoverability.

I think the real point of the issue is whether the download of the weights could be simplified further, i.e. using helper scripts or other tools for it.

Returning to that topic, the original topic of my Issue description, I like the approach described and supported by spaCy. Developing extra tools requires maintenance. A requirement for us would be that we can initialize these artifacts in containerized environment.

spaCy also does it using GitHub. With GitHub LFS pushing large binaries is feasible.

@dolfim-ibm Should the caller set artifacts_path explicitly like so, to prevent automatic downloading at runtime?
class PipelineDocuments:
    def __init__(
        self,
        *,
        path_dir_artifacts: str | None = snapshot_download(
            local_files_only=True,
            repo_id="ds4sd/docling-models",
            revision="v2.1.0",
        ),
    ) -> None:
        pdfpipelineoptions = PdfPipelineOptions(
            artifacts_path=path_dir_artifacts,
            do_ocr=False,
            document_timeout=60,
            ocr_options=EasyOcrOptions(),
        )

It would be helpful for us if Docling were to accept some global configuration option to never download models or anything else at runtime.

Yes, the argument is correct.
I think we could consider some arguments similar to how the models can be configures with a given accelerator device.


Enabling Dark Mode

PR for the following changes.

Enabling Dark Mode. [ Issue #20 ]
Removing the Horizontal scroll bar for Tags in Desktop view.

Now Horizontal scroll bar wont be visible for desktop view, but only for mobile view.

@all-contributors please add @kvaishak for code!


Use simple text output if a tty is not available

What kind of change does this PR introduce?
Fixes supabase/cli#152.
What is the current behavior?
Currently, if you run supabase start in a GitHub Action, or locally, piping output e.g. to a file, you get the following error:
Error: inappropriate ioctl for device

What is the new behavior?
With this PR, if both stdin and stdout are not a terminal, the CLI bypasses BubbleTea's UI drawing methods and just logs status and progress messages to stdout.
supabase start | cat
Pulling images...
Starting database...
Restoring branches...
Setting up initial schema...
Applying supabase/extensions.sql...
Applying migration<PHONE_NUMBER>0915_add_shared_configs.sql...
Applying supabase/seed.sql...
Starting containers...
Started local development setup.

         API URL: http://localhost:54321
          DB URL: postgresql://postgres:postgres@localhost:54322/postgres
      Studio URL: http://localhost:54323
        anon key: ***
service_role key: ***

If running interactively, the behavior is unchanged.

Also, FYI, I can confirm that with this fix I'm able to run supabase start as part of a GitHub Actions workflow (unfortunately in a private repo, so I can't link to its output).

This is great, thanks! Didn't think of using a fake for this.


Adding a multi-vnet sample

PR Summary
Adding a sample to show a more complex AKS implementation

A subscription level deployment
Creating Virtual Networks prior to AKS Cluster creation
Peering Virtual Networks together
Creating multiple AKS Clusters in different resource groups
Extending AKS by creating additional autoscaling node pools post creation
Creating an additional subnet for private CI/CD compute post creation

Additionally;
closes #225
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] This PR is ready to merge and is not Work in Progress
[x] Link to a filed issue

Autoscaling profile;

Portal default
Our bicep

Our defaults are based on the values from the Baseline : https://github.com/mspnp/aks-baseline/blob/fb9e828cadb7fabac7fca47bce8f56b765e70ce4/cluster-stamp.json#L965

BYO bluster deploys fine too


env: apply env of container to exec

https://github.com/hyperhq/hyperstart/commit/bb550c2444db183853104b9248eccc870de3af12

duplicated with #353

fixed by #497


Unable to load topic on each iteration from csv file

Hi,
I have created a script using MQTT plug in which sends messages to a topic.
I have parameterized payload and passing message from csv file.
Jmeter is able to load new message from csv file on each iteration  and publish to the topic which is hard coded.
But when I try to parameterise Topic name and pass it from csv file, topic name is loaded only once when thread is actually started and is unable to update topic name on each iteration which is my  requirement.

Pub sampler could be parameterized,  but sub sampler cannot be parameterized - one sub sampler can only sub to one topic. If you'd like to have one user sub to different topics, now you will have to create several sub samplers.

Thanks for reply.
I have already parameterized pub topic but the problem is topic not getting updated on each iteration. It loads value from csv only once and uses the same value throughout the test execution. I want pub topic to get updated on each iteration

I created a temp fix, please try following attachment. If it works for you, we'll include in the future release.
mqtt-xmeter-jar-with-dependencies.jar.zip

It is working now.
Thanks.

@Hiteshkikani  ClientId (as part of MQTT context) is determined during the connection phase,  thus across the iterations within a JMeter thread, ClientId will not change.
We have a new implementation(in "separate_conn" branch ) to create MQTT connection before publish/subscribe sampler,  so it's promising you can clear the connection at the end of your iteration, and create a new one with another ClientId for the next loop.
I will keep you posted after some verification test.

@Hiteshkikani
You can get the new plugin binary from https://github.com/emqtt/mqtt-jmeter/releases/tag/v1.0.1
Please refer to README instructions @ https://github.com/emqtt/mqtt-jmeter/commits/separate_conn when you try it out.
Please let us know if this helps.

@rende2005  thank you so much. This served my purpose. Appreciate your support


feat: add "side-effects": false flag to dist-ready package.json

I'm submitting a...
[ ] Bug Fix
[x] Feature
[ ] Other (Refactoring, Added tests, Documentation, ...)

Checklist

[x] Commit Messages follow the Conventional Commits pattern

A feature commit message is prefixed "feat:"
A bugfix commit message is prefixed "fix:"

[ ] Tests for the changes have been added

Description
TODO
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Travis tests have failed
Hey @dherges,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 8

     yarn test

yarn run v1.3.2
$ yarn build && yarn test:specs && yarn integration:samples && yarn integration:specs && yarn integration:consumers
$ rimraf dist && yarn schema
$ json2ts --input src/ng-package.schema.json --output src/ng-package.schema.ts
$ tsc -p src/tsconfig.packagr.json
src/lib/ng-v5/entry-point/write-package.transform.ts(27,51): error TS2345: Argument of type '{ main: string; module: string; es2015: string; esm5: string; esm2015: string; fesm5: string; fes...' is not assignable to parameter of type '{ [key: string]: string; }'.
  Property '"side-effects"' is incompatible with index signature.
    Type 'boolean' is not assignable to type 'string'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Travis tests have failed
Hey @dherges,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 8

     yarn test

yarn run v1.3.2
$ yarn build && yarn test:specs && yarn integration:samples && yarn integration:specs && yarn integration:consumers
$ rimraf dist && yarn schema
$ json2ts --input src/ng-package.schema.json --output src/ng-package.schema.ts
$ tsc -p src/tsconfig.packagr.json
src/lib/ng-v5/entry-point/write-package.transform.ts(27,51): error TS2345: Argument of type '{ main: string; module: string; es2015: string; esm5: string; esm2015: string; fesm5: string; fes...' is not assignable to parameter of type '{ [key: string]: string; }'.
  Property '"side-effects"' is incompatible with index signature.
    Type 'boolean' is not assignable to type 'string'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


More Features

Progress bar
Send to background
Archive before upload
Time each upload

Add password protection on archive option


Address static code analysis recommendations from IntelliJ

mostly removing unnecessary init values, removing duplicates (we had a couple of test cases identical).

👍


[cgo] cgo package call C system function error

throw an exception of
could not determine kind of name for C.memcpy

here is the source code to reproduce the bug
package main

/*
#include <string.h>
#include <stdlib.h>
*/

import "C"

import (
  "fmt"
  "unsafe"
)

func main() {
  record := (**C.uchar)(unsafe.Pointer(uintptr(0)))
  // var record **C.uchar
  buf := []byte{1, 2, 3}
  fmt.Println(buf)
  size := C.int(len(buf))
  *record = (*C.uchar)(C.malloc(C.size_t(len(buf))))
  fmt.Println(*record)
  C.memcpy(unsafe.Pointer(*record), unsafe.Pointer(&buf[0]), C.size_t(len(buf)))

}

go version go1.8.3 darwin/amd64
macos Sierra
10.12 (16A323)

Remove the blank line between your import "C" and the comment preceding it.
See https://golang.org/pkg/cmd/cgo/


Rename Pair entity to Buddies

Describe the task that needs to be done.
The Pair entity currently has a list of User instances, this entity should be renamed to Buddies as a list implies there could be more than 2 users.
Describe how a solution to your proposed task might look like (and any alternatives considered).
Rename Pair entity to Buddies
Update pair field in User entity to buddies
Notes

LGTM


Android FileDialog folders not clickable

Godot Master
Platform Android
I am not able to open any folder only by writing the path manually in the top lineedit.
Spen and double tab have no effect in the FileDialog.
Has it something to do with permissions or is some feature missing?

Duplicate of https://github.com/godotengine/godot/issues/8151


added myself

Sorry, But there is slightly change in our folder structure. So you can update it as we mentioned in Readme.md file .
Sorry Once again and will happy to accept your upcoming PR.
Thanks


Shield is now missing after the classic weapons were added.

The shield is no longer selectable/missing in Combat Simulator after the classic weapons were added.

I didn't merge that PR. Or were you trying it out?

Ooh, copy. Sorry about that. But yeah I was trying it out and I noticed that the shield isn't there.

I'll close this here, it's better if discussions of the PR are in the PR itself.


text-layer is broken since version 2.0.0

Adding a text layer shows the text below the rendered pdf element.
Can be reproduced by adding text-layer:"true" to the jsfiddle example as I did here: https://jsfiddle.net/qb8d5wmu/
I could only find the error in versions 2.x.x so I am pretty sure that it was introduced in 2.0.0

Hi @felixwortmann,
Since v2.0.0, styles must be manually imported. For the text layer it is vue-pdf-embed/dist/style/textLayer.css.


JetBrains: Alt+\ is not triggering autocompletion, instead opening File menu

IDE Information
PyCharm 2023.3.4 (Community Edition)
Build #PC-233.14475.56, built on February 26, 2024
Runtime version: 17.0.10+1-b1087.17 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 12
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.sourcegraph.jetbrains (6.0.10-nightly)
Bug Description
Platform: Windows
Steps to reproduce:

Have Cody plugin installed in your JB IntelliJ editor
Login to Cody with a Pro account
Open any source code and start coding
Hit Alt + \ to trigger Cody autocomplete

Observed behavior:
Cody autocomplete will not be triggered and instead file menu opened.
Expected behavior:
Cody autocomplete should be triggered correctly.
Additional context
Video link:
https://drive.google.com/file/d/1-qkBah4X1r--AsMVzkGVPxsJKtJwJkLr/view?usp=drive_link

Works fine on my macOS machine. I have no access to anything running Windows. Can someone else check this one? 🙏

@mkondratek I am on macOS with PyCharm and the option + \ seems broken. It prints « character instead of triggering autocomplete.
cc @taylorsperry @kalanchan It was working with earlier releases.

i believe we fixed this, please re-file if it's still a problem


Evaluate what happens if Darwin framework shuts down while an invoke/read/write is pending

Problem
Not clear how to handle Darwin framework shutdown while there are outstanding reads/writes/invokes.  Right now it has a high chance of crashing...
Proposed Solution
Figure out what we can do.  Perhaps similarly to #21198 all the interactions we issue via a controller should shut down when that controller shuts down.

@jtung-apple

I think I sense where the solution here is headed, and I don't think we should be leaking into the SDK a need to more closely track active client-side objects when in fact, the right solution there is a stronger ownership model where applications are holding strong references to the requisite client side objects.
#21198 is only possible because we happen to track the list of active ReadClients for the purposes of routing unsolicited reports to the right instance, and that was exploited to also permit this shutdown model.
For most active client objects where their lifetime is synonymous with that of an exchange, presumably those will get torn down due to the closure of the underlying exchange. So if we can ensure to close all active exchanges, that should take care of invokes and writes right?

Closing all active exchanges associated with the controller might be enough.  Need to check what actually happens in terms of callbacks in that happens.
But just to be clear, I'm not talking about doing this in the SDK.  I'm talking about doing this in Matter.framework, which could track all the client objects it creates (since it creates them all, directly or indirectly) and in fact just destroy them as needed.  It might need to stop using the *Interaction APIs to do this, of course...

Darwin Issue Review: We believe the behavior is correct now, closing.

In particular, chip::DeviceController shutdown expires the SecureSessions for its fabric and any PASE SecureSessions it created (the former after #15816 an the latter after #22282), which will immediately time out any pending write/read/invoke.


Copy/paste

Hello,
It's impossible to paste anything in the password field when adding a remote connection, and with a very strong password from a manager it's quite complicated.
Thanks

Hello, which platform do you use? If you're on desktop, you can use the keyboard shortcut to paste.

Fixed in v1.8.0, thank you for reporting it!


netopeer2 server installation failure

Hi,
Im unable to install the netopeer2 server(devel) and get the following error. I understand that CMocka is optional and could u please tell me why im getting the error. I understand that it has something to do with the keystored
cmake -DCMAKE_INSTALL_PREFIX=//home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output -DLIBNETCONF2_LIBRARY=//home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/lib/libnetconf2.so -DLIBNETCONF2_INCLUDE_DIR=//home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/include -DLIBYANG_INCLUDE_DIR=//home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/include -DLIBYANG_LIBRARY=//home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/lib/libyang.so -DSYSREPO_INCLUDE_DIR=//home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/include -DSYSREPO_LIBRARY=//home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/lib/libsysrepo.so ..
-- The C compiler identification is GNU 4.7.0
-- Check for working C compiler: /home/mkarthig/repo/mkarthig/5601/sw/vobs/esam/build/reborn/buildroot-isam-reborn-cavium-srntd/output/host/usr/bin/mips64-octeon-linux-gnu-gcc
-- Check for working C compiler: /home/mkarthig/repo/mkarthig/5601/sw/vobs/esam/build/reborn/buildroot-isam-reborn-cavium-srntd/output/host/usr/bin/mips64-octeon-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /bin/pkg-config (found version "0.27.1")
-- Failed to learn keystored keys directory, rerun cmake and set KEYSTORED_KEYS_DIR manually or the server configuration will not work.
-- Server configuration off, default SSH host key will be used.
-- Default host key set to "/etc/ssh/ssh_host_rsa_key".
CMake Error at CMakeLists.txt:77 (string):
  string sub-command STRIP requires two arguments.

-- libnetconf2 was compiled with support of up to  threads
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for NC_ENABLED_SSH
-- Looking for NC_ENABLED_SSH - found
-- Looking for NC_ENABLED_TLS
-- Looking for NC_ENABLED_TLS - found
-- Found sysrepo: //home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/lib/libsysrepo.so
-- Could NOT find CMocka (missing:  CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR) (Required is at least version "1.0.0")
-- Configuring incomplete, errors occurred!
See also "/home/mkarthig/repo/mkarthig/5601/sw/y/build/netconfdevel/Netopeer2-devel-server/server/build/CMakeFiles/CMakeOutput.log".
See also "/home/mkarthig/repo/mkarthig/5601/sw/y/build/netconfdevel/Netopeer2-devel-server/server/build/CMakeFiles/CMakeError.log".

Hi,
CMocka is optional, so I am not sure why configuring failed, probably because of the invalid command on the line 77. I think I have fixed that, so please pull netopeer2 and run cmake again. Regarding keystored, please look into /netopeer2/server/configuration/README.md. If you don't care about configuration, everything is fine.
Regards,
Michal

hi,
I tried building the netopeer2 server again and got the same error message.
-- The C compiler identification is GNU 4.7.0
-- Check for working C compiler: /home/mkarthig/repo/mkarthig/5601/sw/vobs/esam/build/reborn/buildroot-isam-reborn-cavium-srntd/output/host/usr/bin/mips64-octeon-linux-gnu-gcc
-- Check for working C compiler: /home/mkarthig/repo/mkarthig/5601/sw/vobs/esam/build/reborn/buildroot-isam-reborn-cavium-srntd/output/host/usr/bin/mips64-octeon-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /bin/pkg-config (found version "0.27.1")
-- Failed to learn keystored keys directory, rerun cmake and set KEYSTORED_KEYS_DIR manually or the server configuration will not work.
-- Server configuration off, default SSH host key will be used.
-- Default host key set to "/etc/ssh/ssh_host_rsa_key".
CMake Error at CMakeLists.txt:77 (string):
string sub-command STRIP requires two arguments.
-- libnetconf2 was compiled with support of up to  threads
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for NC_ENABLED_SSH
-- Looking for NC_ENABLED_SSH - found
-- Looking for NC_ENABLED_TLS
-- Looking for NC_ENABLED_TLS - found
-- Found sysrepo: //home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/lib/libsysrepo.so
-- Could NOT find CMocka (missing:  CMOCKA_LIBRARIES CMOCKA_INCLUDE_DIR) (Required is at least version "1.0.0")
-- Configuring incomplete, errors occurred!
See also "/home/mkarthig/repo/mkarthig/5601/sw/y/build/netconfdevel/Netopeer2-devel-server/server/build/CMakeFiles/CMakeOutput.log".
See also "/home/mkarthig/repo/mkarthig/5601/sw/y/build/netconfdevel/Netopeer2-devel-server/server/build/CMakeFiles/CMakeError.log".

Hi
I faced the same problem in my environment. I have fixed the problem
passing the following option to the cmake command
-DCMOCKA_ROOT_DIR:PATH=$CROSS_PATH/../tiesse/src/netopeer2/cmocka-1.1.0/
-DCMOCKA_LIBRARY:FILEPATH=$CROSS_PATH/../tiesse/src/netopeer2/cmocka-1.1.0/build/src/libcmocka.so
Of course in your case the paths must reflect your environment
regards
fabio
On 04/04/2017 11:48, betsyrosemanuel wrote:

hi,
I tried building the netopeer2 server again and got the same error
message.
-- The C compiler identification is GNU 4.7.0
-- Check for working C compiler:
/home/mkarthig/repo/mkarthig/5601/sw/vobs/esam/build/reborn/buildroot-isam-reborn-cavium-srntd/output/host/usr/bin/mips64-octeon-linux-gnu-gcc
-- Check for working C compiler:
/home/mkarthig/repo/mkarthig/5601/sw/vobs/esam/build/reborn/buildroot-isam-reborn-cavium-srntd/output/host/usr/bin/mips64-octeon-linux-gnu-gcc
-- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /bin/pkg-config (found version "0.27.1")
-- Failed to learn keystored keys directory, rerun cmake and set
KEYSTORED_KEYS_DIR manually or the server configuration will not work.
-- Server configuration off, default SSH host key will be used.
-- Default host key set to "/etc/ssh/ssh_host_rsa_key".
CMake Error at CMakeLists.txt:77 (string):
string sub-command STRIP requires two arguments.
-- libnetconf2 was compiled with support of up to threads
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for NC_ENABLED_SSH
-- Looking for NC_ENABLED_SSH - found
-- Looking for NC_ENABLED_TLS
-- Looking for NC_ENABLED_TLS - found
-- Found sysrepo:
//home/mkarthig/repo/mkarthig/5601/sw/vobs/dsl/sw/y/build/netconfdevel/output/lib/libsysrepo.so
-- Could NOT find CMocka (missing: CMOCKA_LIBRARIES
CMOCKA_INCLUDE_DIR) (Required is at least version "1.0.0")
-- Configuring incomplete, errors occurred!
See also
"/home/mkarthig/repo/mkarthig/5601/sw/y/build/netconfdevel/Netopeer2-devel-server/server/build/CMakeFiles/CMakeOutput.log".
See also
"/home/mkarthig/repo/mkarthig/5601/sw/y/build/netconfdevel/Netopeer2-devel-server/server/build/CMakeFiles/CMakeError.log".
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CESNET/Netopeer2/issues/121#issuecomment-291450190,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFpJnY2ZGQTkO6dFi53z0HMca2bPWWJVks5rshHrgaJpZM4MygaV.

@betsyrosemanuel You are getting the same error because you did not properly update netopeer2 (just look at the line 77 in CMakeLists.txt, there is something different now). So please, try in the build directory:
git pull
rm CMakeCache.txt
cmake ..

@fabioantonini CMocka is optional, so it has nothing to do with the configure fail and that is what we are solving now.
Regards,
Michal

@michalvasko It worked...
Thanks


add device! functions for FixedAdmittance

Good catch, does the test need to include a comparison to psse/pscad or just build and solve a system with a fixed admittance?

Good catch, does the test need to include a comparison to psse/pscad or just build and solve a system with a fixed admittance?

For now just make a test that runs a case with the FixedAdmittance we can compare with pss/e later

I'm seeing some behavior that I can't explain when solving the power flow for a system with a FixedAdmittance. I'm using the version with the previous typo corrected. I thought that the two display statements would give the same bus voltages but the solution is different. My understanding is that the Simulation!() call would solve the power flow and update the system voltages and power references and the solve_powerflow() call would give the same result. Any thoughts on what the issue could be? When I remove the FixedAdmittance the results are the same.
using Pkg
Pkg.activate(".")
using Revise
using OrdinaryDiffEq
using PowerSystems
using PowerSimulationsDynamics
include("../models/DynamicComponents.jl")

sys = System("cases/IEEE 14 bus_modified_33.raw")
#sys = System("cases/IEEE 14 bus_modified_33_RemoveFixedAdmittance.raw")

for g in get_components(ThermalStandard,sys)
    inv_case = inv_case78(get_name(g))
    add_component!(sys, inv_case, g)
end

sim = Simulation!(MassMatrixModel, sys, pwd(), (0.0,1.0))
display(solve_powerflow(sys)["bus_results"])
display(get_initial_conditions(sim)["Vm"])

I'm seeing some behavior that I can't explain when solving the power flow for a system with a FixedAdmittance. I'm using the version with the previous typo corrected. I thought that the two display statements would give the same bus voltages but the solution is different. My understanding is that the Simulation!() call would solve the power flow and update the system voltages and power references and the solve_powerflow() call would give the same result. Any thoughts on what the issue could be? When I remove the FixedAdmittance the results are the same.
using Pkg
Pkg.activate(".")
using Revise
using OrdinaryDiffEq
using PowerSystems
using PowerSimulationsDynamics
include("../models/DynamicComponents.jl")

sys = System("cases/IEEE 14 bus_modified_33.raw")
#sys = System("cases/IEEE 14 bus_modified_33_RemoveFixedAdmittance.raw")

for g in get_components(ThermalStandard,sys)
    inv_case = inv_case78(get_name(g))
    add_component!(sys, inv_case, g)
end

sim = Simulation!(MassMatrixModel, sys, pwd(), (0.0,1.0))
display(solve_powerflow(sys)["bus_results"])
display(get_initial_conditions(sim)["Vm"])

Okay, I have an idea. Maybe everything we are doing is not necessary. Can you check if the Ybus is different with/without the FixedAdmittance? If is different, then we don't need the add_device function, since the Ybus is used directly in the Kirchoff Law equations to compute the flow into the bus.

I'm seeing some behavior that I can't explain when solving the power flow for a system with a FixedAdmittance. I'm using the version with the previous typo corrected. I thought that the two display statements would give the same bus voltages but the solution is different. My understanding is that the Simulation!() call would solve the power flow and update the system voltages and power references and the solve_powerflow() call would give the same result. Any thoughts on what the issue could be? When I remove the FixedAdmittance the results are the same.
using Pkg
Pkg.activate(".")
using Revise
using OrdinaryDiffEq
using PowerSystems
using PowerSimulationsDynamics
include("../models/DynamicComponents.jl")

sys = System("cases/IEEE 14 bus_modified_33.raw")
#sys = System("cases/IEEE 14 bus_modified_33_RemoveFixedAdmittance.raw")

for g in get_components(ThermalStandard,sys)
    inv_case = inv_case78(get_name(g))
    add_component!(sys, inv_case, g)
end

sim = Simulation!(MassMatrixModel, sys, pwd(), (0.0,1.0))
display(solve_powerflow(sys)["bus_results"])
display(get_initial_conditions(sim)["Vm"])

It could be the admittance vs power modeling between them. I think the power flow assumes that the fixed admittance

@rodrigomha The Ybus is different, so I think you are right that we do not need add_device for the FixedAdmittance

@m-bossart if you think this is not needed we can close the PR and revisit this later if we want to model the loads differently


The problems of DB.m

Thanks for your great job!
But I have some questions of DB.m
The input of DB.m are Pavia_db.* files, like the Pavia_db.test_target, how you define the "test_target"? Or how you convert the PaviaU.mat (and the gt file) to this pavia_db?
And the output of DB.m are test_*_20p.mat files, however the input of the train code actually uses "database200.mat", it seems like their assembling progress is missing.

Hi,
Thank you for your comment.
The file is not correct. I'm working to update the file and publish with more comments.
Hope to complete it in the next hours.
Thank you,
Paul

Description of the Matlab code:

original Pavia University database loaded from disk...
2x zero padding added to database (to allow finding neighbours for the pixels from the matrix margins)...
test_data vector and test_target vector created using 24 neighbours...
train_data and train_target created using 24 neighbours...
new/clean database saved.

The new code was uploaded in github in the main branch in BD.m file.
Please let me know if the above summary or the code are not clear or you have more questions.


add snapshot grouping capability to MCP's snapshot package

It's useful to group MCP clients into groups for the purpose of
downstream configuration management. For example, multiple Pilot pods
may share the same desired set of networking API resources. The
snapshot mechanism currently is harded to use the client identifer as
the grouping key. This prevents the use of more advanced grouping
schemes.
This PR introduces GroupIndex which rationalizes the concept of
organizing downstream snapshots into groups.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS
mixer/OWNERS
pkg/mcp/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ayj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
53fce646a3158508c7bf603232f079e8b15b84c1
link
/test istio-unit-tests

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 istio-unit-tests

@ayj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
53fce646a3158508c7bf603232f079e8b15b84c1
link
/test e2e-mixer-no_auth-mcp

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 e2e-mixer-no_auth-mcp

/lgtm
/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ozevren
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS [ozevren]
mixer/OWNERS
pkg/mcp/OWNERS [ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ayj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
30ba1c76b878bd1ffce48253f1f5b95be003f5cc
link
/test e2e-mixer-no_auth-mcp

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.

New changes are detected. LGTM label has been removed.

cc @kyessenov for approving one-line mixer change

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kyessenov, ozevren
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS [ozevren]
mixer/OWNERS [kyessenov]
pkg/mcp/OWNERS [ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ayj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
9a95ed848c932f701c106e159d63f81b580928e6
link
/test e2e-mixer-no_auth-mcp

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.


Native add real time speed control + a real time clock model

Added the option to control the speed at which native_posix executes.
That is, the relationship between simulated time and the underlying host real time.
This can be done both from command line and on the fly (for ex. from a driver)
Added a real time clock source model in native_posix, which can also be adjusted.
It has 3 clock sources, each with a different use.
Added a test for all this.
Clarified quite a bit in the documentation the concept of simulated time
2 minor fixes to enable this PR:

One related to command line parsing
In the stop-at command (so it stops after the requested time, instead of just before the tick that would reach the requested time)

@jukkar : The API ended up in boards/posix/native_posix/native_rtc.h.
You got now both a function to get the time in us
and another to get nanoseconds and seconds. (similar to a timespec struct, but I did not want to redefine the timespec struct neither pull it into the Zephyr app side in case somebody would use it later).
You will be interested in RTC_CLOCK_REALTIME, or in RTC_CLOCK_PSEUDOHOSTREALTIME.

Codecov Report

Merging #9053 into master will decrease coverage by 0.13%.
The diff coverage is 19.83%.

@@            Coverage Diff             @@
##           master    #9053      +/-   ##
==========================================
- Coverage   52.36%   52.22%   -0.14%
==========================================
  Files         197      198       +1
  Lines       24910    24997      +87
  Branches     5185     5193       +8
==========================================
+ Hits        13044    13055      +11
- Misses       9770     9845      +75
- Partials     2096     2097       +1

Impacted Files
Coverage Δ

boards/posix/native_posix/main.c
90.9% <ø> (ø)
:arrow_up:

boards/posix/native_posix/cmdline_common.c
6.52% <0%> (-0.11%)
:arrow_down:

boards/posix/native_posix/cmdline.c
11.11% <0%> (-5.11%)
:arrow_down:

boards/posix/native_posix/native_rtc.c
0% <0%> (ø)

boards/posix/native_posix/timer_model.c
66.03% <35.18%> (-29.13%)
:arrow_down:

boards/posix/native_posix/hw_models_top.c
92.15% <83.33%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@dbkinder : Like always, thank you very much for your review. Regarding the "parts per one" issue, I wait for your proposal.

Thanks @jukkar


yabai: 6.0.0 -> 6.0.1

Description of changes
https://github.com/koekeishiya/yabai/blob/master/CHANGELOG.md#601---2023-11-12
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[x] sandbox = relaxed
[x] sandbox = true

[ ] 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

[ ] 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.11 Release Notes (or backporting 23.05 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

[x] Fits CONTRIBUTING.md.

Changes to the version and the hash affect all platforms.
Yabai is MacOS only as well.

Changes to the version and the hash affect all platforms.
Yabai is MacOS only as well.

It is, but there are also Macs on Intel . sa

aarch64? you changed x86 only.
  hash = "sha256-CXkGVoJcGSkooxe7eIhwaM6FkOI45NVw5jdLJAzgFBM=";

Good catch!

Closing in favor of #267126


Dynamically download RKE2 artifacts from container image avoiding RKE2 version-specific node images

Describe the solution you'd like:
CAPI node images typically have bootstrapping dependencies baked in. It seems CABPR has embraced this approach and currently requires that RKE2 version-specific artifacts be baked into its node images.
OTOH, folks like myself that are currently using the Rancher v2 provisioner with RKE2 are not accustomed to maintaining node images for each specific RKE2 version. For those users, migrating to CAPI/CABPR will require extra work managing RKE2 version-specific node images. Extra storage will also be required since each image itself will be significantly larger and the number of images being maintained will increase.
Consider enhancing CABPR to support the dynamic downloading of RKE2 artifacts from container images to avoid the need to build RKE2 version-specific node images.
One approach to solving this problem might directly use the RKE2 versioned container images already being published at url: https://hub.docker.com/r/rancher/system-agent-installer-rke2 that embed the necessary RKE2 versioned install artifacts described at url: https://github.com/rancher/system-agent-installer-rke2/blob/2fda2b4b6d8553ebfed329c72ad0f85174d7b9a2/scripts/download#L13-L23. The crane binary or its library could be used to download and extract the RKE2 artifacts.
Why do you want this feature:
As a user looking to migrate from deploying RKE2 via the Rancher v2 Provisioner to deploying RKE2 via CABPR, I should not be forced to change the process I currently use for managing node images.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
This feature seems like a nice CABPR ease-of-use value-add over its primary competitor, the kubeadm bootstrap provider.

The current bootstrap mechanism allows using almost any node image for all RKE2 version. RKE2 is downloaded on the host using an installation script that is passed through the userdata. We're going to continue support this option. In future we will also introduce in-place updates of machines https://hackmd.io/Wv_u2xXJQsaj4wWFQ3PqCQ?edit

I closed this issue since we already allow using one node image for many RKE2 versions and will not remove this for feature parity with v2prov


portainer Custom SSL certs unexpected cert crash

Before you start, we need a little bit more information from you:
Use Case (delete as appropriate): Using Portainer at Home
Have you reviewed our technical documentation and knowledge base? Yes

Question:
I'm trying to load my SSL certs into Portainer and keep getting an error about an unexpected cert.
docker-compose.yaml:
version: '3.3'
services:
portainer-ce:
ports:
- '8000:8000'
- '9443:9443'
container_name: portainer
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '../portainer_data:/data'
- '/usr/share/hassio/ssl:/certs'
command:
--ssl cert /certs/fullchain.pem --ssl key /certs/privkey.pem
image: 'portainer/portainer-ce:latest'
If I comment out the command Portainer launches fine. The certs are working for other services on the pi.
Running Debian 11 on RP4
Error: portainer: error: unexpected cert

Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.0-17-arm64
Architecture: arm64
Docker version 20.10.17, build 100c701
Portainer.io 2.14.2

Looks like you have a space in your command options - --ssl cert should be --sslcert and --ssl key should be --sslkey.

Perfect! Thanks.


Display route services in cf routes command

This PR has changes to display route services associated with routes in cf routes command.
Pivotal tracker story: https://www.pivotaltracker.com/story/show/100863584
Regards,
@yuzhangcmu and @atulkc
(CF Routing team)

Thanks, merged.


Invalid rerun dependency path in build.rs

Here:
println!("cargo:rerun-if-changed=in/*");
Globs are not expanded by Cargo, they are interpreted literally, meaning this is likely referring to a nonexistent location.
Ref https://github.com/rust-lang/cargo/issues/4076

This results in constant recompiling of error_chain (which depends on backtrace which depends on cpp_demangle), which is extremely annoying.

Thanks for catching this! Fix on the way.

Fixed and published 0.2.2.


Upgrade to javafx 19

This is nice because it introduces .map, .flatMap, and .orElse to ObservableValue. This allows us to remove alot of the Bindings.create usage and use more readable syntax with null safety.
Also had to reimplement the SVGLoader since the signature of the underlying fx classes changed.

I will also be looking to simplify some of the game, player, and ui listeners using the new map functions in a later pr


python version required for dctap

pyproject.toml currently requires Python 3.9, but I'm not at all sure that the version needs to be so recent.
dctap can now be installed with pip (see PyPI project), it would be good to adjust the version required to the lowest possible.
@nishad Do you have a way to test whether it will work with earlier Python versions?

We can configure travis [1] to run tests against multiple python versions [2]. So far integrating a CI tool is much more efficient. Circle CI [3] is an alternative. Both provide free tier for open source projects.
[1] https://travis-ci.org/
[2] https://docs.travis-ci.com/user/languages/python/#specifying-python-versions
[3] https://circleci.com/open-source/

Since we use Data Classes, we should be safe with Python 3.7+ [1], still we need versions specific tests to claim this.
[1] https://www.python.org/dev/peps/pep-0557/

@nishad I set up a Github Action to test against Python 3.7 and the tests all pass.


My Sonos  does not work with Sonos playlist

Sonos playlists are shown in SONOS app, tab "My Sonos" but the "Universal node" command get.item does not show the playlist. Also the other commands do not work with Sonos playlists.
Work around: For Sonos playlists please use "Manage Queue" node  and commands get_sonos_playlists and insert_sonos_playlist

3.1.0: Now it supports also Sonos playlists.


⚠ PrivateHD has degraded performance

In 70f39c7, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 3070 ms

Resolved: PrivateHD performance has improved in 7a860be.


BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 61

Ive tried upgrading my flutter app to 2.10.3 but it only results in build issues so I tried creating a new project using flutter create test_app to create a new app and test it but it also does not build and outputs:
FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'D:\dev\projects\flutter_test_app\android\settings.gradle' (C:\Users\Marvin\.gradle\caches\6.7\scripts\1fnwrr8g4rohfp291nvlxj5qe).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Running Gradle task 'assembleDebug'...

Steps to Reproduce

flutter create test_app
cd test_app
flutter run

Expected results:
Fresh app should run without any problems.
Actual results:
Above error message

Code sample
https://github.com/crtl/flutter_2_10_test

Logs

[✓] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.19044.1586], locale en-DE)
    • Flutter version 2.10.3 at C:\Users\User\fvm\versions\2.10.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (3 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\User\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: D:\dev\jdk-17.0.1\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.1+12-39)
    • All Android licenses accepted.

Solutions ive found on stackoverflow recommended to downgrade jdk version which does not seem to be a good solution.
Also why should I have to downgrade java when upgrading flutter?

@crtl
As the error says Unsupported class file major version 61, it indicates that the class file tool is trying to load has been compiled by Java 17 or 17+ version.
Currently, it seems  Android toolchain support only classes compiled for Java 11 and hence the error.  For it to run properly, you'll need to use Java 11 jdk version. Also this isn't specific to Flutter, a native android app might throw the same error.
With this, I am going ahead and closing this as it is not specific to Flutter and the change might have to come from Android toolchain that Flutter can consume so that the app can run using Java 17.
If you disagree, write in comments and I'll reopen it.

@darshankawar There is very few to none information available related to the flutter build.
It would be nice when the docs would add information on how the gradle configurations should look and what versions are required because the main USP of flutter is to provide platform abstraction so many people dont have a clue about android specifics with java and gradle. The docs just state to install the JDK but do not mention any version requirements.
Also in my case flutter doctor shows everything is ok but the build is still not working.


Remove LGTM config

We haven't used this in a long time so just doing a bit of cleanup

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 42.087%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/resource-deployment/src/services/tools/azCliTool.ts
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26468

Relevant Lines:
56993

💛  - Coveralls


Does LoKr support to wrap a LLM Model?

Thanks for your amazing work! As title mentioned, my task is to successfully fine-tune a large language model via diffrent lora-like adapters. Currently I am exploring Finetuning LoKr on our customized model via different framework(i.e.: torch, paddle).
Is there any documentation reference that tells me how to apply LoKr adapter on such a LLM? I used the LoKr API from HuggingFace recently, but it seems that there are bugs, which I guess due to the Hf developers didn't test LoKr on any LLMs(See here for why I think so. Thanks.

In HakuPhi I already show how to use lycoris on LLM.
LyCORIS is now designed to be a general PEFT library to wrap ALL the pytorch module. not matter what it is for. We just won't ensure the performance will surpass or on par with the algo that LyCORIS didn't implement.
Check the example, if your model is implemented in pytorch and you are using custom attention (instead of pytorch MHA). It will definitely work.

Check the example, if your model is implemented in pytorch and you are using custom attention (instead of pytorch MHA). It will definitely work.

Thanks. By saying "pytorch MHA", could I just make sure you are refering to pytorch MHA ?
Knowing that would be of great help. Thanks!

Yes, pytorch's MHA make q,k,v together (not always) which make things tricky.


⚠ Bofrost.be has degraded performance

In efaa9f6, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1639 ms

Resolved: Bofrost.be performance has improved in 1cff7b5.


KAFKA-16154: Broker returns offset for LATEST_TIERED_TIMESTAMP

Summary
This is the first part of the implementation of KIP-1005
The purpose of this pull request is for the broker to start returning the correct offset when it receives a -5 as a timestamp in a ListOffsets API request

Thanks a lot for the review @kamalcph! I have hopefully addressed everything 😊

Will check this this or next week. Thanks.

I will take a look at this PR by Monday(5th).

Heya @showuon @kamalcph @satishd, I hope I have addressed the latest comments!

@clolov , there's a compilation error in jdk 8/scala 2.12. Could you help fix it? Maybe rebasing to the latest trunk could solve it?

@clolov , do we have any update about the compilation error fix?

Apologies, I have had a lot of work recently, I will aim to provide an update by the end of the day today

Heya @showuon, I tried to reproduce the compilation failure of the unrelated test class locally, but have been unable to. I have rebased and kicked off a new build in case this was a temporary failure. If it occurs again I will continue looking into it.

Failed tests are unrelated.


[MyCollection] Cleanup AddArtwork screen

The type of this PR is: Enhancement
Description
This PR does some final pre-backend cleanup for the Add Artwork screen:

Matches comps
Adds validation

#skip_new_tests
#trivial

Gonna merge!

#mergeOnGreen


Error message on using lockfiles created from newer version of pixi with an older version is unclear

Checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example
$ pixi install
 x found newer file format version 3, but only up to including version 2 is supported

Issue description
While using a lockfile created from a newer version of pixi with an older version of pixi is unclear. It mentions file format version but doesn't inform which file, neither does it point towards what next steps to take to resolve it.
Expected behavior
The error should describe what the next steps to resolve the error might be, updating pixi to a newer version in this case. It should also inform that the issue is with the pixi.lock file.

Hi,
pixi version 0.9.1.
I have the same error when trying to run pixi shell
 WARN pixi::project: ALPHA feature enabled!

It looks like your project contains `[pypi-dependencies]`. This feature is currently still in an ALPHA state!

You may encounter bugs or weird behavior. Please report any and all issues you encounter on our github repository:

	https://github.com/prefix-dev/pixi.

  × found newer file format version 5, but only up to including version 3 is supported

He @shcrela, you might want to update to the latest version. We're currently on 0.26.1


Use empty strings as a string representation of nulls for the diff endpoint

Description
Based on the slack discussion, it's easier to handle these values on the frontend if they are set to an empty string instead of null
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] ~Attached issue to pull request~
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] ~End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )~

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Processing this pull request

Merged into branches master, iso5 in b2444951a763604028ea8159b042e958df92712c


is possible overwrite the same file

Hi,
Is possible overwrite the same file? for example
gulp.task('styles', function() {
  return gulp.src('content/**/*.css')
    .pipe(minifyCSS())
    .pipe(gulp.dest('content'));
});

yes it's possible just add a the base parameter and
  gulp.src('./app/**/*.js', {base: './'})
        .pipe(prettify())
        .pipe(gulp.dest('./'));

gold star for you @juliocanares - worked for me

not working for me..
var revReplace = require("gulp-rev-replace");
gulp.task("revrep", function(){
var manifest = gulp.src('./assets/js/rev-manifest.json');
return gulp.src("./index.html", {base: "./"})
    .pipe(revReplace({manifest: manifest}))
    .pipe(gulp.dest("./index.html"));

});

@mathijspoc
try this
return gulp.src("./index.html", {base: "./"})     .pipe(revReplace({manifest: manifest}))     .pipe(gulp.dest("./"));

Sounds dumb, but always check your write permissions on the file. If files are owned by root user then you may need to change that or sudo in order to overwrite.

Just to be clear - the original ticket was asking "is it possible to overwrite a file" and pasted code. Yes, it is possible to overwrite a file - and yes, the code you pasted will work fine. For anyone still stumbling on this ticket - you don't have to do anything special to overwrite files. The code in the original ticket works fine - so yes. You don't need the base parameter unless your output has specific requirements.


add top_scope_facts and legacy_facts linters

useful to take advantage of the structured facts and $facts hash in
puppet 4 but puppet 3 users can also make use of them if they've
configured puppet correctly or are running a new version of facter

top_scope_facts - lints for facts like $::operatingsystem and
replaces them with $facts['operatingsystem'] .

legacy_facts - lints for so called legacy facts like
$facts['operatingsystemmajrelease'] or $::operatingsystemmajrelease
and replaces them with the new fancy structured fact like
$facts['os']['release']['major']

ref https://github.com/voxpupuli/plumbing/issues/21

Thanks @mmckinst!


Error to build app phosphor_flutter-2.0.0

If I use --no-tree-shake-icons then I think it is not an effective solution. I want a radical solution

I have the same issue. Do you fixed it @Ngochiendev ?

Temporary solution is to use  --no-tree-shake-icons

An alternative is now available in 2.1.0 -- you can import each weight explicitly (e.g. PhosphorIconsBold) which will allow tree-shaking of the icons used from that font.


1.0

Send null instead of fallback locale in case of user doesn't have fallback set.

Could you squash your commits before I merge this in.

It's done, you can check on it

Maybe you could remove the is_null wrap at all. Since this is an Eloquent object it will return null if its empty anyways.

Great job. Merged.

Thank you :)


Add JsonCodec instances for all java.time data types

@jdegoes I’d be interested in picking this up if no one else has expressed interest.

@brbrown25 Would love your help with this one!

Sweet I'll start hacking on it this weekend!


extraction warning resulting in missing data, occasional failure

Getting a persistent "divide by zero" warning that sometimes stops the extraction and sometimes doesn't
Optimally extracting 2 apertures in 1 orders (with background subtraction)...
/Users/adam/python_codes/pyspextool/src/pyspextool/extract/extract_pointsource_1dxd.py:421: RuntimeWarning: divide by zero encountered in divide
np.abs(slit_psf/np.nansum(slit_psf[z_psf]))
/Users/adam/python_codes/pyspextool/src/pyspextool/extract/extract_pointsource_1dxd.py:421: RuntimeWarning: invalid value encountered in divide
np.abs(slit_psf/np.nansum(slit_psf[z_psf]))
when the code doesn't halt, the spectra have sections that are missing; other times the code crashes on plotting:
Wrote spectra0085.fits to disk.
Traceback (most recent call last):
File "/Users/adam/python_codes/pyspextool/batch_cl.py", line 227, in
app = runBatch()
File "/Users/adam/python_codes/pyspextool/batch_cl.py", line 197, in init
batch.batch_reduce(par,verbose=(not args['quiet']))
File "/Users/adam/python_codes/pyspextool/src/pyspextool/batch/batch.py", line 1392, in batch_reduce
ps.extract.do_all_steps([spar['TARGET_PREFIX'],'{}'.format(numberList(fnum))],verbose=spar['VERBOSE'])
File "/Users/adam/python_codes/pyspextool/src/pyspextool/extract/do_all_steps.py", line 193, in do_all_steps
extract_apertures(verbose=extract.extract['verbose'])
File "/Users/adam/python_codes/pyspextool/src/pyspextool/extract/extract_apertures.py", line 235, in extract_apertures
write_apertures(spectra, psbginfo=psbginfo, xsbginfo=xsbginfo,
File "/Users/adam/python_codes/pyspextool/src/pyspextool/extract/extract_apertures.py", line 508, in write_apertures
plot_spectra(output_fullpath + '.fits',flag_linearity=True,
File "/Users/adam/python_codes/pyspextool/src/pyspextool/plot/plot_spectra.py", line 214, in plot_spectra
fig = plot_aperture(sub_spectra, i, ytype, colors, line_width,
File "/Users/adam/python_codes/pyspextool/src/pyspextool/plot/plot_spectra.py", line 295, in plot_aperture
wranges, yranges = get_ranges(spectra, ytype, fraction=yrange_buffer)
File "/Users/adam/python_codes/pyspextool/src/pyspextool/plot/plot_spectra.py", line 470, in get_ranges
sg_array = robust_savgol(x_values, array, 11)['fit']
File "/Users/adam/python_codes/pyspextool/src/pyspextool/fit/robust_savgol.py", line 80, in robust_savgol
newyy = scipy.signal.savgol_filter(yy, window_length, polyorder)
File "/Users/adam/opt/anaconda3/lib/python3.9/site-packages/scipy/signal/_savitzky_golay.py", line 345, in savgol_filter
raise ValueError("If mode is 'interp', window_length must be less "
ValueError: If mode is 'interp', window_length must be less than or equal to the size of x.
looks like there might be an uncorrected nan somewhere (because of bad pixel mask?) that is causing a whole slew of nan errors.
dataset where this occured: https://drive.google.com/file/d/1dG-pmAZ0Wwqr8jaZY9GN5WW2eQxh1S8F/view?usp=sharing

Can you tell me the aperture parameters you used for this?  I cannot reproduce this problem as I get through the entire series 66-88.
One thing that I did notice was that the first two spectra are "bad" in the sense that I suspect there was a standard star observed before this series so the pair subtraction isn't the standard looking one.
ast0065.a_ast0066.b_image.pdf

OBSERVATION_PARAMETERS_OPTIONAL = {
'ORDERS': '3-9',
'REDUCTION_MODE': 'A-B',
'NPOSITIONS': 2,
'APERTURE_POSITIONS': [3.7,11.2],
'APERTURE_METHOD': 'auto',
'APERTURE': 1.5,
'PSF_RADIUS': 1.5,
'BACKGROUND_RADIUS': 2.5,
'BACKGROUND_WIDTH': 4,
'SCALE_RANGE': [1.0,1.5],

So I ran with these parameters and it also worked.  @ctheissen could you download these data and give it a try with the latest code (I forked from main before I started working on these).

I was able to get it to run after I modified the notebook example a bit (we really need to update that). One thing in the params @aburgasser has listed above, the orders for prism had to be set to '1' (at least for me) or it would throw an error since only SXD has 3-9.
That being said, I get the exact same error as @aburgasser if I run with src_files = '65-88'
However, if I use src_files = '67-88', bypassing the bad files @michaelcushing mentioned, then it runs perfectly.

Jesus.  How am I able to run it!  Maybe I am just magic.  Maybe I have something in mine that you all don't.  let me finish what I am working on and do a pull request and then we can re-visit this.

I suspect part of the issue, which occurs at the ps.extract.do_all_steps, is the fact that spectra0065.fits is never created. Here is some of the output where that file is bypassed and spectra0066.fits is made twice.
Loading the flat...
Loading the wavecal...
Loading ast0065.a.fits, ast0066.b.fits and correcting for non-linearity...
Loading images...
100% ||
Flat fielding the image...
Setting extraction type to point source...
Creating the spatial profiles...
Locating the apertures...
Aperture signs are (-, -)...
Updating order selection...
/Users/ctheissen/miniconda3/lib/python3.10/site-packages/scipy/optimize/_minpack_py.py:1010: OptimizeWarning: Covariance of the parameters could not be estimated
warnings.warn('Covariance of the parameters could not be estimated',
Tracing apertures...
100% ||
Collecting plotting data for trace...
100% ||
Optimally extracting 2 apertures in 1 orders (with background subtraction)...
100% ||
Wrote spectra0066.fits to disk.
Loading ast0065.a.fits, ast0066.b.fits and correcting for non-linearity...
Loading images...
100% ||
Flat fielding the image...
Previous steps not completed.
Locating the apertures...
Aperture signs are (-, -)...
Updating order selection...
/Users/ctheissen/miniconda3/lib/python3.10/site-packages/scipy/optimize/_minpack_py.py:1010: OptimizeWarning: Covariance of the parameters could not be estimated
warnings.warn('Covariance of the parameters could not be estimated',
Tracing apertures...
100% ||
Collecting plotting data for trace...
100% ||
Optimally extracting 2 apertures in 1 orders (with background subtraction)...
100% ||
Wrote spectra0066.fits to disk.

I have reproduced the problem.  Will focus on this now.


M3-1020 - User Detail Page Tests

This PR has been based off the 08-10 test maintenance PR, once that is merged i will rebase off dev.
Adds Account - User Detail - Username Suite for creating/updating/removing usernames.

To Test:
yarn && yarn start
yarn selenium
yarn e2e --file e2e/specs/account/user-detail-spec.js

Coverage remained the same at 26.367% when pulling b314405a6234c563723e745ba780ea90ca9fc242 on patthiel:M3-1020 into 847e0d871f847840642e2a0b561373cbf10137b1 on linode:develop.

@Jskobos rebased this PR off some fixes i added to the test maintenance PR. Should address the issue your observed (this was due to the homepage being the dashboard now and not the /linodes landing).


Bridge is 7x slower to send an array x versus JSON.stringify(x) to an Android native component

Description
Sending an array x to an Android native component is incredibly slow. The overhead is roughly 25-26 ms just to send a single array of 16,384 integers.
However, if I send JSON.stringify(x) instead of x then it takes only 3-4 ms, even when including the JSON serialization in the timing! That is roughly 7x faster.
This does not make much sense as the serialization should be slowing things down, and the volume of data being transmitted across the bridge should also be significantly larger due to it being encoded as an ASCII string.
Even if there is a good reason for this performance penalty, ideally the framework should be doing whatever serialization and deserialization across the bridge is most efficient. That is, if it is more efficient to transmit strings from JS to Java under the hood, then the react-native bridge should take care of that for the user, rather than requiring the user to discover this and perform this counterintuitive optimization themselves. Perhaps the user could hint to the framework what kind of protocol to use under the hood depending on the type of array. Alternatively, this might point to some performance regression in how arrays are currently being handled by the bridge and some aspect of the current implementation that could be improved.
Note I am using Xiaomi 8 running Android 10, with JS dev mode disabled and no debugging nor console logging.
React Native version:
System:
    OS: Linux 5.4 Ubuntu 18.04.3 LTS (Bionic Beaver)
    CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
    Memory: 47.00 GB / 62.82 GB
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 14.17.1 - /usr/bin/node
    Yarn: 1.22.10 - /usr/bin/yarn
    npm: 7.17.0 - /usr/bin/npm
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
  IDEs:
    Android Studio: Not Found
  Languages:
    Java: 1.8.0_292 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.2 => 0.64.2
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Make a hello world App.js containing the code:

...
  componentDidMount() {
      this.profileNative();
  }

  makeRandomSignal() {
    var sample = [];
    for (var i = 0; i < 16384; i++) {
      sample[i] = 127;
    }
    return sample;
  }

  profileNative() {
    const x = this.makeRandomSignal();
    var tBegin = global.performance.now();
    MyNativeComponent.go(x, r => {
      var output = global.performance.now() - tBegin;
      // Display output value in app (e.g., with this.setState)
      this.profileNative();
    });
  }
...

Make an Android native component (MyNativeComponent) containing the go implementation:

...
    @ReactMethod
    public void go(ReadableArray x, Callback callback) {
        callback.invoke("");
    }
...

Running this on my phone reports roughly 25-26 ms in overhead.

Now simply change go(x, ...) to go(JSON.stringify(x), ...) in App.js and change public void go(ReadableArray x, ...) to public void go(String x, ...). As in:

...
    MyNativeComponent.go(JSON.stringify(x), r => {
...

...
    @ReactMethod
    public void go(String x, Callback callback) {
        callback.invoke("");
    }
...

And the reported timing drops to roughly 3-4 ms.
Expected Results
I expected the additional volume of data and JSON serialization to result in more overhead -- not 7x less. There should be a way to send this array in 3 ms without jumping through hoops to serialize it as a string.
Snack, code example, screenshot, or link to a repository:
See above.
I believe this issue is closely related to #10504. That issue was closed without any resolution or improvement.
I could provide a stand-alone regression test if I had some starting point to work off, but I believe the above is enough to show that there is a serious problem that should not be expected, and the steps that can be taken to reproduce this problem.

I concur that passing byte array in ReadableArray format over RN bridge is quite slow. My scenario is to surface up protobuf bytes from native layer up to JS layer, I ended up using base64 to encode / decode the bytes and pass the bridge in string format, it's much better.
With 2,000 bytes of payload:
ReadableArray:  3 ms encoding + 5 ms passing through
String (base64):  0.3 ms encoding + 2 ms passing through
With 20,000 bytes of payload:
ReadableArray:  26 ms encoding + 18 ms passing through
String (base64):  3 ms encoding + 2 ms passing through

This is still an issue as far as I know. Has not yet been acknowledged.

This is still an issue as far as I know. Has not yet been acknowledged.

This is still an issue as far as I know. Has not yet been acknowledged.

@arvoelke I'm sorry no one from my team answered you earlier.
As this issue is extremely old (11 versions behind), let's try to do the following:

Please try again on React Native 0.75 & enable the New Architecture
Please also provide a reproducer using https://github.com/react-native-community/reproducer-react-native

And let me know if the results are consistent with your previous exploration

I'm no longer working on this project. Maybe if @raymondxie is still affected (Mar 9, 2023) he can comment on whether React Native 0.75 helps. In any case it seems like it would be good overall for RN to have some performance benchmarks for the bridge if it doesn't already.

In any case it seems like it would be good overall for RN to have some performance benchmarks for the bridge if it doesn't already.

We do have them already here: https://github.com/reactwg/react-native-new-architecture/discussions/123

Closing as reproducer was never provided, and @arvoelke mentioned he moved away from this project. Let's open a new issue if the problem persists in 0.75.x


[Sprint: 58] XD-3568 Add exludes for Boot Solr auto configuration

needed when Solr 5.x is on classpath - see https://github.com/spring-projects/spring-boot/issues/2795

add SolrAutoConfiguration.class to exclude for @EnableAutoConfiguration

lgtm, merging

merged


Added a snap to grid setting

I don't think the snap to grid should replace the show grid option, instead they should be separate options and not depend on each other


Implement support for load$

Implement support for load$ as explained in https://github.com/senecajs/seneca/blob/master/doc/data-store.md#cmdremove

Waiting for seneca-store-tests updates

solved after unification with postgres-store


Possible bug with DECIMAL type in VARIANT

Summary
I've been looking around at supporting VARIANT.
I had a bit of trouble but found a good way to deal with BSTR.  It contains a pointer in mem and therefore the VARIANT_0_0_0 member for it is a ManuallyDrop
Anonymous: VARIANT_0_0_0 {
  bstrVal: ManuallyDrop::new(
    // When made this way, the BSTR will have memory created in windows
    // so we don't have to maintain a ref to the original data.
    match BSTR::from_wide(&value) {
      Ok(b) => b,
      Err(err) => return Err(err),
    }
  ),
},

You can see that in the drop for BSTR the memory is deallocated from windows.
I started looking at DECIMAL support in VARIANT_0_0_0 and it looks like it takes a pointer to a DECIMAL
I would have expected it to take some kind of ManuallyDrop<DECIMAL_WRAPPER> that surrounds a pointer to the innards.
If I get a VARIANT of this type as a result of a COM call, do I need to worry about the pointer to the DECIMAL? Who owns that memory? How does it get cleaned up?
Crate manifest
No response
Crate code
No response

Did you try windows 0.53? It has improved VARIANT support.
https://github.com/microsoft/windows-rs/releases/tag/0.53.0
https://github.com/microsoft/windows-rs/pull/2786
https://github.com/microsoft/windows-rs/pull/2788
BSTR is directly supported and we could add support for DECIMAL if desired.

Well... @kennykerr, I already had support for converting all of the various VT_* types.
The 0.53.0 update, or anything beyond, will be impossible for me to start using until you deliver support for all remaining types.


Add the Symfony with nginx configuration

Do you think there's a way we can do multiple PHP versions without duplicating configuration? Perhaps build ARGS? Specify the PHP version in an ARG that docker-compose can set?

#68 is introducing PHP versions as build ARGs, so you can use that to remove the duplication in this PR

Already done by you guys, fab!


Fix/partial localization object type

Checklist

[x] Changesets done

Body

Original pr: #152 (vscode had a moment with last pr)
I had a issue where the nameLocalizations & descriptionLocalizations types were Record<enum, string> meaning all enum members were required. This pr just changes the type to Partial<Record<enum, string>> so that all enum members are optional

Thanks!


Fix GH Actions fail-fast usage

fai-fast just works with matrix.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast

codecov triggers were broken, attempting relaunch now

Beautiful :upside_down_face:


type_mismatch of return_value from DLL

https://github.com/JosePineiro/WebP-wrapper/blob/bc6f3a9133fae827ceea204fb97437b85b563fa4/WebPTest/WebPWrapper.cs#L1160
https://github.com/JosePineiro/WebP-wrapper/blob/bc6f3a9133fae827ceea204fb97437b85b563fa4/WebPTest/WebPWrapper.cs#L1184
I think the following:
https://github.com/JosePineiro/WebP-wrapper/blob/bc6f3a9133fae827ceea204fb97437b85b563fa4/WebPTest/WebPWrapper.cs#L1161
must be
       public static IntPtr WebPDecodeBGRInto(IntPtr data, int data_size, IntPtr output_buffer, int output_buffer_size, int output_stride)
and
https://github.com/JosePineiro/WebP-wrapper/blob/bc6f3a9133fae827ceea204fb97437b85b563fa4/WebPTest/WebPWrapper.cs#L1185
must be
       public static IntPtr WebPDecodeBGRAInto(IntPtr data, int data_size, IntPtr output_buffer, int output_buffer_size, int output_stride)
Some other lines related to this also need to be changed.
On Windows x86, int and IntPtr are same size.
But on Windows x64, they are different size.

Ah, the parameters of
https://github.com/JosePineiro/WebP-wrapper/blob/bc6f3a9133fae827ceea204fb97437b85b563fa4/WebPTest/WebPWrapper.cs#L1161
https://github.com/JosePineiro/WebP-wrapper/blob/bc6f3a9133fae827ceea204fb97437b85b563fa4/WebPTest/WebPWrapper.cs#L1185
must be
(IntPtr data, UIntPtr data_size, IntPtr output_buffer, UIntPtr output_buffer_size, int output_stride)
for Windows x64, isn't it?
On Windows x64, int and size_t are different size.

What you say is correct. I have corrected the bug


Make it true multitask

This task doesn't seem to be a multitask. I'm new to Grunt but it seems Grunt sends different parameters when you have multiple tasks setup. For it to work properly as a multitask, the code at pot.js:87 should be changed to something like this:
	this.files[0].src.forEach(function(file) {
		if( !grunt.file.isDir( file ) ){
			inputFiles +=  " " + file;
		}
	});

If this alteration is made, the setup should change to something similar to the following :
pot: {
    first_task: {
        options: {
            text_domain: text_domain,
            dest: 'build/languages/',
            keywords: ['gettext', '__', '_e']
        },
        files: {
            src: ['build/**'],
            expand: true
        }
    }
}

You're right, although defined as a multi-task you will get an error if you use it as such. Using it as follows should work though:
pot: {
        options: {
            text_domain: text_domain,
            dest: 'build/languages/',
            keywords: ['gettext', '__', '_e']
        },
        files: {
            src: ['build/**'],
            expand: true
        }
}

I haven't had time to investigate what the actual bug is, but the proposed fix seems odd for two reasons:

The current line does follow the API documentation: http://gruntjs.com/api/inside-tasks#this.files
The fix seems to suggest looping through this.files[0] - what's so special about that index? My concern is that if you had multiple tasks then actually you'll always be using the files from the first (this is just speculative thinking). Have you tried the fix with multiple tasks.

In short, yes there's a bug, but I'm not sure if that's where it is :)

Yeah, it does look weird but that's where to problem was. Maybe my fix is not the best fix, but it works. I analyzed the data passed by Grunt and the files array was different from what it was before. I will see if I can pinpoint why.


White Bar appears before Account chooser dialog in Android

Hi ,
In Android signin application when we click on SignIn button white bar appears in screen before Account chooser dialog. Please correct it

@srinuch1981 I have never seen this ... could you capture a screenshot and post it here?

I am getting the same bar over my progress dialog. I am showing my custom progress dialog. Screen shot:

Thank you for the photograph.  I will report this to the proper team.  Could you try to provide more information such as:

Device make and model
Android OS version and Google Play Services version
Logcat output from before/after the bar shows
Steps to reproduce (if you know how)

I am getting on all devices on which i am testing. google play service is 8.3.
Archive.zip

Any update on this??

@niteshgoel we are investigating it.  Unfortunately I can't offer a short time frame on a possible fix.  This would be an issue in the Google Play Services system APK (if it is an issue) and that APK has a ~months release cycle.

Hi. Is there any update on this ? I am also facing the same issue. Please confirm if the issue is root caused or we need to provide any information.

Haven't seen any reports in ~9 months.  I once reproduced this but can't remember how any more.  Since I am cleaning up old issues I am going to close this, if anyone still sees this and knows how to make it happen I am happy to investigate.


[BUG] when use 'DS_BUILD_FUSED_ADAM=1 pip3 install deepspeed',it cant install fused_adam

This may be due to issues with the latest version，when i use the command 'DS_BUILD_FUSED_ADAM=1 pip install deepspeed==0.14.1' it works

Hi @MinFFFF - can you please share the full error that you see when you run DS_BUILD_FUSED_ADAM=1 pip install deepspeed?

Hi @MinFFFF - following up on this, are you able to share more information and the error?

Hi @MinFFFF - I'm going to close this issue as stale, if you do come back to this, please comment and I can re-open it.


Hotwallet low balance alert

Sending emails for whenever the hotwallet has low balance

Looks like this -- kind of janky but we don't need anything better really for the moment


Integrating Message Infrastructure into Zambeze

First step, in integrating the messaging infrastructure into Zambeze.

The following changes have occurred in this PR. The PluginMessageHelper class was split into two separate classes to follow the separation of concerns principle and the single responsibility principle. Red indicates removal Blue indicates a new addition.

@wilkinson This is ready for your input. @tskluzac I have tried to address your concerns here as well.


n-image cannot use local image

TuSimple/naive-ui version (版本)
2.34.3
Vue version (Vue 版本)
3.2.45
Browser and its version (浏览器及其版本)
Chrome 108.0.5359.125
System and its version (系统及其版本)
windows 11
Node version (Node 版本)
Reappearance link (重现链接)
https://codesandbox.io/s/hopeful-resonance-ld9ovu
Reappearance steps (重现步骤)
use local image/local source with n-image
Expected results (期望的结果)
work like <img> do
Actual results (实际的结果)
404 not found
Remarks (补充说明)
I tried 'src/assets/myPicture.png', and it only worked in developer mode.
After build, it shows '404 not found'.
I want the toolbar shows while clicking the image,so it's good if I cound use n-image to show the local image.
The image prop API's src description only shows 'Image source', so I'm not sure if it can show up the local image.
Or it's just me using the wrong way?

This is the problem of your build config. You need to handle the path of the image during the build.


the plan is not formatted and difficult for reviewing

CREATE TABLE `hoge` (
`id` BIGINT (20) NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET = utf8mb4;
Do you want to perform these actions?
Only 'yes' will be accepted to confirm.
Enter a value: yes
2021/08/15 14:59:23 starting to deploy
2021/08/15 14:59:23 executing: CREATE TABLE `hoge` (
`id` BIGINT (20) NOT NULL,
PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET = utf8mb4
2021/08/15 14:59:23 updating the schema information
2021/08/15 14:59:23 done

fixed by https://github.com/shogo82148/schemalex-deploy/pull/76


Travis - prevent FAIL during integration test

As can Currently when running integration test without tag=debug (race = false), 3 tests fails . (as can be seen here on Travis by searching "--- fail"):
--- FAIL: TestChannelLinkTrimCircuitsNoCommit (0.76s)
link_test.go:3806: line: 2741: wrong number of open circuits: want 0, got 2
--- FAIL: TestChannelLinkBandwidthConsistency (3.89s)
link_test.go:1534: line 1939: alice's link bandwidth is incorrect: expected<PHONE_NUMBER>00 mSAT, got<PHONE_NUMBER>00 mSAT
--- FAIL: TestMask (0.00s)
mask_test.go:91: htlcswitch tests must be run with '-tags debug'
Avoid that by skipping these tests.
Note that while 3 tests failed, the travis job is still marked green. This is handled by #1593

All the tests should be run with the debug flag activated.

Instead of skipping, we should change the Makefile to run the coverage tests with -tags="debug". This is the change made in #1712

@cfromknecht @Roasbeef @halseth
If this is your decision I suggest you also consider how to handle the case of someone running a test of the htlcswitch package  directly from the command line by:
go test github.com/lightningnetwork/lnd/htlcswitch
This will yield that following errors:
--- FAIL: TestChannelLinkTrimCircuitsNoCommit (0.75s)
link_test.go:3812: line: 2747: wrong number of open circuits: want 0, got 2
--- FAIL: TestChannelLinkBandwidthConsistency (3.76s)
link_test.go:1540: line 1945: alice's link bandwidth is incorrect: expected<PHONE_NUMBER>00 mSAT, got<PHONE_NUMBER>00 mSAT
FAIL
FAIL	github.com/lightningnetwork/lnd/htlcswitch	16.037s
Suggest you add t.Fatalf for these two tests and fail them with the proper error (need "debug" tag).

I see your point, if you'd like to amend the PR to make the fatals I would support that

Now that the tests are run w/ the proper tags, we can do so w/o breaking the builds!

Actually, we'll need to wait for #1716 to land, which properly reinstates #1712

@cfromknecht can you please reopen this PR? I will make the changes as you suggested.

@halseth @cfromknecht Updated.
For some reason, all checks fail
Thanks

@offerm You are not passing make lint and make fmt.

@halseth make fmt is good now.
make lint still shows error. These errors, however, have nothing to do with this PR and exist also in the master branch.....
Travis is still crazy.
Hope you can merge it now


Fix FIX2LONG addition

We cannot add to buffer_size because it is a Ruby VALUE object. By adding one to buffer_size we turn it from a fixnum into something else because fixnums use the bottom bit to determine that is a fixnum. Instead, we should be incrementing the value after the FIX2LONG.

@sirupsen could you add me as contributor? I can release the gem already, but apparently I can't merge (I thought I could)

@byroot done!

@sirupsen thank you!

LGTM btw., nice catch. But I'll let @byroot do the housekeeping


lsp-ai: init at 0.7.1

Description of changes

Changelog
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

Note: nixpkgs-review fails due to the IFD issue with using cargoLock. Currently don't know a good way around this since some of the packages in the lock file are from GitHub and don't have available cargoHashes. Suggestions welcome!
Edit: nixpkgs-review now is successful. Cleaned up the files.

Add a :+1: reaction to pull requests you find important.

Something is wrong with how the formatter is handling the maintainers file. Going to keep working on that.

Split out maintainer PR. Now dependent on https://github.com/NixOS/nixpkgs/pull/343191

I think you can submit a single PR (lsp-ai: init at 0.7.0) containing two commits:

maintainers: add projectinitiative
lsp-ai: init at 0.7.0

I think you can submit a single PR (lsp-ai: init at 0.7.0) containing two commits:
* maintainers: add projectinitiative

* lsp-ai: init at 0.7.0

I was looking at other PR's and commits and it looked like the recommended way was to submit a separate commit. Though I also see in the maintainers guide that it does mention they can be in the same PR.

Resubmitted with lock file and several suggested changes.

mainProgram added.

Welcome to nixpkgs! Consider add update-script but not neccessary.

What is an update-script? I am looking at this not sure it is the most up-to-date, and not sure how to test it.

added update-script. Tested with nix-shell maintainers/scripts/update.nix --argstr package lsp-ai

@ProjectInitiative All build fails because of the wrong cargo vendor hash according to ofborg.

@ProjectInitiative All build fails because of the wrong cargo vendor hash according to ofborg.

@Bot-wxt1221 Lastest changes I just pushed show the following working for me locally.
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
nix-build -A lsp-ai.src --check
nix-build -A lsp-ai

If you have any additional checks I can run against, please let me know so I don't waste more reviewing time :)
Furthermore, I see ofborg passthrough failed on darwin. I don't have a mac to test with, so not sure how to solve that problem.

darwin fails. Request review from darwin-maintainers.

darwin fails. Request review from darwin-maintainers.

Missing SystemConfiguration framework

@ProjectInitiative Follow above instructions to fix darwin build.

Result of nixpkgs-review pr 343184 run on aarch64-darwin 1

1 package failed to build:

lsp-ai

exporting https://github.com/maxxnino/tree-sitter-zig (rev 7c5a29b721d409be8842017351bf007d7e384401) into /nix/store/5b5ba6dhbhyqd0y3i24x5lspcnrlnq6k-tree-sitter>
Initialized empty Git repository in /nix/store/5b5ba6dhbhyqd0y3i24x5lspcnrlnq6k-tree-sitter-zig-7c5a29b/.git/
fatal: unable to access 'https://github.com/maxxnino/tree-sitter-zig/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
fatal: unable to access 'https://github.com/maxxnino/tree-sitter-zig/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
fatal: unable to access 'https://github.com/maxxnino/tree-sitter-zig/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
Unable to checkout 7c5a29b721d409be8842017351bf007d7e384401 from https://github.com/maxxnino/tree-sitter-zig.

Result of nixpkgs-review pr 343184 run on aarch64-darwin 1

1 package built:

lsp-ai

From what I gather it is some sort of issue with my networking setup, unrelated to this specifically. If it builds for you we'll take that.

What are the next steps in the review process?

@ProjectInitiative Wait for an nixpkgs commiter for reviewing.

Result of nixpkgs-review pr 343184 run on aarch64-darwin 1

1 package failed to build:

lsp-ai

Fails downloading the dependencies when running in a sandbox on Darwin:
error: builder for '/nix/store/hh67saalia7zjwcdd1znvgfzfvkmqnkv-hf-hub-6303587.drv' failed with exit code 1;
       last 6 log lines:
       > exporting https://github.com/huggingface/hf-hub (rev<PHONE_NUMBER>f8a1ce9f91f8274265a153b89afb6e) into /nix/store/h8cpn2clz3znfysp353n4b19s8mcrflm-hf-hub-6303587
       > Initialized empty Git repository in /nix/store/h8cpn2clz3znfysp353n4b19s8mcrflm-hf-hub-6303587/.git/
       > fatal: unable to access 'https://github.com/huggingface/hf-hub/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
       > fatal: unable to access 'https://github.com/huggingface/hf-hub/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
       > fatal: unable to access 'https://github.com/huggingface/hf-hub/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
       > Unable to checkout<PHONE_NUMBER>f8a1ce9f91f8274265a153b89afb6e from https://github.com/huggingface/hf-hub.
       For full logs, run 'nix log /nix/store/hh67saalia7zjwcdd1znvgfzfvkmqnkv-hf-hub-6303587.drv'.
error: 1 dependencies of derivation '/nix/store/5491jjd7b64yan5jw5lfziv4nfhxp97w-hf-hub-0.3.2.drv' failed to build
error: builder for '/nix/store/mf2i7rmfanafkwpgqhyp9jshq5ybh48c-tree-sitter-zig-7c5a29b.drv' failed with exit code 1;
       last 6 log lines:
       > exporting https://github.com/maxxnino/tree-sitter-zig (rev 7c5a29b721d409be8842017351bf007d7e384401) into /nix/store/5b5ba6dhbhyqd0y3i24x5lspcnrlnq6k-tree-sitter-zig-7c5a29b
       > Initialized empty Git repository in /nix/store/5b5ba6dhbhyqd0y3i24x5lspcnrlnq6k-tree-sitter-zig-7c5a29b/.git/
       > fatal: unable to access 'https://github.com/maxxnino/tree-sitter-zig/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
       > fatal: unable to access 'https://github.com/maxxnino/tree-sitter-zig/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
       > fatal: unable to access 'https://github.com/maxxnino/tree-sitter-zig/': OpenSSL/3.0.14: error:16000069:STORE routines::unregistered scheme
       > Unable to checkout 7c5a29b721d409be8842017351bf007d7e384401 from https://github.com/maxxnino/tree-sitter-zig.
       For full logs, run 'nix log /nix/store/mf2i7rmfanafkwpgqhyp9jshq5ybh48c-tree-sitter-zig-7c5a29b.drv'.
error: 1 dependencies of derivation '/nix/store/gk9q51gmcbrsmjixc8lqxcz9039z41pi-tree-sitter-zig-0.0.1.drv' failed to build
error: 2 dependencies of derivation '/nix/store/92vk52df40l5cgl4j2621j9scql3l6sj-cargo-vendor-dir.drv' failed to build
error: 1 dependencies of derivation '/nix/store/g8j14w4ww570rz1m4ff1s2s2jwbkp7c9-lsp-ai-0.7.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nvk0zwcq15kgcjrxprlcq9r4rnwl5dks-review-shell.drv' failed to build

Try adding darwin's CoreServices to your build inputs. (I added a suggested change)

From what I gather it is some sort of issue with my networking setup, unrelated to this specifically. If it builds for you we'll take that.

Probably due to the fact that I didn't run the build in a sandbox

@Aleksanaa any idea on why this isn't building on Darwin in the sandbox (and thus hangs OfBorg's check)? The Cargo.lock checks out as do the outputHashes. The usual rust-on-Darwin don't seem to work (including Apple system libraries). What am I not seeing?

@OfBorg build lsp-ai

From what I gather it is some sort of issue with my networking setup, unrelated to this specifically. If it builds for you we'll take that.

Probably due to the fact that I didn't run the build in a sandbox

Apparently OfBorg doesn't either. So I think we're good here.

Result of nixpkgs-review pr 343184 run on aarch64-darwin 1

1 package failed to build:

lsp-ai

Result of nixpkgs-review pr 343184 run on aarch64-darwin 1

1 package built:

lsp-ai

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

1 package built:

lsp-ai

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1988


Log not written in case of panic

[ ] wrap panic calls in code to call Log.Fatal as well
[ ] add recover defer in each goroutine

@mtsitrin is this fixed?

no
the panic log currently is viewed in the systemctl / journalctl


Convenient ability to add clients with a Stream

Room::insert, as a synchronous method, might not see all that wide use. It'd be much better to support adding clients using a Stream. Cheers to Ralith on the tokio gitter for helping form this idea.

This is now taking over for ChannelledRoom in #20.


Updated to using the VSAC V2 API and the RetrieveMultipleValueSets call.

This fixes the effective date functionality
This also updates the gemfile.lock for bonnie_bundler

When loading an XML measure in Bonnie, and using the default setting of "Draft" for value sets, I get the following error:

VSAC value sets could not be loaded.
Please verify that you are using the correct VSAC username and password. Error Loading Value Sets from VSAC: Error Loading Value Sets from VSAC: No ValueSet found for oid '2.16.840.1.1137<IP_ADDRESS>'

This OID is for a value set used in most measures: AdministrativeGender, so this issue will likely impact all measures.
While I can get the measure to load by selecting "Published'' instead of "Draft", this won't work as default behavior. We need to figure out what's going on when "Draft" is selected and figure out what we should do.

It turns out when using the 'includeDraft' parameter you need to also use the 'profile' parameter. Theres a utility call in the VSAC V2 API that lists these:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProfileList>
    <profile>Most Recent CS Versions</profile>
    <profile>MU2 Update 2015-05-01</profile>
    <profile>MU2 EP Update 2014-05-30</profile>
    <profile>MU2 EH Update 2014-04-01</profile>
    <profile>MU2 EP Update 2013-06-14</profile>
    <profile>MU2 EH Update 2013-04-01</profile>
    <profile>MU2 Update 2012-12-21</profile>
    <profile>MU2 Update 2012-10-25</profile>
</ProfileList>

Hard coding the use of 'Most Recent CS Versions' makes 'includeDraft' work. This change would have to be made in https://github.com/projectcypress/health-data-standards.

Pull request created at projectcypress/health-data-standards#343 to fix the include_draft option to also set the profile parameter to the default or a provided profile.


Preventing audio pausing upon unplugging headphones

:beetle: Description
Attempting to allow audio to resume when unplugging headphones

:beetle: What have you tried?
Looking at the documentation, I was unable to find instructions related to controlling the functionality of audio playback upon unplugging headphones. There are release notes for version  v0.10.5 that state "Pause/resume when I pull out the headphones or receive an incoming call.", but there appears to be no sort of config/api call that allows the developer to determine which of these functionalities (pause or resume) should be used.
:beetle: Please post your code:
/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 *
 * @format
 * @flow
 */

import React from 'react';
import {
  SafeAreaView,
  StyleSheet,
  ScrollView,
  View,
  Text,
  StatusBar,
} from 'react-native';

import {
  Header,
  LearnMoreLinks,
  Colors,
  DebugInstructions,
  ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen';

const Sound = require('react-native-sound');

Sound.setCategory('Playback');

var whoosh = new Sound('test.wav', Sound.MAIN_BUNDLE, (error) => {
  if (error) {
    console.log('failed to load the sound', error);
    return;
  }
  // loaded successfully
  console.log('duration in seconds: ' + whoosh.getDuration() + 'number of channels: ' + whoosh.getNumberOfChannels());

  // Play the sound with an onEnd callback
  // Note that if unplugging in the middle of play invocation, the callback will never be invoked due to audio pausing
  whoosh.play((success) => {
    if (success) {
      console.log('successfully finished playing');
    } else {
      console.log('playback failed due to audio decoding errors');
    }
  });
  console.log('hello!');
});

const App: () => React$Node = () => {
  return (
    <View style={styles.topContainer}>
      <View style={styles.parentContainer}>
        <Text>{'Hello World!'}</Text>
      </View>
    </View>
  );
};

const styles = StyleSheet.create({
  topContainer: {width: '100%', height: '100%', justifyContent: 'center', alignItems: 'center'},
  parentContainer: { width: 250, height: 250, backgroundColor: 'pink'}
});

export default App;

:bulb: Possible solution
A possible solution would be to allow the user to determine this functionality either via configuration or through some sort of api call.
Is your issue with...

[ X] iOS
[ ] Android
[ ] Windows

Are you using...

[X ] React Native CLI (e.g. react-native run-android)
[ ] Expo
[ ] Other: (please specify)

Which versions are you using?

React Native Sound: 0.11.0
React Native: 0.61.2
iOS: 12.4.1

Does the problem occur on...

[ ] Simulator
[X] Device

If your problem is happening on a device, which device?

Device:
iPad pro 10.5 inch, MPDY2LL/A

have you found a way to at least detect when audio is paused in this way?