.csproj linked to .sln for ASP.net core project

For some reason, it seems that whenever you create a .sln and associate the csproj, the csproj is actually liked directly to the .sln as well.
This becomes a problem when you have multiple solutions that reference the a common .csproj and the solutions are at different root levels.  What happens is that the package folder that is generated to store all the nuget files are dl only at the level of the solution that is associated with the .csproj.  The other solution that are located at different directory won't get that package and won't build.
From my understanding, the .sln is only meant to as a way to group csproj together.  You only really need the csproj to build your project in asp.net core.  So I would expect that at each solution level, it would create a package folder and pull in all the required libraries needed by the associated csproj.  This is not happening thou.
Example:
Project layout
/solution1.sln (reference common.csproj)
/test/solution2.sln (reference common.csproj)
After building
/solution1.sln
/packages/{common nuguet dependencies}
/test/solution2.sln
/test/packages/{missing common nugut dependencies}
As a result, solution2.sln will not build successfully.  This is with visual studio 2017 and asp.net core 2.
Any help appreciated,
Thanks,
Derek

@barrytang @Pilchie can you help with this one? Where should the issue get tracked?

This is a NuGet issue with packages.config, not related to .NET Core at all.  Adding @rrelyea

Yes, this is a known limitation of projects which use packages.config (nuget v1) to manage their dependencies.
Moving that project to PackageReference (nuget v4) will avoid that problem.
Please engage with the nuget team at github.com/nuget/home as needed.

Ok, I'm going to close this issue here. @darewreck54 go ahead and follow up in github.com/nuget/home to dig in.


nixos/blockbook-frontend: adjust tests to bitcoind

Motivation for this change
Adjust tests to fit updated bitcoind service https://github.com/NixOS/nixpkgs/pull/93700
Things done

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

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

[x] 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 nixpkgs-review --run "nixpkgs-review wip"
[ ] 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)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg test blockbook-frontend


Build it for windows OS

Can you build it for windows OS please ??
Also If you can create a plugin for obs studio.  This will be great too..
And I hope add email for you to send to you directly better than open subject here..

PyTorch is available for Windows.

Thank you for your answer me
Where to download it?
Can you give me link for download please?  thanks

I need software for windows not Library or sdk to development one!  I'm not a developer!!


Import React namespace to improve React 17 compatibility with ESM

In React 17, useInsertionEffect does not exist.
In #10, we are now exporting ESM, so import { useInsertionEffect } fails with React 17.  Reported as #11.
This PR fixes that by importing the React namespace instead.
Considerations: does this defeat the purpose of building as ESM?  Does this disable "tree shaking"?  I don't imagine that React can be tree-shaken, so probably not.

@scottrippey AFAIK react itself only has a cjs output and is not tree shakable.
I tested 0.9.4 and the version of this pr both in react 17, 18 & preact all using vite, but couldn't get any error.
I added a comment to the ticket to ask in which dev env the error came up.
For now, I think the solution should be fine, but maybe it's worth looking at the internal package from emotion/react @emotion/use-insertion-effect-with-fallbacks (see code here).
They are using string interpolation to access useInsertionEffect, probably because some bundlers would try to optimize the access, which would cause errors.

Published as 0.9.5!


Stack overflow and build hangs on some regular expressions

Stack overflow
This causes a stack overflow:
use logos::Logos;

#[derive(Logos, Debug, PartialEq)]
enum Token {
    // This is one way to deal with strings with escaped quotes.
    // It can be read as: (zero to many matches of any character but a quote or a backslash, optionally followed by an escaped quote) repeated as many times as needed.
    #[regex(r#""(?:[^"\\]*(?:\\")?)*""#)]
    String,
    #[error]
    Error,
}

fn main() {
    for token in Token::lexer("\"") {
        println!("{:?}", token);
    }
}

Build hangs
I initially wanted to use the example below but it causes my build to hang. I'm not sure if the two are related.
The only difference in the example below is that the escaped character can be any character instead of just a quote. Allowing for example to have escaped backslashes by default.
use logos::Logos;

#[derive(Logos, Debug, PartialEq)]
enum Token {
    // This is one way to deal with strings with escaped quotes.
    // It can be read as: (zero to many matches of any character but a quote or a backslash, optionally followed by ANY escaped character) repeated as many times as needed.
    #[regex(r#"(?:[^"\\]*(?:\\.)?)*"#)]
    String,
    #[error]
    Error,
}

fn main() {
    for token in Token::lexer("\"") {
        println!("{:?}", token);
    }
}

Workaround
In the meantime if anyone is looking to do something similar and running into this issue, I recommend using a regex like "(?:[^"]|\\.)*"instead.
Let me know if I can help in any way! 😃

One of the simpler regexes I've found that causes a stack overflow (via infinite recursion of two functions?) in logos-derive is (A+.)*A*, e.g.:
use logos::Logos;
#[derive(Debug, Logos)]
enum Token {
    #[regex(r"(A+.)*A*")]
    Varid,
    #[error]
    Error,
}
fn main() {}

The two A can be any (same) character/class, the + must be a + and not a *, the first * must be a * and not a +, the second * can be a +.
It appears to cause infinite recursion between two functions in logos-derive:
/home/<redacted>/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/ \
  ../lib/librustc_driver-1bde28880ea8bde8.so(+0x4e54e3)[0x7f65aa8e54e3]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f65a9e1a520]
/<redacted>/logos-2022-08-18/target/debug/deps/liblogos_derive-41ef7fc8affd6f59.so(+0x2bf457)[0x7f659bb9d457]
/<redacted>/logos-2022-08-18/target/debug/deps/liblogos_derive-41ef7fc8affd6f59.so(+0x2c1048)[0x7f659bb9f048]
/<redacted>/logos-2022-08-18/target/debug/deps/liblogos_derive-41ef7fc8affd6f59.so(+0x2bf457)[0x7f659bb9d457]
/<redacted>/logos-2022-08-18/target/debug/deps/liblogos_derive-41ef7fc8affd6f59.so(+0x2c1048)[0x7f659bb9f048]
/<redacted>/logos-2022-08-18/target/debug/deps/liblogos_derive-41ef7fc8affd6f59.so(+0x2bf457)[0x7f659bb9d457]
/<redacted>/logos-2022-08-18/target/debug/deps/liblogos_derive-41ef7fc8affd6f59.so(+0x2c1048)[0x7f659bb9f048]
# the previous two lines alternate until
error: could not compile `logos-2022-08-18`

Caused by:
  process didn't exit successfully: `rustc --crate-name logos_2022_08_18
    --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat
    --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=b565993cec392692
    -C extra-filename=-b565993cec392692 --out-dir /<redacted>/logos-2022-08-18/target/debug/deps
    -C incremental=/<redacted>/logos-2022-08-18/target/debug/incremental
    -L dependency=/<redacted>/logos-2022-08-18/target/debug/deps
    --extern logos=/<redacted>/logos-2022-08-18/target/debug/deps/liblogos-0d06f96248e3f77c.rlib`
    (signal: 11, SIGSEGV: invalid memory reference)

(line-wrapping added)
I've also found that (A+A)*A* causes a hang instead of a stack overflow, but (A+A)*A+ again causes a stack overflow (two functions).

encountered the issue too, simplified the case to
use logos::Logos;

#[derive(Logos, Debug, PartialEq)]
enum Token {
    #[regex(r"a**")]
    Thing,

    #[error]
    Error,
}

fn main() {}


Support Mixtral's safetensors weights

Currently, we only support Mistral's pt format weights. Let's support safetensors weights as the pt weight files might also be changed by HF in the future.

How can I convert the safe tensors weights for a Mixtral fine-tune to pt in the meantime?

I also can't seem to find any information about converting safe tensors or merged python_model.bin to pt.

This will be fixed by #2090


Is there a Powershell equivalent of PKTMON for network captures?

Is there a Powershell equivalent of PKTMON for network captures?

This repository is for PowerShell core documentation. You seem to be looking for support, which we can't provide here.
I suggest you try posting your issue with context in one of the available community support forums.


how can i get tx details like in tonview page ?

hi, i wanna get the tx details like in the tonview page , here is my code, but that return error.
// i got the raw in https://tonviewer.com/transaction/e8bede202c2640abd0d21829abda2c3bf84d001876614897fe587fed02d8a4af?section=trace `Raw body` button
raw := "b5ee9c7201010201008700019c6c873f33fd68f48129591db54dbec3eb73d23517c75e0190287136911bf79a8b1e14402e9546f59ef830173fac05dd283de3799e57f2cd824049e21cb265250f29a9a31766f527ce0000002300030100684200783f5983559094d26b757d065658e840dd5d3da401668501ab241bfa078f80bea1dcd6500000000000000000000000000000"
rawBytes, err := hex.DecodeString(raw)
if err != nil {
	log.Error(err)
	return
}
c, err := cell.FromBOC(rawBytes)
if err != nil {
	log.Error(err)
	return
}

var msg tlb.Message
err = msg.LoadFromCell(c.BeginParse())
if err != nil {
	log.Errorf("parse:%v",err) // error here
	return
}
log.Infoln(msg)

log file here:
2024/09/27-15:18:08.464267 [main.:0040][GOID:00000001][ERROR] parse:failed to parse internal message: failed to load CreatedLT uint 64, err: not enough data in reader, need 64, has 39

Hi, raw body is not tlb.Message, it just depends on specific contract, so you should know the contract scheme

Hi, raw body is not tlb.Message, it just depends on specific contract, so you should know the contract scheme

thanks for your response. This tx seems like just normal transfer transaction, how can i parse it?

Bro, That all are your payload msg, magic header, and signature, organized by you, not returned by TON except for the TX hash.


WIP: pythonPackages: new functions to build numpy and scipy

Because of issues occasionally with new versions of Numpy and/or Scipy I propose to have multiple versions of each available.
This PR includes two new functions to build numpy and scipy packages. Furthermore, because of segmentation faults with openblas 0.2.15, version 0.2.14 is used instead. This is also what upstream tests against.
The BLAS version that is used by numpy is now shared via passthru.

@domenkozar @adnelson comments?
Note that I chose to use functions instead of override because there generally is something that needs to be patched with each version, thereby making it difficult to choose a 'base version' to override.

Looks good, but it has conflicts?


fix: build error

Css didn't format properly when saving, missing a space causing a build error

I'm still getting a stylelint error on this build @chanroyc
Have you got format-on-save and the stylelint plugin installed?

I'm still getting a stylelint error on this build @chanroyc
Have you got format-on-save and the stylelint plugin installed?

I do have those installed, not sure why it's not formatting on save but should be fixed now!


Slide.ly Feature Request

[x] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>
[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Feature request (request for a new functionality)

Hi, yea, I wanted to request a feature that we can download from Slide.ly videos. Not in a hurry. But is it possible? We can publicly share videos thru anywhere but unable to download. Thanks you.

Please give an URL of a concrete video.

Here is my video. Sorry for late reply.
http://slide.ly/view/b35999d4c2bbe270d3fcdb3d737786c7

Those "videos" are actually static pictures. However, it's still in debate that youtube-dl should support static pictures or not. (#9337) I'll leave this issue open for further discussion.

Thanks.


Don't clobber certain user-defined split-diff configs

With various Atom syntax themes, I have a hard time reading split-diff when "Show Word Diff" is enabled (especially when the underlying code uses various colors because of syntax highlighting). Thus, I usually want this setting to be disabled. I can do so in the split-diff configuration menu or by setting the split-diff config boolean diffWords to false.
However, even if I disable this behavior, one use of git-time-machine always brings it back.
After a minute of grepping, it looks git-time-machine might modify this setting here.
I understand why you might need to override the default rightEditorColor and leftEditorColor, and for UX reasons, I even understand overriding scrollSyncType. But is it really necessary to override diffWords and for that matter ignoreWhitespace?
I would prefer that git-time-machine not modify the user's global diffWords and ignoreWhitespace settings.

(FYI. It appears that just removing these two lines gives me the behavior that I'm looking for.)

Sorry for the stacked pr etc..... I was doing this through the UI :)

fixed in 1.5.7


Add HG_Class_get_init_info

Is your feature request related to a problem? Please describe.
In the context of Margo, to fill up the JSON configuration that represents the parameters used to initialize Mercury, we would need to be able to retrieve the hg_init_info that was used to initialized Mercury if the user provided their own hg_class to Margo (or a default hg_init_info if HG_Init was used).
Describe the solution you'd like
struct hg_init_info* HG_Class_get_init_info(struct hg_class*)

OK. We currently do not keep that info around but that's probably possible to do it.

@mdorier let me know if you still need that feature. I've been looking at it recently and it's almost impossible to support it because of some the init info fields that would need to be copied and kept around. Some fields are cached but that's only a small part of them.

It's definitely not a priority. I have modified margo to prevent it from assuming/reporting default values when HG was initialized externally.


Extract multiple versions of the same package from pom.xml

Some pom.xml files contain multiple versions of the same package. For example:
<dependency>
  <groupId>com.fasterxml.jackson.core</groupId>
  <artifactId>jackson-databind</artifactId>
  <version>2.13.3</version>
</dependency>

<dependency>
  <groupId>com.fasterxml.jackson.core</groupId>
  <artifactId>jackson-databind</artifactId>
  <version>2.13.4</version>
</dependency>

<dependency>
  <groupId>com.fasterxml.jackson.core</groupId>
  <artifactId>jackson-databind</artifactId>
  <version><IP_ADDRESS></version>
</dependency>

Since it's hard to know which will end up being installed / used, it might be best to extract all of them. Currently, only the last package is retained because extraction is keyed on groupId and artifactId: https://github.com/google/osv-scanner/blob/main/pkg/lockfile/parse-maven-lock.go#L124

According to this:

Note that if two dependency versions are at the same depth in the dependency tree, the first declaration wins.

so we should actually just be picking the first version every time

According to this:

Note that if two dependency versions are at the same depth in the dependency tree, the first declaration wins.

so we should actually just be picking the first version every time

+1. Note though, the mvn tool doesn't actually follow this behaviour. The actual implementation seems to take the last specified version, which is consistent with OSV-Scannee

mvn also warns about this kind of pom.xml and suggests to fix these problems.
It is also said that future Maven versions might not support building such malformed projects.

Closing, as it seems that we are following the correct upstream behaviour.
If anybody disagrees, or discovers that this is perhaps different across different mvn versions, please comment here :)


Cannot access lua package while targeting cpp

I get this error when building the "test" project. Aren't you supposed to target cpp?

Hey, thanks! fixed :) You neet to clone and set lib folder:  haxelib dev linc_luajit C:/github/linc_luajit Target is cpp only for now. #75a41cd0d6ac52070d3e099269f186783cb996e6

I think you will need to change the name of the lua.* namespace. It conflicts with the lua haxe target I believe.

@gmisail64 hm, thanks, great idea.


[TC-115] ATS sometimes does not reload the config while receiving a "traffic_line -x"

If the owner of a config file (e.g. ssl_multicert.config) is not ats.ats, ATS does not reload the config while receiving a "traffic_line -x".
Author: John Shen
JIRA Link: https://issues.apache.org/jira/browse/TC-115
Found Version: 2.1.0

This isn't a bug, it's a safety feature of Linux. If your files are created with the wrong owner, then ORT is probably being run as the wrong user. If there's a bug in ORT where it's writing files with a bad permission set for some reason, please open a new issue. Currently, ORT seems to be handling this correctly (see discussion on #211)


ssh failed on almaLinux 9 with openssl 3.0.1 (error in libcrypto)

I installed almaLinux 9.0 recently,
and when I try to ssh my company's server, it failed:
$ ssh -p 32200 -vvv<EMAIL_ADDRESS>
OpenSSH_8.7p1, OpenSSL 3.0.1 14 Dec 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host <IP_ADDRESS> originally <IP_ADDRESS>
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: not matched 'final'
debug2: match not found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1 (parse only)
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname <IP_ADDRESS> is address
debug1: re-parsing configuration
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 55: Including file /etc/ssh/ssh_config.d/50-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host <IP_ADDRESS> originally <IP_ADDRESS>
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 3: matched 'final'
debug2: match found
debug3: /etc/ssh/ssh_config.d/50-redhat.conf line 5: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512-]
debug3: kex names ok: [curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512]
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/gxl/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/gxl/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to <IP_ADDRESS> [<IP_ADDRESS>] port 32200.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: Connection established.
debug1: identity file /home/gxl/.ssh/id_rsa type -1
debug1: identity file /home/gxl/.ssh/id_rsa-cert type -1
debug1: identity file /home/gxl/.ssh/id_dsa type -1
debug1: identity file /home/gxl/.ssh/id_dsa-cert type -1
debug1: identity file /home/gxl/.ssh/id_ecdsa type -1
debug1: identity file /home/gxl/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/gxl/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/gxl/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/gxl/.ssh/id_ed25519 type -1
debug1: identity file /home/gxl/.ssh/id_ed25519-cert type -1
debug1: identity file /home/gxl/.ssh/id_ed25519_sk type -1
debug1: identity file /home/gxl/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/gxl/.ssh/id_xmss type -1
debug1: identity file /home/gxl/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.7
debug1: Remote protocol version 2.0, remote software version SSHD_0.7.6
debug1: compat_banner: no match: SSHD_0.7.6
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to <IP_ADDRESS>:32200 as 'jasonguo'
debug3: put_host_port: [<IP_ADDRESS>]:32200
debug3: record_hostkey: found key type RSA in file /home/gxl/.ssh/known_hosts:1
debug3: load_hostkeys_file: loaded 1 keys from [<IP_ADDRESS>]:32200
debug1: load_hostkeys: fopen /home/gxl/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug3: order_hostkeyalgs: prefer hostkeyalgs: rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,ext-info-c
debug2: host key algorithms: rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519<EMAIL_ADDRESS>debug2: ciphers ctos: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr
debug2: ciphers stoc: aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr
debug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512
debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: ecdh-sha2-nistp256,diffie-hellman-group14-sha1
debug2: host key algorithms: ssh-dss,ssh-rsa
debug2: ciphers ctos: aes256-ctr,aes192-ctr,aes128-ctr
debug2: ciphers stoc: aes256-ctr,aes192-ctr,aes128-ctr
debug2: MACs ctos: hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos<EMAIL_ADDRESS>debug2: compression stoc<EMAIL_ADDRESS>debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: ecdh-sha2-nistp256
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes256-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: client->server cipher: aes256-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: ecdh-sha2-nistp256 need=32 dh_need=32
debug1: kex: ecdh-sha2-nistp256 need=32 dh_need=32
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-rsa SHA256:6d1FhDGSnk4bXhMpQfD+KYkn6oGjQaLwdzPjQ7fJFss
debug3: put_host_port: [<IP_ADDRESS>]:32200
debug3: put_host_port: [<IP_ADDRESS>]:32200
debug3: record_hostkey: found key type RSA in file /home/gxl/.ssh/known_hosts:1
debug3: load_hostkeys_file: loaded 1 keys from [<IP_ADDRESS>]:32200
debug1: load_hostkeys: fopen /home/gxl/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: Host '[<IP_ADDRESS>]:32200' is known and matches the RSA host key.
debug1: Found key in /home/gxl/.ssh/known_hosts:1
**ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 32200: error in libcrypto**

I don't know why, and it's okay when I use centos 7 or almaLinux 8

The error in libcrypto can have many reasons. Unfortunately there is no other hint as for what went wrong here so we are unable to help you.

AFAIR, Alma Linux uses Red Hat code base? If so, the error is probably related to disablement of SHA-1 in signatures by default

From https://wiki.almalinux.org/release-notes/9.0.html#changelog
The use of SHA-1 for signatures is restricted in the default crypto policy. Please be aware that this may cause issues using SSH to access older systems, such as RHEL/CentOS 6. To allow SHA-1 you can run:
update-crypto-policies --set DEFAULT:SHA1
Please see this Red Hat Knowledge Article
(opens new window) (subscription required) for more information.
The RedHat article contains:
Issue
Trying to open a SSH session from Red Hat Enterprise Linux 9 (RHEL 9) client to Red Hat Enterprise Linux 6 (RHEL 6) OpenSSH server fails with the following error message:
Raw
ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 22: error in libcrypto
Resolution
Red Hat strongly recommends to upgrade all RHEL 6 systems to a more recent version of Red Hat Enterprise Linux also to benefit from the support for SHA2 with RSA keys. In case an upgrade is not feasible, even though standard support is no longer available, there are two options how SSH sessions can still be established from RHEL 9 systems:
On the RHEL 6 system, use the ECDSA algorithm instead of RSA to create the host key. How to do this is described [here](https://access.redhat.com/solutions/711953). This is the preferred solution when an upgrade to a more recent RHEL version is not possible.

On the RHEL 9 system, activate the SHA1 crypto-policy on top of the DEFAULT policy:

Raw
update-crypto-policies --set DEFAULT:SHA1
Alternatively, you can switch the system-wide crypto policies to the LEGACY policy. The LEGACY crypto-policy also re-enables the SHA1 algorithm among other, no longer recommended, algorithms. This option is not recommended by Red Hat and should only be used as a workaround in cases where the RHEL 6 configuration can't be changed.
Root Cause
The RHEL 6 OpenSSH implementation uses the ssh-rsa public key signature algorithm which depends on SHA-1. OpenSSH upstream has disabled RSA signatures using the SHA-1 hash algorithm by default since OpenSSH release 8.8. In RHEL 9, SHA-1 usage is restricted in the DEFAULT system-wide cryptographic policy. With the exception of HMAC usage, SHA-1 is no longer allowed in TLS, DTLS, SSH, IKEv2 and Kerberos protocols. Individual applications not controlled by crypto policies are also moving away from using SHA-1 digests in RHEL 9.
Diagnostic Steps
Raw
ssh -v rhel6.server.test
debug1: kex: host key algorithm: ssh-rsa
...
ssh_dispatch_run_fatal: Connection to <IP_ADDRESS> port 22: error in libcrypto

i am getting the same error

I'm trying to setup a SSH hostbased authentication cluster with RHEL 9.0. Passwordless login between nodes always failed:
debug3: authmethod_lookup hostbased
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled hostbased
debug1: Next authentication method: hostbased
debug3: userauth_hostbased: trying key type ssh-ed25519
debug1: userauth_hostbased: trying hostkey ssh-ed25519 SHA256:xxxxxxx
debug2: userauth_hostbased: chost node01.
debug3: ssh_msg_send: type 2
debug3: ssh_msg_recv entering
debug3: ssh_keysign: [child] pid=3040, exec /usr/libexec/openssh/ssh-keysign
debug3: send packet: type 50
debug2: we sent a hostbased packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password,hostbased
debug3: userauth_hostbased: trying key type ssh-ed25519
debug3: userauth_hostbased: trying key type ecdsa-sha2-nistp256
debug1: userauth_hostbased: trying hostkey ecdsa-sha2-nistp256 SHA256:xxxxxxx
debug2: userauth_hostbased: chost node01.
debug3: ssh_msg_send: type 2
debug3: ssh_msg_recv entering
debug3: ssh_keysign: [child] pid=3041, exec /usr/libexec/openssh/ssh-keysign
debug3: send packet: type 50
debug2: we sent a hostbased packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password,hostbased
debug3: userauth_hostbased: trying key type ssh-rsa
debug1: userauth_hostbased: trying hostkey ssh-rsa SHA256:xxxxxxx
debug2: userauth_hostbased: chost node01.
debug3: ssh_msg_send: type 2
debug3: ssh_msg_recv entering
debug3: ssh_keysign: [child] pid=3042, exec /usr/libexec/openssh/ssh-keysign
ssh-keysign: sshkey_sign failed: error in libcrypto
ssh_keysign: no reply
sign using hostkey ssh-rsa SHA256:xxxxxxx failed
debug2: we did not send a packet, disable method
debug3: authmethod_lookup publickey

After running update-crypto-policies --set DEFAULT:SHA1, Passwordless login between nodes working too:
debug3: authmethod_lookup hostbased
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled hostbased
debug1: Next authentication method: hostbased
debug3: userauth_hostbased: trying key type ssh-ed25519
debug1: userauth_hostbased: trying hostkey ssh-ed25519 SHA256:xxxxxxx
debug2: userauth_hostbased: chost node01.
debug3: ssh_msg_send: type 2
debug3: ssh_msg_recv entering
debug3: ssh_keysign: [child] pid=1628, exec /usr/libexec/openssh/ssh-keysign
debug3: send packet: type 50
debug2: we sent a hostbased packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password,hostbased
debug3: userauth_hostbased: trying key type ssh-ed25519
debug3: userauth_hostbased: trying key type ecdsa-sha2-nistp256
debug1: userauth_hostbased: trying hostkey ecdsa-sha2-nistp256 SHA256:xxxxxxx
debug2: userauth_hostbased: chost node01.
debug3: ssh_msg_send: type 2
debug3: ssh_msg_recv entering
debug3: ssh_keysign: [child] pid=1629, exec /usr/libexec/openssh/ssh-keysign
debug3: send packet: type 50
debug2: we sent a hostbased packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password,hostbased
debug3: userauth_hostbased: trying key type ssh-rsa
debug1: userauth_hostbased: trying hostkey ssh-rsa SHA256:xxxxxxx
debug2: userauth_hostbased: chost node01.
debug3: ssh_msg_send: type 2
debug3: ssh_msg_recv entering
debug3: ssh_keysign: [child] pid=1630, exec /usr/libexec/openssh/ssh-keysign
debug3: send packet: type 50
debug2: we sent a hostbased packet, wait for reply
debug3: receive packet: type 52
Authenticated to node02 ([<IP_ADDRESS>]:22) using "hostbased".
debug1: pkcs11_del_provider: called, provider_id = (null)
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting<EMAIL_ADDRESS>debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: receive packet: type 80
debug1: client_input_global_request: rtype<EMAIL_ADDRESS>want_reply 0
debug3: receive packet: type 4
debug1: Remote: Accepted for node01 [<IP_ADDRESS>] by /etc/ssh/shosts.equiv.
debug3: receive packet: type 4
debug1: Remote: Accepted for node01 [<IP_ADDRESS>] by /etc/ssh/shosts.equiv.
debug3: receive packet: type 4
debug1: Remote: Accepted for node01 [<IP_ADDRESS>] by /etc/ssh/shosts.equiv.
debug3: receive packet: type 91
debug2: channel_input_open_confirmation: channel 0: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug3: send packet: type 98
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: channel_input_open_confirmation: channel 0: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0

Another problem with SHA1 crypto-policy: https://github.com/jbeverly/pam_ssh_agent_auth/issues/39

It's a Red Hat-specific issue, not an OpenSSL one. Trust me :)

Closing as this was already answered long time ago.

https://access.redhat.com/solutions/6816771:
solutions is:
update-crypto-policies --set DEFAULT:SHA1

Hello,
Hope this helps
I solved mine using this awx-ee version
quay.io/ansible/awx-ee:21.11.0
Thank you

SSH from RHEL 9 to RHEL 5 or RHEL 6
Due to the older version of SSH uses ssh-rsa. However, the newer version of SSH has removed support for ssh-rsa due to its security vulnerabilities.
To address this issue, we need to configure the latest version of SSH on the OS to re-enable support for ssh-rsa. You can do this with the following steps:
cd ~/.ssh
cat >>config
Host *
    PubkeyAcceptedAlgorithms +ssh-rsa
    HostkeyAlgorithms +ssh-rsa
----------------------------------------------
cd ~/.ssh
cat >>openssl.cnf
.include /etc/ssl/openssl.cnf
[openssl_init]
alg_section = evp_properties
[evp_properties]
rh-allow-sha1-signatures = yes
----------------------------------------------
Add env variable to .bashrc
cd ~
cat >> .bashrc
export OPENSSL_CONF=~/.ssh/openssl.cnf

Ref:
https://stackoverflow.com/questions/69875520/git-error-no-matching-host-key-type-found-their-offer-ssh-rsa
https://serverfault.com/questions/1125843/error-in-libcrypto-connecting-rhel-9-server-to-centos-6-via-sftp-ssh


Degub chart values for auv menu in tree missing

It is working. The values just did not change ;).


Waypoint: Label Bootstrap Buttons

See code below, believe it is all true, not passing the tests for "Waypoint: Label Bootstrap Buttons"

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target1">#target4</button>
        <button class="btn btn-default target" id="target2">#target5</button>
        <button class="btn btn-default target" id="target3">#target6</button>

Hey @8lcarte thanks for posting this.
Please take a look at our Bug Report Guidelines, that will explain the process you should go through before posting an issue here.  You will get much faster help with code issues in Gitter.
I think this can be closed for now, but feel free to add to this thread after following the steps above.

Dear camper, your issue is related to:
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2417
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2399
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2398
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2393
Please see Help I've Found a Bug.

The bug is fixed.


Update: Revora.CNCOnline version 2.0.7

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

[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

Download found on https://cnc-online.net/en/download/

@wingetbot waivers Add Validation-Domain


fix(charts): switch role and roleBinding to cluster scoped permissions

The node-state server is not able to query clusterResource with adtual set of permissions
Based on this issue : #1
Changing them from Role and RoleBinding to ClusterRole and ClusterRoleBinding

One comment but LGTM. Thanks @valentinpelus !

Thanks for your review, i commited your suggestion :)


Create Emojicode.emojic

Adds a hello world Example for Emojicode
It wasn't on the list of #1, but it's a fun addition.

I'll take it :P


Add try/catch block to prevent chrome from crashing - fixes #57

Chrome crashes as described in #57 (similar to #9) when you check the following checkbox and load ngStorage in a cross domain iFrame:

It prevents the whole AngularJS application from bootstrapping:.

Error: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
    at Error (native)
    at Object. (https://rawgit.com/gsklee/ngStorage/master/ngStorage.js:42:41)
    at Object.d [as invoke] (https://code.angularjs.org/1.1.5/angular.min.js:28:304)
    at https://code.angularjs.org/1.1.5/angular.min.js:30:39
    at c (https://code.angularjs.org/1.1.5/angular.min.js:27:142)
    at d (https://code.angularjs.org/1.1.5/angular.min.js:27:276)
    at Object.instantiate (https://code.angularjs.org/1.1.5/angular.min.js:28:434)
    at https://code.angularjs.org/1.1.5/angular.min.js:53:326
    at https://code.angularjs.org/1.1.5/angular.min.js:44:274
    at n (https://code.angularjs.org/1.1.5/angular.min.js:7:74)

Fixed in a later version. Merge not needed.


The project had a lot of warnings

https://github.com/nylo-core/nylo
The project had a lot of warnings
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

Hi @gionlime
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you


Respect replacement range in completions

Initial implementation: https://github.com/kiteco/vim-plugin/pull/239.
Reverted in https://github.com/kiteco/vim-plugin/pull/241.
See https://github.com/kiteco/kiteco/issues/9748.

Done in #244.


Fixes #415 - Close stdin when tearing down subprocesses in system-tests to prevent fd leaks

Codecov Report

Merging #505 (1d4bbb9) into main (618e4b3) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #505      +/-   ##
==========================================
- Coverage   25.17%   25.17%   -0.01%
==========================================
  Files         115      115
  Lines       28772    28772
  Branches     4669     4669
==========================================
- Hits         7243     7242       -1
  Misses      20562    20562
- Partials      967      968       +1

Flag
Coverage Δ

unittests
25.17% <ø> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/router_core/address_watch.c
78.48% <0.00%> (-1.27%)
:arrow_down:

Continue to review full report at Codecov.

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


Add back jemalloc support

jemalloc is useful due to its introspection API, which allows obtaining quick and accurate memory usage statistics without running into mallinfo's limitations.

bors r+

bors r+


Support a heap memory region

The obvious place to place this region is right after the .data + .bss region. Should we go ahead with that or should we support placing it at a custom address?

That sounds good as a first approximation, and doesn't have any critical issues I can think of.

FWIW, you can already create a heap with the current version of this crate. The _edata symbol already points to the end of .data so you can use it as the start of the heap.
Here are some instructions on how to use the alloc-cortex-m crate to allocate a Vec. The instructions assume a cortex-m-quickstart setup.
I think the next steps for this issue would be

create a proper _heap_start symbol that is just an alias of _edata
write documentation about the _heap_start symbol here
add an example to cortex-m-quickstart that shows how to initialize and use an allocator

Yeah, I've seen alloc-cortex-m. I actually have no need in these instructions (at least right now) because all of my code (especially my TCP/IP stack) are designed to be heap-less :)

I have seen some linker scripts declare a .heap section in the linker script. Has Anyone any need for that? I can't think of any use for such section myself.

It is quite useless.


HOSTEDCP-1801: [CPO Refactor] Introduced an abstraction for CP Components

What this PR does / why we need it:

introduces an abstraction that all control plane components should implement, allowing us to enforce opinionated defaults and settings for all components in one place
streamline the development process by reducing the boilerplate code that needs to be copy/pasted when introducing new components.
All Components should be defined in yaml manifests and add any dynamic reconciliation logic if necessary using the abstraction, significantly reducing LOC of components logic and hostedcontrolplane_controller.go
This is currently hidden behind a new annotation on the HostedCluster hypershift.openshift.io/cpo-v2 which sets the environment variable  CPO_V2 on the CPO deployment.
A new e2e TestCreateClusterV2 is added to enable and test the new approach.

2 components refactored in this PR as an example:

cluster-autoscaler
openshift-router-controller-manger

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[x] This change includes unit tests.

/retest-required

some minor nits, lgtm

can you add to the PR desc that this is shipped behind a flag and tested by the additional createCluster

we'll also need to think on how to implement deletions of resources that are not needed anymore

/lgtm

/retest-required

/retest-required

/retest-required


RabbitMQ: tracing headers not propagated to reply of @RabbitListener

In my app I'm using spring-cloud-starter-sleuth:2.2.5 with spring-boot-starter-amqp:2.2.7. I have a @RabbitListener annotated method which accepts a message, processes it, and returns a response:
@Service
@RequiredArgsConstructor
@Slf4j
@Transactional
public class MyListener {

    private final MyService service;

    @RabbitListener(queues = "${amqp.queue.name}")
    public MyEvent handleCommand(@Payload @Valid MyCommand command) {
        log.info("Received command {}", command);
        return service.handleCommand(command);
    }
}

If the incoming message has the b3 header, the tracing information is present throughout the processing of the message. However, when the response message from that processing is being returned to RabbitMQ, it does not contain the b3 header, which breaks the tracing.
I've investigated this issue a bit, and it seems to me that the only instrumentation for the listener (or rather SimpleRabbitListenerContainerFactory) is being done through the SleuthRabbitBeanPostProcessor and TracingRabbitListenerAdvice, however I couldn't find any code there that would take care of injecting the header into the response message. Is my assumption correct and this is a missing feature, or did I miss something?

I wonder if that's not a problem in Brave. Can you file an issue there please?

Issue created

Closing the issue. If it turns out the problem is in Sleuth, we'll reopen it.

Issue fixed in Brave v5.12.7


Bad section index (corrupt ELF files)

While profiling my system's Python3 (Python 3.10.7, build_id=747c3dc381977d830eb6a14c7535efbb81fe117e, from Fedora 36) I noticed that symbols weren't being symbolized. After some reading through the logs, it seemed that the debug information wasn't present, so the symtab symbolization backend was used, but it is failing with:
$ bin/parca --log-level=debug |& grep "failed to read symbol"

level=error name=parca ts=2022-10-20T10:05:55.498160762Z caller=symbol.go:272 component=symbolizer file=/tmp/747c3dc381977d830eb6a14c7535efbb81fe117e/debuginfo buildid=747c3dc381977d830eb6a14c7535efbb81fe117e msg="failed to create symtab liner" err="failed to fetch symbols from object file: failed to read symbol sections: no symbol section"

The original binary seemed to have the symbol table:
[javierhonduco@fedora parca]$ readelf -a /lib64/libpython3.10.so.1.0  | grep PyRun_AnyFileExFlags
  1473:<PHONE_NUMBER>0fe3bc   109 FUNC    GLOBAL DEFAULT   14 PyRun_AnyFileExFlags

Checking the one extracted with elfwriter:
[javierhonduco@fedora parca]$ readelf -a  /tmp/747c3dc381977d830eb6a14c7535efbb81fe117e/debuginfo | grep PyRun_AnyFileExFlags
  1473:<PHONE_NUMBER>0fe3bc   109 FUNC    GLOBAL DEFAULT bad section index[ 14] PyRun_AnyFileExFlags

The table symbol seems to be present but there are some issues with the section index that perhaps are what are causing Go's elf reading library to error on?
cc/ @kakkoyun

Just to give a little update on this issue, this happens with a libpython executable on Ubuntu as well. The bug seems to be in how shstrndx is being handled for the .dynsym. I haven't found the exact bug yet but getting closer to it :)

@v-thakkar Let me know if I can help with anything. I can help with bouncing ideas as well.

When I try to read the output produced by our aggregating_elfwriter for the libpython3.10.so.1.0, readelf shows me the following warning.
vaishali@pop-os:~/parca-agent/pkg/elfwriter$ readelf -a test-output-aggr > test-output-aggr.txt
readelf: Warning: [ 3]: Link field (0) should index a string section.

So looks like this is related to what we saw earlier in #582.

@v-thakkar, I just saw this comment. This confirms my suspicions about the links, as we discussed in our sync.

Just updating the information on the issue as well. From the added tests on elfwriter, we can see that the .debuginfo files are extracted correctly. We are still seeing the .debuginfo files on the parca side with bad indexes but the symbols are correct. As the symbolization is currently broken (as mentioned in the above-linked issue) for the object files with .dynsym sections, it's hard to determine if the bad index issue actually affects the symbolization.
I'm still curious about why that would happen so keeping this issue open. But moving it to a low priority for now.


Possible Error with Language

Describe the bug
You have the language functions shared.. why? It is just creating script errors serverside. As far as I can tell, you only need to check the language on the client. It is doing it on the server realm which is causing a script error
Situation for the error to occur
When the server is starting up
Additional context
lua/background_npcs_core/config/replics/sh_init

Describe the bug You have the language functions shared.. why? It is just creating script errors serverside. As far as I can tell, you only need to check the language on the client. It is doing it on the server realm which is causing a script error
Situation for the error to occur When the server is starting up
Additional context lua/background_npcs_core/config/replics/sh_init

Paste error text.

[background-citizens-1.7.3] addons/background-citizens-1.7.3/lua/background_npcs_core/config/replics/sh_init.lua:8: attempt to index a nil value
  1. GetGameLanguage - addons/background-citizens-1.7.3/lua/background_npcs_core/config/replics/sh_init.lua:8
   2. func - addons/background-citizens-1.7.3/lua/background_npcs_core/config/replics/sh_init.lua:30
    3. Run - lua/includes/modules/hook.lua:241
     4. func - addons/background-citizens-1.7.3/lua/slib_autoloader/sh_background_npcs.lua:199
      5. unknown - lua/includes/modules/hook.lua:241

Most likely fixed. If the issue persists, open the issue again.


Implementing TryInto for user type results in compile-time error

I implemented TryInto for a user type. However, even though I would expect this to allow me to just drop that type into a header field, I still get:
The trait `std::convert::From<UserType>` is not implemented for `http::header::value::HeaderValue`

Whether I make this TryInto for HeaderValue as exported by reqwest or the http package makes no difference.
Because of this, there doesn't seem to be any way to ergonomically pass a user type to reqwest. Since you can't implement TryFrom for the type in the reqwest crate without forking it.
This looks like it may ultimately be a language oversight, as TryFrom is only implemented for items that have an Into trait and not a TryInto trait.
Thanks.

Are you able to show what code is failing? Here's a playground showing some code that does work.


chore: move to helm 2.7.2

Updated helm to 2.7.2 and Kubernetes to 1.8
Quite a lot of updates in the .lock file as it seems that the latest Helm update didn't actually update the glide.lock file.
https://github.com/Eneco/landscaper/commit/c7ca2e5399a271d983fe1f0659ce06610b64f4da

Looks like the CI build is failing but I'm not sure to understand why. The tests are working for me locally. Anyone has an idea of what's wrong ?

Hi, thanks for the work. I didn't get the CI output either, and re-run the thing, it is failing now at a different place: https://travis-ci.org/Eneco/landscaper/builds/316027927
go test -cover ./cmd/... ./pkg/...

# github.com/eneco/landscaper/vendor/k8s.io/apimachinery/pkg/util/strategicpatch

vendor/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go:520: undefined: sort.SliceStable

# github.com/eneco/landscaper/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy

vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go:166: tlsConfig.Clone undefined (type *tls.Config has no field or method Clone, but does have tls.clone)

# github.com/eneco/landscaper/vendor/k8s.io/kubernetes/pkg/kubectl/plugins

vendor/k8s.io/kubernetes/pkg/kubectl/plugins/env.go:78: undefined: os.Executable

make: *** [test] Error 2```

Ok, I noticed that this is using go 1.7.6 and I am using go 1.9.2 so I tried with the 1.7.6 Go docker image and it failed with the same error.
From the  Kubernetes Development page it seems that Kubernetes 1.8 requires at least Go 1.8.3 so it should probably be upgraded in the CI.

Yeah, can you add an updated .travis.yml to your PR?

I updated it and the build passed !

Sweet!

Thank you for the merge. You will create a release from this ?

Thanks for the reminder, did so, build is in progress


Can't dynamically adjust map zoom level to display all markers

Is there no way to do this. Do I need to write custom code to determine the zoom level based upon the distance between my map markers?

read docs, use search.

@zander312 I was running into this same issue but couldn't find it in the docs or any direct answer in the issues so I just used the internal google api:
...

_onMapLoaded({map, maps}) {
	const bounds = new google.maps.LatLngBounds();

	this.props.sites
		.filter(site => site.latitude !== undefined && site.longitude !== undefined)
		.forEach(site => {
			bounds.extend(new google.maps.LatLng(site.latitude, site.longitude));
		});

	map.fitBounds(bounds);
}

render() {
	return (
		<GoogleMapReact
			...
			onGoogleApiLoaded={this._onMapLoaded}
		  >
			{points}
		  </GoogleMapReact>
	);
}

...

@istarkov maybe it could be more apparent somewhere how the component is fit to handle this? I saw the fitBounds utility function but it seems like you need to know the ne/sw and the size of the map itself in order to make use of it which doesn't work in my dynamic points / map size implementation.

What the problem to calculate nw se of multiple points? It's the same as finding min max of array, are you developers or what?


New API call: get original account info for a remote account's pub key

For certain features it would be very helpful to have an API call to request original account info for any remote account's pub key.

What features do you have in mind?

It's helpful for our node reward concept e.g.

Will be available in next release.


Try 'django-mptt' for hierarchical tickets - very impressive

For ticket: https://www.pkimber.net/crm/ticket/717/ and perhaps for lists of tasks for users.

@mdinsmore Would you mind reviewing this please? The aim is to use the new contact app rather than the old crm.Contact model.


WIP: Move forms to accounts app

@danielmconrad this is just a start, I probably won't be able to finish it. You can take what I started and finish it whenever you have time.


Treap

Treap (another balanced binary search tree: https://en.wikipedia.org/wiki/Treap) and its test.
The implementation of node nil looks a little tricky but I think it's correct :)

There's no test to actually check if the tree is balanced, could you please add that?
Thank you for the collaboration!

Treap is a kind of random binary tree and has an uncertain height, so I omitted to check the balance.
I'll add more tests soon :)
Thank you for the careful review!

Cool! It would be nice to test the rotation algorithm as well.
Do we really need the "nodeRef" wrapping object everywhere? If you just pass the node directly do you think you're gonna have problems?

Okay I'll test the rotation too.
The nodeRef wrapping object makes it possible to pass the reference of objects into functions, like C/C++ via http://stackoverflow.com/questions/13104494/does-javascript-pass-by-reference.
But it's some kind of tricky method indeed, and I think I need update the algorithm to make it more readable. Thank you!
:icecream:

@felipernb ready for review! :beer:

:+1: Thanks!


Checkbox for whether to scan all dp's

Would it be possible to add a config item for whether or not to scan sccm, and add in all DP's and distribution groups.  we have over 420 dp's, and several content distribution groups and it takes the driver deployment toolkit around 15 minutes after launch before the tool becomes useful,  in the log shows, adding distribution point - dp1, adding distribution point - dp2, etc.

I'm changing the logic for DP and DPG queries, hopefully in the 6.4.9 release tomorrow.


Android Java: 02.36 Rating Bar in Android

Description
The description on how to use Rating Bar view in android, java.
Domain
Android Dev (Java)
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

Thanks buddy🤩


Will the Gradio demo look something like this?

Source: https://huggingface.co/spaces/weizmannscience/multidiffusion-region-based

Thanks for the inspiring gradio ui, this would be considered in the future update :)

This has been implemented in the latest update


Toggle reading time info OFF

zzo is a great theme and I am in the process of switching over to zzo from the academic theme. Thank you for your creation!
Is there a method to globally toggle the reading time that is displayed under each item?

Looking at the implementation there is none. However, if you need it, you can surround it with the with section and check the presence of some new site variable (defaulting to showing the value if not explicitly disabled).

No, we don't have that option.
You may need to override the summary file in layouts/partials/summary/(classic or card or compact).html


drivers: entropy: Fix MCUX CAAM

Fix the MCUX CAAM bug affecting RT11XX platforms when using the entropy subsystem
Fixes #50446
Fixes #49440
Fixes #49846

@carlocaione I would like your opinion on the direction of some of the additions in this PR because it relates to an area which you were active in.
In order to enable this driver for the CAAM, I had to make use of nocache memory. The RT11XX has a cortex M4 target that has a kinetis cache. The ARM initialization code in zephyr seems to assume that if there is a cache, the target is an M7, because it calls SCB APIs to clean and invalidate the DCACHE. Because these functions are undefined for the M4 target, I had to specify that this cache is not an ARM cache. I used the HAS_EXTERNAL_CACHE kconfig to do this because it seemed appropriate, but since that option depends on the CACHE_MANAGEMENT symbol, I had to write an empty implementation for a Kinetis cache even though it isnt't really used, just in order to satisfy the kernel common test that twister reported would fail if those APIs were not defined. What are your thoughts on this?

The ARM initialization code in zephyr seems to assume that if there is a cache, the target is an M7, because it calls SCB APIs to clean and invalidate the DCACHE.

This is the base problem. The ARM initialization code must be fixed to not use SCB API calls for cache if CONFIG_DCACHE is not defined. See for example: https://github.com/zephyrproject-rtos/zephyr/blob/1d879b93c59e8f1f48d86db5794600769c86facb/arch/arm/core/aarch32/cortex_m/scb.c#L111-L122
So in your case your SOC must not define CONFIG_CPU_HAS_DCACHE / CONFIG_DCACHE and all the call to the SCB should be skipped.

Yes but I need to have ARCH_HAS_NOCACHE_MEMORY enabled in order to use the NOCACHE_MEMORY Kconfig, since this driver requires use of nocache memory, even though it is used on an M4, because NXP has a custom architecture that doesn't quite exactly follow ARM spec. ARCH_HAS_NOCACHE_MEMORY depends on the DCACHE kconfig.

I am going to work on a separate PR for this M4 cache problem, I am declaring this PR inactive for now from my side

This PR now will depend on #50871

I found a better way to do this, so this PR now will depend on #50871

I commented there.

update: the caching problem on m4 is too much of a bottleneck, disabled in devicetree, for now m7 can at least be supported


Allow dynamic CooldownConfig

Introduce CooldownConfigProvider to allow dynamic CooldownConfig.
Shouldn't be particularly breaking beyond #175 since CooldownConfig implements CooldownConfigProvider

Skimming over the PR, I'm a bit weary of the amount of complexity added for a pretty small feature
Have you considered implementing these dynamic cooldowns in your bot with custom code running inside your bot command function, rather than framework level support?
If that's not possible for some reason, I'll look into why exactly the Fun(...) -> BoxFuture approach isn't working, and maybe even use a different approach entirely (just wrapping CooldownConfig in Mutex; dynamic cooldowns would then be a matter of a pre command hook)

IMO it's not that much complexity since a lot of it is just boilerplate stuff, but I agree it is a somewhat controversial change. I am definitely open to other ideas.
I certainly could implement such a feature within my own bot code, but I figured I'd either do something like manage multiple Cooldowns for the various configs (not ideal since the timers can be re-used) or mostly re-implementing the Cooldowns type within my own project so I might as well make this PR to perhaps contribute upstream.
It may just be a limitation of my Rust knowledge, but it seems like using Fn instead requires Cooldowns to take on a lifetime parameter 'a which would then 'a to be propagated up to Command. I did not fully investigate the feasibility of adding a lifetime parameter to Command, but that will only add to the complexity which is why I shied away from that route at first.

I'm currently on vacation, I'll get back to this in a few weeks

Refactored to use a Fn instead of a custom trait for the provider. For reasons beyond my current understanding it requires Rust 1.67+ even though there's nothing in the 1.67.0 changelog that seems like it would be related. Bumping the MSRV to 1.67 is probably not something we really want to do so this push is more to share the code in case anyone has ideas on how to fix it so it works with 1.60. If we can't resolve it, then I'll just close this PR and end up with something pretty custom in my own bot.

kangalio: maybe even use a different approach entirely (just wrapping CooldownConfig in Mutex; dynamic cooldowns would then be a matter of a pre command hook)

I've tried this locally by adding literally just a method set_config(&mut self, CooldownConfig) to Cooldowns and it compiles. You would use it via Command.cooldowns.lock().set_config(...), where the Command instance can be accessed in a pre-command hook or whereever. What do you think of this?

That certainly seems like it could work. I suppose it's really not much different of an interface too since it would more-or-less just be swapping the cooldown_provider attribute for an extra check hook. Seems like a much less intrusive change too. It's not quite as clean a user experience as I was hoping, but it probably worth it for the significantly reduced complexity.

Can you explain how you'll use dynamic cooldowns in your bot? I'm struggling to see cooldowns dynamically changing per invocation as anything more than a "why though - because we can" gimmick right now and it would help me to have a fuller picture of this feature.
Possibly the random_cooldowns example can be adapted to a more realistic example, to explain the usefulness of dynamic cooldowns to other users too

My bot, FaultyBot, allows users with sufficient permission to manage guild/channel/member settings. One of the settings will be the cooldowns for various actions.
I agree a more realistic example would be better. Unfortunately I also can't really come up with a use-case other than my dynamic settings thing. And there's lot of extra infra we would need to have a meaningful example for settings

My bot, FaultyBot, allows users with sufficient permission to manage guild/channel/member settings. One of the settings will be the cooldowns for various actions.

Ohh I didn't think of that. Now this feature doesn't look arbitrary to me anymore

Btw I'd have appreciated if you didn't always force-push ;) (I'm struggling to check how you originally implemented the PR, for inspiration purposes)

Ohh I didn't think of that. Now this feature doesn't look arbitrary to me anymore

Yeah I thought it would be a nice feature to have. I'm trying to make this bot actually meaningful usable at scale (servers with 10K+ users). Related, I'm having to come up with my own permission system too since I need custom permissions (like the permission to change settings in a guild). If you feel like that's something that has any place at all in poise and I come up with an implementation that isn't just horrendously hacky, I'd be down to submit a PR for that as well.

Btw I'd have appreciated if you didn't always force-push ;) (I'm struggling to check how you originally implemented the PR, for inspiration purposes)

Ah sorry about that lol. It's a habit I've picked up from my job cuz we like to keep the history as clean as possible. We have a custom review tool that lets us look at previous revisions though. What would you prefer in a case like this were the original implementation probably shouldn't end up in history? Just commit over it and we'll squash when we merge the PR or something? I'm relatively new to this whole OSS contributions thing lol
I actually saved a local branch with the old impl. Just pushed it in case you haven't managed to find it already https://github.com/scottbot95/poise/tree/cd-config-provider-old

I implemented a slightly different design and pushed it to the current branch, along with an example in the examples/ directory c9c037397afe5fabd56a3adff2ac3a59e52b68b4. Feel free to tell me if that works for your use case

Yeah that would certainly work. Sadly, my bot's use-case requires the new CooldownContext from the next branch since it will be using the CooldownTracker from an event_handler so it doesn't have a full poise::Context. I will just close this PR.
I see in current there are comments about migrating to the "v2" APIs which require the CooldownConfig to be passed in. What is the plan for that for Commands? Just make the Command itself store the CooldownConfig?

What is the plan for that for Commands? Just make the Command itself store the CooldownConfig?

Yeah, probably. I should have migrated the project internals to the new APIs already tbh


Locations

Locations are essentially just weather data overrides.

Ability to create new locations in Creator
Ability to switch locations in Calendar view
Calendar code-block should allow a location parameter w/ corresponding EditorSuggest

closed by #180


build failure: zathura

Steps To Reproduce
Steps to reproduce the behavior:

on aarch64-darwin: nix run github:nixos/nixpkgs/master#zathura

Build log
$ nix run github:nixos/nixpkgs/master#zathura
note: keeping build directory '/private/tmp/nix-build-girara-0.4.1.drv-1'
error: builder for '/nix/store/zic344f7zd96k8vnlxil42khzkcp7zw5-girara-0.4.1.drv' failed with exit code 1;
       last 10 log lines:
       > Program msginit found: YES (/nix/store/jkp27cvkfzy264pgmwgry17rkyi50m3r-gettext-0.21.1/bin/msginit)
       > Program msgmerge found: YES (/nix/store/jkp27cvkfzy264pgmwgry17rkyi50m3r-gettext-0.21.1/bin/msgmerge)
       > Program xgettext found: YES (/nix/store/jkp27cvkfzy264pgmwgry17rkyi50m3r-gettext-0.21.1/bin/xgettext)
       > Program doxygen skipped: feature docs disabled
       > Run-time dependency check found: YES 0.15.2
       > Program xvfb-run found: NO
       >
       > tests/meson.build:48:9: ERROR: Program 'xvfb-run' not found or not executable
       >
       > A full log can be found at /private/tmp/nix-build-girara-0.4.1.drv-1/source/build/meson-logs/meson-log.txt
       For full logs, run 'nix log /nix/store/zic344f7zd96k8vnlxil42khzkcp7zw5-girara-0.4.1.drv'.
error: 1 dependencies of derivation '/nix/store/i5j7q10bw73v783yi71sqickcyn968hw-zathura-0.5.2.drv' failed to build
error: 2 dependencies of derivation '/nix/store/wlpc4vl8h6mynjwrx0kxhqbqh2gkciyz-zathura-cb-0.1.10.drv' failed to build
error: 2 dependencies of derivation '/nix/store/iqp4qkbkn2ci67h9m4dmdw4l38if57vg-zathura-djvu-0.2.9.drv' failed to build
error: 2 dependencies of derivation '/nix/store/s2nila4b56p9xyc62mvvvd1ri3ssamgl-zathura-pdf-poppler-0.3.1.drv' failed to build
error: 2 dependencies of derivation '/nix/store/vfqkkfz5f2lz5nvz3fdsfbmy3j0z7dyr-zathura-ps-0.2.7.drv' failed to build
error: 5 dependencies of derivation '/nix/store/qnikcd1lhd26v8jqlr1g380v6071dvha-zathura-with-plugins-0.5.2.drv' failed to build

Notify maintainers
@grwlf @globin @TethysSvensson
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.3.0, macOS 14.3`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.19.2`
 - nixpkgs: `/nix/store/wk5dq7iwpd8yb4mnhb98k687kgdqachh-source`

Add a :+1: reaction to issues you find important.

Builds on "x86_64-linux".

The problem is that xvfb-run is using platforms = platforms.linux, so it won't be built on darwin.

It looks like it was caused by tests target was triggered on Darwin.
https://github.com/NixOS/nixpkgs/blob/013efb1edc1b83d737cf691f7883913ec685a27a/pkgs/applications/misc/girara/default.nix#L62
sccache seems to be required as well but I couldn't get it work.


[Event Request] Table 5902 "Service Line" - OnBeforeUpdateLineDiscPct

We are migrating our code from NAV 2018 to BC16.4. In the Table 5902 "Service Line", in the procedure UpdateLineDiscPct, we need to modify the standard code by adding conditions in the first "if" . To do so, we need a a IsHandled flag and an event publisher, like this :

With this integration event :

Do you think it could be possible ?
Thank you for your work.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Clicking the title bar with the mouse causes frame drops and freezes

Describe the bug
When the mouse clicks on the window title bar, the page will be stuck for about 100 milliseconds, and the page animation will drop frames at this time. If you right-click, the animation will be stuck from the time the button is pressed to the time it is released.

To Reproduce
Click the title bar and look carefully at the mouse pointer. It will flash. At this time, if the page has animation, the frame rate will also be dropped.
Expected behavior
When you press the mouse, there should be no frame drops.
Avalonia version
11.1.0，11.1.0-rc2
OS
Windows
Additional context
No response

It is expected for apps that don't use WinUIComposition/DirectComposition rendering.
Have you changed any Win32 platform options from defaults?

I should have used the default configuration. I asked several friends in the community and they all had this problem. It doesn't matter if it's a custom titlebar or the system's built-in one. As long as you click in the titlebar area, there will be problems.


homestead plugin do not show parsed commands

Describe the bug
Homestead plugin do not parse commands
To Reproduce
activate homestead plugin,
add shell function for homestead daily usage,
try print autocomplete commands - homestead + <tab>
System:

OS: 10.14.6
Zsh version zsh 5.7.1 (x86_64-apple-darwin18.2.0)
Terminal emulator default terminal 2.9.5 (421.2)
vagrant 2.2.5

Additional context
I create PR with fix this problem
https://github.com/robbyrussell/oh-my-zsh/pull/8008

I'm so sorry. I rushed to commit and broke the plugin, but now it works correctly
https://github.com/robbyrussell/oh-my-zsh/pull/8103


RFC: Effection Subscriptions

RFC: Effection Subscriptions

I'm going to shut this down since it was used for exploratory work to launch the subscription API, but now the API is divergent in congress with usage, and evolving independently.


Add log path to --info

Description of the new feature/enhancement
I'd like to be able to see where winget.exe logs are located by way of the --info command.
Proposed technical implementation details (optional)
Output the location of the log files in the --info command

We don't want to compromise usernames in the output so maybe something like:
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

This has been implemented:
PS C:\Users\denelon> winget --info
Windows Package Manager v0.3.11201 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19043.985
Package: Microsoft.DesktopAppInstaller v1.11.11201.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
--------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget

Group Policy                               State
---------------------------------------------------
Enable Windows App Installer Hash Override Disabled

Thanks for this!


Versions - own modules

Create own modules to output versions, does not need to be done at each time

Modules are created.
Need to update the python scripts then and can do

This is done


KYLIN-4175: Support secondary hbase storage config for hbase cluster migration

See: https://issues.apache.org/jira/browse/KYLIN-4095

Can one of the admins verify this patch?

Codecov Report

Merging #854 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##             master    #854      +/-   ##
===========================================
- Coverage     25.61%   25.6%   -0.02%
- Complexity     6068    6070       +2
===========================================
  Files          1399    1400       +1
  Lines         83654   83668      +14
  Branches      11722   11725       +3
===========================================
- Hits          21431   21420      -11
- Misses        60165   60186      +21
- Partials       2058    2062       +4

Impacted Files
Coverage Δ
Complexity Δ

...pache/kylin/storage/hbase/util/HBaseUnionUtil.java
0% <0%> (ø)
0 <0> (?)

...a/org/apache/kylin/rest/service/HBaseInfoUtil.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...in/storage/hbase/cube/v2/CubeHBaseEndpointRPC.java
7.91% <0%> (ø)
4 <0> (ø)
:arrow_down:

.../java/org/apache/kylin/common/KylinConfigBase.java
12.7% <0%> (-0.08%)
42 <0> (ø)

.../kylin/storage/hbase/cube/v2/CubeHBaseScanRPC.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...rg/apache/kylin/cube/inmemcubing/MemDiskStore.java
66.56% <0%> (-3.65%)
7% <0%> (ø)

.../apache/kylin/cube/cuboid/TreeCuboidScheduler.java
63.84% <0%> (-2.31%)
0% <0%> (ø)

...org/apache/kylin/rest/util/QueryRequestLimits.java
40.47% <0%> (+4.76%)
6% <0%> (+1%)
:arrow_up:

...he/kylin/dict/lookup/cache/RocksDBLookupTable.java
78.37% <0%> (+5.4%)
7% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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

Pull Request Test Coverage Report for Build 5045

0 of 18 (0.0%)  changed or added relevant lines in 5 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.009%) to 28.069%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server-base/src/main/java/org/apache/kylin/rest/service/HBaseInfoUtil.java
0
1
0.0%

storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseScanRPC.java
0
1
0.0%

storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseEndpointRPC.java
0
2
0.0%

core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
0
4
0.0%

storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/HBaseUnionUtil.java
0
10
0.0%

Files with Coverage Reduction
New Missed Lines
%

storage-hbase/src/main/java/org/apache/kylin/storage/hbase/cube/v2/CubeHBaseEndpointRPC.java
1
7.91%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java
7
76.29%

Totals

Change from base Build 5041:
-0.009%

Covered Lines:
23485

Relevant Lines:
83668

💛  - Coveralls


Same debugMode for children as for parent

Description
The children should have the same debugMode as their parent, at least initially.
This also fixes the composability example.
Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors and are passing (See Contributor Guide).
[x] I updated/added relevant documentation (doc comments with ///) and updated/added examples in doc/examples.
[x] I have formatted my code with ./scripts/format.sh and the Flame analyzer (./scripts/analyze.sh) does not report any problems.
[x] I read and followed the Flame Style Guide.
[x] I have added a description of the change under [next] in CHANGELOG.md.
[x] I removed the Draft status, by clicking on the Ready for review button in this PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flame users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md).
[x] No, this is not a breaking change.

Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR.

LGTM
Maybe add a small test for this?

Good idea, added one now

LGTM.
one thing that I was thinking though, should we get rid of a per-component copy of debugMode and instead whoever wants to use it adds a HasGameRef?

I think it is pretty handy to have per-component debugMode so that you can debug only the parts that you are interested in, but anyhow that should be different from what it looks today anyways. But we can have that as a follow-up I think, to decide how we want to have it.


Add getters to SmartInventory Builder

I have to build the SmartInventory for getting the title or other the Builder's values so, this p.r. solves this problem.

Thanks :)


[EMB-137] reset loader state on file change

Purpose
Show loading indicator when switching files on Quick File File Detail.
Summary of Changes
Reset loader state when the file download link changes.
Side Effects / Testing Notes
Loading indicator should now show on initial load and when switching files.
Ticket
https://openscience.atlassian.net/browse/EMB-137
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Coverage remained the same at 29.981% when pulling f19a8eefc00f552a7831366691d2ea4364e0443f on jamescdavis:EMB-137_reset_loader_state_on_file_change into c978dd553856fd221bfdca94aa8a3e818932be11 on CenterForOpenScience:develop.


Support different fields in insert

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
Having a table that looks like this
CREATE TABLE IF NOT EXISTS "public"."items" (
    "id" "uuid" DEFAULT "gen_random_uuid"() NOT NULL,
    "user_id" "uuid" NOT NULL,
);

When inserting new items in bulk with different fields (id only present on one item)
await supabaseClient.from("items").insert([
    {
        id: randomUUID(),
        user_id: userId,
    },
    {
        user_id: userId,
    },
])

Both items should be inserted; one with the provided id and one with a random UUID as id.
However I get this error
{
  code: "23502",
  details: "Failing row contains (null, e40a9b26-2a32-429f-ae71-9fada8ed4a33),
  hint: null,
  message: 'null value in column "id" of relation "items" violates not-null constraint'
}

To Reproduce
Follow the steps above.
Expected behavior
Both items should be inserted; one with the provided id and one with a random UUID as id.
Additional context
Both this
await supabaseClient.from("items").insert([
    {
        user_id: userId,
    },
    {
        user_id: userId,
    },
])

and this works
await supabaseClient.from("items").insert([
    {
        id: randomUUID(),
        user_id: userId,
    },
    {
        id: randomUUID(),
        user_id: userId,
    },
])

The solution here is to split the insert operation into two bulk inserts; one where id is present on all items and another where id is absent on all items. But this seems like a hack.

This seems to be handled well in the Swift library after a similar bug was found there https://github.com/supabase/supabase-swift/issues/203#issuecomment-1862351927


Error: Cannot find symbol  @NonNull Task, v1.2.0

I recently updated react native and RN android location enabler but I get this error when I run the project:
=========================================

Task :react-native-android-location-enabler:compileDebugJavaWithJavac FAILED
...\node_modules\react-native-android-location-enabler\android\src\main\java\com\heanoria\library\reactnative\locationenabler\RNAndroidLocationEnablerModule.java:8: error: package androidx.annotation does not exist
import androidx.annotation.NonNull;
^
...\node_modules\react-native-android-location-enabler\android\src\main\java\com\heanoria\library\reactnative\locationenabler\RNAndroidLocationEnablerModule.java:98: error: cannot find symbol
public void onComplete(@NonNull Task task) {
^
symbol:   class NonNull
location: class RNAndroidLocationEnablerModule
2 errors

FAILURE: Build failed with an exception.
"react": "^16.10.1",
"react-native": "0.57.8",
"react-native-android-location-enabler": "^1.2.0",
Anyone knows how to fix it?

This works for me:
Add the following two flags to true in your gradle.properties file at ProjectFolder/android/gradle.properties
android.useAndroidX=true
android.enableJetifier=true

Execute
npm install --save-dev jetifier
npx jetify
npx react-native run-android

In your package.json add the following to scripts
"postinstall" : "npx jetify"
Extra: At *ProjectFolder/android delete  .idea folder in case that cache it's causing a trouble.
Original Solution Source:
At Pavan Garre response:
https://stackoverflow.com/questions/40380519/error-package-com-android-annotations-does-not-exist

For versions ReactNative < 0.60.0, please use<EMAIL_ADDRESS>


[Add a Play]: Dev jokes

Thank You!
What's the Play about?
Developer jokes is a app where a random developer joke pops up every time you open it or click next joke !
Deployed version ⤵
https://jokes-dev.netlify.app/
What ReactJS concept will be used to create this play?
Function-based components and axios for fetching data from api !
Are you willing to take it up for implementation?
Yes

This is done.


SHERPA API v2 refactor for DSpace-CRIS 5.x

This is a port of the SHERPA v2 API refactor, made to work with DSpace-CRIS 5.x
For details and testing instructions please see the DSpace 6.x version of this work at https://github.com/DSpace/DSpace/pull/2739
Developed by The Library Code with the support of Technische Universität Hamburg

@kshepherd thank you very much!


Fix various GCC 13 warnings and errors

As noted in #1056 et al, on recent platforms ParseTools.cpp/.h fail to compile due to uint32_t not being declared. The obvious fix is to add #include <cstdint> but we can tidy things up a bit by fixing this differently. This PR fixes that build failure and also fixes several warnings encountered with GCC 13:
Due to improvements in system and/or compiler header cleanliness, where previously ParseTools.{cpp,h}'s headers have included <cstdint> as a byproduct, this no longer occurs. Hence:

Ordinary unsigned is appropriate for the int2str() variable anyway;
Get CHRPOS from BedtoolsTypes.h instead of typedeffing it ourselves;
ParseTools.cpp's isHeaderLine() does use uint32_t, so include <cstdint> from the .cpp file for good measure.

Other warnings:

Assignment operators should not be virtual (avoids "Record::operator= was hidden" warnings).
List member initialisers in the same order in which they are declared (avoids "_testLastQueryRec will be initialized after _runToDbEnd" warnings).

Fixes #1056. Closes #1045 and closes #1066.

This is fantastic! Thanks as always for your expert help, @jmarshall !

@arq5x could you please cut a new release so we can remove all the patches from our repos?

Yes. It will take me a few days to a week or so because of deadlines, but I will.


Refactoring listener Impl

Purpose

adding watch to check whether gateway availability in API reconcile path

Codecov Report
Patch coverage has no change and project coverage change: +79.22 :tada:

Comparison is base (2b0a19f) 0.00% compared to head (3e4f8a5) 79.22%.

Additional details and impacted files
@@                  Coverage Diff                  @@
##           listener-feature     #906       +/-   ##
=====================================================
+ Coverage                  0   79.22%   +79.22%
=====================================================
  Files                     0       11       +11
  Lines                     0      592      +592
  Branches                  0      257      +257
=====================================================
+ Hits                      0      469      +469
- Misses                    0      123      +123

Flag
Coverage Δ

devportal-domain-service
∅ <ø> (?)

idp-domain-service
79.22% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 11 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


convert .pkl error

torch-1.3.1 like not have cuda-10.0 version...
and tensorflow-1.1x must be in cuda-10.0...
not find other way, so compile in ：torch-1.2.0(cuda-10.0), tensorflow-gpu_1.14.0
and get some error：
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 1419: invalid continuation byte

hi, how to slove it?


please add sensors from home assistant

Thank you very much for your impressive work!
I have an idea for developing the project. Could you add displaying information from home assistant sensors? The use case is as follows:
we register a home assistant sensor in the settings for example a sensor.tempbedroom_temperature and it is displayed at a specified interval as the date is already displayed.
It might be difficult to implement dynamically, but would it then be possible to add sensors to yaml? For example to provide 2-3 static  display interval slots for this?

Were you looking at my https://github.com/trip5/EspHome-Led-PixelClock repo?  I actually just did this for another of my clock projects a week or so ago...
I should probably continue the idea and also separate this project into 2 distinct purposes - one for Home Assistant connectivity and the other as a clock (perhaps travel or whatever but still, just a clock). It wouldn't be too hard for me to "backport" the idea into this project (since they share a lot of the same codebase)...
I'm thinking... we're very stuck at how we can display decimals, limited to 4 characters, and many characters simply can't be displayed.  So perhaps too you could make static "sensors" that show what sensor is coming next... ie.

In
26.5C
Out
15.1C
etc.

Make sense?  What do you think?  Give me a bit of time and I'll see what I can do.

Not a bad idea for the sesnor.  BTW, "ti26" or "ho82" means no room for a space.  And the i will look the same as a 1 or I (upper-case I) or l (lower-case L)... so I will see if I can give an option to display a sensor's name or something (two screens in quick succession).  I've tried what you suggested - and you can try to with the HA service... send "ti26" and it's kind of weird to look at on a 7-segment display with only 4 characters available.  But yup, it's possible...
It might take a bit.  I've been looking into issues with my other projects.  The ESP8266's lack of memory is frustrating sometimes (thus the split)... It'll probably take a few days but... I was already thinking of doing this anyways, so you just gave me a bit of motivation to actually get it done.  Stay tuned!

I just checked.  Pretty similar... more like (quick edit in MSpaint):

But that's on the driver... which is here actually: https://github.com/trip5/esphome-tm1650/blob/main/components/tm1650/tm1650font.h
So far, I've just been using a fork of code someone else re-coded from an inbuilt esphome library... Never really thought to edit the actual font until now.
Hm.  This one looks different, maybe... and a bit more complete: https://github.com/supercrab/arduino-seven-segment/blob/master/Characters.h  I wish they had more pics of what the characters look like.  But at least the ABCDEFG segments are similar enough I can probably work with it.  Just adding a link here for my own reference later.
Not sure if I want to move the little i - it's on the right side for reasons - but there's probably another character that is useable on the right side... like the pipe | but that's full height... anyways, rambling.  This will come after the sensors perhaps.

Not bad.  Uses the same mapping except for the decimal point which that generator puts at the end instead of at the beginning.  But that's easy to fix.  I'll dig it out later... thanks!

  So many broken characters, unreadable, no variety...
Did quite a few changes to the TM1650 font using the tool you located.  Seems to be readable.  I did leave the i's on the left side but there's some on the right you might be able to use.  But it would be nice to generate a better preview of what all the characters look like.  Where did you get the 7-segment images from earlier?  I might be able to use that?
BTW, made pretty good progress.  Just one (hopefully) bug to iron out and then the new versions will be ready.

Probably too lazy to generate a proper preview of the TM1650 font.  Maybe... I'll see.  But for now, I think I got the sensors available, working, and configurable.  Take a look, try it out.  I'm pretty happy with the HA version  in conjunction with the updated font.
Test out the screens you're planning on displaying with the service call (and I even used your above examples in the template.yaml).

A little pity yeah but you can still get all the options through Home Assistant.  I tried but it was so unstable.  Any attempt to use the WebUI would crash the ESP and force a reboot.  If you're adventurous enough to disable various other functions like OTA and captive portal, it might work... those 2 functions take up a pretty good amount of memory.
I'm glad you figured out how to modify the font.  The tool you linked to above made that pretty easy.  I was just happy to get missing characters in and the t and T look like actual letters.
I'll come back to it at some point and create previews for the 7-segment font on the library.


Further documentation of the Core docs

A few more comments about the linked docs in /docs/index.md

Thanks a lot! Can I ask you for a separation of the title (with the link) and a :? For example

Set up and run GraphHopper in Eclipse**:** Detailed instructions how to ...

Or that every entry instead of "title:description" is a normal sentence with parts of it used for the link?

Sure I will do this. I will use the first method you proposed as I think it will be more clearly for the reader.

Thanks :) !

I'm really glad to help.

Let me know if I should change something.

Thanks!


Meshery build status badge defunct

Description
The Meshery project recently switched from TravisCI to GitHub Actions. As such, each of the Meshery repositories need the build badges in their READMEs updated. Badges from shields.io are mostly used across the repositories, however, shields.io support for GitHub Actions badge seems pending. A number of solutions, including one from GitHub, have cropped up. Any should work.
Expected Behavior
Each Meshery repository's README should have a build badge showing the current status of that components build.

@soc1c we would love your help here! :)
If interested further in Meshery, don't hesitate to request access to or join any of the resources here - http://layer5.io/meshery/#community

@soc1c come back! ;)


Symptops checker

this has been rebased to master with fixed conflicts already, but the symptoms checker should probably also use the react-wizard component on one single "page"


Difficulty with partially applied decode in superclass

I've got some code like this:
public class UpdateModel {
    public let active:Bool
    public let id:String
    public let name:String
    public let lastModified:NSDate

    public init (active:Bool, id:String, name:String, lastModified:NSDate) {
        self.active = active
        self.id = id
        self.name = name
        self.lastModified = lastModified
    }

    public static func create<T:UpdateModel>(active:Bool)(_ name:String)(_ lastModified:NSDate)(_ id:String) -> T {
        return T(active: active, id: id, name: name, lastModified: lastModified)
    }

    public static func decode<T:UpdateModel>(j:JSON) -> Decoded<(id:String) -> T> {
        return T.create
            <^> j <| "active"
            <*> j <| "name"
            <*> (j <| "lastModified" >>- decodedNSDate)
    }
}

public class UpdateA:UpdateModel, Decodable {
    typealias DecodedType = UpdateA

    public static func decode(j:JSON) -> Decoded<UpdateA> {
        let missingId:Decoded<(id:String) -> UpdateA> = super.decode(j)
        let decodedID:Decoded<String> = j <| "aid"

        return missingId <*> decodedID
    }
}

public class UpdateB:UpdateModel, Decodable {
    typealias DecodedType = UpdateB

    public static func decode(j:JSON) -> Decoded<UpdateB> {
        let missingId:Decoded<(id:String) -> UpdateB> = super.decode(j)
        let decodedID:Decoded<String> = j <| "bid"

        return missingId <*> decodedID
    }
}

The problem is I'm getting the error

Binary operator '<*>' cannot be applied to operands of type 'Decoded<(id:String) -> UpdateA>' and 'Decoded<String>'

What am I missing here?

One the surface that looks right. What happens if you do this?
let missingId = UpdateA.create(true)("Some Name")(NSDate())
let updated = missingId("someId")

@Spencevail what if you remove the label on the Decoded type: let missingId: Decoded<String -> UpdateA> = super.decode(j)?

@Spencevail Any update on this?

@Spencevail Is this still causing issues for you?

Its not causing issues because I ended up just duplicating the lines to set the active, name, and lastModified in create methods on the UpdateA and UpdateB subclasses. I am curious though to know if this was possible, so to answer some of your questions:
@paulyoung: The compiler has no problem with those lines, which seems to reaffirm my thinking that this is not a syntax problem but rather a limitation of the compiler.
@tonyd256: That changes the error to

'Decoded<(id: String) -> UpdateModel>' is not convertible to 'Decoded<String -> UpdateA>'

Thank you guys for the help. If anyone's curious this is what I have working right now:
public class UpdateModel {
    public let active:Bool
    public let id:String
    public let name:String
    public let lastModified:NSDate

    public init (active:Bool, id:String, name:String, lastModified:NSDate) {
        self.active = active
        self.id = id
        self.name = name
        self.lastModified = lastModified
    }
}

public class UpdateA:UpdateModel, Decodable {

    public static func create(active:Bool)(name:String)(lastModified:NSDate)(id:String) -> UpdateA {
        return UpdateA(active: active, id: id, name: name, lastModified: lastModified)
    }

    public static func decode(j:JSON) -> Decoded<UpdateA> {
        return UpdateA.create
            <^> j <| "active"
            <*> j <| "name"
            <*> (j <| "lastModified" >>- decodedNSDate)
            <*> j <| "aid"
    }
}

public class UpdateB:UpdateModel, Decodable {

    public static func create(active:Bool)(name:String)(lastModified:NSDate)(id:String) -> UpdateB {
        return UpdateB(active: active, id: id, name: name, lastModified: lastModified)
    }

    public static func decode(j:JSON) -> Decoded<UpdateB> {
        return UpdateB.create
            <^> j <| "active"
            <*> j <| "name"
            <*> (j <| "lastModified" >>- decodedNSDate)
            <*> j <| "bid"
    }
}

Not as DRY as I'd like, but it works.

I'm going to go ahead and close this due to inactivity but please feel free to reopen if this is still an issue.


#25 | Add Google OAuth | Artem

Description
Add user auth using Google and GitHub. Code inside this PR is using localhost https routes, so it shouldn't be merged just now. Another PR will be created when code will be ready for production deployment
Related to
#25 (LOCAL DEV FOR NOW)
Checklist:

[x] My code follows the style guidelines of this project
[x] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

Did not manage to test this yet, sorry, but I'll try to make sure I have a look tomorrow

Please check this commit: https://github.com/gla6-fp-team1/gaelic-project/commit/e0088933ba7f5baab82b4c285f66c2199328439e
The lines marked in RED are the changes I had to do to make this work locally (and likely in Render as well). Note it does change the callback URL to /api/auth/google/callback, as expected all api features need to run under /api for the dev router to work properly

@filkovskyy please check my commit I shared above https://github.com/gla6-fp-team1/gaelic-project/commit/e0088933ba7f5baab82b4c285f66c2199328439e (the red bits not the green bits) you need to work towards making this working locally, and my notes are just doing that, so please take inspiration from them. Do not update your PR from one Render link to another as that will still make this code tied to only one specific deployment which is not something we want

I'm happy to pair today to get this sorted, as we really need this PR merged for future development


Merging my name Vibhu

added my name vibhu

i don't have the write access what an be done to solve this


feat(options): add the ability to pass a custom boot strap file name

add the ability to pass a custom boot strap file name for cache busting and hashing

Coverage remained the same at 100.0% when pulling c3f871fe7365453ae3b63dda3ae1b3aad2f4be36 on mikebautista:master into 6f651682f1fafea00f430f71f9e6de24513851e9 on mutualofomaha:master.