With identical settings, cjxl creates significantly smaller (lossy) JXL files than using libjxl directly

Describe the bug
Transcoding JPEG images with lossy compression using cjxl creates significantly smaller JPEG-XL images than when the libjxl library is used directly, even with the same settings. For example, a 42mb image is compressed to 2mb with cjxl, but only 39mb with libjxl.
This is potentially operator error. If so, I'm willing to raise a PR to add my example to the /examples directory to help future users.
To Reproduce
Gist of minimal C++ program here. Reads a JPEG file, encodes it with some settings, saves it.
Error handling is included in the minimal example to rule out situations like a misconfiguration causing JxlEncoderFrameSettingsSetOption to fail silently, causing unexpected behaviour.
Compare the size of the resulting file to:
cjxl input.jpg output.jxl \
  --lossless_jpeg 0 \
  --distance 2.5 \
  --effort 9 \
  --brotli_effort 8 \
  --jpeg_store_metadata 0 \
  --progressive_ac \
  --qprogressive_ac
  --resampling 1 \
  --epf 1 \
  --gaborish 1

They should be the same, but they are not.

Inline code for posterity
Usage
> make
> ./main image.jpg output.jxl

Makefile
COPTS=-std=c++17 -Wall
INCLUDE=-I/usr/local/include/jxl/ -L/usr/local/lib/
LIBS=-ljxl -ljxl_threads
BIN=main

$(BIN): main.cc
	clang++ $(COPTS) $(INCLUDE) $(LIBS) -o $@ $<

.PHONY: clean
clean:
	rm $(BIN)

main.cc
/**
 * Run with ./main <input jpeg path> <output jxl path>.
 *
 * A minimal example of taking a JPEG and re-encoding it as a JPEG-XL image with
 * a variety of encoder settings.
 */
#include <jxl/encode.h>
#include <jxl/encode_cxx.h>
#include <jxl/jxl_export.h>
#include <jxl/thread_parallel_runner.h>
#include <jxl/thread_parallel_runner_cxx.h>

#include <climits>
#include <iostream>
#include <sstream>
#include <vector>

#define DISTANCE 2.5
#define ENCODER_EFFORT 9
#define RESAMPLING 1
#define BROTLI_EFFORT 8
#define DECODE_SPEED 0
#define PROGRESSIVE_AC true
#define QPROGRESSIVE_AC true
#define EPF 1
#define GABORISH true

int transcode(const std::vector<uint8_t>& inbuf, std::vector<uint8_t>& outbuf) {
  auto enc = JxlEncoderMake(nullptr);

  if (JXL_ENC_SUCCESS != JxlEncoderStoreJPEGMetadata(enc.get(), false)) {
    fprintf(stderr, "Failed to set not keep JPEG metadata\n");
    return EXIT_FAILURE;
  }

  // Since this is called without previously calling `JxlEncoderSetBasicInfo` or
  // `JxlEncoderSetColorEncoding`, it will infer the parameters from the JPEG.
  auto frame_settings = JxlEncoderFrameSettingsCreate(enc.get(), nullptr);

  if (JXL_ENC_SUCCESS != JxlEncoderSetFrameLossless(frame_settings, false)) {
    fprintf(stderr, "Failed to set not lossless\n");
    return EXIT_FAILURE;
  }

  printf("Distance: %f\n", DISTANCE);
  if (JXL_ENC_SUCCESS != JxlEncoderSetFrameDistance(frame_settings, DISTANCE)) {
    fprintf(stderr, "Failed to set frame distance\n");
    return EXIT_FAILURE;
  }

  printf("Encoder effort: %d\n", ENCODER_EFFORT);
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_EFFORT, ENCODER_EFFORT)) {
    fprintf(stderr, "Failed to set effort\n");
    return EXIT_FAILURE;
  }

  printf("Resampling: %d\n", RESAMPLING);
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_RESAMPLING, RESAMPLING)) {
    fprintf(stderr, "Failed to set effort\n");
    return EXIT_FAILURE;
  }

  printf("Brotli effort: %d\n", BROTLI_EFFORT);
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_BROTLI_EFFORT, BROTLI_EFFORT)) {
    fprintf(stderr, "Failed to set effort\n");
    return EXIT_FAILURE;
  }

  printf("Decoding speed: %d\n", DECODE_SPEED);
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_DECODING_SPEED, DECODE_SPEED)) {
    fprintf(stderr, "Failed to set decode speed\n");
    return EXIT_FAILURE;
  }

  printf("Keep EXIF: false\n");
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_JPEG_KEEP_EXIF, false)) {
    fprintf(stderr, "Failed to set keep EXIF\n");
    return EXIT_FAILURE;
  }

  printf("Keep XMP: false\n");
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_JPEG_KEEP_XMP, false)) {
    fprintf(stderr, "Failed to set keep XMP\n");
    return EXIT_FAILURE;
  }

  printf("Keep JUMBF: false\n");
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_JPEG_KEEP_JUMBF, false)) {
    fprintf(stderr, "Failed to set keep JUMBF\n");
    return EXIT_FAILURE;
  }

  printf("Progressive AC: %d\n", PROGRESSIVE_AC);
  if (JXL_ENC_SUCCESS != JxlEncoderFrameSettingsSetOption(
                             frame_settings,
                             JXL_ENC_FRAME_SETTING_PROGRESSIVE_AC,
                             PROGRESSIVE_AC)) {
    fprintf(stderr, "Failed to set progressive AC\n");
    return EXIT_FAILURE;
  }

  printf("Q Progressive AC: %d\n", QPROGRESSIVE_AC);
  if (JXL_ENC_SUCCESS != JxlEncoderFrameSettingsSetOption(
                             frame_settings,
                             JXL_ENC_FRAME_SETTING_QPROGRESSIVE_AC,
                             QPROGRESSIVE_AC)) {
    fprintf(stderr, "Failed to set Q progressive AC\n");
    return EXIT_FAILURE;
  }

  printf("Compress JPEG metadata boxes: true\n");
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_JPEG_COMPRESS_BOXES, 1)) {
    fprintf(stderr, "Failed to set compress jpeg metadata boxes\n");
    return EXIT_FAILURE;
  }

  printf("Gaborish: %d\n", GABORISH);
  if (JXL_ENC_SUCCESS !=
      JxlEncoderFrameSettingsSetOption(
          frame_settings, JXL_ENC_FRAME_SETTING_GABORISH, GABORISH)) {
    fprintf(stderr, "Failed to set set gaborish\n");
    return EXIT_FAILURE;
  }

  printf("EPF strength: %d\n", EPF);
  if (JXL_ENC_SUCCESS != JxlEncoderFrameSettingsSetOption(
                             frame_settings, JXL_ENC_FRAME_SETTING_EPF, EPF)) {
    fprintf(stderr, "Failed to set set epf\n");
    return EXIT_FAILURE;
  }

  if (JXL_ENC_SUCCESS !=
      JxlEncoderAddJPEGFrame(frame_settings, inbuf.data(), inbuf.size())) {
    fprintf(stderr, "Failed to add JPEG frame\n");
    return EXIT_FAILURE;
  }

  // Still images only have one frame.
  JxlEncoderCloseInput(enc.get());

  // Defer threadcount to std::thread::hardware_concurrency
  auto runner = JxlThreadParallelRunnerMake(
      nullptr, JxlThreadParallelRunnerDefaultNumWorkerThreads());
  if (JXL_ENC_SUCCESS !=
      JxlEncoderSetParallelRunner(
          enc.get(), JxlThreadParallelRunner, runner.get())) {
    fprintf(stderr, "Failed to create parallel runner\n");
    return EXIT_FAILURE;
  }

  outbuf.resize(64);
  auto next_out = outbuf.data();
  auto avail_out = outbuf.size() - (next_out - outbuf.data());

  // JxlEncoderProcessOutput must be called repeatedly. It's return code
  // indicates whether or not more bytes are needed in the output buffer, so we
  // need to handle this case and resize it where necessary.
  auto res = JXL_ENC_NEED_MORE_OUTPUT;
  while (res == JXL_ENC_NEED_MORE_OUTPUT) {
    if (JXL_ENC_SUCCESS !=
        (res = JxlEncoderProcessOutput(enc.get(), &next_out, &avail_out))) {
      auto offset = next_out - outbuf.data();
      outbuf.resize(outbuf.size() * 2);
      next_out = outbuf.data() + offset;
      avail_out = outbuf.size() - offset;
    }
  }

  outbuf.resize(next_out - outbuf.data());
  if (JXL_ENC_SUCCESS != res) {
    fprintf(stderr, "Failed to process JXL output\n");
    return EXIT_FAILURE;
  }

  return EXIT_SUCCESS;
}

int read_file(const char* path, std::vector<uint8_t>& buf) {
  FILE* file = fopen(path, "r");
  if (!file) {
    fprintf(stderr, "Could not open the file\n");
    return EXIT_FAILURE;
  }

  if (fseek(file, 0, SEEK_END) != 0) {
    fprintf(stderr, "Could not find the end of the file\n");
    fclose(file);
    return EXIT_FAILURE;
  }

  long size = ftell(file);
  if (size >= LONG_MAX || size < 0) {
    fprintf(stderr, "File is either too big or it's a directory\n");
    fclose(file);
    return EXIT_FAILURE;
  }

  if (fseek(file, 0, SEEK_SET) != 0) {
    fprintf(stderr, "Failed to reset file cursor\n");
    fclose(file);
    return EXIT_FAILURE;
  }

  buf.resize(size);

  auto read_count = fread(buf.data(), 1, size, file);
  if ((long)read_count != size) {
    fprintf(stderr, "Failed to read from file\n");
    fclose(file);
    return EXIT_FAILURE;
  }

  if (fclose(file) != 0) {
    fprintf(stderr, "Failed to close the file\n");
    return EXIT_FAILURE;
  }

  return EXIT_SUCCESS;
}

int write_file(const std::vector<uint8_t>& buf, const char* filename) {
  auto file = fopen(filename, "wb");
  if (!file) {
    fprintf(stderr, "Could not open the file\n");
    return EXIT_FAILURE;
  }

  if (fwrite(buf.data(), sizeof(uint8_t), buf.size(), file) != buf.size()) {
    fprintf(stderr, "Could not write bytes to %s\n", filename);
    fclose(file);
    return EXIT_FAILURE;
  }

  if (fclose(file) != 0) {
    fprintf(stderr, "Could not close %s\n", filename);
    return EXIT_FAILURE;
  }

  return EXIT_SUCCESS;
}

int main(int argc, const char** argv) {
  if (argc < 3) {
    fprintf(stderr, "Usage: %s <filepath> <outpath>\n", argv[0]);
    return 1;
  }

  std::vector<uint8_t> jpeg;
  if (read_file(argv[1], jpeg) != EXIT_SUCCESS) {
    fprintf(stderr, "Failed to read file data\n");
    return EXIT_FAILURE;
  }

  std::vector<uint8_t> jxl;
  if (transcode(jpeg, jxl) != EXIT_SUCCESS) {
    fprintf(stderr, "Failed to recompress JPEG into JXL\n");
    return EXIT_FAILURE;
  }

  if (write_file(jxl, argv[2]) != EXIT_SUCCESS) {
    fprintf(stderr, "Failed to write JXL file\n");
    return EXIT_FAILURE;
  }

  return EXIT_SUCCESS;
}

Expected behavior
When using the same parameters, I expect to get the same JPEG-XL image from either cjxl or the libjxl library.
Environment

OS: MacOS running Ubuntu in a VM
Compiler version: Ubuntu clang version 15.0.7, target: x86_64-pc-linux-gnu, thread model: posix
CPU type: M1
cjxl version string: cjxl v0.10.0 77b9977b [SSE4,SSE2]

@antermin I've updated the example with:
  if (JXL_ENC_SUCCESS != JxlEncoderStoreJPEGMetadata(enc.get(), false)) {
    fprintf(stderr, "Failed to set not keep JPEG metadata\n");
    return EXIT_FAILURE;
  }

But it still doesn't give the same sized result image, sadly. I believe all the metadata is already been stripped since the example disables:

JXL_ENC_FRAME_SETTING_JPEG_KEEP_EXIF
JXL_ENC_FRAME_SETTING_JPEG_KEEP_XMP
JXL_ENC_FRAME_SETTING_JPEG_KEEP_JUMBF

When you call JxlEncoderAddJPEGFrame before setting JxlBasicInfo, it does this:
https://github.com/libjxl/libjxl/blob/f5a4d64e5f91069f76ac086984053a1264e885c1/lib/jxl/encode.cc#L2037
...which prevents it converting the colorspace to XYB for lossy encoding.  I'd guess that's the difference.  You might need to set the basic info explicitly.  Unfortunately I can't see a way of amending the basic info created automatically for the JPEG frame.

The problem is that JxlEncoderAddJPEGFrame is specifically designed to use JPEG transcoding. If you want to do pixels-to-jpeg you need to decode the JPEG yourself (perhaps via libjpeg-turbo) and send a pixel buffer to libjxl. It won't decode JPEG frames you send to it.

It could be made clearer in the documentation that JxlEncoderAddJPEGFrame can only be used to losslessly store the given JPEG image data (either in a reconstructable way or not), and that encode settings such as distance will be ignored.

Thanks everyone! I expect that's exactly what's happening.
@jonsneyers I've raised a PR #3222 adding this extra documentation. That should resolve this issue imo

#3222 is merged, so this issue is solved 👍


test: TestReleaseUpgrade fails

--- FAIL: TestReleaseUpgrade (1.24s)
	etcd_release_upgrade_test.go:78: error restarting etcd process (read /dev/ptmx: input/output error)
	etcd_release_upgrade_test.go:47: error closing etcd processes (exit status 1)

@heyitsanthony I can only reproduce with concurrent run on this test.
go test -v -run TestReleaseUpgrade &
go test -v -run TestReleaseUpgrade

Have you ever seen Semaphore running tests concurrently?
Our test script runs only sequentially as far as I can tell.

@gyuho e2e tests shouldn't run concurrently. Maybe something (TIME_WAIT connections?) is keeping the port from rebinding on etcdserver restart? Only the release upgrade test is doing one-by-one restart...

This is most likely from the OS (reproducible with conflicting ports)
2016-08-08 12:28:21.139648 I | etcdmain: setting maximum number of CPUs to 8, total number of available CPUs is 8
2016-08-08 12:28:21.139786 C | etcdmain: listen tcp <IP_ADDRESS>:20001: bind: address already in use
2016-08-08 12:28:21.139875 C | etcdmain: listen tcp <IP_ADDRESS>:20003: bind: address already in use
--- FAIL: TestReleaseUpgrade (0.01s)
	etcd_release_upgrade_test.go:43: could not start etcd process cluster (read /dev/ptmx: input/output error)

The port might not have been freed up by the time we restart the cluster with the same port.

@gyuho Do you print out logging by default? Anything we can do to improve it by avoiding the port issue?

I will try what Anthony suggested

keeping the port from rebinding on etcdserver restart?


Error --- bitcoind on Ubuntu 20.04

We faced this below issue. Let me know how to resolve this issue.
E: Unable to locate package bitcoind
ERROR: Service 'btc-watch' failed to build

I switched docker image for bitcoind to https://hub.docker.com/r/lncm/bitcoind
For now, no deeds to build anymore.
Thanks for telling me :)

Is it possible to run this [go-crypto-wallet] without docker installation.

application depends on database and blockchain node like btc, eth. But I'm thinking to develop mock node for unittest.

Hi,
Thanks for your reply and support.
As I had deployed the container but unfortunately few containers are not exec and I can't able to sh into it.

I had attached the reference screenshot.

It may be timing issue because I pushed wrong code and tweaked later. Could you pull latest code and rebuild container again?

HI,
Yeah, I have done the new build as well but still, some containers are not up. could you please let us know?
Even I tried your local docker-compose.yml file it showed some errors.

git source.
local code.
![Git source](https://user-images.githubusercontent.com/52325658/153124429-

6a247bb5-8581-4278-bba9-7ba976c18ddc.png)

I had attached the screenshots kindly review them and give us your feedback

Could you tell me compose logs of containers which exited?

try bitcoind container one by one.
rm -rf docker/nodes/btc/data1
rm -rf docker/nodes/btc/data2
rm -rf docker/nodes/btc/data3
docker compose up btc-watch

I'm getting below error if I start

docker compose up btc-watch

removing any data to initialize would be solution by rm -rf docker/nodes/btc/data1 before running.

I had done it it's still same error

Please remove any containers completely before running.
Even if you still face error, I'm using testnet always then I don't have any problem.
Copy bitcoin.conf into dataX directory according to comments of docker-compose.yml

I had done the changes as you said & I had checked with your last commit as well.
But unfortunately, It's not working
FYI: I had truncated all the images and containers before I deploy the containers every time.

Running container's

Container deployed

It would be environmental issue. I'm using it on
MacOS 10.15.7,
Docker version 20.10.12, build e91ed57
running on testnet

I don't know OS or docker version

But error looks permission problem to write files or directory. could you check data directory mounted?

My environment I'm using
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal

Okay I will check with docker-compose.yml file and will get back to you

Hello I'm new in this will help me how i start ??

@manali1903
Could you read documentation?

@hiromaily
I read it, but nothing works and gives me errors.

@manali1903
Please note your environment and error

I need to tweak configurations for ethereum The Merge. Give me some time to do that.

@manali1903
result looks you didn't set any environment variables.
What environment variables are .envrc
It is mentioned at number 4 in https://github.com/hiromaily/go-crypto-wallet/blob/master/docs/Installation.md#common-setup

@hiromaily
I already set that path i didn't change in .envrc file

@manali1903
error message occurred at https://github.com/hiromaily/go-crypto-wallet/blob/b13754532427661a76284647b248b9bfa218f549/pkg/account/toml.go#L29
This means toml config file is not found.
Reasons could be

environment variables are not set
file is not existing

What happens by command echo $ETH_WATCH_WALLET_CONF ??

@hiromaily

@manali1903
just add -conf argument with config path.
For example keygen -conf <full_path>eth_keygen.toml


[BUG][Core] ChunJun can not find class of connector.

Describe the bug
Use 'chunjunDistDir' replace 'flinkxDistDir', then task failed with ClassNotFoundException.

PR merged.


Side bar sub menu FLAPPING

Side nav bar sub menu's list are flapping in mobile and in tab....

What do you mean by flapping? Did you try this on the current gentelella version and not the demo?

When i click on menu in tab or in mobile it will open sub menus drop down and it will close immediately, it is not letting to do any further action.

Check to make sure you are not loading 'js/custom.js' multiple times.  I had this happen and found I was loading it more than once on a page.

This is the fix for this problem https://github.com/puikinsh/gentelella/pull/172


test($compile): work around Chrome (Windows) bug with reported size for <foreignObject>

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fixes two tests on Chrome 53-54+ (on Windows).
What is the current behavior? (You can also link to an open issue here)
These tests are currently failing on Chrome+Windows, because the reported size of the inner divs is 25x25 (instead of the expected 20x20).
See also #15333.
What is the new behavior (if this is a feature change)?
The assertion condition is relaxed and the tests pass. This is OK, because what we need to assert is that the content haas been transcluded correctly. Whether the style of width: 20px is applied/reported correctly by the browser is not the focus of the test.
Does this PR introduce a breaking change?
No.
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
Chrome 53-54+ on Windows (only) reports a 25% larger size for <foreignObject> elements and their
descendants (although the size is actually correct on the page). For example,
<foreignObject style="width: 100px; height: 100px;">...</foreignObject>, will be reported by
getBoundingClientRect() as being 125px x 125px, although it will be 100px x 100px as
expected.
Fixes #15333

Actually, it seems to be affected by display and browser settings, such as global font and browser-wide zoom level :(

So, this is not the right fix :(


feat: Remove repl subcommand

Related Issue

Fixes #46

make a function called run. then set it as Run field value. in same file

done


ReCaptcha::__construct, Adding of Doc comment that doesn't contain necessary @throws tags.

ReCaptcha::__construct($secret, RequestMethod $requestMethod = null), Adding of Doc comment that doesn't contain necessary @throws tags.

https://www.drupal.org/files/issues/2604730.patch

Thanks for raising!


Add support for pashto and dari languages

As the Jalali calendar is used in Afghanistan as well, this library fits our needs perfectly here, except for the the names of the months, which needs to be translated to Dari and Pashto
Just as the support of Farsi is added, if you could add support for Dari (fa-AF) and Pashto (ps) as well.
I have checked the library code and I think the only modification we will need is to make the locale to be chosen from three languages rather then just 'fa' and add moment.updateLocale('fa-AF', {}) and moment.updateLocale('ps', {}) for the two languages.
I can provide the locale objects for both the languages if you agree to add them and will provide any further technical assistance if required.

Yes I think so, there shouldn't be any problem
Try the idea and let us know in this issue
then we will merge it or add a link to the fork that you have created.

Sure, I will implement the feature and will let you know.

@fingerpich how can I make a PR is there any .ts file. as it seems files inside library are build files. I mean should I directly change these files are you provide the actual .ts or any high level files

The main code is in jalali-moment.js file.


Typo in next steps section

There is a typo in Next steps section at bottom of the page.

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

ID: 78fc931a-ed1e-13bb-034d-617471ba2f18
Version Independent ID: 56c9fbfc-c6c0-d70c-712e-f83e68faa9b8
Content: Overview of Live streaming with Azure Media Services v3 - Azure Media Services
Content Source: articles/media-services/latest/live-streaming-overview.md
Service: media-services
GitHub Login: @Juliako
Microsoft Alias: juliako

@karabasosman Thanks for the feedback! We are currently investigating and will update you shortly.

@karabasosman Thanks again for the feedback! I have created PR for this and it will be visible soon.


Raspberry Pi dess tutorial

- What I did
Created a tutorial for dess on a Raspberry Pi
- How I did it
Created it using Markdown
- How to verify it

Clone this repo
Run npm install and npm run start
Navigate to http://localhost:[port]/docs/tutorials/dess/rpi/

- Description for the changelog
Dess tutorial added for Raspberry Pi

Great! I just merged this, can you now open a PR from this branch to trunk?
In the meantime I will review it.


[Ameba] Support OTA requestor app

Problem

Support OTA requestor app

Change overview

Update chip.cmake file
Add examples/ota-requestor-app files
Add AmebaOTAImageProcessor file in src/platform/Ameba

Testing
Tested otar function

/rebase

/rebase

/rebase

/rebase

This PR is currently on-hold due to the auto-build error. The fix of the error will be applied in the next Ameba SDK update soon.

The fix for this auto-build failure has been raised in PR #13488 and PR #13489.

/rebase

/rebase

Hi @andy31415  @woody-apple ,
Could you please help to review this PR, the auto-build has all passed. Thanks!

/rebase

/rebase

/rebase

Hi @andy31415,
Could you please help to check this PR, Thanks!!

Hi @andy31415, @woody-apple
Shall we consider merging this PR first? As this PR defines the macro used in PR #13708, which blocks its auto-build process.
Thanks!

Hi @andy31415,
Could you help to merge this PR?
Please let me know if there i missed anything for this PR, many thanks!


Sony stamina mode can be checked

According to this answer on StackOverflow and this blog post it is possible to detect whether Stamina is on.
But it does only detect if Stamina mode is enabled, not whether this mode is currently in use.
It's an unofficial way, but at least something.

Great news.. by thanks for this information. I did update the Sony entry based on your feedback. Please let me know if you have any comments..
https://dontkillmyapp.com/sony


System srolls global canvas back if we add next structure from PPT file in addition to previously added

Steps to Reproduce

Click Open... button (Ctrl+O)
Select open from file
Select file: ARROWS.pptx
Click Open
Click Open as New File
System adds Structure 1 to the canvas - ok
Open same file again and add Structure 2 on the canvas using Add to Canvas button

https://github.com/epam/ketcher/assets/26869421/ba126f5a-5809-485b-8b45-d0ef55e20fa9
Actual behavior
System scrolls up global canvas
Expected behavior
System keeps global canvas in place
Environment details:

Ketcher Version 2.18.0-rc.5 Build at 2024-02-09; 17:07:18
Indigo Toolkit Version 1.18.0-rc.6.3-gdb6a7f5e-wasm32-wasm-clang-12.0.0
Chrome Version Version 121.0.6167.161 (Official Build) (64-bit)
Win10
Issue found while testing https://github.com/epam/ketcher/issues/3914

Moved to Refined Backlog since no fix over 3 versions


NonSend resources cannot be accessed using World::resource_scope

The current bound on World::resource_scope is too tight: we require Send + Sync in the form of the Resource trait, when there's no need for it.
As a result, there's no way to use resource_scope with NonSend resources, which is a frustrating inconsistency.

#6037 was also asking for this, and #6113 added support for this in World::resource_scope.
Closing this issue as this is already done.
However, #6534 is potentially looking to remove support for this as NonSend resources are likely to be moved outside of World in the future, should #6534 be merged and someone was actually reliant on this functionality, this issue should be reopened.

What is the recommended way to do this on 0.11?

Use a SystemState.


NavigationViewItem does not respect disabled foreground

Describe the bug
If NavigationViewItem visibility is Collapsed at start and became visible when NavigationView is disabled, the NavigationViewItem is rendered as it was enabled.
Steps to reproduce the bug
Add NavigationView IsEnabled="False", with a NavigationViewItem Visibility="Collapsed". Set NavigationViewItem Visibility="Visible"
Expected behavior
I expected the item to be displayed with the disabled (light gray) foreground.
If you toggle again the NavigationView IsEnabled property or NavigationViewItem Visibility it worked as expected.
Screenshots

Result:

Expected:

NuGet package version:
Microsoft.UI.Xaml 2.1.19040

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2018 Update (17763)
Yes

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Anniversary Update (14393)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Additional context

Thanks for the report! Disabling NavigationView isn't something we've really designed for. This should work, maybe there's a bug in the VSM or template bindings that make it not work?
We would be happy for you to contribute a fix if you know what the issue is. :)

I'll try to find why it doesn't work.

I'm having a similar issue, maybe the same root cause, with WinUI 2.4. Setting IsEnabled on a NavigationViewItem doesn't always repaint with the disabled/light foreground correct. If I expand or collapse the NavigationView, it repaints the correct foreground/background color. My screenshots look similar to @Psykobal, but I'm not doing anything with Visibility on the NavigationViewItem -- they're all just static XAML NavigationViewItems, and I'm setting the IsEnabled property on them directly in the code-behind.
Is this the kind of thing that might get looked at for WinUI 2.5 by the team, or is the team not really focused on WinUI 2.* maintenance?

@pettys This issue appears to be fixed on the newest WInUI 2.5 preview builds. Can you confirm that?

Yes! My particular issue is fixed in 2.5.0-prerelease.200708003. Thanks!!!

Thanks @Felix-Dev  for verifying.

@Felix-Dev 2.4.2 doesn't work as expected (they all appear as disabled the first time) but with the 2.5.0-prerelease.200708003 it's better, thanks!
I still have an issue, if you select an item (collapsed at start) before it was drawn for the first time (but after the visibility changed), the selected indicator is missing.
I end up setting opacity = 0 at startup and then setting manually the visibility binding and opacity = 100 to fix both.

@Psykobal could you open a new bug on that issue so we can track it? :)

@StephenLPeters  Done: https://github.com/microsoft/microsoft-ui-xaml/issues/2941, I made a simple project to reproduce it.


Use of unstable library features (E0658)

Not sure if its anything to do with my particulate system but when i tried to install skim via cargo, cargo install skim
It gave me this error;
    Updating crates.io index
  Installing skim v0.10.4
    Updating crates.io index
   Compiling autocfg v1.2.0
   Compiling proc-macro2 v1.0.80
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.153
   Compiling crossbeam-utils v0.8.19
   Compiling syn v1.0.109
   Compiling cfg-if v1.0.0
   Compiling fnv v1.0.7
   Compiling ident_case v1.0.1
   Compiling strsim v0.10.0
   Compiling once_cell v1.19.0
   Compiling memchr v2.7.2
   Compiling bitflags v1.3.2
   Compiling rayon-core v1.12.1
   Compiling regex-syntax v0.8.3
   Compiling termcolor v1.4.1
   Compiling hashbrown v0.12.3
   Compiling os_str_bytes v6.6.1
   Compiling log v0.4.21
   Compiling iana-time-zone v0.1.60
   Compiling powerfmt v0.2.0
   Compiling num-traits v0.2.18
   Compiling indexmap v1.9.3
   Compiling memoffset v0.6.5
   Compiling deranged v0.3.11
error[E0658]: use of unstable library feature 'proc_macro_byte_character'
   --> /home/chararch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.80/src/wrapper.rs:871:21
    |
871 |                     proc_macro::Literal::byte_character(byte)
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #115268 <https://github.com/rust-lang/rust/issues/115268> for more information
    = help: add `#![feature(proc_macro_byte_character)]` to the crate attributes to enable
    = note: this compiler was built on 2024-04-01; consider upgrading it if it is out of date

error[E0658]: use of unstable library feature 'proc_macro_c_str_literals'
   --> /home/chararch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.80/src/wrapper.rs:898:21
    |
898 |                     proc_macro::Literal::c_string(string)
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #119750 <https://github.com/rust-lang/rust/issues/119750> for more information
    = help: add `#![feature(proc_macro_c_str_literals)]` to the crate attributes to enable
    = note: this compiler was built on 2024-04-01; consider upgrading it if it is out of date

   Compiling clap_lex v0.2.4
   Compiling aho-corasick v1.1.3
For more information about this error, try `rustc --explain E0658`.
error: could not compile `proc-macro2` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `skim v0.10.4`, intermediate artifacts can be found at `/tmp/cargo-installbuV8Ve`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Thanks

This is mainline for rustc 1.80

Can you reproduce now ?

Can you reproduce now ?
Ill be home in a couple hours but Im sure it works now, Ive reinstalled my OS twice since then.

Oh, a fellow distro-hopper !
I hope this works, please close the issue if it does !

Oh, a fellow distro-hopper !
I hope this works, please close the issue if it does !

Yeah it works perfectly now, must've been something weird I did. Arch being Arch I suppose.


pm: Add option to have synchronous runtime power management

Current solution assumes that power management operations may be blocking, asynchronous and take unknown amount of time. Due to this assumption runtime PM API cannot be effectively used from the interrupt context. Zephyr has few driver APIs which can be used from an interrupt context (UART async and polling,  rtio work also targets asynchronous ops) and now use of runtime PM is limited in those cases. Given that In many cases suspending or resuming of a device is limited to just a few register writes having whole infrastructure with semaphore, event and work queue is like using sledgehammer to crack a nut.
Patch introduces a new type of PM device - synchronous PM. If device is specified as capable of synchronous PM operations then device runtime getting and putting is executed in the critical  section. In that case, runtime API can be used from an interrupt context. Additionally, this approach reduces RAM needed for PM device (104 -> 20 bytes of RAM on ARM Cortex-M) because PM data structure is limited and does not contain work,event and semaphore.
If driver has synchronous PM operations (like only changing pinctrl state) then PM device can be defined as
PM_DEVICE_SYNC_DEFINE(test_driver, test_driver_action); // instead of PM_DEVICE_DEFINE

PM_DEVICE_SYNC_DT_DEFINE(UARTE(idx), uarte_nrfx_pm_action) // instead of PM_DEVICE_DT_DEFINE

Runtime API stays the same. Synchronous PM device property is detected inside the API.

The feature makes a lot of sense, I'm not a fan of the name however.
The current basic operations are described as synchronous and asynchronous depending on whether the pm_device_runtime_* call blocks or not. This now introduces a second synchronous meaning, whether the transition is run directly by the call or deferred out to a workqueue. Maybe borrow terminology from ISR and call it direct?

@JordanYates thanks for the comment. I knew already that name is wrong and was hoping to get some good suggestions in review. direct sounds good to me.

@ceolin

The current implementation supports synchronous calls and can be called from ISR. So, this pr is not introducing a new feature.

Current implementation supports putting from isr (async put) but getting may fail if we interrupt another getting operation (it will fail on taking locking semaphore). If operation is not reliable then we cannot fully claim that it is supported.

Would be good to agree on the name then. DIRECT(proposed by @JordanYates)  ISR_SAFE (proposed by @ceolin ). I don't have strong opinions.

@ceolin

The current implementation supports synchronous calls and can be called from ISR. So, this pr is not introducing a new feature.

Current implementation supports putting from isr (async put) but getting may fail if we interrupt another getting operation (it will fail on taking locking semaphore). If operation is not reliable then we cannot fully claim that it is supported.

That is how you take it, the way I see is that the feature is supported and that is its behavior when called from ISR. But, that is not really the point I wanted to make. I agree with you that this  proposed approach is better and gives up something more realiable / deterministic.
Note that naming is not the only thing I've pointed, I think that if we have this explicit option, we should prohibit devices not using it from be get/put from ISR.

@ceolin please take another look


3349 trigger modal from link

Closes https://github.com/ethyca/fides/issues/3349
Code Changes

[ ] Updates link to open modal, given element exists and valid experience exists for the overlay component
[ ] Updates e2e tests

Steps to Confirm

[ ] Nav to http://localhost:3000/fides-js-components-demo.html
[ ] Confirm Manage Consent link click triggers the modal to open

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

Description Of Changes
Write some things here about the changes and any potential caveats

Ready for you again @allisonking / @NevilleS


Make compact view show echo effects

Requested in https://forum.boardgamearena.com/viewtopic.php?t=28777.

Never mind, this is not ready for review yet. I see some bugs involving the overall container height/width in certain splay orientations.

I was thinking this would be nice the other day. :)  I like the idea.

Great! I'll let you know when it's ready for review.

Alright I got everything working quite nicely!! It's ready for review.


Relay doesnot trigger

I have installed esprfid firmware in node mcu and selected gpio 16 for relay. But the relay stays on once i connect to gpio16. Scanning rfid card doesnot changes state of relay. Thus electric lock stays on and door stays lock. Can you help me find the possible errors and fix the relay triggering.
Thank you

Try a different GPIO and test.

It same with all the gpio pin. The relay stays high. Is there anything I m missing or doing wrong.

Which relay module do you have? How it is connected? Can you test the GPIO output with a multimeter?

GPIO16 is high on boot, not the safest GPIO to choose ;)
What is the input voltage for your ESP? Did you connect 3v or 5v to the GPIO ?
Also, please provide as much info about the relay as poossible. Are you 100% sure your relay is not faulty ?

No feedback from the OP, closing it for now. @sudip839981 If you believe there is a bug still, you can reopen it.

I have been fighting this same issue from the day i decided to try this project. it don't matter which gpio  pin you select the relay will be stuck triggered after reboot.. i have verified the pin state with my multi meter. kind of defeats the whole purpose of having a rfid setup.lol

after switchingback to usb for esp power the constant relay active issue is gone but still no relay function, using 5v active low relay powered from an external source relay on D2 esp 2866. i can see no state change in theD2  pin using multimeter.


Addition of LevelZero metric support to the LevelZero device pool and IO Group

Relates to #2148 feature quest from github issues
Provides Intel hardware support analogous to the NVIDIA support added in #1917 and #1914

The addition of metric polling capability to the LevelZero IO Group, Device Pool, and API shim.   General Metric Streamer flowchart implemented follows the LevelZero approach shown here
Details of change:

Updated LevelZero.cpp to set ZET environment variables and follow the general time based metric query approach outlined in the LevelZero Tools API.
Added querying for the 'ComputeBasics' group of Intel Hardware.  An additional metric group may be queried but is not supported at this time.
Added signals and aliases based on these metrics for GPU_COMPUTE_ACTIVITY and GPU_COMPUTE_STALLS.  Additional signals may be created from data collected in the ComputeBasics group in future PRs.

Additional Tasks:

[x] Define Default LevelZero Tools report/event rate based on workload performance
[ ] Add Test for signal and control of LevelZero Tools report/event rate.
[ ] Consider adding LEVELZERO::METRICS:METRIC:.  Currently all signals are averaged over the number of reports received, but this could be modified to be AVG, LAST, MIN, MAX, etc
[x] Test dynamic tracing with geopm controller (read_signal and batch read have been tested, but not with the controller)
[ ] Confirmation of geopm behavior with all combinations of ZES_ENABLE_SYSMAN and ZET_ENABLE_METRICS

Replaced by newer implementation https://github.com/geopm/geopm/pull/2897


Reference problem

Having multiple different phone numbers like home phone and mobile phone on one page and taking a different reference for each, always results in the second one having undefined value

It only does such things when format it's receiving is bad, works for one but sets the other as undefined


Service mesh mentions removed

I have removed some of the Service mesh mentions with Cloud native management, infrastructure etc
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 6c262f9e9c49a417f118ec9dda6ba71630060f27 at: https://656b9a24cb669e085b5bbfd5--meshery-docs-preview.netlify.app

🚀 Preview for commit 053190f5f4572c367e2a2aeb35f78f4c6470576a at: https://656c33a6c3408b5902eb2101--meshery-docs-preview.netlify.app

@leecalcote Done!


beacon example

Coverage remained the same at 86.33% when pulling 782baeb6ab3c8200d8d7e422158db85efeec345b on benjaminbollen:beacon_example into ff50c64aa7e4de7fd31746ab96228204159546a5 on dirvine:master.

Coverage remained the same at 86.33% when pulling 74b36de974718088c87938705922c5443172405d on benjaminbollen:beacon_example into ff50c64aa7e4de7fd31746ab96228204159546a5 on dirvine:master.

works on one machine.  will test now on several machines, cross platform with multiple nodes

Coverage remained the same at 86.33% when pulling 9c0e014380487702f65dd4f3d4a04ffd0e210520 on benjaminbollen:beacon_example into ff50c64aa7e4de7fd31746ab96228204159546a5 on dirvine:master.

Coverage decreased (-0.16%) to 86.18% when pulling 8f7aef6105253b9a9000db7a67b2a983cec35815 on benjaminbollen:beacon_example into ff50c64aa7e4de7fd31746ab96228204159546a5 on dirvine:master.

Coverage decreased (-0.16%) to 86.18% when pulling 9b520a76b6634f7358f70d5b40cf24c2a813d9bb on benjaminbollen:beacon_example into ff50c64aa7e4de7fd31746ab96228204159546a5 on dirvine:master.

Coverage decreased (-0.16%) to 86.18% when pulling f6ce5c5b05ea3e5cad47bcc7b41dc0c4e615a43e on benjaminbollen:beacon_example into ff50c64aa7e4de7fd31746ab96228204159546a5 on dirvine:master.

As per yesterdays discussion - should #deny(missing_docs) be added to this PR?

Coverage increased (+1.54%) to 87.87% when pulling 8101fdf6a8c2996b733be79838d9cacba9234c2e on benjaminbollen:beacon_example into ff50c64aa7e4de7fd31746ab96228204159546a5 on dirvine:master.

Coverage increased (+1.54%) to 87.87% when pulling 313444c77d06eb33757b75b66a56d9560f402655 on benjaminbollen:beacon_example into ff50c64aa7e4de7fd31746ab96228204159546a5 on dirvine:master.

good to go ..


[Slang Unit Tests] Pilot unit test for compiler verification to understand Slang unit test infra

That's great! Do we have a pilot unit testing working that's authored by @tgrimesnv?

That's great! Do we have a pilot unit testing working that's authored by @tgrimesnv?

https://github.com/shader-slang/slang/pull/3583


Eigenpy installed but cannot be found

Hi,
I was able to install the Eigenpy according to the instruction https://github.com/stack-of-tasks/eigenpy. However, when I run the cmake command to configure the pinocchio, I was told that
Checking for module 'eigenpy >= 1.4.0'
--   No package 'eigenpy' found
Here is the result of showing the installed Eigenpy
: dpkg -l | grep -i eigenpy
ii  robotpkg-py27-eigenpy                                 1.5.0                                                amd64
Eigen bindings to python
I am not sure how what causes this problem. Can you help me with that?

You have to configure pkg-config path to let cmake find eigenpy.
In your case, as you are relying on the PPA of robotpkg to install EigenPy from binairies, you have to add the install path to the pkg-config path.
The EigenPy binairies are installed in /opt/openrobots. So the pkg-config files are installed in: /opt/openrobots/lib/pkgconfig.
You then need to add this path to your environment variable PKG_CONFIG_PATH
So, you just need to wirte in your bash profile the following lines as follows:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/openrobots/lib/pkgconfig
You also need to that for the LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/openrobots/lib
All these details are reported here: https://stack-of-tasks.github.io/pinocchio/download.html

Yes, after changing these two environment variables, the cmake .. returns a successful result. However, when I proceed to the make -j4 command, an error with the numpy occurs as follows:
/opt/openrobots/include/eigenpy/fwd.hpp:23:31: fatal error: numpy/numpyconfig.h: No such file or directory
#include <numpy/numpyconfig.h>
^
compilation terminated.
In file included from /home/shihao/pinocchio/build/include/pinocchio/algorithm/center-of-mass.hpp:168:0,
from /home/shihao/pinocchio/unittest/regressor.cpp:21:
/home/shihao/pinocchio/build/include/pinocchio/algorithm/center-of-mass.hxx:136:3: warning: unused parameter ‘model’ [-Wunused-parameter]
getComFromCrba(const Model & model, Data & data)
Is this still a path variable problem or sth else?
Thanks,

Is numpy installed on your computer?

Can you show me the content of the file eigenpy.pc located in /opt/openrobots/lib/pkgconfig

Yeah, numpy is installed and I have tried to set the PYTHONPATH to the python package path in my path (/usr/local/lib/python2.7/dist-packages/). Sure, the content in the eigenpy.pc is as follows:
prefix=/opt/openrobots
exec_prefix=/opt/openrobots
libdir=/opt/openrobots/lib
bindir=/opt/openrobots/bin
pkglibdir=/opt/openrobots/lib/eigenpy
includedir=/opt/openrobots/include
datarootdir=/opt/openrobots/share
pkgdatarootdir=/opt/openrobots/share
docdir=
doxygendocdir=
Name: eigenpy
Description: Wrapping Eigen3 -- numpy
URL: http://github.com/stack-of-tasks/eigenpy
Version: 1.5.0
Requires: eigen3 >= 3.0.5
Conflicts:
Libs: -Wl,-rpath,${libdir} -L${libdir}  -leigenpy -Wl,-rpath,/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lboost_python-py27
Libs.private:
Cflags:  -I${includedir} -I/usr/include -isystem/usr/include/python2.7 -isystem/usr/lib/python2.7/dist-packages/numpy/core/include

Okay, I think that I got it! The path leading to the core/include in this eigenpy.pc file is not the same as the one I have. Let me change it to the /usr/local/lib/python2.7/dist-packages/numpy/core/include and see what will happen.

Is /usr/lib/python2.7/dist-packages/numpy/core/include pointing to an existing path? Otherwise, you have ton install numpy for all the users with pip or you can install by hand eigenpy. It is simple as installing Pinocchio from source

I just saw your answer. This seems that this will solve your issue. Let’s me know!

Yes, after I manually change the include path in the eigenpy from /usr/lib/python2.7/dist-packages/ path to /usr/local/lib/python2.7/dist-packages/, the make -j4 and make install commands successfully build this package.
Thanks a lot for your help.

It’s my pleasure.


Switch to a profile automatically when a given audio device is activated

Normally I use an equaliser's profile for my Mac's speakers that enhances the voice and raise the bass a bit. Sometimes I plug in a pair of headphones that has very good bass audio, so good that I have to use another profile to lower them. It would be helpful if I could tell eqMac2 that I want to switch to one profile automatically, when the internal speakers are selected as audio device, and  to the other, when the headphones are.

Good feature, but quite a bit of work to implement. Won't be a priority any time soon

Could there be a temporary workaround to do this using AppleScript and Automator?

I am not sure as I never used AppleScript or Automator. Is there something, like an API I have to expose for you guys to write scripts on top?

First of all, I would like to apologize for the lack of communication and responses to the current issue and all other issues in general.
I have made a conscious decision to focus most of my free time and focus on developing a more modern and new version of "eqMac". This means that I can't spend too much time looking back at old codebase and trying to make every user happy. This was the main reason I made this repository open-source, in hopes that other developers might help to sort out some issues and iron out all the bugs. Unfortunately, there are very few developers that are proficient in Core Audio and Objective-C or maybe they are just not interested in this repo, which I can understand.
I promise that the next version will be much more polished and I will make some sort of a mainstream system were solving issues will be very easy and quick. Just sit tight and wait for a new release this coming summer.
Thank you to everyone who gave "eqMac2" a try and I hope I won't disappoint you next time :)
Heres a sneak peak of the UI I am currently working on:

As a software developer myself I totally appreciate the work you put into this project. I also 100% respect your decision to work on the UI and make it as you would like you to look despite the fact that personally I think it's not necessary.
I'm using eqmac to reduce low frequencies on bass-boosted consumer headphones like Beats or Bose at work, on trains etc. Even an ability to assign a global keyboard shortcut to preset/profile would definitely help with that use case.

Hey everyone. Excuse me for the lack of updates. I have been really busy on the new version of eqMac. I am happy to announce an open beta release.
You can download it here: https://eqmac.app
There are a lot of known bugs that I could not fix just yet:

Driver not installing from the first try. Sometimes need to restart eqMac a couple times.
Complex Device switching logic is not perfect (for example when switching off the device that's currently playing, plugging in new device etc.)
UI takes long to load (a lot can be done to improve that)
UI dimensions are not synching properly
There's a noticeable audio delay in the playback, so not suitable for video yet (I know where the problem lies just haven't had the time to fix yet)
Sometimes the playback doesn't start, in that case please try to switch the output to the device you want and eqMac should try and build the audio pipeline again.

So as you can see there's still some work to be done but at least it's a completely modern tech stack that I am fully willing to work on: 100% Swift, User Space driver and a Web UI, instead of C++, Kernel Drivers. As I said, should work on Catalina and should not have any pesky ear drum blasting volume bugs (at least I didn't come across any).
I'm open to feedback and issue reports here: https://github.com/bitgapp/eqmac
That repo will become the main repo for eqMac and this repo will be archived eventually.
And yes it's called just eqMac, not eqMac3 :) And it will stay that way forever.

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.

Moving discussion to #231


Expand when needed

Hello. This works great for collapsing toolbars, but is there a way to expand/collapse the toolbar when needed?
My use case is that I have a search input on the toolbar and I want to expand the toolbar when keyboard is visible (via LocalWindowInsets.current.ime.isVisible)

This feature has just released as experimental in 2.2.0 with CollapsingToolbarState.expand() :+1:

@Shusshu May I ask you to create a new issue with some extra information so that I could reproduce it?

https://issuetracker.google.com/issues/197553056 could be related

https://issuetracker.google.com/issues/197553056 could be related

Thank you for sharing 😃 Since I have experienced some trouble regarding that issue when I was testing fling behaviors, it is happy to hear that it has fixed. But how can it be related to the manual collapsing/expansion using animators?

I accidentally thought this thread was about flings again, nvm 😬
On Sat, Sep 25, 2021, 03:10 onebone @.***> wrote:

https://issuetracker.google.com/issues/197553056 could be related
Thank you for sharing 😃 Since I have experienced some trouble regarding
that issue when I was testing fling behaviors, it is happy to hear that it
has fixed. But how can it be related to the manual collapsing/expansion
using animators?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/onebone/compose-collapsing-toolbar/issues/5#issuecomment-927084823,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMRZDPWVVQ4EFKZKZTIIMDUDV7W7ANCNFSM47XUNJEA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


⚠ AGEG website (prod) has degraded performance

In 6d8bb9c, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1999 ms

Resolved: AGEG website (prod) performance has improved in e19a6ef.


Is it possible to exclude the <|eot_id|> token?

I know there are already some options for llama.cpp to exclude some tokens, but currently facing the <|eot_id|> with Llama3 Instruct in Interactive mode.
My options look like this:

But I'm getting the <|eot_id|> token. (should_output_eos has no effect)

I could do some string filtering, but before I set up a complicated system of string caching and live-detection, I thought I'd ask.

I have tested on my side and it definitely works here. Could you download the new Godot LLM Template, either from the asset library or from here, then open the application -> Text Generation -> Change None to Person -> Generate, then see if <|eot_id|> is there or not

It can also well be this issue: https://github.com/ggerganov/llama.cpp/issues/6772
so the problem can come from the model side, but I think it has already been fixed
If the issue persists, could you try one of the "fixed" model here

You're right, it was a model issue. The model you linked fixed the issue.
What's weird is, that I used the linked Meta-Llama-3-8B-Instruct-Q5_K_M.gguf from the ReadMe.
So on the one hand, I would think that it's best to change it, but on the other hand you didn't have the issue with the same model.

It can well be we downloaded different versions of the model from the same repo, I have added a FAQ section in the README to point out that model versions can be a problem even if the model is the same


add method constructN / construct

Codecov Report

Merging #147 (1137d42) into main (e94670f) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
+ Coverage   97.12%   97.16%   +0.04%
==========================================
  Files         183      184       +1
  Lines        1841     1872      +31
==========================================
+ Hits         1788     1819      +31
  Misses         53       53

Impacted Files
Coverage Δ

ramda/__init__.py
100.00% <100.00%> (ø)

ramda/constructN.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fix headings in customisation documentation

They are part of the sentence when they shouldn't be.

fixed in https://github.com/inttter/md-badges/commit/cc33634982261521b1d966d67248c89e36250e37


Error while searching with --sort

Prerequisites

[x] Did you check the FAQ?
[x] Did you search open and closed issues to see if your issue has already been reported?

Description
I was trying to search for a package and sorting by versions to see which one is the latest.
I get 'popsicle' error, but only if I specify --sort option...
Here is the whole run:
This works:
typings -V search --name minimist
Viewing 2 of 2

NAME     SOURCE HOMEPAGE                               DESCRIPTION UPDATED
minimist dt     https://github.com/substack/minimist               2016-03-17T12:06:54.000Z
minimist npm    https://www.npmjs.com/package/minimist             2016-02-29T23:29:32.000Z

But this fails:
X:\Projects>typings -V search --name minimist --sort versions
typings ERR! message https://api.typings.org/search?name=minimist&sort=versions responded with 500, expected it to equal 200

typings ERR! stack PopsicleError: https://api.typings.org/search?name=minimist&sort=versions responded with 500, expected it to equal 200
typings ERR! stack     at Request.error (X:\Frameworks\nvm\v5.10.1\node_modules\typings\node_modules\popsicle\dist\request.js:49:16)
typings ERR! stack     at Response.error (X:\Frameworks\nvm\v5.10.1\node_modules\typings\node_modules\popsicle\dist\response.js:19:29)
typings ERR! stack     at X:\Frameworks\nvm\v5.10.1\node_modules\typings\node_modules\popsicle-status\popsicle-status.js:31:23
typings ERR! stack     at X:\Frameworks\nvm\v5.10.1\node_modules\typings\node_modules\popsicle\dist\request.js:243:44
typings ERR! stack     at process._tickCallback (internal/process/next_tick.js:103:7)

typings ERR! cwd X:\Projects
typings ERR! system Windows_NT 10.0.10586
typings ERR! command "X:\\Frameworks\\nodejs\\node.exe" "X:\\Frameworks\\nodejs\\node_modules\\typings\\dist\\bin.js" "-V" "search" "--name" "minimist" "--sort" "versions"
typings ERR! node -v v5.10.1
typings ERR! typings -v 0.8.1
typings ERR! code EINVALIDSTATUS

typings ERR! If you need help, you may report this error at:
typings ERR!   <https://github.com/typings/typings/issues>

Steps to Reproduce

typings -V search --name minimist --sort versions

Expected behavior:
I was hoping to get typings for a package sorted by versions...
Actual behavior:
After a while, an error occurs
Versions
0.8.1

This is a HTTP error, and you want the --order option.

Ok, but according to help --order is for sorting order (ie. ascending, descending)...No?
typings -V search -h

typings search [query]

Options:
  [--name] <name>     Search for definitions by exact name (E.g. only "react")
  [--source] <source> The registry mirror (E.g. "npm", "bower", "env", "global", "dt", ...)
  [--offset] <x>      Skip first "x" results (default: 0)
  [--limit] <x>       Limit to "x" results (default: 20, max: 100)
  [--order] <order>   Direction to sort results (default: "asc", enum: "asc" or "desc")
  [--sort] <column>   Order results by a column (E.g. "versions", "name", ...)

BTW, this is not a show stopper for me at all - I am just trying to see if there is a way to see which package version is the typings for (hence my ohere question in #466 )

@zam6ak Sorry, you and the docs were correct. Confused myself for a moment. It's erroring because there's no versions field to sort by. What should versions be in search? It used to be available actually, and we can add it again.

Add versions back to search. Lists the number of stable versions (not deprecated). Properly returning a 400 with better formatting is an enhancement right now.

I guess it would be nice to differentiate between npm package version vs typings version.
My understanding is that a single npm package version can have more than one typings version (1:M).
I may be wrong and I am just not seeing it.
The goal would be to be able to answer questions like:
"If I am using the latest npm package for Foo, what version of Foo is the latest typings based off of?"
For example, Foo can have lets say v1.0.0, v1.0.1, and v1.2 and typings are based off of v1.0.0
So most times than not, the v1.2 has API that is not defined in typings :(
I have noticed this trend with DT repo and considering growing number of packages, it creates a vicious cycle....The only way to resolve it is for package owners to create and maintain typings (e.g moment does this). But most do not and community certainly appreciates efforts by others (@blakeembrey, et al) to resolve this
Thanks for looking into this.

@zam6ak You should probably search existing issues and discussions to get a better understanding, but the NPM version and the Typings version are different? Only, the Typings version is a subset of the NPM version.
The issue isn't that they haven't been defined (or, sometimes it is) but a lot of the time there aren't external changes. Also, I haven't had the time to properly invest in 1. building a semver intersection library and 2. testing said library is definitions can be defined in the registry as a range. Currently, the registry has 100% versions but they're the min-semver. Of course definitions will always lag behind, it's a community effort to make sure these are updated and you can not expect them to be always perfect.
DefinitelyTyped has 1000 other flaws that create the "vicious cycle" you describe, and Typings has attempted to solve all the solve-able ones. FWIW, even your Moment example was actually contributed by us (Typings). See https://github.com/typings/typings/issues/322 and https://github.com/moment/moment/pull/2916.


does this even work? :)

When I try using this code:
minty.file(path.join(__dirname, 'test.js'));

in any combination, it never works, always complaining about some path-related issues, like this one:
{ [Error: ENOENT: no such file or directory, open 'D:\NodeJS\tests\minty\file\D:\NodeJS\tests\test.js_Sun_Apr_17_2016_13-40-35_GMT+0100_(GMT_Daylight_Time).html']
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'D:\\NodeJS\\tests\\minty\\file\\D:\\NodeJS\\tests\\test.js_Sun_Apr_17_2016_13-40-35_GMT+0100_(GMT_Daylight_Time).html' }

I only can make it work by using this:
minty.file('test.js');

Which then produces:
#################################################################################
Minty has found an error! Please check the out put of test.js for more details
#################################################################################

Minty has finished analyzing test.js

when I check that file, all I'm seeing is this:

No links, no error reporting,...in fact nothing useful at all. What am I missing?
UPDATE
On another-re-read... it says:

Click forward and back to step through your variables' state as your app executes!

When My app executes, it generates that report, and then it's done. How do I do that parallel running to see the app execute?

Hi Vitaly,
Looks like there is an issue when you call minty.file on the same file you are running. I'll have to take a look into it. As far as the first issue, it looks like the path being called is D:\\NodeJS\\tests\\minty\\file\\D:\\NodeJS\\tests\\test.js_Sun_Apr_17_2016_13-40-35_GMT+0100_(GMT_Daylight_Time).html
I'll have to take a look at that too...not sure why that isn't working. Seems odd as you put the correct as you put the correct input in. I'll have to take a look at that too. Thanks for opening the ticket!

I have looked into this, looks like their is a bug when minty.file is called on the file it's located in. Updating the readme now.


How to set User Properties via official plugin

how to set user properties via official flutter plugin

hi @Suryapratap-R , please refer to our doc here . Hope that helps.

It's actually pretty unclear in the official docs because it says to not use $ because those are reserved ...but do we prefix the reserved ones with $ or not? I think it's ideal to have examples in the docs rather than explain this in words.


[App]: WANDB Model Registry not listing the stored models

Current Behavior
The model registry feature shows the stored model types but listing the actual models and model versions is loading for a long time without any results.
Expected Behavior
The expected behavior is listing all the model versions in the correct category.
Steps To Reproduce

Add models to the registry
List the models from a specific type.

Screenshots

Environment
OS:
Browsers: Chrome
Version:
Additional Context
No response

Hi @NikolaCenic, thanks for reporting this and sorry that you are having issues. Would it be possible for you to share with me a link to this page so I can have a look at it and see why is this taking so much time to load?

Hello, thank you for your assistance, the issue has been resolved.


Intention of the all variable in watchpoints/__init__.py

Thanks for this black-magic library!
I'm currently trying to get a set of typing stubs added to typeshed (https://github.com/python/typeshed/pull/13248). One thing that came up was the intention of all:
https://github.com/gaogaotiantian/watchpoints/blob/934d7a36633487b38d18c8348176c29b6e3c4b9a/src/watchpoints/__init__.py#L11-L14
Was this intended to be __all__, for controlling the symbols imported with from watchpoints import *?

Yes, that was a typo. If you want, feel free to make a PR to fix :) Otherwise I can fix it when I get some time.


Add descendant div selector to hover

This fixes a bug with iOS on hover, causing links to be double clicked.

Pr now to dev branch

Thanks!


Update permissions-reference.md

Per testing and discussion Authentication Administrator role can't be utilized to reset MFA on owners or members of role assignable AAD security group.  This is mentioned in https://docs.microsoft.com/en-us/azure/active-directory/roles/groups-concept#why-we-enforce-creation-of-a-special-group-for-assigning-it-to-a-role but is not mentioned here and I believe it should be to prevent future confusion when troubleshooting this role's capabilities.

@jasonfritts : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#please-close


python310Packages.slack-sdk: 3.19.2 -> 3.19.3

Description of changes
https://github.com/slackapi/python-slack-sdk/releases/tag/v3.19.3

Things done

Built on platform(s)

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

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

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

[ ] 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/)
22.11 Release Notes (or backporting 22.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

3 packages built:

ntfy
python310Packages.slack-sdk
python39Packages.slack-sdk


Add repository to package.json

Make the repository directly accessible from npmjs.com

Thanks! I forget this all to often...
much appreciated.

Appreciate the component. Easy to use, thanks!


Suggestion: Lowercase hex colors for more potential gzip savings

Currently, this won't be merged into a single selector, I suggest there could be a further optimization to lowercase hex colors only if it's safe to do so.
.a {background:#abcdef;}
.b {background:#ABCDEF;}

Sure, let's do that :+1:

I'd like to see this too since it should save a few bytes for large apps.


Added balancer device

Balancing log messages between several outputs

@Nikita-V Thanks for the contribution! I'd like to merge this. I just had a question about selecting a device via checksum vs just selecting one randomly.

@dwbutler you're right. Random selection is better.

:+1:

Released in 0.11.0.


Windows version suggestion

I would suggest not to try to list all installed applications and filter them by the "supported" apps list. Instead, I would just show all supported applications in the list.
This is because the current way to retrieve the installed apps is not working reliably on my side and only gets installed apps with an uninstall entry in the registry. This does not capture Apps like the new Teams oder Outlook.
If the complete list is used instead and the app is determined based on the execName of the windowInfo, it is much simpler and more reliable. I tested it myself and will provide the code in a fork shortly. But I was not able to do a final build of the windows version, so I will first try and fix this.

I prefer fixing the installed app detection instead of listing all supported apps, since it's confusing when you see apps you don't know or don't have installed listed.

I searched for a reasonable method to receive all apps including the ones through the MS App Store but was not able to find one. Maybe you have mor luck. But I also like the Idea to be able to add custom apps which are not in the "supported" apps list. If I like to track how much time I spent on an internal business app, I would just like to pick the app and add it to the watched list.
This is not an argument against detecting installed apps, but against filterering them according to "supported" apps.

There may be also apps which are not installed and do not have a registry entry, so I do not know, how one will detect them through automatic "search".
Maybe just add all apps which are detected through the watchers change event to a list?

We'll add more ways to detect apps instead of just the registry, to detect MS App Store apps. Then we'll allow adding any custom app by selecting the exe binary from a file dialog, or by typing the app's name into a text input.

So if you stay with your approach, let me say that this isn't working on my side either:
https://github.com/wakatime/desktop-wakatime/blob/39c9eef97050741750ccdfb7e96ee52018864aa0/electron/helpers/installed-apps/windows.ts#L104_L107
I get exceptions from winreg, that the QUERY fails. The key is in the regedit, but it seems that the application is not allowed to access it, even in admin mode. This however works:
https://github.com/wakatime/desktop-wakatime/blob/39c9eef97050741750ccdfb7e96ee52018864aa0/electron/helpers/installed-apps/windows.ts#L100_L103

I searched for a reasonable method to receive all apps including the ones through the MS App Store but was not able to find one. Maybe you have mor luck. But I also like the Idea to be able to add custom apps which are not in the "supported" apps list. If I like to track how much time I spent on an internal business app, I would just like to pick the app and add it to the watched list. This is not an argument against detecting installed apps, but against filterering them according to "supported" apps.

Listing all supported apps won't be a good UX. I've tried many different ways to get the apps installed through MS Store but couldn't find one. Windows app locations are a mess. We can add an option to add custom apps by providing a button that will open up a file explorer to locate the app's location. But then we might not have any control over that app as we don't know how should we extract the title, URL, category from that custom app.

Also, If you use an app that is not on the list you can always file an issue and then we can add that to the list easily.

Well, i think wakatime will mostly be used by developers, so the UX of having all supported apps directly shown in a list without filtering installed apps on windows won'´t be to big of a deal, i guess.
The ability to add custom apps would be great and it may even be enough to know that you spent time in the app, without extracting more information from the title. Lets say you have internal tools and do not want them to be publicly available in a github repo ;-)

After adding the option to locate apps manually, I think there is no need to show all the supported apps without filtering by installed apps. As, showing all the supported apps still won't list the apps from MS Store or your local apps.
So having the current list and a new button to locate unsupported apps will be enough to cover all cases. What do you think?

Here is my proof of concept using the supported apps in the list:
https://github.com/wakatime/desktop-wakatime/compare/main...dhufnagel:desktop-wakatime:poc-windows-show-apps
I had to change the detection of the app using the window.info.execName as i do not have the full path.
I don't know if it is possible to select all apps in a file picker, as I don't know if we get the right path or exe name for apps like Teams or Outlook.

Instead of a file dialog or text input for selecting custom apps to monitor, can we show a list of all running apps and allow selecting from one of those?

This could be a good starting point. My first idea was to add apps as soon as they are detected by the watcher when they become active. For a quick start it was easier for me to just take the known apps.
But this also leads to other questions. Should apps be detected once or periodically? Is the list persistent and if so, should it be possible to delete Apps?

Instead of a file dialog or text input for selecting custom apps to monitor, can we show a list of all running apps and allow selecting from one of those?
Then they just have to have the custom app running and it can be selected for monitoring.

Yes, the window detection package has an option to list all the running apps.

We can show another list below the supported app list which will be the currently running apps list. Users can then enable or disable tracking from that list. This will be a great workaround.

The current lib offers the openWindows() function, but this only lists applications currently opened, not background applications.

this only lists applications currently opened, not background applications.

That's fine, we can't track focus/activity on background apps anyway. If the app has a window open then it can be tracked and will show up?

I just implemented this (showing running apps in Monitored Apps menu) for the Mac Desktop app:
https://github.com/wakatime/macos-wakatime/pull/296

I have created a PR where all open windows will be listed which are not in the supported apps list and the app will be able to monitor them. #15

Thanks for the change. I think this is great!
But I still get the error log for the search of installed apps on windows regarding the registry key:

(node:3532) UnhandledPromiseRejectionWarning: ProcessUncleanExitError: QUERY command exited with code 1:
FEHLER: Der angegebene Registrierungsschl´┐¢ssel bzw. Wert wurde nicht gefunden.
at mkErrorMsg (C:\development\wakatime\desktop-wakatime\dist-electron\main-2DOuXK8K.js:15433:10)
at ChildProcess. (C:\development\wakatime\desktop-wakatime\dist-electron\main-2DOuXK8K.js:15550:11)
at ChildProcess.emit (node:events:514:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket. (node:internal/child_process:457:11)
at Socket.emit (node:events:514:28)
at Pipe. (node:net:337:12)
(Use electron --trace-warnings ... to show where the warning was created)
(node:3532) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

So my istalled app list will alwys be empty.
Next point on the wishlist is to be able to set a category to the open apps 😃


More information on how to configure Typia in a webpack + ts-loader setup

Question
Hi @samchon , I've been closely at Typia, in the last weeks as a candidate to replace zod.
I develop web apps on old browsers (SmartTVs). We need a packager (webpack) and transpiration (babel usually, experimenting with swc at the moment).
We can't use vite as some of the browsers we need to support are older than 2015.
I've seen hints here & there in the typia issues that it's possible to get typia to work with ts-loader, except I can't figure exactly why.
I've added the typia/lib/transform as a transform plugin in tsconfig.
I've setup a very small repo with web pack, typia, ts-loader and swc as a final ES5 transpiler (I'm aware of the discussion about SWC - it's not used with typia here): https://github.com/abrouaux/typia-webpack.
I've also added the "inspect" web pack plugin to understand what's going on with my builds.
What it says about the typia step:

At runtime, I'm getting (obviously given the preprocessing seems to have failed) this  error:

If you could take a look at the repo & tell me what I'm doing wrong, it'd be super helpful!
thanks

Run npx typia setup command, then you may be possible.


Perplexity Hotfix

Hotfix for perplexity, because it requires special aggregation behavior

all done;
also included more test cases


removed redundant LwM2mObservationStore interface and its relevant im…

Cleans up the LwM2mObservationStore interface as raised in issue https://github.com/eclipse/leshan/issues/239
Signed-off-by: Bala Azhagappan<EMAIL_ADDRESS>

Integrated in master (commit 1054f40a8f75dbd9c2abd077324621bb7069c5cd)


user password is not settable

hi, i have a Ouser Class that is a extension of the OIdentity class and Vertex class. when i use this sql query to create a new user
CREATE VERTEX OUser SET created=Date(), updated=Date<EMAIL_ADDRESS>name="francesco", password="9000000", status = "ACTIVE", roles = [#4:1]
the result is this
{
    "result": [
        {
            "@type": "d",
            "@rid": "#5:17",
            "@version": 1,
            "@class": "OUser",
            "created": "2016-11-30 18:09:18",
            "updated": "2016-11-30 18:09:18",
            "email"<EMAIL_ADDRESS>            "name": "caterina",
            **"password"**: "{PBKDF2WithHmacSHA256}058FEE6A68571DD8956DE5D58B9A28A285C6A0294D6AC0C1:C6561C9CCAFBACE843649F682EBEE2141D90B4C872E9422D:65536",
            "status": "ACTIVE",
            "roles": [
                "#4:1"
            ],
            "@fieldTypes": "created=t,updated=t,roles=n"
        }
    ],
    "notification": "Query executed in 0.178 sec. Returned 1 record(s)"
}

is clared that the password is not mine but It was automatically setted. the problem persist also if i try to update the password, the operation succeed but again with random password. how can i solve this problem?
my orientDB version is 2.2.13 and i execute all operations with root user

@DThink
if you use the class OUser OrientDB automatically hash the password on create.
See here
http://orientdb.com/docs/2.2/Database-Security.html
and here
http://orientdb.com/docs/2.2/Database-Security.html#password-management

ok thanks


from tss_utils import load_tss_model

Hi, i am interested about your work, but during the implementation process i notice that in many *_main.py files such as mnist_main.py has argument --tss and use file tss_utils to load tss model from the TSS: Transformation-Specific Smoothing for Robustness Certification paper. I assume you do have it somewhere in original source code but it does not appear in the github version.
Can you upload it or show me how can i get tss_utils module?

Hi there,
Sorry for the delay. At that time, I emailed the authors of TSS: Transformation-Specific Smoothing for Robustness Certification to request their models, and Linyi Li kindly shared the weights with me.
You can find their models via the following link: https://drive.google.com/file/d/1tW4bTnoxlAFA0KeZGQdHr6Rr9weXJSDS/view
Best wishes


Feature Requests - Delete torrent & Select Server

Hi there.
Would you consider adding an option to delete the local torrent on Android & Windows when adding the torrent?
Another feature in other clients it the option to select which server you're uploading to when adding. Not a big one as currently I open the client first and choose, but it would be a nice touch.
Thanks for all your hard work - I use this across platforms, and love it.

Hi,
I won't be able to implement the feature to delete the local torrent on all platforms, so I'm not sure to add this feature. But the server selection when adding a torrent is a good idea, I'll try to add as soon as I can.
Thank you for you suggestions!

You can now select the server when adding a torrent in v1.7.0, thank you again for suggesting it.


Fix old links on GitBook navbar

@manojlds Please review and merge it. I forgot how to generate the docs - need some help from you.

Restructuring things a bit. Also, the links should be oss.indix.com. Closing this.


Switch have warning : -[RCTRootView cancelTouches] is deprecated and will be deleted soon.

On react-native 0.61.0-rc.0:
Switch on iOS when change value getting warning:
`-[RCTRootView cancelTouches]` is deprecated and will be deleted soon.

Related https://github.com/kmagiera/react-native-gesture-handler/pull/657


Can't retrieve FASTA

For URL http://synbiohub.org/component/igem/BBa_K136044/BBa_K136044/1.fasta:

Cannot GET /component/igem/BBa_K136044/BBa_K136044/1.fasta

Duplicate closing.


updated delete raw data

-updated the delete raw data function

Codecov Report

Merging #23 (5d2f7a5) into main (a4c67ee) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   15.91%   15.85%   -0.06%
==========================================
  Files           8        8
  Lines        1068     1072       +4
==========================================
  Hits          170      170
- Misses        898      902       +4

Impacted Files
Coverage Δ

bigplanet/bigplanet.py
25.00% <0.00%> (-2.09%)
:arrow_down:

Continue to review full report at Codecov.

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


autoplay causing browser to freeze

Current Behavior:
I'm getting this error only when I've enabled autoplay in certain cases.
ERROR MediaPlayer play request failed
vidstack-506910d5.js:3792 Element:
vidstack-506910d5.js:3792 Trigger: DOMEvent {isTrusted: false, detail: undefined, trigger: DOMEvent, Symbol(DOM_EVENT): true, …}
vidstack-506910d5.js:3792 Error:
vidstack-506910d5.js:3792 Time since last log: 0ms
vidstack-506910d5.js:3795 Stack Trace

This is because the actual error is play() failed because the user didn't interact with the document first..

Expected Behavior:
It shouldn't freeze the browser on this type of error.

Steps To Reproduce:

Environment:
Vite, React 18.2, Chrome, Win11

Anything Else?

Thanks for the report! Fixed, releasing shortly today.


Malicious client script

Is there a potential risk of users inserting malicious client script in their model-driven apps?

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

ID: ec9a4374-a9fc-5cc2-b5a7-137c769eff07
Version Independent ID: d5c3c8d0-33b5-2101-c7b9-ae0b8d909285
Content: Script (JScript) web resources (model-driven apps) - PowerApps
Content Source: powerapps-docs/developer/model-driven-apps/script-jscript-web-resources.md
Service: powerapps
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

@mzoomers Yes, malicious script can be introduced. However, we make the assumption that customizers are trusted.

Thanks for contacting us. As we haven’t heard back from you, I am closing this issue. If you need further help, please reopen the issue or open a new issue.


Leaked DNS, Slow speeds, AWS config Question

So I  have been able to mostly get this to work using google compute engine. I am doing the UDP split tunnel on my LG V40 but:
1.My dns is being leaked
2. The speeds are well under what I would consider acceptable.
3. I also have the AWS set up to do this as well, I think,  and I am unsure how I would go about trying to run this through AWS instead of google. Is it something I can quickly change in the config files (change the IP address to AWS) or does it have to do with the <IP_ADDRESS> and <IP_ADDRESS> addresses?
Sorry to roll a few issues into 1 post. I can split them up if its more helpful

I am also experiencing dns leaks. Can't figure out where they're coming from or where they're going. Sometimes url's from the blocklist get blocked and sometimes not.

I am also experiencing dns leaks.

@nickspaargaren Check this article : Many VPNs Leak Your DNS Through Chrome Extension
Try disabling all extensions or browser reset.

I am also experiencing dns leaks.

@nickspaargaren Check this article : Many VPNs Leak Your DNS Through Chrome Extension
Try disabling all extensions or browser reset.

Thanks for your suggestion! I've got an open vpn connection on my iPhone, using safari. (Wi-fi / LTE makes no difference) 🙃

nvm, the openvpn has an default dns fallback to google..

https://github.com/rajannpatel/Pi-Hole-on-Google-Compute-Engine-Free-Tier-with-Full-Tunnel-and-Split-Tunnel-Wireguard-VPN-Configs
This guide walks you through running a script which will configure a Split Tunnel IPv6 Wireguard connection for your Android, iOS, Linux, macOS, & Windows devices.
I am unable to reproduce a scenario with a DNS Leak with the Wireguard implementation. Please give it a shot.


Fix merge-imports assist for wildcard imports

Refs #3728
Besides the case mentioned in issue merging two diff-prefix wildcard uses will now work as well e.g.
use std::cell::*;
use std::str::*;

will translate into:
use std::{cell::*, str::*}

I'd also like to explore usage of the merge-imports for same-prefix uses to simplify redundancy, but it seems like an idea for another issue and I'm not sure if it's something that this assist should do e.g.:
use std::cell::Cell;
use std::cell::*;

into:
use std::cell::*;

LGMT!
bors r+


TryFrom macro does not work as expected for iXX -> uXX

Bug Description
Adding the #[derive(sqlx::FromRow)] macro to a struct and #[sqlx(try_from = "i32")] to a u32 field (or the same with i64 and u64) seems to have no effect: whether the macros are there or not, I get:

error[E0308]: mismatched types
expected u32, found i32

(or the 64 equivalent) when I use sqlx::query_as!() with the given struct.
Minimal Reproduction
use std::error::Error;
use sqlx::postgres::PgPoolOptions;

#[derive(sqlx::FromRow)]
pub struct S {
    id: i32,
    #[sqlx(try_from = "i64")]
    some_col: u64,
}

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
    let pool = PgPoolOptions::new()
        .max_connections(5)
        .connect("postgres://postgres:123@localhost/theissue").await?;

    let vec: Vec<S> = sqlx::query_as!(S,
    r"SELECT * FROM test").fetch_all(&pool).await?;

    Ok(())
}

DDL:
CREATE TABLE public.test (
  some_col bigint NOT NULL,
  id integer NOT NULL
);

Info

SQLx version: 0.6.2
SQLx features enabled: "runtime-tokio-rustls", "postgres", "macros", "chrono", "bigdecimal", "migrate"
Database server and version: Postgres 14.2
Operating system: Windows 11
rustc --version: 1.64.0 (a55dd71d5 2022-09-19)

Same issue with the same environment except OS (Fedora 36)

Ok. Just see in the docs https://docs.rs/sqlx/0.6.2/sqlx/macro.query_as.html that query_as! does not use FromRow.
So what do you recommend to map to a custom struct? For example a string in db into a rust enum?
Thanks


Not finding some torsions

I would like for this example to work:
from polymetrizer import Polymetrizer, HYDROGEN_CAP
from polymetrizer.tests.smiles import ALA, SER, CYS, ACE, NME
from openff.toolkit.typing.engines.smirnoff import ForceField

met = Polymetrizer(monomers=dict(Ser=SER, Ala=ALA, Cys=CYS, Ace=ACE, Nme=NME),
                   caps=[ACE, NME],
                   r_linkages = {1: {2, 6}, 3: {4, 5}, 7: {2}, 8: {3}})
original_ff = ForceField("openff_unconstrained-1.3.0.offxml")
new_ff = met.polymetrize(original_ff,
                         n_neighbor_monomers=1,  # builds tripeptides
                         n_overlapping_atoms=3,
                         # minimize before doing AM1BCC charges with MMFF
                         minimize_geometry=True,
                         # optimization too expensive, but if so....
                         optimize_geometry=False,
                         optimize_method="m06-2x/def2-TZVP",
                        )

offmol = met.oligomers[-1].to_openff()
new_ff.create_openmm_system(offmol.to_topology())

However, it's not finding some torsions. 😩
UnassignedProperTorsionParameterException: ProperTorsionHandler was not able to find parameters for the following valence terms:

- Topology indices (20, 16, 18, 33): names and elements ( N), ( C), ( C), ( H),
- Topology indices (13, 16, 18, 33): names and elements ( C), ( C), ( C), ( H),
- Topology indices (17, 16, 18, 33): names and elements ( H), ( C), ( C), ( H),

It's probably something to do with finding central nodes/indices vs caps.

prune_isomorphs=False fixes this -- I'd guess it's from the ACE/NME being both caps and residues.


Update to latest upstream release to fix gcc 5.3/Ubuntu 16.04

More for change tracking than actual review. Bluebrain:bbp changes reappear due to them being rebased on top of itk:release

OK, god for me, can't be merged so you have to push there. Module rebuild needed afterwards?

No module rebuild needed, this is just for in superproject build in Fivox.


show only winning outcome for resolved markets

Can you paste a before/after screenshoot?

Sorry I clicked on close by error


Replace task_state with tasks in dask test

This internal state was changed in the latest release
Fixes #1903

[x] Closes #xxxx (remove if there is no corresponding issue, which should only be the case for minor changes)
[ ] Tests added (for all bug fixes or enhancements)
[x] Tests passed (for all non-documentation changes)
[ ] Fully documented, including whats-new.rst for all changes and api.rst for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)

Thanks @mrocklin ! Could you change the version number checking in the test decorator as well? (@pytest.mark.skipif(distributed.__version__ <= '1.19.3' should become 1.20.2)

Why this version number in particular?

I believe that this change will be valid across a number of versions, including the most recent.

Why this version number in particular?

Sorry, I thought the namespace change happened in v1.20.2 . If the tasks attribute was available in earlier versions of distributed we can keep the decorator as it is.