Color changes for wild cards

Love this tool. When I tried the following (package.json has two start- scripts):
concurrently -c cyan,yellow "npm:start-*"

the output of both subtasks were displayed with cyan rather than the first being colored cyan and the second being colored yellow. Instructions indicate that when color count is less than command count, the last color listed is used. I suspect whatever does the color logging sees only the command line argument count (a single command) and doesn't realize its a wildcard command so doesn't look for the actual number of commands running. Or, the wildcard processing code doesn't update some command count global. Or, the wildcard processing code is somehow treated as only one process.
In any event, it'd be nice to have wildcard initiated commands individually colored.
My work around is to just explicitly start the commands by name and I still get the coloring. This works:
concurrently --c yellow,cyan npm:start-ng npm:start-express"

In addition, to explore some edge cases, I wrote a simple shell script that prints to the terminal and sleeps (see below). When I run it in with the wildcard, the wildcard logging is treated as a single process. Examples:
concurrently -k -c cyan,yellow,green "bash foo.sh" "npm:start-*"
concurrently -k -c cyan,yellow,green "npm:start-*" "bash foo.sh"

The first line outputs the shell logging in cyan and the two wildcards in yellow.
The second line outputs the two wildcards in cyan and the shell logging in yellow.
foo.sh
echo "hello"
sleep 1
echo "slept 1"
sleep 5
echo "slept 5"
sleep 60
echo "slept 60"

I was analyzing the code, and it seems that the problem is the way concurrently prefix colors.
As of this line:
https://github.com/open-cli-tools/concurrently/blob/0bc490fa98b302488b6fa9cf25d5cea239d38321/bin/concurrently.js#L153
It is considering only the first command to apply the color instead of applying each one when using a wildcard.
The command parser needs a way to apply prefix color when splitting npm wildcards.
@milahu, I can work on a PR to fix this.

Fix out in v6.3.0.


ddtrace incompatbility ?

Seeing this warning after trying to upgrade ...
WARN -- ddtrace: [ddtrace] This version of `ddtrace` is incompatible with `dogstastd-ruby` version >= 5.0 and can cause unbounded memory usage. Please use `dogstastd-ruby` version < 5.0 instead.

Hey @gingerlime,
We are working on this to restore the compatibility. To be complete, it works but it can lead to unbounded memory usage in some use-cases. This warning has been added to ensure that people know about it, and meanwhile, to be sure that nobody has any issues, we recommend to pin the dogstatsd-ruby gem using: gem 'dogstatsd-ruby', '~> 4.0' which is known to work properly.

Thank you @remeh

Closing this since this is fixed using dogstatsd-ruby 5.2.0 and dd-trace-rb 0.51.0 and the warning would not appear anymore.


test consensus_encode with &mut

Please check if binaries get any smaller (not by a huge amount, but still) e.g. examples.

Actually, I checked the main executable and there was no change in size

Hmmm... to the byte?  When I try to compile  with:
cargo build --release --all --examples --bin blocks_iterator --features="db,consensus"

I get more compilation errors, so I give up (got to go back to work).
Anyway: on the examples I can compile I see almost 50% improvement?!
Fix to this PR I used:
~/l/blocks_iterator (pr/56)> git diff HEAD~1
diff --git a/examples/signatures_in_witness.rs b/examples/signatures_in_witness.rs
index 48b47d1..5d88e86 100644
--- a/examples/signatures_in_witness.rs
+++ b/examples/signatures_in_witness.rs
@@ -61,25 +61,25 @@ struct ParsedSignature {
 }

 impl Decodable for ParsedSignature {
-    fn consensus_decode<D: std::io::Read>(mut d: D) -> Result<Self, encode::Error> {
+    fn consensus_decode<D: std::io::Read>(mut d: &mut D) -> Result<Self, encode::Error> {
         //TODO fix for schnorr signatures!
-        let first = u8::consensus_decode(&mut d)?;
+        let first = u8::consensus_decode(d)?;
         if first != 0x30 {
             return Err(encode::Error::ParseFailed("Signature must start with 0x30"));
         }
-        let _ = u8::consensus_decode(&mut d)?;
-        let integer_header = u8::consensus_decode(&mut d)?;
+        let _ = u8::consensus_decode(d)?;
+        let integer_header = u8::consensus_decode(d)?;
         if integer_header != 0x02 {
             return Err(encode::Error::ParseFailed("No integer header"));
         }

-        let R = <Vec<u8>>::consensus_decode(&mut d)?;
-        let integer_header = u8::consensus_decode(&mut d)?;
+        let R = <Vec<u8>>::consensus_decode(d)?;
+        let integer_header = u8::consensus_decode(d)?;
         if integer_header != 0x02 {
             return Err(encode::Error::ParseFailed("No integer header"));
         }
-        let s = <Vec<u8>>::consensus_decode(&mut d)?;
-        let sighash_u8 = u8::consensus_decode(&mut d)?;
+        let s = <Vec<u8>>::consensus_decode(d)?;
+        let sighash_u8 = u8::consensus_decode(d)?;
         let sighash = EcdsaSighashType::from_consensus(sighash_u8 as u32);

         Ok(ParsedSignature {
``

How I tested `git version of rust-bitcoin without my &mut W PR`:

~/l/blocks_iterator ((27d3cd2d…)) [1]> git diff master
diff --git a/Cargo.toml b/Cargo.toml
index 2258d86..16e4b4f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,8 @@ readme = "README.md"
license = "MIT"
[dependencies]
-bitcoin =  { version = "0.28.0", features = ["use-serde"]}
+# bitcoin =  { version = "0.28.0", features = ["use-serde"]}
+bitcoin =  { git="https://github.com/dpc/rust-bitcoin", rev="cf5503af7462bc142e18480f1ee390a336b68311", features = ["serde"]}
structopt = "0.3.21"
log = "0.4.11"
glob = "0.3.0"


Update hugo troubleshooting section

Fix the broken hugo link
Update the working hugo version with link

Update the doc with everything i needed to get the docs working locally, ptal


Connect each row

We now make each row a connected component which reduces how much each row affects other rows loading. This plus virtualized lists causes a ton less rendering when items update.


Fcrepo 2719 - Path conversion for timemaps and mementos

JIRA Ticket: https://jira.duraspace.org/browse/FCREPO-2719
What does this Pull Request do?
Refactor of http converter and other mechanisms required to get memento and timemap URIs translated back and forth between http and jcr path.
What's new?

Fixes memento uri so that it doesn't expose the node name of the timemap, instead correctly shows fcr:versions.
FedoraTimeMap objects now track and provide helper to get the original resource the timemap applies to.

adds memento:original property for fedora:TimeMap type

Updates http uri conversion to account for mementos, forward and backward
Switches binary timemaps and mementos to using fedora:binaryTimemap node for storage
Updates http uri conversion to account for binary mementos using a different node name
Adds unit tests for timemap and memento uri conversion
Suppresses description link header in responses for binary mementos since the descriptions are versioned separately.
Removes changes to way that an objects container was retrieved since it is no longer used for timemaps

Forward Mapping Examples:
The following examples explain how http uris for resources should be converted to internal paths
binary/fcr:metadata/fcr:versions (non-rdf desc timemap)
=> binary/fedora:timemap

binary/fcr:versions (binary timemap)
=> binary/fedora:binaryTimemap

container/fcr:versions (container timemap)
=> container/fedora:timemap

binary/fcr:metadata/fcr:versions/2018 (non-rdf source desc memento)
=> binary/fedora:timemap/2018

binary/fcr:versions/2018 (binary memento)
=> binary/fedora:timemap/2018

container/fcr:versions/2018
=> container/fedora:binaryTimemap/2018

binary/fcr:metadata
=> binary

binary
=> binary/jcr:content

container
=> container

Backward Mapping
binary/fedora:binaryTimemap (timemap for binary)
=> binary/fcr:versions

binary/fedora:timemap (timemap for non-rdf source description)
=> binary/fcr:metadata/fcr:versions

container/fedora:timemap (timemape for container)
=> container/fcr:versions

binary/fedora:binaryTimemap/2018 (binary memento)
=> binary/fcr:versions/2018

binary/fedora:timemap/2018 (non-rdf description memento)
=> binary/fcr:metadata/fcr:versions/2018

container/fedora:timemap/2018 (container memento)
=> container/fcr:versions/2018

binary (non-rdf)
=> binary/fcr:metadata

binary/jcr:content
=> binary

container
=> container

How should this be tested?
# Create versioned container
curl -i -XPOST -H "Slug:versioned_res3" -H "Link: <http://mementoweb.org/ns#OriginalResource>; rel=\"type\"" "http://localhost:8080/"

# Create memento of container
curl -XPOST http://localhost:8080/versioned_res3/fcr:versions

# Resulting Location should be http://localhost:8080/versioned_res3/fcr:versions/<datetime>

# Create versioned binary
curl -i -XPOST -H "Slug:versioned_bin3" -H "Link: <http://mementoweb.org/ns#OriginalResource>; rel=\"type\"" -H "Content-Type: application/octet-stream" --data-binary "binarycontent" "http://localhost:8080/"

# Create memento
curl -XPOST http://localhost:8080/versioned_bin3/fcr:versions

# Resulting Location should be http://localhost:8080/versioned_bin3/fcr:versions/<datetime>

Additional Notes:
There is not currently a way to create a version of a binary description, waiting on ticket https://jira.duraspace.org/browse/FCREPO-2708 to finish out binary memento creation.

@bbpennel :  very nice work @bbpennel .   I will merge once the above formatting issue is resolved.


Connect to InfluxDB 2.0 OSS not Cloud instance

Hello maybe someone can help me:
Is it possible to connect to a self hosted InfluxDB 2.0 instance?

fixed it myself. damn copying issue


Bundling failed: Error: unable to resolve module 'accessbilityInfo'

This might be related to https://github.com/facebook/react-native/issues/4968
To resolve

[x] Clear watchman watches: 'watchman watch-del-all'
[x] delete the 'node_modules' folder: 'rm -rf node_modules && npm install'
[x] Reset metro blunder cache

Environment
react-native-cli: 2.0.1
react-native: 0.56.0
node : v8.11.2
npm : 5.6.0
Windows : 10
Description
I am new to React native. i just follow the steps given in the following URL https://habiletechnologies.com/blog/getting-started-react-native-complete-setup-guide/.

When i was trying to navigate one page to another page, i got the above issue. I couldn't overcome this for the past two days. Please help me to solve the issue
Package.Json
{
"name": "TestApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.4.1",
"react-native": "0.56.0"
},
"devDependencies": {
"babel-jest": "23.4.0",
"babel-preset-react-native": "5.0.2",
"jest": "23.4.1",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
}

Duplicate of #19953


Survive for one minute by shooting down orbs with fireballs.
How to play your game?
WS to move, J to shoot, L to start, and K to reset. Make sure orbs don't reach the hedge.
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file. Example: sokoban_plus.js -> sokoban_plus.png.

Experience
This is my first time coding, my dad helped me with it, I groaned a bunch, and learned 2 things that are hard: remembering names, making functions, and off by one errors.

I really want a sprig but I am only in 4th grade :( can I still get one please? or do I have to wait?

4th grade??? 10 years??? I'm 13, WOW, so young haha, we say teen but it's teen or younger:)
join our Slack channel (hackclub.com/slack/), you will see other creators of all ages (#sprig)!

Haha I am 9!

WOW congrats!

But in about 5 months 10:)


x/image/bmp: support 1-bit format

Hi, I implemented support for 1-bit bmp files in the reader:
https://github.com/cbrake/golang.org-x-image/commit/25481fe1980277e4b3206c11a3fc15e2ec31eddc
Is there interest merging this (or an improved version)?

@ALTree @nigeltao I've created a 1/2/4bit bitmap writer.
Can you review it when I sent a PR?

@nigeltao
Thank you for your reply :)

Not every useful feature has to live in the Go standard library or the golang.org/x libraries.
Could you tell me why you decline contributes? Is it for maintenance?
I'm thinking 1bit support is not so big change.

IMO, I'm not sure if there's a demand for 2/4 bit bitmap support. However, there is a demand for 1bit bitmap support.
Therefore, I thought this issue was created. Also the above comments say there must be some demands.
Actually, I needed 1bit bitmap, therefore I wrote the writer.
Recently, QR codes are being used everywhere. For example, payment, logistics management and so on.
And sometime it's required 1bit bitmap by special devices.
So there is a worth to support it as a library for golang community.

Could you tell me why you decline contributes? Is it for maintenance?

Partly maintenance, but partly because it's not obvious how to adapt or extend the encoding API in a backwards compatible way, that doesn't involve changes to the standard library (e.g. its image.Image concrete types), but also plays well with current and future encoding APIs and options (e.g. color spaces and other metadata, speed-quality trade-offs, multi-threadedness) for other standard-or-x image libraries, again noting their compatibility constraints.

there is a demand for 1bit bitmap support.

I'm not denying that 1-bit BMPs are a useful feature. To repeat myself, I'm saying that not every useful feature has to live in the Go standard library or the golang.org/x libraries.

I see. Thank you for your reply.

Seems like this PR got stuck on the question of writing 1-bit files, but it does implement reading, which is great for our use case. Is it worth merging? Would love 2 and 4 bit support as well but this is a good start.

I'm OK with that but IIUC it's up to @cbrake to start a PR.

I'm interested in getting this merged, but it would take me some time to get through all the steps to get set up as a Go contributor (review license CLA, set up accounts, etc) as I'm no longer working on this project and don't have funding to do this work. If anyone else is interested, please feel free to use my patch in any way helpful.


Resolve 'Windows implementation'

@jagmit thanks for your hints. Branch is now ready to merge 👍

LGTM!


⚠ Bofrost.de has degraded performance

In 6482c80, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1851 ms

Resolved: Bofrost.de performance has improved in ef54b81.


Add a Setup Form for Creating and Editing Policies

Description:
Short summary:
These changes replace the original UI for creating and editing a policy which used a text box and relied on the user to input a valid JSON. The new UI uses a form and is validated using React Hook Form.
Creating a policy - old UI:

Creating a policy - form:

Editing a policy - old UI:

Editing a policy - new UI:

I just wrote code for lab/location in #91. After that, you can fix and rebase your code where location applies


BSKY => AP account halted

Looks like this account isn't sending over actions properly, by guess is the user (a friend of mine) followed, unfollowed, then refollowed the bridge.
Additionally, thanks for always taking time for these little one-off issues <3 I know you've got bigger fish to fry so I appreciate it!

Okay, interesting, thanks for looking at that.
I just notice there's a ton of non-bridged posts and replies in the past, but I suppose that could be from the period where the user wasn't following the bridge.
I'm not familiar with what happens during the period where a user has unfollowed the bridge. Does it just monitor the account and resume bridging when they re-follow?

Un-following the bridge account doesn't do anything, but blocking it disables bridging, https://fed.brid.gy/docs#opt-out . If they did that, then un-blocked it and re-followed it, then yes, it would just resume from then.

Awesome, thanks for the info!


React 15 Support

@rofrischmann Just a very quick question -- have you tried this out with react 15 yet?
Version: 1.0.0 (beta5)
Environment: React / React Native / Both
Type: General

Hey @nathanmarks I am actually really busy and do not have time to test it, but I will hopefully find some time to check it tomorrow. But as far as I know it should "just" work as is. If you've already tried, feel free to tell if it works :P

So far I haven't encountered any problems with it

Ok, one problem; unsure if it's React 15 specific, though: https://github.com/rofrischmann/react-look/issues/257


(SERVER-450) Add proper semver parsing to unit tests

Without this patch the unit tests are not properly parsing semantic version
strings according to the specification.  This is a problem for RC versions of
dependencies with versions such as "4.0.0-rc1"  This patch addresses the
problem by using a third party library written by our very own Deepak designed
to parse and manipulate semantic version data.

:+1: with a couple of comments:

Since clj-semver would only be used for test code and not production code yet, I think it would be good to move the clj-semver dependency in 'project.clj' under the dev profile rather than having it at the top-level.

To avoid the try/catch wrapper in valid-semver-number?, it might be good to see if we could have @grimradical publish a new version of clj-semver to clojars from clj-semver's current master branch.  Looks like this commit - https://github.com/grimradical/clj-semver/commit/9690467728b7c9266897804c3e11704b185ffa69 - if delivered in a release would alleviate the need for the try/catch wrapper in puppet-server.

I wouldn't hold up this PR for the new clj-semver if that would stretch beyond the weekend.  We could follow up on that part later, if needed.

I've pushed a commit to move clj-semver to the dev profile and emailed @grimradical about a released version containing valid-semver-number?.

:+1: LGTM


TSC Agenda - June 25, 2024

Need Maintainer rights for Joerg Mueller

It is up to the SIG-chairs to walk new maintainers / contributors thru the process.  The TSC doesn't actually have a say or decision making in whether someone gets maintainer rights.  SIG-Chairs are more in-tune with the kind and quality of contributions of a contributor and better able to pick apart security issues / viability.


Call to undefined method GrahamCampbell\Binput\Facades\Binput::get()

Error:
FatalErrorException in Facade.php line 210: Call to undefined method GrahamCampbell\Binput\Facades\Binput::get()
CODE:
Route::get('test', function(){
$test = BInput::get('test');
return $test;
});
test:
http://localhost/test?test=hello

Service Provider isn't registered.

Also, Binput needs a lower case I. If you use the incorrect case, you may experience issues with autoloading on systems with case sensitive filesystems.


feat(footer): Create a fully responsive footer with copyright symbol and app version

Description
Closes #75
Added a fully responsive footer with copyright and app version as requested in the issue.
Fixes #(issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots (if applicable):

@Bashamega please review and merge

Hello @Piyush-Tilokani I have reviewed your pr. Please do not ping me, I will check any notifications i have in less than 24 hours.

Updated the code in the latest commit to fetch app version dynamically from package.json


fix for enabling software collection

background
original commit https://github.com/smanders/buildpro/commit/cd48ee708497b9c326a3bfa7d20d4e67976fa270
commit message includes link to https://austindewey.com/2019/03/26/enabling-software-collections-binaries-on-a-docker-image/
current location of setting environment, including for scl https://github.com/smanders/buildpro/blob/22.04/public/centos7-pro.dockerfile#L44-L49
# environment: gcc version, enable scl binaries
ENV GCC_VER=gcc731 \
    EXTERN_DIR=/opt/extern \
    BASH_ENV="/usr/local/bpbin/scl_enable" \
    ENV="/usr/local/bpbin/scl_enable" \
    PROMPT_COMMAND=". /usr/local/bpbin/scl_enable"

the scl_enable script https://github.com/smanders/buildpro/blob/22.04/public/scripts/scl_enable
unset BASH_ENV PROMPT_COMMAND ENV
[ -d /opt/rh/devtoolset-7 ]  && source scl_source enable devtoolset-7
[ -d /opt/rh/python27 ] && source scl_source enable python27
[ -d /opt/rh/rh-python36 ] && source scl_source enable rh-python36

issue
the CI system (GitHub Actions) has to run scl enable devtoolset-x, but it shouldn't need to -- it should be in the environment
https://isrhub.usurf.usu.edu/IsrhubActions/Build/issues/1
https://unix.stackexchange.com/questions/590788/treatment-of-env-and-bash-env-in-bash-running-in-bash-and-sh-mode
everything works fine in an interactive shell, but doesn't work in a non-interactive shell (the CI system)
so the attempt will be to add the devtoolset to the PATH

the devtoolset is in the PATH twice with this change, but I don't see any harm in that and if it fixes the non-interactive shell, that's worth it!
smanders@bpbldlatest:/bpvol/buildpro (dev)
$ echo $PATH
/opt/rh/rh-python36/root/usr/bin:/opt/rh/devtoolset-7/root/usr/bin:/opt/rh/devtoolset-7/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2017/bin/x86_64-linux:/usr/local/cuda/bin:/opt/extern/CRTool:/home/smanders/.dotnet/tools


Remove unsampling logic from agent

Unsampling has been moved into V8 with
https://codereview.chromium.org/1706343002 so this logic is no longer
necessary in the agent.
This change also updates the units used for emitted profiles to be more
consistent with other profilers.

@ofrobots PTAL.

lgtm.


add timeouts, timeout error handling

This PR coincides with https://github.com/NebulousLabs/Nodejs-Sia/pull/36; it changes all polling API requests to log errors to console instead of popping up error dialogs, preventing timeouts from causing unwanted error messaging.  I also cleaned up the plugin API's call wrapper function, and added some sane default timeouts for long running requests (wallet unlocking, downloading, etc).

we are intentionally not merging this until after v1.0.3 is released because the potential surface area for bugs here is pretty large, and we don't have enough time to properly test it.
then we can merge it and get it into the next version.


Storage: Add internal constructors for output only model types

@KrzysztofCwalina pointed out in the ongoing API review that model types only ever returned shouldn't have public constructors.  We're not generating those constructors, but C# will add a default public constructor if we don't have any.  Here's an example comment.
We need to add an internal constructor that looks something like:
    /// <summary>
    /// Prevent direct instantiation of ${naming.type(type.name)} instances.
    /// You can use ${factoryName}.${naming.type(type.name)} instead.
    /// </summary>
    internal ${naming.type(type.name)}() { }

This is a little more involved.  You can see where we generate constructors at generator.ts line 872.  We want to add an else that generates the above code.  You can get the factory name for the helpful comment via same code as line 943.  Adding a local variable for naming.type(type.name) probably wouldn't hurt either.
When you regenerate, you should see private constructors appear for all the model types without other constructors and a Azure.Storage.sln should rebuild cleanly.

Closed with https://github.com/Azure/azure-sdk-for-net/pull/7744


Use automatic optimization to find correct move_base parameter

Currently we're tweaking the move_base parameters manually. They seem to be a bit dependent on the walking parameters, at least on the step frequency.
This could be improved by using our parallel parameter search package in simulation. It could even produce better parameters.

This sounds cool. I talked with Timon about this too while tweaking them. They are configurable over dynamic reconfigure and the only missing thing would be some kind of critique function that describes how accurate/fast the position is reached.

Basically all code to do optimization and change dynreconf parameter is already on the "optuna" branch https://github.com/bit-bots/parallel_parameter_search/tree/optuna
as a loss I would propose to just take the time it takes to reach the goal (with some accuracy margin). Pybullet simulation with walking robot is also already there.
if you want to do this, we can have a chat on discord on how this works in detail

The manual params seem to work okay for the behavior test I started with while realizing the path planning broken.
But we should definetly check this out even if its not the highest priorety on my TODO list.
This is quite importent never the less, especially if we start to do highlevel stuff on the real robot again.


show bar numbers

as small information text above the bar character.
like in the references info above a c# function

discarded, because VSCode seems not to have the capablities for that.
A feature what comes close is CodeLens. But all CodeLenses are displayed in one row.
So its not possible to place the code lens over its occurence.
4|8
.......... | ............ | ...........


problem with backgrounds when relativeURLs is needed

Hi Jeremy,
I'm struggling to figure out how I can put the generated site (using theme HugoMDL) in a subdirectory. In several places in the template code, you use something like  style="background-image: url('{{ .Site.Params.background }}');"
I've tried to explain it in the discuss forum: https://discuss.gohugo.io/t/need-help-understanding-url-conversions/4294/13
Basically when I place the site under a baseurl of http://example.com/subdir/ Some links are broken, which should not happen when relativeURLs is set to true in the config.toml.
Do you have any idea if this can be fixed in the theme?
Cheers
Simon

Hey @pooh22 ,
I'm not sure of any easy fix. To be honest, i'm pretty inexperienced, so perhaps this wasn't the best approach for handling the background image. If you think of a better way, feel free to PR it or even just explain here how you handled it.
Can you provide more information about which links are broken? If I have time I will take a look this weekend.

Hi Jeremy, that makes two of us ;-) I'm also quite new to hugo and not an experienced web developer...
(But I started with webpages ages ago, so my experience is also rather mature (as in cheese), but I'm learning)
I figure that everywhere you set the background image via (inline) css, hugo doesn't touch it after generating the string output. I can't judge whether hugo should process these links. From the commented-out lines in the css file I gleaned that you ran into similar problems when setting the background via the external css files, is that right?
My html+css experience is not great, so at the moment I can't think of an alternative way to do the same thing. I guess the relativeURLs thing in hugo looks for links in href and src references, so if you can figure out a way to do the background setting using these html elements, it might work...
Cheers,
Simon

I just had a look at the sources of hugo, it seems I was right, but it's probably going to take quite a bit of work to fix it in hugo for the current state of HugoMDL...
look in hugo sources: transform/absurlreplacer.go
 60 // new prefixes can be added below, but note:
 61 // - the matches array above must be expanded.
 62 // - the prefix must with the current logic end with '='
 63 var prefixes = []*prefix{
 64         {r: []rune{'s', 'r', 'c', '='}, f: checkCandidateBase},
 65         {r: []rune{'h', 'r', 'e', 'f', '='}, f: checkCandidateBase},
 66         {r: []rune{'s', 'r', 'c', 's', 'e', 't', '='}, f: checkCandidateSrcset},
 67 }

So the fix could be in the theme, to avoid setting urls via css, or it could be fixed in hugo to also process urls in css when abs or rel URLs are requested.

Does
 style="background-image: url('http://base/sub/image.jpg');"

work?

On 17-10-16 16:18, Bjørn Erik Pedersen wrote:

Does
|style="background-image: url('http://base/sub/image.jpg');" |
work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jchatkinson/HugoMDL/issues/11#issuecomment-254220613,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALIwGAqkKX5X3OieCpFjVCSJ7rxOm464ks5q04PQgaJpZM4KW4xZ.

One of the suggestions in the thread mentioned was to put {{
.Site.BaseURL}}/image/ in front of the image-link in the url('')
This kind of works ok, but in the entire theme are a lot of these
references and getting them all to work right is a bothersome effort...
Cheers
Simon

all to work right is a bothersome effort

Search and replace ...


DBeaver Setup Guide

I added a setup guide for using DBeaver with DuckDB! I'm open to feedback - it ended up with a lot of screenshots. I also started a "SQL Editors" category since I anticipate others in the future.

Looks excellent, thanks!

Looks excellent, thanks!


failed to fetch query data: no aggregation values found for query

The error is displayed when you query for time range from grafana when no aggregation value is found for that time . The error is confusing for end users , many customers in Indiana Mfg Industries are getting confused what is happening.

Hello @kkmeghan: This looks like a potential bug report. Would you be able to provide the below information to help us better troubleshoot?
By providing as much info as possible you help us understand the issue, reproduce it and resolve it for you quicker. Therefore, take a couple of extra minutes to make sure you have provided all info needed.
PROTIP: record your screen and attach it as a gif to showcase the issue.

Use query inspector to troubleshoot issues: https://bit.ly/2XNF6YS
How to record and attach gif: https://bit.ly/2Mi8T6K

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):

Screenshots

Anything else we need to know?:
Environment:

Grafana version:
Plugin version:
OS Grafana is installed on:
User OS & Browser:
Others:

What happened:
Data not displayed and error comes, please see gif file
What you expected to happen:
Data should be displayed
How to reproduce it (as minimally and precisely as possible):
See gif file for a work flow. Data is created on sitewise using MQTT protocal and if the query window does not have data points it is not displayed.
Screenshots
Included
Anything else we need to know?:
Environment:
Grafana version: 8.2.5
Plugin version: 1.3.0
OS Grafana is installed on: Linux
User OS & Browser: Windows and any browser (example chrome)
Others: Issue is already discussed with aws team in length in different meetings. Issue is related to the MQTT protocol and how the data is stored versus how it needs to be visualized

@kkmeghan it seems as if this error is coming from the AWS API and not the data source. Grafana will not be able to visualize data unless something is returned from the AWS API for the queried time range.

Issue is already discussed with aws team in length in different meetings.

Could you provide any additional details about those conversations?

@toddtreece  Please let me know what additional information is missing and needed. Grafana has time range for the data to be queried and in back end if that time range does not have data points ( from MQTT behaviour), this will results in error.

@kkmeghan

Got it. Because we're taking data that comes from the interpolated API, we're expecting it to provide us with data points (either real or predicted). Maybe something to do with aggregating not taking into account predictions? I'm checking in with AWS regarding the API, since we don't have the context from those conversations.

@taleena  The whole idea from end user's perspective is to get aggregated values for time range selected from grafana UI. It does not matter for end users how the data points are stored in the sitewise but how to interpret these data points is more important. Just because the data points are not stored in the time range does not imply that previous values are not valid for that time range and that is the heart of the whole matter here.

How does this work in the iot-sitewise portal?  I am trying to understand if this is an issue with the query, data, or an enhancement request to support something the sitewise APIs do not support directly.

@kkmeghan -- I think I understand what you are asking for, I am just not sure how to best solve it with a sitewise query.
IIUC, you might need three queries to "cover" the selected time range:

The last point before the time range
The data within the time range
The next point after the time range

Then all three results could be collapsed into a single series.   Some other datasources can do this natively (eg influx+flux), but not sure how to best solve this in sitewise.

@ryantxu Please let me know how I can help here. If there is a meeting coordination needed with sitewise team, let us do it.The data storage is not same as what end users interpret the data, whether visualization or any other computation.

@kkmeghan does @ryantxu comment above accurately represent what you are looking for? If so, this is a new feature request. I've contacted the SiteWise PM to see how best to handle, there might be an API that does this we don't know about, or it could be something we need to implement either at the plugin or at a more general level.

@ryantxu @taleena  I see two different cases when end users perspective in the context of the data.
1/  Continuous streaming data , but stored whenever there is change in the value.
End users will like to have the aggregated data which makes sense even if there are no data points in the time series database at back end. Let us take above example for 'voltage', what is average voltage between 18.00 to 19.00 on 07/01/2022 ? Though there are no data points in the database , because of storage mechanism, still the average voltage is valid value to ask for .
2/ Discrete data values, which makes sense only for the time they are stored.
Let us , say 'GoodCount' of parts produced by a machine at particular time. This does not need to be carry forward as this represent discrete values.
What I think is an 'option' to use previous known values or not while doing aggregations.

@kkmeghan does @ryantxu comment above accurately represent what you are looking for? If so, this is a new feature request. I've contacted the SiteWise PM to see how best to handle, there might be an API that does this we don't know about, or it could be something we need to implement either at the plugin or at a more general level.

You can make queries to get the last data point before a certain point in time, either after or before, by utilizing https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_GetAssetPropertyValueHistory.html without any additional features. By setting maxResults to 1, and setting the timeOrdering in the direction you wish to search, we get the desired behavior
For example, to search for the most recent data point at or before 2000, we could use:
maxResults: 1
startDate: new Date(0, 0, 0, 0) (any super early date that will be before all data points
endDate: new Date(2000, 0, 0)
timeOrdering: "DESCENDING"
Potentially searching through a large time interval with no data present is not an issue with SiteWise, so this will also give good performance

@diehbria I responded earlier. Repeating same again here
There are two different cases from end users' perspective in the context of the data. We need associated data points and visualization with below cases in minds. This may boil down to what @ryantxu  mentioned at least for the case 1 and not for case2. The context of the data have to be taken into consideration. Understand we have the APIs for data points, here we need generic solution for sitewise-grafana plugin.
1/ Continuous streaming data, but stored whenever there is change in the value.
End users will like to have the aggregated data which makes sense even if there are no data points in the time series database at back end. Let us take above example for 'voltage', what is average voltage between 18.00 to 19.00 on 07/01/2022 ? Though there are no data points in the database , because of storage mechanism, still the average voltage is valid value to ask for .
2/ Discrete data values, which makes sense only for the time they are stored.
Let us , say 'GoodCount' of parts produced by a machine at particular time. This does not need to be carry forward as this represent discrete values.
What I think is an 'option' to use previous known values or not while doing aggregations.

@kkmeghan my apologies I misunderstood the question.
I believe I understand the problem, sometimes you need data beyond the actively viewed time frame (such as a line chart)

but for other widgets, you want to ability to configure whether it has this behavior of looking beyond the viewed time range - depending on the exact use case the user (you) has.

@diehbria  , The correct interpretation is below , there is grafana option to selection how the points should be connected,  however the points are only connected when there are points fetched inside grafana. For example, in this case if the last point was not there, we will never get the complete graph. Please let me know if we need to connect on ZOOM

We've met and talked through this and have a path forward. As a super quick summary, we will not mix raw data with aggregated data. For now, there is a dependency within grafana/grafana, https://github.com/grafana/grafana/pull/57798, recently merged.

@taleena  Thank you. Not sure If I understood the summary. Is the problem solved ? If yes, which version we can test it ?

No, this is not yet solved, but we spoke with @diehbria and we have an understood way on how to approach the fix. You will see a PR when we're closer to releasing a fix.

@taleena  I am also leaving one more test case. Please see the problem at the following link
https://d33leu70kunhgx.cloudfront.net/d/hbfewPnVk/sitewise?orgId=1&from=1656688920000&to=1658394048000
There are two time series graphs, one with raw values ( Getpropertyvaluehistory) and other aggregated values with (GetProperty Value Aggregates) with 'Average' option and '1m' resolution.
We can see the graph for Getpropertyvaluehistory but GetProperty Value Aggregates has stopped in between for the same 'property'. Ideally the graph for GetProperty Value Aggregates should have continued and calculated the average at different intervals.
Customer is asking fix and reason behind the same.

This also has a dependency that is being worked on here: https://github.com/grafana/grafana/pull/57798

#147 includes a change that should cover the next & last values outside of the time range, but it requires the changes in https://github.com/grafana/grafana/pull/59444, which won't be available until 9.4.0 (or possibly 9.3.1 depending on if it's backported)

There are two time series graphs, one with raw values ( Getpropertyvaluehistory) and other aggregated values with (GetProperty Value Aggregates) with 'Average' option and '1m' resolution.

@kkmeghan from what i can tell the data is not being returned from the sitewise API. the second page returns an empty result without a next token. would it be possible to test this same query with the sitewise API outside of grafana?

@taleena  Thanks for response. When do we expect availability of 9.4.0 ? Do we have some tentative timeline for same ?

@taleena we get it tested beyond grafana.


Add NeosVideoPlayerFix v4.0.0

unless a repo has been deleted we dont remove it from the manifest, instead we add the deprecated tag. to decide on for future handling of cases like this one ive opened issue #194


Config file erratum

Hi TD,
I've noticed in your config file, you list:
Effectiveness of individual armor pieces. Order: helm, chest, legs, boots
This is incorrect. The correct order is boots, legs, chest, helm.

Good spot - fixed!


Update AKS documentation

was tested with epinio-0.0.21, verified linkerd/check timeout will work for AKS
mention latest epinio version
removed "Troubleshooting" for linkerd
rephrased custom domain setup

Will be obsolete by restructuring documentation.


GeoInterface 1 support

copied from https://github.com/JuliaPlots/GeoMakie.jl/pull/115#issuecomment-1156505858
We can work on the GeoInterface integration when https://github.com/JuliaGeometry/GeometryBasics.jl/pull/175 and https://github.com/JuliaGeo/GeoJSON.jl/issues/36 are ready, since this package relies on both packages. Right now GeoInterface 1 cannot be used with this package because GeoJSON.jl is preventing that.
These conversions won't be needed anymore:
https://github.com/JuliaPlots/GeoMakie.jl/blob/ea3e71baa108a90f924172bf59de3519380bd769/src/conversions.jl#L4-L53
And these assets can be updated:
https://github.com/JuliaPlots/GeoMakie.jl/blob/ea3e71baa108a90f924172bf59de3519380bd769/src/data.jl#L11-L24

You mean instead of a breaking GeoJSON release, to register GeoJSONTables? I think since GeoJSON is so tied to the old GeoInterface, and all current GeoJSON features will be present in GeoJSONTables, and the maintainers will be the same, there is not much point in having two GeoJSON packages side by side.


My Seed Data is not adding to Database

Hi Guys,
I have a problem with the initial data I added to my Migration Configuration Seed.
CrmCoreApplicationHelpers crmHelper = new CrmCoreApplicationHelpers();
var customerList = new List
{
new Customer { .. data here ..  },
};
customerList.ForEach(x => context.Customers.AddOrUpdate(y => y.Firstname, x));
context.SaveChanges();
when I run update-database, there are no errors.
But my Customers table is not updated with data.

Hey,
This site is for EF7, for EF6 please file an issue on http://entityframework.codeplex.com/. There isn't really enough info here for us to reproduce the issue. If you open an issue on CodePlex can you be sure to include a code listing that we can run to reproduce the issue.
~Rowan


Prettier eslint client

I have installed Prettier and Eslint on the Client side only this time.

merging prettier and eslint installation into client side folder/files


Introduce text tokens

Let's introduce tokens of type: string!

Those tokens have a single Value input of type string
Applying that token by default inserts the value into the node.characters

@six7 can you provide some examples what kind of string tokens we will have?

for the start this will just replace the node's characters when applied. however, given Figma supports text content in component properties, there is more use to this, wherever a text string is to be inserted.


Add onItemDisplayed callback.

This allows us to do an action when a specific item is displayed in the
list. As an example, I wanted to log in analytics that the user has seen
an item in the list. This callback makes it easy to do.
If desired, we can easily do the opposite as well where we do a callback
when a list item is hidden.

I'm going to close this PR because there has been no activity. Thanks!


Provide private scratch directories

There are common cases (particularly, when no MPI is involved) where one would prefer to have each job receive a unique copy of /tmp.  This prevents various files from leaking after a job ends and simple protection against common mistakes in usage of world-writable directories.
This PR implements such a scheme.  It creates a scratch directory as the invoking user (allowing the user some control over the location - preferring one that the batch system may have created for the job, such as $_CONDOR_SCRATCH_DIR), then bind-mounts the scratch directory as writable over locations listed by the sysadmin in singularity.conf.
After the job ends, the scratch directory is cleaned up, carefully avoiding passing filesystem boundaries and not dereferencing symlinks.

I think this is a fantastic idea. I had something similar but removed it when I implemented the bind path config, and meant to bring it back with a slightly different implementation. To that end I would recommend the following:

Make the tmp/scratch directories by default reside within the sessiondir so they are automatically deleted at the end of the job. This also has the benefit of concurrent per user container runs sharing the tmpdir.

If there is utility in leveraging a resource managers allocated tmp dir we should make that a variable to override the default of putting it in the sessiondir.

While it is fine to have a forced behavior in the config, I think it makes sense for this to also be runtime controlled so for example an MPI run can request shared tmp with host of allowed in the master config.

Is there a default license in code examples posted to stackoverflow? Is it BSD and/or copyrighted? You should also add copyright on the new source file (both the projects copyright as well as your own).

Thoughts?
Great thinking on this, thank you!

I broke this PR, but please don't fix yet... Still doing more changes to the source code layout.

What's the impact (if any?) of moving this to the session directory (owned by root)?  This directory has to be owned by the unprivileged user.
Yeah - there's definite utility in keeping this in the batch-system-allocated directory:  this gets automatically cleaned up at the end of the job (in case the container got killed with a kill -9).  Some batch systems get quite upset if there are non-user files in the temp directory (such as the session directory), so the session directory should not move.
Noted.  Will address this in a future commit.
I checked - it looks like the default Stack Overflow license is MIT.  I'll add license files shortly.

Yes, very good point. The sessiondir will have to be owned by the user calling it. It has the unfortunate side effect of then making files binded from the sessiondir (e.g. the container's /etc/passwd|group) being owned by the user rather then root. Obviously not critical, but not perfect either. With that said, we might have to do this anyway to support Singularity with no setuid.

As long as the sessiondir is only created/deleted by the user, then there is no harm letting the user override the default location (e.g. environment variable).

I have a very simple s_rmdir which basically does an nftw() to unlink files in a directory. Is clean_dir necessary, or can it be merged to extend the existing s_rmdir in file.c?
Even though user configured scratch binding works only if no_new_privs is set, it still needs to be wrapped in a singularity.conf bool so the system administrators can define if users are allowed to use this feature.
Lastly, the scratch dir config option is confusing me but maybe we come back to that in a separate PR?
Feel free to start remerging this into the new master branch.
Thank you!

For s_rmdir: this (a) follows symlinks and (b) will cross to different devices.
I think it's equivalent to what's in clean_dir if you are OK with adding FTW_PHYS|FTW_MOUNT.

Oh, good catches! Yes, let's add those features so it is just as smart as clean_dir.

Looks good to me, thanks!


fp16 buffers for ADAM

First proof-of-concept implementation

I think I'm missing a bit of context on this PR. Is this following some paper / approach?

It comes from the appendix of "Efficient Large Scale Language Modeling with Mixtures of Experts", which in turn cites "Jukebox: A Generative Model for Music".
However, this is not actually a 1:1 implementation of that. If you want to have one scaling factor per tensor, you need to know inside the adam kernel in which tensor you are (my other draft adam PR). It also requires synchronization, because you need to process the entire tensor, determine the max, scale things accordingly, and write to memory.
Having one scale factor per block requires more memory (though the amount should still be neglible, esp. since I assume the block size will increase when we use vector loads here.

rebased on the lastest changes from master.
I used  #288 to generate a  gpt2-large model.
Without this patch, training at batch size 1 requires 12658MiB
with the fp16 buffers, this goes down to 9892MiB
Sadly, it's not enough to allow me to test the gpt2-xl on my 16GB card, even with batch size one.


Big numbers get cropped on both x and y axis

Please see this codepen. The numbers are cropped on both the x and y axis when they are too big.

Hey @yennycheung, you can address this issue by specifying a margin on your XYPlot, like so
const Chart = () => (
  <XYPlot
    margin={{left: 100, right: 100}}
    width={window.innerWidth - 50}
    height={window.innerHeight - 50}>
    <XAxis/>
    <YAxis/>
    <HorizontalGridLines />
    <LineMarkSeries data={[
      {x: 100000, y: 100000},
      {x: 200000, y: 500000},
      {x: 300000, y: 150000}
    ]}/>
  </XYPlot>
)

I'm gonna mark this as closed, but feel free to re-open if you like

with VerticalBarSeriesCanvas margin={{left:100}} could not solve this problem, only Y axis was pushed right every other content remained in the same position.
  <XYPlot         onMouseLeave={this._onMouseLeave}         xType="ordinal"         width={800}         height={300}         margin={{left:100}}         // stackBy="y"         >         <HorizontalGridLines />         <XAxis  title="Month" style={{           line: {stroke: '#ADDDE1'},           ticks: {stroke: '#ADDDE1'},           text: {stroke: 'none', fill: '#6b6b76', fontWeight: 600, fontSize: 10}         }} />         <YAxis  title="USD"           tickTotal={7}           style={{           line: {stroke: '#ADDDE1'},           ticks: {stroke: '#ADDDE1'},           text: {stroke: 'none', fill: '#6b6b76', fontWeight: 600, fontSize: 10}         }}/>         { this.props.data.map((e, i) => <VerticalBarSeriesCanvas key = {i} data = {e} color={colorPalette[i]}/> )}         <LabelSeries         onNearestX={this._onNearestX}         data={this.props.data[0]}         />         <Crosshair           values={this.state.crosshairValues}           titleFormat={(d) => ({title: 'Term', value: d[0].x})}           itemsFormat={(d) => d.map(d =>{             return {title: d.name, value: Math.round(d.y.toFixed(2) * 100) / 100}           })}         >         </Crosshair>         </XYPlot>

@bbosze this is kinda a shot in the dark but have you definitely imported the style sheet? (see readme for additional details). If that doesn't fix it, would you mind putting together a code pen with your example? I want to make sure that i understand your problem/data


Update format message for add

Codecov Report

Merging #67 (599a32c) into master (dba01dd) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #67   +/-   ##
=========================================
  Coverage     72.29%   72.29%
  Complexity      476      476
=========================================
  Files            78       78
  Lines          1527     1527
  Branches        159      159
=========================================
  Hits           1104     1104
  Misses          373      373
  Partials         50       50

Impacted Files
Coverage Δ

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Documentation for packages in a specific branch / tag

Hi all
it is possible to use godoc for accessing package documentation from a specific branch/tag instead of master?
Thank you in advance for the support

+1

+2

While your request is different, I think the best path forward is #567.


Ummm... What?

You do know there are Linux games that are native, right?

I'm sorry but how does this relate to gameready? It's a wiki for beginners who want to know about Proton/Lutris gaming terminology. Native linux gaming doesn't require these things and not the focus of this project.

sorry, my bad.
Saw this on reddit and it was described very differently.
Again, my apologies.
C.
On Thu, 11 Aug 2022 at 22:49, NayamAmarshe @.***> wrote:

I'm sorry but how does this relate to gameready? It's a wiki for beginners
who want to know about Proton/Lutris gaming terminology. Native linux
gaming doesn't require these things and not the focus of this project.
—
Reply to this email directly, view it on GitHub
https://github.com/NayamAmarshe/gameready/issues/10#issuecomment-1211944975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLSXIIVN7VX52TFJG73GPLVYTZGTANCNFSM56IACPMQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

sorry, my bad.
Saw this on reddit and it was described very differently.
Again, my apologies.
C.
On Thu, 11 Aug 2022 at 22:49, NayamAmarshe @.***> wrote:

I'm sorry but how does this relate to gameready? It's a wiki for beginners
who want to know about Proton/Lutris gaming terminology. Native linux
gaming doesn't require these things and not the focus of this project.
—
Reply to this email directly, view it on GitHub
https://github.com/NayamAmarshe/gameready/issues/10#issuecomment-1211944975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLSXIIVN7VX52TFJG73GPLVYTZGTANCNFSM56IACPMQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

No worries :)


Make the red filter more transparent

Many players have complained that the red filter stands out too much. Can you make it 50% more transparent?

Changed in ZP-210


replaceAll("lib", "bin") does't work on conventional rpm install paths

https://github.com/AdoptOpenJDK/openjdk-systemtest/blob/de7fdf5639f3fb6842a229a76c35a8195f828d6d/openjdk.test.jck/src/test.jck/net/adoptopenjdk/stf/Jck.java#L461
I'm using the JCK plugin to test a RPM of JDK8.
Because our rpm installs /usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/,  my root here is
/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre/lib
The following code is buggy. It will substitute all "lib" with "bin".  As a result, NPE will throw when it iterates files in the folder /usr/bin/jvm/java-1.8.0-amazon-corretto.x86_64/jre/bin.
String newRoot = root.replaceAll("lib", "bin");

I think this is better.  In my understanding, newroot is the sibling folder "bin" of root. It only needs to substitute the last appearance of "lib".
String newRoot = new File(root).getParent() + File.separator + "bin";

I believe you are correct @navyxliu that the intent in src/test.jck/net/adoptopenjdk/stf/Jck.java#L461 is for the last lib to be replaced.  I can create a PR shortly.


Fix semapv namespace in SSSOM schema

The semapv namespace is wrongly documented in the LinkML model.
Instead of https://w3id.org/semapv/ it should be https://w3id.org/semapv/vocab, see SEMAPV:
https://github.com/mapping-commons/semantic-mapping-vocabulary/blob/main/semapv.owl
e.g.:
https://w3id.org/semapv/vocab/CaseNormalization

@gouttegd this happens when you manage prefixes in multiple places.. :P


fix readme for sending_domains

There is incorrect caption for create and verify methods for sending_domains endpoint.

Thank you


Much better ui.

Packages added: lucide-react for icons
Features added -

nice ui
links and code in comments are highlighted
site is finally now readable
2 more pagination buttons to skip to end or skip to first page
Nav bar is now on all pages

Screenshots added below -

left silico in good hands, proud!


2 Dev Boards on Windows10 PC (Problem: same IP)

Description
Hello,
I am on Windows 10 and I have successfully installed the MDT tool and flashed 2 Dev Boards.
When I connect only one of the Dev Boards, it takes the IP <IP_ADDRESS>, and I can successfully log in either via "ssh" or "mdt shell".
The problem is when I connect both of them.
As you can see, they take the same IP:
$ mdt devices
neat-valet       (<IP_ADDRESS>)
neat-mole       (<IP_ADDRESS>)
In this case, I always log in to the one that was inserted first, even if I explicitly define the name (which is expected, considering that they have the same IP).
Is there a solution on this? How can they take a different IP? I will need to have both of them connected at the same time, and choose where to log in.
Thank you in advance.
Click to expand!
Issue Type
Support
Operating System
Windows 10
Coral Device
Dev Board
Other Devices
No response
Programming Language
No response
Relevant Log Output
No response

Please check the  /etc/NetworkManager/system-connections/ folder,  there will be gadget0.nmconnection and gadget1.nmconnection. In that file, you can set a static ip address (for instance <IP_ADDRESS>) that stays static with the board on the next reboot.
mendel@red-apple:~$ sudo cat /etc/NetworkManager/system-connections/gadget1.nmconnection
[connection]
id=gadget1
uuid=0918c486-cb57-48f0-9797-a1513d58794d
type=ethernet
interface-name=usb1
permissions=

[ethernet]
mac-address-blacklist=

[ipv4]
address1=<IP_ADDRESS>/24
dns-search=
method=manual

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
mendel@red-apple:~$

Please try to connect with serial console to revert the changes and change only one gadget(gadget0 or gadget1) which says <IP_ADDRESS> previously and reboot the device.
If you are not able to connect with serial console please reflash the board. Thanks!

Hello,
I just found the problem:
when I change the IP to 101.3 (only in gadget1, i.e., where it was 101.2), it is saved, but when I reboot it is reverted back to 101.2.

Okay.. please try the below steps I am assuming Dev board is recognized with USB1 gadget:

sudo vim /etc/dnsmasq.d/02-usb-gadget

change this line as below: https://coral.googlesource.com/usb-gadget/+/refs/heads/master/etc/dnsmasq.d/02-usb-gadget#7
dhcp-range=usb1,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,12h

sudo vim /usr/bin/usb-gadget-start.sh

Change the logic here as below: https://coral.googlesource.com/usb-gadget/+/refs/heads/master/usr/bin/usb-gadget-start.sh#117
configure_network() {
        GADGET_CON_NAME="gadget${1}"
        INTERFACE_NAME="usb${1}"
        $(nmcli con show | grep -q "${GADGET_CON_NAME}")
        mendel_conn_exist=$?
        if [[ "$mendel_conn_exist" -eq 0 ]]; then
          echo "${GADGET_CON_NAME} connection already exists"

        elif [ "${1}" -eq "1" ]; then
          nmcli con add con-name "${GADGET_CON_NAME}" ifname "${INTERFACE_NAME}" type ethernet ip4 "<IP_ADDRESS>/24"
        else
          nmcli con add con-name "${GADGET_CON_NAME}" ifname "${INTERFACE_NAME}" type ethernet ip4 "192.168.10${1}.2/24"
        fi
        nmcli con up id "${GADGET_CON_NAME}"
}

sudo reboot now

Verify the changes:

mendel@red-apple:~$ sudo netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
<IP_ADDRESS>         <IP_ADDRESS>     <IP_ADDRESS>         UG        0 0          0 wlan0
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS>   U         0 0          0 wlan0
<IP_ADDRESS>   <IP_ADDRESS>         <IP_ADDRESS>   U         0 0          0 usb0
<IP_ADDRESS>   <IP_ADDRESS>         <IP_ADDRESS>   U         0 0          0 usb1

Hello, thanks for the help!
It worked.
Now, I am going to setup a 3rd device.
I will add in the respective files:
dhcp-range=usb1,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,12h
elif [ "${1}" -eq "1" ]; then
          nmcli con add con-name "${GADGET_CON_NAME}" ifname "${INTERFACE_NAME}" type ethernet ip4 "<IP_ADDRESS>/24"

First attempt didn't work, but I will check it again.

Feel free to reopen if you are still having issues here. Thanks!


Bug/1148 image assets working in production

Phew.
This pr refactors all jf image assets to use the digest manifest, ameliorates production image asset woes.
Description
This pr refactors all jf image assets to use the digest manifest, ameliorates production image asset woes.
Related Issue
closes #1148
Motivation and Context
see #1148
How Has This Been Tested?
App built for production, whole of app traversed while watching for 500's
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Adds database migrations (Requires all environments to run rake db:migrate to work)
[ ] Adds new Gemfile dependencies (Requires all environments to run bundle install to work)
[ ] Adds new ENV variables (description of ENV and purpose is required in the above description)

Checklist:

[x] My code follows the code style of this project.
[x] My code has been cleaned of commented, logging, and inline test code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Adds too many $watches, adds code thats unmaintainable or won't work with any new content created by users.

... you asked for it to work in a pinch, that we would fix it later... feedback on what


Error while updating iot-uni-dongle for ESPHome 2022.9.0

Hello!
Updated ESPHome to version 2022.9.0
Errors occur when updating iot-uni-dongle:
INFO Reading configuration /config/esphome/water-heat.yaml...
ERROR Unable to load component ewh:
Traceback (most recent call last):
File "/esphome/esphome/loader.py", line 162, in _lookup_module
module = importlib.import_module(f"esphome.components.{domain}")
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/config/esphome/.esphome/external_components/5e7bb4e7/components/ewh/init.py", line 65, in
cv.Optional(CONF_ICON, default=ICON_WATER_BOILER): switch.icon,
AttributeError: module 'esphome.components.switch' has no attribute 'icon'
ERROR Unable to load component ewh.climate:
Traceback (most recent call last):
File "/esphome/esphome/loader.py", line 162, in _lookup_module
module = importlib.import_module(f"esphome.components.{domain}")
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/config/esphome/.esphome/external_components/5e7bb4e7/components/ewh/init.py", line 65, in
cv.Optional(CONF_ICON, default=ICON_WATER_BOILER): switch.icon,
AttributeError: module 'esphome.components.switch' has no attribute 'icon'
INFO Detected timezone 'Europe/Moscow'
Failed config
ewh: [source /config/esphome/.esphome/packages/3a7dff6c/ewh-pkg-web.yaml:128]
Component not found: ewh.
on_state:
then:
- lambda: |-
id(wh_current_temp).publish_state(state.current_temperature);
id(wh_target_temp).publish_state(state.target_temperature);
switch(state.state) {
case ewh::ewh_status_t::STATE_700W:
id(wh_state).publish_state(true);
id(wh_mode).publish_state("700 W");
break;
case ewh::ewh_status_t::STATE_1300W:
id(wh_state).publish_state(true);
id(wh_mode).publish_state("1300 W");
break;
case ewh::ewh_status_t::STATE_2000W:
id(wh_state).publish_state(true);
id(wh_mode).publish_state("2000 W");
break;
case ewh::ewh_status_t::STATE_TIMER:
id(wh_state).publish_state(true);
id(wh_mode).publish_state("Timer");
break;
case ewh::ewh_status_t::STATE_NO_FROST:
id(wh_state).publish_state(true);
id(wh_mode).publish_state("No Frost");
break;
default:
id(wh_state).publish_state(false);
break;
}
id: wh
climate.ewh: [source /config/esphome/.esphome/packages/3a7dff6c/ewh-pkg-ewh.yaml:38]
Platform not found: 'climate.ewh'.
platform: ewh
id: whc
name: Water Heater
bst:
name: Water Heater BST
Help me please

this is due breaking changes in esphome api, will fix.

thank you very much, best regards, Eugene

now updated

Hello, I tried to update, while compiling an error occurs.

Please uncomment clock or timer as workaround

Thanks, all worked well


#68 greeting bot added

Related Issue

Closes: #68
Description of Changes

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots

Original
Updated

Please provide any necessary screenshots to illustrate the changes made.

@SaadAnzar Please add the required labels on all the pull requests so that the Pull Requests that are merged are considered for GSSOC'23 contributions.

@k-deepak04 done. thanks for reminding


PingSource MT Adapter HA problems

Describe the bug
Specifiying HA, on the KnativeEventing CR, like:
apiVersion: operator.knative.dev/v1alpha1
kind: KnativeEventing
metadata:
  name: knative-eventing
  namespace: knative-eventing
spec:
  high-availability:
    replicas: 2

I get deployments of 2 for all, expect for the pingsource-mt-adapter, which is fine since there is no PingSource yet.
See:
k get deployments -nknative-eventing
NAME                    READY   UP-TO-DATE   AVAILABLE   AGE
eventing-controller     2/2     2            2           2m
eventing-webhook        2/2     2            2           119s
imc-controller          2/2     2            2           114s
imc-dispatcher          2/2     2            2           114s
mt-broker-controller    2/2     2            2           113s
mt-broker-filter        2/2     2            2           114s
mt-broker-ingress       2/2     2            2           113s
pingsource-mt-adapter   0/0     0            0           2m
sugar-controller        2/2     2            2           112s

Now... when I create a PingSource, I see two pods created, and one is terminating, since the deployment is "stuck" at 1:
k get deployments -nknative-eventing
NAME                    READY   UP-TO-DATE   AVAILABLE   AGE
eventing-controller     2/2     2            2           17m
eventing-webhook        2/2     2            2           17m
imc-controller          2/2     2            2           17m
imc-dispatcher          2/2     2            2           17m
mt-broker-controller    2/2     2            2           17m
mt-broker-filter        2/2     2            2           17m
mt-broker-ingress       2/2     2            2           17m
pingsource-mt-adapter   1/1     1            1           17m
sugar-controller        2/2     2            2           17m

Expected behavior
Since I control the HA via the operator, I'd have expected it's also 2 there... instead of staying with 1.
To Reproduce

set HA
create a PingSource

Knative release version
0.22 (was tested with that)

/cc @lionelvillard
/cc @houshengbo
/cc @aavarghese
Any ideas?

Eventing release this resource like:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: pingsource-mt-adapter
  namespace: knative-eventing
  labels:
    eventing.knative.dev/release: "v0.22.1"
spec:
  # when set to 0 (and only 0) will be set to 1 when the first PingSource is created.
  replicas: 0
 ...

The number of replicas is 0. Each time the control loop kicks off, the deploy pingsource-mt-adapter is reset to 0.

The PingSource controller sets replicas to 1 when it is 0. This is typically happening when the first PingSource is processed by the controller. If it's not 0, then replicas stays the same.

@lionelvillard @matzew Really want to add this pingsource-mt-adapter deployment able to configure HA replica number by the eventing CR?


[9.x] Add support to detect dirty encrypted model attributes

Currently, a model always determines that an encrypted attribute is modified when you fill a model, even if the value that is being encrypted is the same. This is because it compares the encrypted string, which changes every time you encrypt something regardless of whether the encrypted value is the same.
This PR will add support to detect dirty encrypted model attributes.
$model = Model::create(['billing_address' => ['street' => 'foo']);

$model->fill(['billing_address' => ['street' => 'foo']);
$model->originalIsEquivalent('billing_address'); // Returns false while it must return true

I wasn't sure if the tests should be part of EloquentModelEncryptedCastingTest or DatabaseEloquentModelTest. If they need to be moved, let me know 🙌🏻
This follows up on https://github.com/laravel/framework/pull/38869 and the question from Taylor https://github.com/laravel/framework/pull/38869#issuecomment-925117393.

Point of discussion: https://github.com/laravel/framework/blob/b9203fca96960ef9cd8860cb4ec99d1279353a8d/src/Illuminate/Database/Eloquent/Casts/AsEncryptedCollection.php#L31-L38
All though this PR fixes the $model->originalIsEquivalent(), $model->isDirty() behavior calling $model->update() will still update the database with a new encrypted key even though the contents is the same. Preferrably this update is skipped because it's unnecessary.
A possible solution is to add a check to theset() method on the caster and only encrypt if the content is different:
public function set($model, $key, $value, $attributes)
{
    if (! is_null($value)) {
        if(json_encode($model->getOriginal($key)) === json_encode($value)) {
            return [$key => $model->getRawOriginal($key)];
        }

        return [$key => Crypt::encryptString(json_encode($value))];
    }

    return null;
}


fix(core): injections should not always reactive #(5913)

fix #5913

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Thanks - see https://github.com/vuejs/vue/commit/8d66691ee264969447390822971b8caa029cac3e we can use the observerState.shouldConvert flag to disable recursive conversion when using defineReactive (also used when initializing props).


pull request for e2e test at 12/07/2016 04:15:02

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


docs: fix broken settings table

What does this PR do?
The settings table is not rendering on this page: https://django-axes.readthedocs.io/en/latest/4_configuration.html
Looks like I broke the rendering of the settings table in my previous PR #1222 🤦🏻
It's because the closing | of the AXES_COOLOFF_TIME row is not aligned with the other rows in the table
Before submitting

[x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Thank you, looks good 👍


Connection error mishandled

I'm running a test of a Redis client application on a laptop, and found the following stack trace:
I'm running redis-py 2.4.9 vs redis 2.2.11 server on Python 2.5 on a Centos 5.x host.
I had moved the machine around the same time the error happened, so it seems likely that some change to the ethernet interface state or IP next hop table somehow caused a connection error, even though the client & server are communicating over the loopback IP.
None of this is particularly troubling, EXCEPT that my redis client crashed, and even worse, it did so without raising a useful error.
it appears that it tried to read from a connection object that had been set to "None".  This seems like a catchable & recoverable  error.  I haven't seen it happen again, but I wasn't doing anything particularly exotic and that it will rarely happen again from time to time.
File "build/bdist.linux-x86_64/egg/myprivateapplication.py", line 1793, in RowMGet
File "/usr/lib/python2.5/site-packages/redis-2.4.9-py2.5.egg/redis/client.py", line 1369, in execute

    return execute(conn, stack)

File "/usr/lib/python2.5/site-packages/redis-2.4.9-py2.5.egg/redis/client.py", line 1314, in _execute_transaction

    self.parse_response(connection, '_')

File "/usr/lib/python2.5/site-packages/redis-2.4.9-py2.5.egg/redis/client.py", line 1345, in parse_response

    connection, command_name, **options)

File "/usr/lib/python2.5/site-packages/redis-2.4.9-py2.5.egg/redis/client.py", line 263, in parse_response

    response = connection.read_response()

File "/usr/lib/python2.5/site-packages/redis-2.4.9-py2.5.egg/redis/connection.py", line 202, in read_response

    response = self._parser.read_response()

File "/usr/lib/python2.5/site-packages/redis-2.4.9-py2.5.egg/redis/connection.py", line 34, in read_response

    response = self.read()

File "/usr/lib/python2.5/site-packages/redis-2.4.9-py2.5.egg/redis/connection.py", line 28, in read

    return self._fp.readline()[:-2]

AttributeError: 'NoneType' object has no attribute 'readline'
Here is the corresponding Redis Server log:
[17057] 19 Sep 11:07:09 - 1 clients connected (0 slaves), 8196280 bytes in use
[17057] 19 Sep 11:07:14 - DB 0: 11732 keys (0 volatile) in 32768 slots HT.
[17057] 19 Sep 11:07:14 - DB 1: 1 keys (0 volatile) in 4 slots HT.
[17057] 19 Sep 11:07:14 - 1 clients connected (0 slaves), 8237928 bytes in use
[17057] 19 Sep 11:07:15 - Accepted <IP_ADDRESS>:42405
[17057] 19 Sep 11:07:15 - Reading from client: Connection reset by peer
[17057] 19 Sep 11:07:15 - Accepted <IP_ADDRESS>:42407
[17057] 19 Sep 11:07:19 - DB 0: 11742 keys (0 volatile) in 32768 slots HT.
[17057] 19 Sep 11:07:19 - DB 1: 1 keys (0 volatile) in 4 slots HT.
[17057] 19 Sep 11:07:19 - 2 clients connected (0 slaves), 8254064 bytes in use
[17057] 19 Sep 11:07:24 - DB 0: 11742 keys (0 volatile) in 32768 slots HT.
[...]
[17057] 19 Sep 11:12:20 - 2 clients connected (0 slaves), 8299112 bytes in use
[17057] 19 Sep 11:12:20 - Closing idle client
[17057] 19 Sep 11:12:25 - DB 0: 11822 keys (0 volatile) in 32768 slots HT.
[17057] 19 Sep 11:12:25 - DB 1: 1 keys (0 volatile) in 4 slots HT.
[17057] 19 Sep 11:12:25 - 1 clients connected (0 slaves), 8288792 bytes in use

Updated the README.


Position & Axis inputs in a row

I saw QuantStack/jupytergis#72 & QuantStack/jupytergis#74 & thought it might be good here as well. Feel free to close this if it's not :)
Before:

After:

credits: @martinRenou

I also did wanted to add x, y & z input labels instead of description for Position & Axis but tbh I wasn't able to exactly determine where and how are we rendering this form. I did saw we're using ObjectPropertiesForm from formbuilder hence tried modifying:
https://github.com/jupytercad/JupyterCAD/blob/4c85db3c1287445f3d24fbb06df5bf750cb299ab/packages/base/src/panelview/formbuilder.tsx#L96
And also tried updating schema accordingly in placement.json.
But no luck.

the position is defined as an array for float, we would need to convert it into an object of 3 keys x, y, z to render the label but I don't think it is worth the effort.


Issues with devise 3.5.1

There seems to be issues with the new version of devise, this spec of ours is failing
Devise
  Passwords
DEPRECATION WARNING: after_password_reset is deprecated. (called from block in set_locale at app/controllers/application_controller.rb:39)
    allows users to change their password (FAILED - 1)

Failures:

  1) Devise Passwords allows users to change their password
     Failure/Error: click_button I18n.t('continue')
     NoMethodError:
       super: no superclass method `after_password_reset' for #<User:0x007fb60eb07f18>
     # ~/.rvm/gems/ruby-2.2.2/gems/devise_invitable-1.4.2/lib/devise_invitable/model.rb:146:in `after_password_reset'

This is caused by inevitable calling super in:
def after_password_reset
  super
  accept_invitation! if invited_to_sign_up?
end

and Devise no longer implementing it. I temporarily fixed the issue in my app by adding:
def after_password_reset; end

to the model I was getting the issue on.

I'm dealing with the exact same problem.
I'll try the whomwah solution and hope it doesn't break anything.

The solution posted by @whomwah works for us.

Thanks @whomwah


Upgrade E2E test app to net6/v4 and remove proxies test

Issue describing the changes in this PR
resolves #issue_for_this_pr
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[x] My changes should not be added to the release notes for the next release

[ ] Otherwise: I've added my notes to release_notes.md

[x] My changes do not need to be backported to a previous version

[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests)

Additional information
Additional PR information

/check-enforcer override


camellia-redis-proxy support keyspace notifications merge when upstream is redis-cluster

Module: camellia-redis-proxy
Content: support keyspace notifications merge when upstream is redis-cluster

#214


Compile changes to make module compile on OSX

Prepended the Qt classes with QtCore and upped mmacosx-version-min in order to make this module compile on OSX. This needs testing on Unix and Windows systems.

Thank you!


Thorsten sauter/fast endpoints v5.9.0

Changes
API

Added trace identifier to validation error response and adjusted endpoint tests

Miscellaneous
Adjusted local development stack configuration

Moved back to SQL Server 2019
Adjusted container names

NuGet packages

Updated FastEndpoints to v5.9.0
Updated FastEndpoints.Generator to v5.9.0
Updated FastEndpoints.Swagger to v5.9.0

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (a0f892b) 85.50% compared to head (c990c5b) 85.50%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #412   +/-   ##
=======================================
  Coverage   85.50%   85.50%
=======================================
  Files          37       37
  Lines         607      607
=======================================
  Hits          519      519
  Misses         88       88

Impacted Files
Coverage Δ

src/NoPlan.Api/Program.cs
88.23% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Made changes in the .travis.yml doc #251

made the required changes as per what i found on the internet.

@starlord1311 Thanks. Please help to make it easier and follow best practices in future, e.g. add a link to the issue in the description. Cheers.


chore: Support Kotlin as a development language.

Add Kotlin dependency to modules so that Kotlin can be used in development alongside Java.

Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open a GitHub issue as a bug/feature request before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)
[x] Will this cause breaking changes to existing Java or Kotlin integrations? If so, ensure the commit has a BREAKING CHANGE footer so when this change is integrated a major version update is triggered. See: https://www.conventionalcommits.org/en/v1.0.0/

Fixes #755 🦕

@arriolac I believe we also need:
    kotlinOptions {
        jvmTarget = JavaVersion.VERSION_1_8
    }

...because we have:
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

Ah good catch! @barbeau


Unhelpful error message for mutual blocks with structures

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Check that your issue is not already filed.
Reduce the issue to a minimal, self-contained, reproducible test case. Avoid dependencies to mathlib4 or std4.

Description
When defining a mutual block with a structure the user just gets an "invalid mutual block" on the mutual keyword instead of anything helpful:
mutual

inductive A where
| into (b : B)

structure B where
  a : A

end

Steps to Reproduce
Expected behavior: A useful error message explaining structures cannot be used here on the structure itself.
Actual behavior: Just an unhelpful generic error message on the mutual keyword.
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.

I don't think the error message is a problem, I actually see a relatively clear error message:

invalid mutual block: either all elements of the block must be inductive declarations, or they must all be definitions/theorems/abbrevs

However, I don't understand why this should not work. The Lean manual says that "Structure is a special case of inductive datatype." If so, shouldn't we be able to mix inductives and structures in a mutual block?

The error message was only recently improved in https://github.com/leanprover/lean4/pull/2949 (probably closing this particular issue.)
I don't know about mixing structure and inductive, but agree that I'd have expected that to work.


kong ===> version  1.4.1, error   field path_handling: unknown field

kong version is 1.4.1, from docs, add routes not has field path_handling

@EzrealR , either update your Kong instance or use an older version of Konga


Switch to ROCm 3.3

/cc @sunway513 @parallelo

Can one of the admins verify this patch?

LGTM, thanks Deven!


Should Exceptions be more detailed to make errors more catchable?

For example, someone uploaded a CSV with a couple of empty header fields at the end of the CSV, and the following exception was thrown:
        if (! $this->isValidAssocKeys($res)) {
            throw new InvalidArgumentException(
                'Use a flat non empty array with unique string values'
            );
        }

There's not much here that I can differentiate between another InvalidArgumentException other than the message, which I assume is not going to maintain BC?

If not should I be approaching this problem from a different tack? Should I be validating the first row independently of the library?

In your case I would say try to fetch the header first and validate it prior to do fetchAssoc this is the easiest thing to do .. adding more exception classes/level is IMHO not required. Do remember that fetchAssoc also accepts array so this kind of situation should solve itself quite nicely.


License

Question
Can you provide info about license?
Is it free for commercial purpose? and redis under https://github.com/ilovepose/fast-human-pose-estimation.pytorch/blob/master/LICENSE this license?

Done. have added the license file. Apach-2.0

@yuanyuanli85 Thank you!


Fix image saving behavior

save:output.invalid will save output.invalid despite it being an invalid filetype

I think this is actually an upstream bug in the image crate. I opened https://github.com/image-rs/image/issues/1652, so we can close this here.


tests: remove unneeded version constraint in Test_FillPluginsDefaults_Acme

Codecov Report
Patch coverage has no change and project coverage change: -15.35 :warning:

Comparison is base (91d5885) 52.77% compared to head (b330dd7) 37.42%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #342       +/-   ##
===========================================
- Coverage   52.77%   37.42%   -15.35%
===========================================
  Files          69       69
  Lines        5095     5095
===========================================
- Hits         2689     1907      -782
- Misses       1832     2858     +1026
+ Partials      574      330      -244

Flag
Coverage Δ

2.1.4
?

<IP_ADDRESS>
?

2.2.2
?

2.3.3
?

<IP_ADDRESS>
?

2.4.1
?

<IP_ADDRESS>
?

<IP_ADDRESS>
?

2.5.2
?

2.6.1
?

<IP_ADDRESS>
?

2.7.2
?

<IP_ADDRESS>
?

2.8.3
?

<IP_ADDRESS>
?

3.0.2
?

<IP_ADDRESS>
?

3.1.1
?

<IP_ADDRESS>
?

3.2.2
?

<IP_ADDRESS>
?

community
37.42% <ø> (-0.55%)
:arrow_down:

enterprise
?

integration
37.42% <ø> (-15.35%)
:arrow_down:

nightly
37.42% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 23 files with indirect coverage changes

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

Please use #343 instead.


ListenerExtensionObjectReference is not used

What happened:
ListenerExtensionObjectReference is not used anywhere. Looks like it was dropped as part of #193 .
What you expected to happen:
There should be a way to specify extended semantics for Listeners or Gateways.

A good use case for this seems to be network security policies applicable on a per gateway.


Editor - Bug Report

What is your Quests version / build number (do not say "latest")?
Quest version: Quests-4.2.1.jar & buld number# 300
Describe the problem and how to replicate it.
I seem to be having an issue when I clicked on "Edit a quest" and type in the name. nothing happens as in selections doesn't pop up.
Here a gif of it -> https://gyazo.com/ab1bc9b13c376e5e703305109a47c477
Any console errors to share?
There isn't any console error.

If applicable, can you provide an example quest from quests.yml?
Yes here it is.

Pastebin of the quest.yml -> https://www.toptal.com/developers/hastebin/cumukomoje.yaml

Yes, I faced the same problem. I reset the settings and tried on two different cores (Airplane and Paper), but the result is the same. Even with a clean server, where there is not a single plugin except for Quests, the same problem :(
https://youtu.be/MUbW-5qBI1A

I haven't been able to replicate this, even with the example quest from @AccioAce so the next course of action would be to look through the server startup log.

I haven't been able to replicate this, even with the example quest from @AccioAce so the next course of action would be to look through the server startup log.

[13:48:50] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [13:48:50] [ServerMain/INFO]: Reloading ResourceManager: Default, bukkit [13:48:52] [Worker-Main-1/INFO]: Loaded 7 recipes [13:48:54] [Server thread/INFO]: Starting minecraft server version 1.18.1 [13:48:54] [Server thread/WARN]: **************************** [13:48:54] [Server thread/WARN]: YOU ARE RUNNING THIS SERVER AS AN ADMINISTRATIVE OR ROOT USER. THIS IS NOT ADVISED. [13:48:54] [Server thread/WARN]: YOU ARE OPENING YOURSELF UP TO POTENTIAL RISKS WHEN DOING THIS. [13:48:54] [Server thread/WARN]: FOR MORE INFORMATION, SEE https://madelinemiller.dev/blog/root-minecraft-server/ [13:48:54] [Server thread/WARN]: **************************** [13:48:54] [Server thread/INFO]: Loading properties [13:48:55] [Server thread/INFO]: This server is running Paper version git-Paper-216 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 30cb7d0) [13:48:55] [Server thread/INFO]: Server Ping Player Sample Count: 12 [13:48:55] [Server thread/INFO]: Using 4 threads for Netty based IO [13:48:55] [Server thread/INFO]: Using Aikar's Alternative Luck Formula to apply Luck attribute to all loot pool calculations. See https://luckformula.emc.gs [13:48:55] [Server thread/INFO]: Default game type: SURVIVAL [13:48:55] [Server thread/INFO]: Generating keypair [13:48:55] [Server thread/INFO]: Starting Minecraft server on *:25561 [13:48:55] [Server thread/INFO]: Using epoll channel type [13:48:56] [Server thread/INFO]: Paper: Using libdeflate (Linux x86_64) compression from Velocity. [13:48:56] [Server thread/INFO]: Paper: Using OpenSSL 1.1.x (Linux x86_64) cipher from Velocity. [13:48:56] [Server thread/INFO]: [Quests] Loading Quests v4.2.1-b300 [13:48:56] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it [13:48:56] [Server thread/INFO]: Preparing level "world" [13:48:57] [Server thread/ERROR]: Could not set generator for default world 'world': Plugin 'Terra' does not exist [13:48:58] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld [13:48:59] [Server thread/INFO]: Time elapsed: 734 ms [13:48:59] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether [13:48:59] [Server thread/INFO]: Time elapsed: 403 ms [13:48:59] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end [13:48:59] [Server thread/INFO]: Time elapsed: 355 ms [13:48:59] [Server thread/INFO]: [Quests] Enabling Quests v4.2.1-b300 [13:49:00] [Server thread/INFO]: [Quests] Loaded language en-US. Translations via Crowdin [13:49:00] [Server thread/INFO]: [Quests] Loading storage implementation: YAML [13:49:01] [Server thread/INFO]: Running delayed init tasks [13:49:01] [Server thread/INFO]: Done (6.400s)! For help, type "help" [13:49:01] [Server thread/INFO]: Timings Reset [13:49:01] [Server thread/INFO]: [Quests] Loaded 4 Quest(s), 7 Action(s), 1 Condition(s) and 816 Phrase(s)

I'm not an expert in this, but maybe it's Java or something else?
For example, in order for some plugins to work, I had to additionally enter the command **apt-get install libxtst6:i386 **

@ZelefRU I see that Quests loaded 4 quests, but the video example showed 5. Could we see the quests.yml file you're using?

I haven't been able to replicate this, even with the example quest from @AccioAce so the next course of action would be to look through the server startup log.

hello @PikaMug you need a startup log? um I don't see any console errors but I know it's the bug. hmm

@ZelefRU I see that Quests loaded 4 quests, but the video example showed 5. Could we see the quests.yml file you're using?

This is the startup log after my attempts to fix the situation. And at that time I reinstalled the plugin and all the Quests were erased and only the standard 4 quests remained

@ZelefRU And the issue still occurs with only the default 4 quests?

@PikaMug The problem occurs with any number of quests. In any language and on any version of the kernel. I used the plugin's English language, Russian, kernel version for 1.17.1, 1.18.1, Airplane core, Paper. Gave access to all commands (permissions). I tried to enter the name of the quest in Russian, in English. I also tried to enter not the name, but the ID of the quest, but still the problem does not go away. I even reinstalled the Linux system on my Host, with no result.

HI I found 1 bug on quests plugin. when i want do create/delete quests i can but when i want to edit quests. nothing happned and i cannot edit quests

This should be fixed by ea80add10752c5b77ed97a571695436357c43a39 but if the next release of Quests doesn't resolve this issue feel free to request re-open.

Hello,
I just tried out the editors section on this new release (Build #306). It didn't seem to be resolved.

@AccioAce Build 306 does not contain this fix. Please be patient for the next release.

@AccioAce Build 306 does not contain this fix. Please be patient for the next release.

ah I see, I must misread the last comment. Will do and thanks!

@AccioAce Build 306 does not contain this fix. Please be patient for the next release.

Hello Pika, was it Build #307 is the one you were mentioning to me as the next release? If it is, then it didn't work as I tested it. Sorry for the confusion on the "next release". I thought you were talking about builds.

Any improvement as of https://ci.codemc.io/job/PikaMug/job/Quests/310/ ? Please be sure to have the quests.editor.edit permission.

Any improvement as of https://ci.codemc.io/job/PikaMug/job/Quests/310/ ? Please be sure to have the quests.editor.edit permission.

Hello, sadly it didn't seem to fix it. I tried with and without the permission it still doesn't work.

Hello Pika, I would like to check in if there is any updates on resolving this issue or not? I'm started to think if this is the issue occur on my end? If it is could it be 1.18.2 MC version issue?

I've tried to replicate this on several versions including 1.18.2 without luck.

I've tried to replicate this on several versions including 1.18.2 without luck.

ah no luck for you so far either?

I have the same issue , doesnt seem permission based.
Im running purpur 1.18.1

@DeanMSalter @AccioAce Does this also happen when trying to edit an Action or Condition?
Developers: Relevant code block is... https://github.com/PikaMug/Quests/blob/4cfde2b1265c724ff5559daee024e2b8e7a41a38/core/src/main/java/me/blackvein/quests/convo/quests/menu/QuestMenuPrompt.java#L203-L244

Seems fine with Actions and conditions for me

Ok
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Dean @.>
Sent: Friday, April 8, 2022 10:37 PM
To: @.>
Cc: @.>; @.>
Subject: Re: [PikaMug/Quests] Editor - Bug Report (Issue #1887)
I have the same issue , doesnt seem permission based.
Im running purpur 1.18.1
—
Reply to this email directly, view it on GitHubhttps://github.com/PikaMug/Quests/issues/1887#issuecomment-1093150533, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYER5PEUS3QXGNGEGTPTKRDVEBYW5ANCNFSM5PVQC5DA.
You are receiving this because you commented.Message ID: @.***>

@AccioAce @ZelefRU @DeanMSalter @magmalandmc
Please try https://ci.codemc.io/job/PikaMug/job/Quests/322/ and let me know if it helps!

@AccioAce @ZelefRU @DeanMSalter @magmalandmc Please try https://ci.codemc.io/job/PikaMug/job/Quests/322/ and let me know if it helps!

Hello! That actually fixed it for me. Thank you!

@91leMAC You are likely experiencing a separate issue. Please open a separate ticket if you haven't already.


Fix multi-line file header being mixed up with the journal entry.

Potential fix for #360 - I've found out that ensuring the file header ends with a newline prevents it bleeding into the body of the entry.

Approved 👍🏽 Thank very much for fixing it!


AB#4998 expose ability to update a scan name

@alexg9520  I don't want to merge until the jenkins failure is figured out. Just fyi


NSFS | Adding metric type to the prefix + Removing the errors in the nsfs io count

Explain the changes

Removing read and write error count for NSFS  I/O metrics
If the namespace count does have some error prompting a warning. just that we will be aware and consider re-adding it
Adding to the NSFS metrics report the metric type (fs/op/io)

Signed-off-by: liranmauda<EMAIL_ADDRESS>Issues: Fixed #xxx / Gap #xxx

Fixes: https://github.com/noobaa/noobaa-core/issues/7188
Fixes: https://github.com/noobaa/noobaa-core/issues/7190

Testing Instructions:

Create an NSFS bucket
Upload files
Check the metrics in /metrics/nsfs_stats

There are 2 commits intentionally.


fix: switch v-model invalid in high version element-plus

Before submitting a pull request, please make sure the following is done...

[ ] Ensure the pull request title and commit message follow the Commit Specific in English.
[ ] Fork the repo and create your branch from main or formily_next.
[ ] If you've added code that should be tested, add tests!
[ ] If you've changed APIs, update the documentation.
[ ] Ensure the test suite passes (npm test).
[ ] Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content

What have you changed?

问题: 在 高版本 2.6.7 element-plus ,switch组件点击没反应
该pr已修复，请大佬审核代码，辛苦了