press & awards

Screenshots: https://github.com/PREreview/prereview-project-assets/tree/master/screenshots
@rudietuesdays Can we have that the links open new page when user clicks on screenshots in carousel?

ASAPbio_award: https://asapbio.org/sprint-recap
PLOS ECR Community guest post: https://ecrcommunity.plos.org/2018/10/18/guest-post-learning-about-preprints-with-prereview/
Nature OSrPRE: https://www.nature.com/articles/d41586-020-00613-4
No Manifesto podcast: https://www.nomanifestos.com/episodes/4
The Lancet: https://www.thelancet.com/journals/lanplh/article/PIIS2542-5196(21)00011-5/fulltext
Midas Network: https://midasnetwork.us/outbreak-science-prereview-a-platform-for-pre-prints-for-2019-ncov-studies/
bio2040 podcast: https://bio2040.com/2018/04/09/opening-up-the-opaque-peer-review-process-with-sam-daniela-from-prereview/
Research Professional news: https://www.researchprofessionalnews.com/rr-news-uk-open-access-2020-3-new-preprint-review-site-issues-call-for-papers-on-covid-19/
eLife featured article: http://alice.mbi.ucla.edu/uploads/6/0/5/7/60576915/elife.38532__1_.pdf
EPFL: https://actu.epfl.ch/news/pre-prints-and-journal-clubs-empowering-the-next-g/
Nature Index: https://www.natureindex.com/news-blog/three-online-tools-aimed-at-improving-preprints
Uni Pittsburgh: https://www.natureindex.com/news-blog/three-online-tools-aimed-at-improving-preprints
South China Morning Post: https://www.natureindex.com/news-blog/three-online-tools-aimed-at-improving-preprints
SPARC: https://sparcopen.org/news/2020/opencon-community-members-support-rapid-covid-response-through-preprints/
JROST award: https://investinopen.org/blog/jrost-rapid-response-fund-awardees/

Trimmed down version:

ASAPbio award: https://asapbio.org/sprint-recap

JROST award: https://investinopen.org/blog/jrost-rapid-response-fund-awardees/

Nature OSrPRE: https://www.nature.com/articles/d41586-020-00613-4

The Lancet: https://www.thelancet.com/journals/lanplh/article/PIIS2542-5196(21)00011-5/fulltext

Nature Index: https://www.natureindex.com/news-blog/three-online-tools-aimed-at-improving-preprints

South China Morning Post: https://www.natureindex.com/news-blog/three-online-tools-aimed-at-improving-preprints

SPARC: https://sparcopen.org/news/2020/opencon-community-members-support-rapid-covid-response-through-preprints/

bio2040 podcast: https://bio2040.com/2018/04/09/opening-up-the-opaque-peer-review-process-with-sam-daniela-from-prereview/

No Manifesto podcast: https://www.nomanifestos.com/episodes/4

@dasaderi thank you! Do you have brief descriptions for each of these? Without those they won't be screenreader-accessible

I can give you a title for each ones if needed. I'm just in a wall of call this afternoon, but will add as soon as I can.

Only if you want something specific! Otherwise I'll reference the article or award in each title

Just realized the link for the South China morning post is a duplicate of the Nature Index article! Do you have the correct link?

@dasaderi all added on the dev site, reflects the figma and not new updates as per our meeting today. just need the link for the South China article and it's ready to go! http://prereview-dev.azurewebsites.net/

Sorry. Here it is https://www.scmp.com/news/china/article/3075431/will-coronavirus-kill-dinosaur-world-academic-publishing

@dasaderi thanks! updated http://prereview-dev.azurewebsites.net/

@rudietuesdays, reopening this to add text to each link and have design match Figma as new design by @georgiamoon.
Below is info in the order that is currently on the website with Title/text/Read more link.

PREreview Awarded "Best in Show" at the ASAPbio #PreprintSprint 2020 / In the fall of 2020, PREreview was one of 20 projects who participated in the ASAPbio Design Sprint: Encouraging Preprint Curation and Review. Our team contributed with two submissions, one in which we proposed a model of engagement based on mentorship and collaborative review (proposal here) and one in collaboration with the C19 Rapid Review Publishers Initiative (proposal here). At the final pitch presentation on December 3, our team was awarded "Best in Show" with the first pitch. Read more https://asapbio.org/sprint-recap.

PREreview Awarded the JROST Rapid Response Fund / In the fall of 2020, JROST announced the Rapid Response Fund "to create a means to give back to the open infrastructure and technology community." PREreview was one of eight projects who were awarded. Read more https://investinopen.org/blog/jrost-rapid-response-fund-awardees/

Nature: Open peer-review platform for COVID-19 preprints / Just a few weeks before the COVID-19 pandemic hit the world, we launched Outbreak Science Rapid PREreview, a platform for the rapid community review of outbreak-related preprints–now a community on the new preview.org. In this short Nature commentary, Project Directors Drs. Daniela Saderi and Michael Johansson presented the platform to the community. Read more https://www.nature.com/articles/d41586-020-00613-4

The Lancet: Lessons from the influx of preprints during the early COVID-19 pandemic / The COVID-19 pandemic led to an unprecedented increase in the uptake of preprints within the scientific community. Outbreak Science Rapid PREreview is mentioned in this commentary on The Lancet as the tool that allows researchers to conduct public reviews of COVID-19 preprints. Read more https://www.thelancet.com/journals/lanplh/article/PIIS2542-5196(21)00011-5/fulltext

Nature Index: Three online tools aimed at improving preprints / PREreview showcased as one of three tools "aimed at helping researchers produce better preprints."  / PREreview Co-Founder and Director Dr. Daniela Saderi was interviewed by journalist Linda Lew for this piece on the future of publishing post-pandemic. Read more https://www.scmp.com/news/china/article/3075431/will-coronavirus-kill-dinosaur-world-academic-publishing

SPARC Community Member Highlight / PREreview Leadership Team member and OpenCon alum Dr. Monica Granados was interviewed by SPARC to present our work in the context of the pandemic to the community. Read more https://sparcopen.org/news/2020/opencon-community-members-support-rapid-covid-response-through-preprints/

bio2040 Podcast: Opening up the opaque Peer Review Process with Sam & Daniela from PREreview Want to learn about PREreview's first baby steps and what motivated us to work on this project? Listen to PREreview Co-Founders Drs. Samantha Hindle and Daniela Saderi talk about it in this 2018 interview with Entrepreneur and Angel Investor Flavio Rump. Read more /https://bio2040.com/2018/04/09/opening-up-the-opaque-peer-review-process-with-sam-daniela-from-prereview/

No Manifesto Podcast: A chat with PREreview Co-Founder and Neuroscientist Daniela Saderi Curious about the context PREreview started? Spoiler alert, it begins with a couple of somewhat frustrated but optimistic early-career (neuro)scientists. Read more https://www.nomanifestos.com/episodes/4

updated on the dev site https://prereview-dev.azurewebsites.net/

Looks great, thank you @rudietuesdays. I will close this issue.


python3Packages.skidl: init at unstable-2020-09-15

Motivation for this change
Adds skidl.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@jonringer done.


Add a license to the repository

I recently came across your project Qiskit1 and I noticed that the repository github.com/NirupamKhanal/Qiskit1 currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

I recently came across your project Qiskit1 and I noticed that the repository github.com/NirupamKhanal/Qiskit1 currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

Thanks for the suggestion. I have added the license now.

Thanks!


Key-value store use case

Setup the use case for the key-value store.
We can take this almost straight from the other work on ConDRust.

@Pagolin did that already on her branch.


rename mutableUsers to onlyDeclarative

Motivation for this change
Fix #9192.
Things done
NOT TESTED!
I have 0 experience with VM's and I probably don't even have enough RAM.
Could someone test this?

[x] Fits CONTRIBUTING.md.

@rasendubi Sorry, I tried to rebase but made a second commit instead.
I'll rebase again when there are no other changes.

Pinging the interested people from #9192:
@pSub, @bjornfor, @lethalman, @wmertens.

IMHO, the old option name should still work, but give a warning and point to the new name. (Is that what rename.nix does?) As of now, it looks like an incompatible change.

We can't just rename since the new value is negative. We have to handle
that otherwise we can't land this change.
On Mon, Jul 25, 2016, 11:18 Bjørn Forsman<EMAIL_ADDRESS>wrote:

IMHO, the old option name should still work, but give a warning and point
to the new name. (Is that what rename.nix does?) As of now, it looks like
an incompatible change.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/17210#issuecomment-234901542, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAHtg_qgCbSfXqIxAkPQsoRUqNbZRU_8ks5qZH9HgaJpZM4JTZXy
.

@bjornfor @domenkozar Well, this is as far as I can take it, with my limited knowledge.
I'll need some guidance from here on.

I'm :-1:  on this, I don't think the old option is confusing at all, so to me this is just a nuisance waiting to happen.
Anyway, I think instead of renaming, you should at least add a mkRemovedOptionModule for mutableUsers. I don't see a good way of communicating what the correct uprade is.

I'll close this for now.
If someone wants to finish it, I'll be happy though!


Extend support to models other than Page models and Snippets

The idealistic scenario would be to have a single ModelAdmin class that will work with any model (not restricted to Pages or Snippets), and do away with SnippetModelAdmin and PageModelAdmin all together.
It wouldn't be too much of a stretch to do some working-out in init to check wether the Model supplied extends Page or not (in fact, i'm pretty sure we do that somewhere), and base any differences in functionality on that.
The tricky part will be adding a generic add/edit interface fo non-page and non-snippet models.

Fixed in version 2.0, which is now live


⚠ Bofrost.lu has degraded performance

In c4713d5, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 982 ms

Resolved: Bofrost.lu performance has improved in 1217a4b after 6 minutes.


Add Swift Covers Native Methods for Mathy Godot Types, Add Testing Framework

Overview
We have been working on a general solution to issue #509 (Optimization: Move more vector operations to Swift). Although it’s not finished, we want to share our experiments to get some feedback.
We had two main goals:

Write the Swift implementations as regular Swift source code in .swift files, not inside string literals embedded in Generator’s source code.
Test each Swift implementation by comparing its output to the output of the Godot engine method it’s replacing.

This draft PR shows our ideas for implementing these two goals. It’s not intended for merging; there are failing tests and some incorrect implementations. It does show how our ideas let us easily write cover implementations and corresponding tests for all of the built-in geometric types, including vectors, transforms, basis, quaternion, plane, and the math utilities in GD.
Changes

Generator reads the Swift source files in Sources/SwiftCovers and extracts method bodies from any extensions found in those files. Each method body is keyed by the extended type’s name and the name and type signature of the method. For example:

// Sources/SwiftCovers/Vector3.covers.swift

extension Vector3 {
    // ...

    public func cross(with: Vector3) -> Vector3 {
        return Vector3(
            x: (y * with.z) - (z * with.y),
            y: (z * with.x) - (x * with.z),
            z: (x * with.y) - (y * with.x)
        )
    }

    // ...
}

When emitting methods, initializers, and operators for built-in types (like Vector3, Transform3D, etc.), Generator looks for an extracted method body with a matching key. If it finds one, it emits that method body as an alternative implementation of the method. This replaces the existing use of customBuiltinMethodImplementations and customBuiltinMethodImplementations. So the example above becomes the following:

// Generated Vector3.swift

public struct Vector3 {
    // ...

    public func cross(with: Vector3)-> Vector3 {
        #if CUSTOM_BUILTIN_IMPLEMENTATIONS
            do {
                return Vector3(
                    x: (y * with.z) - (z * with.y),
                    y: (z * with.x) - (x * with.z),
                    z: (x * with.y) - (y * with.x)
                )
            }
        #else // CUSTOM_BUILTIN_IMPLEMENTATIONS
        var result: Vector3 = Vector3()
        withUnsafePointer(to: with) { pArg0 in
            withUnsafePointer(to: UnsafeRawPointersN1(pArg0)) { pArgs in
                pArgs.withMemoryRebound(to: UnsafeRawPointer?.self, capacity: 1) { pArgs in
                    var mutSelfCopy = self
                    withUnsafeMutablePointer (to: &mutSelfCopy) { ptr in
                       Vector3.method_cross(ptr, pArgs, &result, 1)
                    }
                }

            }

        }

        return result
        #endif // CUSTOM_BUILTIN_IMPLEMENTATIONS

    }

    // ...
}

If compiled with the condition TESTABLE_SWIFT_COVERS (set in Package.swift), Generator replaces the use of #if CUSTOM_BUILTIN_IMPLEMENTATIONS in the emitted methods with a normal if statement that checks a runtime-settable flag to decide whether to use the cover implementation or to call through to the engine.

public struct Vector3 {
    // ...

    public func cross(with: Vector3)-> Vector3 {
        if useSwiftCovers {
                do {
                    return Vector3(
                        x: (y * with.z) - (z * with.y),
                        y: (z * with.x) - (x * with.z),
                        z: (x * with.y) - (y * with.x)
                    )
                }
        } else {
            var result: Vector3 = Vector3()
            withUnsafePointer(to: with) { pArg0 in
                withUnsafePointer(to: UnsafeRawPointersN1(pArg0)) { pArgs in
                    pArgs.withMemoryRebound(to: UnsafeRawPointer?.self, capacity: 1) { pArgs in
                        var mutSelfCopy = self
                        withUnsafeMutablePointer (to: &mutSelfCopy) { ptr in
                           Vector3.method_cross(ptr, pArgs, &result, 1)
                        }
                    }

                }

            }

            return result
        }
    }

    // ...
}

Each Swift cover method draws its implementation details from the Godot Engine code and the godot-cpp generated codebase.. Where helper methods for an extension are needed, they’ve been placed in SwiftCoverSupport.swift, including these:

C-Conformant type conversions: The Swift and C compilers handle some signed Int32 operations differently when it comes to overflow, so we provide C-compatible versions
Type-specific Tuple Conversions
SwiftGodot Mathematical Constants
Runtime Testing Flag
And other type-specific helpers

Each file in SwiftCovers has an associated test file in Tests/SwiftGodotTests/BuiltIn. For each method that has a Swift cover, we generate (pseudo-)random inputs to feed to the method. We then call the method twice, once with the useSwiftCovers runtime flag set (to use the cover implementation) and again with the flag unset (to use the engine implementation). We then compare the outputs (with some tunable fuzziness for floating-point comparisons) to verify that each cover closely matches the engine.
We use a little combinator system named TinyGen (in TinyGen.swift) to generate the random inputs for testing. TinyGen is modeled on property-based testing frameworks like QuickCheck and Hedgehog, but without shrinking.
We use @TaskLocal properties for useSwiftCovers and for the floating-point fuzziness parameters Float.closeEnoughUlps and Double.closeEnoughUlps, because @TaskLocal lets us set up a global variable with an easy way to temporarily and dynamically override its value.

Thank you so much, this is wonderful!
I have one question about the covers, is there a reason to use covers and the system that goes with it injecting source code, rather than writing Swift extensions for those types?   We could have the generator have a list of "Do not generate this code".

I believe that is ultimately where SwiftGodot should end up.
The design we implemented here is a step in that direction. If we hand-write implementations for the geometric types, we need a way to test that those implementations are correct. What we've done here is treat the Godot engine as a test oracle. We can guarantee that we match its behavior as precisely as we want. We generate a bunch of random inputs for the tests, including weird edge cases with coordinate values like infinity, NaN, Int32.min, and Int32.max.
On the other hand, that does involve a bunch of infrastructure that we would ultimately want to discard, so it's entirely reasonable to keep this work in a separate fork where we can write and prove the Swift implementations, and them just copy them over to the main project without the test infrastructure.

I see, I see.
I love the direction then, nothing else to add at this point, and I appreciate the strong focus on testing and testing this.


Direct call using react native.

Hi,
Current functionality is when both party must enter room id manually then webcall established, But now i want direct call to my client so we both no need to enter room id manually.  How i can do it using webRTC. Welcome, If any idea share here.

Have every person listen on a unique channel for "incoming calls" When person A wants to call person B, person A will send a "call" event to person B's channel with a unique room ID. Person A will then join the channel. Person B will get some sort of notification on their phone to tell them to accept the call. Once they accept, they join the room too.

I'm closing this, since it's outside of the scope of the plugin itself, applications should take care of the rendezvous in any way they deem appropriate.


IncompleteMessage

Use the tokio-rustls to implement the client and server. In the case of 20 KB request body, 3 KB response body, and wrk 1000 connection, the client reports the IncompleteMessage error for a few requests.
Request chain：
wrk -> Server[hyper server and client with tokio-rustls]  ->  Server[hyper with tokio-rustls]

What are the conditions that cause the connection to be closed during the keepalive period?

It could be closed for lots of reasons:

Some OS configured idle timeout
Some app configured idle timeout
The connection being broken
All of the request or response body not being read

@seanmonstar thanks


org.jsoup.nodes.Element.wholeText() not correctly translating  ?

		String s = Jsoup.parse("Hello
World").wholeText();
System.out.println(s);
prints HelloWorld.
But shouldn't it be
Hello
World ?
There is no line separator.

Maybe it can be solved by adding detection of special tags like
 and convert them manually in wholeText().
public void head(Node node, int depth) {
                if (node instanceof TextNode) {
                    TextNode textNode = (TextNode) node;
                    accum.append(textNode.getWholeText());
                }else if (node.nodeName().equals("br")){
                    accum.append("\n");
                }
            }

But whether there is a need to do it? And deal with more special tags like
 or just
 ?

Maybe it can be solved by adding detection of special tags like
 and convert them manually in wholeText().
public void head(Node node, int depth) {
                if (node instanceof TextNode) {
                    TextNode textNode = (TextNode) node;
                    accum.append(textNode.getWholeText());
                }else if (node.nodeName().equals("br")){
                    accum.append("\n");
                }
            }

But whether there is a need to do it? And deal with more special tags like
 or just
 ?

Thanks this was fixed in #1636


default gateway detection when using ECMP default route

Given the following working routing table with the default route being load balanced using ECMP and learned using BGP:
(netifaces)[root@host ~]# ip r
default proto bird src <IP_ADDRESS>
	nexthop via <IP_ADDRESS> dev eno50 weight 1
	nexthop via <IP_ADDRESS> dev eno49 weight 1
<IP_ADDRESS>/23 dev eno1 proto kernel scope link src <IP_ADDRESS> metric 100
<IP_ADDRESS>/16 dev eno49 scope link metric 1005
<IP_ADDRESS>/16 dev eno50 scope link metric 1007
<IP_ADDRESS>/31 dev eno50 proto kernel scope link src <IP_ADDRESS>
<IP_ADDRESS>/31 dev eno49 proto kernel scope link src <IP_ADDRESS>

netifaces 0.10.6 fails to determine the gateway:
(netifaces)[root@host ~]# python
Python 2.7.5 (default, Aug  4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import netifaces
>>> addr = netifaces.gateways()
>>> print addr
{'default': {}}
>>>

Any chance of adding support for this? Thanks.

I'd need access to a system that's set up this way to determine why exactly netifaces wasn't seeing the route — on Linux, netifaces uses a PF_NETLINK socket to read the routing information, which I'd expect to pick up on learned routes, but maybe there's something going wrong.


[Joint State Broadcaster] Publish the joint_states of joints present in the URDF

Right now, when no joints parameter is set, it publishes all the entities with the position, velocity and effort interfaces, and the MoveIt and other plugins do not like that information and continuously spam with the warning logs, we have like 50MB of logs for 6 min run.
This PR tries to publish the joint_states of the joints that are within the URDF when no joints or interface params are set.

JSB uses all joints defined in the ros2_control tag. with URDF you don't mean the ros2_control tag but the URDF-Model itself?
How can that be that someone has joints in the tag not being in the URDF model? RM does not init successfully anyways?

JSB uses all joints defined in the ros2_control tag. with URDF you don't mean the ros2_control tag but the URDF-Model itself?
How can that be that someone has joints in the tag not being in the URDF model? RM does not init successfully anyways?

You can have state interfaces from the actuators before transmission and after transmission are the joints so they are pretty different


Github SSH String and SdistBuilder Incompatible

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

MaxOS 10.14:
1.0.0b8:

Issue
When working with git dependency such as git@github.com:sdispater/poetry.git. Working with poetry everything is totally fine things install and function properly and it makes it seem like you have configured poetry correctly.
This falls apart when you try and install that package in another repo. Basically the SdistBuilder outputs a string like git+git@github.com:sdispater/poetry.git@master. What it actually needs to be is<EMAIL_ADDRESS>This can easily be fixed in the package by changing the git url to be<EMAIL_ADDRESS>The issue is there is no way to know that this is a problem until you are trying to consume your work and the terrible output messages from pip when you try and install this will leave you in debugging hell especially since poetry deletes the setup.py file it generates so you can't view it to rerun it.
There are two different ways to handle this problem as I see it, the first would be to make it so that poetry does not accept git urls that are not compliant with PEP-508.
The second option is to upgrade VCSDependency so that it detects urls in this format and converts them to a compliant format when dependency.to_pep_508() is called.
I personally prefer the second because it is easier to copy and paste out of GitHub and would hopefully make the friction less when new users are adopting poetry.
I am happy to implement either, I just need to know the preferred direction.

Hey @wakemaster39 ,
I'm not sure if I understand your problem. Could you please provide a step-by-step manual to see where your problem arises?
Thanks a lot!
fin swimmer

Create a project with a git dependency, add it using the ssh URL copied from Github such as git@github.com:pallets/flask.git
Build your new package poetry build
Open the outputted tar.gz and edit the setup.py file
view the install_requires section and see the illegal line similar to flask @ git+git@github.com:pallets/flask.git@master

The legal format would be flask @ git+ssh://git@github.com/pallets/flask.git@master

Try and install this package in a different project and see the error message pip gives you

The problem becomes if you don't build the package and simply add this first project as a git dependency it is not possible to inspect the setup.py file and determine what the root cause of the problem is.

+1. I have same problem


Type narrowing on template literal types

Bug Report
(I'm not 100% sure if this would count as a "bug report" or a "feature request", so feel free to correct me)

🔎 Search Terms
narrowing, type, template literal types, template strings, template literals

🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about template literal types

⏯ Playground Link

Workbench Repro
💻 Code
// With template literal types
export type Action =
  | {
      type: `${string}_REQUEST`;
    }
  | {
      type: `${string}_SUCCESS`;
      response: string;
    };

export function reducer(action: Action) {
  if (action.type === 'FOO_SUCCESS') {
    console.log(action.response);
  }
}

// WITHOUT template literal types
export type Action2 =
  | {
      type: 'FOO_REQUEST';
    }
  | {
      type: 'FOO_SUCCESS';
      response: string;
    };

export function reducer2(action: Action2) {
  if (action.type === 'FOO_SUCCESS') {
    console.log(action.response);
  }
}

🙁 Actual behavior

In the example with template literal types in the reducer function, it seems like TypeScript is not able to narrow the type of action down, since accessing action.response results in the following error:
Property 'response' does not exist on type 'Action'.
  Property 'response' does not exist on type '{ type: `${string}_REQUEST`; }'.(2339)

While in the example without template literal types TypeScript is able to narrow down the type of Action correctly to the one with type: 'FOO_SUCCESS' and correctly recognizes that action.response can be safely accessed as expected.
🙂 Expected behavior

In the example with template literal types I expect TypeScript to be able to narrow the type of action down in the same way as it does in the example without template literal types, and not seeing any errors.

Interesting! This one caught my eye.
I was just playing around with the problem trying to solve it.
Seems like I found a solution by using a type guard
// With template literal types
export type Action =
  | {
      type: `${string}_REQUEST`;
      data: number;
    }
  | {
      type: `${string}_SUCCESS`;
      response: string;
    };

type RemovePrefix<T> = T extends `${infer _}_${infer Suffix}` ? `${string}_${Suffix}` : T;

function isType<T extends Action, K extends T['type']>(action: Action, type: K): action is Extract<T, { type: RemovePrefix<K> }> {
  return action.type === type;
}

export function reducer(action: Action) {
  if (isType(action, 'Hello_SUCCESS')) {
    console.log(action.response);
  }
  if (isType(action, 'World_REQUEST')) {
    console.log(action.data);
  }
}

https://tsplay.dev/wgLV9N

Hi @anuraghazra
Thanks for your efforts, you found an interesting solution that works. Unfortunately, as soon as I change the string to have multiple underscores (which occurs a lot in our application), an error shows up again:
if (isType(action, 'HELLO_WORLD_SUCCESS')) {
    console.log(action.response);
  }

However should someone else only have the need to support one underscore, this would be fine.
Also while I feel like while in this example the overhead / added complexity would be acceptable, I wouldn't be so sure if that would still be the case when I would use it in our application where the things are already a lot more complex (since this is just a very minimal example of what we're trying to do).
So I still feel like if this was either easy to add to TypeScript itself so that it could be used natively, as is the case in the example without template literal types, or if this is a bug which is easy to fix it would be much better.

That is right, not a ideal solution, just a workaround.
Yes I think TS compiler should handle this case of narrowing the type depending on the template literal type.
Cross fingers 🤞, Hope to see this land in 4.6

Thanks @ahejlsberg for the quick implementation!


support to config the version

Codecov Report
Attention: 55 lines in your changes are missing coverage. Please review.

Comparison is base (4666866) 36.35% compared to head (bb8adc5) 36.49%.

Files
Patch %
Lines

.../vesoft/nebula/connector/reader/NebulaReader.scala
0.00%
48 Missing :warning:

...ala/com/vesoft/nebula/connector/NebulaConfig.scala
84.21%
3 Missing :warning:

...la/com/vesoft/nebula/connector/NebulaOptions.scala
0.00%
2 Missing :warning:

...cala/com/vesoft/nebula/connector/NebulaUtils.scala
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #135      +/-   ##
============================================
+ Coverage     36.35%   36.49%   +0.14%
  Complexity       92       92
============================================
  Files            31       31
  Lines          1513     1529      +16
  Branches        230      230
============================================
+ Hits            550      558       +8
- Misses          868      876       +8
  Partials         95       95

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


nipapd: add doc for equals_any operator

Adds a line explaining the equals_any operator.
Wording is somewhat improved and I've added some text explaining nesting
to combine multiple (more than two) terms using boolean operators.
Fixes #837.

:+1:


Double Travis builds

r+ seems to make homu push to the auto branch twice, causing Travis-CI to schedule two builds (which take turns in the queue for available builders) while only the second one is useful.

Can't reproduce. I just set up homu for a project of mine and Travis' build history only shows one entry for the auto branch. Perhaps you're looking at the PR build from Travis?

CC @larsbergstrom

cc @Manishearth


documentation update for client certificate

The client certificate is created as follows:
openssl req -new -x509 -key privatekey.pem -subj '/UID=300:YOUR\/HANDLE' -out cert.pem

Should we set the days for which the certificate is valid?
openssl req -new -x509 -key privatekey.pem -subj '/UID=300:YOUR\/HANDLE' -days 3652 -out cert.pem

So add the -days parameter

This has been addressed in PR #107.


Search Bar Generating Incorrect URLs with Duplicated Paths in Multi-Instance Setup

Description
I am experiencing an issue with the search functionality in Docusaurus while using it in a multi-instance setup (4 different docs instances learn, testnet, docs, ecosystem). The search bar generates incorrect URLs by duplicating the paths.
For example, instead of generating:
https://docs.example.com/docs/path/to/resource/#8576cd2745b74f64bd2df866b9ebc5cf

It generates:
https://docs.example.com/docs/path/to/resource//docs/path/to/resource/#8576cd2745b74f64bd2df866b9ebc5cf

This issue only occurs for URLs that point to a specific part of a page (using anchor links). URLs that link to a page work normally.
Taking the example below only Upgrade Module and Network Upgrades links (with page icon) will work, any others lead to 404:

Docusaurus config

 presets: [
    [
      '@docusaurus/preset-classic',
      {
        docs: false,
        blog: false,
        theme: {
          customCss: [
            require.resolve("./css/kira.css"),
            require.resolve("./css/docu-notion-styles.css"),
          ],
        },
      },
    ],
  ],

(...)

  themes: [
    [
      require.resolve("@easyops-cn/docusaurus-search-local"),
      {
        // `hashed` is recommended as long-term-cache of index file is possible.
        hashed: true,
        // language: ["en", "fr"],
        indexBlog: false,
        indexPages: false,
        docsRouteBasePath: [
          "learn",
          "testnet",
          "docs",
          "ecosystem"
        ],
        searchContextByPaths: [
          { path: "learn", label: "Learn Docs" },
          { path: "testnet", label: "Testnet Docs" },
          { path: "docs", label: "Docs" },
          { path: "ecosystem", label: "Ecosystem Docs" }
        ],
      },
    ],
  ],

This seems to be duplicated with #408 , which is fixed since v0.41.1.
Please run yarn why @easyops-cn/docusaurus-search-local or npm ls @easyops-cn/docusaurus-search-local to see which version you're using.

indeed. Closing issue.


⚠ Bofrost.fr has degraded performance

In 69baf25, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1423 ms

Resolved: Bofrost.fr performance has improved in 027c917 after 3 minutes.


Update dependencies

Update dependencies

typescript, query-string
wait-on (moved from dependencies to devDependencies)
react, react-dom, @types/react, @types/react-dom
mobx, mobx-react, mobx-state-tree
webpack, webpack-cli, webpack-dev-server
css-loader, style-loader, ts-loader, url-loader
autoprefixer, nock, node-sass
copy-webpack-plugin, fork-ts-checker-webpack-plugin, mini-css-extract-plugin
ts-jest, @types/jest, enzyme, enzyme-adapter-react-16, @types/enzyme
cypress, @cypress/webpack-preprocessor
@types/jsonwebtoken, @types/lodash
slate, slate-plain-serializer, slate-react, immutable, @types/slate, @types/slate-plain-serializer, @types/slate-react

run npm audit fix

To update to  the latest Firebase version we either needed to switch back or update and re-publish our fork. Given that the Firebase sdk is updated frequently and I don't expect us to be modifying it I figured it made sense to switch back.
JSXGraph is updated much less frequently, there is no updated version available, and I can imagine us wanting to modify it, so it makes sense to maintain our fork for now.

To update to  the latest Firebase version we either needed to switch back or update and re-publish our fork. Given that the Firebase sdk is updated frequently and I don't expect us to be modifying it I figured it made sense to switch back.
JSXGraph is updated much less frequently, there is no updated version available, and I can imagine us wanting to modify it, so it makes sense to maintain our fork for now.


Inconsistent version on ArchLinux

ArchLinux won't return an empty string if the package lsb-release is installed.
lsb-release package is not installed by default. However, under some circumstances, it will be installed as a dependency, which will break the existing environment. Take spack as an example. The path will be /var/lib/spack/packages/linux-archrolling-cascadelake rather than /var/lib/spack/packages/linux-arch-cascadelake if lsb-release is installed.
In lsb-release:
DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"

Hi @fourdim,
Indeed, LSB "release" attribute is honored in version() when OS-RELEASE "version_id" is empty (see https://github.com/python-distro/distro/blob/095882f9b4b397085c34c9bbe20ec05263b9e008/src/distro/distro.py#L886-L888).
Although, I don't know whether this is an upstream or downstream issue as :

It is publicly documented that distro may use lsb_release under the hood (see here) ;
OS-RELEASE notes that version fields may be empty on rolling releases, but IIRC the behavior is not defined for LSB-RELEASE ;
Maybe Spack should make such a path consistent on their own, as they are currently doing for OpenSUSE (see spack/spack#19895).

Thanks, bye 👋

Thanks, I will transfer this issue to the downstream.

Great, please do link downstream issue to this one, and don't mind re-open here if one thinks it's best 🙏


Property keyboardShouldPersistTaps={true} not working in  view

Issue Description
Given a  in a , and the TextInput being active (keyboard is shown), I can't get any Touchable... element to respond to onPress before dismissing the keyboard.
Steps to Reproduce / Code Snippets
See the example code below. I would expect the TouchableOpacity (a yellow square) to popup an Alert while the TextInput is active and the keyboard is shown. Instead, I have to tap to dismiss the keyboard first.
The property keyboardShouldPersistTaps={true} does the trick in another view, but not inside of a
<Modal
  animationType={"slide"}
  transparent={false}
  visible={this.props.visible} >
  <ScrollView
    keyboardDismissMode="on-drag"
    keyboardShouldPersistTaps={true} >
    <TouchableOpacity onPress={() => alert(1)} style={{ backgroundColor: 'yellow', width: 200, height: 200, }} />
    <TextInput style={{
      height: 40,
      backgroundColor: 'red',
    }} />
  </ScrollView>
</Modal>

Additional Information

React Native version: 0.34
Platform(s): iOS
Operating System: macOS

+1,  0.35.0-rc.0

Same problem here, using a list view
0.36 iOS

+1 0.36 on iOS

Have the same issue.

Same issue : react native - 0.37

Same problem 0.39, any idea?

confirmed, same issue. keyboardShouldPersisTaps has no effect on modals.
has anyone found a workaround for this by any chance?

I lost 2 hours because of this bug.

I can confirm this is not working :/ using RN 0.41.1

putting the scrollview on the outside of my Modal did not solve issue for me.

1

Has anyone found a solution for this?

here: https://github.com/facebook/react-native/issues/8180
solution:
android:windowSoftInputMode="adjustPan"

:+1: Same issues

what fixed it for me is to make sure that all nested scrollviews have this property set.
e.g:
<ScrollView><ScrollView keyboardShouldPersistTaps></ScrollView></ScrollView>
This won't work because the parent ScrollView does not have this property set.

the fix for me was that I had to set keyboardShouldPersistTaps on ALL ancestors of my Modal...
otherwise, if any ScrollView in your parent tree do the default keyboardShouldPersistTaps="none", the keyboard will be dismissed (in my case I want to prevent a dismiss).
anyway, whatever what you want to solve (dismiss/not dismiss/respond to onPress) –  you will have to be away that the <Modal> cares about its parent stack, I assumed it would be, like rendered at top level, but no. rendering your modal component from root OR within a complex stack of scrollview, have different behavior.

@despreston & @gre that solved it for me.
Once my both my parent and child FlatList had the keyboardShouldPersistTaps prop set it worked a treat

I just use TouchableHighlight instead of TouchableOpacity and the onPress works
          <ScrollView
            keyboardShouldPersistTaps='always'
            style={styles.listItem}>
            {items.map((item, index) => this._renderTouchableItem(item, index))}
          </ScrollView>

  _renderTouchableItem = (item, index) => {
    return (
      <TouchableHighlight
        key={index}
        underlayColor='transparent'
        onPress={() => this.props.onTouchableItemSelected(this, index)}
      >
        <Text value={item.label} style={{ padding: 16, paddingLeft: 24 }} />
      </TouchableHighlight>
    )
  }

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

I know this is closed.  However, I just struggled with this for a few hours as well.  Thanks to the comments read here; I found a solution that worked in my situation.  I didn't even know that Flatlist would accept the keyboardShouldPersistTaps='always' parameter.  I ended up having no extra ScrollViews, simply adding that parameter to Flatlist worked out great.
     <FlatList         keyboardShouldPersistTaps='always'         data={this.props.itemList}         extraData={this.props}         renderItem={this.renderCardItem}         ItemSeparatorComponent={this.itemSeparator}       />
Cheers

The only solution I could find is having keyboardShouldPersistTaps on all ScrollViews in the component stack for the screen.
Credits: @despreston, @gre


New reconcile: more tests

How to categorize this PR?

/area testing
/kind enhancement
/priority 3
What this PR does / why we need it:
The PR adjusts integration tests for the new reconcile.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/test

/test

/test

/test

/test

/test

/test

/test

/test


Two cluster names showing in kubeconfig for single node install

What kind of request is this (question/bug/enhancement/feature request): Bug
Steps to reproduce (least amount of steps as possible):

Install Rancher server
Create user
Create AWS EC2 node. Select Add Cluster > Custom
Assign user (created in step 2) a role of Cluster Owner in Member Roles section
Run generated command on EC2 node created in step 3

Result:
Checking the Kubeconfig File present in the cluster dashboard shows two cluster names (dev and dev-ip-172-31-32-121) instead of just one (dev) as shown below:
# Kubeconfig File for dev cluster

apiVersion: v1
kind: Config
clusters:
- name: "dev"
  cluster:
    server: "https://x.yz.ab.cde:8443/k8s/clusters/c-728wl"
    certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM3akNDQ\
     WRhZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFvTVJJd0VBWURWUVFLRXdsMGFHVXQKY\
     VJUSUZJQ0FURS0tLS0t"
- name: "dev-ip-172-31-32-121"
  cluster:
    server: "https://<IP_ADDRESS>:6443"
    certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN3akNDQ\
     WFxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJBd0RnWURWUVFERXdkcmRXSmwKT\
     klDQVRFLS0tLS0K"

users:
- name: "user-fbkjc"
  user:
    token: "kubeconfig-user-fbkjc.c-728wl:2z8ngflscgjdxhq4jkmmct492dc7snrg2n4c9plqkhvs96pfzn7x6x"

contexts:
- name: "dev"
  context:
    user: "user-fbkjc"
    cluster: "dev"
- name: "dev-ip-172-31-32-121"
  context:
    user: "user-fbkjc"
    cluster: "dev-ip-172-31-32-121"

current-context: "dev"

Another issue is that the user id user-fbkjc is of Default Admin. Shouldn't it be that of the user which i created in step 2 above? Also, if i create another cluster and assign a different user, still the kubeconfig shows the user id of Default Admin for it.
Other details that may be helpful:
When i have to test the set up, i start the cluster and clean up the node instance by running these commands and then run the agent command (that i copy from the Custom Node UI section)
docker stop $(docker ps -qa)
docker rm -f $(docker ps -qa)
docker rmi -f $(docker images -q)
docker volume rm $(docker volume ls -q)

rm -rf /etc/ceph        /etc/cni        /etc/kubernetes        /opt/cni        /opt/rke        /run/secrets/kubernetes.io        /run/calico        /run/flannel        /var/lib/calico        /var/lib/etcd        /var/lib/cni        /var/lib/kubelet        /var/lib/rancher/rke/log        /var/log/containers        /var/log/pods \

sudo reboot

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Rancher version: v2.2.8

Installation option (single install/HA): Single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Custom
Machine type (cloud/VM/metal) and specifications (CPU/memory): AWS EC2 t2.medium (ami-0020c9e628f25ae5a)
Kubernetes version (use kubectl version):

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.6", GitCommit:"96fac5cd13a5dc064f7d9f4f23030a6aeface6cc", GitTreeState:"clean", BuildDate:"2019-08-19T11:05:16Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

[centos@ip-172-31-32-121 ~]$ docker version
Client: Docker Engine - Community
 Version:           19.03.0
 API version:       1.40
 Go version:        go1.12.5
 Git commit:        aeac9490dc
 Built:             Wed Jul 17 18:15:40 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.0
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.5
  Git commit:       aeac9490dc
  Built:            Wed Jul 17 18:14:16 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

There are supposed to be two contexts and clusters.  The default one goes through the rancher server.  It does not require that the cluster be directly reachable from your workstation/the internet, and does not depend on any particular master node’s IP, but does require that the rancher server be up and running.
The alternate contexts/clusters point directly at master nodes and work for an emergency when the server container is unavailable for some reason, but require you to keep the list of master IPs up to date and be able to directly reach them.
There is also an option to provide a FQDN for a balancer you’ve configured to point to the control plane nodes.  If set then the kubeconfig will just point to that.
The user in the config is the user who is signed in (i.e. you).  You have access to the cluster too.  There is no way to generate a kubeconfig for a different user, they need to sign in and generate their own.

There are supposed to be two contexts and clusters. The default one goes through the rancher server. It does not require that the cluster be directly reachable from your workstation/the internet, and does not depend on any particular master node’s IP, but does require that the rancher server be up and running.

By default one, do you mean the cluster which has private IP associated (dev-ip-172-31-32-121) in my case? What exactly do you mean by master node? In my case where it's a single node setup with all role assigned to the same node, is that the master node you're referring to?

The alternate contexts/clusters point directly at master nodes and work for an emergency when the server container is unavailable for some reason, but require you to keep the list of master IPs up to date and be able to directly reach them.
There is also an option to provide a FQDN for a balancer you’ve configured to point to the control plane nodes. If set then the kubeconfig will just point to that.

I'm not sure what you mean by FQDN for a balancer but using Route53, i did create a private hosted zone for my VPC with the name rancher.demo.in and assigned private IP of my Rancher server as an A record. This rancher.demo.in was then used as a Rancher server URL in the command that i ran on the worker node (which also had role etcd and Control Plane assigned). The kubeconfig pasted in my original post was generated using above steps.

The user in the config is the user who is signed in (i.e. you). You have access to the cluster too. There is no way to generate a kubeconfig for a different user, they need to sign in and generate their own. (In 2.3+ the user entry will be named after the cluster so that multiple of these configs can be merged cleanly together.)
Thanks for the info, @vincent99!

You can only generate a kubeconfig for one cluster at a time.  The additional clusters/contexts in the file are about how you are connecting to that cluster.
In your case if they only have private IPs this is mostly meaningless, since you can’t reach those IPs directly anyway (unless you have a VPN into that VPC).
Yes master is not the right term.  Nodes with the “control plane” role.  It doesn’t matter if the node IPs are public or private, you get one context/cluster that proxies through rancher and one per control plane nodes that goes straight to them.
Some people want to to go straight to the cluster ask the time instead of proxying through rancher (e.g. if the cluster is physically much closer so kubectl will be faster).  The alternate contexts we provide aren’t really ideal because they each point at a single control plane node and there’s no way to keep that list up to date over time.  But that’s the best we can do automatically.  If people want to do better they can create and maintain a DNS entry that resolves to the healthy control plane nodes. For AWS that world typically mean DNS entry -> ELB -> ASG of nodes.  If you then give us that DNS name, the generated config will point to that.


UART driver API should be made more power-friendly

Is your enhancement proposal related to a problem? Please describe.
Per discussion in #22998, currently the UART driver API exposes uart_poll_in() and uart_poll_out() which can be called at any time to check for input or output character, with the assumption that the UART remains active outside of the function call. This essentially means the UART cannot be automatically powered-down in the lifetime of the application (e.g. by the PM policy using the central method), short of having the application manually managing it.
Describe the solution you'd like
The API should be refined to be more power-friendly.
Describe alternatives you've considered
Some possible solutions:

Remove the assumption by doing the polling inside uart_poll_in() and uart_poll_out(), such that uart_poll_in() would only pick up input while inside the function call, and uart_poll_out() would busy-wait for output to be complete.
Drop support for these poll-based APIs and use interrupt-driven API instead, where we can for example disable the uart when the uart irq is disabled.

In #2 solution in the description, would this require non-interrupt-based designs to then implement interrupts to comply with the API? Perhaps it only effects a small audience, but it's worth mentioning that there are some designs that choose to avoid interrupts and this would remove that choice?

In #2 solution in the description, would this require non-interrupt-based designs to then implement interrupts to comply with the API? Perhaps it only effects a small audience, but it's worth mentioning that there are some designs that choose to avoid interrupts and this would remove that choice?

@jenmwms Yes it would require non-interrupt-based designs to implement interrupts. If Zephyr has support for designs that choose to avoid interrupts, then this is not a viable solution.
I have added solution #3 which may be more appropriate.

Well let the app developer do as she wishes, but zephyr components using poll_in should definitely 100% be discouraged imo.

@pabigot FYI, since you've been working on this.


SPIKE: Use docker-compose to integrate mediaflux into our CI build

I believe we can integrate mediaflux into our CI build by:

put our mediaflux docker image onto a private dockerhub
use docker-compose to build a multi-container orchestration of  cimg/ruby:3.1.3-browsers, postgres:13.5-alpine, and mediaflux for local development
use docker-compose for circle ci

First I tried pushing our mediaflux image to a private dockerhub account and incorporating it into the CI build. This worked, except that the docker image does not publish to port 8888 by default, we are doing that via the $ docker create --name mediaflux --publish <IP_ADDRESS>:8888:8888 princeton_dev:23.08.25 command, and I don't see a way to add that --publish bit into the circleci config. What we end up with is an instance of mediaflux that we can't talk to.

How to dockerize a rails application: https://semaphoreci.com/community/tutorials/dockerizing-a-ruby-on-rails-application
Then I think we could use docker-compose to bring up mediaflux beside our rails app on circleci.

Carolyn found this:

If you start up that conatiner in any other way than in our documentation you get and error arc.mf.licence.ExInvalidLicence: The licence at file:/usr/local/mediaflux/config/licence.xml cannot be used: not a licence for this host. Expected '02:42:ac:11:00:02' but found the following ids [02:42:ac:11:00:03]

I'm putting this down for now until we get more clarity about whether this will be possible.

https://circleci.com/docs/building-docker-images/#run-docker-commands-using-the-docker-executor may help

I did a bit of work on this yesterday afternoon.  I was able to get mediaflux to run in circle ci, but could not get the network to connect... https://github.com/pulibrary/tiger-data-app/blob/mediaflux-in-ci-cac/.circleci/config.yml#L72-L74

Matt and Chuck will look into a recommended approach.  Putting this on hold for the moment.


Clicking on Contents for a webextension loads a 404

steps to reproduce

Submit a web extension to AMO
Go to Editor tools and navigate to the reviewer details page for that add-on
Click on the 'Contents' link for that add-on

observed behavior
https://addons-dev.allizom.org/en-US/firefox/files/browse/247966/ is a 404
https://addons-dev.allizom.org/en-US/editors/review/sort-tabs-by-url11 is a 404
Notes:
Link for older extensions work fine.

Issue was due to the fact that when displaying the file viewer, it tries to display the install.rdf file by default, which isn't there for a WebExtension. See #1115.

Verified as fixed on AMO-dev FF43(Win 7).
Postfix screencast: http://screencast.com/t/gt6e9Ba5NHD


Add conditional generic

PR Checklist
Please check if your PR fulfills the following requirements:

Carbon Requirements

[x] Select Dracula Theme

[x] Select right programming language

[x] Set largest font size

Commit requirements

[x] Image should be added to screenshots folder

[x] Code snippet should be added to codes folder

[x] Image and code snippet have the same name for their files

I already resolve all changes requested.

Hey, this pr includes 2 tips. You create a branch for each tip. You can open pr for only public private set tip. I will merge and share your tip

Hey, this pr includes 2 tips. You create a branch for each tip. You can open pr for only public private set tip. I will merge and share your tip

Hey,
I will close this pr and create it again from a branch.
And sorry for those mistakes as it's my first open source contribution 😅


feat: update icons

https://app.clickup.com/t/86b2een91
Description

This PR solves # .
Steps completed:

According to our definition of done, I have completed the following steps:

[ ] Acceptance criteria met
[ ] Unit tests added
[ ] Docs updated (including config and env variables)
[ ] Translations added
[ ] UX tested
[ ] Browsers / platforms tested
[ ] Rebased & ready to merge without conflicts
[ ] Reviewed own code

I updated app name, and app short name. What do we want to put for app description?

Strange. It works locally, though when building it does not. I've tried setting up a production .env file, though they do not seem to take effect. I've tried: .env.prod, .env.prod.local, .env.production, .env.production.local.

Strange. It works locally, though when building it does not. I've tried setting up a production .env file, though they do not seem to take effect. I've tried: .env.prod, .env.prod.local, .env.production, .env.production.local.

If you don't find a solution in 1h please just hardcode our strings and leave the comment in .env file


[BUG] Copy-PnPFile does not honour file version metadata.

Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:

Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues

Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Expected behavior
Please describe what output you expect to see from the PnP PowerShell Cmdlets
Actual behavior
Please describe what you see instead. Please provide samples of output or screenshots.
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Reporting an Issue or Missing Feature
Copy-PnPFile does not honour file version metadata.
Expected behavior
Copies a file from a source to a destination in another site collection including all versions and version history metadata
Actual behavior
Copies a file from a source to a destination in another site collection including all versions but version history metadata is lost. Instead it places the current time in the Modified column and the name of the account running the script in the Modified By column.
Steps to reproduce behavior
Copy-PnPFile -SourceUrl $srcPath -TargetUrl $destPath -Force
What is the version of the Cmdlet module you are running?
Have tried 1.12.0 and 1.10.0
Which operating system/environment are you running PnP PowerShell on?
Windows

If you need to have the same metadata as your old file, you'll need to use the Set-PnPListItem to change the author and the dates in the new location. Closing.


Centralize task creation

Centralize and clean up task creation facilities for the concurrency runtime. This involves a number of changes:

Route all task creation through a single, overridable function swift_task_create_common. We can back-patch this with the usual runtime "override" mechanism to fix bugs or back-deploy features as necessary.
Reduce the external entry points for task creation down to three: swift_task_create (used for spawning most tasks), swift_task_create_common (used when we already have the function pointer we need), and swift_asyncLet_start (used to start async let tasks). Make the Swift task-launching entry points small, always-emit-into-client shims over swift_task_create so we can evolve the API without changing the ABI.
Use a distinct set of flags for launching tasks (rather than repurposing job flags), and add in support for copying task locals, inheriting other context, enqueuing the task (including on a specified executor), and wiring up async let storage.
Rework the SIL builtins for task creation to use the new task creation flags and always map down to swift_task_create.
Make Task @frozen because it's always going to be a wrapper over a single pointer.

Implements rdar://79584250

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 2922ea3952952b2c86bd0ee71d19442ce96cb0f0

@swift-ci please smoke test macOS

The macOS full test hit the playground logger issue but was otherwise good. Trying the smoke test

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 6a96430307dae6174a2bef03019ccbce050483f6

@swift-ci please test

@swift-ci please smoke test macOS

Build failed
Swift Test OS X Platform
Git Sha - 9d9cdcacca873d34b6b946e709ea3ae7bbe48b43

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 141ae2663591aff2d49e3801bf23ba6c5caa5105

@swift-ci please smoke test macOS


Could not fetch frame data from the server

My actions before raising this issue

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

Specify a Cross-Origin Embedder Policy to prevent this frame from being blocked
Context

Self hosted solution with CVAT v2.4.8
Used to work fine until CVAT v2.4.0 ... Maybe is related with [Replaced Apache mod_wsgi with Uvicorn ASGI server for backend use(https://github.com/opencv/cvat/pull/6195)]
Your Environment

Docker version docker version
Docker 20.10.14

Are you using Docker Swarm or Kubernetes?
Yes, docker swarm

Operating System and version (e.g. Linux, Windows, MacOS):
Ubuntu 20.04 LTS

duplicate of #6399


First Contribution by Rashid Leonard

My name is Rashid Leonard.
I was assigned the CVXPY project.
Here is the link to the project's governance model.
CVXPY is an open source Python-embedded modeling language for convex optimization problems. It lets you express your problem in a natural way that follows the math, rather than in the restrictive standard form required by solvers. Convex Optimization is a subfield of Mathematical Optimization that studies the problem of minimizing convex functions to linear and nonlinear constraints. Convex optimization problems can take many forms including linear programming, quadratic programming, second-order clone programming and semi definite programming. CVXPY is a versatile optimization tool that can be used to solve these problems in a wide range of disciplines including Engineering, Finance, Operations Research, Statistics, Economics, and Data Science among others.
Governance Structure
The governance document for the CVXPY project outlines the entities and their respective obligations, the decision making process (including how to deal with conflict of interest situations), GitHub permissions and channels through which the community can contribute or participate in the CVXPY project. The governance document can be found publicly in the GitHub repository of the project.
A small team, currently about five people, is in charge and is also the final arbiter or authority of the technical decisions and development of the project. The governance document also contains the Code of Conduct and Mission statements of the project. The CVXPY project is both made for the community and by the community. As an open-source project, CVXPY highly values community contributions to maintain and improve the CVXPY repository.
Project Roles
Here are some roles under the CVXPY project:

Project Maintainers
Benevolent Dictator For Life(BDFL)
Emeritus Project Maintainers
Steering Committee

Decision Making Process
Financial Decisions are made with a majority approval by the Steering Committee whereas the non-financial decisions are made by the project maintainers and sometimes the BDFL is invited to make a non-financial decision on rare occasions.
Non-financial decisions include code-related decisions, changes to public API, and, long-term strategic planning for the project.
The governance model document of the CVXPY project also describes steps to address Conflict of Interest situations when it arises.
Finding and Understanding the Governance Model
It was not difficult to find the governance document. I clicked on about three repositories until I located the governance.md file.
If access to the governance model easily by all kinds of users is really a big deal, I suggest it be kept in a separate repository with the repository name being “governance-model”.

Hi @arliss-NF, here is my first contribution. Thanks.

@rashidleonard - great first task.
Closing this issue - feedback is given on the second contribution by this applicant.


Allow user to customize names of ent fields

Support user ability to re-map ent fields into user defined names. (Instead of CustomBytes1 and so on).
Supports a config file like
{
  "flow_config": {
    "ipfix": {
      "mapping": [
        {
          "field": 801,
          "destination": "CustomInteger1",
          "penprovided": true,
          "pen": 9
        },
        {
          "field": 802,
          "destination": "CustomBytes1",
          "penprovided": true,
          "pen": 9
        },
        {
          "field": 803,
          "destination": "CustomBytes2",
          "penprovided": true,
          "pen": 9
        },
        {
          "field": 804,
          "destination": "CustomBytes3",
          "penprovided": true,
          "pen": 9
        },
        {
          "field": 805,
          "destination": "CustomBytes4",
          "penprovided": true,
          "pen": 9
        }
      ]
    }
  },
  "name_map": {
    "CustomInteger1": "VPC Log Version",
    "CustomBytes1": "AWS Account",
    "CustomBytes2": "AWS Interface",
    "CustomBytes3": "AWS Action",
    "CustomBytes4": "AWS Log Status"
  }
}

If the NameMap entry isn't found for a given field, the destination isn't updated.
This also extends support for Netflow9 and SFlow custom fields. See https://github.com/netsampler/goflow2/blob/main/docs/protocols.md#add-new-custom-fields for more information.

Forgot that a map can be nil and this is bad.


Redirecting back to the application after logout (SignOutWreply)

Is there a reason that after signing out while using the Windows Authentication Service that it just stays on the windows auth page with an empty screen? I understand that you can't really logout since it's the current windows login, but I just want it to logout of IdentityServer, and then return to my application. Am I missing a setting in IdentityServer itself to not stay on the windows authentication page?
I've looked into it some and it seems that setting the SignOutWreply in the WsFederationAuthenticationOptions in IdentityServer is how this should be handled. So I set that, and I see the wreply gets added to the querystring, but it still sits there and doesn't handle the redirect.
I looked into the source code and it seems the SignOut message is just returning 200 OK and that's it.
                var signout = message as SignOutRequestMessage;
                if (signout != null)
                {
                    Logger.Info("Sign-in request");

                    // no support for signout
                    return Ok();
                }

I added some code to handle the redirect if the wreply is set, am I missing something as to why this wasn't implemented?
                var signout = message as SignOutRequestMessage;
                if (signout != null)
                {
                    Logger.Info("Sign-out request");

                    if (!string.IsNullOrWhiteSpace(signout.Reply))
                    {
                        // if the wreply is set, redirect
                        return Redirect(signout.Reply);
                    }
                    // otherwise just return 200 ok
                    return Ok();
                }

I'd suggest disabling the redirect to the WA server from the ws-fed middleware configured in IdSvr.

That was my first thought, but I didn't see any options in WsFederationAuthenticationOptions that looks like it would do that. Would that involve a CustomUserService and doing some checks in an override of SignOutAsync(SignOutContext context) ?

Handle the RedirectToIdentityProvider notification on the ws-fed MW - for the Logout request just set context.Handled();

Thank you, that fixed the logout redirect issue. Final solution for anyone else who finds this:
 var windowsAuthentication = new WsFederationAuthenticationOptions
            {
                AuthenticationType = "windows",
                Caption = "Windows",
                SignInAsAuthenticationType = signInAsType,
                MetadataAddress = Company.IdentityServer.Constants.Constants.WindowsAuthMetadataAddress,
                Wtrealm = "urn:win",
                SignOutWreply = Company.IdentityServer.Constants.Constants.MVCWebUri,
                Notifications = new WsFederationAuthenticationNotifications
                {
                    RedirectToIdentityProvider = notification =>
                    {
                        if (notification.ProtocolMessage.IsSignOutMessage)
                        {
                            //Can't _really_ logout of WsFederation, just set the notification to handled.
                            notification.HandleResponse();
                        }
                        return Task.FromResult(0);
                    }
                }
            };

            appBuilder.UseWsFederationAuthentication(windowsAuthentication);

Thanks for sharing that solution, @c0bra99 . Seems like that should be part of the sample project for Windows Auth, honestly.
Is there any reason you're setting SignOutWreply? On my system things seem to work just fine without it, but I'm definitely not the expert with WsFederatedAuth that I'd like to be.


Size by none

Add a possibility to size the squares by the space and number of squares, so that they all have the same size?

Added a new "Constant" option to "size by" the same value for all squares.


Updating docs to reflect graduation of setHostnameAsFQDN feature to GA

Updating docs to reflect graduation of setHostnameAsFQDN feature to GA. KEP PR: https://github.com/kubernetes/enhancements/pull/2641, Kubernetes PR: https://github.com/kubernetes/kubernetes/pull/101294

/assign @ashnehete
/sig node

/hold for https://github.com/kubernetes/kubernetes/pull/101294 to merge.

/lgtm
/hold cancel

Hi @PI-Victor @ashnehete can I get an approval for this? It already has lgtm. thanks!

/approve

@tengqm would you mind approving this one?

/approve


Add ability to rename file output

Change default file output naming convention from "concatVideo-927379" to "Upload Title"
Add custom file output name option

Suggested by Nick

closing because this is not an issue, but feature


Saving sessions

Hi, thank you for this plugin, it's really cool!
Is there a way to save your sessions? I couldn't find an option for that and after restarting Godot, all of my sessions are gone.
It would be nice to have the option to save your sessions and also specify where I want to save them!

Thank you!
Currently, there is no output from the plugin, but I was thinking about saving all the data in a file upon exit in case you forgot to check the timer before that. I guess it would make sense to restore them as well. I wonder if there is a file format already that I can use for that. If you have anything like that in your mind, please, let me know.
Regardless, I will look into this feature.

Awesome, thanks!
My first thought would be using .ini files and the session name for the section. JSON would work too, might be also more convenient to work with in gdscript.
Upon exit sounds great, an additional small save button would be nice too I guess.
Looking forward to it!

Hey, sorry for the long wait, life kind of got in the way.
New version 1.2.0 is now available! I've added the automatic save/restore on editor start/close (or on plugin reload, for that matter), and also some intermediate autosaves when relevant data changes. I've also added a way to store current data to an arbitrary file and restore from it at will (overriding currently loaded data).
Incidentally, this allows to test various conditions easily without having to actually wait for some time or enter them manually every time. So a win for development as well.
Hope you like this new feature. You can get the new version from Github Releases, and will be pushing this new update for approval to the Asset Library shortly.


Remove database check for config store tests

What changed?
Remove database check for config store tests

Why?
Because we want to test config store with other databases

How did you test it?

Potential risks

Release notes

Documentation Changes

Seems like this will still be testing against databases?  We do have DB-stored config managers: https://github.com/Shaddoll/cadence/blob/master/common/persistence/nosql/nosqlConfigStore.go#L43

Synced offline with @Groxx , everything is OK.


App is blank, other commands behaves strangely...

If I follow all the instructions and I run npm run dev I get a blank page... If I do npm start I get a broken page with only 2 links (home and about) but it fails to load the main.js file. If I do npm run build there is no index.html...
I don't know what is going on, but the npm run dev says that it's listening on port 3000 and rebuilds every time I change a file.
I'm on win 10, 64 bit, using the current versions of the tools, on a clean machine.

First of all you need to install nodemon with this command: npm install -g nodemon;
So, to run on windows you have to open 2 cmd. In the first one you run this command:

node webpack-dev-server.js;

In the 2nd cmd window you have to run:

set PORT=3001;
nodemon start.js -e js,jsx;

I think this should be added to the docs, but probably there is a way to do all this with just 1 cmd.

Hmm, I haven't played around with this on Windows yet, but I'll try to spend some time getting it to work with one command. Want to open a PR to add a note for Windows to the README for now?

I'm on win 7,64 bit, using the newest version of the tools
when i run npm run dev,i get blank page too.

This repo has been moved to the Fluxible monorepo: https://github.com/yahoo/fluxible/tree/master/packages/generator-fluxible. I created an issue there to keep this on track: https://github.com/yahoo/fluxible/issues/280


Added get headers websocket request.

In order to improve performance(SC ceased when it more than 50 blocks beyond MC, in order to forge block SC needs to retrieve 50 block from MC, but fails due to timeout) get_block_headers websocket request was implemented. It allows to retrieve up to 50 block headers from MC in one requests.

thank you admin


Can only view pull requests.

This workflow doesn't match my experience in Teams.
I can add the extension, but when trying to use it on a channel, I cannot do anything but search for pull requests. When I try to type @Azure repos <anything> it autocompletes to "Pull Request", forcing me to just search for PRs. This prevents me from issuing @azure repos subscriptions, to manage notifications in the channel.

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

ID: 43aa8c60-c25d-535b-2166-f51fa9f171c6
Version Independent ID: 8890a537-9eda-5606-4be4-580bdc9e8269
Content: Azure Repos with Microsoft Teams - Azure Repos
Content Source: docs/repos/integrations/repos-teams.md
Product: devops
Technology: devops-code-git
GitHub Login: @RGKarthik
Microsoft Alias: karrg

Thanks for your feedback. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the documentation. Here are a couple of options you might consider:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

Please submit your product bug here.

I came here because I experienced the same problem.
I found the below bug report, which doesn't explicitly state this in the solution, but I think this is happening because we're trying to use the bot in a chat channel instead of a team channel? I can't be sure on that, but if it is the case then I think this page needs to make that an explicit caveat.
I don't yet have access to a team channel so can't test this theory - assuming others will be in the same boat.

https://developercommunity.visualstudio.com/content/problem/802070/azure-repos-extension-for-microsoft-teams-will-onl.html


GEOMESA-2835 Cleanup test logging

Standardize log4j config across modules
Bridge java.util.logging calls
Upgrade postgresql version for GeoTools requirement

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

Heheh, if there any DRY option here?  I mean, standardization is good, but the next time we change a line a logging config file, we shouldn't start getting ~100 files out of sync.

yeah... i could add a script to sync up the log4j files, or we could configure the test classpath to look in a non-standard, shared location for the log4j file. what do you think? could make that a follow-on ticket too.
before this they were each individual per module, but that just lead to lots of bad logging configs, so I'd rather not go back to that.

Let's see... if we wanted to go the 'non-standard' route, we would find the log4j property and set it in the root pom, right?  And then we could point to one file in root directory?
I think I like that over the script option.  Thoughts?

yes, that would probably work... there might be some trickiness around absolute paths. the other things i was thinking was to add a new 'test/resources' folder to the surefire classpath instead of configuring it via log4j sys prop.

Merged as 7f35fd428477f80b15f40cf41661659f159b2248.


How to upload files using App router?

Hi, I am trying to do file upload using graphql-upload and @graphql-tools/links but I cannot make it work.  I saw #59 but that is using Pages router. In new Nextjs I can get JSON with operations and variables from multipart/form-data request by calling req.formData() but I don't know how to pass it to handler created using startServerAndCreateNextHandler. Is there some way how to override body content before it is processed by handler? Or maybe override getBody function?

Closing due to inactivity.

thing with request

I'm actually stuck on this one. Reading or modifying the request body usually consumes it, making it unavailable for further processing. I think the solution might lie in next-connect  on how it allows you to edit and parse the body, then "recompile" it for use with the next tool, like in our case startServerAndCreateNextHandler.  @iuadastra Have you found a solution?

I haven't tried using graphql-upload with the App Router so I don't know if this helps, but you can modify the request body before passing it to the handler like this:
const handler = startServerAndCreateNextHandler(server);

export async function POST(request) {
  // do something with request

  // pass the modified request to the handler
  return handler(request);
}

I'm actually stuck on this one. Reading or modifying the request body usually consumes it, making it unavailable for further processing. I think the solution might lie in next-connect on how it allows you to edit and parse the body, then "recompile" it for use with the next tool, like in our case startServerAndCreateNextHandler. @iuadastra Have you found a solution?


[FLINK-6951] Incompatible versions of httpcomponents jars for Flink kinesis connector

The root cause being that Flink documentation is outdated on dependency versions. I updated Flink doc.
Since I run Flink on hadoop 2.7, I only tested for hadoop 2.7 on EMR, not hadoop 2.6.
We can probably open an jira ticket for hadoop 2.6.
Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[x] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[x] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

@tedyu @tzulitai

Thanks for the PR @bowenli86.
However, I'm not entirely sure the original version in the doc count as "outdated".
For example, would the original versions work if you're not using the Kinesis connector?
Or, if we decide to bump the aws-java-sdk version in the Kinesis connector, would these httpcomponent versions need to correspond to?
I'm wondering if it actually makes sense to shade the httpcomponent dependencies in the Kinesis connector, so that it doesn't incorrectly pick up other versions in the classpath?

@tzulitai shading httpclient/core sounder like a more sound fix.
I'll see if I have time to shade them and resubmit the PR.

Thanks @bowenli86 for trying that out. Please keep my updated on this :)

@tzulitai I shaded httpcomponents. Does it look good?

@tzulitai @tedyu
Hi guys, I'm also wondering how much percentage of Flink users are using Flink with Kinesis? Kinesis has so many limitations that we are considering to move from Kinesis to Kafka. Knowing general preference of Flink users will make us more confident in this move. I guess not a lot people are using Flink + Kinesis, otherwise I won't be the first one running into this dependency conflict bug. Do you guys have any numbers in mind?

@bowenli86 I think Kinesis is quite popular. The conflict only arises in combination with certain Hadoop versions, that may be the cause why not everybody experiences it.

@bowenli86 To you have to actually explicitly add the http component dependencies to the pom.xml file, or does the "promoteTransitiveDependencies" config in the shading already cover that?

I added http components to dependencies because Hadoop-aws 2.7 depends on http components 4.2.
$ jar -tf flink-connector-kinesis_2.11-1.4-SNAPSHOT.jar | grep apache/http
org/apache/flink/kinesis/shaded/org/apache/http/
org/apache/flink/kinesis/shaded/org/apache/http/impl/
org/apache/flink/kinesis/shaded/org/apache/http/impl/cookie/
org/apache/flink/kinesis/shaded/org/apache/http/impl/cookie/BestMatchSpec.class
org/apache/flink/kinesis/shaded/org/apache/http/impl/cookie/RFC2965PortAttributeHandler.class
...

ok, I kind of figured out what promoteTransitiveDependencies means.
I removed explicit dependencies of httpclient and httpcore from pom.xml, and made sure http-components are shaded to org/apache/flink/kinesis/shaded/orsg/apache/http/* in flink-connector-kinesis_2.11-1.4-SNAPSHOT.jar

Thanks! Just for double check: have you on your side already verified that this works when you're using the connector with S3 (which caused the issue for you before)?

During testing, I saw the following exception:
java.lang.IllegalStateException: Socket not created by this factory
	at org.apache.flink.kinesis.shaded.org.apache.http.util.Asserts.check(Asserts.java:34)
	at org.apache.flink.kinesis.shaded.org.apache.http.conn.ssl.SSLSocketFactory.isSecure(SSLSocketFactory.java:435)
	at org.apache.flink.kinesis.shaded.org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:186)
	at org.apache.flink.kinesis.shaded.org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)
	at org.apache.flink.kinesis.shaded.org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)
	at org.apache.flink.kinesis.shaded.org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
	at org.apache.flink.kinesis.shaded.org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
	at org.apache.flink.kinesis.shaded.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.flink.kinesis.shaded.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
	at org.apache.flink.kinesis.shaded.com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:837)
	at org.apache.flink.kinesis.shaded.com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:607)
	at org.apache.flink.kinesis.shaded.com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:376)
	at org.apache.flink.kinesis.shaded.com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:338)
	at org.apache.flink.kinesis.shaded.com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:287)
	at org.apache.flink.kinesis.shaded.com.amazonaws.services.kinesis.AmazonKinesisClient.doInvoke(AmazonKinesisClient.java:1940)
	at org.apache.flink.kinesis.shaded.com.amazonaws.services.kinesis.AmazonKinesisClient.invoke(AmazonKinesisClient.java:1910)
	at org.apache.flink.kinesis.shaded.com.amazonaws.services.kinesis.AmazonKinesisClient.describeStream(AmazonKinesisClient.java:656)
	at org.apache.flink.streaming.connectors.kinesis.proxy.KinesisProxy.describeStream(KinesisProxy.java:363)
	at org.apache.flink.streaming.connectors.kinesis.proxy.KinesisProxy.getShardsOfStream(KinesisProxy.java:325)
	at org.apache.flink.streaming.connectors.kinesis.proxy.KinesisProxy.getShardList(KinesisProxy.java:233)
	at org.apache.flink.streaming.connectors.kinesis.internals.KinesisDataFetcher.discoverNewShardsToSubscribe(KinesisDataFetcher.java:430)
	at org.apache.flink.streaming.connectors.kinesis.FlinkKinesisConsumer.run(FlinkKinesisConsumer.java:203)
	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:87)
	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:55)
	at org.apache.flink.streaming.runtime.tasks.SourceStreamTask.run(SourceStreamTask.java:95)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:262)
	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:702)
	at java.lang.Thread.run(Thread.java:748)

According to https://github.com/Jean-Emile/org.apache.httpclient/blob/master/src/main/java/org/apache/http/conn/ssl/SSLSocketFactory.java, it seems a different kind of socket is passed around when shading httpcomponents. I'll see if I have time to dig deeper. Any insight is highly appreciated.

Hmmm, tricky one. Do parts of the code use different configuration (one instantiates non SSL sockets, the other one assumes SSL sockets)?

My Flink job checkpoints to S3, I'm configuring S3AFileSystem shown in https://ci.apache.org/projects/flink/flink-docs-release-1.3/setup/aws.html#flink-for-hadoop-27.
I doubt if this error is due to S3AFileSystem uses httpcomponents 4.2, since httpcomponents 4.3.x has deprecated SSLSocketFactory

@bowenli86 but isn't the shading of httpcomponents in the Kinesis consumer supposed to avoid conflicts with whatever version you're using for S3AFileSystem?

From the looks of https://github.com/druid-io/druid/issues/4456, could it be that we need to update our AWS Java SDK version?

@tzulitai Do we shade the aws-sdk-java in the Kinesis connector? We should probably, and shade it in Hadoop as well. If not, this could be a cause of the conflict...

Yes, we do shade the com.amazonaws.* packages. It was fixed before to address problems with running the Kinesis connector on older EMR versions. So I guess that my assumption of that there are conflicting aws-java-sdk versions shouldn't hold, given that the dependency is properly shaded ..

similar to @bowenli86 i am receiving the same socket error. Tried the proposed fix in the PR, but still getting the error. Bumped the JDK version, didnt help either. Anyone has a working configuration for this connector?


Staking, Governance, Public Goods Funding - Validators Details

Implements the view for validator details
Designs
https://www.figma.com/file/aiWZpaXjPLW6fDjE7dpFaU/Projects-2021?node-id=9286%3A11884

Closing, will address displaying additional data once we have new designs


[Feature Request] Make this available as a custom component

Since the files provided seem to be changing and get updates every now and then I was wondering if it would be possible to convert the repo to be used as custom components within ESPHome.
I know that https://github.com/tfyoung/esphome-MHIHeatPump has already done this with another version. However I thought it makes sense maybe here as well so everyone using will get the latest version without the need of manually update all files every time.
Thanks also for the great work making this available in ESPHome. ❤

I have fiddled around with this but i can't seem to get it working. if you know how, please supply a pull request to https://github.com/RobertJansen1/MHI-AC-Ctrl-ESPHome/tree/esphome_component and i will try it

Also still interested in this.  So I gave it a try and failed. :)
I don't quite understand why the compile works fine if the source  .h and .cpp files from this project are next to the yaml file, but as soon as you try to put it in an external dir, and use it as an external component it errors out. Docs seem to suggest that we need custom __init.py and climate.py files in order for esphome to generate additional code for this to work?
https://github.com/thegroove/esphome-custom-component-examples#basic-structure-of-a-custom-component
I tried to set the files up like this:
.
├── components
│   └── mhi_ac_ctrl
│       ├── MHI-AC-Ctrl-core.cpp
│       ├── MHI-AC-Ctrl-core.h
│       ├── mhi_ac_ctrl.h
└── mhi-custom.yml

I then remove the include and add a clause like this:
  external_components:
    - source:
        type: local
        path: components/mhi_ac_ctrl

esphome compile mhi-custom.yml then errors out like this:
Compiling .pioenvs/mhi-ac-test/src/main.cpp.o
mhi-custom.yml: In lambda function:
mhi-custom.yml:47:30: error: expected type-specifier before 'MhiAcCtrl'
mhi-custom.yml:49:26: error: could not convert '{mhi_ac_ctrl}' from '<brace-enclosed initializer list>' to 'std::vector<esphome::climate::Climate*>'
mhi-custom.yml: In lambda function:
mhi-custom.yml:67:16: error: 'MhiAcCtrl' was not declared in this scope
mhi-custom.yml:67:26: error: expected primary-expression before ')' token
mhi-custom.yml:67:27: error: expected ')' before 'mhi_ac_test'
mhi-custom.yml: In lambda function:
mhi-custom.yml:77:16: error: 'MhiAcCtrl' was not declared in this scope
mhi-custom.yml:77:26: error: expected primary-expression before ')' token
mhi-custom.yml:77:27: error: expected ')' before 'mhi_ac_test'
mhi-custom.yml: In lambda function:
mhi-custom.yml:87:16: error: 'MhiAcCtrl' was not declared in this scope
mhi-custom.yml:87:26: error: expected primary-expression before ')' token
mhi-custom.yml:87:27: error: expected ')' before 'mhi_ac_test'
mhi-custom.yml: In lambda function:
mhi-custom.yml:106:16: error: 'MhiAcCtrl' was not declared in this scope
mhi-custom.yml:106:26: error: expected primary-expression before ')' token
mhi-custom.yml:106:27: error: expected ')' before 'mhi_ac_test'
*** [.pioenvs/mhi-ac-test/src/main.cpp.o] Error 1

I usually sneak peek the sources of other similar components. Like here, the harier one might be good to peak https://github.com/esphome/esphome/tree/dev/esphome/components/haier
The *.py files generaly describes how esphome should process the yaml config files to generate the cpp sources out of it.
I believe the error you have is due to you left garbage like bellow in the config file. This should be ditched, and only the climate: part should be left in example config file.
  services:
    # Call the set_api_room_temperature service from HA to override the room temperature
    # If a new value has not been received after room_temp_api_timeout seconds, it will fall back to internal sensor
    - service: set_api_room_temperature
      variables:
        value: float
      then:
        - lambda: |-
            return ((MhiAcCtrl*)id(${deviceid}))->set_room_temperature(value);

It would be good to push it forward as, despite being awesome, this project is kinda useless in current form.

That 'garbage' is there because of limitations in the ESPHome primitives/natives not offering official ways to do things we need to be able to do, such as setting the temp on the unit with a custom value or using the extra vane positions/settings which the Climate component doesn't support (and also has no real way to expand properly). Also, I don't agree it's useless in its current form. It just requires some batteries/instruction to be followed. Which you can learn. Or, you know, just follow instructions. It is not that hard.

While converting it to the custom component, the example I have cited should get wrapped into an actions like:
https://github.com/esphome/esphome/blob/dev/esphome/components/haier/automation.h and exposed with @automation.register_action decorator. Although I'm not sure if this particular does not fit into the actions available on the climate component.

You seem to be at home in ESPHome component layout. Maybe you could help us out and give it a try?

Hey all, it would be amazingly useful if the component could be converted to an external component. I hope you guys can get this implemented.

Please try #98

#99 should fix this, anyone eager to test this, please do before i merge and break all setups :)


Feature/hop 16 render component examples

This pull request implements the integration of the Header with Title, Subtitle and useful links, as well as a preview of the component with the ability to see its code and understand how to install and use it.
Another part of the work involved reorganizing the folder structure to follow the recommendations in the Next.js documentation.
Preview → https://deploy-preview-206--wl-hopper.netlify.app/components/button

The tag doesn't look aligned with button

i don't know how much control you have over this, but the synthax highlighting seems wrong here:

should be double quotes according to our standards

the npm logo looks odd without it's red background

 the npm logo looks odd without it's red background

I did a test with the red background, which makes it stand out a lot from the other link. If you look at the npm site, you'll see that it's also used in black. My suggestion is to keep it that way to maintain a similar hierarchy between the three buttons.


Tsa, lsa of frustum of cone

Describe the bug
(In frustum of cone) Declare the variable "L" just the way it is declared for cone , just for better understanding of the formula
Screenshots

Assign me please

Go ahead
Deadline 26 March,2021 (11:59 PM IST)


(tvOS) Video won't play on version 1.7.2

Hi there,
I recently updated my repository from<EMAIL_ADDRESS>to the version<EMAIL_ADDRESS>and I noticed that tvOS stopped working on physical devices, on the emulator I'm not having any issue. The metadata gets loaded properly but the video won't play, and THEOPlayer doesn't report any error.

+1

We are looking into the issue

The issue was fixed in subsequent 1.x version


Added run_export pin package when major version is released

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This pull request adds run_exports to the build to pin major package releases.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


How to train my own data with fcn-xs

I want to train my own data with fcn-xs,  the data have 2 class (include the  background),I know is that it should change the numclass in the fcn_xs.py, are there any other places to change ? And what's the requirements for the size of images?
Can anybody help me ? I am not quite sure what should I do for training with my own data. It is a little complicated for me.
MXNet version:0.9

i have  the same question

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!