relabeler with cluster.name

I have many clusters which use the same instance of grafana-cloud with similar things deployed. For instance, in my values file, i specify the following:
extraConfig: |-
  // Get all redis nodes
  prometheus.exporter.redis "redis" {
    redis_addr = "redis.redis:6379"
    namespace  = "redis"
    is_cluster = true
  }

  // Scrape redis nodes
  prometheus.scrape "redis" {
    targets    = prometheus.exporter.redis.redis.targets
    forward_to = [prometheus.relabel.redis.receiver]
  }

  // do some relabelling and forward metrics to grafana
  prometheus.relabel "redis" {
    forward_to = [prometheus.remote_write.grafana_cloud_prometheus.receiver]

    rule {
      source_labels = ["__name__"]
      regex         = "redis_blocked_clients|redis_cluster_slots_fail|redis_cluster_slots_pfail|redis_cluster_state|redis_commands_duration_seconds_total|redis_commands_total|redis_connected_clients|redis_connected_slaves|redis_db_keys|redis_db_keys_expiring|redis_evicted_keys_total|redis_keyspace_hits_total|redis_keyspace_misses_total|redis_master_last_io_seconds_ago|redis_memory_fragmentation_ratio|redis_memory_max_bytes|redis_memory_used_bytes|redis_memory_used_rss_bytes|redis_total_system_memory_bytes|redis_up"
      action        = "keep"
    }

    rule {
      source_labels = ["instance"]
      action = "replace"
      replacement = "development"
      target_label = "instance"
    }
  }

It would be neat to have a consistent prometheus.relabel configuration which could change the instance label to the cluster.name. I'm trying to reduce duplication where applicable so that i can have one highly re-usable configuration whilst ensuring that data sent up to grafana has the relevant instance in for the relevant dashboards.
Ideally, i could change the above to something like:
prometheus.relabel "redis" {
    // Changed to the "rename instance label and ship"
    forward_to = [prometheus.relabel.instance.receiver]

    rule {
      source_labels = ["__name__"]
      regex         = "redis_blocked_clients|redis_cluster_slots_fail|redis_cluster_slots_pfail|redis_cluster_state|redis_commands_duration_seconds_total|redis_commands_total|redis_connected_clients|redis_connected_slaves|redis_db_keys|redis_db_keys_expiring|redis_evicted_keys_total|redis_keyspace_hits_total|redis_keyspace_misses_total|redis_master_last_io_seconds_ago|redis_memory_fragmentation_ratio|redis_memory_max_bytes|redis_memory_used_bytes|redis_memory_used_rss_bytes|redis_total_system_memory_bytes|redis_up"
      action        = "keep"
    }
  }

I only see this working "once" although if possible to make the instance piece more distinguishable for those who might deploy something to the same cluster would be useful?

one instance of thing -> instance_label: <cluster.name>
multiple instances of thing -> instance_label: <cluster.name>-something <-- i have no idea what something would be but prehaps the name of the thing that called the relabel receiver (i don't know the ins and outs of the flow mode yet so really getting to understand it)

Revisiting this. Actually, there's likely an easier method.
Now, .extraConfig and .logs.extraConfig allow for template variables to be added. So, you can just as easily do this:
extraConfig: |-
  // Get all redis nodes
  prometheus.exporter.redis "redis" {
    redis_addr = "redis.redis:6379"
    namespace  = "redis"
    is_cluster = true
  }

  // Scrape redis nodes
  prometheus.scrape "redis" {
    targets    = prometheus.exporter.redis.redis.targets
    forward_to = [prometheus.relabel.redis.receiver]
  }

  // do some relabelling and forward metrics to grafana
  prometheus.relabel "redis" {
    forward_to = [prometheus.remote_write.grafana_cloud_prometheus.receiver]

    rule {
      source_labels = ["__name__"]
      regex         = "redis_blocked_clients|redis_cluster_slots_fail|redis_cluster_slots_pfail|redis_cluster_state|redis_commands_duration_seconds_total|redis_commands_total|redis_connected_clients|redis_connected_slaves|redis_db_keys|redis_db_keys_expiring|redis_evicted_keys_total|redis_keyspace_hits_total|redis_keyspace_misses_total|redis_master_last_io_seconds_ago|redis_memory_fragmentation_ratio|redis_memory_max_bytes|redis_memory_used_bytes|redis_memory_used_rss_bytes|redis_total_system_memory_bytes|redis_up"
      action        = "keep"
    }

    rule {
      source_labels = ["instance"]
      action = "replace"
      replacement = { .Values.cluster.name | quote }
      target_label = "instance"
    }
  }

Notice how the instance variable now is set to the value of .Values.cluster.name, since the extra config sections are treated as templates, rather than raw strings.

Closing this issue. Since the extraConfig fields are executed as templates, these fields are now more portable.


[bug] fatal: not a git repository (x3) when on non-repo

I noticed that running git linearize on a directory that isn't a git repo results in printing the following:
% git linearize
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git

On the other hand:
% git status
fatal: not a git repository (or any of the parent directories): .git

More logs:
% ./git-linearize
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
% /bin/bash -x ./git-linearize
+ set -euo pipefail
+ EL_FORMAT=%07d0
+ VERBOSE_LOG=0
+ EL_CMD=linearize
+ EL_IF_BRANCH=
+ test 0 -gt 0
+ command -v lucky_commit
+ case "$EL_CMD" in
+ cmd_linearize
+ [[ -n '' ]]
+ git_is_ready
+ git status --porcelain
+ grep -v -q '??'
fatal: not a git repository (or any of the parent directories): .git
+ return 0
+ git_has_linearize_root
++ find_root_on_current_branch
++ git log --oneline --no-abbrev-commit
++ head -n1
+++ linearize_root_commit
+++ printf %07d0 0
++ awk '{print $1}'
++ grep '^00000000'
fatal: not a git repository (or any of the parent directories): .git
+ git show '^'
+ return 1
+ echodebug '[x] Repository has a no custom root commit, using the repository root'
+ (( VERBOSE_LOG ))
++ git log --format=format:%H --reverse
fatal: not a git repository (or any of the parent directories): .git
+ commits=

Thanks! This has been improved now :)


feat(*): output type declerations to a single .d.ts file

Glory in no more .d.ts chaos and top level module augmentations
BREAKING CHANGE: Users who previously had augmentations targeting specific paths will notice they
are broken after this change as all augmentations now have to be made on "@sapphire/pieces"

Build fails on my machine:


Postfix syntax for variants

Most probably not gonna work out because of the sheer number of parsing conflicts it'll create. But I'm filing this anyway. The reason I'm wondering about this is for simulating units, e.g. 1Px, 50Percent, 1min, etc. They'll be desugared to e.g. Px 1 and you'd prevent accidental mis-addition of two incompatible units together.

It actually wouldn't create many parsing conflicts I believe because these would in theory be extracted in the tokenizer. The question is just a matter of specifying which variants should be lexed/parsed/printed this way.

One trick I was thinking is to add an attribute to the node, annotating how it should be printed.
If we eventually have our own ocaml printer, we can just ignore that special attribute.

Yeah, that would work. Is there any precedence for postfix sugar in other languages? tbph, the set of code that I'd want unit of measurement tracking are exactly the cases where I would not want to pay for the extra boxing of a variant tag.

Hopefully wouldn't conflict with anything trying to use extension literals?

This would be really neat for a CSS solution like elm-css!

I just starter working on https://github.com/SentiaAnalytics/bs-css.
This would be majs it much nicer


TypeScript Fails to Infer Specific Generic Types as Expected

I'm currently facing an issue with TypeScript where it seems to be unable to correctly infer types in a specific scenario involving generics, enums, and inheritance.
Here is a simplified version of my code:

enum Status {
  UNDEFINED = 0,
  SUCCESS = 1,
  FAIL = 2,
}

class Result<StatusT extends Status = Status, Data = unknown, Code = string | number> {
  constructor(
    public status?: StatusT,
    public data?: Data,
    public code?: Code,
  ) {}
}

abstract class Task {
  async done(...args: any[]) {
    while (true) {
      const result = await this.execute(...args);
      if (result.status === Status.SUCCESS) {
        return result;
      }
    }
  }

  abstract execute(...args: any[]): Promise<{
    [K in Status]: Result<K>;
  }[Status]>
}

class TestTask extends Task {
  // (method) TestTask.execute(): Promise<Result<Status.SUCCESS, {}, number> | Result<Status.FAIL, string, string | number>>
  async execute () {
    if (Math.random() > 0.5) {
      return new Result(Status.SUCCESS, {}, 0);
    } else {
      return new Result(Status.FAIL, "error");
    }
  }
}

const test = new TestTask()

// got: `Promise<Result<Status.SUCCESS, unknown, string | number>>`
// but i want: `Promise<Result<Status.SUCCESS, {}, number>>`
test.done();

TypeScript only infers the return type of done() as Promise<Result<Status.SUCCESS, unknown, string | number>>, while I expect it to infer Promise<Result<Status.SUCCESS, {}, number>>.
Why does TypeScript fail to infer the specific generic types as I expect in the TestTask class? Is this a limitation of TypeScript's type inference system, or am I missing something in how I should annotate or structure my types or code?

This isn't an appropriate place to ask this question, and you haven't properly filled out the issue template.  Please close this to spare the TS team from having to do so. Please stick to Stack Overflow or some other more appropriate place if you're asking questions.

To expedite the triage process, we need everyone to follow the issue template and instructions.
When you clicked "Create New Issue", the issue form was pre-populated with a template and some instructions. We need you to read those instructions completely, follow them, and then fill in all the fields in that template.
We are not able to assist with issues that don't follow the template instructions as they represent a significantly larger amount of work compared to issues which are correctly specified. Thank you for understanding.


Unlikeable .mp3 PLUS -preserve-original-audio not working!

System OS
Windows
Python Version
3.7 (CPython)
Install Source
pip / PyPi
Install version / commit hash
0
Expected Behavior vs Actual Behavior
No response
Steps to reproduce - Ensure to include actual links!
zero
Traceback
zero

Other details
You seem to not understand anything about audio enconding. You should NEVER re encode audio files!
It's like I have all day to be reading others mistake, THEN why the hell select the worst encoder possible as the main source quality for your program AND WITH NO SPECIFIC FFMPEG ARGS.
So I wanted RAW format from the distributor which seems to be Youtube Music by default.
I tried the option --preserve-original-audio in the CLI and it returned me a .mp3, I felt like rewriting this whole program.
Youtube Music website provide the following qualities by using yt-dlp -F.
ID  EXT   RESOLUTION FPS CH │   FILESIZE  TBR PROTO │ VCODEC       VBR ACODEC      ABR ASR MORE INFO
──────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb2 mhtml 48x27        1    │                 mhtml │ images                               storyboard
sb1 mhtml 45x45        1    │                 mhtml │ images                               storyboard
sb0 mhtml 90x90        1    │                 mhtml │ images                               storyboard
599 m4a   audio only      2 │  598.08KiB  31k https │ audio only       mp4a.40.5   31k 22k ultralow, m4a_dash
600 webm  audio only      2 │  767.48KiB  40k https │ audio only       opus        40k 48k ultralow, webm_dash
139 m4a   audio only      2 │  946.95KiB  49k https │ audio only       mp4a.40.5   49k 22k low, m4a_dash
249 webm  audio only      2 │    1.09MiB  58k https │ audio only       opus        58k 48k low, webm_dash
250 webm  audio only      2 │    1.45MiB  76k https │ audio only       opus        76k 48k low, webm_dash
140 m4a   audio only      2 │    2.45MiB 130k https │ audio only       mp4a.40.2  130k 44k medium, m4a_dash
251 webm  audio only      2 │    2.82MiB 149k https │ audio only       opus       149k 48k medium, webm_dash
17  3gp   176x144      6  1 │  930.71KiB  48k https │ mp4v.20.3    48k mp4a.40.2    0k 22k 144p
597 mp4   144x144     13    │  222.78KiB  12k https │ avc1.4d400a  12k video only          144p, mp4_dash
598 webm  144x144     13    │  243.19KiB  13k https │ vp9          13k video only          144p, webm_dash
160 mp4   144x144     25    │  310.46KiB  16k https │ avc1.4d400b  16k video only          144p, mp4_dash
278 webm  144x144     25    │  360.75KiB  19k https │ vp9          19k video only          144p, webm_dash
133 mp4   240x240     25    │  531.28KiB  27k https │ avc1.4d400c  27k video only          240p, mp4_dash
242 webm  240x240     25    │  484.62KiB  25k https │ vp9          25k video only          240p, webm_dash
134 mp4   360x360     25    │  823.66KiB  43k https │ avc1.4d4015  43k video only          360p, mp4_dash
18  mp4   360x360     25  2 │ ~  3.32MiB 171k https │ avc1.42001E 171k mp4a.40.2    0k 44k 360p
243 webm  360x360     25    │  645.97KiB  33k https │ vp9          33k video only          360p, webm_dash
135 mp4   480x480     25    │    1.46MiB  77k https │ avc1.4d401e  77k video only          480p, mp4_dash
244 webm  480x480     25    │  773.33KiB  40k https │ vp9          40k video only          480p, webm_dash
22  mp4   720x720     25  2 │ ~  5.46MiB 281k https │ avc1.64001F 281k mp4a.40.2    0k 44k 720p
136 mp4   720x720     25    │    2.89MiB 153k https │ avc1.64001f 153k video only          720p, mp4_dash
247 webm  720x720     25    │    1.19MiB  63k https │ vp9          63k video only          720p, webm_dash
137 mp4   1080x1080   25    │    5.28MiB 279k https │ avc1.640020 279k video only          1080p, mp4_dash
248 webm  1080x1080   25    │    1.98MiB 105k https │ vp9         105k video only          1080p, webm_dash

The expected result would be to permanently ban all .mp3 from human kind. But since I can't, I expected an easier way TO NOT RE-ENCODE ANY FILE and leave as it is.
Downloading the original opus/aac as m4a, ogg format.
I don't think that's asking too much!

preserve original audio option has been removed in newer dev versions quite some time ago. i've added new option to bitrate flag to skip the conversion step for some file formats m4a -> m4a and webm -> opus.
Files are downloaded in mp3 file format for the best compatibility across different platforms/players.
Also there was a note in the help message about preserve original audio option working only in case of m4a and opus formats.

I really don't think re-encoding should be the default, it takes more time and you're messing with the file unnecessarily, but could we at least get the --preserve-original-audio option working again please, I wouldn't think it would be too difficult to bypass the re-encoding step and just download the file

I don't want to be rude but I believe you're confusing stuff.
m4a --> m4a ???
and
webm --> opus
opus container or opus codec?
You should never convert any audio that's a common rule for any audiophile and everyone knows that if you convert the same file let's say libopus to libopus again 10x the newest file will be terrible quality compared to the previous one.
That happens because the encoder doesn't know what he's encoding so B-U-T-T-E-R-F-L-Y will become B-T-T-E-R-F-Y than it will be B-T-R-F-Y then will be B-T-F-Y and so on until you have messed with the audio files.
The rule is always to downmix from .wav or any other RAW format once! Not twice~

https://spotdl.readthedocs.io/en/latest/usage/#audio-formats-and-quality


Make ContentType a static const string

The MemoryPack WebAPI InputFormatter and OutputFormatters have a private const specifying the ContentType:
const string ContentType = "application/x-memorypack";
This is useful but not usable. For example, if I write a WebAPI that is meant to only output MemoryPack format, I would add this attribute:
[Produces(MemoryPackInputFormatter.ContentType)]
However, this does not work because the string is private and non-static, so I need to duplicate the constant:
[Produces("application/x-memorypack")]

I agree with your point.
At #239, We added MemoryPack.AspNetCoreMvcFormatter.MediaTypeHeaderValues .
Please check it out.


Bug: TA Assist crashes when trying to delete class in focus mode.

While this is not the intended use case, The program should not face a crash when dealing with commands this way.

Sound to be the same issue as in #214.

Fixed in #219.
The issue was UniqueList#remove comparing elements by exact equality, or else throwing an exception. It was being triggered since during execution of deletec command, a new instance of ModuleClass is created that may not be equals to the one in UniqueList.


Having issue with window.onload

Hi,
I am having problem with my window.onload function because it was overwritten by vue-grid-layout.
Currently, I can find two places with window.onload function in this repo: here and here.
I think they can be improved to be less invasive version:
var origOnload = window.onload || function(){};
window.onload = function(){
     origOnload();
     // other code goes here
}

or use even listener:
window.addEventListener("load", handlerFunc, false)
Otherwise it may conflicting with other places where window.onload are used.

Care to submit a PR with that improvement?


Make gofmt display which files it had a problem with

This failed build shows that
test -z $(gofmt -l $(find . -name '*.go'))

doesn't actually "list files whose formatting differs from gofmt's" as the help for -l claims.
find . -name '*.go' | xargs gofmt -l does display the offending files.

test ... will fail the build, which the other command won't... We need the best of both worlds.

badfiles=$(find . -name '*.go' | xargs ./gofmt -l); echo $badfiles; test -z $badfiles


feat: add option to set custom http.Client on HTTPRequester

Summary

Add option to set custom http.Client on HTTPRequester
Addresses https://github.com/optimizely/go-sdk/issues/193

@kirkeaton There were few things missing, fixed in this PR.
https://github.com/optimizely/go-sdk/pull/346
If you are fine, we can merge pr-346 or otherwise, please make those changes mentioned in the PR.
Also sign the CLA if you are planning to contribute in this repo. CLA link is here https://github.com/optimizely/go-sdk/blob/master/CONTRIBUTING.md

@msohailhussain I've incorporated the changes from https://github.com/optimizely/go-sdk/pull/346 and I've signed the CLA.


Update .travis.yml

Coverage remained the same at 79.922% when pulling ef2955e9270e0e0435c1774163d924f8ef21b0a7 on mcdonnelldean-patch-1 into 4e3ffeb1e19ed86823b4f5961cf2fa421ee150d3 on master.

@mcdonnelldean update lab to fix the error

I'll merge this and do the fixes on it


configurable nodeselector, affinities and tolerations

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes #200, fixes #31

License
Apache 2.0

What's in this PR?
Configurable nodeSelector and affinity for Istio deployments
example for nodeSelector in Istio CR:
gateways:
    enabled: true
    ingress:
      enabled: true
      ...
      nodeSelector:
        node.banzaicloud.io/example: "test"

same example with affinity:
gateways:
    enabled: true
    ingress:
      enabled: true
      ...
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: node.banzaicloud.io/example
                operator: In
                values:
                - "test"

Why?
requested in #200
Checklist

[x] Implementation tested
[x] User guide and development docs updated (if needed)

To Do

there is no real validation for affinities yet

You rock. :)


ion-toolbar close button does not match design

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[ x] 3.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

Close button in toolbar on android renders on a separate line from the ion-title

Expected behavior:

Close button in toolbar renders on the same line as ion-title

->
Steps to reproduce:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
global packages:

    @ionic/cli-utils : 1.0.0-rc.2
    Cordova CLI      : 6.5.0
    Ionic CLI        : 3.0.0-rc.2

local packages:

    @ionic/app-scripts              : 1.3.6
    @ionic/cli-plugin-cordova       : 1.0.0
    @ionic/cli-plugin-ionic-angular : 1.0.0
    Ionic Framework                 : ionic-angular 3.0.1

System:

    Node       : v6.9.2
    OS         : OS X El Capitan
    Xcode      : Xcode 8.2.1 Build version 8C1002
    ios-deploy : 1.9.1
    ios-sim    : 5.0.13

Hello, thanks for using Ionic! Would you mind posting the markup you are using when you get this issue?

Apologies, the repro & markup was part of the comment but was commented out...FAIL

Hello @paulpatarinski , sorry for the delay on this. To fix this issue you should add the start attribute to ion-buttons as we show here. Thanks for using Ionic!


Updated DIVA codes

Description
Updated WienerLinien App:

Station search results are not alphabetical ordered.
Small bug corrections.

Copilot

🤖 Generated by Copilot at c4466f4
Summary
🚇📝🌐

This pull request adds a new Tidbyt app called Wiener Linien Info that shows public transit information for Vienna. It includes a manifest.yaml file and a README.md file for the app.

Wiener Linien Info
A Tidbyt app for transit
Manifest and README

Walkthrough

Create a new Tidbyt app called Wiener Linien Info that displays real time public transit information for Vienna, Austria (link, link)
Add a manifest.yaml file that defines the app metadata, such as id, name, summary, description, author, file name, and package name (link)
Add a README.md file that explains the app overview, features, parameters, and legal notices, and shows an example image of the app output (link)

Hey @davidbaco. This PR has some sort of conflict that's making it near impossible to review. As if the app was brand new. I don't know what Github's up to here.
Could you create a fresh fork of the community repo, apply your changes there and cut a new PR? Hopefully that resolves is.


@lmartinp did you mean to close this issue? If you are having trouble with a calculation or its results, please use a Discussion to ask questions and if we find problems in pvlib, we'll track those with an Issue.


Allow setting maximum size of a Metrorail block

The administrator should be able to configure a Metrorail block with a maximum number of entries. If there are more entries than the maximum, then only the max should appear. This should be optional.

Since this is a per-block setting, I might as well allow administrators to apply the same to buses.  Some of the downtown bus stops can get crazy during rushhour.


Add insets workaround

Codecov Report

Merging #528 (8c631c6) into main (3ad1b74) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #528   +/-   ##
=======================================
  Coverage   70.18%   70.19%
=======================================
  Files          91       91
  Lines        4951     4952    +1
  Branches      986      986
=======================================
+ Hits         3475     3476    +1
  Misses        794      794
  Partials      682      682

Impacted Files
Coverage Δ

...n/kotlin/com/alexvanyo/composelife/MainActivity.kt
82.60% <100.00%> (+0.79%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


HttpOperationResponse.readableStreamBody always null

Package Version: 2.0.4

[x ] nodejs

nodejs version: 12.15
os name/version: OSX 10.14.6

Describe the bug
When using ServiceClient to send a request, the HTTPOperationResponse always has readableStreamBody set to null. I am trying to use the ServiceClient to download a large storage blob, and it always converts the entire body to a string, and won't let me use the readable stream to pipe to a file.
To Reproduce
Steps to reproduce the behavior:
Here's a snippet  example of what I'm trying to do:
const creds = await AzureCliCredentials.create({
    resource: "https://storage.azure.com"
});
const client = new ServiceClient(creds);
const request: RequestPrepareOptions = {
            url: "https://example.blob.core.windows.net/example/myblob.tar.gz",
            method: "GET",
            headers: {"X-Ms-Version":"2018-11-09"},
};
const res = await client.sendRequest(request)
await new Promise((resolve, reject) => {
            const writeStream = fs.createWriteStream(path)
            .on('error', reject)
            .on('close', resolve)

            res.readableStreamBody!.pipe(writeStream)
            .on('error', reject)
})

Expected behavior
I would expect res.readableStreamBody to not be null and the large response body to be piped to the outputFile. Instead readableStreamBody is null and nothing is piped
Additional context
I may be missing something, but have been reading through all the docs and trying to find examples, but can't figure out why readableStreamBody is null

I believe the @azure/storage-blob supports this functionality:
https://www.npmjs.com/package/@azure/storage-blob

@ropnop we need to set streamResponseBody to true on the request to stream response body. Could you please try the following code?
 const request = new msRest.WebResource(
   "https://example.blob.core.windows.net/example/myblob.tar.gz", // url
   "GET", // method
   undefined, // body
   undefined, // query
   new msRest.HttpHeaders({"X-Ms-Version":"2018-11-09"}), // headers
   true // streamResponseBody
 );

 client.sendRequest(request).then(function (res: msRest.HttpOperationResponse) {
  // omitted
 });

@ropnop we need to set streamResponseBody to true on the request to stream response body. Could you please try the following code?
 const request = new msRest.WebResource(
   "https://example.blob.core.windows.net/example/myblob.tar.gz", // url
   "GET", // method
   undefined, // body
   undefined, // query
   new msRest.HttpHeaders({"X-Ms-Version":"2018-11-09"}), // headers
   true // streamResponseBody
 );

 client.sendRequest(request).then(function (res: msRest.HttpOperationResponse) {
  // omitted
 });

I've found the issue; WebResource.prepare does not copy streamResponseBody. I'm going to make a PR to fix it.


discogs plugin traceback error

I'm getting the following traceback error when trying to use the discogs plugin:
Traceback (most recent call last):
  File "/usr/local/bin/beet", line 9, in <module>
    load_entry_point('beets==1.3.15', 'console_scripts', 'beet')()
  File "/usr/local/lib/python2.7/dist-packages/beets/ui/__init__.py", line 1163, in main
    _raw_main(args)
  File "/usr/local/lib/python2.7/dist-packages/beets/ui/__init__.py", line 1153, in _raw_main
    subcommand.func(lib, suboptions, subargs)
  File "/usr/local/lib/python2.7/dist-packages/beets/ui/commands.py", line 875, in import_func
    import_files(lib, paths, query)
  File "/usr/local/lib/python2.7/dist-packages/beets/ui/commands.py", line 852, in import_files
    session.run()
  File "/usr/local/lib/python2.7/dist-packages/beets/importer.py", line 313, in run
    plugins.send('import_begin', session=self)
  File "/usr/local/lib/python2.7/dist-packages/beets/plugins.py", line 458, in send
    result = handler(**arguments)
  File "/usr/local/lib/python2.7/dist-packages/beets/plugins.py", line 123, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/beetsplug/discogs.py", line 77, in setup
    token, secret = self.authenticate(c_key, c_secret)
  File "/usr/local/lib/python2.7/dist-packages/beetsplug/discogs.py", line 100, in authenticate
    _, _, url = auth_client.get_authorize_url()
  File "/usr/local/lib/python2.7/dist-packages/discogs_client/client.py", line 61, in get_authorize_url
    content, status_code = self._fetcher.fetch(self, 'POST', self._request_token_url, data=postdata, headers=params)
  File "/usr/local/lib/python2.7/dist-packages/discogs_client/fetchers.py", line 95, in fetch
    resp = request(method, uri, headers=headers, data=body)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 50, in request
    response = session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 370, in send
    timeout=timeout
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
    body=body, headers=headers)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python2.7/httplib.py", line 966, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1000, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 962, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 826, in _send_output
    self.send(message_body)
  File "/usr/lib/python2.7/httplib.py", line 798, in send
    self.sock.sendall(data)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 216, in sendall
    data = memoryview(data)
TypeError: cannot make memory view because object does not have the buffer interface

I have tried updating both beets and discogs-client using pip, but it still throws the same error.
My config is quite simple as I'm new to beets:
directory: /home/owner/Music
library: /home/owner/.config/beets/library.blb
plugins: fetchart discogs
replace:
    '[\\/]': _
    '^\.': _
    '[\x00-\x1f]': _
    '[<>:"\?\*\|]': _
    '\.$': _
    '\s+$': ''
    '^\s+': ''
threaded: yes

fetchart:
  cover_names: front cover art album folder
  maxwidth: 500

import:
    write: yes
    copy: yes
    resume: ask
    log: beetslog.txt

paths:
    default: $albumartist/$album%aunique{}/$track $title
    singleton: Non-Album/$artist/$title
    comp: Compilations/$album%aunique{}/$track $title
    albumtype:soundtrack: Soundtracks/$album/$track $title

Very strange indeed. I can't seem to reproduce this on my end:
$ rm -f ~/.config/beets/discogs_token.json
$ beet import [...]
To authenticate with Discogs, visit:
https://www.discogs.com/oauth/authorize?oauth_token=[...]
Enter the code:

This is on discogs-client==2.1.0 and requests==2.8.1, with Python 2.7.10 and the latest beets source.
I am, unfortunately, at a loss regarding what might be different about our setups. Could something be wrong with PyOpenSSL on your machine?

Python 2.7.4
beets 1.3.15
discogs-client 2.1.0
requests 2.8.1
This appears to be a bug with urllib:
Relevant links:
https://github.com/kennethreitz/requests/issues/2818
https://github.com/shazow/urllib3/pull/719
https://github.com/kennethreitz/requests/pull/2821
Some relevant quotes:

To be clear, the error you're encountering is a known bug in urllib3 that has been fixed (see shazow/urllib3#719). However, that fix will not be pulled into the released version of requests until urllib3 ships a new release and then requests ships 2.9.0. Until such time, you could apply the diff from the linked patch to your installation or, alternatively, simply encode the data yourself.

And also

I feel certain that we've fixed this already, perhaps in 3.0.0?

And a quick look shows we fixed it on July 18th: ea1cbb3

I don't see discussion in the bug about why we didn't propose that against master though (although parts of it are backwards incompatible).

I'm +1 on fixing this and this looks like a good, simple, probably backwards compatible change.

It appears I'm waiting for a requests release that fixes an incompatibility issue.

Thanks for digging into the issue—that's disappointing. I'm flying blind here, but I'm going to try making sure that we pass all data to the client as bytestrings. That might work around the problem for now.

Sadly, I had to revert my "fix" as it was causing other crashes inside the discogs library (c.f. #1669). :cry:

Reporting in that the recent urllib3 and requests releases have fixed this issue.

Fantastic news. Thanks for checking back in, @iamgregg.


LICENSE?

Hi,
Do you plan to release the code under open source licenses?
The original Texygen used a MIT License, which is helpful for making derivations.

Thanks!


Add an nightly script that would push image nightly 👼

Changes
Starting with the ko base image (moving it to
gcr.io/tekton-nightly/… from gcr.io/knative-nightly/…)
Marking as wip as it depends on https://github.com/tektoncd/plumbing/pull/27
cc @bobcatfish
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ :no_good_man: ] Includes tests (if functionality changed/added)
[ :no_good_man: ] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

See the contribution guide
for more details.

hmmm I kinda wish we could switch over to using Pipelines instead of adding more prow job configs :thinking: but I don't want to block anything so let's go ahead and we can port this over to Pipelines once we're using Pipelines instead of prow jobs :sweat_smile:
/lgtm
just in case you want to wait for a Pipeline based solution (which I am becoming more motivated to create by the minute...)
/hold

(Finally created issue to start converting prow jobs to Tekton: https://github.com/tektoncd/pipeline/issues/922)

So, https://github.com/tektoncd/plumbing/pull/27 got merged :sweat_smile: Let's merge this one, and I promise I'm working on migrating those to tekton pipelines :stuck_out_tongue_closed_eyes:
/hold cancel

haha kk I believe you XD


[BUG] results are not matching as published on the arcgis experience demo page

i tried few examples there is huge disconnect in results :
i just download the image and ran small as mentioned in read me model  using below code

as well as small - reference just to try it

on portal -https://experience.arcgis.com/experience/12facb85c45a4b7e9c4caef04be6e4d2/?draft=true#data_s=id%3AdataSource_2-18f59fc7c23-layer-2%3A111
it shows debris any as 0.67 which is incorrect with actual output

Am I missing something? Are these results incorrect? For small variants, the outputs do not match. Is any preprocessing required?

You are correct - I am unable to reproduce the weights published in the arcgis experience for that image. It is possible we ran the inference on those images using a different checkpoint. We can look into it and update the arcgis visualization to use the latest published versions of the models.

Yeah, this is likely what happened. The AGOL experience data was added over the course of a few months and we updated the model at least once that I can remember during the same period, so probably this output was produced by a different set of weights. It looks to me like the OP's code is correct. Until we can rerun the AGOL inputs (or remove points added before the most recent model update), we should probably update the README to reflect the fact that some outputs in AGOL might not be the same as those from the most recent model to avoid confusion. Thanks for the bug!


Possible typo in readme?

You will have to excuse me as I am a beginner looking through the handbook but shouldnt the first example in Module Augmentation be .ts files?

I confirm this issue is fixed by https://github.com/microsoft/TypeScript-Handbook/commit/d457beacc0a9130661938210e2d6351955997f2a


Refactor Runs Module and Comment & Resolved state module

refactor runs code structure and style component

add comment CRUD module

add 'RESOLVED" state module

couple with https://github.com/umccr/orcabus/pull/613

will merge together later  with https://github.com/umccr/orcabus/pull/613


Add PR check using GitHub Actions

Build and test using gradle, with a simple test report.

Maybe also remove travis?


i have a probleme when running setup.sh

thank you for your amazing work, coreference resolution task for Arabic language is really underrated and I'm really impressed by the results
So I tried to execute your code but I got this error when executing setup.sh
could you help me?

Hi, I am not sure the reason for this error. I compiled this in both macOS and Linux, I didn't get any errors.  it might be the TensorFlow versions did you install the 1.7 version of TensorFlow as shown in the requirement.txt?

yes ,it was resolved thank you

did you encounter this error when running extract_bert_features.sh ?

This is a tricky one, actually for BERT extraction you will need to set up another tf env that uses the 1.12 version of the TensorFlow.

hello again!
I have run the code with colab, cause I have some problem with Cuda in my laptop, but running when running extract_bert_features.sh in collab it generates this error  and I can't  find such bert_config.json file
Traceback (most recent call last):
File "extract_features.py", line 339, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "extract_features.py", line 260, in main
bert_config = modeling.BertConfig.from_json_file(FLAGS.bert_config_file)
File "/content/aracoref/extract_bert_features/modeling.py", line 93, in from_json_file
text = reader.read()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 125, in read
self._preread_check()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/lib/io/file_io.py", line 85, in _preread_check
compat.as_bytes(self.__name), 1024 * 512, status)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: ./araBERT_01/tf_arabert01/bert_config.json; No such file or directory

it seems you didn't get the arabert uploaded to colab or didn't put it in the same location as you specified in extract_bert_features.sh

in the pretrained files that you've provided i can't find any json file. I don't know how to keep processing, if you have a colab notebook , it would a pleasure if share it with me.
this is my colab notebook if you can help:
https://colab.research.google.com/drive/1OidCk7ZYYOO772AONmUjUcaNQFMuiHZ6#scrollTo=ON9wBGRVzt5l

You will need to download the tensorflow version of the arabert 0.1 (not sure if they still can be downloaded, I heard they switch to hugging face) and put them in the ./araBERT_01/tf_arabert01 folder.

yes, unfortunately, they switch to hugging face

hello again !
after running !python2 /content/aracoref/evaluate.py arabic_cleaned_bert
I got this error :
Running experiment: arabic_cleaned_bert
max_top_antecedents = 50
max_training_sentences = 50
top_span_ratio = 0.4
filter_widths = [
3
4
5
]
filter_size = 50
char_embedding_size = 8
char_vocab_path = "/content/aracoref/bert-base-arabertv01/vocab.txt"
context_embeddings {
path = "./content/aracoref/cc.ar.300.vec"
size = 300
}
head_embeddings {
path = "./content/aracoref/cc.ar.300.vec"
size = 300
}
contextualization_size = 200
contextualization_layers = 3
ffnn_size = 150
ffnn_depth = 2
feature_size = 20
max_span_width = 30
use_metadata = true
use_features = true
model_heads = true
coref_depth = 2
lm_layers = 4
lm_size = 768
coarse_to_fine = true
max_gradient_norm = 5.0
lstm_dropout_rate = 0.4
lexical_dropout_rate = 0.5
dropout_rate = 0.2
optimizer = "adam"
learning_rate = 0.001
decay_rate = 0.999
decay_frequency = 100
train_path = "/content/aracoref/best-models/data/train.arabic.cleaned.pred.mentions.jsonlines"
eval_path = "/content/aracoref/best-models/data/dev.arabic.cleaned.pred.mentions.jsonlines"
conll_eval_path = "dev.arabic.v4_gold_conll"
lm_path = "bert_arb_conll12_cleaned_features.hdf5"
test_path = "/content/aracoref/best-models/data/test.arabic.cleaned.pred.mentions.jsonlines"
conll_test_path = "test.arabic.v4_gold_conll"
genres = [
"bc"
"bn"
"mz"
"nw"
"pt"
"tc"
"wb"
]
eval_frequency = 500
report_frequency = 100
log_root = "logs"
max_step = 400000
use_joint_coref = true
use_e2e_annealing = false
log_dir = "logs/arabic_cleaned_bert"
Loading word embeddings from ./content/aracoref/cc.ar.300.vec...
Traceback (most recent call last):
File "/content/aracoref/evaluate.py", line 17, in
model = cm.CorefModel(config)
File "/content/aracoref/coref_model.py", line 24, in init
self.context_embeddings = util.EmbeddingDictionary(config["context_embeddings"])
File "/content/aracoref/util.py", line 174, in init
self._embeddings = self.load_embedding_dict(self._path)
File "/content/aracoref/util.py", line 191, in load_embedding_dict
assert len(embedding) == self.size
AssertionError


Wait time

Hello,
Probably addresses in the past, but I couldn't find this.
How can I assign a wait duration for each Node, so solver considers waiting/service/visit time at each Node? (not just the travel time)
Maybe adding that time to the "Time" Dimension from each Node to the target Node?
Maybe duplicate all the Nodes (with 0 cost to travel to the duplicated node) to emulate such wait times?
Other?
Thx

Hi, simply add 'service time" to the transit callback
cf the python example cvrptw.py
Here I define a service time according to the capacity of each node:
src: https://github.com/google/or-tools/blob/master/examples/python/cvrptw.py#L182
and then I add it to the transit function
src: https://github.com/google/or-tools/blob/master/examples/python/cvrptw.py#L208

So, we get the departure time by adding the "service time" at that Node to the arrival time?
And the arrival time to the next Node will automatically include it as you used:
_total_time[from_node][to_node] = int(
service_time(data, from_node) +
travel_time(data, from_node, to_node))

Simply put. We use Time Windows on Arrival time thus  time dimension add constraints on node arrival.
We compute the transit cost as the sum of the travel time and the service time.

Thx.
Isn't SlackVar really the maximum wait time allowed at a certain Node, that would still enable to meet the Arrival time constraints of all the following Nodes?
Also, when Solver() runs -- searching through a certain Vehicle/Route -- is it possible to get the service order of a certain Node?
That is: Query the Solver() using the NodeIndex of the last Node in the search, and get its relative order, in the sequence of preceding Nodes, served before it along that route?
(of course, as the search progresses the order of the Nodes increases)

Can you please comment re the second question? (hoping the question was clear ...)

I'd hate to revive a 'dead' issue, but the issue here is also one I face, and the links above appear to be broken.

https://github.com/google/or-tools/blob/stable/ortools/constraint_solver/samples/cvrptw.py

Simply put. We use Time Windows on Arrival time thus time dimension add constraints on node arrival. We compute the transit cost as the sum of the travel time and the service time.
Computing Departure time is more tricky since it will also depends on waiting time aka SlackVar. ArrivalTime(B) = ArrivalTime(A) + Transit(A, B) + WaitingTime(A) and Tansit(A, B) == ServiceTime(A) + TravelTime(A,B) == TotalTime(A,B) so you may define DepartureTime as DepartureTime(A) = ArrivalTime(A) + ServiceTime(A) + WaitingTime(A)
note: ArrivalTime is the CumulVar() from the solver point of view note: WaitTime is the SlackVar() from the solver point of view note: CumulVar and SlackVar may be range interval note: SlackVar range is dependent of the CumulVar value but what we return can be see as the union of all range of SlackVar for all value of CumulVar.

hello Mizux,
I have a problem, as you say, we define a waiting time for each node, but I want to define the sum of vehicle waiting time, how to solve this kind of  problem?

Please do not revive issues that are years old :-)
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le lun. 19 sept. 2022 à 12:07, wagjixiang @.***> a
écrit :

Simply put. We use Time Windows on Arrival time thus time dimension add
constraints on node arrival. We compute the transit cost as the sum of the
travel time and the service time.
Computing Departure time is more tricky since it will also depends on
waiting time aka SlackVar. ArrivalTime(B) = ArrivalTime(A) + Transit(A,
B) + WaitingTime(A) and Tansit(A, B) == ServiceTime(A) + TravelTime(A,B)
== TotalTime(A,B) so you may define DepartureTime as DepartureTime(A) =
ArrivalTime(A) + ServiceTime(A) + WaitingTime(A)
note: ArrivalTime is the CumulVar() from the solver point of view note:
WaitTime is the SlackVar() from the solver point of view note: CumulVar and
SlackVar may be range interval note: SlackVar range is dependent of the
CumulVar value but what we return can be see as the union of all range of
SlackVar for all value of CumulVar.
hello Mizux,
I have a problem, as you say, we define a waiting time for each node, but
I want to define the sum of vehicle waiting time, how to solve this kind of
problem?
—
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/765#issuecomment-1250820930,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3PLGBN3BSC4KTZZEULV7A3OBANCNFSM4FLRFTIQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Please do not revive issues that are years old :-) Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53 00 Le lun. 19 sept. 2022 à 12:07, wagjixiang @.> a écrit :
…
Simply put. We use Time Windows on Arrival time thus time dimension add constraints on node arrival. We compute the transit cost as the sum of the travel time and the service time. Computing Departure time is more tricky since it will also depends on waiting time aka SlackVar. ArrivalTime(B) = ArrivalTime(A) + Transit(A, B) + WaitingTime(A) and Tansit(A, B) == ServiceTime(A) + TravelTime(A,B) == TotalTime(A,B) so you may define DepartureTime as DepartureTime(A) = ArrivalTime(A) + ServiceTime(A) + WaitingTime(A) note: ArrivalTime is the CumulVar() from the solver point of view note: WaitTime is the SlackVar() from the solver point of view note: CumulVar and SlackVar may be range interval note: SlackVar range is dependent of the CumulVar value but what we return can be see as the union of all range of SlackVar for all value of CumulVar. hello Mizux, I have a problem, as you say, we define a waiting time for each node, but I want to define the sum of vehicle waiting time, how to solve this kind of problem? — Reply to this email directly, view it on GitHub <#765 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUPL3PLGBN3BSC4KTZZEULV7A3OBANCNFSM4FLRFTIQ . You are receiving this because you modified the open/close state.Message ID: @.>

I'm sorry to take up your time! It may be simple for you, but i can't solve it by myself. So can you tell me how to solve this problem?
problem: limit the sum of vehicle waiting time.
Thank you very much again!


New tf.Session() for  each subdir?

Looking into the code the model initializes the tf.session() for every subdirectory (4000 samples). It doesn't make sense (at least to me). Also there is no relation for the model of each of the subdirectories.  I am referring to ./Automatic_Speech_Recognition/main/libri_train.py file. Please explain.

@psparulsharma hello, it is because that librispeech is very large, to avoid loading so large dataset once, i split them into several small datasets. and running every directory is based on the pretrained model.


More tools on try.elv.sh

Sometimes I want to show the efficiency of the Linux CLI environment to someone, or teach some Linux stuff while they are on a Windows machine. The web interface is suitable for these cases.
It would be cool if some of the greatest Linux command line tools would be available on try.elv.sh.
exa - a modern and more powerful replacement for ls
fd - a modern replacement for find
Kakoune - a powerful code editor
ripgrep - a modern and fast replacement for grep
Pijul - a modern and lightweight version tracking system

for a list of cool shell things there's https://github.com/alebcay/awesome-shell


Invalid token specified: Cannot read property 'replace' of undefined

`import * as JWT from 'jwt-decode';
decodeToken(token: string) {
return JWT(token);
}
`
I have this error when i decode my token : Invalid token specified: Cannot read property 'replace' of undefined
An idea ?

Try this statement
if (!localStorage.getItem("jwtToken")) {
//your code
}
it's works for me

Still I am getting this issue .How you solved it ???


temporary directory remains after running fontforge

Before running fontforge,  source files are copied to a temporary directory.
// Copy source files to temporary directory
var tempDir = temp.mkdirSync();
o.files.forEach(function(file) {
	fs.writeFileSync(path.join(tempDir, o.rename(file)), fs.readFileSync(file));
});

Why is this temporary directory not removed at the end of the process?
Thanks.

I don’t know. Maybe it’s a bug, maybe nobody wrote any code to remove it. I’ll be happy to merge a pull request with a fix.


fixing broken redirects

My skyeye report was showing these 404s.
/cc @BillWagner @rpetrusha

LGTM.  Let's :shipit:


ci: update workflow triggers

triggers Test CI action when a PR is edited.

@faustbrian
Started testing to make sure "editing" doesn't mean changing the title, then I saw you changed the title 😂
#126 CI is stuck and this should resolve it after merging this change to develop.

@sleepdefic1t needs to be rebased to develop

Updated in https://github.com/ArkEcosystem/cpp-client/commit/e23cc618812e994d0628079baa0d804c264ea2cd, this PR got a bit messy after the merge :trollface:


will update this generator to generat [component,router,service] and so on?

i hope it will similar to yeoman official generator [generator-angular];
let us build a angular2 app easy.
provide a complete develop environment to build a app.
in short,many people will happy to see this;
rise up and like!

I'm not entirely sure on the future quite yet, with the announcement of angular-cli at AngularConnect there may not be a need for a Yeoman generator which achieves practically the same thing. I'll be keeping an eye out on angular-cli to see how it progresses.


can we link data?

In a key/value db that uses json can we link to a key value of another key/value db. If so is there an example code for this?

For some loose linking you could reference the hash of the other db I guess. We don't have any examples of this but you may find other community members have had similar thoughts. Might be worth asking around in the OrbitDB lobby.


[Feature Request]: Add Twitter Social Handle to Footer for Improved Accessibility in home page

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
This feature request is raised to enhance user engagement and connectivity by adding the official Twitter social handle to the footer of our home page. Providing easy access to our Twitter profile Assign me this user JWOC
Screenshots

Code of Conduct

[X] I follow Contributing Guidelines of this project.

Issues for JWoC will be assigned from 15th Jan, 2024 @Vedika-Agrawal
Till then keep exploring the projects!! ✨

Issues for JWoC will be assigned from 15th Jan, 2024 @NaveenChandraAdhikari
Till then keep exploring the projects!! ✨

So can you assign me this under SWOC'24

Okay proceed @NaveenChandraAdhikari


Formatting typo

Remove emboldened 's' in README

I think this was done on purpose to differentiate addLayers from addLayer

In which case, the same formatting should be repeated throughout the section.

I agree, it's done a second time after chunkloading but after that it is without the formatting

yeah let's go without, thanks.

There's still one bold s left in the chunkloading section

For some reason I can't get a PR to work for that last one - sorry.


Depot with capacity and time windows

What language and solver does this apply to?
All
Describe the problem you are trying to solve.
We have the problem with a depot which has capacity (let's say 5 loading dock which work
independently/asynchronously). However, each loading dock has different available time windows.
With this example
https://developers.google.com/optimization/routing/cvrptw_resources
Currently, I can define the capacity for depot (number of loading docks). Can we add the new feature allowing to add the time windows for different docks?
Note that, we cannot use multiple fake nodes to represent the docks, since we don't know where each request (pickup package) is.

As stated here: https://github.com/google/or-tools/issues/new/choose
modeling questions should be asked on the mailing list.
Thanks


Support test in jasmine 2.X

Since the jasmine has upgrade to 2.X for a long time, is there any test case under that version?

PR welcome on v1 branch. I went a different way in the v2 branch. I am also not picky about Jasmine. I’ve been using TAP for my recent work.


Leftover upstream changes from incubator20

I found these modifications in an unmerged branch from the source folder in incubator20.  They seem worthy of promotion, but check'm out first.

Closing this PR as "already done."


influxdb.exceptions.InfluxDBClientError: 403:

client.create_database('example')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Downloads\python-3.7.3-embed-amd64\lib\site-packages\influxdb\client.py", line 579, in create_database
    method="POST")
  File "C:\Users\Downloads\python-3.7.3-embed-amd64\lib\site-packages\influxdb\client.py", line 416, in query
    expected_response_code=expected_response_code
  File "C:\Users\Downloads\python-3.7.3-embed-amd64\lib\site-packages\influxdb\client.py", line 286, in request
    raise InfluxDBClientError(response.content, response.status_code)
influxdb.exceptions.InfluxDBClientError: 403:

Getting this error while running even the basic example given in the readme.
Platform- Windows 10
InfluxDB Version- 1.7.6

This does not seem to be an issue with influxdb-client itself, but rather a configuration issue.
@lladhibhutall Can you query the database with curl ? what connection parameters do you use ?
@aviau This issue might be worth closing, or at least marked as needinfo.

but rather a configuration issue

Yeah. Support shouldn't be handled here.


Issue while testing

Exception: Field currentActivity or type signature  not found
UnityEngine._AndroidJNIHelper.GetFieldID (System.IntPtr jclass, System.String fieldName, System.String signature, System.Boolean isStatic) (at :0)
UnityEngine.AndroidJNIHelper.GetFieldID (System.IntPtr javaClass, System.String fieldName, System.String signature, System.Boolean isStatic) (at :0)
UnityEngine._AndroidJNIHelper.GetFieldID[ReturnType] (System.IntPtr jclass, System.String fieldName, System.Boolean isStatic) (at :0)
UnityEngine.AndroidJNIHelper.GetFieldID[FieldType] (System.IntPtr jclass, System.String fieldName, System.Boolean isStatic) (at :0)
UnityEngine.AndroidJavaObject._GetStatic[FieldType] (System.String fieldName) (at :0)
UnityEngine.AndroidJavaObject.GetStatic[FieldType] (System.String fieldName) (at :0)

Hi @PushpakChulet, Could you please test the above with the latest release and let us know, whether the above issue still exists. If persists, Please share us the complete steps to reproduce it. Thanks!


Qt example not working on Linux

Currently I'm on OpenSUSE 11.4 x64 with GCC 4.5.1, Mono 2.10.2 and GCC-XML compiled from CVS source. The hello world example works as expected.
After running make in the qt directory, compilation proceeds without any errors but with three warnings that seem rather harmless, included here for completeness:
generated/QApplication.cs(228,35): warning CS0108: Qt.Gui.QApplication.Exec()' hides inherited member Qt.Gui.QCoreApplication.Exec()'. Use the new keyword if hiding was intended
generated/QCoreApplication.cs(120,35): (Location of the symbol related to previous warning)
src/QPoint.cs(10,29): warning CS0414: The private field Qt.Gui.QPoint.xy' is assigned but its value is never used src/QPoint.cs(10,33): warning CS0414: The private field Qt.Gui.QPoint.yx' is assigned but its value is never used
When trying to run the resulting hello.exe, it crashes with this exception:
Unhandled Exception: System.TypeLoadException: Could not load type 'Qt.Gui.QApplication' from assembly 'Qt.Gui-binding, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
I figure this has something to do with the library not being loaded properly, and right enough there is no .so file in the directory. So looking at Makefile.am I see that libQtGui-inline.so has been commented out from the make all routine. Removing the comment (or just running make libQtGui-inline.so) gets me this:
g++: QtGui: No such file or directory
g++: QtCore: No such file or directory
cc1plus: error: unrecognized command line option "-framework"
cc1plus: error: unrecognized command line option "-framework"
make: *** [libQtGui-inline.so] Error 1
Now, from googling about I gather that the -framework option seems to be only for Mac OS X/Darwin (http://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html), so I try changing the framework options to  "-I/usr/include/QtCore -I/usr/include/QtGui". Now it compiles without error and I get my .so, but running hello.exe still gives the same exception.
Is there something else that is missing, like should the actual Qt .so files from usr/lib be copied into the folder as well? I noticed that libQtGui-inline.so is compiled with the -m32 option, is this something that should be left alone or should it be changed when running on a 64-bit machine?

I can confirm that too, Ubuntu 11.10 32 bit, also not working


Forced default 2G memory allocation regardless of respective set environment values

Describe the problem
MEMORY parameter is ignored, same as INIT_MEMORY and MAX_MEMORY. Initially setting MEMORY: 4G listed init and max memory as 4G,  but the server lists a 2G allocation, as can be viewed in the following capture on the right corner Mem #/2048MB. Thinking this was an issue, I set the INIT_MEMORY: 1G and MAX_MEMORY: 4G flags, which also had the same result of 2G. The image is a spigot server without any plugins (all removed thinking they might be affecting allocation).

The docker-compose configuration is run in Portainer, but attempting to build the image with docker compose on CLI resulted in the same 2G allocation.
I even set up a "local installation" on the Minecraft launcher and under "More Options" set JVM Arguments with -Xmx8G, which when launched resulted in a Mem #/8192MB, so I understand that statistic lists maximum memory available, not currently allocated memory, but when composing the image with the provided configuration, it strictly lists 2048MB max memory. As the logs show, the environment variables are recognized but the listed result does not reflect the actual allocated memory.
Container definition
version: "3.8"
services:
  minecraft:
    image: itzg/minecraft-server
    container_name: spigot_minecraft
    hostname: spigot_minecraft
    ports:
      - 25565:25565
      - 4123:4123
    environment:
      EULA: true
      INIT_MEMORY: 1G
      MAX_MEMORY: 4G
      TYPE: SPIGOT
    volumes:
      - type: volume
        source: data
        target: /data
volumes:
  data: {}

Container logs
+ export HOME=/data

+ HOME=/data
++ id -u
++ id -g
++ ls -lnd /data
+ log 'Running as uid=1000 gid=1000 with /data as '\''drwxrwxr-x. 12 1000 1000 4096 Nov 12 05:56 /data'\'''
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2022-11-12 06:17:29+00:00 Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x. 12 1000 1000 4096 Nov 12 05:56 /data'
+ '[' '!' -e /data/eula.txt ']'
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ [[ -n '' ]]
+ [[ -n '' ]]
+ fixJavaPath

+ which java
+ export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
+ VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
+ case "X$VERSION" in
++ get --json-path '$.latest.release' https://launchermeta.mojang.com/mc/game/version_manifest.json
++ mc-image-helper get --json-path '$.latest.release' https://launchermeta.mojang.com/mc/game/version_manifest.json
+ VANILLA_VERSION=1.19.2
+ export VANILLA_VERSION
++ get_major_version 1.19.2
++ version=1.19.2
++ echo 1.19.2
++ cut -d. -f 1-2
+ MAJOR_VANILLA_VERSION=1.19
+ export MAJOR_VANILLA_VERSION
+ log 'Resolved version given LATEST into 1.19.2 and major version 1.19'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2022-11-12 06:17:30+00:00 Resolved version given LATEST into 1.19.2 and major version 1.19
+ cd /data
+ export ORIGINAL_TYPE=SPIGOT
+ ORIGINAL_TYPE=SPIGOT
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ versionLessThan 1.7
+ mc-image-helper compare-versions 1.19.2 lt 1.7
+ return 1
+ log 'Resolving type given SPIGOT'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2022-11-12 06:17:30+00:00 Resolving type given SPIGOT
+ case "${TYPE^^}" in
+ exec /start-deployBukkitSpigot
+ set -e
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ downloadSpigot
+ local match
+ case "$TYPE" in
+ match=Spigot
+ downloadUrl=
+ getbukkitFlavor=spigot
+ [[ LATEST = LATEST ]]
++ restify https://getbukkit.org/download/spigot --attribute=property=og:title
++ jq -r '.[0] | .attributes | select(.property == "og:title") | .content | split(" ") | .[-1]'
+ VANILLA_VERSION=1.19.2
+ [[ -z '' ]]
+ versionLessThan 1.16.5
+ mc-image-helper compare-versions 1.19.2 lt 1.16.5
+ return 1
+ [[ spigot = \c\r\a\f\t\b\u\k\k\i\t ]]
+ downloadUrl=https://download.getbukkit.org/spigot/spigot-1.19.2.jar
+ setServerVar
+ case "$TYPE" in
+ export SERVER=spigot_server-1.19.2.jar
+ SERVER=spigot_server-1.19.2.jar
+ '[' -f spigot_server-1.19.2.jar ']'
+ curlArgs='-z spigot_server-1.19.2.jar'
+ isDebugging
+ isTrue true
+ case "${1,,}" in
+ return 0
+ return 0
+ curlArgs='-z spigot_server-1.19.2.jar -v'
+ log 'Downloading Spigot from https://download.getbukkit.org/spigot/spigot-1.19.2.jar ...'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2022-11-12 06:17:31+00:00 Downloading Spigot from https://download.getbukkit.org/spigot/spigot-1.19.2.jar ...
+ curl -fsSL -o spigot_server-1.19.2.jar -z spigot_server-1.19.2.jar -v https://download.getbukkit.org/spigot/spigot-1.19.2.jar
*   Trying <IP_ADDRESS>:443...
* TCP_NODELAY set
* Connected to download.getbukkit.org (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [25 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2338 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [80 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
*  start date: Jul 11 00:00:00 2022 GMT
*  expire date: Jul 10 23:59:59 2023 GMT
*  subjectAltName: host "download.getbukkit.org" matched cert's "*.getbukkit.org"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
} [5 bytes data]
> GET /spigot/spigot-1.19.2.jar HTTP/1.1
> Host: download.getbukkit.org
> User-Agent: curl/7.68.0
> Accept: */*
> If-Modified-Since: Sat, 12 Nov 2022 05:53:09 GMT
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 304 Not Modified
< Date: Sat, 12 Nov 2022 06:17:31 GMT
< Connection: keep-alive
< Last-Modified: Sat, 12 Nov 2022 05:01:57 GMT
< ETag: "636f28c5-3f3da5c"
< Cache-Control: max-age=14400
< CF-Cache-Status: HIT

< Age: 2569

-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=u5OdElHvpgId%2BI1aCxiVasqokQIGroHQKxuo25VVjIOgDz1JbhBsL7GBHOrvVXFnmUQhaRGujdi5jp0M0JjLXcSjI1zWBAVkwKKXOBn2BJR5fkeqIWC%2BrMUARARWEod%2Fg9wIf0Zg774o"}],"group":"cf-nel","max_age":604800}
< NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< Strict-Transport-Security: max-age=0; preload
< X-Content-Type-Options: nosniff
< Server: cloudflare
< CF-RAY: 768d2526b87e9ab4-MIA
< alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
<
* Connection #0 to host download.getbukkit.org left intact
+ [[ 0 != 0 ]]
++ grep -c 'DOCTYPE html' spigot_server-1.19.2.jar
+ [[ 0 != 0 ]]
+ JVM_OPTS=' -DIReallyKnowWhatIAmDoingISwear'
+ export JVM_OPTS
+ export FAMILY=SPIGOT
+ FAMILY=SPIGOT
+ exec /start-spiget
+ : ''
+ : 5
+ : '*.jar,*-version.json'
+ acceptArgs=(--accept application/zip --accept application/java-archive --accept application/octet-stream)
+ [[ -n '' ]]
+ exec /start-setupWorld
+ '[' SPIGOT = CURSEFORGE ']'
+ worldDest=/data/world
+ [[ -n '' ]]
+ exec /start-setupVanillaTweaks
+ out_dir=/data/world/datapacks
+ isTrue false
+ case "${1,,}" in
+ return 1
+ [[ -n '' ]]
+ [[ -n '' ]]
+ exec /start-setupForgeApiMods
+ isTrue false
+ case "${1,,}" in
+ return 1

+ '[' '' ']'

+ '[' '' ']'
+ exec /start-setupModpack
+ CURSE_URL_BASE=https://minecraft.curseforge.com/projects
+ isTrue false
+ case "${1,,}" in
+ return 1
+ handlePackwiz
+ [[ -n '' ]]
+ handleModpackListOrFile
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ handleCurseForgeManifest
+ [[ -n '' ]]
+ genericPacks
+ : ''
+ : ''
+ : ''
+ [[ -n '' ]]
+ modrinthProjects
+ : ''
+ : true
+ : release
+ [[ -n '' ]]
+ exec /start-setupModconfig
+ isTrue true
+ case "${1,,}" in
+ return 0
+ updateArg=--skip-newer-in-destination
+ isTrue true
+ case "${1,,}" in
+ return 0
+ subcommand=sync-and-interpolate
+ '[' -d /plugins ']'
+ : /data/mods
+ '[' -d /mods ']'
+ : /data/config
+ '[' -d /config ']'
+ exec /start-setupServerProperties
[init] 2022-11-12 06:17:32+00:00 DEBUG: Setting enable-rcon to 'true' in /data/server.properties
[init] 2022-11-12 06:17:32+00:00 DEBUG: Setting rcon.password to '*****' in /data/server.properties
[init] 2022-11-12 06:17:32+00:00 DEBUG: Setting rcon.port to '25575' in /data/server.properties
+ versionLessThan 1.7.6
+ mc-image-helper compare-versions 1.19.2 lt 1.7.6
+ return 1
+ opsFile=ops.json
+ whitelistFile=whitelist.json
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ '[' -n '' ']'
+ '[' -n '' ']'
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ '[' -n '' ']'
+ '[' -n '' ']'
+ exec /start-finalExec
+ '[' -n '' ']'
+ canUseRollingLogs=true
+ useFallbackJvmFlag=false
+ versionLessThan 1.7
+ mc-image-helper compare-versions 1.19.2 lt 1.7
+ return 1
+ isFamily VANILLA
+ for f in "${@}"
+ [[ SPIGOT == \V\A\N\I\L\L\A ]]
+ return 1
+ isFamily VANILLA
+ for f in "${@}"
+ [[ SPIGOT == \V\A\N\I\L\L\A ]]
+ return 1
+ isType PURPUR
+ for t in "${@}"
+ [[ SPIGOT == \P\U\R\P\U\R ]]
+ return 1
+ isType PURPUR
+ for t in "${@}"
+ [[ SPIGOT == \P\U\R\P\U\R ]]
+ return 1
+ versionLessThan 1.18.1
+ mc-image-helper compare-versions 1.19.2 lt 1.18.1
+ return 1
+ false
+ isTrue false
+ case "${1,,}" in
+ return 1
+ log 'Checking for JSON files.'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2022-11-12 06:17:32+00:00 Checking for JSON files.
++ find /data -maxdepth 1 -name '*.json'
+ JSON_FILES='/data/banned-players.json
/data/banned-ips.json
/data/ops.json
/data/whitelist.json
/data/usercache.json'
+ for j in $JSON_FILES
++ cat /data/banned-players.json
++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
+ [[ [] == '' ]]
+ for j in $JSON_FILES
++ cat /data/banned-ips.json
++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
+ [[ [] == '' ]]
+ for j in $JSON_FILES
++ cat /data/ops.json
++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
+ [[ [
{
"uuid": "0281d655-ce70-39c9-83b5-c9d7624cb4c2",
"name": "MCUsername",
"level": 4,
"bypassesPlayerLimit": false
}
] == '' ]]
+ for j in $JSON_FILES
++ cat /data/whitelist.json
++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
+ [[ [] == '' ]]
+ for j in $JSON_FILES
++ cat /data/usercache.json
++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
+ [[ [] == '' ]]
+ versionLessThan 1.14
+ mc-image-helper compare-versions 1.19.2 lt 1.14
+ return 1
+ [[ '' = false ]]
+ expandedDOpts=
+ '[' -n '' ']'
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ isTrue ''
+ case "${1,,}" in
+ return 1
+ [[ -n 1G ]]
+ log 'Setting initial memory to 1G and max to 4G'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2022-11-12 06:17:33+00:00 Setting initial memory to 1G and max to 4G
+ [[ -n 1G ]]
+ JVM_OPTS='-Xms1G  -DIReallyKnowWhatIAmDoingISwear'
+ [[ -n 4G ]]
+ JVM_OPTS='-Xmx4G -Xms1G  -DIReallyKnowWhatIAmDoingISwear'
+ mcServerRunnerArgs=(--stop-duration "${STOP_DURATION:-60}s" --named-pipe "${CONSOLE_IN_NAMED_PIPE:-/tmp/minecraft-console-in}")
+ [[ -n '' ]]
+ [[ SPIGOT == \C\U\R\S\E\F\O\R\G\E ]]
+ [[ SPIGOT == \C\U\R\S\E\F\O\R\G\E ]]
+ [[ spigot_server-1.19.2.jar =~ run.sh ]]
+ '[' -f /data/bootstrap.txt ']'
+ log 'Starting the Minecraft server...'
+ local oldState
++ shopt -po xtrace
+ oldState='set -o xtrace'
+ shopt -u -o xtrace
[init] 2022-11-12 06:17:33+00:00 Starting the Minecraft server...
+ finalArgs=($JVM_XX_OPTS $JVM_OPTS $expandedDOpts -jar "$SERVER" "$@" $EXTRA_ARGS)
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ isTrue false
+ case "${1,,}" in
+ return 1
+ exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx4G -Xms1G -DIReallyKnowWhatIAmDoingISwear -jar spigot_server-1.19.2.jar
Unbundling libraries to /data/bundler
Starting server
Loading libraries, please wait...
[06:17:34] [ServerMain/INFO]: Building unoptimized datafixer
[06:17:35] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[06:17:35] [ServerMain/INFO]: Loaded 7 recipes
[06:17:34] [ServerMain/INFO]: Building unoptimized datafixer
[06:17:35] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[06:17:35] [ServerMain/INFO]: Loaded 7 recipes
[06:17:36] [Server thread/INFO]: Starting minecraft server version 1.19.2
[06:17:36] [Server thread/INFO]: Loading properties
[06:17:36] [Server thread/INFO]: This server is running CraftBukkit version 3606-Spigot-6198b5a-300e744 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT)
[06:17:36] [Server thread/INFO]: Debug logging is disabled
[06:17:36] [Server thread/INFO]: Server Ping Player Sample Count: 12
[06:17:36] [Server thread/INFO]: Using 4 threads for Netty based IO
[06:17:36] [Server thread/INFO]: Default game type: SURVIVAL
[06:17:36] [Server thread/INFO]: Generating keypair
[06:17:36] [Server thread/INFO]: Starting Minecraft server on *:25565
[06:17:36] [Server thread/INFO]: Using epoll channel type
[06:17:36] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[06:17:36] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[06:17:36] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[06:17:36] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[06:17:36] [Server thread/INFO]: Preparing level "world"
[06:17:37] [Server thread/INFO]: -------- World Settings For [world] --------
[06:17:37] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true / Isa false
[06:17:37] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[06:17:37] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 Hopper Can Load Chunks: false
[06:17:37] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Nether: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[06:17:37] [Server thread/INFO]: Cactus Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Cane Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Melon Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Sapling Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Carrot Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Potato Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Wheat Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Vine Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Kelp Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: TwistingVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: WeepingVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: CaveVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Experience Merge Radius: 3.0
[06:17:37] [Server thread/INFO]: Mob Spawn Range: 6
[06:17:37] [Server thread/INFO]: Max TNT Explosions: 100
[06:17:37] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[06:17:37] [Server thread/INFO]: Item Merge Radius: 2.5
[06:17:37] [Server thread/INFO]: Item Despawn Rate: 6000
[06:17:37] [Server thread/INFO]: View Distance: 10
[06:17:37] [Server thread/INFO]: Simulation Distance: 10
[06:17:37] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[06:17:37] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[06:17:37] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[06:17:37] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[06:17:37] [Server thread/INFO]: -------- World Settings For [world_nether] --------
[06:17:37] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true / Isa false
[06:17:37] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[06:17:37] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 Hopper Can Load Chunks: false
[06:17:37] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Nether: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[06:17:37] [Server thread/INFO]: Cactus Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Cane Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Melon Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Sapling Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Carrot Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Potato Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Wheat Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Vine Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Kelp Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: TwistingVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: WeepingVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: CaveVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Experience Merge Radius: 3.0
[06:17:37] [Server thread/INFO]: Mob Spawn Range: 6
[06:17:37] [Server thread/INFO]: Max TNT Explosions: 100
[06:17:37] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[06:17:37] [Server thread/INFO]: Item Merge Radius: 2.5
[06:17:37] [Server thread/INFO]: Item Despawn Rate: 6000
[06:17:37] [Server thread/INFO]: View Distance: 10
[06:17:37] [Server thread/INFO]: Simulation Distance: 10
[06:17:37] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[06:17:37] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[06:17:37] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[06:17:37] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[06:17:37] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[06:17:37] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true / Isa false
[06:17:37] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[06:17:37] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1 Hopper Can Load Chunks: false
[06:17:37] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313 Ocean: 14357621 Shipwreck: 165745295 End City: 10387313 Slime: 987234911 Nether: 30084232 Mansion: 10387319 Fossil: 14357921 Portal: 34222645
[06:17:37] [Server thread/INFO]: Cactus Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Cane Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Melon Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Sapling Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Carrot Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Potato Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Wheat Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Vine Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Kelp Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: TwistingVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: WeepingVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: CaveVines Growth Modifier: 100%
[06:17:37] [Server thread/INFO]: Experience Merge Radius: 3.0
[06:17:37] [Server thread/INFO]: Mob Spawn Range: 6
[06:17:37] [Server thread/INFO]: Max TNT Explosions: 100
[06:17:37] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[06:17:37] [Server thread/INFO]: Item Merge Radius: 2.5
[06:17:37] [Server thread/INFO]: Item Despawn Rate: 6000
[06:17:37] [Server thread/INFO]: View Distance: 10
[06:17:37] [Server thread/INFO]: Simulation Distance: 10
[06:17:37] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[06:17:37] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[06:17:37] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[06:17:37] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[06:17:37] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[06:17:38] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[06:17:38] [Worker-Main-18/INFO]: Preparing spawn area: 0%
[06:17:38] [Worker-Main-15/INFO]: Preparing spawn area: 0%
[06:17:38] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[06:17:39] [Worker-Main-18/INFO]: Preparing spawn area: 0%
[06:17:39] [Server thread/INFO]: Preparing spawn area: 100%
[06:17:40] [Server thread/INFO]: Time elapsed: 2831 ms
[06:17:40] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
[06:17:41] [Worker-Main-14/INFO]: Preparing spawn area: 0%
[06:17:41] [Worker-Main-21/INFO]: Preparing spawn area: 0%
[06:17:41] [Worker-Main-15/INFO]: Preparing spawn area: 2%
[06:17:41] [Server thread/INFO]: Time elapsed: 1369 ms
[06:17:41] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
[06:17:42] [Worker-Main-12/INFO]: Preparing spawn area: 0%
[06:17:42] [Worker-Main-12/INFO]: Preparing spawn area: 0%
[06:17:42] [Worker-Main-14/INFO]: Preparing spawn area: 87%
[06:17:42] [Server thread/INFO]: Time elapsed: 1038 ms
[06:17:42] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[06:17:42] [Server thread/INFO]: Done (5.604s)! For help, type "help"
[06:17:42] [Server thread/INFO]: Starting remote control listener
[06:17:42] [Server thread/INFO]: Thread RCON Listener started
[06:17:42] [Server thread/INFO]: RCON running on <IP_ADDRESS>:25575

Why are showing the client's memory allocation? That's totally unrelated to the server's. It got passed fine on the command line as -Xmx4G -Xms1G
+ exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx4G -Xms1G -DIReallyKnowWhatIAmDoingISwear -jar spigot_server-1.19.2.jar

In that case there is no issue.
I was trying to check server RAM usage but had mistakenly fallen under the assumption that the client was displaying such detail. Based on the fact that the logs demonstrate correct passing, both MEMORY, INIT_MEMORY, and MAX_MEMORY function as expected. Since I was understanding that the container will simply reserve the listed RAM for itself regardless of usage, I did not find a way to properly discern how much of that container-allocated RAM was being used for the actual spun up server, but that is beside the point that it works. Thank you, and apologies for the misconception.

No problem at all and thanks for providing the debug logs in the first place. Made it easy to confirm things.


[5.7] Sema: Skip members of unavailable extensions for -require-explicit-availability

Cherry-pick of https://github.com/apple/swift/pull/58426
When diagnosing required explicit availability, skip members of extensions that have been declared explicitly unavailable. The existing logic only checked for an unavailable attr in the direct attributes of the decl.
Resolves rdar://85429703

@swift-ci please test


CONJUBILEE-2978: Updating Output as per command output schema

Description
What is the intent of this change and why is it being made?

To update the command output of Application Discovery command for 2.0 Connectors as per command output schema.

How Has This Been Tested?
What testing have you done to verify this change?

 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.


fix: initial test example picker

@edewit I think you need to update the snapshots (because of my PR)

@edewit I update the snapshots


DefaultCounter for a rate?

Hello,
In the doc, it is mentioned that we can use a Counter to measure a rate e.g. a service's incoming http request rate. I do not understand how a simple counter can provide a rate, for which we need a sampling of measurements (last 1min, 5min, 15min, mean etc.) and a unit of time e.g. rqs/sec.

Counters are typically used for measuring a rate and reporting that to other systems. The DefaultRegistry just maintains a count and is used most frequently for testing. With test cases I have found it more useful to just know how many times increment is called because what I'm usually trying to verify is that a counter/timer is updated as expected based on some activity on the interface.
For actual use when running an application, this is accomplished by using either the servo or metrics3 registry implementations. See this repo for some examples of using these:
https://github.com/brharrington/spectator-examples
I'll think about how to make this more clear in the sections that introduce Counter, Timer, etc. If you have a suggestion, then please let me know.
As a side note we are discussing moving the docs from github wiki to under the main repo and then publish as a site. The main benefit is to allow PRs for docs and get some simple search for the docs.

What happens with adding tags and dimensionality then? We do maintain a large number of metrics3 metrics, and we manage to add what we call "static" dimensions to them when we convert them to Spectator Gauges and before we report them to Atlas. "Static" dimensions for us, are the ones that do not change their value during the lifetime of the Service instance, e.g. IP address, service name, application name, AWS instance id etc. But how can we do "runtime" dimensions then, that is dimensions that change their value based on the context, e.g. the request url, the request user agent etc if we stick to the metrics3 registry?

I think the crux of the question is static vs dynamic dimensions. We use the servo registry to report to Atlas and static dimensions are configured as part of the observer (example). Runtime dimensions would be done using the tagging on the spectator ids (simple server example).

We do maintain a large number of metrics3 metrics, and we manage to add what we call "static" dimensions to them when we convert them to Spectator Gauges and before we report them to Atlas.

Not sure I'm following that correctly. When using the Metrics3 Registry spectator data will get mapped and registered with metrics3. It doesn't do a conversion the other way back into spectator. I typically use this for simple debugging use cases as metrics3 provides a nice JMX view of data.
However, the naming conventions are quite a bit different. Spectator is meant for reporting to something with a dimensional data model where metrics3 follows a hierarchical naming model like that used with Graphite. So the metrics3 registry will map a spectator Id to a hierarchical name (name mapping). So runtime dimensions should work fine, though they will never expire with the metrics 3 registry.
In general with dynamic dimensions you need to be diligent with the number of distinct combinations and make sure to be reasonable with the values. For example, for the server you wouldn't want to use values that can come directly from the user without sanitizing first.

Sorry for the confusion. We do not go Spectator --> Metrics 3, but the opposite. We maintain a lot of Dropwizard Metrics per Service instance, and we want to publish them to Atlas, along with "static" dimensions. What we do is that we convert the Dropwizard Metrics to Spectator Gauges, we use the Id to   attach the "static" dimensions to these Spectator Gauges and then publish them to Atlas. so, this way, we overcome the issues we have with Graphite and the hierarchical naming convention.

so, when we push a Spectator DefaultCounter to Atlas, Atlas will read the dstype and do its magic and convert the ever increasing Counter to a Rate per second?

If atlas.dstype=counter, then yes.

Now i get it! Thanks!


Replace individual package load with pattern

As @1138-4EB mentioned there is a more generic way to handle grunt packages which don't fit default pattern instead of loading them individually.
Default pattern is ['grunt-*', '@*/grunt-*'] so I've dropped @*/grunt-* as it's not being used anyway and added gruntify-*.

Thanks @G07cha and @1138-4EB :+1:
PS: enchantment ? :smile:

God damn it! I knew there was something wrong, I meant enchantment of course :weary:

Again ? :smile:

enhancement*
Lightning doesn't strike twice they said 😆


Don't do health checks on brand new connections.

This is imperfect, but it should save some unnecessary work and will
hopefully prevent RouteSelector from attempting a route when none is
available.
https://github.com/square/okhttp/issues/2151

I found this patch may cause endless loop:

on a mobile phone, user sends one request, in function StreamAllocation::findHealthyConnection(), it returns a candidate
if this candidate successCount is 0, it is returned without health check.(candidate.isHealthy())
switch the phone's netowrk from 4G to wifi, so the socket is broken, the candidate is unhealthy.
to send request, SocketException(socket is closed) is thrown to RetryAndFollowUpInterceptor, and will have one more retry.
StreamAllocation::findHealthyConnection() returns the same candidate.
...
so it causes endless loop.

Yikes. Can fix!

https://github.com/square/okhttp/issues/5547


Add support for additional tw CLI args when using YAML

Allows usage of twkit <yaml> --verbose or any other tw CLI options, notably --insecure.
Options:
  -t, --access-token=<token>   Tower personal access token (TOWER_ACCESS_TOKEN).
  -u, --url=<url>              Tower server API endpoint URL (TOWER_API_ENDPOINT) [default: 'tower.nf'].
  -o, --output=<output>        Show output in defined format (only the 'json' option is available at the moment).
  -v, --verbose                Show HTTP request/response logs at stderr.
      --insecure               Explicitly allow to connect to a non-SSL secured Tower server (this is not recommended).
  -h, --help                   Show this help message and exit.
  -V, --version                Print version information and exit.

Thanks! Can we add some docs about using --insecure too? Maybe Graham has some ideas.

Made some changes and added tests so the tw CLI options are parsed correctly to all subcommands, see example:
$ twkit examples/yaml/twkit-e2e.yml --insecure

DEBUG:root: Overwrite is set to 'True' for datasets

DEBUG:root: Running command: tw --insecure -o json datasets list -w twkit-e2e/showcase

DEBUG:root: The attempted datasets resource already exists. Overwriting.

DEBUG:root: Running command: tw --insecure datasets delete --name rnaseq_samples --workspace twkit-e2e/showcase

DEBUG:root: Running command: tw --insecure datasets add --header ./examples/yaml/datasets/rnaseq_samples.csv --name rnaseq_samples --workspace twkit-e2e/showcase --description 'Samplesheet to run the nf-core/rnaseq pipeline from end-to-end'

At this moment, we won't support --verbose as it changes the output of the JSON data we retrieve within the overwrite functionality to check if a resource exists. I can make changes in the next release to support this.


A metrics class containing different definitions of metrics ordered by some taxonomy.

Is your feature request related to a problem? Please describe.
So right now, deepeval package has different types of checks. Example:

FactualConsistency check
conceptual similarity
RAG check (using ragas)

However, most of these checks are/will be using some form of atomic or granular metrics (for example: accuracy, f1, etc). Hence, we need to have some function or set of functions that define those metrics at a granular level. So, if the user wants to make a CustomMetric (which requires some statistical metrics), they can use it from deepeval itself. So, in that way we can have more modularity and hence more extensible the package will be.
Describe the solution you'd like
The solution that I have in my mind, is to have a separate class called MetricsCalculation or something that will contain all the set of metrics. But, as far as I have seen in NLP, Metrics can be broadly categorized into two forms

Metrics that are statistical in nature (which uses some kind of mathematical formula to calculate some score). We can term it as StatisticalMetrics. Example includes:
a. BLEU score
b. Rouge score
c. Exact match score, etc.

Metrics which uses an external ML/DL model to calculate the score. We can term it as ModelBasedMetrics. Example includes
a. BERT score
b. PII score
c. Toxicity score, etc.

The taxonomy of metrics varies greatly, however, personally in my opinion, this simple classification can be a great point of start (in terms of implementation).
Once implemented, these metrics can be readily used in other implementations. For example: SummarizationMetrics as mentioned in issue #179

@penguine-ip hey, can you assign all the above Metric Request issues to me.
Thanks

@Anindyadeep all done, let me know if i missed any

Awesome, thanks @penguine-ip :)


Failed to install newest version(1.1.1) by using CocoaPods.

When I tried to install BottomHalfModal on my project by using CocoaPods without specifying version, installed version was 1.0.0.
I want to use BottomHalfModal of version 1.1.1.
Please update installable version on Cocoapods.
(This is my first Issue on Github, Sorry if my English is incorrect.)

@r-kojima Thanks for your contribution! I have updated cocoa pods version, and now 1.1.1 is available.


Can't swap ETH to wNear on https://www.trisolaris.io/#/swap

I have an issue, can't swap ETH to wNear.
what should i do?

Duplicate issue https://github.com/aurora-is-near/aurora-relayer/issues/72


Updated supported apps number

After added FRIL and RIDE by some contributor we need to update supported apps numbers, So I updated it :)

Thank you :smile:

Most welcome :)