When changing from the HACS Climacell Plugin to Native

Hi!
When changing to the native HA integration of Climacell this card seems to not work properly.
There are several entities (sensors) not available as separate sensors anymore.
Any plan to upgrade this now that HA has the native integration?

Same question here :-)

With Climacell integration, sensor no function.

Same problem here. Homeassistant forces to use the native integration for climacell which doesnt show sensor entities anymore.
The card needs to be altered so it can show attributes instead of sensor entities. Hope r-renato can find some time to update this wonderfull card. ;)

climacell become tomowor.io hope it helps


Bug 2186592: Display titles in VMI Disks tab in correct size

📝 Description
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=2186592
Display VirtualMachineInstance's "Disks" and "File systems" in Disks tab smaller as they were, so they are now more consistent with titles in other tabs.
Additionally, place both "?" icons (Patternfly React HelpIcon component) to their correct positions - to the left and next to the titles, and make them displayed enabled, not greyed out and disabled (as they were before this change), so the user can see them easily and click on them.
🎥 Screenshots
Before:

After:

@avivtur @metalice @pcbailey @upalatucci @vojtechszocs please review

/retest

/lgtm cancel

/lgtm


Regular expression bug found in lexer

Bug Overview
A new unit test added to the lexer module has caught a critical bug in one of the regular expressions (regexes) used by the lexer to send tokens to various callback functions.
This test tries to lex the examples/hello.rouge file, which contains a simple example of a Hello World program. On encounter of the "Hello world!" string literal, the lexer attempts to pass the literal as well as the trailing ) which closes out the parameters to outl!.
cargo test Output
running 1 test
test compiler::lexer::tests::lex_hello ... FAILED

failures:

---- compiler::lexer::tests::lex_hello stdout ----
thread 'compiler::lexer::tests::lex_hello' panicked at 'called `Result::unwrap()` on an `Err` value: [Error { is_warning: false, file: Some("examples/hello.rouge"), line: Some(1), span: Some(7..22), slice: Some("\"Hello world!\")"), kind: Interpret(Lex(InvalidToken)) }]', src/compiler/lexer.rs:836:83
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    compiler::lexer::tests::lex_hello

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Possible Causes
I am working off of the assumption that there is a problem with the regular expression itself. My attempts to debug the regular expression has only resulted in me filing a bug report on the GitHub page for RegExr as it wouldn't accept extended Unicode escapes with hexadecimal digits. However, it is known there are some issues with Logos' regex parser - such as \u{0}-\u{10FFFF} matching any byte instead of any Unicode character - so it may be an issue on their end. I would like to put in the effort to see if there's anything I can do first before throwing it over to them, though.

Resolved as of this commit. I don't know what was wrong with the original regular expression, but whatever it works now!


[AST] timeline, divination, CDDT, overheal

Updated the timeline to be more methodical and fixed minor arcana/neutral sect
Updated divination to be like lightspeed with some tweaks
Updated overheals to include delayed heals to show heals that are usually planned in advance
Consolidated CDDT to include some healing abilities and some dps abilities to show as a snapshot how the AST is managing their oGCDs

please note the weights and target are arbitrary so if you don't like them, lemme know and they can be adjusted fairly easily to what you think would be better
Updated changelog

For divination, since there aren't many logs that would contain this situation, I used this log to test overwriting divination
https://www.fflogs.com/reports/gGxcLpvwYC9FJVHf
Otherwise, it seems there is a bug with some of ASTs heals for exaltation, horoscope, and macrocosmos -- so while delayed heals seems to be functioning, it may look like it's not because fflogs hasn't attributed some of the heals of those sorts

Please see draft checklist with split healing / dps

I have a few more changes coming because someone pointed out that Macrocosmos is actually GCD not oGCD oop

should be good to review again


Front end: Logging and Monitoring.

Create / find system for monitoring and logging front end and get the data together with the back end stuff.

[ ] Collect and send metrics and logs to back end.
[ ] Have back end send the metrics and logs to the correct system.

We are archiving this repo.


fix(ssrTransform): handle arbitrary module namespace identifiers

Description
fix #17426

I only mentioned the "export" side but it probably needs to handle "import" side too?
For example, this has ImportSpecifier.imported: Literal but @types/estree currently assumes Identifier.
https://astexplorer.net/#/gist/2e02b34a95dbb538a77451fedfd69f63/bbd2554c57078b89f678883c89b9a38625dfe6a5

fixed, thanks

/ecosystem-ci run


Concordia analytics purchases type

This type field was requested a while ago to be included in the custom purchases analytics endpoint. At the moment we only report sales events, so this field is simply hardcoded to 'sale' for now

wrong repo


travis-ci protobuf integration

@zalmen   we can add the protos to the git ignore now if we choose

we need to add
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
before running the protobuf compiling, or just add it to the make devtools command in Makefile

we need to add
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
before running the protobuf compiling, or just add it to the make devtools command in Makefile

@y0sher its already in the devtools...


Moving grade and score from States to States info

I'm wondering if it would be possible for you to add a quality field in the States info API reflecting the data quality grade. You obviously have the information somewhere since you present it in the Most Recent Data tab.
Thanks!

Hi @jplecavalier! The data on our website is built entirely off the API. You can access the grading info via https://covidtracking.com/api/states or https://covidtracking.com/api/states.csv There is a grade and score field that will be useful to you. If you don't find what you need please reopen this issue. Thanks for using our data!

I did not notice that the there was grade and score fields in the States current API since I need historical data, thus States daily 4PM API. I think that any information that could be pertinent for any of both APIs should be accessible through the States info API.
In other words, the data itself should be in the current snapshot or in the historical snapshot, but the metadata about states (including grade and score) should be in the States info API.

The initial thinking with having it on /states is that the grade is tracked to the current data and doesn't reflect historical scores. I do think it's probably useful available on /states/info
Are you using CSV downloads or json feeds?

I use the states/daily and states/info APIs in CSV format. Do you have the historical value of grade and score for each date? I'll agree with you, those values will clearly change in time.

It would be great to have the grade exposed in the GraphQL API. We are currently having to merge the timeseries data with the state quality. I agree that the quality should be tied to the record and not the state as it is important to have it from a historical perspective.

I have a script to download all the versions of the table using the GitHub API. After joining all the tables I have constructed a table like the following (e.g., from MT)
timestamp           | grade
2020-03-20T19:51:00 | B
2020-03-21T03:40:00 | B
2020-03-21T03:40:00 | B
2020-03-21T20:15:00 | B
2020-03-21T20:15:00 | B
2020-03-22T06:28:00 | B
2020-03-22T20:45:00 | B
2020-03-23T06:03:00 | C
2020-03-23T20:57:00 | C
2020-03-24T02:30:00 | C
2020-03-24T15:39:00 | C
2020-03-24T18:46:00 | C
2020-03-25T16:52:00 | C
2020-03-25T16:52:00 | C
2020-03-25T16:52:00 | C
2020-03-26T03:26:00 | C
2020-03-26T20:29:00 | C
2020-03-27T02:57:00 | C
2020-03-27T14:02:00 | A

I would like to consult with y'all on how to best join the table with the time series data (fake data).
date     | dateChecked         | grade
20200327 | 2020-03-27T10:00:00 | C?

Since the quality of the jurisdiction reporting changed sometime during the observations, what data quality values should the observations in the period of uncertainty get?
Something to consider is whether we want to have the data quality missing for recent observations or have a best guess and update the data quality note afterwards.
Would anyone provide the coded quality checks retroactively (e.g., from the comments field deprecated for notes)? Otherwise, I plan on reporting missing for the time being.

@jplecavalier see https://github.com/COVID19Tracking/covid-tracking-data/issues/22 for a temporary solution. Would love to get it incorporated in the API.


Add idx libdef

Used flow_v0.33.x as the minimum version since $Facebookism$Idx has existed since 0.30.0: https://github.com/facebook/flow/commit/e07ff300e61edc93f8e3744acfc07a62c648b070

Friendly ping @GAntoine


SyntaxError with pylint

test.py
# -*- coding: future_fstrings -*-
def test():
    d = {
    }

$ pylint test.py
E:  2, 0: EOF in multi-line statement (syntax-error)
...

🤔

This has to do with the way that pylint decodes files -- future-fstrings needs a one-shot rewrite and pylint loads line-by-line.  I'll write a patch for pylint but I wouldn't be surprised if they don't take it :P

Can't it be handled in future-fstrings only, so that transformed source doesn't break pylint?

It isn't the source transformation that breaks pylint, pylint attempts to decode line at a time and you can't properly tokenize python source in a piecemeal fashion.
There is a designed interface in the codecs module for stream readers, pylint just isn't using it for whatever reason

Here's the start of a patch, it gets pylint succeeding on the file by using the designed codecs.StreamReader interface:
diff --git a/pylint/checkers/misc.py b/pylint/checkers/misc.py
index 827b067..51a62d8 100644
--- a/pylint/checkers/misc.py
+++ b/pylint/checkers/misc.py
@@ -68,20 +68,6 @@ class EncodingChecker(BaseChecker):
         self.add_message('fixme', args=line[match.start(1):].rstrip(),
                          line=lineno)

-    def _check_encoding(self, lineno, line, file_encoding):
-        try:
-            return six.text_type(line, file_encoding)
-        except UnicodeDecodeError as ex:
-            self.add_message('invalid-encoded-data', line=lineno,
-                             args=(file_encoding, ex.args[2]))
-        except LookupError as ex:
-            if (line.startswith('#') and
-                    "coding" in line and file_encoding in line):
-                self.add_message('syntax-error',
-                                 line=lineno,
-                                 args='Cannot decode using encoding "{}",'
-                                      ' bad encoding'.format(file_encoding))
-
     def process_module(self, module):
         """inspect the source file to find encoding problem or fixmes like
         notes
@@ -98,7 +84,6 @@ class EncodingChecker(BaseChecker):

         with module.stream() as stream:
             for lineno, line in enumerate(stream):
-                line = self._check_encoding(lineno + 1, line, encoding)
                 if line is not None and notes:
                     self._check_note(notes, lineno + 1, line)

diff --git a/pylint/checkers/similar.py b/pylint/checkers/similar.py
index c0eccf5..aa10b40 100644
--- a/pylint/checkers/similar.py
+++ b/pylint/checkers/similar.py
@@ -15,6 +15,7 @@ from collections import defaultdict
 import six
 from six.moves import zip

+from pylint.utils import decoding_stream
 from pylint.utils import safe_decode
 from pylint.interfaces import IRawChecker
 from pylint.checkers import BaseChecker, table_lines_from_stats
@@ -37,7 +38,7 @@ class Similar(object):
         if encoding is None:
             readlines = stream.readlines
         else:
-            readlines = lambda: [safe_decode(line, encoding) for line in stream]
+            readlines = decoding_stream(stream, encoding).readlines
         try:
             self.linesets.append(LineSet(streamid,
                                          readlines(),
diff --git a/pylint/utils.py b/pylint/utils.py
index 94f0378..4ad04d6 100644
--- a/pylint/utils.py
+++ b/pylint/utils.py
@@ -15,6 +15,7 @@ main pylint class
 """
 from __future__ import print_function

+import codecs
 import collections
 from inspect import cleandoc
 import os
@@ -125,9 +126,17 @@ def safe_decode(line, encoding, *args, **kwargs):
     except LookupError:
         return line.decode(sys.getdefaultencoding(), *args, **kwargs)

+def decoding_stream(stream, encoding, errors='strict'):
+    try:
+        reader_cls = codecs.getreader(encoding or sys.getdefaultencoding())
+    except LookupError:
+        reader_cls = codecs.getreader(sys.getdefaultencoding())
+    return reader_cls(stream, errors)
+
+
 def _decoding_readline(stream, encoding):
     '''return lambda function for tokenize with safe decode'''
-    return lambda: safe_decode(stream.readline(), encoding, 'replace')
+    return decoding_stream(stream, encoding, errors='replace').readline

 def tokenize_module(module):

The first chunk is probably the controversial part (removing per-line encoding checks), the rest should be easy to get accepted (as it's using the codecs module how it was designed to be used).

Not bad. Waiting for this to be fixed to continue searching for another bugs.

Here's the PR I've created: https://github.com/PyCQA/pylint/pull/1658
If you'd like to champion / improve that -- by all means.
In the meantime, I'd suggest running your linters and such in python3.6+, they'll work much more reliably (as the codec becomes a noop).


Finalize v1.0.0 docs

v1.0.0 docs need to be finalized before the new unified environment is released. (This can be done after zppy v1.0.0 itself is released).

Merging #70 should have closed this.


timetable not working

I install the timetable and it shows an error as below
Fatal error: Class '\Kanboard\Helper\Layout' not found in D:\wamp64\www\kanboard\app\Core\Helper.php on line 64
Call Stack
Time	Memory	Function	Location
1	0.0000	246280	{main}( )	..\index.php:0
2	0.3460	3540512	Kanboard\Core\Http\Router->dispatch( )	..\index.php:5
3	0.3470	3595928	Kanboard\Core\Http\Router->executeAction( )	..\Router.php:116
4	0.3600	4736616	Kanboard\Plugin\Timetable\Controller\Timetable->index( )	..\Router.php:151
5	0.3650	4905744	Kanboard\Core\Helper->__get( )	..\Router.php:28
i ran the kanboard in wampserver with PHP v 5.5.12 and apache v2.4.9. please help.
thanks

Which version of Kanboard do you use?

Version 1.0.23-fix1
Pada tanggal 5 Apr 2016 08:44, "Frédéric Guillot"<EMAIL_ADDRESS>menulis:

Which version of Kanboard do you use?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/kanboard/plugin-timetable/issues/6#issuecomment-205586986


Plugin system

Add a plugin system to process variables, such as being able to capitalize, uppercase, lowercase, etc.

Completed by #8


SVG output from RCall not shown

After #211 the notebook with a RCall plot is working again, but the SVG output is empty. I am wondering whether we have to somehow close the device again after plotting.

but the SVG output is empty

Does the intermediate .ipynb file contain the SVG data, or is it not even getting there? Or is it that quarto render is not displaying it even though it is being generated?

When I look at  the resulting SVG file that is put into the figures-html folder, it can be opened with firefox but not with my image viewer, but it is only an empty Axis without the data that I would have expected.

Potentially then something going wrong during the render to SVG that isn't capturing the correct content. I'm not too familiar with R's SVG plot output unfortunately.


Mapping.nmf empty or broken

Mapping - Before.txt
Mapping.txt
Mapping five Nights at Candys.txt
I don't know what the mapping file is used for.

 :)


Can't get ca certificates

os centos7.6
caddy-docker latest
I run the command
docker run -d -v `pwd`/caddy/Caddyfile:/etc/Caddyfile --name=caddy --net=host docker.io/abiosoft/caddy

The logs:
Activating privacy features... 2019/10/14 07:49:40 [INFO][cache:0xc0000328c0] Started certificate maintenance routine
Your sites will be served over HTTPS automatically using Let's Encrypt.
By continuing, you agree to the Let's Encrypt Subscriber Agreement at:
  https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Please enter your email address to signify agreement and to be notified
in case of issues. You can leave it blank, but we don't recommend it.
  Email address: 2019/10/14 07:49:55 [INFO][www.cphcm.tk] Obtain certificate
2019/10/14 07:49:55 [INFO] [www.cphcm.tk] acme: Obtaining bundled SAN certificate
2019/10/14 07:49:57 [INFO] [www.cphcm.tk] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772147737
2019/10/14 07:49:57 [INFO] [www.cphcm.tk] acme: use tls-alpn-01 solver
2019/10/14 07:49:57 [INFO] [www.cphcm.tk] acme: Trying to solve TLS-ALPN-01
2019/10/14 07:49:58 http: TLS handshake error from <IP_ADDRESS>:51020: write tcp <IP_ADDRESS>:443-><IP_ADDRESS>:51020: write: connection reset by peer
2019/10/14 07:49:58 http: TLS handshake error from <IP_ADDRESS>:60326: write tcp <IP_ADDRESS>:443-><IP_ADDRESS>:60326: write: connection reset by peer
2019/10/14 07:50:03 [INFO] Unable to deactivated authorizations: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772147737
2019/10/14 07:50:03 [ERROR][www.cphcm.tk] failed to obtain certificate: acme: Error -> One or more domains had a problem:
[www.cphcm.tk] acme: error: 400 :: urn:ietf:params:acme:error:connection :: Connection reset by peer, url:
 (attempt 1/3; challenge=tls-alpn-01)
2019/10/14 07:50:04 [INFO] [www.cphcm.tk] acme: Obtaining bundled SAN certificate
2019/10/14 07:50:10 [ERROR][www.cphcm.tk] failed to obtain certificate: acme: error: 500 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:serverInternal :: Error creating new order, url:  (attempt 2/3; challenge=tls-alpn-01)
2019/10/14 07:50:11 [INFO] [www.cphcm.tk] acme: Obtaining bundled SAN certificate
2019/10/14 07:50:15 [INFO] [www.cphcm.tk] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772150663
2019/10/14 07:50:15 [INFO] [www.cphcm.tk] acme: use tls-alpn-01 solver
2019/10/14 07:50:15 [INFO] [www.cphcm.tk] acme: Trying to solve TLS-ALPN-01
2019/10/14 07:50:16 http: TLS handshake error from <IP_ADDRESS>:47736: write tcp <IP_ADDRESS>:443-><IP_ADDRESS>:47736: write: connection reset by peer
2019/10/14 07:50:16 http: TLS handshake error from <IP_ADDRESS>:56878: write tcp <IP_ADDRESS>:443-><IP_ADDRESS>:56878: write: connection reset by peer
2019/10/14 07:50:16 http: TLS handshake error from <IP_ADDRESS>:36994: write tcp <IP_ADDRESS>:443-><IP_ADDRESS>:36994: write: connection reset by peer
2019/10/14 07:50:16 http: TLS handshake error from <IP_ADDRESS>:47942: write tcp <IP_ADDRESS>:443-><IP_ADDRESS>:47942: write: connection reset by peer
2019/10/14 07:50:18 [INFO] Unable to deactivated authorizations: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772150663
2019/10/14 07:50:18 [ERROR][www.cphcm.tk] failed to obtain certificate: acme: Error -> One or more domains had a problem:
[www.cphcm.tk] acme: error: 400 :: urn:ietf:params:acme:error:connection :: Connection reset by peer, url:
 (attempt 3/3; challenge=tls-alpn-01)
2019/10/14 07:50:19 [INFO] [www.cphcm.tk] acme: Obtaining bundled SAN certificate
2019/10/14 07:50:20 [INFO] [www.cphcm.tk] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772152423
2019/10/14 07:50:20 [INFO] [www.cphcm.tk] acme: Could not find solver for: tls-alpn-01
2019/10/14 07:50:20 [INFO] [www.cphcm.tk] acme: use http-01 solver
2019/10/14 07:50:20 [INFO] [www.cphcm.tk] acme: Trying to solve HTTP-01
2019/10/14 07:50:21 [INFO] [www.cphcm.tk] Served key authentication
2019/10/14 07:50:21 [INFO] [www.cphcm.tk] Served key authentication
2019/10/14 07:50:21 [INFO] [www.cphcm.tk] Served key authentication
2019/10/14 07:50:23 [INFO] Unable to deactivated authorizations: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772152423
2019/10/14 07:50:23 [ERROR][www.cphcm.tk] failed to obtain certificate: acme: Error -> One or more domains had a problem:
[www.cphcm.tk] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Invalid response from http://www.cphcm.tk/.well-known/acme-challenge/nmdpayx97D8s7yzSFyafUuAJ0LMExC9yeIcIJAwdQvA [<IP_ADDRESS>]: "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"textml;charset=UTF-8\" />\n   <style>body{background-color:#FFFFFF}</style>", url:
 (attempt 1/3; challenge=http-01)
2019/10/14 07:50:24 [INFO] [www.cphcm.tk] acme: Obtaining bundled SAN certificate
2019/10/14 07:50:25 [INFO] [www.cphcm.tk] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772153292
2019/10/14 07:50:25 [INFO] [www.cphcm.tk] acme: Could not find solver for: tls-alpn-01
2019/10/14 07:50:25 [INFO] [www.cphcm.tk] acme: use http-01 solver
2019/10/14 07:50:25 [INFO] [www.cphcm.tk] acme: Trying to solve HTTP-01
2019/10/14 07:50:27 [INFO] Unable to deactivated authorizations: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772153292
2019/10/14 07:50:27 [ERROR][www.cphcm.tk] failed to obtain certificate: acme: Error -> One or more domains had a problem:
[www.cphcm.tk] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Invalid response from http://www.cphcm.tk/.well-known/acme-challenge/nhTuiw9wIGdr4NwNLiMUlczK_j1teeGLtxfUc0uTgs8 [<IP_ADDRESS>]: "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"textml;charset=UTF-8\" />\n   <style>body{background-color:#FFFFFF}</style>", url:
 (attempt 2/3; challenge=http-01)
2019/10/14 07:50:28 [INFO] [www.cphcm.tk] acme: Obtaining bundled SAN certificate
2019/10/14 07:50:29 [INFO] [www.cphcm.tk] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772154161
2019/10/14 07:50:29 [INFO] [www.cphcm.tk] acme: Could not find solver for: tls-alpn-01
2019/10/14 07:50:29 [INFO] [www.cphcm.tk] acme: use http-01 solver
2019/10/14 07:50:29 [INFO] [www.cphcm.tk] acme: Trying to solve HTTP-01
2019/10/14 07:50:30 [INFO] [www.cphcm.tk] Served key authentication
2019/10/14 07:50:30 [INFO] [www.cphcm.tk] Served key authentication
2019/10/14 07:50:31 [INFO] [www.cphcm.tk] Served key authentication
2019/10/14 07:50:31 [INFO] Unable to deactivated authorizations: https://acme-v02.api.letsencrypt.org/acme/authz-v3/772154161
2019/10/14 07:50:31 [ERROR][www.cphcm.tk] failed to obtain certificate: acme: Error -> One or more domains had a problem:
[www.cphcm.tk] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Invalid response from http://www.cphcm.tk/.well-known/acme-challenge/vuF-mGW7tdgWCmcFPiapB13HkZp9D8oVofOiQIC3WlE [<IP_ADDRESS>]: "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"textml;charset=UTF-8\" />\n   <style>body{background-color:#FFFFFF}</style>", url:
 (attempt 3/3; challenge=http-01)
2019/10/14 07:50:32 failed to obtain certificate: acme: Error -> One or more domains had a problem:
[www.cphcm.tk] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Invalid response from http://www.cphcm.tk/.well-known/acme-challenge/vuF-mGW7tdgWCmcFPiapB13HkZp9D8oVofOiQIC3WlE [<IP_ADDRESS>]: "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"textml;charset=UTF-8\" />\n   <style>body{background-color:#FFFFFF}</style>", url:
exit status 1

/etc/Caddyfile:
www.cphcm.tk
{
  root /srv
  log ./caddy.log
  proxy /ray localhost:123456 {
    websocket
    header_upstream -Origin
  }
}

I used the cloudflare cdn, I am confused that I can't get ca crt.

I solved the probelm with useing cloudfalre plugin


Add timeout to client#join

I submitted a version of this upstream @ https://github.com/rpush/rpush/pull/564


SAK-49666 Preferences: Set users default option for Announcement notifications through a property

Jira SAK-49666
We'll get the value form a property using serverConfigurationService, instead of the hard coded XML.
The default property value is set on kernel.properties

good job @V100X !

Thanks! @mpellicer
Should be ready now


Add a CI job for validating microsoft/win32metadata hasn't regressed

This resolves #195 and depends on https://github.com/microsoft/win32metadata/pull/200

CC. @sotteson1, it looks like the only flag that was missing is dont-use-using-statics-for-enums

CC. @sotteson1, it looks like the only flag that was missing is dont-use-using-statics-for-enums


Lighthouse scoring

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Proposal
There is a good tool for profiling web application quality named Lighthouse. It is buit-in in chrome dev-tool. It can score application in some cathegories and give some advises to improve it. Now CVAT has low score in performance, so there are many ways to improve it.

@ActiveChooN , could you please post here any output from the tool which explains why the performance is so bad?

@nmanovic, there is a link for score calculation algorithm (https://web.dev/performance-scoring/) and report cvat.org_2021-04-21_16-47-23.report.html.zip. I guess small score is due to slow cumulative loading time. BTW we can add this tool in the CI pipeline with https://github.com/marketplace/actions/lighthouse-check.


v2.5.5

Codecov Report

Merging #307 (76a9536) into main (777fe02) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #307      +/-   ##
==========================================
+ Coverage   76.19%   76.28%   +0.08%
==========================================
  Files          11       11
  Lines         542      544       +2
==========================================
+ Hits          413      415       +2
  Misses        124      124
  Partials        5        5

Impacted Files
Coverage Δ

lib/interface.go
100.00% <ø> (ø)

lib/func.go
90.65% <100.00%> (+0.17%)
:arrow_up:

Continue to review full report at Codecov.

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


Browser display broken

The page looks really broken from me on Mac Chrome/Safari ...

Should be fixed in #18

In the last merge the divs for the sonarqube logos haven't been closed correctly.

After merge the page isn't broken anymore, but the sonatype logo is stretched. This will be tarcked in a new issue


Will you update the code for semantic image segmentation next?

Hi @ChaoXiang661,
We use the OpenSelfSup Repo for detection and segmentation evaluation. We will release the trained model for the downstream tasks later. Thanks for your interest in our work.

@ChongjianGE Hi，I'm tring to use cnn and transformer within a KL model for semantic segmantion, ur peper enlights me a lot, but I'm still confusing, In semantic segmentation usually uses encode-decode archtecture, so where is the pretext using for, is it between  the encoder and decoder or after the decoder. and what should the predictor like , still the same for classification

Hi @q671383789  ，
This is perhaps a misunderstanding. The pretext is only used for the pretraining purpose.
After the pretraining stage, we only adopt the pre-trained encoder for the downstream tasks. That's to say, we initialize the CNN encoder (i.e., the ResNet5 backbone without any predictors or projectors) with the pre-trained weight, and attach a new head (i.e., the MaskRCNN head) to the backbone for the semantic segmentation training.

I know that, that's to say ,whether classification or segmentation the pretraining process is the same?
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2021年11月19日(星期五) 晚上8:15
收件人: @.>;
抄送: "系要听Rock & @.>; @.>;
主题: Re: [ChongjianGE/CARE] Will you update the code for semantic image segmentation next? (Issue #2)
Hi @q671383789  ，
This is perhaps a misunderstanding. The pretext is only used for the pretraining purpose.
After the pretraining stage, we only adopt the pre-trained encoder for the downstream tasks. That's to say, we initialize the CNN encoder (i.e., the ResNet5 backbone without any predictors or projectors) with the pre-trained weight, and attach a new head (i.e., the MaskRCNN head) to the backbone for the semantic segmentation training.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

@q671383789
Exactly.  All the downstream tasks (e.g., classification, detection, and segmentation) share the same pretraining process.

Since there are no further questions here, I will close this issue. Please feel free to reopen it when necessary.


Ability to choose what save files are tracked

Might sound like a weird suggestion but one of my save files is exclusively for speedrunning/ trying out item combos and whenever I do runs with it I either need to close the app or delete the run on the tracker manually (Usually do the latter). Normally Its just an inconvenience i deal with but I accidentally deleted the run I lost on in my streak so I thought I'd suggest it
Additionally allowing filtering by save file might be good implementation.
Ps. Is there anyway to manually add a run into the tracker in/ recover a run? Would be cool if the last idk 3 deleted runs where still saved in the background in case of accidental deletion 💀

I accidentally deleted the run I lost on in my streak
Ps. Is there anyway to manually add a run into the tracker in/ recover a run? Would be cool if the last idk 3 deleted runs where still saved in the background in case of accidental deletion

Wasn't you able to recover it from the trash bin icon at the top right ?

Additionally allowing filtering by save file might be good implementation

You don't talk about this ? I'm a bit loss ahah

Ahh, I don't have that filter

and I was always scared of clicking the trash can haha, I thought that would wipe all my runs for some reason ty for that haha. But yeah, I think a save file listener would still help out, I never really need to track my third save file

Ahh, I don't have that filter

Whaaat ? That means you have something corrupted in your json or you only have runs within one save ! Can you send me your runs.json ?

But yeah, I think a save file listener would still help out, I never really need to track my third save file

You mean an option where you can select the saves that you don't want to record the runs in the app ? I can do that !

Yes that's what I meant

Ok then i'll do it !

When you get a modded item does the tracker not display it or does it crash

I don't support mods, but Fiend Folio is supported ! i didn't tried other mods but it should'nt make the app crash, it should show an unknow thing or miss match if the id is the same as one of the Repentance ids (items, monsters...)

It is now released let me know if it's good for you then i close the ticket !

I believe it's working! Thanks a lot 🙏
By the way are challenges bugged with the tracker currently? I noticed all 4 of the challenges I did last night resulted in broken runs

It's not really an issue since I will really only do them once (Hence why I hadn't noticed until now even), but thought I'd mention it
also there's a weird graphical thing that happens to the active item and character graphics when you drag the run items list past the maximum/minimum amount which becomes more pronounced the less floors there are (It's hard to explain so I just recorded a small clip of it)
https://user-images.githubusercontent.com/109847642/205415539-c78955c0-12df-4b1b-97fb-9096cef0320b.mp4
Lastly I also came up with another suggestion while streaming last night: It would be cool if to the right of your current win streak on the app it would show your best win streak number to compare.

The extra mile would be if this also aligned to the specific win condition you have set (Ie, say my highest winstreak ever was like idk 60, but my highest winstreak with the condition to lamb only was 20, it would show me 20 because it's what I have the winstreak save set to).

By the way are challenges bugged with the tracker currently? I noticed all 4 of the challenges I did last night resulted in broken runs

Yeah i actually don't support challenges/specific seeds, not on the scope, but i can give a look, i think i miss informations from the logs unfortunately...

also there's a weird graphical thing that happens to the active item and character graphics when you drag the run items list past the maximum/minimum amount which becomes more pronounced the less floors there are (It's hard to explain so I just recorded a small clip of it)

It's not a glitch, it's the way the carousel library works actually 😅 (swiper)

Lastly I also came up with another suggestion while streaming last night: It would be cool if to the right of your current win streak on the app it would show your best win streak number to compare.

I can check that yes, would you mine to do an other ticket for this feature request so i can close this one ?
If i understand well, we will check specific save AND specific characters list + boss list to compare if a previous winstreak exist with exact same rules and take the one with highest wins to show next to the current winstreaks

Ah yeah don't worry about the challenges/visual bug they aren't really intrusive was just making sure they were documented haha

If i understand well, we will check specific save AND specific characters list + boss list to compare if a previous winstreak exist with exact same rules and take the one with highest wins to show next to the current winstreaks

Yes this is what I mean. Will create a new request 🙏


Adding suggestion: a pre-commit hook test for deb-get

bringing the code to compliance following #871

Thanks, that's useful and informative.  Before spending effort resolving these new conflicts maybe wait a while in case #871 receives change requests and/or #856 progresses.  Some of these fixes are also present there and testing both #871 and #856 requires some extra care and thought.
Also I see the automated testing is having a think: I suspect at least that will be trivial.


How to test a saved model trained with tf.train.batch?

By calling
graph.get_tensor_by_name("output:0")
I found that it returns a tensor shaped [batch_size,num]，How to test a saved model trained with tf.train.batch ?

@guoguoguilai Closing since its a duplicate of  #29110. Feel free to reopen if the solution provided on that thread doesn't work Distributed for you. Thanks!


How to save yolo-nas predictions into my workspace?

💡 Your Question
This is the first time I'm posting a question, so I'm sorry if I'm violating any rule
I'm using the yolo-nas code offered by Deci on a custom dataset
and i want to know how can i save the label predictions into my workspace
I don't want to save images containing detection boxes
I just want to save the labels (txt files)
a label (txt file) should contain: class  x-center  y-center  width  height
Versions
No response

Hi @ahmad2246
We don't have a pre-made script for this, but you can build one on top of SG.
I invite you to have a look at this page, it explains how to iterate over each predicted image. With this, you can easily do any filtering/transformation you want over the predictions to fit your need.
Hoping this helps


Wrap 'prop-types' usage in environment check conditional

There's a nice Babel plugin called babel-plugin-transform-react-remove-prop-types that automatically removes React propTypes. Very good for production, but not for development.
Libraries are normally distributed compiled, and people normally don't apply Babel to node_modules, thus not removing propTypes from external libraries.
Solution: libraries should wrap their prop-types usage in if (process.env.NODE_ENV !== 'production) { ... }, and that Babel plugin does this too.
Just add to your .babelrc:
"plugins": [
  ["transform-react-remove-prop-types", {
    "mode": "wrap"
  }],
  ...
],

I can make a PR this weekend.

I don't understand. Aren't I already doing this? What about the current approach doesn't work?
RV already uses transform-react-remove-prop-types and its components currently define their propTypes like so:
process.env.NODE_ENV !== "production" ? Grid.propTypes = {...} : void 0;

Check out the .babelrc file which already contains:
      "plugins": [
        [
          "transform-react-remove-prop-types", {
            "mode": "wrap"
          }
        ]
      ],

I assume for now this issue was just filed as a misunderstanding so I'm going to close it. :)

I'm having some serious problem with webpack :/

:(


Make Tammy Clegg an Associate...

Have to figure out when that happened exactly...

Maybe July 2018?

Added new position with her Associate professorship, which changed the display from:

to:

However, now the calculations for how long she's been a collaborator are wrong... stay tuned.

This is actually related to https://github.com/jonfroehlich/makeabilitylabwebsite/issues/696
Changed code I wrote for that to be more generalized. Checking in now.

Fixed.


ci-status won't work with 7-digits commit SHA

I tried to run hub ci-status with the short version of the commit SHA but it won't work. The commit that I am going to refer to can be found here.
command: hub ci-status e039ab0
output: Aborted: no revision could be determined from 'e039ab0'
command: hub ci-status e039ab02669ab9f2559458ad52296ee762563dee
output: failure

Hub resolves the short SHA using git rev-parse -q SHA. It looks like the SHA you pasted could not be resolved in my local git repo, and neither in yours it seems. It might be because it's coming from a fork and not the main repo?
How would you expect e039ab0 to be resolved in this case?

I am sorry beforehand, I forgot which PR is that commit SHA from.
Let's just say we take the example of this PR.
The latest commit has the long SHA of d7de991be83337de2d5b8dce29c6cd7b6f0a8bd5 and the short 7-digit SHA of d7de991.
I attached the screenshot below that the hub ci-status command works with the long version of the SHA but not with the short version of the SHA. Is this the expected behavior?
Thank you very much! :slightly_smiling_face:

I attached the screenshot below that the hub ci-status command works with the long version of the SHA but not with the short version of the SHA. Is this the expected behavior?

It may be surprising, but I think this is expected behavior. Our local git repos cannot resolve the short SHA into the full commit ID because they don't contain that commit; it comes from a fork. (The commit would be resolved if we pulled from that specific fork.)
When using the full commit ID, it is passed unchanged to the API and it is found there.
The general rule is that it's usually better to use full commit SHAs rather than short ones. If you use short ones, you should ensure that your local git repo can resolve them to something.
Does this make sense?

Ah now that make sense. Sorry for the question.
Thank you for the explanation! :slightly_smiling_face: I am goign to close this Issue then.


Make consolidation remove unwanted instance types

Tell us about your request
we run most of our workloads on:

m6i but fallback to m5
c7g but fallback to m6i/m5

when consolidation happens it should never remove one of the preferred nodes types if fallback types are still in use
(multiple provisioners does not work since we already use that for az balance)
so some optional preferredInstanceTypes flag
Are you currently working around this issue?
no

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

I'm not sure about the feature request here.  Are you trying to implement preferred instance types now and don't have a mechanism?
What does using multiple provisioners for AZ spread provide that a topology spread doesn't?

We want to prefer certain times during scale-down, so we don't end up scaling down the "good" types when they happen to get empty.
We use per-az provisioners so we can replace them az-by-az when doing a cluster-rollout.

Closing, will track in https://github.com/aws/karpenter/issues/3714


buggy overlapping text for multi-option  entries

tl;dr synonymous flags become unreadable because they're accidentally rendered ontop of eacother's pixels.
It appears that whenever there's an empty dd it causes the multiple synonymous dts (eg: -k and --DOS-names synonyms or zip(1)) then the first n-1 synonyms have a necessarily empty <dd> that cause all the synomyms to get rendered on top of eachother and become illegible. Interestingly there's a seemingly relevant clear: right but it doesn't appear to do anything, at least not now-a-days, so I'll send a fix to simply replace it.
bug (before fix)
Here's a bunch of examples of the buggy behavior:

after fix
After fixing - by replacing this particular clear: right with clear: both - here's what things look like:

I’ve pushed your fix to the Debian-specific assets, too: https://salsa.debian.org/manpages-team/debian-assets/-/commit/9d7bae59c19070076032f7b8bce58c7d9e3e4a81

I have also started a full re-render so that manpages.debian.org picks up the changes. It’ll probably be a day or two until all pages are rendered and synchronized to all web servers.


Number input invalid value display

In Firefox, if you use an input with type="number", and enter a non-number, the value property of the input is reported as "" (string of length 0).
In react-toolbox Input, this leads to the component thinking it's empty, so the label is slid back down behind the invalid text.

What would you suggest to fix this? Looks like a shitty workaround in FF

I'm honestly not sure. For my original case, I switched to a text input. I just wanted to bring some attention to this issue.
A similar problem/case is noted with Angular in this StackOverflow question, and some more general description and work arounds are here How to get the raw value an <input type=“number”> field?
I haven't dived into the Input code to know if a css-based workaround is helpful.

I've been trying it out and it looks very difficult to fix from the library. You can initially leave the value undefined but then, after typing a bit, you'll see that the empty input leads to an empty string. There is no way to distinguish then an empty input from a wrong typed input.
My piece of advice: react toolbox does not handle the state for you. In the onChange callback you can figure out if it's a number and then parse it appropriately. For example, if it is an input and you get something different, just don't set the value and the input won't get shown.
I'm closing, honestly I think there is nothing we can do better than this :)


Implement the User-Dashboard

This pr fixes #134

Summary by Sourcery
Implement a new user dashboard with enhanced navigation and sidebar features for improved event management. Redesign the authentication page layout and update styles for a more compact and responsive user interface. Include links to documentation and support resources in the dashboard.
New Features:

Introduce a new user dashboard with navigation and sidebar for event management, including links to manage events, tickets, streaming, settings, and support.

Enhancements:

Redesign the authentication page layout to include a navigation bar and sidebar, improving the user interface and accessibility.
Update the styling of the authentication page to ensure a more compact and responsive design, including adjustments to form and alert components.

Documentation:

Add links to documentation and support resources within the user dashboard for easier access to help and information.

Closing this in favor of https://github.com/fossasia/eventyay-tickets/pull/317


Update npm package

Hello,
The package version hosted on npm seems to be outdated. Could you please upload an update?

You can use this package:
https://www.npmjs.com/package/@faridaghili/bootstrap-filestyle
This is the current (original - unmodified) version.

Cool, thanks!


update for use ConfigurationBuilder on Startup

Hi @rodolfofadino, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Thanks! 948c4725e4dd182746e7605da0156c6566b673db


Tracking upgrade patternfly

Upgrade Designer to Patternfly 5, #833:

[x] Upgrade packages to 5, Use codemods fix, as described
[x] Solve all Typescript compile errors
[x] Check added TODOs in the code, requires further clarification
[x] Check Styling issues

Based on manual and visual testing of all parts of the designer, I think everything looks and behaives as the version deployed on karavan.space.


[Question] Is VirtualScroll able to display a constantly changing list?

Could VirtualScroll be used to display a database collection that is constantly being updated by multiple users? It would mean that there are no fixed row index positions, because records can be inserted/deleted/updated at any time at random positions in the collection.
Also data that is on some user's screen could be mutated asynchronously by an other user.
Is there a way to make VirtualScroll refresh or invalidate the internal state of displayed rows to sync it to the changing environment?
Any ideas on this?

Hi @willemx,
Yes. VirtualScroll (or FlexTable) could totally be used as you describe. Any time the rowsCount property changes, the components will automatically update.
If you think there's a chance of an existing row changing then you could just call forceUpdate to make the list redraw its visible rows. If you are making use of the dynamic rowHeight feature and the change may have invalidated the height of the visible rows, then you could call recomputeRowHeights.
Does this answer your question? :)

Yes, thanks!

@bvaughn , thanks for you answer. I've tried it and it really forces rendering. VirtualScroll calls the callback rowRender for each row now. But how to make it also call the callback isRowLoaded? I have a case when I need to invalidate and reload the rows that are currently shown.

@ArtemZag sounds like you're also using the InfiniteLoader HOC?
That is called when the onRowsRendered callback is invoked, which should happen each time a virtual component renders... ah, except that I "memoize" things so the rows rendered callback isn't called a bunch of times with the same values if a user is slow-scrolling.
I guess I'm not clear on your use case to be honest. If you've just invalidated the data by updating it as was originally described in this issue- then can't you manually trigger your isRowLoaded function in that case (if you need to)?

@bvaughn ,
Yes, you are right - I use InfiniteLoader. Sorry I didn't say this before.

can't you manually trigger your isRowLoaded function in that case (if you need to)?
I mean callback isRowLoaded of InfiniteLoader. Not my own function.

I guess I'm not clear on your use case to be honest.
My fault. I'll try to create some small example tomorrow to show you what I mean.

Hi @bvaughn . Sorry for the late answer.
I've created brief example (based on this: https://bvaughn.github.io/react-virtualized/ -> tab "INFINITELOADER")
Here it is: https://github.com/ArtemZag/infinite-loader-example
Take a look at line 82 and 110 of InfiniteLoader.example.js.
My example does the same thing original example does but I also try to reload the data from the source. In my example if you click "Flush data" you'll see list with empty values. But I'd like to force InfiniteLoader to reload the rows. And I have no idea how to do it. Maybe you will help me.
P.S.: It does reload the rows if you scroll the list (even if you scroll just 1 row).

No problem.
I'm tempted to say that in this case, you should just trigger your own reload for the currently-visible rows (since your component is flushing the cached state). You already have the necessary information to do this if you just tapped into the onRowsRendered callback like so:
<InfiniteLoader
  isRowLoaded={this._isRowLoaded}
  loadMoreRows={this._loadMoreRows}
  rowsCount={list.size}
>
  {({ onRowsRendered, registerChild }) => (
    <AutoSizer disableHeight>
      {({ width }) => (
        <VirtualScroll
          ref={virtScroll => {
            // EDITED #2
            this.virtScroll = virtScroll;
            registerChild(virtScroll);
          }}
          className={styles.VirtualScroll}
          height={200}
          onRowsRendered={({ startIndex, stopIndex }) => {
            this._visibleRowStartIndex = startIndex
            this._visibleRowStopIndex = stopIndex

            onRowsRendered({ startIndex, stopIndex })
          }}
          rowsCount={list.size}
          rowHeight={30}
          rowRenderer={this._rowRenderer}
          scrollToIndex={randomScrollToIndex}
          width={width}
        />
      )}
    </AutoSizer>
  )}
</InfiniteLoader>

Then when you cleared the cache you could kick off reloading for the visible range:
_clearData () {
  this.setState({
    loadedRowsCount: 0,
    loadedRowsMap: {},
    loadingRowsCount: 0
  });

  // EDITED #1
  if (this.virtScroll) {
    this.virtScroll.forceUpdate();
  }

  if (this._visibleRowStartIndex >= 0) {
    this._loadMoreRows ({
      startIndex: this._visibleRowStartIndex,
      stopIndex: this._visibleRowStopIndex
    })
  }
}

@bvaughn , cool! This is exactly what I need. Than you very much.

Happy to hear :) You're welcome.
On Saturday, February 20, 2016, ArtemZag<EMAIL_ADDRESS>wrote:

@bvaughn https://github.com/bvaughn , cool! This is exactly what I
need. Than you very much.
—
Reply to this email directly or view it on GitHub
https://github.com/bvaughn/react-virtualized/issues/69#issuecomment-186747986
.


Incorparate changes from criteo guys

The criteo guys also maintain a fork  of python-consul [1].
The fork already contains some nice features e.g. for context manager and consul connect.
It would be great to see the changes incorporated in your project.
[1] https://pypi.org/project/py-consul/

Perhaps contact the cretio developers and invite them to join this project as official maintainers?  More official maintainers mean less risk of project getting stuck like python-consul, which had 3 maintainers when it died.


add RU

ENS: danch.eth
Mail<EMAIL_ADDRESS>

Thanks so much, but we got a good Russian translation earlier today already. Feel free to check it out once we deploy it and submit corrections and improvements

Looked at this guy's translation. It looks like a slightly edited machine translation. I can give a review of his translation if needed

Looked at this guy's translation. It looks like a slightly edited machine translation.


Functional vs Object Oriented

Would it make more sense to go with an Object-Oriented approach to this package?
For instance, instead of or returning the data as dicts and lists, have objects such as a bill object and an upper_bills object for instance. Each bill object, may have objects such as bill.title and bill.sumary.

Functional it is.


build: Node.js 23.0

@bjohansebas can you backport it to v4?

@UlisesGascon I have a bit of work because of my studies, at the moment I can't do it.


Push to private repo

Hi, if I give the right token permissions, could the github plugin push to a private repo?

Hi, I push to my private repo,  it works well

update the github token to select all the checkbox in repo then it works.


[BUG] Fix misleading error messages when creating a mount point for a backup store

Describe the bug (🐛 if you encounter this issue)
If the mount point doesn't exist, the check for syscall.ENOENT.Error() (code) will fail because the error message returned by mount.IsNotMountPoint is different. Although this won't introduce bugs and the mount point can be created in the end,
the error message might be misleading for users.
To Reproduce
Steps to reproduce the behavior:

Create a Longhorn cluster using master branch
Set NFS backup store
Create a volume
Execute backup. If the mount point is not existing inside the longhorn-manager-r pod, the error will show "...was identified as corrupted by ReadDir...". The backup should succeed.

Expected behavior
A clear and concise description of what you expected to happen.
Log or Support bundle
If applicable, add the Longhorn managers' log or support bundle when the issue happens.
You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment

Longhorn version:
Installation method (e.g. Rancher Catalog App/Helm/Kubectl):
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version:

Number of management node in the cluster:
Number of worker node in the cluster:

Node config

OS type and version:
CPU per node:
Memory per node:
Disk type(e.g. SSD/NVMe):
Network bandwidth between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal):
Number of Longhorn volumes in the cluster:

Additional context
Add any other context about the problem here.

@innobead
No need to backport to v1.3.3 and v1.4.2. This is caused by my refactoring.

Closing w/o QA testing, since longhorn-manager, instance-manager, and engine are all updated and this is about log update. Let's follow up with the daily regression.
cc @longhorn/qa


add quotation marks to prevent ffmpeg crashing with some file names

when using file names that contain spaces or brackets this error occurs
/bin/bash: -c: line 1: syntax error near unexpected token `(' /bin/bash: -c: line 1: `ffmpeg -hide_banner -loglevel panic -i /content/20200128-Pieter Wuille (part 1 of 2) - Episode 1.mp3 -threads 1 -acodec pcm_s16le -ac 1 -af aresample=resampler=soxr -ar 16000 /tmp/tmps2xtcop7/tmp.wav -y'
adding quotation helps

Yeah it makes sense to add quotation, thanks for the fix!


Added support for webhooks using POST HTTP method

There are two things I'm not sure about:

shall we introduce some maximum size for the payload (so it's not used in a malicious way)?
shall we somehow restrict the payload format to JSON and sanitize/validate it?

This would be a useful feature as I was trying to figure out how to send a Slack webhook message from this plugin, but that webook looks like it expects a POST request.

@arekziobrowski looks great - would be awesome if you could implement a maximum payload size restriction?
Not sure it makes sense to enforce the POST Payload to always be JSON, we could support specific content types and validate against them, but that might overkill.

@marcushyett-ph, do you think the maximum payload size restriction should be configurable?
I restricted it to fixed 16 kilobytes - I based that value on Slack limits, that when message payload size exceeds 16 kilobytes, the message server will disconnect client emitting such message [source].

@marcushyett-ph, could you take a look at the new changes?

@yakkomajuri should I close this pull request?

Closing due to inactivity.


VPN Disconnect on Second User Login

Windows 10 Version 1709 (OS Build 16299.371)
When the first user who is logged in and already is working, and has a VPN Connection established, if the second user on the machine logs in, the first users VPN Connection is automatically terminated.  Once that users login has completed, the first user can reconnect the VPN and both can work until the next login event.

This is normal Windows behaviour. To workaround this, the credentials for the VPN connection should be saved for all users.

okay thanks for the clarification.


[3rd Party apps] Transition logistics and tasks

Below are the misc tasks required to hand off 3rd party apps
Add new team to GitHub team to all 3rd party repos

[x] Determine which team will own these now NR-Labs or a the platform team? - @jpvajda
[ ] Ensure the team has admin access to all repos
[ ] Ensure the new team understands the purpose of each repo

Add new team to all 3rd party app content on g-drive

[ ] Ensure the team has access to all necessary 3rd party app drive folders

Change name of help channel

[ ] Change #help-deven-3rd-party-apps > #help-3rd-party-apps - requires request from IT
[ ] Add a message there is no hero support on this channel

Change name of all DevEn Dashboards

[ ] Update markdown helper files to not point users to deven for support
[ ] 3rd party app Deprecations Dashboard
[ ] 3rd party programmabilty component and API app]
[ ] 3rd Party App Catalog EOL Dashboard

Gil confirmed that he's working on becoming maintainers of the 3rd party apps, so we'll need to wait on that transition of the ownership until that is clarified.

Gil confirmed the NR labs team should have maintainer rights on their own apps. But they will not support apps the NR Labs team didn't build.  Anna is providing me a list.


Failed to parse json generated by vswhere

I got following error with Windows  10(Japanese) and MSVC 2017 Community.
Unexpected token � in JSON at position 368: SyntaxError: Unexpected token � in JSON at position 368
    at JSON.parse (<anonymous>)
    at Object.<anonymous> (C:\Users\kkimura\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\environment.js:271:39)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\kkimura\.vscode\extensions\vector-of-bool.cmake-tools-0.10.2\out\src\environment.js:4:58)

Here is output of vswhere.exe -all -format json -product *  -legacy.
[
  {
    "instanceId": "01eb69bb",
    "installDate": "2017-07-31T06:40:09Z",
    "installationName": "VisualStudio/15.2.0+26430.16",
    "installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community",
    "installationVersion": "15.0.26430.16",
    "displayName": "Visual Studio Community 2017",
    "description": "�w���A�I�[�v�� �\�[�X�A����ьX�̊J���҂̂��߂̖����Ŋ��S�ȋ@�\������� IDE",
    "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
    "channelId": "VisualStudio.15.Release",
    "channelPath": "C:\\Users\\kkimura\\AppData\\Local\\Microsoft\\VisualStudio\\Packages\\_Channels\\4CB340F5\\catalog.json",
    "channelUri": "https://aka.ms/vs/15/release/channel",
    "releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660284#15.1.26430.16",
    "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660300"
  }
]

Output encoding is CP932. I think this is vswhere's bug.

Just opened a ticket for vswhere. We'll see what happens.

I've succeeded generate json file encoded with UTF-8.
Following typescript code is for your reference.
import * as proc from 'child_process'

function runVSWhere(){
  let vswhere:string = '/path/to/vswhere.exe';
  proc.exec(`powershell.exe -Command "& '${vswhere}' -format json | Set-Content -Encoding UTF8 tmp.json"`);
}

tmp.json is belows.
[
  {
    "instanceId": "01eb69bb",
    "installDate": "2017-07-31T06:40:09Z",
    "installationName": "VisualStudio/15.2.0+26430.16",
    "installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community",
    "installationVersion": "15.0.26430.16",
    "displayName": "Visual Studio Community 2017",
    "description": "学生、オープン ソース、および個々の開発者のための無料で完全な機能を備えた IDE",
    "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
    "channelId": "VisualStudio.15.Release",
    "channelPath": "C:\\Users\\kkimura\\AppData\\Local\\Microsoft\\VisualStudio\\Packages\\_Channels\\4CB340F5\\catalog.json",
    "channelUri": "https://aka.ms/vs/15/release/channel",
    "releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660284#15.1.26430.16",
    "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660300"
  }
]

Just got another report of this at Microsoft/vswhere#115, but you don't need to exec to powershell (rather heavy). child_process.execFile accepts an options with an encoding. Additionally, by using child_process.exec you're actually running vswhere through cmd.exe which is exacting its own code page handling. Instead, child_porocess.execFile would be direct execution. Using execFile I was able to make this work.
You could also use child_process.spawn and get a direct stream. If your JSON parser supports a buffer that would eliminate encoding (rather, keep the original UTF8 that vswhere gets from the query API).
Whichever way, exec is probably not the best choice since it goes through cmd.exe which has its own code page hassles.

seems same problem
CMakeTools extension was unable to initialize: SyntaxError: Unexpected token � in JSON at position 562

vswhere output:
[
  {
    "instanceId": "a95aa3c0",
    "installDate": "2017-12-14T10:57:48Z",
    "installationName": "VisualStudio/15.5.2+27130.2010",
    "installationPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community",
    "installationVersion": "15.5.27130.2010",
    "productId": "Microsoft.VisualStudio.Product.Community",
    "productPath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\devenv.exe",
    "isPrerelease": false,
    "displayName": "Visual Studio Community 2017",
    "description": "功能齊備的 IDE，可供學生、開放原始碼開發人員與個人開發人員免費使用",
    "channelId": "VisualStudio.15.Release",
    "channelPath": "C:\\Users\\Colleta55\\AppData\\Local\\Microsoft\\VisualStudio\\Packages\\_Channels\\4CB340F5\\catalog.json",
    "channelUri": "https://aka.ms/vs/15/release/channel",
    "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service",
    "releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660692#15.5.2",
    "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660708",
    "catalog": {
      "buildBranch": "d15svc",
      "buildVersion": "15.5.27130.2010",
      "id": "VisualStudio/15.5.2+27130.2010",
      "localBuild": "build-lab",
      "manifestName": "VisualStudio",
      "manifestType": "installer",
      "productDisplayVersion": "15.5.2",
      "productLine": "Dev15",
      "productLineVersion": "2017",
      "productMilestone": "RTW",
      "productMilestoneIsPreRelease": "False",
      "productName": "Visual Studio",
      "productPatchVersion": "2",
      "productPreReleaseMilestoneSuffix": "0.0",
      "productRelease": "RTW",
      "productSemanticVersion": "15.5.2+27130.2010"
    },
    "properties": {
      "campaignId": "1769436087.1498238982",
      "channelManifestId": "VisualStudio.15.Release/15.5.2+27130.2010",
      "nickname": "",
      "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installershell.exe"
    }
  }
]

I've pushed out a possible fix into the beta5 for 0.11.0. If you find that the fix does not work, please re-open this issue. We've had trouble reproducing it so aren't 100% certain that our fix works.


Explore dropping support for Internet Explorer

I'm thinking before releasing 0.12 I should drop support for Internet Explorer entirely (both from the library and from the online editor). There are a couple of reasons for this;

More development software overtime seems to not work with it (in this cause, NPM modules)
Google Analytics shows a huge drop in IE11 users in the last 2 years
It's become a pain trying to keep from using ECMAScript built-ins not supported by IE11
I find it a pain in general now 😅

In the upcoming month's I plan to add changes that support evergreen compatibility (using ES2015+ built-ins via polyfills); after this, I will decide if it's worth it or not to totally drop support for IE; In the meantime, feel free to discourage (or encourage) this change.

No.
IE is the world's third most common browser, and there are no problems for Peg under IE.  There are major problems for PEG that have nothing to do with IE that we've been waiting on you three years to solve.
There is no need or call for polyfills in PEG.  Nothing in PEG wants or needs them.  You're going to 10x the size of the parser for no reason, to solve problems that don't exist.
Please consider turning PEG over to someone with the experience to get releases started again.  You have not released anything, and you've changed the shape of the library to that none of the old contributors are even able to fix small things anymore.  You're working on a different parser in a different language with a different AST that none of us will be able to use.
If you want to write a new PEG engine, fine, go ahead.
  Let us have our software back now
.

More development software overtime seems to not work with it (in this cause, NPM modules)

Respectfully, there is zero overhead from IE.

We're still waiting on your 2018 release that's blocked on testing Opera, which back then was at 1/50 the population that IE is at today
You just don't want to do the work at a high quality.
There is absolutely no reason for a browser shim to ever make it into a parser.  That's a deep and fundamental misunderstanding of what PEG is and how it should work.
We've waited three years.
It's time for you to move on.  Peg is dying while we wait on trivial one-liners from you, and you're trying to replace it with a hobby project you started from scratch in a different language
Please let one of the people who was active in this project be a maintainer now, so that this project can come back to life.  Peoples' companies ride on this tool, and if you try to replace it with some hobby project you wrote, their companies end
You obviously have no intention of actually maintaining peg.js
Please let someone else do it now

It's become a pain trying to keep from using ECMAScript built-ins not supported by IE11

You shouldn't be doing this.  You should be accepting the patches from 2016 and 2017 that let us use them directly.
A parser should not be trying to use shims.
A parser should not be trying to dictate what goes in based on the exterior machine.
A parser should not be interacting with NPM.
A parser should not require you to install package managers.
Please let someone bring this back to being a healthy, normal, atypical project now.  I would be happy to help.  I can give you es6 and typescript support in under 30 days without any major changes, in 0.10, the same way I said I could in 2018.  We don't need major architectural changes, breaking AST replacements, to ditch browser support, a programming language switch, a new from-scratch parser, or any of the other damage you are currently doing.
Please let an actual maintainer start doing actual maintenance.  You're trying to replace this project and it isn't working.  The rest of us need this to stop now.

It's become a pain trying to keep from using ECMAScript built-ins not supported by IE11

You shouldn't be doing this.  You should be accepting the patches from 2016 and 2017 that let us use them directly.
A parser should not be trying to use shims.
A parser should not be trying to dictate what goes in based on the exterior machine.
A parser should not be interacting with NPM.
A parser should not require you to install package managers.
A character-level parser should not need support from a browser to do parsing.
You should not be using tools from outside of a parser to do parsing.
A zero-library parser should not be stuck on ditching active users over library support to do parsing.
There is a reason that none of the other parsers out there work this way.
Please let someone bring this back to being a healthy, normal, atypical parser now.  I would be happy to help.  I can give you es6 and typescript support in under 30 days without any major changes, in 0.10, the same way I said I could in 2018.  We don't need major architectural changes, breaking AST replacements, to ditch browser support, a programming language switch, a new from-scratch parser, or any of this.
We need a maintainer who's willing to accept small patches, have small manageably sized releases, and who's willing to keep the library in a healthy state at all times.
Nobody has been able to contribute since 2017.
It's time for you to let someone else help.


system messages for topic channels

Codecov Report

Merging #104 (1414c1d) into main (ed6049e) will decrease coverage by 0.53%.
The diff coverage is 87.87%.

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   83.30%   82.77%   -0.54%
==========================================
  Files          81       81
  Lines        3187     3234      +47
  Branches      526      535       +9
==========================================
+ Hits         2655     2677      +22
- Misses        415      440      +25
  Partials      117      117

Impacted Files
Coverage Δ

app/services/channels.py
79.18% <78.57%> (-0.36%)
:arrow_down:

app/helpers/channels.py
79.31% <87.50%> (+0.46%)
:arrow_up:

app/routers/channels.py
96.49% <88.88%> (-1.55%)
:arrow_down:

app/helpers/permissions.py
88.12% <100.00%> (ø)

app/helpers/ws_events.py
100.00% <100.00%> (ø)

app/models/message.py
100.00% <100.00%> (ø)

app/schemas/messages.py
100.00% <100.00%> (ø)

app/services/messages.py
85.40% <100.00%> (+0.15%)
:arrow_up:

app/helpers/queue_utils.py
50.00% <0.00%> (-12.17%)
:arrow_down:

app/services/websockets.py
71.20% <0.00%> (-7.21%)
:arrow_down:

Continue to review full report at Codecov.

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


omni_drive_controller does not exist in noetic

After following the installation tutorials for the omni base, and trying to launch the simulation following the next tutorial, the terminal throws an error:

The tutorial does mention the controller is not publicly available (Although a bit too late in my opinion, I would have started with a different robot had I known this was untestable). Is there a way to test this before purchasing the robot?

Hello @argenos,
First of all, thank you for showing interest in our Product and its simulation. Regarding your issue, yes the controller is not loaded as this is a proprietary software. However, it does load a gazebo plugin that does simulate the behavior of the real robot. In order to test it, you can publish the command to the /mobile_base_controller/cmd_vel and you should see the base moving and you also get the odometry published in a topic. We hope this helps you to test our simulation.
Thank you,
Best Regards,
PAL Robotics Team.


python311Packages.rpds-py: init at 0.7.1, python311Packages.referencing: init at 0.29.0, python311Packages.jsonschema-spec: 0.1.4 -> 0.2.2

Description of changes
Diff: https://github.com/p1c2u/jsonschema-spec/compare/refs/tags/0.1.4...0.2.2
Changelog: https://github.com/p1c2u/jsonschema-spec/releases/tag/0.2.2

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

All packages are now older than master.


Update scheduled meeting with no release plan fails

When a meeting was created before the 2/8 deployment, if the usre tries to update the meeting and they don't have a Release Plan selected, the tool won't fail and will update the meeting date in DataVerse. There must be an error here because neither Outlook nor the GH issue get's updated either.
To unblock user, they need to select a releas eplan or a justification.
It would be good to check why the Release Plan not linked condition is not working on update/edit mode
FYI @JonathanCrd

This should be less common now, so lowering priority. If it happens again, we need to take a look

Closing as no repro


app.wm_attributes(„-transparent“, „green“)

Hey There!
I am trying to run the script on macos 10.13.6 and on line 24 it throws me the following Error:
Traceback (most recent call last):
 File "/Users/***/Downloads/TimerX-master/main.py", line 24, in <module>
  app.wmattributes("-transparent", "green")
 File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/tkinter/__init__.py", line 2005, in wm_attributes
  return self.tk.call(args)
_tkinter.TclError: expected boolean value but got "green"

When i delete that line, the application seems to run fine.

Maybe we need the hex code, @sumeshir26 let's test this in the morning.

Maybe we need the hex code, @sumeshir26 let's test this in the morning.

boolean means true or false right?

Ohh... I absolutely ignored that... But let's try a hex code in place of green, just to make sure.

Ok, i found out, that this is because of the OS.
app.wm_attributes("-transparent", "green")

should absolutely work fine.
But for macos you have to do:
app.wm_attributes("-transparent", True)
app.config(bg="systemTransparent")

@not-nef Okay, I will add that.

Imitating the platform code will be perfect for this.

@not-nef I fixed this on your fork

@not-nef I fixed this on your fork

Thanks


Useless TCP test

Looking at #1119 I noticed that tests use TCP with seemingly the only intention being testing whether the code can handle broken-up packets. This can be achieved without TCP and without artificial delay of 1s considerably slowing down the tests. I've seen an entire library to simulate breaks at random points, I just can't remember how it was called. But it can be done manually too:
// Breaks up reading to force multiple `read` calls when it reaches the end of each part
struct BreakingReader {
    // Changing to iterators left as an exercise for the reader
    data: Vec<Vec<u8>>,
    idx: usize,
    pos: usize,
}

impl BreakingReader {
    fn new(data: Vec<Vec<u8>>) -> Self {
        BreakingReader {
            data,
            idx: 0,
            pos: 0,
        }
    }
}

impl io::Read for BreakingReader {
    fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
        if self.idx >= self.data.len() {
            return Ok(0)
        }
        // We never let pos to go out of bounds
        let part = &self.data[self.idx][self.pos..];
        let to_copy = part.len().min(buf.len());
        buf[..to_copy].copy_from_slice(&part[..to_copy]);
        if to_copy == part.len() {
            self.pos = 0;
            self.idx += 1;
        } else {
            self.pos += to_copy;
        }
        Ok(to_copy)
    }
}

Then just replace serve_tcp() with BreakingReader::new() and remove the handle/join.

After thinking about this I found even better solution: split the input at each byte. If we have incorrectly handled read (instead of read_exact) it's guaranteed to be hit. There's one more problem: if we create the buffer initialized with zeros and input contains zeros it could happen that "uninitialized" buffer is confused with data and we wouldn't see failure. To prevent this scramble the buffer by writing bit-negation of would-be-written next byte to the unused part of the buffer. (Read impl does neither allow nor forbid this and relying on it not being overwritten would be a bad idea.)
So:
struct BreakingReader<'a>(&'a[u8]);

impl io::Read for BreakingReader {
    fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
        if buf.len() > 1 && self.0.len() > 1 {
            buf[1] = !self.0[1];
        }
        // intentional panic when buf.len() == 0: buggy use of the reader
        self.0.read(buf[..1])
    }
}

So I was thinking about it a bit more and turned it into a crate :)
Will be happy to share maintainership!

Oh, the whole module is deprecated :man_facepalming: :man_facepalming: :man_facepalming:

Oh, lol, I knew when I saw that module here that I'd complained about its existence but totally forgot how that was resolved..


Fix about page and essays page layout

We can also do this together if you want or at least discuss what the layout should be


Upgrade Gatsby to make use of v3

What has been changed ?

Updated version of Gatsby from v2 to v3
Updated all outdated npm packages
Added new gatsby plugin to handle font imports from Google Fonts and use of Styled Components

https://www.gatsbyjs.com/plugins/gatsby-plugin-google-fonts/
https://www.gatsbyjs.com/plugins/gatsby-plugin-styled-components/?=gatsby-plugin-styled-components

Made use of Styled Component for Contact Section
Organized various files

What needs to be done ?

Run Prettier to format all files

This did not work on windows. Would give an error when trying to run it locally. "npm run develop" would not work.

Apparently, this was a bug in Gatsby and there was a newer version released last month so I updated it to that

I have just rebased the commits to clean up the git branch and updated the new versions of the dependencies.


Restore the dead backend/connection

This task is automatically imported from the old Task Issue Board and it was originally created by Adam Obuchowicz.
Original issue is here.

Why
As Enso IDE user
**I want ** to use IDE which is quite resistant to connection breakage or language server deaths
**So that ** I can work smoothly even when some rare backend crash appear.
As Enso Engine developer
**I want ** to not be forced to restart IDE when backend dies.

Acceptance Criteria
Scenario:
Given
When
Then

Notes:

Need to consider how to detect failures of the backend better.

What exactly is in the scope of this task? We have already one for making IDE reconnecting with the backend #5202 (it's quite a task: we need to restore the engine state after reconnecting). Is #5288 (this) just a duplicate, or it covers some engine stuff to add?

ok guess this one is a duplicate then - so we can close.


request / response instances

create them once when the controller is instantiated, then use them for every request, passing in the request/response.

:+1: to explicitly passing parameters

resolved in c8ab400bf9cbaf36aeb30427bcdb0316930664f2


import/extensions doesn't work for require('./file-without-extension')

See reproduction details at https://github.com/balupton/eslint-issue-import-extensions

get started:
git clone https://github.com/balupton/eslint-issue-import-extensions.git
cd eslint-issue-import-extensions
npm install

run the test:
npm test

notice that there was no complaint about:
const result = require('./module')

inside ./source/index.js

The first bullet point seems like a major flaw in both vscode and typescript, since omitting the extension is a best practice. Hopefully issues have been filed for those.
Separately, we should lint import and require statements both whenever possible, for every rule - so this is a good fix to make.

Separately, we should lint import and require statements both whenever possible, for every rule - so this is a good fix to make.

agreed, thanks, looking forward to it

It seems better to have a helper to generate callbacks for ImportDeclaration/ExportNamedDeclaration and static require CallExpression together?
Sth like following in rules:
module.exports = {
  create(context) {
    return addForGenericImport({
      ... // other callbacks
    }, (source, node) => {
      // callbacks for ImportDeclaration, static require CallExpression, ExportNamedDeclaration, etc
    }),
  }
}

Actually most rules miss ExportNamedDeclaration, and some rules miss static require CallExpression, not only import/extensions.
How do you think? @ljharb

A commonly used helper seems like a good idea.


CI test

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it

/ci test it


Autodiscovery for Fargate pods

When aws_fargate.enabled is true, spawn deployment that will do discovery on Fargate pods.

@gantrior, do we need to create PodMonitor for the new deployment? Like https://github.com/solarwinds/swi-k8s-opentelemetry-collector/blob/master/deploy/helm/templates/metrics-pod-monitor.yaml ?

@gantrior, do we need to create PodMonitor for the new deployment? Like https://github.com/solarwinds/swi-k8s-opentelemetry-collector/blob/master/deploy/helm/templates/metrics-pod-monitor.yaml ?

No I don't think so. Since we no longer encourage users to have Prometheus in the environment, PodMonitors are deprecated and could be removed from Helm chart.


Updated Ronn - use-case example

A couple things about the PR:
I'm not to thrilled about the file-generating directory that ronn is in, like it could have a better name.
Also, I'm not sure about the asciinema demo, I'll be fine taking it down if you don't like it, Or I can spend more time on it and make it better if you think its worth it.
And yes, I know, there are a lot of commits, I'm still figuring this github branch thing...
The definition file is very big, It could be cleaned up a lot, But it does work very well, no bugs in the shell part (that I can find... yet).

Please make sure to rebase this PR @WestleyK

Please make sure to rebase this PR @WestleyK

looks good to go, could you rebase this PR? @WestleyK

Wait! don't merge it yet!

Small change, almost ready!

I was actually looking to message you and see if it was good to merge. ;)

Almost! LOL

Okay! Now I think its ready!


Discussion: network security of installation-internal services

We want to run an installation-wide service on an MC. This service, to be more specific, is zot, a container images cache. We want this service to be accessible from the MC and from all WCs of this installation, but not elsewhere.
One possible solution is to use our public Ingress and expose it there. Still, by making it public, we're risking the service and its resources being DoS'ed. To avoid that, we can enable auth on ingress, but we also want to avoid it like hellfire, as it will make us configure all the containerds of all nodes to use this auth token - the token distribution itself is a pain, but even worse, a potential secret leak would mean we have to reconfigure all the nodes of all clusters.
As such, our idea is to make this service available without any auth, but limited on the networking level to the installation itself only.
(ping @stone-z and @allanger for visibility and shared interest)
Now, here are some of the questions that come to mind :

I already learned we have a feature called "private ingress" - an ingress, that is internal to a VPC the installation runs in. It is available for AWS and should be soon available for Azure. @kopiczko @erkanerol,
please correct me if I'm talking bullshit or this feature doesn't work like this at all and won't help us in our use case.

I think this use case is much wider. Atlas could use something like that, but currently they have some workarounds that distribute access credentials (CC @QuentinBisson). As such, it seems we have more and more use cases that need such functionality. @alex-dabija @T-Kukawka is this somewhere on your radar as a general feature? Does it make sense to make a private ingress a default feature of each MC?

If 1 is yes (it works this way) and 2 is yes (we want it as default MC feature), what's the status on it? Is it already available somewhere? Will it be? We need something pretty soon, even if that's not the final solution. And yes, this feature might be needed to run zot for WEPA on the factories locations. We still don't know what WEPA's setup will be like, so we're not sure if we want per-factory-location there or maybe we want to run zot on every WC node. Again, CC @alex-dabija and @gawertm.

How complicated is this use case for using on-prem? How can we get it there? Again, think WEPA and the on-edge deployments (but again, maybe for WEPA we want to the cache to run on every edge node? Will WEPA run multiple clusters in a single edge location?) Still, for "reliably connected VMWare clusters, the same setup as for cloud would make a lot of sense - CC @gawertm and @vxav .

I'm with @stone-z  here about per-WC registries.
When it comes to storage:

for daemonstats we pull all the images in all the nodes anyway so it's like one more node when it comes to storage
for images that are running only on some nodes - they probably won't be that useful (or reused) in other clusters anyway (e.g. when a different version of an image is used)
and there shouldn't be a lot of images in general per single WC, at least I think so, how much do we give for the docker volume? 50GB?

Also when it comes to cost:

traffic between on-prem and azure (or any public trafic) costs money
loadbalancers cost money (in local registry we could use a service)

When it comes to operational costs:

yes, there is more registries to operate but:
there are no LBs
no ingresses
no connectivity issues between provides, networks etc.
no auth
no DDoS issues

Also, there a natural evolution path if per-WC registry solution is not enough which is moving to shared registry. But if it is enough, then it's way simpler. Also it will be easier to prove if it makes sense at all to go with shared registry given the complications.

+1 to what Pawel suggested.
Thinking about other big customers and the fact that we might/will want the cache to work for their components as well in the long term for cost savings, SHA-matching, etc., I'd strongly suggest taking the following into account:

multiple low environments running "ephemeral" nodes (spot instances) constantly pulling from the MC, hammering it
multiple environments, including low ones, running a ton of stuff, which is all cached in a central place

As far as Lukasz's points are concerned:

operational load, where we have N services on N WCs instead of 1 on MC

comment: N services might be "easy" to maintain whereas a single, huge service might be a PITA (think about prometheus now). Number of services is not the only metric here. Also, if the single big service hammers the MC, we are just moving the operational load elsewhere.

operational cost, same as above: N times disk, cpu and mem, for very little, if any, gain

comment: meh. Especially if caching takes layers into account, it's not like storing our images is going to cost a lot. also, "N times" only holds for our components, whereas customers run different images in different environments on the same MC anyway.

much lower cache efficiency, or even efficiency, as all the images have to be fetched from upstream anyway for each and every cluster

I can't foresee any cache efficacy if a single instance of zot needs to store images from $list-of-big-WCs-running-in-a-very-big-MC, to be honest

@piontec Are you assuming that the MC and its workload clusters are in the same region? This assumption is no longer valid because:

CAPI can manage clusters across multiple region;
we want to support multi provider MCs as part of our product;

To avoid that, we can enable auth on ingress, but we also want to avoid it like hellfire, as it will make us configure all the containerds of all nodes to use this auth token - the token distribution itself is a pain, but even worse, a potential secret leak would mean we have to reconfigure all the nodes of all clusters.

Our CAPI clusters can be configured with additional registries and their access tokens. We already do it (or did it) for docker.io. Rolling the nodes of all clusters can be mitigated in a few ways:

each cluster could get it's own token (only one cluster would need to be rolled);
we could add some support to our OS to replace the token without restarting the node (similar to what the kubelet is doing when it refreshes certificates).
Personally, I'm in favor of using credentials where-ever they are supported.

Does it make sense to make a private ingress a default feature of each MC?

We don't have any plans at the moment to add something like VPC peering or a transit gateway in order to make a private ingress work for public CAPA clusters. Private clusters already mechanisms for communication between MC and WCs. CAPA uses a transit gateway and CAPZ uses endpoints.

We still don't know what WEPA's setup will be like

They want the cluster to still be functional (I assume to at least be able to create pods) in case it loses connectivity to the Internet (and the MC). For me, this means that the caching would need to happen within the local environment and not on the remote Azure environment.

OK, I know that right now it's not doable, and won't be in the close future - maybe even never. Assuming we don't have this functionality and closing.


PrimeFactors

The prime factors program currently only displays which factors of a given number are prime.
Develop a feature to give the actual prime factorization of the user-inputted number. For example, instead of calculating "1 and 3" for the prime factors of 9, display 3*3.

Hi @Kyle-Pu, I want to try to solve this problem. Could you assign me?

@OleksandrMariupol, I wouldn't waste your time. I tried to get @Kyle-Pu to approve a migration to a build system, but never heard back.

Sure, thanks @OleksandrMariupol! Assigned to you.
@jwheeler31 Sorry about that, I'm not sure how to start with that process but I'm definitely open to it.

@Kyle-Pu since this issue hasn't yet been resolved, can you assign it to me.
Seems simple enough


Cannot install vc-fossil

What's wrong
I'm trying to migrate from use-package to straight.el. However, two packages fail. (edit: I fixed the other one myself, it was a configuration mistake.) Trying to install vc-fossil fails:
(use-package vc-fossil
  :ensure t
  :config
  (add-to-list 'vc-handled-backends 'Fossil t))

While use-package worked just well, straight doesn't:
Warning (straight): Could not check out branch "master" of repository "emacs-fossil"

How can I fix that?
Version information

Emacs version: 26.3
Operating system: macOS

It's just a warning.
straight.el cloned the repository but couldn't checkout the master branch because it doesn't exist. Instead the HEAD branch is checked out which points to origin/trunk. So vc-fossil is installed.
If you want to get rid of the warning (which you probably only see on initial install) you can specify the repository and branch to use:
(use-package vc-fossil
  :straight (:host github :branch "trunk")
  :config
  (add-to-list 'vc-handled-backends 'Fossil))

Indeed, that fixed it and no further errors appear on pull-all. Thank you!

This is actually a long-standing MELPA compatibility bug in straight.el, see #279. That said, it is easy to work around as @igroen outlined. (You actually should be able to get away with just :straight (:branch "trunk") in the use-package form, unless there's a bug.)

Hello,
It turns out the github repository for vc-fossil is not very often maintained. Main development goes on in the fossil repo. See this thread:
https://fossil-scm.org/forum/info/428ddb50ea7d8b73761e5ac876f07acd6addc6fefcc4d530a5eaeb1b3cd0978a
The repository is here:
https://tumbleweed.nu/r/vc-fossil/doc/tip/README.md
Is it possible to have straight.el pull from fossil instead of github? (https://fossil-scm.org/forum/forumpost/8228c6bc7df76eed?t=h)

It's possible to extend straight.el to utilize other version control systems, but support for fossil is not currently implemented.
How to go about that (this would probably make a good separate package, e.g. straight-fossil) is partially documented here:
https://github.com/raxod502/straight.el#version-control-backends
I would be happy to help if you have any interest in writing a package which implements a fossil vc backend.
Another option would be side-stepping all that by creating your own git mirror.
You could script it to be updated as often as you want and have straight use that.
https://fossil-scm.org/home/doc/trunk/www/inout.wiki


Error: ENOTEMPTY: directory not empty

Using symbols (:, &, #) in nuxt.config.js stops the development server and throws an error:
I found this issue when trying to use an & in my description meta data, it only occurs when the development server is running and running yarn or npm run dev again fixes the issue and the error no longer shows.
Environment:
Nuxt 0.8.8,
Node v7.1.0
Error while rebuild the app: { Error: ENOTEMPTY: directory not empty, rmdir '/mnt/c/Users/Anthony/Documents/acook.me/.nuxt/components'
  errno: -39,
  code: 'ENOTEMPTY',
  syscall: 'rmdir',
  path: '/mnt/c/Users/Anthony/Documents/acook.me/.nuxt/components' }

Hi @antcook
This error appends when the browser is calling the file while the build is not finished yet, normally it's fine and the application is still working anyway after the build is done.
It's fixed in the upcoming release.
Thank you for spotting it 👍

Fixed in 0.9.0


Support native Linux packages (rpm, deb)

On Linux, I use the zip release of ghidra.  It would be nice if native Linux packages such as rpm & deb were available as well.
Alternatively, it would be nice to have a universal package format like snap or flatpack available.

that really seems like an OS issue.  Their target is 1 zip file that works for all supported operating systems, personally it doesn't make much sense to change that approach for a myriad of packaging you're asking for.  Arch Linux for example has already added Ghidra into their official repo

Hi @mumbel . Thanks for the reply.  I think you're correct; the zip distribution could be seen as a universal format.
I was able to find some third-party support for CentOS & Fedora:
https://pkgs.org/download/ghidra
I have not found something similar for Ubuntu or Debian.

We don't have any plans to distribute releases this way.


fix(generator): enum docs doesn't follow value type

Description

fix hard-coded string in the docs of enum implicit conversion method
refactor codes

fix 5069
Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

Regen preview: https://github.com/Azure/azure-sdk-for-net/pull/46230


Rewrite common_prefix_len to use idiomatic iterators.

@vmx does this make sense?

Sorry for the delay I haven't had notification enabled on this project, now I have. Let's see if the rebase and merge feature works.