Sequence Tuple trouble (StackOverflow)

(copied verbatim from https://github.com/ceylon/ceylon-compiler/issues/2174)
With the recent Tuple work, I thought I'd finally submit this one that I've had for a while. AFAICT, the first issue below (2k iterations) has already been fixed.
shared void stackOverflowIsSequence() {
    variable [Integer*] seq = [];
    for (i in 0:5k) {
        seq = seq.withTrailing(i);
    }
    // seq is a giant tuple
    if (is [Integer*] s = (seq of Anything)) {}

    /*
        With 2k iterations:

        java.lang.RuntimeException: undecidable canonicalization
        at com.redhat.ceylon.compiler.typechecker.model.ProducedType.resolveAliases(ProducedType.java:2170)
        at com.redhat.ceylon.compiler.typechecker.model.ProducedType.curriedResolveAliases(ProducedType.java:2220)
        at com.redhat.ceylon.compiler.typechecker.model.ProducedType.resolveAliases(ProducedType.java:2174)
        at com.redhat.ceylon.compiler.typechecker.model.ProducedType.curriedResolveAliases(ProducedType.java:2220)
        at com.redhat.ceylon.compiler.typechecker.model.ProducedType.resolveAliases(ProducedType.java:2174)

        With 5k iterations:

        Caused by: java.lang.StackOverflowError
        at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor$Nothing.hashCode(TypeDescriptor.java:458)
        at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor.unorderedHashCode(TypeDescriptor.java:75)
        at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor$Union.hashCode(TypeDescriptor.java:556)
        at java.util.Arrays.hashCode(Arrays.java:3140)
        at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor$Class.hashCode(TypeDescriptor.java:182)
        at java.util.Arrays.hashCode(Arrays.java:3140)
        at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor$Class.hashCode(TypeDescriptor.java:182)
        at java.util.Arrays.hashCode(Arrays.java:3140)
        at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor$Class.hashCode(TypeDescriptor.java:182)
        at java.util.Arrays.hashCode(Arrays.java:3140)
    */
}

@jvasileff what happens on JS?

Ha, you're going to make me work for this one!
It works on JS, but then I found https://github.com/ceylon/ceylon.language/issues/703.
However, it is painfully slow to use (112 seconds to create 50k 1s with withTrailing, another 112 seconds to sum them with reduce). But I don't think I want to get in the habit of filing performance bugs.

 Building big tuples with withTrailing() or withLeading() is very inefficient.

IIRC, at least on the JVM, the penalty was especially bad though using Tuples, which you get when starting out with empty.
But yeah, you're right, best just not to write code like this.


Fixed typos in dry run messages

@dlew - thanks for the typo fixes!
We intend to have a new release soon and we'd like to include this fix.
Could you please sign JFrog's CLA through the below link so that I can merge your fix?
http://www.jfrog.com/confluence/display/OSS/How+to+Contribute
Thanks!

I'm sorry, I'm not a lawyer nor do I want to hire one in order to understand exactly what this CLA entails. For such a minor change I'm not comfortable with potentially agreeing to something I didn't mean to.
You could just make the changes internally and I wouldn't mind. ;)

We will add the changes to the next release.
Thank you!


ERESOLVE could not resolve (Depency issues while installing @expo/electron-adapter

While installing Electron for an expo project I am getting these dependency issues:
npm i --include=dev electron @expo/webpack-config react-native-web

Is there a reason that @expo/electron-adapter has a 2 year old peer dependency for @expo/webpack-config^0.10.1 ?
Can you upgrade this?
Thanks.

Have the same issue, seeing if Expo apps were worth exploring. Seems not so much.


Fix internal server error on HexEncodedBytes

Fix the error that the code expected it to be a string. No correctly
checks first if it is a string.
Also improved the error messages.
Closes #304
Open issue is that the error message for invalid json is inconsistent since the dependency upgrade.
I opened an issue #319

Codecov Report

Merging #320 into master will not change coverage.
The diff coverage is 77.77%.

@@           Coverage Diff           @@
##           master     #320   +/-   ##
=======================================
  Coverage   64.69%   64.69%
=======================================
  Files          48       48
  Lines        3257     3257
=======================================
  Hits         2107     2107
  Misses       1150     1150

Impacted Files
Coverage Δ

relay/api/app.py
22.22% <0%> (-0.25%)
:arrow_down:

relay/api/fields.py
82.75% <87.5%> (+1.4%)
:arrow_up:

Continue to review full report at Codecov.

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


UI JWT re-login strange behaviour on upgraded systems

re-login pop-ups appear less than one hour after login even though session timeout is set to 240 min.

fixed


Allow the app to configure which repositories should run ecto.* tasks

This way we can solve the issues with umbrellas and so forth. We should also make the tasks recursive.

You mean something like a default_task_repos setting?


fix: fix fetching updated targets from TUF root

Signed-off-by: Asra Ali<EMAIL_ADDRESS>
Summary

This change refactors the cosign TUF client and hopefully aims to simplify the logic behind embedded TUF repository and targets, and the writeable on-disk/in-memory repository and targets. Roughly, I structured this so that the cosign TUF client contains (1) A client.LocalStore to hold TUF repository metadata updates and (2) A targetImpl to hold downloaded and cached target files.
Previously, the two were "out of sync" -- when starting with an embedded workflow, we would create an embedded root repository and an embedded targetImpl. However, the embedded targetImpl ONLY retrieved embedded targets, not the updated ones!
https://github.com/sigstore/cosign/blob/5f09c424d541cf22fd3d891ccadc7f7d6c762f72/pkg/cosign/tuf/client.go#L548
Embedded workflows never used their updated targets, despite writing them to the underlying storage, and failed to retrieve new targets referenced by updated metadata.
Conceptually now, there are 4 main objects in the TUF client:

An memoryCache targetImpl: A map that stores target files by name.
A diskCache targetImpl: Stores targets on disk.
An embeddedWrapper targetImpl: This wraps the underlying (memory, disk) cache. By default it Gets embedded targets. If any targets were downloaded and Set, then Get transfers to retrieving from the underlying cache.
An embeddedLocalStore that wraps either a MemoryLocalStore or FileLocalStore. Similar to above, by default it gets embedded repo metadata, until any new metadata needed to be downloaded and set. Then any GetMeta operations get the cached metadata.

Other:

To make testing easier, interfaced the default embedded repo and default remote mirror.
Tested the addition of a new target in an update. The same test at HEAD fails to find the target.
I tested this against a binary of cosign that pointed to the default mirror as brokenv3's GCS bucket and it successfully found the new target fulcio_interemediate_v1.crt.pem

If this design looks good, I will continue to add testing and clean-up test code. It's a pain to manually write out TUF updates, so I'd like to unify those functions and also add testing for consistent snapshotting (note brokenv3 enabled that so I'm 90% sure that works with this fix).
Ticket Link

Fixes https://github.com/sigstore/cosign/issues/1899
Release Note

* bug fix: Fixes bug in TUF client to fetch newly added targets in the case of an embedded workflow.

cc @haydentherapper @dlorenc @znewman01

Codecov Report

Merging #1921 (25c3ad0) into main (5f09c42) will increase coverage by 0.13%.
The diff coverage is 56.96%.

@@            Coverage Diff             @@
##             main    #1921      +/-   ##
==========================================
+ Coverage   34.01%   34.15%   +0.13%
==========================================
  Files         153      153
  Lines        9977    10080     +103
==========================================
+ Hits         3394     3443      +49
- Misses       6202     6247      +45
- Partials      381      390       +9

Impacted Files
Coverage Δ

cmd/cosign/cli/fulcio/fulcioroots/fulcioroots.go
36.36% <0.00%> (ø)

pkg/cosign/tuf/client.go
58.59% <57.32%> (-3.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 5f09c42...25c3ad0. Read the comment docs.

cc @dlorenc I think we're all in agreement that there's follow-up here to be addressed as soon as this is merged https://github.com/sigstore/cosign/issues/1935, I'll be taking care of them one by one starting this afternoon and handing off to @vaikas for more testing of the policy controller.

Yay! Thanks everyone!

Yay! Thanks everyone!

@dlorenc please can I have a write access review :)


Adding PYTH Oracle Integration To Official Doc

Adding PYTH Oracle to the official Fuel Network document should be essential. This integration will be useful for developers to identify the oracles and price feed providers when building on Fuel Network.
Link : https://docs.fuel.network/
To be Added : PYTH Integration/ Price Feed
This integration is to informed developers and collaborators one of the best integration in Fuel Network.
More so, Issues with the PYTH Integration needs some work done, there are few errors in the Codebase that needs to be solve, Following the document path (Price Feed Event) : pyth-contract/src/errors.sw

Thanks for opening the issue. As the integration has not been officiated by the Pyth team yet, we are unable to add it to the official docs for now.
For further details this comment on a similar issue may be of use for context: https://github.com/FuelLabs/Pyth-integration/issues/8#issuecomment-1952816207

Awesome. Thanks for the heads up


Can not reproduce the results

Hello, first thank you for sharing the code! It was so glad to see your works.
When I ran your code, I found that the results of CiteSeer and PubMed datasets in Table 2 could not be reproduced.
python main.py --dataset CiteSeer --data_path dataset/ --imb_ratio 100 --net GCN --gdc ppr
python main.py --dataset PubMed --data_path dataset/ --imb_ratio 100 --net GCN --gdc ppr
As for the CiteSeer dataset, I actually ran it ten times, but the results are much different from the paper, even worse than some baseline.
The results reported in the paper are 64.50, 59.04 and 59.16 (acc, bacc, f1).

| acc | bacc | f1
-- | -- | -- | --
  | 62.18 | 56.836 | 56.17
std | 0.8728 | 0.89612 | 0.81981

As for PubMed dataset, it takes a long time to run it once. I only run it once, but the results are quite different.
The results reported in the paper are 79.20, 74.46 and 75.24 (acc, bacc, f1).

acc
bacc
f1

69.2
68.06
66.64

I hope I can get your help and look forward to your reply very sincerely！

Could you please confirm if you are now able to obtain results similar to those reported in the paper? I am also facing this issue.

Could you please confirm if you are now able to obtain results similar to those reported in the paper? I am also facing this issue.

Thank you for your reply. In this case, we can't use it as a baseline.

Thank you for your reply. In this case, we can't use it as a baseline.

Hello guys, sorry for the late reply! I have uploaded the hyperparameter settings in readme.md. Feel free to check & tune them. Thank you!


New version: Keeper.KeeperDesktop version <IP_ADDRESS>

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Resolves #55143

Microsoft Reviewers: Open in CodeFlow

/azp run

@wingetbot waivers Add Policy-Test-2.8


⚠ ClamAV has degraded performance

In 4cdbeab, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 774 ms

Resolved: ClamAV performance has improved in 882688f.


Test "cpp.libcxx.newlib.exception" failed on some x86 platforms.

Describe the bug
When running test "tests/subsys/cpp/libcxx/ cpp.libcxx.newlib" on some x86 platforms, the test it failed with timeout.
The output "exit" means that it couldn't handle the raised exception, so it invoked the default terminate function.
check and found that for those platforms, it used bin format "zephyr.bin" file to run tests, but the key .eh_frame section for exception handler has been removed from bin output.
This test failed on main, v3.0-branch, v2.7-branch.
 $<TARGET_PROPERTY:bintools,elfconvert_flag_section_remove>.eh_frame

Logs and console output
*** Booting Zephyr OS build zephyr-v3.0.0-14-gdb1f0289dd31  ***
version 201703
Running test suite libcxx_tests

START - test_array
PASS - test_array in 0.1 seconds

START - test_vector
PASS - test_vector in 0.1 seconds

START - test_make_unique
PASS - test_make_unique in 0.1 seconds

START - test_exception
exit

Environment (please complete the following information):

OS: Fedora
Toolchain: Zephyr-sdk-0.13.2

"some x86 platforms" is really not helpful. Please provide a proper description of the bug.
I am unable to reproduce this on the QEMU platforms:
INFO    -  1/14 qemu_x86                  tests/subsys/cpp/libcxx/cpp.libcxx.newlib          PASSED (qemu 2.461s)
INFO    -  2/14 acrn                      tests/subsys/cpp/libcxx/cpp.libcxx.newlib_nano     PASSED (build)
INFO    -  3/14 qemu_x86_64               tests/subsys/cpp/libcxx/cpp.libcxx.newlib_nano     PASSED (qemu 2.415s)
INFO    -  4/14 ehl_crb_sbl               tests/subsys/cpp/libcxx/cpp.libcxx.newlib_nano     PASSED (build)
INFO    -  5/14 qemu_x86                  tests/subsys/cpp/libcxx/cpp.libcxx.newlib_nano     PASSED (qemu 2.215s)
INFO    -  6/14 acrn_ehl_crb              tests/subsys/cpp/libcxx/cpp.libcxx.newlib_nano     PASSED (build)
INFO    -  7/14 up_squared                tests/subsys/cpp/libcxx/cpp.libcxx.newlib          PASSED (build)
INFO    -  8/14 up_squared                tests/subsys/cpp/libcxx/cpp.libcxx.newlib_nano     PASSED (build)
INFO    -  9/14 ehl_crb_sbl               tests/subsys/cpp/libcxx/cpp.libcxx.newlib          PASSED (build)
INFO    - 10/14 acrn                      tests/subsys/cpp/libcxx/cpp.libcxx.newlib          PASSED (build)
INFO    - 11/14 acrn_ehl_crb              tests/subsys/cpp/libcxx/cpp.libcxx.newlib          PASSED (build)
INFO    - 12/14 ehl_crb                   tests/subsys/cpp/libcxx/cpp.libcxx.newlib          PASSED (build)
INFO    - 13/14 ehl_crb                   tests/subsys/cpp/libcxx/cpp.libcxx.newlib_nano     PASSED (build)
INFO    - 14/14 qemu_x86_64               tests/subsys/cpp/libcxx/cpp.libcxx.newlib          PASSED (qemu 2.330s)

as for "some x86 platforms", this is not public, so I used this. actually, for those platforms support C++ exception, which use the bin format file "zephyr.bin" to this test, they all will meet this failure.

Looking at:
https://github.com/zephyrproject-rtos/zephyr/blob/affa68bbadf47adf791d1a535f406b91aa1d6f3b/CMakeLists.txt#L1420-L1429
.eh_frame should not be removed when CONFIG_EXCEPTIONS=y, which is the case for this test.
Are you sure this happens on the upstream boards?

sorry for the confusion, I submit this 8c069c3 into upstream recently, but I want to backport it into v3.0 and v2.7 too, need an issue to track it for backport PR, so I created this.

Ok, that makes a lot more sense 🤦♂
Thanks for clarifying.

fixed by #43681, #43679.


Release 1.x.x acceptance criteria

Release 1.x.x acceptance criteria
We are aiming to get this module to a stable 1.x.x release state. This issue covers the acceptance criteria for that.
Must have AC
These requirements are mandatory.

https://github.com/maxime-rainville/silverstripe-anyfield/issues/24
https://github.com/maxime-rainville/silverstripe-anyfield/issues/17
https://github.com/maxime-rainville/silverstripe-anyfield/issues/16
https://github.com/maxime-rainville/silverstripe-anyfield/issues/15
https://github.com/maxime-rainville/silverstripe-anyfield/issues/12
https://github.com/maxime-rainville/silverstripe-anyfield/issues/11
https://github.com/maxime-rainville/silverstripe-anyfield/issues/10
https://github.com/maxime-rainville/silverstripe-anyfield/issues/9
https://github.com/maxime-rainville/silverstripe-anyfield/issues/30
https://github.com/maxime-rainville/silverstripe-anyfield/issues/31

Nice to have AC
These requirements are optional for the initial release but should be delivered in future minor versions.

https://github.com/maxime-rainville/silverstripe-anyfield/issues/23
https://github.com/maxime-rainville/silverstripe-anyfield/issues/19
https://github.com/maxime-rainville/silverstripe-anyfield/issues/18
https://github.com/maxime-rainville/silverstripe-anyfield/issues/14
https://github.com/maxime-rainville/silverstripe-anyfield/issues/8
https://github.com/maxime-rainville/silverstripe-anyfield/issues/7
https://github.com/maxime-rainville/silverstripe-anyfield/issues/29

FYI: @maxime-rainville

In my mind the following "must have" are more in the "nice to have" category:

https://github.com/maxime-rainville/silverstripe-anyfield/issues/17
https://github.com/maxime-rainville/silverstripe-anyfield/issues/15

Some of the cards that were still open, were actually completed already, so I close those.

Next steps: we need to make sure this module works with LinkField 4 and ideally make the validation work the same way as LinkField.


staruml: 6.0.0 -> 6.0.1; use finalAttrs pattern

Description of changes
release post: https://staruml.io/blog/staruml-6-0-1-hotfix-release/
change log: https://staruml.io/download/
moved away from recursive attribute sets to the finalAttrs pattern

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

staruml

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

1 package built:

staruml


Add basic support to the harness for parallel test execution

This change introduces a new command-line parameter to enable parallel execution by a specified number of worker threads. When parallel execution is requested, tests are distributed across the worker threads. This behaviour is disabled by default.
This does not currently work for all suites as some of them are using global variables to configure tests. For the suites that do not use global state, this change reduced the execution time by up to 5x on an 8-core machine.

Reviewing.

Is there a list of tests that this could affect?

Is there a list of suites that this could affect?

It affects all the suites that use runTestHarness, runTestHarnessWithCheck, or parseAndCallCommandLineTests. I think that's actually all of them.


Fixed duration of videos

Currently recording to a file using timeout as a measure leads to inaccurate video lengths depending on the processing that needs to be done . Can there be any alternative here ?

Can you use ffprobe to get the duration writen to the file metadata? Also, you can try to re-encode it using ffmpeg since that most of the time solves issues with duration for me.

You can use the fix-webm-duration package to fix the duration of the webm output file.


[IOS] app freezes when writing characteristic data

Expected Behavior
The app correctly writes and returns a response after I call writeWithoutResponse on ios.
Current Behavior
The ios app freezes after i call writeWithoutResponse. In my code i call this function two times. The first time the app returns the characteristic but i don't get the value i wrote on the characteristic. The second time i try to write to the device, the program freezes and it never returns a response.
The program works fine on android and data is returned each time i call writeWithoutResponse.
Steps

connect the manager to the device
called discoverAllServicesAndCharacteristics
call writeWithoutResponse to ota characteristic to get access to write on the device
call writeWithoutResponse to change the value of a characteristic

Context

Library version: 2.0.3
Platform: iOS
Version: 12.5.5
Device: Iphone 6

My package json:
{
  "name": "efuzeapp",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx"
  },
  "dependencies": {
    "@miblanchard/react-native-slider": "^2.1.0",
    "@react-native-async-storage/async-storage": "^1.17.9",
    "@react-navigation/bottom-tabs": "^6.3.2",
    "@react-navigation/native": "^6.0.11",
    "@react-navigation/native-stack": "^6.7.0",
    "axios": "^0.27.2",
    "base-64": "^1.0.0",
    "buffer": "^6.0.3",
    "convert-string": "^0.1.0",
    "lodash.debounce": "^4.0.8",
    "mobx": "^6.6.1",
    "mobx-react-lite": "^3.4.0",
    "mobx-state-tree": "^5.1.6",
    "moment": "^2.29.4",
    "react": "18.0.0",
    "react-native": "0.69.4",
    "react-native-ble-plx": "^2.0.3",
    "react-native-chart-kit": "^6.12.0",
    "react-native-customisable-alert": "^0.1.20",
    "react-native-paper": "^5.0.0-rc.4",
    "react-native-safe-area-context": "^4.3.1",
    "react-native-screens": "^3.15.0",
    "react-native-svg": "^13.0.0",
    "react-native-vector-icons": "^9.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@react-native-community/eslint-config": "^2.0.0",
    "@tsconfig/react-native": "^2.0.2",
    "@types/convert-string": "^0.1.1",
    "@types/jest": "^26.0.23",
<EMAIL_ADDRESS>"^4.0.7",
    "@types/react-native": "^0.69.3",
    "@types/react-native-vector-icons": "^6.4.11",
    "@types/react-test-renderer": "^18.0.0",
    "@typescript-eslint/eslint-plugin": "^5.29.0",
    "@typescript-eslint/parser": "^5.29.0",
    "babel-jest": "^26.6.3",
    "eslint": "^7.32.0",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.70.3",
    "react-test-renderer": "18.0.0",
    "typescript": "^4.4.4"
  },
  "jest": {
    "preset": "react-native",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ]
  }
}

My Code

const writeCharacteristic = () => {
    //get the ota key
    setResettingSensor(true);
    if (!deviceToReset) {
      console.error('The device to reset is not defined');
      setResettingSensor(false);
      return;
    }
    const device = deviceToReset;
    const otaKeyHex = getOtaKeyValue(device);
    let otaKeyInt = parseInt(otaKeyHex, 16).toString();
    let msb = (otaKeyInt >> 8) & 0xff;
    let lsb = otaKeyInt & 0xff;
    const otaKey_chaHex = [lsb, msb];
    const otaKey_cha = Buffer(otaKey_chaHex).toString('base64'); // value of the ota key used to write on the device
    let resetCh = '1';
    msb = (resetCh >> 8) & 0xff;
    lsb = resetCh & 0xff;
    const resetChHex = [lsb, msb];
    const reset_cha = Buffer(resetChHex).toString('base64'); // reset fuse value used to write the characteristic value
    device
      .connect()
      .then(device => {
        console.log('Connected to the device');
        // discover charactetirstics
        return device.discoverAllServicesAndCharacteristics();
      })
      .then(async device => {
        try {
          /*
            Here i write to the ota characteristic
            on android i recieve the characteristic in responseOta.
            on ios it does the same but the characteristic.value is null
          */
          const responseOta =
            await device.writeCharacteristicWithoutResponseForService(
              SERVICE_UUID,
              OTA_CHARACTERISTIC_UUID, //ota key characteristic uuid
              otaKey_cha,
            );
          console.log('OTA RESPONSE');
          console.log(responseOta);
          /*
              Here is where i write to the characteristic that i want to reset.
              On android it works fine but on ios it freezes and never returns a value
          */
          const responseFuse =
            await device.writeCharacteristicWithoutResponseForService(
              SERVICE_UUID,
              RESET_FUSE_CHARACTERISTIC_UUID, // reset fuse characteristic uuid
              reset_cha,
            );
          console.log('RESET FUSE RESPONSE');
          console.log(responseFuse);
          await device.cancelConnection();
          setDeviceToReset(undefined);
          showAlert({
            title: 'Sensor successfully reset',
            alertType: 'success',
          });
        } catch (error) {
          console.log('Error while writting to the sensor');
          console.error(error);
          await device.cancelConnection();
        } finally {
          setResettingSensor(false);
        }
      })
      .catch(error => {
        console.log('error while connecting to the sensor');
        console.error(error);
        setResettingSensor(false);
      });
  };

Is there any solution to this?

writeCharacteristicWithoutResponseForService to writeCharacteristicWithResponseForService try this one

The new major release updates the core packages that support the latest versions of the operating system and fixes some old bugs. Please confirm if the issue still persists and create a new issue if it still does.


Add info about creating the database

I thought it would be helpful to add this info to the docs as many people are looking for the way to create a database.
I would appreciate some input on this, maybe there's something more that should be added or maybe the info is not so helpful after all.

ORMs don't necessarily create a database for you - in fact I know of only one that does (EF) but I'm sure there are others. I'm happy to help describe how to create one, but I don't think we need to give a reason as to why we don't do it (though I have one: Moebius shouldn't have this level of privilege).

@robconery Thanks for the reply. You have a good point. I'm going to edit it soon.
Any input on ways how to create the database (instead of doing it manually or using .sql script)? I'd be glad to add it to the readme.

@mkaszubowski how's the edits coming?

Sorry, I didn't have much time recently to edit it. Is it better now? I wasn't sure if I should add the info about the reason Moebius does not create the database, I decided that it's not essential in this paragraph after all. You can let me know what you think.

Hi,
I think this is worth adding. but would go further. Including why Moebius doesn't create databases is a good idea. I would also like more information on how people recommend running migrations. Even though they are not included.

Including why Moebius doesn't create databases is a good idea

This is going to sound a bit "direct"... but there's no other way to put it: it's not my job to inform people, necessarily, about how data access should be done. I like providing information - and maybe there's a way I could offer something in the README.
The primary reason you don't let your ORM create a database for you is permissions. For an ORM to do that for you, you require permissions that go well beyond what a query tool should have. For most users, this typically means "just set the role to SUPER ADMIN" and that's a really bad idea.
In addition: Moebius is not intended to be an ORM. It's a query tool and the idea is that the user knows something about PostgreSQL.
I really don't want to be too pointed here; I just don't know how else to put it.

Direct is no problem for me.
I was just reading through all the open pull requests and my comment was an mostly and encouragement to @mkaszubowski to finish his updates if he wanted to. or close the request if not.


Build fail: missing babel plugin @babel/plugin-syntax-dynamic-import

I've been unable to start the dev build.
There were 2 steps that made it work:

upgrade deps
add @babel/plugin-syntax-dynamic-import

<EMAIL_ADDRESS><EMAIL_ADDRESS>(I tried even newer versions however there were other issues.)
I am not sure if this PR is really a thing or I just have incorrect tooling set however I'll just make it coz it might at least help someone.

Nevermind, apparently tests do not work with node18 anyway.


Discussion for announcement: EF Core 2.0: Warning as error for ignored calls to Include()

This is the discussion thread for https://github.com/aspnet/Announcements/issues/256.

I like the change, hunting down warnings in the log (like "this is run locally, not in SQL") is pretty tedious. So I'd rather have a clear break point and fix the issue immediately.

Love this. Anything that promotes correctness. I for one did not know that navigation properties in the filter clause would auto include. As long as the error message is easy enough to understand, and it should be easy enough to correct (just remove the extra include). A well worth breaking change. Any chance of getting design model checking?

I for one did not know that navigation properties in the filter clause would auto include...

Technically, this does not "auto include" e.g. the object referenced in the filter just doesn't need to get materialized, while Include() is all about asking that extra objects get materialized.

Any chance of getting design time query checking?

We have talked about this sometimes but haven't done anything serious with it. Probably a good place to use Roslyn Analyzers. Would you like to create an issue for this and describe what you would want it to look like? (or check if we already have one).

Agreed. My only concern is if this is a breaking change to code that might update from v1 without errors. Otherwise, include errors can have huge perf implications and finding them later is very frustrating/expensive.

Agree with the previous comments and +1 for this breaking change.

@divega Thanks for the clarification. It makes sense that it can be filtered remotely but not projected aka materialized.

We have talked about this sometimes but haven't done anything serious with it. Probably a good place to use Roslyn Analyzers. Would you like to create an issue for this and describe what you would want it to look like? (or check if we already have one).

I think a Roslyn Analyzer is exactly the right technology for a query analyzer. Some quick thoughts would be to include query time estimations during construction so that you can get a feel for how long your query will take in rough orders of magnitude and with some sort of live preview would be nice. But that's off the top of my head. I don't have any real concrete specifics. I take a look and see if there is anything already out there.

My only concern is if this is a breaking change to code that might update from v1 without errors.

For people upgrading from version 1, might be a good idea to suggest that they use IncludeIgnoredWarning in the migration docs if they are running into issues, even go as far at to suggest enable it for production at first, and during the dev environment, go to the default setting.

Offer a way to toggle this programmatically such as an extension method IgnoreIncludeError() per query. This might be a pain point for those who generate EF queries dynamically and can't statically verify, but eventually want better runtime assertion that they are not wasting performance.

Please let know how many levels of child's will be considered like this ?
Parent.Where(e=>e.Child1.Where(d=>d.Prop1=="Test")).Select(o=>o.Child1)

@MisterFantastic can you clarify what you mean? I.e. considered for what? If you are asking how many levels of navigation can be used in a filter without having to use Include(), the answer is that it is not limited to a number of levels. Include() was never meant to be a way to bring objects into memory to make complex filters work. Filters can either be translated to SQL or part of them may need to be evaluated in memory (e.g. if we can't find a translation), but even in the latter case Include() would not help.
Include() is only about telling EF Core what additional navigations to traverse and bring into memory alongside the final result of the query.

@divega that answers my question. I agree part of the filters may have to done in memory.

How you guys do paging ?
For me is:
var query = _db.DbSet<Book>().Include(n=>n.Author);
if(....)
{
    query = query.Where(xxxx)  // filter
}
var pageSize = 8;
var currentPage = Sharp.ParsetInt(Request.Query["Page"]);// Sharp.ParseInt is a helper method
var data = query.ToPagedList(currentPage, pageSize)

Inside ToPagedList, it automatice  call  .Count()
Now you tell me the good of linq is gone, and I shuold rewrite the linq for a .Count() operation because .Count() will ignore Author  ?

This will throw error.
`var query = _dataContext.FormResponses.Include(x => x.Form).AsNoTracking();
        if (!string.IsNullOrWhiteSpace(search))
            query = query.Where(x => x.Form.Name.Contains(search) || x.Response.Contains(search));

        return await query.ToPagedListAsync(index, size, sortby, sortdesc, search);`

The method will look like this for paging:
`public static async Task<PagedList> ToPagedListAsync(this IQueryable source, int index, int size, string sortby = null, bool sortdesc = false, string search = null)
{
source = source.OrderBy(sortby, sortdesc);
        int total = 0;
        if (source != null)
            total = await source.CountAsync().ConfigureAwait(false);

        if (index <= 0) index = 0;
        if (size <= 0) size = 10;

        PagedList<T> pagedList = new PagedList<T>();
        pagedList.TotalCount = total;
        pagedList.TotalPages = total / size;

        if (total % size > 0)
            pagedList.TotalPages++;

        if (index > pagedList.TotalPages - 1)
            index = 0;

        pagedList.PageSize = size;
        pagedList.PageIndex = index;

        if (source != null && total > 0)
        {
            List<T> pageItems = await source.Skip(index * size).Take(size).ToListAsync().ConfigureAwait(false);
            pagedList.AddRange(pageItems);
        }

        pagedList.Search = search;
        pagedList.SortBy = sortby;
        pagedList.SortDesc = sortdesc;

        return pagedList;
    }`

An think about other methods that will do some select for values where the include is not needed!?

Why consume processor, memory, IO to analyze queries just to inform/throw error.

How about
var pids = context.Orders
    .Include(o => o.Product)
    .Where(o => o.Product.Name == "Baked Beans")
    .Select(o => new { OrderId = o.Id, ProductName = o.Product.Name })
    .ToList();

If I include Product => warning as error. But if I don't the o.Product in select is NULL.
What can I do?

But if I don't the o.Product in select is NULL

@thiennn that sounds like a bug. Could you please create a new issue with a full repro, stack trace, detailing what version you are using, etc? Thanks!

@aghe This case (where a single expression tree is built and then sometimes used in ways that the Include is needed and sometimes used in ways where it is not) is the one case we discussed as it being legitimate to have the Include in the expression tree even though it sometimes isn't used. For someone who is doing this intentionally and fully understands what is happening, then it would be the perfect case to configure this as a warning or even set the warning to be ignored. Whether or not we keep this behavior for 2.0 RTM or revert it will depend somewhat on our best estimate of the balance between people doing this verses just thinking the include is needed when it isn't.

Offer a way to toggle this programmatically such as an extension method IgnoreIncludeError() per query.

@wizarrc agreed that allowing the behavior to be overridden at a query level could help. In particular, general purpose methods like the one presented by @aghe could use this feature to avoid the error without disabling it globally.

@divega I looked back at some of my old projects, and having a query level ignore could help a lot.

@divega  what about a extension mehod called .MustInclude(n=>n.prop)  ? it can provide the error if you actually need  without break current application written with EF core 1.0

@John0King I think the point of the change is to cause awareness. If you want to upgrade and just to forget about improving your code performance, then you can globally opt out during the upgrade. I feel changing the default is the right move going forward, especially with new projects.

In my opinion default include behaviour must not throw any exception but emit log warning.
From #9064 my vote is for 4 option, make by default not throw any exception but can be reconfigured and must be configured  default template for stronger semantics and throws if ignored. Then anybody who don't want this semantic, can comment or delete one line in startup.cs file.

@sky-code Can you clarify what you mean by "default include behavior"? Do you mean that the default behavior when include is used incorrectly should be to warn and not to throw? If so, can you explain why you don't want it to throw when used incorrectly?

@wizarrc  Throw a error can improving performance ? I don't think so. Since this is configurable the framework need to check it anyway. (please let me know if I'm wrong)
I think linq should be smart, save our workload and do what we want , because we trade it with SQL's powerful , flexible and performance.
on the other hand:

Do you really not know your navigation property is ignored ?
What  you can do when  you know it is ignored ?
This behaviour (throw error) will break any automatic operation (such like OData's paging or a ResultFilter for  support auto pageing api) if you do want to include some navagation property

@ajcvickers default include behavior" in this case is warning (2 option from #9064)
"why you don't want it to throw when used incorrectly" because it's not about correctness, it's all about optimization and semantic of this problem is the same as with N+1 with lazy navigation properties, sometimes you just don't care about performance and optimization, as example code to be executed once per month for some job written by junior with N+1 and unused include and this still ok because job is done (sometimes bad quality is ok) but if it will throw exception much more time will be required to obtain same result

@John0King Obviously throwing an error itself does not improve performance. What I like about it is during development time, it helps you optimize your query to be more lean, which in turn is faster than fetching data that is not used in your projection.

This behaviour (throw error) will break any automatic operation (such like OData's paging or a ResultFilter for support auto pageing api) if you do want to include some navagation property

I don't understand how this would break paging. I thought this is about throwing errors only when fetching (include) data that is not being materialized. If it does, I think something bigger is seriously wrong.

@ajcvickers I think a better approach might be to have a commented out section with the config needed to ignore throwing error in new project templates (maybe even migrated projects if possible). Along with the commented out config, text explaining the option along with text explaining how to opt out on a per query basis as I proposed instead. Documentation everywhere might help people make the right choice for them. I still feel opt-in ignore errors is the right model.

Thanks for all the comments.
Just to clarify something, when the Include is ignored and the warning/error is generated, it means that the SQL query sent to the database would be exactly the same as if the LINQ query did not have the calls to Include. In other words, the application behaves the same way with or without the Include being there. So there is no efficiency gain from not having the Include. (Other than parsing the Include call, but that's negligible.)
The reason for having the warning, and for turning it into an error, is to try to educate people about what Include does. We see so many bugs filed where people get confused because "the Include isn't working" when it is in fact never used. This was also a problem with the old stack so we have been discussing for years how to educate people on this. Maybe this is going a step too far--which is why the feedback is awesome--but we're also open to any other ideas people have for education on Include.

After much discussion, we have decided to revert this back to a pure warning for 2.0--see #9064 for more details.
Please continue to give us any feedback/ideas on this issue since we will be continuing to think about this going forward and appreciate any input people have.

@sky-code thanks. That would be a variation of option (4) in #9064. In general the bar for adding something to the template is high, as we don't want to make the signal-to-noise ratio in the template worse. Commented code almost by definition cannot meet that bar (i.e. if it is important enough to add it, why is it commented out?). So we are more likely going to look at other ways to "educate" about Include() before we resort to something like this.

@divega in that case don't comment code, but configure same value as default, with comment link to details?
            services.AddDbContext<ApplicationDbContext>(options =>
            {
               // summary about it and link to details http://docs.asp.net/123
               options.ConfigureWarnings(w => w.Log(CoreEventId.IncludeIgnoredWarning));
            });

main question is to place the comment to details or not and where to do it?


Randoms crashes when worms is launched

Title says all, at first after pasting the module it works fine for the first time but if I relaunch the game, it would occur random crashes saying that it was caused by wkTerrainSync.dll.
Im using the CD version updated to 3.8.1, if you need more info let me know, first time using github.

Hi, thank you for reporting this issue. I think it's related to change I introduced in version 1.2.3 and later modified in 1.2.4 which relates to scanning terrain files in background thread: https://github.com/nizikawa-worms/wkTerrainSync/blob/676bcb981b2cc1bba80e8928fceb3731d40beb63/src/Threads.cpp#L8-L21
I believe that I broke one of Dynamic-Link-Library best practices: https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-best-practices (creating a thread and synchronizing it in DllMain).
You can try disabling the thread by editing wkTerrainSync.ini and setting this line:
ScanTerrainsInBackground = 0 or downgrading the module to version 1.2.2 (available in Releases page).
Please let me know if it fixes your issue. I will look into making a safer way to create a data scan thread.

Commit 2d8a1591f4b1086e9759cb1f4543f2f38860a52c should fix this issue. Can you check the latest release if it still crashes randomly?


Use fmt.Sprintf instead of strconv.Itoa

What type of PR is this?

/kind cleanup
/area gwctl
/cc @gauravkghildiyal
What this PR does / why we need it:
For code consistency, use fmt.Sprintf instead of strconv.Itoa.
- ports = append(ports, strconv.Itoa(int(listener.Port)))
+ ports = append(ports, fmt.Sprintf("%d", int(listener.Port)))

Which issue(s) this PR fixes:

Ref. #2782
Does this PR introduce a user-facing change?:

NONE

Thanks @jongwooo
/lgtm
/approve


Update to release net8.0

Update to release net8.0
Remove un-needed usings

Update to 8.0.2
Add service-worker for #6


Watch for ClusterSyncLease and renew if it is missing

xref: https://issues.redhat.com/browse/HIVE-2038

actually
/hold
cause we talked about you looking at the logs on OSD stage before/after. Unhold once you've gotten your "before" picture.

/unhold


[Question] Using a different model?

Hi @haekyu, great work! Just curious, if we want to use models other than Inception v1, do we just need to update the LAYER_BLK_SIZES  and LAYER_SIZES  in the model.py? If not, do you have suggestions on what we need to update? Thanks!

Hi Zhuoyue, thanks for your interest in this work. Yes you might want to update the variables in model.py. We haven't checked whether other models work thus it might need more modifications in other codes. For example, if you want to use the visualization, you might need to update the data (e.g., data/top-neurons/top_neurons-ambulance-street_sign-fgsm.json).


Easy migrate from redux-promise

Hi guys!
I have the redux-promise in my project and I want to migrate to this library.
Without configuration this library I need to change all reducers types from REDUCER_TYPE to REDUCER_TYPE_FULLFILLED. That is not cool.
I found that possible to change default type suffixes and type delimeter in options:
promiseMiddleware({
  promiseTypeSuffixes: [
      'PENDING',
      '', // fullfilled promise
      'REJECTED',
  ],
  promiseTypeDelimiter: '',
})

It's almost working but delimiter not changing out of this line of code:
https://github.com/pburtchaell/redux-promise-middleware/blob/0ba20c4aebb151dca7ebea6b47767f22dc1588d2/src/index.js#L16
Is it possible to change this line to smth like this
  const PROMISE_TYPE_DELIMITER = typeof config.promiseTypeDelimiter === 'undefined' ? '_' : config.promiseTypeDelimiter;

or make some another possibility to not adding delimeter and suffix for fullfilled reducer?

Ha! It's really no needed.
I have wrote simple middleware for removing suffix and it's working great.
function removeFullfilledSuffixMiddleware() {
    return (next) => (action) => next({
        ...action,
        type: action.type.replace(/_FULFILLED$/, ''),
    });
}

Perfect! Glad you got a solution. 😄

REDUCER_TYPE to REDUCER_TYPE_FULLFILLED

This has often been a point of discussion on the middleware issues, but until there's a convincing argument for otherwise, we believe promise actions should describe the promise state.
In other words:

'FOO' => describes a promise (not serializable)
'FOO_PENDING' => describes a pending promise state (serializable)
'FOO_REJECTED' => describes a rejected promise state (serializable)
'FOO_FULFILLED' => describes a fulfilled promise state (serializable)

One could argue this is verbose, but I think it's valuable to use descriptive action type strings.

Closing because a solution was found.

I'm migrating right now from redux promise,
The main reason is because the action pending rejected events.
I liked this library finally i'll be able to put progress bar properly
However only on debug I understood why my 'FOO' reducer didn't work.
I see that this issue is closed but I think that the normal (FULFILLED) should be just FOO.
The reason is that in non Promise reducers we use it that way.


Citus extension support, create_distributed_table

Bug description
Under the hood Citus connects to the coordinator node (database server) that routes queries to the relevant worker node (another database server). Prisma on the other hand, connects to postgres as the default database if no database is specified.
❯ npx prisma migrate dev
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "localhost:5433"

When distributing tables through a migration, Prisma can't find the tables in the database:
Error:
❯ npx prisma migrate dev
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "localhost:5433"

Error: P3006

Migration `20220521072549_distribute_tables` failed to apply cleanly to the shadow database.
Error code: P1014
Error:
The underlying table for model `company` does not exist.

How to reproduce

git clone git@github.com:ruheni/citus-prisma-reproduction.git
cd citus-prisma-reproduction
npm install
npx prisma migrate dev
docker-compose up

Create a new migration to distribute the tables
npx prisma migrate dev --create-only --name distribute-tables

Edit new migration with Citus syntax to distribute tables:
SELECT create_distributed_table('Company','id');
SELECT create_distributed_table('Campaign','company_id');
SELECT create_distributed_table('Ad','company_id');
SELECT create_distributed_table('Click','company_id');
SELECT create_distributed_table('Impression', 'company_id');

Apply migration
npx prisma migrate dev

The second error in the bug description pops up
❯ npx prisma migrate dev
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "localhost:5433"

Error: P3006

Migration `20220521072549_distribute_tables` failed to apply cleanly to the shadow database.
Error code: P1014
Error:
The underlying table for model `company` does not exist.

Expected behavior

Connect to the right database server/ Let citus handle the database connection
Successfully distribute tables in the cluster

Prisma information
datasource db {
  provider = "postgres"
  url      = "postgresql://postgres:@localhost:5433"
}

generator client {
  provider = "prisma-client-js"
}

model Company {
  id BigInt @id @default(autoincrement()) @db.BigInt

  name      String   @db.Text
  image_url String?  @db.Text
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt

  campaign    Campaign[]
  ads         Ad[]
  clicks      Click[]
  impressions Impression[]
}

model Campaign {
  id BigInt @default(autoincrement()) @db.BigInt

  name           String @db.Text
  cost_model     String @db.Text
  state          String @db.Text
  monthly_budget BigInt @db.BigInt

  blacklisted_site_urls String[] @db.Text
  createdAt             DateTime @default(now())
  updatedAt             DateTime @updatedAt

  company    Company @relation(fields: [company_id], references: [id], onDelete: NoAction, onUpdate: NoAction)
  company_id BigInt

  ads Ad[]
  @@id([company_id, id])
}

model Ad {
  id                BigInt   @default(autoincrement()) @db.BigInt
  name              String   @db.Text
  image_url         String?  @db.Text
  target_url        String?  @db.Text
  impressions_count BigInt   @default(0)
  click_count       BigInt   @default(0)
  createdAt         DateTime @default(now())
  updatedAt         DateTime @updatedAt

  clicks      Click[]
  impressions Impression[]

  company    Company @relation(fields: [company_id], references: [id])
  company_id BigInt

  campaign            Campaign? @relation(fields: [campaign_company_id, campaign_id], references: [company_id, id], onDelete: NoAction, onUpdate: NoAction)
  campaign_company_id BigInt?
  campaign_id         BigInt?

  @@id([company_id, id])
}

model Click {
  id                 BigInt   @default(autoincrement()) @db.BigInt
  clicked_at         DateTime @db.Timestamp()
  site_url           String   @db.Text
  cost_per_click_usd Decimal  @db.Decimal(20, 10)
  user_ip            String   @db.Inet
  user_data          Json     @db.JsonB

  company    Company @relation(fields: [company_id], references: [id])
  company_id BigInt

  ad            Ad?     @relation(fields: [ad_company_id, ad_id], references: [company_id, id], onDelete: NoAction, onUpdate: NoAction)
  ad_company_id BigInt?
  ad_id         BigInt?

  @@id([company_id, id])
}

model Impression {
  id                  BigInt   @default(autoincrement()) @db.BigInt
  seen_at             DateTime @db.Timestamp()
  site_url            String   @db.Text
  cost_per_impression Decimal  @db.Decimal(20, 10)
  user_ip             String   @db.Inet
  user_data           Json     @db.JsonB

  company    Company @relation(fields: [company_id], references: [id])
  company_id BigInt

  ad            Ad?     @relation(fields: [ad_company_id, ad_id], references: [company_id, id], onDelete: NoAction, onUpdate: NoAction)
  ad_company_id BigInt?
  ad_id         BigInt?

  @@id(fields: [company_id, id])
}

Environment & setup

OS: Mac OS
Database: PostgreSQL
Node.js version: 16.13.1

Prisma Version
prisma                  : 3.14.0
@prisma/client          : 3.14.0
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 2b0c12756921c891fec4f68d9444e18c7d5d4a6a
Studio                  : 0.460.0

Prisma only connects to the server defined in the connection string, which in your case I guess was the "coordinator node (database server)". The error message indicates that this goes wrong when migrate devs shadow database comes into play. I guess our logic to just create an additional database does not play well with how Citus then tries to store the tables via create_distributed_table.
We'll have to investigate further what exactly is going on.
Initial approach would be to create a second Citus instance manually and use that explicitly as the shadow database, and see what happens then: https://www.prisma.io/docs/concepts/components/prisma-migrate/shadow-database#cloud-hosted-shadow-databases-must-be-created-manually

any updates on this?

@janpio has the team had a chance to look at this? Are there any workarounds?

I believe I have discovered the issue: citus doesn't seem play well with Prisma's naming convention of using PascalCase for table names. I got this to work with the following schema, which maps to snake case for each table and column.
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model User {
  id              Int
  distributionKey Int    @map("distribution_key")
  name            String @map("name")
  favoriteColor   String @map("favorite_color")

  @@id([id, distributionKey])
  @@unique([distributionKey, name])
  @@map("user")
}

Here is the migration that worked:
CREATE EXTENSION IF NOT EXISTS citus;

SELECT create_distributed_table('user', 'distribution_key');

When trying to use PascalCase for the table name, the migration fails similar to above. Creating table names in snake case seems to be necessary for citus to work properly.

@janpio Is it possible to automatically map camel case in the prisma schema to snake case in the database? Needing to map every table and every field  would be error prone and basically a non-starter. I would imagine this would make working with Postgres much easier, as there is a strong preference to just use snake case there.


updates termios dependency to use crates.io registry

I merged your PR (https://github.com/dcuddeback/termios-rs/pull/2), so this should be good to go.

Awesome, thanks @dcuddeback  ! :+1:


add last9 to otel vendors.yaml

Adding Last9 Levitate to the list of Vendors
https://last9.io
https://docs.last9.io/docs/levitate-integrations-opentelemetry

@chalin Done.

/fix:all

/fix:format

/fix:format

@chalin No sweat at all! 😅🙏

@chalin Sorry, but could you check who can merge this? Don't see anyone tagged above so unsure about this. Thanks!


Add ES Connector query

We need to add information about how to create the ES text index.

Done in https://github.com/KnowWhereGraph/kwg-deployment/pull/34


Add support 'sklearn.neighbors._nca.NeighborhoodComponentsAnalysis'

sklearn.neighbors._nca.NeighborhoodComponentsAnalysis is an algorithm that uses a technique similar to k nearest neighbors to find a space in which neighborhoods of points sharing the same labels are tighter than points with different labels.
NCA  is very powerful if using with K-Nearest Neighbors. So. recently, NCA+KNN pipeline is used in many ml projects.
please, support NeighborhoodComponentsAnalysis model.

Hi @jaehyeongAN! I can take a look at this and let you know.


[New Port Request] MIT Kerberos (krb5)

Library name: krb5
Library description: MIT Kerberos Version 5, a network authentication system
Source repository URL: https://github.com/krb5/krb5
Project homepage (if different from the source repository): https://web.mit.edu/kerberos/
Anything else that is useful to know when adding (such as optional features the library may have that should be included):
Windows build instructions can be found at https://github.com/krb5/krb5/tree/master/src/windows

@anonymousr007, sorry for late response, I assigned this issue to you, we're happy to accept a PR for this！

@anonymousr007 Can you please open a PR to add this port?
Thanks.

@anonymousr007 Any updates?

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


Error: while installing, something related to fastapi

Collecting fastapi>=0.108.0 (from openui==0.2)
Using cached fastapi-0.109.2-py3-none-any.whl.metadata (25 kB)
ERROR: Exception:
Traceback (most recent call last):
File "/Users/amitabhsarkar/anaconda3/envs/myenv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
File "/Users/amitabhsarkar/anaconda3/envs/myenv/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
File "/Users/amitabhsarkar/anaconda3/envs/myenv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 377, in run
requirement_set = resolver.resolve(
File "/Users/amitabhsarkar/anaconda3/envs/myenv/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
result = self._result = resolver.resolve(
File "/Users/amitabhsarkar/anaconda3/envs/myenv/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/Users/amitabhsarkar/anaconda3/envs/myenv/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 457, in resolve
raise ResolutionTooDeep(max_rounds)
pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 200000

Hmm, looks like your environment is messed up.  Here's what I would try.

Try upgrading pip python -m pip install --upgrade pip
pip uninstall fastapi
If that doesn't work, try creating a clean virtual environment

2. pip uninstall fastapi

thanks for the reply, I tried this, after running pip install .  I am getting a new issue,
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/wandb/weave.git /private/var/folders/11/y43qcy3d5yb4gf7f1sfdffm80000gp/T/pip-install-p6938ebp/weave_1851406e5a5b439e998ccaa845f1d842 did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/wandb/weave.git /private/var/folders/11/y43qcy3d5yb4gf7f1sfdffm80000gp/T/pip-install-p6938ebp/weave_1851406e5a5b439e998ccaa845f1d842 did not run successfully.
│ exit code: 128
╰─> See above for output.

Try replacing the git weave URL in pyproject.toml with "weave" and it should work.


[POAE7-2387] Support Inner Join for Arrow Format

What changes were proposed in this pull request?

Support hash join for Inner Join for Arrow Format

add arrow-array-format dataprovider
update col_range, tableInfo support before compile
add hashjoin runtime function
make hashtable build skip null data
change perfecthashtable and baseline hashtable codegen
update runtimemodule

Why are the changes needed?

migrate inner join to arrow format
Does this PR introduce any user-facing change?

No
How was this patch tested?

Uts
Which label does this PR belong to?

CODEREFACTOR

@spevenhe please resolve the conflicts first.


Error parsing template admin_tools/menu/dummy.html: Invalid template name in 'extends' tag: ''

I have the following error from django-admin-tools when using django-compressor:
$ python manage.py compress --force
Compressing... Error parsing template admin_tools/menu/dummy.html: Invalid template name in 'extends' tag: ''. Got this from the 'template' variable.
Error parsing template admin_tools/dashboard/dummy.html: Invalid template name in 'extends' tag: ''. Got this from the 'template' variable.
done
Compressed 22 block(s) from 202 template(s) for 1 context(s).

Versions:

Python 3.10.1
Django==3.2.12
django-admin-tools==0.9.2

Can you use {% include template %} instead {% extends template %} in dymmy.html?

I think this PR #127 would solve the issue.

Fixed with new 0.9.3 release, thanks.

Thank You @izimobil Its working fine with the 0.9.3 release.


Document clear definition of each of the config variables

[ ] Minimum of most important variables to tweak / typical changes
[ ] Make clear which params are vital

Branch: https://github.com/PandemiaProject/pandemia/tree/documentation
@James-Thompson-724 if you want to @ me once this is ready to be merged then I can review and handle!

@AoifeHughes Hi Aoife, I'd like to merge the documentation branch into the develop branch now. Could you review and handle this, as you suggested? Thanks!


implement registration and listening of crd trainingjob

I have implemented a custom resource definition for paddle training job. The changes in this PR include:

go/pkg/controller, responsible for the registration and listening for CRD TrainingJob, and creating a job tracker for each training job to manage its whole lifecycle
go/pkg/client, auto generated codes for CRD client and informer
go/hack, use our own boilerplate file as default rights comment in generated codes
go/cmd/operator, a new binary component for CRD, which will be combined with the autoscaler in the near feature

About 1st change, I leave a interface for @qizheng09 to implement the job tracker/controller.

I will split the pr into three parts:

reorganize the directory, rename the go dir to pkg and move the dirs under current pkg dir
supplement the generated codes for crd
add the implementation of management of crd
Is this reasonable? @typhoonzero

@m3ngyang Sure!


What's with that margin ?

Where does this margin-right come from ?

I can't reproduce it, I just released a new versión then I will close this issue


Fix alignment tool bazel build and update alignment code to python 3

Fixes #19

@googlebot I signed it!

Thanks for the fixes! Can you reformat the code to match our 2-space indentation standard? There's a pylintrc here to check it: https://github.com/magenta/note-seq/blob/master/pylintrc

You're welcome! I reformatted the could so it should now match the standard.


image prediction example is not valid

The link in image classification example is not valid (the link is redirected to: http://mxnet.io/tutorials/python/predict_imagenet.html ) - >i think  the correct link is: "http://mxnet.io/tutorials/python/predict_image.html"

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!
Also, do please check out our forum (and Chinese version) for general "how-to" questions.


Laravel 5.4.31

The client can't be installed on laravel 5.4.31.
Any idea how to install it?

Hey @mocheaz , thanks for reaching out here.
Could you be more specific?
Are you talking about the algoliasearch-client-php or this package?
Have any errors?

Sorry it was because my php wasn't ^7.0


consider rename parameter fromfile since it accept both file path and dictionary

https://github.com/jerber/MagicDB/blob/7ae33fec62ab3af44688e29b29d669f756c196c8/src/magicdb/database/Database.py#L10-L22
the firebase
credentials.Certificate(from_file)

from_file could be either file path or dict

Good point, I'll rename it in the next version.


Uncaught Error: The specified module could not be found./?~\AppData\Local\atom\app-1.33.0\res...

[Enter steps to reproduce:]

...
...

Atom: 1.33.0 x64
Electron: 2.0.11
OS: Microsoft Windows 10 Pro
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\Users\samson adeyemi\AppData\Local\atom\app-1.33.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:166

Error: The specified module could not be found.
\\?\C:\Users\samson adeyemi\AppData\Local\atom\app-1.33.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (module.js:671:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:180:18)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:11:18)
    at customRequire (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:1:626990)
    at get_KeyboardLayoutManager (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:3077420)
    at get_manager (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:3077500)
    at Object.getCurrentKeyboardLayout (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:3077626)
    at e.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:14:996389)
    at KeymapManager.t.exports.KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:1228307)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:1226292)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:285037)

Commands

Non-Core Packages
linter 2.0.0
linter-ui-default 1.7.1
prettier-atom 0.53.0

Thanks for contributing!
We noticed that this looks like a duplicate of #14461 so you can subscribe there for updates if you'd like.  Also, if you have an anti-virus program running you can try temporarily disabling it and then reinstall Atom to see if that helps.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Autocomplete commands

As you know, Minecraft has autocomplete commands, a hint. I was going to remove some of these autocomplete commands for players without op on my server. When I got to the commands of THIS plugin, not only are they not hidden by default for players without op, but moreover they cannot be hidden, because the hints contain a SPACE! I very much ask you to remove this space/ add the ability to remove, or at least remove this function for players without op. This is generally the first plugin in which I encounter such stuff.
If it's not clear which autocomplete commands I'm talking about, here's a screenshot:

I hope this will be fixed soon.

Thanks for the quick response! I would really appreciate it if you added perm to turn off myworlds command suggestions.

Does this help? https://ci.mg-dev.eu/job/MyWorlds/253/
Revoke the 'myworlds.command.suggestions' permission to hide autocompletions

I tried adding myworlds.command.suggestions perm with false and with true, but nothing changed

It should at least get rid of all the /myworlds [subcommand] suggestions right? Would be weird if it didnt. Its possible the "myworlds" command isnt hidden as thats controlled by the bukkit api

Yeah, of course


Fix bug causing the profile to never update

New users could not register their data and old users could not update their profile. Fixed bug by saving when update function called.
Before:
After submitting new data, it clears the form and shows isRegistered as empty:

After - Registration
When submitting it updates and lets you pass through:

After - Updating Profile
Showing previous & updated values before hitting Submit:

Showing values were successfully saved when returning to Profile screen:

facepalm what an embarrassing regression. Might be time for me to think about testing 😂
Thanks for catching!


modern-isc-report:0.1.0

I am submitting

[X] a new package
[ ] an update for a package

Description: This package is an official template for writing reports for the ISC bachelor degree programme at the School of Engineering in Sion, Switzerland.

I have read and followed the submission guidelines and, in particular, I

[X] selected a name that isn't the most obvious or canonical name for what the package does
[X] added a typst.toml file with all required keys
[X] added a README.md with documentation for my package
[X] have chosen a license and added a LICENSE file or linked one in my README.md
[X] tested my package locally on my system and it worked
[X] excluded PDFs or README images, if any, but not the LICENSE

[X] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

There are by now various templates starting with "modern-". We think that the profileration of this term isn't great for users and not really in the spirit of the naming rules. While it's not forbidden, we strongly discourage its use. Instead, we recommend you choose an adjective that more closely relates to your template.

Would something like "official-" be more appropriate in your opinion (as it is an official template for the school) ?

If you have an official role in that university and the template is thus truly official, then a descriptive name would be allowed. Then, we would need to verify that. If you're a student and it's not truly official, but rather just adhering to the official guidelines, then the prefix "official-" would not be allowed, as it'd be misleading. In this case, I would suggest just picking some word that fits well with your university. Since it is an engineering school, it might be something engineering related, or really just any other interesting thing you can come up with.

Yes the template is truly official as I am the head of the CS department and I plan to release templates for reports and thesis in my university. What do you need to proceed ? I have official websites that I can send you as well as as official emails.

Okay, that changes things.
If ISC is a term exclusive to your university, you can just call it isc-report. If it's a common French abbrevation, then we'd encourage you to include the abbrevation of your university in the name as well.
Regarding verification, you could just send us an email from your official address to<EMAIL_ADDRESS>

I got the mail, thank you! It's great to have someone submitting an official template! :)
I think isc-hei-report was ideal, as it includes the university name, whereas isc-engineering-report is more general again. Note, that the folder name also needs to change for the package to be functional (and CI to pass) again.

Fine by me, renamed to isc-hei-report and directory name changed as well. Thank you for the comments !


Improve testing component example to avoid misleading auto import understanding

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.11.2
CLI Version:      3.11.1
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, modules
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-aygvkp?file=components%2Fcomponent.nuxt.test.ts
Open the stackblitz and notice that the editor complains:
Cannot find name 'SomeComponent'. Did you mean 'component'?(2552)
component.nuxt.test.ts(10, 9): 'component' is declared here.

Run the test suite and notice that the tests fail with:
ReferenceError: SomeComponent is not defined

Describe the bug
I have followed the instructions on https://nuxt.com/docs/getting-started/testing and the way I read this section SomeComponent should be auto-imported into that test.
The test suite runs successfully and all tests pass if I uncomment the SomeComponent import on line 4 but according to the example in the doc, that isn't necessary. Also, when I uncomment line 4, I get the following error:
Cannot find module './SomeComponent' or its corresponding type declarations.(2307)

Compare this to a similar import in SomeWrapperComponent.vue which does not cause the error.
Additional context
No response
Logs
No response

I think the docs are misleading there. You have to explicitly import the component. "Auto imports" of sub components should work fine.
PR welcome to improve it!

Thanks @manniL - appreciate your feedback - I'll look at a PR for the docs.

Thank you! I would suggest doing this:
import { SomeComponent } from '#components'

The auto-import of components that is supported in the runtime environment is within the component (e.g. SomeComponent doesn't have to explicitly import components used in it), not within the test file.


Adapted store migration scripts for Mercury software version to use the right keys

This PR introduces the following changes:

Reorganization of store migration folders. Folder v1 is created where final keys prior to the Mercury upgrade are placed. Folder v2 is created and scripts for Mercury upgrade are placed in it. Final keys that match Mercury release are placed in this folder.
Store migration scripts in v2 are adapted to use v1 keys as initial keys and v2 keys as final keys. This way migration scripts no longer depend on current keys from types/key.go.

@jkilpatr Can you send us the location of document in which we should describe the common pattern for migrations? We would write this manual in some other PR.

Lints check are now passing even though they weren't failing because of code changes but rather because the go get command failed for golangci-lint.
We added migrations.md. Can you take a look?


[BUG] Columns with parenthesis are not escaped in hashdiff

Describe the bug
Column names with parenthesis included in hashdiff are not properly escaped in the generated code.
Environment
dbt version: 1.1.1
dbtvault version: 0.8.3
Database/Platform:  SQL Server
To Reproduce
Steps to reproduce the behavior:
Use a column name with parenthesis in hashdiff.
The compiled code:
ISNULL(NULLIF(UPPER(TRIM(CAST(OPERATOR (REPORTED) AS VARCHAR(max)))), ''), '^^'),
Expected behavior
The compiled code should be:
ISNULL(NULLIF(UPPER(TRIM(CAST("OPERATOR (REPORTED)" AS VARCHAR(max)))), ''), '^^'),
Additional context
The issue seems to be in this logic in dbtvault/macros/supporting/hash.sql
    {%- for column in columns -%}
        {%- do all_null.append(null_placeholder_string) -%}
        {%- set column_str = dbtvault.as_constant(column) -%}
        {%- if dbtvault.is_expression(column_str) -%}
            {%- set escaped_column_str = column_str -%}
        {%- else -%}
            {%- set escaped_column_str = dbtvault.escape_column_names(column_str) -%}
        {%- endif -%}
        {{- "\nISNULL({}, '{}')".format(standardise | replace('[EXPRESSION]', escaped_column_str), null_placeholder_string) | indent(4) -}}
        {{- "," if not loop.last -}}

dbtvault/macros/intenal/helpers/is_checks.sql
{%- macro is_expression(obj) -%}
    {%- if obj is string -%}
        {%- if (obj | first == "'" and obj | last == "'") or ("(" in obj and ")" in obj) or "::" in obj -%}
            {%- do return(true) -%}
        {%- else -%}
            {%- do return(false) -%}
        {%- endif -%}
    {%- else -%}
        {%- do return(false) -%}
    {%- endif -%}
{%- endmacro -%}

where a column with parenthesis in column name is considered an expression and uses the returned value of dbtvaul/macros/internal/metadata_processing/as_constant.sql
{%- macro default__as_constant(column_str) -%}
    {%- if column_str is not none and column_str is string and column_str -%}
        {%- if column_str | first == "!" -%}
            {{- return("'" ~ column_str[1:] ~ "'") -}}
        {%- else -%}
            {%- if dbtvault.is_expression(column_str) -%}
                {{- return(column_str) -}}
            {%- else -%}
                {{- return(dbtvault.escape_column_names(column_str)) -}}
            {%- endif -%}
        {%- endif -%}

which again evaluates the column name as an expression, therefore not escaping it.
Bypassing the logic:
    {%- for column in columns -%}
        {%- do all_null.append(null_placeholder_string) -%}
        -- {%- set column_str = dbtvault.as_constant(column) -%}
        -- {%- if dbtvault.is_expression(column_str) -%}
        --     {%- set escaped_column_str = column_str -%}
        -- {%- else -%}
        --     {%- set escaped_column_str = dbtvault.escape_column_names(column_str) -%}
        -- {%- endif -%}
        {%- set escaped_column_str = dbtvault.escape_column_names(column) -%}
        {{- "\nISNULL({}, '{}')".format(standardise | replace('[EXPRESSION]', escaped_column_str), null_placeholder_string) | indent(4) -}}
        {{- "," if not loop.last -}}

renders the expected code:
ISNULL(NULLIF(UPPER(TRIM(CAST("OPERATOR (REPORTED)" AS VARCHAR(max)))), ''), '^^'),
but not sure what could be the consequences of such.

Hi, thank you for reporting this issue.
This has also been reported as issue 114. Please see that issue for details of the proposed fix which has now been developed, and which will be included in the next release.

Fix released in v0.9.0. Let us know if you continue to have issues. Thanks!


Fix IPv6 IP port splitting

Right now, ListenCaddy splits the port in IPs based on the ":" part. This works fine for IPv4, but when it comes to IPv6, it does not work. I have found a RegEx (of course I wouldn't make RegEx) that works on both IPv4 and IPv6: https://regexr.com/3hpvt
Not sure about performance though

Since I now have IPv6, I guess I should work on this now

Not sure about performance though

It wouldnt make a difference I think

Im not sure how to locally test IPv6

Fun!

I believe it should work, AbuseIPDB allows you to search IPv6 addresses with those brackets.

Fixed


Internal Temperature Sensor readings are too high

Testing a program on my new pico, trying to read the temperature from the internal temperature sensor, the results coming back are clearly too high for my environment.
The code I'm running:
#include <pico/stdlib.h>
#include <hardware/adc.h>

stdio_init_all();
adc_init();
adc_set_temp_sensor_enabled(true);
adc_select_input(4);

// 12 bit conversion factor
const double conversion_factor = 3.3f / (1 << 12);

while (true) {
                double result_tmp = adc_read() * conversion_factor;
		double tmp = 27 - (result_tmp - 0.706) / 0.001721;  // Formular from the Pico  C/C++ SDK  Manual
		printf("Temperature: %4.2f\n", tmp);

		sleep_ms(995);
}

I'm getting readings and they're changing, the values are just clearly too high. Room temperature is around 20 - 25 deg C.
Is it an error in the code or a problem with the SDK?

Part of the RP2040 datasheet says "Temperature varies for two reasons. Firstly, the ambient temperature may vary, and secondly, the chip temperature will vary as chip activity varies due to self-heating." and another part of the datasheet says "As the Vbe and the Vbe slope can vary over the temperature range, and from device to device, some user calibration may be required if accurate measurements are required."
How high is "clearly too high"?


Use qcodes config to have active experiment

This PR :

Adds a setting in qcodes config file with the active_experiment key to hold the active_experiment exp_id.
It adds set_active_experiment function to change the config and runs this function inside every create/ load of experiment related functions. There is also a get_active_experiment function to read the config.
DataSet creation now reads the active_experiment setting first to assign that dataset to the active_experiment, if active_experiment is None, it reads the last experiment as before.
Resets the active_experiment config setting upon creating/ loading a database

**The PR is on-hold and will remain as draft **

closing since #3214 was merged


Flutter App stopped working (only for Android)

Hi There, I am really getting fed up with this Problem . Every Time i start Debugging the App the App Closes which really waste time for Me and can not develop the App in a good way . But of course i have an error but i don't understand it :
D/libGLESv2(23887): STS_GLApi : DTS, ODTC are not allowed for Package : com.example.looper
F/libc    (23887): Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 23907 (1.ui), pid 23887 (.example.looper)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/j7veltedx/j7velte:8.1.0/M1AJQ/J701FXXS6BSC1:user/release-keys'
Revision: '3' ABI: 'arm'
pid: 23887, tid: 23907, name: 1.ui  >>> com.example.looper <<<
signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
    r0 ce0814a4  r1 ce0814f0  r2 7f992402  r3 00000008
    r4 b191309a  r5 7f992402  r6 7f992402  r7 b08e26ce
    r8 7f992402  r9 b1913e6e  sl b080389a  fp b08194d6
    ip cf1702cc  sp b19129ca  lr b164e94f  pc f07a2b80  cpsr 600b0010
backtrace: #00 pc 00018b80  /system/lib/libc.so (sigsetjmp+116)
    #01 pc b164e94d  <unknown>
Lost connection to device.
Exited (sigterm)

same issue since start of this week

I used wireless debugging for that .
You can check out this link here :
https://www.fonepaw.com/usb/enable-usb-debugging-screen-broken-android.html

Location is turned off on your phone! Turn on location. Worked for me.


Type Errors when importing the plugin

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Describe the bug
This plugin does not seem to be compatible with the TSESLint config helper function. This is demonstrated by the following trivial config:
eslint.config.mjs
// @ts-check

import ESLintPluginStylistic from "@stylistic/eslint-plugin";
import tseslint from "typescript-eslint";

const myConfig = tseslint.config({
  plugins: {
    "@stylistic": ESLintPluginStylistic, // Type error on this line
  },
});

You can suppress the type error using a @ts-expect-error, and the plugin still appears to work fine. Thus, this seems to be purely a type issue.
When using flat configs, I believe usage of the TSESLint config function is best practice in the ecosystem. When using other plugins with the config function, such as eslint-plugin-jsdoc, eslint-plugin-n, eslint-plugin-unicorn, eslint-plugin-import-x, there is no such type error, so it must be something wrong with this plugin specifically.
Thus, this should be a high priority to fix, as it affects UX and will cause people to think that they are doing something wrong, when they are really doing nothing wrong.
I think that this is similar (but different) from #481.
Contributes

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests

Can you create a minimal reproduction? It might be fixed by ts-eslint v8.1 with https://github.com/typescript-eslint/typescript-eslint/pull/9657

Sorry. It doesn't reproduce with a default tsconfig.json. However it does reproduce when we use the recommended Node.js tsconfig.json. Here's a minimal reproduction: https://github.com/Zamiell/style-bug
git clone git@github.com:Zamiell/style-bug.git
cd style-bug
npx tsc --noEmit

Note that this is the only ESLint plugin that I have seen that has this specific bug.


[CI] Update use of mesheryctl pattern to mesheryctl design

Current Behavior
Workflows are failing to complete successfully due to their use of a deprecated command in Meshery CLI. See https://github.com/meshery/meshery-kuma/actions/runs/12303031125/job/34338314021?pr=443 for an example.
Implementation

In each applicable workflow, update use of mesheryctl pattern to mesheryctl design

Acceptance Tests

Tests are no longer failing in their use of mesheryctl.

Contributor Guides and Resources

📝 Meshery Adapters Spreadsheet
🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

I will work on this @leecalcote


'Undefined' error on default options on Mac

? Please choose which project template to use Standard
? Initialize a git repository? No
? Automatically install dependencies? No
? Initialize Postgres DB w/ Prisma? (Requires DB URI String) No

file:///Users/mac-suer/.npm/_npx/5be47aec1dfa4302/node_modules/create-t3svelte-app/src/cli.js:98
      dbString: '' || dbAnswers.dbString
                                ^

TypeError: Cannot read properties of undefined (reading 'dbString')
    at promptForMissingOptions (file:///Users/ajcwebdev/.npm/_npx/5be47aec1dfa4302/node_modules/create-t3svelte-app/src/cli.js:98:33)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async cli (file:///Users/ajcwebdev/.npm/_npx/5be47aec1dfa4302/node_modules/create-t3svelte-app/src/cli.js:104:16)

Can't reproduce in linux - could have something to do with null string in the object:
if (answers.db && requireURI)
  var dbAnswers = await inquirer.prompt(dbQuestions)

//Handle Empty Options
else var dbAnswers = {dbString: ''}
if (!dbSolutionAnswers) var dbSolutionAnswers = {dbSolution: ''}

Can dig into this a little later, probably something stupid

Also occurring on Windows:
? Please choose which project template to use Standard
? Initialize a git repository? No
? Automatically install dependencies? No
? Initialize Postgres DB w/ Prisma? (Requires DB URI String) No
file:///C:/Users/.../AppData/Local/npm-cache/_npx/8f568aeeec8b9376/node_modules/create-t3svelte-app/src/cli.js:98
      dbString: '' || dbAnswers.dbString
                                ^

TypeError: Cannot read properties of undefined (reading 'dbString')
    at promptForMissingOptions (file:///C:/Users/.../AppData/Local/npm-cache/_npx/8f568aeeec8b9376/node_modules/create-t3svelte-app/src/cli.js:98:33)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async cli (file:///C:/Users/.../AppData/Local/npm-cache/_npx/8f568aeeec8b9376/node_modules/create-t3svelte-app/src/cli.js:104:16)

Oof, had the package.json pointed to the wrong registry for updates. Awkward. Should be actually resolved now resolved now.


Make external site-packages browsable/searchable

Something I often want to do is poke around in the files and folders of a Python package. My environment uses venv and my site-packages is off in a different directory to my main project. I'm using WSL. VS Code works all this out and knows where the files are, but offers me no way to view the directory.
Contrast this with PyCharm, where a "Remote libraries" node is added automatically

When I'm looking at a package file and do "show file in sidebar" it takes me to that place. I could then easily do "search in folder" or browse the directory to better understand something.
But in VS Code it just shows me the file in the "Open editors" section:

I can still sort of browse the tree structure using the breadcrumbs, which is OK, but not great.
I could add site-packages from my venv as a folder to the workspace, but then it's treated equally to my own files, which is not exactly right. In PyCharm, some preference is give to my own files when searching/auto-completing, and 'external' files are read only by default. Also I just tried this and everything ground to a halt, is it going to try and index that directory twice now?
Ideally VS Code would be able to simply surface that site-packages directory in the Explorer View without all the other changes that come with a multi-root workspace, and keep the files read only by default.

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.


Oos

Reference Issues/PRs

Issue #161
What does this implement/fix? Explain your changes.
Out of sample adjacency embedding
Any other comments?

I need to add documentation, black-ify, etc. Just wanted to get some more eyes on the core of the implementation

Codecov Report

Merging #162 into master will decrease coverage by 1.02%.
The diff coverage is 65.38%.

@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
- Coverage   85.28%   84.26%   -1.03%
==========================================
  Files          23       24       +1
  Lines        1441     1519      +78
==========================================
+ Hits         1229     1280      +51
- Misses        212      239      +27

Impacted Files
Coverage Δ

graspy/embed/oosase.py
65.38% <65.38%> (ø)

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 80b81f3...b9606c4. Read the comment docs.

TODO directed


[FEATURE] Longhorn CLI supports darwin platform

Is your feature request related to a problem? Please describe (👍 if you like this request)

Longhorn CLI supports darwin platform
Describe the solution you'd like

Describe alternatives you've considered

Additional context

Verified pass on longhorn/cli v1.8.0-dev-20241020 (https://github.com/longhorn/cli/commit/772b4917a633ee49e1bcb58a4d166e4f4d489182)
longhorn cli worked well on macOS 12.0.1(Monterey) (ref)


Investigating the TCDM costs

I bring this up because we need to start to understand the breakdown cost and the scalability of our cluster.

In the current TCDM implementation, each port of the accelerator can access all the different banks in a non-contiguous way.
If the TCDM is an overhead to the scalability, probably it is, we can agglomerate N ports to the accelerator.

We need to see the cost of implementing parallel and independent read and write via TCDM.

How we will do it? In a different repo?

We already have a separate branch per tests. I will clean it up with the latest updates from the main. Remember our "branch" workbench? 😄 We also really need to think about the best way to run multiple experiments without breaking the main branch and still having a setup for the RTL people.
Making another repo might be cumbersome... I think? Depends 😃

We have initial results for how the TCDM scales in terms of the number of input ports (the cores or the requesters) and the number of output ports (the number of memory banks).

For documentation purposes see more information in this Notion link.


Database for studies and results

We have to save information about the following:

Researcher accounts (I think it is better if they can manage everything in a simple web app)
Participants
Studies (+ responses from the participants)

Questions

What kind of database system do we want to use?
How are we going to structure the data?


Prerequisite: 2FA exemption is not applicable

[Enter feedback here]
Hi!
We have contacted NetSuite's support team to request this exemption for "Integration with Azure AD requires a 2FA exemption".
Unfortunately 2FA exemption from NetSuite side was granted temporarily only for customers who were already using User Provisioning feature in Microsoft Azure Active Directory.
Since we are newly created, Netsuite won't grant us. Instead we should consider checking for integration solutions that is authenticated using Token-Based Authentication.
Can we asked is there a way/instructions/tutorial to "Configure NetSuite for automatic user provisioning" using Token-Based Authentication to be able for us to proceed with the integration?

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

ID: d5a16806-9a19-04cc-eb01-d5436b74a6d2
Version Independent ID: 2f6dbb27-616a-2609-ed27-08db539a7b68
Content: Tutorial: Configure NetSuite OneWorld for automatic user provisioning with Azure Active Directory
Content Source: articles/active-directory/saas-apps/netsuite-provisioning-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@rdronio Thank you for your query. we will check this and update the thread.

@rdronio Thank you for your query. we will check this and update the thread.

@rdronio This is a known issue and we are trying to get more information internally . We will keep the thread updated.

@rdronio This is a known issue and we are trying to get more information internally . We will keep the thread updated.

@rdronio We are still working with Netsuite on this and do not have the alternate way for now. Once a conclusion is reached , we will be publishing more details on this issue. Please consider this request on hold for now. I have engaged the author on this and they will update it once we have results from netsuite engagement.

@rdronio We are still working with Netsuite on this and do not have the alternate way for now. Once a conclusion is reached , we will be publishing more details on this issue. Please consider this request on hold for now. I have engaged the author on this and they will update it once we have results from netsuite engagement.

The NetSuite provisioning integration has been deprecated and removed from our gallery as NetSuite implemented breaking changes that Microsoft engineering could not work around while meeting security requirements. There will not be any NetSuite provisioning support in Azure AD until NetSuite adds support for SCIM 2.0. #please-close


Update Rusty-Kaspa Readme to include adding LLVM/bin to Path environment variable to enable Kos build

Describe the bug
When using \rusty-kaspa\kos\Build.ps1, the build errors out as it is not able to find "clang", even though LLVM is installed.  I had to add "C:\Program Files\LLVM\bin" directly to the Path environment variable and reboot or the build process couldn't find clang.  This is not mentioned in the Readme...it says only to "set LIBCLANG_PATH env var pointing to the bin dir of the llvm installation" and I did already have the LIBCLANG_PATH set.  Once I added "C:\Program Files\LLVM\bin" to the "Path" environment variable and rebooted, it was able to find clang and proceed.
To Reproduce
Steps to reproduce the behavior:
Starting from a clean install of Windows, follow the Kaspa Readme to install prerequisites and clone the rusty-kaspa directory.
Navigate down to the rusty-kaspa/kos directory and open an elevated PowerShell window at this location.  execute \rusty-kaspa\kos\Build.ps1 after applying the fix discussed in issue "https://github.com/kaspanet/rusty-kaspa/issues/245"
the script should fail as it cannot find "clang"
Expected behavior
When executing \rusty-kaspa\kos\Build.ps1, it should build successfully.
Desktop (please complete the following information):

OS: Windows 10 Pro
Kaspad version: [e.g. 0.12.11]

Additional context
Add any other context about the problem here.

Resolved in https://github.com/kaspanet/rusty-kaspa/pull/313


Make Correction to Convergence Proof for Fixed-Point Iteration

As suggested in #1 by @yeejoh.

Review this to make sure I made the corrections you had suggested.  @yeejoh

Thanks for reply. Yes, it makes more sense to me with x*. :smiley:
And the GitHub issue & pull is awesome! :+1:


Fix print header issue when two row are same value

getting issue when data like below
Array
(
[0] => Array
    (
        [Object] => Buyer
        [Sub Type] => Plot
    )

[1] => Array
    (
        [Object] => Buyer
        [Sub Type] => Office Shop
    )

[2] => Array
    (
        [Object] => Buyer
        [Sub Type] => Bunglow
    )

[3] => Array
    (
        [Object] => Buyer
        [Sub Type] => Plot
    )

[4] => Array
    (
        [Object] => Buyer
        [Sub Type] => Plot
    )

[5] => Array
    (
        [Object] => Seller
        [Sub Type] => Plot
    )

[6] => Array
    (
        [Object] => Seller
        [Sub Type] => Plot
    )

[7] => Array
    (
        [Object] => Seller
        [Sub Type] => Plot
    )

[8] => Array
    (
        [Object] => To Let
        [Sub Type] => Plot
    )

[9] => Array
    (
        [Object] => Rent
        [Sub Type] => Flat
    )

)
first row repeated more time
if data like above then header repeated so i add flag for first row

Merged and released on v6.22.6 🚀 Thanks!


Update dependencies and CI workflow

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


sample project is broken. Missing DevToolsExtension in the provider in appModule.

DevToolsExtension is missing in the providers list in appModule in sample project.

so this issue can be closed?


Zim vs Antibody

Zim vs https://getantibody.github.io/#how_much_faster
Add the comparison with that?

If you'd like to create comparison script over in that repo, feel free to open a PR.


Removed the museum from the map >:]

Hello fellow swagers,
I have taken the librety of removing the museum from both the night version and day version of the map. Alongside this, I have kept the credits room that was kept to the museum, bumped the version number from b8c to b8d, packed the custom assets, and compressed the bsps.
Hit me up on the NGS discord for comments, or leave one below.

Closing for now, map is not polished.


"Search" inside ECS logs

Hi there,
Thanks so much for creating this great tool! Similarly to k9s, I see that you can search for strings when inside a table view using the / key.

However, / key does nothing when viewing logs. I was wondering if there were any plans to support / key to search for matches in logs.
There's a workaround by looking at realtime log streaming <r> and searching using tmux, but it would be nice to do it directly in the e1s console.

Hi, thank you for using e1s. It may not be easy to support k9s like search, but I added support for open logs in the editor using e, so you can do searches as you like.

I added support for open logs in the editor using e, so you can do searches as you like.

This is great! Thanks for the quick response and new feature :)