Unable to scale up more than 7 replicas

The mongo-k8-sidecar works fine for replicas upto 7 but when it is scaled up beyond 7, the new members are unable to join the replica. As per my analysis the issue is due to a constraint that mongo allows only 7 members as voting members even though there can be max of 50 members in the replica set. The sidecar configures all the members as voting members, so scale-up beyond 7 is not working fine. Is there any configuration that i can do to fix this?
Here is the error log of the sidecar of PRIMARY replica:-
Error in workloop { MongoError: Replica set configuration contains 8 voting members, but must be at least 1 and no more than 7
    at Function.MongoError.create (/opt/cvallance/mongo-k8s-sidecar/node_modules/mongodb-core/lib/error.js:31:11)
    at /opt/cvallance/mongo-k8s-sidecar/node_modules/mongodb-core/lib/connection/pool.js:497:72
    at authenticateStragglers (/opt/cvallance/mongo-k8s-sidecar/node_modules/mongodb-core/lib/connection/pool.js:443:16)
    at Connection.messageHandler (/opt/cvallance/mongo-k8s-sidecar/node_modules/mongodb-core/lib/connection/pool.js:477:5)
    at Socket.<anonymous> (/opt/cvallance/mongo-k8s-sidecar/node_modules/mongodb-core/lib/connection/connection.js:333:22)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:287:12)
    at readableAddChunk (_stream_readable.js:268:11)
    at Socket.Readable.push (_stream_readable.js:223:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:122:17)
  name: 'MongoError',
  message:
   'Replica set configuration contains 8 voting members, but must be at least 1 and no more than 7',
  operationTime:
   Timestamp { _bsontype: 'Timestamp', low_: 1, high_:<PHONE_NUMBER> },
  ok: 0,
  errmsg:
   'Replica set configuration contains 8 voting members, but must be at least 1 and no more than 7',
  code: 103,
  codeName: 'NewReplicaSetConfigurationIncompatible',

Scalling the mongo-stateful set beyond 3 as well does not seem to work. The current mongodb replica can be scalled up to 3 replicas(due to mongo-sidecar limitation) and scalling beyond 3 will fail to re-elect the members of the replica upon pod non-graceful restart of the pod and the system reboot

Scalling the mongo-stateful set beyond 3 as well does not seem to work. The current mongodb replica can be scalled up to 3 replicas(due to mongo-sidecar limitation) and scalling beyond 3 will fail to re-elect the members of the replica upon pod non-graceful restart of the pod and the system reboot


YAML attribute capital letter?

In the docs and theme examples there using yaml-meta-attributes in the md-files starts with a capital character, however when trying show a attribute then it only shows the meta-attributes start with a capital letter in the twig-file. I see a lot of themes using the capital letter in the YAML headers, but using lowercase letters on the twig-files.
Example:
md-file:
---
Title: Test
Address: Straat 34
City: Nieuwpoort
Postcode: 8620
Coordinates: 123, 456
Template: dogzone
---

Twig-file dogzone.twig:

{{ meta.Coordinates }}

{{ meta.Postcode }}

When using lowercase characters, it doesn't show the above YAML-attributes:

{{ meta.coordinates }}

{{ meta.postcode }}

When using lowercase attributes in the YAML-header and also in the twig-files then all works perfect!
What is the best 'convention'/safest solution? All lowercase? Or start the attributes with a capital letter?

So, there's two things happening here.
First, you can use a pico-theme.yml file in your theme to define your metadata properties.  Check out the Default Theme's pico-theme.yml to see what this looks like.
Basically, you can use the meta section there to define the extra properties you'd like.  In the Default Theme, these are Logo, Tagline, and Social.  On the Twig side of things, these become meta.logo, meta.tagline, and meta.social.  You're basically just defining aliases for them as Pretty Name: variable_name.  The don't have to match either, but the typical practice is to just use the lowercase version of the same word.
Using pico-theme.yml in your theme folder is the proper way of handling your extra metadata properties...
But, the second thing you're seeing though is that most older themes don't have a pico-theme.yml, but they still have capitalized metadata.  This is due to PicoDeprecated, Pico's backwards compatibility plugin, noticing that these themes are old and running them in a compatibility mode.  If I remember correctly, this is because older versions of Pico didn't treat metadata as case-sensitive.
Finally, in some of my personal work (like the themes I linked before), you'll see me just standardizing on lowercase.  This is just because I tend to build over-complicated arrays of metadata, since I like to add tons of customization to things.
I'll use structures in my metadata like this (from some contact page settings):
contact:
  title: Contact Me
  divider: star
  subtitle: Or Reach Me At
  subdivider: star
  disabled: true
  form:
    enabled: true
    action: /url.php
    method: POST
  items:
   - title: Phone
      icon: mobile-alt
      content: (555) 555-555
      link: tel:555555555

Which would be really complicated to read without that indentation.  But, unfortunately pico-theme.yml doesn't support nested items like this, so I'm stuck using lowercase. 😂

@mayamcdougall ,
Thanks a lot man for this clear answer.
Like you good explenations :-)
I learn a lot!
Okay, the best way, using lowecase metadata!
At the moment, testing for best practices, and i have 500+ pages with the same metadata (dozones, city and province), adding some example/helper-comments in my config.yml, so when adding a new dogzone.md, i can copy the metadata (removing the comments).
Maybe also a tip for other Pico users: some metadata is required, so adding '@@@', so when adding a lot of dogzones, searchin all the md-files for '@@@', so i know where some data is missing ;-)
But i see you work with more complex metadata structures, so i will testing/experimenting with such structures :-)
### YAML POST TYPES ###
#
# DOGZONE
# ---
# title: @@@
# address: @@@
# city: @@@
# postcode: @@@
# coordinates: @@@    # lat, long
# tags: @@@           # weide, bos, zwemvijver, strand
# omheining: @@@      # 0/1 (false/true)
# agility: @@@        # 0/1 (false/true)
# parking: @@@        # 0/1 (false/true)
# zitbank: @@@        # 0/1 (false/true)
# afvalbak: @@@       # 0/1 (false/true)
# hondenpoepbuis: @@@ # 0/1 (false/true)
# closed: @@@         # 0/1 (false/true)
# private: @@@        # 0/1 (false/true)
# opp: @@@            # ha
# links:
#     @@@: @@@        # naam x: link x
# media:
#     @@@             # "%assets_url%/image-x.jpg"
# notes:
# date: @@@           # Adding date ex. 13/02/22
# update: @@@         # update ex. 15/03/22
# author: @@@
# template: dogzone
# SEO/Social
# description: @@@    # meta description
# keywords: @@@
# ---
#
# CITY
# ---
# title: @@@
# postcode: @@@
# coordinates: @@@    # lat, long
# notes:
# template: city
# ---
#
# PROVINCE
# ---
# title: @@@
# coordinates: @@@    # lat, long
# notes:
# template: province
# ---

Okay, the best way, using lowercase metadata!

I mean... 😓
The proper way is to use pico-theme.yml, but I seem to have accidentally given you a better idea. 😅
It does sound like your large dataset might benefit from just using lowercase though. 😉
(And that's a lot less work than defining each and every property in pico-theme.yml.  Ultimately, it's for your own use, so it doesn't really matter how you approach it.  That's what makes Pico so great. 😁 )
Also, using nested variables can help immensely when writing your Twig (even though it's not the "proper" way to handle metadata).  It can really help you keep things organized.
From my example above (shortened):
contact:
  title: Contact Me
  divider: star
  form:
    enabled: true
    action: /url.php
    method: POST

In Twig, this becomes {{ meta.contact.title }}, {{ meta.contact.form.action }}, {{ meta.contact.form.method }} and such.  This example comes from one big index.md file, so having these variable "organized" like this is a lifesaver. 😉
(Though, in my real code, I have the index page saved in a variable and I reference everything like {{ index.contact.form.action }}, etc).

some metadata is required, so adding '@@@'

I do the same thing when I need to remember to come back to something later while I'm working.  Usually a ### or <--.  Just something easily searchable that I know won't show up anywhere else in that file. 😉👍🏻

Maybe a suggestion: adding a 'cookbook'-page in the picocms-docs with nested variable structures and how render in twig

Idk... I think @PhrozenByte would probably frown at me convincing more people to make overcomplicated metadata structures instead of doing things "properly"... 🤔 😂
Not sure about adding it to the current cookbook (which needs some work... also, do we even link to this anywhere? I had to look up the url).  I did just add this to my notes for my ongoing / eventual Documentation Rewrite, since it does seem like a good "advanced tip". 😁
Glad it's working out for you! ❤

By the way, I'd been wondering before if dogzone was some kind of translation oddity that I wasn't aware of... but then I saw on your Twitter that you are in fact documenting zones for dogs. 🐶
So, very cool.  That seems like an admirable goal. 😁👍🏻

Idk... I think @PhrozenByte would probably frown at me convincing more people to make overcomplicated metadata structures instead of doing things "properly"... 🤔 😂

:satisfied: but, it would be useful, or only some 'basic' structures :smirk:

Glad it's working out for you! ❤

Thank you!

By the way, I'd been wondering before if dogzone was some kind of translation oddity that I wasn't aware of... but then I saw on your Twitter that you are in fact documenting zones for dogs. 🐶
So, very cool. That seems like an admirable goal. 😁👍🏻

Yes indeed and thx :pray:
I don't know how this names in english, so choose 'dogzones' :yum:
My goal/challenge is build a platform find dogzones for dogowners. In the first time adding all the dogzones, but i'm not so happy with the first version. I have another idea rebuilding this project: a fullscreen (leaflet)-map and geolocation.

My girlfriend and I just got a dog recently, a Dachshund/Yorkie mix or "Dorkie" (sounds like "Dorky": nerdy, geeky, etc 😂).  So, we're joining the ranks of the dog parents, lol.

I don't know how this names in english, so choose 'dogzones' 😋

I don't think there is an English word specifically for dog areas, so that works, lol.
It sounds like you'd probably need some Javascript in there at some point if you're doing an interactive map.  Random tip in case it helps: I learned recently that I could export Twig variables to Javascript easily using ), will get evaluated by Twig before Javascript (obviously, since JS is in the browser).  It wouldn't be any good for secure information, since it's printed right in the HTML source, but for public stuff it should work.  Just something I thought to share, since you're building that big YAML dataset.
I'm not a JS developer though, so I don't know much more about it than that.  Suppose the |json_encode filter could also be helpful to share data in JSON format (let me know if it comes to that though, since the next_page/previous_page variables on each page cause a pesky recursion error when trying to dump page data with it).
Anyway, just some randomness.  Shutting up now. 😅

A nerdy doggy :laughing: , ah a dog it is very cute to have, and it is always happy :smiley:
We have a Labradoodle since jan 2021, also a mix.
So the idea for my the dogzone-project, comes when searching for dogzones. It is hard to find dogzones, and not all the local-goverment-sites published this info, so the project (dogvalley.be) was born :blush:

It sounds like you'd probably need some Javascript in there at some point if you're doing an interactive map. Random tip in case it helps: I learned recently that I could export Twig variables to Javascript easily using

So that will make them capitalisation-insensitive (and whatever other rules apply to the theme's meta)?

Registered meta headers don't really make headers case insensitive, but rather rename them. So Tags: tags basically takes the original "Tags" header and renames it to "tags". Tags: foobar would rename the original "Tags" header to "foobar".

Will it become fully case-sensitive then, all lowercase recommended?

No final decisions were made, but I guess that we'll simply remove the header registering altogether, therefore you must make sure to match casing (i.e. if you choose "Tags" in your theme, you must use "Tags" in your Markdown files, and vice-versa). Trying to make headers case-insensitive yields the same inconsistencies for arrays, so it's probably best to just leave it as-is. But again, no decisions were made. Whether you want to use "Tags" or "tags" is a matter of personal preference.


Pysh Exceptions Module

Probably bad form to use the generic Exception object for everything...

[ ] /pysh/gp/operators.py: raise Exception("Tried to perform unknown genetic operator " + str(op))
[ ] /pysh/gp/selection.py:  raise Exception("Unknown selection method: " + str(evolutionary_params["selection_method"]))
[ ] /pysh/push/translation.py: raise Exception('Something bad found on paren_stack!')


same one line code but get different type.

import tensorflow as tf
import numpy as np

# 2.0.0-beta1
print(tf.__version__)

# [P1]Out result is: tensorflow.python.framework.ops.EagerTensor
print(type(tf.random.uniform([], maxval=1.0)))

def preprocess(n):
    # [P2]Out result is: <class 'tensorflow.python.framework.ops.Tensor'>
    print(type(tf.random.uniform([], maxval=1.0)))
    return n

ds = tf.data.Dataset.from_tensor_slices(tf.cast([1], tf.float32))\
.map(preprocess, num_parallel_calls=tf.data.experimental.AUTOTUNE)\
.repeat()

There is one line same code 'type(tf.random.uniform([], maxval=1.0))' in two positions [P1],[P2], but we got two different type, one is EagerTensor and the other is Tensor.
Some people know why? Thanks for your reading.

Hi,
I have an imprecise answer to your question, which should hopefully clarify things for you but might not be entirely accurate from a technical standpoint.
In version 2.0, Eager execution is enabled by default, hence any Tensor you create will be wrapped as an EagerTensor. This is what shows up at position [P1] in your code.
That being said, TensorFlow relies on building computation graphs, and when possible (basically, every time you use a "behind-the-scenes", possibly lower-level, mechanism) a single graph is being built which does not work in Eager mode and is maintained in the background to be reused on different Tensors (with similar specs). In your case, calling tf.data.Dataset.map on a function will trigger the conversion of this function (using Autograph and such) so as to define such a re-usable graph. Hence, in the body of the converted function (which is the one being actually called), processed Tensors are no longer Eager. This is also why you sometimes need to wrap some operations that cannot be converted with tf.py_function, so that they will be preserved "as-is" in spite of this behaviour (see an example in this tutorial).

By the way, no offence and I am happy to try to help you, but this is not an issue per se and would be better asked on a questions-answering website such as StackOverflow rather than here ;-)


How prevent fuzzing on payload requests and responses?

Hi all!
Is there a way to prevent the values on the payload samples (body and response)?
I'm not talking about tests, I'm talking about just the payload values.
Current output sample:
POST {{baseUrl}}/users
Request Body
{
    "location_id": "22ce599c-9df9-4b11-a88a-133777106ce7/",
    "last_name": "Smith",
    "contact_api_id": "137",
    "first_name": "John",
    "cell_phone": "1234567890",
    "contact_balance": 245.36,
    "city": "　wA9",
    "state": "I　 3W ",
    "company_name": "Excepteur occaecat",
    "header_message": "consequat",
    "date_of_birth": "2021-12-01",
    "home_phone": "1234567890",
    "office_ext_phone": "6592817177",
    "header_message_type": 0.3590225247425387,
    "zip": "1 1 1 1",
    "contact_c1": "nostrud adipisicing eu",
    "contact_c2": "nulla irure est exercitation",
    "contact_c3": "deserunt ut sit pariatur",
    "parent_id": "f2d615886c769305ec2ea7a4/",
    "email"<EMAIL_ADDRESS>}

200 OK - Response Sample
{
 "location_id": "33150fd1-6a8d-ac72-8dc0-d4c0b4504645/",
 "last_name": "Smith",
 "header_message_type": 2.215566275791744,
 "id": "a6ee5b782eb07a05d7890a21/",
 "created_ts": "1989-06-02T00:57:42.587Z",
 "modified_ts": "2011-05-18T05:40:00.874Z",
 "active": 0,
 "contact_api_id": "137",
 "first_name": "John",
 "cell_phone": "1234567890",
 "contact_balance": 245.36,
 "address": "Description",
 "city": "dq tY-i",
 "state": "3b3 ssa",
 "company_name": "anim",
 "header_message": "est in commodo",
 "date_of_birth": "2021-12-01",
 "home_phone": "1234567890",
 "office_phone": "1234567890",
 "office_ext_phone": "431836059 ",
 "zip": "72065",
 "contact_c1": "sit mollit Lorem",
 "contact_c2": "do sint sunt",
 "contact_c3": "fugiat eu",
 "parent_id": "92c87700f3f16114b8c8ad68/",
 "email"<EMAIL_ADDRESS>}

The openapi-to-postman lib for example would just define the values with the field type, as:
{
    "location_id": "<String>",
    "last_name": "<String>",
    "contact_api_id": "<String>",
    "first_name": "<String>",
    "cell_phone": "<String>",
    "contact_balance": "<Number>",
    "...": ""
}

My OpenAPI specification has examples values for all fields (which I would prefer to use), but I couldn't find any config option to turn this off.
I tried some fuzzing configuration with no luck...
Is this something possible with the current version (v1.13.0)?
Thanks!

Sorry, I found a problem with a regular expression on the "pattern" field that was generating this problem...


Documentation: how to generate a set of slides

I really enjoyed your juliacon presentation, it looks like this has great potential for creating tools to:

present slides from a terminal based on text files
make cool terminal UI for small applications

please include a folder with sample code to demonstrate how you made the presentation from juliacon2020.
juliacon 2020: Terminal User Interfaces in Julia
juliacon 2020: Terminal User Interfaces in Julia - YOUTUBE

I moved the issue here since it is more relevant to this repository. For the presentation at JuliaCon2020, all the code I used is located at this repository:
https://github.com/kdheepak/juliacon2020-terminal-user-interfaces-in-julia/
Currently, if you want to build something similar, you can look through the following links in this order:

https://kdheepak.com/TerminalUserInterfaces.jl/dev/usage/
https://github.com/kdheepak/TerminalUserInterfaces.jl/tree/master/examples
https://github.com/kdheepak/TerminalUserInterfaces.jl/tree/master/src/widgets
https://github.com/kdheepak/juliacon2020-terminal-user-interfaces-in-julia/blob/master/main.jl

The first shows you how to use this package. The second link has examples of widgets. The third is the link to the current list of widgets I've implemented. The last link is to the main.jl file I ran for the JuliaCon talk. It makes a slideshow for the presentation, where each slide is just a separate widget. It's a very custom implementation that I made just for the JuliaCon presentation, and I'm sharing it so that it can be instructive in how use TerminalUserInterfaces.jl. I don't imagine one will be able to use that main.jl file without any changes for a terminal presentation.
In the past, I've toyed with the idea of making slides directly from a Markdown document. Here is an older effort where I experimented with this:
https://github.com/kdheepak/Presentation.jl
This will work well for simple content, but it does not support something more dynamic / with animations.
Hope that covers everything. Let me know if you have more questions!

Perfect thanks!
Now I see this is included in repo TerminalUserInterfaces.jl
Looks like the presentation is available too, excellent.


[BUG] I get error 400 (Bad Request) in the getOAuthToken function

Expected Behavior
getOAuthToken should return a valid OAuth token.
Actual Behavior
It throws the following error message:
Warning! Error in getOAuthToken: 400 (Bad Request) from http://localhost/xxxxx/OAuthServer/connect/token
Steps to Reproduce

Enter values in all the fields in the form.
Click on the Submit button

Environment Details
Aras Innovator

Major version:  14.0
Service pack(s): SP12

Browsers

[ ] Internet Explorer 11
[ ] Firefox ESR
[x] Chrome
[x] Edge

Project Version
v2.0.0
Additional Details

Workaround / Solution
Have you found a workaround or solution to this issue?
No.
Collaboration
Are you willing to collaborate on this feature? Ex: sharing code, submitting a pull request, testing, etc.
Yes.

Had the same issue.  Found when using postman app and doing authentication by hand that the Innovator Server (2024) does not like the Content-Type to be multipart/form-data.   Seems to only work when it's "application/x-www-form-urlencoded".  The getOAuthToken(creds) function sets up the var token_body as a FormData object ... when the http request eventually gets made, that FormData object will cause the Content-Type to be multipart/form-data.  Which will faill with Error 400.   Fix is to manually set the header and use a string for token_body.
In the getOAuthToken(creds) ... REMOVE:
// build the OAuth token request
var token_headers = [];
    var token_body = new FormData();
    token_body.set("grant_type", "password");
    token_body.set("scope", "Innovator");
    token_body.set("client_id", "IOMApp");
    token_body.set("username", creds.user);
    token_body.set("password", creds.pwd);
    token_body.set("database", creds.db);

and REPLACE it with:
// build the OAuth token request
var token_headers = [
{ name: 'Content-Type', value: 'application/x-www-form-urlencoded' }
];
    // Example URL-encoded token body
    var token_body =
        "grant_type=password" +
        "&scope=Innovator" +
        "&client_id=IOMApp" +
        "&username=" + encodeURIComponent(creds.user) +
        "&password=" + encodeURIComponent(creds.pwd) +
        "&database=" + encodeURIComponent(creds.db);

Authentication succeeded after that.

Thanks, @gwagner613
That removed the authentication issue.
Unfortunately, uploading of the selected file fails with the following message:
Warning! 500 (Internal Server Error) from http://localhost/InnovatorServer/vault/odata/vault.CommitTransaction


Add ruby2_keywords to sequencer

Calling functions with keyword arguments from sequencer.rb produces keyword argument deprecation warnings in Ruby 2.7.
ruby2_keywords is added to Sequencer::OperationWrapper::method_missing function to fix the warning.
Sources:
https://eregon.me/blog/2021/02/13/correct-delegation-in-ruby-2-27-3.html
https://eregon.me/blog/2019/11/10/the-delegation-challenge-of-ruby27.html

The branch name as an internal Glia issue number. Since this is going to be public, there is no need for that.

This gem should be in the gemspec (I believe). https://github.com/ruby/ruby2_keywords.
Did you make sure the tests pass?

Since ruby2_keywords is needed, the minimum ruby version is 1.9.3. That doesn't make much sense to me. I think the minimum ruby version could be bumped to 2, but not sure which minor version.


Navigation to CoderDojo Tao when you have multiple Dojos

Normally to finish CoderDojo Tao I would follow the pop up displayed on 'My Dojos'. There is no other navigation to complete this which is problematic when you have multiple Dojos and only 1 pop-up shows at a time.
Would consider adding a direct navigation to complete Best Practice/Tao as it is not obvious. Suggestions on where to put this or alternative approach welcome.

@rosalanghammer What should be the new workflow now that'll be a e-learning module ?

Still have this as a TBD for multiple Dojos from our meeting notes.
@rossoneill was done for action to explore workflow for Champions with
multiple Dojos - any update on this?
Likelihood is that Tao will still come from 'My Dojos' as discussed but we
need to check on the possibility of multiple completions, each easily
linked to a Dojo.
On 2 May 2017 at 09:49, Wardormeur<EMAIL_ADDRESS>wrote:

@rosalanghammer https://github.com/rosalanghammer What should be the
new workflow now that'll be a e-learning module ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CoderDojo/community-platform/issues/951#issuecomment-298625881,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMO7IKNqZU1NgJvFBRqdmkoidbKTYy_Kks5r1yZngaJpZM4IFfch
.

--
Rosa Langhammer
Reporting Lead
@ CoderDojo Foundation
+353 872686 <+353+851088135>779 | @RosaLanghammer | Skype: rosa.langhammer l
https://mail.google.com/mail/u/0/#UNIQUE_ID_SafeHtmlFilter_ Github:
rosalanghammer
I'm currently working on UTC-3 from Santiago, Chile. Check out where I am
in the world next month here >>
https://coderdojo.com/news/2016/05/20/dojo-tour-the-coderdojo-foundation-on-the-road/
--
This month we're highlighting Online Safety & Recommended Practices for
Dojos; see how right here
https://coderdojo.com/news/2017/04/03/april-focus-on-online-safety-dojo-recommended-practices/
!
https://coderdojo.com/news/2017/04/03/april-focus-on-online-safety-dojo-recommended-practices/
--
Hello World Foundation operating as the CoderDojo Foundation is a company
limited by guarantee not having a share capital with charitable status, CHY
20812. Registered in Dublin, Ireland, No 524255. Registered Office:
Dogpatch Labs, Unit 1, CHQ Building, Custom House Quay, Dublin 1, Ireland.

I think the original concept was that a link would appear beside each Dojo at "My Dojos" page once verified. Each one would be unique for each dojo.

Ross not exactly what needed to be explored, more so the ability for you to
see each checklist being related to each Dojo on the e-learning portal, as
generally they are connected by user email. If everytime they have to be
reenrolled you may lose data from the previous checklist...unsure though so
if you could put this on your to-do list.
On 12 May 2017 at 12:57, rossoneill<EMAIL_ADDRESS>wrote:

I think the original concept was that a link would appear beside each Dojo
at "My Dojos" page once verified. Each one would be unique for each dojo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CoderDojo/community-platform/issues/951#issuecomment-301116137,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMO7IKOQr-Slm8yez6brW8vqI6V2Rm1yks5r5IGGgaJpZM4IFfch
.

--
Rosa Langhammer
Reporting Lead
@ CoderDojo Foundation
+353 872686 <+353+851088135>779 | @RosaLanghammer | Skype: rosa.langhammer l
https://mail.google.com/mail/u/0/#UNIQUE_ID_SafeHtmlFilter_ Github:
rosalanghammer
I'm currently working on UTC-3 from Santiago, Chile. Check out where I am
in the world next month here >>
https://coderdojo.com/news/2016/05/20/dojo-tour-the-coderdojo-foundation-on-the-road/
--
This month we are rewarding and recognising
https://coderdojo.com/news/2017/05/02/12874/ the efforts of youths and
volunteers across the CoderDojo community!
https://coderdojo.com/news/2017/05/02/12874/
--
Hello World Foundation operating as the CoderDojo Foundation is a company
limited by guarantee not having a share capital with charitable status, CHY
20812. Registered in Dublin, Ireland, No 524255. Registered Office:
Dogpatch Labs, Unit 1, CHQ Building, Custom House Quay, Dublin 1, Ireland.

Closing, Tao is no more


initial resolution fix

If scale is not 1, "size" boxes were initialized with already scaled values instead of physical display resolution; "modes" box was initialized empty and needed to be set manually. This might be the case of #3

Well, I didn't dig into it much, but it doesn't seem to work well. My actual outputs setup looks like this:

After your changes the program displays this:

Rotation seems to be broken.

I decoupled physical and logical resolutions everywhere to overcome this rotation bug. By physical I mean width and height from the output mode (not affected by rotations and scaling), and logical are the embedded into sway global coordinate space.

The Indicator window is broken: takes all the screen.


add .mvn/maven.config

This is a little change that allows external developers like me to define local maven.conig settings, for example adding additional repositories and credentials to work with the ee-modules.
It prevents accidentally checking in those additional maven config with other commits.

Thanks


Gen VI Pokémon not included.

It seems PokéAPI has the data for Gen VI Pokémon, but they aren't included on pokedex.org.

(I will attempt to PR for this but I'm waiting for the database to build)

Yup! I did this because the data from PokéAPI was not 100% complete. Also there is some missing data that I had to fill in manually by scraping Bulbapedia. (See src/js/shared/data for some of the stuff I had to manually include.)
That said, I would love to have the Gen VI Pokémon in there. It should be pretty easy to implement as well; we can either just 1) modify the live Cloudant database, changes get synced automatically, or 2) rebuild the pouchdb-load files, then rename the IndexedDB database stores so that the old versions get overwritten (probably the easiest option, TBH).

So in the ideal case, whatever you do should probably involve a fix to src/assets as well as the build scripts (which pull from the src/js/shared/data in some cases). Lemme know if you need help! :)

Is the data complete now for the 6th generation ?


Rename Item Filter to Copper Hopper

A small change, but perhaps rename the item filter to "Copper Hopper". Or just make a note saying that the item itself is not called Copper Hopper.
I spent a little while troubleshooting because I couldn't find the item in creative inventory or JEI by searching Copper Hopper. Found out after crafting it it's called "Item Filter".
Totally up to you but hey, I think it would be a good change. Also I think Copper Hopper sounds awesome

Heyo!
This is a great mod - but I'd like this too - just so it adheres to the other hoppers out there ;)
Cos at first I thought the recipe doesn't show up in JEI. I was about to write an issue about that until I saw this issue.


test: Update SAMPLE-AES test asset

It appears that playing a DRM muted audio-only asset fails on some platforms.
Switching from an audio asset to a video asset.

@shaka-bot test ce


[tmux 2.7] when scrolling seeing 'Repeat count invalid'; unable to scroll

Love the plugin but it seems not work with my tmux 2.7 setup.  I'm happy to paste config files if requested.

I just installed the current version (aa59077c63) and it is working flawlessly for me with tmux 2.7 in st 0.7 as well as xterm 333 under Arch Linux (The only functionality I really needed and tested was scrolling with the mouse in less).
I am not sure where the "Repeat count invalid" error message is coming from, as a quick search of the tmux repo as well as this repo does not seem to give any results.
Try temporarily disabling everything other than this plugin in your .tmux.conf and see if the problem persists, then piece by piece enable things again and see where it breaks.

I've got the same output when I set the scroll-speed-num-lines-per-scroll to 0.25.

scroll-speed-num-lines-per-scroll is the problem

when is set to 0.5 or 0.25, I got this error

the same, when is set to 0.5 or 0.25, I got this error


[SPARK-44629] Publish PySpark Test Guidelines webpage

What changes were proposed in this pull request?
This PR adds a webpage to the Spark docs website, https://spark.apache.org/docs, to outline PySpark testing best practices.
Why are the changes needed?
The changes are needed to provide PySpark end users with a guideline for how to use PySpark utils (introduced in SPARK-44629) to test PySpark code.
Does this PR introduce any user-facing change?
Yes, the PR publishes a webpage on the Spark website.
How was this patch tested?
Existing tests

cc @xinrong-meng and @itholic for review.  see https://github.com/apache/spark/blob/1984c012f2f3dc2ec42b7a02183d2164a1c2922d/python/docs/source/getting_started/testing_pyspark.ipynb to review

nit: Shall we consistently capitalize (or not) the first letter of each word in titles and subtitles for uniformity?

can we start this from [1] and remove the warnings?

Merged to master and branch-3.5.


Stopped working?

Just tried running it for a payment to a file server website (uploaded.net)
and i get an error: "Could not get data for the specified payment request"

What step do you get the error at? I've just tried to debitpay a BTC invoice - everything worked ok, it returned the address/amount data.

I've copied the payment link and it returns the error when i try to "convert" it.
Tried a couple of times getting the same error

Clicked Pay on uploaded.net, then chose BTC and entered email on the bitpay page, before copying the link, right?

Yap, exactly.
then on the bitpay page I chose Copy payment link (like always)
Only this time it wasnt working for me.
Are you not getting the same error? Maybe i should try a different browser?

Can you try to "debitpay" the invoice url in a private browsing window (ctrl/cmd + shift + n) with a VPN turned on (if you have one)?

This was actually done with a VPN on.
I'll give it a try.

Tried it for uploaded.net. Worked ok, in a private browsing window with VPN.

Это было на самом деле сделано с включенным VPN.
Я попробую.

Hello. I'm talking about your forgotten password topic from ETH. Please write me -<EMAIL_ADDRESS>

Tried it for uploaded.net. Worked ok, in a private browsing window with VPN.

Hi, thank you.
Can confirm it works on a private window with VPN on.
(Doesnt work on regular chrome window with VPN on)

Thanks for the confirmation!
It's probably related to some data stored by bitpay or uploaded.net in browser cookies and/or localstorage. Next time you might try to clear cookies and local stored data for bitpay and uploaded.net before making a payment - maybe it will solve the problem for non-private windows.


Fixed spelling error

synergy -> synergy
Title
On the title describe
what you've fixed (or created) with this Pull Request (PR).
Summary
Fixed one word spelling error
Fixes #Issue_Number

Note: The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.
Remove that line if you don't have issues associated with this
PR. Click on the Guidelines for Contributing link above for details.

Details
Explain your changes, and why you made them. If that
information is already available in the issue referenced
above, just referencing the issue is preferred to copying
the text.
This may not be necessary depending on the scope of the PR
changes. For example, "fix typo in introduction.md" is
sufficient to describe that PR.
Suggested Reviewers
If you know who should review this, use '@' to request a review.

Hi @jongalloway, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;


[FEATURE] Support management of replicated indices

Is your feature request related to a problem?
When a cluster uses Cross-Cluster Replication, the follower index gets marked as read only. This means ISM actions can't be used with a follower index unless the index explicitly stops replication. ISM should allow a follower index to have transition actions performed like migrating to warm/cold (e.g. the follower cluster should be able to mirror the leader cluster's ISM actions).
What solution would you like?
Follower clusters are able to use ISM actions to roll over and index to warm/cold tiers after the follower is caught up to the leader.
What alternatives have you considered?
Manually implementing this with an external automation (e.g. cron jobs, lambdas, etc.)

Catch All Triage - 1 2 3 4 5


[cloud_infra_center]Support bastion insert and clean .

FYI, happened to look and noticed the lint error is here


Question: TokenManager and redirectForLogout

I have an SPA application using TokenManager library.
I'm logged in into the application and I want to logout and show the Login Form again.

Thanks

You need to redirect to the OP if you want to logout of the token service. If you don't, then you don't have to do the redriect.

There is any option to redirect to the OP and show the login page in only one instruction? It will be a good idea?
Thanks

You can pass the OIDC prompt=login param to force re-authentication. Check the spec.

Thanks Brock!!!


[STORY] Realistic troop movements

As a player,
I want my units to move so that they form infantry regiments and avoid colliding with buildings on their way.
Conditions of satisfaction

[x] Units move in rectangular regiments
[x] Units choose a path that doesn't collide with buildings on the map

Technical details
This story will require a deep refactor of the current sendUnits() system, as well as changing some details about buildings, maps and paths. LibGDX offers libraries to make smooth paths from a list of points: Path interface and Splines.

Done! See e3d394f906d2c9f6306a42a14bf6396b276d4299 and ff32bdcfb07a6810fdff1cbff624c48ac919de3e


Add support for coredump_gdbserver in pipeline

Add support to coredump_gdbserver.py for running in a pipeline, communicating through stdin/stdout instead of a socket.
This allows starting it from inside gdb, with:
target remote | coredump_gdbserver.py --pipe <elf_file>  <log_file>

@nashif @mrkhldn Any chance of a second review?

@nashif can you take a look?


Saving the Image

Hi...Very usefull library.while saving the image the progress dialog appears and doesnt desappear anymore .it just remain turning.so i cant save the image..what to do for this?

What error are you getting in the logcat?

i rebooted my phone and it worked


Added sqlalchemy implicit dependecies

What does this PR do?
This pull request add two implicit dependencies of the sqlalchemy package
Why was it initiated? Any relevant Issues?
A compiled exe that use sqlalchemy with pyodbc or use the default_comparator module raise an import error without this

Just a small tip, you should use the autoformat as indicated in the template. It also formats strings, etc. in the yaml and does some sorting. Not a big deal for me to do it afterwards though, but with a commit hook it's automatic.


Keys should be unique error on code_search_net

Describe the bug
Loading code_search_net seems not possible at the moment.
Steps to reproduce the bug
>>> load_dataset('code_search_net')
Downloading: 8.50kB [00:00, 3.09MB/s]
Downloading: 19.1kB [00:00, 10.1MB/s]
No config specified, defaulting to: code_search_net/all
Downloading and preparing dataset code_search_net/all (download: 4.77 GiB, generated: 5.99 GiB, post-processed: Unknown size, total: 10.76 GiB) to /Users/thomwolf/.cache/huggingface/datasets/code_search_net/all/1.0.0/b3e8278faf5d67da1d06981efbeac3b76a2900693bd2239bbca7a4a3b0d6e52a...
Traceback (most recent call last):
  File "/Users/thomwolf/Documents/GitHub/datasets/src/datasets/builder.py", line 1067, in _prepare_split
    writer.write(example, key)
  File "/Users/thomwolf/Documents/GitHub/datasets/src/datasets/arrow_writer.py", line 343, in write
    self.check_duplicate_keys()
  File "/Users/thomwolf/Documents/GitHub/datasets/src/datasets/arrow_writer.py", line 354, in check_duplicate_keys
    raise DuplicatedKeysError(key)
datasets.keyhash.DuplicatedKeysError: FAILURE TO GENERATE DATASET !
Found duplicate Key: 48
Keys should be unique and deterministic in nature

Environment info

datasets version: 1.8.1.dev0
Platform: macOS-10.15.7-x86_64-i386-64bit
Python version: 3.8.5
PyArrow version: 2.0.0

Two questions:

with datasets-cli env we don't have any information on the dataset script version used. Should we give access to this somehow? Either as a note in the Error message or as an argument with the name of the dataset to datasets-cli env?
I don't really understand why the id is duplicated in the code of code_search_net, how can I debug this actually?

Thanks for reporting. There was indeed an issue with the keys. The key was the addition of the file id and row id, which resulted in collisions. I just opened a PR to fix this at https://github.com/huggingface/datasets/pull/2555
To help users debug this kind of errors we could try to show a message like this
DuplicateKeysError: both 42th and 1337th examples have the same keys `48`.
Please fix the dataset script at <path/to/the/dataset/script>

This way users who what to look for if they want to debug this issue. I opened an issue to track this: https://github.com/huggingface/datasets/issues/2556

and are we sure there are not a lot of datasets which are now broken with this change?

Thanks to the dummy data, we know for sure that most of them work as expected.
code_search_net wasn't caught because the dummy data only have one dummy data file while the dataset script can actually load several of them using os.listdir. Let me take a look at all the other datasets that use os.listdir to see if the keys are alright

I found one issue on fever (PR here: https://github.com/huggingface/datasets/pull/2557)
All the other ones seem fine :)

Hi! Got same error when loading other dataset:
load_dataset('wikicorpus', 'raw_en')

tb:
---------------------------------------------------------------------------
DuplicatedKeysError                       Traceback (most recent call last)
/opt/conda/lib/python3.8/site-packages/datasets/builder.py in _prepare_split(self, split_generator)
   1109                     example = self.info.features.encode_example(record)
-> 1110                     writer.write(example, key)
   1111             finally:

/opt/conda/lib/python3.8/site-packages/datasets/arrow_writer.py in write(self, example, key, writer_batch_size)
    341             if self._check_duplicates:
--> 342                 self.check_duplicate_keys()
    343                 # Re-intializing to empty list for next batch

/opt/conda/lib/python3.8/site-packages/datasets/arrow_writer.py in check_duplicate_keys(self)
    352             if hash in tmp_record:
--> 353                 raise DuplicatedKeysError(key)
    354             else:

DuplicatedKeysError: FAILURE TO GENERATE DATASET !
Found duplicate Key: 519
Keys should be unique and deterministic in nature

Version: datasets==1.11.0


Establish connection with Fhir

mostly create and interface for  repository to get patients
details in the commits

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 6

Complexity increasing per file
==============================
- src/In.ProjectEKA.HipService/Discovery/Matcher/ExactNameMatcher.cs  1
- test/In.ProjectEKA.HipServiceTest/OpenMrs/DiscoveryDataSourceTest.cs  1
- src/In.ProjectEKA.HipService/OpenMrs/OpenMrsClient.cs  1
- src/In.ProjectEKA.HipService/Discovery/Matcher/DemographicMatcher.cs  1
- src/In.ProjectEKA.HipService/Discovery/Ranker/ExactNameRanker.cs  1
- test/In.ProjectEKA.HipServiceTest/OpenMrs/OpenMrsClientTest.cs  3
- test/In.ProjectEKA.HipServiceTest/Discovery/FilterTest.cs  1
- src/In.ProjectEKA.HipService/OpenMrs/DiscoveryDataSource.cs  5
- src/In.ProjectEKA.HipService/OpenMrs/OpenMrsConfiguration.cs  1

Clones added
============
- test/In.ProjectEKA.HipServiceTest/OpenMrs/DiscoveryDataSourceTest.cs  2

Clones removed
==============
+ test/In.ProjectEKA.HipServiceTest/Discovery/FilterTest.cs  -3

See the complete overview on Codacy


feat: add chart with sample daily number of actions

adds a chart with sample daily number of actions
close #1

Hi all! So we are adding here a simple boilerplate chart to view the number of actions per day in the teacher's view for a space. Take a look, and if you have any suggestions/questions please let me know!

@hasanagh, did you have a look at these?

@juancarlosfarah  Hey! thanks for the review. yes will push my changes tonight.


[Node.js SDK] CardAction "imBack" on Facebook messenger posts back the Title and not the Message

Bot Info

Bot handle:
App ID:
SDK Platform: Node.js
SDK Version: 3.10.1
Active Channels: WebChat, Facebook
Deployment Environment: Auzure Bot Service

Issue Description
Im using a HeroCard and passing a "imBack" CardAction as shown in the example https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-send-rich-cards
When I test this on WebChat or Emulator it works as expected. When I use Facebook messenger however, it returns the Title instead of the Message
Code Example

Reproduction Steps

Print a card with an imBack CardAction
Click on the Action
See the message added to the chat

Expected Behavior
The message specified in the imBack CardAction is entered on behalf of the user
Actual Results
The title specified in the imBack CardAction is entered on behalf of the user

I just tested further. The bot prints the text provided in the Title, but the args.response contains the Message text

The Emulator prints the Message text on the chat instead of the Title
This behaviour should be consistent across channels

Same as #3555

#3555 is .NET. What about Node?


setup.py python-2.7 compatibility and ci checks

Codecov Report

Merging #71 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #71   +/-   ##
=======================================
  Coverage   91.25%   91.25%
=======================================
  Files          22       22
  Lines        1612     1612
=======================================
  Hits         1471     1471
  Misses        141      141

Flag
Coverage Δ

#unittests
91.25% <ø> (ø)

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 d73037e...59a1e39. Read the comment docs.


Feature/107/pipelines refactor

#107
Description
Adding conditional logic on the Terraform secure baseline ase deployment pipeline to:

Only execute deployment (tf apply) on push to main events (once PR is merged)
Added Production environment for Azure OIDC to control approval process for deployments
Only executes the plan steps on PRs to allow for external contributors to introduce changes without deployment into our environment
Added a pull request template for introducing changes going forward
Added conditional logic to the ASE resources on the TF deployment to allow for optional creation of ASE (specify ase name/rg name in the input parameters as shown on Parameters/uat.tfvars)

Type of Change
Please delete options that are not relevant.

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (readme)
[x] I did format my code

Adding conditional logic on the Terraform secure baseline ase deployment pipeline to:
Only execute deployment (tf apply) on push to main events (once PR is merged)
Added Production environment for Azure OIDC to control approval process for deployments
Only executes the plan steps on PRs to allow for external contributors to introduce changes without deployment into our environment
Added a pull request template for introducing changes going forward
Added conditional logic to the ASE resources on the TF deployment to allow for optional creation of ASE (specify ase name/rg name in the input parameters as shown on Parameters/uat.tfvars)


Refactor painting

Refactoring painting and switch to using wgpu-rs

Okay, so this PR do quite a bit of stuff:

Refactored renderer & kernel structure
Switched to using TCP instead of stdin/stdout for IPC communication
Switched to using wgpu-rs instead of Skia for rendering => no skulpin, just pixels-rs + winit
Clean up Kernel + Renderer Message Type
Supported rendering with shaders
Introduced new scaling bug


Use query sql instead of 'show proc "/xxxx"', in order to filter,aggregate or join

In clickhouse, there is a database named "system", user can use "select" to query metrics in ck. In order to query metrics by user define, can starrocks support the feature?

Did you mean the information_schema or other others?
What's the metrics you want to be implemented firstly?

Did you mean the information_schema or other others? What's the metrics you want to be implemented firstly?

One situation is :
I want get the replica num or replica size of table per backend node with ip. I should query many sql : show proc '/dbs/${dbId}'、show proc '/dbs/${dbId}/${tblId}/partitions'、show proc '/dbs/${dbId}/${tblId}/partitions/${partitionId}'、 show proc '/dbs/${dbId}/${tblId}/partitions/${partitionId}/${indexId}'、show proc '/backends' . And join or aggregate the result of them by code like java. If they can be joined by col, it can be released by sql without other language.


feat: improve default setup

The netlify.toml makes it that it's possible to deploy with no required value to input, see,

netlify deploy
Select Create & configure a new site
Enter an optional Site name

"build": "prisma generate && react-scripts build", is to never forget to run prisma generate 😄
binaryTargets = ["native", "rhel-openssl-1.0.x"] is required to make it possible to use Prisma when calling netlify deploy locally or it will error with
Invalid `prisma.player_scores.findMany()` invocation in/var/task/netlify/functions/getScores.js:32:48  29 var import_client = __toModule(require("@prisma/client"));  30 var prisma = new import_client.PrismaClient();  31 var handler = async (event, context) => {→ 32   const allScores = await prisma.player_scores.findMany(  Query engine library for current platform "rhel-openssl-1.0.x" could not be found.You incorrectly pinned it to rhel-openssl-1.0.xThis probably happens, because you built Prisma Client on a different platform.(Prisma Client looked in "/var/task/node_modules/@prisma/client/runtime/libquery_engine-rhel-openssl-1.0.x.so.node")Searched Locations:  /var/task/node_modules/.prisma/client  /workspaces/cockroachdb-typescript/node_modules/@prisma/client  /var/task/node_modules/@prisma/client  /var/task/node_modules/.prisma/client  /var/task/node_modules/.prisma/client  /tmp/prisma-engines  /var/task/node_modules/.prisma/clientTo solve this problem, add the platform "rhel-openssl-1.0.x" to the "binaryTargets" attribute in the "generator" block in the "schema.prisma" file:generator client {  provider      = "prisma-client-js"  binaryTargets = ["native"]}Then run "prisma generate" for your changes to take effect.Read more about deploying Prisma Client: https://pris.ly/d/client-generator

Hey Joël, thanks for the PRs! Reviewing might be a bit delayed because this week is CockroachDB's internal conference but we will take a look soon!


config file format description is missing from the user guide

CodeChecker check -f config.file is supported. Please describe the format.

Instead of a configuration file, command line configuration arguments can be forwarded directly to the analyzers. See analyzers help or documentation for the supported arguments.


[BUG] Failed to run healthchecks[...]: attempt to call field 'debug' (a nil value)

Describe the bug
I installed auto-session with lazy.nvim. None of its commands are available. In :checkhealth, I see this:
General Info ~
- ERROR Failed to run healthcheck for "auto-session" plugin. Exception:
  ...l/share/nvim/lazy/auto-session/lua/auto-session/init.lua:333: attempt to call field 'debug' (a nil value)

lazy's health check is fine.
To Reproduce
Steps to reproduce the behavior:

install NVIM v0.10.1 on macOS,
install auto-session with lazy.nvim,
start nvim,
notice that the commands that should be added by auto-session don't exist,
run :checkhealth and see the above error.

Expected behavior
Running :SessionSave should save my session. The health check should be clean.
Checkhealth
==============================================================================
auto-session: require("auto-session.health").check()

vim options ~
- OK vim.o.sessionoptions

Lazy.nvim settings ~
- WARNING Lazy.nvim is present but `lazy_support` is not enabled. This will cause problems when trying
  to auto-restore a session while the Lazy.nvim window is up. You probably want to add
  `lazy_support = true,` to your config (or remove the line that's setting it to false)
- OK auto-session is not lazy loaded

Config ~
- OK
  {}

General Info ~
- ERROR Failed to run healthcheck for "auto-session" plugin. Exception:
  ...l/share/nvim/lazy/auto-session/lua/auto-session/init.lua:333: attempt to call field 'debug' (a nil value)

Baseline (please complete the following information):

Result of set sessionoptions?: sessionoptions=blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions
OS. e.g uname -a: Darwin mba-2.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:21 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8103 arm64
Neovim version NVIM v0.10.1; Build type: Release; LuaJIT 2.1.1725453128
URL to your current config (if public): not public.

Additional context
This is a clean install with just a few plugins:
> tree -L 3
.
├── init.lua
├── lazy-lock.json
├── lua
│   ├── config
│   │   ├── lazy.lua
│   │   └── python.lua
│   └── plugins
│       ├── auto-session.lua
│       ├── lspconfig.lua
│       ├── none-ls.lua
│       └── nvim-tree.lua
└── pack
    └── nvim
        └── start

I don't see anything in the other files that would interact with auto-session.

This was a configuration mistake on my part, sorry to bother.


Add support for Python 3.11

Python 3.11 was recently released, we should add support for that

fixed as of 31/10/2022


Can't update GPG key if master key doesn't have "sign" as key usage flag

(This bug is a keybase infrastructure bug, rather than a bug in the client)
GPG allows different key usages for different keys, and it's good security practice to restrict key usage to a minimum.
I have a fairly typical setup:
Master key: only allowed to CERTIFY
Sub-key 1: only allowed decrypt
Sub-key 2: only allowed to sign
Here is the problem: I updated the expiration dates for my GPG sub-key (also good practice to expire them frequently and update the date from time to time). But in order to update the key in Keybase, Keybase requires a SIGNATURE from the Master Key. The Master Key, by design here can only certify and not sign messages.
This looks like an oversight.
Possible solutions:

Allow signature from any of the signing subkeys (probably best)
Just allow people to update their public keys at will as long as the fingerprint doesn't change and subkeys are not added/removed and expiration dates only move to the future. But this would be riskier to implement

Apologies, solution (1) already works: you accept signatures from signing subkeys just fine. Had made a mistake in my scripts.


[BUG] Connect the blind app to nillion-devnet

Describe the bug
I'm following the Quickstart Blind App page (https://docs.nillion.com/quickstart-blind-app) for building a blind app. But when I run the command
nillion-devnet --seed my-seed
I don't get my environment file written and it shows the file doesn't exist
How to reproduce
Add your steps to reproduce the behavior:

Go to https://docs.nillion.com/quickstart-blind-app
Click on 'nillion-devnet --seed my-seed' command to copy
Run the Command in your terminal
Observe the results

Expected behavior
Starting Nilchain Nodes, Funding nilchain Keys, environment file written

Screenshots

Code links
https://docs.nillion.com/quickstart-blind-app
Desktop (please complete the following information):

OS: WSL Ubuntu
Browser [e.g. chrome, safari]
Version [e.g. 22]

Optional - ETH Address
0x95D36a9d1C9D89c2053090C35cb98FbF0AB73e22

Hey @pravintargaryen - thanks for your report.
Did you mind checking your /tmp/.tmprvku8U/private-keys.txt and the yamls related to payments / bootnode and configuration?


Handling User Sent Images in Nodejs

I cant find any way to handle the images sent by the user to my BOT using the button to send the images in  send messages text-input . Is there any way to get the images ?

Implementation questions like this are better suited to the Bot framework tag at Stack Overflow, and we're trying to redirect people there. I have asked and answered your question there. You can see it at this link.
To summarize, if the user attaches something to a message it will be in the results.response array. You can access the first attachment with a simple results.response[0] (most channels only allow one attached image, so this is usually sufficient). This object has contentType and contentUrl properties, which you can use to do whatever you need to do. To insure you get an image, you can prompt the user to attach something using builder.Prompts.attachment. Of course they could attach any sort of file to their message, from a text file to a .zip, so you need to check that it's an appropriate file type.


Development resources are not available online

From the start script mentioned in README, resources are pulled from 'docker-testing-registry.suse.de', which is not publicly available; this renders development outside of 'suse.de' impossible.

close in favor of https://github.com/kubic-project/community/issues/1


EOS-25926: Adding 1 sec delay before sending EAGAIN

Problem: Hare not receiving entrypoint request after sometime
For some reason Hare is receiving multiple entrypoint request from motr within seconds.
And if Hare replies with EAGAIN if it is not ready them Hare stops receiving request
after sometime.
Solution: To fix above scenario we are introducing 1 sec delay before replying EAGAIN
This will slow down sender and Hare will receive re-request after 1 sec.
Please note that this will not affect scenarios where Hare is ready and replying with success
Signed-off-by: Swapnil Gaonkar<EMAIL_ADDRESS>Problem Statement

Problem statement

Design

For Bug, Describe the fix here.
For Feature, Post the link for design

Coding
Checklist for Author

[x] Coding conventions are followed and code is consistent

Testing
Checklist for Author

[ ] Unit and System Tests are added
[x] Test Cases cover Happy Path, Non-Happy Path and Scalability
[x] Testing was performed with RPM

Impact Analysis
Checklist for Author/Reviewer/GateKeeper

[ ] Interface change (if any) are documented
[ ] Side effects on other features (deployment/upgrade)
[ ] Dependencies on other component(s)

Review Checklist
Checklist for Author

[x] JIRA number/GitHub Issue added to PR
[x] PR is self reviewed
[ ] Jira and state/status is updated and JIRA is updated with PR link
[x] Check if the description is clear and explained

Documentation
Checklist for Author

[ ] Changes done to WIKI / Confluence page / Quick Start Guide

@knekrasov Yes, this implantation was discussed with motr team.
It was tested by Motr team only.
But alternative solution 1910 to this problem is already merged to K8 branch so closing this PR.
cc @mssawant


RRD graphs are obnoxiously large

I find it difficult to read with the extra large size of these graphs. The pixelated image actually makes it harder to look at even though it's bigger and easier to see. I would suggest making these a bit smaller.

I'm in total agreement with this.

Pull request submitted.

Merged, thanks! :)


the first query always fails after a CouchDbConnector created

I'm using ektorp-1.2.1.
I created a dbInstacne and using several CouchDbConnectors with this CouchDbInstance.
for the first few times, it works fine.
but at one point, the first query fails after a CouchDbConnector created.
here's the code summary

HttpClient httpClient = new StdHttpClient.Builder().connectionTimeout(0).socketTimeout(0).url(address).build();
CouchDbInstance dbInstance = new StdCouchDbInstance(httpClient);
CouchDbConnector dbCon = new StdCouchDbConnector("db_A", dbInstance);
//using dbCon for query.... (it works)
dbCon = new StdCouchDbConnector("db_B", dbInstance);
//using dbCon for query.... (it works)
dbCon = new StdCouchDbConnector("db_C", dbInstance);
//using dbCon for query.... (it works)
// i used same dbCon value as different connectors with a same dbInstance.
//FIXME : at some point, it won't work
dbCon = new StdCouchDbConnector("db_A", dbInstance);
ViewQuery query = new ViewQuery().designDocId("_design/A").viewName("viewName_A").key("keyA");
try {
ViewResult result = dbCon.queryView(query); // it throws an "SocketTimeoutException: Read timed out" exception.
} catch(Exception e){}
ViewResult result = dbCon.queryView(query); // now it works...

should i created different CouchDbInstance for different db?
or is this a bug?

Even we are facing timeout errors post increasing timeout to 12000 milliseconds, and to the extent of 900000 milliseconds.
This happens when we upload an attachment to db object and then try to get the data.
P.S. our application is deployed on Azure and there exists a load balancer at couchDB


gherkin: an alternative syntax to <...> for interpolating values into a Scenario Outline

Summary
Currently there is two constructs to encapsulate a DocString namely """ and ```. I'm wondering could such an option be added for interpolating values into a Scenario Outline|Template. Preferably any alternative syntax to <...> could be configurable too.
Current Behavior
The construct <...> works well in most cases however imo it introduces a usability issue when the syntax is used in conjunction with a DocString that has XML|HTML content. For example
Scenario Templates: The parser accepts formatted text
   Given some xml text
   """<xml>
   <xml><xmlHeader>Hello world!<xmlFooter></xml>
   """
   Given some html text
   """<html>
   <html><htmlHeader>Hello world!<htmlFooter></html>
   """
   Scenarios:
   | xmlHeader     | xmlFooter      | htmlHeader | htmlFooter |
   | <soap:Header> | </soap:Header> | <head>     | </head>    |

Possible Solution
The suggestion would be that we can have another variable syntax for example {{xmlHeader}} that has the same functionality as <xmlHeader>, etc. I think it reads much better when you use those formats. See below:
Given some html text
"""<html>
   <html>{{htmlHeader}}Hello world!{{htmlFooter}}</html>
"""

Note reason for {{...}} is that it's used in testing tools like postman plus template engine libraries for example Django that has implementations in Python, Java, JavaScript and C# AFAIK. Some other string interpolation syntaxes potentially to consider:
${foo} - EcmaScript, Perl, PHP, Bash, Dart, Groovy
$foo - Bash, Dart
#{foo} - Ruby, CoffeeScript
{foo} - JSX, Python 3.6

Context & Motivation
Imo it fixes a usability issue that comes about from using variable substitution with Scenario Outline|template in conjunction with a DocString when the content of the DocString is HTML|XML.

I understand the idea of having a syntax that can deal better with literal <> characters, but I also tend to think (and the core team may well disagree with me on this!) that literal XML/HTML is better suited for unit tests...

The context here is system testing. I don't agree with the assertion that literal xml/html is better suited for unit tests. In some cases maybe but for example testing of a soap web service which requires an xml payload should be tested at a level higher than unit level.
I also seen usage of xml|html like I presented above discussed in a PR
https://github.com/cucumber/cucumber/pull/292#pullrequestreview-71032820

@bhreinb In some cases maybe but for example testing of a soap web service which requires an xml payload should be tested at a level higher than unit level.
Agreed, but is Cucumber the right tool for acceptance testing that? I'm not sure I think it is. In general I think Cucumber excels at modeling UI interaction in user terms, not API testing. I've used it for APIs and don't really think it's the right tool, though I could be convinced otherwise.
And again, I want to stress that I'm not on the core team or in any way "official".

Well the topic has slightly diverged from what I submitted but maybe testing of SOAP web services is a lot of implementation detail for cucumber. They do say cucumber isn't an Automation API tool but it works well with other API automation tools

https://cucumber.io/docs/guides/api-automation/

In any case It really was to provide an example of xml|html within a DocString construct. The example arguably may not have been the best one to pick but happened to be the first that came to my mind 😬. Thanks for including a link to rspec btw.

@bhreinb That's not a link to RSpec; it's a link to a really amazing RSpec plugin for API testing and documentation.
I'll admit that I'm having trouble coming up with a situation where HTML or XML would be appropriate in a Cucumber scenario, so if you have a better example, I'd be really curious to see it.

I don't think these are examples of what most people would consider good gherkin. However being able to control which characters are interpreted as meta characters can improve readability. The two different ways to write a docstring are a good example of that. So in my opinion it is worth considering more in depth.
When using the docstring block we can either use the triple quotes """ so we do not have to escape triple back-ticks:

"""
It's very easy to make some words **bold** and other
words *italic* with Markdown.

GitHub also supports something called code fencing,
which allows for multiple lines without indentation:
```
if (isAwesome){
  return true
}
```
"""

Or we can use the triple back-ticks ``` so we do not have to escape quotes.

```
"""
Change will not come if we wait for some other person
or some other time. We are the ones we've been
waiting for. We are the change that we seek.
"""
~ Barack Obama
```

The nice thing here from a syntax perspective is that the Gherkin syntax determines which characters are considered meta characters in the doc string. The scenario outline however lacks these hints:

Scenario Outline: Famous quotes
  Given a
  And a
  Then our tile is laid out as
  ```
  """

  """
  ~
  ```

Examples:
  | person       | quote  |
  | Barrak Obama | Change will not come if we wait for some other person\nor some other time. We are the ones we've been\n  waiting for. We are the change that we seek. |
  |

When processing the examples for this feature file there is no information that can hint what the special characters should be. In fact, as far as Gherkin is concerned the < and > aren't even special characters. The strings <person> and <quote> are replaced as part of a post processing step. Any other bracketed words are ignored.
And this brings us to the impossibility of merely adding {{ and }} as special characters. Suppose that {{ and }} were introduced in addition to < and >. The example below would be rather ambiguous.
"""xml
<person>{{person}}</person>
"""

And when used the other way around, for example to test a moustache template it would be a breaking change:
"""mustache
{{person}} <person>
"""

So without solving the problem of hinting what symbols should bracket a replacement I don't think this can be added.
Note: I do not consider a configuration option to be a valid solution. Gherkin should be self contained. It is simply not practical to pass this configuration along to all sorts of different tools that might process it. I would also not consider using a heuristic to guess what the replacement characters could be.

@mpkorstanje I mostly agree with what you've said here, but I think a configuration option might be a possibility if it could be in the Gherkin file itself, so that the Gherkin parser could deal with it transparently to whatever Cucumber implementation it's working with.
Example of possible syntax:
@{{delimiter}}
Scenario Outline: I can use braces as delimiters!
  Given I am logged in as {{email}}
  When I go to the home page
  Then I should see "Hello, {{name}}!"

  Examples:
    | email           | name     |
    |<EMAIL_ADDRESS>| Joe User |

I don't know if this is worth doing, but it would at least address some of the possible objections...

Hi there,
A couple of things to address:
From a purist BDD point of view having XML|HTML in a gherkin document per say probably is verbose. But that would also be the case for JSON|YAML imho. I guess if it's at odds with the philosophy of gherkin usage then should it be allowed in the first place at all or referenced as a use case albeit not a major one 😄 per this comment https://github.com/cucumber/cucumber/pull/292#pullrequestreview-71032820 .
I don't quite follow how the pattern {{...}} would be ambiguous but maybe I'm biased on that. In addition, I'd be very surprised to see something like mustache referenced within the context of a DocString. I would think that is far more improbable than specifying a data interchange format (XML|JSON|YAML) or markup snippet like HTML.
The suggestion for a configurable syntax came about from a discussion on slack around this:
https://cucumberbdd.slack.com/archives/CEE9L148J/p1589807524014900

I suggest making it configurable, then you don’t have to have an opinion (other than <..> being the default)

which in fairness I'm in agreement with.

I find it pretty interesting to have another way to interpolate data coming from the examples table.
And even if I'm not a big fan of the HTMl in the scenarios (too low level from my point of view), the reality I that lots of people use Cucumber and other BDD related tool this way. I think it's more interesting to let people write "bad" Gherkin and help them move toward good practices than blocking them at the beginning.
For the tag annotation on the other side, I don't think it would be a good way a marking the scenarios as interpolating from moustaches instead of <>.
Maybe a magic comment as this is done with most linting tool ?
// gherkin: use-mustaches
Scenario Outline: I can use braces as delimiters!
  Given I am logged in as {{email}}
  When I go to the home page
  Then I should see "Hello, {{name}}!"
  And I should see "Today's math fact: 3 < 5 > 2" # literal < and >

  Examples:
    | email           | name     |
    |<EMAIL_ADDRESS>| Joe User |

But again this adds data which may distract from the feature content.
That should be ok for developers (we're kinda used to skip over comments), but when using the feature as a way to discuss with non-technical people, it could be a slight issue.

Maybe a magic comment as this is done with most linting tool ?

We do this for the encoding in Cucumber-JVM. Thought it is not part of Gherkin.

could be nicer if that's set at the feature level and not the scenario level ? like setting the language (which is part of Gherkin this time)

Command line argument perhaps?

Command line argument perhaps?

Gherkin should be self contained. It is simply not practical to pass this configuration along to all sorts of different tools that might process it.

@mpkorstanje Seems like it would be practical, but there’s another issue at work: command line (or config file) is the wrong granularity, because this should be able to vary per scenario, hence my suggestion of tags (or magic comments, as @vincent-psarga suggested).

Having the granularity at scenario level does seem like overkill imho...I'd be surprised if an engineer had two syntaxes constructs like so <...> or {...} within the same feature file...in any case if this was such an issue then the tests that have the alternative syntax essentially could be maintained in another feature file.

Okay so we'd have something like:
# language: fr
# encoding: ISO-8859-1
# interpolation: double-curly-brackets
Fonctionnalité: Concombres fractionnaires

  Plan du Scénario: dans la ventre
    Étant donné j'ai {{nombre}} concombres fractionnaires
  Exemples:
    | nombre |
    | 5,5    |

This altogether looks less hideous then what I expected.
Would anybody like to bikeshed over the naming options?
# interpolation: angle-brackets
# interpolation: double-curly-brackets

I've picked the terms used by wikipedia but I can imagine there are other names that work.

https://en.wikipedia.org/wiki/Braces_(punctuation)#Curly_brackets
https://en.wikipedia.org/wiki/Braces_(punctuation)#Angle_brackets

Sure, if we’re bikeshedding, I’d kind of rather that we not have prenamed interpolation strategies. Rather, accept any characters satisfying \S and \W with a directive something like $[<placeholders>] (picking a hideous example for sake of argument).
Also, I really don’t want comments used for Gherkin processing directives. Hot comments are evil. Better to have a separate syntax if we need them.

I am not a fan of hot comments either. It looks just fine without in the example below. Though currently hot comments are used to indicate the language and encoding. A consistent appearance makes the syntax easier. I think that is more important then avoiding hot comments. Especially since that ship has sailed.
language: fr
encoding: ISO-8859-1
interpolation: double-curly-brackets

Fonctionnalité: Concombres fractionnaires

  Plan du Scénario: dans la ventre
    Étant donné j'ai {{nombre}} concombres fractionnaires
  Exemples:
    | nombre |
    | 5,5    |

I’d kind of rather that we not have prenamed interpolation strategies.

I can see that working. With a pattern (\S\W)+(\w\s)+(\S\W)+. Where the capture groups define the boundaries.
#interpolation: {{placeholder}}

OK, I wasn't aware that hot comments were already in use, since I've never actually needed to use them for anything. Yuck. :)
Also, I think you mean (?=\S)\W or something like that instead of \S\W. (Why yes, I do play regexcrossword.com. How did you guess? :D )

Oh, duh. [^\s\w].

While it might be a fun exercise to get this right, I think I'd rather avoid potentially shooting ourselves in the foot by allowing everything and having to go back on that.
I think that #${}<>()[] should allow users to construct an obvious replacement pattern in most content types. Can anyone come up with an example of a content type where this is not the case?

@mpkorstanje:

I think I'd rather avoid potentially shooting ourselves in the foot by allowing everything and having to go back on that at some point in the future.

What risk are you envisioning there? Personally, I don’t want to be too arbitrary...

Can anyone come up with an example of a content type where this is not the case?

Any content type at all. I basically would like the user to have free choice of the most sensible delimiters for his or her scenario. (Also, I’d add '"‘’\“”„«»` to that minimal list, as well as some bracketing characters in Asian scripts...)

So possibly using hot comments may solve the above feature request? I wasn't aware hot comments were used to indicate language or encoding interesting.

Hi There,
I'm happy to submit a PR for the above in the next few weeks (whenever I get some free time to do this) via the hot comment approach suggested above assuming it would get merged?

I currently do not have the bandwidth to attend to this. I doubt any of the other maintainers has at the moment.

To accept a PR? I don't have the time to send one now anyway in any case but in a few weeks I assume somebody could?

Gherkin is currently maintained for the following languages:

Go
JavaScript/TypeScript
Ruby
Java

In order for us to accept a pull request, it would have to update all the maintained implementations.

I could do two of the items listed above Java & JavaScript/TypeScript. Unfortunately I haven't had any exposure to the other languages referenced above though 😞.

I guess you could submit a PR for those languages and wait for someone else to complete it with the remaining ones. The simpler the changes are, the quicker it will be for someone else to port over.


envoy: Update to release 1.10

Update Envoy to release 1.10.
Envoy uses protoc-gen-validate v0.0.13, so update to the same using
the SHA (4349a359d42fdfee53b85dd5c89a2f169e1dc6b2).
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

This change is

test-me-please

Coverage increased (+0.05%) to 42.609% when pulling db9c44f88b06fcd374d80c195ff40ce2cf04ccf0 on pr/envoy-1.10-rebase into 3ad7ed9b959113d3daf55bff7e32fff18acc2119 on master.


Unlisted dependencies flags local files

If I use a local file as a dependency for a plugin supported by knip, knip flags that file. knip should ignore local files when determining "Unlisted dependencies".
Example:
// typedoc.json
{
  "plugin": ["./dist/index.cjs"],
}

Short version: that's a bug, should be fixed.
Long version: I once started out writing plugins with the idea that they are in a better position to handle this themselves for a few reasons:

Relative specifiers from extended configs (so that they can't be resolved properly anymore somewhere else)
Some tools have special syntax, e.g. as Jest has <rootDir>
Implicit relative specifiers, as supported by TypeScript (e.g. dir/module where dir could also be a package in `node_modules)

That's also why some plugins return both dependencies and entryFiles. All of this turned out to be unnecessarily complicating this at the plugin side, so now I've refactored things and it seems to make a lot of sense to handle this centrally. Also, it should be easy and fun to write plugins without having to worry about this: just return a single array of dependencies.
I'm working on releasing this in v2 alpha now, and then backporting it to v1 as well.

It's in v2.0.0-alpha.6. Next step is to port it back into v1.

On a sidenote: does knip currently support package self-referencing?

On a sidenote: does knip currently support package self-referencing?

That's not something I explicitly took into account, no.

and then backporting it to v1 as well.

Unfortunately, I would have to backport too many other things from v2, so for now I simply tried to fix the issue for this particular plugin. The generic fix is in v2.


Number of messages to sign on Open Channel

Thanks for filing a bug report :-)
Steps to Reproduce

Click on "Open Channel"

Expected Result

I get the message, that I have to sign 4 messages (or 5 -> I am not 100% sure)

Actual Result

I get the message, that I have to sign 2 messages

Additional Infos (Optional)
- Browser & version
- Browser console errors
- Device / OS

Opening a channel is 3 on-chain transactions normally, one to open the channel and two to approve and deposit the tokens to the said channel.
This dialog's text refers to the approval and deposit transactions and was initially introduced because we didn't have a way to separate the approval step from the deposit step. So initially we intended to have a 3 step/message dialog but since we could not differentiate between the last two steps, this dialog message was introduced.

Ah ok, that's confusing. Closing the issue.


Apply ListTile colors to leading and trailing text widgets

Applies text colors to Text widgets present in leading and trailing widget subtrees.
I opted for theme.textTheme.bodyText2 as the basis for the text styles since that would apply the default material text styles (such as size and font) other than the color behaviors, which would be the least breaking route of applying the disabled/selected/default colors to the subtrees.
Fixes https://github.com/flutter/flutter/issues/73781.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I signed the CLA.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Another rare scene, if the ListTile.title or ListTile.subtitle is an icon widget, what should we do?

Another rare scene, if the ListTile.title or ListTile.subtitle is an icon widget, what should we do?

@xu-baolin Hmm, I think we definitely want to address that case as well at some point. I'm surprised that that hasn't come up as a problem yet. I'll file an issue about it (https://github.com/flutter/flutter/issues/73933)

@xu-baolin Hmm, I think we definitely want to address that case as well at some point. I'm surprised that that hasn't come up as a problem yet. I'll file an issue about it (https://github.com/flutter/flutter/issues/73933)


Bugfix: Multi-hop etcd upgrade

Description

fix a glitch in the upgrade planning for multi-hop upgrades that selects the wrong etcd base version
Type of change

Bug fix (non-breaking change which fixes an issue)

Linked tickets and other PRs

Closes #, refs #

Requires #

Ports #

TODOs

[ ] Self-review the change
[ ] Write tests
[ ] Perform manual testing
[ ] Write documentation
[ ] Address review feedback

Implementation

Performance/Scaling

Testing done

Additional information

The PR is missing vital information. Please describe the steps needed to reproduce the issue. More info about the issue and what testing was done to prove that it is working now.

INTERMEDIATE_UPGRADE_MAP[5.5.10]="centos:7" is an integration test that exercises multi-hop upgrades by our integration tests. This test had been disabled due to the failure. This PR fixes the code under test and re-enables the integration test.


feat(Banner)!: Banner new visual identity [GM-123]

Overview
Simple redux of Banner updated with the new visual identity.   This component is really only used in one component on the monolith. and will be updated in place.
The API has been flattened to reflect more limited options.  The container itself will eventually be migrated to use Card.

Updates banner with new visual identity
Adds 2 Color Modes: Navy | Yellow

PR Checklist

[x] Related to designs: Figma
[x] Related to JIRA ticket: GM-123
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

Screenshots

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.42-alpha.29c983.0@codecademy/gamut-labs@10.0.8-alpha.29c983.0@codecademy/gamut-styles@8.0.2-alpha.29c983.0@codecademy/gamut-tests@2.0.2-alpha.29c983.0@codecademy/gamut@23.0.2-alpha.29c983.0@codecademy/markdown-overrides@0.5.2-alpha.29c983.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602ca797bac97f3e6f52d567--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.42-alpha.c0dd41.0@codecademy/gamut-labs@10.0.8-alpha.c0dd41.0@codecademy/gamut-styles@8.0.2-alpha.c0dd41.0@codecademy/gamut-tests@2.0.2-alpha.c0dd41.0@codecademy/gamut@23.0.2-alpha.c0dd41.0@codecademy/markdown-overrides@0.5.2-alpha.c0dd41.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602ca9b2bea2ed40853f15c3--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.43-alpha.81ea71.0@codecademy/gamut-labs@10.0.10-alpha.81ea71.0@codecademy/gamut-styles@8.0.2-alpha.81ea71.0@codecademy/gamut-tests@2.0.2-alpha.81ea71.0@codecademy/gamut@23.1.1-alpha.81ea71.0@codecademy/markdown-overrides@0.5.2-alpha.81ea71.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602d531106370a21fd5c52d9--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.44-alpha.24c42b.0@codecademy/gamut-labs@10.0.11-alpha.24c42b.0@codecademy/gamut@23.2.1-alpha.24c42b.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602d57884a42901c22cc7e6d--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.44-alpha.53a8e7.0@codecademy/gamut-labs@10.0.11-alpha.53a8e7.0@codecademy/gamut@23.2.1-alpha.53a8e7.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602d6086d033101cc6cbdbd4--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.44-alpha.63572d.0@codecademy/gamut-labs@10.0.11-alpha.63572d.0@codecademy/gamut@23.2.1-alpha.63572d.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602d6e2e37aefc2d115140a1--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.4.44-alpha.5a2ab8.0@codecademy/gamut-labs@10.0.11-alpha.5a2ab8.0@codecademy/gamut@23.2.1-alpha.5a2ab8.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602d782ac233053834f52b4f--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@3.15.1-alpha.c24d20.0@codecademy/gamut-illustrations@0.4.44-alpha.c24d20.0@codecademy/gamut-labs@10.0.11-alpha.c24d20.0@codecademy/gamut@23.2.1-alpha.c24d20.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602d7ffc3e13ab41ee371947--gamut-preview.netlify.appDeploy Logs

🚀 Styleguide deploy preview ready!https://602d83370d211f4221f103a9--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@3.15.1-alpha.dfca17.0@codecademy/gamut-illustrations@0.4.44-alpha.dfca17.0@codecademy/gamut-labs@10.0.11-alpha.dfca17.0@codecademy/gamut@23.2.1-alpha.dfca17.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/gamut-icons@3.15.1-alpha.bbee3d.0@codecademy/gamut-illustrations@0.4.44-alpha.bbee3d.0@codecademy/gamut-labs@10.0.11-alpha.bbee3d.0@codecademy/gamut@23.2.1-alpha.bbee3d.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602e8f8513921644d5af414d--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-icons@3.15.1-alpha.0b07a4.0@codecademy/gamut-illustrations@0.4.46-alpha.0b07a4.0@codecademy/gamut-labs@10.0.13-alpha.0b07a4.0@codecademy/gamut@24.0.1-alpha.0b07a4.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://602ec5dc9b4cfc1a331e5565--gamut-preview.netlify.appDeploy Logs


Update SequencerRepair-ODS integration

Added: write an ODS summary to a file after classification.
Added: support to store ODS summary and files when running the pipeline in docker mode.

Signed-off-by: Javier Ron<EMAIL_ADDRESS>

Thanks Javier, @martinezmatias would you review and merge?

Converted to draft until I fix the broken test.

Hi @monperrus, yes, I will review this PR.

@martinezmatias @monperrus PR is ready.
CI failure in maven-repair module is unrelated.

Thanks @javierron


chore: update release workflow

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

Project coverage is 100.00%. Comparing base (23116cc) to head (59682d5).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #376   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           41        41
  Lines         3662      3662
=========================================
  Hits          3662      3662

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


Update expose-intro.html and solve #19636

Related to #19636
This PR removes the side note, because it is not working  ...
I tried to create a deployment using the expose flag
$ kubectl create -f deployment.yaml --expose

and the result was:
Error: unknown flag: --expose
See 'kubectl create --help' for usage.

env:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}

/assign @tengqm

#19625

Deploy preview for kubernetes-io-master-staging ready!
https://deploy-preview-19637--kubernetes-io-master-staging.netlify.com/docs/tutorials/kubernetes-basics/expose/expose-intro/

@viniciusbds - looks like you're on the money, as the kubectl docs call for it to be used as kubectl expose ... instead of using it as a flag. Good catch.

/lgtm
/approve


Init with ForEach

Users would be able to init Grid with ForEach
Grid {
    ForEach(0...100, id: \.self) { _ in
        Rectangle()
             .foregroundColor(.random)
             .frame(height: 20)
        }
}

This will also later allow for complex layouts and #7


Voltronic Axpert MKS IV 5.6kW compatible

Hello Sebastian,
It's amazing your contribution for the community, I found you in esphome-jk-bms and now here.
I'm struggling to put the docker-voltronic-homeassistant to work, and then I found in HA forum your post about this ESPhome version, that I'd like to try since I'm more familiar with ESPhome than Docker stuff. Actually I was getting data in HA from my inverter, but sometimes I lose connection. In Docker I was getting "unhealthy" status, I decided to install everything again but now I'm not getting any data at all in HA, so I'm here.
I was looking for your ESPhome yaml file and did not find any way to define the QPIRI, QPIWS, QMOD and QPIGS value, like in the Docker version?
How is this made?
Do you think my inverter will by compatible?
Thanks
André Magro

Nice to see you here, too! :-) How many PV strings does your inverter support? One or two?

It only have ha one PV input
I don't know if this information is relevant, but I leave it here:
Main CPU Firmware Version: 00074.01
Secondary CPU Firmware Version: 00030.00

In this case you should give it a try with the official component included in espbome. If it doesn't work out of the box please increase the log level to debug and post some logs here.

Hello @syssi,
I only see the reference to configure mqtt in secrets, but is not also necessary to declare in the yaml file?

You have to extend the secrets.yaml by additional key-values. If you use Home Assistant please remove the mqtt section and add api: instead.

Hello @syssi,
After being blessed with the miracle of life, I became a dad! Now I'm back to this fight.
So, I'm getting timeouts:

Just a note, based on this comment I connected the inverter directly to the ESP32. So i don't know if the timeouts are due to this direct connection. I have a RS485 module, do you think I can connect it to the inverter and ESP32, or should it be a RS232 module?

This is how it is connected.

And this is the yaml code.
esphome:
name: inv-voltronic
esp32:
board: esp32dev
framework:
type: arduino
logger:
api:
encryption:
key: "y9H5HQINyIv3kfx07vNKzHlfrP1Pqi77U5ZaPI+Fc4U="
ota:
password: "5a15ebc8158de6088366b81c1d3142d0"
wifi:
ssid: !secret wifi_ssid2
password: !secret wifi_password2
ap:
ssid: "Inv-Voltronic Fallback Hotspot"
password: "Aym9t8ksVJHj"
captive_portal:
uart:

id: uart_bus
tx_pin: GPIO18
rx_pin: GPIO19
baud_rate: 2400

pipsolar:

uart_id: uart_bus
id: inverter0

sensor:

platform: pipsolar
pipsolar_id: inverter0
grid_rating_voltage:
id: inverter0_grid_rating_voltage
name: inverter0_grid_rating_voltage
grid_rating_current:
id: inverter0_grid_rating_current
name: inverter0_grid_rating_current
ac_output_apparent_power:
id: inverter0_ac_output_apparent_power
name: inverter0_ac_output_apparent_power
ac_output_active_power:
id: inverter0_ac_output_active_power
name: inverter0_ac_output_active_power

Tks

Congratulations! :-) You should disconnect the ESP as soon as possible. The logic level of a RS232 connection is -12V / +12V. The logic level of an ESP is 0V to 3.3V. The level shifter / RS232 to TTL converter is super important.

Hmmm.. if you are sure the logic level of the RJ45 jack is 0V/3.3V and not -12V/+12V you should try to swap RX/TX because the TX pin of the inverter must be connected to the RX pin of the ESP and vice versa.

Congratulations! :-) You should disconnect the ESP as soon as possible. The logic level of a RS232 connection is -12V / +12V. The logic level of an ESP is 0V to 3.3V. The level shifter / RS232 to TTL converter is super important.

I probably toasted the GPIOs of the ESP.
Between the TX and GND from inverter I'm getting -13.4V.
Do you think there is any problem using the RS485 module?

Hello, have you resolve the problem timeout?

Hi Syssi I had the timeout issue and solved it swapping Rx and Tx (I am using the Max3232 level shifter as per your schematics).
But now I read all zeroes, here is my log:

INFO Reading configuration /config/esphome/voltronic1.yaml...
INFO Starting log output from pipsolar/debug
INFO Connected to MQTT broker!
[09:57:35][D][sensor:127]: 'pipsolar output_mode': Sending state 0.00000  with 1 decimals of accuracy
[09:57:35][D][uart_debug:158]: >>> "QPIGS\xB7\xA9\r"
[09:57:35][D][pipsolar:838]: Sending polling command : QPIGS with length 5
[09:57:35][D][uart_debug:158]: <<< "QPIGS\xB7\xA9\r"
[09:57:35][D][pipsolar:772]: checking crc on incoming message
[09:57:35][D][pipsolar:775]: CRC OK
[09:57:35][D][pipsolar:448]: Decode QPIGS
[09:57:35][D][sensor:127]: 'pipsolar grid_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar ac_output_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar ac_output_apparent_power': Sending state 0.00000 VA with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar ac_output_active_power': Sending state 0.00000 W with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar output_load_percent': Sending state 0.00000 % with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar battery_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar battery_charging_current': Sending state 0.00000 A with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar battery_capacity_percent': Sending state 0.00000 % with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar inverter_heat_sink_temperature': Sending state 0.00000 °C with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar pv_input_current_for_battery': Sending state 0.00000 A with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar pv_input_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar battery_voltage_scc': Sending state 0.00000 V with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar battery_discharge_current': Sending state 0.00000 A with 1 decimals of accuracy
[09:57:35][D][sensor:127]: 'pipsolar pv_charging_power': Sending state 0.00000 W with 1 decimals of accuracy
[09:57:36][D][uart_debug:158]: >>> "QMODI\xC1\r"
[09:57:36][D][pipsolar:838]: Sending polling command : QMOD with length 4
[09:57:36][D][uart_debug:158]: <<< "QMODI\xC1\r"
[09:57:36][D][pipsolar:772]: checking crc on incoming message
[09:57:36][D][pipsolar:775]: CRC OK
[09:57:36][D][pipsolar:471]: Decode QMOD
[09:57:36][D][text_sensor:067]: 'pipsolar device_mode': Sending state 'M'
[09:57:37][D][uart_debug:158]: >>> "QPIRI\xF8T\r"
[09:57:37][D][pipsolar:838]: Sending polling command : QPIRI with length 5
[09:57:37][D][uart_debug:158]: <<< "QPIRI\xF8T\r"
[09:57:37][D][pipsolar:772]: checking crc on incoming message
[09:57:37][D][pipsolar:775]: CRC OK
[09:57:37][D][pipsolar:429]: Decode QPIRI
[09:57:37][D][sensor:127]: 'pipsolar grid_rating_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[09:57:37][D][sensor:127]: 'pipsolar output_source_priority': Sending state 0.00000  with 1 decimals of accuracy
[09:57:37][D][sensor:127]: 'pipsolar charger_source_priority': Sending state 0.00000  with 1 decimals of accuracy
[09:57:37][D][sensor:127]: 'pipsolar output_mode': Sending state 0.00000  with 1 decimals of accuracy

I am using MQTT, here it is my config:

substitutions:
name: pipsolar
esphome:
name: ${name}
platform: ESP32
board: esp-wrover-kit
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ota:
logger:
baud_rate: 0
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username
password: !secret mqtt_password
id: mqtt_client
uart:

id: uart0
baud_rate: 2400
tx_pin: GPIO1
rx_pin: GPIO3
debug:
direction: BOTH
dummy_receiver: false
after:
delimiter: "\r"
sequence:
- lambda: UARTDebug::log_string(direction, bytes);

pipsolar:
uart_id: uart0
id: inverter0
sensor:

platform: pipsolar
pipsolar_id: inverter0
grid_rating_voltage:
name: "${name} grid_rating_voltage"
output_source_priority:
name: "${name} output_source_priority"
charger_source_priority:
name: "${name} charger_source_priority"
output_mode:
name: "${name} output_mode"
grid_voltage:
name: "${name} grid_voltage"
ac_output_voltage:
name: "${name} ac_output_voltage"
ac_output_apparent_power:
name: "${name} ac_output_apparent_power"
ac_output_active_power:
name: "${name} ac_output_active_power"
output_load_percent:
name: "${name} output_load_percent"
battery_voltage:
name: "${name} battery_voltage"
battery_charging_current:
name: "${name} battery_charging_current"
battery_capacity_percent:
name: "${name} battery_capacity_percent"
inverter_heat_sink_temperature:
name: "${name} inverter_heat_sink_temperature"
pv_input_current_for_battery:
name: "${name} pv_input_current_for_battery"
pv_input_voltage:
name: "${name} pv_input_voltage"
battery_voltage_scc:
name: "${name} battery_voltage_scc"
battery_discharge_current:
name: "${name} battery_discharge_current"
pv_charging_power:
name: "${name} pv_charging_power"

text_sensor:

platform: pipsolar
pipsolar_id: inverter0
device_mode:
name: "${name} device_mode"

binary_sensor:

platform: pipsolar
pipsolar_id: inverter0
add_sbu_priority_version:
name: "${name} add_sbu_priority_version"
configuration_status:
name: "${name} configuration_status"
load_status:
name: "${name} load_status"
charging_status:
name: "${name} charging_status"
scc_charging_status:
name: "${name} scc_charging_status"
ac_charging_status:
name: "${name} ac_charging_status"
charging_to_floating_mode:
name: "${name} charging_to_floating_mode"

switch:

platform: pipsolar
pipsolar_id: inverter0
output_source_priority_utility:
name: "${name} output_source_priority_utility"
output_source_priority_solar:
name: "${name} output_source_priority_solar"
output_source_priority_battery:
name: "${name} output_source_priority_battery"

output:

platform: pipsolar
pipsolar_id: inverter0
battery_recharge_voltage:
id: inverter0_battery_recharge_voltage_out

As Amagr0 does, I too was wondering if there is the need to set QPIRI, QPIWS, QMOD and QPIGS values sowehow, like in the Docker version (which I didn't tried since the EspHome integration would be perfect).
Thank you for your work, please help us (me and nuvolare12) to get your integration working!