Added Asvin nodes

Added regular nodes for Asvin

The correct way to add new regular nodes implies the following changes:

Add new enodes in the files DIRECTORY.md and allowed-nodes.toml, in alastria-node-besu-core repository, for the core nodes.

Add new enodes in the file DIRECTORY.md, in this repository, for the monitorization with Prometheus.

Please, ignore files allowed-nodes.toml and static-nodes.json in this repository, as the correct ones for the installation process of core nodes are in alastria-node-besu-core repository.


Auto-creation of build profile

I'm wondering if it would be a good idea to automatically detect the build profile if one has not been specified, and if a default does not exist, so something like this:
conan profile detect --exist-ok

which will not detect the profile if it already exists.
This would just be a little quality-of-life feature that would not cause an error if someone is referencing a crate and is not too interested in how the native dependencies are handled.
Alternatively, the profile could be written to a temporary file and then referenced, so that it doesn't affect the users environment.

Sounds like a good idea. I think of adding a new builder method like .detect_profile("name"), which will auto-detect and create profile "name" if it does not exist.
Unfortunately, I'm rather busy this week and won't be able to act on this and #1 until the weekend.

No problem at all; if you'd like me to do some PRs, please let me know


Chore: upgrade OpenZeppelin 0.11.0 -> 0.13.0

We still depend on v0.11.0 and it's causing issues for some users who use SBE contracts. The current OZ version is v0.13.0, it has better checks and error messages.

Agree! There was some blocking due to the current OZ version. See constant AMM tests

Updated with new version 0.14.0


Can't build

What went wrong:
Execution failed for task ':compileKotlin'.

Could not resolve all files for configuration ':compileClasspath'.
Could not find io.github.cache:Jagex-Store-5:b95030a6f6.
Searched in the following locations:
- https://maven.aliyun.com/repository/jcenter/io/github/cache/Jagex-Store
-5/b95030a6f6/Jagex-Store-5-b95030a6f6.pom
- https://maven.pkg.github.com/guthix/Jagex-Store-5/io/github/cache/Jagex
-Store-5/b95030a6f6/Jagex-Store-5-b95030a6f6.pom
- https://jcenter.bintray.com/io/github/cache/Jagex-Store-5/b95030a6f6/Ja
gex-Store-5-b95030a6f6.pom
- https://repo.maven.apache.org/maven2/io/github/cache/Jagex-Store-5/b950
30a6f6/Jagex-Store-5-b95030a6f6.pom
Required by:
project :
Could not find io.github.cache:Jagex-ByteBuf:555807fda4.
Searched in the following locations:
- https://maven.aliyun.com/repository/jcenter/io/github/cache/Jagex-ByteB
uf/555807fda4/Jagex-ByteBuf-555807fda4.pom
- https://maven.pkg.github.com/guthix/Jagex-Store-5/io/github/cache/Jagex
-ByteBuf/555807fda4/Jagex-ByteBuf-555807fda4.pom
- https://jcenter.bintray.com/io/github/cache/Jagex-ByteBuf/555807fda4/Ja
gex-ByteBuf-555807fda4.pom
- https://repo.maven.apache.org/maven2/io/github/cache/Jagex-ByteBuf/5558
07fda4/Jagex-ByteBuf-555807fda4.pom
Required by:
project :

Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to
get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 23s

build.gradle of cache
buildscript {
repositories {
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
jcenter()
mavenCentral()
}
}
plugins {
id 'idea'
id 'org.jetbrains.kotlin.jvm' apply false
id 'com.github.hierynomus.license' apply false
id 'java-library'
id 'maven-publish'
}
group 'io.guthix.oldscape'
version '0.1-SNAPSHOT'
allprojects {
apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'com.github.hierynomus.license'
repositories {
	maven{ url 'https://maven.aliyun.com/repository/jcenter'}
	maven {
        name = "GitHubPackages"
        url = uri("https://maven.pkg.github.com/guthix/Jagex-Store-5")
        credentials {
			username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
			password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
		}
    }
    jcenter()
    mavenCentral()
}

dependencies {
    implementation group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib-jdk8'
}

compileKotlin {
    sourceCompatibility = JavaVersion.VERSION_11
    kotlinOptions.jvmTarget = JavaVersion.VERSION_11
}

compileTestKotlin {
    sourceCompatibility = JavaVersion.VERSION_11
    kotlinOptions.jvmTarget = JavaVersion.VERSION_11
}

}
dependencies {
api group: 'io.github.cache', name: 'Jagex-Store-5', version: jagexCacheVersion
implementation group: 'io.github.cache', name: 'Jagex-ByteBuf', version: jagexByteBufVersion
implementation group: 'io.github.microutils', name: 'kotlin-logging', version: kotlinLoggingVersion
implementation group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
}
license {
header = file(rootDir.path + '\..\license\LGPL.txt')
}
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
register(MavenPublication) {
from components.java
pom {
name = 'oldscape-cache'
description = 'A library for modifying OldScape caches'
url = "https://github.com/guthix/OldScape.git"
licenses {
license {
name = 'GNU Lesser General Public License v3.0'
url = 'https://www.gnu.org/licenses/lgpl-3.0.txt'
}
}
}
}
gpr(MavenPublication) {
from(components.java)
}
}
}

OldScape.zip

works fine now


Remove filter for online classes

There are likely not as many online classes as during lockdowns, so remove this option from the options container. For api calls, we will default to including online classes in the search.

Closed by https://github.com/Exanut/schedubuddy-web/commit/9ec558b2ee6e17e305323b56ca4fc7973af87a73


read_region() : blank spaces not blank as zoom level increases

Hello!
I wanted to use your library to read some WSI Dicom files. In this case, I took the image "melanoma_pilot_003" that can be seen in file "region_wsidicom_level7".
I wanted to use the read_window function to extract a particular window from the image:
from wsidicom import WsiDicom

slide = WsiDicom.open("./melanoma_pilot_003")
region = slide.read_region((0, 0),4, (3968, 4672))
region.save("./region_wsidicom_level4.png", format="png")

When I increase the zoom level the image area that is supposed to be blank is not. As I increase the zoom level, the image is repeated more and more. This can be seen in images "region_wsidicom_level5" and "region_wsidicom_level4", where the bottom of the images that is suppose to be blank isn't. This can be compared with the image obtained at zoom level 7 where there is nothing in the blank areas.
Have you already observed this phenomenon?
Have a nice day!

Thanks for reporting this @chlmarchal. This is actually a bug in opentile, which was used to dicomize the tiff-files. The function for generating blank tiles to fill in the sparse tiles in the tiff file takes the first valid tile in the pyramid level (e.g. the top left corner) and fills it with the background color. The left the ac components unchanged, and those thus appeared in the blank tiles.

Thanks for the information and your pull request.


Failed to discover chaostoolkit-kubernetes

First, I've successfully installed chaostoolkit and chaostoolkit-kubernetes from pip in my venv :
⇒  python3 -m venv chaostk
⇒  source chaostk/bin/activate
⇒  pip install chaostoolkit
⇒  pip install chaostoolkit-kubernetes

I am trying to use chaostoolkit-kubernetes on my k8s cluster, but I always get the following errors :
⇒  which chaos
~/venv/chaostk/bin/chaos
⇒  chaos --verbose discover chaostoolkit-kubernetes
[2020-10-28 11:05:33 DEBUG] [cli:74] ###############################################################################
[2020-10-28 11:05:33 DEBUG] [cli:75] Running command 'discover'
[2020-10-28 11:05:33 DEBUG] [cli:79] Using settings file '/home/xat/.chaostoolkit/settings.yaml'
[2020-10-28 11:05:33 DEBUG] [settings:26] The Chaos Toolkit settings file could not be found at '/home/xat/.chaostoolkit/settings.yaml'.
[2020-10-28 11:05:33 INFO] [package:22] Attempting to download and install package 'chaostoolkit-kubernetes'
[2020-10-28 11:05:34 DEBUG] [package:31] Requirement already up-to-date: chaostoolkit-kubernetes in /home/xat/venv/chaostk/lib/python3.8/site-packages (0.24.0)
    Requirement already satisfied, skipping upgrade: pyyaml in /home/xat/venv/chaostk/lib/python3.8/site-packages (from chaostoolkit-kubernetes) (5.3.1)
    Requirement already satisfied, skipping upgrade: chaostoolkit-lib>=0.20.0 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from chaostoolkit-kubernetes) (1.15.0)
    Requirement already satisfied, skipping upgrade: dateparser in /home/xat/venv/chaostk/lib/python3.8/site-packages (from chaostoolkit-kubernetes) (0.7.6)
    Requirement already satisfied, skipping upgrade: kubernetes in /home/xat/venv/chaostk/lib/python3.8/site-packages (from chaostoolkit-kubernetes) (12.0.0)
    Requirement already satisfied, skipping upgrade: logzero in /home/xat/venv/chaostk/lib/python3.8/site-packages (from chaostoolkit-kubernetes) (1.5.0)
    Requirement already satisfied, skipping upgrade: requests>=2.21 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from chaostoolkit-lib>=0.20.0->chaostoolkit-kubernetes) (2.24.0)
    Requirement already satisfied, skipping upgrade: tzlocal in /home/xat/venv/chaostk/lib/python3.8/site-packages (from dateparser->chaostoolkit-kubernetes) (2.1)
    Requirement already satisfied, skipping upgrade: regex!=2019.02.19 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from dateparser->chaostoolkit-kubernetes) (2020.10.23)
    Requirement already satisfied, skipping upgrade: pytz in /home/xat/venv/chaostk/lib/python3.8/site-packages (from dateparser->chaostoolkit-kubernetes) (2020.1)
    Requirement already satisfied, skipping upgrade: python-dateutil in /home/xat/venv/chaostk/lib/python3.8/site-packages (from dateparser->chaostoolkit-kubernetes) (2.8.1)
    Requirement already satisfied, skipping upgrade: certifi>=14.05.14 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from kubernetes->chaostoolkit-kubernetes) (2020.6.20)
    Requirement already satisfied, skipping upgrade: google-auth>=1.0.1 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from kubernetes->chaostoolkit-kubernetes) (1.22.1)
    Requirement already satisfied, skipping upgrade: websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from kubernetes->chaostoolkit-kubernetes) (0.57.0)
    Requirement already satisfied, skipping upgrade: requests-oauthlib in /home/xat/venv/chaostk/lib/python3.8/site-packages (from kubernetes->chaostoolkit-kubernetes) (1.3.0)
    Requirement already satisfied, skipping upgrade: setuptools>=21.0.0 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from kubernetes->chaostoolkit-kubernetes) (41.6.0)
    Requirement already satisfied, skipping upgrade: urllib3>=1.24.2 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from kubernetes->chaostoolkit-kubernetes) (1.25.11)
    Requirement already satisfied, skipping upgrade: six>=1.9.0 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from kubernetes->chaostoolkit-kubernetes) (1.15.0)
    Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from requests>=2.21->chaostoolkit-lib>=0.20.0->chaostoolkit-kubernetes) (2.10)
    Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from requests>=2.21->chaostoolkit-lib>=0.20.0->chaostoolkit-kubernetes) (3.0.4)
    Requirement already satisfied, skipping upgrade: pyasn1-modules>=0.2.1 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from google-auth>=1.0.1->kubernetes->chaostoolkit-kubernetes) (0.2.8)
    Requirement already satisfied, skipping upgrade: cachetools<5.0,>=2.0.0 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from google-auth>=1.0.1->kubernetes->chaostoolkit-kubernetes) (4.1.1)
    Requirement already satisfied, skipping upgrade: rsa<5,>=3.1.4; python_version >= "3.5" in /home/xat/venv/chaostk/lib/python3.8/site-packages (from google-auth>=1.0.1->kubernetes->chaostoolkit-kubernetes) (4.6)
    Requirement already satisfied, skipping upgrade: oauthlib>=3.0.0 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from requests-oauthlib->kubernetes->chaostoolkit-kubernetes) (3.1.0)
    Requirement already satisfied, skipping upgrade: pyasn1<0.5.0,>=0.4.6 in /home/xat/venv/chaostk/lib/python3.8/site-packages (from pyasn1-modules>=0.2.1->google-auth>=1.0.1->kubernetes->chaostoolkit-kubernetes) (0.4.8)

[2020-10-28 11:05:34 INFO] [package:40] Package downloaded and installed in current environment
[2020-10-28 11:05:34 DEBUG] [cli:444] Failed to discover chaostoolkit-kubernetes
    Traceback (most recent call last):
      File "/home/xat/.local/lib/python3.8/site-packages/chaoslib/discovery/package.py", line 99, in get_importname_from_package
        dist = importlib_metadata.distribution(package_name)
      File "/usr/lib64/python3.8/importlib/metadata.py", line 504, in distribution
        return Distribution.from_name(distribution_name)
      File "/usr/lib64/python3.8/importlib/metadata.py", line 177, in from_name
        raise PackageNotFoundError(name)
    importlib.metadata.PackageNotFoundError: chaostoolkit-kubernetes

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/home/xat/.local/lib/python3.8/site-packages/chaostoolkit/cli.py", line 439, in discover
        discovery = disco(
      File "/home/xat/.local/lib/python3.8/site-packages/chaoslib/discovery/discover.py", line 33, in discover
        package = load_package(package_name)
      File "/home/xat/.local/lib/python3.8/site-packages/chaoslib/discovery/package.py", line 47, in load_package
        name = get_importname_from_package(package_name)
      File "/home/xat/.local/lib/python3.8/site-packages/chaoslib/discovery/package.py", line 101, in get_importname_from_package
        raise DiscoveryFailed(
    chaoslib.exceptions.DiscoveryFailed: Package chaostoolkit-kubernetes not found
[2020-10-28 11:05:34 CRITICAL] [cli:445] Package chaostoolkit-kubernetes not found

I also tried to run chaos discover chaostoolkit-aws that works well.
Thanks for the support.

Actually, after the installation of chaostoolkit-kubernetes pip package, I have closed the terminal. Then retried the discover command and it works.


Custom markdown styling support

Hi @adullage, I would like to ask if there's any plan to add any way to support markdown custom styling (custome CSS or note themes) as found in Obsidian Themes and controlling font size in final note appearance.

Hi @ahmednah 👋. There are currently no plans in terms of custom theming but the recent implementation of the dark theme would make it fairly simple to implement custom colours. Is custom colours something you'd be interested in?
The font size is something I'd like to work on as for a lot of people, it is too small. I'll try and get to this in the near future.
Apart from colours and font size, is there anything you'd like to see?

Apart from colours and font size, is there anything you'd like to see?

I'd like to have the option to have lists displayed next to each other, if their  width allows it. The related css attribute is display: inline-block; . For my old system I also need vertical-align:top; to make it look good

the use-case is a page with many small lists where each item is only a short piece of text.
For me personally each list consists of 2-5 <a>  elements, and I have ~20 lists of those small lists on a page. I use that page as a start-page on different browsers across many devices as crude, but robust, bookmark sync

I'd like to apply custom fonts

this would probably be much harder to implement, but it's also less important, at least for me

For me it wouldn't have to be a full-fledged custom theming system. A quick "at-your-own-risk" option for powerusers would be everything I need.
some suggestions:

a single css file, that I can place somewhere on the server, and that will simply be applied in addition to all the default ones. [2]
a config-flag that allows <style> blocks in the markdown [1]

I guess modifiying the file on the docker-image could already work, but that will probably break things when updates happen.
note: I am absolutely not familiar with flatnotes (yet). So it is absolutely possible that I am missing something significant here.
[1] similar setting for dokuwiki. Note the security risk associated with this option: https://www.dokuwiki.org/config:htmlok
[2] similar setting for dokuwiki: https://www.dokuwiki.org/devel:css#user_styles


Automatic re-scaling of y axis for logarithmic graphs

Feature Proposal
Tick the y axis upward for logarithmic graphs based on max value of multiple time series.
Feature Use Case

I currently have a chart with multiple different time series that are updated each tick. I want to increase the max value of the y axis to the next power of 10. For example, if one time series is 99 but reaches 100, the top of the y axis will then say 1000. For 987 to 1000, we add a line for 10000, and so on.
Possible Implementation
I'm not sure if it's currently possible, but I'd imagine feeding something like this into the max: parameter under yAxes ticks. I can't get it to work.
max: newMax(...datasets)

function newMax(datasets) {
    const max = Math.max(datasets).toString();
    const newMax = 1 + "0".repeat(max.length);
    return newMax;
}

Current config:
_chart.chart_3.config = {
	type: 'line',
	data: {
		labels: ['Harvest 1', 'Harvest 2', 'Harvest 3', 'Harvest 4','Harvest 5'],
		datasets: [{
			lineTension: 0,
			label: 'Bill',
			data: [],
			fill: false,
			fillColor : "rgba(0, 0, 0, 1)",
			strokeColor : "rgba(0, 0, 0, 1)",
			backgroundColor: "rgb(54, 162, 235)",
			borderColor: "rgb(54, 162, 235)",
		},
		{
			lineTension: 0,
			label: 'Ann',
			data: [],
			fill: false,
			fillColor : "rgba(0, 0, 0, 1)",
			strokeColor : "rgba(0, 0, 0, 1)",
			backgroundColor: "rgb(255, 99, 132)",
			borderColor: "rgb(255, 99, 132)",
		},
		{
			lineTension: 0,
			label: 'Bill (Sharing)',
			data: [],
			fill: false,
			fillColor : "rgba(0, 0, 0, 1)",
			strokeColor : "rgba(0, 0, 0, 1)",
			backgroundColor: "rgb(4, 0, 255)",
			borderColor: "rgb(4, 0, 255)",
		},
		{
			lineTension: 0,
			label: 'Ann (Sharing)',
			data: [],
			fill: false,
			fillColor : "rgba(0, 0, 0, 1)",
			strokeColor : "rgba(0, 0, 0, 1)",
			backgroundColor: "rgb(255, 0, 0)",
			borderColor: "rgb(255, 0, 0)",
		},
		{
			lineTension: 0,
			label: 'Pool',
			data: [],
			fill: false,
			fillColor : "rgba(0, 0, 0, 1)",
			strokeColor : "rgba(0, 0, 0, 1)",
			backgroundColor: "rgb(128,36,171)",
			borderColor: "rgb(128,36,171)",
		}]
	},
	options: {
		responsive: true,
		title: {
			display: true,
			text: ''
		},
		tooltips: {
			enabled: false,
			mode: 'index',
			intersect: false,
		},
		hover: {
			mode: 'nearest',
			intersect: true
		},
		scales: {
			xAxes: [{
				display: true,
				scaleLabel: {
					display: true
				}
			}],
			yAxes: [{
			    scaleLabel: {
			        display: true,
			        labelString: 'KG',
			    },
			    type: 'logarithmic',
			    position: 'left',
			    ticks: {
			         min: 0, //minimum tick
			         max:<PHONE_NUMBER>0, //maximum tick
			         callback: function (value, index, values) {
			             return Number(value.toString()); //pass tick values as a string into Number function
			         }
			    },
			    afterBuildTicks: function (chartObj) { //Build ticks labelling as per your need
			        chartObj.ticks = [];
			        chartObj.ticks.push(0);
			        chartObj.ticks.push(1);
			        chartObj.ticks.push(10);
			        chartObj.ticks.push(100);
			        chartObj.ticks.push(1000);
			        chartObj.ticks.push(10000);
			        chartObj.ticks.push(100000);
			        chartObj.ticks.push(1000000);
			        chartObj.ticks.push(10000000);
			        chartObj.ticks.push(100000000);
			        chartObj.ticks.push(1000000000);
			        chartObj.ticks.push(10000000000);
			    }
			}]
		}
	}
};

I see what's going wrong here, I think.  I assume the lines are actually drawn by the data array inside datasets
So the max would have to be the the max of all datasets.data values.
Also the  newMax function is working incorrectly, you only want to spread the array when calling Math.max, not when at any other time.
const datasets = [
  {
    data: [77, 22]
  },
  {
    data: [77, 999]
  },
  {
    data: [66]
  },
  {
    data: [88, 976]
  },
  {
    data: [33, 44, 55]
  }
];

function newMax(datasets) {
  // join all the dataset values together into one array to easily find the max
  const merged = datasets.reduce((acc, cur) => {
    acc.push(...cur.data);
    return acc;
  }, []);

  const max = Math.max(...merged).toString();
  return `1${  '0'.repeat(max.length)}`;
}

console.log(newMax(datasets)); // 1000

I changed the title because I think we'd want to implement this in a way that's not specific to just the logarithmic chart. There have been other feature requests for this as well. I can't find any at the moment, but if you're able to find them and post a comment to the others that would help demonstrate demand for this feature

I see what's going wrong here, I think. I assume the lines are actually drawn by the data array inside datasets
So the max would have to be the the max of all datasets.data values.
Also the newMax function is working incorrectly, you only want to spread the array when calling Math.max, not when at any other time.
const datasets = [
  {
    data: [77, 22]
  },
  {
    data: [77, 999]
  },
  {
    data: [66]
  },
  {
    data: [88, 976]
  },
  {
    data: [33, 44, 55]
  }
];

function newMax(datasets) {
  // join all the dataset values together into one array to easily find the max
  const merged = datasets.reduce((acc, cur) => {
    acc.push(...cur.data);
    return acc;
  }, []);

  const max = Math.max(...merged).toString();
  return `1${  '0'.repeat(max.length)}`;
}

console.log(newMax(datasets)); // 1000

This didn't work but thanks for the attempt! Cheers.

I changed the title because I think we'd want to implement this in a way that's not specific to just the logarithmic chart. There have been other feature requests for this as well. I can't find any at the moment, but if you're able to find them and post a comment to the others that would help demonstrate demand for this feature

I actually disagree with this characterization of the problem here. You can add padding but that doesn't solve the problem that the y axis won't automatically add more labels when the max value increases to above the visible range.
For linear graphs, the range will continue to increase with the y axis updating automatically depending on the number of steps specified. For example:

For logarithmic graphs I have to pre-specify the labels with something like this:
ticks: {
        min: 0, //minimum tick
        max:<PHONE_NUMBER>0, //maximum tick
        callback: function(value, index, values) {
            return Number(value.toString()); //pass tick values as a string into Number function
        }
    },
    afterBuildTicks: function(chartObj) { //Build ticks labelling as per your need
        chartObj.ticks = [];
        chartObj.ticks.push(0);
        chartObj.ticks.push(1);
        chartObj.ticks.push(10);
        chartObj.ticks.push(100);
        chartObj.ticks.push(1000);
        chartObj.ticks.push(10000);
        chartObj.ticks.push(100000);
        chartObj.ticks.push(1000000);
        chartObj.ticks.push(10000000);
        chartObj.ticks.push(100000000);
        chartObj.ticks.push(1000000000);
        chartObj.ticks.push(10000000000);
    }

So the problem is with logarithmic graphs specifically. If I have multiple time series with unknown final values, and I've exceeded the the highest label, it not only doesn't add padding, but also doesn't add a new label.
For example, assume I believe the final value of one series to be just below 1000, or 10^3... but it turns out that's not the case. After passing 1000, a new label should be added, i.e. 10^4, 10^5, and so on.
This is an obviously important use case where series are drawn on a logarithmic graph and the user wants to play with setting the max number of ticks.

Restored the title, because @benmccann 's described a different case (still valid though).

@SeloSlav can you prepare a codepen / jsfiddle / equivalent to demonstrate the issue? As simple as possible.

@SeloSlav can you prepare a codepen / jsfiddle / equivalent to demonstrate the issue? As simple as possible.

I can reproducing the issue in codepen soon, but you can see my work here at the moment: https://seloslav.github.io/FarmersFable/
On a chart such as the following I need to pre-specify the values on the y-axis, otherwise some series will be cut off at the top if they exceed the maximum value.

Configuration code:
scales: {
    xAxes: [{
        display: true,
        scaleLabel: {
            display: true
        }
    }],
    yAxes: [{
        scaleLabel: {
            display: true,
            labelString: 'KG',
        },
        type: 'logarithmic',
        position: 'left',
        ticks: {
            min: 0, //minimum tick
            max: 100000000, //maximum tick
            callback: function(value, index, values) {
                return Number(value.toString()); //pass tick values as a string into Number function
            }
        },
        afterBuildTicks: function(chartObj) { //Build ticks labelling as per your need
            chartObj.ticks = [];
            chartObj.ticks.push(0);
            chartObj.ticks.push(1);
            chartObj.ticks.push(10);
            chartObj.ticks.push(100);
            chartObj.ticks.push(1000);
            chartObj.ticks.push(10000);
            chartObj.ticks.push(100000);
            chartObj.ticks.push(1000000);
            chartObj.ticks.push(10000000);
            chartObj.ticks.push(100000000);
        }
    }]
}

Does anyone have a fiddle that reproduces this issue? I tried with the logarithmic sample file from v2.9.3 and the axis re-scales as the data changes.

Read this in depth more, perhaps something like suggestedMax from the linear scale is what is needed.
const options = {
  scales: {
    yAxes: [{
      type: 'logarithmic',
      min: 1,
      suggestedMax: 1e6, // scale.max is Math.max(data.max, 1e6)
    }]
  }
};


[FLINK-2633] [scala, types] Adds equals and hashCode method to OptionTypeInfo

Adds equals and hashCode method to OptionTypeInfo. This PR allows to compare types containing an option type.

+1 for merging

How about we override hashCode(), equals(), and toString() in the TypeInformation base class as abstract? That forces subclasses to override these methods.

+1 for making hashCode(), equals(), and toString() abstract.

+1 for hashCode(), equals() and toString() abstract. But also for introducing canEqual as proposed by Martin Odersky (https://www.artima.com/lejava/articles/equality.html). The reason is that we currently have the odd behaviour that the equals method of TypleTypeInfo and TupleTypeInfoBase is not an equality relation (reflexive, symmetric, transitive, consistent). The following code demonstrates this:
TupleTypeInfo<Tuple1<Integer>> tupleTypeInfo = new TupleTypeInfo<>(BasicTypeInfo.INT_TYPE_INFO);

TupleTypeInfoBase<Tuple1> anonymousTupleTypeInfo = new TupleTypeInfoBase<Tuple1>((Class<Tuple1>)Tuple1.class, (TypeInformation<?>)BasicTypeInfo.INT_TYPE_INFO) {

	@Override
	public TypeSerializer<Tuple1> createSerializer(ExecutionConfig config) {
		return null;
	}

	@Override
	protected void initializeNewComparator(int localKeyCount) {}

	@Override
	protected void addCompareField(int fieldId, TypeComparator<?> comparator) {}

	@Override
	protected TypeComparator<Tuple1> getNewComparator(ExecutionConfig config) {
		return null;
	}

	@Override
	public String[] getFieldNames() {
		return new String[0];
	}

	@Override
	public int getFieldIndex(String fieldName) {
		return 0;
	}
};

System.out.println(tupleTypeInfo.equals(anonymousTupleTypeInfo)); // false
System.out.println(anonymousTupleTypeInfo.equals(tupleTypeInfo)); // true

Thus, the symmetric condition is violated.
This should actually be the norm for all future equality implementation, IMHO.

How about we move the discussion about making methods abstract and introducing new methods to a separate issue?

Is it really necessary to discuss an obvious bug on the mailing list? The EitherTypeInfo suffers from the same problem and, thus, it seams to be a systematic error. In order to prevent future mistakes like this, I don't see a different way than making the developer aware that he has to implement these methods.

Oh I have to correct myself. It's even worse then expected. Not only OptionTypeInfo and EitherTypeInfo are broken but also EnumTypeInfo and TryTypeInfo because they don't implement equals. Furthermore, the equals method of RecordTypeInfo, WritableTypeInfo and GenericTypeInfo will fail with a NullPointerException when called with null. The PrimitiveArrayTypeInfo does not implement the hashCode method.

Yes, I think that is necessary. FLINK-2633 is about a bug in OptionTypeInfo. It is not about the general TypeInformation interface which is not broken, but could (and should) be improved. We should create a new JIRA (changing TypeInfo breaks the public API) and continue the discussion of changing the API over there.

Created FLINK-2637

If these changes are API breaking, then this PR is as well API breaking.

Sure, but that should also be reflected in the JIRA issue.
Please go ahead and update FLINK-2633 and close FLINK-2637 if you want to address all these issues in this PR.

Will do. FLINK-2633 is basically subsumed by FLINK-2637. Thus, I'll close this PR and open a new one for FLINK-2637.

Cool, thanks!

@tillrohrmann You are extending this PR and opening a new one, right?
Can you close this PR?

Sure.


Include simulated dataset as part of package

store simulated counts and pseudotime in inst/extdata
need to document both parts of the dataset as well

-use data/ instead actually


net: zperf: Introduce a public API for the library

This set of commits refactors the zperf library, mostly by decoupling the networking part of the library from shell. This allows to define a public API for the library, which opens the possibility to perform zperf benchmarks directly from the application code.
Along with the refacotring of the existing components, a few improvements are proposed:

Provide an API to execute asynchronous uploads along with the corresponding shell switch in the upload/upload2 commands. This allows to execute upload w/o blocking shell from accepting further commands.
Refactor the TCP/UDP server threads to allow to restart the server functionality. Provide an API to stop the server along with the corresponding shell command.

CC @krish2718 @sachinthegreen

Had to rebase due to a conflict.

LGTM, but don't see how multiple invocations would work both in SHELL/API? esp. async APIs? We should at least document the behaviour.

Synchronous uploads should work just fine, as they only use local variables, so you should be able to trigger the upload from different threads simultaneously (as long as there's enough system resources).
For asynchronous uploads/downloads, it's trickier though, currently there's a limit of a single concurrent run. The reason is quite simple - if we wanted to support simultaneous asynchronous uploads, we'd need to spawn a separate thread for each. I don't think we can afford that.

Sorry, had to force push again to resolve a conflict.

@krish2718 please take another look


Why using sql builder like squirrel or go-sqlbuilder rather than plain old sql string?

just starting to use golang in production and found some legacy code using sqlbuilder heavily. I found the code is very hard to understand compared to the sql string.
sb := sqlbuilder.NewSelectBuilder()
sb.Select("id", "name", sb.As("COUNT(*)", "c"))
sb.From("user")
sb.Where(sb.In("status", 1, 2, 5))
vs
sql:=SELECT id, name, COUNT(*) AS c FROM user WHERE status IN (?, ?, ?)
I think the second one is much easy to understand.

Feel free to abandon it in your production code and use plain SQL string directly if you prefer.
A SQL builder, this package or other similar package, is a kind of trade-off to leverage readability and correctness. It's always OK to use plain SQL string in production code. The only issue is that developers may misspell some words in SQL or forget to escape some sensitive strings unconsciously. A SQL builder can help us in these scenarios.
Besides SQL builders, there are lots of other approaches for these scenarios, e.g. MyBatis-like SQL template strings or ORMs. There is no so-called best approach. Find the best approach you like most and use it. That's it.

Got it, Thank you for the quick and informative response！


Feature Request: Provide Icon Prop in shadcn UI Component

The current implementation of the shadcn UI component lacks support for an icon prop, making it challenging for users who wish to include icons within the component. This feature request suggests the addition of an icon prop to enhance the flexibility and customization options available to developers.
Expected Behavior:
Users should be able to easily include icons within the shadcn UI component by utilizing a dedicated icon prop. This enhancement would contribute to a more versatile and visually appealing user interface.

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


K8s cluster connectivity issue

Describe the bug
Attempting to connect to K8s clusters in Lens. Worked fine until this morning and now when I attempt to connect to any of the clusters defined in the kubeconfig it fails to connect with the following errors (note the same kubeconfig works fine with 'kubectl' and vscode k8s extension):
could not get token: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
E0524 17:11:48.238040 95142 proxy_server.go:147] Error while proxying request: getting credentials: exec: executable /usr/local/bin/aws-iam-authenticator failed with exit code 1
getting credentials: exec: executable /usr/local/bin/aws-iam-authenticator failed with exit code 1
To Reproduce
Steps to reproduce the behavior:
Verified that the Kubeconfig Syncs is using the correct Kubeconfig
Attempt to connect to cluster and get presented with the following:
could not get token: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
E0524 17:11:48.238040 95142 proxy_server.go:147] Error while proxying request: getting credentials: exec: executable /usr/local/bin/aws-iam-authenticator failed with exit code 1
getting credentials: exec: executable /usr/local/bin/aws-iam-authenticator failed with exit code 1
Expected behavior
Successfully connect to the cluster as usual
Environment (please complete the following information):

Lens Version: 5.4.6-latest.20220428.1
OS: macOS Big Sur - Version: 11.6.5 (20G527)
Installation method (e.g. snap or AppImage in Linux): AppImage

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
apiVersion: v1
clusters:
- cluster:
    extensions:
    - extension:
        manager:
          namespace: ambassador
      name: telepresence.io
    server: https://api.dev.net
  name: dev
contexts:
- context:
    cluster: dev
    namespace: default
    user: dev-user
  name: dev
current-context: dev
kind: Config
preferences: {}
users:
- name: dev-user
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - token
      - -i
      - dev..net
      command: /usr/local/bin/aws-iam-authenticator
      env: null
      interactiveMode: IfAvailable
      provideClusterInfo: false

Additional context
Note: the same kubeconfig works fine with 'kubectl' and vscode k8s extension

So this seems like the aws-iam-authenticator is failing to retrieve your credentials. Does it need the interactive mode sometimes? Does it work if you cold start Lens from the terminal that it works with kubectl?


Durable Object RPC stub (name interceptor)

This is the client-side work that modifies DO client stubs, enabling them to intercept dynamic method names (those which are not defined on the C++ class).
The server-side PR will fill in the RPC branch of getNamed(), this commit just provides an interface and ensures "legacy" DO stub usage isn't broken.

This is currently pointing to the jsg-named-intercept branch so the diff isn't annoying to look at. My plan is to rebase https://github.com/cloudflare/workerd/pull/1028 on this branch and delete most of the client side (actor.h/c++) stuff from that PR. Really, the only client side changes in that PR should be moving the body of getRpcAndCallRemote() into getNamed().
I'll be adding an internal test to confirm we can call stub.foo() if the compat flag is present, and perhaps more importantly, we can't without it (current stub behavior retained by default).

Ah, almost forgot we want to prevent calling certain registered names (like alarm). Will add this just need to find the list of names.

Looks like you'll need approval from @cloudflare/wrangler as well fyi

Looks like you'll need approval from https://github.com/orgs/cloudflare/teams/wrangler as well fyi

Is there a way to replace this group? I wouldn't expect them to review this and I seem to be unable to remove the review request.

https://github.com/cloudflare/workerd/compare/54b85d24528f9013d34a864f241c8e771fd8358d..244f9216b7c892d4227312e5cd42abb9956b3a0e is a rebase. I also dropped an include in actor.h that wasn't necessary.


Add PIE supporting capability

:white_check_mark: Checklist

[x] This pull request has a meaningful title.
[x] If your changes are not yet ready to merge, you have marked this pull request as a draft pull request.

:ballot_box_with_check: Maintainers' checklist

[x] This pull request has had the appropriate labels assigned
[x] This pull request has been added to the SATRE backlog project board
[x] This pull request has been assigned to one or more maintainers

:arrow_heading_up: Summary

Add PIE supporting capability
Reinstate supporting capability pillar

The rationale for this change is added as a comment (which may be useful for future contributors). Would it be useful explaining this in text in the specification? In particular, how these points are more (only?) important when the the public are data subjects, for example work on NHS patient data.
:closed_umbrella: Related issues

Closes #113
Related to #101
:raising_hand: Acknowledging contributors

[ ] All contributors to this pull request are already named in the table of contributors in the README file.
[x] The following people should be added to the table of contributors in the README file:

For content and ideas,
@Katie-RDS, @antonychuter, @JillB19, @harisood

Thanks for making the changes @jemrobinson, all agreed 👍.

I'll update the contributors in a PR.


Getting started failed. (Fable 4.0.1)

I really like the idea of writing testing code that runs on .NET and JS.
I followed the getting started instructions using fable 4.0.1, It compiled fine. But then after npm test I get:
> test
> mocha output/tests

(node:3268) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)

D:\Git\Ino - Copy\output\tests\Tests.js:1
import { Mocha_runTests, Test_TestCaseBuilder__Zero, Test_TestCaseBuilder__Delay_1505, Test_TestCaseBuilder__Run_3A5B6456, FocusState, Test_testList } from "./fable_modules/Fable.Mocha.2.16.0/Mocha.fs.js";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1176:20)
    at Module._compile (node:internal/modules/cjs/loader:1218:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

package.json:
{
  "scripts": {
    "pretest": "fable tests -o output/tests",
    "test": "mocha output/tests"
  },
  "devDependencies": {
    "mocha": "^10.2.0"
  }
}

Is there somewhere a sample app that works (with fabel 4.0.1)?

Hi @goswinr I think the error message gives you a good hint:

To load an ES module, set "type": "module" in the package.json

Can you give that a try?

yes, thanks @Zaid-Ajaj  that worked, (I thought it was a problem with the new fable release 🤦♂)


updated code to improve legend

changed test.py, scatters.py and makefile. also uploaded new .png's and gif that include the new legend

I neglected to mention, this should close out Issue #59

@PhilipMathieu

This is a clever solution to the problem. Just to make sure I am understanding, you are basically creating dummy plots with no data and generating the legends based off of those, allowing more control without having to tweak the plotting of the actual data?

Yes, (@kayneryan correct me if I am misunderstanding) I believe that is what is going on here, you can "plot" some labeled data with no entries to get the legend looking how you want. Its a similar method as shown in cell 9 in the [https://jakevdp.github.io/PythonDataScienceHandbook/04.06-customizing-legends.html](book here).

Yes, that’s correct. Modeled on an example we covered in class, which I think is an elegant workaround that makes it much more viewer-friendly. Thanks!
Sent from my iPhone
On Mar 18, 2022, at 10:31 AM, Sophia Cofone @.***> wrote:

@PhilipMathieuhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPhilipMathieu&data=04|01|ryan.kay%40northeastern.edu|21d1bf0811b34da0827808da08ebf5b6|a8eec281aaa34daeac9b9a398b9215e7|0|0|637832106777268456|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=ewTlHYRgExeuXpJvl7lbaxmrMC95XVk%2BCq%2BcbrdMoKk%3D&reserved=0
This is a clever solution to the problem. Just to make sure I am understanding, you are basically creating dummy plots with no data and generating the legends based off of those, allowing more control without having to tweak the plotting of the actual data?
Yes, @.***https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkayneryan&data=04|01|ryan.kay%40northeastern.edu|21d1bf0811b34da0827808da08ebf5b6|a8eec281aaa34daeac9b9a398b9215e7|0|0|637832106777268456|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=shpH6M1NneF15XY8rw5o2lrtVS3GTZCBupY7CULhNbM%3D&reserved=0 correct me if I am misunderstanding) I believe that is what is going on here, you can "plot" some labeled data with no entries to get the legend looking how you want. Its a similar method as shown in cell 9 in the [https://jakevdp.github.io/PythonDataScienceHandbook/04.06-customizing-legends.html](book here).
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fds5010%2Fvaccines%2Fpull%2F69%23issuecomment-1072467177&data=04|01|ryan.kay%40northeastern.edu|21d1bf0811b34da0827808da08ebf5b6|a8eec281aaa34daeac9b9a398b9215e7|0|0|637832106777268456|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=6c07%2FMq%2FjGix2zDhbAYCVk%2FSRgm2j8LXMYcM7By1Jmk%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVC5JH6B7FP774RCYBRULYLVASHTHANCNFSM5RATZLZA&data=04|01|ryan.kay%40northeastern.edu|21d1bf0811b34da0827808da08ebf5b6|a8eec281aaa34daeac9b9a398b9215e7|0|0|637832106777268456|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=ULPSKvf%2BWHZmZ3NMh0%2Bx6uV9KAVkbNa3gp3t5I4mOzg%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


Fix typo in m2v method parameters

Some parameters included typos interference where it should be inference.

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

Project coverage is 94.55%. Comparing base (840c055) to head (4bfbfa8).
Report is 35 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1073      +/-   ##
==========================================
- Coverage   94.63%   94.55%   -0.08%
==========================================
  Files         181      181
  Lines       18747    18805      +58
==========================================
+ Hits        17742    17782      +40
- Misses       1005     1023      +18

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

Ah, yes of course. I'll look to do that this week sometime.


feat: Introduce simpler dockerfile mode for dmp

See also https://ro14nd.de/simple-dockerfile-mode-dmp

DMP will use this Dockerfile instead of inline configuration?
No change in mvn install -Pdocker generating Docker image? There are other scripts that rely upon that command.

Ok, I will check the binding for "install", but otherwise its a full replacement.

Yes, works for me with as before:
$ mvn install -Pdocker -Pdocker.repo=rhuss
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building greeting 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ greeting ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/roland/Development/docker/microservices-greeting/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ greeting ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ greeting ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/roland/Development/docker/microservices-greeting/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ greeting ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ greeting ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-war-plugin:2.5:war (default-war) @ greeting ---
[INFO] Packaging webapp
[INFO] Assembling webapp [greeting] in [/Users/roland/Development/docker/microservices-greeting/target/greeting]
[INFO] Processing war project
[INFO] Copying webapp resources [/Users/roland/Development/docker/microservices-greeting/src/main/webapp]
[INFO] Webapp assembled in [145 msecs]
[INFO] Building war: /Users/roland/Development/docker/microservices-greeting/target/greeting.war
[INFO]
[INFO] --- wildfly-swarm-plugin:2018.2.0:package (default) @ greeting ---
Resolving 89 out of 262 artifacts
[INFO] Repackaging .war: /Users/roland/Development/docker/microservices-greeting/target/greeting.war
[INFO] Repackaged .war: /Users/roland/Development/docker/microservices-greeting/target/greeting.war
[INFO]
[INFO] --- docker-maven-plugin:0.25.1:build (docker:build) @ greeting ---
[INFO] Building tar: /Users/roland/Development/docker/microservices-greeting/target/docker/rhuss/greeting/latest/tmp/docker-build.tar
[INFO] DOCKER> [rhuss/greeting:latest]: Created docker-build.tar in 1 second
[INFO] DOCKER> [rhuss/greeting:latest]: Built image sha256:b0c55
[INFO] DOCKER> [rhuss/greeting:latest]: Removed old image sha256:cff50
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ greeting ---
[INFO] Installing /Users/roland/Development/docker/microservices-greeting/target/greeting.war to /Users/roland/.m2/repository/org/aws/samples/compute/greeting/1.0-SNAPSHOT/greeting-1.0-SNAPSHOT.war
[INFO] Installing /Users/roland/Development/docker/microservices-greeting/pom.xml to /Users/roland/.m2/repository/org/aws/samples/compute/greeting/1.0-SNAPSHOT/greeting-1.0-SNAPSHOT.pom
[INFO] Installing /Users/roland/Development/docker/microservices-greeting/target/greeting-swarm.jar to /Users/roland/.m2/repository/org/aws/samples/compute/greeting/1.0-SNAPSHOT/greeting-1.0-SNAPSHOT-swarm.jar
[INFO]
[INFO] --- docker-maven-plugin:0.25.1:push (docker:push) @ greeting ---
[INFO] DOCKER> The push refers to repository [docker.io/rhuss/greeting]
c2c415b78f59: Pushed
148268bf14be: Layer already exists
6a47dae912f7: Layer already exists
00439e7d6354: Layer already exists
a1a8b7f7efac: Layer already exists
341d865c1c22: Layer already exists
61c06e07759a: Layer already exists
bcbe43405751: Layer already exists
e1df5dc88d2c: Layer already exists
[INFO] DOCKER> latest: digest: sha256:7af84a97fc3254f7e263f6d87d184b7fc96aabd931f80f733c57f7dc9d485577 size: 2211
[INFO] DOCKER> Pushed rhuss/greeting:latest in 1 minute and 46 seconds
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:01 min
[INFO] Finished at: 2018-04-13T16:19:18+02:00
[INFO] Final Memory: 48M/521M
[INFO] ------------------------------------------------------------------------

If you like that slim approach, I would be happy to send in equivalent PRs for your other projects, too.

@arun-gupta found the issue for the push problem, going to make a release now and send PRs for all your repos.


[docs] serving static files

I'm probably missing something fundamental since i haven't used nim in a few months, but i was not able to serve static files until importing os and adding putEnv("StaticDir","./static") to the main block in main file. I tried different locations for static.nims and paths as the StaticDir in static.nims, but couldn't get that to help anything.
The below is what worked for me.
My static files are in a /var/www/appname/static directory.
The main app file is /var/www/appname/appname.nim
import scorper
import os

when isMainModule:
  type AsyncCallback = proc (request: Request): Future[void] {.closure, gcsafe.}

  let r = newRouter[AsyncCallback]()
  r.addRoute(serveStatic, "get", "/static/*$")
  let address = "<IP_ADDRESS>:8888"
  putEnv("StaticDir","./static")
  let flags = {ReuseAddr}
  var server = newScorper(address, r, flags)
  server.start()
  waitFor server.join()

What am i missing? or maybe the docs for static files can be improved?
Thanks

I tested it works as expected ,  use . is expecting your cwd that run your nim file as static dir, if you run appname.nim in /var/www/appname/ I think that's all fine.

I've add proc doc comment ## Relys on StaticDir environment variable , the chronos have some problem with nimdoc so I can't just generate an api document on GitHub page.

i hadn't tried putting static files loose in the root dir. For me, scorper will serve any static files in the project root dir regardless of what i have for StaticDir in static.nims. Also, it won't serve any static files if i put them in a /static dir even if i put ./static as StaticDir in static.nims. Serving static files from a subdirectory only works if i add putEnv("StaticDir","./static") to my main app file, as detailed above. Having static files loose in project root dir is not desirable to me, and it doesn't seem like the documented config method works for serving anywhere except the project root dir.

In your case is appname.nims ,use . Depends on your cwd. rest of url static/ will match files under static dir , that’s how it works

ok, (i'm still not sure what you're trying to tell me) but when i change the StaticDir to ./static in static.nims it doesn't respect that change. It only serves in cwd of appname.nim (project root). How are you supposed to use a dedicated directory for static files, using the static.nims file in your example and/or besides how i did it above?
My point is not that your code doesn't work, but that i don't understand your docs.
Maybe you could just show how to use a dedicated static dir (not loose files in project root) in the example? I can just use the method i found, but i just posted this issue so you would know it caused/causes me problems. Maybe other users will have trouble too. Maybe it's just me.

Okay , I get it . I am starting worry about writing document myself...


Adds byClientId to user lists from Bearer token. Used to identify...

...where subscribe requests came from (MAU-226)
Hopefully I've not done anything strange or mental.
As an aside, wondering if we could add a ticket to introduce a linter to this project, and do a lint-through when we're less busy?...

I needed a break and couldn't help myself 😬 https://github.com/Financial-Times/email-users-lists/pull/168 🎁


Problems with new helm chart (adding table and minion stateless)

I'm currently deploying a new pinot cluster and I was facing some issues while adding tables using this guide.
After debugging it a lot, I guess I discovered the solution. Below are the problems that I found:

The new helm package is missing on the repo. It's not possible to deploy minion stateless (or any update) using this repo as a helm repo.

Using stateless minion I got a connection refused on the controller while trying to add tables.

The combination of stateful minion and latest image, results in the errors below:
Job logs:
2022/07/08 14:22:23.062 INFO [AddTableCommand] [main] {"code":500,"error":"org.apache.pinot.shaded.org.apache.kafka.common.KafkaException: Failed to construct kafka consumer"}
Controller logs:
Caused by: org.apache.pinot.shaded.org.apache.kafka.common.KafkaException: javax.security.auth.login.LoginException: No LoginModule found for org.apache.kafka.common.security.scram.ScramLoginModule

Readiness and Liveness probes are not working on minion stateless, so it should be disabled on values file.

Resolution:
We have another cluster and everything works fine, so I checked the differences and I realized the image used on this cluster was latest:jdk-11. Changing to this image I was able to create tables using pinot-admin.sh as described here.
But, this solution only worked using stateful minion, stateless is still returning connection refused after changing the image.

@xiangfu0 Can you please take a look?


Wait for Infrastructure/ControlPlane/BootstrapProvider readiness before reporting success

      cluster-api:
        success: true
      cluster-api-provider-aws:
        success: true
      cluster-api-provider-azure:
        success: true
      hmc:
        success: true
      k0smotron:
        success: true```

I'm code complete on this, but with all the e2e test debugging I haven't been able to test this just yet.


Repacks and Manga

Included two repack sites and a popular fork of Tachiyomi. Also, new to this, probably formatted it incorrectly.

Seems like something went wrong with this commit looking at the diff - please review.


Editing block fails if it is a copy from clipboard

With Concrete 8 RC 1 I did:

Add a content block to a page
Copy this block to clipboard
Add the block from clipboard to another page
Edit new (copied) block -> opens popup instead inline (new feature?) that says "This block was copied from another location..."
Save new content in edited block

Result: The content block is not updated but completely removed from the new page and a useless inline-editing-popup remains on the page.

This is quite likely a bug in the new block menu class:
\Concrete\Core\Block\Menu


Fallback to mini.splitjoin

It would make sense to fall back onto mini.splitjoin if TreeSitter isn't configured for a buffer or split operation fails.
For example, trying to split a long string in Bash returns:
[TreeSJ]: Node "string_content" for lang "bash" is not configured

...while the same line can be perfectly split by mini.splitjoin.

To add fallback for specific nodes, use the fallback option in the node preset (example of usage).
Another way to add fallback to mini.splitjoin is how I personally use it.
Since both solutions depend on a third-party plugin, I will not to add this to the default configuration. API methods will do.


other: update simpleclient, simpleclient_hotspot, ... from 0.14.1 to 0.16.0

Updates

io.prometheus:simpleclient
io.prometheus:simpleclient_hotspot
io.prometheus:simpleclient_httpserver

from 0.14.1 to 0.16.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.prometheus" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "io.prometheus" }
}]

labels: library-update, early-semver-major, semver-spec-minor, commit-count:1

Codecov Report
Base: 98.64% // Head: 98.64% // No change to project coverage :thumbsup:

Coverage data is based on head (e7c5a45) compared to base (554f6d9).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   98.64%   98.64%
=======================================
  Files          10       10
  Lines          74       74
  Branches        5        5
=======================================
  Hits           73       73
  Misses          1        1

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Proposed logo to STEEMPAY

Hello @ianpark !
I am a designer, can I cooperate for your project. Previously I will contribute to "Steem Pay" is a logo, here are the results, hope you are interested:

I am waiting for your response, give me suggestion if you have another idea for steempay logo.

Hi @k-syusteem, many thanks for your contribution. Unfortunately there is a design team already working on the branding and the design concept, so your contribution cannot be partially applied as the unity of design must be honoured. I am really sorry.
Btw I think your design is really really great, and hope to work with you in the future.


System.IO.IOException in Kestrel (.net core 2.1.300) on Windows

Original issue from https://github.com/dotnet/core/issues/1798
@tamasVajda commented 5 days ago
We use .net core app with hosted Kestrel web server. During Some requests Kestrel throw the following exception at the end of the corresponding request:

info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 1.0512ms 200
info: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[14]
Connection id "0HLFB5I99V5O0" communication error.
System.IO.IOException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketAwaitable.GetResult()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.ProcessReceives()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.DoReceive()
--- End of inner exception stack trace ---
info: Microsoft.AspNetCore.Server.Kestrel[20]
Connection id "0HLFB5I99V5O0" request processing ended abnormally.
System.IO.IOException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketAwaitable.GetResult()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.ProcessReceives()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.DoReceive()
--- End of inner exception stack trace ---
at System.IO.Pipelines.PipeCompletion.ThrowLatchedException()
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application)    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication1 application)
at System.IO.Pipelines.PipeCompletion.ThrowLatchedException()
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.ProcessSends()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.DoSend()

The server tries to provide a file to the client like the following example:

public async Task ProcessRequest(HttpContext context)
{
// some file operations
string sourcePath = context.Request.Query["File2Download"].ToString();
if (!File.Exists(fileToSend))
{
context.Response.StatusCode = StatusCodes.Status404NotFound;
return;
}
await context.Response.SendFileAsync(fileToSend);
}

On client site we use System.Net.Http.HttpClient without redefining Default request header, and PostAsync to sending the get request to the server.
If the connection would broken it would throw kestrel connection lost exception instead of this.
This issue occurred just on Windows 10, on Cent OS 7, and on Debian 9 the same scenario doesn't cause this problem.
Have you any idea what can cause this

System.IO.IOException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond   exception?

We'll need to investigate this further, but it really looks like a connection reset and harmless.  In which case we'll simplify the logs (remove the stack trace).

I am also having similar error when I am trying to send long running requests to Kestrel on Windows Server 2016.
It is interesting that the same Request and the same code run fine on Linux Docker (Ubuntu).

Logging has been improved and stack trace is removed. We don't plan to take any more action on this issue.


adicionando opção para manter a formatação do HTML

Adicionei uma opção a mais no settings chamada isHtml, como default false para não ter impacto para quem já usa o plugin, setando para true a sintaxe html no texto será mantida  no resultado do diff

Hello @eltonrodrigues-github - thanks for the PR. This repo/code is actually maintained in coffeescript.
Please submit your change-request as a coffee-script file change (instead of the .js or the min.jsfiles) and I will take a look. When the change is ready, I will prepare the js files and upload.

@eltonrodrigues-github is this support the image tag too

Closing this PR. The PR deletes the source code (which is maintained in Coffeescript).
I am not using this library anymore. Let me know @erodrigues-dev if you would like to take it over and run it. I can transfer it.


 I would like to use kmmbridge spm configuration for that:
kmmbridge {
  spm()
   githubReleaseVersions()
   githubReleaseArtifacts()
}

Running gradle spmDevBuild on any modules generates a root level Package.swift for the latest KMM module that generates Swift package. Could we consider generating Package.swift into KMM module's build directory instead of at the root level?

@kirillzh I am running into exactly the same situation.  This is what I tried and the Package.swift file was created in the KMM module directory.
 spm(project.projectDir.path)

This is path generated in the Package.swift though.
path: ".//build/XCFrameworks/debug/\(packageName).xcframework"

Instead of dragging and dropping my whole android repo into Xcode, I only dragged and dropped the KMM module and it worked without problems.
@KatieGalvin is this an intended way to use the spm("spmDirectory")?

@kirillzh  If you're putting the package file in a build directory, you're probably not using the plugin the way we intended. For publishing to work, the package file needs to be checked into the repo.
@carlosmonzon I think what you're doing should work but we haven't tested that sort of flow very much. If it is working we should probably document it better.

I'm closing this as I don't think it fits the current intended usage of the plugin.

@russhwolf I'm trying to generate multiple swift packages in a project with several kmp modules. when using spm(project.projectDir.path), I see individual Package.swift files in the various module as @carlosmonzon pointed out, but like you mentioned, I get an error when we try to publish in the workflow. I get the following error:
Run touchlab/autoversion-finishrelease@main
Error: fatal: pathspec './Package.swift' did not match any files

Since this isn't the intended usage of the plugin, what is the recommended approach here? Are we supposed to create an 'allShared' module and only publish that for iOS?


A basic app deploy fails

Describe the bug
I am getting this error:
I've initiated the deployment process. Let me check the deployment status for you...
Your site has been successfully deployed! You can view it at: undefined
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-iea2b1
Steps to reproduce
After creating the basic app I am clicking on deploy
Expected behavior
It should deploy the app to Netlify
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 166137508,
  "usedJSHeapSize": 100343512,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = navjeetc
Chat ID = 1f6c78af0ce6

Additional context
No response

Hey @navjeetc, thanks for the report.
This issue is tracked on https://github.com/stackblitz/bolt.new/issues/3948.


export open/closed connection metric for connection pool

Motivation:
It'd be nice if we export metrics about the connection pool, such as:
the counter of open/closed connections
the number of currently active/idle connections
some timing stats about keep-alives (HTTP ping frames, etc)

We might want to implement this internally by:
Adding more hooks to ConnectionPoolListener; and
Adding a metric-collecting ConnectionPoolListener

.. so that our users can also access the events.
Modifications:

Adds related classes for supporting collecting some metrics for the connection pool.
Add a test class to verify the new open/closed connection metrics

Result:

Closes #3493

Note:

This is not a complete solution to the motivation
Only support open/closed metrics
Other metrics are still in progress.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Looks really nice! Left only nit comments. I think it's also fine to ship PR this as-is and add additional metrics as future works if you would like.

Yes, please. The remain metrics I will continue after the event.

So far so good!

Thank you guys for your great support. I learned a lot from your feedback and suggestions. Please let me know if you have any other comments or suggestions. Thanks again for your cooperation and guidance.


Support Rollback and Ping

Could you please support
https://cx-oracle.readthedocs.io/en/latest/api_manual/connection.html
Connection.ping()
and
Connection.rollback()
methods.
This is must have.
Connection.module
Connection.action
Connection.client_identifier
Connection.clientinfo
Would be very nice too.
Thank you.

Added in the latest commit of dev branch , not sure if that's what result you expect. For the other four option , since I'm not famillar with oracle's unique feature , I'm not quite sure what

This write-only attribute sets the module column in the v$session table.
means in the doc , could you explain to me what's the use of those four options.

btw, session pool close feature updated also in the latest commit.

Added in the latest commit of dev branch , not sure if that's what result you expect. For the other four option , since I'm not famillar with oracle's unique feature , I'm not quite sure what

This write-only attribute sets the module column in the v$session table.
means in the doc , could you explain to me what's the use of those four options.

btw, session pool close feature updated also in the latest commit.

could you explain to me what's the use of those four options.

V$SESSION  is DB view where you can see your connections. Sometimes when DB have a lot of connections it is not easy to understand which one is yours and what it is actually process in the current moment in your session. You can specify information about your program and action and additional information by this methods. It's usefull for you when you are triyng to understand what session doing. And Oracle can provide agregation information about spending time by modules in oracle statistics.

could you explain to me what's the use of those four options.

V$SESSION  is DB view where you can see your connections. Sometimes when DB have a lot of connections it is not easy to understand which one is yours and what it is actually process in the current moment in your session. You can specify information about your program and action and additional information by this methods. It's usefull for you when you are triyng to understand what session doing. And Oracle can provide agregation information about spending time by modules in oracle statistics.

Alright , If I'm understanding correctly  , v$session is a view (can be accessed by anyone) in which you can find infos of all activate connections , and you use options such as connection.module to set an unique identification of your current connection , but since these are all write-only property so that when you'd like to get access to those information you will use some command like SELECT sid , module , clientinfo FROM v$session ?
Here's a technical problem of python grammar implementing these write-only features. Since those property should connect to oracle db to be set , which means its a blocking IO operation , so that a await is be suppose in the line of code:
async with pool.acquire() as conn:
    await conn.module = 'hello world'

Problem is python donot support these kind of grammar.

Alright , If I'm understanding correctly  , v$session is a view (can be accessed by anyone) in which you can find infos of all activate connections , and you use options such as connection.module to set an unique identification of your current connection , but since these are all write-only property so that when you'd like to get access to those information you will use some command like SELECT sid , module , clientinfo FROM v$session ?
Here's a technical problem of python grammar implementing these write-only features. Since those property should connect to oracle db to be set , which means its a blocking IO operation , so that a await is be suppose in the line of code:
async with pool.acquire() as conn:
    await conn.module = 'hello world'

Problem is python donot support these kind of grammar.

There is more information about it
https://cx-oracle.readthedocs.io/en/latest/user_guide/tracing_sql.html
Look at "Oracle Database End-to-End Tracing"

There is more information about it
https://cx-oracle.readthedocs.io/en/latest/user_guide/tracing_sql.html
Look at "Oracle Database End-to-End Tracing"

That's great ,and that's why I got no immediate response at server end so that I have to call a sleep query and then I could finally findout conn.module has changed.

That's great ,and that's why I got no immediate response at server end so that I have to call a sleep query and then I could finally findout conn.module has changed.

New commit updated at dev branch , you can use the same way as cx_Oracle
async with pool.acquire() as conn:
    conn.module = 'test_module'
    conn.action = 'test_action'
    conn.client_identifier = 'test_identifier'
    conn.clientinfo = 'test_info'
    async with conn.cursor() as cursor:
        await cursor.execute(f"SELECT * FORM V$SESSION WHERE MODULE = 'test_module'")
        print(await cursor.fetchone())

If that's fine in your opinion I'll draft a new release to pypi.

New commit updated at dev branch , you can use the same way as cx_Oracle
async with pool.acquire() as conn:
    conn.module = 'test_module'
    conn.action = 'test_action'
    conn.client_identifier = 'test_identifier'
    conn.clientinfo = 'test_info'
    async with conn.cursor() as cursor:
        await cursor.execute(f"SELECT * FORM V$SESSION WHERE MODULE = 'test_module'")
        print(await cursor.fetchone())

If that's fine in your opinion I'll draft a new release to pypi.

Thank you. Ship it!

Thank you. Ship it!

It would be nice to add also method
Connection.begin()
Thank you!


New Sensor: DNS IP

Description:
This sensor, without fancy configuration, provides the current external IPv4 address, obtained by asking an OpenDNS server (like dig +short myip.opendns.com @resolver1.opendns.com). This has less overhead than parsing some of the HTTP solutions one could get using a REST sensor.
Additionally it's possible to customize the hostname and DNS server, which allows to ask for IP addresses of pretty much any host. Could be useful to be notified if some remote location (with some dynamic DNS) had connection issues and got a new IP because of that.
There also is IPv6 support, but getting the own external address doesn't work that well, since this actually resolves to the IPv6 address of the machine running HASS, not the modem.
I'm not sure how useful this is to others and if this should end up in here. But if there are no "naaah, nobody needs that"'s within the next couple days I'll take care of the documentation. :)
One thing one might stumble upon: I don't do the update directly when loading the platform. The reason is, that DNS-queries can timeout, and in that case the entity wouldn't be added. So I decided to just create the entity and let it update later. Given the nature of this sensor I think it's ok to maybe have some delay.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

Hi @danielperna84,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Changes applied and documentation added. 👍

Could we not use aiodns/pycares for this instead?

I wasn't aware of those modules. While searching for a DNS library, dnspython was the most prominent one, so I went with it. I can have a look at those you have suggested though.

dnspython is certainly the most popular sync lib, while aiodns is the most popular async. This would also allow you to update in setup.

Then I guess it's decided: I'll stop dodging async. 😄
Marking this was WIP then.

Switched to aiodns now. Since this is my first time doing async: did I mess this up or is it correct this way? It's working in my small dev-setup, but I have the feeling passing the hass.loop isn't how I am supposed to do it.
Also: how do I force the async_update upon initialization? Didn't manage to get that working.

Looks good, passing the loop to the lib is the correct way to do things - this ensures they'll be running on the hass loop.
When you add the entities, if you pass 'True' as the last parameter it'll call update before adding the entity.

Great, it's working! 😃

Thanks! 🐊


[FEATURE REQUEST] Hover Effect

Description
Is your feature request related to a problem? Please describe.
There is no hovering effect on the images in How it Works section .
Describe the solution you'd like
I can add some hovering effect and animations to make them look good .
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional Information
Context
https://github.com/UBA-GCOEN/StichHub/assets/85991449/92b29ba6-c8c6-43f8-b2c7-4333c8f109af
Potential Implementation (optional)
If you have any ideas or suggestions on how the feature could be implemented, please share them here.
Screenshots or Mockups (optional)
If applicable, include any screenshots, mockups, or visual representations of the requested feature.
Priority (optional)
Please indicate the priority level of this feature request (e.g., High, Medium, Low).
Additional Notes (optional)
Add any other notes or comments about the feature request here.

Okay @parthpathakpp1 go ahead

I have raise a PR https://github.com/UBA-GCOEN/StichHub/pull/255 . Please Check .


ClassCastException for string to decimal64 conversion

What changes were proposed in this pull request?

Added string to decimal64 converter
Why are the changes needed?

ClassCastException
Does this PR introduce any user-facing change?

No
How was this patch tested?

q test

Sorry for the dumb question, but the BigDecimal is not good for this? As I remember the BigDecimal and BigInteger has a string constructor and could receives strings.

Nothing, just realized this is Decimal64ColumnVector.  It is not pure BigDecimal.


[Map Pack] DM FIFA2010

Hash: f740f34c53403e6dc837d8cfe09d0d4daaadb6f7
Current name: DM FIFA2010
The author of this map pack normally and more commonly used the name Myth
[verified from the readme for this map pack and from readmes for maps by Myth - maxuser6000 being his email name.
So need an author alias for Myth
1 Myth
2 maxuser6000

Updated, and added alias.


Add /rules/raw row to Observatorium API dashboard + refactor

This PR refactors observatorium-api.libsonnet to reuse common parts and ideally makes it easier to add new rows/panels to the Observatorium API grafana dashboard.
I've added also a new row for /rules/raw - so it makes easier to debug once alerts fire for our Rules path (for example when following this runbook)
Testing dashboard here
Availability is low for /rules/raw read since we don't have traffic reading this endpoint. I think next step would be re adapt obsctl-reloader to constant 'read' this endpoint and generate constant traffic there

From looking at the test dashboard, in the errors chart we're using the caption "Errors" for all the series returned by the query sum(rate(http_requests_total{job="observatorium-observatorium-api",handler="rules-raw",code=~"5.."}[5m])) / sum(rate(http_requests_total{job="observatorium-thanos-query",handler="rules-raw"}[5m])).
I think would be very useful to include the code label in the caption to help out with debugging. What do you think?
This is a feedback that I have regarding many of our dashboards and I plan to start similar discussions/changes everywhere that it's applicable.

@douglascamata that's a good idea! let me try adding this in this PR for this dashboard. In case this applies to other dashboards, maybe we could add a ticket/issue so that this is not forgotten?

FYI I created an issue for the other dashboards widgets: https://github.com/rhobs/configuration/issues/348


suggestion

Dear sir ,this project is great,but the document is too bad,too less.
Can you write a completely document which can be Understood by anyone.
I think this document will help too many people (and you)

The problem here is "understood by anyone".
I will continue to add tutorials and so on, but unfortunately I don't have oodles of time to spend on this.
Feel free to suggest specific areas that you would like to see expanded upon.

I am so sorry to hear that.May you will have enough time .
you can write some demos that can be understood by a newer

@564064202 have you taken a look at the tutorials and documentation found on http://easyhook.github.io ?

But I have not found any documents describe how to use id.
Just find one demo,api.................

So you looked at the tutorial on creating a local hook? http://easyhook.github.io/tutorials/createlocalhook.html

you can write some demos combine which api

all right.


Adding support for RPC macros

This PR cleans up the recent addition of macros along with some cleaner matching syntax

call! - Make an Rpc call without a timeout
call_t! - Make an Rpc call with a timeout
forward! - Make an Rpc call and forward it to another actor
cast! - Cast a message to an actor

There's more to come, but it cleans up the need to build a closure on the fly

Codecov Report
Base: 86.15% // Head: 86.17% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (8155a69) compared to base (51e52d8).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   86.15%   86.17%   +0.01%
==========================================
  Files          24       24
  Lines        2297     2300       +3
==========================================
+ Hits         1979     1982       +3
  Misses        318      318

Impacted Files
Coverage Δ

ractor/src/rpc/tests.rs
97.51% <100.00%> (+0.03%)
:arrow_up:

ractor/src/time/tests.rs
95.65% <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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Is there a way to implement failover if a primary server does not accept the request?

Hello, I was wondering if Redbird was capable of handling failover? My company just got a second fiber line put in that we have setup for failover in the firewall so that if the primary connection goes down it switches over to the secondary, the only issue though is with DNS for all of our internally hosted sites. DNS only has the ability to basically load balance with multiple A records.
My plan is to use a droplet on DigitalOcean to basically be a gateway to all of our sites to solve this issue. It can test externally if the primary connection is working, and if so it can send the requests there, but if it detects that it is down, it can then send the request to the secondary IP, which I can then setup in the firewall to send the requests to the appropriate servers internally.
So the question is, is there a built in way currently to do this, or will I have to try and implement some of my own if/then logic to decide where to set the proxy.register command to?

I guess that if this was implemented: https://github.com/OptimalBits/redbird/blob/master/lib/proxy.js#L229 it would just be a matter of using the load-balancer in redbird (i.e. registering the same route pointing to two different ip addresses)

(we accept patches :)

Yeah, I saw the load balancing, I guess a switch could be put in to select either failover, load balancing, or both. I am not great with programming, but do have some experience and am trying to learn and get better, which is why if there was not a way to do it that was already built in, I was going to try and make one. : )

its mostly that currently the load balancer does not handle well targets that do not respond, so this is actually I need to implement. Maybe next week...

How would I go about dynamically register and then unregister a proxy? I was thinking if trying to integrate a small heartbeat application or something to check if a target is alive, if so, register the proxy to that IP, if it does not respond to either ping, or heartbeat, or some other sort of connection attempt, then unregister that proxy for now, and then register a new one.
Would I be able to do something similar to the below (just as a small example)?
 if (heartbeat1 == true){  proxy.register("example.com", "http://<IP_ADDRESS>") }  else {  proxy.register("example.com", "http://<IP_ADDRESS>" ) }

you need to unregister: https://github.com/OptimalBits/redbird#unregister
You can check how the etcd backend is implemented for inspiration...

Any updates on the failover support?

Hi there! Any update on the failover. I think it's a critical functionality in load balancing and it would be very cool if the module had it.


SiteOwnerManageLegacyServicePrincipalEnabled documentation needs to be clarified

For SiteOwnerManageLegacyServicePrincipalEnabled documentation, it states:
"When the value is set to false, the service principal can only be created or updated by the SharePoint tenant admin. If the value is set to true, both the SharePoint tenant admin and site collection admin will be able to create or update the service principal through SharePoint."
This is ambiguous, and seems to say that Tenant Admins can create or modify the service principal at the Site Collection level when SiteOwnerManageLegacyServicePrincipalEnabled is set to "false" but this is not the case. What the parameter appears to do is disable using AppRegNew.aspx and AppInv.aspx at the Site Collection level for all users, regardless of whether or not they are Tenant Admins.
AppRegNew.aspx and AppInv.aspx at the Tenant level, e.g. https://contoso-admin.sharepoint.com/_layouts/15/AppRegNew.aspx are still available, even if SiteOwnerManageLegacyServicePrincipalEnabled is set to "false". So SharePoint Admins can still register apps or update app permissions but at the Tenant level only.

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

ID: da2c76d9-43fd-c631-e6d4-69852b376444
Version Independent ID: b8ae322e-d3a7-9759-8407-b20f7469cad7
Content: Set-SPOTenant (Microsoft.Online.SharePoint.PowerShell)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
Service: sharepoint-server-itpro
GitHub Login: @trent-green
Microsoft Alias: trgreen

Hello @davidwilborn I'm working on this

This property appears to be unavailable in the current version of the Sharepoint Management Shell. It is referenced by other current Microsoft documentation and no workaround is apparently available.

@Itzafineday - the property is available as of version 16.0.24009.0 of SharePoint Management Shell:

@get-itips

Hello
I've got information from the team, due to customer feedback SharePoint Tenant admins will be able to do the actions in the normal site collection level even when the flag is false. And it will start to roll out.
So the article does not need an update.
Hope this information helps you,
Thank you!


Amazon DCV Windows Integration

High-Performance Windows Remote Desktop Client in the web browser & via desktop.

They also have a Linux version.


DP2SceneGraphWizard issues

i create packages on DP2SceneGraphWizard tool but after the channel black
MY question
is a way to add background image

You should be able to adjust the branding of your channel in the developer dashboard.  That would include adding a background image.

I don;t see an option in version 3 to add a background image only add background color!

Please what is the solution to Add background to SDK
can we do that through rss feed
please help?

As I stated earlier, you can specify a background image in the developer dashboard.  Go to Manage my channels/Branding.  You should see:

sorry  branding is not in SDK dashboard
it Only available in Direct channel

Sorry for the confusion.  I have not converted my channel yet, so, when I go to 'my channels', I see the DP dashboard.  There is no SDK dashboard for me.
The existing wizard code does not support a background image.  If you want to submit it as an enhancement issue request, fee free.  I can't promise a quick response as I am still developing the code to support Ads and Subscriptions.

I found a way to add background image to the output template!

Sorry for the confusion. I have not converted my channel yet, so, when I go to 'my channels', I see the DP dashboard. There is no SDK dashboard for me.
The existing wizard code does not support a background image. If you want to submit it as an enhancement issue request, fee free. I can't promise a quick response as I am still developing the code to support Ads and Subscriptions.

Note: the wizard tool source file does support background image!
in components/MainScene.brs line# 5
m.top.backgroundUri = "pkg:/images/background.jpg"
background image name = background.jpg
image size of background image you place in image folder = 1920 X 1080
image format jpeg image = jpg

@rrirower you can add these changes to the source files and close this isuue!

hello ferdiworks please something like this right

hello ferdiworks please something like this right

Note: I already created the Snack TV SDK for the client a few weeks ago! There was also another member here click SDK issue for other members post doing same channel, And another person email me for sdk for this channel so there may be a conflict of interest with snack tv channel and owner!

@ferdiworks @fronderblash please continue this discussion offline.


Bessel functions in JAX

Hi everyone,
This looks like a great and much needed package handling special functions in JAX! We've been in an ongoing discussion with the JAX team about Bessel functions in Jax as the jax.scipy.special bessel functions suffer from numerical instabilities and diverge from the syntax of the equivalent scipy functions. Likewise, having numerically stable spherical bessel functions are important for a wide range of astronomical applications. Would you consider hosting our implementations of bessel and spherical bessel functions?

In principle, yes! Reading through the PR discussion it does seem relevant to raise a warning in these functions if x64 is not enabled.


[pinmux/tops] Move JTAG mux logic into pinmux strap logic

This is a continuation of the pinmux alignments tracked in https://github.com/lowRISC/opentitan/issues/5221.
In particular, this moves moves the temporary JTAG mux logic into the pinmux, and removes the jtag_mux module, which was more sort of a helper for Bronze.
This PR is still WIP - I will ping you once this is ready to review.

ahhh okay, the FPGA is in DEV state, that makes sense.
On Wed, Mar 10, 2021 at 4:51 PM Michael Schaffner<EMAIL_ADDRESS>wrote:

@msfschaffner commented on this pull request.
In hw/ip/pinmux/rtl/pinmux_strap_sampling.sv
https://github.com/lowRISC/opentitan/pull/5486#discussion_r591986914:

@@ -119,6 +115,11 @@ module pinmux_strap_sampling
continue_sampling_d = lc_ctrl_pkg::On;
end
end

// TODO: this can currently be overridden with a parameter for legacy reasons.

it is meant to be internally controlled, that's right - however the
continuous sampling mode is currently only available in the TEST life cycle
states, and only activates if the straps are nonzero upon the first sample
event.
at the moment, the FPGA tests run in DEV state and switch between JTAG and
SPI at runtime, which would not be compatible with the internally timed,
discrete strap sampling that is enabled in DEV.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/5486#discussion_r591986914,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSXHVF7R6IUISWV2LFDTDAAXZANCNFSM4YWGLG4Q
.


Any plans for MCTS Solver?

Are there any plans to implement mcts solver into mcts? I see in code there is just simple back-propagation of the values, regardless wether they come from interior node or terminal node. Mcts solver is when we encounter terminal node, we can apply something like inf/-inf value to the node, but also back-propagate the terminals as far as we can, by using logic that if terminal node is a win for a player, then it's obviously loss for its parent (opponent). Similarly if all siblings are loss, then it's a win for the parent and again loss for grandparent.

@tewalds and I have discussed some some general improvements to MCTS. I'm not sure if that would include MCTS Solver but it would be a really nice thing to have.
It would also (eventually) be good to have implicit minimax backus which is kind of a heuristic version that you can use everywhere in the game if you have an evaluation function that was inspired by MCTS-Solver.
Supporting too many options in the base algorithm would probably be a mistake, actuallu. I think the solver is fairly obvious and should always be on by default, whereas we can keep copies that add the other things (unless we can do it in a modular enough way that doesn't make the basic MCTS too complex.
Feel free to add these to the Call for Contributions so we (and others) can see it!

Plain mcts solver looks simple and is very general enhancement to mcts. Even if the playing strength of the game doesn't benefit from it, it doesn't hurt and near endgames it may return desired move almost immediately, instead of making useless simulations. This can be seen especially in ai vs ai battles as the last moves are printed very quickly.
Can I just edit the Call for Contributions and pull request it?

Yes, please feel free to do a PR either to add the call for contributors or
to add the functionality itself.
For context, we want the algorithms in OpenSpiel to be clear
implementations of standard approaches - easy to understand, and easy for
people to use as a basis for research, by extending them with their own new
ideas. We are not aiming to build the strongest solvers possible.
MCTS solver definitely does qualify as the sort of thing that we want, but
game-specific heuristics would definitely not.

And just to clarify that last point: we want the main the main implementation of MCTS to be free of game-specific heuristics (and not have too many options), i.e. be fairly clean.
We expect to have several variants separate from the main ones which might use heuristic information (via outside evaluators like the minimax search does now) -- but we want to avoid any hard-coded game-specific heuristics in the algorithm implementations themselves.

I was planning to add this. I found it was a large performance boost in Havannah, and presumably any game where there are threats to win on short paths from the current position.

@jdermont , @tewalds added MCTS-Solver in Python. Feel free to re-open if you wanted it also on the C++ side. I think we'll add it there too eventually.


Use peerDependencies instead of dependencies

Prevent multiple version react-native-svg

Hi @otaviomad ,
I love your project. but I think we should move to declare packages from dependencies to peerDependencies.
Please ask me if you have any question.

this package is abandoned, feel free to patch it yourself with patch-package or fork it separately. using a star for dependencies is pretty nasty, so I would suggest you try using a version group.


Keep local results file if not logged in

Local results file is deleted even if not logged in. In that case it could be useful to keep it.

@Andrea23Romano thanks for the commit, I'm going to make this conditional on an environment variable to not pollute a user's directory

@Andrea23Romano thanks for the commit, I'm going to make this conditional on an environment variable to not pollute a user's directory

I was thinking about adding one in deepeval.constants, is that ok?

@Andrea23Romano if that's the case and i'm not mistaken, a user will have to edit some deepeval source code to turn on/off saving the file, is that correct?

I don't think so, the user could simply add a statement like
deepeval.constants.PYTEST_LOCAL_RESULTS_FOLDER=<path>

in the test file. Could be None by default and, if not None, the file would be saved in that folder. I'm going to try it later and push it to this branch if everything works.

@Andrea23Romano can you please make it an env variable instead, constants are meant to be accessed by deepeval internally

Sure!

@Andrea23Romano thanks! appreciate it

@penguine-ip env variable and documentation example added. Let me know if it's ok or if I should change something!

@Andrea23Romano Looks good, going to merge after the tests completes, thanks! 😊

@Andrea23Romano I dont see why but deepeval login is failing in .github/workflows/deepeval-results.yml, any idea?

No idea, going to check it later.

Something's wrong with the action. In setup job "secret source" is set to None, so it can't find the deepeval api key. I'm not a github actions expert, but after some search seems like the secrets are not available for actions triggered by external forks, probably because of some "first time" PR restrictions you can probably modify. Check this, could be useful: https://docs.github.com/en/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#configuring-required-approval-for-workflows-from-public-forks

@Andrea23Romano Hey, thanks for submitting the PR, join our discord if you haven't already, we're trying to build up the contributors community!