text:
Strip the result body when creating default HEAD responses

If you don't specify a HEAD behavior but you do provide GET, Tide will automatically use the GET behavior. But it retains the body, which should be stripped.

@aturon did a little diggin into this, not sure if I am reading this right either, but it seems like hyper handles this for us. In the current code on master here are some example responses from curl
I'm running the named_path example:
url --get  --url http://127.0.0.1:8000/add_two/2   --header 'content-type: application/json' -v

Returns
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8000 (#0)
> GET /add_two/2 HTTP/1.1
> Host: 127.0.0.1:8000
> User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
> Accept: */*
> Referer:
> content-type: application/json
>
< HTTP/1.1 200 OK
< content-type: text/plain
< content-length: 15
< date: Mon, 19 Nov 2018 04:53:55 GMT
<
* Connection #0 to host 127.0.0.1 left intact
2 plus two is 4

and the head request:
curl --head  --url http://127.0.0.1:8000/add_two/2   --header 'content-type: application/json' -v

returns
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8000 (#0)
> HEAD /add_two/2 HTTP/1.1
> Host: 127.0.0.1:8000
> User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
> Accept: */*
> Referer:
> content-type: application/json
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< content-type: text/plain
content-type: text/plain
< content-length: 15
content-length: 15
< date: Mon, 19 Nov 2018 04:53:33 GMT
date: Mon, 19 Nov 2018 04:53:33 GMT

<
* Connection #0 to host 127.0.0.1 left intact

Perhaps I am missing something though. Thoughts?

@tzilist
I had observed the same behavior while testing #31.
Guess i missed something too :)

That's very interesting. I haven't been able to track down where this is happening in Hyper...

@seanmonstar maybe you can provide a quick answer: does Hyper have built-in treatment for HEAD requests and if so, what is it?

hyper will try to prevent illegal HTTP semantics, like sending a body in response to HEAD requests, or in 204/304 status codes.
It may still be useful to recognize a HEAD request is different from a GET in cases where preparing the body may have been expensive.

@aturon if this is the case, should we just write a test case to ensure that HEAD requests always strip the body? We can just rely on hyper to handle this and the test case to make sure it doesn't break.

@tzilist Yep, that seems reasonable for now!  I'd also suggest adding a comment to make clear that's  what we're doing.

I attempted to write a test for this given the mock service provided through http_service_mock but I'm running into something strange... There's more details in my PR: https://github.com/rustasync/tide/pull/179

Has this issue been fully resolved?

@WSeegers I think it may have been in https://github.com/rustasync/tide/pull/179. Going to go ahead and close this!

authors: DeltaManiac WSeegers aturon fairingrey seanmonstar tzilist yoshuawuyts

repo: rustasync/tide


text:
feat(textToSpeech): add text-to-speech feature

Change

Add TextToSpeech (Only read title, description, alt, text for now, Click icon button to play and stop)
Fix the data-cy conversion in actions/index.tsx
Add tests and story

Screenshot

Video

I would use "Start reading aloud" and "Stop reading aloud".

source: gharchive/pull-request

authors: Laurendragonscale lyjeileen

repo: rustic-ai/ui-components

license: MIT

license_type: permissive

license_source: github-api


text:
Does struct field renaming support private fields?

I am trying to map across the stripe.CreatePaymentMethod function, but I am running into a bit of a blocker.
Because type is a keyboard it cannot be used as an attribute name thankfully #2360 was pulled in and I've ended up with the following:
#[wasm_bindgen]
pub struct PaymentMethodData{
    #[wasm_bindgen(js_name = type)]
    foo: String,
    card: Card,
    billing_details: BillingDetails,
}

card is a JS type and BillingDetails is a struct.
However, the following results in the following from the compiler:
error: expected an inert attribute, found an attribute macro
I have also tried:
#[wasm_bindgen]
pub struct PaymentMethodData{
    r#type: String,
    card: Arc<Card>,
    billing_details: BillingDetails,
}

Which does compile but stripe throws a runtime error (IntegrationError: Invalid value for createPaymentMethod: type should be string. You specified: undefined.).
Any ideas on where to go from here?

I don't think that private fields are exported into JS, so if you're passing this to an API that expects to be able to access a type property then that won't work? You'll need to probably make an impl with methods that work as accessors?

Okay I've finally figured out what is going on, internally stripe elements is accessing using bracket notation which is where the issue has cropped up from.
var i = r[o]

Where r is the object and o is a string with a field name, is there a way to expose fields for this or would I need to write a small translation layer?

Ah that makes sense! I'm unfortunately not enough of a JS-wizard to know what the options available to wasm-bindgen are to solve that. I'd probably have a small layer for now to translate.

source: gharchive/issue

authors: alexcrichton disconsented

repo: rustwasm/wasm-bindgen


text:
Web worker example fails to build

Describe the Bug
The Wasm in web worker examples fails to build when running ./build.sh:

error[E0599]: no method named dyn_ref found for struct Element in the current scope

Steps to Reproduce

git clone http://github.com/rustwasm/wasm-bindgen.git --depth 1
cd wasm-bindgen/examples/wasm-in-web-worker
./build.sh

Expected Behavior
I expected the example to compile.
Actual Behavior
It produced an error, see above.
Additional Context

cargo version: cargo 1.68.0-nightly (8c460b223 2023-01-04)
Arch Linux 6.1.6

I was able to build and run the example wasm_no_modules_js_worker from this repo by Simon B. Gasse.

I can't reproduce this. This sounds like it was caused by #3221, though, since it removed the manual import of JsCast, which would have caused such an error if the example was built with a version of wasm-bindgen before JsCast was added to wasm_bindgen::prelude.
Now that 0.2.84 has been released, though, and the example explicitly requires it and thus JsCast in wasm_bindgen::prelude, I think this should be fixed. Can you confirm whether you still have this problem?

I can confirm that the application builds now, thanks.
When serving the website using http or python3 -m http.server, and connecting to localhost:8000 with a browser, I observe that the following files are fetched in a seemingly endless loop:

worker.js
wasm_in_web_worker.js
wasm_in_web_worker_bg.wasm

Do you see that too?

cargo version: cargo 1.68.0-nightly (985d561f0 2023-01-20)
Arch Linux 6.1.8
Firefox 109.0.1
Chromium 109.0.5414.119

When serving the website using http or python3 -m http.server, and connecting to localhost:8000 with a browser, I observe that the following files are fetched in a seemingly endless loop:

worker.js

wasm_in_web_worker.js

wasm_in_web_worker_bg.wasm

Oh, right. Sorry, that was just fixed in #3278. I think I responded to you right before I merged #3248 and caused that.

Thanks for fixing this, Liam! The example works flawlessly now.


text:
Using exported Rust structs causes detached Buffer issue

Describe the Bug
When creating a function that accepts a vector of exported rust structs in rust > 1.82 on big enough sizes function returns an error.
Steps to Reproduce

Use hello_world example and set wasm_bindgen to version 2.99.
Create a function and a struct in rust:

#[wasm_bindgen]
#[derive(Clone, Copy, Debug)]
pub struct PartialTestData {
    pub a: u32,
    pub b: f64,
    pub c: f64,
}

#[wasm_bindgen]
impl PartialTestData {
    #[wasm_bindgen(constructor)]
    pub fn new(a: u32, b: f64, c: f64) -> Self {
        return Self { a, b, c };
    }
}

#[wasm_bindgen]
pub fn test_sum(param: Vec<PartialTestData>) -> u64 {
    let mut k = 0u64;
    for v in param {
        k += u64::from(v.a)
    }
    return k;
}

Replace index.js file with call to a function:

import { PartialTestData, test_sum } from "./pkg";

const size = 1_000_000;
const values = new Array(size)
  .fill(0)
  .map((_, i) => new PartialTestData(i, 0, 0));
alert(test_sum(values));

Run npm install, npm run serve
Open the browser
See error

Expected Behavior
Alert with a result of a computation.
Actual Behavior
An exception in console TypeError: attempting to access detached ArrayBuffer in Firefox or TypeError: Cannot perform DataView.prototype.setUint32 on a detached ArrayBuffer in Chrome

Additional Context
The issue doesn't happen in versions of rust below 1.82. I also didn't test options other than bundler.

I am facing the same issue. A rollback to wasm-bindgen = "=0.2.92" seems to also fix the issue.

Note: the bug is specific to the reference type transformations. So it doesn't show up in 0.2.92 because reference type transformations were not enabled by default back then.

authors: Anoromi daxpedda mProjectsCode


text:
Specify cargo build target dir?

💡 Feature description
I want to specify all the intermediate compilation files or wasm output into specified dir. I used wasm-pack build <input-dir> --out-dir <wasm-pack-output-dir> -- --target-dir <cargo-target-dir>, but the following error was emitted:
[INFO]: Installing wasm-bindgen...
error: failed reading '<input-dir>\target\wasm32-unknown-unknown\release\<not-important>.wasm'

Caused by:
    系统找不到指定的路径。 (os error 3)
    ^^^^^^^^^^^^^^^
    (Which means "system can not find specified path")

Seems like wasm-pack always assumes the cargo target output is emitted to <input-dir>/target?
💻 Basic example
Include a basic code example if possible. Omit this section if not applicable.

To me it looks like as wasm-pack changes directories incorrectly.
I specify CARGO_TARGET_DIR=wasm-target and it ends up compiling everything in the following folder: <workspace_dir>/<crate_dir>/wasm-target (which isn't the correct path).
But then wasm-pack looks for the binary in <workspace_dir>/wasm-target (which is the correct path) and fails.

Fixed in #1331.

authors: drager kaimast shrinktofit

repo: rustwasm/wasm-pack


text:
Add these tutorials to Polkadot.Study

To make these tutorials more visible, it would be neat to have them included in polkadot.study.
Cc @niklasp / niklas@eedee.net

That would be nice! Are you open for it @tdelabro? I recently included the work in progress "Substrate In Bits" (from @abdbee).
With your input I could also create a filterable landing page for rusty crewmates tutorials.

Sure go ahead !
I wasn't aware of this initiative, but it's great!

I haven't worked with rusty crewmates but it seems this describes it well.

Actually all the things to learn are inside your repository. However I could imagine that an index page would be good. Something similar to this: https://polka.study/tutorials/substrate-in-bits/#table-of-technical-content. With a short description of the exercises and a link to each one. Could you imagine putting something like this together in a markdown file? I would then include your repo as a submodule to make it easier to sync with new content.
Anyway I added your repo to the substrate tag page here: https://polka.study/tutorials/tags/substrate

@tdelabro could you imagine writing an index page and a short description?

What is Rusty Crewmates Substrate Tutorials
How to work with it
Content and description of the different sections
any additional information

So i could publish that as a tutorial itsself and direct users to this repo?

Sure. Is it just the text you are expecting. Or should it be formatted on a specific way (markdown, web)?

@tdelabro any update here? would be awesoome to include it for more visibility. your tutorials are great for new substrate devs!

Hey @niklasp
Do you think this will be good enough?
# Substrate tutorials

Substate tutorials is a collection of exercises that will theach you the basics of Substrate development and broaden your skillsets through real-world use cases.

## Getting started

Go to the tutorial [repository](https://github.com/rusty-crewmates/substrate-tutorials), fork it, clone it and start with the [first exercise](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex00-testing).
Run the crate tests, you will see they fail. Give a look to the `README.md` and code until all tests pass :)

If you want to run your pallet in a real runtime, you can easily edit the `substrate-node-template` and add your pallet to its runtime. It will allow you to interact with your code through tools like [polkadot.js](https://polkadot.js.org/apps/#/explorer).

## Table of content
| | name | objectives |
| ---| ---| ---|
|0| [testing](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex00-testing) | learn how to write simple tests for an existing pallet|
|1| [pallet easy](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex01-pallet-easy)| write a really simple erc20-like pallet |
|2| [runtime](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex02-runtime) | add your pallet to a substrate runtime and launch a node|
|3| [pallet intermediate](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex03-pallet-intermediate)| writing pallet is the bread and butter of substrate development, let's double down on those basics|
|4| [coupling](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex04-pallet-coupling) | pallets can interact with each other, in different complex ways |
|5| [hooks](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex05-hooks)| substrate allow you to write hooks that will multiply the possibilities of your chain|
|6| [weights](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex06-weights) | in order to be incentive the block consensus authorities fees are collected on users transactions |
|7| [imbalances](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex07-imbalances)| the supply of your chain token can vary, but there are some rules to respect when playing with it|
|8| [genesis config](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex08-genesis-config) | you can give your chain an initial state before launching it|
|9| [mock](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex09-mock)| learn how to mock your runtime in order to write handy and powerfull tests |
|10| [offchain worker](https://github.com/rusty-crewmates/substrate-tutorials/tree/main/exercises/ex10-offchain-worker) | another hook that allow nodes to do complex async computation in parallel of the chain execution |

## Contribute

This work is open-source, financed by a Web3 Foundation grant, so it really belongs to the community. Feel free to contribute to the repository with anything you think could help others.

Yeah, thats fine. In case you write new tutorials, please ping me so i can update the index.

Sure I will !

authors: niklasp sacha-l tdelabro

repo: rusty-crewmates/substrate-tutorials


text:
3.30 updated to 3.31.1

Current version number was shown differently after fw update than when it's read from Bluetooth
Test and see what is shown

Ok leaving it for now

I think we had a similar issue on iOS earlier and we fixed it. If right now the current version info is shown before actually verifying it from the sensor, it is a totally wrong thing to do and may make user think that all is ok even if something actually went wrong during the update. I understand that this is minor and not fixing it is usually easier solution than fixing it, but still, let's keep this open in backlog, test more and estimate wotkload before deciding of not to do it.

authors: laurijamsa markoaamunkajo


text:
Regenerate man page

Was forgotten in 2714cfce91fb0fa4197f92a20a52dd475c20f70d.

Thanks.

repo: rvaiya/keyd


text:
How to change default shorcut on Windows?

How can I replace it?,
I can't find any configuration to change the shortcut
Let say I want to change "hint_activation_key" to Win+F

edit config not work, and I can't find edit file

Location config:
C:\Users\ajf\AppData\Roaming\warpd
#solved

repo: rvaiya/warpd


text:
Example 3 is not working

Hi, when I try to run example 3 I get the following error :
File "/home/paul/Dropbox/SupAero/S5/SDD/Metaheuristiques/ABC/Hive-master/Example3_EvolveAPainting.py", line 170, in compare_images_mse
err = np.sum((source_image.astype("float") - new_image.astype("float")) ** 2)
ValueError: operands could not be broadcast together with shapes (516,370,3) (645,462,3)
do you know where this could come from ?
Really nice code you did here however and thanks for sharing !

I changed dpi from 80 to 100 and it works perfectely! I think it may be computer dependent.
Best,

repo: rwuilbercq/Hive

license: mit

license_source: bigquery


text:
feat(execute): now handling type and enum cases + type-value for enums

Hey, great initiative on doing such a project, at my current company we are making a lot of GQL queries and need to write down mocks quite often which is getting quite ou tof control lately.
Your package provides a nice way to tackle that issue.
However I had to add support for pascalCase along with having enum values written as Enum.Value and not just Value because the typescript compiler threw me a bunch of errors if I just assigned the values directly to the enum field.
I also found that your package does not support some other features like having proper enum values for Union Types, i can open a pull request later on to handle that issue as well

@gromon42 sorry for the delay, this is great! thanks for the PR. Can you just revert the package-lock.json since I don't see any changes to the package.json and I'll merge and release this. Also thanks for adding a test 🙌

Sure will do ! Thanks for getting back to me !

Also, i have done a lot of modifications in your current codebase to handle several use cases that we are facing at my current company :

We needed to import the types from the a type.ts file generated from typescript-operations package and needed to have several output files instead of just one big file with everything in it. This file was breaking the linter and causing a lot of warning to be triggered in our pipeline which was really painful when trying to debug a test.
In order to do that i used the graphql-codegen programmatically along with the visitor pattern that they are currently using. I think we could use this pattern as well in order to simplify the recurring algo that you use in order to collect all the fields from the queries.

It would also fix a bug that i have found in the way you handle interface which are normally generated at runtime. If i have some query with the following interface implementation and aliases.

 query test {
      testInterface {
        __typename
        ... on TestInterfaceType1 {
          id
          foo1: enum
        }
        ... on TestInterfaceType2 {
          id
          foo2: enum
        }
      }
    }

Normally you would expect to have a this ouput :
export const testQueryMock = { data: { testInterface: { __typename: 'TestInterfaceType1', id: 'e509e6ea-9fee-442a-9962-587ce7190430', foo1: 'Option1' } } };

But the current codebase is also treating foo2 as a property that need to be added at runtime so we have :
export const testQueryMock = { data: { testInterface: { __typename: 'TestInterfaceType1', id: 'e509e6ea-9fee-442a-9962-587ce7190430', foo1: 'Option1' , foo2: 'Option1' } } };

Which causes a typescript bug if foo1 and foo2 have different types.
Do you think of a way to address such an issue ? I have tried tweaking your code many times to fix it but found myself breaking something in the process


text:
Initialize ReadTheDocs Project

Need to claim the namespace for the readthedocs projects.
Create rst file in the docs folder.
Build and post to readthedocs site.

Available in master. Any work on my side to publish on documentation with github actions?

No, readthedocs has webhooks if you log in with your github account. You gave me sufficient permissions to allow them to pull the content and build the documentation. I just need to troubleshoot the configuration.

The pyartemis project has been deployed on readthedocs. There's some more work to be done in terms of setting up webhooks, but we should first set up a proper deployment strategy before automating publishing documentation. I see no reason to be wasteful of the readthedocs resources.

authors: DominicParent ryanmwhitephd

repo: ryanmwhitephd/artemis


text:
Rename Package - Backend Server

Purpose
This is just to outline the changes we had spoken about in naming conventions for the project.
The current package containing all of our application code is currently named matrix_backend we need to change this to be app to follow Flask best practices
Since we are also considering moving away from a WSGI server and instead are favoring gunicorn which is a WSGI HTTP Server for UNIX we can also rename our wsgi.py file to run.py
End Product
All code relevant to Matrix Backend should now be contained in the package named app
A developer should be able to boot-up our server through the use of python3 run.py

Good work. Approved.


text:
Attributes By Default, SSR Improvements, Bug Fixes

Dom Expression v0.22.0 updates mostly.

Yes thanks. This is why you shouldn't leave documentation to last thing at night when you should be sleeping.

repo: ryansolid/solid


text:
Update data_science_colleges.csv

Insert new data science programs

Insert new Spanish data science programs


text:
CustomLinkedList

Саша Елыков

Coverage increased (+19.6%) to 67.669% when pulling fa48ddf067c02944308dcb3566fb58aad7b468e1 on Russiancold:lecture03 into 16dad782f5d596ae50d0b39665b32df40da60c19 on rybalkinsd:lecture03.

Coverage increased (+21.7%) to 69.767% when pulling e6ac8f9b9899c188ce24cb3ba70740cc85f8579b on Russiancold:lecture03 into 16dad782f5d596ae50d0b39665b32df40da60c19 on rybalkinsd:lecture03.

Молодец

authors: IVSivak Russiancold coveralls

repo: rybalkinsd/atom


text:
Create UI Mockup for Add Item Page

About the Add Item Page:

Users should be able to add a new item through a form that includes input fields based on the item database structure (e.g., item name, description, quantity, price, supplier).
The system should display a confirmation message to verify the user's intention to add the new item.

Task:

[ ] Design a form for users to input item details such as name, description, quantity, price, and supplier. Add a confirmation step before saving.

Tasks Done Today:

Added add item page

Contains:

Item Picture
Item Details

Added confirmation step before saving


text:
cmake error ( OpenCVConfig.cmake, opencv-config.cmake)

-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:4 (find_package):
Could not find a package configuration file provided by "OpenCV" with any
of the following names:
OpenCVConfig.cmake
opencv-config.cmake

Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files.  If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!

Thanks for writing the issue.
If you are using the macOS device, please install opencv.
brew install opencv

tempdeltavalue@Ms-MacBook-Pro sam-cpp-macos % cmake --build build
[ 25%] Building CXX object CMakeFiles/sam_cpp_lib.dir/sam.cpp.o
make[2]: *** No rule to make target /tempdeltavalue/Desktop/onnxruntime-osx-universal2-1.15.1/lib/libonnxruntime.dylib', needed by libsam_cpp_lib.dylib'.  Stop.
make[1]: *** [CMakeFiles/sam_cpp_lib.dir/all] Error 2
make: *** [all] Error 2

This is our CMakeLists.txt and the folder structure.
In our environment, cmake --build build works.
cmake_minimum_required(VERSION 3.21)
set(CMAKE_CXX_STANDARD 17)
project(SamCPP)
find_package(OpenCV CONFIG REQUIRED)

add_library(sam_cpp_lib SHARED sam.h sam.cpp)
target_include_directories(
  sam_cpp_lib PUBLIC
  /Users/ryo/Downloads/onnxruntime-osx-universal2-1.15.1/include
)
target_link_libraries(
  sam_cpp_lib PUBLIC
  /Users/ryo/Downloads/onnxruntime-osx-universal2-1.15.1/lib/libonnxruntime.dylib
  ${OpenCV_LIBS}
)

add_executable(sam_cpp_test test.cpp)
target_link_libraries(
  sam_cpp_test PRIVATE
  sam_cpp_lib
)

@ryouchinsa hmmm... thanks for your reply

@ryouchinsa Hmm.. thanks of your reply

log with invocations
Change Dir: '/Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build'
Run Build Command(s): /usr/local/Cellar/cmake/3.27.4/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile
/usr/local/Cellar/cmake/3.27.4/bin/cmake -S/Users/tempdeltavalue/Desktop/test/sam-cpp-macos -B/Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_progress_start /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build/CMakeFiles /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build//CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/sam_cpp_lib.dir/build.make CMakeFiles/sam_cpp_lib.dir/depend
cd /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build && /usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/tempdeltavalue/Desktop/test/sam-cpp-macos /Users/tempdeltavalue/Desktop/test/sam-cpp-macos /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build/CMakeFiles/sam_cpp_lib.dir/DependInfo.cmake "--color="
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/sam_cpp_lib.dir/build.make CMakeFiles/sam_cpp_lib.dir/build
[ 25%] Building CXX object CMakeFiles/sam_cpp_lib.dir/sam.cpp.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Dsam_cpp_lib_EXPORTS -I/Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/include -isystem /usr/local/Cellar/opencv/4.8.0_5/include/opencv4 -std=gnu++17 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -fPIC -MD -MT CMakeFiles/sam_cpp_lib.dir/sam.cpp.o -MF CMakeFiles/sam_cpp_lib.dir/sam.cpp.o.d -o CMakeFiles/sam_cpp_lib.dir/sam.cpp.o -c /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/sam.cpp
[ 50%] Linking CXX shared library libsam_cpp_lib.dylib
/usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_link_script CMakeFiles/sam_cpp_lib.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -dynamiclib -Wl,-headerpad_max_install_names -o libsam_cpp_lib.dylib -install_name @rpath/libsam_cpp_lib.dylib CMakeFiles/sam_cpp_lib.dir/sam.cpp.o  -Wl,-rpath,/Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/lib -Wl,-rpath,/usr/local/lib -lPUBLIC/Users /Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/lib/libonnxruntime.dylib /usr/local/lib/libopencv_gapi.4.8.0.dylib /usr/local/lib/libopencv_stitching.4.8.0.dylib /usr/local/lib/libopencv_alphamat.4.8.0.dylib /usr/local/lib/libopencv_aruco.4.8.0.dylib /usr/local/lib/libopencv_bgsegm.4.8.0.dylib /usr/local/lib/libopencv_bioinspired.4.8.0.dylib /usr/local/lib/libopencv_ccalib.4.8.0.dylib /usr/local/lib/libopencv_dnn_objdetect.4.8.0.dylib /usr/local/lib/libopencv_dnn_superres.4.8.0.dylib /usr/local/lib/libopencv_dpm.4.8.0.dylib /usr/local/lib/libopencv_face.4.8.0.dylib /usr/local/lib/libopencv_freetype.4.8.0.dylib /usr/local/lib/libopencv_fuzzy.4.8.0.dylib /usr/local/lib/libopencv_hfs.4.8.0.dylib /usr/local/lib/libopencv_img_hash.4.8.0.dylib /usr/local/lib/libopencv_intensity_transform.4.8.0.dylib /usr/local/lib/libopencv_line_descriptor.4.8.0.dylib /usr/local/lib/libopencv_mcc.4.8.0.dylib /usr/local/lib/libopencv_quality.4.8.0.dylib /usr/local/lib/libopencv_rapid.4.8.0.dylib /usr/local/lib/libopencv_reg.4.8.0.dylib /usr/local/lib/libopencv_rgbd.4.8.0.dylib /usr/local/lib/libopencv_saliency.4.8.0.dylib /usr/local/lib/libopencv_sfm.4.8.0.dylib /usr/local/lib/libopencv_stereo.4.8.0.dylib /usr/local/lib/libopencv_structured_light.4.8.0.dylib /usr/local/lib/libopencv_superres.4.8.0.dylib /usr/local/lib/libopencv_surface_matching.4.8.0.dylib /usr/local/lib/libopencv_tracking.4.8.0.dylib /usr/local/lib/libopencv_videostab.4.8.0.dylib /usr/local/lib/libopencv_viz.4.8.0.dylib /usr/local/lib/libopencv_wechat_qrcode.4.8.0.dylib /usr/local/lib/libopencv_xfeatures2d.4.8.0.dylib /usr/local/lib/libopencv_xobjdetect.4.8.0.dylib /usr/local/lib/libopencv_xphoto.4.8.0.dylib /usr/local/lib/libopencv_shape.4.8.0.dylib /usr/local/lib/libopencv_highgui.4.8.0.dylib /usr/local/lib/libopencv_datasets.4.8.0.dylib /usr/local/lib/libopencv_plot.4.8.0.dylib /usr/local/lib/libopencv_text.4.8.0.dylib /usr/local/lib/libopencv_ml.4.8.0.dylib /usr/local/lib/libopencv_phase_unwrapping.4.8.0.dylib /usr/local/lib/libopencv_optflow.4.8.0.dylib /usr/local/lib/libopencv_ximgproc.4.8.0.dylib /usr/local/lib/libopencv_video.4.8.0.dylib /usr/local/lib/libopencv_videoio.4.8.0.dylib /usr/local/lib/libopencv_imgcodecs.4.8.0.dylib /usr/local/lib/libopencv_objdetect.4.8.0.dylib /usr/local/lib/libopencv_calib3d.4.8.0.dylib /usr/local/lib/libopencv_dnn.4.8.0.dylib /usr/local/lib/libopencv_features2d.4.8.0.dylib /usr/local/lib/libopencv_flann.4.8.0.dylib /usr/local/lib/libopencv_photo.4.8.0.dylib /usr/local/lib/libopencv_imgproc.4.8.0.dylib /usr/local/lib/libopencv_core.4.8.0.dylib
ld: library not found for -lPUBLIC/Users
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libsam_cpp_lib.dylib] Error 1
make[1]: *** [CMakeFiles/sam_cpp_lib.dir/all] Error 2
make: *** [all] Error 2

@ryouchinsa Thanks for a reply
<img width="357" alt="Screenshot 2023-09-15 at 23 24 15" src="https://github.com/ryouchinsa/sam-cpp-macos/ass

ets/36921178/b8d93b5c-fbe0-457c-9790-cdcc2968512c">
Change Dir: '/Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build'
Run Build Command(s): /usr/local/Cellar/cmake/3.27.4/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile
/usr/local/Cellar/cmake/3.27.4/bin/cmake -S/Users/tempdeltavalue/Desktop/test/sam-cpp-macos -B/Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_progress_start /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build/CMakeFiles /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build//CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/sam_cpp_lib.dir/build.make CMakeFiles/sam_cpp_lib.dir/depend
cd /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build && /usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/tempdeltavalue/Desktop/test/sam-cpp-macos /Users/tempdeltavalue/Desktop/test/sam-cpp-macos /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build/CMakeFiles/sam_cpp_lib.dir/DependInfo.cmake "--color="
Dependencies file "CMakeFiles/sam_cpp_lib.dir/sam.cpp.o.d" is newer than depends file "/Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build/CMakeFiles/sam_cpp_lib.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target sam_cpp_lib
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/sam_cpp_lib.dir/build.make CMakeFiles/sam_cpp_lib.dir/build
[ 25%] Linking CXX shared library libsam_cpp_lib.dylib
/usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_link_script CMakeFiles/sam_cpp_lib.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -dynamiclib -Wl,-headerpad_max_install_names -o libsam_cpp_lib.dylib -install_name @rpath/libsam_cpp_lib.dylib CMakeFiles/sam_cpp_lib.dir/sam.cpp.o  -Wl,-rpath,/Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/lib -Wl,-rpath,/usr/local/lib -lPUBLIC/Users /Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/lib/libonnxruntime.dylib /usr/local/lib/libopencv_gapi.4.8.0.dylib /usr/local/lib/libopencv_stitching.4.8.0.dylib /usr/local/lib/libopencv_alphamat.4.8.0.dylib /usr/local/lib/libopencv_aruco.4.8.0.dylib /usr/local/lib/libopencv_bgsegm.4.8.0.dylib /usr/local/lib/libopencv_bioinspired.4.8.0.dylib /usr/local/lib/libopencv_ccalib.4.8.0.dylib /usr/local/lib/libopencv_dnn_objdetect.4.8.0.dylib /usr/local/lib/libopencv_dnn_superres.4.8.0.dylib /usr/local/lib/libopencv_dpm.4.8.0.dylib /usr/local/lib/libopencv_face.4.8.0.dylib /usr/local/lib/libopencv_freetype.4.8.0.dylib /usr/local/lib/libopencv_fuzzy.4.8.0.dylib /usr/local/lib/libopencv_hfs.4.8.0.dylib /usr/local/lib/libopencv_img_hash.4.8.0.dylib /usr/local/lib/libopencv_intensity_transform.4.8.0.dylib /usr/local/lib/libopencv_line_descriptor.4.8.0.dylib /usr/local/lib/libopencv_mcc.4.8.0.dylib /usr/local/lib/libopencv_quality.4.8.0.dylib /usr/local/lib/libopencv_rapid.4.8.0.dylib /usr/local/lib/libopencv_reg.4.8.0.dylib /usr/local/lib/libopencv_rgbd.4.8.0.dylib /usr/local/lib/libopencv_saliency.4.8.0.dylib /usr/local/lib/libopencv_sfm.4.8.0.dylib /usr/local/lib/libopencv_stereo.4.8.0.dylib /usr/local/lib/libopencv_structured_light.4.8.0.dylib /usr/local/lib/libopencv_superres.4.8.0.dylib /usr/local/lib/libopencv_surface_matching.4.8.0.dylib /usr/local/lib/libopencv_tracking.4.8.0.dylib /usr/local/lib/libopencv_videostab.4.8.0.dylib /usr/local/lib/libopencv_viz.4.8.0.dylib /usr/local/lib/libopencv_wechat_qrcode.4.8.0.dylib /usr/local/lib/libopencv_xfeatures2d.4.8.0.dylib /usr/local/lib/libopencv_xobjdetect.4.8.0.dylib /usr/local/lib/libopencv_xphoto.4.8.0.dylib /usr/local/lib/libopencv_shape.4.8.0.dylib /usr/local/lib/libopencv_highgui.4.8.0.dylib /usr/local/lib/libopencv_datasets.4.8.0.dylib /usr/local/lib/libopencv_plot.4.8.0.dylib /usr/local/lib/libopencv_text.4.8.0.dylib /usr/local/lib/libopencv_ml.4.8.0.dylib /usr/local/lib/libopencv_phase_unwrapping.4.8.0.dylib /usr/local/lib/libopencv_optflow.4.8.0.dylib /usr/local/lib/libopencv_ximgproc.4.8.0.dylib /usr/local/lib/libopencv_video.4.8.0.dylib /usr/local/lib/libopencv_videoio.4.8.0.dylib /usr/local/lib/libopencv_imgcodecs.4.8.0.dylib /usr/local/lib/libopencv_objdetect.4.8.0.dylib /usr/local/lib/libopencv_calib3d.4.8.0.dylib /usr/local/lib/libopencv_dnn.4.8.0.dylib /usr/local/lib/libopencv_features2d.4.8.0.dylib /usr/local/lib/libopencv_flann.4.8.0.dylib /usr/local/lib/libopencv_photo.4.8.0.dylib /usr/local/lib/libopencv_imgproc.4.8.0.dylib /usr/local/lib/libopencv_core.4.8.0.dylib
ld: library not found for -lPUBLIC/Users
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libsam_cpp_lib.dylib] Error 1
make[1]: *** [CMakeFiles/sam_cpp_lib.dir/all] Error 2
make: *** [all] Error 2

Thanks for a reply

cmake list
cmake_minimum_required(VERSION 3.21)
set(CMAKE_CXX_STANDARD 17)
project(SamCPP)
find_package(OpenCV CONFIG REQUIRED)
add_library(sam_cpp_lib SHARED sam.h sam.cpp)
target_include_directories(
sam_cpp_lib PUBLIC
/Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/include
)
target_link_libraries(
sam_cpp_lib PUBLIC/Users
/Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/lib/libonnxruntime.dylib
${OpenCV_LIBS}
)
add_executable(sam_cpp_test test.cpp)
target_link_libraries(
sam_cpp_test PRIVATE
sam_cpp_lib
)
logs
Change Dir: '/Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build'
Run Build Command(s): /usr/local/Cellar/cmake/3.27.4/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile
/usr/local/Cellar/cmake/3.27.4/bin/cmake -S/Users/tempdeltavalue/Desktop/test/sam-cpp-macos -B/Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_progress_start /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build/CMakeFiles /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build//CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/sam_cpp_lib.dir/build.make CMakeFiles/sam_cpp_lib.dir/depend
cd /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build && /usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_depends "Unix Makefiles" /Users/tempdeltavalue/Desktop/test/sam-cpp-macos /Users/tempdeltavalue/Desktop/test/sam-cpp-macos /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build /Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build/CMakeFiles/sam_cpp_lib.dir/DependInfo.cmake "--color="
Dependencies file "CMakeFiles/sam_cpp_lib.dir/sam.cpp.o.d" is newer than depends file "/Users/tempdeltavalue/Desktop/test/sam-cpp-macos/build/CMakeFiles/sam_cpp_lib.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target sam_cpp_lib
/Applications/Xcode.app/Contents/Developer/usr/bin/make  -f CMakeFiles/sam_cpp_lib.dir/build.make CMakeFiles/sam_cpp_lib.dir/build
[ 25%] Linking CXX shared library libsam_cpp_lib.dylib
/usr/local/Cellar/cmake/3.27.4/bin/cmake -E cmake_link_script CMakeFiles/sam_cpp_lib.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -dynamiclib -Wl,-headerpad_max_install_names -o libsam_cpp_lib.dylib -install_name @rpath/libsam_cpp_lib.dylib CMakeFiles/sam_cpp_lib.dir/sam.cpp.o  -Wl,-rpath,/Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/lib -Wl,-rpath,/usr/local/lib -lPUBLIC/Users /Users/tempdeltavalue/Desktop/test/onnxruntime-osx-universal2-1.15.1/lib/libonnxruntime.dylib /usr/local/lib/libopencv_gapi.4.8.0.dylib /usr/local/lib/libopencv_stitching.4.8.0.dylib /usr/local/lib/libopencv_alphamat.4.8.0.dylib /usr/local/lib/libopencv_aruco.4.8.0.dylib /usr/local/lib/libopencv_bgsegm.4.8.0.dylib /usr/local/lib/libopencv_bioinspired.4.8.0.dylib /usr/local/lib/libopencv_ccalib.4.8.0.dylib /usr/local/lib/libopencv_dnn_objdetect.4.8.0.dylib /usr/local/lib/libopencv_dnn_superres.4.8.0.dylib /usr/local/lib/libopencv_dpm.4.8.0.dylib /usr/local/lib/libopencv_face.4.8.0.dylib /usr/local/lib/libopencv_freetype.4.8.0.dylib /usr/local/lib/libopencv_fuzzy.4.8.0.dylib /usr/local/lib/libopencv_hfs.4.8.0.dylib /usr/local/lib/libopencv_img_hash.4.8.0.dylib /usr/local/lib/libopencv_intensity_transform.4.8.0.dylib /usr/local/lib/libopencv_line_descriptor.4.8.0.dylib /usr/local/lib/libopencv_mcc.4.8.0.dylib /usr/local/lib/libopencv_quality.4.8.0.dylib /usr/local/lib/libopencv_rapid.4.8.0.dylib /usr/local/lib/libopencv_reg.4.8.0.dylib /usr/local/lib/libopencv_rgbd.4.8.0.dylib /usr/local/lib/libopencv_saliency.4.8.0.dylib /usr/local/lib/libopencv_sfm.4.8.0.dylib /usr/local/lib/libopencv_stereo.4.8.0.dylib /usr/local/lib/libopencv_structured_light.4.8.0.dylib /usr/local/lib/libopencv_superres.4.8.0.dylib /usr/local/lib/libopencv_surface_matching.4.8.0.dylib /usr/local/lib/libopencv_tracking.4.8.0.dylib /usr/local/lib/libopencv_videostab.4.8.0.dylib /usr/local/lib/libopencv_viz.4.8.0.dylib /usr/local/lib/libopencv_wechat_qrcode.4.8.0.dylib /usr/local/lib/libopencv_xfeatures2d.4.8.0.dylib /usr/local/lib/libopencv_xobjdetect.4.8.0.dylib /usr/local/lib/libopencv_xphoto.4.8.0.dylib /usr/local/lib/libopencv_shape.4.8.0.dylib /usr/local/lib/libopencv_highgui.4.8.0.dylib /usr/local/lib/libopencv_datasets.4.8.0.dylib /usr/local/lib/libopencv_plot.4.8.0.dylib /usr/local/lib/libopencv_text.4.8.0.dylib /usr/local/lib/libopencv_ml.4.8.0.dylib /usr/local/lib/libopencv_phase_unwrapping.4.8.0.dylib /usr/local/lib/libopencv_optflow.4.8.0.dylib /usr/local/lib/libopencv_ximgproc.4.8.0.dylib /usr/local/lib/libopencv_video.4.8.0.dylib /usr/local/lib/libopencv_videoio.4.8.0.dylib /usr/local/lib/libopencv_imgcodecs.4.8.0.dylib /usr/local/lib/libopencv_objdetect.4.8.0.dylib /usr/local/lib/libopencv_calib3d.4.8.0.dylib /usr/local/lib/libopencv_dnn.4.8.0.dylib /usr/local/lib/libopencv_features2d.4.8.0.dylib /usr/local/lib/libopencv_flann.4.8.0.dylib /usr/local/lib/libopencv_photo.4.8.0.dylib /usr/local/lib/libopencv_imgproc.4.8.0.dylib /usr/local/lib/libopencv_core.4.8.0.dylib
ld: library not found for -lPUBLIC/Users
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libsam_cpp_lib.dylib] Error 1
make[1]: *** [CMakeFiles/sam_cpp_lib.dir/all] Error 2
make: *** [all] Error 2

For the SAM feature, please use Edit -> Create polygon using SAM menu.

For the build error, check the OpenCV_INCLUDE_DIRS and OpenCV_LIBS are correct.
Adding message() after find_package() in CMakeLists.txt, you can show those paths.
cmake_minimum_required(VERSION 3.21)
set(CMAKE_CXX_STANDARD 17)
project(SamCPP)
find_package(OpenCV CONFIG REQUIRED)

message(STATUS "OpenCV_INCLUDE_DIRS = ${OpenCV_INCLUDE_DIRS}")
message(STATUS "OpenCV_LIBS = ${OpenCV_LIBS}")

add_library(sam_cpp_lib SHARED sam.h sam.cpp)
target_include_directories(
  sam_cpp_lib PUBLIC
  /Users/ryo/Downloads/onnxruntime-osx-universal2-1.15.1/include
)
target_link_libraries(
  sam_cpp_lib PUBLIC
  /Users/ryo/Downloads/onnxruntime-osx-universal2-1.15.1/lib/libonnxruntime.dylib
  ${OpenCV_LIBS}
)

add_executable(sam_cpp_test test.cpp)
target_link_libraries(
  sam_cpp_test PRIVATE
  sam_cpp_lib
)

This is our terminal printed messages when cmake -S . -B build.
-- The C compiler identification is AppleClang 14.0.3.14030022
-- The CXX compiler identification is AppleClang 14.0.3.14030022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenCV: /opt/homebrew/Cellar/opencv/4.8.0_6 (found version "4.8.0")
-- OpenCV_INCLUDE_DIRS = /opt/homebrew/Cellar/opencv/4.8.0_6/include/opencv4
-- OpenCV_LIBS = opencv_calib3d;opencv_core;opencv_dnn;opencv_features2d;opencv_flann;opencv_gapi;opencv_highgui;opencv_imgcodecs;opencv_imgproc;opencv_ml;opencv_objdetect;opencv_photo;opencv_stitching;opencv_video;opencv_videoio;opencv_alphamat;opencv_aruco;opencv_bgsegm;opencv_bioinspired;opencv_ccalib;opencv_datasets;opencv_dnn_objdetect;opencv_dnn_superres;opencv_dpm;opencv_face;opencv_freetype;opencv_fuzzy;opencv_hfs;opencv_img_hash;opencv_intensity_transform;opencv_line_descriptor;opencv_mcc;opencv_optflow;opencv_phase_unwrapping;opencv_plot;opencv_quality;opencv_rapid;opencv_reg;opencv_rgbd;opencv_saliency;opencv_sfm;opencv_shape;opencv_stereo;opencv_structured_light;opencv_superres;opencv_surface_matching;opencv_text;opencv_tracking;opencv_videostab;opencv_viz;opencv_wechat_qrcode;opencv_xfeatures2d;opencv_ximgproc;opencv_xobjdetect;opencv_xphoto
-- Configuring done (7.9s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/ryo/Downloads/sam-cpp-macos/build

Thanks for your detailed feedback.
In our macOS app RectLabel, we are using the universal OpenCV framework.
https://github.com/opencv/opencv/issues/18049
The purpose of this repository is not sharing how to use OpenCV in your macOS or iOS apps.
We assume that you can build and run your image processing code using the OpenCV framework.
Using the sam-cpp-macos code, you can run the Segment Anything Model feature using C++ code.
The usability is the same as running the image processing code using the OpenCV framework in your apps.
In July 2023, we stared implementing Segment Anything Model feature on RectLabel.
If we had this sam-cpp-macos code at that time, we could release the update more than 2 weeks earlier.
Please let us know your opinion.

Hi, just want you to know that I took this macOS cpp code and put it inside iOS app and everything working (thank you a lot for that)
fyi
https://github.com/tempdeltavalue/SceneKitTest

Thanks for letting us know that you could run Segment Anything Model on your iOS app. Other users will be interested in your iOS code.

authors: ryouchinsa tempdeltavalue

repo: ryouchinsa/sam-cpp-macos


text:
Error on "Request Sending..." Step.

[  INFO  ] Request sending...
[ FAILED ] Message: javascript error: Cannot read properties of undefined (reading 'click')
  (Session info: chrome=118.0.5993.118)
Stacktrace:
        GetHandleVerifier [0x00604DE3+43907]
        (No symbol) [0x00590741]
        (No symbol) [0x004833ED]
        (No symbol) [0x00486F6D]
        (No symbol) [0x004889D9]
        (No symbol) [0x004E5DEB]
        (No symbol) [0x004D2B5C]
        (No symbol) [0x004E55CA]
        (No symbol) [0x004D2956]
        (No symbol) [0x004AE17E]
        (No symbol) [0x004AF32D]
        GetHandleVerifier [0x008B5AF9+2865305]
        GetHandleVerifier [0x008FE78B+3163435]
        GetHandleVerifier [0x008F8441+3138017]
        GetHandleVerifier [0x0068E0F0+605840]
        (No symbol) [0x0059A64C]
        (No symbol) [0x00596638]
        (No symbol) [0x0059675F]
        (No symbol) [0x00588DB7]
        BaseThreadInitThunk [0x76F0FA29+25]
        RtlGetAppContainerNamedObjectPath [0x77717A9E+286]
        RtlGetAppContainerNamedObjectPath [0x77717A6E+238]

Let me know if I can provide anymore information to debug this issue.

try expanding the chrome window

and take a screenshot and send it to me

The chrome window is stuck in an infinite reload loop.

Try use vpn.
Nothing like this is happening to me.

I tried using with a VPN and no VPN.
It's probably only an issue on my end. I'll keep trying, but I don't know what ells I can really do.

I don't have any suggestions either :(
It should never hang up in this place.


text:
Serial version UID

It would be nice to have an annotation to automatically create a field like
    private static final long serialVersionUID = 8310165171840482032L;

for all classes which implements java.io.Serializable

This has been discussed before and deemed not worth the effort; see e.g. https://groups.google.com/forum/?hl=en#!searchin/project-lombok/@serializable/project-lombok/RQ6VQRRMY38/jli-UYPSgfgJ

authors: askoning gualtierotesta

repo: rzwitserloot/lombok


text:
Error when rendering

Getting the following error on the last step when rendering:
`
Error: Command failed with exit code 1: /Users/.../Downloads/sonic-annotator-1.6-macos/sonic-annotator -t /private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459 -d vamp:qm-vamp-plugins:qm-segmenter:segmentation -w csv /Users/.../Documents/MusicLibrary/File.wav --csv-force Have audio source: "/Users/.../Documents/MusicLibrary/File.wav" Decoding File.wav... 1% Decoding File.wav... 2% Decoding File.wav... 3% Decoding File.wav... 4% Decoding File.wav... 5% Decoding File.wav... 6% Decoding File.wav... 7% Decoding File.wav... 8% Decoding File.wav... 9% Decoding File.wav... 10% Decoding File.wav... 11% Decoding File.wav... 12% Decoding File.wav... 13% Decoding File.wav... 14% Decoding File.wav... 15% Decoding File.wav... 16% Decoding File.wav... 17% Decoding File.wav... 18% Decoding File.wav... 19% Decoding File.wav... 20% Decoding File.wav... 21% Decoding File.wav... 22% Decoding File.wav... 23% Decoding File.wav... 24% Decoding File.wav... 25% Decoding File.wav... 26% Decoding File.wav... 27% Decoding File.wav... 28% Decoding File.wav... 29% Decoding File.wav... 30% Decoding File.wav... 31% Decoding File.wav... 32% Decoding File.wav... 33% Decoding File.wav... 34% Decoding File.wav... 35% Decoding File.wav... 36% Decoding File.wav... 37% Decoding File.wav... 38% Decoding File.wav... 39% Decoding File.wav... 40% Decoding File.wav... 41% Decoding File.wav... 42% Decoding File.wav... 43% Decoding File.wav... 44% Decoding File.wav... 45% Decoding File.wav... 46% Decoding File.wav... 47% Decoding File.wav... 48% Decoding File.wav... 49% Decoding File.wav... 50% Decoding File.wav... 51% Decoding File.wav... 52% Decoding File.wav... 53% Decoding File.wav... 54% Decoding File.wav... 55% Decoding File.wav... 56% Decoding File.wav... 57% Decoding File.wav... 58% Decoding File.wav... 59% Decoding File.wav... 60% Decoding File.wav... 61% Decoding File.wav... 62% Decoding File.wav... 63% Decoding File.wav... 64% Decoding File.wav... 65% Decoding File.wav... 66% Decoding File.wav... 67% Decoding File.wav... 68% Decoding File.wav... 69% Decoding File.wav... 70% Decoding File.wav... 71% Decoding File.wav... 72% Decoding File.wav... 73% Decoding File.wav... 74% Decoding File.wav... 75% Decoding File.wav... 76% Decoding File.wav... 77% Decoding File.wav... 78% Decoding File.wav... 79% Decoding File.wav... 80% Decoding File.wav... 81% Decoding File.wav... 82% Decoding File.wav... 83% Decoding File.wav... 84% Decoding File.wav... 85% Decoding File.wav... 86% Decoding File.wav... 87% Decoding File.wav... 88% Decoding File.wav... 89% Decoding File.wav... 90% Decoding File.wav... 91% Decoding File.wav... 92% Decoding File.wav... 93% Decoding File.wav... 94% Decoding File.wav... 95% Decoding File.wav... 96% Decoding File.wav... 97% Decoding File.wav... 98% Decoding File.wav... 99% Decoding File.wav... 100% Decoding File.wav... Done File or URL "/Users/.../Documents/MusicLibrary/File.wav" opened successfully Taking default channel count of 2 from audio file Taking default sample rate of 44100Hz from audio file (Note: Default may be overridden by transforms) [dataquay] BasicStore::clear [dataquay] BasicStoreSord::import: QUrl("file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459") [dataquay] namespace: "xsd" -> "http://www.w3.org/2001/XMLSchema#" [dataquay] namespace: "vamp" -> "http://purl.org/ontology/vamp/" [dataquay] namespace: "" -> "file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#" [dataquay] BasicStore::match: "( [] http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Transform )" [dataquay] BasicStore::match result (size 1 ): [dataquay] 0 . "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Transform )" [dataquay] BasicStore::clear [dataquay] BasicStore::match: "( [] http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Plugin )" [dataquay] BasicStore::match result (size 0 ): [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/plugin [] )" [dataquay] BasicStoreSord::import: QUrl("file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459") [dataquay] namespace: "xsd" -> "http://www.w3.org/2001/XMLSchema#" [dataquay] namespace: "vamp" -> "http://purl.org/ontology/vamp/" [dataquay] namespace: "" -> "file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#" [dataquay] BasicStore::match: "( [] http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Plugin )" [dataquay] BasicStore::match result (size 1 ): [dataquay] 0 . "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform_plugin> http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Plugin )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform_plugin> http://purl.org/ontology/vamp/identifier [] )" [dataquay] BasicStore::complete: "( [] http://purl.org/ontology/vamp/available_plugin <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform_plugin> )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform_library> http://purl.org/ontology/vamp/identifier [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/output [] )" [dataquay] BasicStore::match: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [] )" [dataquay] BasicStore::match result (size 4 ): [dataquay] 0 . "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [blank genid1] )" [dataquay] 1 . "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [blank genid3] )" [dataquay] 2 . "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [blank genid5] )" [dataquay] 3 . "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [blank genid7] )" [dataquay] BasicStore::complete: "( [blank genid1] http://purl.org/ontology/vamp/parameter [] )" [dataquay] BasicStore::complete: "( [blank genid1] http://purl.org/ontology/vamp/value [] )" [dataquay] BasicStore::complete: "( [blank genid2] http://purl.org/ontology/vamp/identifier [] )" [dataquay] BasicStore::complete: "( [blank genid3] http://purl.org/ontology/vamp/parameter [] )" [dataquay] BasicStore::complete: "( [blank genid3] http://purl.org/ontology/vamp/value [] )" [dataquay] BasicStore::complete: "( [blank genid4] http://purl.org/ontology/vamp/identifier [] )" [dataquay] BasicStore::complete: "( [blank genid5] http://purl.org/ontology/vamp/parameter [] )" [dataquay] BasicStore::complete: "( [blank genid5] http://purl.org/ontology/vamp/value [] )" [dataquay] BasicStore::complete: "( [blank genid6] http://purl.org/ontology/vamp/identifier [] )" [dataquay] BasicStore::complete: "( [blank genid7] http://purl.org/ontology/vamp/parameter [] )" [dataquay] BasicStore::complete: "( [blank genid7] http://purl.org/ontology/vamp/value [] )" [dataquay] BasicStore::complete: "( [blank genid8] http://purl.org/ontology/vamp/identifier [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/program [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/summary_type [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/step_size [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/block_size [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/window_type [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/sample_rate [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/start [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/duration [] )" [dataquay] BasicStore::complete: "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/plugin_version [] )" RDFTransformFactory: NOTE: Transform is:       NOTE: Transform does not specify a sample rate, using default rate of 44100 ERROR: Failed to load plugin for transform "vamp:qm-vamp-plugins:qm-barbeattracker:" [dataquay] ~World: About to lower refcount from 2 ERROR: Failed to add feature extractor from transform file "/private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459" ERROR: Failed to load plugin for transform "vamp:qm-vamp-plugins:qm-segmenter:segmentation" ERROR: Failed to add default feature extractor for transform "vamp:qm-vamp-plugins:qm-segmenter:segmentation" sonic-annotator: no feature extractors added
Command failed with exit code 1: /Users/.../Downloads/sonic-annotator-1.6-macos/sonic-annotator -t /private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459 -d vamp:qm-vamp-plugins:qm-segmenter:segmentation -w csv /Users/.../Documents/MusicLibrary/File.wav --csv-force
Have audio source: "/Users/.../Documents/MusicLibrary/File.wav"
Decoding File.wav... 1%
Decoding File.wav... 2%
Decoding File.wav... 3%
Decoding File.wav... 4%
Decoding File.wav... 5%
Decoding File.wav... 6%
Decoding File.wav... 7%
Decoding File.wav... 8%
Decoding File.wav... 9%
Decoding File.wav... 10%
Decoding File.wav... 11%
Decoding File.wav... 12%
Decoding File.wav... 13%
Decoding File.wav... 14%
Decoding File.wav... 15%
Decoding File.wav... 16%
Decoding File.wav... 17%
Decoding File.wav... 18%
Decoding File.wav... 19%
Decoding File.wav... 20%
Decoding File.wav... 21%
Decoding File.wav... 22%
Decoding File.wav... 23%
Decoding File.wav... 24%
Decoding File.wav... 25%
Decoding File.wav... 26%
Decoding File.wav... 27%
Decoding File.wav... 28%
Decoding File.wav... 29%
Decoding File.wav... 30%
Decoding File.wav... 31%
Decoding File.wav... 32%
Decoding File.wav... 33%
Decoding File.wav... 34%
Decoding File.wav... 35%
Decoding File.wav... 36%
Decoding File.wav... 37%
Decoding File.wav... 38%
Decoding File.wav... 39%
Decoding File.wav... 40%
Decoding File.wav... 41%
Decoding File.wav... 42%
Decoding File.wav... 43%
Decoding File.wav... 44%
Decoding File.wav... 45%
Decoding File.wav... 46%
Decoding File.wav... 47%
Decoding File.wav... 48%
Decoding File.wav... 49%
Decoding File.wav... 50%
Decoding File.wav... 51%
Decoding File.wav... 52%
Decoding File.wav... 53%
Decoding File.wav... 54%
Decoding File.wav... 55%
Decoding File.wav... 56%
Decoding File.wav... 57%
Decoding File.wav... 58%
Decoding File.wav... 59%
Decoding File.wav... 60%
Decoding File.wav... 61%
Decoding File.wav... 62%
Decoding File.wav... 63%
Decoding File.wav... 64%
Decoding File.wav... 65%
Decoding File.wav... 66%
Decoding File.wav... 67%
Decoding File.wav... 68%
Decoding File.wav... 69%
Decoding File.wav... 70%
Decoding File.wav... 71%
Decoding File.wav... 72%
Decoding File.wav... 73%
Decoding File.wav... 74%
Decoding File.wav... 75%
Decoding File.wav... 76%
Decoding File.wav... 77%
Decoding File.wav... 78%
Decoding File.wav... 79%
Decoding File.wav... 80%
Decoding File.wav... 81%
Decoding File.wav... 82%
Decoding File.wav... 83%
Decoding File.wav... 84%
Decoding File.wav... 85%
Decoding File.wav... 86%
Decoding File.wav... 87%
Decoding File.wav... 88%
Decoding File.wav... 89%
Decoding File.wav... 90%
Decoding File.wav... 91%
Decoding File.wav... 92%
Decoding File.wav... 93%
Decoding File.wav... 94%
Decoding File.wav... 95%
Decoding File.wav... 96%
Decoding File.wav... 97%
Decoding File.wav... 98%
Decoding File.wav... 99%
Decoding File.wav... 100%
Decoding File.wav... Done
File or URL "/Users/.../Documents/MusicLibrary/File.wav" opened successfully
Taking default channel count of 2 from audio file
Taking default sample rate of 44100Hz from audio file
(Note: Default may be overridden by transforms)
[dataquay]  BasicStore::clear
[dataquay]  BasicStoreSord::import:  QUrl("file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459")
[dataquay]  namespace:  "xsd"  ->  "http://www.w3.org/2001/XMLSchema#"
[dataquay]  namespace:  "vamp"  ->  "http://purl.org/ontology/vamp/"
[dataquay]  namespace:  ""  ->  "file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#"
[dataquay]  BasicStore::match:  "( [] http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Transform )"
[dataquay]  BasicStore::match result (size  1 ):
[dataquay]  0 .  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Transform )"
[dataquay]  BasicStore::clear
[dataquay]  BasicStore::match:  "( [] http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Plugin )"
[dataquay]  BasicStore::match result (size  0 ):
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/plugin [] )"
[dataquay]  BasicStoreSord::import:  QUrl("file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459")
[dataquay]  namespace:  "xsd"  ->  "http://www.w3.org/2001/XMLSchema#"
[dataquay]  namespace:  "vamp"  ->  "http://purl.org/ontology/vamp/"
[dataquay]  namespace:  ""  ->  "file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#"
[dataquay]  BasicStore::match:  "( [] http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Plugin )"
[dataquay]  BasicStore::match result (size  1 ):
[dataquay]  0 .  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform_plugin> http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/ontology/vamp/Plugin )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform_plugin> http://purl.org/ontology/vamp/identifier [] )"
[dataquay]  BasicStore::complete:  "( [] http://purl.org/ontology/vamp/available_plugin <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform_plugin> )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform_library> http://purl.org/ontology/vamp/identifier [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/output [] )"
[dataquay]  BasicStore::match:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [] )"
[dataquay]  BasicStore::match result (size  4 ):
[dataquay]  0 .  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [blank genid1] )"
[dataquay]  1 .  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [blank genid3] )"
[dataquay]  2 .  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [blank genid5] )"
[dataquay]  3 .  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/parameter_binding [blank genid7] )"
[dataquay]  BasicStore::complete:  "( [blank genid1] http://purl.org/ontology/vamp/parameter [] )"
[dataquay]  BasicStore::complete:  "( [blank genid1] http://purl.org/ontology/vamp/value [] )"
[dataquay]  BasicStore::complete:  "( [blank genid2] http://purl.org/ontology/vamp/identifier [] )"
[dataquay]  BasicStore::complete:  "( [blank genid3] http://purl.org/ontology/vamp/parameter [] )"
[dataquay]  BasicStore::complete:  "( [blank genid3] http://purl.org/ontology/vamp/value [] )"
[dataquay]  BasicStore::complete:  "( [blank genid4] http://purl.org/ontology/vamp/identifier [] )"
[dataquay]  BasicStore::complete:  "( [blank genid5] http://purl.org/ontology/vamp/parameter [] )"
[dataquay]  BasicStore::complete:  "( [blank genid5] http://purl.org/ontology/vamp/value [] )"
[dataquay]  BasicStore::complete:  "( [blank genid6] http://purl.org/ontology/vamp/identifier [] )"
[dataquay]  BasicStore::complete:  "( [blank genid7] http://purl.org/ontology/vamp/parameter [] )"
[dataquay]  BasicStore::complete:  "( [blank genid7] http://purl.org/ontology/vamp/value [] )"
[dataquay]  BasicStore::complete:  "( [blank genid8] http://purl.org/ontology/vamp/identifier [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/program [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/summary_type [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/step_size [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/block_size [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/window_type [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/sample_rate [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/start [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/duration [] )"
[dataquay]  BasicStore::complete:  "( <file:///private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459#transform> http://purl.org/ontology/vamp/plugin_version [] )"
RDFTransformFactory: NOTE: Transform is:

NOTE: Transform does not specify a sample rate, using default rate of 44100
ERROR: Failed to load plugin for transform "vamp:qm-vamp-plugins:qm-barbeattracker:"
[dataquay]  ~World: About to lower refcount from  2
ERROR: Failed to add feature extractor from transform file "/private/var/folders/rp/j7gp6vy531l71r77wq2j88sr0000gp/T/6cc2007c-ca97-4812-a66c-73d6102cd459"
ERROR: Failed to load plugin for transform "vamp:qm-vamp-plugins:qm-segmenter:segmentation"
ERROR: Failed to add default feature extractor for transform "vamp:qm-vamp-plugins:qm-segmenter:segmentation"
sonic-annotator: no feature extractors added
`

@dinohusejnovic have you found a solution for this?

@dinohusejnovic have you found a solution for this?

No, closed as duplicate as someone else reported as well.

Yes, seems so, but maybe slightly different. Maybe better error information log. I will re open unless we know more.

fixed in https://github.com/s-a/sonic-sound-picture/releases/tag/1.0.10

authors: dinohusejnovic s-a

repo: s-a/sonic-sound-picture


text:
will it work again?

will toofake ever work again or is it gone?

I unfortunately don't really have the time (nor skills) to keep this up :(
Project is always open to contributors!

oh man, so no more toofake? can i ask how come it's not working?

i don't know much about coding or anything but it looks like macedonga's "Beunblurred" project is still working when ran locally. would it be possible to copy whatever it is they're doing to keep the login working and put that into toofake if you get the time to?

repo: s-alad/toofake


text:
fix: number of observations format

Hi Alex,
I am fixing a stupid thing I overlooked in formatting the table. Previously I mistakenly make the number of observations displayed in scientific notation if the number is large.

After the fix, it will be:

Thanks for fixing this Dave!


text:
🛑 Motheo Koffiefontein is down

In 7981fb1, Motheo Koffiefontein ($KOFFIEFONTEIN) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Motheo Koffiefontein is back up in ae41a7f after 32 minutes.


text:
fixed error:output file for fuzzed data

At line 5853 in afl-fuzz.c, the current fuzzed data is stored in the file named cur_input.java This is feasible only if the application being targeted is either a Java compiler or an application capable of accepting Java file types. This causes a crash while Polyglot fuzzer is run to fuzz, say, gcc because gcc only accepts c type files.
In line with the advanced techniques of AFL, it is referred to as cur_input when saving the file intended for the target application. Modifications have been made to this process.

Thanks!

authors: Changochen Yeaseen


text:
The wiki info about installing IBM i prerequisites should be updated

I suggest updating the wiki to reflect the new RPM-based set of deliveries from IBM.
Here is suggested new content for the "Installing IBM i prerequisites" page.
Installing-IBM-i-prerequisites.zip

Here's Jesse's attachment as a diff, in case it helps.   Unfortunately github doesn't support PRs for wikis, but at least git apply is trivial too.
commit d94d7c8778d9c9fe5900dd82eecf692a199e5718
Author: Ken Kuhlman <ken.kuhlman@ftr.com>
Date:   Tue Jun 4 12:32:17 2019 -0500

    Apply Jesse's suggestions for install documentation from issue #4.

diff --git a/Installing-IBM-i-prerequisites.md b/Installing-IBM-i-prerequisites.
md
index 13acd07..0d43f9f 100644
--- a/Installing-IBM-i-prerequisites.md
+++ b/Installing-IBM-i-prerequisites.md
@@ -20,11 +20,8 @@ The build system uses Unix and GNU tools which run inside of
PASE, so PASE must
 https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzalf/rzalfinstall.htm

 ## Install IBM i Open Source Technologies
-IBM provides a licensed product and PTFs that install ported versions of some t
ools used by Bob, such as Bash, rsync, and (optionally) curl.  The installation
process is a little confusing, but in general the 5733-OPS licensed product is i
nstalled first to install product placeholders, and then 5733-OPS PTFs are appli
ed to install the actual content.
+IBM provides the required software in RPM format. See [the open source package
manager documentation on bitbucket](http://ibm.biz/ibmi-rpms) for instructions o
n how to get started.

-IBM provides [information and installation instructions](https://www.ibm.com/de
veloperworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/
page/Open%20Source%20Technologies) for installing 5733-OPS.  It is simplest to f
ollow IBM's recommendation and install all options, even if you don't plan to us
e everything, but at the very least install options 6 and 7.
-
-When installing the 5733-OPS PTFs, also install PTF [SI64092](http://www-01.ibm
.com/support/docview.wss?uid=nas3SI64092), which applies a pertinent fix to the
Bash shell.

 ## Install the OpenSSH daemon
 OpenSSH is an open source implementation of the SSH protocol, and is used by Bo
b to provide a secure connection between PC and IBM i so that source files can b
e transferred and remote commands issued.  From the [OpenSSH website](https://ww
w.openssh.com):
@@ -41,58 +38,28 @@ After installing, start the server:

 ### Make Bash the default shell

-SSH's default shell on the IBM i is the Bourne shell (_see:_ [_IBM PASE for i s
hells and utilities V7R2_](https://www.ibm.com/support/knowledgecenter/en/ssw_ib
m_i_72/rzalf/rzalfpase.htm)).  We recommend changing this to the [Bash](https://
en.wikipedia.org/wiki/Bash_(Unix_shell)) shell, because Bash is more user-friend
ly and feature rich.  To do this, add these lines to the `sshd_config` file:
-
-```shell
-# ibm pase for IBM i shell
-ibmpaseforishell /QOpenSys/QIBM/ProdData/OPS/tools/bin/bash
-```
-
-The location of `sshd_config` varies by OS version.  On V7R2 and higher it is i
n directory `/QOpenSys/QIBM/UserData/SC1/OpenSSH/etc`.  See [this IBM document](
http://www-01.ibm.com/support/docview.wss?uid=nas8N1011555) for details.
-
-The SSH server must be restarted for changes to take effect:
-
-```
-===> ENDTCPSVR SERVER(*SSHD)
-===> STRTCPSVR SERVER(*SSHD)
-```
+SSH's default shell on the IBM i is the Bourne shell (_see:_ [_IBM PASE for i s
hells and utilities V7R2_](https://www.ibm.com/support/knowledgecenter/en/ssw_ib
m_i_72/rzalf/rzalfpase.htm)).  We recommend changing this to the [Bash](https://
en.wikipedia.org/wiki/Bash_(Unix_shell)) shell, because Bash is more user-friend
ly and feature rich. For steps on how to do this, see  [this documentation](http
s://bitbucket.org/ibmi/opensource/src/master/docs/troubleshooting/SETTING_BASH.m
d).

 ### Work around Git certificate verification

-OpenSSH on the IBM i doesn't ship with SSL certificates, which mean that out of
 the box, Git is unable to get repositories via HTTPS.  Either certificates must
 be installed to `/QOpenSys/QIBM/ProdData/SC1/OpenSSL/certs`, which is beyond th
e scope of this document, or Git can be told not to verify certificates:
+OpenSSL on the IBM i doesn't ship with SSL certificates, which mean that out of
 the box, Git is unable to get repositories via HTTPS.  One work around is to te
ll git not to verify certificates:

 ```shell
 git config --global http.sslVerify false
 ```
+Alternatively, if you have access to the Internet from your IBM i system, you c
an use an IBM-provided script that is hosted on GitHub:
+```shell
+curl -k https://gist.githubusercontent.com/kadler/547bb36ddadb9bfec3ff9c16a164a
148/raw/c740a1d425b2006f668467baa77d5ecabb274366/git_ssl_setup.sh | sh
+```

 ## Install GNU tools
-Sed, Gawk, Make, and Grep are required.  As of this writing, the standard IBM v
ersions of these tools lack features, so the GNU versions that Bob uses can be i
nstalled via a script on the [YIPS site](http://yips.idevcloud.com/wiki/index.ph
p/PASE/OpenSourceBinaries#perzl).
-
-Go to the YIPS site, download the `download-2.0.tar.zip` file, and follow the i
nstructions to unzip it, copy the .tar file to the IBM i, expand the tar archive
, and install the list of packages.  The instructions on that site are a little
vague, but there are two updated files (`setup2.sh` and `wwwperzl.sh`) outside o
f the .tar.zip file that should be copied into the `/QOpenSys/download` director
y before running the installer.
-
-Once this is done, and `setup2.sh` has been run, the script can be used to inst
all the GNU tools:
-
-1. Start a shell (`call qp2term` from the i or use `ssh` from PC).
-2. `cd /QOpenSys/download`
-3. Enter `./wwwperzl.sh` to see its help.
-4. Enter `./wwwperzl.sh aix61 list my_package` to see what versions exist of th
e desired package:
-    ```shell
-    $ ./wwwperzl.sh aix61 list gawk
-    gawk-4.0.1-1.aix5.1.ppc.deps
-    gawk-4.0.2-1.aix5.1.ppc.deps
-    ```
-5. `./wwwperzl.sh aix61 wget my_package` to download the package and its depend
encies:
-    ```shell
-    ./wwwperzl.sh aix61 wget gawk-4.0.2-1
-    ```
-6. `./wwwperzl.sh aix61 rpm my_package` to install the package and its dependen
cies:
-    ```shell
-    ./wwwperzl.sh aix61 rpm gawk-4.0.2-1
-    ````
-
-Perform the above steps to install Gawk, Grep, Sed, and Make.  We have been una
ble to get the 64 bit version of Make (`Make_64`) to work, but the 32 bit versio
n runs perfectly.
-
-_Note:_ IBM has accepted our request to provide native ports of these tools, so
 this installation step will soon become much easier.  For the time being, howev
er, the Perzl packages are the best way to get GNU tools working on the i.
+Sed, Gawk, Make, and Grep are required.  As of this writing, the standard IBM v
ersions of these tools lack features, so the GNU versions are required. Now that
 these are provided in RPM form, it is quite simple to install them. Once you ha
ve [the open source environment](http://ibm.biz/ibmi-rpms) set up, install the f
ollowing packages:
+- `make-gnu`
+- `sed-gnu`
+- `gawk`
+- `grep-gnu`
+- `git`
+- `openssl`

 ## Set the system path
 The IBM open source and GNU tools have now been installed into directories in t
he IFS, so those directories need to be added to the shell's path so that the to
ols can be found.  The method to do this varies depending on the shell in use (I
BM i offers Bourne, Korn, and Bash shells).  Following are instructions to set t
he path in `/QOpenSys/etc/profile`, which gets loaded for all users by the Korn
and Bash shells.  Adjust as necessary to work with your default shell.
@@ -103,12 +70,8 @@ The IBM open source and GNU tools have now been installed in
to directories in th
     ```
 2. Copy the following into `/QOpenSys/etc/profile` (using Unix EOL linefeeds, n
ot Windows' CRLF):
     ```shell
-    # Stop PASE core dumps
-    PASE_SYSCALL_NOSIGILL=ALL:quotactl=EPERM:audit=0
-    export PASE_SYSCALL_NOSIGILL
-
     # Set path to find IBM open source ports as well as Perzl AIX binaries
-    PATH="/QOpenSys/QIBM/ProdData/OPS/tools/bin:/opt/freeware/bin:${PATH}"
+    PATH="/QOpenSys/pkgs/bin:${PATH}"
     export PATH

Closing, since this repo is ultimately superceded by https://github.com/ibm/ibmi-bob

authors: ThePrez kskuhlman


text:
Is there any way to cut process and save images?

When I kill process (control + C) I lose all rendered frames.

There isn't.


text:
Missing contract description properties

This broke during one of the recent commits:
When compiling a contract to contract_desc.json and then loading the file and passing the object to buildContractClass, desc2CompileResult throws an error because it expects a sources property.

sources property will auto gen when re compile the contract

Got it. The issue was that I didn't have the lastest VSCode extension.

you can upgrade to 0.4.13 , which have nice new feature.

Getting yet another error when loading from file:
Error: abi constructor params mismatch with args provided. This doesn't happen when the output from compileContract is used.
I have rechecked that I have the most recent version everywhere.

I think the issue is that the compiler extracts the asm out of the sourceMap property (which is empty in the generated file) and ignores the asm property in the generated file: https://github.com/sCrypt-Inc/scryptlib/blob/af2801be18a187525248d7a3173cdca49363f02e/src/compilerWrapper.ts#L518

OK, i will fix it soon.

I think the issue is that the compiler extracts the asm out of the sourceMap property (which is empty in the generated file) and ignores the asm property in the generated file:
https://github.com/sCrypt-Inc/scryptlib/blob/af2801be18a187525248d7a3173cdca49363f02e/src/compilerWrapper.ts#L518
This leads to asm being empty in the loaded contract.

the bug has been fix at pr https://github.com/sCrypt-Inc/scryptlib/pull/54
you update your boilerplate to bump scryptlib to versoin 0.2.25

Thank you! Works fine.

authors: MerlinB zhfnjust

repo: sCrypt-Inc/scryptlib


text:
Error at compiling solana-contrib

I'm getting the error below while trying to build a project that has anchor-contrib as a dependency.  Any ideas?
node_modules/@saberhq/solana-contrib/dist/cjs/transaction/PendingTransaction.d.ts:7:49 - error TS2312: An interface can only extend an object type or intersection of object types with statically known members.

7 export interface TransactionWaitOptions extends OperationOptions {
                                                  ~~~~~~~~~~~~~~~~

Found 1 error in node_modules/@saberhq/solana-contrib/dist/cjs/transaction/PendingTransaction.d.ts:7

Feels like it is because OperationOptions is defined this way:
export type OperationOptions = WrapOptions | number[];

So it may not be extensible by TransactionWaitOptions because of number[] - but this is a casual lay opinion.

Yeah this was fixed. you may need to refresh your yarn.lock

Thanks @macalinao, closing this

authors: macalinao moshthepitt

repo: saber-hq/saber-common


text:
UB inside dependency lockfree 0.5.1 will cause panic in new versions of rust

Hello! I'm coming to this crate from https://github.com/rust-lang/rust/pull/99389 where we're making the checks stricter for uninitialized data, and this crate fails under those checks, due to the lockfree dependency.
It has already been reported, with no response. Best bet would be to either replace it or fork it.

Hey! Thanks for the heads up. Let me consider the options and revisit this.

repo: sachanganesh/eventador-rs


text:
複数のデフォルト値対応

coreの--addrやinputsの--destなどで複数のデフォルト値を利用したい。
例えばinputsの--destの場合、現在はunix:autoscaler.sockがデフォルトとなっている。
これを修正し、--destが未指定の場合は

unix:autoscaler.sock
unix:/var/run/autoscaler/autoscaler.sock

などを順番に探し最初に見つかった利用可能な値を使うという挙動にしたい。

coreについては対応せずinputsだけ対応する。

repo: sacloud/autoscaler


text:
🛑 PEAKE CW Control is down

In 62b3e87, PEAKE CW Control (https://help.peakesupport.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PEAKE CW Control is back up in bb5b8ab.


text:
🛑 PEAKE CW Control is down

In dcbf828, PEAKE CW Control (https://help.peakesupport.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PEAKE CW Control is back up in 1288dd4.


text:
[safe-apps-wagmi] Support wagmi 0.8.x

I see the version range is "@wagmi/core": ">= 0.3.8 < 0.8.0" (explicitly upper bounded) but wagmi has been on 0.8.x for about a month. A notable change is that it's pure ESM now https://github.com/wagmi-dev/wagmi/pull/1173 so it might not be a trivial change.
Have you guys already looked into this?  I noticed that @mikhailxyz created a branch for 0.8.x but deleted it.

this pr was wrongfully closed: https://github.com/safe-global/safe-apps-sdk/issues/395

+1 on this one.

1 too, would be great to have this supported!

I have created this pr to support up to wagmi 10.10: https://github.com/safe-global/safe-apps-sdk/pull/441
I have tested this approach and would be happy to show how exactly I was able to resolve the issue

I see that it got updated but it doesn't seem quite right to me. wagmi moved to pure ESM modules while this package is still outputting CommonJS format with require's.
https://github.com/wagmi-dev/wagmi/blob/main/packages/core/package.json

@kasparkallas why would wagmi's module system influence the module system we use? I'm not getting it. It's a library not a bundler

@gnosis.pm/safe-apps-wagmi@2.1.0 now supports wagmi 0.8.x

@kasparkallas why would wagmi's module system influence the module system we use? I'm not getting it. It's a library not a bundler

Good question, I'm not an expert on the matter, I'm trying to figure it out.
I'm using Next.js and running into this on next build:
Collecting page data .Error [ERR_REQUIRE_ESM]: require() of ES Module /my-dapp/node_modules/@wagmi/core/dist/index.js from /my-dapp/node_modules/@gnosis.pm/safe-apps-wagmi/dist/index.js not supported.
Instead change the require of /my-dapp/node_modules/@wagmi/core/dist/index.js in /my-dapp/node_modules/@gnosis.pm/safe-apps-wagmi/dist/index.js to a dynamic import() which is available in all CommonJS modules.

next build does pre-rendering while running in Node runtime without any bundling (I think). It gets to @gnosis.pm/safe-apps-wagmi which tries to load a ES module with requirestatement.
But this is what the Node docs state (https://nodejs.org/api/esm.html#interoperability-with-commonjs):

Messing around with next.config.js, trying to transpile @gnosis.pm/safe-apps-wagmi and using experimental.esmExternals: 'loose', I run into the same error in another shape:
Module not found: ESM packages (@wagmi/core) need to be imported. Use 'import' to reference the package instead. https://nextjs.org/docs/messages/import-esm-externals

I could probably theoretically work around this by using Next.js' dynamic import for @gnosis.pm/safe-apps-wagmi but the problem with this is that wagmi & @rainbow-me/rainbowkit wrap the whole React component tree and are set up synchronously with the connectors.
I know this is an annoying matter. Maybe @tmm can give us pointers? :pray:

@kasparkallas thanks for the explanation. good news - Safe connector will be included in wagmi's references repo and will be distributed alongside other wagmi connectors

Just a small follow-up that using the Safe connector from wagmi's references repo worked without any problems! :pray:

authors: bannik cruzdanilo kasparkallas mihoward21 mikhailxyz mwawrusch

repo: safe-global/safe-apps-sdk


text:
Fix @typescript-eslint/no-base-to-string instances

Summary
When updating to ESLint 9, some rules had to be ignored as their recommendations changed. Of which, was the @typescript-eslint/no-base-to-string rule.
This removes instances of where values that can't be stringified are being stringified.
Changes

Enable @typescript-eslint/no-base-to-string ESLint rule
Stringify addresses, not objects of signers in:

routes/email/guards/email-edit.guard.spec.ts
routes/email/guards/email-retrieval.guard.spec.ts

Pull Request Test Coverage Report for Build 8847493600
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 91.871%

Totals

Change from base Build 8847215532:
-0.01%

Covered Lines:
6890

Relevant Lines:
7233

💛  - Coveralls

authors: coveralls iamacook

repo: safe-global/safe-client-gateway


text:
Redis: Max Number of Clients Reached

Describe the bug

We are facing a Redis: Max Number of Clients Reached on the web instance of the transaction service
Multiple endpoints seem to be affected (all-transactions, balances)
Workers seem to be ok

Expected behavior
No issues
Proposed solution

Add limit for the Redis Connection Pool and switch to BlockingConnectionPool: https://redis-py.readthedocs.io/en/stable/connections.html#connection-pools
Add timeout for connections on the server and add health-check: https://github.com/redis/redis-py#connections . I don't think this will work.
Increase number of connections on the server

Additional context
Last 8 hours

Last week

We are going to increment redis maxclients and check how it works

@luarx @moisses89 @fmrsabino Do you think we can close this for now?

repo: safe-global/safe-transaction-service


text:
Некорректно отрабатывает multiple: false

Если указать  multiple: false , то возникает ошибка в случае попытки повторной загрузки одиночного файла потому что срабатывает условие:
if ($this._duItemsCount === set.limit) {
$this.trigger(limitEvent);
return false;
}
Соответственно  гасится возможность повторного аплоада одиночного файла.
Пофиксил у себя так:
if (set.limit > 1 && $this._duItemsCount === set.limit) {

Спс за репорт. Оформите пулл-реквест?

Не удалось воспроизвести описанный баг: ставлю в демке параметры {multiple: false, limit: 1} - и все работает как и должно. Так что тут либо что-то настроено не верно у Вас, либо необходимо точнее описать кейс.

authors: safronizator shulya

repo: safronizator/damnUploader


text:
JOLL-47: Frontend: Medical record list data

@kkinggmann @SalamanderHP  review t

@SalamanderHP  @kkinggmann  updated


text:
LanguageClient-neovim+bingo不能显示错误信息

补全跳转等特性都是非常正常的，但是不能显示错误信息，请问是我哪里配置有问题吗？谢谢

在vscode中是可以的，显示使用golint

@hujianxin
你发这个的配置不全。看上去，是否只有保存时候才会显示错误信息。

不好意思，发的图里面不小心粘贴上没用的东西了

这个样子也是不行的

langserver-go: reading on stdin, writing on stdout
--> request #1: initialize: {"capabilities":{"textDocument":{"colorProvider":null,"completion":{"completionItem":{"snippetSupport":false}},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}}},"workspace":{"applyEdit":true,"didChangeWatchedFiles":{"dynamicRegistration":true}}},"processId":5170,"rootPath":"/Users/hujianxin/Tmp/testgo","rootUri":"file:///Users/hujianxin/Tmp/testgo","trace":"off"}
Passing an initialize rootPath URI ("file:///Users/hujianxin/Tmp/testgo") is deprecated. Use rootUri instead.
<-- notif: window/logMessage: {"type":3,"message":"GOPATH: [/Users/hujianxin/go], import path: "}
<-- notif: window/logMessage: {"type":3,"message":"GO111MODULE=auto, module mode"}
<-- notif: window/logMessage: {"type":3,"message":"/Users/hujianxin/Tmp/testgo/go.mod"}
<-- notif: window/showMessage: {"type":3,"message":"load /Users/hujianxin/Tmp/testgo successfully! elapsed time: 0 seconds, cache: true, go module: true."}
<-- result #1: initialize: {"capabilities":{"textDocumentSync":2,"hoverProvider":true,"completionProvider":{"triggerCharacters":["."]},"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"referencesProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"implementationProvider":true,"documentFormattingProvider":true,"documentRangeFormattingProvider":true,"renameProvider":true,"xworkspaceReferencesProvider":true,"xdefinitionProvider":true,"xworkspaceSymbolByProperties":true}}
--> notif: initialized: {}
--> notif: textDocument/didOpen: {"textDocument":{"languageId":"go","text":"package main\n\nimport \"fmt\"\n\nfunc hello() {\n\tfmt.Println(\"hello\")\n}\n\nfunc main() {\n    a := 1\n\tfmt.Println(\"hello\")\n}\n","uri":"file:///Users/hujianxin/Tmp/testgo/test.go","version":0}}
--> notif: textDocument/didSave: {"textDocument":{"uri":"file:///Users/hujianxin/Tmp/testgo/test.go"}}
--> notif: textDocument/didSave: {"textDocument":{"uri":"file:///Users/hujianxin/Tmp/testgo/test.go"}}
--> notif: textDocument/didSave: {"textDocument":{"uri":"file:///Users/hujianxin/Tmp/testgo/test.go"}}
--> notif: exit: null

这个是log日志

不好意思，发的图里面不小心粘贴上没用的东西了,这个样子也是不行的

我其余的配置不懂，将LanguageServer换成gopls，再打开go文件，就可以lint了。
同时，编写python也是可以lint的。
所以，感觉可能是bingo与client之间的通信有问题？

我也遇到一样的问题: https://github.com/neoclide/coc.nvim/issues/570

bingo应该是能正确正常返回错误信息的，这个可以设置一下--trace flag，然后看一下bingo的返回结果。
目前vscode/coc.nvim处理都是正常的。vscode处理是最好的，但每个客户端处理的机制都不一样。所以我个人感觉这是客服端处理机制导致的。

authors: hujianxin jackielii saibing

repo: saibing/bingo


text:
Wrongly Wriiten formula of CSA and TSA of hollow sphere

I would like to correct the formula.It should not be Internal surface area or external surface area,
In that column corresponding formula for CSA and TSA shoul be written

@sairish2001 Please assign it to me.I would like to work on it

Go ahead
Deadline 30 March,2021 (11:59 PM IST)


text:
Documentation URL

https://strangedocs.hostz.me/ is not loading for the Documentation

Yes, the CNAME User is cross banned... but idk what that means. Can some1 fix that?

@saiteja-madha ig u misconfigured the cloudflare settings, do fix it.

Done. It should be up now 🆙

repo: saiteja-madha/discord-js-bot


text:
S2U-24 Tests & Quizzes: Event Log - Several fixes

Fixes:

Only English bundle being used for export
Spanish bundle is Catalan, Catalan bundle is English
UTF-8 encoding not specified in HTTP header for export
Errors header not present in export
IP Address column not present in export
Datatables column configuration for IP Address column not defined

https://sakaiproject.atlassian.net/browse/S2U-24

Nice and clean!

authors: mpellicer stetsche

repo: sakaiproject/sakai


text:
SAK-50134 Portal theme property for auto detecting dark mode should match documentation

…tches with documentation

Do I understand you correctly, that you feel to change the comment in sakai.properties instead to
Enable/disable the OS dark theme auto-detect mode
DEFAULT: true

Yes  many applications these days follow the user's os setting when it comes to dark mode.

authors: ern jkjanetschek


text:
undefined reference to symbol '_ZN3MPI8Datatype4FreeEv' build error

I'm taking the following error when I write "make" to command window.
Do you have any suggestion for that?
/usr/bin/ld: CMakeFiles/FpsCpu.dir/src/hdf5.cpp.o: undefined reference to symbol '_ZN3MPI8Datatype4FreeEv'
//usr/lib/x86_64-linux-gnu/libmpi_cxx.so.20: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/FpsCpu.dir/build.make:409: recipe for target 'FpsCpu' failed
make[2]: *** [FpsCpu] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/FpsCpu.dir/all' failed
make[1]: *** [CMakeFiles/FpsCpu.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Hi sefa,
Could you please include the details of your environment, please?
(Distro, version numbers of G++, CMake, and HDF5)
Does the cmake script execute without any warnings and issues?

I am closing this for now, please feel free to re-open it if your issue still persists.

authors: salehjg sefakurtipek

repo: salehjg/MeshToPointcloudFPS


text:
How to Finetune BLIP2 Captioning Model on custom dataset?

I'm looking for any resource that will get me the closest to try this. I've had poor luck finding a notebook and/or tutorial on how to finetune the BLIP2 captioning model, so I thought this was the place to ask.

me too

Hello,
I am currently working on a project that requires fine-tuning BLIP2 image caption with a custom dataset. Based on my interpretation of the documentation, the process involves modifying the captation_builder.py and coco_captation_dataset.py files to include any special conditions for the new dataset. Following this, we can add different transformations to the vis_processor, especially the blip_processor. Finally, we need to adapt our dataset to conform to the standard Coco caption format, or at least that is my current understanding.
Since I just started reading and understanding the documentation for this custom training project, I would appreciate it if a LAVIS developer could confirm or correct any mistakes in my assumptions. Thank you.

@GMBarra Your understanding is correct. Either you can adapt your dataset format, or you create a new dataset builder and dataset class, do which one fits best.

Does finetuning BLIP-2 require the frozen vision model and language model to be on the same GPU has the Q-former?

你好，
我目前正在开发一个项目，需要使用自定义数据集微调 BLIP2 图像标题。根据我对文档的解释，该过程涉及修改captation_builder.py和coco_captation_dataset.py文件以包含新数据集的任何特殊条件。接下来，我们可以向 vis_processor 添加不同的转换，尤其是blip_processor。最后，我们需要调整我们的数据集以符合标准的 Coco 字幕格式，或者至少这是我目前的理解。
由于我刚刚开始阅读和理解这个自定义培训项目的文档，如果 LAVIS 开发人员能够确认或纠正我的假设中的任何错误，我将不胜感激。谢谢。

Hello!
May I ask if I also want to use BLIP2 for caption operations? How can I achieve this? In the future, Eternal Island's own dataset is also needed for fine-tuning. How can we achieve this?
I need your help, thank you!

我正在寻找任何能让我最接近尝试这个的资源。我很不幸地找到了关于如何微调 BLIP2 字幕模型的笔记本和/或教程，所以我认为这是提问的地方。

请问 BLIP2的微调您成功了吗？我希望能在您这获得一些帮助

repo: salesforce/LAVIS


text:
Vertical Navigation: Missing icon and notification

Currently the Vertical Navigation is missing

Items with icons
Items with notifications

from the SLDS design.
I'm proposing adding two optional fields, similar to how Badge is done, in the Item object to define an Icon and a Badge for notifications. For example:
[
  {
    id: 'store',
    label: 'Store',
    items: [
      {
        id: 'credit_store',
        label: 'credit',
        url: 'store/credit',
        icon: <Icon category="utility" name="moneybag" size="xx-small" />,
        notification: <Badge id="badge-base-example" content="423 Credits Available" />,
      },
      { id: 'transactions_store', label: 'Transactions', url: 'store/transactions' },
    ],
  }
];

I realised there is some inconsistency in the way that icons are done for other components when I started to implement this.
For badges the prop is a component:
<Badge
	id="badge-base-example-light"
	color="light"
	content="423 Credits Available"
	icon={<Icon category="utility" name="moneybag" size="xx-small" />}
/>

and for buttons it's passed as the props of the icon with icon as a prefix:
<Button
	assistiveText={{ icon: 'Icon Bare Small' }}
	iconCategory="utility"
	iconName="settings"
	iconSize="small"
	iconVariant="bare"
	onClick={() => {
		console.log('Icon Bare Clicked');
	}}
	variant="icon"
/>

@interactivellama which of these approaches is the current preferred way?

Good question! In short, the Badge way is preferred since it limits "duplicate" props.
See https://github.com/salesforce/design-system-react/blob/master/docs/codebase-overview.md#reuse-existing-component-props-by-using-component-no-button-iconclassname-

Also, thanks for wanting to contribute. I like the proposal. What do you think about notificationBadge instead of notification so that consumers already know what to pass in?

Thanks for the feedback. Yes, notificationBadge seems to make more sense to make it clear what it does.

I've opened an MR for this change. I struggled to get the typings correct and ended up using any which isn't ideal. If you have some suggestion to get that right then I'll change it.

@interactivellama is there any further changes needed on the PR?

@gnzzz Thanks for the ping! PR is merged now.

authors: gnzzz interactivellama

repo: salesforce/design-system-react


text:
Do context switching for only root POs

This is applicable for only mobile webviews. As per the current implementation, context is switched to webview for all web page objects implicitly when bootsrapped. This involves multiple commands to get available contexts, switch to webview context and validate the title.
For child page objects, since the context is already set via root, this is an overhead. This change does a root PO check thereby avoiding repeated context switch and improves the speed of the mobile tests involving webviews.

@lizaiv77 @helenren Please review

@rajukamal is there same change in JS coming? pls submit parallel PR and reference here

@rajukamal @helenren let's wait for JS PR, then I'll approve this one

repo: salesforce/utam-java