recursive maps (use case: to emulate packages)

Wondering how I could create a working math.Pow(2,3) and math.Log(2).
I tried:
    lib := make(map[string]interface{})
    lib["Pow"] = math.Pow
    sdict, err := convert.MakeStringDict(lib) // also doesn't work if we omit this
    panicOn(err)
    env.Starlark.GoGlobal["math"] = sdict
    dict, err = convert.MakeStringDict(env.Starlark.GoGlobal)
    panicOn(err)
    // use dict as the globals in a call

but I get
Error: starlight_map<map[string]interface {}> has no .Pow field or method

or
Error: starlight_map<starlark.StringDict> has no .Pow field or method

ah. conv.go:48 has a TODO that indicates recursive maps aren't implemented.
update: also I've been doing too much Lua where this actually works and maps (tables) can act as packages (which makes sense since they are both just hash tables). Python doesn't like this syntax
Python 3.7.1 (default, Nov  6 2018, 18:45:35)
[Clang 10.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> a={"b":2}
>>> a
{'b': 2}
>>> a.b
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'dict' object has no attribute 'b'
>>>

so some other way to represent packages is needed if python "use this package after import" is to be realized.

added the necessary functionality in https://github.com/glycerine/starlark-go/tree/attr and proffered it in https://github.com/google/starlark-go/pull/79
https://github.com/starlight-go/starlight/pull/11 uses this.


TestNG 7.0.0 with scala 2.12.8

TestNG Version

Note: only the latest version is supported

I've just upgraded my testNG project from scala 2.11.11 to 2.12.8 with testNG 7.0.0.
I have a case of @test method in a class A that implements trait B that implements trait C and both B+C have @beforemethod methods. Before the upgrade the @beforemethod methods order was C->B->A as expected
Actual behavior
After the upgrade when i execute the test the order of the @beforetest methods is now mixed and executed twice
Is the issue reproductible on runner?

[ ] Shell
[ ] Maven
[ ] Gradle
[ ] Ant
[ ] Eclipse
[x] IntelliJ
[ ] NetBeans

Test case sample

Please, share the test case (as small as possible) which shows the issue

BTW, it works just fine with testNG 6.14.3. Seems like the issue is with 7.0.0

@alexfel - Do you have a sample that can be used to simulate this issue? I am not that familiar with scala, so please feel free to add any extra information that can be used (how you are running your test etc.,)

@alexfel - Do you have a sample that can be used to simulate this issue? I am not that familiar with scala, so please feel free to add any extra information that can be used (how you are running your test etc.,)

Hi,
Thanks for your response.
So I’m basically having SBT Scala project within IntelliJ and just upgraded to Scala 2.12.8 from 2.11.11 and using testNG 6.14.3. (sbt.version=1.0.4)
I have a class A with @test method a1 that extends class B where class B extends/implement traits C and D that both extends base class E. C,D and E has @beforeMethod methods. When I try to update to testNG 7.0.0 and test a1 is executed - the @beforeMethods methods execution order is unexpected and even more, executed twice :/
Please assist

@alexfel Could you tell us if the issue comes from your scala 2.11 -> 2.12 upgrade or your testng 6.14 -> 7.0 upgrade?
It looks like the behavior you describe is similar than https://github.com/cbeust/testng/issues/2209

Closing this issue. Please check if the problem is persistent with the latest released TestNG version (7.5). If the problem persists, please share a sample that can be used to reproduce the problem.


When to release 1.1.8？

Make sure you have reviewed the common issues and existing issues before submitting a new issue.
If this is a question about how to use NVM4W, please use stackoverflow instead.
If this is an issue regarding antivirus, make sure you search the existing issues first.
My Environment

[ ] Windows 7 or below (not truly supported due to EOL - see wiki for details)

[ ] Windows 8

[ ] Windows 8.1

[ ] Windows 10

[ ] Windows 10 IoT Core

[ ] Windows Server 2012

[ ] Windows Server 2012 R2

[ ] Windows Server 2016

[ ] My Windows installation is non-English.

I'm using NVM4W version:
Run nvm version if you don't know.
I have already...

[ ] read the README to be aware of npm gotchas & antivirus issues.
[ ] reviewed the wiki to make sure my issue hasn't already been resolved.
[ ] verified I'm using an account with administrative privileges.
[ ] searched the issues (open and closed) to make sure this isn't a duplicate.
[ ] made sure this isn't a question about how to use NVM for Windows, since gitter is used for questions and comments.

My issue is related to (check only those which apply):

[ ] settings.txt
[ ] proxy support (Have you tried version 1.1.0+?)
[ ] 32 or 64 bit support (Have you tried version 1.1.3+?)
[ ] Character escaping (Have you tried version 1.1.6+?)
[ ] A standard shell environment (terminal/powershell)
[ ] A non-standard shell environment (Cmder, Hyper, Cygwin, git)

Expected Behavior
Fill me in...
Actual Behavior
Fill me in...
Steps to reproduce the problem:
Fill me in...

I am busy working on https://metadoc.io. I hope to have some time to get 1.1.8 launched after that, hopefully mid-September when I start efforts on project "rt" (the successor to this tool).

See https://github.com/coreybutler/nvm-windows/discussions/565.


Cleanup & fixes crash

for: https://github.com/eure/AssetsPicker/pull/24

@ntnmrndn Hi, thank you for your review.
I revised my code with your idea.
Could you review it again?

Looks good to me !
I'll make a release on Monday morning !

@ntnmrndn got it! thanks.
I merge this.


Customizing Pilot Blog

How to make life easier
kaggle blog
sweetviz blog
subtasks
images
a better way of presenting ideas
side note
blogs citing other blogs that we have written

How to make your EDA easier?

Pics:


objets ID should not start with a digit

HTML norm says that an ID can start with a digit. But everything else in the HTML world does not like ID starting with a digit (CSS, jQuery...)n, it has to be escaped.
I suggest that the automatic generated ID of the objects start with a letter instead of a random character in class [a-z0-9].
Replace :
id = Math.random().toString(36).substr(2, 9);
with :
id = "a" + Math.random().toString(36).substr(2, 9);
for example.

added char "z" before autogenerated random id


Approve pending CSRs when upgrading nodes

What type of PR is this?
/kind bug
What this PR does / why we need it:
Approve pending CSRs when upgrading control plane and static worker nodes. It seems that upgrading the cluster causes new CSRs to be created. If we don't approve those CSRs, the certificates will not work. This will cause errors such as:
Error from server: Get "https://<IP_ADDRESS>:10250/containerLogs/kube-system/machine-controller-7b647fdc45-tfskm/machine-controller?follow=true": remote error: tls: internal error

Does this PR introduce a user-facing change?:
Approve pending CSRs when upgrading control plane and static worker nodes

/assign @kron4eg

/cherrypick release/v1.4

@xmudrii  @kron4eg  Hey Hey, is this fix already present in the current 1.4 release? We're currently facing the error described in the PR description? How can we fix this in our current running cluster? :)

@fwiedmann this is in the release branch but hasn't been released yet, You could try to build it from release/v1.4.

Hey @xmudrii, @xmudrii we built kubeone from source on release branch release/v1.4.. No we get the error with the image pull backoff for the core DNS image. We upgraded yesterday from kubeone 1.3 to version 1.4 to mitigate this issue. Which it also did.
Followed by your suggestion to use the release/v1.4 we could fix the CSR error, but again facing the problem with the coreDNS image.


add Section 4 FRs

closes #103
@dcheung11 check if the System Tests summary is accurate ( I summed up your NFRs)

summary lgtm


Token endpoint not found. Netlify deploy

Describe the bug
The applications throws the error "Unexpected token < in JSON at position 0" when trying to join a room. The inspector throws error 404 at /token:1.
To Reproduce
Steps to reproduce the behavior:

Build the application with npm run build
Create a new site and Drag a Drop the build folder in Netlify, wait for deploy to finish
Enter the app, fill Your Name field and Room Name field and continue.
Press Join Now Button

Expected behavior
The applications should listen /token and get the user inside The room
Screenshots

Environment (please complete the following information):

Build Image: Ubuntu Focal 20.04
Browser: Vivaldi 4.3.2439.65 (Stable channel) stable (64-bit)
App Version: v0.6.1
SDK Version: 2.18.2
Node.js version: v16.13.1

Additional context
The applications runs without problems locally. All needed environment variables where added in Netlify

Hi @DCSivira - thanks for the issue!
Based on the steps that you shared, it looks like this app's token server isn't being run. In order for the /token endpoint to return a token, a server must be running in order to handle that request.
If you're only moving the build folder over to Netlify, then it sounds like there is not a server running anywhere. Is Netlify doing anything about installing packages with npm install? It is running any npm scripts? Are you doing anything with the code in the /server directory.
If you could please share more details with us about your deployment process, then maybe we can find a way to get this token server running on Netlify. Without the token server, this app can't function.
Thanks again for reaching out!

Hi @DCSivira I will be closing this due to inactivity. Please let us know if you are still having trouble and we will reopen this issue. Thank you!


Proposal to add the ability for fuelup to list components that you have the ability to install on your current toolchain

Problem you are trying to solve
I've been finding myself wanting the ability to write fuelup component list to see a list of possible components that I could install (and which version is latest).
Solution you'd like
Currently my flow is to use fuelup show to get the current list of components that I don't have installed, then fuelup component add <name> based on the list from the previous command. But remembering that flow feels a little unintuitive to me because fuelup show is semantically different than fuelup component, and also the description for fuelup show doesn't list "component": "Show the active and installed toolchains, as well as the host and fuelup home"
Notes
Just a thought 😄

great suggestion :+1:! Definitely workable and would probably be useful for custom toolchains.
If this proposal is 1 command alone, I'm imagining something like this:
$ fuelup component list
forc (installed)
  installed: v0.29.0, latest: v0.31.0
fuel-core (installed)
  installed: v0.14.1 (latest)
forc-wallet
  latest: v0.1.2

We could also add a 2nd command to list available versions for a command, fuelup component list <component>. This should list all versions for the downloadable component, starting from the latest, and bolds + marks your currently installed version in your current toolchain:
$ fuelup component list forc
forc
- 0.31.0 (latest)
- 0.30.1
- 0.30.0 (installed)
- 0.29.0
...

The reasoning for listing all versions would be that if we want to know what the latest version is, it might be likely that we want to know what other versions are available as well. We could show up to the 10 most recent versions, and have a flag to display all (like fuelup component list forc --all)
What do you think? cc @FuelLabs/tooling for any additional input

What do you think?

Sounds good!

If this proposal is 1 command alone, I'm imagining something like this

Perhaps we should more clearly separate the installed and uninstalled components? E.g.
$ fuelup component list
Installed:
  forc v0.31.0 (up-to-date)
  fuel-core v0.14.0 (latest: v0.14.1)
  ...
Available:
  forc-wallet (latest: v0.1.2)
  ...

We could also add a 2nd command to list available versions for a command, fuelup component list .

Looks good!

This all sounds good to me 👍

Perhaps we should more clearly separate the installed and uninstalled components?

This one feels solid 👍


How to programmatically set HiSetSL and HiSet (visual mode)

I might have missed reading something in the help file.
But if vim.keymap.set('n', 'tt', ':Hi+<CR>') allows me to highlight a set (the equivalent of HiSet)
How do I set a keymap for HiSetSL?
Similarly, how do you programmatically set keymaps for HiSet and HiSetSL in visual select mode?

Oh, you can use :Hi+% command for HiSetSL function.

Hi, and what about for visual mode?
I was thinking vim.keymap.set('v', 'tw', ':Hi+x<CR>') and vim.keymap.set('v', 'tw', ':Hi+x%<CR>')? Or am I missing something?

You can use the same key for both normal and visual modes.
So, how about assigning tt for both :Hi+and :Hi+x commands,
and tw for :Hi+% and :Hi+x% ?

I'm glad it's working now.  May I ask a question that in which cases you would prefer direct mapping instead of using predefined variables? Wouldn't it be simpler to assign keys to predefined variables something like vim.g.HiSet = 'tt'

Ahh, that works better actually. Thank you for pointing that out. Let me close the issue for now


Is there any way to wait serveral seconds before client rendering

I need to initialize the enviorment, is there any way to wait serveral seconds before client rendering?
something like:
$.ready(() => {
nuxt.clientRender()
})

This question is available on Nuxt community (#c7698)

nuxtServerInit is used for the server.
It's global and for the client. Is there any solution?

You can write a plugin

@fanyuzzz you say right, but in nuxtServerInit you can fill your store and use it in client


Use of SqlConnection object for SQL Server target?

Type : Question
NLog version: 4.3.10
Platform: .Net 4.5.1
Hi:
I would like to use NLog with a SQL Server target. However, due to the nature of the application (it is a Dynamics GP addon if that helps to provide context to anyone), it would be best to programatically provide NLog with a SqlConnection object. That way, I can point NLog to a different database per the user's selection (a different "Company" in GP speak). Can this be done?
Cheers,
Pab

Have to check that
But you could also use layout renders (eg event properties) in your connectionstring. Maybe that could fix your requirement?

@pablito1755 This is just me looking at the code, but if you can create a custom-class-type that can act as factory for your GPConnection, then you can specify this custom-type-name for the property DataBaseTarget.DBProvider.
But else just copy-paste the original DataBaseTarget-code, and modify it to match your requirements. When you have something working as you want, then you can come with suggestions for how to make it easier to override the logic in the existing NLog DataBaseTarget (inherit instead of copy-paste)

You could set DBProvider with created the connection. Example:
            DatabaseTarget dt = new DatabaseTarget()
            {
                CommandText = "INSERT INTO FooBar VALUES('${message}')",
                ConnectionString = "FooBar",
                DBProvider = typeof(MockDbConnection).AssemblyQualifiedName,
            };

 public class MockDbConnection : IDbConnection
        {
            public static string Log { get; private set; }
            public static string LastConnectionString { get; private set; }

            public MockDbConnection()
            {
            }

            public MockDbConnection(string connectionString)
            {
                this.ConnectionString = connectionString;
            }

            public IDbTransaction BeginTransaction(IsolationLevel il)
            {
                throw new NotImplementedException();
            }

            public IDbTransaction BeginTransaction()
            {
                throw new NotImplementedException();
            }

            public void ChangeDatabase(string databaseName)
            {
                throw new NotImplementedException();
            }

            public void Close()
            {
                AddToLog("Close()");
            }

            public string ConnectionString { get; set; }

            public int ConnectionTimeout
            {
                get { throw new NotImplementedException(); }
            }

            public IDbCommand CreateCommand()
            {
                return new MockDbCommand() { Connection = this };
            }

            public string Database
            {
                get { throw new NotImplementedException(); }
            }

            public void Open()
            {
                LastConnectionString = this.ConnectionString;
                AddToLog("Open('{0}').", this.ConnectionString);
                if (this.ConnectionString == "cannotconnect")
                {
                    throw new InvalidOperationException("Cannot open fake database.");
                }
            }

            public ConnectionState State
            {
                get { throw new NotImplementedException(); }
            }

            public void Dispose()
            {
                AddToLog("Dispose()");
            }

            public static void ClearLog()
            {
                Log = string.Empty;
            }

            public void AddToLog(string message, params object[] args)
            {
                if (args.Length > 0)
                {
                    message = string.Format(CultureInfo.InvariantCulture, message, args);
                }

                Log += message + "\r\n";
            }

I assume your question has been answered, if not, let us know!


Fix Jwe compression

As for now Deflater and Inflater initialized with different 'nowrap' value. As result we are getting the folowing Exeption:
java.lang.SecurityException: java.util.zip.DataFormatException: invalid stored block lengths
        at org.apache.cxf.rt.security.crypto.CryptoUtils.processBytes(CryptoUtils.java:587)
        at org.apache.cxf.rt.security.crypto.CryptoUtils.decryptBytes(CryptoUtils.java:483)
        at org.apache.cxf.rs.security.jose.jwe.AbstractJweDecryption.doDecrypt(AbstractJweDecryption.java:72)
        at org.apache.cxf.rs.security.jose.jwe.AbstractJweDecryption.decrypt(AbstractJweDecryption.java:57)
        at org.apache.cxf.rs.security.jose.jwe.JweJsonConsumer.decryptWith(JweJsonConsumer.java:64)

This PR will fix the Jwe Compression by setting the 'nowrap' parameter for both Deflater and Inflater to 'true' (RAW DEF) as specified in the RFC1951.

@epuzanov thanks for the fix, it certainly makes sense, could you please add the test case for that? thank you

@reta done.

Fixes https://issues.apache.org/jira/browse/CXF-8816


More than 4 printers

Can it handle more than 4 printers?  We have a print farm of 10 P1S.  I added all of them, but only the first 4 show.

Yes, for sure!
This is a video received from a customer, I think they have around 50 printers
https://www.youtube.com/watch?v=XEWxZn1SZSQ

Found the issue.  It was my own mistake.  Thank you much!


need for assistance in organizing couchdb data with stackedit5

bravo..., the new workspace management especially in synchronization with couchdb is quite remarkable.
However, this marks an important break with the previous model with stackedit4. The way data is stored, including metadata, but also the storage tree, differs radically.
I used to make' views' (couchdb) for searching my documents via metadata, this is of course no longer possible. The new method uses several files with certain parts in encrypted mode (hach) for each document. This is much more efficient but more complex to understand, so it would be possible to communicate me (us) a documentation specifying the model of organization and storage of documents in the couchdb database.
Thank you very much for your support.

Please get it touch with us for commercial support.


[Feature] add advanced place method to automata core when compass peripheral is equipped

PLEASE READ THE GUIDELINES BEFORE MAKING A CONTRIBUTION

Please check if the PR fulfills these requirements

[x] The commit message are well described
[x] Docs have been added / updated (for features or maybe bugs which were noted). If not, please update the needed documentation here. This is not mandatory
[x] All changes have fully been tested

What kind of change does this PR introduce? (Bug fix, feature, ...)
Feature & Bug fix

What is the current behavior? (You can also link to an open issue here)
N/A
Also going to fix

#599

What is the new behavior (if this is a feature change)?
Now the compass turtle can place blocks around the turtle with specific facing, which makes 3D printer easier.

Does this PR introduce a breaking change? (What changes might users need to make in their scripts due to this PR?)
No

Other information:

https://github.com/IntelligenceModding/Advanced-Peripherals-Documentation/pull/84

I am not 100% if I like this. This adds world manipulation functions to the Compass Turtle, whereas the Meta Turtles should actually be used for this
I know that the meta turtles currently don't have a place function
Would it be a better idea to add the accurate place feature to the meta turtles IF the compass is attached? The main problem I see with that, that it would use one peripheral slot for these two added functions
The implementation of these features looks good, I don't see anything in it, I would change

Would it be a better idea to add the accurate place feature to the meta turtles IF the compass is attached?

Good point, I'll try that

However, can you review #597 first then? because merge two branch that changed same thing will be horrible

Would it be a better idea to add the accurate place feature to the meta turtles IF the compass is attached? The main problem I see with that, that it would use one peripheral slot for these two added functions

Done

I see some commits here
Is this ready for review or a draft?

Yeah I just added some comment, it's ready for review

well I just noticed that forward is a verb, I should use front instead

Ready for review again


Automatic Layout Generation Failed: Aurora Sweep default config

Hello,
I just followed the instructions at https://zmk.dev/docs/user-setup to create a ZMK config for my Aurora Sweep keyboard with nice!nano v2 microcontrollers. I didn't do any customizations and simply uploaded the default config to this repository. When opening this repo with the keymap-editor, it just displays "Automatic Layout Generation Failed". Did I do something wrong here? If I understand correctly, the info.json should get generated automatically?
Thanks already for your help and for creating such an amazing tool - I'm so much looking forward to playing around with it :D
Here's the summary from the config generator.
Preparing a user config for:
* MCU Board: nice_nano_v2
* Shield(s): splitkb_aurora_sweep_left splitkb_aurora_sweep_right
* Copy Keymap?: ✓

I think you're ok -- before it attempts to fetch metadata files from the ZMK repo it'll check against a list of "known" keyboards that I update manually for the moment. It looks like I've missed some additions so I've just deployed an update. Can you give it another shot?

It works now - thanks for your quick help! :)

Glad to hear it!


[#4424] Improvement (trino-connector): Upgrade the Hive image version for the Trino tester.

What changes were proposed in this pull request?
Upgrade the Hive image version to 0.1.13 for the Trino tester.
Why are the changes needed?
Fix: #4424
Does this PR introduce any user-facing change?
NO
How was this patch tested?
NO

Overall LGTM. Do you want to take another look? @yuqi1129

@mchades  I have verified the uploaded log. It's okay.


Fix running on Elixir 1.5/OTP 20

Oauther previously depended on the deprecated (and now removed) :crypto.rand_bytes/1, this is fixed in the latest release.
This pull requests updates oauther to the latest version and starts running travis tests towards the latest elixir and otp releases.

Coverage decreased (-0.9%) to 93.365% when pulling 8149c4c0c499d4b2f93224c32607ed7cec665483 on mattiaslundberg:elixir-1.5 into f197dc2feef9d9582cfb0838a8fbb86908146327 on ChrisYammine:master.

Awesome! Thank you @mattiaslundberg
Sorry I've been absent on this. Merging.


Release a Platform as a Product white paper

Hey y'all 👋🏻,
It was discussed through #282 the need for the WG for Platforms to provide the community with resources to help platform teams and architects to adopt product thinking so they can better understand their platform consumers.
This issue is to formalize the proposed white paper to provide this guidance, as well as extending the guidance to fundamental organizational changes to help realize a Platform as a Product.
Background
This Platforms white paper intentionally focused on a high level topic and specifically says its goal is to "support enterprise leaders, enterprise architects and platform team leaders to advocate for, investigate and plan internal platforms for cloud computing...[and to] enable that support by discussing what the value of platforms is, how to measure that value, and how to implement platform teams that maximize it."
Given this, the working group always imagined a number of follow up papers and documents to dive deeper into the details introduced in the white paper. Some of these actions are already underway (e..g the Platform Maturity Model, survey. This issue is to formalize the  Platform as a Product white-paper.
Why Platform as a Product
As the Platforms white paper echoed the sentiment of productizing the platform, guidance should be provided to enterprise leaders, enterprise architects for how they can adopt a product thinking mindset when delivering and evolving their platform.
The paper will look to provide this guidance, as well as extending the guidance for key organizational considerations, for  defining and evolving a platform strategy, transformational considerations, and what should be considered when delivering a platform for their consumers.
We will also look to align and complement the Platform Maturity Model so this white paper can be used as a companion paper for those who are looking to level up and evolve their platform.
The initial draft for the white paper has been based off experience and research from myself and @mluskind. We want to ensure that our point of view, and data is reviewed by the community. We have planned to use surveys and interviews to help gain further insight into the subject matter as well as either validate or challenge our point of view and data.
Current draft
This document is open for global suggestions: https://docs.google.com/document/d/1WQx8Ijg9uY0xa1uxVWOYHoTPV0b4WCh2KbV70c86fY8/edit?usp=sharing
Proposed next steps
Similar to the Platforms White paper and Platforms Maturity Model, I think that this document would benefit from a wider audience and a refinement period. I would propose it be mentioned at WG-Platform and TAG-AppDelivery meetings as a suggestion for review.
I would like to volunteer myself with support from @mluskind to carry the torch for this white paper. We would still appreciate guidance and leadership from both @joshgav and @abangser as the paper evolves too.
If others want to help assist rallying folks, and support our proposed next steps, please let us know.
Tasks

Draft Paper Feedback [Status: In Progress]
Survey [Status: In Progress]
Blog Post for Paper and Survey [Status: To do]
Research Plan [Status: To do]

Approach & Guidelines
Scheduling [Status: To do]
Interviewers [Status: To do]
Tools [Status: To do]

We want to target the review to be completed of the current draft (v0.1.0) before the end of November and ideally release the white paper for KubeCon EU in Paris in 2024.
Please comment on this issue if you want to be a lead or otherwise on publishing this paper!

Thank you for proposing this @oliverjfletcher. Love the thorough background and thoughtful proposal for process. Looking forward to contributing and supporting you. :rocket: :guitar:

Love where this is going!
As mentioned in the WG call today, I'm happy to help and contribute on this. The topic is definitely close to my heart.

Coming from my perspective as a PM in a Developer Platform Company I really love the idea to bake in the product mindset from the beginning in this platform working group and would also enjoy to help here.
Just as a first idea popping to my mind after reading this ticket I would like to challenge the target group slightly. As you stated this additional whitepaper should help "enterprise leaders, enterprise architects [to] adopt a product thinking mindset". With the risk of opening a bottomless pit here, I would at least want to throw in that the whole organisation has to build up a product mindset in order to be really successful, not just the enterprise leaders and architects.
I'll make sure to review the draft and would love to contribute in any upcoming meetings :)

Thanks @oliverjfletcher for looping me in. I like the idea and will spend some more time reviewing the doc.  Also tagging Laksh Ranganathan @lr78230 who is interested in this as well.

@srirajan Thanks for looping me on this. Super interesting and very aligned with some of the work I have been doing with Prod/Eng Ops to managing platform teams with a product mindset. @oliverjfletcher I will review the doc and add my thoughts there and happy to explore ways I can support/contribute to this white paper.


WARNING: Faraday::Request#method is deprecated; use #http_method instead.

I'm seeing this warning while using Faraday 1.3.0 and api-auth 2.4.1:
WARNING: `Faraday::Request#method` is deprecated; use `#http_method` instead. It will be removed in or after version 2.0.
`Faraday::Request#method` called from /Users/andrew/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/api-auth-2.4.1/lib/api_auth/request_drivers/faraday.rb:24:in `populate_content_md5'
WARNING: `Faraday::Request#method` is deprecated; use `#http_method` instead. It will be removed in or after version 2.0.
`Faraday::Request#method` called from /Users/andrew/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/api-auth-2.4.1/lib/api_auth/request_drivers/faraday.rb:43:in `http_method'

It's seems to need Faraday >= 1.1.0

Thanks! Do you mind deploying a new release version?

@fwininger Thanks for this fix. My builds are heavily polluted with this warning. Would appreciate a rev of the gem if you've time to tackle it.

Hi @andrewhavens / @GregMacdonald I don't have the access to rubygems to do a release.
@mgomes / @kjg can you release a new version from the master branch ? I had the support of ruby 3.0 and rails 6.1 and drop old ruby versions. Thanks !

@fwininger should we call this 3.0? Seems like the dropping of MRI versions warrants a major version bump.

@mgomes for me 2.5.0 is good. I thinks 2.4.0 drop MRI 2.3 and rails 4.

@mgomes thanks


tensorflow/core/framework/types.proto: File not found.

Someone can help? Thank you.

Hi, do you modify setup.py or use it as-is? I am asking because setup.py should bypass building any tensorflow protos at https://github.com/google/mediapipe/blob/master/setup.py#L187.
You can add the following code at line 193 of setup.py to see if it helps.:
if 'tensorflow' in proto_dir:
  continue

Hi Jiugiant, thank you for resolving this issue.

Glad to help. Closing this issue now.


Stratum spec violation

What is an idea behind adding mining.extranonce.subscribe?
https://github.com/str4d/zips/blob/77-zip-stratum/drafts/str4d-stratum/draft1.rst
There is big work done on specification.
Protocol Flow
Client sends mining.subscribe to set up the session.
Server replies with the session information.
Client sends mining.authorize for their worker(s).
Server replies with the result of authorization.
Server sends mining.set_target.
Server sends mining.notify with a new job.
Client mines on that job.
Client sends mining.submit for each solution found.
Server replies with whether the solution was accepted.
Server sends mining.notify again when there is a new job.

We added mining.extranonce.subscribe as an extension for compatibility with our service. Without this extension miner would still work but would get disconnected every time it is swapped to another order. We created this extension for original bitcoin stratum protocol long time ago and have been using it for 2 years. Most of miner software including ASIC supports it. With extension miners do not get disconnect thus perform better.
Since this is a miner for NiceHash, I am not fully sure where exactly is the problem?

FYI there is uint256 space for nonce I wonder after how many years of mining without disconnects miner will be swapped to another order.


Access to the request IP

Hey thanks so much for these gems! I assumed I'd have to deal with another language to put up a service like this.
We're looking to do a filter service based on request IP. With a downloaded ruleset from our services, look up the rules for that request IP, determine if it should be allowed, if allowed passthrough to a forwarding bind server, if not, serve backed an IP for a blocked page.
Two questions:

Is there an easy way to access the request IP? I was having trouble following the sequence of the request in to the transaction.
There are a lot of examples in rubydns, do you recommend using this dependency to build something like the above, or using rubydns as a starting point? The rules in rubydns didn't seem to match our requirements.

Ah, my bad, just found it in the options attr of the transaction. Thanks again!

I'd still be interested in your thoughts on 2 :)

RubyDNS was originally the entire stack. It split into async + async-dns + rubydns. RubyDNS is old, and it only really exists for compatibility or when you have a specific need for a DSL.
So, for 2, I'd suggest just building directly on top of async-dns.
Also, if you are building a commercial project and it's successful, please consider supporting the continued maintenance and development of async and async-dns :)


Add support swift format module header for bang

Apple framework like Foundation.framework has Objective-C header file.
When I select class name like 'NSObject' and click 'Jump to Definition'
Xcode6 show swift file that is converted from Objective-C header file probably.
So I can't open the swift file with the external editor like the MacVim.
This PR make it possible.
While a converted swift file is showed, document URL has 'x-xcode-module' scheme and original Objective-C header file path.
Because I don't know how to convert Objective-C header file to swift header file
I use showing text as is.
I have knowed them by observing Xcode behaviour that is reverse engineeing.
No documents.
In bang command while 'x-xcode-module' scheme file is showed,  percent is expanded to
~/.xvimtmp.swift file. So you can open converted swift module file with it.

I feel showing objc header file is better than showing swift header file.
Please wait to merge this PR.
If you have some idea, please tell me that.

In bang command while 'x-xcode-module' scheme file is shown, percent(%) is expanded to
~/.xvimtmp.swift file name and pound(#) is expanded to corresponding Objective-C header file name.
I think this assignment is good to use.
For example, I have used these command maps.
noremap ,t :execute "!/Applications/mvim +" . line(".") . " %"<CR>
noremap ,r :execute "!/Applications/mvim +" . line(".") . " #"<CR>

Please tell me if you have any issue to merge this PR.
Thanks


Initial release with get_url functionality

This is an internal PR to review the initial release before we create a PR to mainline.

I resolved the comments. Closing here, I'll open the PR in mainline repository.


Fix line clicking in seekbar sometimes doesn't work

This codebase is outdated and the folder structured got changed after the last update so kindly resolve conflicts and submit new PR


Issue with parsing -a/--addr

Hello,
I've noticed that I am unable to run the tests with ./dstp -a <IP_ADDRESS> on macOS (haven't tested on Linux yet). I've isolated the issue with how the flags are parsed in https://github.com/ycd/dstp/blob/1c9140cdbe66bf5245eca70cc98ab427d2e43865/config/config.go#L44
I was able to isolate it by adding fmt.Println(values) in cmd/dstp/main.go and seeing that values was empty:
$ make; sudo ./dstp -a <IP_ADDRESS>
go build -o dstp cmd/dstp/main.go
Password:
opts.Addr value: <IP_ADDRESS>
values variable value: []
address cannot be empty

Usage: dstp [OPTIONS] [ARGS]
Options:
        -a, --addr   <string>  The URL or the IP address to run tests against      [REQUIRED]
        -o, --out    <string>  The type of the output, either json or plaintext    [Default: plaintext]
        -c           <bool>    Run all the tests concurrently.                     [Default: false]
        -h, --help             Show this message and exit.

In order to run it, I have to update https://github.com/ycd/dstp/blob/1c9140cdbe66bf5245eca70cc98ab427d2e43865/config/config.go#L69 to remove the values size condition:
$ tail config/config.go
	if opts.Addr != "" { // && len(values) >= 1 {
                // opts.Addr = values[0]
        } else {
                fmt.Println(opts.Addr)
                return nil, fmt.Errorf("address cannot be empty")
        }

        return opts, nil
}

$ make; sudo ./dstp -a <IP_ADDRESS>
go build -o dstp cmd/dstp/main.go
Password:
opts.Addr value: <IP_ADDRESS>
values variable value: []
Ping: 329.766ms
DNS: resolving <IP_ADDRESS>
TLS: certificate is valid for 60 more days
HTTPS: got 200 OK

Another issue I've noticed is that on macOS, you need to set pinger.SetPrivileged(true) on https://github.com/ycd/dstp/blob/1c9140cdbe66bf5245eca70cc98ab427d2e43865/pkg/ping/ping.go#L13 and https://github.com/ycd/dstp/blob/1c9140cdbe66bf5245eca70cc98ab427d2e43865/pkg/ping/ping.go#L41 and run dstp with sudo. I suppose that it's the same issue as on Linux.
go version:
$ go version
go version go1.17.2 darwin/amd64

OS:
$ uname -a
Darwin 20.6.0 Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64 x86_64

Hey @mikepietruszka, thanks reporting in a very detailed fashion, much appreciated.
I thought using flagset.Args() for addr could be better for simplicty, looks like i forgot to add logic for that if addr is given by --addrflag.

Another issue I've noticed is that on macOS, you need to set pinger.SetPrivileged(true) on

I'm not sure about this, are you getting an error if you run it without pinger.SetPrivileged(true) ?

@ycd, groovy, latest changes in 7768b61459f5991686ba05539599007cbd618d8d make it work with -a and without that flag:
[20:48:49 ~/code/go/src/dstp g:main]
$ make; sudo ./dstp <IP_ADDRESS>
go build -o dstp cmd/dstp/main.go
Password:
Ping: 37.945666ms
DNS: resolving <IP_ADDRESS>
SystemDNS: resolving <IP_ADDRESS>
TLS: certificate is valid for 59 more days
HTTPS: got 200 OK

$ make; sudo ./dstp -a <IP_ADDRESS>
go build -o dstp cmd/dstp/main.go
Password:
Ping: 12.568667ms
DNS: resolving <IP_ADDRESS>
SystemDNS: resolving <IP_ADDRESS>
TLS: certificate is valid for 59 more days
HTTPS: got 200 OK

As for as inability to run without sudo, I don't get any errors - the code just hangs. I can get an abbreviated dtruss output. I don't believe it gets to pinger.Count = 3 from my debugging.

Hmm even though i was testing the executable manually on MacOS, Fedora and Ubuntu, i wasn't able to find the reason behind tests were hanging on CI, that explained the reason behind that.
Then i found this issue in the library that is used in dstp: https://github.com/go-ping/ping/issues/180.
This seems like a library problem, i should temporarily add something like "requires usage of sudo in XX" somewhere in README.

Hey again @mikepietruszka, just released v0.3.1 which includes fallback option for dstp(tries to execute ping command under the hood) to work in non-privileged cases and added timeout flag for specifying ping timeouts.


Do violence on PG upsert

LGTM

We should extract these changes to a gem, together with the changes to Rails/AR.


Flaky GDT end-to-end test

The flakiness of -[GDTIntegrationTest testEndToEndEvent] frequently causes Travis failures.
See https://travis-ci.org/firebase/firebase-ios-sdk/jobs/530603139 for an example.

Looking into it.

I can't find any particular reason for this test harness crashing, and I haven't been able to repro locally. Perhaps I can just remove this test from travis and hope that it becomes more clear in the future why this is happening.

Memory usage is ~43MB, disk usage is in the low 10s of KB. This test startS up a local HTTP server in the simulator. The details of the crash are captured in a log on the machine, but travis doesn't seem to give us access to those logs.

Thanks for investigating. One option is to move the test to the allow_failures section of travis https://github.com/firebase/firebase-ios-sdk/blob/master/.travis.yml#L300 so you can still see the results but it doesn't break others' integration builds.


SCT-1251 Add remove_user_from_namespace to service

Pull Request Test Coverage Report for Build 181

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 94.235%

Totals

Change from base Build 180:
0.01%

Covered Lines:
948

Relevant Lines:
1006

💛  - Coveralls

It throws an error.


Release 1.2.0 Tech Preview

Changelog for 1.2.0 (2021-02-17)
The following sections list the changes for 1.2.0.
Summary

Bugfix - Check if roles are present in user object before looking those up: #1388
Bugfix - Fix etcd address configuration: #1546
Bugfix - Remove unimplemented config file option for oCIS root command: #1636
Bugfix - Fix thumbnail generation when using different idp: #1624
Change - Initial release of graph and graph explorer: #1594
Change - Move runtime code on refs/pman over to owncloud/ocis/ocis: #1483
Change - Update ownCloud Web to v2.0.0: #1661
Enhancement - Make use of new design-system oc-table: #1597
Enhancement - Use a default protocol parameter instead of explicitly disabling tus: #1331
Enhancement - Functionality to map home directory to different storage providers: #1186
Enhancement - Introduce ADR: #1042
Enhancement - Switch to opencontainers annotation scheme: #1381
Enhancement - Migrate ocis-graph-explorer to ocis monorepo: #1596
Enhancement - Migrate ocis-graph to ocis monorepo: #1594
Enhancement - Enable group sharing and add config for sharing SQL driver: #1626
Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: #1482

Reva Changelog for reva 1.6.0 (2021-02-16)
=======================================
The following sections list the changes in reva 1.6.0 relevant to
reva users. The changes are ordered by importance.
Summary

Fix #1425: Align href URL encoding with oc10
Fix #1461: Fix public link webdav permissions
Fix #1457: Cloning of internal mesh data lost some values
Fix #1429: Purge non-empty dirs from trash-bin
Fix #1408: Get error status from trash-bin response
Enh #1451: Render additional share with in ocs sharing api
Enh #1424: We categorized the list of expected failures
Enh #1434: CERNBox REST driver for groupprovider service
Enh #1400: Checksum support
Enh #1431: Update npm packages to fix vulnerabilities
Enh #1415: Indicate in EOS containers that TUS is not supported
Enh #1402: Parse EOS sys ACLs to generate CS3 resource permissions
Enh #1477: Set quota when creating home directory in EOS
Enh #1416: Use updated etag of home directory even if it is cached
Enh #1478: Enhance error handling for grappa REST drivers
Enh #1453: Add functionality to share resources with groups
Enh #99: Add stubs and manager for groupprovider service
Enh #1462: Hash public share passwords
Enh #1464: LDAP driver for the groupprovider service
Enh #1430: Capture non-deterministic behavior on storages
Enh #1456: Fetch user groups in OIDC and LDAP backend
Enh #1429: Add s3ng storage driver, storing blobs in a s3-compatible blobstore
Enh #1467: Align default location for xrdcopy binary

Reva Changelog for reva 1.5.1 (2021-01-19)
=======================================
The following sections list the changes in reva 1.5.1 relevant to
reva users. The changes are ordered by importance.
Summary

Fix #1401: Use the user in request for deciding the layout for non-home DAV requests
Fix #1413: Re-include the '.git' dir in the Docker images to pass the version tag
Fix #1399: Fix ocis trash-bin purge
Enh #1397: Bump the Copyright date to 2021
Enh #1398: Support site authorization status in Mentix
Enh #1393: Allow setting favorites, mtime and a temporary etag
Enh #1403: Support remote cloud gathering metrics

Web Changelog for ownCloud Web 2.0.0 (2021-02-16)
=======================================
The following sections list the changes in ownCloud web 2.0.0 relevant to
ownCloud admins and users.
Summary

Change - Switch from webpack to rollup: #4584
Change - Update ODS to 2.1.2: #4594

Tasks

[x] Brief marketing heads up @pmaier1
[x] Update reva to v1.6.0 https://github.com/owncloud/ocis/pull/1626  @wkloucek
[x] Make Changes in account service for web release @kulmann
[x] Update web to 2.0.0 @kulmann
[x] Preliminary Changelog @micbar
[ ] Release Notes @pmaier1
[x] Create branch release-1.2.0 -> CODEFREEZE @micbar
[x] Prepare Changelog @micbar
[x] Create pre release tag v1.2.0-rc1 @micbar
[x] Smoke Test @kulmann
[ ] run K6 on the tag @dragotin
[ ] If needed, fix issues or write down known issues
[ ] Create final signed tag v1.2.0
[ ] Merge release notes
[ ] Ping marketing to update all download links
[ ] Merge back release branch

We need to add a migration notice described in #1569  to the change log.
@butonic you mentioned another breaking change regarding the shares.json? Currently the only way to go forward is deleting that file?

yes, @ishank011 will add an updated changelog with https://github.com/owncloud/ocis/pull/1626#pullrequestreview-591076607

@butonic I added the changelog. It's good to be merged

Examples for smoke testing steps are:

https://github.com/owncloud/ocis/issues/1365#issuecomment-765512301 and
https://github.com/owncloud/ocis/issues/1365#issuecomment-765531566

There was also some smoke testing on an RPi.

@ishank011 we'll do another smoke test before merging

Smoke testing on https://localhost:9200/ on macOS
Files

✔ login as einstein
✔ create a folder "eBooks"
✔ share "eBooks" with marie as viewer
✔share "eBooks" with richard as editor
✔ create a subfolder "eBooks/test"
✔ upload "paper.pdf" into "eBooks/test"
✔ upload "image.jpg" into "/"
✔ copy "image.jpg" into "eBooks"
✔ move "image.jpg" into "eBooks/test"
✔ share "eBooks" as unprotected public link with viewer role

✔ access unprotected public link
✔ no write actions available on files, folders, subfolders, files in subfolders
✔ download of files works (doublecheck in OS filebrowser)
❌ viewing images in mediaviewer doesn't work - known issue #1075

✔ share "eBooks" as password protected public link with editor role

✔ access password protected public link
✔ write actions available on files, folders, subfolders, files in subfolders
✔ deleting files and folders works and is visible to share owner
✔ renaming files and folders works and is visible to share owner
✔ uploading files works and is visible to share owner
✔ download of files works (doublecheck in OS filebrowser)
❌ viewing images in mediaviewer doesn't work - known issue #1075

❌ restoring a file from the trahsbin that was deleted from within a public link fails
✔ permanently deleting a file from the trashbin works
✔ clearing the trashbin works
✔ login as richard

✔ accept "eBooks" share
✔ browse into "eBooks" share by clicking on it in "Shared with me"
✔ see breadcrumbs as "/Shares/eBooks"
✔ browse into "test" subfolder
✔ open "image.jpg" in mediaviewer
✔ close mediaviewer, land in "/Shares/eBooks/test" in the files app again
✔ open right sidebar (details) for "image.jpg"
✔ rename "image.jpg" to "renamed-by-richard.jpg"
✔ download of "renamed-by-richard.jpg" works (doublecheck in OS filebrowser)
✔ re-upload "renamed-by-richard.jpg", creating a new version
❌ download older version of "renamed-by-richard.jpg" fails (501 - not implemented)
❌ restoring older version creates a new version - known issue #1214

✔ login as marie

✔ accept "eBooks" share
✔ browse into "eBooks" share by going to "All files" and browsing into "/Shares/eBooks"
✔ browse into "test" subfolder
✔ open "renamed-by-richard.jpg" in mediaviewer
✔ close mediaviewer, land in "/Shares/eBooks/test" in the files app again
✔ open right sidebar (details) for "renamed-by-richard.jpg"
✔ action "Rename" is not available in the right sidebar
✔ action "Move" is not available in the right sidebar
✔ action "Delete" is not available in the right sidebar
✔ check the checkbox for "renamed-by-richard.jpg" in the files list
✔ action "Move" is not available in the batch actions at the top
❌ action "Delete" is available in the batch actions at the top

Settings

✔ login as marie
✔ go to settings page by clicking on username (top right) and clicking on "Settings"
✔ select "Deutsch" as language
✔ nav items in the left sidebar are displayed in german language
✔ browse to files app
✔ nav items in the left sidebar are displayed in german language
✔ table header and footer of the "All files" list are displayed in german language
✔ button and sub-actions for creating new resources is displayed in german language
✔ logout and then login as richard
✔ all UI elements mentioned before are again displayed in english language (as language for richard was not changed)

@pmaier1, can you please have a look

ownCloud Infinite Scale 1.2.0 Technology Preview
We are pleased to announce the availability of ownCloud Infinite Scale 1.2.0 Technology Preview, the new Infinite Scale platform.
Improvements in 1.120 Technology Preview

Update ownCloud web to v2.0.0
Update reva to v1.6.0
Reduced the bundle size in onwCloud Web
Accessibility - Make use of new design-system oc-table: #1597
Bugfix - Fix etcd address configuration: #1546

Bugfix - Remove unimplemented config file option for oCIS root command: #1636
Bugfix - Fix thumbnail generation when using different idp: #1624
Change - Initial release of graph and graph explorer: #1594
Change - Update ownCloud Web to v2.0.0: #1661
Enhancement - Make use of new design-system oc-table: #1597
Enhancement - Use a default protocol parameter instead of explicitly disabling tus: #1331
Enhancement - Functionality to map home directory to different storage providers: #1186
Fix https://github.com/cs3org/reva/issues/1461: Fix public link webdav permissions
Fix https://github.com/cs3org/reva/issues/1429: Purge non-empty dirs from trash-bin
Fix https://github.com/cs3org/reva/issues/1408: Get error status from trash-bin response
Enh https://github.com/cs3org/reva/issues/1400: Checksum support
Enh https://github.com/cs3org/reva/issues/1453: Add functionality to share resources with groups
Enh https://github.com/cs3org/reva/issues/1462: Hash public share passwords
Enh https://github.com/cs3org/reva/issues/1429: Add s3ng storage driver, storing blobs in a s3-compatible blobstore

@micbar typo
Reduced the bundle size in onwCloud Web =>
Reduced the bundle size in ownCloud Web

Completed successfully :-)


MINOR: Use sha512 instead of sha2 suffix in release artifacts

As per Apache guidelines:
http://www.apache.org/dev/release-distribution#sigs-and-sums

Merged to trunk.


TypeError: forward() got an unexpected keyword argument 'is_causal'

when I set attn=bbcc, I encountered this bug. Do you have some advice?
torch==2.0.1
transformers==4.37.2

Yes you need to use this modeling file: https://github.com/ContextualAI/gritlm/blob/main/scripts/modeling_mistral_gritlm.py
for Mistral.
If you want to train a different model then you need to add is_causal to its kwargs in the forward and use bidirectional attention whenever it is False.

I detailed it here: https://github.com/ContextualAI/gritlm?tab=readme-ov-file#models but maybe it is not visible enough

thank you! should I implement _prepare_4d_causal_attention_mask function for another model?

I think you can just import it from transformer like done in the mistral modeling file. You then just need to add an if/else clause like here https://github.com/ContextualAI/gritlm/blob/01b2ed4799f09df2d9d41a9870176606b32568aa/scripts/modeling_mistral_gritlm.py#L1032

get, thank you very much!


helm elemntal-operator-chart is not installed

Hello, I tried to set the chart from the documentation in the quick start section, but I get an error like:
helm upgrade --create-namespace -n cattle-elemental-system --install \
> elemental-operator oci://registry.opensuse.org/isv/rancher/elemental/stable/charts/rancher/elemental-operator-chart
Release "elemental-operator" does not exist. Installing it now.
Pulled: registry.opensuse.org/isv/rancher/elemental/stable/charts/rancher/elemental-operator-chart:1.0.2
Digest: sha256:0989a2eede6bc8d2aeeb9120b595942be4b005205195f2ca606e68d4e1e38c78
Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "elemental-operator" namespace: "" from "": no matches for kind "GlobalRole" in version "management.cattle.io/v3"
ensure CRDs are installed first

I tried running the cluster with different versions, but it didn't help:

v1.23.16+rke2r1
v1.23.16+k3s1

Rancher version: 2.7
Helm version:
helm version
version.BuildInfo{Version:"v3.11.2", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"clean", GoVersion:"go1.19.7"}

kubectl version:
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.3", GitCommit:"9e644106593f3f4aa98f8a84b23db5fa378900bd", GitTreeState:"clean", BuildDate:"2023-03-18T02:16:17Z", GoVersion:"go1.19.7", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.16+k3s1", GitCommit:"64b0feeb36c2a26976a364a110f23ebcf971f976", GitTreeState:"clean", BuildDate:"2023-01-26T00:09:39Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"linux/amd64"}

Hi @anylevel!
I tried running the same command against a cluster with rancher 2.7 installed and it worked. The error seems to indicate you are running the command against a cluster without rancher installed. Do you have the correct context set in kubeconfig for example?

@anylevel I see! The elemental-operator is an extension to rancher-manager and should be deployed in the same kubernetes cluster.. Running rancher+elemental in docker is sadly not supported right now, but you could run a KinD cluster and install rancher+elemental-operator in there.


fix(docker): Specifying max log file size

:tada: This PR is included in version 1.8.10 :tada:
Your semantic-release bot :package::rocket:


Upgrade to fs2 3.2.4 and cats-effect 3.3.1

Just the same as https://github.com/krasserm/streamz/pull/80, I don't want to shadow it, but quite a few stable versions came out later, so here are the current ones


Add promotion rule webhooks.

I want to merge this change, because it adds PROMOTION_RULE_CREATED, PROMOTION_RULE_UPDATED and PROMOTION_RULE_DELETED webhooks.
It also adds missing webhook info to promotion mutations.

Impact

[ ] New migrations
[x] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations

Docs

[ ] Link to documentation:

Pull Request Checklist

[x] Privileged queries and mutations are either absent or guarded by proper permission checks
[x] Database queries are optimized and the number of queries is constant
[x] Database migrations are either absent or optimized for zero downtime
[x] The changes are covered by test cases

Looks good, but I think that you should also include tests for deliveries.
Something like this one: saleor/plugins/webhook/tests/subscription_webhooks/test_create_deliveries_for_taxes.py
These tests confirm that we are able to generate the subscription payload.

@zedzior  You should especially have such test for PROMOTION_RULE_DELETED. In that case, you're operating on the rule that doesn't exist in DB, so you need to be sure, that subscription resolvers will handle this.


Does not work with Faraday 0.9

The latest Faraday branch does not work with the way the sessions are built. Arena requires that the last parameter in the URL be api_sig with the signed URL. Something about the 0.9 branch does not guarantee that that will be the case. It often ends up being the first item in the URL and Arena does not like this. We must find a fix to this issue before we can update to the latest version of Faraday.

We are going to be migrating away from Arena so this bug is just not worth fixing. We survived this long with it...


[Backport release-23.11] nixos/guix: init

Description of changes
Manual backport of #264331.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Was about to post a review seconds before seeing it merged but whatever. Here's the result anyways to not make it a waste.
Result of nixpkgs-review pr 272632 run on x86_64-linux 1

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

1 package built:

guix

Both guix.basic and guix.publish have been built and passed successfully. Not much problem encountered with a basic test drive (tested with an interactive test driver on one of the tests).


dnsChallenge: LEGO does not wait for keyboard input -> acme: error presenting token: EOF

Do you want to request a feature or report a bug?
Bug
What did you do?
I'm trying to set up Let's Encrypt authentication using dnsChallenge. I've done this with certbot before.
I set up the challenge using traefik command line arguments in docker-compose file. Then I deployed the configuraiton using docker stack deploy. I read the logs (noted that the container didn't wait for input on the initial occasion.
I added the TXT records required. Then I restared the container like this:
docker stop <id>
docker start -ia <id>

When I restart the container, the TXT records required are the same all the lego:  messages have new current timestamps.
This might be a traefik issue or LEGO issue or I might do something wrong.

What did you expect to see?
Either traefik container/LEGO waiting for input ("press ENTER") on initial deploy or successful check completion on restart.
What did you see instead?
lego: Please create the following TXT record in your kindrobots.com. zone:
_acme-challenge.finance.kindrobots.com. 120 IN TXT "1NYC_MP1EmQVWk9xqY9Yr8CCU-n-twblDBd68S82WKM"
lego: Press 'Enter' when you are done
time="2019-03-19T10:01:29Z" level=info msg="legolog: [INFO] [eng.kindrobots.com] acme: Preparing to solve DNS-01"
lego: Please create the following TXT record in your kindrobots.com. zone:
_acme-challenge.eng.kindrobots.com. 120 IN TXT "EWAwsyme0fzsQ_fNrkAeJeSLW_kt-l05Y_GmOfPou-g"
lego: Press 'Enter' when you are done
time="2019-03-19T10:01:29Z" level=info msg="legolog: [INFO] [eng-api.kindrobots.com] acme: Preparing to solve DNS-01"
lego: Please create the following TXT record in your kindrobots.com. zone:
_acme-challenge.eng-api.kindrobots.com. 120 IN TXT "8iuV5EP9H8OPrG24iJWmOds_uFM-2lIbNnnhomh0d54"
lego: Press 'Enter' when you are done
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [auth.kindrobots.com] acme: Preparing to solve DNS-01"
lego: Please create the following TXT record in your kindrobots.com. zone:
_acme-challenge.auth.kindrobots.com. 120 IN TXT "ijUh0ChvmMC4Rq5ET3jVGnHXEZ6_w7r8gKye6tn7J6E"
lego: Press 'Enter' when you are done
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [eng-auth.kindrobots.com] acme: Preparing to solve DNS-01"
lego: Please create the following TXT record in your kindrobots.com. zone:
_acme-challenge.eng-auth.kindrobots.com. 120 IN TXT "Kw6k0-xLNHJ9d1hKeCebbMjRy0Xlf2DTgPqtIbLTf7A"
lego: Press 'Enter' when you are done
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [api.kindrobots.com] acme: Preparing to solve DNS-01"
lego: Please create the following TXT record in your kindrobots.com. zone:
_acme-challenge.api.kindrobots.com. 120 IN TXT "R0U4bZEcon9TaUG-gunYABrUoJwk6_JJUND_9NsQEb8"
lego: Press 'Enter' when you are done
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [finance.kindrobots.com] acme: Cleaning DNS-01 challenge"
lego: You can now remove this TXT record from your kindrobots.com. zone:
_acme-challenge.finance.kindrobots.com. 120 IN TXT "..."
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [eng.kindrobots.com] acme: Cleaning DNS-01 challenge"
lego: You can now remove this TXT record from your kindrobots.com. zone:
_acme-challenge.eng.kindrobots.com. 120 IN TXT "..."
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [eng-api.kindrobots.com] acme: Cleaning DNS-01 challenge"
lego: You can now remove this TXT record from your kindrobots.com. zone:
_acme-challenge.eng-api.kindrobots.com. 120 IN TXT "..."
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [auth.kindrobots.com] acme: Cleaning DNS-01 challenge"
lego: You can now remove this TXT record from your kindrobots.com. zone:
_acme-challenge.auth.kindrobots.com. 120 IN TXT "..."
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [eng-auth.kindrobots.com] acme: Cleaning DNS-01 challenge"
lego: You can now remove this TXT record from your kindrobots.com. zone:
_acme-challenge.eng-auth.kindrobots.com. 120 IN TXT "..."
time="2019-03-19T10:01:30Z" level=info msg="legolog: [INFO] [api.kindrobots.com] acme: Cleaning DNS-01 challenge"
lego: You can now remove this TXT record from your kindrobots.com. zone:
_acme-challenge.api.kindrobots.com. 120 IN TXT "..."
time="2019-03-19T10:01:30Z" level=error msg="Unable to obtain ACME certificate for domains \"eng.kindrobots.com,api.kindrobots.com,auth.kindrobots.com,eng-api.kindrobots.com,eng-auth.kindrobots.com,finance.kindrobots.com\" : unable to generate a certificate for the domains [eng.kindrobots.com api.kindrobots.com auth.kindrobots.com eng-api.kindrobots.com eng-auth.kindrobots.com finance.kindrobots.com]: acme: Error -> One or more domains had a problem:\n[api.kindrobots.com] [api.kindrobots.com] acme: error presenting token: EOF\n[auth.kindrobots.com] [auth.kindrobots.com] acme: error presenting token: EOF\n[eng-api.kindrobots.com] [eng-api.kindrobots.com] acme: error presenting token: EOF\n[eng-auth.kindrobots.com] [eng-auth.kindrobots.com] acme: error presenting token: EOF\n[eng.kindrobots.com] [eng.kindrobots.com] acme: error presenting token: EOF\n[finance.kindrobots.com] [finance.kindrobots.com] acme: error presenting token: EOF\n"

Output of traefik version: (What version of Traefik are you using?)
Version:      v1.7.9
Codename:     maroilles
Go version:   go1.11.5
Built:        2019-02-11_11:36:32AM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
no toml is used

docker-compose file

networks:
  web_network: # stack deploy will and stack name prefix, it's going to be "eng_" -> eng_web_network
    driver: overlay

volumes:
  acme-certs:

services:
  reverse-proxy:
    image: traefik:alpine # The official Traefik docker image
    command:
      - "--debug"
      - "--logLevel=DEBUG"
      - "--entrypoints=Name:http Address::80 Redirect.EntryPoint:https Redirect.Permanent:true"
      - "--entrypoints=Name:https Address::443 TLS"
      - "--entrypoints=Name:dashboard Address::1936"
      - "--defaultentrypoints=http,https"
      - "--docker"
      - "--docker.watch"
      - "--docker.exposedbydefault=false"
      - "--docker.swarmMode"
      - "--docker.domain=eng.kindrobots.com"
      - "--api"
      - "--api.entrypoint=dashboard"
      - "--api.dashboard"
      - "--api.statistics"
      - "--api.statistics.recenterrors=500"
      # FIXME Enroll SSL cert from letsencrypt
      - "--acme"
      - "--acme.entryPoint=https"
      - "--acme.dnsChallenge"
      - "--acme.dnschallenge.delaybeforecheck=600"
      - "--acme.onDemand=false"
      -<EMAIL_ADDRESS>      - "--acme.acmelogging=true"
      - "--acme.storage=/acme/acme.json"
      - "--acme.dnsChallenge.provider=manual"
      - "--acme.domains=eng.kindrobots.com,api.kindrobots.com,auth.kindrobots.com,eng-api.kindrobots.com,eng-auth.kindrobots.com,finance.kindrobots.com"
    ports:
      - "80:80"
      - "443:443"
      - "1936:8080"
    networks:
      - web_network
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock #So that Traefik can listen to the Docker events
      - acme-certs:/acme

    container_name: traefik
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=eng_web_network"
      - "traefik.frontend.passHostHeader=true"
      - "traefik.frontend.rule=Host:eng.kindrobots.com:1936"
      - "traefik.port=8080"

The configuration itself is tested with docker-compose and TLS with my own (not the Traefik default, which is issued when something goes wrong) self-signed certificates.
Am I missing something, or there is a problem?

This is a bug report.

Please reopen.

OK, so I went to #support slack channel, and had a research session with.
My findings, TL;DR

dnsChallenge with manual provider works when launched like  docker run -i -t  ....
dnsChallenge  manual provider does not really work under docker stack (or the scenario is not supported), IMO would be great if this  were documented. Presumably this is because redirecting STDIN and STDOUT/STDERR is not quite the same as TTY you get with docker run -it ..

I got a working cert in place.

We don't recommend using manual especially in this case.
Mainly because manual don't allow to renew certificates automatically.
Prefer use exec or httpreq or acme-dns
More information:

https://go-acme.github.io/lego/dns/exec/
https://go-acme.github.io/lego/dns/httpreq/
https://go-acme.github.io/lego/dns/acme-dns/
https://github.com/joohoi/acme-dns

@ldez , thanks for the comment and the perspective. In our scenario DNS provider is not under our control, and is not willing to take any actions. I guess, this is 90+%  of internet scenarios. As I understand exec provider might be helpful if I'll be interested in automating the routine with a 3rd party tool, which I'll consider, but httpreq and acme-dns both require collaboration from DNS-server side.


Add unit tests for all builtins and extensions

Today many builtins do not have:

Good enough tests.
tests at all.

We should consider creating a comfortable approach for testing all makes builtins in a thorough way.

Only core builtins should be tested.


Re-Added inline compile listeners (#7466)

Pull request opened by the merge tool on behalf of #7466

Pull request rejected by merge tool. The tests for this branch did not succeed.


community[minor], azure-cosmosdb[major]: add new integration for Azure CosmosDB for NoSQL

Changes
@langchain/community

chore: deprecate Azure CosmosDB for MongoDB vCore vector store in favor of the new package integration

@langchain/azure-cosmosdb

feat: new package
feat: add updated Azure CosmosDB for MongoDB vCore integration (new name: AzureCosmosDBMongoDBvCoreVectorStore instead of AzureCosmosDBVectorStore
feat: add new Azure CosmosDB for NoSQL integration

docs

docs: updated docs and examples to use the new @langchain/azure-cosmosdb package

@sinedied We need to add support for "OFFSET LIMIT" query filters as well. And they can only be used together for NoSQL, not separately.
And for the Mongo vCore integration can we also add support for vector-HNSW and make it as default. vCore also added filtered vector search.
HNSW
vCore Filtered Vector Search

@aayush3011 Thanks for the feedback!
I've updated the NoSQL filters integration to allow OFFSET LIMIT in addition to WHERE clause, by making it more generic.
Regarding HNSW for vCore, this can be implemented in a separate PR, as this one is focused on CosmosDB NoSQL integration (and it already quite big 😅 ). The vCore integration here was just moved from the @langchain/community package, no features were changed.

Hi @jacoblee93 could you have a look? This PR should be complete now.
Sorry for the size, but it should be easier to update then with a dedicated package.

Yes will do thank yoU!

A fair bit of Cosmos DB specific things I'm not familiar with so am less helpful with best practices around that but left a few comments!

@jacoblee93 I've updated the PR and answered all your comments, let me know if it's good for you?

Thanks! It's failing lint + format but I can have a look.
Just FYI - we're also doing a bunch of work right now to standardize our integration docs/make our API refs more usable:
https://js.langchain.com/v0.2/docs/integrations/vectorstores/pinecone

Thank you!

Live here: https://www.npmjs.com/package/@langchain/azure-cosmosdb

Thanks! It's failing lint + format but I can have a look.
Just FYI - we're also doing a bunch of work right now to standardize our integration docs/make our API refs more usable and maintainable:
https://js.langchain.com/v0.2/docs/integrations/vectorstores/pinecone

Thanks! I'll look into updating the docs to the new format in the next PR!


crypto/tls: TLS1.3 occasionally fails with "tls: error decoding message" when fetching from https://tls13.1d.pw

What version of Go are you using (go version)?

$ go version
go version go1.15.2 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/firefart/.cache/go-build"
GOENV="/home/firefart/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/firefart/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/firefart/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build097380316=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Hi,
we've noticed something strange when testing a tool against a TLS1.3 only test server over at https://tls13.1d.pw/ . Requests to this server sometimes succeed and sometimes return a remote error: tls: error decoding message error.
From here it looks like the webserver used on this testing site is a custom implementation (the Server header indicates Server: Z/pZ v.1.11.beta) so I think this might be a server side issue on their side, but by using various browsers this issue can not be reproduced (maybe they are less strict on handling the TLS1.3 protocol).
So I'm opening an issue here so someone familiar with TLS1.3 might have a look at this to rule out a possible golang error on handling or sending TLS1.3 packets.
Thanks!
Test script:
package main

import (
        "net/http"
        "log"
        "io/ioutil"
)

func main() {
        resp, err := http.Get("https://tls13.1d.pw/")
        if err != nil {
                log.Fatalln(err)
        }

        body, err := ioutil.ReadAll(resp.Body)
        if err != nil {
                log.Fatalln(err)
        }

  log.Println("Success")
  _ = body
  // log.Println(string(body))
}

Example run:
for x in $(seq 5); do echo $x; go run test.go; done
1
2020/10/14 23:34:52 Get "https://tls13.1d.pw/": remote error: tls: error decoding message
exit status 1
2
2020/10/14 23:34:52 Success
3
2020/10/14 23:34:53 Get "https://tls13.1d.pw/": remote error: tls: error decoding message
exit status 1
4
2020/10/14 23:34:53 Success
5
2020/10/14 23:34:54 Get "https://tls13.1d.pw/": remote error: tls: error decoding message
exit status 1

Here are 2 pcaps of good and failed requests:
pcap.zip
What did you expect to see?

Here is a minimal code reproducer, using the crypto/tls dialer and writing HTTP/1.1. over the wire without using the net/http package, so that we can  isolate the problem:
package main

import (
	"bufio"
	"crypto/tls"
	"crypto/x509"
	"errors"
	"fmt"
	"io"
)

func main() {
	certPool, err := x509.SystemCertPool()
	if err != nil {
		panic(err)
	}
	host := "tls13.1d.pw"
	conn, err := tls.Dial("tcp", host+":443", &tls.Config{RootCAs: certPool})
	if err != nil {
		panic(err)
	}
	defer conn.Close()

	fmt.Fprintf(conn, "GET / HTTP/1.1\r\nPath: /\r\nConnection: close\r\nHost: %s\r\n\r\n", host)
	br := bufio.NewReader(conn)
	for {
		line, _, err := br.ReadLine()
		if errors.Is(err, io.EOF) {
			break
		}
		if err != nil {
			panic(err)
		}
		println(string(line))
	}
}

which will produce sometimes either of:
Bad response
$ go run main.go
panic: remote error: tls: error decoding message

goroutine 1 [running]:
main.main()
	/Users/emmanuelodeke/Desktop/openSrc/bugs/golang/41983/main.go:15 +0x413
exit status 2

Good response
HTTP/1.1 200 OK
Server: Z/pZ v.1.11.beta
Public-Key-Pins: pin-sha256="LOip4wo3g8bntfGValXzDEmzTG23JtAZZ5zECX2rOlw="; pin-sha256="As6pWcwmAbUdO56S2HsZWl+kuLXR+ffow9nrkMHhrAQ="; pin-sha256="fec87drmn0s0sf95Tf2ltYSCesjFl43xCX++/laTvTs="; max-age=259201;
Strict-Transport-Security: max-age=15552000
X-Recent-Code-Change: desc="Updated URL handling"
X-TLS-ClientRandom-Challenge: try="0xDEADDEADDEADC0DE0[0...]-in-Random"
Content-Type: text/html; charset=UTF-8
Connection: close

<!DOCTYPE html><link rel="stylesheet" href="/assets/styles.css" /><title>TLS 1.3 connection test server at tls13.1d.pw</title>

TLS 1.3 Connection Test Server at tls13.1d.pw

Successfully connected

TLS 1.3 OK;

Detailed description:

v.0.21.7-k
(This TLS-1.3-only server supports ESNI, HelloRetryRequest, KeyUpdate, ECDHE, FFDHE, etc.)

CRYPTO_CONTEXT

	Protocol version: 0x0304
	Cipher suite: 0x1301 (TLS_AES_128_GCM_SHA256)
	Key exchange: 0x001D (X25519)

	(Handshake level)
	Handshake secrets:
		Client: 0x1FC704DEA339962A31BE50F6DF06D59BB4E4FDA9C574BD7A4348DEABC1EE83C8
		Server: 0x95D4275CEB6D7DF898D58060B4BF9864775BA6298C800796E475F2497A716743
	Handshake keys:
		Client write: 0x9835E654D4DDB4FA01F13D9AD1965F5B
		Server write: 0x02431611068A7EC71AEC32B4A7A3EC40
	Handshake IVs:
		Client write (IV): 0xC154F4811769FDA1B24EE35A
		Server write (IV): 0x0AD1CC35010650D4F5F48C01

	(Traffic level)
	Traffic secrets:
		Client: 0x65D80D9FA15BB68FBABC959577017441BE7FFA8B88BE11C8C311F2FCA1A52BFF
		Server: 0x24A7D5D11E19AE2919DD17AA36F3D791840643F098B271042C46C0B962241297
	Traffic keys:
		Client write: 0xEF196A6D6EFA3F4BAF2AA3524EC72EC0
		Server write: 0x5E41861935D6F36495A0880A1469D1D6
	Traffic base IVs:
		Client write (base IV): 0x0859B5C82C0F389E9288EE2B
		Server write (base IV): 0xBB07F9D63333D7AF527CDB67

--- Messages ---

[Legacy ChangeCipherSpec message sent (server)]

CLIENT_HELLO (recieved)

	Version: 0x0303
	Cipher suites:
		0xC02F,0xC030,0xC02B,0xC02C,0xCCA8,0xCCA9,0xC013,0xC009
		0xC014,0xC00A,0x009C,0x009D,0x002F,0x0035,0xC012,0x000A
		0x1301,0x1303,0x1302
	Client Random: 27:75:32:F3:15:62:3E:A0:8C:09:50:EA:F9:24:EF:37:42:B7:14:58:DA:39:B2:16:73:35:5E:23:8D:8B:61:2F
	Client SessionID: 5D:89:25:6C:9A:87:EF:7C:F5:69:01:E3:F7:B3:D9:0D:74:A8:DF:51:DD:9C:F0:36:A4:3B:D8:72:7C:26:1D:6B
	Extensions:
		Type: 00 (0x0000); "server_name"
			00:00:0E:00:00:0B:74:6C:73:31:33:2E:31:64:2E:70:77
			hostname: tls13.1d.pw
		Type: 05 (0x0005); "status_request"
			01:00:00:00:00
		Type: 10 (0x000A); "supported_groups"
			0x001D (X25519)
			0x0017 (Secp256r1)
			0x0018 (Secp384r1)
			0x0019 (Secp521r1)
		Type: 11 (0x000B); /non-TLS-1.3/
			01:00
		Type: 13 (0x000D); "signature_algorithms"
			00:18:08:04:04:03:08:07:08:05:08:06:04:01:05:01
			06:01:05:03:06:03:02:01:02:03
		Type: 65281 (0xFF01); /non-TLS-1.3/
			00
		Type: 18 (0x0012); "signed_certificate_timestamp"
		Type: 43 (0x002B); "supported_versions"
			0x0304
			0x0303
			0x0302
			0x0301
		Type: 51 (0x0033); "key_share"
			X25519 (0x001D)
				x = 0x1828B5EAFEF9C23A4EE5373FFC26D7D66380FCA6776AC09BB36D43E99B69930B

SERVER_HELLO (sent)

	Legacy Version: 0x0303
	Cipher suite: 0x1301 (TLS_AES_128_GCM_SHA256)
	Server Random: DE:AD:DE:AD:DE:AD:C0:DE:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
	SessionID: 5D:89:25:6C:9A:87:EF:7C:F5:69:01:E3:F7:B3:D9:0D:74:A8:DF:51:DD:9C:F0:36:A4:3B:D8:72:7C:26:1D:6B
	Extensions:
		Type: 51 (0x0033); "key_share"
			X25519 (0x001D)
				x = 0x145891E6697DAA111BD9A43EB39FA860847D09303D603128F82CE7451DAE456B
		Type: 43 (0x002B); "supported_versions"
			0x0304

[Legacy ChangeCipherSpec message sent (server)]

SERVER_HANDSHAKE_MESSAGES (sent)

	Type: 8 (0x08) - "encrypted_extensions"
		Length (octets, dec.): 2
		00:00
	Type: 11 (0x0B) - "certificate"
		Length (octets, dec.): 3165
		[...] /skipped 3165 data octets/
	Type: 15 (0x0F) - "certificate_verify"
		Length (octets, dec.): 107
		05:03:00:67:30:65:02:31:00:84:20:8C:6D:A6:44:2F:9D:63:B2:27:50:3E:2F:02:48:B6:BE:35:C3:A7:38:21
		28:8C:9F:9E:8C:38:B8:F5:11:D8:12:F5:E0:76:EF:F4:EB:AA:3F:70:9D:82:57:04:5A:02:30:11:5D:13:31:9D
		B4:02:DE:C6:8E:FA:08:35:27:D9:78:AC:AB:FC:9B:A0:43:E7:BC:15:25:24:9D:43:94:FD:28:B0:35:DC:59:B2
		88:EA:0B:B5:0A:9D:06:11:D2:E8:85
	Type: 20 (0x14) - "finished"
		Length (octets, dec.): 32
		5A:8E:23:33:47:54:6D:66:6F:37:49:36:C1:3B:69:BC:84:6A:6A:4A:E0:DB:AC:1B:44:52:E0:CA:77:87:BF:57

[Legacy ChangeCipherSpec message present (client)]

CLIENT_FINISHED (received)

	Finished value: 0x6C16E254640F9DD42558938C1CACC3BF97D50D7F4DA8C5ABC9661C8944F5D6FD
	Client Finished status: OK

CLIENT_APPLICATION_DATA (recieved)

	ASCII dump (filtered):
		GET / HTTP/1.1..Path: /..Connection: close..Host: tls13.1d.pw...
		.

TCP: server: <IP_ADDRESS>:443; client: <IP_ADDRESS>:59847; timestamp:<PHONE_NUMBER>

Contacts: dxdt.ru, email := alex//\/io7.nl.

 /\_/\
( 0.0 )
 = ^ =
 /|_|\
(") (")=~

Provide ESNI to get second ASCII cat

Elapsed server side: 198ms; ServerHello sent: 8ms; TLS connection established: 198ms.

/cc @rolandshoemaker

You also get an error in firefox occasionally with that specific domain: "An error occurred during a connection to tls13.1d.pw. SSL received a record with an incorrect Message Authentication Code. Error code: SSL_ERROR_BAD_MAC_READ".
See: https://serverfault.com/questions/6653/ssl-error-ssl-error-bad-mac-read

conn.go:712:			                       return c.in.setErrorLocked(c.sendAlert(alertDecodeError))
handshake_client_tls13.go:189:		c.sendAlert(alertDecodeError)
handshake_client_tls13.go:290:		c.sendAlert(alertDecodeError)
handshake_client_tls13.go:427:		c.sendAlert(alertDecodeError)

@apoq given that you have confirmed this problem happens using firefox, which is not written in go, is it possible that the problem exists at the remote end? Are you able to contact the owners of the site and gather some details about the software they are running?

This appears to be caused by server implementation issue rather than a client one. When the server sends a message with the records hello_retry_request, change_cipher_spec the crypto/tls client responds with change_cipher_spec, client_hello.
It seems like the client sending change_cipher_spec before client_hello trips up this particular server and causes a decode_error alert. If you remove the change_cipher_spec message, or move it after the client_hello, the server continues normally. This issue looks to be an implementation issue on the server side as the server should just be dropping all of the change_cipher_spec messages on the ground without doing anything with them (and in fact RFC 8446 call out that servers should be capable of handling a change_cipher_spec message between the two client_hello messages).
/cc @FiloSottile who understands TLS 1.3 far better than I do though and may have different thoughts.

Thanks @rolandshoemaker for looking into this! Indeed, we are doing what the spec says
   -  If not offering early data, the client sends a dummy
      change_cipher_spec record (see the third paragraph of Section 5)
      immediately before its second flight.  This may either be before
      its second ClientHello or before its encrypted handshake flight.
      If offering early data, the record is placed immediately after the
      first ClientHello.

and the server is expected to tolerate it
   An implementation may receive an unencrypted record of type
   change_cipher_spec consisting of the single byte value 0x01 at any
   time after the first ClientHello message has been sent or received
   and before the peer's Finished message has been received and MUST
   simply drop it without further processing.

This is a server issue. It looks like this is an experimental server implementation, so I recommend reaching out.

Thanks for looking into this!

Hello,
I'm the one behind the tls13.1d.pw TLS implementation. Hopefully, I have now fixed this bug in server. The cause was exactly the leading change_cipher_spec handling - in some cases server was erroneously skipping not only CCS, but also next message. Thanks.

Thanks everyone for taking the time to look at this! And thanks @avened for jumping on it. Local test looks good:

You're all wonderful humans.


Superseded Instance Policy - Fixing table in report

Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[x] All tests pass.
[x] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

          1 Warning

:warning:
Should this include readme changes

  Generated by :no_entry_sign: Danger


[WV-334] Convert Form Layout Changes to Include Templates - TEAM REVIEW

Updating form layout changes to use django include templates
Questions:

district name dict value
contest office name dict value
vote usa office dict value
vote usa politician dict value
how to do labels with links and extra logic

👍  This is some great work @lredmo1.


Stopped filter also shows adapters with messages in the error log

Describe the bug
On the adapter status page, there are buttons to filter adapters based on state. When clicking the Started and Warning buttons, so that only Stopped adapters are shown (/status?filter=stopped), adapters with messages in the error store are also shown. Refreshing the page does filter them out.
Reporter
Ricardo
Category

Frank Console

To Reproduce
Steps to reproduce the behavior:

Have an adapter with some messages in the error store
Go to the adapter status page
Filter out Started and Warning adapters
See adapter still being shown
Refresh page
Adapter is hidden

Expected behavior
No refresh needed to filter out adapters with messages in the error store.
Screenshots
N/A
Environment:

Application server (f.e. Tomcat/WebSphere/JBOSS/Jetty): Websphere
Browser [e.g. chrome, safari]: Chrome
IAF Version [e.g. 7.5 RC3, 7.6]: 7.5-RC3

Additional context
N/A

As far as I can see GUI 3 seems to consider adapters with messages in the error store as stopped messages...
This was probably done as a shortcut.. I'll have a look at what I can do

Small correction, after a refresh the adapters do show if they have something in their error store, but because it takes some time loading it, it seems empty.
Maybe change the and reorder the buttons to Running, Warning and Error (instead of Started, Warning and Stopped)? Maybe adapters for which adapters have failed messages (but without error store) should then also be put under Error.


New version: uazo.cromite version 125.0.6422.60

Created by 🥟 Dumplings in workflow run #1544.
Logs
Updated: 124.0.6367.202 → 125.0.6422.60
Cannot validate argument on parameter 'ChatID'. The argument is null, empty, or consists of only white-space characters. Provide an argument that contains non white-space characters, and then try the command again.
Submitting WinGet manifests
Cannot validate argument on parameter 'ChatID'. The argument is null, empty, or consists of only white-space characters. Provide an argument that contains non white-space characters, and then try the command again.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 881.)


problems with permissions

I have problems with the permissions of the downloaded files although in umask I have them in 000 also try with 0000 and always write the folders or files with 770 and are not accessible from my windows I have q change permissions to folders manually from my unraid panel

Edit: solved
This was found to be due to the remnants of being in Active Directory, but instead of being a permissions issue, it was an extended ACL issue. Using the command "setfacl -Rb /mnt/user/" resets the ACL on all user shares, then reruns the docker safe permissions tool and voilà, dockers can assign permissions as expected

Great that you found the problem!
Do you know why ACLs existed on /mnt/user ?


--nopause flag doesn't work for x64bit program

--nopause flag doesn't work for x64bit program.

Thanks for the report @ALXIMIKS . Confirmed this is an issue, it looks like adding a check before the CreateThread call and then setting the correct dwCreationFlags value will resolve the issue.

Fixed 0.0.4


Build failing

Running build from the root of the project fails with tsc
><EMAIL_ADDRESS>build /airbyte-connectors/faros-airbyte-cdk
> tsc -p src

src/destinations/destination-runner.ts:87:19 - error TS2339: Property 'message' does not exist on type 'unknown'.

87                 e.message ? e.message : e
                     ~~~~~~~

This happens with the latest Typescript compiler. Should be fixed - https://github.com/faros-ai/airbyte-connectors/pull/81

@subhash thanks for reporting!


Change remixed/Friends remixed

The "Fresh Bitcoin" stat was changed awhile back to exclude one hop coinjoin outputs that were remixed and do not pay coordinator fees.  This includes the sender's change output as well as coins sent from one Wasabi user to another.  We should still track the value of these coins that mix for free.
Furthermore, there is a noticeable on chain footprint that can be used determine when the "friends don't pay" discount is taken advantage of:  Whenever a payment consuming coinjoin outputs creates two outputs, and BOTH outputs are remixed, then we can assume two Wasabi users are transacting.  This is an upper bound- if the change avoidance feature is used by the sender, then the use of this discount by the receiver will not be detected.

All 4 discounts can be visualized on one chart, this metric only applies to Wasabi 2.0:
"Free Change" - 2 output transaction where one output (the change) was remixed for free.
"Free Consolidation" - 1 output transaction that was remixed for free.  This could be a payment or a self spending consolidation.
"Friends Don't Pay" - 2 output transaction where both outputs remix for free. This is definitely a payment between two Wasabi users.
"Plebs Don't Pay" - Total value of new inputs below 0.01 that were not charged coordinator fees.
An issue is that a coin can qualify for both the "Plebs don't pay" exemption in addition to a "Friends don't Pay" or "Free Change" exemptions.  I do not know whether it is best to double count this or to prioritize one discount over the other.


Adding support for providing Auth headers via Swagger UI

Why make this change?
To enable users to provide value for X-MS-API-ROLE and Authorization headers via Swagger UI. Addresses: https://github.com/Azure/data-api-builder/issues/1789
What is this change?
Added method OpenApiDocumentor.AddCustomHeadersToOperation which will add the above mentioned two headers for every operation supported for every entity irrespective of the entity type (Table/View/StoredProcedure).
How was this tested?


Add Go In 5 Minutes

If it counts as a podcast (it's a screencast and blog), I'd like to see Go In 5 Minutes onto this list.
Disclosure: I'm the creator

Hi @arschles
Thanks for the suggestion.
I'm looking to keep gopherpods to audio podcasts only.
Have you looked at gophervids? I think that would be a better fit for screencasts such as yours.

Closing.


Kafka transactions

Are transactions fully implemented?
I do not see anything in the code indicating that the feature is supported. This means that you cannot guarantee one time delivery in a consumer-producer pipeline.

Hi @JohnColeman-CTO,
Currently Greyhound does not have support for exactly-once-processing (i.e. Kafka transactions).
But we plan to introduce it in 2021.
The idea is to have an additional ExactlyOnceProcessor (which will encapsulate both a consumer and producer) alongside RecordConsumer (which provides at least once guarantees)
CC: @berman7

Hi @JohnColeman-CTO,
Currently Greyhound does not have support for exactly-once-processing (i.e. Kafka transactions).
But we plan to introduce it in 2021.
The idea is to have an additional ExactlyOnceProcessor (which will encapsulate both a consumer and producer) alongside RecordConsumer (which provides at least once guarantees)
CC: @berman7


Update README.md

another typo in readme but also suggesting inconsistent naming conventions based on my previous PR
should fix in README but also agree on naming convention

Thank you, the style should be consistent within the code. UpperCamelCase for properties that require some computation, lowerCamelCase for basic fields.

I added clarity here: https://github.com/immersivecognition/unity-experiment-framework/wiki/Programming-reference


Add method addScriptToExecuteOnDocumentCreated and removeScriptToExecuteOnDocumentCreated.

Add method addScriptToExecuteOnDocumentCreated and removeScriptToExecuteOnDocumentCreated.
Updated Dark sdk from 2.12.0 to 2.13.0 to support type aliases that used by ScriptID defintion.

Unfortunately, there's a conflict. Please rebase your PR on top of main.

Please rebase your PR.


Url 'https://www.microsoft.com/en-us/web/webpi/4.6/webproductlist.xml' returned HTTP status code: 404

Cookbook version
1.2.9
Chef-client version
12
Platform Details
windows 2012r2
Scenario:
I am getting the following error:  Url 'https://www.microsoft.com/en-us/web/webpi/4.6/webproductlist.xml' returned HTTP status code: 404
When I try to browse to that URL it is indeed invalid.
Steps to Reproduce:
1517935130,,ui,message,    amazon-ebs: [2018-02-06T11:38:49-05:00] INFO: Processing webpi_product[WDeployNoSMO] action install (webdeploymenttoolkit::default line 8)
1517935136,,ui,message,    amazon-ebs:
1517935136,,ui,message,    amazon-ebs: ================================================================================
1517935136,,ui,message,    amazon-ebs: Error executing action install on resource 'webpi_product[WDeployNoSMO]'
1517935136,,ui,message,    amazon-ebs: ================================================================================
1517935136,,ui,message,    amazon-ebs:
1517935136,,ui,message,    amazon-ebs: Mixlib::ShellOut::ShellCommandFailed
1517935136,,ui,message,    amazon-ebs: ------------------------------------
1517935136,,ui,message,    amazon-ebs: Expected process to exit with [0%!(PACKER_COMMA) 42]%!(PACKER_COMMA) but received '-1'
1517935136,,ui,message,    amazon-ebs: ---- Begin output of "C:\Program Files/Microsoft/Web Platform Installer/WebpiCmd.exe" /Install /products:WDeployNoSMO /suppressreboot /accepteula /Log:c:\chef\cache/WebPI.log ----
1517935136,,ui,message,    amazon-ebs: STDOUT: The software that you obtain using the Web Plaform Installer Command Line Tool is licensed to you by its owner.  Microsoft grants you no rights for third party software.
1517935136,,ui,message,    amazon-ebs: .  \r .. \r ...\r    \r    \rUnexpected exception occurred
1517935136,,ui,message,    amazon-ebs: Url 'https://www.microsoft.com/en-us/web/webpi/4.6/webproductlist.xml' returned HTTP status code: 404
1517935136,,ui,message,    amazon-ebs: STDERR:
1517935136,,ui,message,    amazon-ebs: ---- End output of "C:\Program Files/Microsoft/Web Platform Installer/WebpiCmd.exe" /Install /products:WDeployNoSMO /suppressreboot /accepteula /Log:c:\chef\cache/WebPI.log ----
1517935136,,ui,message,    amazon-ebs: Ran "C:\Program Files/Microsoft/Web Platform Installer/WebpiCmd.exe" /Install /products:WDeployNoSMO /suppressreboot /accepteula /Log:c:\chef\cache/WebPI.log returned -1
1517935136,,ui,message,    amazon-ebs:
Expected Result:
It should install

I talked to @mmclane about this issue. The source cookbook that they were using was https://github.com/wildbillcat-cookbooks/webdeploymenttoolkit. The pinned version of the cookbook that cookbook uses of this cookbook is a really old version, (1.2.8).


CMultiSelect not re-rendering on provided options change. Even empty array is provided previous placeholder is still displayed.

Operating system and version: Windows 10
Browser and version: Chrome v126.0.6478.128 (Official Build) (64-bit)
COREui PRO react version: latest - 5.2.0

If the prop options change, the component is not redrawn.
If the prop options is emptied (empty array provided), placeholder still shows the previous selection though there are no options to select from
When new options prop is provided the onChange is not fired, meaning that submitting the form will keep the old value!
There is no easy way to reset the selection programmatically, without using the cleaner prop - it forces devs to remove the component from the view briefly in order to force re-render!
Feature: Please provide a way to programmatically deselect/clear selection ...
Test case:
....
  useEffect(() => {
    if (!item.tenant_id || !item.category_id) return

    loadGroups()
  }, [item.tenant_id, item.category_id])

  async function loadGroups() {
    const groupsResponse = await getAiAgentsGroups(auth, {
      tenant: item.tenant_id,
      category: item.category_id,
    })
    initGroupSelectOptions(groupsResponse.results ?? [], groupId)
  }

  function initGroupSelectOptions(groups, selected) {
    setGroupSelectOptions(
      groups.map(({ id, name }) => ({
        label: name,
        value: id,
        selected: id === selected,
      })),
    )
  }
// ...
  return <CMultiSelect
    options={groupSelectOptions}
    multiple={false}
    cleaner={false}
    optionsStyle="text"
    optionsMaxHeight={300}
    onChange={(selectedOptions) =>
    handleSelectChange(selectedOptions, setItem, 'agentgroup_id')
    }
/>

Gif recording:

Similar previous closed bug: #268

@bizon-boxcribe I will check

@bizon-boxcribe I just released v5.3.0, please check this example - https://coreui.io/react/docs/forms/multi-select/#coordinated-selection

This problem persists to this day,
Example:
`
{JSON.stringify(test)}
      <CMultiSelect
        label={"test"}
        onChange={() => {}}
        multiple={false} options={test} />

        <button onClick={() => {setTest([{value:Math.random(), label: "TEST ODABRAN" + Math.random(), selected: true}])}}>TEST</button>

`
When pressing the button, only the first time it will recreate the list, and after that only the first selected remains.
One thing is interesting, after multiple list updates, if you switch the multiple prop to true, you will see all items as selected.
My guess is the list is always updated, never deleted, and when multiple is false, it takes the first one in the list.


Compatibility chart between flutter and appium-flutter-driver

Hello @KazuCocoa,
Thank you for your work, is there a way to know if flutter V3 is compatible with the latest appium-flutter-driver(Appium) , do you have a compatibility chart between flutter and appium-flutter-driver versions ?
Thanks

I only try to update https://github.com/appium-userland/appium-flutter-driver/blob/main/driver/CHANGELOG.md


Farm timer is useless because farm clocks are not universal

I feel this fact isn't well known, but ever since the farming rework there has not been one global farm clock shared by all as there once was, but instead multiple clocks spread out. So when it tells me my herbs are going to be done at 17:20, for some that may be accurate, but for others like myself that time is not correct at all. I'm not sure what the best solution would be but as it stands the farm timer as it is currently is completely inaccurate.
I'm familiar enough with farm ticks to know when my herbs are actually going to be done, but for some I imagine confusion when it says something is done and they arrive at the patch to find that it isn't.

Duplicate of #2491?


We must open this package

TravisCI has notified me about ending our trial subscription. I was curious why we have something like that so I checked it. TravisCI is free for open source repositories, but this one is private. For now we have only 49 free builds left. If we would not open gowork/dqo then Travis will stop working.

And its done :confetti_ball:


Rebuild FS around Litentry pallet

Rewrite the FS pallet functions to make them work with Litentry pallet

Strip out all of the current useless parts:

[ ] anmol code
[ ] node-template related code

Update:

[ ] latest substrate monthly code