feat: CL Anoncreds tink primitives

Title:
CL Anoncreds tink primitives
Description:

This is the first PR to support CL Anoncreds in Aries-framework-go #180.
This PR addresses support of CL Anoncreds on the think crypto primitives level.
Next PRs will add support for CL crypto to the pkg/crypto/api API interface and pkg/kms (separate PRs for each).
CL Anoncreds support is based on the ursa-wrapper-go as an optional dependency (under the ursa build tag).
Please note, that  ursa-wrapper-go required libursa lib to be installed, that's why ursa build tag has been introduced.

Summary:

Adds ursa-wrapper-go as an optional dependency (under the ursa build tag).
Adds tink crypto primitives and keys for the Issuance flow
Adds a separate make unit-test-ursa target
Adds a separate job in the CI pipeline to run unit tests with the ursa build tag. As libursa is required, the CI job for the ursa tag is run in a container (ghcr.io/hyperledger/ursa-wrapper-go/uwg-build for now) where libursa is already installed.

add a new target build file api_ursa.go in https://github.com/hyperledger/aries-framework-go/blob/main/pkg/kms/ to include CLIssuer and CLProver key KMS key types.

Yes, we are planning to integrate CL crypto to the pkg/crypto/api API interface as well as pkg/kms. This PR is already not small, so our suggestion is to continue integration to the next layers in the next PRs (we've been already working on them).

Eventually, it would be great to not limit this PR to an ursa build tag and have it part of afgo core once it's stable, for the benefit of everyone. (the less build tags, the better)

The problem here is that libursa library needs to be installed for ursa-wrapper-go and CL anoncreds crypto. That's why we started with adding the ursa build tag to not break the current flows.
In the next PRs we are planning to have an interface for CL Anoncreds and two implementations: a real working one (with ursa tag on) and a stub one returning "Not Implemented" (with ursa tag off).
We can continue discussion and change the approach in the next PRs.

BTW it seems there are some intermittent test failures in places not related to the PR changes (noticed for other PRs as well)...

BTW it seems there are some intermittent test failures in places not related to the PR changes (noticed for other PRs as well)...

simply push an empty update to retrigger the build, the CI does this intermittently (we can't control GH Action runs)

it's bdd-tests that are now failing, you can push another empty update

@fqutishat can you please merge the PR?


Tooltips for Coincontrol-Dialog added

Because of the Dash-specific "Darksend Rounds" column (which is quite wide)  we will never be able to fully display labels, Dash-addresses and dates, so I added tooltips to them.
Additionally the default width of the "Date" column was slightly increased to include the year in the visible part.
Looks like this now:

Works for me, thanks!


no such  column

I have a table
class Partner extends SugarRecord
@Unique
String partnerKod;
When I want to search for partnerKod like this query
String kod = "STGH";
Partner.find(Partner.class, "partnerKod = ?',kod)
I have got an error: SQLiteLog: no such column
It is 1.4

@mesterj try to use NamingHelper.toSQLName or NamingHelper.toSQLNameDefault in your Field, to check database name of the column

Is not your column named "partner_kod" ?
I was having the same issue and when I changed to snake_case it works for me.
I hope to help you.

@mesterj  using what @sibeliusseraphini recommends to you solves your problem! I will close this issue. If you have another problem related to this, please open it again or post a new issue.

Thank you. I solved.


[2012-04-11] Document manifest logic in core

created by: @chillu (ischommer)
created at: 2012-04-11
original ticket: http://open.silverstripe.org/ticket/7130

Followup from https://github.com/silverstripe/sapphire/pull/205

Document our manifest generators for PHP classes, templates and config settings.
Explain how SilverStripe does autoloading, and how to clear the various manifests ("flush" query param)
Explain where manifest is stored (TMP_FOLDER vs. silverstripe-cache dir), and how to set different cache backends for caches
Explain how to use class manifest through ClassInfo
Explain magic flags: Excludes *.php classes with underscore prefix, excludes folders with _manifest_exclude
Ensure its linked from execution-pipeline.md and the "templates" topic

Stale enhancement.


[Distroless] Publish Java SDK distroless variants

The output of this task is to publish Java SDK distroless variants:

apache/beam_java17_sdk_distroless
apache/beam_java21_sdk_distroless

Submitted https://issues.apache.org/jira/browse/INFRA-26298


maven/README.md: Small improvement in wording

This is a very small inconsequential change in documentation.

Can somebody please add the impact/no-changelog-required label? I think I don't have the privileges to do so.

thank you :)


Arch Linux has 10.2.9

Only since last night :P https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/budgie-desktop&id=ec8553ec15dcb015006dc66d399d68d059735a3f

Noted, I'll update the site. Nice that they finally did that...


OCIO improvements

Description
Added Role accessors to ColorConfig class.
Added OpenColorIO_STATIC define (needed to pass Windows dllimport definitions)

[x] I have read the contribution guidelines.
[x] If this is more extensive than a small change to existing code, I
have previously submitted a Contributor License Agreement
(individual, and if there is any way my
employers might think my programming belongs to them, then also
corporate).
[ ] I have updated the documentation, if applicable.
[ ] I have ensured that the change is tested somewhere in the testsuite
(adding new test cases if necessary).
[x] My code follows the prevailing code style of this project.

I don't neeed it per-se, but it would be awesome if you could!

Just adding a few non-virtual functions should be totally safe, I'll backport it.

Ah sure thing

Looks good. Merging.


Generated SWIG types with long filenames make the repository unusable as submodule (USDK-137)

The repo directly contains generated SWIG code in src/USD.NET/generated/SWIG.
These are filenames there:
src/USD.NET/generated/SWIG/SWIGTYPE_p_std__pairT_VtDictionary__IteratorT_std__mapT_std__string_VtValue_std__lessT_std__string_t_t_p_std__mapT_std__string_VtValue_std__lessT_std__string_t_t__iterator_t_bool_t.cs
src/USD.NET/generated/SWIG/SWIGTYPE_p_VtDictionary__IteratorT_std__mapT_std__string_VtValue_std__lessT_std__string_t_t_p_std__mapT_std__string_VtValue_std__lessT_std__string_t_t__iterator_t.cs

The others in the directory are way more sane:

These long filenames prevent using usd-unity-sdk as submodule as it exceeds maximum allowed path length. Is it really necessary that these are named as they currently are?

As a workaround, you can enable long file names, which should solve your problem.
These are the names generated by swig. There is an open task to clean them up (to fix these bindings), but it is low priority. We could also collapse all these classes into a single source file, but given there is a workaround, this is also low priority (buy PRs welcome).

We should also really kill all these SWIG_*** types, because they are actually indicators of a broken binding with an opaque type.

Hey! We've moved this feature request to our Roadmap for better internal visibility. If you head over to the Roadmap you can add more detail about your use case (on the 'USD Import ticket') for this feature to help us prioritize as we hope to be able to work on this in the future :)

Hey, this is not a feature request but a bug!

Yep, good point :D I mentally bucketed it with 'Improve SWIG generated bindings', but I will keep this open as a bug


support prettier yaml with newlines

struct A {
    b: String,
    c: String,
}

#[test]
fn t() {
    let a = A {
        b: "aaa\nbbb\n".to_string(),
        c: "ccc".to_string(),
    };
    insta::assert_yaml_snapshot!(a);
}

Instead of
---
source: ...
expression: a
---
b: "aaa\nbbb\n"
c: ccc

I want to have
---
b: |
  aaa
  bbb
c: cccc

P.S. My actual use case is that my data looks like this:
let chunk2 = StreamChunk::from_pretty(
    "  I I
    +  7 6
    -  3 2
    -  1 0
    +  5 7
    -  2 1
    + 11 8",
);

And I'm trying to replace the tests with insta, but without pretty newlines it's not usable :(

P.P.S, I noticed you switched from serde_yaml to rust-yaml for serialization https://github.com/mitsuhiko/insta/pull/264 (due to it's breaking changes?), but serde-yaml 0.9 also makes the formatting prettier https://github.com/dtolnay/serde-yaml/issues/226, so that's a little unfortunate :(

My workaround is to call serde_yaml::to_string on my own, and pass a string to assert_toml_snapshot

As a user in the same place as you @xxchan:

I've tried to get rust to serialize yaml nicely, in particular multiline strings — both within and outside of insta, both with serde_yaml and rust-yaml
But I've struggled (though https://github.com/dtolnay/serde-yaml/issues/226 does look better than I remember)
I'm not sure there's much insta can do, at least if there is I'd be happy to put a PR in

Well, one thing I can't workaround is the header part. expr and description both can't prettify newlines. info works, but that requires me to add Serialize :(

Turns out toml serialization looks a lot better for simple multi-line comparisons. Still hoping for YAML in the longer run, but TOML will have to do for now. Thanks for the awesome tool!

Considering that yaml_rust is unmaintained since 3 years, would it be worth a consideration again to switch to serde_yaml?

I'm considering bumping all of this up with 2.0 and also move to serde_yaml. The risk here obviously is that serde_yaml gives no guarantees of snapshot stability.

Turns out serde_yaml is now officially deprecated.


ORM DateAdd and DateSub functions - add support for minutes and seconds

What's the deal with getting these pull requests merge? Is there a process or do I just need to wait?


Possible to create custom databases?

Hi,
Curious to know if there's any documented or scripted way to build a database from arbitrary sets of genomes?
Thanks.

Yes, we pushed a recent update to enable the creation of custom databases.


Adds tests to prefab components

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@b9335ae). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #213   +/-   ##
=======================================
  Coverage        ?   14.76%
=======================================
  Files           ?       54
  Lines           ?     7205
  Branches        ?        0
=======================================
  Hits            ?     1064
  Misses          ?     6141
  Partials        ?        0

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


Add ability to specify channel when scanning to check power output for a single channel.

These changes allow you to use the -s (scan) parameter with the -c (channel) parameter to check the power of a single channel. I have used this when I want to test/aim different GSM antennas. I do a normal -s scan (which for example takes 3 minutes for GSM850) and determine which channels are active, then I do individual channel scans on a single channel (which takes a few seconds) while I'm aiming or testing different antennas.

Merged, thanks!


In Quick Fix challenge, tag popup shows data after fix

When inspecting a 'Quick Fix' task, clicking on the object on the map reveals the data as it would be after the fix is applied. You would expect that to show the current data.

It's just displaying the task properties from the GeoJSON (as is done for normal challenges). We could instead show the tags from the live OSM data.

In the case of quick fix challenges, we should show the 'before' data in the popup. If that means getting the data from OSM, we should do that. It doesn't look like the JSON preserves the before data in the challenges I prepared using the command line converter tool..

OSM data is now shown as of v3.4.2


Bump to v2.2.0

Bump to 2.2.0 because py3.8 is dropped.

Changes unknown
when pulling 54069525cef979d2f52211a6f2a818378ac1b3b2 on bump_v217
into ** on master**.


JSONP Requests

RxJS version:
5.0.0-rc.1
Code to reproduce:
Observable.ajax({ url:`https://api.behance.net/v2/fields?client_id=h43jKXcM5DA1ivEbnXvMUVp8cnjGdBRE`, crossDomain: true })
  .catch(err => console.log('Observable.ajax error crossDomain', err))
  .subscribe(res => console.log('Observable.ajax crossDomain', res))

Expected behavior:
for it to log out a response from the ajax request.
Actual behavior:
returns this error: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Additional information:
Behance API requires JSONP requests.
CODEPEN DEMO: http://codepen.io/dawidvdh/pen/xEoREB?editors=0012
also I am aware that I shouldn't share the client_id but I will delete the associated app after the bug has been resolved

Observable.ajax is for making XMLHttpRequests, which are not JSONP requests. XMLHttpRequests always require CORS headers for cross origin.
JSONP uses <script> tags to get around this:
var tag = document.createElement('script');
tag.src = 'some-api?callback=foo';

document.getElementsByTagName('head')[0].appendChild(tag);

The URL you are trying to hit doesn't actually return JSONP formatted results either--and you're also not providing a callback function to it, even if it did. I don't know that API service, but a quick Google search suggests they support JSONP but you must opt-in to it.

window.myCallbackFunction = function (response) {
  console.log(response);
};

var tag = document.createElement('script");
tag.src = 'http://behance.net/v2/users/matiascorea?api_key=1234567890&callback=myCallbackFunction';

document.getElementsByTagName('head')[0].appendChild(tag);

We don't have any plans to support JSONP, since it was primarily a short-trick before browsers had CORS support.
If you'd like further help with JSONP, you'll get the best results on StackOverflow. Thanks!

@dawidvdh here's a custom observable that has basic JSONP support you can use as a reference: http://jsbin.com/yuhugew/edit?js,output
const jsonp = (url, callbackKey) => new Observable(observer => {
  jsonp.counter++;
  const key = '__jsonp_callback' + jsonp.counter;
  window[key] = (response) => {
    script.parentNode.removeChild(script);
    observer.next(response);
    observer.complete();
  };

  const script = document.createElement('script');
  script.src = url + key;
  script.onerror = (err) => observer.error(err);

  document.getElementsByTagName('head')[0].appendChild(script);
});
jsonp.counter = 0;

jsonp('https://api.behance.net/v2/fields?client_id=h43jKXcM5DA1ivEbnXvMUVp8cnjGdBRE&callback=')
  .subscribe(
    value => console.log(value),
    err => console.error(err)
  );

@jayphelps Thank you for the run down a rather silly question in retrospect but I just figured that you would eventually add in JSONP support much like RXJS-DOM did, but totally get it and I have made alternative plans by using Observable.from to handle the API requests.
import fetchJsonp from 'fetch-jsonp';

const fetchFields = () => fetchJsonp(`https://api.behance.net/v2/fields?client_id=h43jKXcM5DA1ivEbnXvMUVp8cnjGdBRE&callback=JSONPCallback`)
  .then(response => response.json());

export function fetchCreativeFieldsEpic(action$) {
  return action$.ofType(FETCH_CREATIVE_FIELDS)
  .switchMap(() =>
    Observable.from(fetchFields)
    .map(receiveCreativeFields)
    .takeUntil(action$.ofType(FETCH_CREATIVE_FIELDS))
    .catch(error => Observable.of({
        type: FETCH_CREATIVE_FIELDS_FAILED,
        payload: error,
        error: true
      })
    ));
}

But will definitely look into the above example you posted. Greatly Appreciated Thank you!


Clarification on terms of use for CDS Hooks Logo

I'm planning to include CDS Hooks logo (docs/images/logo-square.png) in a software distribution.
Is the logo covered by the same Apache License 2.0 in the LICENSE file in this repository, or is there a different set of license/copyright terms and conditions I have to adhere to to use CDS Hooks Logo in my software distribution?

Also, given issue #474, can you clarify if the Logo falls under

Apache License 2.0 in the LICENSE file here
or under
Creative Commons Attribution 4.0 International License, at the footer of https://cds-hooks.org?

The logo is trademarked to Boston Children's Hospital -- and our intention is to make it available for use in the CDS Hooks project and apps/services that support CDS Hooks. Would it help to have language similar to what's on the https://www.hl7.org/fhir/license.html about the FHIR logo?

@jmandel: Yes, agree, it would be nice to have trademark, copyright and licensing terms of use called out somewhere on the website and not just in the GitHub repository. Like FHIR and FHIR logo, it would be nice if this is done for CDS Hooks and CDS Hooks logo.
This question arose because the README sounded like logo would fall under Apache license given it is content of this repository that is not Markdown, but legal folks would prefer more clear terms of use.

All Markdown content in this repository is licensed under the Creative Commons Attribution 4.0 International License.
Unless otherwise noted, the contents of this repository are licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

I talked to @isaacvetter. He thinks the logo ownership was transferred to HL7, but said @kpshek might know details.
Isaac also asked, should the term and logo be under Apache License, or should it be part of the website / integration, and therefore under the CCA4IL like the rest of the web site.

http://tmsearch.uspto.gov/bin/showfield?f=doc&state=4806:kghju4.3.1 is the relevant trademark info -- let's aim to work with Boston Children's Hospital to craft language for inclusion in the spec. This is all in-flight, obviously, but I wouldn't let that stop you from using the logo to refer to the specification from your own project in the time being!

@jmandel, that search expired. Can you list your search keywords / how you looked it up?
Also, is CDS Hooks a registered trademark? ® symbol?
Would you have some idea of what an example attribution notice should look like? Is the below good enough?

CDS Hooks® and ® are trademarks of HL7 and Boston Children's Hospital, copyrighted and licensed under a Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/) as specified at https://cds-hooks.hl7.org/

D'oh. So much for links :-) Basic word mark search and type "CDS Hooks". My understanding is that It's in progress still.
The language you're proposing here looks good to start; we'll aim to get official advise shortly.
(I don't think you need to mention an Apache license unless we're talking about the source code for the sandbox.)

Ok - adding a plain text version also here, since I find that in some places I may be limited to plain text for the attribution.

CDS Hooks® and the CDS Hooks logo (https://cds-hooks.hl7.org/images/logo-square.png)® are trademarks of HL7 and Boston Children's Hospital, copyrighted and licensed under a Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/) as specified at https://cds-hooks.hl7.org/

For instances where I only use CDS Hooks, and not the Logo, I'll use this likewise
Formatted:

CDS Hooks® is a trademarks of HL7 and Boston Children's Hospital, copyrighted and licensed under a Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/) as specified at https://cds-hooks.hl7.org/

PlainText:

CDS Hooks® is a trademarks of HL7 and Boston Children's Hospital, copyrighted and licensed under a Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/) as specified at https://cds-hooks.hl7.org/

Also, @jmandel, do you have an estimate of how long this will take to finalize? Are we talking a few days? Or are we talking many months?

We definitely need to be explicit in how the logo is licensed and how it can be used. IANAL, but think it would be good to be consistent in how the FHIR and SMART logos are licensed and can be used.

I don't have an estimate; this is something that needs attention from Boston Children's Hospital counsel (I've reached out).

Beginning to address this in https://github.com/cds-hooks/docs/pull/479 (though there is still work to be done in posting official guidance to smarthealthit.org).

Hey @mattvarghese , @jmandel - this issue is now resolved with the content on https://smarthealthit.org/cds-hooks-logo/ and the link on https://cds-hooks.org/logo-use/


include/sys/socket.h: Add SOCK_CTRL to socket type

Summary
SOCK_CTRL is added to provide special control over network drivers and daemons. Currently, SOCK_DGRAM and SOCK_STREAM perform this control, but these use socket resources. In the case of usersocket in particular, this is a waste of the device's limited socket resources.
Impact
Applications using NET_SOCK_TYPE.
Testing
SPRESENSE LTE board.

@SPRESENSE but how to pass the ioctl to usrsock server now?

@SPRESENSE but how to pass the ioctl to usrsock server now?

This fix only add a new Socket Type for requests to Daemons that do not use the device's Socket.
Therefore, the PASS method to usrsock server will remain the same.

Dear @xiaoxiang781216 san

@SPRESENSE but how to pass the ioctl to usrsock server now?

This fix only add a new Socket Type for requests to Daemons that do not use the device's Socket. Therefore, the PASS method to usrsock server will remain the same.

Ok, I saw SOCK_CTRL will convert to the real type:
https://github.com/apache/nuttx/pull/8370/files#diff-098d0f88e64dc86480d735d351725fce63ff53c8b0d834ca460ba61c2eb9bb13R289-R304
So, what's the benefit to add SOCK_CTRL?

Dear @xiaoxiang781216 san

Dear @xiaoxiang781216 san

@SPRESENSE but how to pass the ioctl to usrsock server now?

This fix only add a new Socket Type for requests to Daemons that do not use the device's Socket. Therefore, the PASS method to usrsock server will remain the same.

Ok, I saw SOCK_CTRL will convert to the real type: https://github.com/apache/nuttx/pull/8370/files#diff-098d0f88e64dc86480d735d351725fce63ff53c8b0d834ca460ba61c2eb9bb13R289-R304 So, what's the benefit to add SOCK_CTRL?

The benefit of this change is that Daemon can determine not to consume Socket resources for devices that should not consume them.(e.g. One of modem as ALT1250 can use 5 internal socket only.)
By adding the type SOCK_CTRL and specifying that type in the Socket for requests such as the ifup command or ifconfig command, Daemon will know not to open the Socket for the device. So Daemon can receive SOCK_CTRL to prevent the device from consuming Socket resources by not opening the Socket for the device.

Dear @xiaoxiang781216 san

Dear @xiaoxiang781216 san

@SPRESENSE but how to pass the ioctl to usrsock server now?

This fix only add a new Socket Type for requests to Daemons that do not use the device's Socket. Therefore, the PASS method to usrsock server will remain the same.

Ok, I saw SOCK_CTRL will convert to the real type: https://github.com/apache/nuttx/pull/8370/files#diff-098d0f88e64dc86480d735d351725fce63ff53c8b0d834ca460ba61c2eb9bb13R289-R304 So, what's the benefit to add SOCK_CTRL?

The benefit of this change is that Daemon can determine not to consume Socket resources for devices that should not consume them.(e.g. One of modem as ALT1250 can use 5 internal socket only.) By adding the type SOCK_CTRL and specifying that type in the Socket for requests such as the ifup command or ifconfig command, Daemon will know not to open the Socket for the device. So Daemon can receive SOCK_CTRL to prevent the device from consuming Socket resources by not opening the Socket for the device.

Ok, so the patch tries to reduce the driver consumption, but the nework stack self. Look reasonable, thanks.

@SPRESENSE please merge the intermediate change into the first patch.

@SPRESENSE @xiaoxiang781216
Hmm, l noticed that lm3s6965-ek:discover (QEMU) does not work with this PR.
NuttShell (NSH) NuttX-10.4.0
nsh> uname -a
NuttX  10.4.0 abba05a934 Feb  8 2023 22:35:51 arm lm3s6965-ek
nsh> ps
  PID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK   USED  FILLED COMMAND
    0     0   0 FIFO     Kthread N-- Ready              00000000<PHONE_NUMBER>64  46.4%  Idle Task
    1     1 224 RR       Kthread --- Waiting  Semaphore 00000000<PHONE_NUMBER>76  13.8%  hpwork 0x20001cd0
    2     2  60 RR       Kthread --- Waiting  Semaphore 00000000<PHONE_NUMBER>76  13.8%  lpwork 0x20001ce8
    3     3 100 RR       Task    --- Running            00000000<PHONE_NUMBER>68  58.4%  nsh_main
    4     4 100 RR       Task    --- Waiting  Semaphore 00000000<PHONE_NUMBER>64  28.0%  telnetd
nsh> free
                   total       used       free    largest  nused  nfree
        Umem:      49616      16560      33056      33056     61      1
nsh> ifconfig
             IPv4   TCP   UDP  ICMP
Received     0000  0000  0000  0000
Dropped      0000  0000  0000  0000
  IPv4        VHL: 0000   Frg: 0000
  Checksum   0000  0000  0000  ----
  TCP         ACK: 0000   SYN: 0000
              RST: 0000  0000
  Type       0000  ----  ----  0000
Sent         0000  0000  0000  0000
  Rexmit     ----  0000  ----  ----
nsh> renew eth0
ERROR: dhcpc_open() for 'eth0' failed
nsh> ifconfig
             IPv4   TCP   UDP  ICMP
Received     0000  0000  0000  0000
Dropped      0000  0000  0000  0000
  IPv4        VHL: 0000   Frg: 0000
  Checksum   0000  0000  0000  ----
  TCP         ACK: 0000   SYN: 0000
              RST: 0000  0000
  Type       0000  ----  ----  0000
Sent         0000  0000  0000  0000
  Rexmit     ----  0000  ----  ----

Let me revert this PR.


Allow converting RwSignal to Out

Right now, an RwSignal<T> cannot be used where an Out<T> property is expected, while WriteSignal<T> can. At the same time RwSignal<T> can already be used for a MaybeSignal<T>. Unless there is a reason for this that I'm unaware of, this is both inconsistent and also makes RwSignal less ergonomic to use.

Thanks for the contribution! Looks good.
This was simply an oversight from my side. I just use RwSignals to rarely...


Add feather features

As discussed in atsamd-rs/community Matrix chat - this adds two features to the Feather M0 BSP to support the various RFM radio modules, and the "Express" board with an SPI flash and Neopixel.
While adding those pins, I noticed that there wasn't a pin definition for the AREF pin which is brought out on the Feather boards so added that too.

I thought the AREF pin was just a voltage reference, is it also a GPIO?

Yep, I'm pretty sure it's usable as a GPIO.  Though, it's wired to a 1uF cap to ground so is a bit restricted in what it can be used for.


Load CI config file

Load shell variables from file

Implementing at https://github.com/pion/stun/pull/30


"Could not load file or assembly 'System.ServiceModel.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'."

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I am not able to load the module, which has System.ServiceModel.Primitives dependency.
Simply load the module in the powershell 7.
Example:-
[System.Reflection.Assembly]::LoadFrom('< path to the folder contains System.ServiceModel.Primitives.dll>')
Add-Type -Path "< path to the folder contains System.ServiceModel.Primitives.dll>"
Both the commands results in  Could not load file or assembly 'System.ServiceModel.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Expected behavior
PS C:\Users\Administrator> [System.Reflection.Assembly]::LoadFrom('C:\_RajRepo\Master\orion\cliffhanger\Bin\Debug\net8.0\publish\win-x64\System.ServiceModel.Primitives.dll')

PS C:\Users\Administrator> Add-Type -Path "C:\_RajRepo\Master\orion\cliffhanger\Bin\Debug\net8.0\publish\win-x64\System.ServiceModel.Primitives.dll"

Expectation - should load the dll

Actual behavior
PS C:\Users\Administrator> [System.Reflection.Assembly]::LoadFrom('C:\_RajRepo\Master\orion\cliffhanger\Bin\Debug\net8.0\publish\win-x64\System.ServiceModel.Primitives.dll')
MethodInvocationException: Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'System.ServiceModel.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'."
PS C:\Users\Administrator> Add-Type -Path "C:\_RajRepo\Master\orion\cliffhanger\Bin\Debug\net8.0\publish\win-x64\System.ServiceModel.Primitives.dll"
Add-Type: Could not load file or assembly 'System.ServiceModel.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

Error details
Could not load file or assembly 'System.ServiceModel.Primitives, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

Environment data
PS C:\Users\Administrator> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.1
PSEdition                      Core
GitCommitId                    7.4.1
OS                             Microsoft Windows 10.0.20348
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Hi, I suggest it is a conflict with PowerShell's version of the library. It own's the process and is likely to have loaded that first.
PS C:\Program Files\PowerShell\7> (Get-Item -LiteralPath System.ServiceModel.Primitives.dll).VersionInfo

ProductVersion   FileVersion      FileName
--------------   -----------      --------
3.4.3            4.1000.323.51101 C:\Program Files\PowerShell\7\System.ServiceModel.Primitives.dll

If you are just writing a script then you have a major challenge, but if you are writing a C #cmdlet then you can set up an Assembly Load Context.
The problem is a single load context can only load one version of a named shared assembly. So you can create a child load context and load your conflicting assemblies into that.
I have just just gone through this process with one of my modules, where I load the Postgres Database Connection into the child Assembly Load Context but can share objects created within that load context through my cmdlet, the Alc module is the bridging assembly that allows objects to be shared across the divide.
The assemblies within the lib directory run in the child Alc.

rhubarb-geek-nz.NpgsqlConnection.nuspec
README.md
rhubarb-geek-nz.NpgsqlConnection.psd1
RhubarbGeekNz.NpgsqlConnection.dll
lib\Microsoft.Extensions.Logging.Abstractions.dll
lib\Npgsql.dll
lib\RhubarbGeekNz.NpgsqlConnection.Alc.dll

Thanks, it worked.


PhpUnit now throws warnings: Test code or tested code removed exception handlers other than its own

Laravel Version
11.2.0
PHP Version
8.3
Database Driver & Version
MySql 8
Description
As per issue: https://github.com/laravel/framework/issues/49502
When running tests, the vast majority produce the warning: "Test code or tested code removed exception handlers other than its own"
This seems to have been a short lived change in PhpUnit that was reverted... I think it's back now!
Steps To Reproduce
.. use any repo with existing tests OR:
Install L11.
Run a test on a view using something like $response->assertStatus(200);

Hey there, thanks for reporting this issue.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

I'm sorry - I don't have time. However, the previous post offered these commands.
laravel new laravel
cd laravel
./vendor/bin/phpunit

Just works for me:

Doesn't for me. Unfortunately due to a work deadline, I can't spend time on the bug. Hopefully someone else will be able to help.
As I've mentioned, this is a duplicate that looks like it's been re-introduced by PHPUnit, and other people have also seen it.
Hope it gets resolved.

I am also getting this on a new Laravel 11 project

This also happens on Symfony 7.0.3 controller tests

@driesvints is this being looked at? It's not a closed issue.

Ok, Ill look at trying to make a suitble test later today.

If $this->createApplication() is called in the test constructor, the warnings appear.
(The call to createApplication() is a workaround for A facade root has not been set when interacting with the framework in PHPUnit 11 static @dataProvider. I would be happy to learn about a better workaround.)

@crishoj

Read the Caveat section from https://tighten.com/insights/tidying-up-your-phpunit-tests-with-data-providers/

test code or tested code removed exception handlers other than its own


FireFox >47.01

OS: Win 10
FF: Anything > 47.01
Selenium: 3.4
Geckodriver: 0.18.0
I've got a project with ObjectivityNUnit package installed per the getting started section of the wiki. FF 47.01 runs fine, Chrome runs fine. I know in Selenium 3 you need to automate through Geckodriver for FF versions > 47, so I installed most recent Geckodriver binary and added it to my path.
When I execute a test with newer FF (I've tried 32 bit versions of every major and several minor releases between 47 and 54), the browser launches but never navigates. Stepping through it, the test stops in the OneTimeSetup at this.DriverContext.Start(). error as below:
Result Message:	OneTimeSetUp: OpenQA.Selenium.WebDriverException : Failed to start up socket within 45000 milliseconds. Attempted to connect to the following addresses: <IP_ADDRESS>:7055
I honestly feel like I am missing a step, does Geckodriver factor into this at all?

try to set  in app.config, but with Geckodriver: 0.18.0 you can face another problem https://github.com/mozilla/geckodriver/issues/820, so please use older version geckodriver, in version 3.0.7 of our framework we will move that Maximize Window from DriverContext Start() method to ProjectTestBase class and let users manage it.

Dang- I'm sorry I overlooked that option, navigation works with later FF with that setting fixed. Thanks!


Fix a bug where a group_by in the base query resulted in crashes in t…

I encountered a problem where when using a group_by clause in the source query, the thing would crash. The reason for that turned out to be the way in which a count query was constructed from the original query. It was returning a number of rows in each group and not the number of groups.
The fix is simply to tweak the construction of the count query a bit.

Thanks!


burn-mint in token

currently rigoblock pools only accept Ether/base currency. We want to initialize pool with base asset (0 if ETH) and universal mint/burn methods with tokens and base currency

check how decimals should be initialized, as some base tokens have 6 decimals -> must handle smoothly.


Generate infrastructures based on the user input

Description:
Infrastructures combinations should be generated based on the user input.
Ex:
Operating Systems: Windows 7, Ubuntu 12.04
JDK: JDK7, JDK8
Database: MySQL 5.5, MySQL 5.7
Will result in the following infra combinations:

Windows 7, JDK7, MySQL 5.5
Windows 7, JDK7, MySQL 5.7
Windows 7, JDK8, MySQL 5.5
Windows 7, JDK8, MySQL 5.7
Ubuntu 12.04, JDK7, MySQL 5.5
Ubuntu 12.04, JDK7, MySQL 5.7
Ubuntu 12.04, JDK8, MySQL 5.5
Ubuntu 12.04, JDK8, MySQL 5.7

The number of infra combinations =  (number of OSs) x (number of JDKs) x (number of DBs)

Closing since already referenced in https://github.com/wso2-incubator/wso2-test-grid/issues/115


test(cardVariables): add unit tests

Reference issue: #1527
Summary

Detailed, thorough unit tests added to card variable-related functions

Change List (commits, features, bugs, etc)

Added unit tests for each function and each unique type of card type that uses variables
Corrected a bug that was found after adding tests. When the target was a number or function, replace was still being called causing an error. This was fixed by moving the string.replace logic down into the conditionals for each typeof

Acceptance Test (how to verify the PR)

Test suite should pass and all variable stories should still work for TimeSeriesCard, ValueCard, TableCard, ImageCard

:tada: This PR is included in version 2.111.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Think about custom generate serializator

According to this list of advice (see No. 5), using your custom serializators it better than generic stuff.
Also, System.Text.Json can generate serializators based on DTO. See this.
What if we can implements compile-time generation of serializers based on generic T parameter in default provider?
Maybe it could improve performance of NClient.

It seems to be enough to add context to the serializer options, and then pass them to the client:
var options = new JsonSerializerOptions();
options.AddContext<MyJsonSerializerContext>();

services.AddNClient<IFileClient>(host: "http://localhost:5001", builder =>
    builder.WithSystemTextJsonSerialization(options).Build());

By the way, after closing https://github.com/nclient/NClient/issues/410 issue, it will become even easier to do this.

@Kingmidas74, I suggest you write tests to make sure it works :)


EnableOutput broken?

The following lines seem inconsistent in linear_solver.cc:
void MPSolver::EnableOutput() { interface_->set_quiet(false); }
void MPSolver::SuppressOutput() { interface_->set_quiet(false); }

Indeed, I fixed it.
Thanks
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
2015-10-15 18:41 GMT+02:00 SapphireBrand<EMAIL_ADDRESS>
The following lines seem inconsistent in linear_solver.cc:
void MPSolver::EnableOutput() { interface_->set_quiet(false); }
void MPSolver::SuppressOutput() { interface_->set_quiet(false); }
—
Reply to this email directly or view it on GitHub
https://github.com/google/or-tools/issues/106.


[Feature Request]: User Authentication and Authorization

Is your feature request related to a problem? Please describe.
The user should be able to create an account, sign-in and sign-out of the App
Describe the solution you'd like
The NextAuth package will be used.

[ ] Setup NextAuth with Env Variables and Session Helpers
[ ] Create the Register Page
[ ] Create the SignIn Page
[ ] Create the SignOut Page
[ ] Add Nextjs Middleware for Routes Protection

Describe alternatives you've considered

Clerk
KindeAuth
AppWrite

Additional context
No.

Closed by #9577453


A good modulePaths recommendation that works for most npm users

Do you want to request a feature or report a bug?
Feature (documentation / clarification)
What is the current behavior?
Jest modulePaths recommendations in docs do not mention of the capability that makes Jest compatible with what Typescript folks call moduleResolution=Node. However, that is not exclusive to Typescript. Anybody runs into needing moduleResolution node, when they have two modules needing 2 different versions of dependency A.
"modulePaths": [
      "<rootDir>/**/node_modules"
],
``` works like a charm whereas
"modulePaths": [
      "<rootDir>/node_modules"
], does not

Can we note this in bold letters somewhere, better still, make it default?
If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can yarn install and yarn test.
N/A
What is the expected behavior?
Better documentation to bring Jest love to Jest users.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
jest: ^21.2.0,
npm@5,
node 8.5

Can you send a PR with the example and a rationale you just posted here? :)

@thymikee I can do that if it's just a doc update, but I figured it may be nice to get feedback from more jest veterans as to whether they see this being enforced as a default as well?
Most users of jest use npm and shouldn't we be protecting them from the edge case?

Actually modulePaths is an array of absolute paths, not globs. Are you sure that works as you expected? Maybe the same result would be to leave this option as default?

@thymikee you are right partially, that not specifying it works as well.
However, my glob pattern "<rootDir>/**/node_modules" also works, and "<rootDir>/node_modules" obviously doesn't.
That tells me we have a good default in place already. So yes, I will send a PR for the doc change, which would recommend that if people change this setting, then they are cognizant of how npm works.

Closing. See this comment for details.


Is a WSL2 + nvidia-docker environment supported?

Hello,
I tried to install stable-dreamfusion in a WSL2 + nvidia-docker environment, the following error occurred.
The procedure of Build image in Docker/README.md has been executed.
 => CACHED [13/16] RUN pip3 install git+https://github.com/NVlabs/nvdiffrast/                                      0.0s
 => ERROR [14/16] RUN pip3 install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch        18.3s
------
 > [14/16] RUN pip3 install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch:
#17 1.107 Collecting git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
#17 1.107   Cloning https://github.com/NVlabs/tiny-cuda-nn/ to /tmp/pip-req-build-1p1uv4so
#17 1.107   Running command git clone -q https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-1p1uv4so
#17 6.520   Running command git submodule update --init --recursive -q
#17 18.23     ERROR: Command errored out with exit status 1:
#17 18.23      command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1p1uv4so/bindings/torch/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-1p1uv4so/bindings/torch/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-1p1uv4so/bindings/torch/pip-egg-info
#17 18.23          cwd: /tmp/pip-req-build-1p1uv4so/bindings/torch
#17 18.23     Complete output (7 lines):
#17 18.23     Traceback (most recent call last):
#17 18.23       File "<string>", line 1, in <module>
#17 18.23       File "/tmp/pip-req-build-1p1uv4so/bindings/torch/setup.py", line 30, in <module>
#17 18.23         raise EnvironmentError("Unknown compute capability. Specify the target compute capabilities in the TCNN_CUDA_ARCHITECTURES environment variable or install PyTorch with the CUDA backend to detect it automatically.")
#17 18.23     OSError: Unknown compute capability. Specify the target compute capabilities in the TCNN_CUDA_ARCHITECTURES environment variable or install PyTorch with the CUDA backend to detect it automatically.
#17 18.23     No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
#17 18.23     Building PyTorch extension for tiny-cuda-nn version 1.6
#17 18.23     ----------------------------------------
#17 18.31 ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
------
executor failed running [/bin/sh -c pip3 install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch]: exit code: 1

Having the same issue, I managed to advance some steps after lots of debugging but ended up with an error where memory could not be allocated on the GPU, despite its availability.

Thanks for the reply,
First, I will debug it and see if it works in my environment.

Maybe out of the topic. for WSL.
But I'm running this repo on Windows by
1. Install Visual studio with "Desktop development with C++"

2. Once you have finished installing Visual studio. Windows Terminal (wt.exe) will introduce a new option, Developer PowerShell for VS 20xx please switch to this shell instead of your regular shell for using its build tools.

3. follow the installation guide on the README.txt.
pip install -r requirements.txt
pip install git+https://github.com/NVlabs/nvdiffrast/
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install git+https://github.com/openai/CLIP.git

4. To install an extension such as raymarching. Windows won't recognize bash. So, you have to input its content line by line.
pip install ./raymarching
pip install ./shencoder
pip install ./freqencoder
pip install ./gridencoder

5. Done. Fill your prompt and run!

You will get output video after 100 epochs or depend on your --iters parameter
https://youtube.com/shorts/7jpZCyMNulU?feature=share

Thanks, pureexe.
I'll try your method.

Does this allow us to use the GUI of the install?

hi @pureexe ,
i read on the net, that the big difference between powershell and developer powershell are the auto set environment variables.  Could you post the env vars of your developer powershell, seemed like your using an enterprise version of visual studio.
thx

I've got it down to installing raymarching, even though I am unable to install tncc.  Now I am getting this error.  Where can I insert set DISTUTILS_USE_SDK=1 so that I won't need to type it every time?
 UserWarning: It seems that the VC environment is activated but DISTUTILS_USE_SDK is not set.This may lead to multiple activations of the VC env.Please set `DISTUTILS_USE_SDK=1` and try again.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> raymarching

@flobotics No, i use Community version 2022,

Could you post the env vars of your developer powershell

Sure,
**********************************************************************
** Visual Studio 2022 Developer PowerShell v17.3.6
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
PS C:\Program Files\Microsoft Visual Studio\2022\Community> gci env:* | sort-object name

Name                           Value
----                           -----
__DOTNET_ADD_64BIT             1
__DOTNET_PREFERRED_BITNESS     64
__VSCMD_PREINIT_PATH           C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.15.2875.0_x64__8wekyb3d8bbwe;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\libnvvp;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\libnvvp;C:\Wi...
ALLUSERSPROFILE                C:\ProgramData
APPDATA                        C:\Users\pakkapon\AppData\Roaming
CommandPromptType              Native
CommonProgramFiles             C:\Program Files\Common Files
CommonProgramFiles(x86)        C:\Program Files (x86)\Common Files
CommonProgramW6432             C:\Program Files\Common Files
COMPUTERNAME                   PIE
ComSpec                        C:\Windows\system32\cmd.exe
CUDA_PATH                      C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8
CUDA_PATH_V11_7                C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7
CUDA_PATH_V11_8                C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8
DevEnvDir                      C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\
DISTUTILS_USE_SDK              1
DriverData                     C:\Windows\System32\Drivers\DriverData
ExtensionSdkDir                C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
EXTERNAL_INCLUDE               C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program ...
FPS_BROWSER_APP_PROFILE_STRING Internet Explorer
FPS_BROWSER_USER_PROFILE_ST... Default
Framework40Version             v4.0
FrameworkDir                   C:\Windows\Microsoft.NET\Framework64\
FrameworkDir64                 C:\Windows\Microsoft.NET\Framework64\
FrameworkVersion               v4.0.30319
FrameworkVersion64             v4.0.30319
HOMEDRIVE                      C:
HOMEPATH                       \Users\pakkapon
INCLUDE                        C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program ...
LIB                            C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\lib\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\\lib\10.0.19041.0\\um\x64
LIBPATH                        C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\lib\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetad...
LOCALAPPDATA                   C:\Users\pakkapon\AppData\Local
LOGONSERVER                    \\PIE
NUMBER_OF_PROCESSORS           24
NVTOOLSEXT_PATH                C:\Program Files\NVIDIA Corporation\NvToolsExt\
OneDrive                       C:\Users\pakkapon\OneDrive - Vidyasirimedhi Institue of Science and Technology
OneDriveCommercial             C:\Users\pakkapon\OneDrive - Vidyasirimedhi Institue of Science and Technology
OneDriveConsumer               C:\Users\pakkapon\OneDrive
OS                             Windows_NT
Path                           C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Community\C...
PATHEXT                        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
POWERSHELL_DISTRIBUTION_CHA...

Then, type variable name DISTUTILS_USE_SDK  and varaible value 1

Reload the shell should be enable the variable. But I recommend you to Restart the windows because sometimes it doesn't work.

@s024  Your error said No CUDA runtime is found
Could you run nvcc -V in developer shell?  Is that print out the version of nvcc ? if yes, is it 11.7?  (By the way, i'm using 11.8)

@pureexe
In my environment, nvcc is found and version is 11.7.
Should I upgrade it up to version 11.8?

11.7 should work fine. I don't know why is said No CUDA runtime is found when nvcc  is actually there.

Just in case, I upgraded to 11.8, but the No CUDA runtime is found problem was not resolved.

Do you have the CUDA variables in your path?

@y0himba
I added CUDA variables as you said, but I got the same error message.

@y0himba I added CUDA variables as you said, but I got the same error message.

How many Python installs are on your computer? Do you have for instance 32bit and 64bit Python installs? Miniconda and Anaconda? Would you mind showing me your environment variables?

I now only install 64bit Python v3.10.8 in my PC. Miniconda or Anaconda is not used.
I am Japanese, so path separator is not backslash but Yen mark.

When I tried to install tiny-cuda-nn, I got an exception, raise EnvironmentError("Unknown compute capability. Specify the target compute capabilities in the TCNN_CUDA_ARCHITECTURES environment variable or install PyTorch with the CUDA backend to detect it automatically.").
PS D:\stable-dreamfusion> pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
Collecting git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
  Cloning https://github.com/NVlabs/tiny-cuda-nn/ to c:\users\shin\appdata\local\temp\pip-req-build-xqb3iaal
  Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ 'C:\Users\shin\AppData\Local\Temp\pip-req-build-xqb3iaal'
  Resolved https://github.com/NVlabs/tiny-cuda-nn/ to commit c1d2584b50d40dc27e14e39ed9504dab18517f4b
  Running command git submodule update --init --recursive -q
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\shin\AppData\Local\Temp\pip-req-build-xqb3iaal\bindings/torch\setup.py", line 30, in <module>
          raise EnvironmentError("Unknown compute capability. Specify the target compute capabilities in the TCNN_CUDA_ARCHITECTURES environment variable or install PyTorch with the CUDA backend to detect it automatically.")
      OSError: Unknown compute capability. Specify the target compute capabilities in the TCNN_CUDA_ARCHITECTURES environment variable or install PyTorch with the CUDA backend to detect it automatically.
      No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8'
      Building PyTorch extension for tiny-cuda-nn version 1.6
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.


Metrics with NULL values are not processed correctly

Recently we migrated from graphite-web + whisper to graphite-web + graphite-clickhouse + clickhouse schema, and there are some issues with processing NULL values.
Whisper's *.wsp files has pre-defined resolution:
aggregationMethod: average
maxRetention: 157680000
xFilesFactor: 0.5
fileSize: 12614440

Archive 0
offset: 40
secondsPerPoint: 60
points: 525600
retention: 31536000
size: 6307200

which means that value for each timestamp may be NULL or some actual value, like following:
# whisper-fetch metric.wsp
1642054380      0.000977
1642054440      0.000977
1642054500      0.000977
1642054560      None
1642054620      0.000977
1642054680      0.000977
1642054740      None

In this case, graphite + whisper always return some value for each datapoint, even if all of them are NULLs. This may be used by transformNull() graphite functions to convert them into specific values and fill the gaps if necessary.
graphite-clickhouse + clickhouse has different behavior:
in case if at least 1 datapoint has non-NULL value, this value + NULL for other datapoints will be returned. This is query result from ClickHouse and how data is presented in Grafana (exported CSV)
SELECT
    Path,
    groupArray(Time),
    groupArray(Value),
    groupArray(Timestamp)
FROM graphite.data
PREWHERE (Date >= toDate(1642020420)) AND (Date <= toDate(1642023719))
WHERE (Path IN ('metric')) AND ((Time >=<PHONE_NUMBER>) AND (Time <=<PHONE_NUMBER>))
GROUP BY Path
FORMAT Vertical

Query id: 1eccd72b-9a8d-4825-b7f1-46bc21e5fde7

Row 1:
──────
Path:                  metric
groupArray(Time):      [1642022160]
groupArray(Value):     [0.0009765625]
groupArray(Timestamp): [1642022217]

1 rows in set. Elapsed: 0.020 sec. Processed 40.96 thousand rows, 3.68 MB (2.02 million rows/s., 181.21 MB/s.)

Grafana (exported CSV)

"Time","metric"
2022-01-13 03:47:00,
2022-01-13 03:48:00,
2022-01-13 03:49:00,
2022-01-13 03:50:00,
2022-01-13 03:51:00,
2022-01-13 03:52:00,
2022-01-13 03:53:00,
2022-01-13 03:54:00,
2022-01-13 03:55:00,
2022-01-13 03:56:00,
2022-01-13 03:57:00,
2022-01-13 03:58:00,
2022-01-13 03:59:00,
2022-01-13 04:00:00,
2022-01-13 04:01:00,
2022-01-13 04:02:00,
2022-01-13 04:03:00,
2022-01-13 04:04:00,
2022-01-13 04:05:00,
2022-01-13 04:06:00,
2022-01-13 04:07:00,
2022-01-13 04:08:00,
2022-01-13 04:09:00,
2022-01-13 04:10:00,
2022-01-13 04:11:00,
2022-01-13 04:12:00,
2022-01-13 04:13:00,
2022-01-13 04:14:00,
2022-01-13 04:15:00,
2022-01-13 04:16:00,0.00098
2022-01-13 04:17:00,
2022-01-13 04:18:00,
2022-01-13 04:19:00,
2022-01-13 04:20:00,
2022-01-13 04:21:00,
2022-01-13 04:22:00,
2022-01-13 04:23:00,
2022-01-13 04:24:00,
2022-01-13 04:25:00,
2022-01-13 04:26:00,
2022-01-13 04:27:00,
2022-01-13 04:28:00,
2022-01-13 04:29:00,
2022-01-13 04:30:00,
2022-01-13 04:31:00,
2022-01-13 04:32:00,
2022-01-13 04:33:00,
2022-01-13 04:34:00,
2022-01-13 04:35:00,
2022-01-13 04:36:00,
2022-01-13 04:37:00,
2022-01-13 04:38:00,
2022-01-13 04:39:00,
2022-01-13 04:40:00,
2022-01-13 04:41:00,

In case if selected interval has only NULL values, nothing is returned from ClickHouse to graphite-clickhouse, and from graphite-web to Grafana:
SELECT
    'metric' AS Path,
    groupArray(Time),
    groupArray(Value),
    groupArray(Timestamp)
FROM graphite.data
PREWHERE (Date >= toDate(1642020420)) AND (Date <= toDate(1642023719))
WHERE (Path IN ('metric)) AND ((Time >=<PHONE_NUMBER>) AND (Time <=<PHONE_NUMBER>))
GROUP BY Path
FORMAT Vertical

Query id: c1d5a623-0d5e-4826-9303-f5af306a7e2c

Ok.

0 rows in set. Elapsed: 0.012 sec.

Grafana displaying "No data" for this time period, but "No data" and "NULL" values are completely different, and expected behavior in this case - return NULL values for all datapoints.
Real-world problem: we have a metric representing request processing quantiles, and if there are no requests (night time), there are no values for quantiles is calculated. In the monitoring system, tracking this quantiles, we can replace NULL values with 0 using transformNull() , and differentiate the situation, when metric is broken and when there are just no requests served. This logic is broken now, because we may have a sequence of NULL values for the metric, exceeding selected  time-window (5 minutes in our case).
I suppose it can be possible to send NULLs for all datapoints from graphite-clickhouse even if there are empty result returned from the ClickHouse, if we're using rollup config and already know the metric's precision for selected time interval.
We're using "dummy" rollup configuration for now:
SELECT *
FROM system.graphite_retentions

Query id: ce6cd594-5498-47fd-a3a4-d54adade8d1f

┌─config_name─────┬─regexp─┬─function─┬─age─┬─precision─┬─priority─┬─is_default─┬─Tables.database─┬─Tables.table───┐
│ graphite_rollup │        │ any      │   0 │        60 │    65535 │          1 │ ['graphite']    │ ['data_local'] │
└─────────────────┴────────┴──────────┴─────┴───────────┴──────────┴────────────┴─────────────────┴────────────────┘

1 rows in set. Elapsed: 1.548 sec.

Or, if there are any other way for workaround - i'd be happy to know.
And thank you for the amazing go-graphite stack :)

Hi. To have proper null-points you need to have a valid retention config for the GraphiteMergeTree table. Then graphite-clickhouse returns valid None-points for any format.

Humm. Possibly i don't understand correctly what is "valid" retention config in this case.
Here is my configuration
SELECT *
FROM system.graphite_retentions

Query id: b3b2f340-71fe-4b5d-851c-f4ebd664beb7

┌─config_name─────┬─regexp─┬─function─┬─age─┬─precision─┬─priority─┬─is_default─┬─Tables.database─┬─Tables.table───┐
│ graphite_rollup │        │ any      │   0 │        60 │    65535 │          1 │ ['graphite']    │ ['data_local'] │
└─────────────────┴────────┴──────────┴─────┴───────────┴──────────┴────────────┴─────────────────┴────────────────┘

1 rows in set. Elapsed: 0.002 sec.

rollup config in /etc/clickhouse-server/config.d
<yandex>
        <graphite_rollup>
        <!-- default -->
                <default>
                        <function>any</function>
                        <retention>
                                <age>0</age>
                                <precision>60</precision>
                        </retention>
                </default>
        </graphite_rollup>
</yandex>

graphite-clickhouse configured to use table with Distributed engine (since it allow to avoid seding query request to the stale replica)
[clickhouse]
...
 index-table = "graphite.index"
...
 internal-aggregation = false

[[data-table]]
 table = "graphite.data"
...
 # custom rollup.xml file for table, 'auto' and 'none' are allowed as well
 rollup-conf = "auto"
 # custom table for 'rollup-conf=auto', useful for Distributed or MatView
 rollup-auto-table = "graphite.data_local"
 # is used when none of rules match
 rollup-default-precision = 0
 # is used when none of rules match
 rollup-default-function = ""
 # should be set to true if you don't have reverted regexps in rollup-conf for reversed tables
 rollup-use-reverted = false

With this configuration, graphite-clickhouse issuing following queries:
SELECT
    regexp,
    function,
    age,
    precision,
    is_default
FROM system.graphite_retentions
ARRAY JOIN Tables AS table
WHERE (table.database = 'graphite') AND (table.table = 'data_local')
ORDER BY
    is_default ASC,
    priority ASC,
    regexp ASC,
    age ASC
FORMAT JSON

Query id: 82e5d1c5-2178-473b-bfab-ffe6c5eae3e6

{
        "meta":
        [
                {
                        "name": "regexp",
                        "type": "String"
                },
                {
                        "name": "function",
                        "type": "String"
                },
                {
                        "name": "age",
                        "type": "UInt64"
                },
                {
                        "name": "precision",
                        "type": "UInt64"
                },
                {
                        "name": "is_default",
                        "type": "UInt8"
                }
        ],

        "data":
        [
                {
                        "regexp": "",
                        "function": "any",
                        "age": "0",
                        "precision": "60",
                        "is_default": 1
                }

        ],

        "rows": 1,

        "statistics":
        {
                "elapsed": 0.000710489,
                "rows_read": 1,
                "bytes_read": 116
        }
}

1 rows in set. Elapsed: 0.023 sec.

Now, related to https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/graphitemergetree/#rollup-configuration

age – The minimum age of the data in seconds.
precision– How precisely to define the age of the data in seconds. Should be a divisor for 86400 (seconds in a day).
function – The name of the aggregating function to apply to data whose age falls within the range [age, age + precision]. Accepted functions: min / max / any / avg. The average is calculated imprecisely, like the average of the averages.

age defining minumum age of data, in my case it's 0 which means "all data"
precision - i'd like to keep one value for each 60s
function - i use any
purpose of this config - keep only 1 value for each minute, if more that 1 value received within a 60s interval, and keep this data with 1-minute resolution without re-sampling (rollup).
Just in case,
CH version: <IP_ADDRESS>
graphite-clickhouse: 0.13.2
table's schema
CREATE TABLE graphite.data_local
(
    `Path` String CODEC(ZSTD(16)),
    `Value` Float64 CODEC(Gorilla, ZSTD(16)),
    `Time` UInt32 CODEC(DoubleDelta),
    `Date` Date CODEC(DoubleDelta, LZ4HC(9)),
    `Timestamp` UInt32 CODEC(DoubleDelta)
)
ENGINE = ReplicatedGraphiteMergeTree('/clickhouse/tables/401246e0-d1af-4835-8012-46e0d1afa835/{shard}', '{replica}', 'graphite_rollup')
PARTITION BY toYYYYMM(Date)
PRIMARY KEY (Path, round(Time, -5))
ORDER BY (Path, round(Time, -5), Time)
SETTINGS index_granularity = 8192

Maybe i missing something or misunderstanding the documentation?
I'd be grateful for any hint :)

Ok, sorry for my previous comment, I haven't slept enough today and got the issue differently, because you have a distributed table graphite.data, but the table in graphite_rollup is graphite.data_local.
So, the case is legal, although it would very significantly change the default behavior, and would be unexpected for the most of users. Currently even is old metrics are in index, they aren't listed in a metrics list https://github.com/go-graphite/graphite-clickhouse/issues/83
It's possible to add a setting and fill-up missing metrics, though.
Since the project doesn't have an active maintainer currently, it makes sense to consider a PR. We can discuss it in https://t.me/ru_go_graphite :wink:

No problems, i haven't sleep enough as well and thought i was missing something :sweat_smile:
Yeah, for backward compatibility this logic can be added by additional setting


assets not showing (Feature Request)

It appears this wallet doesn't support assets, would be cool if we could support them so we can have them in a hardware wallet. ;)

Assets are not supported currently. This is on the todo list but unfortunately I have little time to work on it at the moment due to other commitments. But I could probably assist if someone else wanted to take this task on.
Technically you can send assets to any address including your Electrum/hw wallet addresses and there is no problem with that. Getting them out again is more difficult - the easiest way would to be to import the addresses back to the Raven Qt wallet (using Ian Coleman's bip39 tool or similar)

Hello, Currently there is no functionality with RVN coin and Ledger Nano X. I am not sure if the new update does not work with electrum but we cannot trade.  Please help.

chaintek???


Fixed #28394 -- Removed BaseExpression._output_field.

https://code.djangoproject.com/ticket/28394

I guess custom expressions could be affected, so worth a mention in the release notes? Would a commit message along the lines of "Renamed BaseExpression._output_field to output_field" be more descriptive?


Can't add new control to Request

First of all, thank you for creating this libcamera-wrapper! I was recently trying to create one as well (using cxx/autocxx) and almost went mad.
I'm trying to set a new control in a Request, which should be possible with the C++ API:
let mut req = active.create_request(Some(1)).unwrap();
req.add_buffer(&stream, buf).unwrap();
req.controls_mut()
    .set(ExposureTime(100000))
    .expect("Setting control failed");

But this results in Setting control failed: NotFound(7).
This of course happens because .set() expects the Control ID to exist:
https://github.com/lit-robotics/libcamera-rs/blob/5b6085408be539687c9666745bad0f33d82ee23c/libcamera-rs/src/control.rs#L80-L87
From a quick try I figured implementing this wasn't as easy as creating a new libcamera_control_list_set since there is currently no way to create a new instance of libcamera_control_value_t from Rust. If I can up with a solution, I will create a PR.

Okay looking at the implementation in libcamera, this isn't going to work as documented.
Then again, the issue remains though, since I couldn't find a way to supply a list of Controls to camera.start().

Hey, thanks for reporting this.

I was recently trying to create one as well (using cxx/autocxx) and almost went mad.

I tried to do the same and that describes my experience pretty well lol. Interfacing Rust with C++, especially when templates are used is a nightmare. That's why I went the C wrapper route.
The issue should be fixed, please check if it's working. One caveat is that not all controls are supported by all cameras, so the set method can silently fail as described in the docs. Unfortunatelly, the methods to validate controls are private in libcamera :/

Seems to work, thank you!
I think the only problem that remains is that camera.start() uses a ControlListRef, which you can't create yourself. It would probably be best if start() took a Vec<Control> here which is then copied to the C++ ControlList.

I think the only problem that remains is that camera.start() uses a ControlListRef, which you can't create yourself. It would probably be best if start() took a Vec<Control> here which is then copied to the C++ ControlList.

Just came across this myself. Should start() take a Vec<Control>, or could ActiveCamera provide a controls_mut() method in the same way that Request does?

Just came across this myself. Should start() take a Vec<Control>, or could ActiveCamera provide a controls_mut() method in the same way that Request does?

I don't think libcamera API allows accessing camera controls to implement suggested controls_mut(). Update me if I'm wrong.
I created a fix in #6, please test and see if it works for you. Unfortunatelly, it is not possible to create Vec<Control>, because Control is a trait, which can have different types. Here is the alternative API I implemented:
let mut ctrls = ControlList::new();
ctrls.set(controls::FrameDuration(1000)).unwrap();
cam.start(Some(&ctrls)).unwrap();

Beware that UVC USB cameras ignore any controls given in start(), see here. They only accept controls from Request.

It seems that regardless of whether I add the controls to start() or Request, or any combination thereof, it seems to have no effect on the framerate. I'd like to test it more properly on my raspberry pi camera to exclude the possibility that my integrated laptop camera is the issue...

It's likely that integrated laptop camera is attached over internal USB bus and uses UVC protocol. AFAIK, libcamera can't control UVC FPS, supported controls are these: https://github.com/kbingham/libcamera/blob/master/src/libcamera/pipeline/uvcvideo/uvcvideo.cpp#L268

Note that it's not that libcamera /can't/ control more features of UVC ... just that no one has added support.
If you want to fix control handling in the uvc pipeline handler, patches are most welcome at the libcamera-devel mailing list.


Unable to update module due to policy definition errors

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform: 1.7.0
azure provider: 3.107.0
module: 6.0.0
Description
Initiative: Update new module 6.0.0 to our sandbox tenant
Describe the bug
When updating from module version 5.2.0 to 6.0.0 we get error in terraform plan:
Error:
reading Policy Definition "Deny-EH-Premium-CMK": policy.DefinitionsClient#GetAtManagementGroup: Failure responding to request: StatusCode=404 -- Original Error: autorest
/azure: Service returned an error. Status=404 Code="PolicyDefinitionNotFound" Message="The policy definition 'Deny-EH-Premium-CMK' could not be found."
with module.landing-zone.data.azurerm_policy_definition.external_lookup["/providers/Microsoft.Management/managementGroups/XX/providers/Microsoft.Authorization/policyD
efinitions/Deny-EH-Premium-CMK"],
│   on .terraform/modules/landing-zone/locals.policy_assignments.tf line 167, in data "azurerm_policy_definition" "external_lookup":
│  167: data "azurerm_policy_definition" "external_lookup" {
Error:
reading Policy Definition "Deny-LogicApp-Public-Network": policy.DefinitionsClient#GetAtManagementGroup: Failure responding to request: StatusCode=404 -- Original Error:
autorest/azure: Service returned an error. Status=404 Code="PolicyDefinitionNotFound" Message="The policy definition 'Deny-LogicApp-Public-Network' could not be found."
with module.landing-zone.data.azurerm_policy_definition.external_lookup["/providers/Microsoft.Management/managementGroups/XX/providers/Microsoft.Authorization/policyD
efinitions/Deny-LogicApp-Public-Network"],
│   on .terraform/modules/landing-zone/locals.policy_assignments.tf line 167, in data "azurerm_policy_definition" "external_lookup":
│  167: data "azurerm_policy_definition" "external_lookup" {
The policies can be found in the module, but not in Azure so they are not deployed.
Steps to Reproduce

Deploy module 6.0.0

Screenshots

Additional context

There was missing policy definitions in archetype


robot_name, v1

More practice with Ruby style.

A few awkward constructions still, but overall looks fine. Nice work.

Thanks for your comments Joe!


Doesn't render on broken 3D chip/no graphics card.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Damage 3D chip or buy broken laptop or disable graphics chip/card in windows.
Switch to windows classic, non-accelerated graphics mode.
Try and install vs code
Watch the black screen in action.

(Other applications do work, like firefox, opera by disabling hardware acceleration, some games don't work because of missing 3D chip/broken chip, CPU has embedded GPU that is why laptop still works and can render GDI and other things, or perhaps the 2D part of the 3D chip is still working, not exactly sure).
I will try to install an intel graphics driver, maybe that will help, cu for now ! hope it doesn't screw up what is left of this system/laptop ! =D wish me luck ! LOL.

Have you tried to launch whit --disable-gpu flag?

I solved problem as follows:
Disabled radeon 5000 graphics in windows.
Ran VS code in vga mode, then:
Disable GPU acceleration#
We have heard issue reports from users that seem related to how the GPU is used to render VS Code's UI. These users have a much better experience when running VS Code with the additional --disable-gpu command-line argument. Running with this argument will disable the GPU hardware acceleration and fall back to a software renderer.
To make life easier, you can add this flag as a setting so that it does not have to be passed on the command line each time.
To add this flag:
Open the Command Palette (Ctrl+Shift+P).
Run the Preferences: Configure Runtime Arguments command.
This command will open a argv.json file to configure runtime arguments. You might see some default arguments there already.
Add "disable-hardware-acceleration": true.
Restart VS Code.

Note: Do not use this setting unless you are seeing issues!
Editor#
Also add a comma.
Then re-enabled hd 5000.
^ did not require a reboot that is cool.
All of this worked.
I did also install a intel arrandale graphics driver but it didn't seem to do much, maybe it allows this switching now to be done without a reboot at best ! ;)
Bye,
Skybuck.


Build: dr_wav.h is missing

Linux Mint 20.2: followed yor build commands step by step
On the step:"cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .."
compilation terminates with:
ysfx_audio_wav.cpp:31:10: fatal error: dr_wav.h: File not found
i guess, it is the dr_libs; right?
https://github.com/mackron/dr_libs
So, what to do?

It's a submodule.
If you do git submodule update --init --recursive
(in ysfx dir) then git will clone it too.

thanx, and yes, build process is working now
maybe you add the step to the description of the building steps:-)


ORA-24816 with Oracle db when collecting user_id

Hi, I'm using Laravel 5.3, LERN 3.6.2 and I'm connecting to an Oracle database using yajra/laravel-oci8.
If I set record.collect.user_id => true in config/lern.php, I got this issue:

if the user is authenticated: everything ok
if the user is not authenticated: when an Exception fires, I got

RecorderFailedException in Recorder.php line 61: Error Code : 24816
Error Message : ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
Position : 12
Statement : insert into lern_exceptions (class, "file", line, code, message, "trace", user_id, status_code, method, data, url, updated_at, created_at) values (:p0, :p1, :p2, :p3, :p4, :p5, :p6, :p7, :p8, :p9, :p10, :p11, :p12) returning id into :p13

If I set record.collect.userid => false, everything is ok.
With a mysql database everything works, but unfortunately I have to use Oracle.
The error occurs only when user_id is set to null; if I manually set it to, for example, 0 or -1, there isn't any error.
http://psoug.org/oraerror/ORA-24816.htm
I think user_id column should be the last in the insert query, but I couldn't fix it.
I only found a (bad) workaround: in the model, if the attribute user_id is set to null, I remove it from the model instance, so the database inserts the default value (null) on that column.
Is it possible to fix somehow?
Thank you

Hey @eleftrik please give 3.6.3 a try and let me know if it works for you!

@tylercd100: it works perfectly! Thank you


region playlist does not retain playlists bug

After a few minutes all playlists are gone from the Region Playlist. I love the region playlist, I hope there is a fix. Should I try out the beta?
Reaper v6.78 - March 14 2023
SWS v<IP_ADDRESS> featured build (February 6, 2021)
Mac OSX Monterery 12.6.3
MacBookPro 2015 15"

Could be related to #1743 (region playlist and track notes use a similar storage mechanism), first seen at the beginning of the month. There's also been a very suspicious crash report (SWS auto-color, same data storage method) pointing to that.
Need to find a reliable way to trigger the data loss to investigate. Playlist didn't disappear when I created 2 region playlists in a blank project with 2 regions, closed the playlist window, waited 15 minutes, re-opened the playlist window.

Should I try out the beta?

Generally yes: we've made a lot of fixes since 2.12. And if the bug ever causes a crash it would be easier to look into reports made with the latest version rather than a 2 years old version.

As a temporary fix I went back to Reaper v6.71 - November 28 2022 and so far has the problem not occurred again.

Closing as duplicate of #1743. I've observed both notes and region playlist getting lost at the same time via undo so now I'm convinced it's the same problem. Further findings should be posted there.


Update required quobyte secret structure

While setting up a quobyte integration I noticed that the info about the secret's structure is incorrect. The official quobyte documentation can be found here: https://github.com/quobyte/kubernetes/blob/master/using_quobyte_volumes.md

@sfudeus  Thanks for your PR. Please sign CLA first.

@zhangqx2010 Sure, working on it. But the corporate CLA will most likely take some weeks.

@sfudeus Just few seconds will. If you have signed, do /check-cla

/check-cla

@sfudeus I'm closing this PR because the CLA status check has not been resolved for over a month. Please

feel free to reopen this if you are still working on it, and
try follow instructions here to debug your CLA status if you have already signed it.

/reopen Still working on the CLA, currently in process to be signed by CIO.

/check-cla

@tengqm Seems I cannot reopen, CLA is signed now. Could you help here?

/reopen

/check-cla

/check-cla

/check-cla

/lgtm

/approve


readme updated, code clean, tests fixed

what

BridgeCrew compliance checks fix
readme updated
code clean up
Skipping Encrypt SNS Topic Data in example/test module

why

To be able to position our modules as standards compliant
Providing explicit note about policy attached directly to user
removed unnecessary providers dependencies
To comply BridgeCrew check

references

https://docs.bridgecrew.io/docs/iam_16-iam-policy-privileges-1

/test all

/test all


Fix case sensitivity issue with Spangres target

Fixes case sensitivity issue with Spangres migration. PostgreSQL is case sensitive if double quotes are added around identifiers. This was the default behaviour.
Read up about case sensitivity in Postgres:

https://stackoverflow.com/questions/7651417/escaping-keyword-like-column-names-in-postgres
https://dev.to/lefebvre/dont-get-bit-by-postgresql-case-sensitivity--457i

In order to protect Ids for transformation, we add backticks for Spanner target, and quotes for Spangres target. Adding quotes results in the schema in the comment above, and makes the CREATE TABLE and other related DDL statements case-sensitive.
As per the PostgreSQL docs, I did not find a direct equivalent for backticks. It looks like PostgreSQL allows creation of table names, columns with reserved keywords and it is during querying where it requires special handling of these keywords.

Adding test files:
mysqldump_2022-08-29_1882-7db3.report.txt
mysqldump_2022-08-29_1882-7db3.schema.ddl.txt
[mysqldump_2022-08-29_188
Dump20220829-fk.sql.zip
2-7db3.schema.txt](https://github.com/cloudspannerecosystem/harbourbridge/files/9442472/mysqldump_2022-08-29_1882-7db3.schema.txt)


Differential input and gain for maximum precision.

Hi, I have a question about the gain and differential. There is a voltage that varies around a bias. I want to measure this voltage in reference to the bias with as much precision as possible. If I use the differential input will the gain setting amplify the result of the differential and therefore improve precision or will it amplify the inputs and then get the differential voltage?

Good question, never tried. I expect that it will as gain affects single measurements too. Does the datasheet say anything here?
Note that would always be an option to do the differential yourself with two single adc calls with optimum gain per channel.
If you want the differential at the exact same time you might consider using two ADS1x15 devices side by side.

Hi, I have a question about the gain and differential. There is a voltage that varies around a bias. I want to measure this voltage in reference to the bias with as much precision as possible. If I use the differential input will the gain setting amplify the result of the differential and therefore improve precision or will it amplify the inputs and then get the differential voltage?

look at the datasheet on page 14
the input signals get muxed to the PGA (gain) and then converted
if you have an offset on the signals, it will only amplify the difference between the signals
(as long as the offset is within the input voltage aka supply voltage range ofc)

Ok thanks. So I guess this means that I could dynamically increase the gain at lower input diffferentials to improve precision and lower gain to get a larger input range at cost of lower precision.

Ok thanks. So I guess this means that I could dynamically increase the gain at lower input diffferentials to improve precision and lower gain to get a larger input range at cost of lower precision.

Yes and no.
if your input exceeds what the device can handle you need to add a voltage divider before the inputs.
Or in case of differential probably two equal ones (with high precision resistors)


casync: init at 2-152-ge4a3c5e

Motivation for this change
This adds casync to nixpkgs, with their tests.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Actually test/test-script.sh.in

That did the trick, thanks!

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: casync
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: casync
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e
shrinking /nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e/bin/casync
shrinking /nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e/lib/casync/protocols/casync-http
gzipping man pages under /nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e/lib  /nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e/bin
patching script interpreter paths in /nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e
checking for references to /build in /nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e...
/nix/store/15bvxcj009bn5nficnvwhnp2s6kjcd5x-casync-2-152-ge4a3c5e

Success on aarch64-linux (full log)
Attempted: casync
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e
shrinking /nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e/lib/casync/protocols/casync-http
shrinking /nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e/bin/casync
gzipping man pages under /nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e/lib  /nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e/bin
patching script interpreter paths in /nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e
checking for references to /build in /nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e...
/nix/store/lg3vk14pk7kwcw44qfz09xb9lkarq3jd-casync-2-152-ge4a3c5e


Rename non-pythonic module names

https://github.com/ndexbio/ndex2-client/blob/11dc2d31b4342fd8859eebad31d03d37c36233a1/nicecxModel/cx/aspects/CitationElement.py#L6
All of the modules in the ndex2.cx.aspects module use the camel case naming convention. This is standard for Java, but incredibly confusing in Python, especially since the classes contained in each have the same names, as in:
from ndex2.cx.aspects.CitationElement import CitationElement

A (possibly destructive) solution would be to rename each of these modules to have snake case so this would become
from ndex2.cx.aspects.citation_element import CitationElement

An alternative solution that wouldn't require renaming these modules would be to import the relevant classes in cx/aspects/__init__.py and expose them using __all__ so they cold be imported as
from ndex2.cx.aspects import CitationElement, SupportElement, ...

ndex2 client v2.0.0 removes old cx classes in favor of plain old objects, thus removing most of the naming issues.  The remaining class files have been renamed using snake case.


Handling of stereo files

I received a report from a user that stereo files are not being handled: https://github.com/rsxdalv/tts-generation-webui/issues/374

Hi, the model takes mono audio as input, you can use pydub to convert stereo to mono.


Add macros to get the values of configuration flags

This RFC adds four macros which take a compile-time configuration flag (e.g. target_os) and evaluate to either a compile time integer literal, float literal, string literal, or an identifier.
There is an implementation of it in Rust PR 27855 (although it is missing cfg_ident!).
Rendered

Thanks @dylanmckay! Would it be possible to scale this back to solve the problem at hand? This is adding quite a bit of surface area which looks like it may not all be necessary to solve the motivation at hand. For example, is cfg_float! necessary? It seems like while there may be a theoretical application there doesn't seem to be a strong motivation for it in practice.
I also think that the cfg_ident! macro may not work out, your example of:

Guh sorry for the early comment:
your example of:
pub mod cfg_ident!(target_os);

Have you tested this? We can't, for example, do fn concat_idents!(foo, bar)() {} so I would be surprised if this worked. Along those lines this may be able to cut the cfg_ident! macro as well.
This may also want to consider what to do with the case that a #[cfg] key isn't set instead of just generating a compiler error. It may be more useful in some situations to return an Option (e.g. env! vs option_env!).
Finally, the naming of cfg_int! is a little odd there's no "int" type in the language, and it may be best to just say it returns an i32 perhaps?

Hello @alexcrichton!
Thanks the the feedback - you raise very valid points. I originally planned on adding a single cfg_int!() macro. After I implemented that, I realised how easy it would be to add the others so I went along and did that.

For example, is cfg_float! necessary?

cfg_float! did seem to have a very small (if existent) usecase. I included it so that it could be discussed in the RFC (plus it was very easy to implement). I agree with you - this macro should be pruned from the RFC. I'll update it.
With regards to cfg_ident!(), I did not realise that concat_idents!() was so limited. Indeed, today cfg_ident!() would be just as crippled, leading it to be essentially useless. I will remove this from the RFC as well.

Finally, the naming of cfg_int! is a little odd there's no "int" type in the language, and it may be best to just say it returns an i32 perhaps?

I would prefer the caller of the macro to be able to use the macro and have it expand into an unsuffixed integer literal - that way the type of the integer can be inferred automatically.
This has several benefits:

If the flag value overflows a u32 - what happens? The only option would be for the compiler to crash - truncating or ignoring the error would lead to incorrect results
If type-level integers were implemented, what exactly would let v: Vector3<cfg_int!(dimensions)> mean? Vector3<3u32> might not make much sense - suffixing a type-level integer may not inter operate with a future type level integer proposal.
Users of the macro can have the macro expand into an arbitrary sized integer - if cfg_int!(foo) as usize < my_var { /* ... */ }, removing unnecessary and redundant casts.

On that note, perhaps cfg_int!() is not an appropriate name. It suggests that it expands into a value of type int - which does not exist. What do you think about modifying the proposal so that it becomes cfg_integer!() instead. This removes any connotation about the type of the expanded literal.

This may also want to consider what to do with the case that a #[cfg] key isn't set instead
of just generating a compiler error. It may be more useful in some situations to return an
Option (e.g. env! vs option_env!).

This is a good idea. We could add a option_cfg_str!() macro and an option_cfg_int!() macro. It is, however, very important to maintain a distinction between the macros which return literals vs. the macros which return Options of values. I'll add the option variants into the RFC.

How about adding a type parameter so the call would be something along the lines of cfg_value!(foo, i32) that does all the magic internally? If the value can't be converted to an i32 this would obviously error the same way cfg_int! would.
Wild suggestion: cfg_value!(foo, Option<i32>) could be used instead of a cfg_optional_value! macro.

There's an unfortunate hitch here: cfgs aren't unique, e.g. cargo will add multiple --cfg feature="..." based on the features specified, e.g. cargo build --features "foo bar baz" will cause all the following functions to exist:
#[cfg(feature = "foo")]
fn foo() {}
#[cfg(feature = "bar")]
fn bar() {}
#[cfg(feature = "baz")]
fn baz() {}

Is there any way to have fewer macros here?

to expand upon @nikomatsakis 's note, there was some informal discussion of maybe employing some sort of duck-typing in order to reduce the number of macros.

@dylanmckay have you given any further thought on ways to reduce the number of macros here?  I did see the suggestion in the alternatives section; but I'm curious if you've had further thoughts on whether we can do something more aggressive...

Ideally, I think it would be best to expand the macro into a special type which can be coerced into either an integer or a string, depending on whatever type inference decides, and the value of the flag.
This would allow us to have a cfg_value! and cfg_optional_value! macros.
Anything other than that is simply working around the fact that macros aren't typed.
You should be able to do
if cfg_value!(target_os) == "windows" ||
    cfg_value!(custom_feature) == 12 { .. }

I'm not sure how well this would play with the inference engine.
@pnkfelix What are your thoughts? Have a single macro for several types, or have both integer and string variants?

:bell: This RFC is now entering its week-long final comment period :bell:

My own personal opinion here is that it may be a bit premature to add these macros just yet, but we may want something along these lines eventually! The design here I think may need some improvement in terms of ergonomics and returned types.

Wild suggestion: cfg_value!(foo, Option) could be used instead of a cfg_optional_value! macro

This would look much better, +1 for cfg_value!(foo, Option)

The libs team discussed this during triage yesterday and the conclusion was to close this RFC for now. We're specifically still worried about what these macros would do in the face of a cfg being defined multiple times (as @huonw mentioned), and it seems like the names/semantics of the macros here may want to have more consensus before moving forward.
The next steps here would probably be to start a thread on the internals or users forums to see what others' use cases might look like and get feedback on the design here. There's unfortunately a number of downsides to #[cfg] as-is today and this also may not be the most prominent on others' minds in terms of what to fix next!
Thanks again for the RFC though @dylanmckay!


fix(docs): documentation typo

Fixing a documentation typo. @liveblocks/zustand provides you with Zustand bindings, not @liveblocks/redux.

Fixed here https://github.com/liveblocks/liveblocks/pull/1312


SyntaxError: invalid syntax

Oh! That's only missing a colon. Add colon, : at the end of 11. So it looks like the following
if response.text.find("errors") < 0:

That's my bad, sorry! Confirmed pull request so it should be ready to go.