use the recommended Quarkus approach of access modifiers

Otherwise this was printing the following warnings
2020-09-14 10:05:20,029 INFO  [io.qua.arc.pro.BeanProcessor] (build-7) Found unrecommended usage of private members (use package-private instead) in application beans:
	- @Inject field io.graphqlcrud.app.GraphQLResource#datasource,
	- @Inject field io.graphqlcrud.app.GraphQLResource#dbSchemaName,
	- @Inject field io.graphqlcrud.app.GraphQLResource#dialect

since injection point with private access modifier is not recommended. We can change the access modifier to package private or if use constructor injection (my preference).

I also think that:
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L52
could be initialised using something like StartupEvent, as opposed to
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L66
which calls
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L90-L99
as two concurrent event may result in calling schema initialization twice. This is okay for a sample app though.

I also think that:
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L52
could be initialised using something like StartupEvent, as opposed to
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L66
which calls
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L90-L99
as two concurrent event may result in calling schema initialization twice. This is okay for a sample app though.

I wasn't aware of StartupEvent in Quarkus.
That looks nice :)

I also think that:
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L52
could be initialised using something like StartupEvent, as opposed to
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L66
which calls
https://github.com/graphqlcrud/graphqlcrud-java/blob/7c4484edb4932bfccda10ae8fd2716f891a087ff/app/src/main/java/io/graphqlcrud/app/GraphQLResource.java#L90-L99
as two concurrent event may result in calling schema initialization twice. This is okay for a sample app though.

I wasn't aware of StartupEvent in Quarkus.
That looks nice :)

:-) Yeap. I won't do it here as it's less important and the app is perfectly fine for testing. Good job.

@machi1990 I suggest go ahead and change to the startup event, as many would reuse the code or use this as a template.

Thank you @machi1990


New unit test to device model

Description
Added a new unit test case to cover ErrDeviceExists error throw when check if is possible to add a device object that UUId already exist on database.
This test need some specific pre-set (include the UUId) on database, so could not be added on cases structure, so a new method was added to cover this code needs.
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[X] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[ ] I run make pre-commit to check fmt/vet/lint/test-no-fdo

Codecov Report
Base: 47.06% // Head: 47.02% // Decreases project coverage by -0.03% :warning:

Coverage data is based on head (dc831d5) compared to base (f9922ca).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1801      +/-   ##
==========================================
- Coverage   47.06%   47.02%   -0.04%
==========================================
  Files          70       70
  Lines        9827     9818       -9
==========================================
- Hits         4625     4617       -8
+ Misses       4749     4748       -1
  Partials      453      453

Impacted Files
Coverage Δ

pkg/services/imagesets.go
52.07% <0.00%> (-0.84%)
:arrow_down:

pkg/common/kafka/producer.go
64.70% <0.00%> (-0.68%)
:arrow_down:

pkg/services/devices.go
50.10% <0.00%> (-0.33%)
:arrow_down:

pkg/routes/imagesets.go
63.67% <0.00%> (-0.15%)
:arrow_down:

pkg/models/devices.go
100.00% <0.00%> (+33.33%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@Mergifyio refresh


Change single node pool bullet about windows known issue

Change this bullet: "For the public preview, no more than one node pool can be created per AKS cluster. Windows clusters are limited to a single node pool, no Linux pool can be added."
To: "For the public preview, no more than one node pool can be created per AKS cluster. Windows clusters are limited to a single node pool, no Linux pool can be added. This means that only Windows containers can be deployed to this clusters, no Linux containers can be deployed. For example, a Linux based Ingress Controller will not work in Windows clusters."

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

ID: aa2fa482-ee43-99ca-38bf-cdfc180efdb3
Version Independent ID: 159e5062-cb29-8f90-6b2e-1240791b2f76
Content: Known issues for the Azure Kubernetes Service on Azure Stack Hub - Azure Stack Hub
Content Source: azure-stack/user/aks-known-issues.md
Service: azure-stack
Sub-service: azure-stack-hub
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

#in-progress

@walterov ... thanks! caught a few other small things.


not work on my mac

mac: 11.5.2   not trigger preinstall

The fact that preinstall isn't triggered isn't coming from that package. Refer to the package manager you are using.

Guess due to https://github.com/npm/cli/issues/2660


Automate KOReader Updates

I wrote the script below to push KOReader updates. It uses github cli gh and assumes the GNU implementations of date, awk, and sed. It has worked well enough for the past 3 releases. However, there must be a more robust/elegant solution from the Toltec maintainer's point of view.

Would it be possible to run this in github actions on a schedule?

Related to #59

As you can see from the issue I linked above, this has been on our backlog for a while! So, thanks a lot for reviving this. I’ll try to abstract some of the ideas of your script to see how we could apply it to other packages. From your script, we can see that there are 3 key steps on which we can work:

version=$(curl -so - https://ota.koreader.rocks/koreader-remarkable-latest-stable.zsync | awk -F '[v.]' 'NR==2 {print $2"."$3}')

1. Fetching the latest upstream version. From what I understand, here you’re using the endpoint that’s used by KOReader itself to fetch auto-updates. I don’t expect most packages to have such a feed available, but we could also watch Git tags, GitHub releases, or RSS feeds provided by the maintainers. In the linked issue, I mentioned nvchecker which can work with a wide variety of possible sources for new version information.
There is also a missing step in your script: comparing the latest upstream version with the version of our package, to decide whether there is actually a new version available. This may be trivial if we kept exactly the same version format as upstream in our pkgver. We should reuse our version parser to extract the upstream component of the package version.

wget -q --show-progress "https://build.koreader.rocks/download/stable/v$version/koreader-remarkable-v$version.zip"
time_stamp=$(date -u -r koreader-remarkable-v$version.zip +%Y-%m-%dT%H:%M:%SZ)
checksum=$(sha256sum koreader-remarkable-v$version.zip | awk '{print $1}')

2. Fetching updated source checksums. We can generalize this to simply iterate over the sources=() array of the package recipe. But what if the source package is corrupted during this wget call? A wrong checksum would then get recorded in the recipe. Can we protect against this?

sed -i -e "s/pkgver=.*/pkgver=$version-1/" -e "s/timestamp=.*/timestamp=$time_stamp/" -e "s/[a-z0-9]\{64\}/$checksum/" ./package/koreader/package
git diff --unified=0
git add .
git commit -m "Update KOReader to $version"

3. Updating the recipe fields. Well… sed works. Not sure if we can do any better here.

to see how we could apply it to other packages

That is a much more ambitious task!  No other packages depend on it. Worst case scenario we push a bad release and KOReader crashes, users go back to xochitl or their launcher of choice. I would be more aprehensive about automating the updates for key packages such as the framebuffer, display, etc.

There is also a missing step in your script: comparing the latest upstream version with the version of our package, to decide whether there is actually a new version available.

I actually had that step, but removed it. I learn about KOReader updates when I use their OTA updater, which then prompts me to run my script for Toltec every month or so. I do agree that it needs to be present if this is to be scheduled by maintainers:
[[ $version = $(curl -so - https://raw.githubusercontent.com/toltec-dev/toltec/testing/package/koreader/package | grep "pkgver=" | awk -F '[=-]' '{print $2}') ]] && echo 'Toltec is already up to date' && exit

I think it would be worth implementing a scheduled action just for KOReader first, and then look at making it more generic later. I don't think any of us maintainers currently have time to do this, but we'd be happy to accept a PR to implement this @gbyl if you'd be willing to create one.

@gbyl would you be willing to open a PR to add this?

@gbyl did you ever have a chance to look into this?

Unfortunately, I could never find the time to look into this. I ultimately settled for pinning the version (opkg flag hold koreader) and managing future updates directly from KOReader. Do you think it would be best to close this issue and take off the Toltec backlog?

I think it's still worth having on the backlog. I do want to make sure you are aware that doing what you are doing isn't supported by toltec and could have unintended side effects. I would much prefer that you opened PRs to update KOReader so that we can get it through to stable faster. Ideally, we only lag behind by at most a week, depending on when during the week the PR gets merged into testing.


Using Python from Rust - Basic example in README fails

Bug Description
Trying to run the first basic example in the section Using Python from Rust
https://github.com/PyO3/pyo3?tab=readme-ov-file#using-python-from-rust fails.
Steps to Reproduce
Do what the README says here https://github.com/PyO3/pyo3?tab=readme-ov-file#using-python-from-rust

cargo new
add pyo3 0.22.2 to Cargo.toml
paste the basic example
cargo run

Backtrace
cargo run
   Compiling once_cell v1.19.0
   Compiling unindent v0.2.3
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.158
   Compiling pyo3-build-config v0.22.2
   Compiling memoffset v0.9.1
   Compiling pyo3-ffi v0.22.2
   Compiling pyo3-macros-backend v0.22.2
   Compiling pyo3 v0.22.2
   Compiling pyo3-macros v0.22.2
   Compiling pyo3-test v0.1.0 (/private/var/folders/pz/23v9mn0s78scfwbxw1sb5zqc0000gn/T/tmp.yGGe8i4W4l/pyo3-test)
warning: unused import: `pyo3::types::IntoPyDict`
 --> src/main.rs:3:5
  |
3 | use pyo3::types::IntoPyDict;
  |     ^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error[E0599]: no method named `import` found for struct `pyo3::Python` in the current scope
 --> src/main.rs:7:22
  |
7 |         let sys = py.import("sys")?;
  |                      ^^^^^^
  |
help: there is a method `import_bound` with a similar name
  |
7 |         let sys = py.import_bound("sys")?;
  |                      ~~~~~~~~~~~~

error[E0599]: no method named `import` found for struct `pyo3::Python` in the current scope
  --> src/main.rs:10:33
   |
10 |         let locals = [("os", py.import("os")?)].into_py_dict(py);
   |                                 ^^^^^^
   |
help: there is a method `import_bound` with a similar name
   |
10 |         let locals = [("os", py.import_bound("os")?)].into_py_dict(py);
   |                                 ~~~~~~~~~~~~

error[E0599]: no method named `eval` found for struct `pyo3::Python` in the current scope
  --> src/main.rs:12:31
   |
12 |         let user: String = py.eval(code, None, Some(&locals))?.extract()?;
   |                               ^^^^ method not found in `Python<'_>`

For more information about this error, try `rustc --explain E0599`.
warning: `pyo3-test` (bin "pyo3-test") generated 1 warning
error: could not compile `pyo3-test` (bin "pyo3-test") due to 3 previous errors; 1 warning emitted

Your operating system and version
MacOS 14.6.1
Your Python version (python --version)
Python 3.11.8
Your Rust version (rustc --version)
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
Your PyO3 version
0.22.2
How did you install python? Did you use a virtualenv?
pyenv
Additional Info
Maybe I'm missing something obvious here, but I would love to get this simple example to work.

Note that the README in this repo reflects the main branch not the released version 0.22.2 you were using.
Please refer to https://pyo3.rs/ for user guide of released versions.

@messense Thanks for your quick answer.

Note that the README in this repo reflects the main branch not the released version 0.22.2 you were using.

I used version 0.22.2 because that's what the README told me to use. If that's incorrect, maybe the README could actually point to the main branch via git: or something similar?

Please refer to https://pyo3.rs/ for user guide of released versions.

I tried this example and it works beautifully. Thanks!


Select audio output device

So we're not doing this exactly, instead we're offering a button in sound settings that'll reset your audio.  If you change audio devices mid-game, you use this button to get Overload to "take".


feat: new HNSW implementation

this includes many optimizations & refactors

prefetch for neighbors
faster distance calculation
merge HNSW builder & index types

Codecov Report
Attention: Patch coverage is 86.26543% with 89 lines in your changes are missing coverage. Please review.

Project coverage is 80.77%. Comparing base (ca56bb8) to head (8d328c8).
Report is 1 commits behind head on main.

Files
Patch %
Lines

rust/lance-index/src/vector/hnsw/builder.rs
87.55%
30 Missing and 25 partials :warning:

rust/lance-index/src/vector/graph.rs
85.00%
11 Missing and 1 partial :warning:

rust/lance-index/src/vector/sq/storage.rs
72.97%
10 Missing :warning:

rust/lance/src/index/vector/hnsw.rs
67.85%
5 Missing and 4 partials :warning:

rust/lance/src/index/vector/ivf.rs
33.33%
0 Missing and 2 partials :warning:

rust/lance-index/src/vector/hnsw.rs
75.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2353   +/-   ##
=======================================
  Coverage   80.76%   80.77%
=======================================
  Files         192      192
  Lines       56335    56349   +14
  Branches    56335    56349   +14
=======================================
+ Hits        45501    45514   +13
- Misses       8173     8192   +19
+ Partials     2661     2643   -18

Flag
Coverage Δ

unittests
80.77% <86.26%> (+<0.01%)
:arrow_up:

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

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


[feat]  test account valid signature

Test is_valid_signature() works as expected (valid returns true, anything else returns false (check 0 hash and empty sigs as well))
References

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a web3 developer, I have expertise in smart contracts, decentralized technologies, and frameworks like React. I can build innovative dApps, contribute to open-source projects, educate others, and network with industry leaders to advance my career in the decentralized space.
How I plan on tackling this issue
I will create test cases for the is_valid_signature() function to verify it returns true for valid signatures and false for invalid ones, including tests for a 0 hash, an empty signature, and other malformed inputs. Additionally, test edge cases to ensure robustness. Run all tests to confirm expected behavior.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a frontend and blockchain ,My experience in blockchain development and testing will help me cover a wide range of scenarios to ensure the function behaves correctly in all possible edge cases.
How I plan on tackling this issue
To solve the issue of testing is_valid_signature(), I would first create a series of test cases where the function is called with valid and invalid signatures. For valid cases, I would generate a correct signature and ensure that the function returns true. For invalid cases, I would test edge scenarios like zero hashes, empty signatures, and incorrect signatures to verify that the function returns false in each case.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a smart contract developer
How I plan on tackling this issue
I would approach by:

Testing that a valid signature for a corresponding hash returns true

Testing  that an invalid signature for a given hash returns false

Testing  that passing an empty signature returns false

Testing  that passing a zero hash with a valid signature returns false

Testing  that passing both a zero hash and an empty signature returns false

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
hello @ i'm an experienced frontend developer and a blockchain developer  i would love to work on this issue
Pleasee kindly assign :)

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello I'm a front-end and blockchain developer and I will love to work on this. Kindly assign please

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello I'm a frontend and blockchain developer. I will love to work on this issue. please assign

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a kotlin dev. A new-comer here, willing and ready to contribute to contribute to solve the issue.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello, my name is Daniel Calderon, I'm a software engineer with over 3 years of experience, as a web3 developer I have experience in Starknet and Cairo, I'm part of the Dojo Coding Community and I Have been contributing through OnlyDust a lot recently. I have good experience with unit testing in Cairo, recently I was working on unit testing for Dojo Contracts, on the development of an on chain game.
How I plan on tackling this issue
To solve this issue I will use the most I can from snforge_std package and use the most cheat codes and tools starknet foundry provides for testing to implement the unit tests in the best way, also if you guys want I can help with upgrading the version of this package to a must recent want and refactor all the tests and contracts involved to left all running and working as expected, in the las ODHack I did this for other project take a look into this: , looking forward to contributing to your project!

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hey! I'm Gerson. 👋
Member of Dojo Coding. I have contributed before to this project and Cairo projects like:

Raito
kakarot-ssj

Can I work on this issue?
Check my OnlyDust profile, I've contributed to many projects: Profile

How I plan on tackling this issue
Plan to Solve the Issue:

Study the codebase to understand the current structure and functionality.
Understand the problem that needs to be solved by thoroughly reading the issue details.
Leverage all provided resources within the issue to get a better grasp of the task at hand.
If I encounter roadblocks, I will ask questions ASAP in the Telegram group to move forward effectively.
I will open a PR and wait for ur feedback

@Gerson2102 assigned!


Entity: Dashboard

Once they sign up
After they've been using it for a bit

Onboarding:
This includes the process of figuring out whether the user needs to create a new FRO, or can join one.
https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1491%3A35938
https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1507%3A34122
https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1507%3A34286
https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1507%3A34489
Dashboard for org admin:
Empty: https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1491%3A35377
Filled in: https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1856%3A51722
Dashboard for project admin:
Empty: https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1491%3A35613
Filled in: https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1856%3A52056
Dashboard for project member:
Empty: https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1494%3A33971
Filled in: https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1856%3A52396
My trainings:
https://www.figma.com/file/AXufBnFAVHvGdsxnQMVhNF/The-Accessibility-Exchange-Wireframes?node-id=1378%3A22421

@cherylhjli and @greatislander should this be closed in favour of specific tickets for the parts that need to be added/updated?

I think all the dashboard tickets probably should be. I didn't do it because I figured best to let you and @cherylhjli and @michelled break it down and prioritize as needed. But in essence, the dashboards are missing the numbered onboarding steps for all roles.


[TOMEE-4182] GitHub actions: 8.x is not main. keeping only 8.x files

8.x is not main. removing main file from non-main branches

thx


TENSORFLOW_INCLUDE_DIR

HI,
many thanks for you work, I don't really know what is the TENSORFLOW_INCLUDE_DIR in cmake

You do not need to set this variable.
For the inference part
The only environment variables you need to know and specify are TENSORFLOW_SOURCE_DIR pointing to a local copy of the TensorFlow repository and TENSORFLOW_BUILD_DIR containing the "*.so" files amongst some header files (see README.md).
Please note, I changed the namings of all variables, which are automatically created (prefix "TensorFlow").

Thanks for your reply, but when I cmake, I got this error
####################################################################
-- TensorFlow-SOURCE-DIRECTORY is /home/yao/tensorflow
-- TensorFlow-CC-LIBRARY is /home/yao/tensorflow/bazel-bin/tensorflow/libtensorflow_cc.so
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find TENSORFLOW (missing: TENSORFLOW_LIBRARY
TENSORFLOW_INCLUDE_DIR) (Required is exact version "1.9")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/home/yao/tensorflow_inference/cmake/modules/FindTENSORFLOW.cmake:153 (find_package_handle_standard_args)
CMakeLists.txt:6 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/yao/tensorflow_inference/inference/cc/CMakeFiles/CMakeOutput.log".

Python version, What's the output of
python -c "import tensorflow as tf; print(tf.__version__); print(tf.__cxx11_abi_flag__); print(tf.sysconfig.get_include()); print(tf.sysconfig.get_lib() + '/libtensorflow_framework.so')"

?

1.9.0
0
/home/yao/.local/lib/python2.7/site-packages/tensorflow/include
/home/yao/.local/lib/python2.7/site-packages/tensorflow/libtensorflow_framework.so

For some reason your TENSORFLOW_FOUND is probably False. The error is raised here:
https://github.com/PatWie/tensorflow_inference/blob/1259c29165163e5b1c810b2d7af8f26adbacd4be/cmake/modules/FindTensorFlow.cmake#L77
could you please add the lines before the if to debug:
message(STATUS ${TF_VERSION_MAJOR}.${TF_VERSION_MINOR})
message(STATUS ${TensorFlow_FIND_VERSION_MAJOR}.${TensorFlow_FIND_VERSION_MINOR})

# from FindTensorFlow.cmake
if("${TF_VERSION_MAJOR}.${TF_VERSION_MINOR}" STREQUAL "${TensorFlow_FIND_VERSION_MAJOR}.${TensorFlow_FIND_VERSION_MINOR}")

Thanks a lot!
I have successfully cmake and generated 'inference_cc, when I run this with''./inference_cc', I got this:
I am not sure what the problem is
###############################################################################
2018-07-17 15:43:47.371008: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:897] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-07-17 15:43:47.371485: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1404] Found device 0 with properties:
name: GeForce GTX 980M major: 5 minor: 2 memoryClockRate(GHz): 1.1265
pciBusID: 0000:01:00.0
totalMemory: 3.95GiB freeMemory: 3.69GiB
2018-07-17 15:43:47.371516: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1483] Adding visible gpu devices: 0
2018-07-17 15:47:29.258483: I tensorflow/core/common_runtime/gpu/gpu_device.cc:964] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-07-17 15:47:29.258522: I tensorflow/core/common_runtime/gpu/gpu_device.cc:970]      0
2018-07-17 15:47:29.258527: I tensorflow/core/common_runtime/gpu/gpu_device.cc:983] 0:   N
2018-07-17 15:47:29.259864: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1096] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3419 MB memory) -> physical GPU (device: 0, name: GeForce GTX 980M, pci bus id: 0000:01:00.0, compute capability: 5.2)
2018-07-17 15:47:29.261186: E tensorflow/core/common_runtime/gpu/gpu_device.cc:228] Illegal GPUOptions.experimental.num_dev_to_dev_copy_streams=0 set to 1 instead.
2018-07-17 15:47:29.297618: F /home/yao/tensorflow_inference/inference/cc/inference_cc.cc:82] Non-OK-status: LoadModel(sess, graph_fn, checkpoint_fn) status: Not found: ./exported/my_model.meta; No such file or directory
Aborted (core dumped)

Just being curious: how did you solved your problem?
For the inference part: you really need to run 'example. py' before and then from the same directory
'./cc/inference_cc'.

for the previous problem, I generated a pip package and installed.
I just put the generated checkpoints under the cc folder and it works!
let me cry for a while and celebrating.
########################################################################


Intervals ignored for Prices

Intervals for Prices are nested within recurring along with interval_count and some other data. Currently, this causes some issues when trying to calculate current_period_end for subscriptions, ignoring the nested interval data and resulting in a default of the same value as current_period_start.

@b-raines any idea on when this will become part of a release candidate? i see the PR was merged. Thank you!


python311Packages.imagededup: fix build

Description of changes
Fix build (https://hydra.nixos.org/build/250198321)

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

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

2 packages built:

python311Packages.imagededup
python311Packages.imagededup.dist


Changes attribute should be sensitive

Since the changes attribute could include sensitive attributes, it should itself be sensitive.
Should it also be private?

Hmm...probably all attributes should be private, except for explicitly configured public ones?

And yes they should be similarly sensitive

The attributes_as_attributes copy their sensitive and private options. I think that's good for now.


Update to rustix 0.37.

terminal-size doesn't need any code changes to update to rustix 0.37.

Thanks.  I'll get this released as a new patch version of terminal-size later today or tomorrow.

Published to crates.io as v0.2.6


fix(fs12): plugin-google-signing peer dependency

This is the same as: https://github.com/brandingbrand/flagship/pull/2559


Favicon not working on Edge

That's because there's no manifest.manifest file for Edge. Microsoft requires a separate way to include favicons.
We'd need to add a manifest.manifest file into the static folder (where favicon.ico is) with sth like this:
{
    "lang": "en",
    "short_name": "Open Day Scavenger Hunt",
    "name": "Australian Synchrotron Open Day – Unlock the Secrets of the Australian Synchrotron",
    "icons": [
        {
            "src": "favicon.ico",
            "sizes": "64x64 32x32 24x24 16x16",
            "type": "image/x-icon"
        }
    ],
    "start_url": "./",
    "display": "standalone",
    "theme_color": "#1a3869",
    "background_color": "#ffffff"
}

And then every layout & everyone's individual index.html in the <head> would have to include:
<link rel="manifest" href="/static/manifest.webmanifest" />


Restore windows positions when re-connect external monitor

Description of the new feature / enhancement
When an external screen that has been used before is reconnected, the programs that were snap to some fancy zone position, will return to the same position.
Scenario when this would be used?
When an external screen that has been used before is reconnected, the programs that were snap to some fancy zone position, will return to the same position.
When I work on my laptop, I mostly use Fancy zones to customize my screens (laptop+external) programs positions, most of the programs are always the same (~75%). But being a work laptop, I occasionally unplug from external screen to work on the go or attend meetings. When I plug the external monitor again, all the programs are crammed up in the laptop screen, it would be AWESOME if all programs that were opened and snapped to a fancy zone before disconnecting, would go back to the same position.
Supporting information
I can provide more information on the external screens and laptop I use if it will help.

This would be super helpful! I also have a work laptop where I sometimes work disconnected, then connect it to either my home office display or my work displays. It would be awesome if FancyZones would restore any open known apps to their snap positions (based on a configuration switch). Currently, I need to manually drag+snap each window to their locations, which is a boring task - especially when FancyZones knowns where each window belongs. It just needs to use that information upon display change.


"on conflict do update" doesn't work

Here is the exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/visitors.py", line 77, in _compiler_dispatch
    meth = getter(visitor)
AttributeError: 'StrSQLCompiler' object has no attribute 'visit_on_conflict_do_update'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/asyncpgsa/connection.py", line 128, in fetchrow
    result = await super().fetchrow(query, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/asyncpg/connection.py", line 373, in fetchrow
    data = await self._execute(query, args, 1, timeout)
  File "/usr/local/lib/python3.6/dist-packages/asyncpgsa/connection.py", line 102, in _execute
    query, compiled_args = compile_query(query, dialect=self._dialect)
  File "/usr/local/lib/python3.6/dist-packages/asyncpgsa/connection.py", line 83, in compile_query
    compiled = query.compile(dialect=dialect)
  File "<string>", line 1, in <lambda>
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/elements.py", line 436, in compile
    return self._compiler(dialect, bind=bind, **kw)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/elements.py", line 442, in _compiler
    return dialect.statement_compiler(dialect, self, **kw)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/compiler.py", line 435, in __init__
    Compiled.__init__(self, dialect, statement, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/compiler.py", line 216, in __init__
    self.string = self.process(self.statement, **compile_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/compiler.py", line 242, in process
    return obj._compiler_dispatch(self, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/visitors.py", line 81, in _compiler_dispatch
    return meth(self, **kw)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/compiler.py", line 2050, in visit_insert
    insert_stmt._post_values_clause, **kw)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/compiler.py", line 242, in process
    return obj._compiler_dispatch(self, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/sqlalchemy/sql/visitors.py", line 79, in _compiler_dispatch
    raise exc.UnsupportedCompilationError(visitor, cls)
sqlalchemy.exc.UnsupportedCompilationError: Compiler <sqlalchemy.sql.compiler.StrSQLCompiler object at 0x7f66654dc5f8> can't render element of type <class 'sqlalchemy.dialects.postgresql.dml.OnConflictDoUpdate'>

Versions:

asyncpg==0.12.0
asyncpgsa==0.17.0
cockroachdb==0.1.0
SQLAlchemy==1.1.14

Ah, sorry, asyncpgsa doesn't use cockroachdb dialect by default. So it's another issue.

Had the same issue when trying to print the statement.
        stmt = insert(model).values(**values)

        update_dict = {
            c.name: c
            for c in stmt.excluded
            if not c.primary_key
        }

        update_stmt = stmt.on_conflict_do_update(
            index_elements=index_elements,
            set_=update_dict,
        )

        print(update_dict)
        print(update_stmt)
        cockroach_session.execute(update_stmt)

It worked just running the statement instead of trying to print before.
cockroach_session.execute(update_stmt)


spack instead of slack?

Do you mean to use "slack" on [1], or should it be "spack"?
[1] https://github.com/ornl-qci/xacc/blob/master/docs/source/ibm.rst

Great catch. Thanks for looking through the docs. I just pushed a fix 27cdd80


Restore summaries for run commands.

Description
Fixes #8290
Bring back the summary of runs when using turbo run.
Testing Instructions
👀

Force merged since we're hitting GH API ratelimit in our CI causing failures for the JS tests


[Bug]: Gui does not start - version 0.9.0 - Windows Version

Current Behavior

clean installed 0.9.0 with
started as administrator
wave only seen in taskmanager
Gui does not open

Expected Behavior
to open Gui
Steps To Reproduce

winget remove CommandLine.Wave
winget install CommandLine.Wave
win-key -> search wave - open as administrator
look inside taskmanager

Wave Version
v0.9.0
Platform
Windows
OS Version/Distribution
11 pro - build 26100.2161 - 24H2 -
Architecture
x64
Anything else?
No response
Questionnaire

[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

yes, same for me with 0.9.0 on windows

well fixed on my personal windows with last release but not my vm horizon windows at work (simply does not start anymore)

@C0sm0cats @LinoCasu checking, are you still seeing this on 0.9.1?

@esimkowitz It's working fine with version 0.9.2 on my personal Windows 11 VMware Workstation. I'll test it today on my Windows VM at work using Horizon.

@esimkowitz not working with version 0.9.2 on my Windows VM at work using Horizon.

@chottuthejimmy this might be the same issue you're seeing

This is what I see
It does open the window, but its just gray screen.
Seems like it should be fixed rn

Currently there's an installation error that we are seeing
here's the dashcam rec
@esimkowitz

@chottuthejimmy i think this is unrelated. Please open a separate issue

@esimkowitz It's working fine with zip version 0.9.3 on my personal Windows 11 VMware Workstation.
It' Ok also on my Windows VM at work using Horizon (workaround : i removed c:\Users....waveterm directory from old installation, and boom gui starts again :))

That's weird that that would cause the gui to fail to start... maybe there was something corrupted in your DB?

The difference in behavior and directory structure can maybe be explained by the fact that I switched from the .exe installation to the .zip version...


Add MKUnits

Unit conversion library for Swift.
Project URL
https://github.com/michalkonturek/MKUnits
Category
Utility
Description
MKUnits is extremely precise unit conversion library for Swift. It provides units of measurement of physical quantities and simplifies manipulation of them.
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[ ] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 6 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

5
Dupe
https://gitter.im/vsouza/awesome-ios

18
301
https://goo.gl/hNadrZ redirects tohttps://try.instabug.com/awesomeios/?utm_source=awesomeios&utm_medium=spon&utm_content=header

20
301
https://goo.gl/q93Qtd redirects tohttps://try.instabug.com/awesomeios?utm_source=awesomeios&utm_medium=spon&utm_content=learn-more

21
301
https://goo.gl/A74z8Q redirects tohttps://instabug-ga.appspot.com/UA-41982088-6/github/awesomeios?pixel

21
Dupe
https://instabug.com

2705
503
https://boombox.io/

  Generated by :no_entry_sign: Danger


Startup (screen blanking)

Hi... I have a script that does some nice things.
It looks through my $XDG_CONFIG_HOME/autostart directory and runs the programs (unless Hidden or OnlyShowIn make it not want to)
It also runs
xset s off
xset dpms 0 0 0

I have a logging system for it, and it tells me that it ran the programs and set the screen blanking off.
However,  pidof <program_that_is_supposed_to_be_running>
is non-existent.
And of course... the screen blanks.
So, does JWM run everything in the script before it starts, or do I start too fast, or.....  some other things work fine (such as volumeicon)
How do I overcome this issue??
I'm running github version 1230... though I am upgrading to 1233 currently.

JWM runs the startup commands after connecting to the X server and reparenting any existing windows, etc.  JWM does not wait for the commands to complete, it's as if you ran them via a menu.

hi... it was a bit of an issue with the script AFAIK...  I will keep testing things, and if I find there is an issue with JWM I will report back.

@joewing sorry to bring up an old issue again, however I was wondering if there was a way to programatically prevent the screen blanking from happening using the X11 libraries inside JWM.
If a user wants a screen saver (if they have an older CRT monitor) they can use a screen saver.]

I think this is something that's best handled via the X11 configuration (for Xorg, the "BlankTime" option in xorg.conf).

Thanks Joe, it just seems like something most DE handle automatically, so I thought I'd suggest it.
To me it seems like setting the dpms off and screenblanking off as default makes more sense LCD monitors/laptop screens don't really need the screensaver to be on (except to conserve power of course), as they don't burn the image into the screen like the old CRT monitors did.
I will continue using xset
Thanks for all the amazing work you do!


Timeouts, possibility to improve

It seems I'm getting a bunch of timeouts of the sort:
level=error msg="Failure forwarding request \"read udp <IP_ADDRESS>:57073-><IP_ADDRESS>:53: i/o timeout\""

While I realize that this may not be necessarily the fault of go-dnsmask, I'm wondering if we can somehow improve the resulting behaviour. I'm using it in a VM in hyper-v, on a laptop I'm using for work. I'm resolving some internal projects and letting the rest forward to <IP_ADDRESS>. as seen above. It's quite frequent that some host won't resolve, and usually running ipconfig /flushdns solves the problem on windows side.
I didn't notice any timeout option in the settings, is this something that's set by a DNS rfc? Any suggestions what I can do? Sure I'm realizing my internet is not the greatest, but on the other hand, 100ms ping to anywhere and 50/20mbit line on LTE doesn't seem like the ISDN speeds I was used to in the 90's.

P.s. I'm running dnsmasq via docker, with the -f hostfile option, and no other options.

Hi again, if i understood correctly you are using just <IP_ADDRESS> as upstream DNS server? Then the first step for mitigating the timeout issues is to add a second DNS server. Wireless connections are always prone to packet loss no matter if its 56kbit/s over GPRS or 50mbit over LTE. Heck, even my 200mbit FTTH connection exhibits packet loss from time to time when there is a bad router along the path.
Considering read timeout: This is actually already configuration parameter but i didn't care to expose this in the CLI. Currently the UDP read timeout is set to 2 seconds. If adding a second upstream DNS server doesn't help with the timeout errors, we can add a CLI flag to make the timeout settable.

FYI, the principle embraced by go-dnsmasq when forwarding the query is to move along to the next available (if any) nameserver if a connection error occurs instead of retrying a possibly unavailable server. It's just more efficient.

This should probably be settable by CLI flag: https://github.com/janeczku/go-dnsmasq/blob/master/server/config.go#L45

FYi, maybe I'm remembering this incorrectly, but some DNS servers also provide resolving over TCP? A quick search lets me know this has occurred somewhere in the 2010+ era?

FYi, maybe I'm remembering this incorrectly, but some DNS servers also provide resolving over TCP? A quick search lets me know this has occurred somewhere in the 2010+ era?

I have thought again about the read timeout option. I don't think it will help in your case. These errors you see are caused by lost or dropped packages (Google DNS servers do drop requests when you hit some rate limits). If the packet is dropped/lost a longer read timeout won't help it. If these errors happen frequently even with two configured name servers than we probably should change the retry routine to make it resend a failed request at least once (I think this is how the Linux DNS client does it as well).

but some DNS servers also provide resolving over TCP
DNS over TCP is a fallback mechanism in case the response to the query would exceed the 512 bytes packet limit specified for DNS over UDP.

seems that a minimum cache TTL would be a good option as a default?

You mean minimum value the TTL of a response must have before we store it in the cache?

No, I'm actually considering that a minimum cache expiry > 0 seconds after
resolve would be good behaviour. I think I've accrued several examples of
successfully resolving a hostname and because I don't have any caching set
explicitly, it doesn't resolve on some try after the first one. Examples in
the logs are slightly repetitive but it goes for the same fqdn resolve
about 10 queries, of which the first 4 resolve OK. If the dns response was
cached out of the box for let's say 1 minute, it might be fine? Or even a
shorter TTL, it's hard to gauge since the logs don't have any timestamps...
On Fri, Mar 25, 2016 at 9:11 PM, Jan B<EMAIL_ADDRESS>wrote:

I have thought again about the read timeout option. I don't think it will
help in your case. These errors you see are caused by lost or dropped
packages (Google DNS servers do drop requests when you hit some rate
limits). If the packet is dropped/lost a longer read timeout won't help it.
If these errors happen frequently even with two configured name servers
than we probably should change the retry routine to make it resend a failed
request at least once (I think this is how the Linux DNS client does it as
well).
but some DNS servers also provide resolving over TCP
DNS over TCP is a fallback mechanism in case the response to the query
would exceed the 512 bytes packet limit specified for DNS over UDP.
seems that a minimum cache TTL would be a good option as a default?
You mean minimum value the TTL of a response must have before we store it
in the cache?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/janeczku/go-dnsmasq/issues/6#issuecomment-201471342

Well, for one, there seems to be no logging of successful queries to DNS hosts and what they reply with even with --verbose.
level=debug msg="Querying nameserver <IP_ADDRESS>:53 question live.github.com."
level=debug msg="Received DNS query for \"live.github.com.\" from \"<IP_ADDRESS>:52060\" with type 1"
level=debug msg="Querying nameserver <IP_ADDRESS>:53 question live.github.com."
level=debug msg="Received DNS query for \"live.github.com.\" from \"<IP_ADDRESS>:52060\" with type 1"
level=debug msg="Querying nameserver <IP_ADDRESS>:53 question live.github.com."
level=debug msg="Error querying nameserver <IP_ADDRESS>:53: \"read udp <IP_ADDRESS>:40810-><IP_ADDRESS>:53: i/o timeout\""
level=debug msg="Querying nameserver <IP_ADDRESS>:53 question live.github.com."
level=debug msg="Error querying nameserver <IP_ADDRESS>:53: \"read udp <IP_ADDRESS>:40810-><IP_ADDRESS>:53: i/o timeout\""
level=debug msg="Querying nameserver <IP_ADDRESS>:53 question live.github.com."
level=debug msg="Error querying nameserver <IP_ADDRESS>:53: \"read udp <IP_ADDRESS>:40810-><IP_ADDRESS>:53: i/o timeout\""
level=debug msg="Querying nameserver <IP_ADDRESS>:53 question live.github.com."
level=debug msg="Received DNS query for \"github.com.\" from \"<IP_ADDRESS>:59022\" with type 1"
level=debug msg="Querying nameserver <IP_ADDRESS>:53 question github.com."

This is the example i'm talking about. I assume the first fer queries resolve fine, and the rest fall into some kind of blacklist/rate limit and are ignored. Caching the first successful response for some N seconds (30, 60?) would probably solve it. But I'm not experiencing some issues after adding googles NS2, so I'm not sure if it's even an issue anymore...

Well, for one, there seems to be no logging of successful queries to DNS hosts and what they reply with even with --verbose.

Since we blindly return whatever reply we get from the upstream server that information is available in the client. If you need this kind of information in the logs though (for example the Rcode of the reply) go ahead and send a PR!

No, I'm actually considering that a minimum cache expiry > 0 seconds after
resolve would be good behaviour.

Ah i see, that should be possible right now. Caching is disabled completely by default though.
You need set --rcache to some positive value and if you want to control TTL of cache entries you can do so with --rcache-ttl (set to 60 seconds by default).
By the way: --rcache-ttl sets both the minimum and maximum TTL :laughing: each response will be cached for exactly 60 seconds. While looking at the code i discovered a possible bug that might prevent re-caching of previously expired entries. So i would be glad if you could give it a spin and check if its working for you.

it's hard to gauge since the logs don't have any timestamps...

Yes that needs to be fixed.

FYI, logs are now printed with timestamp (when there is no terminal attached). Closing this issue for now.


Add format checking to CI pipeline

We should look at adding this into the CI pipeline https://pypi.org/project/darker/
To address this issue.
Originally posted by @chrisbeardy in https://github.com/stlehmann/pyads/issues/268#issuecomment-950986103

Now it's better to use ruff


Create build-docker-image.yml

auto build docker image when push

Many thanks for your valuable contribution!


Combat Skill Tree Inaccessible

Using the latest version of the community patch rendered my combat skill tree unusable. Despite having spent more than a dozen skill points on combat before using the community patch, I am now to spend points in tier 1 skills in order to be able to access tier 2+ skills. Disabling the mod in vortex resolved this issue.

Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
No
Reproduction Steps

Very unlikely to be caused by this mod.


move invite by mail to services package

followup  #20307
close #21511
-> make it easy to also add API equivalent later ...

make L-G-T-M work


Normalize Seshatic Seshatic X to Seshatic X

Currently, Seshatic Seshatic X does not normalize to Seshatic X.

[x] https://github.com/advancedresearch/path_semantics/pull/1150
[x] https://github.com/advancedresearch/joker_calculus/pull/24


Mismatch in few-shot and zero-shot numbers between paper and code

There are discrepancies in the results of few-shot results and in one zero shot result as shown below:

However, results for zero-shot cs-det, cs-seg and sun - rgbd seg match with only slight deviations.
Would it be possible that I am looking at the wrong metric or maybe there is some other issue?
Would be glad if you could help me with this. Thank you!.

I think your metric is correct. We retrained the model after the paper was published, so the performance may differ from what was reported. Based on my experience, few-shot performance can vary significantly.

Thank you for your quick response!. So I can use the current numbers I get as the new results ?

yeah, I think so. :) Enjoy with the code.

Thank you!


💡 [FEATURE] -  Add Icons To Navbar

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
Hello, my name is A.A.D.Sailaja. I am a Tech Enthusiastic and i'm looking forward to contribute in open source projects. Here in this project i would like to add  icons to Navbar Items. It will our website to look Attractive
Can you please assign me this issue under gssoc'24 @jf
Explain your solution
No response
Any alternative approaches/features
No response
Additional Context
No response

Idea Contribution
* [x]  I have read all the feature request issues.

* [x]  I'm interested in working on this issue

* [x]  I'm part of GSSOC organization

Explain feature request
Hello, my name is A.A.D.Sailaja. I am a Tech Enthusiastic and i'm looking forward to contribute in open source projects. Here in this project i would like to add icons to Navbar Items. It will our website to look Attractive
Can you please assign me this issue under gssoc'24 @jf
Explain your solution
No response
Any alternative approaches/features
No response
Additional Context
No response

@sailaja-adapa I would suggest you pay attention to how you @ mention people. Getting such an important detail like that wrong does not look good.
@jfmartinz thoughts? you have not said anything at all through all of this.

@jf i am really sorry for that

Be careful nextime @sailaja-adapa.

@jfmartinz yeah sure i am so sorry about this i am new to Contributions this won't happen again


Switching activities while vscode is starting up isn't honored

Issue Type: Bug
I've only noticed this recently, but if you attempt to switch activities (explorer, scm, search, etc) while vscode is first loading, it will switch, but then switch back to the last activity from when vscode was closed.

Open vscode to a folder and switch to the explorer activity
Close vscode
Open vscode to the same folder and while its loading switch to the source control activity
:bug: While it will switch, once vscode loads fully it will switch back to the explorer activity.

VS Code version: Code - Insiders 1.27.0-insider (7b9afc4196bda60b0facdf62cfc02815509b23d6, 2018-09-03T09:14:29.879Z)
OS version: Windows_NT x64 10.0.17751

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (8 x 4008)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.93GB (16.60GB free)

Process Argv
C:\Users\Eric\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe c:\Users\Eric\code\vscode-gitlens

Screen Reader
no

VM
0%

@eamodio I am not able to reproduce it. See the following video, it is not switching to explorer until I switch it.


Metron 98 - Travis does not fail a build if the integration tests fail

Travis will now fail if integration tests do not pass.  Also added logging config files to make the log data generated by the integration tests much less verbose.

Looks good.  Mind squashing your commits?

+1 and I'm itching to get travis back and in working order.  Just for posterity, the integration tests were failing and not reporting the failure back up to travis.


Unhandled Exception: int too large to convert to float

I saw mention of this in the other logged issue, but wanted to mark down another instance of it happening:
ekranz@influxdb:~/Solaredge-influxdb$ python3 ./solaredge.py <IP_ADDRESS> --influxdb <IP_ADDRESS> --port 1502 -d
/home/ekranz/.local/lib/python3.6/site-packages/aioinflux/compat.py:12: UserWarning: Pandas/Numpy is not available. Support for 'dataframe' mode is disabled.
  warnings.warn(no_pandas_warning)
Starting up solaredge monitoring
Connecting to Solaredge inverter <IP_ADDRESS> on port 1502 using unitid 1
Writing data to influxDb <IP_ADDRESS> on port 8086 every     5 seconds
DEBUG:solaredge:Running eventloop
INFO:solaredge:Database opened and initialized
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
^CTraceback (most recent call last):
  File "./solaredge.py", line 127, in <module>
    asyncio.get_event_loop().run_until_complete(write_to_influx(args.influxdb, args.influxport, args.period))
  File "/usr/lib/python3.6/asyncio/base_events.py", line 471, in run_until_complete
    self.run_forever()
  File "/usr/lib/python3.6/asyncio/base_events.py", line 438, in run_forever
    self._run_once()
  File "/usr/lib/python3.6/asyncio/base_events.py", line 1415, in _run_once
    event_list = self._selector.select(timeout)
  File "/usr/lib/python3.6/selectors.py", line 445, in select
    fd_event_list = self._epoll.poll(timeout, max_ev)
KeyboardInterrupt

This is connecting to a SolarEdge SE11400H-US. I'd be happy to help in any way I can!
Thanks!

This is some kind of bug or change in the firmware.
A workaround is to comment out these lines:
datapoint['fields']['AC Lifetimeproduction'] = trunc_float(data.decode_32bit_uint() * scalefactor)
datapoint['fields']['DC Voltage'] = trunc_float(data.decode_16bit_uint() * scalefactor)

Somehow the scalefactor is extremely large. Its a number that fill the entire screen :P

Give #8 a try - that fixed this issue for my SE5000-H-US.


Initial port of JQ Transformation

Introduce a new transformation based on the JSON Query language.
Closes #637

Besides that "floating" import in cmd/triggermesh-controller/main.go it looks good to me.

You mean this?
import (
	pkgadapter "knative.dev/eventing/pkg/adapter/v2"

	"github.com/triggermesh/triggermesh/pkg/flow/adapter/jqtransformation"
)

No, the file I mentioned has an import that's on its own.

That's the way Github is rendering the comment block. When looking at the raw file from (https://github.com/triggermesh/triggermesh/blob/534f9db4c563c1a977e87ebdd48d3f553f537cee/cmd/triggermesh-controller/main.go), I get:
	"knative.dev/pkg/injection/sharedmain"

	"github.com/triggermesh/triggermesh/pkg/flow/reconciler/jqtransformation"
	"github.com/triggermesh/triggermesh/pkg/flow/reconciler/synchronizer"
	"github.com/triggermesh/triggermesh/pkg/flow/reconciler/transformation"
	"github.com/triggermesh/triggermesh/pkg/flow/reconciler/xmltojsontransformation"
	"github.com/triggermesh/triggermesh/pkg/flow/reconciler/xslttransformation"
	"github.com/triggermesh/triggermesh/pkg/function"


Automated market resolution

This feature will brings automatic resolutions to abandoned markets.
Automatic resolution means that unresolved markets get resolved as 'MKT' (paying out investors according to the current odds) at a specified date. By default that date is 1 week after the market closes but it can be modified by the market creator.
Features

Market info panel: The auto resolution time (editable) and the auto resolution 'MKT' is displayed
Editing close date: The auto resolution time is set to close date + 1 week if it would be less otherwise
Contract: The auto resolution time is added
Firestore rules: The market creator is allowed to change the auto resolution time
Market creation: The auto resolution time is set as close date + 1 week
LiteMarket: Added auto resolution time and auto resolution
Firebase: Every hour is checked whether markets should be auto resolved
Firebase: Existing contracts get an auto resolution time (current date + 2 weeks for closed contracts, close date + 1 week otherwise)

ToDo prod db

[x] Update firebase rules (add autoResolutionTime to update)
[x] Add a close time manually to old contracts lacking it
[ ] Deploy updated version of createmarket to db
[ ] Deploy autoResolveMarkets to db
[ ] Run add-auto-resolution.ts (/.js) on db

Possible features for later PRs

eMails 1 day before auto resolve
Notification that markets auto close now for creators with closed unresolved markets
Change the "Market Info" interface to look nicer and allow edits of the close date
Changeable auto resolution type (if requested)
Removable auto resolution time
Make close time required

Untested

Numeric markets are not tested because they are disabled.

Notes

re-creation of https://github.com/manifoldmarkets/manifold/pull/404
#404 was merged in main@a3663d0 and reverted in main@cc4b9ab

Had some second thoughts on this exact implementation, after talking with @mantikoros.

We might not want auto resolution on already-existing markets as that could be unexpected by the creator.
We should include in the market creation page a note that the market will auto-resolve 7 days after the close date, and give them an option to choose the auto resolution date.

My current plan is to take this PR and hand it off to @sinclairity to think about, modify, and ultimately merge. Otherwise, this PR is on hold.

Had some second thoughts on this exact implementation, after talking with @mantikoros.

We might not want auto resolution on already-existing markets as that could be unexpected by the creator.
We should include in the market creation page a note that the market will auto-resolve 7 days after the close date, and give them an option to choose the auto resolution date.

My current plan is to take this PR and hand it off to @sinclairity to think about, modify, and ultimately merge. Otherwise, this PR is on hold.

Hey @jahooma,
market resolution was optional and date & outcome selectable on market creation in the first version. The reason for the current implementation is to keep market creation as simple as possible. I don't have strong feelings either way.
Here are the images and the discussion in #visual-design: https://discord.com/channels/915138780216823849/978293927692091502/979895094960345108
One goals of the feature was to get all abandoned markets closed, open and recently closed markets are in the weird zone where it's not clear whether they will become abandoned themselves.
Feel free to take / hand over the development, otherwise I'm happy to finish the feature myself.

Thanks Milli! Your initial instinct was pretty good!
What I had in mind was something like a gray text label that informs the creator that the market autoresolves 7 days after the close date with a pencil icon. If you click the pencil then it will let you either turn off autoresolve or choose the auto resolution date.
One reason I want to hand this off to @sinclairity is so that someone on our team will know the feature and be able to maintain it, other than me.
You're welcome to try your hand at this proposed UI in this PR, which would help us so that @sinclairity has less to implement.

It has been decided to not go forward with this feature.


Audio quality issue

right now i am facing too much audio call quality issue
how can i improve the call quality like mp3 or agora
i need clear quality audio.
// option 1: set room defaults
val options = RoomOptions(
audioTrackCaptureDefaults = LocalAudioTrackOptions(
noiseSuppression = false,
echoCancellation = false,
autoGainControl = false,
highPassFilter = false,
typingNoiseDetection = false,
),
videoTrackCaptureDefaults = LocalVideoTrackOptions(
deviceId = "",
position = CameraPosition.FRONT,
captureParams = VideoPreset169.HD.capture,
),
audioTrackPublishDefaults = AudioTrackPublishDefaults(
audioBitrate = 96_000,
dtx = false,
),
i already try false and true both in thees all settings but still same.
please help me to fix it
thanks in advance.

Will the receiver be listening only or will they also publish?
If they are listening, you'd need to switch the device into Media audio mode instead of Communication. see Audio Modes in the README for instructions.

Will the receiver be listening only or will they also publish?
If they are listening, you'd need to switch the device into Media audio mode instead of Communication. see Audio Modes in the README for instructions.

Both are listening and publish.
And we want to get anyhow high quality audio

same problem

same problem, but I only have problem on iOS

Is it working on android if yes can you share the solutions so I can try to fix on IOS

same problem, but I only have problem on iOS

Is it working on android if yes can you share the solutions so I can try to fix on IOS

My usage scenario is meet. On Android, I think the sound quality is sufficient. I don't know if it is exactly the same as yours.
But on iOS, under the same configuration, there is obvious noise
My configuration on Android is as follows:
var captureParams = VideoPreset169.VGA.capture
var videoEncoding = VideoPreset169.VGA.encoding

val options = RoomOptions(
    adaptiveStream = false,
    dynacast = false,
    audioTrackCaptureDefaults = LocalAudioTrackOptions(
        noiseSuppression = true,
        echoCancellation = true,
        autoGainControl = true,
        highPassFilter = true,
        typingNoiseDetection = true,
    ),
    videoTrackCaptureDefaults = LocalVideoTrackOptions(
        position = position,
        captureParams = captureParams,
    ),
    audioTrackPublishDefaults = AudioTrackPublishDefaults(
        audioBitrate = 20_000,
        dtx = false,
    ),
    videoTrackPublishDefaults = VideoTrackPublishDefaults(
        videoEncoding = videoEncoding,
        videoCodec = VideoCodec.VP8.codecName
    )
)

room = LiveKit.create(
    applicationContext,
    overrides = LiveKitOverrides(
        audioHandler = audioHandler
    ),
    options = options
)

same problem, but I only have problem on iOS

Is it working on android if yes can you share the solutions so I can try to fix on IOS

My usage scenario is meet. On Android, I think the sound quality is sufficient. I don't know if it is exactly the same as yours.
But on iOS, under the same configuration, there is obvious noise
My configuration on Android is as follows:
var captureParams = VideoPreset169.VGA.capture
var videoEncoding = VideoPreset169.VGA.encoding

val options = RoomOptions(
    adaptiveStream = false,
    dynacast = false,
    audioTrackCaptureDefaults = LocalAudioTrackOptions(
        noiseSuppression = true,
        echoCancellation = true,
        autoGainControl = true,
        highPassFilter = true,
        typingNoiseDetection = true,
    ),
    videoTrackCaptureDefaults = LocalVideoTrackOptions(
        position = position,
        captureParams = captureParams,
    ),
    audioTrackPublishDefaults = AudioTrackPublishDefaults(
        audioBitrate = 20_000,
        dtx = false,
    ),
    videoTrackPublishDefaults = VideoTrackPublishDefaults(
        videoEncoding = videoEncoding,
        videoCodec = VideoCodec.VP8.codecName
    )
)

room = LiveKit.create(
    applicationContext,
    overrides = LiveKitOverrides(
        audioHandler = audioHandler
    ),
    options = options
)

nope still same its not working .
we need mp3 grade quality so right now its working  20_000 audioBitrate if we set 96_000 or 128_000 its not work so need support for fix this.

Hey, looks like the audioBitrate wasn't being set correctly for audio publishing, will push a fix shortly.

Try the 1.4.0-SNAPSHOT version for the fix.

Try the 1.4.0-SNAPSHOT version for the fix.

there is no Release yet version 1.4.0-SNAPSHOT
still last Release v1.3.0
we update lib and try this version v1.3.0 but not work
we try with all true and false both but still quality not improved
please help me to fix the issue.

The fix for the audio bitrate is not in 1.3.0. The 1.4.0-SNAPSHOT contains the fix and can be used through following the installation instructions here:
https://github.com/livekit/client-sdk-android#installation

The fix for the audio bitrate is not in 1.3.0. The 1.4.0-SNAPSHOT contains the fix and can be used through following the installation instructions here:
https://github.com/livekit/client-sdk-android#installation

i can see last release  1.3.0. when release 1.4.0-SNAPSHOT
or any other way to download 1.4.0-SNAPSHOT ?
please let me know thanks in advance.

The snapshot versions aren't displayed here since they are updated with each development commit.
You can download it by following the installation instructions which show how to get the snapshot version.

The snapshot versions aren't displayed here since they are updated with each development commit.
You can download it by following the installation instructions which show how to get the snapshot version.

sorry to say but i cant see any snapshot version only i can see last releases.
can you guide me how to download  1.4.0-SNAPSHOT ?
or if you have any url that guide me please share that.

It's not on the releases list.
Again, the instructions to get the snapshot version are here:
https://github.com/livekit/client-sdk-android#installation

It's not on the releases list.
Again, the instructions to get the snapshot version are here:
https://github.com/livekit/client-sdk-android#installation

after run 1.4.0-SNAPSHOT its working bit rates i can check it by checking bandwidth load
i am useing now 128_000 but still quality is same like before but audio is clear. something block audio bits.
when we play DJ type music we can feel it no BASS is coming
how we can fix it ?

i already try this but nothing happened its not increased audio quality.
howe i can get music level audio quality ?


availability via F-Droid

as the old 1.x version was at least available via Izzy's fdroid repo, i notified him that there is a new 2.x version with its source in a different repo: https://gitlab.com/IzzyOnDroid/repo/-/issues/572
it would be nice if you can give some feedback about the questions raised there.

for sure, making Minimum available via the main F-Droid repo would be even better. :wink:

Hello, I just rotated the subscription keys to have compatibility with previous apks, take a look at the releases tab

Hi @JunioJsv – I can hereby confirm the key rotation for the APK you've pointed out, thanks for the thoughtfulness! Details in the issue linked above by @DJCrashdummy. But as a side effect from having changed from Kotlin to Flutter, APK size has increased by factor 20 (from 1.2 MB to 22 MB), so the IzzyOnDroid repo will no longer keep historical versions (due to the per-app size limit of 30 MB). Still, you might wish to pick a badge to link to your app there from your Readme, next to the Google badge, maybe?

Ah, nice – yes, that would work. Two questions there:

which one do you want on IoD then, armeabi or arm64? armeabi is compatible with more devices (except the very few 64bit only), arm64 is better optimized for newer devices but would leave all 32bit devices out.
will you keep up the key rotation for a few versions (say, for 1..3 months) to give people a chance to update as long as they still run the Kotlin version?

Oops?
2024-07-30 19:39:04,717 WARNING: "juniojsv.minimum_2145.apk" is signed by a key that is not allowed:
6a4d7370a8a01669b6ed5417eed984fc650b02c3d7b99cc5dbbbb586a3200af6
juniojsv.minimum_144.apk|3 malware alerts|25 libs
juniojsv.minimum_2145.apk|3 malware alerts|25 libs

So you returned to the original key? Which one is the one you'll be using from now on? The updater automatically picked one of the APKs "by choice" as it was not yet prepared for the splits. But it doesn't matter as that APK never went live: key pinning (to the new key) prevented it.
As for the malware alerts, here's the one from 144. The prefixed "2" at 145 probably indicates the arm64 variant. Keep in mind that by using Flutter's default numbering there, a switch from arm64 to armeabi (if needed; e.g. to restore to an old backup device with keeping the data, while the new one is at repair) is impossible, as versionCode of that will always be lower (here: 1145). There's a way to tell flutter to instead of versionCode + (ABI*1000) use e.g. (versionCode * 10) + ABI, which in this example would result in 1451 (armeabi) and 1452 (arm64), thus a switch would always be possible with an update.

I generated the apks with my new signature, then re-signed them using apksigner to rotate the keys

apparently there is no way to separate the apks by abi using bundletool which was the tool I used to create that universal apk with the rotated key

Dude, I'm almost giving up on posting the apks on github, I'll just leave them on the play store

alias I tested updating from apk 1.6.0 to version 2.0.2 with the rotated keys and there was no incompatibility in the signature

I've already decided, I won't post any more apks on github, anyone who needs or wants an alternative version to Google Play will need to compile directly from the code

So you want me to remove the app from IzzyOnDroid? Makes no sense to keep it there if there won't be updates anymore. A pity: a FOSS app that needs a proprietary walled garden to be used by everyone who cannot compile themselves :cry:

PS: an alternative could of course be not to use bundletool – but instead just build split APKs instead of AABs and use apksigner to sign and rotate. Many roads lead to Rome :wink:

same here, so no pressure @JunioJsv and take your time... at least thanks for releasing FOSS. and thanks a lot for releasing FOSS in a FOSS friendly way. :wink:

but it might take some time

Eh, we're not on a hunt here. And yeah, "main job" can be a time-eater, full understanding (I also have one).
So thanks a lot for caring, @JunioJsv! Unfortunately I'm no Android dev (especially no Flutter dev) or I might have looked to give you a snippet or even provide you a PR for the split part…
Waiting for your update then, when it comes. Hope you don't mind a "ping" not more often than once a month to check?

I just posted the versions using my old signature, the same as the other repository, alias use the app-armeabi-v7a-release.apk version I believe it has more compatibility because it is 32bits

Full ack to 32bit. So we stay with the original key then? Just asking before we switch back-and-forth multiple times.

that's right

OK, switchover performed. I'm just not sure if those having installed the key-rotated APK can switch back as easily, but we will see. So thanks for your help!
Eh, one more question before I forget: can you tell me which path you build the app in, and what flutter version you're using? I could try and see if it would be RB (see Reproducible Builds, special client support and more in our repo) if you wish.

So, the version of flutter that can be used to build the project is specified in pubspect.yaml, I'm currently using version 3.22.0, and the script to build is in the build_minimum.dart file

So, the version of flutter that can be used to build the project is specified in pubspect.yaml

Where? I don't see it:
environment:
  sdk: '>=3.4.0 <4.0.0'

dependencies:
  flutter:
    sdk: flutter

No specific version. Easiest would be if you had the specific version as git submodule in your repo here.

and the script to build is in the build_minimum.dart file

Flutter embeds full paths into its native libs. So for a successful RB I'd need the absolute path this is build from (and ideally how you invoke the build). Your Kotlin app was RB btw…

sdk: '>=3.4.0 <4.0.0'

That means "any flutter version between that"? Would be much easier if it were a submodule (which is btw also what F-Droid.org recommends), so you could adjust the version by updating the submodule accordingly and one would not need to check whenever a build fails.
That said, without knowing the exact build path it makes not even sense to try :wink:


Can't build Ionic 2 app with 0.17.0

I'm trying to use the module in an Ionic 2 app, which uses Angular 2.
My package.json:
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/compiler-cli": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/http": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@angular/platform-server": "2.4.8",
"@ionic/storage": "2.0.0",
"angular2-google-maps": "0.17.0",
the build outputs this error:
build prod failed: Error encountered resolving symbol values statically. Calling function 'NoOpAnimationDriver', function calls are not supported.
The build works with version 0.16.3 and older versions from Angular 2 (2.2.1)
Is there any problem of the module with this Angular 2 version?

I think there was an issue with animations not woking with AOT in 2.4.8.
Did you try without AGM? I doubt it's this lib's fault.
On Thu, Mar 9, 2017 at 8:17 PM, Christian Benseler<EMAIL_ADDRESS>
wrote:

I'm trying to use the module in an Ionic 2 app, which uses Angular 2.
My package.json:
"@angular/common": "2.4.8",
"@angular/compiler": "2.4.8",
"@angular/compiler-cli": "2.4.8",
"@angular/core": "2.4.8",
"@angular/forms": "2.4.8",
"@angular/http": "2.4.8",
"@angular/platform-browser": "2.4.8",
"@angular/platform-browser-dynamic": "2.4.8",
"@angular/platform-server": "2.4.8",
"@ionic/storage": "2.0.0",
"angular2-google-maps": "0.17.0",
the build outputs this error:
build prod failed: Error encountered resolving symbol values statically.
Calling function 'NoOpAnimationDriver', function calls are not supported.
The build works with version 0.16.3 and older versions from Angular 2
(2.2.1)
Is there any problem of the module with this Angular 2 version?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SebastianM/angular2-google-maps/issues/927, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHTnkeA3VENb0KAiZ6aPirX8XxljuwFsks5rkFBNgaJpZM4MYguB
.

@lazarljubenovic Yeah sounds like an Animation problem. @chrisbenseler Can you check this?

@SebastianM sorry for this issue, the problem has no relation with this lib. It's a problem from an Ionic library and the AoT compiler.


Correct minor typos

This revision includes:

Correct minor typos in docs and source codes

Checklist

[x] An issue to be fixed by this PR is listed above.
[x] New tests are added to ensure new features are working. End-to-end tests are usually in the ./frb_example/pure_dart example, more specifically, rust/src/api.rs and dart/lib/main.dart.
[x] The code generator is run and the code is formatted (e.g. via just refresh_all).
[x] If this PR adds/changes features, documentations (in the ./book folder) are updated.
[x] CI is passing.

Btw what tool did you use to find typos? Curious about it

Btw what tool did you use to find typos? Curious about it

I used typos.

/cc @rogurotus - The dart_api_dl folder is changed accidentally, but the CI still passes! IIRC it should fail because the code does not match upstream. Seems like we are having some bugs in our CI that does not detect such changes correctly?

@all-contributors please add @utilForever for doc


Add a way to create hierarchical dataframes without variables

So this is supported
// DataFrame with 2 columns and 3 rows
val df = dataFrameOf(
    "name" to listOf("Alice", "Bob", "Charlie"),
    "age" to listOf(15, 20, 100)
)

But if you want to create columnGroup, you'll have to completely rewrite your code:
val name by columnOf(...) or val name = listOf().toColumn()
val age = ...
val group by columnOf(name, age)
val df = dataFrameof(group)

We add you @AndreiKingsley to be a watcher here, not the implementer

I have two options in mind
dataFrameOf {
  "name" from listOf("Alice", "Bob", "Charlie")
  "age" from listOf(15, 20, 100)
  "group" {
     "name" from listOf("Alice", "Bob", "Charlie")
      "age" from listOf(15, 20, 100)
  }
}

Or
val df = dataFrameOf(
    "name" to listOf("Alice", "Bob", "Charlie"),
    "age" to listOf(15, 20, 100),
    "group" to columnGroupOf(
          "name" to listOf("Alice", "Bob", "Charlie"),
          "age" to listOf(15, 20, 100),
    )
)

But biggest disadvantage, columnGroupOf must return List (which contradicts its name). I like second option more because it's simple.

@koperagen what's problem with
val df = dataFrameOf(
    "name" to columnOf("Alice", "Bob", "Charlie"),
    "age" to columnOf(15, 20, 100),
    "group" to columnGroupOf(
          "name" to listOf("Alice", "Bob", "Charlie"),
          "age" to listOf(15, 20, 100),
    )
)

@koperagen what's problem with
val df = dataFrameOf(
    "name" to columnOf("Alice", "Bob", "Charlie"),
    "age" to columnOf(15, 20, 100),
    "group" to columnGroupOf(
          "name" to listOf("Alice", "Bob", "Charlie"),
          "age" to listOf(15, 20, 100),
    )
)

Nice idea


How many operations should we generate for this case in the OpenAPI3 emitter ?

Typespec Playground link
In this example, I have defined something like
interface Widgets {
  // Operation Status
  @doc("Gets status of a Widget operation.")
  getWidgetOperationStatus is Operations.GetResourceOperationStatus<Widget>;
}

@client({
    name: "LoadTestAdministrationClient",
    service: Contoso.WidgetManager,
})
interface A {
  // A "global" RPC operation
  @route("service-status")
  @doc("Responds with status information about the overall service.")
  serviceStatus is RpcOperation<
    {},
    {
      statusString: string;
    },
    ServiceTraits
  >;

  // A "global" RPC operation
  @route("service-status")
  @doc("Responds with status information about the overall service.")
  serviceStatus2 is Widgets.getWidgetOperationStatus;
}

It turns out the openAPI3 emitter generated 3 operations, and in the serviceStatus2 operation, it actually respect the renaming that is defined by the interface where @ client decorator is decorated on. does this mean it somehow respects the client customization from client.tsp if we feed the entry point as client.tsp even for OpenAPI3 emitters ?
Also, Should we allow to define an independent operation in the interface that @ client is decorated on ?  Similar issue in https://github.com/Azure/typespec-azure/issues/3309

@markcowl  sorry, I am kind of getting confused, Are openAPI emitters not in this repository ?
I know that client.tsp is not used in creating openAPI, but I am think more of we should technically ignore client.tsp even if we pass it as the entry point, not by asking customer to not using it as an entry point.

@qiaozha The POR is to use client.tsp for client generation only


Correct path to genome download script in README

Please check that other paths in the README are also up to date. I'll let you know if I spot any other problems. 😄

Thanks!


Problem: All Tendermint docs have moved

Solution: Update all links to Tendermint docs
Note: Pull request #2481 already fixed a link to some Tendermint docs, so I didn't re-fix that same link in this pull request.

Codecov Report

Merging #2483 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2483   +/-   ##
=======================================
  Coverage   91.01%   91.01%
=======================================
  Files          41       41
  Lines        2383     2383
=======================================
  Hits         2169     2169
  Misses        214      214


[Actions] continuous benchmarking

As a ZITADEL contributor, I want my benchmark outputs to be collected, so that I can verify that my changes do not impact performance of ZITADEL.
Acceptance criteria:

[ ] Benchmarks are executed
[ ] Benchmark results are collected
[ ] Collected benchmark results are visible to developers
[ ] If possible: Pipeline fails if performance drops

Additional information:

Possible action: https://github.com/marketplace/actions/continuous-benchmark
Blog post: https://www.thisdot.co/blog/how-to-add-continuous-benchmarking-to-your-projects-using-github-actions/

If you're looking to add continuous benchmarking to ZITADEL, consider checking out Bencher: https://github.com/bencherdev/bencher
I'm the lead maintainer, so I'm more than happy to help answer any questions.

Hi @epompeii
Interesting project 👍
Does it support k6?

Does it support k6?

Bencher does not currently support k6. This has more to do with me not being sure if supporting HTTP load testing tools is the right fit for Bencher.
Currently, Bencher's main focus is on storing benchmark results. These usually only consist of a few aggregate statistics, like mean + std dev or median + quartiles.
As a user of k6, would you be happy with just a few aggregate statistics? Such as mean, p95, and p99 or would you want to be able to see the result from every single HTTP request?

Bencher does not currently support k6. This has more to do with me not being sure if supporting HTTP load testing tools is the right fit for Bencher.

Fair point, write my thoughts below.

Currently, Bencher's main focus is on storing benchmark results. These usually only consist of a few aggregate statistics, like mean + std dev or median + quartiles.

I think thats perfectly fine if I have the possibility to get the details for the action run.

As a user of k6, would you be happy with just a few aggregate statistics? Such as mean, p95, and p99 or would you want to be able to see the result from every single HTTP request?

If I can define a Trend per test I'm happy with it. We currently use trends for every endpoint called and sometimes we call multiple endpoints during a single test so I guess for a starting point I would be interested if the test in general slows down and if it slows down I will drilldown. Hope that somehow makes sense 😅


No deprecation warnings

I personally prefer to keep the warnings.
Also, actually there isn't any of them.

bruh


Gauges "CPU System Load" of Node Exporter Full 0.16 dashboard appearing red with values > 100%

I am running Node Exporter 0.16.0-rc.2 on such Linux system
Linux XXXXXXXXXXX 3.10.0-693.11.6.el7.x86_64 GNU/Linux
producing such metrics: NodeExporter_Metrics.txt
The grafana dashboard Node Exporter Full 0.16 shows me gauges "CPU System Load" appearing red with values > 100%:

How is it to interpret?

Yes because as you have 18.16 process trying to get the running state at the same time and you only have 8 cores for their execution, the system is overloaded in 227%.

@rfrail3 how to create that(system load 1m avg) particular card ?


Exception has occurred: TypeError 'NoneType' object is not subscriptable

why this error happened in evaluation for some csv file when filestream  ?
hi , when i want to Filestream from a csv file i got this message error ."Exception has occurred: TypeError
'NoneType' object is not subscriptable."
for example for music.csv in datasets folder, i got this message too.
for some datasets it works fine , but for some doesnt. for ex, i generate a datastream and save it to csv file and when i want to filestream it , i got that error message.for others like moving_squares or sea_stream it works.
i want to generate a stream from stream generate and save the stream generator to a csv file and add come columns to that csv file and then Filestream that updated csv file , but i got this error in evaluation. ,first i think it was for float numbers , i cant solve the problem . for some csv file int values it does works .
@jacobmontiel
[Note: For comments and usage-related questions please consider the users group.

Hello @samiraat
I couldn't replicate the error you mention. Could you provide a MWE with the steps to trigger the error?
This is what I used for the music dataset:
from skmultiflow.data import FileStream

stream = FileStream("src/skmultiflow/data/datasets/music.csv", 0, 6)
stream.prepare_for_use()

Notice that the music datasets contains the labels from column 0-5.

`#>>> # Setting up the stream
generate = HyperplaneGenerator ( random_state = 112, n_features= 8, noise_percentage = 0)
generate.prepare_for_use()
#>>> # Retrieving one sample
generate.next_sample()
#>>> # Retrieving 10 samples
x , y = generate.next_sample(5000)
#>>> # Generators will have infinite remaining instances, so it returns -1
generate.n_remaining_samples()
generate.has_more_samples()
df = pd.DataFrame(np.hstack((x,np.array([y]).T)))
array = np.hstack((x,np.array([y]).T))
pd.DataFrame(array).to_csv('/home/samira/Projects/Thesis/src/dataset/file.csv', index = None)
stream = FileStream('/home/samira/Projects/Thesis/src/incremental_decision_tree-CART-Random_Forest_python-master/dataset/file.csv')
####### here i want to add some column to array and then save it ################
array2 = global_workspace(array)### add some column to array
dff = pd.DataFrame(array2)
dff.to_csv(path_or_buf='/home/samira/Projects/Thesis/src/dataset/sam.csv' ,sep= ',',index=False)
##################################################3
2. Instantiate the HoeffdingTree classifier
ht = HoeffdingTree()
3. Setup the evaluator
evaluator = EvaluatePrequential(show_plot=True,
pretrain_size=200,
max_samples=5000,
metrics=['accuracy']
)
4. Run evaluation
evaluator.evaluate(stream=stream, model=ht)`
here  i got this error
Exception has occurred: TypeError
'NoneType' object is not subscriptable
thank you for your response
if also i dont add column i got this error

Thanks @samiraat
The error is raised by the data type of the class data. For classification, the expected data type is int. FileStream uses the target column data type to infer if the data corresponds to classification (int) or regression (float).
A straightforward solution is as follows:
df = pd.DataFrame(np.hstack((x, np.array([y]).T.astype(int))))  # all columns are set as float
df = df.astype({8:int})   # Cast the last column to int
df.to_csv('file.csv')       # write the file with the correct types for classification

Using this new file raises no errors. In summary, use int to define classification targets (class).

`from skmultiflow.data.hyper_plane_generator import HyperplaneGenerator
from skmultiflow.trees import HoeffdingTree
from skmultiflow.evaluation import EvaluatePrequential
from skmultiflow.data.file_stream import FileStream
import pandas as pd
import numpy as np
#>>> # Setting up the stream
generate = HyperplaneGenerator ( random_state = 112, n_features= 8, noise_percentage = 0)                               #n_drift_features =4,
generate.prepare_for_use()
#>>> # Retrieving one sample
generate.next_sample()
#>>> # Retrieving 10 samples
x , y = generate.next_sample(5000)
#>>> # Generators will have infinite remaining instances, so it returns -1
generate.n_remaining_samples()
generate.has_more_samples()
df = pd.DataFrame(np.hstack((x, np.array([y]).T.astype(int))))  # all columns are set as float
df = df.astype({8:int})   # Cast the last column to int
df.to_csv('/home/samira/Projects/Thesis/src/incremental_decision_tree-CART-Random_Forest_python-master/dataset/file.csv' ,index=False)       # write the file with the correct types for classification
stream = FileStream('/home/samira/Projects/Thesis/src/incremental_decision_tree-CART-Random_Forest_python-master/dataset/file.csv')
2. Instantiate the HoeffdingTree classifier
ht = HoeffdingTree()
3. Setup the evaluator
evaluator = EvaluatePrequential(show_plot=True,
pretrain_size=200,
max_samples=5000,
metrics=['accuracy']
)
4. Run evaluation
evaluator.evaluate(stream=stream, model=ht)`
i write this but still get that error.

I tried the code above and it works. Are you sure that the file in being correctly generated/read (df.to_csv(...))?
You can validate the stream before passing it to the evaluator by calling:
>>> stream.target_values
>>> [0, 1]

If you get [float] the data is considered as a regression problem and will raise the error.

you know i see in file.csv target show int , but
array = dff.values print ("array",array)
array [[0.344983   0.37854446 0.78476361 ... 0.29006973 0.04500817 0.        ]
[0.73653322 0.83921149 0.70936161 ... 0.50315448 0.76353033 1.        ]
[0.72195738 0.21415209 0.76309258 ... 0.23435109 0.54902872 1.        ]
...
[0.94708062 0.60475618 0.98433661 ... 0.51317283 0.03259431 0.        ]
[0.35267571 0.19393065 0.29854344 ... 0.70772311 0.85151878 0.        ]
[0.32297207 0.90823828 0.73929099 ... 0.62148848 0.88663669 0.        ]]
but it shows float .
print("target ", stream.target_values)
target  None
thanks for your help

The  values property in pandas' DataFrames returns a numpy representation of the data. You see all floats because numpy's ndarray does not support mixed data types, on the other hand pandas' dataframes support mixed types. You can use the dataframe's dtypes property to confirm the data type of each column.
About the None when calling stream.target_values my assumption is that you are calling it before stream.prepare_for_use()
Here is the code I used:
from skmultiflow.data import HyperplaneGenerator
from skmultiflow.trees import HoeffdingTree
from skmultiflow.evaluation import EvaluatePrequential
from skmultiflow.data.file_stream import FileStream
import pandas as pd
import numpy as np
generate = HyperplaneGenerator ( random_state = 112, n_features= 8, noise_percentage = 0)
generate.prepare_for_use()
x , y = generate.next_sample(5000)
df = pd.DataFrame(np.hstack((x, np.array([y]).T)))  # all columns are set as float
df = df.astype({8:int})                             # Cast the last column to int
df.to_csv('file.csv', index=False)
stream = FileStream('file.csv')
stream.prepare_for_use()
ht = HoeffdingTree()
evaluator = EvaluatePrequential(show_plot=True,
pretrain_size=200,
max_samples=5000,
metrics=['accuracy']
)
evaluator.evaluate(stream=stream, model=ht)

Checking the data types in the data frame used to generate the file:
df.dtypes
Out[3]:
0    float64
1    float64
2    float64
3    float64
4    float64
5    float64
6    float64
7    float64
8      int64
dtype: object

Closing this non-issue thread.

thanks for ur help, it works.

how can i print split nodes for hoeffding tree?

Calling the get_model_description() method of the trained HoeffdingTree object

Leaf = Class 1 | {0: 139.0, 1: 261.0}
that print like this , what does it mean ?

The class of the leaf node and its distribution. If you get a single node it means that the tree has not seen enough data to perform a split. Here is an example of a tree with a split node on the root (attribute 7) and its two leaves:
if Attribute 7 <= 0.545663049533489:
  Leaf = Class 0 | {0: 1788.339296113556, 1: 1020.3104876835946}
if Attribute 7 > 0.545663049533489:
  Leaf = Class 1 | {0:<PHONE_NUMBER>86444, 1: 1389.6895123164054}

And the same tree trained with double the number of sample:
if Attribute 7 <= 0.545663049533489:
  if Attribute 2 <= 0.5455084120220284:
    Leaf = Class 0 | {0: 1532.3618909765974, 1:<PHONE_NUMBER>943195}
  if Attribute 2 > 0.5455084120220284:
    Leaf = Class 1 | {0:<PHONE_NUMBER>234028, 1:<PHONE_NUMBER>056805}
if Attribute 7 > 0.545663049533489:
  if Attribute 2 <= 0.45478498341966755:
    Leaf = Class 1 | {0:<PHONE_NUMBER>936137, 1:<PHONE_NUMBER>666057}
  if Attribute 2 > 0.45478498341966755:
    Leaf = Class 1 | {0:<PHONE_NUMBER>063864, 1: 1198.7279482333943}

you are right.

can i just save the attributes select for spilit and their depth?

can i do Prequential Cross-Validation Evaluation ?

can i just save the attributes select for spilit and their depth?

Not natively, but you could parse the string.

can i do Prequential Cross-Validation Evaluation ?

This is not currently supported.
For further questions, please use the user's group
Cheers

tnx a lot

If you need a fully details about this issue, Visit Python - TypeError – NoneType Object not Subscriptable it will helps you a lot.