DOC: Add name_filter to available_apps. Fixes #1640

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.001%) to 91.602%

Files with Coverage Reduction
New Missed Lines
%

.nox/test-3-10/lib/python3.10/site-packages/cogent3/core/alignment.py
1
94.86%

.nox/test-3-9/Lib/site-packages/cogent3/core/alignment.py
1
94.82%

.nox/test-3-10/lib/python3.10/site-packages/cogent3/maths/scipy_optimize.py
3
83.93%

Totals

Change from base Build<PHONE_NUMBER>:
-0.001%

Covered Lines:
177413

Relevant Lines:
193678

💛  - Coveralls


Enable Dynamics 365 apps for Trial environments

The article mentions "Currently, Dynamics 365 apps cannot be enabled for trial environments."

however I am able to toggle the "Enable Dynamics 365 apps" switch during environment creation to enabled for Trial (Subscription-based) environment.

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

ID: 00543757-56fc-9709-49be-16970ffbb774
Version Independent ID: c2c1da0b-c7a4-1128-f9de-1f2fae684a11
Content: Create and manage environments in the Power Platform admin center - Power Platform
Content Source: power-platform/admin/create-environment.md
Service: power-platform
Sub-service: admin
GitHub Login: @Mattp123
Microsoft Alias: kvivek

Thanks for your comment, @davins-msft. This issue has been assigned to the doc author for review.

@Matt @.***>
I believe the owner for this doc is @@.***>
From: Bishal Goswami @.>
Sent: Friday, March 10, 2023 10:01 AM
To: MicrosoftDocs/power-platform @.>
Cc: Marcel Ferreira @.>; Assign @.>
Subject: Re: [MicrosoftDocs/power-platform] Enable Dynamics 365 apps for Trial environments (Issue #1830)
Thanks for your comment, @davins-msfthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdavins-msft&data=05|01|marcelbf%40microsoft.com|385e794cbaa641da2a7608db21915bf7|72f988bf86f141af91ab2d7cd011db47|1|0|638140680420976291|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=0ZCj8NA4UB5EZZwm%2Fmmzt69bPwFzkABu3%2FI2Ub3yFtU%3D&reserved=0. This issue has been assigned to the doc author for review.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fpower-platform%2Fissues%2F1830%23issuecomment-1464175720&data=05|01|marcelbf%40microsoft.com|385e794cbaa641da2a7608db21915bf7|72f988bf86f141af91ab2d7cd011db47|1|0|638140680420976291|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=M0QWspUOulx%2BUIBAnqfvxZLuieRl58jQOaQrKUoWGsI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAL2PPXBYF43NRY3AOIDDZCLW3NT4PANCNFSM6AAAAAAVWVGZ7I&data=05|01|marcelbf%40microsoft.com|385e794cbaa641da2a7608db21915bf7|72f988bf86f141af91ab2d7cd011db47|1|0|638140680420976291|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=nxvg34RwpOn7oKrFbUwDUdV2O8%2Bj%2BuTN0dydofBLCx4%3D&reserved=0.
You are receiving this because you were assigned.Message ID<EMAIL_ADDRESS>


bump version 0.3.0

Coverage decreased (-0.1%) to 97.479% when pulling 2d0605924ef1ca03bdd349649aa40b0402c80bc5 on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage decreased (-0.1%) to 97.479% when pulling 2d0605924ef1ca03bdd349649aa40b0402c80bc5 on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage decreased (-0.1%) to 97.479% when pulling 2d0605924ef1ca03bdd349649aa40b0402c80bc5 on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage decreased (-0.1%) to 97.479% when pulling 2d0605924ef1ca03bdd349649aa40b0402c80bc5 on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling 52f13f80f0e120cc4199f7ecea86f0d8e2d4e6ec on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling f7555dd278a63f862d8a6cd3e76371df1dd07314 on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.

Coverage remained the same at 97.576% when pulling f7555dd278a63f862d8a6cd3e76371df1dd07314 on PetrDlouhy:version/0.3.0 into 3c43475c1ecae40c873bf087be1bfa324d62e56b on greyside:master.


Fixed_Open_North_Logo_Issue

Closes  #986

@bhaggya I was confused by the logic in the block of code I mentioned in my earlier comment, but I guess it somehow accounts for the Open North edge case.  Since it seems to work I just kept it in but simplified the syntax.  See updated code block below.  I think long term that getOrganizationLinks.js will need some cleanup.
  if (!githubId) {
    if (thumbnailInfo.imageUrl && organization.image_url) {
      thumbnailInfo.imageUrl = organization.image_url;
    }
    if (
      thumbnailInfo.imageUrl.includes('undefined') ||
      thumbnailInfo.imageUrl.includes('scontent')
    ) {
      thumbnailInfo.imageUrl = '/images/default-github-repo-image.png';
    }
  } else {
    thumbnailInfo.imageUrl = `https://avatars1.githubusercontent.com/u/${githubId}?s=100&v=4`;
  }


Output eeff geff

Will look at it shortly! I read the title and was fully like, "What's eeff geff?"

Haha the underscores seem to have been lost somewhere in the journey!


nat: Semiring instance for natural integers

This adds Semiring N, I have sorried the smul/npow as those are supposed to be autoproved I imagine.

Obsolete.


requirements.txt is does not lock to specific version of python

It's just after release, so everyone is on the same version but in future it could be quite big problem where dependencies of dependencies could make impact. I would suggest to have locked requirements file for each version release

Yes good idea!

Fixed in LORA branch


Github action bot not working

look at this issue https://github.com/react-native-community/react-native-webview/issues/1473, github-actions closed the issue. I add comment to prevent it but it's close it anyway

issue still exist


Cards in Teams have escaped underscores

Hello,
We're experiencing an issue where underscores are being "escaped" when it appears they do not need escaping.
Probably related to TeamsApp.CustomFunctions (link).
I see this is trying to get around mark down; is it possible it's being applied to non-mark down cards?
See screenshot.

That's something I noticed to but didn't paid attention. Will try to fix today


Batch mode overwrites all fields (macOS)

When You just want to set a single field (and checkmark just that field) batch mode overwrites all other fields with empty strings instead of preserving the values. That makes the feature useless (at least for us)...

yeah, that sounds like an big issue.
Is it possible to provide me with at least one file, and more details so I can reproduce ?

Dear Svetlozar,
a simple empty page pdf with metadata before and after running through Your Tool (one Subject field preset) in batch mode.
With best regards
Michael Bleistein
P.O. Box 1195
VG1150 Valley, Virgin Gorda
British Virgin Islands
VG: +1<PHONE_NUMBER>
DE: +49<PHONE_NUMBER>7
SKYPE: bleistein

On 11. Dec 2019, at 11:27, Svetlozar Argirov<EMAIL_ADDRESS>wrote:
yeah, that sounds like an big issue.
Is it possible to provide me with at least one file, and more details so I can reproduce ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/zaro/pdf-metadata-editor/issues/19?email_source=notifications&email_token=AAFLIISQW6ELINYQJBZMRMLQYEBGDA5CNFSM4JZQYUYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGTQ24Y#issuecomment-564596083, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLIIQTIU4ZEHH5NAMHZCLQYEBGDANCNFSM4JZQYUYA.


cargo run exports bad DYLD_LIBRARY_PATH on macOS

I've been going down the rabbit hole for a while on this one. Thankfully though, it seems like it's actually hopefully a pretty simple fix. Or, if it isn't, at least maybe I'm reporting the issue in the right repo ^_^
I originally thought it was a git2-rs issue, and reported it in https://github.com/alexcrichton/git2-rs/issues/175. Then I thought it was a rustc issue, and reported it here: https://github.com/rust-lang/rust/issues/36250.
Finally though, I've gotten to the bottom of it, and it appears to be a cargo bug.
A few things need to happen to trigger the issue:

We are linking ina  dynamic library that is not provided by the system, for example something from homebrew in /usr/local/lib, or from macports in /opt/local/lib.

We are also linking in a system framework.

In the nonstandard location in 1., there is a dynamically linked library which the system framework from 2. needs. However, this library in 1. is not the version that the framework expects.

We run the binary with cargo run.

To make everything concrete, let's say that we're linking in openssl provided by macports in /opt/local/lib, the framework we're using is the ApplicationServices framework, and we also happen to have libiconv installed in /opt/local/lib.
Cargo will export DYLD_LIBRARY_PATH=/opt/local/lib:..., and we'll get the following error:
: cargo run
   Compiling rust-dynamic-linker-error v0.0.0 (file:///Users/rodarmor/src/rust-dynamic-linker-error)
    Finished debug [unoptimized + debuginfo] target(s) in 0.34 secs
     Running `target/debug/rust-dynamic-linker-error`
dyld: Symbol not found: _iconv
  Referenced from: /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
  Expected in: /opt/local/lib/libiconv.2.dylib
 in /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling

What's happening is that the LanguageModeling framework, which is a transitive dependency of the ApplicationServices framework also depends on libiconv. Normally it finds it in /usr/lib/libiconv.dylib. However, because of the value of DYLD_LIBRARY_PATH, it finds it in /usr/local/lib/libiconv.dylib, and we get the error because it is the wrong version with a missing symbol.
If we run the binary directly, without the environment variable, it works:
: ./target/debug/rust-dynamic-linker-error
Hello, world!

Although the conditions needed to trigger this bug may seem esoteric, they are actually very common on mac development machines. Developers often have a ton of stuff installed via macports or homebrew.
There are a few ways that this might be resolved:
The DYLD_LIBRARY_PATH value seems to be unnecessary at least in this case, since the binary works when run directly. If so, perhaps we can avoid exporting it so as not to cause this breakage? However, perhaps there are other situations where the variable is necessary to find libraries? What's the purpose of the export?
If the DYLD_LIBRARY_PATH value is necessary, then we need to communicate that to developers somehow. It would be very frustrating to have a binary which runs with cargo run, but which cannot be run directly.
And, if we do need DYLD_LIBRARY_PATH, then we should consider if DYLD_FALLBACK_LIBRARY_PATH might suffice. DYLD_FALLBACK_LIBRARY_PATH does not disrupt the normal order of dynamic library lookup, but instead is only consulted if the dynamic linker cannot find a library in the normal places.

This is a pretty tricky issue but I think the solution is that we should probably just not try to add any "system directories" to DYLD_LIBRARY_PATH. We should basically just assume that any directory outside the build directory is up to the user to be in DYLD_LIBRARY_PATH as it's not generated by Cargo itself.
@casey would you be willing to help test out a patch for this? I think the relevant section of code is here and we likely just want to filter out paths that aren't in the build directory.

Sure, I'd be happy to.
One thing I'm curious about, when is DYLD_LIBRARY_PATH necessary for a binary to work? All my binaries seem to run fine without it.

I've run into the same problem with cargo test (example) and am happy to test, or to try to come up with a patch that implements the logic to filter out paths outside of the build directory.

@pkgw ok! If you need any help just let me know.
I think the basic patch here is to just only append paths that look like they're in the cargo build directory, and ignore others.

OK, I've create a pull request, #3651, that applies this strategy. I was even able to test it and it works in my test case!
However, I have to admit that I mostly forget what's even going on in this code, so I'm far from confident that it's doing the right thing. Fortunately it's only a few lines' worth of changes.
My test case:

Get a Mac with Homebrew
Install at least libjpeg and libpng using Homebrew.
Create a Cargo project with contents as follows.
For Cargo.toml:

[package]
name = "issue3366"
version = "0.0.1"
authors = ["Peter Williams<EMAIL_ADDRESS>build = "build.rs"

[lib]
name = "mytest"
crate-type = ["rlib"]

[build-dependencies]
gcc = "^0.3"

For build.rs:

extern crate gcc;

fn main() {
  let mut cfg = gcc::Config::new();
  cfg.file("blah.c");
  println!("cargo:rustc-link-lib=framework=ImageIO");
  println!("cargo:rustc-link-lib=dylib=jpeg");
  println!("cargo:rustc-link-search=/usr/local/lib");
  cfg.compile("libfoo.a");
}

For blah.c:

int myfunction (void) { return 3; }

For src/lib.rs:

pub fn hello() -> usize { 3 }

Run cargo test. With the buggy version, I get a dyld: Symbol not found __cg_jpeg_resync_to_restart error. With the patched version, it just works.

However, I just ran the test suite and it looks like the run_with_library_paths test is now failing. To be investigated.

Oh hey, I was updating the README for pq-sys to have more information about this and noticed I couldn't reproduce the issue anymore. Just wanted to confirm that #3651 did in fact fix a long standing issue for us.

I do agree with the assessment that setting DYLD_FALLBACK_LIBRARY_PATH. Here's another case that can trigger the problem on macOS. Many people on Mac install PostgreSQL using Postgres.app. That program places libpq.dylib in a subdirectory of the executable, and also vendors libjpeg.dylib. If we attempt to link against libpq when someone has installed it using that method, the same issue will occur with dyld: Symbol not found __cg_jpeg_resync_to_restart

@sgrif thanks for confirming the fix! I'd also be totally up for leveraging DYLD_FALLBACK_LIBRARY_PATH. It's unfortunate that it's OSX-specific, but hey if it fixes a platform it fixes a platform.

I believe this was fixed in https://github.com/rust-lang/cargo/pull/3651

I'm seeing this on stable (cargo 1.31.0 (339d9f9c8 2018-11-16)) and nightly (cargo 1.32.0-nightly (5e85ba14a 2018-12-02)) when I try to cargo run immediately after cargo new --bin hello. Not sure why it needs libJPEG...
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/local/lib/libJPEG.dylib

Hi, new to rust and having the same problem (downloading everything via rustup.sh and then cargo new helloWorld, cargo build throws the same error (verbose version):
Compiling helloWorld v0.1.0 (/.../helloWorld)
     Running `rustc --edition=2018 --crate-name helloWorld src/main.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=be4ec7492c887d5d -C extra-filename=-be4ec7492c887d5d --out-dir /.../helloWorld/target/debug/deps -C incremental=/.../helloWorld/target/debug/incremental -L dependency=/.../helloWorld/target/debug/deps`
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/local/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
error: Could not compile `helloWorld`.

Caused by:
  process didn't exit successfully: `rustc --edition=2018 --crate-name helloWorld src/main.rs --color always --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=be4ec7492c887d5d -C extra-filename=-be4ec7492c887d5d --out-dir /.../helloWorld/target/debug/deps -C incremental=/.../helloWorld/target/debug/incremental -L dependency=/.../helloWorld/target/debug/deps` (signal: 6, SIGABRT: process abort signal)

@ns-cweber or @aredier do you know what installed /usr/local/bin/libJPEG.dylib? (Are you using homebrew or macports?)   Which version of MacOS are you using?  Which version of Xcode do you have?  Can you include the output from these commands?
xcode-select  -p
ld -v
cc -v

And maybe try running this inside your hello-world project:
`rustup which cargo` run

I'm wondering if this might get fixed by #6355.  I'm unable to reproduce, so I'd like to get to the bottom of it (this has been reported a few times — rust-lang/rust#34869  rust-lang/rust#36250).  I don't know how a bare hello-world would link against ImageIO/libJPEG.  Some system frameworks like Security pull in a truckload of dependencies, including ImageIO, but I don't know why a simple binary would do that (mine doesn't).

@ehuss It seemed I used the wrong version of (curl -sf -L https://static.rust-lang.org/rustup.sh | sh) which was one of the first link when I searched for "install Rust" ( https://doc.rust-lang.org/1.0.0/book/installing-rust.html). but installing rustup via curl https://sh.rustup.rs -sSf | sh solved the problem. Sorry about that.
however if you still want the info on my system:
libjpeg  was installed as a dependency by brew on my system (MacOS 10.14.1).
xcode-select  -p gave (when still having a problem):
/Library/Developer/CommandLineTools
ld -v:
@(#)PROGRAM:ld  PROJECT:ld64-409.12
BUILD 17:47:51 Sep 25 2018
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
LTO support using: LLVM version 10.0.0, (clang-1<IP_ADDRESS>) (static support for 21, runtime is 21)
TAPI support using: Apple TAPI version 10.0.0 (tapi-1000.10.8)

and cc -v gives me
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Found CUDA installation: /usr/local/cuda, version 9.0

as for
`rustup which cargo` run

it gave a command not found

We just fixed that URL yesterday, btw: https://github.com/rust-lang/cargo/pull/6455

See also https://github.com/rust-lang/rustup.rs/issues/1507
@alexcrichton would it be possible to add a redirect on https://static.rust-lang.org/rustup.sh to https://sh.rustup.rs?  It has an ancient 3 year old version from https://github.com/rust-lang-deprecated/rustup.sh.  Considering some documentation (like Cargo) still points at that old version (links in TRPL up to 1.13 link to the old version — https://doc.rust-lang.org/1.13.0/book/getting-started.html — fixed in rust-lang/rust#38122).

An excellent idea, done now!

Hm, maybe that wasn't the best idea.  curl without -L does nothing and prints nothing.
curl -sSf https://static.rust-lang.org/rustup.sh

If it can't point directly at the up-to-date file, maybe replace it with something like this:
#!/bin/bash
echo "The location of rustup.sh has moved."
echo "Run the following command to install from the new location:"
echo "    curl https://sh.rustup.rs -sSf | sh"

(or whatever wording sounds good)

Yeah it's true that without -L it doesn't do anything, but I didn't see some examples that didn't have the -L flag?

The old book had -L, but cargo does not.  None of the modern documentation uses it either (book, rustup).

Oh for sure sh.rustup.rs with a HTTP redirect would break everyone so I'm not too worried about that, it looks like the main one is the Cargo documentation which doesn't pass -L? That's a bummer :(
I think I've figured out a good middle-ground though, the HTTP redirect response body now contains the shell script you recommended, so if -L is passed it "just works", but if it's not passed you get a message

Hi; just came here to say this is still very much an issue. I am trying to port rust/cargo to mxe (I'm on MacOS) and am seeing the exact same issue with ImageIO.framework looking for the wrong libJPEG.dylib. I don't use Homebrew but rather MacPorts. Manually replacing instances of DYLD_LIBRARY_PATH to DYLD_FALLBACK_LIBRARY_PATH fixes it but then cargo fails elsewhere due to the replaces modifying the checksum of some files.
Really, DYLD_LIBRARY_PATH shouldn't be used essentially ever, since it messes with default loading paths. If necessary, you should switch to DYLD_FALLBACK_LIBRARY_PATH instead.
There must be some way to get around this (because MacPorts itself doesn't have this issue when building Rust) but I haven't yet found the way to do it.
Sent with GitHawk

@Lord-Kamina DYLD_LIBRARY_PATH is no longer used in Cargo since 1.33 and rustup since rustup 1.18.0.  If you are having issues with other tools, like the rust-lang build system, I would suggest looking there.

@ehuss I am not using rustup; I am trying to build and seeing these issues with rust 1.36 and cargo 0.37 (downloaded from https://static.rust-lang.org/dist/2019-07-04), running grep -R DYLD_LIBRARY_PATH./* on the sources should confirm what I'm saying.
Sent with GitHawk


[bAllowReloadWithoutAiming_controller] Prioritize action button

Validation

[X] Game has been updated to the latest RE4HD release (v1.1: https://www.re4hd.com/?p=9552)
[X] Data has been validated with SFV (a guide to using QuickSFV is available at that link, use that with this 1.1 SFV: BIO4-HDProject1.1-SFV.zip)

Describe your issue here (drag+drop ZIP to attach it)
Currently it's quite annoying to pick up items and kick enemies with this option, because when on screen prompt appears, reloading happens first, and you can press X to do the action only when the gun is fully reloaded.
Is there a way to check if there's an onscreen prompt, and not reload in that case?

Huh, gotta admit that situation didn't cross my mind.
It should be possible to check for an onscreen prompt, I'll take a look soon.

@ThirteenAG, does this build work for you? dinput8.zip

Works perfectly, thanks!


skin naming conventions

IMHO it is better to name the default skin "Default.ascx" instead of skin.ascx, when you don't want to have a name in the skin dropdown. Personally I do prefer a name, so I often use Main.ascx or something more descriptive like TwoColumns.ascx (allthough this is only true on desktop).

No problems Peter,
When creating the themes I followed how the default themes (Gravity & Xcillion) were created as a standard.
Will take your advice in future themes I create!
Geoff.


INFRA-2879 reenabled the auto-update flow + changed the Makefile upda…

…te-dependency so it will not automatically update the go version

I also have the update dependency changes ready, but I am hopeful that this change would make it possible to have the scheduled updates in place.


Successfully installed but error while import higher

Install either with "pip install ." or with "python setup.py install" in python 3.5.6, with pytorch version 1.3.1. Installed successfully but rise the following error while import higher:

import higher
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\HP\Desktop\higher\higher_init_.py", line 99
all: list = ["innerloop_ctx"]
^
SyntaxError: invalid syntax

The issue is solved by using python 3.7


Fix a NullPointerException that occurs with distant liquid sources

Got this error:
java.lang.NullPointerException: Unexpected error 	at openmods.liquids.BucketFillHandler.onBucketFill(BucketFillHandler.java:62) 	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_208_BucketFillHandler_onBucketFill_FillBucketEvent.invoke(.dynamic)
I added a sanity check to ensure that the target isn't null before continuing

Fixed some time ago. Also, 1.10.X branch merged to master.


feat(mempool): create mempool p2p channels

feat(mempool_node): add NetworkConfig to SequencerNodeConfig
chore: suggested resolutions for Itay's comments on Shahak's PR
feat(mempool): create mempool p2p channels

This change is


rgba -> cairo argb

I converted an OpenCV RGB image to RGBA, aiming to display it on the Axis stream web. Since Cairo-related functions are required, I further converted it to ARGB, but the result when overlaying the image turned out strange.
I’m mainly implementing two requirements: one is solid overlay, and the other is transparent overlay.

Hi @Shaiken , thanks for reaching out.
Please clarify the ticket. Is it a bug report or a feature request? The label enhancement suggest the latter, but I don't understand what the suggestion is.
This sounds more like general OpenCV and/or Cairo functionality.
In case it's a bug, please specify what product, SDK version and AXIS OS version that are used.


Add missing dots in dgst man page

CLA: trivial

Checklist

[x] documentation is added or updated

Should also be applied to 1.1.0 and 1.1.1 branches if possible.

merged


[ROS2] Update teb_params.yaml in order to properly run tb3 simulation

OS: Ubuntu 20.04
Dist: ROS2 Foxy Binaries
Nav2: 69977cd83d9040df3422d8a2e564715b6002f3fb
TEB: 8bd805e29ef629a003880e22d67d9529da76a87d
The current teb_params.yaml in the ros2-master branch does not allow the tb3 simulation to successfully run by preventing the controller node from progressing to an active state.
Steps to replicate:
Build the teb_local_planner package for ROS2 Foxy and run teb_tb3_simulation_launch.py.
Update:
I have tried replacing the current parameters with the ones found in issue https://github.com/rst-tu-dortmund/teb_local_planner/issues/203 with little luck, although it does seem to allow the nav2 stack to startup fine.  However, all I get with that configuration is the following output while the tb3 just rotates in place.
[bt_navigator-11] [INFO] [1595707851.384197642] [bt_navigator]: Begin navigating from current location to (0.65, 1.84)
[controller_server-8] [INFO] [1595707851.418366655] [controller_server]: Received a goal, begin computing control effort.
[controller_server-8] [INFO] [1595707852.468641585] [controller_server]: Passing new path to controller.
[controller_server-8] [INFO] [1595707853.518666932] [controller_server]: Passing new path to controller.
[controller_server-8] [INFO] [1595707854.518639488] [controller_server]: Passing new path to controller.
[controller_server-8] [INFO] [1595707855.568666246] [controller_server]: Passing new path to controller.

Any luck on this? Been struggling with params file of teb planner on foxy for a while


Bump few things and update man pages for v0.16

ACK https://github.com/dashpay/dash/pull/3737/commits/405272679d30834beccba37285f66d3cf0a9e54c, locally verified all hashes/chainwork


Unable to specify LZ4 compression level

CompressionCoded.WithLevel casts its argument to byte and maxes out at 127. - https://github.com/twmb/franz-go/blob/a5f2b710830e32fc3f90374be47ec59849807342/pkg/kgo/compression.go#L71
However, LZ4 compression levels are much larger than that - https://github.com/pierrec/lz4/blob/v4/options.go#L155 - they are defined as 0, 512, 1024, ... , 131072.
Specifying LZ4 compression level in franz-go therefore will always result in the default.

I think this should be a relatively small fix by converting that internally to an int

i agree. i can take a stab at this today.

https://github.com/twmb/franz-go/pull/781


[BUG] Deserialization does not work for XmlArraySerializationType.FLAT where XML Name is customised

Discovered whilst working https://github.com/CycloneDX/cyclonedx-python-lib/pull/576.
Steps to reproduce:
@property
    @serializable.view(SchemaVersion1Dot6)
    @serializable.xml_array(serializable.XmlArraySerializationType.FLAT, child_name='omniborId')
    @serializable.xml_sequence(16)
    def omnibor_ids(self) -> 'SortedSet[OmniborId]':
        """
        Specifies the OmniBOR Artifact ID. The OmniBOR, if specified, MUST be valid and conform to the specification
        defined at: https://www.iana.org/assignments/uri-schemes/prov/gitoid

        Returns:
            `Iterable[str]` or `None`
        """

        return self._omnibor_ids

produces XML (as expected):
<omniborId>gitoid:blob:sha1:261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64</omniborId>
however this fails deserialization:
ValueError: omnibor_id is not a known Property for cyclonedx.model.component.Component

Upon investigation, this issue is caused by a difference in approach to handling custom field names and the CurrentFormatter.
Example below are with and the default formatter CamelCasePropertyNameFormatter.
The expectation is for the serialized version to use the custom name stockId.
Example 1
    @property
    @serializable.view(SchemaVersion4)
    @serializable.xml_array(XmlArraySerializationType.FLAT, 'stockId')
    @serializable.xml_sequence(21)
    def stock_ids(self) -> Set[StockId]:
        return self._stock_ids

❌ Serialization produces: <stockId>stock-id-1</stockId> as desired, but deserialization fails with:
ValueError: stock_id is not a known Property for tests.model.Book

Example 2
    @property
    @serializable.view(SchemaVersion4)
    @serializable.xml_array(XmlArraySerializationType.FLAT, 'stock_id')
    @serializable.xml_sequence(21)
    def stock_ids(self) -> Set[StockId]:
        return self._stock_ids

❌  Serialization produces: <stock_id>stock-id-1</stock_id>, but this DOES deserialize successfully.
Example 3
Attempting to force custom XML name
    @property
    @serializable.view(SchemaVersion4)
    @serializable.xml_array(XmlArraySerializationType.FLAT, 'stock_id')
    @serializable.xml_name('stockId')
    @serializable.xml_sequence(21)
    def stock_ids(self) -> Set[StockId]:
        return self._stock_ids

❌ Custom name is not used during serialization - output is <stock_id>..., but this DOES deserialize successfully (as per Example 2)

Expectation is that Example 1 should work here, with Examples 2 and 3 being curious attempts only.


Handle multiple databases with tbl()

This PR fixes https://github.com/rstudio/sparklyr/issues/144
I guess there is more appropriate way to handle sql_escape_ident(), but it seems to be used for escaping table names, so I use tbl_quote_name() instead of sql_quote(). If you have better ideas, feel free to comment on it.
I also add src_dtabases(), which is similar function as src_tbls() to get database list.

@chezou looks good, thanks!

@chezou had to partially revert this PR with https://github.com/rstudio/sparklyr/pull/500.
Run this code with/without the fix:
sc <- spark_connect(master = "local")
iris_tbl <- copy_to(sc, iris)
iris_tbl %>% mutate(x = Species)

and notice that columns are missing. I don't have a clear suggestion on how to improve this PR, but if you mail me with details, I can try to suggest something sensible. I'm on javier @ rstudio.com.

OK. I didn't aware that point. I'll try to dig it.


KEP-4540: CPUManager strict-cpu-reservation policy option documentation

Description
KEP-4540: CPUManager strict-cpu-reservation policy option documentation
Issue
https://github.com/kubernetes/enhancements/issues/4540
Kubelet PR:
https://github.com/kubernetes/kubernetes/pull/127483
Closes: #

Hi @ffromani, thank you for the review. I have updated the PR per your comment. Please check.

Hi @chanieljdan, can you please review this PR? let me know if any change is needed? or approve it. Thank you.

Docs and Technical LGTMs have been received
/approve


Clarify Reason record literal syntax

Also warn about code example tables in readme.

Hummmm I'm not sure this is the best intro example for record. It's a bit up-front about a case that newcomers won't encounter just yet. Maybe move it after the description and do "If the record you're trying to access is somewhere else, then ..."?

@chenglou I see what you mean. Let me try out your suggestion.

The third example ({ Module.field1; field2; ...}) is probably worth highlighting first as it is the safest example.  The other two perform a local open of the parent module which affects the environment beyond exposing the record field names.

Bump :-)

Looks good now. Thanks!


Previewing website from local directory fails to load CSS

When viewing my site using hugo server -D and loading http://localhost:1313, everything appears to work correctly. However, if I generate static webpages using hugo -D, and the attempt to open public/index.html in my browser, it appears that none of the CSS is loaded.
I have to admit that I'm new to using Hugo, the theme, and also web dev, so I'm assuming this is the best place to ask the question.
What follows is my config.toml which is basically a direct copy of the one you provided in the example site (although I may be missing something):
baseURL = "http://localhost:1313"
languageCode = "en-us"
DefaultContentLanguage = "en"
title = "Random Thoughts"
theme = "anatole"
summarylength = 10
enableEmoji = true
enableRobotsTXT = true

# Enable Disqus
# disqusShortname = ""

# Google Analytics
# googleAnalytics = "UA-123-45"

[params]
title = "Random Thoughts"
author = "Gregory Gelfond"
description = "Computer scientist, philosopher, lifelong learner"
profilePicture = "images/hobbes.jpg"
keywords = ""
favicon = "favicons/"
customCss = []
customJs = []
mainSections = ["post"]
images = ["images/explorers.jpg"]

## Math settings
[params.math]
enable = true  # options: true, false.
use = "mathjax"  # options: "katex", "mathjax".

## Social links
[[params.socialIcons]]
icon = "fa-linkedin"
title = "Linkedin"
url = "https://www.linkedin.com"

[[params.socialIcons]]
icon = "fa-github"
title = "GitHub"
url = "https://github.com/Gregory-Gelfond"

[[params.socialIcons]]
icon = "fa-envelope"
title = "e-mail"
url =<EMAIL_ADDRESS>
## Menu items

[menu]

  [[menu.main]]
  name = "Home"
  identifier = "home"
  weight = 100
  url = "/"

  [[menu.main]]
  name = "Posts"
  weight = 200
  identifier = "posts"
  url = "/post/"

  [[menu.main]]
  name = "About"
  weight = 300
  identifier = "about"
  url = "/about/"

Thanks for your question, and for providing some valuable hints.
The reason why you are not able to see the css by simply opening the index.thml is because, it basically links to http://localhost:1313/css/style.min.... However, at the point of opening the file your webserver (Hugo) was not running anymore and therefore couldn't server the css to your browser.
For local development, you'll, therefore, must use the Hugo server or any other webserver. Once deployed to an always online web server, it's sufficient to deploy the public directory with a correctly configured baseURL.
Hope that makes things a bit clearer.

Thank you very much for the clarification.
On Aug 19, 2020, 5:47 AM -0500, Alexander Bilz<EMAIL_ADDRESS>wrote:
Thanks for your question, and for providing some valuable hints.
The reason why you are not able to see the css by simply opening the index.thml is because, it basically links to http://localhost:1313/css/style.minhttps://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A1313_css_style.min&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=hLDlTRxSe6uc8J-voA79NLz4ycd0Zj49_1Jn-MqewPg&m=VI_WufanwnOJChjk6TztRLcN231t_yJsTpw3EPjR5_k&s=zoio7hBOYskhcHFIEe0GVtS9U8jB4EdIRdZAfvSzTE4&e=.... However, at the point of opening the file your webserver (Hugo) was not running anymore and therefore couldn't server the css to your browser.
For local development, you'll, therefore, must use the Hugo server or any other webserver. Once deployed to an always online web server, it's sufficient to deploy the public directory with a correctly configured baseURL.
Hope that makes things a bit clearer.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_lxndrblz_anatole_issues_58-23issuecomment-2D676131159&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=hLDlTRxSe6uc8J-voA79NLz4ycd0Zj49_1Jn-MqewPg&m=VI_WufanwnOJChjk6TztRLcN231t_yJsTpw3EPjR5_k&s=_nyhiISF6Lyg3lauPofJEKHRTH-k5zAn8RhK9HIf5HE&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AQGTRAPLQE37ASEV7F5QXTLSBOUUZANCNFSM4QEZHSCA&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=hLDlTRxSe6uc8J-voA79NLz4ycd0Zj49_1Jn-MqewPg&m=VI_WufanwnOJChjk6TztRLcN231t_yJsTpw3EPjR5_k&s=JJtL_xVAZEF5DHl0wxJGbebLMbGS2GA4s6M-aUMOcvc&e=.


Help build and plugin authors discover where a task is realized

We should implement some initial diagnostics - something simple - to help plugin and build authors figure out which tasks are being realized, so they can rework the usage to make it lazy.
We might, for example, report on any tasks that are realized that are not then executed.

@adammurdoch @big-guy Does the GE feature around lazy task API is good enough here?


failed prop type invalid props.style key color supplied to pickerNB

I am getting below warning:
failed prop type invalid props.style key color supplied to pickerNB
My Code:
<Item picker style={{marginLeft:15, marginRight: 15, borderBottomWidth:0}}>
   <Label style={{color: '#AFAEB3'}}>Title</Label>
   <Picker
           mode="dropdown"
            iosIcon={<Icon name="arrow-down-circle" style={{color:'#AFAEB3', marginRight: 10}} />}
            itemStyle={{color:'white'}}
            placeholder="Select your Title"
            placeholderStyle={{ color: "#AFAEB3" }}
            placeholderIconColor="#AFAEB3"
            selectedValue={this.state.personTitle}
            textStyle={{color: '#AFAEB3'}}

   >
             <Picker.Item label="Mr." value="Mr. " />
             <Picker.Item label="Mrs." value="Mrs. " />
             <Picker.Item label="Ms." value="Ms. " />
   </Picker>
</Item>

My Problem
My app have black background color. I want to change the color of selected value to white. by default it is black (i guess).
above code is working as expected in iOS but not in android. In android, the select value cannot be seen as my background color is black too.
if I add  style={{color: '#AFAEB3'}} to < Picker >, the selected value is visible with given color in android but iOS generates warning: failed prop type invalid props.style key color supplied to pickerNB
Environment:
react-native : "0.60.5"
react: "16.8.6"
nativebase: "^2.13.8"

Hi @ShuKTan , instead of using style in picker, please use note. <Picker note ... ></Picker> as per the Native-Base Documentation

Thank you @hanykumar for your quick reply. I will surly give it a try.


New check: Check VFs do not contain duplicated instances

It seems there's nothing stopping a VF from having duplicate instances.

We should fail a font if it contains duplicates.
Found in https://github.com/google/fonts/pull/2537#issuecomment-661049627

I wanted to assign @yanone to this issue but I was not able to. Not sure why.


Add support for devices with different camera positions

I was wondering if it would be possible to maybe support devices that have the camera on the top left instead of the top center of the screen?

That and foldables that have the camera in a different location based on if it's open or not.

This would be nice, a lot of smartphones have the camera in the top left corner.

It would be awesome and helpful if someone shared a idea of how it should look like in cameras near horizontal edges of screen

can add the option of width of overly when shrieked.

can add the option of width of overly when shrieked.

Its already there

perhaps the shrinked overlay for those devices have the icons be on one side of the island? although that could block out the built in clock or the built in notification icons


Give distinct avatars to demo users

Colorful images instead of anonymous icon. A generic solution would be generating an identicon anytime a user has no avatar.

@nagareproject are you ok with identicons for users without avatar?


Updated DST APIs

Description
Updated the DST APIs with the new proposed changes and added API for trainee login.
Changes

Added Trainee login and register APIs
Updated Principal and Trainee login and register APIs
Added Exception handling and Data validation checks on input data
Updated Throttle policies for DST APIs

How to test
PFA Test Scenario Sheet with Postman Collection here
Please consider using the closing keyword if the pull request is proposed to
fix an issue already created in the repository
(https://help.github.com/articles/closing-issues-using-keywords/)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 66 (9.09%)  changed or added relevant lines in 3 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.7%) to 25.624%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/auth/auth-jwt.guard.ts
0
1
0.0%

src/dst/dst.controller.ts
2
13
15.38%

src/dst/dst.service.ts
4
52
7.69%

Files with Coverage Reduction
New Missed Lines
%

src/dst/dst.controller.ts
1
19.57%

src/dst/dst.service.ts
4
8.09%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
337

Relevant Lines:
1283

💛  - Coveralls


Update task-set-5.md: Self-assign topic number 13

I have written an article about The Fetch API and it is ready for review.

@sb7896 Please don't include merge commits in your PR. Sync and rebase your repo with the following git commands. Assuming you have the remote name upstream
$ git fetch upstream
$ git rebase upstream/master

And then you can do a force push to your fork and you're good to go

I am using this command:
"git pull -rebase upstream master" isn't this the same thing. Also, how do
I do a force push? Must I do it on my existing branch.  Thanks!
On Tue, Apr 24, 2018 at 10:35 PM, Ashwani Gupta<EMAIL_ADDRESS>wrote:

@sb7896 https://github.com/sb7896 Please don't include merge commits in
your PR. Sync and rebase your repo with the following git commands.
Assuming you have the remote name upstream
$ git fetch upstream
$ git rebase upstream/master
And then you can do a force push to your fork and you're good to go
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danivijay/gucs-wiki/pull/37#issuecomment-384007870,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVSnls5c6dpn5XyMNJlVl3qmmz6AUMQpks5tr1trgaJpZM4TiBrH
.

@sb7896 I can see prabha has already taken it. You can choose any other task from the list


502 Bad Gateway in Netbox 3.7.0.

NetBox version
3.7.0
Describe the bug
When netbox-bgp plugin is active, I get 502 Bad Gateway. When I disable the netbox-bgp plugin in the configuration.py file it works. I have other plugins that works fine.
Have tried to uninstall the plugin and install it again, same problem.
To Reproduce
Steps to reproduce the behavior:
To reproduce this for me I just enable the plugin.
Expected behavior
To not get a 502 Bad Gateway
Screenshots

I think that's the same issue as  #171 and PR #170  should solve it

Please can someone update the repo as per PR#170 to include version 3.7 so we can run this in a Docker setup as this is causing our Netbox upgrade to 3.7 to fail each time as Docker will pull the latest version from github when building.

Seeing as the only change in #170 is increasing max_version in the plugin, you can override it manually.
We are currently overriding the max_version after install in our Dockerfile:
RUN sed -i 's/3.6.99/3.7.99/g' /opt/netbox/venv/lib/python3.11/site-packages/netbox_bgp/__init__.py
It's not pretty, but it works as a temporary workaroun as we wait for a new version in PyPI with official support.

Thanks for the response. The only issue is the netbox container won't load with the current version as the version checking that is in place after upgrading netbox to version 3.7 won't allow the container to start.
Is this plugin downloaded and installed each time the container is spun up? We were looking to see if we could update the package locally, but it seems to be changed back to the original each time the container is spun up and we can't see anything on the Docker host where this might be stored.
Thanks for any assistance.

Yes, you have to do the modification before starting the container.
We extend the NetBox docker image, so we do it in the Dockerfile for our custom build.
How to do this depends on your setup, if your are unsure how to achieve it I would recommend waiting for an official release. I just provided it as an option, if you feel comfortable poking around, I wouldn't really recommend it.


Windows installer: Warn before nuking the entire D installation

Currently, the uninstaller will nuke the entire D installation directory, including any potential user files or files edited by the user.
Ideally we should only delete the files that we have installed, if they have not been modified.
For now, at least, warn users that we are going to delete everything.

This needs testing.

I'm not a huge fan of modal yes/no dialogs. They usually only achieve to annoy users, who then click yes/no without reading the message.
You might also have an opinion on a similar topic in dub.
https://github.com/D-Programming-Language/dub/pull/377#issuecomment-80063787

Surely you're not saying that silently deleting a directory recursively without a confirmation is better?
I'm aware that this is not a perfect solution, but it is better than nothing.

You might also have an opinion on a similar topic in dub.

We need to be extremely careful about deleting arbitrary files. Most people do not keep backups, and many people are not very organized in where they might keep files. It is entirely imaginable that someone would start editing things in directories that should only be maintained by other programs, because they found those files in the compiler's error messages or for grepping for an identifier.
So, yeah, I would side with Sönke here. Do not delete anything unless you're sure you've created it. I took a similar paranoid approach when I implemented digger uninstall - it will refuse to delete anything if the MD5 hashes of files don't match with those that have been installed.

There is a macro that will only delete files the installer put there but it doesn't work with the recursive inclusion we do and wouldn't recognize edited files. To get that we'd need to pregenerate an NSIS include file with a list of files to install as well generate and store a hash of all the files and check those during uninstallation. Kind of a lot of work for a pretty tiny minority of users (though that doesn't preclude doing it since deleting files is serious).
My ideal solution (and one that is a lot more idiomatic on Windows in my opinion) would be to just make it so users never need to edit/add to the installation directory (dmd could find things in %APPDATA%\D2). @CyberShadow, what kind of files do you add and change to your installation? Is there any way at all to do what you are doing with an sc.ini that includes %APPDATA%?
I'm not opposed to this pull request as a stopgap but I but we should get a better solution in place quickly.

My ideal solution (and one that is a lot more idiomatic on Windows in my opinion) would be to just make it so users never need to edit/add to the installation directory (dmd could find things in %APPDATA%\D2).

As per my previous comment, this is futile. We should not be thinking in that direction at all.

@CyberShadow, what kind of files do you add and change to your installation? Is there any way at all to do what you are doing with an sc.ini that includes %APPDATA%?

This does not concern me personally, but as I've mentioned in the bug report, I got complaints from two D users to whom I've recommended D.

Kind of a lot of work for a pretty tiny minority of users

Considering that I don't exactly evangelize D full-time, this does not line up with the theory that only a small % of users are affected by this.

To get that we'd need to pregenerate an NSIS include file with a list of files to install as well generate and store a hash of all the files and check those during uninstallation.

An alternative would be to write a D program which handles actual installation/uninstallation of files (and only use NSIS for the GUI wrapper).

Is this established behavior in .msi based installers?
Filed a bug report 18497 – windows uninstaller has an annoying really delete pop-up.
Relying on custom D tools to install D sounds like an idea with it's own problems. Also adding custom tools to extend the already arcane NSIS sounds questionable from a complexity/debug perspective.


Update init.py with conversion of deprecated async_get_registry to async_get

async_get_registry is deprecated and was removed in 2023.5.0.  Converted use of the deprecated function to the replacement async_get

You also need to remove the await on this line
https://github.com/nguilbault/homeassistant_ecowitt/blob/580daadfa84e4206e2f1207d028e504c5a143b0f/custom_components/ecowitt/__init__.py#L421

good catch - that's what I get for assuming that a function named async_get is actually async.

Thank you! Fixed my problem after upgrading to 2023.5. Although it looks like this project is dead at this point and there is an official Ecowitt integration these days, so I guess I'll be migrating soon.

@nguilbault Help a lot, thx. @mattdevo1 official Ecowitt integration is cloud based :-(

@nguilbault Help a lot, thx. @mattdevo1 official Ecowitt integration is cloud based :-(

The official integration is Local Push (not cloud based) - https://www.home-assistant.io/integrations/ecowitt/
Your Ecowitt hub pushes data to Home Assistant locally. There is no cloud involved.

@nguilbault Help a lot, thx. @mattdevo1 official Ecowitt integration is cloud based :-(

The official integration is Local Push (not cloud based) - https://www.home-assistant.io/integrations/ecowitt/
Your Ecowitt hub pushes data to Home Assistant locally. There is no cloud involved.

Sorry, my fault. thx

This repo is dead. Has anyone a good replacement or working fork ?

This repo is dead. Has anyone a good replacement or working fork ?

Have you tried the official integration?
https://www.home-assistant.io/integrations/ecowitt/
I haven't migrated yet. Would be interested to hear if it works for you.

good catch - that's what I get for assuming that a function named async_get is actually async.

Thanks guys - great fix!


Debugging with pdb is awfully annoying and the console freeze

From<EMAIL_ADDRESS>on 2014-08-22T01:44:00Z
Spyder Version:  2.3.0beta2
Python Version:  3.3.5
Qt Version    :  4.8.4, PyQt4 (API v2) 4.9.6 on Windows
pyflakes >=0.6.0:  None (OK)
pep8 >=0.6      :  None (NOK)
IPython >=0.13  :  2.0.0 (OK)
rope >=0.9.2    :  0.9.4 (OK)
sphinx >=0.6.6  :  1.2.2 (OK)
matplotlib >=1.0:  1.3.1 (OK)
sympy >=0.7.0   :  0.7.5 (OK)
pylint >=0.25   :  1.1.0 (OK)
What steps will reproduce the problem?

I run a file in debug mode
It stops in a breakpoint
I try to evaluate something in the pdb command line
IPython freezes
I need to restart the kernel.

What is the expected output? What do you see instead?
I would like to be able to evaluate something in the command line while in debug mode
Please provide any additional information below
. I read there is winpdb alternative but F7 doesn't do anything.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1943

From ccordoba12 on 2014-08-23T13:58:54Z
Please update to the final 2.3.0 release and report if the problem is still present.
Labels: Cat-Debugger

From<EMAIL_ADDRESS>on 2014-10-22T09:20:09Z
I updated to 2.3.1 and installed pip install winpdb. F7 doesn't do anything

From ccordoba12 on 2014-11-18T17:25:44Z
You need to install winpdb for F7 to work. However, winpdb is not available in Python 3.
Status: Duplicate
Labels: MS-v2.4
Mergedinto: 2020


BUG: action generate-reads is missing the pysam dependency

Describe the bug
When I try to run the generate-reads action, I get an error stating that the pysam module is missing.
To Reproduce
Steps to reproduce the behavior:

Create and activate the environment:mamba env create -n q2-shotgun --file https://data.qiime2.org/distro/shotgun/qiime2-shotgun-2023.9-py38-linux-conda.yml
conda activate q2-shotgun
qiime dev refresh-cache

Execute the commandqiime assembly generate-reads \
    --i-genomes genomes.qza \
    --p-sample-names sample1 sample2 sample3 sample4 \
    --p-n-reads 2000000 \
    --p-abundance uniform \
    --p-n-genomes 5 \
    --p-cpus 10 \
    --output-dir reads \
    --verbose

where genomes.qza is any FeatureData[Sequence] artifact.
See error:Template genome sequences were provided - "n-genomes-ncbi" and "ncbi" parameters will be ignored.
Running external command line application(s). This may print messages to stdout and/or stderr.
The command(s) being run are below. These commands cannot be manually re-run as they will depend on temporary files that no longer exist.

Command: iss generate --compress --genomes /scratch/mziemski/tmp/qiime2/mziemski/data/0619c364-72ba-492a-9d8f-7043e825bf15/data/dna-sequences.fasta --n_genomes 5 --abundance uniform --n_reads 2000000 --mode kde --model HiSeq --cpus 10 --output /scratch/mziemski/tmp/tmpowd79ql2/sample1_00_L001

Traceback (most recent call last):
  File "/home/mziemski/miniconda3/envs/q2-shotgun-tutorial/bin/iss", line 6, in <module>
    from iss.app import main
  File "/home/mziemski/miniconda3/envs/q2-shotgun-tutorial/lib/python3.8/site-packages/iss/app.py", line 4, in <module>
    from iss import bam
  File "/home/mziemski/miniconda3/envs/q2-shotgun-tutorial/lib/python3.8/site-packages/iss/bam.py", line 14, in <module>
    import pysam
ModuleNotFoundError: No module named 'pysam'

Expected behavior
The action runs without errors.
Please complete the following information:

OS: CentOS
QIIME 2 version: 2023.9

Additional context
This happened on both, Linux and macOS. I used the 2023.9 distro - for some reason the pysam package is not included there. Before, when I used to install q2-assembly "directly" from our conda channel, it seemed to work all fine. @lizgehret, @ebolyen would you have an idea why that could be happening? 🤔

I received the same issue this morning. I also received this error:

Plugin error from assembly:
An error was encountered while running InSilicoSeq, (return code 1), please inspect stdout and stderr to learn more.
See above for debug info.

I assume the InSilicoSeq depends on pysam? I saw the pysam issue too.

Thanks for confirming @mikerobeson! Yes, it does depend on pysam but it also has it in the list of dependencies in its bioconda recipe so it should be included in the environment I guess... It used to be the case at least when I was installing it before, not using the distro route 😞

Looks like we need to add pysam to the recipe. I have no idea why the original tool isn't pulling that in, but I expect it's a particularly convoluted solve to get the rest of the distro working...


Provide more convenient access to a node's data hash.

For example, we could implement the index method so you can do node["title"] instead of node.data["title"]. Alternatively, add some magic so we can do node.data.title?

Pull Request: #21

Fixed in 9fb7aabb14f1fa413add260d855d00660413eda9


🚀 Feature: Add a --help CLI option

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
Now that npx template-typescript-node-package is a supported -even recommended- use case, folks will want to be able to run npx template-typescript-node-package --help. Let's have it print out, for each of the available CLI options, what they do. Also the package version
Vaguely:
npx template-typescript-node-package --help

✨ template-typescript-node-package v1.2.3 ✨

A quickstart-friendly TypeScript template with comprehensive formatting, linting, releases, testing, and other great tooling built-in.

--base: Whether to scaffold the repository with:
  - `everything` that comes with the template _(recommended)_
  - `minimum` amounts of tooling, essentially opting out of everything
  - `prompt` for which portions to exclude
--create-repository: Whether to create a corresponding repository on github.com (if it doesn't yet exist)
...

👉 See https://github.com/JoshuaKGoldberg/template-typescript-node-package for more documentation.

Additional Info
See https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/77c10eb9d8dd384ae8e6417d26b92211185b6487/docs/Options.md for descriptions of existing CLI flags. You can directly copy & paste from there.
I'd also suggest running parseArgs to make sure Options.md isn't missing any options (it's entirely possible I forgot about one...).
Arguments are first parsed here: https://github.com/JoshuaKGoldberg/template-typescript-node-package/blob/0307eba66fe59c3a89a189352fd4797aad37736f/src/bin/index.ts#L34-L40
I think you'll want to add a --help arg there with a -h shorthand. See https://nodejs.org/api/util.html#utilparseargsconfig for examples of short.

I'll have a go at this!


Issue 647 - Adding type suport

I added some tests to the pull request for type support

Manually merged in https://github.com/mongodb/morphia/commit/04c76cc4e74f003397c5c63212f976d9bb48d883


operator: remove duplicate config creation

This commit remove duplicate invocation
k8sutil.InClusterConfig() in operator main
Signed-off-by: grapebaba<EMAIL_ADDRESS>

@GrapeBaBa What is the problem with invoking k8sutil.InClusterConfig() twice?

Close this PR as it is not a issue.


SSL redirect for Dashboard Ingress doesn't create

What is the bug?
When you put in relevant annotations for an AWS ALB that would on other helm charts create a path redirect this doesn't occur for Dashboards Ingress
How can one reproduce the bug?
Helm Chart values used
    ingress:
      dashboards:
        enabled: true
        annotations:
          alb.ingress.kubernetes.io/scheme: internal
          alb.ingress.kubernetes.io/target-type: ip
          alb.ingress.kubernetes.io/group.name: "eks-opensearch-alb"
          alb.ingress.kubernetes.io/group.order: "1"
          alb.ingress.kubernetes.io/healthcheck-path: /_cluster/health
          alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
          alb.ingress.kubernetes.io/ssl-policy: "ELBSecurityPolicy-2016-08"
          alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:ap-southeast-2:<AWSAccount>:certificate/<AWSCertificate>
          alb.ingress.kubernetes.io/actions.ssl-redirect: |
            {"Type": "redirect", "RedirectConfig": {"Protocol": "HTTPS", "Port": "443", "Host": "#{host}", "Path": "/#{path}", "Query": "#{query}", "StatusCode": "HTTP_301"}}
          alb.ingress.kubernetes.io/action.use-ssl-redirect: ssl-redirect  # Ensure correct action
        className: alb
        hosts:
          - host: os1-dashboard.mydomain.com
            paths:
              - path: /
                pathType: Prefix
                backend:
                  service:
                    name: opensearch-dashboard
                    port:
                      number: 5601
              - path: /
                pathType: Prefix
                backend:
                  service:
                    name: ssl-redirect
                    port:
                      name: use-annotation

What is the expected behavior?
Have a redirect rule for port 80 to 443 for domain "os1-dashboard.mydomain.com"
What i get is 2 listener rules for port 80 to the AWS Target Group
What is your host/environment?
AWS EKS 1.31
opensearch-operator 2.7.0
opensearch-cluster 3.0.0
opensearch 2.11.1
Do you have any screenshots?

Do you have any additional context?

Hi @hartnickaus.
Can you please verify if the annotations are added to the ingress object (kubectl describe ingress <clustername>-dashboards)?
Also, I imagine its just a copy-paste error but values for the ingress must be defined under cluster.ingress.dashboards (in your description the cluster level is missing).

Hi @swoehrl-mw
yes the annotations are added to the ingress object, and yes it is a copy paste error for values in above, but i do define the values under "cluster.ingress.dashboards"
`kubectl describe ingress -n opensearch opensearch-dashboard
Name:             opensearch-dashboards
Labels:           app.kubernetes.io/managed-by=Helm
app.kubernetes.io/version=2.7.0
argocd.argoproj.io/instance=opensearch-os1
helm.sh/chart=opensearch-cluster-3.0.0
Namespace:        opensearch
Address:          internal-k8s-eksopensearchalb-nn-nn.ap-southeast-2.elb.amazonaws.com
Ingress Class:    alb
Default backend:
Rules:
Host                              Path  Backends

os1-dashboard.mydomain.com
/   opensearch-dashboard:5601 (<IP_ADDRESS>:5601)
/   opensearch-dashboard:5601 (<IP_ADDRESS>:5601)
Annotations:                        alb.ingress.kubernetes.io/action.use-ssl-redirect: ssl-redirect
alb.ingress.kubernetes.io/actions.ssl-redirect:
{"Type": "redirect", "RedirectConfig": {"Protocol": "HTTPS", "Port": "443", "Host": "#{host}", "Path": "/#{path}", "Query": "#{query}", "S...
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:ap-southeast-2::certificate/
alb.ingress.kubernetes.io/group.name: eks-opensearch-alb
alb.ingress.kubernetes.io/group.order: 1
alb.ingress.kubernetes.io/healthcheck-path: /_cluster/health
alb.ingress.kubernetes.io/listen-ports: [{"HTTP": 80}, {"HTTPS": 443}]
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/ssl-policy: ELBSecurityPolicy-2016-08
alb.ingress.kubernetes.io/target-type: ip
Events:                             `
You will notice that it creates two paths exactly the same

@hartnickaus It creates the same path twice because the cluster chart does not support specifying custom backends (https://github.com/opensearch-project/opensearch-k8s-operator/blob/main/charts/opensearch-cluster/templates/ingress.yaml#L113). The backends for the paths you specify in the values are ignored and the dashboards service is always used (only host, path and pathType are used).
Please define the ingress as a separate manifest outside the helm chart to support your use case. Custom backends for the ingress is out-of-scope for the chart.


[BUG] Heudiconv invocation fix

Closes #312

Changes proposed in this pull request:

Fixed CLI argument --dicom_dir_template to include sub-{subject} as wildcard.

Checklist (For reviewers)
This section is for the PR reviewer

[x] PR has an interpretable title with a prefix (refer to NumPy Development Guide)
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Tests pass
[x] Checks pass

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

I don't think it is.. heudiconv expects both without the prefix. We are passing participant_id and session (as opposed to session_id to heudiconv call.


Contact updates made in Managed HH do not populate Account Related List without refresh

Login to a lightning org

create a household account
go to manage HH
add a contact from the manage HH page
save
notice that the related list for the household does not update
refresh the page
then the related list updates

expected behavior is to see the related list update at step 5, with no need for refresh

Included in production release rel/3.120


LOGISTIC REGRESSION: Sign error during the introducing the logistic loss

The problematic lines are on slide 6:

L(y, f(x)) = −y log[π(x)] − (1 − y) log[1 − π(x)]
= yθ^Tx − log[1 + exp(θ^Tx)]

In the second lines the sign is not correct, it should be:

L(y, f(x)) = −y log[π(x)] − (1 − y) log[1 − π(x)]
= -yθ^Tx + log[1 + exp(θ^Tx)]

Has this been done already? @berndbischl is currently working on the slides.

Can this be closed now? In the new slides, the logistic loss is only stated, but not derived.

Closing this as it  is no longer relevant.


Deploy to PyPi

Could the new version be deployed to PyPi so we can install it via pip without interacting with the repository?

Any chance 0.3.0 is still coming?

I no longer have access to deploy to PyPi since I left F4S @przemub might be able to help you now.


Add royalties to TxnLog

Done in https://github.com/macterra/artx-market/commit/a7a31197874f4ad2782737fdb8645a9e14ac2d66


NTR: substrate mycelium formation

'Substrate mycelium formation' is an additional specific term, along with 'aerial mycelium formation' (#12659) and 'acquisition of mycelium reproductive competence'  (#12660) that can be used to replace the ambiguous term  'mycelium development' (#12613) which has been proposed for obsoletion.
NTR: 'substrate mycelium formation'
This process of growth occurs in some fungal species that grow as network of invasive thread-like filaments formed from chains of attached cells within a solid or semi-solid substrate.

Hi @dianeoinglis ,
I added as follows, please see below for questions:
[Term]
+id: GO:0097738
+name: substrate mycelium formation
+namespace: biological_process
+def: "The process by which, in some fungal species, hyphae grow as a network of invasive thread-like filaments formed from chains of attached cells within a solid or semi-solid substrate." [GOC:di]
+is_a: GO:0019954 ! asexual reproduction
+is_a: GO:0048856 ! anatomical structure development
+relationship: only_in_taxon NCBITaxon_Union:0000020 ! Fungi or Bacteria
Questions:

[ ] Please provide a PMID or other reference

[ ] Are both is_a parents correct? In particular, should ‘substrate mycelium formation’ be is_a ‘anatomical structure formation involved in morphogenesis’ instead of ‘anatomical structure development’?

[ ] Is the taxon rule ok as is, or should it be only in Fungi? Based on your suggested definition.

Thanks.

@dianeoinglis
Lastly, when you create the FAO term for ‘substrate mycelium’, please post its ID here, and

[ ] I will add a logical axiom to GO:0097738 ‘substrate mycelium formation’.

PMID: 10021365 for  ‘substrate mycelium formation’
Beneath seems all correct:
+is_a: GO:0019954 ! asexual reproduction
+is_a: GO:0048856 ! anatomical structure development
+relationship: only_in_taxon NCBITaxon_Union:0000020 ! Fungi or Bacteria

Thanks @fusarium

Wrapping up this ticket, the only action item left to do is

[ ] when a FAO term is created for ‘substrate mycelium’, use its ID to add a logical axiom to GO:0097738 ‘substrate mycelium formation’.

Hi @ukemi,
I’ve completed my tasks for this ticket, and the only thing left to do (low priority) is to add a logical definition if/when a FAO term is created (details above). Therefore I will now unassign myself from this ticket. However, since unassigned tickets tend to fall through the cracks when they’re not recent, I will assign it to you (as main ontology editor at this stage), and you can then hand it over to others if and as appropriate. Thanks.

I still don't see this term in the FAO. @dianeoinglis do you know when it will be added?

The FAO will undergo a major revision as soon as some basic numbering issues are resolved. Hopefully before end of March 2018.
Thanks!

@mah11 can this term added to FAO ?
Thanks, Pascale

it's on the to-do list ...
https://github.com/obophenotype/fungal-anatomy-ontology/issues/12


Add some comments and get rid of dead code

Leo, I'm confused by your "get rid of dead code" changes. I started to revert it, but realized asking is probably a better idea than acting unilaterally lol. Why do you think we don't use megatron/model/distributed.py? It gets called by the main training loop!

Can someone please review


./launchClient.sh crashes during RunClient portion

Previously, I had a working version of Minecraft. Since then, I have upgraded cuda and done several standard ubuntu updates suggested by the software center.
I have attached the output of ./launchClient.sh, ran with debug and stacktrace.
error.txt
I have tried to reinstall java several times, pulled a new malmo folder, and reinstall gradle.

@rohanpaleja27 you'll need to downgrade your Java version - right now you have 1.8.0_242, which doesn't work - we had to manually install version 1.8.0_232 to get it to work on Ubuntu.

Thanks for the reply @adarshp
How did you manually go about installing version 1.8.0_232?
I am using
sudo apt-get install openjdk-8-jdk=1.8.0_232
and finding that the version is not found.


Provide a .gitignore template

A minor suggestion to provide/generate a default .gitignore template.

Should include the tmp/_output line in it to avoid committing binaries

Fixed in #232


arch/risc-v: Move csr.h to common place

Summary
since CSR definition is same for 32bit and 64bit arch
Impact
Testing

LGTM


[Suggestion] Option to disable automatic scrolling

Whenever I type a command the response scrolls to reveal the last rows, so I have to scroll up again to read the whole response. An option to disable the automatic Scrolling would beparticularly useful when responses are longer than the screen height, or when the font is set to a larger size for accessibility reasons.

It's unfortunately not that simple. Androids options for scrollpanels
leave much to be desired for and not scrolling at all if the text
doesn't fit would get me a lot of "bug" reports and poor ratings, I'm
not too keen on getting.
Am Mittwoch, den 04.01.2017, 01:04 -0800 schrieb Andrea Bergamasco:

Whenever I type a command the response scrolls to reveal the last
rows, so I have to scroll up again to read the whole response. An
option to disable the automatic Scrolling would beparticularly useful
when responses are longer than the screen height, or when the font is
set to a larger size for accessibility reasons.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Well I was thinking about an option in the settings screen, off by default to be compatible with the current ux

Are you basically asking for a "MORE" prompt, for when responses are bigger than 1 screen?

Yes that would be great too
Il mar 28 feb 2017 12:58 Wake Reality<EMAIL_ADDRESS>ha scritto:

Are you basically asking for a "MORE" prompt, for when responses are
bigger than 1 screen?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/onyxbits/TextFiction/issues/19#issuecomment-283020731,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABkFTeY4EueEq7xpokD77OHcJiui7Sgjks5rhAvagaJpZM4LaaiP
.


#3260 - CAS Integration 3A - Create new Supplier and Site - Process in Parallel

Adjusted supplier's processes to happen in parallel.
Reduced the amount of allowed parallel processes to 2 to 4.

Adjusted supplier's processes to happen in parallel.
Reduced the amount of allowed parallel processes to 2 to 4.

" Increased the amount of allowed parallel processes to 2 to 4."

Adjusted supplier's processes to happen in parallel.
Reduced the amount of allowed parallel processes to 2 to 4.

" Increased the amount of allowed parallel processes from 2 to 4."

May comment was not clear, I meant that the default value was decreased from the "os.cores" amount (potentially 32 on Openshift) to 2 or 4 😉

Thank you very much for making the change. minor comments and a question.


Locale Selector: Resize Text - Tab/shift tab navigation in 200% zoom text (Location and languages page)

Issue :- Doing Tab/shift tab navigation focus is going to the element but focused element is not visible to the user.
Expected :- The page should automatically scrolled up/down once the interactive element receives the tab focus so that the element which receives the tab focus should visible to the user clearly.

@chetankan
I've recorded this video testing the issue, and it seems to be looking fine
https://ibm.ent.box.com/file/649714585309
Can you tell me if it's still occurring to you?
Thanks!

@chetankan @Praveen-sr @RobertaJHahn
https://github.com/carbon-design-system/ibm-dotcom-library/pull/2174


ARC upgrade error

The app errored during latest upgrade.
Logs
Initializing upgrade
[1016] Checking if upgrade is required.
[1016] Deleting new databases if exists.
Maximum IPC message size exceeded.
UnknownError: Maximum IPC message size exceeded.

Versions
App: <IP_ADDRESS>5-stable
Chrome: 54.0.2840.71
Platform: Windows (7)

Hi, Thank you for the issue report. I'm on it right now and expect fix very soon.
The app will work with old setup. Sorry for the upgrade screen enabling itself every time when you open the app. I'll fix that too.
And I'm closing it as a duplicate of #830. But thank you again for the report.
Also, it is fixed and the updated version is already on Chrome Web Store. You should receive an update very soon.


Updated the VisualName values for new visuals

Added missing values to the 'VisualName' list.
Fixes #3005
Added textbox, esriVisual (ArcGIS Map), azureMap, keyDriversVisual (Key Influencers), decompositionTreeVisual, qnaVisual (Q&A), actionButton (Buttons), and shape ( not all shapes respond to 'basicShape', some have visualType 'Shape')

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


VS Code can break our colorization when they change the format of their theme json files

Code here: https://github.com/Microsoft/vscode-python/blob/8334bf067f465a548a48e92c6e67e478816aad24/src/client/datascience/codeCssGenerator.ts#L274
Can be broken when the format of the vscode json files changes. This is really because they don't provide a service to do this for us, but we should add a test to verify it hasn't changed.

The plan is to write a integration test to verify this.

Added this as a singleworkspace test


Add install notes

The README needs some more details about building and using revup.
(We shouldn't presume that scrypto programmers know how to build and use rust command line tools.)

On it

Install notes added to the main README.


chore: do not reward dag blocks with incorrect level

After bamboo HF, dag block with the same level or with level smaller than the last awarded level will not rewarded to prevent any reward exploit using DAG blocks level manipulation

prnet cleaned-up successfully


Link in Android section does not work (in Badge)

Missing documentation (Under Badge). Link in Android section does not work. Only under Tizen section does more documentation appear.

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

ID: bb3c929b-661a-3203-6a38-83612d7bed15
Version Independent ID: bb3c929b-661a-3203-6a38-83612d7bed15
Content: Badge - .NET MAUI Community Toolkit - Community Toolkits for .NET
Content Source: docs/maui/essentials/badge.md
Product: dotnet-communitytoolkit
GitHub Login: @VladislavAntonyuk
Microsoft Alias: joverslu

Fixed by #349


Bootstrap template for front page

We should locate or build a template to handle the front page of the application.  This is where users will learn about the app and what it can do.  This is also where lessons will be selected to be viewed.

Clouds look good for this stage, can continue to tweak as needed.  Ty @Alfren


go-cve-search: init at 0.1.3

Motivation for this change
A lightweight CVE search tool.
https://github.com/s-index/go-cve-search
Related to #81418
Things done

[x] 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

[ ] 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"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.


Upgrade to Vaadin 14.0.1

Thanks @ZheSun88 for working on this upgrade.
Can you apply the same changes to the Gradle build files as well? We want to keep the guide consistent for all readers.

Hi @gregturn , i'd like to do that. but i am not familiar with gradle at all. How should i add a the plugin settings in the build.gradle

Closing this, #41 contains a newer version and working Gradle setup


How to access application menus / devtools once packaged?

Why are application menus removed when packaged? This appears to break electron-debug functionality, but I'm not clear if the problem lies within electron-debug or electron-packager (and/or configuration of either). Filed a complementary question on electron-debug here.
Console output when you run electron-packager with the environment variable DEBUG=electron-packager. Please include the stack trace if one exists.
> DEBUG=${DEBUG:=electron-packager} electron-packager ./ --arch=x64 --overwrite

  electron-packager Electron Packager 8.4.0 +0ms
  electron-packager Node v6.9.2 +4ms
  electron-packager Host Operating system: darwin (x64) +2ms
  electron-packager Packager Options: {"_":["./"],"all":false,"deref-symlinks":true,"download":{"strictSSL":true},"overwrite":true,"prune":true,"quiet":false,"arch":"x64","dir":"./","protocols":[]} +0ms
  electron-packager Target Platforms: darwin +0ms
  electron-packager Target Architectures: x64 +0ms
  electron-packager Inferring application name from productName in /<myproject>/package.json +12ms
  electron-packager Inferring app-version from version in /<myproject>/package.json +0ms
  electron-packager Inferring target Electron version from electron in /<myproject>/package.json +3ms
  electron-packager Application name: MyProjectName +0ms
  electron-packager Target Electron version: 1.4.13 +0ms
  electron-packager Ignored path regular expressions: [ '/node_modules/electron($|/)',
  '/node_modules/electron-prebuilt($|/)',
  '/node_modules/electron-packager($|/)',
  '/\\.git($|/)',
  '/node_modules/\\.bin($|/)',
  '\\.o(bj)?$' ] +0ms
  electron-packager Downloading Electron with options {"strictSSL":true,"platform":"darwin","arch":"x64","version":"1.4.13"} +7ms
Packaging app for platform darwin x64 using electron v1.4.13
  electron-packager Creating /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64-template +801ms
  electron-packager Extracting /Users/ericsocolofsky/.electron/electron-v1.4.13-darwin-x64.zip to /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64-template +1ms
  electron-packager Initializing app in /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64 from /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64-template template +1s
  electron-packager Ignored paths based on the out param: [ '/<myproject>/MyProjectName-darwin-ia32',
  '/<myproject>/MyProjectName-darwin-x64',
  '/<myproject>/MyProjectName-darwin-armv7l',
  '/<myproject>/MyProjectName-linux-ia32',
  '/<myproject>/MyProjectName-linux-x64',
  '/<myproject>/MyProjectName-linux-armv7l',
  '/<myproject>/MyProjectName-mas-ia32',
  '/<myproject>/MyProjectName-mas-x64',
  '/<myproject>/MyProjectName-mas-armv7l',
  '/<myproject>/MyProjectName-win32-ia32',
  '/<myproject>/MyProjectName-win32-x64',
  '/<myproject>/MyProjectName-win32-armv7l' ] +2ms
  electron-packager Running npm prune --production +12s
  electron-packager Renaming Electron to MyProjectName in /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64/Electron.app/Contents/MacOS +6s
  electron-packager Renaming Electron Helper to MyProjectName Helper in /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64/Electron.app/Contents/Frameworks/Electron Helper.app/Contents/MacOS +1ms
  electron-packager Renaming Electron Helper.app to MyProjectName Helper.app in /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64/Electron.app/Contents/Frameworks +0ms
  electron-packager Renaming Electron Helper EH to MyProjectName Helper EH in /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64/Electron.app/Contents/Frameworks/Electron Helper EH.app/Contents/MacOS +0ms
  electron-packager Renaming Electron Helper EH.app to MyProjectName Helper EH.app in /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64/Electron.app/Contents/Frameworks +0ms
  electron-packager Renaming Electron Helper NP to MyProjectName Helper NP in /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64/Electron.app/Contents/Frameworks/Electron Helper NP.app/Contents/MacOS +1ms
  electron-packager Renaming Electron Helper NP.app to MyProjectName Helper NP.app in /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64/Electron.app/Contents/Frameworks +0ms
  electron-packager Moving /var/folders/jk/r2j1844n4x32zf96sq_tdpt80000gn/T/electron-packager/darwin-x64/MyProjectName-darwin-x64 to /<myproject>/MyProjectName-darwin-x64 +0ms
Wrote new app to /<myproject>/MyProjectName-darwin-x64

What command line arguments are you passing? Alternatively, if you are using the API, what
parameters are you passing to the packager() function?
DEBUG=${DEBUG:=electron-packager} electron-packager ./ --arch=x64 --overwrite

Please provide either a failing minimal testcase (with a link to the code) or detailed steps to
reproduce your problem. Using electron-quick-start
is a good starting point.
I'm guessing this is a configuration issue and not specific to my codebase/application. I can provide a minimal testcase if it appears helpful.

Why are application menus removed when packaged?

They are not, when you are running in "development" mode you are using the default_app from Electron which then simply requires your app's main entry point.
When packaged Electron is launching your entry point directly.  The menu that you see before you package the app is provided by the default_app.
You need to provide your own menu if you want a menu to appear once your app is packaged.


Web server not responding

I'm having problems getting this fully working on my NodeMCU. I configured the unit via the web config page and from the serial log (below) it seems to be running (I can see IR messages on the console) but I cannot connect to the Web server using the the mDNS address or it's assigned IP of <IP_ADDRESS>:667. I note from the log that the NTP request fails and that it does not respond to ping but I'm not sure if it should. The same device works fine on the local network with other code using the same (reserved) IP address. I saw the another issue reporting the same problem apparently related to static IP address usage but I'm using DHCP. Any suggestions?
Web related Library versions:

ESP8266WebServer v1.0.0
ESP8266Wifi v1.0.0

Serial Console Log
ESP8266 IR Controller
Config pin GPIO10 set to: 1
mounted file system
reading config file
opened config file
{"hostname":"Irblaster","passcode":"Blast","port_str":"667","user_id":"","ip":"<IP_ADDRESS>","gw":"<IP_ADDRESS>","sn":"<IP_ADDRESS>"}
parsed json
*WM: Adding parameter
*WM: hostname
*WM: Adding parameter
*WM: passcode
*WM: Adding parameter
*WM: port_str
*WM: Adding parameter
*WM: user_id
Using Static IP
*WM:
*WM: AutoConnect
*WM: Connecting as wifi client...
*WM: Custom STA IP/GW/Subnet
*WM: <IP_ADDRESS>
*WM: Already connected. Bailing out.
*WM: IP Address:
*WM: <IP_ADDRESS>
WiFi connected! User chose hostname 'Irblaster' passcode 'Blast' and port '667'
*WM: freeing allocated params!
WiFi configuration complete
Local IP: <IP_ADDRESS>
URL to send commands: http://Irblaster.local:667
ArduinoOTA started
MDNS http service added. Hostname is set to Irblaster.local:667
HTTP Server started on port 667
Starting UDP
Local port: 8888
Waiting for sync
Transmit NTP Request
time.google.com: (IP unset)
No NTP Response :-(
Ready to send and receive IR signals
Turning off the LED to save power.

 I can see the ESP connected to my access point but no response when trying to load the web page.

I had a similar problem. Try using the development version of WiFiManager. It's available on their GitHub page.
This may be bacause the WiFi.config function now has DNS as the second argument instead of Gateway, as it was in earlier versions. But I could be totally wrong. Never the less, the development version of WiFiManager works for me.

Can you elaborate more how to install the wifimanager development?  do I have to uninstall the already installed library on Arduino library manager?  also I downloaded wifimanager master branch, is that the good one?   So far I have the board responding only on the first 5 seconds or so (I see serial log and entering on web interface) but after that time acts dead and I have to reset it

It seems fixed, I had to force a full rebuild, I disabled mdns, querytime and query of the external ip as I will not use those, dont know if that helped, now its working fine (no hangs)

My webserver lasts 10-15 secs before it cannot be reached anymore.
Cannot find out the reason for it, and none of the above helped

My webserver lasts 10-15 secs before it cannot be reached anymore.
Cannot find out the reason for it, and none of the above helped

I had this exact symptom. First I thought that there were a problem with the webserver, I later noticed the entire NodeMCU was unresponsive, not just the webserver.
Make sure to set "Erase flash" to "All Flash Contents" if you're uploading it through the Arduino IDE. Also you could try the development version on WiFiMangager, it's available on their github page.

As I found 0.14 is the latest WifiManager and I already using it. Earsing the whole memory didn't helped either...
Also I set everything like yours, even the debug level 😅
No luck...

Not sure if this, but when I reinstalled ESP8266 core platform version 2.4.0 instead of the prev installed 2.5.2.... now it does not froze... however, still cannot receive signals. But that problem is for another day 😅

I have the same problem.  Downgrading my ESP core to 1.4.2 does not change anything.
I can not connect to the webserver......
Anyone figure out whats the problem?

Uninstall the wifimanager from the Arduino library manager and download manually the DEVELOPMENT version of WiFi manager (on the sketch folder it’s fine) then just rebuild

What is helped me is found under the Board manager, not in the 'manage libraries' section

Guys, you are amazing.
I was also having problems with my Wemos D1 mini freezing and hanging after a few seconds.
Reducing the delay() in the loop() made it a little better no idea why...
Downgrading esp8266 platform to 2.4.0 has resolved the freezes! woohoo it's alive!

I have tried esp8266 platform 2.5.2, 2.4.2 and 2.4.1. 2.4.0 is the only one that doesn't hang.

Try the new dev branch
Requires WiFiManager developer build from Github, not the one in the Arduino library


sequence_hasher hash of elements

switch hasher (hash64 or raw value) depending on whether the element is convertibe to value_type

never use hash64 (if nedded, users can easily use it manually)


Add -t option to ignore too old cronjob active flag

This PR adds -t TIME_IN_SEC option into the shell scripts for cronjobs.
Example usage: run-statistics.sh -t 3600
I have had some experiences that cronjob didn't finished properly (e.g., due to connection interruption of DB or coind) and ${cron_name}_active left 1. It causes keeping the job from running in next execution until I note it and manually remove the flag by running the job with -f option. The miners had inconvenience suchs as no credits added or no cash outs for a long time.
With this -t option, the jobs ignore the active flag if the last job was started before than the user specified by this option. For example, -t 3600 ignores the flag if it was started more than one hours ago. Note the option ignores PID file created by the shell script. By this option the cronjobs can automatically recovered from such a situation.

What would ensure that on a fatal error without intervention and fixing that you won’t run into more issues?
Instead of working around a feature that potentially can save your pool from sending out coins that have been sent already due to wallet or whatever issues, establish a monitoring on the PID file by a monitoring system. It it gets too old, notify via mail or whatever that you have a stale Cron.
I don’t think this workaround, other than stopping you from checking your pools if something is funny, really adds a secure feature.
Just my 2 cents.

Yes, I agree it is a bit dangerous flag and basically pool op should fix stale crons with manual intervention. On the other hand this flag just allow them to have option to ignore trivial (well, I think what actually trivial is depends on the op's judge) errors with accepting risk.
The possibility of double payment of coins is a risk, but I think it could be accepted in some cases, such as small pools with friends or some kind of experimental pool. Also it could be useful for enabling the flag for specific less-dangerous task (i.e., enabling for run-statistics).
I totally agree that the situation should be resolved manually before the next worth thing happens but this option raises logWarn() so they could have chance to get noted by doing some handling of the log, adding to monitoring the PID file.
I know this PR is a bit controversial and I'm not intended to push you to merge. It's completely up to you. I just raised this PR just thinking someone perhaps need such a little workaround. 🙂

Since I don't maintain this and can't judge what people want or need from it, I'll just merge it into development. Make sure it's documented somewhere with a big warning this can cause pool failure and double payouts and people need to accept this risk when using this option (basically a force cron with a timeout).
Thanks for the PR!

Oh, thank you for merging. I added some notes on cronjob wiki.


Master

:x: Build TimeHACK AppVeyor-122 failed (commit https://github.com/TimeHACKDevs/TimeHACK/commit/28656e310e by @AShifter)

:white_check_mark: Build TimeHACK AppVeyor-123 completed (commit https://github.com/TimeHACKDevs/TimeHACK/commit/3d0ec07bee by @AShifter)


clfviz throws KeyError, points to color_map index.

UPDATE:
found problem and fix. to fix change line 319 in classifiers.py:
color_map = {v: class_colors[i] for i, v in enumerate(class_values)} ## changed from color_map = {i: class_colors[i] for i, v in enumerate(class_values)}
I tried to do a pull request, but in the newest clone it is already fixed! this seems to be a problem only with pip3 install ... version

This error happens with may data with two features (X.shape = (39,2)) and one feature (X.shape = (39, 1)). I printed and gave you X,y at the end if you want to recreate.
Here's the code:
dt = DecisionTreeClassifier(max_depth=2)
dt.fit(X, y)
from dtreeviz import clfviz
clfviz(dt, X, y, feature_names=["a","b"], markers=['o','X','s','D'], target_name="y")

And error message:
/usr/local/lib/python3.9/site-packages/sklearn/base.py:450: UserWarning: X does not have valid feature names, but DecisionTreeClassifier was fitted with feature names
  warnings.warn(
/usr/local/lib/python3.9/site-packages/sklearn/base.py:450: UserWarning: X does not have valid feature names, but DecisionTreeClassifier was fitted with feature names
  warnings.warn(
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Input In [374], in <module>
----> 1 clfviz(dt, X, y, feature_names=features, target_name=target)

File /usr/local/lib/python3.9/site-packages/dtreeviz/classifiers.py:103, in clfviz(model, X, y, ntiles, tile_fraction, binary_threshold, show, feature_names, target_name, class_names, markers, boundary_marker, boundary_markersize, fontsize, fontname, dot_w, yshift, sigma, colors, ranges, ax)
     88     clfviz_univar(model=model, x=X, y=y,
     89                   ntiles=ntiles,
     90                   binary_threshold=binary_threshold,
   (...)
    100                   colors=colors,
    101                   ax=ax)
    102 elif len(X.shape) == 2 and X.shape[1] == 2:
--> 103     clfviz_bivar(model=model, X=X, y=y,
    104                  ntiles=ntiles, tile_fraction=tile_fraction,
    105                  binary_threshold=binary_threshold,
    106                  show=show,
    107                  feature_names=feature_names, target_name=target_name,
    108                  class_names=class_names,
    109                  markers=markers,
    110                  boundary_marker=boundary_marker,
    111                  boundary_markersize=boundary_markersize,
    112                  fontsize=fontsize, fontname=fontname,
    113                  dot_w=dot_w, colors=colors,
    114                  ranges=ranges,
    115                  ax=ax)
    116 else:
    117     raise ValueError(f"Expecting 2D data not {X.shape}")

File /usr/local/lib/python3.9/site-packages/dtreeviz/classifiers.py:188, in clfviz_bivar(model, X, y, ntiles, tile_fraction, binary_threshold, show, feature_names, target_name, class_names, markers, boundary_marker, boundary_markersize, fontsize, fontname, dot_w, colors, ranges, ax)
    184 if 'misclassified' in show:
    185     # Show correctly classified markers
    186     good_x = x_[class_X_pred[i] == class_values[i],:]
    187     ax.scatter(good_x[:, 0], good_x[:, 1],
--> 188                s=dot_w, c=color_map[i],
    189                marker=markers[i],
    190                alpha=colors['scatter_marker_alpha'],
    191                edgecolors=colors['scatter_edge'],
    192                lw=.5)
    193     # Show misclassified markers (can't have alpha per marker so do in 2 calls)
    194     bad_x = x_[class_X_pred[i] != class_values[i],:]

KeyError: 0

data:
X = np.array([[2.],
[1.],
[3.],
[3.],
[1.],
[1.],
[2.],
[3.],
[1.],
[2.],
[3.],
[1.],
[1.],
[1.],
[1.],
[1.],
[3.],
[2.],
[3.],
[2.],
[1.],
[1.],
[2.],
[1.],
[1.],
[1.],
[1.],
[1.],
[3.],
[3.],
[1.],
[1.],
[3.],
[2.],
[1.],
[1.],
[2.],
[1.],
[3.],
[1.],
[1.],
[1.],
[2.],
[1.],
[1.],
[3.],
[2.],
[2.],
[3.],
[3.],
[3.],
[3.],
[1.],
[1.],
[1.],
[1.],
[3.],
[1.],
[3.]])
y = np.array([3, 1, 4, 1, 4, 2, 1, 1, 4, 3, 4, 4, 1, 2, 3, 2, 2, 3, 3, 2, 3, 3,
2, 2, 3, 2, 4, 2, 2, 1, 4, 2, 3, 4, 1, 4, 4, 1, 2, 3, 3, 3, 4, 1,
1, 1, 4, 4, 3, 2, 4, 1, 1, 4, 2, 3, 1, 1, 2])

if it's already fixed, could you close the issue ? thanks


bookshelfjs with aws lambda

Hi,
I have using bookshelfjs as an ORM with aws Lambda. The requirements for running nodejs applications on Lambda is node version 4.3. Is this ORM compatible with nodejs version 4.3?
If Yes, I am unable to save the record in the database when .save() method is called. My file model looks like this
Configuration File
'use strict';

var DBConfig = {
    client: 'pg',
    connection: {
        host: process.env.pgdb_host,
        user: process.env.pgdb_user,
        password: process.env.pgdb_password,
        database: process.env.pgdb_name,
        charset: 'utf8'
    }
};

var knex = require('knex')(DBConfig);
var bookshelf = require('bookshelf')(knex);

bookshelf.plugin('registry');
bookshelf.plugin(require('bookshelf-uuid'));

module.exports.bookshelf = bookshelf;

File Model
// File.js
var bookshelf = require('./../../config/db').bookshelf;

require('./Collection');

var File = bookshelf.Model.extend({
    // add dynamic schema prefix.
    tableName: 'files',
    uuid: true,
    hasTimestamps: true,

    collections: function () {
        return this.belongsToMany('Collection', 'collection_file', 'file_id', 'collection_id');
    }
});

module.exports = bookshelf.model('File', File);

In my js file my code looks like this
var fileParams = {
                    'path':'/file/path',
                    'filename':'image.jpg',
                    'display_name': 'Friendly Name'
                };

                var file = new File(fileParams);
                console.log('File: ' + file);
                file.save().then(function (mFile) {
                    console.log('File model ' + mFile);
                    console.log('File model ID: ' + mFile.id);
                }).catch(function (err) {
                    console.error('Unable to save a file.', err);
                });

There is no error being thrown or it seem like it not being executed. Is there a way to show errors or some compatibility issues?
Kind regards,
Javed Gardezi

@jgardezi have you tried with debug: true config option ?

Lambda is pretty bad at showing errors.
So, this is my approach to debug lambda.
Hope it should help
module.exports.hanlder = (event, context, callback) => {
    try {

        //do something

        somePromise()
            .then(res => {
                //do something
            })
            .catch(err => {
                callback(null, {
                    body: err.message,
                    statusCode: 500,
                    headers: {
                        'Access-Control-Allow-Origin': '*',
                        'Access-Control-Allow-Credentials': true,
                        'Content-Type': 'text/plain'
                    }
                })
            })

    } catch(ex) {
        callback(null, {
            body: ex.message,
            statusCode: 500,
            headers: {
                'Access-Control-Allow-Origin': '*',
                'Access-Control-Allow-Credentials': true,
                'Content-Type': 'text/plain'
            }
        })
    }
}

Bookshelf is indeed compatible with Node 4.3. You should be able to find the problem with the suggestions others have offered.